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.11354v2
http://arxiv.org/pdf/2406.11354v2
Preserving Knowledge in Large Language Model with Model-Agnostic Self-Decompression
2024-06-17T09:17:40
2024-06-19T11:36:30
Zilun Zhang, Yutao Sun, Tiancheng Zhao, Leigang Sha, Ruochen Xu, Kyusong Lee, Jianwei Yin
cs.CL
cs.CL, cs.AI, cs.CV
Humans can retain old knowledge while learning new information, but Large Language Models (LLMs) often suffer from catastrophic forgetting when post-pretrained or supervised fine-tuned (SFT) on domain-specific data. Moreover, for Multimodal Large Language Models (MLLMs) which are composed of the LLM base and visual projector (e.g. LLaVA), a significant decline in performance on language benchmarks was observed compared to their single-modality counterparts. To address these challenges, we introduce a novel model-agnostic self-decompression method, Tree Generation (TG), that decompresses knowledge within LLMs into the training corpus. This paper focuses on TG-SFT, which can synthetically generate SFT data for the instruction tuning steps. By incorporating the dumped corpus during SFT for MLLMs, we significantly reduce the forgetting problem.
[ -0.01446959, 0.0775409564, -0.0286249239, 0.0540798008, -0.0196056459, 0.0109824333, -0.031077601, 0.0027931156, -0.034344703, -0.0520268045, -0.0713863373, 0.0177756697, -0.0162744522, -0.0121538565, 0.0273876078, -0.0188987199, 0.0590751432, -0.0593199283, -0.0518721379, -0.0198875777, -0.0074863797, 0.0158923492, 0.0217207111, -0.0091632232, -0.0163180009, -0.058918111, -0.0405149646, 0.00214516, -0.0370722972, -0.0216626469, -0.0058540381, 0.0300451871, 0.0363788344, -0.002669269, 0.0000023106, -0.0258125979, -0.0166826472, -0.0118577108, -0.0441599898, 0.0361107104, 0.0226582736, -0.0046435315, -0.0067834109, 0.0028637, -0.0209538098, -0.0475154035, 0.0245561823, 0.0306578074, 0.077249065, 0.0763624907, 0.002822923, -0.054289598, 0.0287502594, -0.0083241304, -0.0093675284, -0.0233077016, 0.0089836083, 0.0058046682, -0.0632277504, 0.0196464825, -0.0476247929, 0.0286315121, 0.0228272863, 0.0152590135, -0.0075307754, 0.0411719568, 0.003018311, -0.0341488458, -0.0139469709, 0.0207234882, -0.0167133845, -0.0356151685, -0.0048000775, -0.0028838608, 0.0142522799, -0.0158189777, -0.0407773443, 0.0563377254, -0.0034652099, 0.0275288429, 0.0180575158, -0.0674844235, 0.0283521656, -0.0280270576, -0.0109208627, 0.0101101631, 0.035371013, -0.0149188349, -0.0143981688, -0.0233607516, -0.0325941183, -0.0079824105, -0.0278787576, 0.035000734, -0.012395571, 0.0133718504, -0.0372930579, -0.0244345795, -0.0040359884, -0.0257601067, 0.0737686455, 0.0014299412, -0.0307236556, 0.0195864625, -0.0508386679, 0.0388521142, -0.0033647255, 0.0142837493, -0.0373676121, 0.0062830178, -0.0556093976, -0.0244411454, -0.0546714291, 0.0330950767, -0.0379735343, 0.0322409756, 0.0036177419, 0.0291634463, -0.004057717, -0.0201550573, 0.0258736275, -0.0038283365, -0.0593761206, -0.0108811567, 0.0123847565, 0.0700512379, -0.0069115926, -0.0003449022, -0.013404944, -0.0301036295, -0.0116349589, 0.0404225178, -0.0009088581, -0.0195892062, 0.0291131865, 0.0527959652, -0.0367581993, -0.0258926228, -0.0754375383, -0.0241430104, -0.0234328583, -0.0812077895, 0.0630965382, -0.0422735848, 0.0135758137, -0.0273519978, 0.0207297113, -0.0577515513, -0.0122239087, 0.0062746741, -0.0024993829, 0.0528323837, -0.0202414338, 0.0198770314, 0.0299460106, 0.0051224823, 0.0403016955, 0.0774954855, 0.0131366346, 0.030689653, 0.0069169342, -0.0522667207, -0.0056919595, 0.0568043813, 0.0301883593, -0.0015488693, -0.040207196, 0.0000391749, 0.0067532607, 0.0085678129, 0.0481682383, 0.0289536212, -0.0300564673, -0.0072244979, 0.0493459143, 0.0133344093, 0.0644489601, 0.0598874278, 0.0243874043, -0.0183118116, 0.0051580421, 0.0331009701, -0.0524255671, 0.0190277267, -0.0383979976, 0.008619667, -0.0402724221, 0.0416761264, -0.0514832921, -0.0212777574, 0.0025184313, -0.0268017743, -0.0122653591, 0.0036413097, 0.0625855476, 0.0540402681, -0.0211886931, 0.0592296943, 0.0351478048, -0.0428198501, 0.016565688, -0.051102411, -0.0127059827, 0.0218052045, 0.0328846425, -0.0157877225, -0.0401822105, 0.02278951, 0.0110087134, 0.0102279391, 0.0114338528, -0.0275393184, 0.0294650905, -0.0456804819, -0.0181048512, -0.0074707544, 0.0173427425, 0.0107672233, 0.0102920588, -0.0372220911, 0.0175626203, -0.0447589979, -0.0129211815, 0.0579985231, -0.0621309541, -0.0429466069, -0.0051117749, -0.0072408561, 0.0153426621, -0.0081205629, -0.0162260327, -0.0177603718, 0.0739699528, -0.0262195487, 0.0171433799, 0.0038132062, -0.0984755307, -0.0431779064, 0.0512117222, -0.0042613358, -0.0069037215, 0.0481464528, -0.0360922106, -0.047610037, 0.0091855153, -0.0235047936, 0.0429625027, -0.0689324141, 0.0368749499, -0.0090926308, 0.0014835095, -0.0324127637, 0.0587927774, 0.0008161098, -0.0352328606, -0.0039132521, -0.0166756138, 0.0201326255, -0.0105584189, -0.0215534531, 0.0326948874, -0.0026038967, 0.052189786, 0.0065075443, 0.0173363481, -0.0659089088, -0.0131502505, -0.1109243035, 0.0145333605, -0.0305158254, 0.0008447524, 0.0242621023, -0.0052258638, -0.0159633942, -0.0351109095, 0.0058432366, 0.0534750521, -0.0065218732, 0.0371078961, -0.0028146075, -0.0154380826, 0.0225876085, -0.0084267715, -0.0319171399, 0.0169002414, 0.027307732, -0.0498178974, -0.0199515633, -0.0748512521, 0.0705515891, -0.0168452356, 0.0534474626, -0.0097654872, -0.050012134, 0.0018376387, -0.0440527983, 0.0442511141, 0.0835519284, 0.0082172919, 0.0338953771, 0.0892148167, -0.0192157533, -0.0402857959, 0.0192175787, -0.0339486077, -0.0718434751, -0.0333949849, 0.0218493808, -0.0117795411, 0.0724388957, 0.0011497691, -0.0035604655, -0.0416645147, -0.0317026712, -0.0299098901, -0.0213365406, -0.0221288651, 0.0030682271, -0.04237739, 0.0002978118, -0.0096988855, -0.0664346963, 0.0454068705, -0.0187045839, -0.0049602063, -0.0188049655, 0.0125133405, -0.0185955744, 0.0749120265, 0.0320836902, 0.0283541474, 0.0215038806, -0.0143417874, -0.0754973367, 0.022842763, 0.0393813327, -0.0140902298, 0.0236166772, -0.0300999749, -0.0075083897, -0.017547857, -0.0513263755, -0.0269553829, -0.0657533482, 0.0100265061, -0.0095431181, -0.004237154, -0.0037885129, -0.0030840221, -0.013262731, 0.0284480713, 0.0316774026, -0.0017244961, -0.0062200017, -0.0242520254, 0.0184452441, 0.0337567143, 0.0479686782, -0.0053677633, -0.0521577187, 0.0403840467, 0.0464097261, 0.0375284329, 0.0105711566, -0.0505377166, 0.0269611795, 0.0256726574, 0.0098582665, -0.0367404036, 0.0355430022, 0.0567918345, -0.0587906204, -0.0236323569, 0.098927021, 0.0009063379, -0.059645541, -0.0146994451, -0.0046956465, 0.0690512881, 0.0357240066, 0.0289067104, -0.0686099455, -0.0427020304, 0.006339781, 0.027773004, 0.06082277, -0.0082298722, 0.0109325321, -0.1179030985, 0.0309219584, 0.0366674624, -0.0070976359, -0.0036783125, -0.0269232914, -0.0276812166, 0.0261330437, 0.0213251617, 0.0426344201, -0.04827144, 0.00014413, 0.0288063046, -0.0250347313, -0.060377758, 0.0142759718, -0.0091020847, 0.0536391176, 0.0641067252, 0.0279663112, 0.0148319965, -0.0028312602, 0.0521195382, -0.0071669216, 0.0351135768, -0.0192794502, 0.0410269089, 0.0154757854, -0.0153796086, 0.0296709575, 0.0304410104, -0.0179883037, -0.007810174, 0.0080305338, 0.0849380344, -0.013855435, -0.0364726558, 0.0171329658, -0.0490667708, -0.0565387793, 0.0537444353, 0.0356454402, -0.0200025141, -0.0182150397, 0.0012782904, 0.0394560061, 0.0181306731, -0.0348365679, 0.0623047836, -0.0357236117, -0.0045168148, -0.0487149917, -0.01820869, 0.0252189059, 0.0466757827, 0.0048235971, 0.0175313409, 0.0040706024, -0.0036705984, -0.0775694922, 0.0374112539, -0.0725692958, -0.045866102, -0.0516522154, -0.010402428, 0.0587071292, -0.0136894751, 0.0222368147, 0.0062274383, -0.0850769654, -0.0524914302, 0.0378634818, 0.0518460274, 0.0099654896, 0.0743046552, 0.0356072187, -0.0699464753, 0.0357120968, 0.0458289422, -0.0559389107, 0.0658542514, 0.0204980504, -0.05341582, -0.0109970728, 0.0479376726, -0.0284448322, 0.0202198382, 0.0423806682, 0.0340947919, 0.0002602929, 0.0118550649, 0.0412256047, 0.0557133295, 0.0524286106, -0.0490679331, 0.0133840907, -0.0155410217, 0.0119669959, -0.0209838301, -0.0178424139, -0.0330447033, 0.0156252012, 0.0104988646, 0.0076665385, 0.0349651128, 0.0004364143, 0.0451493151, 0.0181695633, -0.0397486165, -0.0136222532, 0.0529302321, 0.0016275008, 0.0312734023, 0.0456029736, 0.0173001122, 0.0189329535, 0.0309052542, 0.0270430073, -0.027041629, 0.0761004016, 0.0051351399, 0.031335339, -0.079163149, 0.0186669044, -0.0047600847, -0.0827382281, -0.048433546, 0.0105097219, 0.0902679116, -0.0059909285, 0.0395779796, -0.0126485806, -0.0172734726, -0.0310253892, 0.015424435, -0.0090774624, -0.0050224694, 0.0099296616, 0.0062058615, -0.0298180338, 0.0048495838, 0.0838314891, 0.0252504312, 0.0617804155, -0.00397596, 0.0301873777, -0.0446875617, -0.0145968944, -0.0114874458, 0.005118791, -0.0094950637, -0.017677119, -0.0178631432, -0.0872170031, -0.0132055013, 0.0129996371, 0.0027831062, 0.0038254424, 0.0498909317, 0.045026619, -0.0202250853, -0.0306329224, -0.0163205955, 0.0110587375, 0.0230477173, -0.0016360822, -0.0049755909, -6.904626799e-33, -0.0487523638, 0.010849894, 0.0495570041, -0.0113219488, -0.0303324461, 0.0045304368, -0.02862533, 0.0156185599, 0.0113122342, 0.0132581089, -0.0197705477, -0.0044035371, -0.0065004099, 0.0477378853, 0.0205705296, 0.0060571283, 0.0618058741, -0.0565046519, -0.023832079, 0.035108529, 0.0463528, 0.02798797, 0.0626162142, -0.0473428555, -0.0408442616, 0.0224297009, -0.005646274, 0.0322429053, -0.0137151908, 0.0548332036, -0.0438208096, 0.0502650924, 0.0244862996, -0.0152222961, -0.0578836724, -0.0291179679, -0.1081886739, -0.0360844508, 0.0036925985, 0.0058858255, -0.0558033101, -0.0112316059, 0.0720759481, -0.0172576196, -0.0244051535, -0.0118698031, 0.0052682697, -0.0121068554, -0.0282471608, -0.0146868117, -0.0476570949, -0.0123939365, 0.0085105393, -0.0339240618, 0.0722251907, -0.0318911076, 0.0021378607, -0.0015989776, -0.0384815522, 0.0137911243, -0.0029133835, 0.0830430686, 0.0719435588, 0.045513846, 0.0268412884, 0.0635671243, 0.0548808761, 0.0131975925, 0.0102888877, 0.0110243885, 0.0710097179, 0.0534599423, 0.0131576275, 0.0286347643, 0.0286493208, -0.03198836, -0.0415856615, 0.0056323949, -0.0416941866, 0.067816481, -0.0094730174, 0.0368134826, 0.0241789985, -0.0375919044, -0.0651476011, 0.0141122052, -0.0169840194, 0.0093488395, 0.035023734, 0.0241790432, -0.0249398593, -0.020340655, 0.0485868938, -0.0387208834, -0.0002464236, 0.0140154231, -0.0497459769, 0.0294338036, -0.001362958, 0.0355423838, -0.0399008766, -0.038006898, 0.0027779981, -0.0361478887, 0.0249089319, 0.0149768628, 0.0135290045, 0.0640631244, -0.0555956885, -0.0046858042, -0.0293942913, -0.0253399685, 0.0257207584, 0.0279736836, 0.0444530435, 0.0146917151, -0.00714309, 0.02789828, 0.0619858541, 0.001855183, -0.0581804812, -0.0031458961, 0.0319156013, 0.0248506162, 0.0248179268, 0.0000193375, -0.0508010462, -0.0353670493, 0.054884322, -0.0623633191, 0.006635793, 0.0199298821, 2.917e-7, 0.0264267679, 0.0460761413, -0.0050420328, -0.0334958658, 0.0505348928, 0.0528341196, -0.0293119643, -0.0150567275, 0.0157908648, -0.0355232023, -0.0049072327, 0.0285957865, 0.0421168581, 0.011640491, -0.0710249916, 0.0401638076, -0.0199417267, 0.0012423754, -0.0534670763, -0.0304606445, -0.0122077335, 0.0804210678, -0.0059879599, -0.0386222117, 0.0060480898, -0.0142002515, 0.0667826682, -0.0262981877, -0.0203667879, 0.0232133791, -0.0087186256, 0.0368776321, -0.0274777468, 0.0055755866, -0.0262321159, 0.0001476637, -0.0236436278, 0.0539679565, -0.0096156355, -0.0234494861, 0.0263648126, 0.0247015078, -0.0394157805, -0.0010454558, 0.0511934347, -0.0654617473, -0.0117409155, -0.0357455201, -0.0232122, -0.0107709216, -0.00180958, -0.0168491006, -0.0136444289, 0.0459308177, -0.0006072978, 0.0051329932, -0.0490843654, -0.082491219, -0.023676157, 0.0066772839, -0.0649930313, -0.02251417, -0.0401568413, -0.0030296193, 0.0308852103, -0.056629993, 0.0053673568, 2.697617879e-34, 0.0005563773, -0.0320574567, 0.0168021172, 0.0402932093, 0.0100779366, -0.0349370725, -0.0125355106, 0.0335620157, -0.0153940897, -0.0631473437, -0.0206682254 ]
http://arxiv.org/abs/2406.11353v1
http://arxiv.org/pdf/2406.11353v1
$\texttt{MoE-RBench}$: Towards Building Reliable Language Models with Sparse Mixture-of-Experts
2024-06-17T09:17:05
2024-06-17T09:17:05
Guanjie Chen, Xinyu Zhao, Tianlong Chen, Yu Cheng
cs.LG
cs.LG, cs.CL
Mixture-of-Experts (MoE) has gained increasing popularity as a promising framework for scaling up large language models (LLMs). However, the reliability assessment of MoE lags behind its surging applications. Moreover, when transferred to new domains such as in fine-tuning MoE models sometimes underperform their dense counterparts. Motivated by the research gap and counter-intuitive phenomenon, we propose $\texttt{MoE-RBench}$, the first comprehensive assessment of SMoE reliability from three aspects: $\textit{(i)}$ safety and hallucination, $\textit{(ii)}$ resilience to adversarial attacks, and $\textit{(iii)}$ out-of-distribution robustness. Extensive models and datasets are tested to compare the MoE to dense networks from these reliability dimensions. Our empirical observations suggest that with appropriate hyperparameters, training recipes, and inference techniques, we can build the MoE model more reliably than the dense LLM. In particular, we find that the robustness of SMoE is sensitive to the basic training settings. We hope that this study can provide deeper insights into how to adapt the pre-trained MoE model to other tasks with higher-generation security, quality, and stability. Codes are available at https://github.com/UNITES-Lab/MoE-RBench
[ 0.0146190943, 0.0749390796, 0.0467657447, 0.0306747742, -0.008140712, -0.0215178076, 0.0244917907, -0.0029983509, -0.0304349381, -0.0216337759, -0.0477790125, -0.0524178222, 0.0187739544, 0.0117213791, 0.0600406565, -0.0170931853, 0.003978427, -0.0458950438, -0.0542357713, -0.0168685112, 0.0176877379, 0.0031537025, 0.0022523811, 0.0560840368, -0.0062665301, 0.0038448332, 0.0154771963, 0.0055515105, 0.035422083, 0.015261041, -0.0095000397, 0.0869297609, 0.0302398689, 0.0793195739, 0.000001943, -0.0138932439, -0.0299844164, 0.0261842925, -0.021902021, 0.0188140944, 0.0086328248, -0.0261917189, -0.0359049141, 0.0229753498, 0.0160692204, -0.0004748893, 0.0468214378, 0.0480325595, 0.0421051979, 0.1245509163, -0.001598308, 0.0001946183, 0.0821876451, -0.0509870201, -0.0248182993, -0.0510135107, 0.0150021752, -0.004498018, -0.0385721475, 0.0218788069, -0.0050577577, 0.0261624977, 0.033534795, 0.0062751779, -0.0326601528, 0.0268195365, -0.0210061185, -0.0088011688, -0.0152472928, 0.0478748865, -0.0744158551, 0.0128964176, -0.0267078467, -0.0065427115, -0.0074380487, 0.0284241904, -0.0255423766, 0.0013599793, 0.030571945, 0.0163993482, -0.0352860056, 0.0110000391, 0.073413752, 0.0245370585, -0.0532468483, 0.0403605551, 0.0257704835, 0.0227893237, -0.0087806368, -0.0275935996, -0.0494316593, -0.0210369546, -0.0225198194, -0.0061828732, -0.0073333536, -0.0044436501, -0.0800973102, -0.0245933775, 0.0138137378, -0.0135805113, 0.0433970131, 0.0043349699, -0.0338532329, 0.0363701768, -0.0018804579, 0.0254201479, -0.0095622428, 0.0348887965, 0.0085784746, -0.0021829174, -0.0491508059, 0.0044103223, 0.022528911, 0.0113957124, 0.0180126689, -0.0230362155, -0.0446940362, -0.0224606041, -0.0297015533, 0.0382311083, -0.0149078975, -0.0127982367, -0.0298983417, -0.0546920523, 0.0214391667, 0.01473221, -0.0080001215, 0.0098446393, 0.0270794779, -0.0720949769, -0.0240677372, 0.0532190949, -0.0406834893, -0.036370717, -0.0179021489, 0.0681606457, 0.0115270289, -0.0560010597, -0.016715616, -0.0160470773, -0.0541544706, -0.0582295023, -0.0078510027, -0.0845521688, -0.00146054, -0.0241705179, 0.0421456844, -0.0902524218, 0.0152783068, -0.0150645198, -0.0427883677, 0.0269244965, -0.0394425243, -0.0052652978, -0.0205166582, 0.0272259656, -0.0096345199, 0.0679141954, 0.0252711419, 0.0135413287, 0.0487877913, 0.0136430413, 0.0427943803, 0.0280905236, 0.0043779542, 0.0367190354, -0.0256863888, 0.0040546157, -0.0008083804, -0.0261570513, 0.0012040888, 0.0827729702, -0.0470447354, -0.057056535, 0.0855974182, -0.0142699843, 0.0108636245, 0.0366434306, 0.0198012814, -0.0120640704, 0.0203259513, 0.0108296685, -0.0425319411, -0.0039739446, -0.0691724867, -0.0075291432, 0.0749632046, 0.048891671, -0.0522739552, -0.031185111, -0.0283865724, -0.000621532, -0.0358578116, 0.0064730281, 0.0704299882, -0.0148613509, -0.021040149, 0.0160181765, 0.0112513779, -0.0268745236, 0.0085097151, -0.0673594251, -0.0108349351, 0.0272428803, 0.0532285348, -0.0127987284, 0.025525922, -0.051021371, -0.0160483532, -0.0077980231, 0.0126541993, 0.019105792, 0.0684097186, -0.0565667264, -0.0183742139, -0.01811314, 0.0501382835, 0.0293275509, 0.0346765928, 0.0137570463, 0.0379621983, -0.0242224447, -0.0348543674, 0.0284082666, 0.0009745695, 0.0154055282, 0.0182689186, 0.0087325824, 0.0186069608, 0.0181033704, -0.0667371675, 0.033549659, 0.011309078, -0.0046248906, -0.0094386013, -0.0426487848, -0.0443958938, -0.0174563564, 0.0245016813, -0.0034678075, 0.0069347182, 0.0135430768, -0.0412199683, -0.027965581, 0.007589072, -0.0399480425, -0.0259852428, -0.051527258, 0.0013147563, -0.0244500283, 0.0465220176, -0.0129369684, 0.0584899858, -0.048962336, -0.001292554, -0.0132303741, 0.0086923679, 0.0364878066, -0.0483262576, -0.0765258074, -0.0199101605, -0.0180633217, 0.0516364798, 0.0082065286, -0.0165113788, -0.0188594982, -0.0454426333, -0.044084087, -0.0103243263, -0.0825683326, 0.004439292, 0.025654532, -0.0046912455, -0.0117126955, 0.0013091022, 0.0163598359, 0.0218812097, -0.0233251117, 0.0020681459, -0.0044551375, -0.0077505726, -0.0100918971, -0.0242526121, -0.0492201969, 0.023994904, 0.0821737051, -0.0556514375, -0.0068775471, -0.0423984081, 0.0461975485, -0.0225690957, 0.00778407, -0.0180268288, -0.0300870221, 0.0298919398, -0.0039732121, 0.0603347719, 0.052369941, 0.0310898814, 0.0119224237, 0.0686097592, 0.0002998907, 0.0185624845, -0.0294127185, -0.0086118011, -0.0247289259, -0.0328804404, -0.0115045859, -0.0025543079, 0.033881411, 0.014641487, -0.0433812588, -0.0335617214, -0.014684516, 0.0180114023, -0.0150450291, -0.0070207561, 0.0032479037, 0.0171828363, 0.0262005571, -0.0149579505, -0.0419524424, 0.075327225, -0.0315947942, 0.0371426232, -0.0001988838, -0.071095787, -0.0001365773, 0.0005673951, -0.0141041875, 0.0264747161, 0.0019975903, -0.0026398089, -0.0666758865, -0.0561586246, 0.0001864475, -0.0121295471, 0.0183828138, -0.0157884806, 0.0150356404, 0.0123605113, -0.0132721635, -0.0160766318, -0.0389744714, -0.0294924043, 0.0354168639, -0.0098595321, -0.036215961, -0.0472741537, 0.0267144665, 0.0167724881, 0.0361829214, -0.0280127246, 0.0062418994, 0.0145708201, 0.0488279127, 0.037845429, 0.0097316466, 0.0404157713, -0.0563107543, 0.0214299485, 0.0536927916, 0.0444678999, 0.0059191831, -0.0609900802, -0.0200294275, 0.0112307649, 0.0307484325, -0.0184752587, 0.0391105376, 0.0686926991, -0.0276904199, -0.0067855814, 0.0604293942, -0.0218615308, -0.0082506919, -0.0024799616, 0.0120048895, 0.0867621824, 0.0067052385, -0.0177393649, -0.036718782, -0.0076441835, 0.0208840519, 0.0227014776, 0.019679226, -0.018770026, 0.018729914, -0.0703182966, 0.0158764478, 0.0278517175, -0.0419624858, -0.0728368834, -0.0430978537, -0.0030731487, -0.0343770124, 0.0558709837, 0.0012156767, 0.0353098772, -0.0415027812, 0.021283187, -0.0019032899, -0.0875130817, 0.0236229785, -0.0553614199, 0.0526294522, 0.0564406551, -0.0203748923, -0.0117104631, -0.0007862184, 0.0272238459, -0.0052063242, -0.0092592239, 0.0519099422, 0.0501322523, -0.0319610238, -0.0074691684, 0.0347260498, 0.0385928601, 0.0075008925, -0.0174313691, -0.0003201898, 0.0328607671, -0.0163859092, -0.0344448574, -0.023233017, -0.0233662948, 0.0075034359, 0.0506601185, 0.0166510716, -0.0140144853, -0.0113664931, -0.0383496806, 0.0197564233, -0.0065111117, -0.0145831918, 0.0596077517, 0.0370503739, -0.0587086864, -0.0282057915, 0.0141872996, 0.0025061122, 0.0599921718, -0.0163072124, -0.00937571, -0.0229725298, 0.0165057257, 0.0037796139, 0.0271230582, -0.036383234, 0.0263612047, -0.0585205629, 0.0384922847, 0.0144435083, -0.0026606538, -0.0055142879, -0.016918119, -0.096196413, -0.0863057524, -0.0116761522, 0.0655823499, 0.0210176539, -0.0043436708, -0.0420555919, -0.1118911356, 0.1262658834, 0.0408892483, -0.0460854433, -0.0134581383, 0.0644615665, -0.0697947368, 0.0017049512, 0.044317726, -0.0424003601, -0.0065897149, 0.0443174802, 0.0235136859, -0.0077569443, -0.0167189203, -0.0311701801, -0.0279314891, 0.0197335314, -0.0369353555, 0.0404529795, -0.0289338641, 0.0059806216, -0.0077102492, -0.0027696732, -0.0128247896, 0.0496985726, 0.0676205233, -0.0067651388, 0.0193545073, -0.004119419, 0.0094072716, 0.0472127311, -0.0039480804, -0.009470487, 0.0247301385, -0.0155309392, 0.0393313542, 0.0042608841, -0.0259365011, 0.0210518707, -0.0092115756, -0.0007932641, 0.0065391944, 0.0373946577, -0.0122446204, -0.0245711394, -0.0109873842, 0.0358310491, -0.0888565928, -0.0495479293, -0.0416838825, 0.0512502976, 0.0669243485, 0.0055839987, 0.0180969108, -0.0176151302, 0.0017153085, -0.0682099164, 0.0100696357, 0.0055601723, 0.0001671729, 0.0133427912, 0.0185798034, 0.0023448868, 0.0812186897, 0.1015881076, 0.0411114022, 0.0061011189, 0.0099455481, -0.0120700449, -0.0394194461, -0.0164791346, 0.0072724139, 0.0527874902, -0.0714924932, -0.015840508, -0.0144622838, -0.0766990706, -0.0042581595, -0.0038005784, 0.020391332, 0.0565056019, -0.0071228454, 0.0382544249, -0.0273932107, 0.0800799057, -0.0310188327, -0.0105724791, 0.0630946457, 0.013553909, 0.0124803819, -6.474723536e-33, 0.0348247029, -0.003067581, -0.0400758609, -0.0729623213, 0.0208403282, -0.0088266544, -0.0226587225, 0.0296261199, -0.0423347913, -0.0094633671, -0.0187242851, 0.0119823562, -0.0029096396, 0.0516064651, -0.041583512, -0.0003480918, 0.0364869684, -0.0125980591, -0.0324081853, 0.0078033279, 0.0430500209, 0.0050252909, 0.0392737053, -0.0769311935, 0.02807514, 0.0247830302, -0.0478160679, -0.0048467494, -0.0105451448, 0.055696331, 0.0035185914, 0.0562336892, -0.0033613294, -0.0041293758, -0.0233678725, -0.0359376073, -0.0280711669, -0.0089888321, -0.043579217, -0.0421761572, -0.0139758149, -0.0148526728, 0.0536846668, -0.0136891948, 0.018694805, -0.0350063704, 0.000505641, -0.0081794197, -0.0428431667, -0.0210210346, 0.001382702, 0.0507372357, 0.0040268819, -0.0150061175, 0.0083439872, -0.0206006728, 0.0239387415, -0.0071499529, -0.0253362581, 0.0171396714, -0.0174635649, 0.0449395366, 0.0483137593, 0.0209896378, -0.0214522537, 0.0589462779, -0.0051328833, 0.0304529145, 0.002887974, -0.0199006703, 0.0482206643, 0.0555256568, 0.0745703056, 0.0423524603, 0.0296671037, -0.0133800767, -0.1084811985, 0.0142484037, -0.0116076488, 0.0396538824, 0.0785968527, 0.0412937552, -0.0413933918, -0.0099564483, -0.0278824996, -0.0437955447, -0.036437992, -0.0392678529, -0.0147404615, 0.0411120132, -0.0384602398, -0.0207870211, 0.03472488, -0.050162416, -0.0004011602, 0.0290779825, -0.037614014, -0.0000521765, -0.0086409952, 0.0613902062, -0.0425889343, -0.0370559655, 0.0295012724, -0.0135059906, -0.0227695927, -0.0262636635, 0.0667069703, 0.0347812362, -0.0447263867, -0.0172993075, -0.0040060948, 0.0110848481, 0.0321645923, 0.0666847453, 0.0226012543, -0.0109888436, -0.0026406152, 0.0149645088, 0.0094185397, 0.0052919327, 0.0195661355, 0.0099568581, 0.0074047809, 0.0111897262, -0.0022857613, 0.0054334351, -0.0493816398, -0.0291406605, 0.049657125, -0.0143358391, -0.0188697092, -0.0170573946, 2.638e-7, 0.0134834833, 0.0041725892, -0.0058098831, -0.0233659949, 0.0013326739, 0.02786351, -0.0378104374, 0.0263904165, -0.0317716487, -0.0458761342, 0.0091165509, 0.0239866246, 0.0714912936, 0.0396034494, -0.0455479324, -0.0171281509, -0.0643848702, 0.0187726486, -0.0411322229, -0.0144234151, 0.0368091017, 0.1535469443, 0.0234522726, -0.0033694967, 0.001095981, -0.0604519099, 0.0460507572, -0.0039959275, -0.009319935, 0.0104445405, 0.0812737122, 0.0701643676, 0.0126875807, 0.0138087515, 0.0031078439, 0.042744834, 0.0416878834, 0.0662252977, 0.0002375128, -0.0461830869, 0.0075919102, -0.0106019741, 0.0024960614, -0.0430937931, 0.0592562519, -0.0275231209, -0.0224130768, -0.0228445996, -0.0131284911, -0.0243535955, 0.0699495077, -0.0733595416, -0.0223442446, 0.0097225774, 0.0080560381, 0.0070235152, 0.0031388362, -0.0543658361, -0.0157646779, -0.0150769437, -0.0483773611, -0.0707120374, -0.0091448259, -0.0110952556, 0.043336872, -0.0204518065, 0.0112872636, 2.432818032e-34, 0.0598350167, -0.0257320348, -0.0275651962, 0.0088848472, 0.0433738716, -0.037576694, -0.0321966335, -0.0266430695, -0.0175634008, -0.0622970425, -0.0461104587 ]
http://arxiv.org/abs/2406.15484v1
http://arxiv.org/pdf/2406.15484v1
JobFair: A Framework for Benchmarking Gender Hiring Bias in Large Language Models
2024-06-17T09:15:57
2024-06-17T09:15:57
Ze Wang, Zekun Wu, Xin Guan, Michael Thaler, Adriano Koshiyama, Skylar Lu, Sachin Beepath, Ediz Ertekin Jr., Maria Perez-Ortiz
cs.CL
cs.CL, cs.AI, cs.CY
This paper presents a novel framework for benchmarking hierarchical gender hiring bias in Large Language Models (LLMs) for resume scoring, revealing significant issues of reverse bias and overdebiasing. Our contributions are fourfold: First, we introduce a framework using a real, anonymized resume dataset from the Healthcare, Finance, and Construction industries, meticulously used to avoid confounding factors. It evaluates gender hiring biases across hierarchical levels, including Level bias, Spread bias, Taste-based bias, and Statistical bias. This framework can be generalized to other social traits and tasks easily. Second, we propose novel statistical and computational hiring bias metrics based on a counterfactual approach, including Rank After Scoring (RAS), Rank-based Impact Ratio, Permutation Test-Based Metrics, and Fixed Effects Model-based Metrics. These metrics, rooted in labor economics, NLP, and law, enable holistic evaluation of hiring biases. Third, we analyze hiring biases in ten state-of-the-art LLMs. Six out of ten LLMs show significant biases against males in healthcare and finance. An industry-effect regression reveals that the healthcare industry is the most biased against males. GPT-4o and GPT-3.5 are the most biased models, showing significant bias in all three industries. Conversely, Gemini-1.5-Pro, Llama3-8b-Instruct, and Llama3-70b-Instruct are the least biased. The hiring bias of all LLMs, except for Llama3-8b-Instruct and Claude-3-Sonnet, remains consistent regardless of random expansion or reduction of resume content. Finally, we offer a user-friendly demo to facilitate adoption and practical application of the framework.
[ 0.0420847349, 0.0937203243, -0.0272387508, -0.0288685802, -0.0080438983, 0.0138832834, 0.0273873545, 0.0033654717, 0.0307225026, -0.0520785153, 0.0023254317, -0.0173353385, 0.0376901738, 0.0085524423, 0.044545684, 0.0122755393, 0.0009174642, 0.0450789072, 0.0214002691, -0.0403544158, -0.0034154665, 0.0382690877, 0.0045164246, 0.0804374516, 0.0282971263, -0.0354577117, 0.0925377384, 0.0191770438, 0.0096578598, 0.0053239767, 0.0559818968, 0.0489945449, -0.0281588119, 0.0116434731, 0.0000022358, -0.0551810749, -0.0029780837, 0.0204705447, -0.0188555885, -0.0279132929, 0.0447216667, 0.0178005137, -0.0188100711, 0.0356312133, -0.0132354293, 0.0208766833, 0.0083668875, -0.0303333886, 0.0324004441, 0.0084592765, 0.0047422429, 0.0006095649, -0.0534466915, -0.0602938943, 0.0060202996, -0.0102356281, 0.0415263958, -0.0592506826, -0.0265703816, -0.0198620521, -0.0243427064, -0.0233346932, -0.0499623157, -0.0453904867, 0.0352302827, 0.0287655387, -0.0225043055, -0.006684104, 0.0185910892, 0.018982742, 0.0078295358, -0.003554953, 0.0000425157, -0.0444974229, 0.0647758767, 0.0139021333, -0.0356392972, 0.0303150918, -0.0287993737, -0.0435351282, -0.0306340232, 0.0134154297, 0.0145493215, 0.0195961148, 0.0356285498, 0.0929161757, 0.0015467613, -0.0438489653, 0.0398829468, -0.0056766793, 0.0791771859, -0.0431029946, 0.0421372391, -0.0173344649, -0.0309426244, -0.0072818049, 0.0362997055, 0.0136376638, 0.0539602041, -0.0551549941, -0.0273543894, 0.0278411042, 0.0148923574, 0.034621764, -0.0064195544, 0.0347756259, -0.0002575743, -0.0470109992, -0.0066508548, -0.0231791865, -0.0578522384, -0.0185786989, 0.0023038327, -0.0250768047, 0.0006675426, 0.0892767087, -0.0878431946, -0.0284626987, -0.0786861107, 0.0159989074, 0.0589883067, 0.0198929813, -0.0052558356, 0.0341881327, -0.0293419585, -0.0164767951, -0.007075598, 0.0024908804, -0.0345590562, -0.033188954, 0.0254337676, -0.0090583796, 0.0287541468, -0.0332882442, 0.0199060757, 0.03879622, 0.052631598, 0.0023411354, 0.0324076451, -0.0275517106, -0.014380482, -0.0315958373, -0.023882417, -0.0441484228, 0.025021838, 0.0261048209, 0.0174412411, -0.05215111, 0.0062206052, 0.0209977087, -0.036066141, -0.0030621677, 0.0473137759, 0.0096321693, 0.060329169, 0.006800184, -0.0514379181, 0.0491442569, 0.0330557674, 0.0546262227, 0.0461063385, -0.0389700346, 0.0265261568, 0.0675352141, 0.0019329088, 0.0078765638, -0.0177955627, 0.0495926663, 0.0094379913, 0.0147801023, 0.0661361143, -0.0372659899, -0.0124969156, 0.0347193331, 0.0242934562, 0.0763918534, 0.0268233977, 0.0199970659, 0.0284241065, 0.022052817, -0.0253569633, -0.0285980925, -0.0440241322, 0.0032723539, -0.0100897001, -0.0403525457, -0.0275630523, 0.0349779241, -0.0074589276, -0.0126456134, -0.0066076885, 0.0444491431, -0.0288772751, 0.0172759499, 0.0019394857, 0.014325507, -0.0423428789, 0.034152437, 0.0232987292, -0.0526920035, 0.004691774, -0.020456126, -0.0370321795, 0.0962275118, 0.0292139705, -0.0308877993, 0.0245466977, -0.045482412, -0.029180089, 0.0183297098, 0.0527417287, -0.0040291143, 0.0000679691, -0.0268369727, -0.0172284786, 0.0540592298, 0.0252969172, 0.0325669348, 0.0406936444, 0.0260644928, 0.0101095196, -0.0457213968, -0.0606232174, 0.0151292207, 0.0018770728, -0.0474162996, 0.0313824601, -0.0071749859, -0.0055479743, 0.0143344747, -0.024545908, 0.0094645647, -0.0369529016, 0.0005112016, 0.0090030814, 0.0000808786, 0.0163204502, 0.0302941054, -0.0235424433, -0.0127587235, -0.0959802121, 0.0168170705, -0.0169706661, 0.0270291604, 0.0282902513, 0.0235085003, 0.0213418622, -0.0001801265, -0.0038218573, -0.0181180034, 0.0173081364, -0.0261924416, 0.0440046117, 0.0001712643, 0.0152426613, -0.0058475761, -0.0600950494, -0.0212322474, -0.1273588538, -0.0020113892, -0.0032374794, -0.0047389572, -0.0019121112, 0.0143076703, -0.01385614, -0.0234599747, -0.0534607694, -0.0684735775, 0.0208764225, 0.0147608127, 0.0022711549, -0.0114852814, -0.0115389302, -0.0139699513, -0.0141432462, -0.016761288, -0.0318446569, 0.0256850123, 0.0182343069, 0.0148996329, -0.0498107523, -0.0246727485, -0.0701143965, -0.0623785742, -0.0605025254, 0.0343496315, 0.0506104827, 0.032949701, -0.0395265743, -0.0112960618, -0.027122369, -0.0330341123, -0.0113620544, -0.0045632664, -0.0151278079, 0.0316416807, 0.0031256317, 0.0866207108, -0.0010780891, 0.009172515, 0.0233024023, -0.0133487061, -0.0095352642, -0.0235693026, 0.0303567536, 0.0445968397, 0.0088956719, -0.0951789692, -0.0104770791, -0.008174126, 0.0157938059, -0.0365795568, -0.0109794727, 0.0703033134, -0.0487961024, -0.0213830713, -0.0658204556, 0.0037329781, -0.0177792963, 0.026972115, -0.0119210007, -0.0428198241, -0.019627139, -0.0119275218, 0.0393239893, 0.0085575348, -0.0312578008, -0.0567470863, 0.0479158238, -0.0118980017, 0.0072112982, -0.0124395546, -0.0024613501, -0.0482018553, -0.015935, 0.0304840058, -0.0463734232, -0.0378275253, 0.0083315186, -0.0046697259, 0.0172474477, -0.0347211435, -0.0133476257, -0.0536133945, -0.0067091309, 0.0230574254, 0.049145706, -0.0075342376, -0.0469682179, -0.0082211783, -0.005440997, 0.0270605944, -0.014465862, -0.0178597625, -0.0134947263, 0.0003768455, 0.0105026122, 0.0075704469, 0.0091000414, -0.0288225934, -0.0211599525, -0.0084345099, 0.0091495495, 0.0248672348, 0.0219252631, 0.0181281492, 0.0308973659, -0.0788537264, -0.0053994348, -0.0132566188, -0.0329991169, -0.0559453256, 0.0544384643, 0.0713306144, 0.0030596703, -0.0426674262, 0.0182894003, 0.0077839158, -0.0085419435, 0.056759458, 0.0407521538, -0.0356095284, 0.036973469, 0.0229165666, 0.0387470722, -0.0220499951, -0.0460311621, -0.0153313791, -0.1086378694, 0.0667498186, -0.02579429, -0.0069629829, -0.0016826459, -0.0407482423, 0.0025020137, -0.0402979553, -0.0407939218, 0.0081889415, -0.0216105599, 0.0126668122, -0.0062606437, -0.0336853713, -0.0313376561, 0.0897639692, -0.0630764738, 0.0097796014, 0.0233139023, 0.07790941, -0.0355039202, 0.0147713181, 0.0064898124, 0.0153841507, -0.0134515185, 0.0230112113, 0.0303632915, -0.0417968705, -0.0072693704, -0.0573580936, -0.0145142432, 0.0088520339, 0.0357623212, 0.0347096436, 0.012129494, 0.0402808152, -0.0196210146, -0.0282341167, -0.0152977658, -0.021905018, 0.0729936361, -0.0221797228, -0.0786774233, 0.0233577266, -0.0555622354, 0.0201138239, 0.0257433765, -0.0569586568, 0.0004113963, 0.0092776334, 0.0162649956, -0.0072763418, -0.0468560308, 0.0023722188, 0.0067352462, 0.0169746242, -0.0124937287, -0.020327406, -0.0106118424, -0.0426573902, 0.0018692359, -0.0177765712, 0.0631442443, 0.0182951614, -0.0055354261, -0.0271433368, -0.0404295251, -0.0627231374, -0.0285944249, -0.0302299801, 0.0029228979, 0.0011806339, 0.0040890039, 0.0206987243, 0.0079846233, -0.0003295582, -0.0679017901, 0.0403361432, 0.0462093204, -0.0294229221, 0.0477660447, -0.0154127302, -0.0000256183, -0.0089376383, -0.0087102326, -0.0659827441, 0.0229379069, 0.0363064446, -0.0054975357, 0.0582752079, -0.032150507, -0.0048332117, 0.001409038, -0.0242132265, -0.0182357747, -0.0085948333, -0.043966461, 0.0205838904, -0.0246110931, -0.0411644615, 0.0112937596, -0.0317107663, 0.0676713884, 0.0272392724, -0.0151582686, 0.0086675184, -0.0140809184, 0.0391658954, -0.0532587916, 0.0636592209, -0.0244236775, 0.0371373184, 0.0028392188, -0.0385111608, -0.0030732353, -0.0272731669, -0.0071758279, 0.0334535651, 0.0241410825, 0.0060390406, -0.0259812213, 0.0293862727, -0.0093727838, 0.0353108943, -0.040054813, -0.0329508893, 0.0062924922, 0.0124669271, 0.0121980244, -0.0584803969, 0.0532222651, 0.0138757536, 0.0101417722, 0.0075815292, -0.0327731408, 0.0226595737, 0.0127560543, 0.0179325379, 0.0081665479, 0.0133610107, 0.003532124, 0.0317895263, 0.0853745639, 0.0364981666, -0.058052253, -0.018929597, -0.0037673302, -0.0149847288, 0.0574494489, 0.0190422125, -0.011947481, -0.0103764152, -0.1197447404, -0.0558743812, -0.0011747599, -0.0006779899, 0.0194680467, -0.0109882141, -0.0294613913, 0.0609782748, -0.0104535865, -0.0460416898, -0.0281788092, -0.0080531193, -0.0162007678, -0.0125260698, -0.049797181, -6.271159506e-33, -0.0151457191, -0.0657708868, -0.0080149248, -0.0067118499, 0.0142190605, 0.0152993118, 0.0279981662, -0.0450431705, 0.02261246, -0.0160201155, -0.0518490784, 0.0301272403, -0.0040388959, -0.0104430886, 0.0432801694, 0.0479890406, 0.0613386296, 0.0089829229, -0.0203320533, -0.0154644698, -0.066726312, 0.023582736, 0.0343630984, -0.0338929817, 0.102058202, -0.0231562499, -0.0137663558, 0.0014997622, -0.006865256, 0.038169574, 0.0058887242, 0.0370245725, 0.0155839603, -0.0420156606, 0.0244142897, 0.0156825278, -0.0254336651, -0.0046710512, 0.0272346176, 0.0314246379, 0.0736992955, -0.0239180513, 0.0169848762, 0.0306830313, -0.0689298436, -0.0387094505, 0.0871625766, 0.0216963924, 0.0720018968, 0.0397634879, -0.0098826084, 0.030139273, -0.0682398528, 0.0345924087, 0.0011843069, 0.0213847812, 0.0158774555, 0.0825746432, -0.1118439808, -0.0027057056, -0.0602004826, 0.0252193399, 0.0212040171, -0.0054861498, 0.0134812556, 0.0294985939, 0.0838635936, 0.0772683844, 0.0350504741, -0.0799443796, 0.0023725347, 0.0017963657, -0.0114230448, 0.0606822781, 0.081283465, -0.0235410146, -0.0436479263, -0.0301075745, 0.0206067618, -0.0031300806, 0.0088545373, -0.0073927776, -0.061757341, -0.0394292772, -0.025735084, -0.0780132189, -0.0090993019, 0.0096404236, 0.040306218, -0.0034169052, 0.0276476499, 0.0009814647, -0.0410571322, -0.0408821478, -0.0525349267, 0.0089355251, -0.0324926376, -0.0258837491, 0.0303847883, -0.0030185333, -0.0784906819, 0.0535572134, -0.0207983442, 0.0304433852, 0.0570468232, 0.0494304039, -0.0269631185, 0.003931087, -0.084030889, -0.0175587665, 0.0042218389, -0.0120959254, -0.0241460819, 0.025611544, 0.0433900952, 0.0214393009, 0.036841657, -0.0175631326, 0.0683076456, 0.0422957018, -0.0141183883, -0.0592963062, 0.0027745226, 0.0108951619, 0.0152143063, -0.0087757306, 0.023401333, -0.0023949661, 0.0328097083, -0.0341838971, -0.0046787788, -0.0454815142, 2.796e-7, 0.0190191679, 0.0660367906, -0.0430376157, 0.0299839452, 0.034672413, 0.0045908941, -0.0064031961, 0.0444757193, 0.0890509859, 0.0208549574, -0.043728698, -0.0027382895, 0.0024804822, 0.0004485759, -0.0802303702, 0.0043844976, -0.08023002, -0.0257742088, -0.0113698449, -0.0059299045, 0.0342323743, 0.0274746716, 0.0632826909, -0.0061360407, -0.0413609408, -0.0011788907, 0.0434913002, -0.010364335, 0.008257024, 0.0415194929, 0.0223263223, -0.029127555, -0.0172732249, 0.06449496, -0.0114657348, 0.0493104383, 0.0497384705, 0.0264817923, -0.0443506874, 0.0746359229, 0.0091825472, -0.0202688556, -0.0211852491, -0.0657815859, 0.0242858659, 0.0403924771, -0.0272256844, -0.04951014, -0.0663067251, 0.0106152128, 0.0703722388, 0.0077856001, -0.0303851496, -0.0184304751, 0.0221665874, -0.0031340879, -0.0416362844, -0.0132319778, -0.0001177024, -0.018082574, -0.0159086399, -0.0987870768, 0.0113101387, 0.0322638564, 0.0235983022, -0.040963918, 0.0155735575, 2.6377331e-34, 0.0346121565, 0.0365847647, 0.0213773046, -0.0320356824, 0.0588012822, 0.0172272604, 0.0015551399, 0.0031420235, 0.0137442732, -0.0030997954, 0.0104566133 ]
http://arxiv.org/abs/2406.11345v1
http://arxiv.org/pdf/2406.11345v1
Full-ECE: A Metric For Token-level Calibration on Large Language Models
2024-06-17T09:07:58
2024-06-17T09:07:58
Han Liu, Yupeng Zhang, Bingning Wang, Weipeng Chen, Xiaolin Hu
cs.CL
cs.CL, cs.AI
Deep Neural Networks (DNNs) excel in various domains but face challenges in providing accurate uncertainty estimates, which are crucial for high-stakes applications. Large Language Models (LLMs) have recently emerged as powerful tools, demonstrating exceptional performance in language tasks. However, traditional calibration metrics such as Expected Calibration Error (ECE) and classwise-ECE (cw-ECE) are inadequate for LLMs due to their vast vocabularies, data complexity, and distributional focus. To address this, we propose a novel calibration concept called full calibration and introduce its corresponding metric, Full-ECE. Full-ECE evaluates the entire predicted probability distribution, offering a more accurate and robust measure of calibration for LLMs.
[ -0.0199482851, 0.0870620236, 0.0088344021, 0.0202991217, -0.0240488034, 0.0056738299, -0.0094115464, -0.0153792715, -0.045878876, -0.0084997993, -0.0461654812, -0.0897166207, 0.0420264564, 0.0306903832, 0.0085392408, -0.0030998129, 0.0035238487, -0.0030022925, 0.0035607021, -0.007943511, -0.0097136004, -0.0161011629, -0.0243671872, 0.0605463907, -0.0479860492, -0.0106407721, 0.0259970352, 0.0332874507, 0.0267258938, -0.0015838328, 0.0433985554, 0.0551765077, 0.0012632878, 0.0839443654, 0.0000017417, -0.0430857986, -0.0043952884, 0.0101312539, -0.0399702825, 0.0273384452, 0.032493595, -0.0180815663, -0.0291155558, 0.0079377005, 0.0225847661, 0.008707324, 0.087760143, 0.0023751545, -0.0286930986, 0.0578232817, 0.0214793906, -0.0256235227, 0.0575386398, -0.0193677787, -0.0244268924, -0.0576428808, 0.019055862, -0.0018318335, -0.0808909312, -0.0184377171, -0.0256107394, 0.0244550146, 0.0522031002, -0.0086503066, -0.0173656289, 0.0181160029, -0.0513302386, -0.0172165781, -0.0278988201, 0.0253519062, -0.0075197066, -0.025532132, -0.0456257835, -0.04520173, -0.0124532823, -0.027249312, -0.01164388, 0.0122761736, 0.0542215258, 0.0349003933, -0.0055871489, 0.0029913613, 0.0869858488, 0.0003205161, -0.0075000571, 0.0952374265, 0.03150874, -0.0171922278, -0.0194507521, 0.0239019729, -0.0334780142, -0.0436744355, 0.0308645442, 0.0264874734, -0.0335185826, 0.0056376699, -0.0343106687, -0.0624664687, 0.0145843765, -0.0187135432, 0.0328676514, 0.0427056625, -0.0351685248, 0.0341850892, -0.0167040545, 0.0740458667, -0.0024993713, 0.0181127507, -0.0110313874, -0.038531661, 0.0094846915, 0.0067887986, -0.0059995279, -0.0415934213, -0.0162301511, -0.0236251112, -0.0811384469, 0.0007387745, -0.005453717, 0.0117413402, 0.0462366156, 0.0243820641, -0.0543302894, -0.0198795646, -0.0079580611, 0.0364321768, -0.0224002227, 0.0223418865, 0.0331118926, -0.0450993069, -0.0020752465, 0.0256205127, -0.0120037561, -0.0184565391, 0.0240089297, 0.0544119924, 0.0350765027, -0.0245984774, 0.0138523886, 0.0163782705, -0.0797153935, -0.0475937799, 0.0151726585, -0.0657664016, 0.0069192275, 0.0013531892, 0.0121728163, -0.0392182358, -0.0058590639, -0.0318677165, 0.0049057435, 0.0449788496, 0.0158106461, 0.0056863427, 0.0176402368, -0.0226764474, 0.0042741853, 0.1008865461, 0.0587792918, 0.0149820074, 0.0546862818, 0.0148096904, 0.0024863374, 0.0660822242, 0.0096901115, -0.0019708807, -0.0498722717, -0.0347819068, 0.0137164574, 0.0410580933, 0.0245697368, 0.0414431207, -0.0148203811, -0.0001717079, 0.0489031374, 0.0141021507, 0.0134149324, -0.0112932073, 0.0168126263, -0.0601457097, 0.0072788461, -0.0133017246, -0.0579332225, 0.0181546807, -0.0065310681, 0.005405446, 0.0504641794, 0.0023844475, -0.0004534372, -0.0425893664, -0.0253586248, -0.0175921284, -0.018174991, 0.0008891943, 0.0384868495, -0.0486887284, -0.0051442846, 0.0707298815, 0.0111967111, -0.0253768619, 0.0459941365, -0.0335963219, -0.0124878967, 0.0349819995, 0.0015381858, -0.0200740229, -0.0240966808, 0.0256756991, -0.0010818447, 0.031884063, 0.0429982506, 0.0024329028, 0.048130136, -0.0275606308, -0.0280838124, -0.0252606999, 0.0487393588, 0.0127844168, 0.0216418821, 0.0104506202, 0.0309477597, -0.1004100218, -0.0376144014, 0.0340984277, 0.0027259516, -0.0247422066, 0.0112432893, 0.0254676994, 0.0077831708, 0.0210989714, -0.0229650177, 0.0005344352, 0.0133172628, -0.0188329984, -0.002569268, -0.0492718853, -0.0197386499, 0.0253032763, 0.0612178221, -0.01539787, -0.0130084939, 0.0269373059, -0.0402935296, -0.0437204726, 0.0079804817, -0.0018870448, 0.0281589162, -0.0459199511, 0.0238882285, -0.0687708184, 0.0321048126, -0.0203225594, 0.0017996461, -0.0154776806, 0.0381767265, -0.0127502698, 0.0075701536, 0.0172939114, -0.0119968066, -0.0594073646, -0.042946469, -0.0032625517, 0.0190479513, 0.043281883, 0.0130554596, -0.0378587507, -0.0333154723, -0.0793963373, 0.0208547805, -0.0713922456, 0.0326453485, 0.0312456284, 0.0130414199, -0.0215647966, 0.0026202179, -0.0334359407, -0.0066795731, -0.0100128334, -0.0011806035, 0.029031001, -0.0167221315, -0.0365523212, -0.0475914143, -0.040268559, -0.0199839976, 0.0312034432, -0.0121557284, 0.0289089996, -0.0724316761, 0.0452151299, -0.0069293617, 0.0068903631, 0.0152118877, -0.0603961833, 0.0163304228, 0.0023034601, -0.0063120164, 0.0673505738, -0.0111522116, -0.0235496238, 0.0321964137, 0.0213989355, -0.0480456054, -0.0103617879, -0.0314553715, -0.0571333952, -0.0343305878, -0.0134972036, -0.0187854972, 0.057525143, -0.0243549384, -0.0189289078, -0.0260530263, -0.0117041236, -0.0246058088, -0.0239701439, -0.0091776112, 0.0061882334, -0.0259921383, 0.0208186693, -0.0110030007, -0.0636265576, 0.0564968549, -0.0626852065, 0.0232967064, 0.0043726764, -0.0053583398, -0.0182054304, 0.0176011696, 0.0302850083, 0.0113547435, -0.0342374295, -0.0366161093, -0.0614900067, -0.0097853001, 0.0000588029, -0.0240258183, 0.0401263684, -0.025809072, -0.0159021597, -0.0258713067, -0.0166403521, -0.0333959796, -0.0015884188, -0.0419124514, 0.0551244989, 0.0385224037, -0.0447167456, -0.0389964506, -0.0096554337, -0.0190920718, 0.0194599051, -0.0178782102, 0.0147573985, -0.0165001322, 0.0006158648, 0.0457913876, 0.0176339615, 0.0462806523, -0.0318290628, -0.0485588312, 0.0177583341, 0.0147312386, 0.0824302211, -0.0485300794, -0.0077115498, 0.0535048991, 0.0019168676, -0.0032331855, 0.0278565865, 0.071652621, -0.0263597798, -0.0030287975, 0.1416083574, 0.0014913258, -0.0619531907, -0.0044904421, -0.0165416785, 0.046252232, 0.0096090641, -0.0012256472, -0.0591030121, -0.0251459256, 0.0171053279, -0.004499278, -0.0043041864, -0.0319924578, 0.0242487192, -0.0829765722, -0.0245387219, 0.0067102141, -0.0608109124, -0.0727640167, -0.0322865583, 0.0458115712, -0.0232648496, 0.0811008215, 0.0095195472, 0.0663864464, -0.0200786591, 0.0514320731, -0.0459290966, -0.0754316077, 0.0158486348, -0.0916533023, 0.0650435612, 0.0680563524, 0.0034891304, -0.0457145646, 0.0004262024, 0.0136379236, -0.041666653, -0.0441552401, 0.0685264617, 0.0339325331, -0.0231197383, -0.0185869969, 0.0542598814, 0.0204289686, -0.051979661, 0.0071387445, -0.025678549, 0.0294559021, 0.0281660389, 0.0073867538, -0.0132885035, -0.0415862575, 0.0260226633, 0.0547395572, 0.0424539708, -0.053875789, -0.0019858906, -0.0436464548, 0.0300260764, -0.0424304232, 0.0365309492, 0.0295407735, 0.0107799023, -0.0290033314, -0.026471898, 0.016520666, -0.0103648985, 0.0100991717, 0.0235126484, -0.0387152359, -0.0027472966, -0.0104099121, -0.0326103978, 0.0221246071, -0.0129443416, 0.0554951392, -0.0644198135, 0.0249342136, -0.0038148938, 0.0328969844, -0.0288903154, 0.0518009998, -0.1005682573, -0.0559238344, 0.0148071731, 0.0131202796, 0.0163442232, 0.0004000391, -0.0182772148, -0.089665845, 0.0805649236, 0.0515627861, -0.0014714254, 0.0077383514, 0.0167108774, -0.0182028767, -0.0249252077, 0.0432135127, -0.0623677522, -0.0091847042, 0.0395070203, 0.065608643, 0.0209281873, -0.0821947381, -0.0093669752, -0.0173730385, 0.0958690494, -0.0598773919, -0.0283582807, -0.0166946016, 0.0015394402, 0.0045292852, -0.0233400203, -0.0006692496, -0.0188925508, 0.0529128648, -0.0040988033, -0.0392024033, 0.0041154213, 0.0409119204, 0.0152757661, -0.0129357222, -0.0116847353, 0.0447060876, 0.0014242965, 0.0578542799, -0.0046463935, -0.0219570156, -0.0068954327, -0.0033468523, 0.0222456548, 0.0088699674, -0.0035349694, 0.0265812725, 0.0031927291, -0.0338395201, -0.0085469205, -0.0493256301, -0.0105913496, -0.0405088477, 0.0752451792, 0.0454396121, -0.0100133503, 0.012979201, -0.0132877519, -0.0389985703, -0.0614084303, 0.0127761737, -0.0111801513, 0.0047049737, 0.0420305766, -0.0077129812, 0.0076885512, 0.0306320544, 0.0240703877, -0.0076137912, 0.0456623882, -0.0510237589, -0.0178770907, 0.0264222603, -0.0064866426, -0.0087511465, 0.0018209111, -0.0357570462, -0.0091301175, -0.0242815185, -0.1054125428, 0.0369853377, 0.0820281804, 0.0067241038, 0.0210493654, -0.0003820519, 0.0706559718, -0.045623377, -0.0085221082, -0.0192030426, 0.023427505, 0.0012897057, 0.0080496464, -0.0310203619, -5.901614939e-33, -0.0159537829, -0.0098528061, -0.0235943384, 0.0025103062, -0.0288033206, 0.0227454938, -0.000644468, 0.0288974904, 0.0007499648, 0.0334966034, 0.0007801811, 0.0219297074, 0.0248623881, 0.034290038, -0.0031276052, -0.0408799201, 0.0267796963, -0.0401054211, -0.0314374343, -0.0185607579, 0.0202078968, 0.0232904162, 0.0946058035, -0.032944221, 0.0502228327, 0.032257989, -0.0024481157, 0.0356849283, 0.019800704, 0.0690674111, -0.0048482567, 0.0727527514, -0.015845852, 0.0089185117, 0.0100072855, -0.0056537418, -0.025738081, -0.0222903062, -0.0033138762, 0.06583675, -0.0305029005, -0.0047021424, 0.0684751868, 0.0073040859, -0.0645594448, -0.0275667757, 0.0108191809, -0.024465546, -0.0101500414, -0.0341036879, -0.0135164075, 0.0170311555, -0.002698221, -0.0136925587, 0.0024983075, -0.0137524316, 0.0414670967, 0.0053698951, -0.0669329166, -0.0286349449, -0.011913971, 0.0640112758, 0.0628601983, 0.0651913211, -0.0094639082, 0.0746062621, 0.0382243879, -0.0209010895, -0.0231267828, -0.005597698, 0.0677960441, -0.035153199, 0.0340520069, 0.0730954558, 0.0441053845, 0.0023332597, -0.086842671, 0.0189889874, -0.0048553227, 0.0026509902, 0.0356457978, 0.0283668432, -0.0254671033, -0.007045438, -0.0615092888, -0.0700459406, -0.0368778221, 0.0056860507, 0.001162209, -0.0155957695, -0.0098722503, -0.017944634, 0.0087768566, -0.0725775063, -0.0271261614, 0.0210756455, 0.0106262863, 0.0169803649, -0.0115581034, 0.0598811284, -0.0161384623, -0.0133416746, -0.0083108954, 0.0220755246, 0.0329831727, -0.0175645836, 0.0525298417, 0.0179910827, -0.03320916, 0.0058629592, -0.0327820182, -0.0292769931, 0.0154748131, 0.052277647, 0.0380218551, -0.0336875543, 0.0035769446, -0.0001171353, 0.0109481439, 0.0423383079, 0.0182179678, -0.0039891303, 0.0179442838, 0.030857591, -0.0587325878, -0.0183138419, 0.0033251774, -0.0259906631, 0.0166296363, -0.0506054685, -0.005653243, -0.009000646, 2.396e-7, 0.1110802516, 0.0125326775, 0.0201371927, 0.0145716127, 0.0289984941, 0.0248883739, -0.0148497969, 0.022637479, 0.0230501033, -0.0472527929, -0.0100780651, -0.004806601, 0.0314131081, 0.0003566121, -0.0697182268, -0.0184015892, -0.0475371964, 0.0489298813, 0.0271714255, 0.0161024649, -0.0009294972, 0.1098312438, 0.0291770976, -0.0358106457, -0.0052063293, -0.0363808535, 0.043519076, -0.046135772, 0.0018804099, 0.0607128739, 0.0455131233, 0.0412904546, 0.0374087431, 0.0439739823, 0.0020171669, 0.0503100157, 0.0376686528, 0.0423278436, 0.0074522393, 0.005692163, -0.0419325642, -0.003682662, 0.0195879526, -0.0695120171, 0.0396706685, -0.0332403034, -0.0028188406, -0.0794469416, -0.0012423333, -0.0204134304, 0.0789193586, -0.0320031345, -0.0246618055, 0.0173317138, 0.0321877114, -0.00986588, -0.0249630883, -0.070333004, -0.0503873266, 0.0179172419, -0.0323070474, -0.0403289795, 0.0003273922, -0.0265658274, 0.0197309311, -0.0667159855, 0.0276540425, 2.042780971e-34, 0.0484369211, -0.0148827303, 0.0023783897, 0.000626256, 0.0241982266, -0.0178571753, 0.0226640068, -0.0349515751, -0.0088736322, -0.0531185679, -0.0197080243 ]
http://arxiv.org/abs/2406.11341v1
http://arxiv.org/pdf/2406.11341v1
A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences
2024-06-17T08:59:04
2024-06-17T08:59:04
Leonardo Bertolazzi, Albert Gatt, Raffaella Bernardi
cs.CL
cs.CL
The reasoning abilities of Large Language Models (LLMs) are becoming a central focus of study in NLP. In this paper, we consider the case of syllogistic reasoning, an area of deductive reasoning studied extensively in logic and cognitive psychology. Previous research has shown that pre-trained LLMs exhibit reasoning biases, such as $\textit{content effects}$, avoid answering that $\textit{no conclusion follows}$, display human-like difficulties, and struggle with multi-step reasoning. We contribute to this research line by systematically investigating the effects of chain-of-thought reasoning, in-context learning (ICL), and supervised fine-tuning (SFT) on syllogistic reasoning, considering syllogisms with conclusions that support or violate world knowledge, as well as ones with multiple premises. Crucially, we go beyond the standard focus on accuracy, with an in-depth analysis of the conclusions generated by the models. Our results suggest that the behavior of pre-trained LLMs can be explained by heuristics studied in cognitive science and that both ICL and SFT improve model performance on valid inferences, although only the latter mitigates most reasoning biases without harming model consistency.
[ 0.046381861, 0.0523165874, -0.0105055887, 0.0287195556, -0.0452952795, 0.064015761, 0.0397681594, -0.0310485885, 0.0087984307, -0.0793926343, -0.019158408, 0.0107940799, 0.0067353584, -0.0447812602, 0.0396864563, -0.0292075779, 0.0603348501, -0.0607003942, 0.022002181, -0.0361017101, -0.0142609207, 0.0121941762, 0.0019982124, 0.009879102, 0.0007272974, -0.0141571304, 0.0060599865, 0.0000100531, 0.0081395097, -0.0466270782, -0.0132093448, 0.0496614836, 0.0266293064, 0.0572818592, 0.0000020822, -0.0728612393, 0.0012438766, 0.0063238721, -0.0195167046, 0.0262380913, -0.0234557763, -0.0460317545, 0.0011974848, 0.009388769, -0.0086506428, 0.0033850085, 0.0165934749, 0.0660763383, 0.037424542, 0.0652682409, -0.001987701, -0.0795178935, 0.0066263317, -0.0313464291, -0.0221461169, -0.0438811369, 0.0524650291, 0.0231150649, -0.0111454371, 0.0004532874, -0.0033016873, 0.0286950916, 0.034009058, 0.0204066504, -0.0761987418, 0.0248585455, -0.0374569744, -0.0386048928, 0.0148980794, 0.0236504097, -0.0037802053, -0.0483147763, -0.0171321519, 0.013796228, 0.0051202327, 0.0196921565, -0.028746875, 0.0617555901, -0.0166114159, 0.0123405019, 0.0817470402, -0.015511645, 0.0389745794, 0.0174679253, -0.0728570372, 0.0861272663, -0.0144339362, -0.033828143, 0.0417989679, 0.0241609942, -0.0616711266, -0.0773378238, -0.0183495488, 0.045977354, -0.047285419, 0.0342318043, -0.017481776, 0.0197204836, 0.0342156701, -0.054462675, 0.0114281895, 0.0187329799, 0.0312243514, 0.0718291923, -0.06885463, -0.0002691703, -0.0488818772, 0.0566387288, 0.0158257522, -0.0322333276, -0.0249410793, -0.0217151977, -0.012621806, 0.0452109836, 0.0035814401, 0.0033632671, -0.0033733926, 0.0047501046, -0.0305095594, 0.0387239419, -0.0164843705, -0.0039446251, 0.0230027102, -0.0266331397, -0.0745283663, 0.0120203495, -0.057794597, 0.0538740754, 0.010117352, -0.024838347, 0.000190531, -0.0357574448, -0.0162289944, -0.0230647754, 0.0541474186, 0.026679894, 0.0056724893, 0.0021700934, -0.0740047544, -0.0391561277, -0.05094276, -0.0819798857, -0.0200073868, -0.0741486028, -0.0191228073, 0.0440758057, 0.0277439971, -0.0175748616, 0.0160450712, 0.0140137123, -0.0498913862, 0.0771159604, -0.0020802594, 0.0123715093, 0.0015065762, -0.0036047061, 0.0179898124, 0.0752440915, -0.0079763653, 0.0133089842, 0.0024770119, 0.0071582734, -0.0211889762, -0.0054530012, 0.0120759662, -0.0034363638, -0.0449937321, 0.0150699364, -0.0110660987, 0.005453039, -0.0013164063, 0.066370219, -0.032260973, -0.0130469976, 0.0459773764, 0.0273606591, 0.0745218247, 0.0273980498, 0.0460392162, -0.0530350059, 0.0045913639, 0.0217579696, -0.0771866888, 0.0063909264, -0.0344692804, -0.0236342736, 0.0011302008, 0.0215743221, -0.0250700917, -0.0474999882, -0.0169149898, 0.0005900555, -0.0048315935, 0.0301196557, 0.0625496954, 0.0343439579, 0.0069464403, 0.0201072134, 0.05622169, 0.0122183478, -0.0433840714, -0.0345727243, 0.0196654648, -0.009569753, 0.0383708626, -0.01717861, -0.0194093361, -0.0158509761, 0.0132945552, 0.0160971135, 0.0603799522, -0.0055561792, -0.019641364, -0.0243029054, -0.0105966367, -0.0513738766, 0.0469635203, 0.0071576242, -0.0113780303, 0.0209545847, 0.0080790706, 0.0112802647, 0.0117772799, 0.0268333275, -0.0245732982, -0.0258822832, -0.0434922613, 0.0254765544, 0.0338083096, -0.0096611818, -0.0165186618, 0.0124447802, 0.0076541635, -0.0263306946, -0.0074574091, 0.0171971787, -0.0555048697, -0.0378775485, 0.0282597598, -0.0454912446, -0.0228240415, -0.0043071844, -0.0245417506, -0.0062604728, 0.0052746716, -0.0187065322, 0.0109383455, -0.030002987, 0.0240883678, -0.0368753187, -0.017331088, -0.0457415171, 0.0928363428, 0.0196106732, 0.0195739064, 0.0489374697, 0.0257517565, 0.0135542993, -0.0002199431, -0.0130855683, 0.0449176095, 0.0030507364, -0.0192133356, 0.0059491843, -0.0219984092, -0.0476079136, -0.0318465717, -0.093009904, 0.0039709038, -0.0219074674, -0.0059148828, 0.0204989631, -0.038977202, 0.005511791, 0.0205103271, -0.0008005362, 0.002252589, 0.0222443845, 0.0397405513, 0.0218668655, -0.0105374884, -0.0064530848, -0.0063550686, -0.0092198802, -0.0395485088, 0.055306118, 0.0251259524, 0.0204914697, -0.0288673509, 0.0705282241, -0.0625386238, 0.0215111207, -0.0217102263, -0.0203045737, 0.0391256139, 0.0108910883, -0.0091921156, 0.1164877489, -0.0023595262, 0.0011330736, 0.0775121078, -0.0059217834, -0.0326831266, 0.0244136862, -0.0108079137, -0.0168714803, -0.054269962, -0.0133992974, -0.0235896595, 0.056281466, -0.0162994042, -0.0133775454, -0.0422354862, 0.0515442006, -0.020854855, -0.0039193225, -0.0027320476, -0.0301861297, 0.0163785294, 0.0738318413, 0.0055409502, -0.0054408852, 0.0622413084, 0.0017299254, 0.0321371593, -0.0522867851, -0.0131863412, -0.0614781007, 0.0697233602, -0.0152813159, 0.014369322, 0.0044628768, 0.0183385573, -0.0582826138, -0.040918462, 0.0371940434, -0.0123225003, 0.0168560725, -0.029866077, 0.0003334925, -0.0113757486, -0.0514770374, -0.0384725966, -0.0288583897, -0.079248853, -0.0182114597, 0.0070052524, 0.0098664826, 0.0085730422, 0.0067196446, 0.0288351309, 0.0071782577, -0.0035527812, -0.0230895206, -0.0187978894, 0.0045901248, 0.0379893593, 0.0022059523, 0.0695971921, -0.0317991301, 0.0279953741, 0.0386223868, 0.0312055871, 0.0391300619, -0.0185829513, 0.0129880058, 0.0025973907, 0.015904123, -0.0619181171, 0.0035430121, 0.0532828867, -0.0548944771, -0.0043117646, 0.1191545576, 0.0259765051, -0.0427976064, 0.0096790027, -0.016864026, 0.0182868578, 0.0285730865, -0.025115924, -0.0537503511, -0.0559110381, 0.0307440925, -0.0335953645, -0.0408234857, -0.0397820026, 0.0065685445, -0.1039030626, 0.0050657317, 0.003614604, -0.0086162481, -0.0303648151, -0.0595581457, 0.0316801891, 0.0026330519, -0.0216669943, 0.0229814649, -0.0071410877, -0.0052327742, 0.0136960642, 0.0197829772, -0.0360728018, 0.0393342003, -0.0356820822, 0.031014679, 0.0267596766, 0.0244486313, 0.0003993005, -0.0357425958, 0.0743866339, -0.0579847693, 0.0076427762, -0.0195551757, -0.0009019769, -0.0044113309, -0.0040317019, -0.0417198427, 0.0443315282, -0.0000971975, -0.0235099047, 0.0107474923, 0.0654540136, 0.0070331534, -0.063780047, -0.013296999, 0.037667606, -0.0668202862, 0.0549443774, 0.0116611328, -0.0244207792, -0.0420251563, -0.0308596548, -0.0308358874, 0.0396131985, -0.0282983687, 0.0343192071, 0.0308080018, 0.0003613887, -0.0228058416, -0.045876991, 0.0347941332, 0.0559776798, -0.0106428545, 0.0104703186, -0.0030189315, 0.0201581772, 0.0228298288, 0.042094402, -0.0306002442, 0.0287170932, -0.0179772899, 0.0477743447, 0.0173366293, -0.0154029978, -0.0151594793, 0.0122984843, -0.062856108, -0.0743987933, -0.0056827627, 0.02453232, 0.0311478451, 0.057290677, -0.0240360443, -0.049218826, 0.0314905979, 0.054062169, 0.0033604375, 0.032525491, 0.0330296829, -0.0051030135, 0.0231979918, 0.0373486169, -0.0127898334, 0.0099734589, 0.054036539, 0.0349757262, -0.0336363763, -0.0062777353, 0.0606273934, -0.0057263412, 0.0215480346, 0.0221508835, -0.0474627875, -0.0008749129, 0.0249783434, -0.0123362951, -0.0361965522, 0.0024252259, 0.0046982449, 0.0161477737, 0.0060833287, -0.0134111419, -0.0691555217, 0.0165757015, 0.027233446, 0.0175301023, -0.0039959913, 0.0547045581, 0.0102264723, 0.0249947663, -0.013609915, -0.0386871733, 0.0245105866, -0.0136378156, 0.0463411845, -0.012922734, 0.0809646696, 0.0746947601, -0.0168381631, -0.0448982753, -0.0234306529, -0.0797015578, -0.0554591604, 0.0295378473, 0.0006794661, 0.0592407212, -0.0367340744, 0.0293648709, -0.0403414555, -0.0295548141, 0.0005949467, 0.0127900215, 0.0343472473, -0.0090785269, 0.0217857566, 0.0196572356, -0.0270724818, 0.0013229477, 0.0344945937, -0.0243186615, 0.0357773937, 0.0350774862, -0.0284082163, -0.0178037975, -0.0388554409, -0.0304166414, 0.0365635678, 0.0022013364, 0.0216653869, -0.0868906975, -0.0948931798, -0.034382347, 0.0031106083, 0.0239928737, -0.0126892338, -0.0157131366, 0.0921265706, 0.011413523, -0.013351256, -0.0103106899, -0.0051732175, 0.0128288744, 0.0124984002, -0.0106949871, -6.490935072e-33, -0.0222416781, -0.0236311052, 0.0048683486, -0.0050666882, 0.0069812224, -0.0242123585, -0.0218012556, 0.0015125908, -0.0638065785, 0.0510326847, -0.016600715, 0.0124786766, -0.002489341, -0.0017138394, -0.0393760316, -0.0055109067, 0.0205556378, 0.0490721241, -0.0288223755, -0.0148115586, 0.0398999192, -0.0123232789, 0.0201553311, -0.0385763794, 0.0004194752, 0.0055793114, -0.0022251487, 0.0159019921, -0.0812623724, 0.002430321, 0.0171182975, -0.0070770327, 0.0296607967, -0.0093157478, 0.0357237197, 0.0170473829, -0.0831272453, -0.0126831122, 0.0619036853, -0.0180842876, -0.0102094561, -0.0358410589, 0.0383743607, 0.0088398401, -0.0182518028, -0.0199899226, 0.0172513593, -0.029321067, -0.0016655801, -0.0420574807, -0.06408564, 0.0120005971, -0.0157464147, -0.0260144398, -0.0304141268, 0.025771847, -0.022950856, 0.0243272781, -0.0155404145, 0.0132452361, 0.0337012075, -0.0083810445, 0.055893857, -0.02238339, -0.0087939119, 0.0562936477, 0.0083147548, 0.0332965851, -0.0547924228, -0.0022578996, 0.014690984, 0.048651997, 0.0564496033, 0.0321399271, 0.0435349643, 0.0096862679, -0.1168955714, -0.0570441149, -0.0046946071, 0.0414433964, 0.0598161109, -0.0034758497, -0.0043237549, -0.0279695, -0.0930225328, 0.0044058342, -0.0225996934, 0.0039145201, 0.0124393255, 0.0144166276, -0.0200012717, -0.0080635846, -0.0001542914, -0.0474071018, -0.0270888638, 0.0459922776, 0.0051361355, -0.0160405952, -0.0112951435, 0.0420685522, -0.0355470031, 0.0016696549, -0.0055496129, 0.0029914731, 0.0242612734, 0.017860122, 0.0685724542, -0.0058209938, -0.0392374396, -0.0136415455, -0.0573153719, 0.0159044657, -0.0148511836, -0.0365953259, 0.0691466033, 0.029030066, -0.0076335352, 0.0040431609, 0.0319956914, -0.0156169478, -0.0228210967, 0.0340826996, -0.0232254397, 0.0157539006, -0.0045018489, -0.0348354466, -0.0358490087, 0.007744797, 0.0315328538, -0.0640953556, -0.0147835994, 0.0191870965, 2.875e-7, 0.0285483934, 0.0796123594, -0.0341981277, 0.0179105792, 0.0300814137, 0.0571898147, -0.0094547905, -0.0231630336, 0.056879282, -0.0338135473, -0.015641069, 0.0545188077, 0.0217177607, 0.0506298989, -0.0129944151, 0.0112555642, -0.0468646139, -0.0288148783, -0.0476834625, 0.0195576809, 0.0250353534, 0.1015415117, 0.0204102769, -0.0160573553, 0.0338662714, -0.0642395169, 0.0599672869, -0.0126612196, 0.0080906739, -0.0062694661, 0.0058769872, -0.0327447169, 0.0208336841, 0.0596994795, 0.0479869694, 0.0220790356, -0.0297234021, 0.0306964796, -0.0062247613, 0.010339899, -0.0263500698, -0.0361288749, -0.0052256892, -0.1160532013, 0.1181267425, -0.1006096974, -0.060007304, -0.0105288047, 0.0044211927, -0.0438034944, 0.0263985321, 0.0112419948, -0.0030350047, 0.0049155378, -0.0100534521, 0.0105367405, 0.0073569082, -0.0955854505, -0.0216488559, 0.0449107923, -0.0147323459, -0.0499250926, 0.0099805547, 0.0005625312, 0.0742555782, -0.0586360171, -0.0009270444, 2.803635301e-34, 0.0330884382, -0.0212625414, 0.0300907716, -0.0035723783, 0.0648893043, 0.0155314477, -0.0206109751, 0.0113209272, 0.036959365, -0.0858014822, -0.0068093846 ]
http://arxiv.org/abs/2406.11338v1
http://arxiv.org/pdf/2406.11338v1
Fine-grained Controllable Text Generation through In-context Learning with Feedback
2024-06-17T08:55:48
2024-06-17T08:55:48
Sarubi Thillainathan, Alexander Koller
cs.CL
cs.CL
We present a method for rewriting an input sentence to match specific values of nontrivial linguistic features, such as dependency depth. In contrast to earlier work, our method uses in-context learning rather than finetuning, making it applicable in use cases where data is sparse. We show that our model performs accurate rewrites and matches the state of the art on rewriting sentences to a specified school grade level.
[ 0.02652869, 0.0233152024, 0.0000960407, 0.0190201979, -0.0487967506, -0.0082200654, -0.0129245017, -0.0381978229, -0.0183034334, -0.064029932, 0.0285794698, 0.0145429652, 0.004095715, 0.0555709377, 0.0511887372, -0.0653642491, 0.0087747453, 0.0128334835, -0.0197806079, 0.0023315735, 0.0278462954, 0.0263018832, 0.0136084529, 0.0320787504, -0.0461451858, -0.00563615, -0.015650725, 0.0377972201, 0.0020034441, 0.0119570196, 0.0787894949, 0.0380003005, 0.0285268873, 0.0149448682, 0.0000019296, -0.0197153166, -0.0400547162, -0.010244186, 0.0256223325, 0.0213959254, 0.0142864622, -0.0342494696, -0.0265212078, 0.020994639, -0.0295496453, 0.0360260308, 0.0242343247, 0.0232274365, 0.0688847378, 0.0714781955, -0.0361724347, -0.0112720281, -0.0053135813, -0.0372607931, 0.0355972573, -0.0081867315, -0.0064282804, 0.014668256, 0.0132990628, -0.0117807966, -0.0353547186, 0.0238221996, 0.0219464004, -0.0288222823, 0.0203278307, 0.0136168646, 0.0085713901, 0.0230326615, 0.0172639396, 0.0590710975, -0.0251471978, -0.0515142493, 0.0348043516, -0.0268754214, -0.0036280893, -0.013944081, -0.0332115926, 0.0141940275, -0.0203408133, 0.006949353, 0.0143526765, -0.0105571877, -0.0142587079, 0.031387262, -0.0261239056, 0.0277077593, 0.0169271193, -0.0367358439, -0.063021265, 0.0352197029, 0.0103992382, -0.08083269, 0.0110429749, 0.0050379494, -0.042077858, 0.0052941241, -0.1217671409, -0.0299664158, 0.0141111407, -0.0363671668, 0.0072988519, 0.0121390056, 0.0008389761, -0.0022334177, -0.0073378547, 0.0084973788, -0.0045229173, 0.0054029566, -0.0252583995, 0.0373281278, -0.0401171371, -0.0112519292, -0.0824867785, 0.0451397076, -0.0431829877, -0.0208172221, -0.0780219138, 0.026409816, -0.000226213, 0.023742307, -0.0347454734, 0.01929814, -0.0694328398, -0.0155857401, 0.0391773172, 0.0523344986, -0.0329747833, 0.0087644318, 0.0463512577, -0.0057594301, 0.0053777932, 0.0203625802, 0.0576023459, -0.0077474169, -0.002499229, 0.0348308198, -0.0448546149, -0.0136036752, -0.0414530709, -0.0895029902, -0.0391348824, -0.0361144729, -0.0491756424, -0.0840503275, -0.0201882254, 0.0050581074, -0.005802223, -0.0287009329, 0.019454496, 0.0364927761, -0.0067947484, 0.0089653842, 0.0001314749, -0.0316592678, 0.0179605745, -0.006833849, 0.032172475, 0.0377539992, 0.0536739267, 0.0760192648, 0.0139163285, 0.0097167213, 0.0176627338, 0.0123794237, 0.0208102427, 0.0079335412, -0.0394139849, -0.0375740007, -0.041333925, 0.044262059, 0.0178584177, 0.0380584262, -0.0181051064, 0.0813414827, 0.0831614956, 0.0067603597, 0.0381982252, 0.0203607772, 0.1026998982, 0.0242856815, -0.0406679213, 0.0685839579, -0.0295998305, 0.0224833377, -0.0164592806, 0.048394002, 0.0266327262, 0.0113298772, -0.0043895915, -0.0611760393, 0.0348430648, -0.0057097115, -0.0183684751, -0.0377641916, 0.0313856155, 0.0762234777, -0.0694331527, -0.0121247917, 0.0375231579, -0.0571833402, 0.0335029177, -0.0013439944, 0.0137430113, 0.0914914608, 0.0661442205, 0.004019883, -0.0153827928, -0.0071104644, 0.0294496398, 0.0630005375, 0.022124961, -0.0128597775, -0.0130950278, -0.0426965095, 0.0035475427, -0.0395941846, 0.035172198, -0.0027136926, -0.0158854853, -0.0110041546, 0.0459324494, 0.019366283, -0.0558291338, 0.0428482927, -0.0154788569, -0.0237193443, 0.0357808024, 0.0343325622, -0.0165129211, -0.0230419803, -0.011591333, 0.0392519124, -0.0065563708, -0.0426512882, -0.034446504, -0.0259770527, -0.0659207851, -0.0662159547, -0.0243811663, -0.0648785532, 0.0146036427, -0.017614793, -0.0496040955, -0.06342379, 0.0305481683, -0.0408585519, 0.0351317301, -0.0265760217, 0.0172583237, 0.0150251789, -0.0206842646, -0.0658849776, 0.0499617122, 0.0423755832, -0.0025913115, -0.0003869892, 0.0262891818, -0.0024897226, -0.007256703, -0.0101020541, -0.0377951674, -0.0179425534, 0.0008644031, 0.0225525461, 0.0504804552, -0.0250760093, -0.0480406471, -0.0387199596, -0.0023423946, -0.0211583301, -0.0030054401, 0.0630587414, 0.0492650457, 0.0175344329, -0.0091402465, -0.0410898179, 0.0143097797, 0.0367477834, -0.0228405483, 0.0433435887, 0.0162919555, 0.0038753054, -0.0550838411, -0.0104658706, -0.0068692127, 0.00560789, 0.0429659151, -0.030150082, -0.0451010242, 0.0547346361, -0.0369181521, 0.0151057271, 0.0176219624, -0.0403427929, 0.0024409445, -0.0203638561, 0.0500232205, 0.0574633367, 0.0230206139, 0.0267069936, 0.0191664919, -0.0040564705, -0.0227855314, 0.0251281522, -0.0337490626, 0.012923588, -0.0200731251, -0.0175708439, 0.0296256375, 0.0528140664, 0.0664400086, -0.0100168148, -0.0598274544, 0.0274321102, -0.0068477062, -0.0010173913, -0.0131608034, -0.002973865, -0.0102438964, 0.0147565361, -0.025133742, -0.0538669527, 0.0599220246, -0.0081508644, 0.0129879378, -0.0093509303, -0.0036389842, -0.0251656063, 0.0442629084, 0.007967419, 0.0184941031, 0.0214200187, -0.0098966062, -0.0806295425, 0.0368013047, 0.0554818474, -0.0018630623, 0.0696190223, -0.0731209144, 0.0178957582, -0.0235542022, -0.0523877777, -0.0306058396, -0.0414817631, 0.0060608322, -0.0225377586, 0.0258770213, -0.0299307629, -0.0052243872, -0.024199307, 0.0315566175, 0.0972730964, -0.0419193245, -0.027107574, -0.0512755513, 0.0230655614, 0.0602770746, -0.0129517335, -0.03285864, -0.0293346439, 0.0216463041, 0.043647524, -0.020704275, 0.0093580652, -0.0052241972, 0.0056683836, 0.0069404962, 0.0137926703, -0.0238446239, 0.0406223051, 0.0320095755, -0.0826835036, -0.0875720307, 0.0882191807, 0.0190347619, -0.0206917878, 0.02507958, 0.0201202128, 0.0827858448, 0.0114435237, 0.0385497697, -0.0515620112, -0.0291263741, 0.0209932886, 0.0583047792, -0.0144422576, -0.0030793252, -0.0163962785, -0.0858877748, 0.0363734849, 0.0196101945, -0.0137168914, -0.032268215, 0.0184409097, -0.0114225214, 0.0435282141, -0.0227775574, 0.0188674554, -0.0265531521, 0.0109122451, 0.0017639278, -0.0118226465, -0.0489749275, -0.003630175, 0.0065849377, 0.0225491505, 0.0699352697, 0.0148704909, 0.005759113, 0.0310666878, 0.0338004641, -0.0161029752, -0.0100409649, -0.01607766, 0.061528299, -0.0000695723, -0.0193032175, -0.0094946558, 0.0801111236, 0.0092406198, 0.027254194, 0.0198287349, 0.0266063809, -0.0241339989, -0.0008358438, 0.0030449664, -0.0017079818, 0.0478613675, 0.0418909453, 0.0532273576, -0.0754306167, -0.0428081751, -0.0576252677, -0.0113513367, -0.0915550441, -0.024778774, -0.0105432561, -0.0020740984, 0.0008839684, -0.1281289756, -0.0075748218, 0.0517994501, 0.0666028634, 0.0095613543, 0.0084491801, 0.0299430899, -0.0615366958, -0.0389261469, -0.017649591, -0.0161082912, 0.0217444412, -0.0599013716, -0.0461415909, 0.0216251947, -0.0381527878, -0.0039830366, 0.0506305806, -0.0735368878, -0.0747202858, 0.0001243407, 0.0581242107, 0.0170656666, 0.0434480868, -0.0041737584, -0.0526415221, 0.0500105657, 0.034890864, -0.0261771344, 0.0332017988, 0.0262823403, 0.0012016182, -0.0120672975, 0.0539484322, -0.0469391011, 0.0120519102, 0.0363266654, 0.0402570963, 0.0175282527, -0.0159005225, 0.0607340485, -0.0118250381, -0.0132212117, -0.0498665944, 0.0128761223, -0.0529424548, 0.0123964204, -0.0525208972, -0.0266602375, -0.0661979392, 0.0044645267, 0.0084677413, 0.0189097822, 0.0086253136, -0.0255973451, -0.003489679, 0.0579018071, -0.0389904045, 0.0054947399, -0.0541799664, 0.0313361622, 0.0667303726, -0.018165892, -0.0317904204, 0.021022385, -0.0217464082, 0.0274484791, -0.037940681, 0.0320099182, 0.0462243482, 0.0237469487, -0.0438017212, 0.0150672905, -0.0380055048, 0.0164208859, -0.0637069866, 0.0146237798, 0.0397837125, -0.0133712376, 0.0686753243, -0.0654681697, -0.007555929, 0.0030796533, 0.0981199369, 0.0043661371, -0.050990954, -0.0170018841, -0.0042262049, 0.0077517042, 0.0016364491, 0.1016214564, 0.0204123277, 0.0206317939, 0.0137867704, 0.0231839716, -0.0635301098, -0.0174551364, 0.0203127228, 0.0325303227, 0.0075506899, 0.0019458819, -0.0541181304, -0.0412150957, 0.0085036093, 0.0245185923, 0.0119126355, -0.0236566421, 0.0511737503, 0.0298366658, -0.0132356845, 0.0132877426, -0.0272914153, 0.0305600911, 0.0155028999, -0.0420254394, -0.0472209789, -6.116651426e-33, -0.054125499, -0.0425194353, 0.0064412882, 0.0116351638, -0.0181162972, 0.0277497787, -0.0567149259, 0.0183298271, 0.0404756702, 0.0261539295, -0.0119827399, -0.0234530829, -0.0066682803, 0.0815118253, 0.0273501538, 0.0339385532, 0.0531399474, 0.0076325987, -0.025218159, 0.0548196845, 0.0376898535, 0.0255030412, 0.0376269892, -0.0270579513, -0.0014071482, -0.0375332832, -0.0459075645, 0.0109184338, -0.0443111956, 0.0087030865, 0.0123418411, 0.0030332725, 0.0264419001, 0.0085948659, -0.0360251516, 0.0475643389, -0.0451160297, -0.0082183974, -0.0211929902, -0.0376957133, -0.0552468337, -0.0386473127, 0.0442098007, -0.0325782187, 0.0242953002, 0.007276827, 0.0471134335, -0.026655307, -0.002923873, -0.0545680784, -0.117056556, -0.0006998988, -0.0202668048, -0.0586200133, -0.0438430756, 0.0459407046, 0.0041043656, -0.0085316515, 0.0364180021, 0.0294805653, 0.0141364932, 0.0728032663, 0.030545203, 0.0109295761, -0.0071224691, 0.0490378104, -0.0338725112, 0.0496685877, -0.013908485, -0.0127900708, 0.020765651, 0.0323243029, 0.0326047428, 0.0775203705, 0.0274677388, -0.002204071, -0.0600033328, 0.012629739, -0.0200291853, 0.0126876803, 0.0164221246, 0.0021036498, -0.0171534028, -0.025756631, -0.010253083, 0.0025693423, -0.0012091501, -0.0052133715, 0.0238614343, 0.0469475016, -0.0576850809, -0.0327394903, -0.001445393, 0.0058315671, -0.0161269363, 0.0074390001, -0.0475666188, 0.0177722443, -0.023823835, -0.0183157381, -0.0254367962, -0.0300209131, 0.0159953702, 0.0202032644, 0.0224602818, 0.0337892659, 0.0668051168, 0.0290408302, -0.0495427847, 0.0337256491, -0.0449543148, 0.0417409986, -0.0073999413, 0.0032543552, 0.0147528211, -0.0397854112, -0.0162571967, 0.0136142634, 0.0037934526, -0.0390473306, -0.0239088386, -0.0206063893, -0.0010383059, 0.0228917506, -0.0579630695, 0.0001115995, -0.0355611444, 0.009520066, 0.0599372312, -0.0318459533, -0.0049158158, -0.0026908033, 2.687e-7, 0.0064514079, 0.0560973622, 0.0464809723, -0.0016400791, 0.0098769926, 0.0230186135, 0.0049222708, 0.0327228792, -0.0078787468, -0.0002745541, 0.0295658186, -0.0308184717, 0.0693361238, -0.02671545, -0.1037955061, 0.0529844314, -0.0332866907, 0.008900431, -0.0352789201, -0.0482073911, 0.0776739493, 0.0375495814, 0.0087509081, -0.0069944342, 0.0390779749, -0.0238380693, 0.0371104516, 0.0170062538, 0.010360701, 0.0120883901, -0.0069934367, -0.014520078, -0.0352347568, 0.0067224526, -0.0405276977, -0.0225266572, -0.0228508431, 0.0566202365, 0.0105806496, 0.028482601, 0.0066319648, -0.0041505662, 0.0048324307, -0.0434868075, 0.0172309112, -0.087053977, 0.0131147876, -0.0142230643, 0.0105324024, 0.0240328815, -0.0366788581, -0.0261669699, -0.0406909883, 0.0029011294, 0.0244966317, 0.0156544093, -0.0070999619, -0.0413874425, -0.0263779033, -0.0080925506, -0.0372375846, -0.0020638374, -0.0608919337, 0.0023437063, 0.0131875258, -0.0351277404, -0.0035121967, 2.725314776e-34, 0.0281954836, -0.0305768102, 0.0183671676, -0.0282677058, 0.0124516934, 0.0116288625, -0.0006147614, 0.0368566848, 0.0267150141, -0.0427924991, -0.0462168939 ]
http://arxiv.org/abs/2406.11328v1
http://arxiv.org/pdf/2406.11328v1
Are Large Language Models True Healthcare Jacks-of-All-Trades? Benchmarking Across Health Professions Beyond Physician Exams
2024-06-17T08:40:36
2024-06-17T08:40:36
Zheheng Luo, Chenhan Yuan, Qianqian Xie, Sophia Ananiadou
cs.CL
cs.CL
Recent advancements in Large Language Models (LLMs) have demonstrated their potential in delivering accurate answers to questions about world knowledge. Despite this, existing benchmarks for evaluating LLMs in healthcare predominantly focus on medical doctors, leaving other critical healthcare professions underrepresented. To fill this research gap, we introduce the Examinations for Medical Personnel in Chinese (EMPEC), a pioneering large-scale healthcare knowledge benchmark in traditional Chinese. EMPEC consists of 157,803 exam questions across 124 subjects and 20 healthcare professions, including underrepresented occupations like Optometrists and Audiologists. Each question is tagged with its release time and source, ensuring relevance and authenticity. We conducted extensive experiments on 17 LLMs, including proprietary, open-source models, general domain models and medical specific models, evaluating their performance under various settings. Our findings reveal that while leading models like GPT-4 achieve over 75\% accuracy, they still struggle with specialized fields and alternative medicine. Surprisingly, general-purpose LLMs outperformed medical-specific models, and incorporating EMPEC's training data significantly enhanced performance. Additionally, the results on questions released after the models' training cutoff date were consistent with overall performance trends, suggesting that the models' performance on the test set can predict their effectiveness in addressing unseen healthcare-related queries. The transition from traditional to simplified Chinese characters had a negligible impact on model performance, indicating robust linguistic versatility. Our study underscores the importance of expanding benchmarks to cover a broader range of healthcare professions to better assess the applicability of LLMs in real-world healthcare scenarios.
[ 0.0446823612, 0.0673444942, -0.0084053837, -0.0390759632, -0.005520469, 0.0142756198, 0.0329684466, 0.0581734069, 0.028624652, -0.0177022759, -0.0005433417, -0.0612175278, -0.0062105278, -0.0072826575, 0.031493891, -0.0432339497, 0.0138831632, 0.0276692957, 0.0050405078, -0.01544894, -0.0173604917, 0.008944395, -0.0192427412, 0.071999386, 0.0416878983, -0.0141679747, 0.0382253304, -0.0020781734, 0.0160125177, -0.0533705279, 0.0147465346, 0.0443055481, -0.0297718067, 0.0215233602, 0.0000020632, -0.0486634374, -0.0130400807, 0.036308594, -0.0527577624, -0.0000133888, 0.0275897346, -0.0393254273, -0.0097291032, 0.0482285321, -0.0311363377, -0.0564597435, 0.0115304803, 0.02267465, 0.0342045203, 0.0536884665, -0.0000849732, 0.0130371591, -0.0015512457, -0.0367319286, -0.0244537611, -0.046501521, 0.0424134098, 0.0073190182, 0.0211078767, -0.0182244815, -0.0208775848, 0.0253467988, -0.001834777, 0.0326531194, -0.0165038146, 0.045032993, -0.0443781391, 0.032932356, 0.0130411573, 0.0385459997, -0.0204067584, -0.0090079261, 0.0070835999, -0.0082206577, -0.0005491263, 0.0209001508, -0.0507800616, 0.023976963, -0.0089050522, -0.0289627519, 0.0072154519, -0.018323971, 0.036318928, 0.0324992649, -0.0155561492, 0.00586943, 0.0344670899, -0.0303029902, 0.036324013, -0.0094706314, 0.0153323989, -0.0270027276, 0.0299078263, 0.0383830927, -0.0392704643, 0.0191411488, 0.0158193, 0.012332458, 0.0735788122, -0.0418872871, -0.0195780192, 0.0412048884, -0.0016578591, 0.0445036516, -0.0052900976, 0.0317307562, -0.0192904696, 0.0154189421, -0.0726153031, -0.017472852, -0.0712399483, -0.0209251046, 0.0024879391, 0.003133392, 0.0030412814, 0.0393142253, -0.0791640058, -0.0290859994, -0.0136998808, 0.022878034, 0.0182464942, 0.0178038981, -0.0377504677, 0.0015276418, -0.0425847918, 0.0571908429, -0.0008173879, 0.0152182253, -0.0273496155, -0.02996023, 0.0283645894, 0.0081075747, 0.0078195985, 0.004660707, 0.0160880499, 0.036636021, -0.0056646634, 0.0015743602, 0.0006212818, -0.0273217726, -0.0217212252, -0.0279341508, 0.0134962359, -0.0518508404, 0.0050095026, 0.0167782437, 0.0324836224, -0.051586628, 0.0224904269, 0.0309846513, -0.042561505, 0.0337043889, -0.0154479137, 0.0287575051, 0.0444077924, 0.0481156968, -0.0042579151, 0.0301245302, 0.0038504852, -0.0479974151, -0.0002909371, -0.0556948408, 0.0084108878, 0.0181856286, 0.0031491257, -0.0185345467, 0.0199093707, 0.0362067781, 0.0627980158, 0.0689825714, -0.0533543453, 0.0653568357, -0.0110952035, -0.0103202015, 0.0304193217, 0.0760835111, 0.0120843332, -0.0024590259, 0.0081805736, -0.0209786296, 0.0153882327, -0.0241527278, -0.0210550632, -0.0307023115, -0.0096154753, -0.0068610134, -0.0367595665, -0.0046243449, -0.0466193482, -0.0385763682, -0.0459686145, 0.000039388, -0.0316995457, 0.0179959685, 0.042395141, -0.0442991368, -0.0107939662, 0.0907520801, 0.040582981, -0.0395482704, 0.0045996918, -0.0566250011, -0.0350112021, 0.0890606493, 0.0501216017, -0.0311099011, -0.0409830362, -0.0231172647, 0.0078137824, 0.0389002301, 0.0543335117, -0.0318142921, -0.0179284364, -0.0422724448, -0.0072529418, 0.0432318784, 0.0209658369, -0.0225237682, 0.0261607263, 0.0684704632, -0.0025961997, -0.0545704924, -0.0570527576, 0.0315167718, -0.1185011566, -0.0287488457, -0.0144699672, -0.0108214924, 0.0103965867, 0.0346778072, -0.0130707147, 0.0389856994, 0.0062705078, -0.0330054313, -0.0167612378, -0.0067505809, -0.0286545996, 0.0072570858, 0.0505869389, -0.04951277, -0.0116356714, 0.0184896551, -0.0364580266, -0.0392598175, -0.0460330769, -0.002144031, 0.0291351099, -0.0386297852, 0.0217199028, -0.0214867368, -0.0046121301, -0.0375541076, 0.0213911496, -0.0084487684, 0.0441537797, 0.0185087714, -0.0233715717, 0.0184725393, -0.0443269312, -0.0449735783, 0.0215188134, 0.0017331291, 0.0498090088, -0.0098459451, 0.0311502628, -0.0448975712, -0.0213176608, -0.1389774978, -0.0165485516, -0.0091677876, -0.0145831648, 0.0355572887, -0.0090774409, -0.0064058732, -0.0100186253, -0.0797958449, -0.0312518552, 0.01872392, 0.0147098703, -0.0054247268, 0.0205794107, 0.0141323125, -0.0256071854, -0.0179339368, -0.0579931773, -0.0008998882, 0.0172239877, 0.0292700343, 0.0108104758, -0.0025257366, -0.0334803909, -0.0241230093, -0.0057165213, -0.0334474482, 0.0006095849, -0.0129358899, -0.0194697604, 0.0164732989, -0.0054289554, -0.0278455541, 0.0288253967, 0.0003083418, -0.0186089482, 0.0124607543, 0.0018625591, -0.0357211418, -0.0043867272, -0.0632176548, -0.0162256602, 0.0531599298, 0.0145271271, -0.0086440034, -0.0347485393, -0.0046785655, -0.0806273073, -0.0047993301, -0.0723044872, 0.0514614098, -0.0302751176, 0.0459239408, 0.0225806106, -0.0037318489, 0.0643567219, 0.0092424154, 0.0461391248, -0.0696771741, -0.0129210278, -0.0394402519, 0.0335425436, -0.0381968617, 0.0160916355, 0.0389154628, -0.0299829729, -0.0433000363, 0.0304728821, -0.0267496444, -0.0973851308, 0.0339483209, -0.023965558, 0.0101581374, -0.0086665098, -0.0532984324, -0.0524356067, -0.0320456624, -0.0263599884, 0.0356762521, 0.0067226347, 0.0150043638, -0.0222615171, 0.0412285104, -0.0225204527, 0.0526301265, 0.0243681725, -0.0003026827, 0.0080031892, 0.0166683383, 0.033475168, 0.0431009717, -0.0011948956, -0.0430654585, 0.0571252629, 0.0624296442, 0.0633602589, 0.0087125301, 0.0263989046, -0.0100068059, 0.0212946944, -0.0523513071, -0.0032254695, 0.0266925134, 0.0027403072, -0.0691023767, 0.026203936, 0.1288613081, 0.0188705437, -0.0163568538, 0.0101813767, -0.0144291837, -0.0332238972, 0.0269706249, 0.0352617279, -0.0865557715, -0.0036064822, -0.0066762585, 0.0512331054, 0.0070954696, -0.0147515051, 0.0380098373, -0.0968990847, 0.0363823362, -0.0055317469, -0.0481944717, -0.0023064276, -0.0124493241, 0.0022829606, -0.0033514586, 0.027357718, 0.0087679159, -0.0091078775, -0.0131822638, 0.0151782669, -0.0690079033, -0.0809724852, 0.0867614001, -0.0212242305, 0.0377578102, 0.0461951122, 0.0249720067, -0.0358786955, -0.024367908, -0.0075191255, -0.0169679746, -0.0028692763, -0.0026657428, 0.0704444796, 0.0236023664, -0.0000740112, -0.0228017755, 0.0163355004, -0.0623795614, 0.018305175, 0.0485545471, 0.0785912201, -0.0001652197, -0.0307310894, -0.0202894695, 0.0255132206, -0.0090309028, 0.0689020455, -0.0128525961, -0.0475145429, -0.0044051786, -0.0163339991, 0.0233590659, 0.0123905344, -0.0345143043, 0.0743816048, -0.0153964572, -0.0265375823, -0.0557017997, -0.0446483903, 0.0568138547, -0.0156388916, 0.0241631977, 0.0302868318, 0.041605968, 0.0020897777, -0.0467485413, 0.0344397724, -0.0172267705, 0.0251808669, -0.0647451282, -0.0424886867, 0.067062743, 0.0077238805, -0.0193175375, -0.0099292872, -0.023168724, -0.0087467059, 0.0021624335, 0.0277120825, 0.0143057257, -0.0174523741, -0.0113688391, -0.0111412294, 0.0179659519, 0.0079261307, -0.0554260649, 0.0027411426, -0.0204554442, -0.022813499, -0.0203924831, -0.0003719972, -0.0266588125, -0.0013287799, 0.0395659544, 0.0420966409, -0.0069997641, -0.0271350909, 0.0372274257, 0.055932451, -0.0012211029, 0.0077906698, 0.0057507763, -0.0261841621, 0.0271105189, -0.0179132279, -0.0036970652, -0.0090610441, -0.0442302823, 0.064846091, -0.0078504384, 0.0016780103, 0.0258426163, -0.0209044423, -0.0078141419, -0.0892104805, 0.0316036083, -0.0026798209, 0.0122496132, 0.0279711261, -0.0183621272, -0.0123240827, 0.0006596553, 0.011367457, 0.0470272265, -0.0006510164, 0.0803694427, -0.0150634516, 0.0280748121, 0.038047526, 0.0099986186, -0.0453194082, -0.1049863249, 0.0027676923, 0.0369040892, 0.0680376813, 0.0002077933, -0.0082028331, -0.0115587162, -0.0072251754, -0.039200332, -0.0288893562, 0.0020531809, 0.0201639589, 0.0719616339, 0.0251911618, 0.0026685223, -0.0144191813, 0.1086269096, 0.0266487561, 0.0632791892, 0.0097043803, -0.0293498114, -0.0453098789, -0.0041574263, 0.0479750037, 0.020105971, -0.0621115156, 0.0369051509, -0.0998224169, -0.0596147925, 0.015107003, -0.0090384269, -0.0196393356, -0.0124266371, 0.0470867641, 0.0545798615, 0.0073881648, -0.0243767519, -0.0457812212, 0.0424232185, -0.0240227282, 0.0029041735, 0.041903384, -6.18350877e-33, 0.0065562562, -0.0137604531, 0.0438947342, -0.0584130287, 0.0295152664, 0.0388487913, -0.0124762915, -0.0059591616, -0.0548549034, 0.0016675156, -0.0347125866, 0.0256260224, 0.0118574612, 0.0300201308, 0.0360398218, -0.0354005247, 0.0326640606, 0.005280606, -0.0024597861, 0.0248318706, -0.0168699697, 0.0419103429, 0.0529894717, -0.0436110944, 0.006654141, -0.0029888165, 0.0460500568, -0.0072226464, -0.0334617496, 0.0654418916, -0.0203792825, 0.047772795, 0.0467975698, -0.0425362289, 0.0142711857, -0.039719414, -0.0750826821, -0.0007400315, -0.0011716138, 0.0019959912, -0.0189684574, -0.0227570105, 0.0390721373, -0.0157220382, -0.033298526, -0.0402159281, 0.0305996686, -0.0563934408, -0.0045103012, -0.023277903, -0.0005408549, 0.0333205685, 0.0004164582, 0.0335482396, -0.0674111396, 0.0332719795, -0.0416222773, 0.0525162034, -0.0572460033, -0.0223831479, 0.0710028484, 0.0477423705, 0.0392788537, -0.019066859, -0.013187279, 0.0221778825, 0.0240169913, 0.012979473, 0.0144297592, -0.0163923167, 0.000700496, 0.0119684404, 0.0352367163, 0.0486581288, 0.0144986678, -0.0386757962, -0.1059989184, 0.0460182913, -0.027686879, 0.0385632031, 0.0219634939, -0.0096892901, -0.0576888435, -0.0300168488, -0.0459465943, 0.0418969058, -0.0293230172, -0.0177350752, 0.0495110676, 0.0094581479, 0.007098231, 0.0049147047, 0.0146499183, -0.0535303913, 0.0081056925, -0.0082300948, 0.010052029, -0.0103622088, -0.0286940075, 0.0482631251, -0.0954710916, 0.0127845258, -0.0263284724, -0.0245905407, 0.0235749185, 0.0181732122, -0.0060110637, -0.0201701391, -0.0680590197, -0.0065037259, 0.0138856024, -0.0339589305, 0.0114516681, 0.0293184016, 0.0451442599, 0.0297462456, 0.036805395, 0.0200914163, 0.0292187966, -0.0231305957, -0.0616381727, -0.0568786003, -0.0007905119, -0.0106673818, -0.0436374433, 0.0161174405, -0.0196977556, 0.0436772034, 0.037949875, -0.0274667162, -0.0116004599, -0.012121914, 2.726e-7, 0.1036047786, 0.0469560958, -0.0237031206, 0.008771887, 0.0182065852, -0.0055322996, -0.0304194689, -0.0100433836, 0.0081890663, 0.0127103049, 0.0265291594, -0.0092386585, 0.0535259508, 0.0221631937, -0.079822734, 0.0076442291, -0.0673748553, -0.0147885922, -0.0356583223, -0.0125910537, 0.0256291106, 0.0892763436, -0.0458526723, -0.0305451397, -0.009964807, -0.0212084595, 0.0651158541, -0.0378532037, -0.0226599835, 0.0553340428, 0.0326209851, 0.028931031, 0.0112294201, 0.061383523, -0.0265669655, -0.0005256071, 0.0539416336, 0.0957625583, -0.0363762639, 0.0390629098, 0.0197546799, -0.0092135528, 0.0036305578, -0.0860957205, 0.0564864427, -0.0114330314, -0.0494933091, -0.0019501281, -0.0370285399, -0.029910218, 0.0628381222, -0.0146174347, -0.0391258486, 0.0172630772, 0.0106762471, 0.0194808152, -0.0150383692, -0.0133545427, -0.0241181664, 0.0191863831, -0.0228794776, -0.0830202401, 0.0320309512, -0.0455831327, -0.0364540145, -0.0702464804, -0.0026920342, 2.363897558e-34, 0.0266152564, 0.0169836916, 0.0145346429, 0.0371263511, 0.0163871963, 0.0029956403, 0.0182600543, 0.0011752573, -0.0035679238, -0.0505169556, -0.0265740119 ]
http://arxiv.org/abs/2406.11925v2
http://arxiv.org/pdf/2406.11925v2
DocCGen: Document-based Controlled Code Generation
2024-06-17T08:34:57
2024-07-03T09:16:27
Sameer Pimparkhede, Mehant Kammakomati, Srikanth Tamilselvam, Prince Kumar, Ashok Pon Kumar, Pushpak Bhattacharyya
cs.SE
cs.SE, cs.AI, cs.CL
Recent developments show that Large Language Models (LLMs) produce state-of-the-art performance on natural language (NL) to code generation for resource-rich general-purpose languages like C++, Java, and Python. However, their practical usage for structured domain-specific languages (DSLs) such as YAML, JSON is limited due to domain-specific schema, grammar, and customizations generally unseen by LLMs during pre-training. Efforts have been made to mitigate this challenge via in-context learning through relevant examples or by fine-tuning. However, it suffers from problems, such as limited DSL samples and prompt sensitivity but enterprises maintain good documentation of the DSLs. Therefore, we propose DocCGen, a framework that can leverage such rich knowledge by breaking the NL-to-Code generation task for structured code languages into a two-step process. First, it detects the correct libraries using the library documentation that best matches the NL query. Then, it utilizes schema rules extracted from the documentation of these libraries to constrain the decoding. We evaluate our framework for two complex structured languages, Ansible YAML and Bash command, consisting of two settings: Out-of-domain (OOD) and In-domain (ID). Our extensive experiments show that DocCGen consistently improves different-sized language models across all six evaluation metrics, reducing syntactic and semantic errors in structured code. We plan to open-source the datasets and code to motivate research in constrained code generation.
[ 0.003239722, 0.0759943947, -0.0244250111, 0.0211778544, -0.0149609055, -0.0016391787, -0.0224615745, -0.0087733027, 0.0005701142, -0.0290398262, -0.0084691672, 0.0053278059, 0.008253892, 0.0448045209, 0.0371525027, -0.0229973625, 0.0360194556, -0.040578559, -0.0214394797, 0.015658604, -0.0306405388, 0.0494380109, 0.0241379477, 0.029385129, 0.0327028409, -0.0455302261, 0.005174573, 0.0518743731, -0.0300564356, -0.0362852588, 0.0602391623, 0.0226452686, 0.0251409709, -0.0001153309, 0.0000023874, -0.0607118271, 0.0016347286, 0.0008659226, 0.0210921317, 0.0290407129, 0.0260373969, -0.0543858074, 0.0088337278, 0.0014980893, -0.0248280112, -0.0289482567, 0.0284264013, -0.0489753298, 0.0758461207, 0.0768478587, 0.0061689503, -0.0287740678, -0.0181947108, 0.0077522313, 0.0204576142, 0.017869588, -0.0177755542, 0.0467485078, 0.04858936, -0.0079546124, 0.0200498663, 0.0094076786, 0.0032029129, -0.0142015992, 0.0035995408, 0.0176683068, -0.0346099958, -0.0205068514, 0.000692194, 0.0427175015, -0.0383744165, -0.0217526536, 0.0384499468, -0.0388347842, -0.0166173447, -0.0450451188, -0.0150147388, 0.0539040603, 0.0045424164, -0.0147851957, 0.0321039185, -0.0322986469, 0.0046140258, -0.0110795423, -0.0013235975, 0.034886416, 0.0190635044, 0.0013040822, -0.0451922677, -0.0115224803, -0.0046764305, -0.0489789955, -0.0326334834, 0.0299404133, -0.0401443467, -0.0047739516, -0.067456238, -0.0377139747, 0.0467838682, -0.019804867, 0.0256533939, 0.0271914676, -0.0025898318, -0.0047590379, -0.0191091988, 0.0765442103, 0.0010244319, -0.0056013674, -0.0238488037, 0.030294016, -0.0495259911, 0.003849793, -0.0498415232, 0.0209342148, -0.0337635204, 0.0320664756, -0.0232129283, 0.0508673787, 0.010240294, 0.0630342737, -0.0190473255, -0.0273581073, -0.0406025127, 0.0158017911, 0.0287730265, -0.0151179302, 0.0123394141, -0.0563749447, -0.0176433828, -0.0413594022, 0.0044496506, 0.0393090285, -0.0139101585, -0.0205089338, 0.0147720715, 0.1111018136, 0.0220664553, 0.014036255, -0.0288587492, -0.056831453, 0.0506690964, -0.0333751291, 0.0279047489, -0.0802084431, -0.0234660786, 0.0302248411, -0.0232666358, -0.0965725705, -0.0056305085, -0.0069770981, 0.0017324118, 0.0056249672, -0.0400931761, 0.014294371, 0.0153691545, 0.0038989969, -0.018477045, 0.0526541211, 0.0319919176, 0.0038071435, 0.0035572099, -0.0383715928, 0.0377320126, 0.0246568583, -0.0063948995, -0.0045098197, 0.0007806352, 0.042955853, 0.0315450691, 0.0090475604, 0.0596357957, 0.0172854699, -0.0054760124, 0.0415379107, 0.018791344, 0.0108719645, -0.003397645, -0.0125342831, 0.08019045, 0.0588950999, -0.0098651731, -0.0146263102, -0.0416958742, 0.0445035473, 0.0091828154, 0.0253467951, -0.0271864161, 0.0336522125, 0.0183165707, -0.0539445356, -0.0225425363, -0.0127594322, -0.0322583392, -0.0183741469, 0.0061701271, 0.0212111156, -0.0527345501, 0.0603544936, 0.0189487021, -0.0515651405, -0.002266702, -0.008971421, 0.0296764541, 0.0525469594, 0.0856087953, -0.0439702235, -0.0354287811, -0.0319159068, 0.0103550162, 0.0450230204, 0.0308507215, -0.0168216527, 0.0350549743, -0.0188351795, 0.0058485623, -0.078222543, 0.0085653309, 0.0334530771, 0.0078888843, -0.0389626138, 0.0332847312, -0.0377340801, -0.0631400272, 0.0461485386, -0.0240848474, -0.034437824, 0.0330150276, -0.0134450095, 0.0046893861, -0.0336614661, -0.0455128774, 0.0173902567, 0.0143411336, -0.0132197291, -0.0120166782, -0.0426780283, -0.0480860285, -0.0112118404, 0.013940719, -0.030542925, -0.042544771, 0.0092719076, -0.0437291265, -0.0139232613, 0.0769333765, -0.0239623841, -0.0015414837, 0.0277326368, 0.0128858397, -0.0055210451, 0.0055755684, -0.0122435298, 0.0420269258, 0.0176522024, 0.0070187068, 0.0073438729, 0.0330340788, 0.0197176114, 0.0277180932, 0.0037875033, 0.0036940284, -0.033103399, 0.0394001789, 0.034913823, 0.0845789611, -0.0007881542, -0.0259307604, -0.0104204277, 0.0224084277, -0.0331426151, 0.014784079, 0.035077896, 0.0382642932, -0.0081141181, -0.0012637094, -0.0222741533, -0.0222316831, 0.0121884318, 0.0083540902, 0.0472617149, -0.0064247265, -0.0914118811, -0.035032738, 0.0084659997, -0.0164750386, 0.0374814048, -0.0072525255, 0.0145451929, -0.0676151514, 0.0623949505, -0.0092186956, 0.0088281278, -0.0053137923, -0.022314053, 0.0009980702, -0.0487702265, 0.0703988597, 0.034359511, -0.0399255417, -0.0515200123, 0.0741097331, -0.008388862, -0.0494466089, -0.0059341048, 0.0146719301, -0.0471985787, 0.0070685651, -0.0239467211, 0.0595683232, 0.069292821, -0.0089669228, -0.0007825284, -0.0306282975, 0.0129504018, 0.0060314555, 0.0080415821, 0.0145354988, -0.0273124725, 0.0254525747, 0.0747145414, 0.0106347371, -0.0849959925, 0.0512055196, -0.0229241289, -0.0246134996, -0.0640331507, -0.0195118561, -0.073222734, 0.0793280303, 0.0289977305, 0.0220521521, 0.0278110784, -0.0393192843, -0.0350825824, 0.0174871944, 0.0133348219, 0.0069806315, 0.0391630828, -0.0551189594, 0.0236343443, -0.0254106335, -0.0123697743, -0.0249002762, 0.0138354572, 0.0026172157, 0.0129873827, 0.0587954745, -0.0063899378, 0.0322861187, -0.0366920307, -0.0089116609, 0.058947593, 0.0564576909, -0.028433647, -0.0323375873, -0.023424007, -0.0306683257, -0.0519505404, -0.0473588817, 0.0040843529, -0.0223491415, 0.002031171, 0.0271900147, 0.000443696, -0.0563808978, -0.0037458674, 0.0348563604, -0.0239894632, -0.0424780883, 0.0453368463, 0.0381110199, -0.0617400855, -0.0464914925, 0.0914048851, 0.0258141216, -0.0219151657, 0.041115392, -0.0339718089, 0.081620343, 0.0642745569, 0.0647317544, -0.0768154711, -0.0422073565, -0.0151890507, 0.0539956838, 0.0127237532, -0.0144878281, -0.0516697727, -0.0756806657, 0.0424340367, 0.0126924263, -0.0032077634, -0.0584207848, -0.0333705023, -0.0455638058, 0.0080661243, -0.045012705, 0.0329040512, -0.0171686597, 0.0223625116, -0.0150184426, -0.0369286686, -0.0416240059, 0.0340333544, -0.0305369142, 0.0332021825, 0.1100541353, -0.0028751364, 0.0423141867, -0.0065080491, 0.0381143019, 0.0234139469, 0.0023932678, -0.014870096, 0.033129245, 0.0184041038, -0.0253032967, 0.0171509143, 0.0518923625, -0.0808299035, -0.0252437852, 0.0277828779, 0.0509271435, -0.0119521581, -0.0280226246, -0.0292238537, -0.0075688059, 0.050509315, 0.0257673431, 0.0402078852, -0.0011424001, -0.0786619857, -0.0705139413, -0.0122157009, -0.0502613485, 0.0378244445, -0.0154066347, 0.0012326338, 0.002942295, -0.0835320354, 0.0103583466, 0.0177998133, 0.0052460823, 0.0277465824, -0.0161381122, 0.0068890466, -0.0104423538, -0.0567516163, 0.0097104302, -0.0280550867, 0.0193938948, -0.060591571, -0.052415181, 0.0130240805, -0.0195629802, -0.0073311445, 0.0434778035, -0.0714287981, -0.0888907611, -0.0065558376, 0.048112087, 0.017524872, 0.0472103357, -0.0105037279, -0.023041917, -0.0034185958, 0.0545637012, -0.1041784808, 0.0095329862, 0.0338134356, 0.0214394256, 0.0207442064, 0.0211040247, -0.0848959535, 0.0022119603, -0.0064878017, -0.0034660229, 0.0123366667, 0.0107326536, 0.0426665545, 0.0328541398, -0.0387455374, 0.0083211102, -0.0025899573, -0.016300492, -0.0086101294, -0.0109933261, -0.0337293297, -0.0426162183, 0.015413736, -0.0176638681, -0.0320643261, 0.0547490604, 0.033220686, -0.0287564993, 0.0619038939, 0.0171322711, 0.0473394468, -0.0012887843, 0.0384944268, 0.0703398138, -0.0159283541, -0.0279293545, 0.044510778, -0.0534484088, 0.0563776903, -0.035651207, 0.043358922, 0.0196130387, 0.0358500257, 0.0014996728, -0.0108009866, -0.0095767705, -0.0536434054, 0.010991687, -0.0238621719, 0.0362123214, 0.0241849851, 0.067321755, -0.0669884533, 0.0343581066, -0.0020742875, 0.0649146438, -0.0158094559, -0.0523296446, -0.0034997577, 0.0139511824, -0.0226785503, -0.0483965725, 0.1110203713, 0.0478014126, 0.0130773271, -0.0112124281, -0.0032605981, -0.0557574779, -0.002135443, 0.0617942698, -0.0179061089, -0.0407819897, 0.0086676069, -0.0504777506, -0.0260276739, -0.0180652589, 0.0324878246, 0.0109824901, -0.0239800401, 0.0301761143, 0.0692271143, 0.0151097681, -0.0230771918, -0.0239751395, 0.0454988219, -0.0363544971, -0.0630168319, -0.0453641415, -5.938530971e-33, -0.0286412556, 0.0018513126, 0.0158283599, 0.0260917377, 0.052127365, 0.0025818411, -0.0621150248, -0.0172755439, 0.0245249327, -0.0371364579, 0.0553122163, -0.013776077, -0.0168810897, -0.0041075433, 0.028788168, 0.0085508535, 0.0424649268, 0.0170260482, -0.0569509119, 0.0511178523, 0.0062178681, 0.0093409438, 0.0141823879, -0.0625417754, -0.0325737409, -0.0148925222, 0.0468677357, -0.0198173057, 0.038198974, 0.0100910012, -0.0085685486, -0.0197531041, -0.0094687026, -0.0017418523, -0.0598929152, -0.0290687624, -0.0218770225, 0.000705541, 0.0005258059, 0.0136409067, -0.0267588571, -0.0699465498, 0.048214037, -0.0077367588, -0.0023078152, 0.0040918491, 0.0055450057, 0.0379980542, -0.0003688456, -0.0653346702, -0.0941978693, 0.0377955325, -0.0446693897, 0.0009463422, -0.0466419421, 0.0316430405, 0.015692614, 0.0511281192, 0.0010594728, -0.0149258692, 0.008151006, 0.0503911525, 0.0847046003, -0.0337327123, -0.02466809, 0.0278026555, -0.0036532211, 0.0428609662, -0.0078596985, 0.0689312145, 0.001590476, 0.0390874557, -0.0108813029, 0.0246094782, 0.0203044433, -0.0233660843, -0.0374125913, 0.0195093248, -0.022815071, 0.0458673276, 0.0172065236, 0.0176013317, -0.017461244, -0.0074217655, -0.0294947196, 0.0019205413, -0.0125401169, -0.0276655536, 0.0418920591, -0.0221289452, -0.0406646654, -0.0544586256, 0.0124784401, -0.000482081, -0.0199546739, 0.0674335659, -0.0763707086, 0.0244416501, -0.0193443615, 0.0211355425, 0.0060300562, -0.0347943306, 0.0314307883, -0.02428798, 0.0793429464, 0.0360794477, 0.0240977388, 0.0390318744, -0.0552365333, 0.0138057312, -0.069567278, 0.0281839184, -0.0367438793, 0.0176213291, 0.0004286313, -0.0263929684, 0.0086880811, 0.015483343, 0.0085710334, -0.0673413128, -0.0411565267, -0.0248168688, 0.0412188806, 0.0319546461, -0.0469695404, -0.0285711121, -0.0587401688, 0.0078268889, 0.0626770556, 0.0009510102, -0.0356198922, 0.0060702437, 3.155e-7, 0.0113171861, 0.0510444641, -0.0068304664, 0.0703509971, -0.0009397352, 0.0400559492, -0.0087468699, 0.0278598405, -0.0218493436, -0.0242843106, -0.0532018431, -0.0306852479, 0.0266074184, 0.0361813642, -0.0594943799, 0.0160446223, 0.0471264943, 0.020334417, -0.090475291, -0.0263158362, 0.0213345941, 0.0410982445, -0.0210915823, -0.021461552, -0.0026928775, -0.04603903, -0.0100289863, -0.0040489947, 0.0256914049, 0.0346232392, -0.0195592549, 0.0262670051, 0.0033943506, -0.0147691481, -0.0266787186, -0.0142778903, -0.0138878189, 0.0557441376, 0.0284168869, 0.0578894839, 0.0319307931, -0.0415215865, -0.0153190624, -0.0577887632, 0.0296186637, -0.0329749212, -0.0194516927, -0.0214617327, -0.0431376211, 0.0275387745, -0.0478260368, -0.0219438579, -0.0093461582, 0.0110374661, -0.009557222, -0.043938566, -0.0320644267, 0.0091161756, -0.043068517, 0.0136957234, -0.0020131064, -0.0219131615, -0.0515952036, 0.0654812679, 0.0129532414, -0.0166529715, 0.0142427962, 3.48209161e-34, 0.0186839942, -0.038648691, 0.0077699125, 0.0149937654, 0.0527916402, -0.0208492987, -0.0256942324, 0.0345743001, 0.0110431453, -0.0025921345, -0.0210531894 ]
http://arxiv.org/abs/2406.11317v1
http://arxiv.org/pdf/2406.11317v1
GUICourse: From General Vision Language Models to Versatile GUI Agents
2024-06-17T08:30:55
2024-06-17T08:30:55
Wentong Chen, Junbo Cui, Jinyi Hu, Yujia Qin, Junjie Fang, Yue Zhao, Chongyi Wang, Jun Liu, Guirong Chen, Yupeng Huo, Yuan Yao, Yankai Lin, Zhiyuan Liu, Maosong Sun
cs.AI
cs.AI, cs.CL, cs.CV, cs.HC
Utilizing Graphic User Interface (GUI) for human-computer interaction is essential for accessing a wide range of digital tools. Recent advancements in Vision Language Models (VLMs) highlight the compelling potential to develop versatile agents to help humans finish GUI navigation tasks. However, current VLMs are challenged in terms of fundamental abilities (OCR and grounding) and GUI knowledge (the functions and control methods of GUI elements), preventing them from becoming practical GUI agents. To solve these challenges, we contribute GUICourse, a suite of datasets to train visual-based GUI agents from general VLMs. First, we introduce the GUIEnv dataset to strengthen the OCR and grounding capabilities of VLMs. Then, we introduce the GUIAct and GUIChat datasets to enrich their knowledge of GUI components and interactions. Experiments demonstrate that our GUI agents have better performance on common GUI tasks than their baseline VLMs. Even the small-size GUI agent (with 3.1B parameters) can still work well on single-step and multi-step GUI tasks. Finally, we analyze the different varieties in the training stage of this agent by ablation study. Our source codes and datasets are released at https://github.com/yiye3/GUICourse.
[ 0.003595111, 0.0188964047, -0.0142895626, 0.0499547794, -0.0230654422, 0.0287545621, 0.0231830217, 0.0186909214, 0.0437886268, -0.0357020088, -0.0513520613, 0.0035614406, 0.0195105877, 0.0164007731, -0.0083405441, -0.0705694184, 0.0196811892, -0.0437217243, -0.057711456, 0.0118820574, -0.0157121569, 0.0022289276, -0.0472173057, 0.063788034, 0.0053015319, -0.0258685295, -0.049654033, 0.0313468985, 0.0209417883, -0.0030889248, -0.0162135772, 0.0243962239, 0.0284705479, 0.0323682763, 0.0000020224, -0.0047285398, 0.0462622866, -0.0057232096, -0.0063004708, -0.0063763619, 0.0459642559, -0.0142599689, -0.002957457, 0.0145153273, -0.0417256989, -0.0288771857, 0.0362475738, 0.0590875559, 0.0654100999, 0.0287377257, 0.0001570187, 0.0099493098, 0.0376087017, 0.0091449749, 0.0269993953, -0.0649966896, 0.0263042189, 0.0071435771, 0.0204397067, -0.0360791571, -0.0164927822, 0.0023548254, 0.0384483449, -0.0050783372, -0.0441478416, 0.0427076817, -0.0475201309, -0.0546922162, -0.0536304414, 0.0597748756, -0.0226446036, 0.0057210228, 0.0111586526, 0.0226802081, 0.0287650693, -0.0107592577, -0.0456290953, -0.0112766661, -0.0454407372, -0.0274750479, -0.0520014539, -0.0204014704, -0.0086943191, -0.0146304416, -0.010258236, -0.0114261741, -0.003038744, -0.0038682716, 0.0083496952, -0.0238524787, -0.0398666747, -0.0204512365, 0.019108152, 0.0445602387, -0.0229970627, 0.022508854, -0.0628831759, 0.0133813675, -0.0163332019, -0.071956791, 0.0305431169, 0.0111523578, -0.037882708, 0.0477822907, -0.0287791081, 0.1054178402, -0.0133310985, 0.0646466389, -0.0228582192, -0.0010180392, -0.069804877, -0.0085000601, -0.0464237891, -0.0059236069, -0.0076574152, -0.0129024461, -0.0320756733, 0.0284886807, 0.0031974309, 0.0109558096, 0.0226798784, 0.0164338071, -0.0228182916, -0.0080209356, -0.0182846431, 0.0102784969, -0.0023748383, 0.0299878381, 0.0158992261, -0.0487415828, 0.0107097831, 0.0079166899, 0.0273485649, -0.0219549797, -0.0179974623, 0.0747786164, -0.0149485674, -0.0152335456, -0.0544158183, 0.0179803688, 0.0135490792, -0.0040459018, -0.0007992421, -0.0498239435, 0.0156847965, -0.0049805925, 0.0094091967, -0.0416567884, 0.0335954838, 0.0504894815, 0.0157048088, 0.0707351491, -0.0159340911, -0.0082231164, 0.0369765684, -0.0186719112, -0.0321015157, 0.045116812, 0.0376712196, 0.085883379, 0.0082497373, -0.0282043424, 0.0511021428, 0.0564593114, -0.0361090861, -0.0175268725, -0.0064896555, 0.0113608427, 0.0243926663, 0.0012139177, -0.0128924018, 0.0427629501, -0.0613661222, -0.027295744, 0.0726861134, 0.0773348808, 0.013784145, -0.0276219901, 0.001068531, -0.0000250062, 0.0181049574, -0.0179118048, -0.0604656115, 0.0380490124, -0.0217310507, -0.0139926318, -0.0718843117, 0.0168617852, -0.0428978056, -0.0702983662, -0.0258641988, -0.0071328292, 0.0288498532, -0.0466101877, 0.0769259408, 0.0228363033, -0.0551290959, -0.0552877486, 0.0180407576, -0.0837136135, -0.0421498418, -0.0625712499, -0.0265233107, 0.0503730103, 0.042459745, 0.0136377281, -0.0281409882, -0.0197091289, 0.053926412, 0.0236033369, 0.0185401496, -0.0233529434, 0.0179474577, -0.0367193297, -0.0431914143, 0.0207695141, -0.021945063, 0.0504937209, 0.0112068783, -0.0370857418, -0.0135881752, -0.0550251119, -0.0127902459, 0.0618490092, 0.0188711807, -0.0576814339, -0.0328760929, 0.0143223368, 0.0150702717, -0.0129301632, -0.0200983621, -0.0332932696, 0.0353417471, -0.0040173652, 0.0399722904, 0.0043282853, 0.0003446904, -0.016545536, 0.0600149222, 0.0083223628, -0.0020798529, 0.0419135727, -0.013489305, 0.0041882694, -0.0213434119, 0.0092979828, 0.0246296972, -0.0239993893, 0.0227717776, -0.0017283825, -0.0356812626, -0.0040680808, 0.0577267073, -0.0245892201, -0.0238617547, 0.0229966268, 0.0150247477, 0.0266836751, -0.0745060667, 0.0156527907, -0.0165885426, -0.0312403385, 0.0384190828, -0.0030597076, 0.0405380689, -0.0079615908, -0.0034899951, -0.0867780745, -0.0318157822, -0.0446092784, -0.0166402142, 0.0034934159, -0.0137391826, -0.0183898415, -0.0344656371, 0.019680487, 0.0472353511, -0.0330361128, -0.0151300896, 0.0119279604, -0.0038124642, -0.019794751, -0.0429784544, -0.014911226, -0.0106494809, -0.0059552561, 0.0075610983, -0.021747265, -0.0210568868, 0.0482446589, 0.0161022861, 0.0636197105, -0.0537005365, -0.0356874317, 0.0063774115, -0.0063671195, -0.0267348588, 0.1192886978, -0.0073013748, 0.055375278, 0.0221755877, -0.0155272586, -0.0134522915, 0.0271504223, -0.0120963184, -0.0406499356, -0.0732518137, 0.0362269022, 0.0141169, 0.0693291649, -0.0314521194, 0.0404504389, -0.0709514171, 0.0231482312, -0.0132442797, -0.0588319786, -0.0477760956, 0.027584346, -0.032023482, 0.0043798415, -0.0674072653, -0.0535108857, 0.0218158513, -0.0597653426, -0.0187546294, 0.0347227529, -0.0035474282, 0.0002117778, 0.0751568004, 0.0444727577, -0.0216732733, 0.0200186353, -0.0243183244, -0.0373289622, 0.0200900063, 0.0048998981, -0.016066961, 0.0183540434, -0.0809882209, 0.0421217307, -0.0347569287, -0.0366966315, -0.0375424176, 0.0653746426, 0.0131399836, -0.0174466874, -0.0485136099, -0.0036640544, -0.0623311214, 0.0658676252, 0.026401151, 0.0453830846, -0.019383695, -0.0196921322, -0.0292463694, 0.0046449704, 0.0496694967, 0.007786029, -0.0671497658, -0.0530434139, 0.0320035443, 0.0458520502, 0.0325978026, -0.0474298485, -0.0257923417, 0.0271997824, 0.0239875484, 0.0123123191, 0.0112061175, 0.0274389181, 0.0306523591, -0.0504431911, -0.0028463472, 0.0625287816, 0.0312357582, -0.038382329, -0.0206142496, -0.0196935069, 0.0063129356, 0.0317947082, 0.0273523424, -0.0478290841, -0.0486674011, -0.0044577084, 0.0285406131, 0.0576037839, 0.0111093717, 0.0251362883, -0.0678699538, 0.0543020144, 0.0189454909, -0.0201559216, -0.0418827683, -0.0080666821, 0.0214123297, -0.0652601272, -0.0002213585, 0.0579967648, -0.0177512486, -0.0120553132, 0.0207827371, 0.0086170435, -0.0110304505, 0.025038749, -0.0109955668, -0.0336135291, 0.078696914, 0.0150675084, 0.022025425, -0.0392664373, 0.0133652426, 0.02126652, 0.0046747955, -0.0209561344, 0.0472540334, -0.01615013, -0.0247375183, 0.0099482154, 0.0580630228, -0.0595847704, -0.0283467975, 0.0225844011, -0.0050533814, -0.0108109675, 0.0082639232, -0.021661222, -0.0753296092, -0.0198189616, 0.0116123771, -0.0218008887, -0.0168775152, -0.0678338334, -0.0533893406, -0.0240530837, -0.0271344129, -0.066067718, 0.0002236398, 0.0010549567, -0.0512360893, -0.0634321794, -0.0674664602, 0.0652380958, 0.0852944776, -0.0172586255, -0.0426394194, 0.0004288273, 0.0611234121, -0.0359729789, 0.0352067277, -0.0295812096, 0.024319103, -0.059628956, -0.0072135176, 0.0001980724, -0.0431817397, -0.0211626738, 0.0239638314, -0.0452705361, -0.0391935296, -0.0169257522, 0.0908067524, 0.0239644386, 0.0400729887, -0.014987818, -0.0135226306, 0.0297386404, 0.0275744498, 0.0305249766, 0.0106421057, 0.0026851054, -0.0074172709, -0.0056214738, 0.0023213897, -0.0567776076, -0.0023195401, -0.01036877, 0.0236464292, -0.049494464, -0.0030034494, 0.0323556997, -0.0263728928, 0.0339343548, 0.0270106588, 0.0435668081, -0.0177250747, 0.0533064008, 0.0077356212, 0.0082913106, -0.0701683313, 0.0198747572, 0.003424701, 0.0415562019, 0.0618777387, -0.0507932492, 0.0111143952, 0.0047279568, -0.0825345367, -0.0077872449, -0.002860507, 0.0216754191, 0.0072542704, 0.0378665738, 0.0000332398, 0.0249240734, -0.0030360592, 0.0752150863, 0.0050046928, 0.0651675612, 0.0202391818, 0.0009776077, -0.0070904614, 0.0343429409, -0.0439626612, -0.0004782651, -0.0471750535, 0.0427935272, 0.0562591664, 0.0317956731, 0.031545829, -0.0353982784, 0.0079443259, -0.0472022705, 0.0111904703, 0.0519963093, -0.0344828777, 0.0108628236, 0.0332113914, 0.017913077, -0.0747631341, 0.0785846338, 0.0353949592, 0.0412849709, 0.0001051055, -0.0040472723, -0.0576842129, -0.0458130315, 0.0537071861, -0.0034556498, -0.0074894424, -0.009545234, -0.0225148723, -0.0270252582, 0.0003210108, 0.0370922908, 0.0207268465, -0.0366849303, 0.0434251875, 0.0367229655, 0.0082035121, -0.0406787209, -0.0149999047, -0.0532857515, -0.0304646883, 0.0065117124, -0.023916347, -4.874800419e-33, -0.0415925309, 0.0053063319, 0.0688652173, 0.0452254415, 0.0242062882, -0.0225129034, 0.020727329, 0.0196014997, -0.0319732428, -0.0106779383, 0.007002546, 0.0020830524, 0.0242678169, 0.0274492037, -0.0376306288, 0.0164243188, 0.026733093, -0.0059390366, -0.0249625314, -0.0168259814, -0.0257965568, 0.0166295357, 0.0112204421, -0.0598887242, -0.0217234325, -0.0029876439, 0.001263164, -0.0137669174, 0.0017127134, 0.0590178147, -0.0082146591, 0.0346019752, 0.0156697985, 0.0494977199, -0.0095502483, 0.0160354506, -0.0654246956, 0.0076749758, -0.0345688313, 0.0946292728, -0.0260673426, 0.0026769829, 0.0167525597, -0.0014920036, -0.0257064588, -0.0090786647, 0.0597668551, -0.0334164426, -0.0453127325, 0.0420868099, -0.0470559783, 0.0123286163, 0.0230051596, -0.0839189738, 0.0425645523, 0.0350059941, -0.0121154506, -0.0169442128, -0.0445767269, 0.0248663351, 0.0305145178, 0.0406440757, 0.0851179138, 0.0624823943, 0.0524859503, 0.033330705, 0.0078788372, -0.0064136363, -0.0438512638, 0.0278341863, 0.0291989297, 0.0739068538, 0.0382839665, 0.0441834591, 0.0120465271, -0.0057893754, -0.0337617733, 0.0613772497, -0.0168924313, 0.1025713682, -0.012835036, 0.0460214764, -0.0073418035, 0.0240851026, -0.0106921475, -0.0154687464, 0.0012354779, -0.0175265912, 0.0748319924, 0.0384465195, 0.0099266879, -0.0883131772, 0.0387454778, -0.0100731729, -0.0339581519, -0.0052820868, -0.0111323018, 0.0664440617, -0.0114421016, -0.0042234873, -0.0438835882, -0.0390205532, 0.0386765674, 0.0102854017, 0.046553269, -0.0115602817, -0.0159265213, 0.0355835818, -0.0126669267, -0.0088541275, -0.048617661, -0.0099356258, 0.0222774837, 0.0703543201, 0.0360688791, -0.0273861252, -0.0221792068, 0.0516981445, -0.0496937707, -0.0870457515, -0.0258529428, -0.0634950027, -0.0178679563, 0.0026686089, -0.0379711874, -0.0417072065, -0.0639882386, 0.056073036, 0.0059446306, -0.0308499318, 0.0121573759, 0.0234378651, 2.655e-7, -0.0059589143, 0.0133033423, 0.0400790051, 0.0465290137, -0.0229920652, 0.0504666232, -0.0260135606, 0.0436609611, -0.0102944504, -0.0685603097, 0.0154840117, 0.0537072234, 0.0412004627, -0.0110917902, -0.0314608775, 0.0192466397, 0.0229806527, -0.0018578959, -0.0556427911, 0.0057375203, 0.0426643044, 0.058282271, -0.0264194831, -0.0031513621, 0.0648495927, -0.0463994816, 0.0363916866, -0.0161479861, 0.0336666815, -0.0247496367, -0.0102305729, 0.0497264192, -0.0315908641, 0.0035970574, 0.0127861891, 0.0161675736, 0.0127427615, 0.0275471732, -0.0838430747, -0.0073472513, 0.0047351909, -0.0077048242, -0.0185288154, -0.0176179763, 0.0679446235, -0.043288108, 0.0222341567, 0.0120456945, -0.0053805872, 0.0190551709, -0.0317614153, -0.0148328124, -0.0177310742, 0.0054907692, 0.0197492521, -0.0018809673, -0.0527173132, -0.0507115498, 0.0016845304, -0.022939343, -0.0125355907, -0.0401948951, -0.066137068, 0.0304883644, -0.0138549572, 0.0280089397, -0.0508838892, 2.154109699e-34, -0.0113334907, -0.0098700179, 0.0138172219, 0.0455143116, 0.0325874314, -0.0085188346, 0.0115902405, 0.0305440407, 0.0031826745, -0.0284393262, -0.0140257841 ]
http://arxiv.org/abs/2406.11307v1
http://arxiv.org/pdf/2406.11307v1
An Empirical Investigation of Matrix Factorization Methods for Pre-trained Transformers
2024-06-17T08:14:23
2024-06-17T08:14:23
Ashim Gupta, Sina Mahdipour Saravani, P. Sadayappan, Vivek Srikumar
cs.CL
cs.CL
The increasing size of transformer-based models in NLP makes the question of compressing them important. In this work, we present a comprehensive analysis of factorization based model compression techniques. Specifically, we focus on comparing straightforward low-rank factorization against the recently introduced Monarch factorization, which exhibits impressive performance preservation on the GLUE benchmark. To mitigate stability issues associated with low-rank factorization of the matrices in pre-trained transformers, we introduce a staged factorization approach wherein layers are factorized one by one instead of being factorized simultaneously. Through this strategy we significantly enhance the stability and reliability of the compression process. Further, we introduce a simple block-wise low-rank factorization method, which has a close relationship to Monarch factorization. Our experiments lead to the surprising conclusion that straightforward low-rank factorization consistently outperforms Monarch factorization across both different compression ratios and six different text classification tasks.
[ -0.0177969057, 0.0843053535, 0.0053599952, 0.0236176662, 0.0167542361, 0.0071059465, 0.0117120417, 0.0421029665, -0.0391495042, -0.0276303478, -0.0348048136, -0.0060345726, -0.0011105124, 0.0050635808, -0.0158181898, -0.0199365113, 0.0317815989, 0.0122318622, -0.0687066019, 0.0322899483, -0.0067915823, 0.0020866389, 0.0272196308, 0.0482078046, -0.0178054124, -0.0219121296, -0.0253568832, -0.013996141, -0.0073715989, 0.0110966535, -0.0352846049, 0.0726003423, 0.0249995608, 0.0152795669, 0.0000020342, -0.0038740048, -0.0297481976, 0.012003962, -0.041289594, 0.0625050664, 0.0257536322, -0.0169288367, 0.0258333087, 0.0171232074, -0.044068817, -0.0831390172, 0.0316274539, 0.110907048, 0.083421573, 0.0219405089, -0.0203399081, -0.0153079731, 0.0150729772, -0.0196819138, -0.0553718507, -0.040945936, 0.0244917981, -0.0406396128, -0.0579741187, 0.013858431, -0.0266870409, 0.0133535946, 0.0167514067, 0.0253263693, 0.0216367468, 0.0299724955, -0.0164925307, -0.0301400684, 0.0017757403, 0.071615763, -0.0331337266, -0.039217338, -0.0330351181, 0.0061877756, 0.0078535397, 0.0252393018, -0.0227595158, 0.042225752, 0.0529569648, 0.0199864637, 0.0092628039, 0.0499757417, 0.0301938932, -0.0201704819, -0.031606283, 0.0574580319, 0.0182679147, -0.0190450996, 0.0104131037, 0.0326884054, 0.019088475, -0.0367487445, 0.0029302221, 0.0138384476, -0.0011989877, -0.016372446, -0.0469136313, -0.0136689199, 0.0027464021, -0.0622651055, 0.0335845537, 0.0204959624, 0.0234985985, 0.018396588, -0.0214032698, 0.0171587933, -0.0111537641, 0.0345174633, -0.0280799195, 0.0232451279, -0.0200557895, 0.0084745875, -0.0548145473, 0.0579999685, -0.0217180941, -0.0293492433, -0.0334786437, 0.0028913119, 0.0245710071, -0.0148940589, 0.0286828559, 0.0186360851, 0.0021636866, 0.0107781803, 0.0020316744, 0.0448672809, -0.0177266113, 0.0152472183, -0.0423266739, -0.0155308563, -0.0332009196, 0.0013586609, 0.0269616172, -0.0102679562, 0.0197643694, -0.0176820178, -0.0123012541, -0.0649682879, -0.02565993, 0.0206945017, 0.0254865289, -0.0417252593, -0.0120820124, -0.0140770683, 0.0537515767, -0.0131902918, 0.0192874912, -0.0151583971, -0.0101337498, 0.0370156728, -0.0327321291, 0.0581405051, 0.0080951778, -0.0125051169, -0.0256486516, 0.0309338197, 0.0294663999, 0.0240281224, -0.0122298747, 0.0240369514, 0.0152910715, -0.086675927, 0.0316396095, 0.0218033716, 0.0435929559, -0.0044854889, 0.0102764443, -0.0120888725, -0.0082195206, -0.0207137894, 0.0094497427, 0.0730551183, -0.0443163216, 0.004318689, 0.03676318, 0.0405491069, 0.0368872583, 0.1335328221, 0.0097945454, -0.0062026582, 0.0244450606, 0.0175588634, -0.0294070821, 0.0102040479, -0.0327184759, -0.025003599, -0.0212965291, 0.0709440112, -0.0562940277, -0.0423858464, 0.0106134769, -0.028708607, 0.0214928668, -0.0126193305, 0.0240493473, 0.0179755818, -0.0388030894, 0.0973817259, 0.0019458286, -0.0954141393, 0.0025960349, -0.043174684, -0.0319328308, -0.0135103306, 0.0452030897, 0.0042989636, -0.008319471, -0.0181827135, -0.0141455578, -0.0342002213, 0.0286907963, -0.0171269085, 0.0200090092, -0.0388996899, -0.008693194, 0.02872614, 0.0236777682, -0.0344176479, 0.0079741217, -0.0121234134, 0.0154550252, 0.0087622683, 0.0127808889, 0.0472337678, -0.0149504058, -0.0275517609, 0.0462628007, -0.0003615102, 0.0171417221, 0.0193577819, -0.0163048394, -0.0332511179, 0.071152851, -0.0337855592, -0.0423892066, -0.043065507, -0.0414894037, -0.0181968305, 0.0291909855, -0.0140897688, 0.0413474925, 0.1030967757, -0.0347079113, -0.0230108798, -0.0160317943, -0.0022360638, 0.0429878533, -0.0111654121, 0.029281646, -0.0296418685, 0.0473833792, -0.0120249121, 0.0446964763, -0.0174318235, 0.0024959024, 0.0216200035, -0.0591401272, 0.009955789, 0.0309293196, -0.0534400865, 0.0051983492, -0.038634941, 0.0313060768, 0.0245605279, -0.017592933, -0.0057138545, 0.0014096488, -0.048120711, 0.0214444455, -0.0235003456, -0.0042661964, 0.0317319483, 0.0227013156, 0.0466832109, -0.0002301353, -0.0261949562, -0.0220852233, -0.0068305256, 0.0097786915, -0.0192305762, -0.0145044522, 0.0064216368, -0.008895197, -0.0696884915, 0.0201068316, 0.1023769975, -0.0492716059, -0.0092274789, -0.0541069433, 0.0412887745, -0.0114812041, 0.0084866211, -0.006829924, -0.0383699127, -0.0338541903, -0.0102931224, 0.0644261241, 0.0391585752, 0.021360347, 0.0734118447, 0.0762785599, 0.0426355936, -0.0137929898, 0.002929575, -0.0532150082, -0.0093074441, -0.0271886792, -0.0049254908, 0.0229954422, 0.0610780604, -0.0373652615, -0.0109383762, -0.0439200327, -0.0199015643, -0.0345341638, -0.0096217217, -0.0107084746, -0.0235023145, -0.0089226021, -0.0018978976, 0.0329301655, -0.009687556, 0.0376575105, -0.036747314, -0.0069807018, -0.0118649323, -0.0435284115, -0.0316761881, 0.0189241096, -0.0105229188, 0.0056171059, -0.0538222045, 0.0004050967, -0.0149152791, 0.0146517809, -0.0041350508, -0.0400687978, 0.0410562567, 0.0482339188, -0.0154025909, -0.0529344454, -0.0481399074, -0.03298188, -0.0602294952, -0.0093621695, 0.0139087681, 0.06278833, -0.0129375868, -0.0613636784, 0.0114857731, -0.0020579824, 0.0289348755, -0.0040181656, 0.0005992, 0.0091957506, 0.0692814291, 0.0111866593, 0.0237047412, 0.0659242794, 0.00100483, 0.0485384054, 0.0630806312, 0.0035234836, -0.0194150768, -0.0412314162, -0.0204488542, 0.0484464839, -0.0379995778, -0.0371478982, 0.0170278661, -0.0338845029, -0.0297258254, 0.0068556922, 0.0989699587, 0.0337155201, -0.0916795805, 0.007116945, 0.0292625371, 0.0557652712, 0.0079019833, 0.0306168571, -0.0255204346, -0.0020796061, 0.0130891232, -0.0299893748, 0.0674078614, -0.0239102207, 0.000905556, -0.0793744326, 0.0410320684, -0.0020616914, 0.0392157435, -0.0030599469, -0.0653352439, 0.0025157898, -0.0471205972, -0.0112568745, -0.0024395054, -0.0318210199, -0.0039664949, 0.0088091716, -0.0308812149, -0.0419678465, -0.0132742329, -0.0096880365, 0.0080481637, -0.0222839545, 0.0074659535, -0.0094413422, -0.0836839452, 0.0207195897, -0.0317288972, -0.0245886948, -0.0330039859, 0.0648829713, -0.0087002488, 0.0087601515, -0.0124756498, 0.0168944765, -0.0162911844, -0.0321278386, -0.0451606959, 0.0968868732, 0.0029950142, -0.0613535047, -0.0032516397, -0.0083395634, -0.047290422, 0.0798091888, 0.0261135511, -0.0389835164, -0.0498335697, 0.0201974735, 0.0281732399, -0.0091297403, -0.1222129911, 0.036955893, 0.0261437334, -0.0262060817, -0.0289230254, -0.0043502715, 0.0112737035, 0.0398719832, -0.0200443882, -0.0422186852, -0.0005631267, 0.0188942701, -0.0445193909, 0.0120791765, 0.0009839089, -0.0012648101, -0.0379213281, 0.0413137339, 0.0426066779, -0.0096713379, -0.0097888866, -0.0219791196, -0.0656314269, 0.0029590803, 0.0206258316, 0.0424914509, 0.0151230469, 0.0155463349, 0.0129905175, -0.0663049743, 0.0191968661, 0.0253963284, -0.050203912, 0.0299725235, 0.0234446004, -0.0943764448, -0.0075290943, 0.0142807029, -0.0191105045, 0.0404407494, -0.0180850569, 0.032545615, -0.0174639821, -0.0292125866, 0.0235930476, -0.0069778292, 0.0671041682, -0.008415428, 0.0236786995, 0.011507757, 0.0238998476, -0.0196877737, -0.0009733905, -0.0356650427, 0.0144945327, 0.0353932492, 0.0183951743, -0.0192242749, 0.0291106161, 0.0276959594, 0.0179714747, 0.0099205123, -0.0129213836, 0.0001306683, -0.0554173142, 0.0376918651, 0.0396193117, -0.0269034132, -0.0476601422, 0.0331767835, 0.0012836694, -0.0389904007, -0.0116443411, -0.0022671467, 0.0366034843, -0.0687058717, 0.0428199172, -0.0531545579, -0.0417351723, -0.0282762591, -0.0368650295, 0.02928227, -0.0286516268, 0.0374667048, -0.0053761043, -0.0330204628, 0.0000121858, 0.0028260241, 0.0143967401, -0.0207709596, 0.0147767775, -0.0238530636, -0.0238858461, 0.0112728253, 0.0917248949, -0.0075799567, 0.0078250002, -0.0039416761, -0.0190778673, -0.0491065904, -0.0231155846, -0.022633994, 0.0409499109, -0.0083836773, -0.0370039269, -0.0512055494, -0.0546348691, 0.018762935, -0.0182638559, 0.0036843943, -0.0188909639, 0.0111866081, 0.0244560763, 0.0387763493, 0.0013659778, -0.0102106556, -0.0335366838, -0.0121504609, -0.0196879432, -0.0002751934, -6.003193446e-33, 0.0107283872, 0.0107274316, 0.0109266797, 0.0319861136, -0.015062023, 0.0365467072, 0.014299714, 0.0030301877, -0.0095577594, 0.0059591229, -0.0547949784, 0.0035155329, -0.0066671674, 0.0281994231, -0.0127637703, -0.0139207263, 0.0889323726, -0.019138258, -0.0162057057, 0.0573107712, -0.0203549992, 0.0281331856, 0.0311639477, -0.0463711843, -0.0678158849, -0.0085756527, -0.0073786927, -0.0186779555, 0.0175471026, 0.0316017792, -0.0585175566, 0.0085172821, 0.0411682874, -0.0771893114, 0.0008548864, 0.0284630395, -0.1002231091, -0.0005628115, -0.00273672, 0.0133407954, -0.0530136526, -0.0133606391, 0.009438877, 0.035633605, -0.0128524303, -0.0577290319, 0.014891603, 0.0147241158, -0.043998912, -0.1006599069, -0.0180254485, 0.0033479442, -0.0166803449, -0.0105276005, 0.0663557649, 0.0726118758, -0.0343102515, 0.0462802574, -0.0902313292, 0.0129925041, 0.0198647212, 0.0419911444, 0.0304820631, -0.0095600849, -0.029388871, 0.0228487831, -0.0150082959, 0.0022370124, -0.0594985858, 0.0104511715, 0.0382919908, 0.0631408244, 0.0629845783, 0.0368577167, 0.0501235127, -0.00295603, -0.0658801273, 0.0290044602, -0.0103737377, -0.0072266785, 0.0028519828, 0.012109438, 0.0236454625, -0.0085179638, -0.049493812, 0.0281769596, -0.0225628372, -0.0270995442, -0.0002345655, 0.0554185882, -0.0460919663, 0.0206190888, 0.0469283015, -0.053992141, -0.0101773879, 0.054606922, -0.0228256788, 0.038096711, 0.0081706708, -0.0317233205, -0.0420283303, 0.0150270453, 0.0226790346, -0.0308390316, 0.006259793, -0.013162367, 0.042341508, 0.043735303, -0.0761238113, -0.0186488796, 0.0255956631, -0.006145535, 0.0432348326, 0.0308003891, 0.0327423066, 0.0247166157, 0.0017451289, 0.047072012, 0.0182932671, 0.0811468363, -0.0018604986, 0.0188854877, 0.0690517575, 0.0145888599, 0.0347994305, -0.0080967089, -0.0730032697, 0.0344671868, 0.0462825336, -0.0920296833, -0.0260980465, -0.0163384154, 2.634e-7, 0.0451722629, 0.0580149479, -0.0212868825, -0.0428077616, 0.0191090032, 0.0262853354, 0.0376638733, 0.0134579297, -0.0075488971, 0.0261788331, 0.0451391675, -0.0060486277, 0.0070744725, 0.0154501228, -0.0566034913, -0.0304447059, -0.1002668366, -0.0003201812, -0.0500637069, -0.0336234979, 0.0466288999, 0.1318116188, 0.0020484196, -0.0256615579, -0.0087966919, 0.0189832859, 0.066586785, -0.0311599802, -0.0060988409, 0.0263025295, 0.0414684825, -0.017348364, -0.0122738844, -0.0118922619, -0.0484050028, 0.0364167951, -0.000025479, 0.0659450963, 0.0111310855, -0.0099969078, 0.0303673074, 0.0146580646, -0.0034955561, -0.0358944125, 0.0797343925, -0.0256893169, -0.010762048, -0.0287139546, -0.0570012555, -0.001382234, 0.0142348744, 0.0020995843, 0.0459649079, 0.0539694391, 0.0043974868, 0.0061676451, -0.0441030934, -0.0999508351, 0.0014867811, -0.009987195, -0.0255072508, -0.0076262113, -0.0230206698, -0.0725421011, 0.0599390045, -0.0143610667, -0.0096352696, 2.551274113e-34, 0.0046713692, 0.0003104678, 0.052592475, 0.0344356745, -0.0000521882, -0.0430153124, 0.0451831631, -0.0085678119, -0.0124978982, -0.1054834276, -0.0015860262 ]
http://arxiv.org/abs/2406.11303v1
http://arxiv.org/pdf/2406.11303v1
VideoVista: A Versatile Benchmark for Video Understanding and Reasoning
2024-06-17T08:09:00
2024-06-17T08:09:00
Yunxin Li, Xinyu Chen, Baotian Hu, Longyue Wang, Haoyuan Shi, Min Zhang
cs.CV
cs.CV, cs.AI, cs.CL
Despite significant breakthroughs in video analysis driven by the rapid development of large multimodal models (LMMs), there remains a lack of a versatile evaluation benchmark to comprehensively assess these models' performance in video understanding and reasoning. To address this, we present VideoVista, a video QA benchmark that integrates challenges across diverse content categories, durations, and abilities. Specifically, VideoVista comprises 25,000 questions derived from 3,400 videos spanning 14 categories (e.g., Howto, Film, and Entertainment) with durations ranging from a few seconds to over 10 minutes. Besides, it encompasses 19 types of understanding tasks (e.g., anomaly detection, interaction understanding) and 8 reasoning tasks (e.g., logical reasoning, causal reasoning). To achieve this, we present an automatic data construction framework, leveraging powerful GPT-4o alongside advanced analysis tools (e.g., video splitting, object segmenting, and tracking). We also utilize this framework to construct training data to enhance the capabilities of video-related LMMs (Video-LMMs). Through a comprehensive and quantitative evaluation of cutting-edge models, we reveal that: 1) Video-LMMs face difficulties in fine-grained video tasks involving temporal location, object tracking, and anomaly detection; 2) Video-LMMs present inferior logical and relation reasoning abilities; 3) Open-source Video-LMMs' performance is significantly lower than GPT-4o and Gemini-1.5, lagging by 20 points. This highlights the crucial role VideoVista will play in advancing LMMs that can accurately understand videos and perform precise reasoning.
[ 0.0086765075, 0.0556830429, -0.0185592305, 0.0766486377, -0.0158115309, 0.0105306543, 0.02226796, 0.0018843176, -0.0241116248, -0.0528574735, -0.0000152605, -0.0585748479, -0.0523007363, 0.0564694665, 0.023566423, -0.0676668733, 0.0457223095, -0.0179134272, 0.0131344944, 0.0296874922, 0.0447530523, -0.0112736393, -0.0050927079, 0.0146309808, -0.057739459, -0.0329802372, -0.0204579961, -0.0008007011, 0.0667776987, -0.0528036021, -0.0138617158, 0.019394638, 0.0873435512, 0.0112857362, 0.0000019565, -0.0287883542, -0.0006063014, -0.0251622554, -0.0008300993, 0.0054520196, -0.0470585749, -0.0309177991, 0.0109362919, 0.026173478, -0.0489137396, 0.0120728528, 0.0243767984, -0.0094800526, 0.0417003147, 0.0601050295, -0.0350506939, -0.0520871393, 0.023401035, -0.0175928455, 0.0653316677, -0.0484510064, -0.0105795972, 0.0046380088, 0.020910494, -0.0178974681, -0.0796154365, 0.015176639, 0.0423701257, -0.0007345665, 0.0031933207, 0.0081986198, -0.0340289585, -0.0354879722, -0.0147966649, 0.082997337, 0.0014771423, 0.0390223972, -0.0144389477, 0.0169800706, 0.0186560191, -0.0020721729, -0.0725087523, 0.0144445132, -0.0104001993, -0.0055362382, -0.0200525969, 0.0176506024, 0.0263024587, -0.0109264562, 0.0152514083, 0.0057811481, 0.0066246395, 0.0104187466, -0.0275617819, -0.0100103058, -0.0230845436, -0.0308596976, -0.022738114, 0.0445303693, -0.0228801053, -0.0059145172, -0.0084010055, 0.0432537869, -0.0267940909, -0.0139310714, 0.0278788302, 0.0113520604, -0.0406698324, 0.0706248954, 0.0128265349, 0.0672090501, -0.0543792285, 0.035329394, 0.0020428046, 0.0056315083, -0.0841303691, 0.0025383143, 0.0273700561, -0.001553983, -0.0433721766, -0.0077888742, 0.0086399224, 0.0281339362, -0.0266961288, 0.0130247753, -0.0431755371, 0.0318225287, 0.0521860048, -0.0199223831, -0.0390178338, 0.0204328652, -0.0873524249, 0.0401011184, 0.0017537207, -0.0542634912, -0.0160572622, 0.011713176, -0.0136196511, -0.035786774, 0.0316513702, 0.050404653, -0.0362892151, -0.0478419885, -0.0300372317, 0.0012891443, 0.0073914928, -0.0498945266, 0.0587357655, -0.0466484278, 0.0375884213, -0.0145155806, 0.0042485157, 0.0240594912, -0.0010505072, -0.0164827108, -0.0256521832, 0.085062027, 0.0059732422, 0.0236777272, -0.003749243, 0.0404126272, 0.0055704219, 0.0613339283, 0.015363791, 0.0313951038, 0.0421913229, -0.0002916853, 0.0507745296, 0.0293243527, -0.0300787538, 0.0141846258, -0.0724243596, 0.0371081457, -0.0307784602, 0.0382360369, 0.0145638715, -0.0029405595, -0.0084734512, -0.0473272055, 0.0482293703, 0.0227120668, -0.0483109243, -0.0342063978, 0.0353978835, -0.0213292856, -0.0092690429, 0.015578513, -0.0389376469, 0.1084921882, 0.0130170304, -0.0210376903, -0.0000914531, 0.0309702326, -0.0603035763, -0.0305834208, -0.0209824983, 0.0022317783, -0.007036123, 0.0204449687, 0.0217077471, -0.0197278224, -0.0332368501, -0.0129895248, -0.0158577859, 0.0170062371, 0.0199766066, -0.0405996032, 0.046681691, 0.0483973473, 0.0246353224, -0.0216494594, -0.0634236559, -0.0115138926, 0.0426400267, -0.0063058739, 0.0184942186, -0.0254200157, 0.0268254634, -0.0654318035, -0.0296221636, -0.0486718602, 0.0326512642, 0.0380166024, 0.0116609316, 0.0010198088, -0.0051788823, -0.0548134111, 0.0471132286, 0.0283441897, 0.0449354947, -0.0130985128, -0.0175856072, 0.0105876261, 0.0266342517, 0.0051072929, 0.0081381695, -0.0236468315, 0.00335821, -0.0151182488, 0.0256858692, 0.0323311426, -0.0204360746, -0.0158729311, 0.0348925069, -0.0651761293, -0.0329277962, 0.0788602605, -0.0606466345, -0.0215699654, 0.0466200747, 0.0145086627, -0.0430438742, -0.0799482167, -0.0304358639, 0.0313366316, 0.01754448, 0.0187310502, 0.0569600239, -0.0093774125, -0.0320052467, 0.0006251645, 0.0284656342, 0.0487336032, -0.01374372, 0.0037877031, -0.0161221549, -0.0305590164, 0.0040432015, -0.0271297619, -0.0187349785, -0.0677926093, -0.0001234318, -0.0521122441, 0.0519262962, -0.0233516898, 0.0048747617, -0.0159240402, -0.0092657683, -0.0284604989, -0.03493613, -0.0029503501, 0.0015275571, -0.0024821481, 0.0257481188, 0.0046337065, 0.0248947814, 0.0053547318, -0.0114365146, -0.0024224645, -0.0163160898, 0.0219561178, 0.0034662634, 0.0103915911, 0.0294522624, -0.0699581429, -0.0415978543, 0.0345820859, -0.0509220287, -0.0282319635, 0.0431928858, -0.0247721281, 0.0211436469, 0.065152511, 0.0316235498, 0.0443657003, 0.0047423984, -0.0241253152, 0.019294776, 0.0336456299, 0.0010456357, -0.0207067356, -0.0257027484, -0.0318263546, -0.0438807756, 0.0086330697, -0.0518788509, 0.0084887175, -0.0630673841, 0.0354648158, 0.0467451401, -0.0265655071, -0.0470395312, 0.0059619779, -0.0139332665, 0.0351761989, -0.0256950837, -0.0321422555, 0.0365315638, -0.0050126966, -0.0041732946, 0.0249849483, 0.0093608312, -0.0188958235, 0.0905774534, 0.0275087617, 0.0117083127, -0.0279805847, -0.0425365604, -0.0699449256, -0.0210463814, 0.0315663926, 0.0174584016, 0.0148970783, -0.0661954507, -0.0103896027, 0.0147221992, -0.0164337307, -0.0540267341, -0.0332791954, -0.0402281694, -0.0167492628, -0.0803782046, -0.0026600531, -0.0118823536, 0.0044611399, 0.013512373, 0.0075657456, -0.0258099679, 0.021673644, 0.0122112948, 0.0619012676, 0.0752902403, 0.0180837382, -0.0308766235, -0.0772919431, 0.0494101532, 0.0474512167, 0.0061861016, -0.0573414639, -0.0356298946, 0.0742818341, -0.0188250747, 0.036393743, -0.0228522234, 0.024783859, 0.0710301325, -0.0527640507, 0.0143222166, 0.0861609355, 0.0183955152, -0.0235453714, -0.010606654, 0.0044695311, -0.0123533867, 0.0647117496, 0.0129952598, -0.069601737, -0.060271576, -0.0010578127, 0.0142234862, 0.009055987, -0.0103207473, -0.0177187342, -0.0675582215, 0.1000345945, -0.0079572303, -0.0488098301, -0.0126777738, -0.0006814821, 0.0227358378, -0.026573278, -0.0203669965, -0.0041026827, 0.011044044, 0.0142161129, -0.0016043769, -0.013911048, -0.0271092393, 0.0762177929, -0.0484658666, 0.0357035846, 0.0228318423, 0.0006363861, -0.0250641201, -0.0591111258, 0.0032107234, 0.0009314499, 0.0278139003, 0.0015309984, 0.0660205111, -0.0519324541, -0.0319494195, -0.0176927168, 0.0579091758, 0.0061929147, -0.0403042696, 0.0186706353, 0.0981915072, -0.0196537357, 0.0011845005, -0.0654915869, -0.0110387513, 0.0039374442, 0.0301838219, -0.0130947176, -0.0043240422, -0.0203454513, 0.0393293202, -0.0413632318, -0.0162341855, 0.0025227868, -0.0107695302, 0.0301445574, -0.0140351774, -0.0258021597, -0.0192239136, 0.0531647727, 0.0452073179, -0.0378042534, -0.0009499109, -0.0394563228, 0.0442170873, -0.0728349015, 0.0740032345, 0.0155667374, -0.0056563755, -0.0183568001, 0.0258582998, 0.0142658763, -0.0418378897, -0.0083678188, 0.0109959012, -0.0450105481, -0.0158242602, -0.0377287753, 0.0730703548, 0.020361362, 0.0786374733, 0.0182257313, 0.0067622745, -0.0489568971, 0.0057673366, -0.0034565518, -0.0039551654, 0.0043965261, -0.0735696256, -0.0196899809, 0.0226850472, -0.0101661291, 0.0370612107, -0.0177329779, 0.0113282567, -0.0720282346, 0.0267373547, -0.0006156635, -0.0317866765, 0.0655355901, -0.0129529731, -0.0154960454, -0.0363050438, -0.0020705373, 0.0126527473, 0.0317104869, -0.0525311492, 0.0163691603, 0.0416503437, 0.0007062177, -0.0278016441, -0.0257572047, -0.0225445349, -0.0116034709, -0.0340614095, -0.0299139041, -0.0020419543, -0.0131346956, -0.020499723, 0.0195222925, 0.0624803901, 0.0149559109, 0.0054756911, 0.0597225428, 0.020317493, 0.0889227688, 0.0210737064, 0.0082533341, -0.0055649295, 0.0190035831, -0.0248187967, -0.0352953933, 0.008423524, 0.0542150699, 0.0400877595, -0.0397131704, -0.0473868735, 0.0102956118, -0.017499879, 0.0056688585, 0.0464771949, -0.0020572843, -0.059015248, 0.0565993004, 0.0455072261, 0.0018444059, -0.0111907236, 0.0685739517, 0.0027893444, 0.0073419134, 0.0016073725, -0.0000507849, -0.0304853525, 0.0011808758, 0.0476166606, 0.0388589092, -0.0073010214, 0.0207169112, -0.0529912189, -0.0717329383, -0.0289012883, -0.000914984, -0.0105682369, 0.054451935, 0.0105090812, 0.0563686229, -0.0143899312, -0.0543849468, 0.0179092288, -0.0400298685, -0.0507076681, -0.0046228995, 0.0502691083, -6.248927234e-33, 0.0057690744, -0.0073644868, 0.0403385982, -0.0188884772, -0.0092610652, 0.0003424228, -0.015419377, 0.0055737728, -0.0240428653, 0.0196289066, 0.0104166139, 0.0449175127, 0.0060983198, 0.0118869981, 0.0202011093, -0.0687379465, 0.0105765332, -0.026964169, -0.0185720269, -0.0021525945, 0.027730912, 0.033481475, 0.0554604232, -0.0655452311, -0.0243300404, 0.0031703939, -0.0448611602, 0.0534172878, -0.0444980934, 0.0587000065, -0.0063113254, -0.0446613207, 0.0445576943, -0.0315431319, 0.003742313, 0.0013399296, -0.0534621403, -0.0053576315, 0.0370386094, 0.0019415722, -0.0818664059, -0.0116635263, -0.0060497308, 0.0044849557, 0.0342830718, -0.0571109243, 0.0394165441, -0.0371794552, 0.0581174791, 0.0436283238, -0.0146353636, -0.0019460679, -0.0385839678, -0.0618566237, 0.0303331502, 0.0044851117, 0.0259478316, -0.0101507269, -0.035927821, -0.0005548913, -0.0463207327, -0.0234956145, 0.074347347, -0.0064546629, -0.029880574, 0.0505963899, 0.0309054367, -0.0855805054, -0.0504118279, 0.0059741968, -0.0088225063, 0.105028525, 0.0337434001, 0.036464911, 0.053476844, 0.002528341, -0.0804693401, 0.0250924155, -0.0521597974, 0.0579920895, -0.0055890735, 0.0152067458, 0.0114215678, 0.0301074982, -0.0068849865, 0.0019238868, -0.0377954431, -0.0178402886, 0.0442572609, -0.0023206808, -0.0114914021, 0.0027771066, 0.0591694526, -0.0382863767, 0.0568789616, 0.0135969864, -0.0250446387, 0.0322443247, 0.0348441154, 0.0542029031, -0.027991686, 0.0117298206, 0.0578291193, -0.0248998944, 0.0009978762, -0.0038891733, 0.0280155521, 0.0536794141, 0.0070996289, -0.0083279079, -0.014551797, 0.0424536504, -0.0316597074, 0.0302835554, 0.0167949405, 0.0509316027, -0.0384816527, 0.030503802, 0.0008672566, 0.0069932956, -0.0352239124, -0.0226151794, -0.0417423956, 0.022193877, -0.0121522136, 0.0127145909, -0.0351891369, -0.0847756937, -0.001750423, -0.0574309826, 0.0045588445, 0.0351757854, 2.69e-7, -0.0011108947, 0.0190216042, 0.0018708733, 0.0032166531, 0.0132725984, 0.0613781363, -0.0305773672, 0.0346629694, 0.0371087827, -0.068249397, 0.0244376585, 0.0787215158, 0.026920503, 0.0365832187, 0.0148926908, 0.0049973484, -0.0086783571, -0.0502721593, -0.0800761208, 0.0027013945, 0.0319087654, 0.0894028172, 0.0382147282, -0.0253213905, 0.0433095731, -0.0299422983, 0.0549251437, 0.0052995184, -0.0411938801, -0.0265129991, 0.0119880214, 0.0300014541, -0.0222765505, 0.0186018199, -0.0174970366, -0.0398931354, 0.0150282644, 0.0498015508, -0.0191049185, -0.0703879744, -0.0401351824, 0.0377271436, -0.0047871829, -0.0502727441, 0.0915240943, 0.0115896044, -0.0189150181, 0.0009461911, -0.0358021297, -0.0016188702, -0.0246125143, 0.0215547662, -0.0118002249, -0.0035370241, 0.0092215249, -0.02636916, -0.0071429475, -0.099349767, 0.0334174335, 0.0041127321, -0.0376252495, 0.0204192307, -0.0120112887, 0.0020668728, 0.0644384921, -0.0100870961, -0.0825035796, 1.844531897e-34, 0.0160368718, -0.0023898694, 0.0201457366, -0.0370912068, -0.0007724016, 0.0027777916, -0.0681629404, -0.0184118729, -0.0023048329, -0.0269589722, 0.0069377678 ]
http://arxiv.org/abs/2406.11301v1
http://arxiv.org/pdf/2406.11301v1
Optimizing and Testing Instruction-Following: Analyzing the Impact of Fine-Grained Instruction Variants on instruction-tuned LLMs
2024-06-17T08:08:11
2024-06-17T08:08:11
Jiuding Yang, Weidong Guo, Kaitong Yang, Xiangyang Li, Zhuwei Rao, Yu Xu, Di Niu
cs.AI
cs.AI, cs.CL, cs.LG
The effective alignment of Large Language Models (LLMs) with precise instructions is essential for their application in diverse real-world scenarios. Current methods focus on enhancing the diversity and complexity of training and evaluation samples, yet they fall short in accurately assessing LLMs' ability to follow similar instruction variants. We introduce an effective data augmentation technique that decomposes complex instructions into simpler sub-components, modifies these, and reconstructs them into new variants, thereby preserves the original instruction's context and complexity while introducing variability, which is critical for training and evaluating LLMs' instruction-following precision. We developed the DeMoRecon dataset using this method to both fine-tune and evaluate LLMs. Our findings show that LLMs fine-tuned with DeMoRecon will gain significant performance boost on both ours and commonly used instructions-following benchmarks.
[ 0.030131951, 0.0760110915, -0.0140768532, 0.0379600674, -0.0254418682, 0.0323441699, -0.0229057334, -0.0215577856, -0.0239538178, -0.0414602123, -0.0428638048, -0.0273057315, 0.0072831307, -0.0267187208, 0.0482425839, -0.0226488598, 0.0877151117, -0.0563850701, -0.076415129, 0.0182456877, -0.0032375876, 0.0299109686, -0.007539934, 0.0283162519, 0.0388503186, -0.0130371246, -0.0205457583, 0.0485495478, 0.0155694885, -0.0209219567, 0.0302278642, 0.0257210117, 0.049065832, 0.0310670696, 0.0000020942, -0.0148406494, 0.0075424309, 0.0184277464, -0.059310168, 0.0628873408, 0.021276189, -0.0299922954, -0.0195327885, 0.0358523764, 0.0041007563, 0.0130805988, 0.035470061, -0.0158303026, 0.0675315782, 0.103318505, 0.0114070326, -0.0199084058, 0.0175236203, -0.0182327833, 0.0113446983, -0.0118624484, 0.006345829, 0.0090369331, 0.0122095328, 0.0514516756, -0.0177323762, 0.0077026635, 0.0155942943, 0.0302819759, -0.0325006582, 0.0012179539, -0.0095480429, 0.0095903603, -0.0212043189, 0.0641042888, 0.0007341793, -0.0030929302, -0.0212495942, -0.0190682318, -0.0067865136, -0.0267173983, -0.0358359292, 0.009115858, 0.0262601078, 0.0196627807, 0.0212588832, -0.0436025821, 0.0208141189, -0.0243368112, -0.0264297742, 0.0651415139, 0.0228337608, -0.0352067985, -0.0300131347, -0.0088840397, -0.0330129601, -0.0450124629, -0.0247680135, 0.0312299989, -0.0364900678, 0.032076817, -0.0799795315, 0.0003573695, 0.0318344869, -0.0097740535, 0.0955758616, 0.0754579604, -0.0341087095, 0.01048824, -0.0251043327, 0.0650549307, -0.0326864347, 0.0417191498, -0.0366343409, 0.0377869532, -0.0490275621, 0.0182296522, -0.0088969925, 0.0339817666, -0.0501701571, -0.0022239306, -0.0427563302, 0.0475640967, 0.0063999533, 0.0364009291, 0.0126922624, -0.0444803797, -0.0450975634, 0.0152278887, 0.0034130127, 0.022607632, -0.0271119606, 0.0230109487, -0.0008197296, -0.060614638, -0.0187556744, 0.0157120228, -0.0295945983, -0.0366121642, 0.0265708156, 0.0719980747, -0.0101470342, -0.0247960947, -0.0562342033, -0.0266165603, 0.0057080546, -0.0566694587, -0.0151498998, -0.0787785202, 0.0326138958, -0.0072341976, -0.0039018849, -0.0186168253, 0.0192224011, 0.0291114394, -0.0244848933, 0.0499527566, 0.0106884986, 0.0067600999, -0.0203891955, 0.0033101914, 0.0257965364, 0.0624678619, 0.0222921986, 0.0026012128, 0.0279814042, -0.0274050161, -0.0207157433, 0.0501549393, 0.0099820988, 0.0337327532, -0.0206889417, 0.0214948226, -0.0016104029, 0.0045293793, 0.0638242364, 0.037775889, -0.017436048, -0.0253784917, 0.0428037941, 0.0150170838, 0.0085109929, -0.0283906981, 0.0633756891, 0.0320223346, -0.0108965933, 0.0313390046, -0.0734697282, 0.0129771931, -0.0091368705, 0.0324545577, 0.0103056813, 0.0295399576, -0.0328492448, -0.0205486324, -0.0154115241, -0.0108898869, 0.0072133648, 0.0115176663, 0.0212887023, -0.0250710379, -0.0675580353, 0.0389607362, 0.0410908721, -0.0374343432, -0.0288209449, -0.051811941, -0.0287787169, 0.0891059712, 0.0342819579, -0.0066736415, -0.0727899149, 0.0143760275, 0.0462182425, 0.0126768043, 0.0331849381, 0.0099782404, 0.0513506234, -0.0674324632, -0.0477850176, -0.0392458327, 0.0042780326, 0.0205376297, 0.0412615538, -0.0330319367, 0.0193197522, -0.0074965195, -0.0499309823, 0.0640558824, -0.0278334636, -0.0438390896, -0.0132734375, 0.0106025673, 0.0254372228, 0.0021056398, -0.0222620629, -0.0003162062, 0.0426693633, -0.0014323387, 0.04052395, -0.0295383763, -0.0602063686, -0.0424765609, 0.0171575695, -0.014344899, -0.0185040049, 0.0219526645, -0.0615907237, -0.0484882779, 0.0028437274, -0.0538968407, 0.0268286541, 0.0047939839, 0.0511624143, -0.0009563216, 0.0130649908, -0.035095755, 0.0118875587, -0.0421193726, 0.0052797548, 0.0460871346, 0.0178575218, -0.0030970355, -0.0222381074, -0.009330241, -0.0457096547, 0.0070499973, 0.0085715316, -0.007831201, 0.0241236482, -0.0156614389, -0.034843713, -0.0544044785, 0.0455433689, -0.0273130536, 0.043959517, 0.0450926013, 0.0173789617, 0.0097158123, -0.0104833888, -0.0085343188, -0.0367340595, -0.0216696281, 0.0281585399, 0.0100082709, 0.019242391, -0.0746603161, -0.054133065, -0.0197825842, -0.0127184298, -0.0044712066, -0.0497697219, 0.0414888784, -0.0867965519, 0.0154726887, 0.0014795791, 0.0423307046, -0.0205936693, -0.0642654374, 0.0169069394, 0.0127923572, 0.0148010571, 0.0544157773, -0.0318665132, -0.00772449, 0.0414589234, 0.0010683243, -0.0812069848, 0.0068338444, -0.0067990809, -0.0409066528, -0.0607487932, -0.0639752373, -0.0107532833, 0.0821762905, -0.0010253779, 0.0154442303, -0.0464047492, -0.0571368262, -0.0048701242, -0.007931035, 0.0083104577, -0.0200973395, -0.0247541722, 0.002301354, -0.0419333018, -0.0840256214, 0.058932282, -0.0487713777, -0.0122340042, -0.0311971102, -0.0212415513, -0.0292971786, 0.0316133089, 0.0333527885, 0.0059052794, -0.0269009266, -0.0356412642, -0.0513870753, 0.0272061992, -0.000930925, -0.023105599, 0.0803430751, -0.0596562736, -0.0019384142, -0.0103450147, -0.0180264879, -0.0374226309, -0.0173620507, 0.0268604867, 0.0121665103, 0.0741061568, -0.045426067, -0.0481901243, -0.009125134, 0.0246390887, 0.0474752374, -0.0141923297, -0.0025642198, -0.0467399172, -0.0342637561, 0.0395839214, -0.0168294702, -0.0111207841, -0.045385275, 0.0038321752, 0.0302228928, 0.0450136587, -0.0100043798, -0.0477970503, 0.0203286167, 0.0549396053, -0.0197590012, -0.0266787373, 0.0514465086, 0.0980809629, -0.0662449673, -0.0205833223, 0.1050620154, 0.0399122201, -0.0298465528, 0.0209520739, 0.0033834216, 0.0514914989, 0.0415830277, 0.0490293652, -0.0888943449, -0.0330796875, 0.0009953977, 0.0489271134, 0.003172471, 0.0159017984, -0.0096969912, -0.1125693545, 0.016127931, 0.0249324962, -0.0528040379, -0.0473366454, -0.029760452, 0.0107777044, 0.0132288532, 0.0658565536, 0.0181732178, -0.0307132956, -0.0234150663, 0.0418073535, -0.0344390683, -0.0628942251, 0.0359040238, -0.0301317275, 0.0874094665, 0.090918377, -0.0316664577, 0.0259965416, -0.0184404291, 0.0492569953, -0.0059944983, 0.025609592, -0.0061709378, 0.0475801677, -0.0172596946, -0.0144357672, 0.0224278774, 0.0311112255, -0.0369857475, 0.0238673873, 0.0199853256, 0.0538705587, -0.0360312052, 0.0412552916, -0.0204590354, -0.0152628403, 0.0012530524, 0.0410111435, 0.0403339081, -0.0260561705, -0.004005143, -0.036402043, -0.0261475258, -0.0768671408, 0.0116512431, 0.0474508666, -0.0624943823, -0.016267648, -0.0328017585, -0.0424989089, 0.0350427628, 0.022200834, 0.0176905617, -0.0158014484, 0.0211135782, -0.0398997962, -0.0404185578, 0.0281800665, -0.0339452662, 0.0400539339, -0.1101301908, -0.0807145536, 0.0015465155, 0.0309237968, -0.0006546996, 0.0098412093, -0.1112569422, -0.0847041234, 0.0112425331, 0.0723547414, 0.0106803291, 0.0671785623, -0.0063243224, -0.0347921513, -0.0164435599, 0.0134398174, -0.0420286097, 0.038053982, 0.0404282473, -0.0494440794, -0.0073458049, 0.0039284742, -0.0337867513, 0.0431021713, 0.0335465148, 0.0309599247, -0.037701536, -0.0218567681, 0.0330890678, 0.008238215, -0.0032867626, -0.022824144, 0.0183998235, 0.0126430308, 0.0585488491, -0.0204660781, 0.0120867416, -0.0361112766, -0.0223432258, 0.0317787416, -0.0197950006, 0.0128490953, -0.0095997248, -0.0228433479, 0.0219724998, -0.0625831932, 0.0433116369, -0.0082195811, 0.0362584703, 0.0209315028, 0.0204325244, -0.0173231885, 0.0394284353, -0.0058549778, 0.0385005549, -0.0213634819, 0.0596791692, -0.0016671258, 0.0463635549, -0.0263061803, 0.038230598, -0.0287779775, -0.0167216584, -0.0485248454, 0.0034810735, 0.0345411338, -0.016338978, 0.0589963607, 0.0041457941, 0.0184291098, -0.0144327218, 0.0324520841, -0.031122569, -0.0187376849, 0.0119644823, 0.0623117723, -0.0121772466, 0.0078128781, 0.060683161, 0.0021217428, 0.053059347, -0.0077280537, 0.0048830537, -0.0307755619, -0.0335971825, 0.0451698117, 0.0271099713, -0.0319306143, -0.0096651101, -0.0094355382, -0.0499900766, -0.0432803258, 0.0335915759, 0.0184932873, -0.0282709301, 0.03295701, 0.0152964154, -0.0089666424, -0.0406888686, -0.0311750025, -0.0332990214, 0.0121834064, -0.0294106137, -0.0174013656, -6.443500937e-33, -0.0518916287, 0.0136503037, 0.0249392912, -0.0341232866, -0.0199087225, -0.0002790025, -0.0201597065, -0.0167709459, -0.0064473241, -0.0222325958, 0.0075780875, 0.0250487402, 0.0128777232, 0.0321115479, 0.0353017226, 0.013922398, 0.0512579829, -0.0032172098, -0.0264294557, 0.0136531461, 0.0157234855, 0.0015764739, 0.0464896783, -0.0411495529, 0.0128391692, -0.0199939106, 0.0085371211, -0.0067272019, -0.0152374525, 0.0843460932, 0.0110523533, 0.0112859309, 0.0039054013, -0.0415870287, -0.0509732701, -0.0172892213, -0.0374202766, -0.0211455766, 0.0411998779, 0.030473467, -0.028190393, -0.0299519747, 0.0273523927, -0.0239409748, -0.0137254037, -0.0098665422, 0.0126493359, -0.0072737057, -0.0130883278, 0.0513066947, -0.0716346875, 0.0187306963, -0.0195079446, -0.042432569, 0.0149643151, 0.0140020149, 0.0138246818, -0.0099139335, -0.0339291245, 0.0246903468, 0.0569846071, 0.0941211805, 0.08824002, 0.0391828939, 0.0019677442, 0.0211613961, 0.0118205631, 0.0235926695, 0.018631354, 0.0264661368, 0.0321551189, 0.0488898754, -0.0042438922, -0.0130747473, 0.0415482931, 0.0013541384, -0.0332407765, 0.0077948538, 0.021101959, 0.0273241159, 0.0192024037, 0.0168773253, -0.0665843785, -0.0028723394, -0.0040376633, 0.0558139943, -0.0232460294, -0.0404897667, 0.048944369, 0.0110891899, -0.0362590887, 0.0045695375, 0.0488961227, -0.0181943532, -0.0111828921, -0.0203664601, -0.0309707876, 0.0146521553, -0.0162419304, 0.0168289822, -0.0551561266, -0.0872719884, 0.0475846194, -0.04592105, 0.0556515418, 0.0000834938, 0.0351509526, 0.0333244428, -0.0741369277, -0.0015861859, -0.0473264158, 0.0228556022, -0.034741655, 0.0012891742, 0.0368637778, 0.0048554223, -0.0045642862, 0.0736778304, -0.0147773027, -0.0524852239, -0.0325244479, -0.0085379211, 0.0140554328, 0.0443949886, -0.0291843787, 0.0105209015, -0.0383016653, -0.0084483046, -0.0154768657, -0.0358379632, -0.0299380403, 0.0273975376, 2.779e-7, 0.0242637489, 0.0427065901, 0.0395195745, 0.0505655147, -0.0092225485, -0.0016454597, -0.0340432301, -0.00696362, 0.0044465903, -0.017042635, 0.0272634197, 0.0395434573, 0.0355049744, 0.0056533376, -0.0301307365, 0.025481794, -0.0279934239, 0.0268818624, -0.0672661588, -0.0009721183, 0.0140049001, 0.1038483307, -0.0012771264, 0.0093736714, 0.0135531817, 0.0165861174, 0.004241047, -0.0193099156, -0.007440391, 0.0321129635, -0.0197982136, 0.0472031496, -0.0272222031, 0.0145650692, -0.0254516322, 0.0077992845, -0.0513326712, 0.1107217968, -0.0378728732, -0.0059659728, 0.007734857, -0.0218277965, -0.0240000784, -0.0079336818, 0.0278193429, -0.0370004326, 0.0024842201, -0.0311604068, -0.0277006142, -0.0027263644, -0.0154728554, -0.0077713961, 0.016883906, 0.0149949118, 0.0438073985, -0.0374484882, -0.0346340016, -0.0604267567, -0.0100159962, 0.0355442725, -0.0319431201, -0.0457684137, -0.047419671, 0.0150013836, -0.0042928853, -0.0399178453, -0.0438560322, 2.979676371e-34, 0.0211657919, -0.0169621482, 0.045031786, 0.0352004506, 0.0202342458, -0.016480606, -0.0519993715, 0.0533806868, 0.0009233662, -0.0635369048, -0.0289040525 ]
http://arxiv.org/abs/2406.11924v1
http://arxiv.org/pdf/2406.11924v1
Explainable assessment of financial experts' credibility by classifying social media forecasts and checking the predictions with actual market data
2024-06-17T08:08:03
2024-06-17T08:08:03
Silvia García-Méndez, Francisco de Arriba-Pérez, Jaime González-Gonzáleza, Francisco J. González-Castaño
cs.SI
cs.SI, cs.AI, cs.CL, cs.LG
Social media include diverse interaction metrics related to user popularity, the most evident example being the number of user followers. The latter has raised concerns about the credibility of the posts by the most popular creators. However, most existing approaches to assess credibility in social media strictly consider this problem a binary classification, often based on a priori information, without checking if actual real-world facts back the users' comments. In addition, they do not provide automatic explanations of their predictions to foster their trustworthiness. In this work, we propose a credibility assessment solution for financial creators in social media that combines Natural Language Processing and Machine Learning. The reputation of the contributors is assessed by automatically classifying their forecasts on asset values by type and verifying these predictions with actual market data to approximate their probability of success. The outcome of this verification is a continuous credibility score instead of a binary result, an entirely novel contribution by this work. Moreover, social media metrics (i.e., user context) are exploited by calculating their correlation with the credibility rankings, providing insights on the interest of the end-users in financial posts and their forecasts (i.e., drop or rise). Finally, the system provides natural language explanations of its decisions based on a model-agnostic analysis of relevant features.
[ 0.0353929102, 0.0655005425, 0.0038366036, 0.004235514, 0.0041153659, -0.0412288383, 0.0271230713, -0.0051009231, -0.0057162498, 0.0019981463, 0.0111041116, 0.0041305032, 0.0164262541, 0.0740439296, 0.0280375797, -0.0242764298, -0.0002340672, 0.0266026184, 0.0656086132, -0.0152514856, 0.0344156474, 0.0176112037, -0.0003133026, 0.047526747, -0.0226130635, -0.0017875334, 0.014460572, -0.0189120341, 0.0101644117, -0.0115339942, -0.0175280739, 0.0384013057, -0.0032562776, 0.039182093, 0.0000016894, -0.0278661456, -0.0222546253, -0.0042616711, -0.0211237315, -0.0391410813, 0.033139661, -0.0260376092, 0.0446603037, 0.0209988318, -0.0927420631, 0.0623710789, 0.0651126727, 0.0398095325, 0.0712587088, 0.0617174096, -0.0177899133, -0.0494777597, 0.0254205577, -0.0363896713, 0.0018955932, -0.0579173006, -0.0029406045, 0.0247442387, -0.0607120283, 0.0256498363, 0.0310513061, 0.0193903893, -0.0146718146, -0.0240642447, 0.0764017478, -0.0126094557, 0.0120982807, -0.0063818558, -0.0447954163, -0.003691542, 0.043371439, 0.0001753123, 0.0154758655, -0.013729888, -0.0142844925, 0.0411737189, -0.0392578654, 0.0246149879, -0.0238512829, 0.0054626376, -0.0005650267, 0.0495392643, 0.0349172354, 0.0214865021, 0.0164375585, 0.0442374311, -0.0444207974, -0.0216758046, 0.0323337838, 0.0165679473, -0.0138802426, -0.0879626274, 0.0060004806, 0.0256801788, 0.0063112546, 0.0104182642, 0.0189645644, -0.0051575894, -0.0131422011, -0.0956498906, -0.0146366861, -0.0064883609, 0.0352260433, 0.0478605293, -0.0250230711, 0.0009576461, 0.0449546911, -0.0461449809, 0.0627802685, 0.0231684353, -0.0623632781, 0.0162103269, -0.0034472938, 0.0209001191, 0.0087286513, -0.0062737353, -0.0873089209, -0.0081143444, -0.0399769582, 0.0666041225, 0.0318927579, 0.0360424519, -0.0065982454, -0.0201110356, -0.0789585933, -0.0118853804, -0.0394011699, 0.0179751236, -0.0258288216, -0.0007390752, 0.0535305068, 0.014097156, 0.0051865415, 0.0103720017, 0.0096704504, 0.0536407754, 0.0562153794, -0.025789775, -0.0402352512, -0.0881742463, 0.0092755752, -0.0026007006, -0.0693207234, -0.0388128832, -0.0333565399, -0.0137404185, -0.0164186191, 0.0123619027, 0.0091616474, 0.0146767534, -0.0237744283, 0.0610570237, -0.0377266854, 0.0113885542, 0.0041550561, -0.0134844286, -0.0403630435, -0.0066492963, 0.0144429496, 0.0460443087, 0.0763110965, 0.0114403218, 0.0101688448, -0.000814441, 0.0250730161, -0.0732758194, 0.0121946018, 0.0174198989, -0.046871908, -0.015477377, -0.0087255519, 0.0170778185, -0.0014328799, -0.0021581529, 0.0655989796, 0.0121477833, 0.0181855727, 0.0366597995, 0.0432912596, 0.0242910068, 0.0367500819, -0.0253943969, -0.0124753797, 0.0082514761, -0.0419443808, -0.0036809454, 0.007806737, -0.0055809524, -0.0125044668, -0.0427501202, 0.0226116758, -0.0295102187, 0.0014549155, -0.0173061453, 0.0096832225, -0.0376034491, -0.0422313102, 0.0135154389, 0.0129896086, 0.0016124265, -0.003731885, -0.0055802464, 0.0487291738, 0.0518115722, -0.0114781139, 0.0106315641, 0.0658803433, -0.0246084575, -0.0047671711, 0.027641749, 0.0313223973, 0.0016405294, -0.0543196537, -0.024864044, -0.0103534227, 0.0114209503, 0.0107357325, -0.011222804, 0.0391290672, 0.0414385498, -0.0111229029, -0.0053253612, -0.0199472923, 0.0205732491, 0.0215779822, -0.0107699083, 0.0144581301, -0.0174084846, 0.0081334785, 0.0490166172, 0.0241231769, -0.0018432275, -0.0084231002, 0.0293446593, -0.0602876097, 0.0240509175, -0.0192950629, 0.0589410476, 0.0027706232, -0.0459683165, -0.0184066296, 0.0015709257, -0.0327033661, 0.0024087182, 0.0318390876, -0.0181326568, 0.0154192522, -0.0573790371, -0.0766554326, 0.0025760543, 0.0040167733, 0.0012949171, 0.0625294, -0.0019278198, 0.0167385414, -0.0471060835, -0.0359328873, 0.0223405752, -0.0102094645, 0.0528948121, -0.0466266088, -0.0245498642, 0.0669387281, 0.05207932, -0.0444094129, -0.0032203025, -0.0032147474, -0.0833807811, -0.0573601276, -0.0343279578, 0.0011763765, -0.0054814848, -0.0343784727, 0.0210069753, -0.0077907341, -0.0278812498, -0.0098743094, 0.0083899973, -0.00999205, 0.066381447, -0.0143326027, 0.0045219315, -0.0235839449, -0.0194423981, -0.0163453184, 0.0407045595, 0.1253245175, -0.0126337595, -0.0057133613, -0.0838146359, -0.0719571412, -0.0123818126, -0.0104553243, 0.042788092, -0.0048073791, 0.0339185186, -0.0519281961, -0.0095322821, 0.044084467, 0.0545839146, -0.0461782701, 0.044326093, 0.0039786799, -0.0275684875, -0.0549709164, -0.0119366609, -0.0176976509, 0.009139603, 0.0299053621, 0.0195410084, -0.0026640778, -0.0054761395, -0.0463751256, 0.0678922683, 0.0306989662, 0.0255642571, 0.0154745709, -0.0157355927, 0.0256058946, 0.0883213952, 0.0004411575, -0.0646745637, 0.0568141043, -0.0194362253, 0.002804263, 0.0137366299, -0.0662294105, -0.0287072975, -0.0093046241, 0.0107120629, 0.0067824139, 0.0107952338, 0.0236231424, 0.0334615037, -0.0327241085, 0.0612574108, -0.0088273007, -0.0486160368, 0.0002355248, 0.0240643322, 0.0266292542, 0.0253722947, 0.0040389397, -0.1126830503, -0.0622990578, 0.0113456734, 0.0119419396, -0.0749061853, -0.0357350893, -0.0165739339, -0.0118549773, -0.0529283211, -0.0305535626, -0.0541818999, 0.0195688065, 0.0196335129, 0.0187178999, 0.0133996503, 0.0261500962, -0.0277304053, 0.0104959561, 0.0211204085, -0.0059389044, 0.0066228504, -0.0668755397, -0.0139945531, -0.0297777709, -0.0221981257, 0.0207525156, 0.0531898327, -0.0064058695, -0.0104279667, 0.054409612, 0.0910758376, 0.030732628, 0.0427691564, 0.0129322987, 0.0090866303, 0.0057451432, -0.0306641255, 0.0240406394, -0.072941862, -0.0042573977, -0.0461844429, 0.0163962375, -0.0184723623, -0.0520347618, -0.0339114778, -0.0974953026, 0.0837117508, -0.0322919823, 0.0050173653, 0.0115018729, -0.0822891071, -0.0319034941, -0.0468630083, -0.0143707711, -0.0048755496, 0.0136506772, 0.0429236554, 0.0178489555, -0.085895434, -0.0130068948, 0.030747408, -0.0389494002, -0.0265666004, 0.0475307778, 0.0226063151, -0.0295722298, -0.0472300649, -0.1135484129, 0.0468925573, 0.0185988396, 0.0176464822, 0.0904448405, -0.0394822881, -0.0162903182, -0.0322546363, 0.0344887972, -0.0103995325, 0.0403557904, -0.0127950432, 0.007177284, -0.0111847222, -0.0615208223, -0.0199764762, 0.0662174076, 0.02463031, 0.0551302806, 0.0224945266, -0.0230193343, -0.0299835186, -0.0526339374, 0.0114888642, -0.0264401641, -0.0237686858, -0.0235091373, 0.0365372635, -0.0498462729, -0.0926368758, -0.0175343268, -0.0387265719, 0.0412002429, -0.0453051217, -0.0026382019, 0.0645091385, 0.0069472482, -0.0376894288, 0.0293901563, 0.000460158, 0.0369684696, -0.0349667519, 0.0523479432, 0.0423466116, -0.0285927244, -0.0325294025, 0.0110680042, -0.0308104102, -0.0313840434, -0.0265338682, 0.0248717852, 0.0294706598, -0.0175437927, -0.0188075472, -0.0254236348, 0.0454380065, 0.0527880751, -0.0545119457, -0.0284632985, 0.0591080748, 0.0600982346, -0.0008148627, 0.0250862464, -0.0084615573, 0.0270987786, -0.0388022326, -0.0465281717, -0.0724088997, 0.0047842008, -0.0372059904, -0.0111097842, 0.0647697076, 0.0290636159, -0.0289953053, 0.0267411899, -0.0647820681, 0.0011379197, -0.0190815665, -0.009755048, 0.0085448008, 0.0165494047, 0.0071678096, -0.0273617767, -0.0137326345, -0.0200803839, -0.0351856053, -0.0202480797, 0.0051194555, 0.0013736553, 0.0361127183, -0.0323166624, -0.001067244, 0.0243910737, -0.0485907421, 0.0413445272, 0.0056344345, 0.0246510822, -0.0335421339, -0.0058284793, 0.0043470128, 0.0387986787, -0.0313620418, -0.049155768, -0.0559457131, -0.0136409719, 0.0475829393, -0.012172373, 0.0037801357, 0.0005523344, -0.0328233577, 0.0229984391, 0.0195635241, 0.0209090002, 0.0035782268, -0.0518097766, 0.0093522817, -0.0138757555, -0.0611472204, -0.0089937402, 0.0456065312, 0.0035624097, -0.0280811545, -0.0416687913, -0.0786031038, -0.0203835312, -0.0356329568, -0.0127500147, 0.0539821088, 0.0414664298, 0.016114518, -0.0428268202, -0.0438046083, 0.067770049, 0.0077023013, 0.0102232182, 0.0016395958, -0.0016378826, 0.0666451827, 0.0117927827, 0.0860562027, -0.0144969029, -0.0249788389, -0.0289882515, -0.014166859, -0.0829997137, -5.783502368e-33, 0.0114622843, -0.1005198434, 0.0026988445, 0.0113531314, 0.0425272584, 0.0272946525, -0.0272245891, -0.0163215175, 0.0087180333, 0.047380019, 0.0149052432, 0.0298492387, 0.0129646007, 0.0048110588, 0.0089975176, 0.0116461022, 0.0177310202, -0.0134508451, -0.0119113224, -0.0062041846, 0.0292820428, 0.0091007622, 0.0239985287, -0.0897360146, 0.0771704391, 0.0099910991, -0.0560633764, 0.0057698921, 0.036301434, 0.0339880101, 0.0251151714, 0.0677417293, 0.0257835537, -0.0647219941, 0.010331613, 0.0045942585, -0.001144612, -0.0304636974, 0.0024413858, -0.0213561505, -0.0376408473, 0.0715855584, 0.0616391003, 0.0088498406, -0.0099531179, 0.018861996, 0.0695507899, 0.0144634573, 0.0352265798, -0.0170432013, -0.0265096165, 0.043776419, -0.0116580846, 0.0398194231, 0.0148396231, 0.0524343587, 0.0322657004, 0.0248380583, -0.0411074124, 0.0107385432, -0.0374327488, 0.0099969925, 0.013609915, -0.0305698477, -0.0539390668, 0.0572459176, 0.0032510404, 0.0096466588, -0.0288021676, 0.0201399196, -0.0177185293, 0.0598580912, 0.0898011625, 0.0888544619, 0.0460237823, -0.0315637775, -0.0429982953, 0.0464791358, 0.037664216, -0.0057315328, -0.0064209187, -0.0339862779, -0.039547585, -0.0052422066, 0.0001948308, -0.0391531102, -0.0263668504, -0.00640094, -0.0396704227, 0.0091889752, -0.0151551226, 0.0853732005, -0.0211881883, -0.0505726784, -0.0586358979, -0.0111364126, -0.0048168967, 0.0271637794, 0.0161929745, -0.0001807594, -0.0144400094, 0.0334915817, -0.0312299039, -0.0110604865, -0.0110318894, -0.0264354274, 0.0121067176, 0.0254001282, -0.0093612438, -0.0190629773, -0.0026745468, 0.0087412344, -0.0226070452, 0.0014933986, 0.0000040453, 0.0233417675, -0.0334411003, 0.0145822698, -0.0253855418, 0.0545107462, 0.0101030786, -0.0031816564, -0.020224303, 0.0004496564, 0.0029837859, -0.0476333089, 0.0299736373, 0.0018113304, 0.0171393864, -0.0219139419, -0.0123187089, -0.0114931175, 2.51e-7, 0.0108500374, 0.056623064, -0.0215009246, -0.0063574817, 0.0335376449, 0.0716528147, 0.0304037575, 0.0100403512, 0.0077763502, -0.0687291995, 0.0219976623, 0.0302101243, 0.0331916995, 0.0185477082, -0.0259335078, -0.0584104545, -0.0695604235, 0.0077263857, -0.0628601983, 0.0425576381, 0.0081878779, 0.0103027616, 0.045853544, -0.0312163848, -0.0126592778, -0.0354674235, 0.0434001721, -0.0127495043, -0.0050859796, 0.0106097553, 0.0782611519, -0.0293295179, 0.0062006833, 0.0249652267, -0.0283298306, 0.0050909375, 0.0062533617, 0.0105832927, 0.019496236, 0.0305205472, 0.0019888189, -0.0226525925, 0.0122167002, -0.0118253231, -0.0011339504, -0.0543545522, -0.058823172, -0.0853401199, -0.0510167368, 0.0050489674, 0.0452328287, 0.015845526, -0.0231139343, 0.0206127856, -0.0051420238, -0.0171726402, 0.0158060864, -0.0271334071, -0.0232364554, -0.0055124029, -0.0457732677, 0.0446227752, 0.007114314, 0.0072085829, 0.0402787589, -0.0397118963, 0.0675038025, 1.713586762e-34, 0.0379993059, 0.0015873538, -0.0254853349, -0.0336787254, 0.0830912292, 0.0423178002, -0.0140826618, 0.0046376581, 0.0437433757, -0.0062357467, 0.0041652313 ]
http://arxiv.org/abs/2406.11290v1
http://arxiv.org/pdf/2406.11290v1
Iterative Utility Judgment Framework via LLMs Inspired by Relevance in Philosophy
2024-06-17T07:52:42
2024-06-17T07:52:42
Hengran Zhang, Keping Bi, Jiafeng Guo, Xueqi Cheng
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
Utility and topical relevance are critical measures in information retrieval (IR), reflecting system and user perspectives, respectively. While topical relevance has long been emphasized, utility is a higher standard of relevance and is more useful for facilitating downstream tasks, e.g., in Retrieval-Augmented Generation (RAG). When we incorporate utility judgments into RAG, we realize that the topical relevance, utility, and answering in RAG are closely related to the three types of relevance that Schutz discussed from a philosophical perspective. They are topical relevance, interpretational relevance, and motivational relevance, respectively. Inspired by the dynamic iterations of the three types of relevance, we propose an Iterative utiliTy judgmEnt fraMework (ITEM) to promote each step of the cycle of RAG. We conducted extensive experiments on multi-grade passage retrieval and factoid question-answering datasets (i.e., TREC DL, WebAP, and NQ). Experimental results demonstrate significant improvements in utility judgments, ranking of topical relevance, and answer generation upon representative baselines, including multiple single-shot utility judging approaches. Our code and benchmark can be found at https://anonymous.4open.science/r/ITEM-B486/.
[ 0.0529933982, 0.0028162075, 0.0135553749, -0.0126746958, -0.0182441287, 0.0239387229, -0.0317439921, 0.0105232773, -0.0207266044, -0.0488635376, -0.0023755678, 0.0010956868, -0.0310049765, -0.0224339887, 0.0089790244, -0.0250031259, 0.0294887293, 0.0120549034, 0.0264430121, -0.0039246632, 0.0062590116, 0.00507107, -0.0317476019, 0.0072703739, 0.007630005, 0.0089510959, -0.0002404266, 0.0207607262, 0.032827843, -0.0453423858, 0.0323386863, 0.0308157559, 0.0249138214, -0.0292242821, 0.0000019329, -0.0914942026, -0.034587495, -0.0201205127, -0.0188877247, -0.0242302381, 0.0633753911, 0.0906632543, 0.0401940607, 0.0079857074, -0.0550859571, 0.0469124913, 0.0178574082, 0.0225172006, 0.039387349, 0.0506303832, 0.0250477362, -0.0115887886, -0.0105920471, -0.013926887, 0.0884263888, -0.051380638, -0.0139717665, 0.0494522676, 0.0164575446, 0.0630129799, 0.011474736, 0.0214513335, -0.0029852304, -0.0153381927, 0.0640853122, -0.0031105052, -0.0062569776, 0.0391686186, 0.0230305195, 0.0561452061, 0.0920512825, 0.0096239867, -0.0062292372, 0.0399662554, 0.0466042161, 0.0294484925, -0.0598620586, 0.0123397699, -0.0245974548, 0.0170055274, 0.0227980837, 0.0147019168, -0.0052253217, 0.0431878269, 0.0154256877, 0.0691073611, -0.021736877, -0.0126101607, 0.0011979818, 0.0242130253, 0.0049292552, -0.0225352366, -0.0004526989, 0.069414787, -0.0389416106, 0.010447464, 0.0274835788, 0.0055269701, 0.0393171571, -0.0206735563, 0.0155217135, 0.0157562438, 0.0221288092, 0.0007335218, -0.0080120713, 0.0200802796, -0.0089251725, -0.0083915852, -0.0908827484, 0.0244972669, -0.0492348857, -0.0347786359, 0.0043659126, 0.0957112536, -0.0282945, 0.0073722731, -0.0492452644, 0.0329988599, 0.0283781905, -0.0331526548, -0.0418994278, 0.0423451588, -0.0505670495, 0.0300753079, -0.0803780705, 0.0225418042, -0.049574472, 0.0020798868, 0.0072974334, 0.0142687839, -0.0022839231, 0.0352812409, -0.0041226936, -0.0339837708, 0.0349138714, 0.0383957922, -0.0069819763, -0.050475385, -0.0719399229, -0.0607779361, 0.0120132565, -0.0299410429, 0.0156547707, -0.0770640671, -0.0260033868, 0.0291625299, -0.0307947006, -0.0071441275, 0.0172282178, 0.0660462528, -0.0226226728, 0.0209769942, 0.025288539, -0.0018739883, 0.0199528169, 0.0138364462, 0.0310953185, 0.043093998, 0.0063553615, 0.0448646024, 0.0475477651, 0.0159543175, -0.0296333265, -0.0414688326, 0.0022488057, 0.0262739267, -0.0281118099, 0.0554893389, -0.035061352, 0.0136266071, 0.0188918244, 0.0240683295, -0.0287391413, 0.0223942995, 0.0400860123, 0.0326716676, 0.0516422689, 0.0083344588, 0.0069051157, 0.0151968738, -0.0055469121, 0.0446787849, 0.0037828404, 0.0785960555, -0.0608966798, 0.0070638116, 0.0150134182, 0.0017604157, -0.0315085351, -0.0706693232, 0.0015839052, 0.0290837716, -0.0288747605, 0.042518992, 0.0258091986, 0.0320706442, -0.0316244476, 0.0056589516, 0.0034774302, -0.0661830157, 0.0164898839, -0.0515890643, 0.0735234767, 0.0951358229, 0.0893527418, -0.0432335399, -0.0382732861, 0.0034861641, -0.0037111866, 0.0310783423, 0.0271010082, -0.040082816, -0.0278550684, -0.0549336895, -0.0319081284, -0.0434131809, -0.0303000938, -0.0019818782, 0.0182234086, 0.0178719033, 0.0183597635, -0.0887108445, 0.0146910641, 0.0341986977, 0.013200298, -0.0382692665, 0.0265144985, -0.0028873717, 0.0075301421, 0.0243245717, 0.0093804328, 0.0293732584, 0.0189579204, -0.0103995148, -0.0279268976, -0.0106230946, -0.0254630353, -0.0080795819, 0.0289301611, -0.0233092308, 0.0097098304, 0.0112757506, -0.0141751803, -0.012509726, -0.0095422519, -0.0500992611, -0.0177892931, -0.058347635, -0.013139952, 0.0099889124, 0.0132758263, -0.0964906812, 0.0895976946, -0.008823581, 0.0510989614, 0.0519698337, 0.0021282183, -0.0116936918, -0.0379296057, -0.0168957487, -0.0144773182, -0.0070237829, 0.0132431565, 0.0436389111, 0.0413863845, -0.062341854, -0.0006807854, -0.0526025668, 0.017124448, -0.024501102, 0.0432033837, 0.0034998485, -0.0049312552, 0.0119731948, -0.0109085562, -0.0445794836, -0.0033217093, 0.0083608953, 0.0306613799, 0.0644126013, 0.028488202, 0.0277703982, -0.0261907298, -0.0015525938, -0.0019216668, 0.0151176704, 0.0201187246, 0.0436458774, -0.0449953713, 0.0203637648, -0.0686441287, -0.0489285178, 0.0149494298, 0.0218476001, 0.030449478, -0.0033985744, 0.1128673181, 0.0251318514, 0.0480735302, 0.0186738893, 0.016202122, -0.0205481816, -0.0877611563, 0.013953845, -0.0503448956, 0.0011755651, -0.0074198316, -0.0574345812, 0.0362521149, -0.0152690951, -0.0203972459, -0.0112610459, -0.0334244557, 0.042750366, 0.0119295316, -0.0148696396, -0.0598321371, 0.036360871, -0.0012611573, 0.0330681391, 0.007255618, -0.0343939587, 0.0796237811, 0.0110160355, 0.0001819419, -0.0652751178, 0.008219894, -0.0774970353, 0.048555471, -0.0296160858, 0.0129780052, -0.0643601045, -0.023657877, -0.0237212256, -0.016281398, 0.0112431925, -0.0613769107, 0.0675495043, -0.0467908941, -0.0066683744, -0.007115975, -0.0085844882, -0.0319725238, -0.0246861447, 0.0394190885, -0.0142616583, -0.0458929352, 0.006572945, -0.0116016259, -0.020165734, 0.0529875569, -0.0341034271, -0.0296995882, -0.0555996895, 0.0059129144, 0.0655011684, 0.0618153512, 0.0242017061, 0.0378156193, 0.0266514793, 0.0032827014, 0.0639087185, 0.0371899121, -0.0249424987, 0.0381925553, 0.0027657694, 0.0712845251, -0.0704119802, 0.0082639726, 0.0244806111, 0.0072397934, -0.0228939001, -0.042660635, 0.0802250281, 0.0332962349, -0.0354664214, -0.0119190188, -0.0711834803, 0.0397093073, 0.0209929552, 0.035226319, -0.039316766, -0.0108594252, 0.0105757201, 0.0812606215, -0.0288349707, -0.0371438265, -0.0124743143, -0.0882569328, 0.020649109, -0.0236927718, -0.0008540964, -0.001433774, -0.0353172161, -0.0054225479, 0.0100790197, -0.0284342486, 0.0670828298, -0.0449718945, 0.0327979587, 0.0322736874, 0.0481434762, 0.0041875141, 0.0067441305, 0.0069998023, -0.0117422938, 0.071005173, 0.0118484469, -0.0121304477, -0.0418600813, 0.0075595276, -0.0621475428, 0.0095267585, -0.0260539278, 0.0258847028, -0.0237558261, 0.0313222557, -0.0908293128, 0.0327892341, -0.0306490082, -0.0283306278, 0.016688874, 0.0305588916, -0.0474578701, 0.0070539466, -0.082011506, 0.0266973283, -0.0119854631, 0.0842449963, 0.0122690685, -0.0403109118, -0.0151775656, -0.0350217186, 0.0063786949, -0.0746584386, -0.0432474799, 0.0101109175, -0.012444362, 0.0172444452, -0.0736320317, -0.0478780866, -0.0355027393, 0.0163733047, -0.0230317079, -0.0002861448, -0.079457432, -0.001920631, -0.0616956018, 0.0074765184, -0.032855656, -0.0119098676, -0.046214018, -0.0084043937, 0.0516987145, -0.0931830779, -0.0093246503, -0.0149931274, -0.0093019605, -0.0117532462, -0.0273783058, 0.0439575352, 0.0181212444, -0.0055109994, 0.0088318158, -0.0057657305, 0.0429402925, 0.0661177114, -0.0040973024, 0.0245987587, 0.0010351416, 0.0386845917, -0.0020814918, 0.0029768539, -0.0559821241, 0.0192295853, -0.0135369832, 0.0844424516, 0.0140174497, -0.0478932075, 0.0424081534, 0.0247943327, -0.0192918591, 0.0112882117, -0.0058149756, -0.02650363, 0.0062375949, 0.0186375976, -0.024361629, -0.0153567223, 0.0209176708, -0.0134927006, -0.0140369013, -0.016663691, 0.0113863489, -0.0207059011, 0.0619775765, -0.013772144, 0.0000037657, -0.0034855376, 0.0067285253, -0.0080600586, -0.0132653108, -0.0366207287, -0.0090626758, -0.0196161605, 0.0433680937, -0.0015380116, 0.0728151277, 0.0200454183, -0.0009249367, 0.0284537245, 0.0165372808, -0.0716806948, 0.0069545191, -0.0263660178, -0.001294183, -0.0174465012, 0.0376867764, 0.045896776, -0.0137061477, 0.0008040855, -0.012012518, 0.0122319041, 0.0018896977, -0.0211369172, 0.0232995898, 0.0320235305, -0.0080124829, -0.0328332745, 0.057460729, -0.0467613265, -0.0043793758, -0.0144730425, -0.0540254377, -0.0490918569, -0.1061574072, -0.0181504395, 0.0170687474, 0.0112152612, -0.0111849289, -0.064172402, -0.008659767, -0.0140426653, 0.0300158858, 0.033735428, -0.0315747671, 0.0407085083, 0.0847532675, -0.0009726616, -0.0190576706, -0.0550569333, 0.0313733369, -0.0917183012, 0.0042303661, -0.0334832855, -6.064757759e-33, -0.0197536256, -0.0683694556, 0.0328461491, 0.0218804087, -0.0180342253, -0.0191620067, -0.0176657122, 0.0143878348, -0.0137155913, -0.0268487576, 0.0004983899, -0.0036702931, -0.0022340433, 0.0086423298, 0.0025975443, -0.0098816538, 0.0324776135, 0.0234376583, -0.0565073788, 0.0322600231, 0.0543572828, -0.0021424845, 0.0412419774, -0.0007611742, 0.0394323319, -0.0307988599, 0.0160540249, 0.0426031053, -0.0356800035, 0.0455697589, 0.0043839058, 0.0553837046, 0.0466840491, -0.0203972552, 0.0117900698, 0.019467758, -0.0807796195, -0.0542989448, 0.0191143006, -0.0249664262, -0.040525049, -0.0488721207, 0.0113921026, -0.0102448622, -0.016799273, 0.0042340769, 0.0510646477, -0.0336386897, -0.0077413693, -0.0849663541, -0.0253586527, 0.0177517403, -0.0195284504, -0.0184849966, -0.0498710833, 0.093829222, 0.0145400194, 0.052867163, -0.0308466349, 0.0632405579, -0.0500573888, 0.0425628014, 0.029766852, -0.0208569523, -0.0250889417, 0.0220546294, -0.0312253088, -0.0369527861, -0.0012558909, -0.056672357, -0.0212997105, 0.0152524356, 0.0263816118, 0.0445929728, 0.0352190398, -0.0048362659, -0.0450021103, 0.0866361484, 0.024695687, 0.0434701778, 0.033216957, 0.0006849816, -0.0072574373, 0.0054908376, -0.0320174396, 0.0446223952, -0.0499559902, -0.0501786657, 0.0480638444, 0.0063314806, -0.0279088356, -0.0128762731, 0.0221424717, 0.0034855204, 0.0000423755, 0.0432274602, -0.0310158692, 0.0135866972, 0.0053438898, -0.0052173752, -0.0342227146, 0.0029015157, 0.0174682569, -0.0233334918, -0.0349964909, -0.0056318152, 0.0138896843, 0.0104034301, -0.0218328647, 0.0079556592, -0.0119433831, 0.0454658195, -0.0242345016, -0.0141225988, -0.0053201714, 0.0069410526, -0.0059486781, 0.0502287894, 0.012055777, 0.01238761, -0.0586310402, -0.0281186588, 0.0041196169, 0.0233228579, 0.0052043903, 0.0382718071, -0.0110769589, 0.0674746037, -0.0522623584, -0.0193275381, -0.0176429022, 0.0525346063, 2.682e-7, 0.043910142, -0.0056380113, 0.0100788362, 0.0407348275, -0.0162513088, 0.0154067725, 0.0092825042, -0.0041609225, 0.0449017547, 0.0102188429, 0.0255963672, 0.0300117601, 0.0035534909, 0.0394755676, -0.060758058, -0.0604786761, -0.0046325405, -0.0287169423, 0.0013776124, 0.0028361087, 0.0846850723, -0.0037720727, 0.0055020582, -0.0233164579, -0.0065515498, -0.0384213403, 0.0457138121, -0.0322429091, -0.0034582054, 0.041735325, 0.0476814732, -0.0220727585, 0.0298579335, -0.0305098779, 0.032022424, 0.0016820504, 0.0130133387, 0.0206621792, 0.0226259865, -0.0953475535, 0.0034775436, -0.0111389766, 0.0417145155, -0.0329121575, 0.0472975187, -0.0115495007, -0.0239424184, 0.0275880937, -0.0574459434, 0.0085502388, 0.0038298268, -0.0234902352, -0.0343459398, 0.0062390543, 0.0039158491, 0.0103918733, -0.0421051085, -0.0612397864, -0.0120996581, 0.0232444927, -0.0456847064, -0.0427755453, -0.0360017084, 0.005195837, -0.0362280607, -0.0921368897, -0.0401653945, 2.409523958e-34, 0.0287605021, -0.0010137586, -0.0007984939, -0.0018381744, 0.0246001408, 0.0308979638, -0.0325902291, -0.006783247, 0.0184474736, -0.0609416664, -0.0196398832 ]
http://arxiv.org/abs/2406.11289v1
http://arxiv.org/pdf/2406.11289v1
A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Models
2024-06-17T07:52:32
2024-06-17T07:52:32
Haopeng Zhang, Philip S. Yu, Jiawei Zhang
cs.CL
cs.CL
Text summarization research has undergone several significant transformations with the advent of deep neural networks, pre-trained language models (PLMs), and recent large language models (LLMs). This survey thus provides a comprehensive review of the research progress and evolution in text summarization through the lens of these paradigm shifts. It is organized into two main parts: (1) a detailed overview of datasets, evaluation metrics, and summarization methods before the LLM era, encompassing traditional statistical methods, deep learning approaches, and PLM fine-tuning techniques, and (2) the first detailed examination of recent advancements in benchmarking, modeling, and evaluating summarization in the LLM era. By synthesizing existing literature and presenting a cohesive overview, this survey also discusses research trends, open challenges, and proposes promising research directions in summarization, aiming to guide researchers through the evolving landscape of summarization research.
[ 0.0392970294, 0.0245813448, 0.0280994829, 0.0116938762, -0.0226325318, -0.0003212978, -0.0149055691, -0.0477165692, -0.0167334955, -0.0259838142, -0.0069316034, -0.0237665996, 0.0346771479, -0.009616469, 0.0011121976, -0.1005281955, 0.0165024735, -0.0340963155, 0.0005693757, 0.0150122335, 0.0257642511, 0.004677583, 0.0197868291, 0.0349080376, 0.0194786601, 0.0122153824, -0.0084376726, 0.0088073891, 0.0478785783, -0.0079591637, 0.0107373241, -0.0211499296, 0.0294498671, 0.0217449367, 0.0000019139, -0.0596898645, -0.0139145209, -0.0288170408, -0.0069743115, 0.0459693111, 0.0446005017, -0.0385126621, 0.0189704113, 0.0070392946, 0.0035546415, 0.0035140421, -0.0061848024, 0.0497582965, 0.03806182, 0.0424586125, -0.0179590583, -0.0443941578, 0.0296393167, -0.0183668975, -0.0628034025, -0.0037793824, 0.01746873, 0.0066447938, -0.0141371563, -0.0162130203, -0.0170630589, 0.0552919246, 0.0125501379, -0.0006078026, -0.0298597403, 0.024958374, -0.0502600931, -0.0046437755, 0.0150060114, 0.0813372433, -0.0021087362, 0.0014459623, 0.0192878284, -0.0083110044, -0.0159561299, -0.0098275626, -0.0681602433, 0.0622105524, 0.0107981926, 0.0508427396, -0.0066146562, 0.0655055046, 0.0058625671, 0.0538377948, -0.0514086559, 0.0216018446, -0.0108480146, -0.0023841925, -0.0166031662, 0.0070414427, -0.0113759218, -0.030178437, 0.049103044, 0.0402808227, 0.0237802826, -0.0126016084, -0.0436230414, -0.0782608315, 0.026454458, -0.0263378881, 0.0178075619, -0.0019688148, -0.0007481551, 0.0528714433, -0.0101199588, 0.0102864141, 0.035270106, 0.0156520698, -0.0528767966, -0.0198900886, 0.0230367593, -0.0002434558, -0.0393712819, 0.0460209399, -0.0250327513, -0.0351619273, -0.0425753109, -0.0004702405, 0.0463267155, -0.0178651828, -0.0129674347, 0.0196666326, 0.0211502835, -0.0055284249, 0.00615955, 0.0227360055, -0.0260262992, -0.0183335096, 0.0041796854, -0.0095336679, -0.0037215457, 0.0373884514, 0.0196766555, 0.0128079057, 0.0393681452, 0.0190432388, -0.0016236149, -0.0572856888, -0.0059465985, -0.0031115932, -0.0227340739, -0.0562006123, -0.0101218, -0.0768805444, -0.0037096117, -0.0366786495, -0.0033004528, -0.0244043767, -0.0154113816, 0.0073174774, -0.0771738291, 0.0100376504, -0.0259375367, 0.0196687505, 0.048928462, 0.0135038421, 0.049859833, 0.0314609334, 0.0799359456, 0.0630300939, 0.0541737005, 0.0211682133, 0.0005602213, 0.0538442396, -0.0039495784, -0.0072507644, 0.005973964, -0.0354147591, -0.0523191914, -0.0124435648, 0.0024017771, 0.0801393092, -0.0440284982, 0.008639859, 0.0815100744, 0.0855656341, -0.0005233283, 0.0121393483, 0.041766502, 0.017130021, 0.0725425258, 0.0375155322, 0.0010415659, 0.0119491117, -0.0337062888, 0.0603626966, 0.1027249768, 0.0529243425, -0.0292396545, -0.0640196279, 0.0194394439, -0.0152673069, 0.0070180753, 0.0136483088, 0.0480258614, -0.0098219672, -0.0662350059, 0.0182328466, -0.0015759128, -0.0625933185, 0.018733291, -0.0130341416, -0.0033122997, 0.0509817004, 0.0391465016, -0.0690659583, -0.0130503448, 0.002369629, 0.0302027278, 0.0253137574, 0.0170291979, 0.0033567727, 0.0221201759, -0.0686258972, -0.0162598342, -0.0175098181, 0.0068360865, -0.0161502715, -0.0286415406, -0.0052954229, 0.029754132, 0.0014246968, -0.0656679049, 0.0278685875, -0.0226338413, -0.0243673697, -0.0102145886, -0.002857195, 0.0028532636, 0.0379201844, -0.0099876234, 0.020661965, 0.0321862623, -0.0333151147, 0.0183221381, 0.0030732243, -0.0392232873, -0.0259894039, 0.0060795196, -0.0671724007, -0.0055032885, 0.0325465687, -0.0359614566, -0.0505444072, 0.0210654419, -0.041468326, 0.0028480855, -0.0358089171, 0.0247631371, -0.0000887336, 0.0220850389, -0.0346096307, 0.0469181761, 0.0077837147, -0.0246033445, 0.0711228773, -0.0326962583, 0.003134178, -0.0294052605, -0.0305841044, -0.028532505, -0.0152542023, 0.0012439347, 0.0477573201, 0.0114117796, -0.0266792923, -0.0095601305, -0.0994925126, 0.0253899209, -0.0309922379, 0.008713129, 0.0324704684, 0.0322017074, -0.0161584169, -0.0119785052, -0.0125596356, -0.0483390801, 0.0314552598, -0.014781747, 0.0383651331, 0.0007252552, 0.044233948, -0.0897820741, -0.0366134234, -0.0081752827, 0.0535332412, -0.008029961, -0.0614253432, 0.0056575998, 0.0298489202, -0.0325645357, -0.0317662917, 0.0009697261, 0.0013292226, -0.0240928438, -0.0179064423, 0.071205005, 0.0420252755, 0.0451968499, 0.0127218757, 0.0390516035, -0.0114958137, -0.0237816107, -0.0150514161, -0.0445881933, 0.0411628261, 0.0084693916, -0.0312707052, 0.0313933603, 0.0493999943, 0.0117489556, -0.0069479863, -0.0134276599, 0.0204423945, -0.0268125255, -0.016504623, -0.0293912794, -0.0156198777, -0.0105450293, 0.0223119836, -0.0237744469, -0.0155227147, 0.0429190993, -0.0209059957, 0.0397886075, -0.0615621693, -0.0248690452, -0.0656472594, 0.0404684618, 0.0472528525, 0.0153543884, -0.0144962166, -0.0085846866, -0.0140613504, -0.0182378404, 0.014598594, -0.0183510892, 0.0783218741, -0.0516706705, 0.0230017863, -0.0406146795, 0.0102062104, 0.0044747209, -0.0612047538, -0.0503281951, 0.0198761281, 0.0419391803, 0.0268255956, -0.0210228767, 0.0240809508, 0.0146001941, 0.0634977147, -0.0203659441, -0.0119588235, -0.0241398457, 0.0677320659, 0.0662361681, -0.0234854687, 0.0680818856, -0.0524536222, 0.0113127939, 0.0305215623, 0.0205961764, -0.018475011, -0.0060766474, -0.0334999934, 0.00357799, -0.0840248168, 0.0374610052, -0.0094228545, 0.0494670197, -0.0331336781, 0.0178554878, 0.1148348227, 0.0164265465, -0.0171227213, -0.0188439488, 0.0382359065, 0.0097226035, -0.0326499566, -0.0217569042, -0.0366807953, -0.01446517, 0.0024080544, -0.0003296799, 0.0087531619, -0.0341264568, -0.0132325394, -0.0440650918, -0.0083406745, 0.0042546601, -0.0654913932, -0.0253034998, -0.0119505757, 0.0013278632, -0.0211776923, 0.0150671815, -0.0031669789, -0.0550540052, 0.0056536305, 0.0025336507, -0.1090812758, 0.0141801946, -0.034213163, -0.0453833826, -0.0085415281, 0.061598625, 0.0381729938, -0.0145480493, 0.0649845898, 0.0533207916, -0.0409972295, -0.0182578303, 0.0074446043, 0.1077834889, -0.0035199311, 0.0045092441, -0.0357886665, 0.0493515246, -0.009560124, 0.0070973635, 0.0208649021, -0.0176197905, 0.0095932297, -0.0598496757, -0.0652394071, 0.0676338598, -0.0543992333, 0.0734623894, 0.0457355715, -0.0151664605, -0.0479933582, -0.0363548584, -0.0078525785, -0.0822986439, -0.0485479981, -0.0083521791, -0.0091183055, 0.0142816091, -0.0511085205, -0.0715048909, 0.0293750688, -0.0445375219, 0.0067759412, 0.0211014282, 0.0095975986, 0.0025688272, -0.0208148621, 0.0062752026, -0.0243337322, -0.0054461658, -0.0421304703, 0.005751085, 0.08062388, -0.0297967643, -0.0118319523, 0.0201083254, -0.0826737657, -0.0456438959, -0.0246386006, 0.0498505272, 0.0164414477, 0.0583851188, 0.021797996, -0.0288555212, 0.0728178844, 0.0137688667, 0.0250724405, 0.0310873445, 0.0179205369, 0.0325997397, -0.0348448791, 0.0107696848, -0.0607073046, 0.0411773212, -0.0144298719, 0.0243299156, -0.0323284455, -0.0724334791, -0.0153131727, 0.0075852936, 0.0213736966, -0.0147019234, -0.0161641035, -0.0447972678, -0.0315308943, -0.0103322249, 0.0115876505, -0.0211311523, 0.0346012488, -0.0150606306, 0.0276238676, -0.0413719863, 0.080976285, 0.0228274073, 0.0094774291, -0.0385869294, 0.0312214307, -0.01836765, -0.0200051088, -0.0621698909, -0.0201502535, -0.0447698571, -0.0070121964, -0.0390937924, -0.0137922624, 0.0125859873, -0.0156714264, 0.0285986811, 0.0154673662, -0.0222699288, 0.0483120978, -0.0820956901, 0.0101012429, -0.058095526, 0.0215328187, 0.0561822504, -0.0530854017, 0.0796051249, 0.0170645006, -0.008759453, -0.0389536209, 0.0182153024, 0.062419802, 0.0233103931, -0.0709340349, 0.0118679339, 0.0149522135, 0.0322140381, 0.0637528971, -0.0060262056, 0.0191596709, 0.064076066, -0.0303923115, -0.0281864256, -0.0309797954, -0.0153395468, 0.0321881212, 0.0028691725, -0.040829014, -0.0478407294, -0.0068878666, 0.0512973517, 0.0276283491, 0.0025218865, -0.0296327174, 0.0204252545, 0.0010506466, 0.0095433099, 0.0379589945, -0.0405048095, -0.0262100995, -0.0046631997, 0.0075714709, 0.0065770587, -5.87526109e-33, -0.0166772828, 0.0089973323, -0.0421418548, 0.0157257803, -0.0547639243, 0.0131558962, -0.0640321225, -0.0286028534, -0.0038999736, 0.0002561379, -0.0043730875, -0.0072163036, 0.0237331279, 0.0539788082, -0.0138253653, 0.0256257504, 0.0521189198, 0.0066264803, -0.0288117714, 0.0351047404, -0.0175524708, 0.0267655775, 0.0331955813, -0.0277681202, 0.0193251483, -0.0193393584, -0.0010349875, -0.0141857471, 0.0508582741, 0.0303677544, -0.0112133836, 0.0081704818, 0.0479156598, -0.0147847421, -0.0508352742, 0.0306966417, -0.0975928605, -0.037945386, 0.0008115537, -0.0447174683, -0.0525538325, -0.034112379, 0.0557819456, -0.0038863816, 0.0085136471, -0.0368550308, 0.0837868303, -0.02911219, -0.0243436433, -0.0839384645, -0.0299900118, 0.0373077691, -0.0628883094, -0.0279695727, 0.036246147, 0.0491604246, -0.0053232098, 0.0475098751, -0.0418012217, 0.0608820431, 0.0566030964, 0.0154380416, 0.0206857715, 0.0364069939, 0.0139911585, 0.0520565175, -0.0195777174, -0.0029445363, -0.0531698056, 0.0268983264, 0.0387870818, -0.011376, 0.0263138209, 0.0296602547, 0.0130712269, 0.0349048972, -0.0654097348, 0.0874724537, 0.0077232532, -0.0191015955, 0.037107192, -0.0098043121, 0.0216742661, -0.0053404979, -0.0404973179, -0.0113085704, 0.0137189636, 0.0084651522, -0.0220581498, 0.022471929, -0.0754765645, -0.027300382, 0.0258111171, -0.0502641201, 0.0082193408, 0.0185800698, -0.0013321642, 0.0222658254, 0.0073452429, -0.0160050727, -0.0549937971, 0.0152812842, 0.0090437606, -0.0094487136, -0.0175895356, -0.0098678637, 0.043132551, -0.0008571903, -0.0070753316, 0.0073130778, 0.045289021, -0.0031251058, -0.0225638933, 0.0427282378, -0.030462496, 0.0100097861, 0.0245753378, 0.0407566242, -0.0007148746, -0.0178034808, 0.0091248918, 0.017603958, 0.0364640579, 0.0108215762, -0.0317409039, 0.0284169391, -0.016142603, 0.0256323051, 0.0488886349, -0.0480130427, -0.0079370048, -0.0043331385, 2.305e-7, 0.0803543702, 0.0193324126, 0.0952361897, -0.0273668468, -0.0281860083, 0.0067183618, 0.0158051755, 0.0149351014, 0.0080364663, 0.0167715028, 0.0660736337, 0.0560600571, 0.0374656171, -0.020653395, -0.0975933522, -0.0249203295, -0.0658092648, -0.0310730487, -0.0293721128, -0.029864721, 0.036691498, 0.0831238553, -0.0245268755, -0.0089104129, -0.0183707774, -0.02567783, 0.0210995264, -0.0371856131, -0.0161977392, 0.0447239764, 0.0234097596, 0.0116980635, -0.0413849615, -0.0347747654, 0.0027751797, -0.0050371704, 0.0771909133, 0.0510595404, 0.0294221733, -0.0021039462, 0.008205032, 0.0053794663, 0.0379684046, 0.0120292902, 0.065859139, -0.0647726357, -0.0010182686, -0.0153834205, -0.019651344, 0.0012256558, 0.0005277265, -0.0072552986, -0.042383533, 0.0604833625, 0.0043925587, -0.0039500818, -0.012414095, -0.0938603058, -0.0150251584, 0.0006271053, 0.0014777137, -0.010345987, -0.0136377774, -0.0233198795, -0.000568763, -0.0558004193, -0.0076657264, 2.035732367e-34, 0.0964710712, -0.0181997996, -0.0419626422, -0.0188686457, 0.007762548, -0.0312889926, -0.032518357, -0.0099444855, -0.0168231875, -0.0955688581, -0.005298411 ]
http://arxiv.org/abs/2406.11288v1
http://arxiv.org/pdf/2406.11288v1
MFC-Bench: Benchmarking Multimodal Fact-Checking with Large Vision-Language Models
2024-06-17T07:51:44
2024-06-17T07:51:44
Shengkang Wang, Hongzhan Lin, Ziyang Luo, Zhen Ye, Guang Chen, Jing Ma
cs.CL
cs.CL, cs.CV
Large vision-language models (LVLMs) have significantly improved multimodal reasoning tasks, such as visual question answering and image captioning. These models embed multimodal facts within their parameters, rather than relying on external knowledge bases to store factual information explicitly. However, the content discerned by LVLMs may deviate from actual facts due to inherent bias or incorrect inference. To address this issue, we introduce MFC-Bench, a rigorous and comprehensive benchmark designed to evaluate the factual accuracy of LVLMs across three tasks: Manipulation, Out-of-Context, and Veracity Classification. Through our evaluation on MFC-Bench, we benchmarked 12 diverse and representative LVLMs, uncovering that current models still fall short in multimodal fact-checking and demonstrate insensitivity to various forms of manipulated content. We hope that MFC-Bench could raise attention to the trustworthy artificial intelligence potentially assisted by LVLMs in the future. The MFC-Bench and accompanying resources are publicly accessible at https://github.com/wskbest/MFC-Bench, contributing to ongoing research in the multimodal fact-checking field.
[ 0.0320325829, 0.0474193878, 0.0132369949, 0.0809087157, -0.0655478686, -0.0115765044, 0.023700688, -0.0042919237, -0.0067875385, -0.0811588168, -0.0145674255, -0.0371456258, 0.0064949985, 0.0299922116, 0.0189529192, -0.0241918806, 0.0778783709, -0.0350216366, 0.0136458278, 0.004829186, 0.0236202832, 0.0094239395, -0.0325659961, 0.0343948342, -0.0734093487, -0.0449692458, 0.0269698165, 0.0104107978, 0.0344867371, -0.0108970189, -0.0275195632, 0.0325049646, 0.0462712646, 0.0508826934, 0.0000017405, -0.0270659011, 0.0251213908, 0.0060859025, -0.0108010443, 0.0037621125, 0.0126873767, -0.0425703675, 0.0085211601, -0.0143196443, -0.0261342302, -0.0263400655, 0.0405075587, 0.0471967198, 0.0854994506, 0.0632907897, -0.0024615314, -0.0022049954, 0.0062391525, 0.0151540954, 0.0031659813, -0.0340719037, 0.0057150219, 0.0437561385, -0.0272343829, -0.0011709883, -0.0435277596, 0.0447844006, 0.0280399546, -0.0294122528, -0.0250215288, 0.0353386477, -0.0318152532, -0.0281306859, -0.0053875241, 0.0889554024, 0.0052019134, 0.0015432268, -0.0256616455, 0.001058868, -0.0012331903, 0.0231793318, -0.0434173644, 0.0568368845, -0.0219522621, -0.0257624742, -0.0665304214, -0.0240338296, 0.0268689822, 0.0277941022, 0.0388767049, 0.0253673885, -0.0061602895, 0.0140069099, 0.0116461106, -0.0049157371, -0.0279412754, -0.0566603877, -0.0455191396, 0.0191774815, -0.0151779503, -0.0028698731, -0.0419600382, -0.0121396556, 0.0201606471, -0.0612699725, 0.0303369127, 0.0004642528, -0.078328833, 0.0827149078, -0.0134762162, 0.0537179038, -0.0476999059, 0.0401679873, 0.0121340351, -0.0395666547, -0.0183917657, 0.0230711531, 0.0139588965, 0.0027106721, -0.0419165008, -0.0372820348, -0.0272265542, -0.0067711226, -0.0409510359, 0.0543926917, -0.0233168527, 0.0171382912, 0.0104341134, -0.0218153428, -0.0789110139, 0.060943298, -0.01158664, 0.0267552324, -0.0064727743, -0.0624873787, 0.0050233938, 0.0393158793, -0.0160836689, -0.0312510058, 0.0199710187, 0.0396903679, -0.0288593862, -0.0138375089, -0.0357906185, -0.04718633, -0.046901539, -0.0877477229, 0.040228188, -0.0658629462, 0.0363311358, -0.0327938348, -0.0190558266, -0.0053708893, -0.0034343335, 0.0269561224, -0.0032593161, 0.1065483317, 0.0112278182, -0.0173017625, 0.0204736907, 0.0079446817, -0.0225561466, 0.0496950522, 0.0115721207, 0.0516149327, 0.0735805333, 0.0287541337, 0.0241054408, 0.0097276159, -0.0012117294, 0.0084552774, -0.0097130779, 0.012298475, 0.0169912186, 0.0315786079, 0.0229454748, 0.0508266464, -0.0266075321, -0.0712894201, 0.1147903129, -0.0077754613, -0.0232981071, -0.0364396237, 0.031474717, -0.0303127076, 0.0403926969, 0.0063554789, -0.0651405752, 0.0812566429, -0.0050513083, 0.0005820915, 0.0125867445, 0.0526908562, -0.0086455066, -0.0143717127, -0.0092606638, -0.0215221513, -0.0137886284, 0.0233261883, 0.0169664696, -0.0139914006, -0.0309397038, 0.0079797544, 0.0173927099, -0.0224444922, -0.0168524217, -0.0268170945, 0.0153846825, 0.0332529619, 0.0513977669, -0.0025538749, -0.0202713683, -0.0251797941, 0.032164555, 0.0319358073, 0.049829945, -0.0018542483, 0.0198572259, -0.0251214914, -0.0102908853, -0.0511883833, 0.0002182533, 0.0097285341, 0.0179693121, -0.0068559116, -0.0161847007, -0.0382318236, 0.0324550048, 0.0204131231, 0.0494260117, 0.0113878297, -0.0276001357, 0.018652549, 0.0267872624, 0.0012102879, -0.0306373313, -0.0132617336, 0.014872306, -0.0063310275, -0.0156696569, 0.028008271, -0.0383143835, -0.0291297529, 0.0558829196, -0.0640543178, -0.0438385867, 0.0406850763, -0.0498224013, 0.0147026898, -0.0093648629, -0.0284415856, -0.0249281917, -0.0775941461, -0.0294225328, 0.0096126497, 0.0262046941, 0.0289016962, 0.0621948279, -0.0426282249, -0.0297531914, 0.013598498, 0.0083850548, 0.0221300144, -0.0115501378, -0.0096135912, 0.0239571091, 0.0120278979, 0.0327332728, 0.0050915899, -0.0242789555, -0.0397656895, 0.0164108053, -0.0940249562, -0.0210956745, -0.0090028513, -0.0366568826, -0.0121704191, -0.0358894095, 0.0221475419, -0.0214999057, -0.0144306729, 0.0066693174, 0.0054892735, 0.0258746389, 0.0471129753, 0.0039421637, 0.0215827655, 0.0000516266, 0.0153615093, -0.0119850794, 0.0781031549, 0.0068135019, 0.0007144186, -0.0116542885, -0.0443474837, -0.0767925382, 0.0594842248, -0.0406964533, -0.0079942392, 0.0316824988, 0.0122659421, 0.0236800015, 0.0850691721, 0.0335610695, -0.0020017854, 0.039711602, 0.0070448429, -0.0103553934, 0.0111623611, 0.0113692582, -0.0347020142, -0.010909046, -0.0401604064, -0.0140351411, -0.0098043522, 0.0081119072, 0.0060808011, -0.0269988049, 0.0464782938, 0.0181349367, -0.0733733028, -0.0252576396, 0.0061161704, -0.0078515243, 0.0337022766, -0.0392106473, -0.0444266535, 0.0640086606, -0.0558510683, 0.0157605186, 0.0295895711, 0.0069611589, -0.0072378111, 0.0830937251, 0.0187922679, 0.0471321382, 0.0078516919, 0.0400246009, -0.040475551, -0.0526547469, 0.0657597259, -0.0123525942, 0.0554094128, -0.0690111294, 0.0232627839, -0.000792267, -0.0439862162, -0.0448396988, -0.0669980049, -0.0170568191, -0.0135399923, -0.0730429366, -0.0323392041, -0.0452148765, -0.0018479271, 0.07777448, 0.015587884, -0.0010221915, -0.0054458836, -0.0014149515, 0.042395819, 0.0490284786, 0.0580268577, 0.0257327128, -0.0291024223, -0.0275144558, 0.0790512338, -0.000491454, -0.0011189174, -0.0609364547, -0.0117958793, -0.0338202193, 0.0346447304, 0.0268827751, 0.0090975529, 0.0486171432, -0.0455592573, 0.0264309198, 0.0558379814, -0.0036914581, 0.0036045909, -0.0037606016, 0.0412936136, -0.0237166211, 0.0347431079, -0.0193405095, -0.0981543809, -0.0488988869, -0.0251121055, -0.0102987317, -0.0037941127, -0.0201051477, -0.0394903198, -0.1117675826, 0.0578139052, -0.0263741333, 0.0051893173, -0.0592262298, -0.0195978191, -0.0099313734, 0.0035299787, -0.0044560027, 0.006051138, 0.0373034924, -0.0131442435, -0.02135369, 0.022577865, -0.0242709946, 0.0561631918, -0.0521127656, 0.0044267499, 0.0022216609, 0.0168641265, -0.0193192754, -0.0621853434, 0.0054812278, 0.0242690351, -0.0149715282, 0.0103473673, 0.0706886649, -0.0469222702, -0.0331684723, 0.0106170466, 0.0038532524, 0.050082203, -0.0269683693, -0.0320268832, 0.048407387, -0.0060390402, -0.0176399071, -0.0386354662, 0.0223498344, -0.0103392247, 0.0361505374, 0.0042681419, 0.012010389, -0.0176445004, -0.016355928, -0.0383506604, -0.0196411777, -0.0193881858, 0.0239642877, 0.0364344604, 0.0104526831, -0.0700533912, -0.0084920926, -0.0128285289, 0.0659869835, -0.0575702339, -0.0236135107, 0.013721332, 0.0284473784, -0.0426363088, 0.0458405837, -0.036245238, 0.0530311093, 0.0000907124, 0.0419910997, 0.0363001935, -0.0530333109, -0.0134695787, 0.0422032177, -0.063271679, -0.0255855303, -0.0445652381, 0.075259015, 0.0123315332, 0.0407014042, 0.0146971149, 0.0042887628, -0.0114605529, 0.0197459832, -0.0214330535, 0.0588762201, 0.0169801395, -0.0234179348, 0.0001096532, 0.0204094648, -0.0181197822, 0.0055706399, 0.001162046, 0.012405145, -0.0140314866, -0.0274919327, 0.0143311778, 0.0388569906, 0.032660421, -0.0124220941, 0.0028462049, -0.0188640803, 0.0097385254, 0.0032402801, -0.0322299711, -0.0139910663, 0.0324218906, 0.0111265294, 0.009025909, 0.0067107887, -0.0009602383, -0.0075703468, 0.0242095888, 0.0110507607, -0.0160939228, 0.0416776314, -0.0197649747, -0.0206857808, -0.0066230861, -0.0368728861, 0.0099889236, -0.0237032268, 0.048170995, -0.0036174653, 0.084553495, 0.0489690974, -0.0473082922, -0.01843247, -0.0034787585, -0.0493992716, 0.0237411782, -0.0109170843, 0.0480249524, 0.0702210739, 0.0377781801, 0.001888029, -0.0383805297, -0.0307966899, -0.0188230798, 0.0029205759, 0.0107055325, -0.0230009966, 0.0622142889, 0.0191010404, 0.0041085072, 0.0404232703, 0.0264883004, -0.0079293614, 0.0357515402, 0.0116237449, -0.0238177814, -0.0500457026, -0.0531257018, -0.0091924267, -0.0011419898, 0.0053236345, 0.0028019689, -0.0671436861, -0.0655537099, 0.0375490412, 0.0509184636, 0.0130793201, 0.0244299155, 0.0180104114, 0.0700631887, 0.0575822443, -0.0302894209, -0.0173106622, -0.0208236948, -0.0057497183, 0.0292000677, 0.0188122932, -5.848167047e-33, -0.0011841339, -0.0426511653, 0.0238316003, -0.0256576426, -0.0095589049, 0.0316592865, -0.0049714213, -0.0101199914, -0.0605900288, 0.0192665327, 0.0311187003, 0.0086607663, -0.0020099194, 0.0114499889, -0.0314488821, -0.0111354832, 0.0196650885, -0.0131236799, -0.0613551661, -0.0232553836, 0.0448000655, -0.0363665074, 0.0394491889, -0.0521868914, 0.0277541634, 0.0265870728, -0.0571869947, 0.0394959114, -0.0399221145, 0.0708181262, -0.0248200037, 0.0479143523, 0.0245335605, -0.016654579, -0.0002017451, 0.0012424749, -0.0621151626, 0.0054975413, 0.0658895895, 0.004149369, -0.0762557462, 0.0252346322, 0.0094791297, -0.0160461403, -0.008167576, -0.0585422702, 0.0176171958, -0.0143894916, 0.0176285617, -0.0053487886, -0.035422653, 0.0068804701, 0.015244782, -0.0248526949, -0.0056449031, 0.0171443745, 0.0275187269, 0.0133105246, -0.0597982481, 0.0110130487, -0.0500286892, -0.0292872116, 0.0957990885, 0.0015008688, -0.0120556327, 0.077026397, 0.0058007664, -0.0012604381, -0.057276886, 0.0069534993, 0.0163522158, 0.0557353348, 0.0637695566, 0.1417930722, -0.001191249, 0.0110670989, -0.0549095981, -0.0172547288, -0.0003226118, 0.049821116, 0.0242626686, -0.0115609067, 0.0042837304, 0.0129836155, -0.0638704151, 0.0581184551, -0.0436488166, 0.0135972146, 0.040206451, 0.0193746686, 0.0047236294, 0.0385070182, 0.0472307205, -0.0424810573, 0.0159992687, 0.0165253673, -0.0142064216, 0.0542371087, 0.0126849171, 0.0362109058, -0.0268772971, 0.0511365235, 0.0594791174, -0.0155256717, -0.0020572813, -0.0005424746, 0.0557507016, 0.0296561811, -0.0314387195, 0.0207670778, -0.0294130314, 0.0187181197, -0.0285761505, -0.0050371536, 0.0224208515, -0.0033538183, -0.0594147593, -0.0081907427, -0.0185425151, 0.010910335, -0.0304792132, -0.0275512859, -0.0073768371, 0.0277168471, -0.0222054794, 0.0276741609, -0.0417898223, -0.0343053341, -0.0081916712, -0.0734812841, 0.0161944758, 0.0684735775, 2.455e-7, -0.0033117358, 0.0374433175, 0.009036798, 0.0278431829, 0.0088772243, 0.0613418147, -0.0246684141, 0.0125110121, -0.0182864945, -0.1113452092, -0.0325320736, 0.0636284351, 0.0326661132, 0.0410100743, 0.0260076579, 0.0217621848, -0.0233814809, -0.0611954778, -0.054194577, 0.0118654631, 0.0295177493, 0.052841235, 0.010694257, -0.0426539406, 0.0280088317, -0.0613771789, 0.0625524968, 0.0208579712, -0.0552705117, -0.0420948081, 0.0301982127, -0.0065906951, 0.0013667509, 0.0281520374, 0.0012846087, -0.0554909222, 0.0103760688, 0.0305490941, -0.0109268781, -0.050518807, -0.0614409894, -0.0042103869, -0.0328535587, -0.0364229754, 0.0686707646, 0.0003961968, -0.0236927941, -0.0620982759, -0.0260251816, 0.0172364358, 0.0418328829, -0.0165031105, -0.0432943329, 0.017800292, 0.0293855537, 0.0049101878, -0.0258180536, -0.0565734245, -0.0107907271, -0.0070775212, -0.0435634591, -0.0610859208, 0.0054496019, -0.0237123985, 0.0610070601, -0.050302051, -0.0534585379, 1.859280103e-34, 0.0496196672, -0.0308988765, 0.0154906427, -0.0520714112, 0.0254120193, 0.0182033069, -0.0590981506, -0.0345985778, -0.0023073319, -0.0252226498, -0.015686946 ]
http://arxiv.org/abs/2406.11285v1
http://arxiv.org/pdf/2406.11285v1
Self and Cross-Model Distillation for LLMs: Effective Methods for Refusal Pattern Alignment
2024-06-17T07:46:45
2024-06-17T07:46:45
Jie Li, Yi Liu, Chongyang Liu, Xiaoning Ren, Ling Shi, Weisong Sun, Yinxing Xue
cs.CR
cs.CR, cs.CL
Large Language Models (LLMs) like OpenAI's GPT series, Anthropic's Claude, and Meta's LLaMa have shown remarkable capabilities in text generation. However, their susceptibility to toxic prompts presents significant security challenges. This paper investigates alignment techniques, including Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF), to mitigate these risks. We conduct an empirical study on refusal patterns across nine LLMs, revealing that models with uniform refusal patterns, such as Claude3, exhibit higher security. Based on these findings, we propose self-distilling and cross-model distilling methods to enhance LLM security. Our results show that these methods significantly improve refusal rates and reduce unsafe content, with cross-model distilling achieving refusal rates close to Claude3's 94.51%. These findings underscore the potential of distillation-based alignment in securing LLMs against toxic prompts.
[ 0.0382680036, 0.0621730126, -0.0138966804, 0.0217257701, -0.0477212444, -0.0020123741, 0.0098561272, -0.0076855952, 0.003633718, -0.0145555194, -0.0367012173, -0.0475463122, -0.0025622288, 0.0435406379, 0.0046598497, -0.0026419575, 0.0313994251, -0.0629708767, 0.0197805874, -0.0157874394, 0.0245980471, 0.0029529841, -0.0070288274, 0.0464190245, 0.0165394954, -0.025425503, -0.0431002714, 0.0174460448, 0.0249493606, -0.0558492653, 0.0006843834, 0.0832520947, -0.0020341203, 0.0920368508, 0.0000022533, -0.0825222805, -0.0280388687, 0.0067264228, -0.0240361877, 0.0263238885, -0.006760281, -0.0239117965, -0.0249428824, 0.0428716429, -0.0247333813, 0.0451320447, 0.0622100607, 0.0573737882, 0.0856138617, 0.0517598391, 0.0129194483, 0.0222092643, 0.0214770529, -0.0221442003, 0.004150073, -0.0217819922, 0.0271155946, -0.0463119671, 0.0190009233, -0.01846743, -0.0287584551, 0.0136435069, 0.0173513442, -0.025401758, -0.0484304465, -0.0020493863, -0.0379846133, -0.0674513951, -0.0313316509, 0.0773018003, -0.0040216255, -0.0087759765, -0.0099095348, -0.0309155472, 0.0247911382, 0.04417786, -0.0252510104, 0.0493641198, -0.0071635479, 0.0227411538, -0.0196946394, -0.0024288304, 0.0174575485, 0.0220773797, 0.017304305, 0.0469126254, 0.0177652817, -0.0529122241, 0.0091693942, -0.0013003038, 0.0186665915, -0.0703730807, 0.0179606788, 0.0145125967, -0.0436881557, 0.0070994799, -0.077665858, 0.0160441604, 0.0579294972, 0.0057065189, 0.0489472151, 0.044628676, -0.0040488229, -0.0269618295, 0.0036933105, 0.0334494002, -0.0258543827, 0.0678595454, 0.0099750943, 0.057781551, -0.0271663424, 0.0020629754, -0.0356626958, 0.0358153395, -0.0415680632, -0.0129785212, -0.0521812551, 0.0354346, -0.0250017159, 0.0163682923, 0.0161241572, -0.0080311289, -0.0287414957, 0.0092368312, -0.0310813654, -0.0186508391, -0.0225046203, -0.0085822716, 0.0403329693, -0.0645328611, -0.026886398, 0.0006179062, -0.0156765357, -0.0380246565, -0.0205440577, 0.0864356682, 0.007221892, -0.0189581942, -0.057630375, -0.0604656115, -0.0418116786, -0.0518521816, -0.0093264757, -0.0489757918, -0.0178069193, -0.0391266607, -0.0302406438, -0.0735850856, 0.0022900754, 0.0301890243, -0.0146612069, 0.0592851341, 0.0004848919, -0.0218324792, 0.0232548509, 0.0333261564, -0.0162981134, 0.0595724881, 0.0314778648, 0.0686598197, 0.0369400233, -0.0032555559, 0.0666144565, 0.0236342624, 0.0472673811, 0.0520250872, -0.0230269544, -0.007673136, 0.0098285452, 0.0101384325, 0.0324548371, 0.0888666436, -0.0144170662, -0.0203779284, 0.1183236614, 0.030048864, -0.0156240324, -0.0033447722, 0.0135571994, 0.0158833675, -0.0266533494, 0.0423257463, -0.0703899041, 0.0207224116, -0.054504931, 0.0247004181, 0.0536841676, 0.0659845024, -0.0031800007, -0.0306664947, 0.0108839357, -0.0111424578, 0.0069241049, 0.0082185045, -0.0092396159, 0.0225688722, -0.0247863121, -0.0154763656, 0.0301015545, -0.04704706, -0.0214696992, -0.0860434026, 0.0491254553, 0.0643006712, 0.0607646182, 0.0180411674, 0.0192916542, -0.0292078108, -0.0306905471, 0.0575597323, 0.0350518189, 0.0059852777, 0.0089678252, -0.0498711951, -0.0567015931, 0.0053897616, -0.0089965872, 0.0090032881, 0.0167611726, 0.0409106649, 0.0223533921, -0.0009421066, -0.0376481935, 0.0467367023, 0.0002250463, -0.0834490955, 0.0058478513, 0.0351451971, 0.0359238312, 0.0025385653, -0.0081216637, 0.0228645764, 0.0108398227, 0.0234879851, 0.0165106952, -0.0622610822, -0.0453700125, -0.0148565434, 0.0324410535, -0.0090469476, -0.0109112486, 0.0310240649, -0.0241117459, -0.027088305, -0.0040009352, -0.0153607754, 0.0076359296, -0.0477972068, 0.0417260602, 0.010379496, 0.0281321537, -0.0447778255, 0.0269932821, -0.0144052012, -0.0285679922, 0.0324358605, -0.0120718619, 0.0214880127, -0.0488596037, -0.0452485234, 0.0160362814, -0.0133495256, 0.0494732559, 0.0425007865, 0.0377686173, -0.0325890593, -0.0213395879, 0.0074936226, 0.0047482187, -0.0142178144, 0.0147207184, 0.0022469729, 0.0136692571, -0.0426152833, -0.0082418937, -0.0371371992, -0.0384575762, 0.0105803153, 0.0140579417, 0.0253994744, -0.0024872327, -0.0507351048, -0.043667689, -0.0023251621, 0.0010774105, 0.0154282292, -0.0113928178, 0.0248304848, -0.0412412658, 0.0319557488, -0.0311166402, 0.0230264813, 0.0363554545, -0.0486116149, 0.0421111435, 0.0169938989, -0.012552727, 0.0444213375, 0.0219273586, 0.0254478753, 0.0801080912, 0.0205389597, -0.0507403873, 0.0083077829, -0.0018362866, -0.0189804398, 0.0017871202, -0.0237897411, 0.0317816883, 0.0524422601, 0.0205210578, -0.0088987621, -0.0573323071, 0.0598444268, 0.0201151241, -0.053640265, 0.013485699, -0.0179438163, -0.05908411, 0.0349766202, -0.0211929884, -0.0897082165, 0.0905438289, -0.0605310015, 0.0336411893, -0.0193297602, -0.0223748274, 0.0124749439, 0.0404568203, -0.010969175, 0.0259266254, 0.069791764, -0.0043825689, -0.0658774748, -0.0295444429, 0.0436731577, -0.0162794217, 0.0165069457, -0.0412013941, -0.0129403723, -0.0244414397, -0.0464839041, -0.066115059, -0.0541311316, -0.0065717301, -0.0078935195, 0.0131681645, -0.0202035122, -0.002410939, -0.0131849423, 0.0121751204, 0.0052702674, -0.0282052942, -0.0157292932, -0.0430794656, 0.030534042, 0.0785417035, 0.0039450442, 0.0159227829, -0.0291439556, 0.0439603031, 0.0506654605, 0.014030939, 0.0114482259, -0.0036271948, 0.0206339639, 0.0258150641, -0.0266991761, 0.0016237628, 0.0659028664, 0.0289611965, -0.0286249928, -0.0272990447, 0.0594710112, 0.0249589197, -0.0060599805, 0.0079138232, -0.0115542505, 0.1109485999, -0.0097007109, 0.0136888027, -0.0750366971, -0.0176698416, 0.0265083946, 0.0762388706, -0.0278278943, -0.0046710931, -0.0319339819, -0.1259200275, 0.0411059447, 0.0173164345, -0.0466793664, -0.035655465, -0.0046862294, -0.0120595004, 0.0136368573, 0.0423392281, 0.0035706188, -0.0067538633, 0.0055312915, 0.0254163891, -0.0096606975, -0.0498550683, -0.0122249648, -0.0379839465, 0.0479355007, 0.0704728812, 0.0017204051, 0.0178037304, -0.0543753207, 0.0345014632, -0.0197924394, 0.0003444373, 0.0031500598, 0.0191685166, -0.0087964982, 0.000691008, -0.0282030515, 0.0525901057, -0.006251331, -0.0488679297, 0.0272636469, 0.0786291063, -0.0193715934, -0.0101764016, -0.0493503921, 0.0005375139, 0.0511069819, 0.06788674, 0.0468204319, -0.0576210544, -0.0359171294, -0.0499734245, -0.0217376165, -0.0628107488, -0.0055096932, 0.0270563513, -0.0158377625, -0.0169364009, -0.0692368373, -0.017572483, -0.014604196, 0.0586921237, 0.0244156327, -0.0077615683, 0.0066169314, 0.0281044636, 0.0088234395, -0.0141995503, -0.0405970551, 0.0161455255, -0.0954106003, 0.0171437617, -0.0308862161, -0.0580446571, 0.0011167222, 0.0261082407, -0.0563177243, -0.1030791998, 0.0016956102, 0.0716561973, 0.0372925289, 0.0217141099, 0.0067137592, -0.0628284067, 0.0890409425, 0.0495000072, -0.0019451736, -0.0008424611, 0.0234042369, -0.0172939487, -0.0096432278, 0.0147169391, -0.0252827108, -0.0103572942, 0.0448509082, 0.0314470232, -0.024730552, -0.0371713787, 0.0290251933, 0.0524372049, -0.0057936246, -0.0453063399, 0.0269785076, -0.0374905765, 0.0384119116, 0.0087217288, 0.0035652365, -0.0235599503, 0.0050622704, 0.0309774987, -0.0457847342, 0.023138836, -0.0322367884, -0.0208755024, 0.035183534, -0.0242903065, 0.0284566246, 0.0024864958, 0.0682028681, 0.0395618044, 0.001686429, 0.0020502836, 0.0555902421, -0.0150839482, 0.0266962983, 0.0068068062, 0.0696150288, 0.0103678377, 0.0352424607, 0.0043717423, 0.0541287884, -0.0602883063, -0.0518052727, -0.0305708852, 0.0173947997, -0.003608312, 0.0194239095, 0.0146810804, -0.0211122427, 0.0049562925, -0.0311039444, 0.0278198998, 0.0066585178, -0.0122354683, 0.027242871, -0.0027063896, -0.025827352, -0.0187958535, 0.0656171739, -0.009072002, 0.0201182347, -0.0097587872, -0.0173700191, -0.0401670709, -0.0429042466, 0.0377680883, 0.0097504761, -0.0364441872, -0.0555637181, -0.0715631917, -0.0681892633, -0.0384808369, 0.0380924307, 0.009873746, -0.0063737044, 0.0209500808, 0.0131380726, -0.0064169676, 0.0015786773, -0.028531488, -0.024016086, 0.0129253259, -0.0378327072, -0.0088439239, -6.456588597e-33, -0.011153358, -0.0290085487, -0.004611813, 0.0018573322, -0.004268399, -0.0323034152, -0.0123233125, 0.0056128036, 0.0172299203, -0.008935798, -0.0342761874, -0.0204345174, 0.019901393, 0.0266622715, 0.0004195068, -0.0111124953, 0.0347657874, -0.0110235047, -0.0620690472, 0.0229995921, 0.0336836576, 0.01238521, -0.0183298048, -0.0585419796, 0.0297838692, -0.014297314, -0.0421822779, -0.037167836, -0.0741545781, 0.0901683867, -0.0172411483, 0.0311481655, 0.0052884934, -0.0237530693, -0.0108776558, 0.0721877888, 0.0004812046, -0.0385583825, 0.000394401, -0.0263041258, -0.0155940317, -0.0721651614, 0.0470751561, -0.014324706, -0.0489874221, 0.0340468623, -0.0110390466, -0.0111160967, -0.0271404367, -0.0253880695, -0.0653355867, 0.0064235185, -0.0053395354, -0.0557052344, 0.0031900692, -0.0024444619, 0.0048460821, -0.0147209447, -0.0204664785, 0.0461407304, 0.0518816635, 0.0230731703, 0.065531753, 0.015754072, -0.0395075344, 0.0483289137, -0.0198762603, -0.028632367, 0.0367675275, -0.0439575016, -0.0004789958, 0.0511568934, 0.0011017725, 0.0669421256, 0.0437168069, -0.0277205985, -0.0377358422, 0.0632129014, -0.0056297309, 0.0156982057, 0.0322464146, -0.017178962, -0.0190125201, -0.0034745601, -0.0290092062, -0.0201830249, -0.0282816347, -0.0288064927, 0.0627239645, 0.0203654431, -0.0419993661, -0.0420534983, 0.0212800093, -0.0392194688, -0.0364354253, 0.0080275396, -0.0266997404, -0.0189223774, -0.011110981, -0.013434859, -0.0392434038, -0.0186850578, 0.0191212371, -0.0307201222, 0.0215790682, 0.0089274198, 0.034181457, 0.0450314134, -0.0940202549, 0.0359098874, -0.0264897067, 0.0647144392, 0.0453156941, 0.0182229392, 0.0254676994, -0.0695428252, 0.0055068526, -0.0120390076, 0.0056508025, -0.0411882587, -0.0593913831, 0.0349079631, -0.0008058622, 0.0360554196, 0.0039896416, 0.0245309155, 0.0072347512, 0.0482702553, 0.0415764935, -0.04783969, -0.0043051047, -0.0141183147, 2.973e-7, -0.0142972497, 0.0102005489, 0.0516294986, 0.0181194134, -0.001995089, 0.0573955774, -0.0202205423, 0.0640286803, -0.025469128, -0.0265172347, 0.0112151615, -0.0119489143, 0.0510042943, 0.027322676, -0.0478231683, 0.028625695, -0.0896267593, 0.0316586345, -0.067083925, -0.0050630504, 0.0543858632, 0.0842365921, -0.0128800636, -0.0389929935, 0.0198862664, -0.0365216397, 0.0300502367, 0.003235708, 0.016847536, 0.0152829802, 0.0253541898, -0.0259980094, -0.0040166476, 0.0047531966, -0.0365154818, 0.0068395324, -0.0556647927, 0.0358596779, 0.0163960457, -0.0424478762, 0.008904079, -0.0067563485, 0.0090530403, -0.0552382134, 0.0380278714, 0.0255912133, -0.0037516218, -0.0217229128, 0.0297332853, -0.0612257309, 0.0444579199, -0.0412067734, 0.0079502258, 0.0145436209, -0.0025334654, 0.0222369675, 0.0050179833, -0.0418884903, -0.0065938542, -0.0563183911, -0.0060068928, -0.0492169075, -0.0392293707, -0.0040212502, 0.0073502148, -0.0495917685, -0.001890311, 2.998893867e-34, 0.0203045849, -0.0563948564, 0.0316279009, 0.0098673338, 0.0228676666, 0.0230209436, -0.0072379406, 0.021397246, 0.0276761055, -0.0188128427, -0.0442475565 ]
http://arxiv.org/abs/2406.11278v1
http://arxiv.org/pdf/2406.11278v1
Do Not Design, Learn: A Trainable Scoring Function for Uncertainty Estimation in Generative LLMs
2024-06-17T07:30:40
2024-06-17T07:30:40
Duygu Nur Yaldiz, Yavuz Faruk Bakman, Baturalp Buyukates, Chenyang Tao, Anil Ramakrishna, Dimitrios Dimitriadis, Salman Avestimehr
cs.CL
cs.CL
In this work, we introduce the Learnable Response Scoring Function (LARS) for Uncertainty Estimation (UE) in generative Large Language Models (LLMs). Current scoring functions for probability-based UE, such as length-normalized scoring and semantic contribution-based weighting, are designed to solve specific aspects of the problem but exhibit limitations, including the inability to handle biased probabilities and under-performance in low-resource languages like Turkish. To address these issues, we propose LARS, a scoring function that leverages supervised data to capture complex dependencies between tokens and probabilities, thereby producing more reliable and calibrated response scores in computing the uncertainty of generations. Our extensive experiments across multiple datasets show that LARS substantially outperforms existing scoring functions considering various probability-based UE methods.
[ 0.0314182565, 0.1248000637, -0.0054410333, 0.0161744673, -0.0249590799, 0.0145602012, -0.0036611042, -0.0187364779, -0.0505630746, -0.0320457071, -0.0039711879, -0.1056960523, 0.0048215329, 0.015853852, 0.022045223, -0.037294697, 0.0326495953, -0.0409416296, 0.0386887565, -0.0323851854, -0.0211182833, -0.0045453315, -0.001134606, 0.0485275909, -0.0597502887, 0.0127695585, 0.0238519385, 0.0241536144, 0.0282301754, -0.016096171, 0.0222337861, 0.0539301895, -0.0130054327, 0.0515987948, 0.0000016766, -0.0671828911, -0.0149703063, -0.0051713535, -0.0120587964, -0.0082197888, 0.0751166493, 0.0437744707, -0.042627506, 0.0252556242, -0.0247563906, -0.0028175022, 0.0383216366, -0.0089788698, 0.0020300071, 0.0554964691, 0.018845465, -0.0564397536, 0.0452024043, -0.045861531, 0.0550886542, -0.0475858189, 0.0143732363, 0.0057098176, -0.0696809515, -0.0218300633, -0.0151123581, 0.0426324382, 0.0044790129, -0.0475328229, -0.0047546597, -0.0016989678, 0.0161207952, -0.0431808084, 0.0316469707, 0.0300971381, 0.0173588488, -0.0115559679, -0.0334918573, -0.0190098099, 0.0111917341, 0.0218311846, -0.023645224, 0.0435252376, 0.016084332, 0.0267852675, 0.0232676342, 0.0070846905, 0.0286082216, -0.0135492049, -0.0063589285, 0.0825851485, 0.0380756818, 0.0142953359, -0.0225433987, 0.0197873339, -0.0296080168, -0.0328672864, -0.0138181094, 0.0374926738, -0.0496750511, 0.0334691107, -0.0375518389, -0.0237959586, 0.0245404337, -0.0045935363, 0.0140595026, 0.0117877387, -0.0004896456, 0.0124042248, -0.032329794, 0.0233967714, 0.0427069031, -0.0514077768, -0.0515205637, -0.0362082198, -0.009715789, 0.0036702033, -0.0073890081, 0.0135106659, -0.0293194372, 0.0138939964, -0.0832777768, 0.0266845338, -0.0155219818, 0.0054262872, 0.033851169, 0.016271824, -0.0468916893, -0.020913098, -0.0510438271, 0.0092429006, -0.0202920306, -0.006673113, -0.0116349533, -0.0707487091, 0.0186051019, 0.0322525352, -0.0025389728, 0.0265482217, 0.0005729617, 0.0669621974, -0.0063892142, -0.0252839942, -0.0327556543, -0.0016883352, -0.0616188273, -0.071871452, -0.0040510022, -0.0620788485, -0.0207559895, 0.0109531889, -0.0091915419, -0.0644182935, 0.0161304586, -0.0029834895, -0.0343985446, 0.0480758473, 0.0203768928, 0.0235995799, 0.0099063246, -0.0137569625, 0.0004943738, 0.0893275514, 0.0610661991, -0.0010868892, 0.0444089547, 0.0376458131, -0.0045375652, 0.0307060182, 0.0105528124, 0.0068837339, -0.0118264491, -0.0098828059, 0.0072620255, 0.0274787042, 0.044586502, 0.0509302802, 0.0161817446, 0.0147197554, 0.0732510909, 0.018693706, -0.0076865936, -0.0194813851, 0.0447395965, -0.0160980839, 0.0058881463, -0.0001294291, -0.0178839043, 0.0218550414, -0.007579281, 0.0282961912, 0.0436956771, 0.0329396613, -0.0086045386, -0.0876992643, -0.0209061671, -0.0151977688, -0.0311020836, 0.016930975, 0.0628830567, -0.0121986838, -0.0220271349, 0.0254515372, 0.0141361579, -0.0478660166, 0.0489868261, -0.0704548806, 0.0772683844, 0.0420064777, 0.0361604244, -0.0163535923, -0.0192454308, 0.0131329792, -0.0197603051, 0.03650916, 0.001824746, -0.03008903, 0.032353092, -0.0352246165, -0.0281473193, 0.0249004997, 0.0407945774, 0.0160612427, 0.0198563244, -0.0146615952, 0.0399766341, -0.0441722386, 0.0122911641, 0.0219278354, 0.0194663927, -0.0109048961, 0.0564892329, -0.029456133, 0.0559831336, 0.0146006029, -0.0117544532, 0.0388096757, 0.0311319251, -0.0204370935, -0.0204466134, -0.0147129456, -0.0318906046, -0.0029168387, 0.0656101033, 0.0028222811, -0.0305554755, -0.0322735421, -0.0527186915, -0.0581935234, 0.0377736725, -0.0454883575, 0.0104299011, -0.0479906425, 0.032824412, 0.0009574147, -0.0135218976, -0.0774929002, 0.0755367056, -0.0174671244, 0.0285943821, -0.0004693634, 0.0108641787, 0.029165145, -0.0290493798, -0.0386406258, -0.0172349401, -0.0089289527, -0.0023368252, 0.042085357, 0.0150631564, -0.0247047506, -0.0170962587, -0.045349516, 0.0034829776, -0.0257082805, 0.0517731011, 0.0025817985, -0.0009485847, -0.0221663378, -0.0049118819, -0.0389489271, 0.0221525859, 0.0138963321, 0.0124805542, 0.0245397352, -0.0153874056, -0.0075980122, -0.0589044616, -0.0167630911, 0.0057092127, 0.0196591653, 0.0094516445, 0.0046527386, -0.0754850805, 0.0415670834, -0.0565252975, 0.020641081, -0.0002524366, -0.0404110141, 0.0267038438, -0.010482287, 0.1044877395, 0.0153436614, 0.0246771425, -0.0175185204, 0.0343134664, -0.0373623259, -0.047200948, -0.0052943532, -0.0617991574, -0.0535073839, -0.0316896848, -0.0345614478, -0.0227375161, 0.0480861738, 0.0014984941, -0.0683572218, -0.0563460402, 0.0231604632, -0.018858131, -0.0184921902, 0.0098433513, 0.0161597021, -0.022674175, 0.0407312028, 0.0009758453, -0.0701549128, 0.0591917336, -0.0525482371, 0.0242940914, -0.0108550107, 0.0148426462, -0.0090096444, 0.0550444722, 0.0199418031, 0.0101560913, 0.0031932755, 0.0015099103, -0.0814757049, 0.0233106837, 0.0554483272, -0.0453202277, 0.0425856337, -0.0762782469, 0.0056972648, 0.0024151166, -0.0039814301, -0.0463235565, -0.004254187, -0.0203564614, 0.0211608801, 0.0590344816, -0.035027612, -0.0116306879, -0.0219069924, 0.0143550709, -0.005784174, -0.0303408224, -0.0102728009, -0.0057375506, 0.0318632498, 0.0643510073, 0.0005178213, 0.0610910878, -0.000156681, -0.014667524, 0.0437863208, 0.0128806951, 0.0220758505, -0.0156522542, -0.0183029622, 0.0699302256, -0.0068398057, -0.0174362473, 0.0438186601, 0.0758952275, -0.0173318852, 0.0021088631, 0.124157235, 0.0183913298, 0.0112547344, -0.0024855777, -0.0416735746, 0.0609888397, 0.0249169581, 0.0262793228, -0.0386380106, -0.0199035816, 0.0146981366, 0.0324351974, -0.025563471, -0.0223894864, 0.0226243548, -0.1329963356, 0.048941303, -0.0061501767, -0.0446254313, -0.0214431081, -0.0367958248, 0.0159523245, -0.0245639253, 0.019439565, 0.0136912121, -0.0026998874, 0.0285175927, 0.03351973, -0.0581047274, -0.0801014304, -0.0225962587, -0.0464492142, 0.0785737559, 0.0577242337, 0.0061601638, 0.0123090986, -0.0167406537, 0.0278861057, -0.0515401922, -0.0482426472, -0.0216167253, 0.0135257719, 0.0359526463, 0.0038913121, -0.0270503424, 0.008491897, -0.028083574, -0.0035120165, -0.026898684, 0.0506848805, -0.0024869896, 0.0026870253, -0.0179059859, -0.0035104095, 0.0182307158, 0.0727329552, 0.0075781122, -0.0335231349, -0.0111364489, -0.0541976653, 0.0284159761, -0.0487050712, 0.0167287216, 0.001409597, -0.0146944113, -0.0419149213, -0.094933331, 0.0025735546, -0.0030789534, -0.013857536, -0.0171696972, 0.0127849178, -0.0251915883, -0.0205841195, -0.0374380983, -0.0166253634, -0.0313960165, 0.0015990817, -0.0594741739, 0.0038983077, 0.0624951869, 0.0037376466, -0.0194253121, 0.0420750529, -0.1050899848, -0.0835096538, -0.0039446997, 0.0846529156, 0.0234092455, -0.0003900804, -0.0182524361, -0.0677730441, 0.0939770862, 0.067570284, -0.0179072656, 0.0017001058, 0.0225615557, 0.0350263566, -0.0263930038, 0.0337086655, -0.0445845127, -0.0050151069, 0.0298845004, 0.0682903379, -0.0222915392, -0.0519660935, -0.0173078496, 0.0086192507, 0.043914739, -0.0829207376, -0.0219609626, -0.0387297347, 0.0264441893, -0.0270160437, -0.0210765209, -0.0343782455, -0.0019004999, 0.0364391692, -0.0108563062, -0.0202775262, -0.0079322932, -0.0107513061, 0.0608683228, -0.0201518685, -0.0122096697, 0.0383376405, 0.0063574435, 0.0221067499, 0.0018270686, 0.0145124262, 0.0065514566, 0.0070334063, 0.0004021877, 0.0198532194, 0.0137986895, -0.0179845002, -0.0024646977, 0.0239507221, -0.0123987142, -0.0494872741, -0.0399183892, -0.0501047634, 0.0483329594, 0.0674355775, 0.0433025546, 0.0583853573, -0.0097135967, -0.007283628, -0.0462249331, 0.0186244547, 0.0080872681, -0.0256326925, 0.0688596368, -0.0089502633, -0.0213955473, 0.0341054164, 0.0850018188, 0.0059908181, 0.0409402288, -0.0592651106, -0.0266124979, -0.0068061007, -0.0512395203, -0.0059189564, 0.0117474925, -0.0261145607, 0.0101829004, -0.0537122861, -0.0851281062, -0.0082666166, 0.071009621, 0.016224049, -0.0170272905, 0.0253481306, 0.0411461666, -0.0167891234, -0.0179208964, -0.0743570104, -0.0135884508, -0.0219316501, -0.0032823617, -0.0285729077, -6.304770563e-33, -0.0357061327, -0.0314455517, -0.0260214433, -0.0409220085, -0.012101748, -0.0141745256, -0.0130159687, 0.0365603864, 0.0104872901, 0.0238484554, 0.0004465922, -0.0057236585, 0.0147100724, 0.044779066, 0.0234786943, -0.0409608632, 0.0438052453, -0.0111011481, 0.0169847254, 0.0107156644, 0.0380742438, -0.0094310753, 0.0535204746, -0.0271227397, 0.0676915273, -0.0040995595, -0.035005182, 0.0652802214, 0.0045379368, 0.0577464402, -0.0105582327, 0.0696540996, -0.005412919, -0.0351204909, -0.0222214684, -0.0433469899, -0.0652106404, -0.0269516353, 0.0116208009, 0.0159284398, -0.0083884876, -0.0161557607, 0.0287922136, 0.0221243296, -0.054008536, -0.0107103614, 0.0288161281, -0.0202454217, -0.0320128314, -0.0682853833, -0.0417655893, 0.0271367431, 0.020435987, -0.0076415064, -0.0200166944, -0.0044808704, 0.0250174589, -0.0085158898, -0.0044852435, -0.0032276444, -0.011653007, 0.0697745606, 0.0670418069, 0.0248659868, -0.0073994505, 0.0149793802, -0.0162035953, -0.0336035043, -0.0264940392, -0.0323060341, 0.0082280347, 0.0052603395, 0.0315256268, 0.0853101164, -0.0016739817, 0.0090845674, -0.0894003287, 0.0646327138, 0.0345236883, 0.0612274595, 0.0038125296, 0.0456806459, 0.0034236766, -0.0131760612, -0.0489746854, -0.0548519976, -0.0095572192, -0.0171903186, -0.0113135194, -0.014349333, -0.0279199462, -0.0476434343, 0.0367226303, -0.0272096172, -0.0272300113, -0.0180247258, -0.0069257715, 0.0092912614, 0.01246153, 0.0542416312, -0.0105834985, -0.0103786085, 0.0372208804, -0.0210771859, -0.008222606, 0.0110378601, 0.013660416, 0.0079774614, -0.0842582658, 0.027655296, -0.0371880755, 0.0343906879, -0.0234734286, 0.0184418485, 0.0319076851, -0.0267663114, 0.0082491729, 0.0174802672, 0.0166304652, 0.0460281223, 0.0084411157, 0.0018359802, -0.0176343955, -0.0048215785, -0.0449435823, 0.0113679068, 0.0132292509, -0.001591321, 0.0142310029, -0.0053137778, -0.0244419277, 0.0280647222, 2.432e-7, 0.0799247399, 0.0357411727, 0.0088593094, 0.038187284, 0.0336664021, 0.0243768785, 0.0115723517, -0.0221301448, 0.0427422449, 0.021928791, 0.0247395337, -0.0270741899, 0.0471318066, 0.0420085602, -0.0860145688, -0.0208779853, -0.0307956487, 0.0173632875, 0.0157339219, 0.0242616031, 0.0705269352, 0.1131133884, -0.0090117948, -0.0078232568, -0.0032010942, -0.004661527, 0.0676402301, -0.0480983257, -0.0439704582, 0.0346230939, 0.0490601696, -0.0092418827, 0.0199453682, 0.0165348258, -0.0296711884, 0.0056969062, -0.0059829275, 0.0561798774, 0.041720137, -0.0197290704, -0.0022013863, 0.0013558152, 0.0451747626, -0.0647934005, 0.0562112369, -0.0144788064, -0.032067854, -0.0312421694, -0.0096763829, -0.0114661725, 0.0162457973, -0.0296184644, -0.0477248654, 0.0214013308, 0.0248609073, 0.0202165153, -0.0362230688, -0.0465578027, -0.0294665471, 0.0030234826, -0.0526541248, -0.0736567453, 0.0142133348, 0.0143025611, 0.0113952477, -0.0487307571, 0.0019155992, 2.004688525e-34, 0.0600110479, -0.0035710856, -0.0315044001, -0.0179219414, 0.0458415858, 0.0147996414, 0.0003203099, 0.0281048752, 0.0196315236, -0.051850494, -0.020094689 ]
http://arxiv.org/abs/2406.11277v1
http://arxiv.org/pdf/2406.11277v1
Small Agent Can Also Rock! Empowering Small Language Models as Hallucination Detector
2024-06-17T07:30:05
2024-06-17T07:30:05
Xiaoxue Cheng, Junyi Li, Wayne Xin Zhao, Hongzhi Zhang, Fuzheng Zhang, Di Zhang, Kun Gai, Ji-Rong Wen
cs.CL
cs.CL
Hallucination detection is a challenging task for large language models (LLMs), and existing studies heavily rely on powerful closed-source LLMs such as GPT-4. In this paper, we propose an autonomous LLM-based agent framework, called HaluAgent, which enables relatively smaller LLMs (e.g. Baichuan2-Chat 7B) to actively select suitable tools for detecting multiple hallucination types such as text, code, and mathematical expression. In HaluAgent, we integrate the LLM, multi-functional toolbox, and design a fine-grained three-stage detection framework along with memory mechanism. To facilitate the effectiveness of HaluAgent, we leverage existing Chinese and English datasets to synthesize detection trajectories for fine-tuning, which endows HaluAgent with the capability for bilingual hallucination detection. Extensive experiments demonstrate that only using 2K samples for tuning LLMs, HaluAgent can perform hallucination detection on various types of tasks and datasets, achieving performance comparable to or even higher than GPT-4 without tool enhancements on both in-domain and out-of-domain datasets. We release our dataset and code at https://github.com/RUCAIBox/HaluAgent.
[ -0.0104030902, 0.0438162573, -0.0125441775, 0.0732159168, -0.0340835005, 0.0234135706, -0.0073969779, 0.0211162101, 0.0482767485, -0.010572765, -0.0311677605, -0.0143060898, -0.0112672681, -0.0014988042, 0.0341826677, -0.0259462371, 0.06142525, -0.0351263657, 0.0000615703, -0.014203839, 0.0115379719, -0.0128049627, -0.0010350889, 0.0601240955, -0.0027119194, -0.0522077568, -0.0114856325, -0.000444635, 0.0214845166, -0.0006956372, -0.0070335018, 0.0625964776, -0.0061431695, 0.1105045304, 0.0000022782, -0.0331403092, -0.0225711986, -0.0158414021, 0.0127209183, -0.002558999, 0.0498348586, -0.0085669402, -0.0447733253, -0.0041273716, -0.0587063357, -0.0115565592, 0.0503805093, 0.0524606034, 0.0648909509, 0.0799072012, -0.0048010168, 0.0069481987, 0.0389413498, 0.0168048646, 0.0434682108, 0.0033282868, 0.0304216817, 0.0064291167, -0.0032381329, -0.035195183, -0.0170285385, 0.0235887207, 0.0209612213, 0.0027374143, -0.0481639244, 0.0123287197, -0.1133547723, -0.0152350264, 0.0017515558, 0.042867966, -0.0640169829, -0.0553682335, 0.025798114, 0.0107190413, 0.012369358, -0.0210108273, -0.0314624906, 0.0172465611, -0.0273796339, 0.0125375632, 0.0527639091, -0.020303471, 0.0294036828, 0.0057380144, -0.0466348007, 0.0495121367, -0.0062900549, -0.0247806404, 0.0107835121, -0.0012684603, 0.0011912583, -0.0301457718, 0.0375468656, -0.0032407492, -0.0411996394, -0.0150139518, -0.0604112111, -0.0144193294, 0.0266968478, -0.1003988162, -0.0123230303, 0.0231823288, -0.0591135733, 0.047108829, -0.0473594926, 0.0498602241, -0.0138438847, 0.0865625292, -0.0075287726, 0.0140436953, -0.0187664572, 0.0092764134, -0.0560298637, 0.0100736571, 0.0223710164, -0.0293924827, -0.0142674306, 0.0183418989, -0.0388593078, 0.0337310545, -0.039861165, -0.0202623792, 0.0034762856, -0.0102670286, 0.0237437729, 0.0079828547, -0.028251227, -0.0277851354, 0.025148632, -0.1014252156, -0.0374234356, 0.0458571911, -0.0074658422, -0.0053427042, 0.0025499407, 0.047079552, 0.0520911366, -0.0055971919, -0.0229130462, -0.0097219972, 0.015584413, -0.0789670348, 0.00466346, -0.0795276314, -0.0175353233, -0.0075074332, 0.0119612878, -0.0582308248, 0.0369577259, 0.0102846408, 0.0160262194, 0.0743682012, -0.0279336162, -0.0278394781, -0.000022579, 0.0164692923, -0.0388727859, 0.1031844839, 0.015152703, 0.0328073688, 0.0554900542, -0.0197508931, 0.05197566, 0.0396895558, -0.0211186428, 0.0224836301, -0.0125335101, -0.0359187685, 0.0140338987, 0.009718122, -0.0001423063, 0.0516958684, -0.0124026518, -0.0213624407, 0.0435048304, 0.0540667884, -0.0153205656, -0.0007468798, -0.0036611662, 0.0387873948, -0.0023115275, 0.0192061141, -0.0519821607, 0.0263800882, -0.0305324681, -0.0079155043, 0.0261346754, 0.018505929, -0.0289492775, -0.0420511626, -0.0104647018, -0.0097391298, 0.0351796672, 0.0022347856, 0.039141193, 0.0082992278, -0.036769107, 0.062938638, 0.0126085551, -0.0538470447, -0.0139794843, -0.071853444, -0.0020996886, 0.0973393172, 0.0497213155, -0.0503932275, 0.0260698609, -0.0221391376, 0.0393827334, 0.0677595437, 0.0125815617, 0.024748195, 0.0018088352, -0.0747944638, 0.0026716506, 0.007803611, 0.0504623912, 0.0072175842, 0.0017751635, 0.0305589437, -0.0027617947, -0.0219946951, -0.059836641, 0.0316590182, -0.0125433393, -0.0168153401, -0.0269324463, 0.0007562941, 0.0073554497, -0.0117750242, -0.0222187564, 0.0270989928, 0.0113054551, -0.0437593348, -0.0375287123, 0.0261675008, -0.0173239447, -0.0395149589, 0.0564924963, -0.018730158, 0.0029916479, 0.0339088961, -0.0244144518, -0.048146069, 0.027507836, -0.061004661, 0.0452952497, -0.0512775555, 0.0469235592, -0.0253296793, 0.0664498582, 0.0134592773, 0.0642620996, -0.026477132, 0.002768409, 0.006721566, 0.0303612426, 0.0130870165, -0.0127528924, -0.054107219, 0.0063314629, 0.0004120928, 0.0651043877, -0.024597723, -0.0134460721, -0.0367226005, -0.0099811368, -0.0584763847, 0.0052298587, -0.0414713547, -0.0037145093, 0.0220884737, -0.0166007113, -0.007177047, -0.010737841, -0.0020763124, 0.0464704409, -0.016065741, 0.0321111418, -0.0224760007, -0.0464108922, -0.0430262238, -0.0099933259, 0.0074975295, -0.0137465885, 0.0072036125, -0.0195748974, -0.068267554, -0.0841611475, 0.0431615375, -0.0035785001, 0.0325328186, -0.0085357921, -0.0437826179, 0.0033966571, -0.0413064398, 0.0359488763, 0.0890794173, -0.0264744367, 0.0229304284, 0.0676874295, -0.0298844483, -0.0266864542, -0.0093393754, 0.0204817355, 0.027315272, -0.0190308206, -0.0222038198, -0.0121460725, 0.0486918166, 0.0116488533, 0.0111195901, -0.0563932844, 0.0039362861, -0.0284419842, -0.0327879153, 0.033179123, 0.0178118702, -0.048168961, 0.025192976, -0.0122735128, -0.0528688431, 0.0658939704, -0.0271303747, -0.0194571726, -0.0284149814, -0.0063519203, -0.0151526611, 0.042829182, 0.0207549203, -0.0053564608, -0.0205032825, -0.0202390142, -0.0304353293, 0.0402198806, -0.0148999505, -0.0511734672, 0.0256993975, -0.0370140374, -0.0022169785, -0.0007289897, -0.0227245074, -0.0409690812, 0.0079753846, -0.0342498496, -0.0138114318, -0.0131922783, -0.0225411542, -0.037467014, 0.0393987261, 0.0005097549, 0.0497636683, -0.0276504792, 0.0009097916, -0.00638561, -0.0197124984, 0.0517155454, -0.0057260864, 0.0448064618, -0.052501142, 0.0580625795, 0.0844852701, 0.025891969, 0.0208643898, -0.0032285603, -0.0272731576, 0.0216589291, 0.0092091644, -0.0246757418, 0.0006079498, 0.0294334907, -0.0760082901, -0.028392408, 0.0885135308, 0.0086251702, -0.0758245736, -0.0124974493, -0.0733378008, 0.051900804, 0.0050289324, -0.0199219231, -0.0773337856, -0.0345055796, 0.0080215922, -0.0056909346, -0.019995179, -0.0005152906, 0.0148490388, -0.0793273821, 0.0515390784, 0.0493496694, -0.0248705577, -0.0249628108, -0.0189265963, 0.004102129, -0.0002395343, 0.0256304778, -0.0180413369, 0.0207257587, -0.0344255678, -0.0091830762, -0.0526513271, -0.017495051, 0.0206594132, -0.0407611318, 0.0355804302, 0.077469252, 0.0273456424, -0.0153636504, -0.0736892596, 0.0241565779, 0.0013572953, -0.029171003, 0.0163751934, 0.0550814755, 0.0279189553, -0.014780012, 0.0157864615, 0.0311607867, -0.0656532124, 0.0077071292, 0.0368307978, 0.0848214924, -0.0519414283, -0.0326306894, -0.0017900356, 0.0296691507, -0.0141703123, 0.0832274407, 0.038609419, -0.0269741267, -0.0690759197, -0.0429516099, 0.0297326315, -0.0605203621, -0.0545009002, 0.0224979017, 0.0331342556, -0.0644364506, -0.0609251149, -0.0410112627, 0.0260246806, 0.0040439335, 0.0024807751, 0.062424399, -0.0141339665, 0.0103208274, -0.0530142337, -0.0065515549, -0.0479031987, 0.0334420241, -0.0463731475, -0.0137757938, 0.0142796282, 0.003317575, 0.0037390108, 0.0524161719, -0.1218331531, -0.0571780466, 0.0413793884, 0.0222331844, 0.0197302289, 0.0409818068, -0.057140369, -0.0043111057, 0.0371105969, 0.0263012797, -0.023373574, 0.0207729861, 0.0519141592, -0.0316351205, 0.0041389861, 0.0419549569, -0.017555844, -0.0207484215, -0.0066666873, 0.0216917172, -0.0421004929, 0.0318947136, 0.0213149004, -0.011607049, -0.0031400484, -0.0062765419, 0.0080039809, -0.0081454711, 0.0127934394, -0.0107881017, -0.0082432097, -0.0387932695, 0.0069739404, 0.041337043, -0.0389015377, 0.0299691316, 0.0023422565, -0.0005830996, -0.0584771372, -0.0067733368, 0.024209667, -0.0104650324, 0.0489396863, 0.0558866374, -0.016990874, -0.0159813873, 0.0289847739, 0.003152838, 0.0458185449, -0.0119350944, 0.0642599389, 0.0034420888, -0.0317908227, 0.0140543515, 0.0404353477, -0.0359368362, -0.0772555768, -0.0145832067, 0.0320418328, 0.0601324141, 0.0137075214, 0.0844976231, -0.0399182476, 0.0095457016, -0.0325287916, 0.0018897363, 0.0419865325, -0.0514920317, -0.0426961668, 0.0179627594, -0.0173765086, -0.042178724, 0.0944540575, -0.0241450481, 0.040417403, 0.0263027493, -0.0071159024, -0.0370779224, -0.04552586, -0.0294711236, -0.0103070671, -0.0243134312, -0.025930848, -0.0521190576, -0.0535843, -0.0291880425, -0.0004152296, -0.01883821, -0.0108383661, -0.0019184551, 0.0452164598, -0.0278200805, -0.0191500653, -0.0230598263, -0.0066925446, 0.0383734889, -0.0296446942, 0.0072232476, -6.178512184e-33, -0.0027842219, -0.0324248523, 0.0028661541, 0.0041080243, 0.0251935311, -0.0282573849, -0.0415432267, 0.0056503001, 0.0152917095, 0.002125039, 0.0112521006, 0.0502333306, 0.0318319984, 0.0014935007, 0.0219537783, -0.0132760955, 0.0362484679, 0.0097614871, -0.0143823503, 0.0442470238, 0.0354952216, 0.0158603303, 0.0624656491, -0.0498397909, 0.0104049798, -0.0199524108, -0.0171448328, -0.0027731098, -0.0286112279, 0.0513529815, -0.026820099, 0.0550239012, 0.0046484978, -0.0048053181, -0.0425364859, -0.0177266505, -0.0357325487, -0.0254233237, -0.0273272321, 0.0789478719, -0.0136795705, -0.0392526388, 0.0352943912, -0.0260520335, 0.005733646, 0.0071186484, 0.0348441079, -0.0547749959, -0.0161173157, 0.0425624885, -0.0533909872, 0.0320613608, 0.0252941065, -0.0131950136, 0.034614969, 0.0260186419, -0.0126474956, -0.0463858396, -0.0801453367, 0.0346991494, -0.0052455971, 0.0055409092, 0.0188130997, 0.0060891118, 0.0156551637, 0.0708280727, 0.0967845023, 0.0140627511, -0.0054841042, -0.0131485388, 0.0501611233, 0.0419788174, 0.0631043091, 0.0048483526, 0.0294645727, -0.0215450041, 0.0017060857, 0.0115947416, 0.0214954801, 0.0136219021, 0.0739215612, 0.0131700765, -0.0665839016, -0.0384212956, 0.0391507894, 0.0180288795, -0.0306450184, -0.0353804417, 0.0394934528, -0.0020996977, -0.0138572045, -0.0416516252, 0.0396342427, -0.0542006865, 0.0039363843, 0.0240321234, -0.0185353216, 0.0088786874, -0.0056662071, 0.0135518685, -0.0094124228, -0.0209687147, 0.0256743152, -0.0074768364, 0.0397186875, 0.0072129644, 0.0191909522, 0.0137013076, -0.0564970411, 0.003201646, -0.043535959, -0.0117942337, 0.0438372605, 0.0144681083, 0.0223390274, -0.019483842, 0.00105854, 0.0036743325, 0.0220113564, -0.0132053662, -0.0356269293, 0.0355167314, -0.0508875847, 0.0192575697, -0.0397933796, -0.0042967531, -0.0769728646, 0.0128472829, 0.0413583554, -0.0823073164, -0.0083171148, -0.0181636512, 2.93e-7, -0.012900576, 0.0299912207, 0.0080590388, 0.0090029826, 0.0152276782, 0.0230751, -0.0341435447, 0.015086188, -0.0075699263, -0.0060329959, -0.0226034615, 0.0312988199, 0.1008358076, 0.057769563, -0.0979491919, 0.0116843274, 0.0044023907, 0.0069025364, -0.068427965, -0.0131068993, 0.0296063274, 0.1028501391, 0.0391022004, -0.0121050011, 0.0397953503, -0.0898177177, 0.035685461, -0.0163846835, 0.0267780684, 0.0258702803, -0.0167962387, 0.0535859317, -0.0016348329, 0.0178745296, 0.0168434456, -0.03199175, 0.0195210949, 0.0523936749, -0.0076432666, -0.0214362517, 0.0114226416, -0.0200210009, 0.008739071, -0.0528180487, 0.0602842383, 0.0106230564, -0.0159137733, 0.0108894957, 0.0064871395, -0.0395840779, 0.0408996418, -0.0164940692, -0.0468107462, 0.0197719987, 0.0091960523, 0.0064240242, -0.0123335635, -0.0397849604, -0.0149379419, -0.0201564766, -0.0379504114, -0.035452839, -0.0385088734, 0.0164797492, -0.0251411442, -0.046215903, 0.0124661932, 3.098698388e-34, 0.0410149507, -0.0159559902, 0.0087066758, 0.0640242845, 0.0439726599, -0.0107502388, 0.0347642861, 0.0094131259, -0.0164327323, -0.0393339843, -0.0235367678 ]
http://arxiv.org/abs/2406.11275v1
http://arxiv.org/pdf/2406.11275v1
Self-training Large Language Models through Knowledge Detection
2024-06-17T07:25:09
2024-06-17T07:25:09
Wei Jie Yeo, Teddy Ferdinan, Przemyslaw Kazienko, Ranjan Satapathy, Erik Cambria
cs.CL
cs.CL
Large language models (LLMs) often necessitate extensive labeled datasets and training compute to achieve impressive performance across downstream tasks. This paper explores a self-training paradigm, where the LLM autonomously curates its own labels and selectively trains on unknown data samples identified through a reference-free consistency method. Empirical evaluations demonstrate significant improvements in reducing hallucination in generation across multiple subjects. Furthermore, the selective training framework mitigates catastrophic forgetting in out-of-distribution benchmarks, addressing a critical limitation in training LLMs. Our findings suggest that such an approach can substantially reduce the dependency on large labeled datasets, paving the way for more scalable and cost-effective language model training.
[ -0.0148953181, 0.0629508793, 0.0126307644, 0.0502619259, -0.0070983879, 0.0232426375, 0.0225816723, -0.0262903962, 0.0346113034, -0.062126331, -0.0477283411, -0.0257143863, -0.0368357189, 0.0024558462, 0.0381686762, 0.0258794744, 0.055667378, -0.0554480813, -0.0162613038, -0.0088236574, -0.0219006184, 0.0310321301, -0.0210928824, 0.0059775412, -0.0361449197, -0.0386965759, 0.0007563268, -0.0054078475, -0.034599971, -0.0462336428, 0.0090843001, 0.0669255555, 0.0317639038, 0.0509968139, 0.0000020654, -0.0479549319, -0.0195021648, -0.0488168485, -0.0345966555, 0.0084897261, 0.0291622132, -0.0022545769, -0.0039816583, 0.0122763822, -0.0195556059, -0.0200697612, 0.0236879662, 0.045028314, 0.0569426008, 0.0492618755, -0.0016051811, -0.0103996377, 0.0141651724, -0.0368925445, 0.021217145, 0.0050133457, 0.0374575928, 0.0110599827, -0.0503744371, -0.0242655892, -0.0018719584, 0.0536467917, 0.0088802325, 0.0353344791, 0.0073149661, 0.0646350235, -0.0642936751, -0.0221653488, -0.0128242569, 0.0448014326, -0.0156881288, -0.0489939526, 0.0391744748, -0.0065489742, -0.0118031669, -0.0166234449, -0.0115072625, 0.0464532711, 0.0001649537, 0.0353783481, 0.0287142843, -0.0158272311, 0.0472405739, 0.0168637708, -0.0415296331, 0.0590471476, 0.0124634113, -0.0396670178, 0.0125610819, 0.0014799405, -0.0264427308, -0.0437478498, 0.0117663322, 0.0327794366, -0.0033121437, 0.0316460133, -0.0776541829, -0.02526097, 0.0213605296, -0.0452198386, 0.0228399672, 0.0025362924, -0.0424267463, 0.0327795483, -0.0598404109, 0.0349154957, -0.0101948185, 0.0386137515, -0.0245796498, 0.0327309407, -0.0331338868, -0.0276017357, -0.0759226754, 0.0441559777, 0.0037379132, -0.0181045346, -0.0329183787, 0.0098083625, -0.0101739429, -0.0034837893, -0.0061046337, -0.0018857374, -0.0542070158, -0.0108529264, 0.0110467235, 0.0125767179, 0.0147473663, 0.0040769754, 0.0380326174, -0.0675179064, -0.0153061291, 0.0200886093, 0.0124155842, -0.0094453674, 0.0179506671, 0.0377293639, -0.019011965, -0.0494237281, -0.0841938704, -0.0409128517, -0.0352655426, -0.0868855044, 0.0182935949, -0.0839027762, 0.0139749739, 0.0182056315, -0.001491625, -0.0638106316, 0.0295211691, 0.0044585383, -0.0027379121, 0.0360822827, -0.0327197276, 0.0200632643, 0.0488725081, 0.0130593153, 0.0268444717, 0.1089816466, 0.0016085914, 0.0059844521, 0.000832257, 0.0074685086, 0.0382788405, 0.0418065004, 0.0370361097, 0.0017330598, -0.0621562712, -0.0279637016, 0.0509979427, 0.0309539288, 0.0394362584, 0.0381535627, -0.0220722388, 0.0050709797, 0.0729916319, 0.0233857334, 0.0085043395, -0.0020824885, 0.0446986184, -0.0099880612, -0.0020261474, 0.0167746283, -0.0429948121, 0.0183687694, 0.01684542, 0.0224488359, 0.0225488935, 0.0225018747, -0.0688879415, -0.0277452916, -0.0196888503, -0.0067784456, -0.037941277, 0.0165931247, 0.0543011948, 0.0567950495, -0.0264744107, 0.0873972252, 0.0279109459, -0.0316484943, 0.0418524258, -0.0454474315, 0.0377273746, 0.0567523986, 0.0410631746, -0.0185643677, -0.0097266976, -0.0109245414, 0.0619773678, 0.0526454709, 0.0316704102, 0.0058553489, 0.0184149574, -0.0636590719, 0.000038631, -0.0207176246, 0.0284135472, 0.0020436407, 0.003105192, 0.0100937355, 0.0187813081, -0.0452329367, -0.0422809497, 0.0565737411, -0.054221753, -0.0553930402, -0.0012303854, -0.0079942523, 0.0160887241, -0.0236553773, -0.0094604213, 0.0188221186, 0.0282730535, -0.0428196415, -0.0275021717, 0.0122416196, -0.0802391395, -0.0314009972, 0.0419826508, 0.0351119973, -0.007003508, -0.0121248551, -0.0162159726, -0.0541704819, 0.0313520618, -0.030366227, 0.0247250069, -0.0686051771, 0.0348530263, 0.0355379209, 0.0322695784, -0.0006606833, 0.0731591061, -0.018345302, -0.0115690781, -0.0033720233, 0.0382895395, 0.0222163945, -0.0292522218, -0.0310213007, -0.0162300933, -0.0236012563, 0.021634575, -0.0251217112, -0.0021622458, -0.0540532321, -0.0189943928, -0.0568136722, 0.0177289154, -0.0379833169, 0.0042676283, 0.0238054935, -0.0087990444, -0.0038844345, -0.0319829434, -0.0256705731, -0.0000879451, 0.0300731845, 0.0185561925, -0.00437163, 0.0165626872, -0.0186261758, -0.0049109384, 0.0072691264, -0.0126830172, 0.0302093793, -0.0145534733, -0.0069491565, -0.0866335779, 0.0380423851, -0.0534358509, 0.0625382215, 0.0100424271, -0.0159898456, 0.0097209252, -0.0200799573, 0.0596093126, 0.0433294363, -0.0020284664, -0.033865463, 0.0941471085, -0.0157967079, -0.0322906077, -0.005182514, -0.0296716969, -0.0105625931, -0.0054912954, -0.0054762093, -0.0074071875, 0.0724982023, 0.017313594, 0.0055925334, -0.0366723724, -0.0042452724, -0.031119924, -0.0605277009, -0.041215267, 0.0068201488, -0.0123424977, 0.0174967535, -0.0239904411, -0.0588658452, 0.0367999487, -0.0563885719, -0.0116705922, -0.0205132123, -0.0030178104, -0.0010955513, 0.0325847119, 0.0259186868, 0.0341848843, 0.0195613727, -0.0020315102, -0.0142335705, -0.0060866238, -0.0063836789, -0.0145876845, 0.0356283709, -0.0631852522, 0.0324776284, 0.0238021091, -0.0303956065, -0.0785681829, -0.0293232258, 0.0034538526, -0.0164699554, -0.0275440309, 0.0101971794, 0.0038767906, 0.036779128, 0.0004030792, 0.1001776978, -0.008127287, -0.0201886669, -0.0378914438, 0.0373268425, 0.0546209961, -0.0167612974, 0.0204128884, -0.0402665585, 0.011897576, 0.0318320915, 0.0496232584, 0.0244713072, -0.0332271121, 0.019626772, -0.0070124036, -0.0205090027, 0.0014072104, 0.0303855464, 0.0316701196, -0.0548781678, -0.0680374429, 0.1156931892, 0.0217858665, -0.0498879217, -0.0080043264, -0.001743913, 0.0428745374, 0.0390080027, 0.0105660288, -0.0564118102, 0.0010995282, -0.0053932811, 0.0187768508, -0.0123512372, -0.0173868593, -0.0134059153, -0.1028482243, 0.044410944, 0.0305869635, -0.0587063208, -0.004920132, -0.0266818088, -0.0436953232, -0.0029675122, 0.0097150588, 0.015233499, -0.028932767, -0.0077325962, 0.0467412882, -0.0203273762, -0.0592112355, 0.0037624321, -0.0451410376, 0.0803212374, 0.0517590977, 0.0026622124, 0.0152715528, -0.0383009352, 0.040752843, -0.0217613429, -0.0100150909, -0.008248968, 0.0606522225, -0.0008945992, -0.016807843, 0.0282813106, 0.0249677189, -0.0635473356, -0.0148813566, 0.0093755629, 0.068435438, -0.0157437231, -0.0372717567, 0.0396378115, 0.0173987728, 0.0198424924, 0.0907050148, 0.0281351581, 0.0003645149, -0.032441102, 0.0015964789, 0.0420353189, -0.0477694497, -0.0083266804, 0.0620691366, -0.0118436506, -0.0426763222, -0.0718997717, -0.0177056007, 0.0268827621, 0.0613655895, 0.0190826375, 0.0513157211, -0.0075692846, -0.0092673106, -0.059866745, 0.0325990021, -0.0850319937, -0.0537232384, -0.0483203344, -0.04385693, 0.0436685346, -0.0283543468, -0.0031194799, 0.0628785864, -0.0914310738, -0.0699305162, 0.0168723762, 0.0539185107, 0.0240392592, 0.0812875256, -0.0002614909, -0.0376186632, 0.0338935629, 0.047517471, -0.0604308434, 0.0366369076, -0.0010384017, -0.0290234219, -0.0027844689, 0.0201207362, -0.0273996275, 0.0434276797, 0.0282569509, 0.0340185463, -0.0017156808, 0.0405626707, 0.0488177985, -0.0213987529, 0.0075664236, -0.0521936938, 0.0550078191, -0.0591404513, -0.0177951809, 0.0088379057, 0.006068063, -0.0505881272, 0.0224976949, 0.0155538507, 0.00633671, 0.0125366785, -0.0166033749, -0.0056450195, 0.0317403376, -0.0073714871, -0.0520291254, -0.0265092533, 0.0247144103, 0.0437128395, -0.018353276, -0.0200640708, 0.0284522288, 0.0028045198, 0.0161972921, -0.0226785429, 0.0564870909, 0.0091329226, -0.0169548206, -0.0343417116, -0.007858796, -0.0212270208, -0.054766003, -0.0574951991, 0.0035626478, 0.066529572, -0.0132283885, 0.060755983, -0.0538433194, -0.0088722482, -0.0237429738, 0.0189269278, -0.0108756479, -0.0297427643, 0.0032139756, 0.0242206026, -0.0476300009, -0.0052151396, 0.0724198148, 0.0422439575, 0.0405544788, 0.0155053725, 0.0246818066, -0.0401664898, -0.0520413034, -0.0309819803, -0.0085885329, -0.0440912358, -0.0007454421, -0.0114006372, -0.0873605087, -0.0135855693, 0.002358255, -0.0031035393, -0.0058702393, 0.0551935844, 0.0653216019, -0.0287714396, -0.0056492784, -0.0292743668, 0.0162381548, 0.0076992805, -0.0035133862, -0.0084458031, -6.825303706e-33, -0.0167421848, -0.0227503218, 0.0640637577, -0.0426383242, 0.0106831798, -0.0088604791, -0.0478626788, 0.0199875608, 0.0303953737, -0.0025650011, 0.0105920434, 0.0162252355, 0.0239686556, 0.0400191732, 0.0249405671, 0.0104960939, 0.0787907392, -0.0334755369, -0.0080272956, 0.0606662519, 0.0479272492, 0.0388541333, 0.0512279905, -0.0580620579, -0.0423359647, -0.0148770455, -0.0004237892, 0.0144005129, 0.0026088981, 0.045948524, -0.0663432702, 0.0298885051, 0.0215924606, -0.0300512481, -0.0389432795, -0.0279949587, -0.0706519559, 0.0034968511, -0.0293781739, 0.0061554252, -0.0276660398, -0.0166346338, 0.043731492, -0.0184117705, -0.0210072249, 0.0451634787, 0.0287221, -0.0299783312, -0.0336810648, 0.0203811787, -0.0551823825, 0.0014137933, 0.0265726335, -0.0134754032, 0.0440580472, 0.0078326361, -0.0206905343, -0.021178335, -0.0744161233, 0.0109995548, -0.0025945094, 0.0567893386, 0.0624890924, 0.0533012114, 0.0234694425, 0.0599588156, 0.0706142783, 0.0139696011, 0.0251389313, -0.0057660188, 0.0640951842, 0.0383459777, 0.0171643998, -0.0020762861, 0.0270569827, -0.0178004224, -0.0594888292, -0.0271700304, -0.0247738641, -0.0218388271, 0.0525285415, -0.0222861953, -0.01911401, -0.0230888687, -0.0143248998, -0.0130371042, -0.0347955637, -0.0137414085, 0.0693696439, 0.0651602075, 0.0073550171, -0.0340426974, 0.0280656479, -0.0182235148, -0.0255556405, 0.015670713, -0.021803163, 0.0105606401, -0.0062388717, 0.0349703357, -0.0609851331, -0.0474380814, 0.000618425, 0.0237162821, 0.0055523468, 0.0090612844, 0.0299528874, 0.0221617837, -0.0569944195, 0.0163342953, -0.0570256338, 0.0301380083, 0.0149008296, 0.0137613807, 0.0408384614, -0.002122571, -0.0130232237, 0.0367396586, 0.0017474005, -0.0508006774, -0.0109977936, 0.0245132931, -0.0210337825, 0.0489514694, -0.0212997552, 0.0028642023, -0.0414057821, -0.0148775065, 0.0564671122, -0.0551798977, 0.0110252388, 0.0088411216, 2.651e-7, -0.0028991508, 0.003374062, 0.0070327511, 0.0152331572, 0.0288402848, 0.0043648952, -0.0288483873, 0.008928474, 0.0104175666, -0.0232247468, -0.0017189295, 0.0687239617, 0.0612754636, 0.0105463853, -0.0925609693, 0.0042782105, -0.0510942414, 0.0358087905, -0.0585407652, -0.0594998933, -0.0387065858, 0.0715117082, 0.0054188054, -0.0271824133, 0.0216532052, -0.0588709302, 0.0818339586, -0.0072851083, 0.0312305633, 0.0427090973, 0.0014162287, 0.0714328736, -0.0150327981, 0.0374237671, -0.0186588652, -0.0010463378, -0.0228307024, 0.0517420769, 0.0300544463, -0.0163188651, 0.0164131057, 0.028580185, -0.0166720729, -0.0472471975, 0.0479162969, -0.0887399539, -0.0036156347, -0.0065483782, 0.012303113, -0.0114933895, -0.0018267767, -0.0273818541, -0.0123587027, 0.0259095933, 0.0233502667, 0.0132041946, -0.0181439333, -0.0619936846, -0.0103907883, 0.0399353355, -0.0679461211, -0.012794978, -0.0601334795, 0.0135048246, 0.0026411577, -0.0785806179, 0.0093029095, 2.620497414e-34, 0.0090973126, -0.0176524948, 0.0123679517, 0.037879914, 0.0175862238, -0.0288356803, -0.0036572865, 0.0270980373, -0.0286450144, -0.053467311, 0.0047905492 ]
http://arxiv.org/abs/2406.11274v1
http://arxiv.org/pdf/2406.11274v1
Skip-Layer Attention: Bridging Abstract and Detailed Dependencies in Transformers
2024-06-17T07:24:38
2024-06-17T07:24:38
Qian Chen, Wen Wang, Qinglin Zhang, Siqi Zheng, Shiliang Zhang, Chong Deng, Hai Yu, Jiaqing Liu, Yukun Ma, Chong Zhang
cs.CL
cs.CL
The Transformer architecture has significantly advanced deep learning, particularly in natural language processing, by effectively managing long-range dependencies. However, as the demand for understanding complex relationships grows, refining the Transformer's architecture becomes critical. This paper introduces Skip-Layer Attention (SLA) to enhance Transformer models by enabling direct attention between non-adjacent layers. This method improves the model's ability to capture dependencies between high-level abstract features and low-level details. By facilitating direct attention between these diverse feature levels, our approach overcomes the limitations of current Transformers, which often rely on suboptimal intra-layer attention. Our implementation extends the Transformer's functionality by enabling queries in a given layer to interact with keys and values from both the current layer and one preceding layer, thus enhancing the diversity of multi-head attention without additional computational burden. Extensive experiments demonstrate that our enhanced Transformer model achieves superior performance in language modeling tasks, highlighting the effectiveness of our skip-layer attention mechanism.
[ 0.0225801617, 0.0825742334, -0.0048199212, 0.0376509614, -0.0067488002, 0.0038609414, 0.0045627286, -0.0366672389, -0.0065799719, -0.0121248802, -0.0206239074, -0.0565827601, -0.0036394154, 0.0501929224, -0.0033721244, -0.0684392825, 0.0310122948, 0.0190524384, -0.0213320348, 0.0296190437, -0.0070825284, 0.0134100365, 0.0267652962, 0.031112276, -0.0209372044, -0.0261877123, -0.0137515152, 0.0055075902, 0.0406140946, -0.0032995855, 0.0159219243, 0.0465163663, 0.0086112432, 0.0202882942, 0.0000021772, 0.000314773, -0.0086013209, -0.0070770341, -0.0104482099, -0.0133609008, -0.0041337991, -0.0399217159, 0.0144538395, -0.0118358051, -0.0250750445, -0.0164178126, 0.0411255956, 0.0989252701, 0.0542952642, 0.0343020968, -0.0219603609, -0.0340871811, 0.0441150963, -0.0472440459, 0.0000660419, -0.0607863218, -0.0118205771, -0.0625589266, -0.0256573334, 0.0039849007, -0.0333195888, 0.0475726053, 0.0609358065, 0.0001605351, 0.0415169299, 0.0410609543, -0.0476564355, -0.0208735093, 0.0153939435, 0.1004504487, -0.0704338923, -0.0042299484, -0.0208259206, -0.0341016278, -0.0107680149, -0.0195211731, -0.0297001489, -0.0069803037, 0.014799404, 0.0071336217, -0.0093081649, 0.0280599315, 0.0364874974, 0.0125201782, -0.0710336566, 0.0320600905, 0.0018825402, -0.0127676986, 0.0146213025, 0.0071772761, -0.0043941126, -0.0257322211, 0.0384067148, 0.0279123355, -0.0182966515, -0.001551715, -0.0381014831, -0.028793579, -0.0065558683, -0.0590764806, 0.0143957734, 0.0278157704, -0.0654402152, 0.0341132991, 0.00245494, 0.0280297063, -0.0606374331, -0.0015116774, -0.0160757061, -0.0188222975, 0.0015570482, -0.0123290028, -0.059965346, 0.0319961198, -0.0607683808, -0.0357599892, 0.0123018166, 0.0193325337, -0.0247078128, -0.0449481197, 0.0107652983, 0.0560797006, -0.0491623394, -0.0337166078, 0.0283362083, 0.0612535067, -0.0294719934, 0.0118542397, 0.0117848646, -0.046917282, -0.0351711102, 0.0133310324, 0.0349671692, -0.019840803, 0.0042006336, 0.0471745208, -0.0037076494, -0.0430309586, 0.0261514522, 0.0023307032, 0.0095289862, -0.0530575886, 0.0256025251, -0.0195676871, 0.0262773186, -0.0066177621, -0.0011712571, -0.0128931627, 0.0232318845, 0.034555234, -0.0335588604, 0.0540345125, 0.0585057847, -0.0287081674, -0.0147693194, 0.0177802462, 0.0231871922, 0.0486872159, 0.0412277803, 0.0200552307, -0.0208479613, -0.0069356402, 0.01617462, 0.0042348574, 0.0144766103, -0.0254470687, -0.0107920701, 0.0018029964, -0.0710464194, 0.0064290427, 0.0520355105, 0.0343840197, 0.0024480876, -0.0338595435, 0.0484245867, -0.0010968626, 0.0279696621, 0.0633194819, 0.0270796306, 0.0352791212, -0.0437254794, 0.0165066756, -0.0761526674, 0.0927982777, 0.0351462662, -0.0130580338, -0.0304386225, 0.0359168723, -0.029228149, -0.0089029502, 0.013961507, 0.0111576449, 0.0012405799, 0.0374373421, 0.0170815587, 0.0307960548, -0.0374858491, 0.1374738365, 0.026906006, -0.033099141, 0.0078173727, -0.0266624968, -0.038241744, 0.064559415, 0.0021008586, -0.0180770438, -0.0365743823, -0.0116414195, 0.0391123854, 0.063809, 0.0093647037, 0.0289006811, 0.0454131551, -0.0489577502, -0.0281494148, -0.0169144645, 0.0133850947, -0.0060196486, -0.0055055185, -0.0196354967, 0.0200867709, -0.0074167377, 0.0103008077, 0.0196168963, -0.0267637167, -0.0113267163, -0.0012201203, 0.0317267329, 0.0034173562, 0.0254078694, 0.0097616268, 0.0193440877, 0.0228779074, -0.0469827279, -0.0311491434, 0.0075669843, -0.0496450476, 0.0120718498, -0.0196880065, -0.0541100986, -0.0239043012, 0.0507100001, -0.0262646861, -0.0279537942, 0.0359759182, -0.0570112206, 0.0556083098, -0.0129606714, -0.0005611536, 0.0052507194, 0.059581764, -0.0183727182, 0.0558183752, -0.0374275222, -0.0183842424, 0.0039772168, -0.0013775948, -0.0053818519, -0.000103539, 0.0097234063, 0.0100950096, -0.0137686012, 0.008947257, -0.0055297562, 0.0013384345, -0.0293906573, -0.0313811935, -0.0198149923, -0.0133234598, -0.0403495915, 0.005407454, 0.0136266146, 0.0581962392, 0.0220103376, -0.0143025964, -0.021409316, 0.0141997235, -0.0183523875, -0.0000176791, -0.0146854063, -0.0144016743, 0.0006643969, -0.040982645, -0.027764814, -0.0079000471, 0.0559355989, -0.0037583229, -0.0289250445, -0.006346507, -0.0476409271, 0.0026342997, 0.0392339192, -0.0073650409, -0.0244282689, -0.0292663872, -0.0213269852, 0.0136269843, 0.053655453, 0.0103444597, 0.0317773297, 0.0300789811, -0.0248093624, -0.0488793105, 0.0537468754, -0.0346221849, 0.0512426905, -0.023668319, -0.0040487838, -0.0084042773, 0.0915932581, -0.0380267315, -0.0102013256, -0.055127494, -0.0093204202, 0.0142281773, -0.0201858636, 0.0439834297, 0.0121701807, -0.0233758371, 0.0043307226, -0.0561007224, -0.0042788624, 0.0748867393, 0.0060469434, -0.0248230975, -0.0470457524, 0.0177873727, -0.0431332886, 0.0593075901, 0.0163225438, 0.0182138663, -0.0138104334, -0.0701135844, -0.042004589, 0.0515195318, -0.0176383015, -0.0065761982, 0.0914218947, 0.0101908762, 0.0102708517, -0.0079447813, -0.0259105526, -0.0466925837, -0.0180262942, -0.0475243405, 0.0490419231, 0.033816848, -0.0208381433, -0.1019032672, -0.0003537468, 0.0162030607, 0.0546252467, 0.0092246188, 0.0070915637, -0.0262442995, 0.0255993996, 0.0445601158, 0.0314789191, 0.0271444544, -0.0086602718, 0.0364032462, 0.0489628389, 0.0035725089, -0.0077271825, -0.0220666993, -0.0230751261, 0.0479579121, -0.0175840706, -0.0107954973, -0.0149369724, 0.0217809081, -0.0980138332, -0.0279408246, 0.0689143986, 0.0088756671, -0.079417333, 0.0124520436, -0.01524211, 0.0215703435, 0.0336305089, 0.0377405807, -0.0559279695, -0.0368874483, -0.0006571821, -0.0202415269, 0.0371654928, -0.0235717278, 0.0104207173, -0.0841124728, 0.038147036, -0.0370848253, -0.0493328162, -0.0503229424, -0.0310269818, 0.0266061313, -0.0009600958, 0.0285160076, -0.0074430364, -0.0033873294, -0.0587690696, -0.0045554563, 0.0039973324, -0.0305025838, 0.0460343212, -0.0401103012, -0.024241494, 0.0519061163, 0.026722135, -0.0119292876, -0.0256949514, 0.0111526223, -0.0267465264, -0.0013296171, 0.004107723, 0.0467370786, -0.0142407315, -0.0320270546, -0.0296900999, -0.0131472386, -0.0292570163, -0.0063097617, -0.0570278242, 0.0906302705, -0.0218311325, -0.0298042558, -0.0433957912, 0.0060541825, -0.006536488, 0.0374323651, 0.0451048948, -0.0410658345, -0.047814779, -0.0084240632, 0.0114905117, -0.083529897, -0.0256234426, 0.0496820137, 0.0232988857, -0.0551172756, -0.0199944861, -0.0515976399, -0.0017108239, 0.0019002249, -0.0129534751, -0.0329392254, 0.0498251021, -0.0229624398, -0.057741832, 0.0515512116, -0.0023943873, 0.0281028468, -0.0067038476, 0.0036190902, 0.0448551103, -0.022810502, -0.0293821786, 0.0380622372, -0.0873668417, -0.0291883349, 0.0221961103, 0.0171750523, 0.0071166544, 0.0556511693, -0.0475225076, -0.0726893321, -0.0000320591, -0.0008962529, -0.0470847785, 0.0005480708, 0.0253533479, -0.0577307492, -0.0054033161, 0.0535082966, -0.0440006964, 0.0473211147, 0.0156239904, 0.0475587286, -0.0144751268, -0.0270926636, 0.0131407222, -0.0728499815, 0.0489573441, 0.0308175534, 0.0337353982, -0.0319628045, 0.0517474003, 0.0120386118, 0.0010420636, -0.072517246, 0.006175675, 0.0149186496, 0.0022968065, 0.0017787558, 0.023847321, 0.0077622063, 0.0031524678, -0.0145875318, 0.0477615073, -0.0079142191, -0.0272308011, 0.0236822665, 0.0043372894, -0.0182773713, -0.0057722102, 0.0158687681, 0.0304512978, 0.0035831595, 0.0053603142, 0.0280040111, -0.0194645822, -0.0566354766, -0.0077215843, -0.0674941465, -0.026850272, -0.0209909454, -0.0440637022, 0.0389824547, -0.027833607, 0.0373601653, 0.036168009, -0.0180620514, 0.012499461, 0.0161379352, -0.0199892353, -0.0508713163, 0.0098926499, 0.0258084182, 0.0202907193, -0.0039216978, 0.0512426831, -0.0126749147, 0.0065231668, -0.0173717048, -0.0122821257, -0.019248737, -0.0100341765, -0.0005304471, 0.0430201218, -0.0317839719, 0.0466903709, -0.0478143953, -0.0679018199, 0.0285744276, -0.0579369627, -0.0034127044, -0.0243977681, 0.0422234721, 0.0405657664, 0.0257365424, -0.0486446545, -0.0017563427, 0.0158777982, -0.0074501503, -0.0177425481, 0.0007925961, -6.975638413e-33, -0.0148721514, -0.0224746, -0.0021024863, 0.0082245516, -0.0631801412, 0.027316194, -0.0529582612, -0.0103000049, -0.0436210558, 0.0369032919, -0.0256660338, 0.0500009842, 0.0147204809, 0.0420545861, 0.0324739218, -0.0439059399, 0.0588453263, 0.0293905009, 0.0146575859, 0.0432874411, -0.001847403, 0.0736329854, 0.0928111002, -0.032385122, -0.0222972874, 0.004821145, 0.0167629886, 0.0177460425, -0.0171311162, 0.0581560917, -0.0165137462, 0.0286772698, 0.0418696217, -0.0490179099, -0.0258427318, 0.0406432413, -0.10739173, -0.0150489081, -0.0177161302, 0.0188854001, -0.0357625596, -0.0213442277, 0.0610152483, 0.0243404079, 0.0751673877, -0.0969384164, 0.0411114395, -0.0105828196, -0.0405633636, -0.0436029583, -0.0691889152, 0.0294426288, 0.0032927964, -0.0076971194, 0.0265670829, 0.0653102174, -0.0057821488, 0.045698721, -0.0771505386, -0.02358892, 0.010718287, 0.0333114713, 0.0325166732, 0.0439228155, -0.0380947031, 0.0366837271, 0.0136305941, -0.0157009047, -0.0543472543, -0.0135483025, 0.0467072353, 0.0564145222, 0.0188765228, -0.0179591235, 0.0175226275, 0.0364990458, -0.0640629232, -0.0493418761, -0.0304660834, 0.0904277489, 0.0149394264, 0.0137167675, -0.0144539988, -0.0083537176, -0.0294755902, -0.0081941625, -0.0512749366, -0.0043964628, 0.0088021634, 0.0375815108, -0.0120320916, 0.0579905771, 0.0362499505, -0.0285536926, 0.0198027827, 0.0281749461, 0.0149741927, 0.015803257, 0.0250487197, 0.030246174, -0.0202618185, -0.0008691877, -0.0114227021, 0.0003242203, -0.0000294972, 0.0074794386, 0.0504192971, 0.0192577615, -0.055118937, -0.0377795026, -0.0420073122, -0.0046170834, -0.0272850338, 0.0760576501, 0.0318538547, 0.0132376049, -0.0168898571, 0.0894074887, -0.0031145713, 0.045801919, -0.0195719227, 0.0529465973, 0.0168207008, 0.0526662469, -0.0201357342, -0.0167409424, -0.0653951839, -0.0074746027, 0.0457265861, -0.0872450471, -0.034003444, 0.0268697441, 2.885e-7, 0.0434222743, 0.0269662496, 0.0078861518, 0.0149890492, 0.0041956562, 0.0077972347, 0.0357796103, 0.0511395596, -0.0086443089, 0.0068351128, 0.0033747649, 0.0250275955, 0.0232417285, 0.0025924197, -0.1026129201, -0.0230324175, -0.0558122955, -0.0254253186, -0.0208985936, -0.0512084849, 0.0269596465, 0.1319393665, -0.0083243344, 0.0009394154, 0.0191251189, 0.027913468, 0.0430519171, -0.0050674616, 0.0150286267, 0.0300826747, 0.0346412361, 0.0148128057, -0.0278934967, 0.0290683173, -0.0328121968, 0.0539423488, 0.0183052365, 0.0713690966, -0.0217378791, -0.0412329026, 0.0109874746, -0.0021975911, 0.0015134303, -0.0511613786, 0.0420560092, -0.0979519412, -0.0200111289, -0.0151589019, -0.030612411, 0.0232058465, -0.0092099244, 0.0043229787, 0.0182202924, -0.0007397891, 0.0160828829, -0.0443413332, -0.0221636351, -0.1077335104, -0.0360281318, 0.0186697412, -0.0423820354, 0.0363907255, -0.0519634038, -0.0747991651, 0.0538472719, 0.0197800957, -0.0039002609, 2.636378297e-34, 0.0436605588, 0.0069235992, -0.0092705954, 0.0388177559, 0.007837859, -0.0264846925, -0.0070316065, 0.0221437421, 0.0157001261, -0.0750166848, -0.0151213184 ]
http://arxiv.org/abs/2406.11267v1
http://arxiv.org/pdf/2406.11267v1
Mitigating Large Language Model Hallucination with Faithful Finetuning
2024-06-17T07:16:07
2024-06-17T07:16:07
Minda Hu, Bowei He, Yufei Wang, Liangyou Li, Chen Ma, Irwin King
cs.CL
cs.CL
Large language models (LLMs) have demonstrated remarkable performance on various natural language processing tasks. However, they are prone to generating fluent yet untruthful responses, known as "hallucinations". Hallucinations can lead to the spread of misinformation and cause harm in critical applications. Mitigating hallucinations is challenging as they arise from factors such as noisy data, model overconfidence, lack of knowledge, and the generation process itself. Recent efforts have attempted to address this issue through representation editing and decoding algorithms, reducing hallucinations without major structural changes or retraining. However, these approaches either implicitly edit LLMs' behavior in latent space or suppress the tendency to output unfaithful results during decoding instead of explicitly modeling on hallucination. In this work, we introduce Faithful Finetuning (F2), a novel method that explicitly models the process of faithful question answering through carefully designed loss functions during fine-tuning. We conduct extensive experiments on popular datasets and demonstrate that F2 achieves significant improvements over vanilla models and baselines.
[ 0.0357957222, 0.0909446329, -0.0144112436, 0.0463589914, -0.0145814409, 0.0371350646, -0.036684107, -0.0198735502, -0.0274558328, -0.0478036404, -0.0115952622, -0.0101995664, 0.0042148032, -0.0158725325, 0.0398333371, -0.0202130675, 0.0766384378, -0.0468673483, -0.0074896822, -0.0321895406, 0.012894067, 0.0227730386, 0.0184842572, 0.0274484511, 0.0274158549, -0.0508186184, 0.0165895801, -0.0079603875, 0.0029497882, 0.0128830792, 0.0450841859, 0.0739054978, 0.0143353492, 0.0603283979, 0.0000020234, -0.0374855883, -0.0054826322, 0.0040002037, -0.0326352455, 0.0289576184, 0.0050545544, -0.0205964819, 0.0140171964, 0.0039959997, -0.0261345785, 0.0191747695, 0.0466143899, 0.0803919658, 0.081927225, 0.0581971668, 0.0183109939, -0.0392553657, 0.0258760024, -0.0011826981, 0.0131995007, -0.0375099592, 0.0283567496, 0.0311344918, -0.0344196297, -0.0100756371, -0.0290658362, 0.0395385921, 0.0117733357, 0.0297815651, -0.0005772144, 0.0108651342, -0.0669099167, -0.0197420791, 0.0036543044, 0.067181021, -0.0419641882, -0.0646173581, -0.0096374638, 0.0031355084, 0.018340392, -0.0188049302, -0.0419306085, 0.0194749665, -0.0064310678, 0.0051175435, 0.0162404627, -0.0542160571, 0.0395595878, 0.0380364582, -0.0263383389, 0.0565547682, 0.0234918464, -0.0368908383, 0.0047200257, 0.0037753456, -0.0481428467, -0.0408386663, 0.0071260505, 0.0212110523, -0.067266576, 0.0028040714, -0.0465687253, -0.0061073801, 0.0346538387, -0.0501370691, -0.0082505746, 0.0145473676, -0.0312985033, 0.0453700721, -0.0260924324, 0.0310534257, -0.0331032164, 0.0604370572, -0.0314805508, -0.0196862761, -0.0215530358, -0.0395191722, -0.0561175905, 0.0331404209, -0.0210949276, -0.0067860829, 0.0000927776, 0.0107022589, -0.0291824304, -0.0044269706, -0.0307962801, 0.0513671972, -0.0423567481, -0.0469865613, -0.0160653517, 0.059714321, -0.0343875028, 0.0362937897, 0.0202022865, -0.0854128525, -0.0431123711, 0.0112324497, -0.0115991374, -0.0196821149, 0.0165375732, 0.0205550753, 0.0030640962, 0.0041661444, -0.0298675299, -0.0395121388, -0.0355951078, -0.0746654123, -0.0065304874, -0.0621222369, 0.0489124097, -0.0004334294, -0.0053112502, -0.0716136619, 0.0077005299, 0.0180274416, -0.0685964525, 0.0805854574, -0.0221804231, -0.0012951024, 0.0439210869, 0.0221159235, 0.001393598, 0.061557781, 0.0148554239, 0.0267791096, 0.0213500001, -0.0158222672, 0.0288317874, 0.0262563862, 0.03074372, 0.0117259296, -0.0080416081, 0.0270703398, 0.0060616243, 0.0215745475, 0.0524186231, 0.0408620983, -0.0330686085, -0.0355464108, 0.0694550797, -0.0104288468, -0.0131930215, 0.0302167591, 0.0073935925, 0.0096541699, 0.0014655166, 0.029432619, -0.0925134718, 0.0265403166, -0.0364060737, -0.0006200108, 0.0468308516, 0.0093363533, -0.0183368791, -0.0141354473, 0.0211871248, 0.0114081716, -0.0050072265, 0.0324359871, -0.0072583836, 0.0408055186, -0.039818123, 0.0786106288, 0.0432825238, 0.0121150082, 0.0202676803, -0.0516148023, 0.0245531835, 0.0506247468, 0.051208239, -0.0050291889, -0.016838029, -0.0408776402, 0.0627162009, 0.0218637399, 0.0659893826, -0.0084921857, 0.0268433578, -0.027488783, -0.0026295455, -0.016852431, 0.0451093391, -0.0125322053, -0.0112396264, 0.0083400849, 0.0118973143, -0.0484663993, -0.0368080996, 0.0417821296, -0.0094378218, -0.0614288598, -0.0156043656, -0.0233996566, 0.0142502654, -0.0235711541, -0.018504981, 0.0309622381, -0.0004000379, -0.0186158679, -0.031286981, -0.0212986208, -0.0272510611, -0.0180761609, 0.0401015244, -0.0224755276, -0.0443164967, 0.0444866307, -0.0494414456, -0.0066123237, -0.00876687, -0.046132341, 0.0200406052, -0.0521331988, 0.0192842018, -0.014405176, 0.0410772562, -0.0457342863, 0.0502007306, -0.0353051051, 0.0094845248, 0.0229060072, -0.0056261308, -0.0076719192, -0.010635158, -0.0045241201, 0.0065357578, 0.0026718914, 0.0267518256, 0.0052356753, -0.0254392605, -0.0605680272, -0.0389967747, -0.0352330096, 0.0084969718, -0.0377747416, 0.0102139506, 0.0330166034, -0.0112066064, -0.0064923372, -0.0242889635, -0.0260823481, 0.0019015551, 0.0256406087, 0.0375696048, 0.0027926599, -0.0005615752, -0.009121988, -0.0173319317, 0.0180365294, -0.0011710658, 0.0132342856, -0.0433155969, -0.0268011801, -0.1154131666, -0.0060842005, -0.0351076946, 0.0205957722, 0.0132201668, -0.0344727635, -0.0072111175, 0.0188357402, 0.0230115913, 0.0789880976, 0.0202014949, 0.016053956, 0.048996646, 0.0070051379, -0.0430746078, 0.0098411422, -0.0199561361, -0.0552004613, -0.0278194658, -0.0464141667, 0.0093327835, 0.052677203, 0.024006851, 0.0208456423, -0.0670151711, 0.0505923741, -0.027669549, -0.0524919033, 0.0119435145, 0.0002166105, -0.0210039038, 0.0199272372, -0.0400220528, -0.0436218493, 0.0808567777, -0.0160675123, 0.0153991645, -0.0220012497, 0.0226738118, 0.0092395423, 0.0131403031, 0.0002546468, 0.0150170596, 0.0124434596, -0.0179741271, -0.0761102885, -0.0298071839, 0.0122285699, -0.0535649508, 0.0220261719, -0.0256801601, -0.0079947896, 0.0104948981, -0.0238590576, -0.0541336276, -0.0733987167, -0.0301756263, -0.0100383116, -0.0323878452, 0.0144188618, -0.0381471887, -0.0314509198, 0.0080470592, 0.0032505752, -0.05260114, -0.0075665261, -0.0254219342, 0.0297831055, 0.1282273531, 0.0544840544, 0.0707758889, -0.0355852433, 0.028784059, 0.0774684921, -0.0171624459, 0.064277485, -0.0157858059, -0.0118016051, 0.0152258286, -0.0108340299, 0.0039874394, 0.0230880696, 0.0718110204, -0.0734902173, -0.0382496603, 0.1012297943, 0.0225249194, -0.0294378605, 0.020776581, -0.0483957529, 0.0758821368, 0.0137132751, 0.0125163626, -0.0629177466, -0.0493525267, 0.0073051564, 0.045947738, 0.0047159079, -0.024660185, 0.0129656037, -0.0837934092, 0.0304001849, 0.036851652, -0.0277639143, -0.0602941513, -0.037360128, -0.0000208959, 0.0248823129, 0.0757123232, 0.0175206382, 0.0176476575, -0.0125464965, 0.0177327432, -0.0231771637, -0.0522088781, 0.0350918099, -0.0318930224, 0.0799360499, 0.0795920417, 0.0304155648, 0.0037054273, -0.0488482565, 0.0373037085, -0.0229718015, -0.0162796006, -0.0063633905, 0.0536669679, 0.004593384, -0.0124053098, -0.003450206, 0.0448865965, -0.0267327726, -0.0149255376, -0.0036346209, 0.0709876418, -0.0366441533, -0.0343355611, 0.0038971335, 0.0170149971, 0.0122456849, 0.0785338059, 0.0345748439, -0.0210665297, -0.0449102782, -0.03692507, 0.020428624, -0.0245745387, -0.0474655628, 0.0707037225, 0.0610866621, 0.0026322405, -0.0543013215, -0.0458264686, 0.0276004486, -0.0200391635, -0.0071799881, 0.0274994038, -0.0077483854, -0.014237849, -0.0226735398, 0.0589593798, -0.0779072419, 0.0152071128, -0.0286004171, 0.0027281486, 0.0051490832, -0.0048435964, -0.0005343783, 0.0153001063, -0.0914292559, -0.0683499277, 0.0350413956, 0.0436804406, 0.021109676, 0.0612127446, -0.0303671937, -0.0924042538, 0.0104540791, 0.0376888961, -0.035423208, 0.036917571, 0.0277576987, -0.0304343589, -0.0038385219, 0.0684343427, -0.0351930149, -0.006341707, 0.0352102369, 0.0345334783, 0.0044456329, -0.0143142417, 0.0638094917, 0.0058739358, -0.0002536196, -0.0092263632, 0.0122622568, -0.0069690077, 0.0129449582, 0.0123755271, -0.0189184006, -0.0093702329, -0.0059426208, 0.0467936881, -0.038191326, -0.0007129907, -0.0171024054, -0.0066333893, 0.0258291494, -0.0598907545, -0.0097115459, 0.0234423205, 0.0014652108, 0.0425090529, -0.0085165091, -0.0415261798, 0.029788373, -0.0078373495, 0.0597688965, -0.0120615875, 0.0375814028, 0.0208803751, -0.0133530349, -0.0434074216, 0.0103550851, -0.0502710007, -0.1004565954, -0.0426740982, -0.0067697982, 0.0137605788, 0.0029576018, 0.0430519618, -0.013726267, -0.0281490739, -0.0182905644, -0.0107974317, 0.0220553726, -0.0028277251, 0.0336073004, 0.022831792, -0.0273305532, 0.0060948208, 0.065721333, -0.006756776, 0.065423727, -0.0018325252, -0.0156773645, -0.0379642397, -0.059537556, -0.0493885837, 0.0188607126, -0.02429864, 0.0153111061, -0.0283990484, -0.0717772618, -0.0310262628, -0.0015722525, -0.0071607428, -0.0274686683, 0.000924985, 0.0492140874, -0.0228077304, -0.0277287699, -0.0233021881, 0.0112166982, 0.0533308052, -0.0049922261, -0.0115706343, -6.941249326e-33, 0.0053085084, -0.0022633413, 0.0081703272, -0.0366304256, -0.0337596387, -0.0276480485, -0.0228245314, 0.0160721559, -0.0454696752, 0.0319471546, -0.0132742617, 0.0238840785, 0.0072691408, 0.0205055866, 0.0076945103, -0.0411098897, 0.0675179735, 0.0038082551, -0.0362465382, 0.0213344377, 0.0047074892, 0.0105733518, 0.0439472683, -0.0538158566, 0.0342022553, -0.0290067829, -0.0573649108, 0.0343292281, -0.0417036191, 0.0297141802, -0.0361023992, 0.0394403972, 0.0199271664, -0.026316544, -0.0374493785, 0.0082269991, -0.0764714405, 0.0016486609, 0.0111401835, 0.0367783904, -0.0223400742, -0.0463992208, 0.0541779324, -0.0104010124, 0.0169029925, -0.01684702, 0.001098157, -0.0574146807, -0.0152976429, 0.0217234232, -0.0682333782, 0.0062863086, 0.0037003476, -0.0356316641, -0.0100782877, 0.048950363, -0.0222881716, 0.0279588941, -0.0605526157, -0.0349355377, 0.0358218662, 0.0342964381, 0.0443813689, -0.0051473179, -0.0084693311, 0.045551341, 0.0426529087, 0.0177806467, -0.0192616712, -0.0212677624, 0.0121467011, 0.0262892116, 0.0442115217, 0.0351879336, 0.0651643947, -0.018762324, -0.0478701293, -0.0129862949, -0.0625512898, 0.0456598811, 0.0376949348, -0.0006607152, -0.0110337185, -0.0281134229, -0.0580272414, 0.0245622527, -0.0400653481, 0.0122985886, 0.0409943126, 0.0192352943, -0.0404580384, -0.0033452897, 0.0428340808, -0.0539008714, 0.00923023, 0.0190843698, -0.005119489, -0.0070828772, 0.0161324739, 0.0282678641, 0.0016425829, 0.0083546489, 0.0078600263, -0.0300880875, 0.0380956158, 0.0241243057, 0.0380803496, -0.0072066872, -0.0733614936, 0.0085990634, -0.0366172232, 0.0363261662, 0.0244806688, 0.0139075303, 0.0412178487, 0.0146341268, -0.0164379347, 0.0029429938, 0.0102922134, -0.0048420709, -0.0119822677, 0.0448160544, -0.0002933465, 0.0164856669, -0.0318153873, -0.0196554959, -0.027442893, -0.0029689511, 0.0105248699, -0.0747109577, -0.0198505577, 0.0113890367, 2.769e-7, 0.0269291811, 0.0500284433, 0.0134367477, 0.0155173857, 0.0227531698, 0.0314396136, 0.0208424293, 0.0260617509, 0.042773962, -0.0628711209, -0.0145182647, 0.0333766192, 0.0635614172, 0.0372564122, -0.0736182779, 0.0056220926, -0.0531900078, 0.041349452, -0.0560379736, -0.036407765, 0.0454792269, 0.110806331, -0.0079870075, -0.0312185697, 0.0129057607, -0.0405444019, 0.0604461804, 0.0143390093, 0.0142441196, 0.0382406674, 0.0123084262, 0.0136223817, 0.0157566871, 0.0330816545, -0.0205080751, -0.0138460482, -0.0096745854, 0.0491762348, -0.0260003395, -0.0508647375, -0.0505728424, -0.0268418472, 0.0250877719, -0.0668146312, 0.0770292133, -0.0830806568, -0.0256966427, -0.0386505462, -0.0315362625, -0.0005614729, 0.0341919996, -0.0194750689, -0.0093401205, 0.0220281631, 0.0264819581, 0.0552534908, -0.0167474691, -0.0631994382, -0.0234123524, 0.0114716133, -0.0306195989, -0.037316598, -0.014430088, 0.0005073039, 0.0250853188, -0.0721104518, 0.044749476, 2.693768594e-34, 0.0357836522, -0.0173904188, 0.0554251485, 0.0427478813, 0.0459243134, 0.0142399007, 0.0645291656, 0.0136688873, 0.013491692, -0.0632072762, -0.013163575 ]
http://arxiv.org/abs/2406.11263v1
http://arxiv.org/pdf/2406.11263v1
The Fall of ROME: Understanding the Collapse of LLMs in Model Editing
2024-06-17T07:08:29
2024-06-17T07:08:29
Wanli Yang, Fei Sun, Jiajun Tan, Xinyu Ma, Du Su, Dawei Yin, Huawei Shen
cs.CL
cs.CL, cs.AI
Despite significant progress in model editing methods, their application in real-world scenarios remains challenging as they often cause large language models (LLMs) to collapse. Among them, ROME is particularly concerning, as it could disrupt LLMs with only a single edit. In this paper, we study the root causes of such collapse. Through extensive analysis, we identify two primary factors that contribute to the collapse: i) inconsistent handling of prefixed and unprefixed keys in the parameter update equation may result in very small denominators, causing excessively large parameter updates; ii) the subject of collapse cases is usually the first token, whose unprefixed key distribution significantly differs from the prefixed key distribution in autoregressive transformers, causing the aforementioned issue to materialize. To validate our analysis, we propose a simple yet effective approach: uniformly using prefixed keys during editing phase and adding prefixes during the testing phase. The experimental results show that the proposed solution can prevent model collapse while maintaining the effectiveness of the edits.
[ 0.0284964591, 0.0858961269, -0.0179693736, 0.0035979971, -0.0223341268, -0.0183072351, -0.0259783417, 0.0065964451, -0.0583774969, -0.0548562109, 0.0123353833, -0.0394506566, 0.0336664654, 0.0355862044, 0.0244549587, -0.0434837602, 0.0966262519, -0.0642350316, -0.0309365168, 0.0044667539, -0.0330459252, -0.0252791103, 0.0341964364, 0.0339190401, 0.0095796753, 0.0057860571, -0.0349863209, 0.0061241612, -0.0051413355, 0.0297131184, -0.0365392305, 0.0579827912, -0.0159864482, 0.0259954445, 0.0000020935, -0.0436296202, -0.0502384044, 0.0371034741, -0.0400750786, 0.0956248417, 0.0104035083, 0.0061503481, -0.072198391, 0.0255285241, 0.0037424089, -0.0083759595, 0.0411428474, 0.0075670104, 0.0463716872, 0.0560674295, -0.004772048, 0.0119650047, 0.0056083468, -0.0121906456, -0.043689318, -0.0499962494, 0.0559230857, 0.0006443327, 0.034654282, 0.0030508849, -0.017984828, 0.0195400678, 0.0005497782, -0.0531076826, -0.0347880311, 0.000348217, -0.0103033949, -0.0196219403, 0.001368107, -0.0110741146, -0.0020877135, -0.0367810093, 0.0313096158, -0.0025004772, -0.01717229, 0.0197919626, -0.0476667397, -0.0026272307, 0.0177344866, 0.0045630718, 0.0419826023, -0.0760392547, 0.0169257168, -0.0145201674, -0.0397878364, 0.0560959168, 0.0386893153, -0.0026750155, -0.0702747107, -0.0514194816, -0.0169682447, -0.0945650861, -0.0047127195, 0.0388606228, -0.043322444, 0.0158869755, -0.0548792705, 0.010636935, 0.0065182303, -0.0809995607, 0.0334798284, 0.035461124, 0.0071851523, 0.0093342392, 0.0033053649, 0.0658165812, -0.0299233887, -0.0092287324, 0.011159014, 0.043950703, -0.0194739103, -0.027276339, -0.0731435567, 0.0003089683, -0.0153956087, 0.0296141598, -0.0097268932, 0.0528283566, 0.0297240466, 0.0335356668, 0.0001303794, -0.0519091897, -0.0137475142, -0.0015791635, 0.0056459429, 0.02718064, 0.0201590154, -0.0306241997, -0.0177852809, -0.0403115749, -0.0075251111, -0.0283186547, -0.0176169239, -0.0189753361, -0.0211775564, 0.0761375874, 0.0130859679, 0.0311862603, -0.0557821766, -0.0609167852, -0.0209758282, -0.0284298044, -0.0428012833, -0.0572040416, -0.0408429615, 0.0176063869, -0.0242975131, -0.069177784, -0.0178555716, -0.0195703357, -0.0391273908, 0.0277276803, -0.053859368, 0.0536790714, -0.0095159989, -0.0031765932, 0.0158742238, 0.065386124, 0.0496906154, -0.0211809725, 0.0696259886, -0.0147267533, 0.0518117361, 0.0683448315, -0.0116631584, 0.0877970681, -0.0386612788, -0.0052191773, 0.0473561473, -0.0081288842, -0.0058071488, 0.0308452323, 0.0063395659, -0.0083039384, 0.0561261997, -0.0085091628, 0.0064916126, 0.0661093965, -0.0095465844, -0.0090652788, -0.0128430286, 0.0120584555, -0.0368462801, -0.0177311357, -0.0169321075, 0.0459826887, -0.0205852631, 0.0330434702, -0.0115763666, -0.0324169621, -0.0432450213, 0.0298769344, -0.0194960721, -0.0372382104, 0.0454238951, 0.0147200674, -0.0297505092, 0.0987828523, 0.0135783236, -0.0531389564, -0.0043943324, -0.0668077618, -0.0286290105, 0.0432420522, 0.0848275498, -0.0097482614, -0.0708771646, 0.0084618991, -0.0114890477, 0.0003286024, 0.0627438724, 0.0008611079, -0.0108322175, -0.0122408578, -0.0143185928, 0.0262371339, 0.0208958481, 0.0217213724, -0.0201540813, 0.0085366471, 0.0255054664, -0.016413413, -0.0210580323, -0.0087324856, -0.0589049831, -0.0076551931, -0.0274021868, 0.007731989, -0.026590066, 0.0130324988, -0.0315072834, 0.0027721496, -0.0040182462, 0.0369506106, 0.0016765442, 0.0319028497, -0.0150839463, 0.0578186475, 0.0758985281, 0.037739493, 0.0006968979, 0.0241478328, -0.0146893887, -0.0376969464, 0.0396116488, -0.0462880321, 0.0840184242, 0.0293812118, 0.0893764868, -0.0544245839, -0.0130292168, -0.0017415526, -0.0204653684, -0.0165055692, -0.0218627974, -0.0046813064, 0.0202034563, 0.0295039304, -0.0071461047, -0.0465691276, 0.0525144041, 0.0034689039, -0.0022769836, 0.0142192384, -0.0041937414, -0.0022010189, -0.0429158397, -0.0283696111, -0.0201455858, -0.0156044438, 0.0496003143, 0.019713616, 0.0525625944, -0.0456876531, 0.0138673894, 0.0362972245, -0.0365224853, -0.0005814435, 0.0361667983, 0.0186468791, 0.0164629072, -0.0774690881, -0.0490322262, -0.0140653942, -0.0172271561, 0.0592523105, -0.0072475458, -0.0304227509, -0.0949410349, 0.0494373329, -0.0259000007, 0.0289225206, -0.0095659811, -0.072170265, -0.0012947709, -0.0125973281, 0.0682851076, -0.0221101809, -0.0457327589, 0.0131658781, 0.0466560498, -0.0467877872, -0.021334324, -0.0270412508, 0.0246476773, -0.0444362462, -0.0589378737, -0.0269336794, 0.0051710014, 0.0924598873, -0.0513757654, -0.0513931401, -0.0303871948, -0.0036264053, -0.0119236065, -0.0056881644, 0.0280200616, -0.0539649017, -0.0485114381, 0.0455392823, -0.0076994677, -0.0358298421, 0.023878403, -0.0564257875, 0.0052935779, -0.0370887071, 0.0173470322, -0.0401004963, 0.0132525722, -0.0281387512, -0.010998413, 0.0235147756, -0.0294472929, -0.0366974138, 0.0037803585, 0.0054952255, -0.0106794499, 0.0740948096, -0.032130219, 0.0200761836, -0.0334725901, -0.0100901742, -0.015399985, 0.0019588547, -0.0257040486, 0.0116103841, 0.0726511627, -0.0294968467, 0.0051930905, 0.0502141453, 0.0064248694, 0.0315816216, -0.0148223946, 0.0004476287, -0.0374887846, -0.0259181224, 0.021666497, -0.0010821345, 0.022265099, -0.041359257, 0.0373459756, 0.0281912088, 0.0739942938, -0.0381307192, -0.0591328479, -0.0105851945, 0.0249590445, -0.0446897596, -0.0449408181, 0.0071197744, -0.0132854199, -0.0299355946, 0.0018230277, 0.0712047592, 0.0253776181, -0.0262759514, 0.0505136698, -0.0589725338, 0.0640101954, 0.0458794385, 0.0643895194, -0.0769282207, 0.0349888876, 0.0582042858, 0.0152075067, -0.0096564116, -0.0082666017, -0.0234769601, -0.0778227523, 0.0458626747, 0.0250868499, -0.0257386267, 0.0011646328, -0.0557641648, 0.0148012368, 0.0001686011, 0.0429562852, 0.0642222613, -0.02470042, 0.0012399605, 0.0049949228, -0.0282685105, -0.039978236, -0.0247735046, -0.0296851341, 0.0652131811, 0.01579584, 0.0033984007, 0.0099720601, 0.0255913269, 0.0836498141, 0.0875879377, 0.0182742849, -0.038531635, -0.0369930826, 0.0738609135, -0.0124614956, 0.0312499907, -0.0265073664, -0.0150417807, -0.0325973704, 0.0021240448, 0.0714554414, -0.0084122373, 0.0030332897, -0.0020861039, -0.0424165316, -0.0039530015, 0.0156713128, 0.0492908768, -0.003843687, -0.024392901, -0.0462215208, -0.0435006022, -0.0123847062, -0.0389464647, -0.0261971001, -0.029233234, -0.0370528512, -0.0145893432, -0.0096794497, 0.0042100134, 0.0346190594, 0.0226100851, 0.0104272068, 0.0176725872, -0.0131960008, 0.0062193759, -0.0180028211, -0.0344509929, 0.0139375273, -0.082775712, 0.023783965, 0.0166294035, 0.0000117939, -0.0245719738, -0.0155408885, -0.0695355907, -0.1070336699, 0.0536678471, 0.0452826396, 0.0351374932, 0.0304797627, 0.0058008516, -0.0945103094, -0.0077437018, -0.006457286, 0.0042545428, 0.0536318272, 0.0170975551, -0.0060750879, 0.0031368516, -0.002738151, -0.047557883, -0.0199747942, 0.0010150702, 0.020144647, -0.0289245695, -0.0289527457, -0.0181442145, 0.0650643483, -0.0156260934, 0.0012298748, -0.0008990004, 0.0070112618, 0.0623017028, -0.0589699969, 0.0166028105, -0.0018823828, 0.0570447072, -0.0504974313, 0.004883782, 0.0063924463, -0.0023930571, -0.0411315747, 0.030354863, 0.0075761625, 0.0344141461, -0.0197549835, 0.0224147048, 0.086887449, 0.0108941542, 0.017894147, 0.0331071466, 0.0368649699, 0.0098925205, -0.024068851, -0.0080454042, 0.0071671968, -0.0024120898, -0.046700269, 0.0248516295, -0.0357872956, -0.0642610118, -0.0133431591, 0.0259246435, 0.0314870961, 0.0233831462, 0.0577745736, -0.0276532434, 0.0007629524, -0.025224125, 0.0094617158, 0.004216366, 0.0016804625, -0.0242733452, 0.0021838115, -0.0096885152, 0.0378016904, 0.0437445305, 0.0265545212, 0.0563379116, -0.0054259175, -0.0076869843, -0.0096603502, -0.0166029464, -0.0089350799, -0.0458958149, -0.0294791758, -0.0715515092, -0.0516670309, -0.0573110618, 0.0054708938, 0.016277466, 0.0094404509, -0.0126579078, -0.0048191575, 0.0487670936, 0.0247640926, 0.035481438, -0.0146638388, -0.0267931186, 0.0201193225, -0.012197121, 0.0328652002, -5.987093214e-33, -0.0015853847, 0.017467238, 0.0370743647, 0.0021944479, -0.0208589286, -0.0295536201, -0.0564471222, 0.0122921951, 0.0359777585, -0.0344958939, -0.030910233, -0.0106665138, 0.0221571382, -0.0310919899, 0.0193643644, 0.0104425419, 0.0596101321, 0.0289779175, -0.0239779111, 0.019331947, 0.0279559027, 0.015369988, 0.0791499391, -0.0347417183, 0.0241722353, -0.0124784475, 0.0073442934, 0.0276789535, 0.0018356612, 0.0587521382, 0.0243841726, 0.0128607443, -0.0114996303, -0.0418130755, -0.0641769469, -0.0486236103, -0.0089170355, -0.0077267219, 0.0209081061, 0.0533502921, 0.035893932, -0.0639739409, 0.0178626571, 0.0452504419, -0.0328000821, -0.001707931, -0.0002746189, -0.0098747639, -0.0158978347, 0.0081473095, -0.056827344, 0.0281246956, -0.0004478493, 0.0264136866, 0.0074481098, 0.0055248425, 0.0147113474, -0.0189554412, -0.0168451555, 0.0268317703, 0.1182620153, 0.0714206174, 0.0702342466, 0.0059128115, -0.0003044608, -0.0048778844, -0.0185971279, 0.0506833121, -0.0050355322, -0.0068205693, 0.0348914862, 0.0333181396, 0.0087167881, 0.005397636, 0.0009958196, -0.0360604711, 0.0011306808, 0.0227710158, -0.0144516416, 0.0449435562, -0.0002057104, 0.0495318733, -0.0204622895, 0.0062931874, -0.0570972115, 0.0035546839, -0.0442074314, -0.0405860245, -0.0010104899, -0.0335301049, 0.0052755456, 0.0075683915, 0.0388680622, -0.0488962047, -0.0593006797, -0.0138396742, -0.0290724337, 0.0457111709, -0.0267640073, 0.0123944385, 0.0276584178, -0.0147704203, 0.011365559, -0.0054301857, 0.0330971666, 0.0052765859, -0.0399300084, 0.0752159059, -0.0659519061, 0.013794804, 0.0057649203, 0.0171308201, 0.0310021397, 0.0003303293, 0.0065931804, -0.0485206954, 0.0177563205, 0.0123703592, 0.0445394441, -0.0221782308, 0.0013293177, 0.0655472204, 0.0291847289, 0.0405638292, 0.0064022224, -0.0034702574, -0.036156524, 0.0425875336, 0.0659219325, -0.0563298874, -0.0457826033, -0.0017688171, 2.928e-7, 0.011170323, 0.0988473147, 0.0677795857, -0.0017614448, 0.0052932701, 0.0215328801, -0.0371576697, 0.0045722025, 0.0134185189, 0.0273766983, -0.0005344368, -0.0313376747, 0.0319930129, 0.0222023688, -0.0259159096, 0.0426449627, -0.0985036567, 0.0139810881, -0.0723283365, -0.0436655618, -0.0238338541, 0.0348015875, 0.0280531384, -0.0022547606, -0.0192795862, 0.0069064987, -0.0089588976, -0.0201917905, -0.0315151215, 0.0533743277, 0.0220359489, -0.0064149396, 0.0243894532, -0.0266404599, -0.0406874493, 0.014682753, -0.0270095784, 0.0489891022, -0.0150600486, 0.0147018209, 0.0404205844, -0.0330148116, -0.0199258495, -0.0415623598, 0.0395005047, -0.0102425544, 0.0071733468, -0.0665775016, -0.0345135257, -0.0116616404, -0.0339251347, -0.0200451463, 0.0217311457, 0.0653125271, 0.0013199415, 0.0242334288, 0.0059678177, -0.0201113094, -0.0401427187, 0.002725105, -0.0442892052, -0.0329343416, -0.0278363395, -0.0040827496, 0.010904449, -0.005621444, -0.0070389928, 3.101421081e-34, 0.0347349979, -0.0461070985, 0.0397619531, 0.0509454012, 0.0347442366, -0.010822216, 0.0020860233, 0.0655096024, 0.0010565656, -0.0460613035, -0.0703590214 ]
http://arxiv.org/abs/2406.11260v1
http://arxiv.org/pdf/2406.11260v1
Adversarial Style Augmentation via Large Language Model for Robust Fake News Detection
2024-06-17T07:00:41
2024-06-17T07:00:41
Sungwon Park, Sungwon Han, Meeyoung Cha
cs.CL
cs.CL, cs.AI
The spread of fake news negatively impacts individuals and is regarded as a significant social challenge that needs to be addressed. A number of algorithmic and insightful features have been identified for detecting fake news. However, with the recent LLMs and their advanced generation capabilities, many of the detectable features (e.g., style-conversion attacks) can be altered, making it more challenging to distinguish from real news. This study proposes adversarial style augmentation, AdStyle, to train a fake news detector that remains robust against various style-conversion attacks. Our model's key mechanism is the careful use of LLMs to automatically generate a diverse yet coherent range of style-conversion attack prompts. This improves the generation of prompts that are particularly difficult for the detector to handle. Experiments show that our augmentation strategy improves robustness and detection performance when tested on fake news benchmark datasets.
[ 0.052225329, 0.0503917821, -0.0116502205, 0.0564982779, -0.0119175566, 0.0062087961, -0.0001574743, 0.0311075523, 0.0159975365, -0.0264534596, -0.0195706263, -0.0570915639, -0.0074987258, 0.0431041829, 0.0677892864, -0.0207955781, 0.0363003835, 0.0028013964, 0.0377557129, -0.0227576327, 0.0632634386, 0.0338476561, -0.0038418558, 0.0096340887, -0.0065100403, -0.0137323132, 0.0138116777, 0.0542515442, 0.0439257696, 0.0042836689, 0.0125101227, 0.044938717, 0.0110894348, 0.0919313431, 0.0000017895, -0.0069486382, 0.0040920824, -0.0086415783, -0.0020495714, 0.0396641158, 0.0483296476, -0.0764527619, -0.0440528952, 0.0112669012, -0.0202217586, -0.0319857113, 0.0233264174, 0.0801653042, 0.0948791504, 0.1360892653, -0.0192188546, -0.0392657779, 0.0470462926, -0.0288540758, 0.0169147905, -0.0363472439, 0.0356795974, -0.0327374078, -0.0347879045, 0.0678691566, 0.0332431681, 0.0168648697, 0.0097758761, -0.0310154222, -0.0405241363, -0.0115289558, -0.0204087719, 0.0092325322, 0.0002480768, 0.0363575146, -0.0710778087, -0.035117574, 0.010578759, -0.0136165665, 0.0523847044, 0.0231293384, -0.01701634, 0.0025143079, -0.0099104354, 0.0019297565, -0.027571667, -0.0347558483, 0.0487246439, 0.0481824949, 0.0256664902, -0.0194532573, 0.0084019369, -0.0259675551, -0.0270604286, -0.0274306014, -0.0348389968, -0.0307404883, 0.0323028751, -0.019888917, -0.006235315, -0.0104404185, -0.0928097069, -0.0503952987, 0.0199279021, -0.0891776234, 0.0370895863, -0.0122159831, -0.0079709757, -0.0019904464, -0.0429812744, 0.0287078004, -0.0466523916, 0.0358834341, -0.0131633822, 0.0122061223, 0.0049879579, 0.006606387, -0.0059799752, -0.0325495154, 0.0095316954, 0.0098043019, -0.0294222422, 0.0036434452, -0.0053898487, 0.0414027236, -0.0151152145, -0.00644982, -0.0415145829, -0.0451205038, 0.0371626914, 0.0247940719, 0.0340331271, 0.0067470148, 0.0089844204, -0.0374092124, -0.0200558007, 0.042841427, -0.0379965194, -0.0166304726, -0.0121024381, 0.0239722896, -0.0162534602, 0.0053859469, -0.0650218576, -0.0104103275, -0.0267804749, -0.0108530857, 0.0333607681, -0.0630642921, -0.0552246347, -0.0479488, -0.009579937, -0.0584803298, -0.0146092763, 0.0119658997, -0.0241277739, 0.0431438424, 0.0136390869, -0.0283487048, 0.0608331934, 0.0291731823, 0.0224087834, 0.0881352872, 0.0042938096, 0.1296901703, 0.0351245254, -0.0146522978, 0.0010075384, 0.0683576018, 0.0508475825, 0.0392912626, -0.0313020833, -0.0425458625, 0.0113244411, 0.0290224012, 0.0290299505, 0.017255662, 0.0069452222, -0.078916505, 0.0986177176, -0.0716824979, 0.0061619761, 0.0238904096, 0.0328248702, 0.0316391289, 0.0189464688, 0.0034033563, -0.0399865024, -0.0002195062, -0.0854988024, 0.002985388, -0.0167716295, 0.0497172512, -0.0161637906, 0.0110644624, 0.0046557775, 0.0030274324, 0.0093333255, -0.014747357, -0.0158773679, 0.0509386286, -0.0347751454, -0.0312300939, -0.0003808096, 0.0016541012, -0.0060256897, -0.07707268, 0.0091242222, 0.0537728257, 0.0463019572, 0.0344230421, 0.0384445302, -0.0330539048, 0.0140983434, 0.0376917049, 0.0320030935, -0.0174382981, -0.0241037644, -0.028260313, -0.013462442, -0.0522894934, 0.0018916103, 0.0190748777, 0.0220614746, 0.0347727053, 0.0124956826, 0.0081053665, -0.0442238338, 0.0155585697, 0.0071083927, -0.0429038927, 0.0046534454, 0.0258614682, 0.0069554462, 0.0239314139, -0.0140482765, -0.0015667854, 0.0132739674, -0.0391280353, -0.0232559182, -0.0323780514, 0.002280788, -0.0483495854, -0.0020201101, -0.0322353728, -0.0503532775, 0.0736627355, -0.0388822034, -0.0043784715, 0.0339737572, -0.0718365386, -0.004203523, -0.0462353416, -0.0315723754, -0.0219585299, 0.0390336327, -0.0078997277, 0.0574105904, -0.0223791339, -0.0455875918, -0.0052785203, 0.0406492688, -0.0247918386, -0.011296114, -0.0161593519, -0.0117214667, -0.006002848, 0.00694498, 0.0136752473, -0.0021610323, 0.0066012093, -0.0260866936, -0.0268483516, -0.0247946363, -0.0232310686, 0.0113101164, 0.0471162982, 0.0089948177, -0.0195163675, 0.0033152071, -0.0602071956, -0.0232886001, -0.0250406154, 0.0256642736, -0.0226855204, -0.0328301042, -0.00822856, -0.0040865084, 0.0023090441, 0.0068498044, 0.0355009064, 0.0104458164, -0.0485967509, -0.0303187873, -0.0251696836, -0.0009225202, 0.0093587348, -0.0161954928, -0.0505474024, 0.0046773921, -0.010638413, 0.0140716089, 0.0715846941, 0.0941988304, 0.040718101, 0.0061189351, 0.0663563088, -0.0262766592, -0.0446250811, 0.004730917, 0.0295732319, -0.0197544768, -0.0771083981, 0.0492323637, 0.010130005, 0.0490220003, 0.0230212957, -0.0096388161, 0.0456665792, 0.0370165147, -0.047941111, 0.0363351814, -0.0185491238, -0.0137305856, -0.0274082404, -0.0296497308, -0.023880586, 0.0766201839, -0.0411246419, 0.0148926256, 0.028603375, -0.0309983771, 0.0246732924, -0.0123366471, -0.0012135331, 0.0285063032, 0.0106435847, -0.0224967245, -0.0039060067, -0.011310732, 0.0826263726, -0.0244919248, 0.0165555924, 0.0066543873, 0.0258979425, 0.0133200269, 0.0193974487, -0.0707573146, -0.1004779264, 0.0069559338, -0.0182956252, 0.0068505229, -0.0420372449, -0.0475578383, -0.0213221908, 0.0234876834, 0.0580263212, -0.0499017723, 0.0048586256, 0.0085720886, 0.0601557158, 0.0370796844, -0.0169224422, 0.0032839759, -0.0232750624, -0.0157502852, 0.0573403984, -0.0284988675, 0.0375523865, -0.035374552, -0.0204503816, 0.0162420776, 0.0222250838, 0.0006683824, -0.0175567456, 0.0366868153, -0.0435964577, 0.0013709019, 0.0663906261, -0.0047484185, -0.0127903577, 0.0008472442, 0.0303222965, -0.0008622219, -0.0026357479, 0.0008778889, -0.0615907721, -0.0251151528, -0.0033705733, 0.0166884065, -0.0302704796, 0.0148356957, -0.0137657551, -0.0582213253, 0.0007424174, 0.030542979, -0.0402530618, -0.0153105957, -0.0151413688, -0.0006732178, 0.024104096, 0.0219313651, -0.0238427687, 0.0265718028, -0.0305628665, -0.0017339723, 0.0165346339, -0.0787946135, -0.0302800573, 0.0055269925, 0.0723546073, 0.0769455582, 0.0347569957, -0.0307998229, -0.0875984356, 0.0124757523, 0.0087327138, -0.0161463935, -0.0006320938, 0.0558415391, -0.0202550683, -0.0120069813, -0.0200072769, 0.0617665388, 0.0387627222, 0.0107476804, 0.0224744827, 0.0052350238, 0.005323519, -0.0822258517, -0.0479523316, 0.0020861954, 0.0347594172, 0.044056423, 0.0312211011, -0.0420445018, 0.0105468156, -0.0706285834, 0.0108927032, -0.0604841299, -0.0761977881, 0.0187476724, -0.0239400156, -0.0288876984, -0.0689506605, 0.0144925844, -0.0513150692, 0.0223760046, -0.0135531975, -0.0397597849, -0.0486627221, -0.0119150467, -0.0272191558, -0.0153172333, -0.0009435452, 0.0677742362, -0.0075047566, -0.006310286, 0.0033054696, -0.0476551354, -0.0066828751, 0.0529931001, -0.0730142593, -0.0547379553, 0.0154002206, 0.0297591928, 0.0074687367, 0.050135415, -0.03418025, -0.0768034682, 0.0752009228, 0.0805970281, 0.0264494605, 0.0202340633, 0.0597072467, -0.0295739006, 0.0350569338, 0.033150021, 0.0101407627, 0.0385062546, 0.0461773574, -0.0415503979, -0.0289328862, 0.010923245, 0.0081159361, 0.0235915631, 0.0120002348, -0.0398132168, 0.0312154982, 0.0162033234, -0.0265830569, -0.0317275152, -0.0130737275, -0.0048400708, -0.0007413992, 0.0313676931, -0.0036606516, 0.0383062921, 0.010923381, -0.0075172782, 0.0263081715, -0.0593315139, -0.0192652382, 0.0062686885, 0.0926910564, 0.000572731, 0.0266456679, -0.0313546881, 0.065262951, 0.008809519, 0.0175734349, -0.0062131472, 0.0124012716, 0.037286181, -0.0312777497, 0.0143311052, 0.0132352747, -0.0567161143, 0.0247936025, -0.0609865002, 0.0565315932, 0.012960746, -0.0160586778, 0.0389332846, 0.003239675, 0.0041946932, 0.0162151214, -0.0112882107, -0.0192361232, -0.0575663075, -0.0186684541, 0.0062904484, 0.006342872, 0.0119136777, 0.0453162082, 0.0129100289, 0.0191775952, 0.0022132397, -0.0519345552, -0.0128336828, -0.020444015, 0.0212621782, 0.0385216549, -0.0279983357, -0.0234460756, -0.0324167013, -0.0647880808, -0.0105462139, 0.0221959557, 0.0179022327, 0.0340516269, -0.0208472311, 0.0548738316, -0.00093075, 0.0229412653, -0.0187950786, 0.0495738536, 0.0209420547, -0.0586711802, 0.0202435181, -5.61571157e-33, 0.0240148772, -0.0384294316, -0.0557454191, -0.030574169, -0.0103992475, 0.029621277, -0.0304870475, -0.0321680568, -0.0200356413, 0.0245893691, 0.0056166006, 0.0096307844, -0.0205965713, 0.0463629402, -0.0590896867, 0.0007675872, 0.0634059981, -0.0154132554, -0.0440883972, 0.0254331939, 0.0722476169, -0.0330643132, 0.0512838624, -0.0412590615, 0.0404644795, -0.0289798677, -0.0710934401, -0.0343107693, -0.0132648749, 0.0218516774, 0.032447502, 0.041561719, 0.0145949945, -0.0183350369, -0.0076876823, 0.0325757302, -0.0199934989, -0.0226121396, 0.0248467531, 0.0215237513, -0.011645833, 0.0012105004, 0.0516372211, -0.0294976104, 0.0126187652, -0.0042226654, 0.0013728776, -0.0389285125, -0.006704635, -0.0304627195, -0.0247977413, 0.0138558988, 0.0019322614, 0.0106998105, -0.0122613823, 0.0447956994, 0.0230724458, -0.0109378714, -0.0718780383, 0.0157375094, -0.0200163536, -0.0026105945, 0.0128977839, -0.0051626945, -0.0262370445, 0.0437136292, -0.0179229621, 0.0482259244, -0.0460589677, 0.0287230853, 0.0485214107, -0.0029324379, 0.0684355646, 0.1141513661, 0.0314041562, -0.0481366105, -0.0255349744, 0.0511982106, 0.0746546015, -0.0312272292, 0.0080139302, 0.011026415, -0.0347224958, 0.0201065447, -0.0135404328, -0.0606518947, -0.0098177521, -0.0390784293, -0.0111949854, 0.0193322208, -0.041361127, 0.0389286242, 0.0039350726, -0.045637846, -0.0115998937, 0.0051449351, -0.0451797508, -0.0082389964, -0.0084819347, 0.0255990811, -0.0061453385, 0.0068939347, 0.0849516317, -0.0095856749, -0.0206366964, -0.0149341207, 0.0812431946, 0.0340532251, -0.0296435654, -0.0095521491, -0.0046125436, 0.0506243221, 0.0069328202, -0.0077881026, 0.0195436627, -0.0162510071, -0.0286741257, -0.0176171567, -0.0095546627, -0.0103675285, -0.0045998618, 0.0087249577, -0.0371245854, 0.0500970297, -0.0440777764, -0.0244122017, -0.0340222158, -0.0386948027, 0.0227747615, -0.1155560091, 0.0038531118, -0.023755081, 2.566e-7, -0.0302783214, 0.0291955229, 0.0130285006, 0.021094026, 0.0385035463, 0.052501779, 0.0324134901, 0.0497046374, -0.0074653211, -0.0752528235, -0.0415127352, 0.0168582816, 0.0298058372, 0.0238051675, -0.0472616926, 0.0302346572, -0.0815105438, 0.0333211124, -0.0427691266, 0.0036105763, -0.0023122844, 0.0733713508, 0.041879829, -0.0578275286, 0.053398449, -0.0035686442, 0.0372929201, 0.0464236438, -0.0079488894, -0.0111249434, 0.070859395, -0.0207784902, 0.022512123, 0.0074674236, -0.0391451716, -0.016338544, 0.015444749, 0.0402082205, 0.0272577088, 0.0335889347, -0.0323323384, -0.0365167595, 0.0275323093, -0.0552663431, 0.0853740573, 0.0098768454, -0.0195261128, -0.0936520174, -0.0700661466, -0.023249032, 0.0095040174, -0.0478403084, -0.0122006405, 0.0284422785, 0.0209965687, 0.0140118096, 0.0193460584, -0.0295286197, -0.018256586, -0.0239420142, -0.0417310782, 0.0146268625, -0.0369526185, 0.0113207903, 0.0227401052, -0.0167913791, 0.015681861, 2.152675917e-34, 0.0236953776, -0.0186499823, -0.005008047, -0.0261812732, -0.0120480862, 0.0310667809, 0.0101938862, 0.0072408952, 0.0040474585, -0.0373060554, -0.031905964 ]
http://arxiv.org/abs/2406.11258v1
http://arxiv.org/pdf/2406.11258v1
Enhancing Biomedical Knowledge Retrieval-Augmented Generation with Self-Rewarding Tree Search and Proximal Policy Optimization
2024-06-17T06:48:31
2024-06-17T06:48:31
Minda Hu, Licheng Zong, Hongru Wang, Jingyan Zhou, Jingjing Li, Yichen Gao, Kam-Fai Wong, Yu Li, Irwin King
cs.CL
cs.CL
Large Language Models (LLMs) have shown great potential in the biomedical domain with the advancement of retrieval-augmented generation (RAG). However, existing retrieval-augmented approaches face challenges in addressing diverse queries and documents, particularly for medical knowledge queries, resulting in sub-optimal performance. To address these limitations, we propose a novel plug-and-play LLM-based retrieval method called Self-Rewarding Tree Search (SeRTS) based on Monte Carlo Tree Search (MCTS) and a self-rewarding paradigm. By combining the reasoning capabilities of LLMs with the effectiveness of tree search, SeRTS boosts the zero-shot performance of retrieving high-quality and informative results for RAG. We further enhance retrieval performance by fine-tuning LLMs with Proximal Policy Optimization (PPO) objectives using the trajectories collected by SeRTS as feedback. Controlled experiments using the BioASQ-QA dataset with GPT-3.5-Turbo and LLama2-7b demonstrate that our method significantly improves the performance of the BM25 retriever and surpasses the strong baseline of self-reflection in both efficiency and scalability. Moreover, SeRTS generates higher-quality feedback for PPO training than self-reflection. Our proposed method effectively adapts LLMs to document retrieval tasks, enhancing their ability to retrieve highly relevant documents for RAG in the context of medical knowledge queries. This work presents a significant step forward in leveraging LLMs for accurate and comprehensive biomedical question answering.
[ 0.066342786, 0.0327180065, 0.0268392209, -0.0250394531, -0.0080021583, -0.026212953, -0.0448279716, 0.0500700772, -0.0214168392, -0.0004831508, -0.0390598178, -0.0357332677, -0.0479072444, 0.0043512927, 0.0046819942, -0.0206264462, 0.0481804684, 0.0080198944, 0.0426803268, -0.0292153563, -0.0057672863, -0.0005174242, -0.0066468786, 0.0319703668, 0.0111140469, -0.0171352811, 0.002023329, 0.0114616854, 0.0207284, -0.0758856758, 0.0150982812, 0.0109949261, 0.0298473649, 0.0205956865, 0.0000020753, -0.0443497822, -0.0406301022, 0.0299532358, -0.0231081937, -0.024971839, 0.0306683015, 0.0154749639, 0.0255979262, 0.0262146611, -0.0248854551, 0.0239889417, 0.025844574, 0.0285716113, 0.0565666445, 0.0708367229, 0.0262059364, -0.0255040731, 0.0322831869, -0.0230545234, 0.079521507, -0.0546576716, 0.0275875106, 0.008255478, 0.0476891212, 0.0250646137, 0.0181856565, 0.0273525864, -0.000648961, -0.0063505541, 0.0291065946, 0.0809504911, -0.0119890803, 0.0088523068, 0.0075724027, 0.0414566994, 0.0193208959, -0.0225886237, 0.0261599235, -0.0036516972, -0.0325871594, 0.0036758645, -0.0553895198, 0.0344284251, -0.0433196239, 0.0098226313, 0.0198104959, 0.0033730036, 0.0654590502, 0.0322703421, -0.0414707474, 0.0493271351, 0.0231069792, -0.0556921326, 0.0180548653, -0.0109415725, -0.006154757, 0.0076712817, 0.0178931206, 0.0645052716, -0.0584222414, 0.0164896585, 0.0111637842, -0.0236229915, 0.0610685833, -0.0022672783, 0.0350980051, 0.0141718388, -0.0007173147, 0.0268441662, -0.0136454673, 0.0102415904, -0.0536706559, 0.0182888247, -0.0350641906, -0.0168263875, -0.0617048405, -0.0571658872, -0.0496356152, 0.0675497055, -0.0389770158, -0.0206961818, -0.0606079064, 0.0048041302, 0.0231907442, -0.0382957272, 0.0203476548, 0.0574508123, -0.0730749443, 0.0093307719, -0.0515129417, 0.0236761123, -0.0270887353, -0.0063731, 0.0254767276, 0.0034797906, -0.0239811223, 0.0181860421, -0.0078452816, -0.0171150882, 0.0351821408, 0.0661883578, -0.0118896421, -0.0279605724, -0.0028778447, -0.0571895801, -0.0245791543, -0.0526527315, 0.0309614055, -0.0551342554, 0.0103254272, -0.0116796913, -0.0274681393, 0.0019164167, 0.0362978056, 0.0402617157, -0.0208756495, 0.0295654051, -0.017001858, -0.0013308673, 0.042980656, 0.0082705524, 0.0216243751, 0.0447775088, 0.0180560667, -0.0010838854, 0.0160997342, 0.0298883934, 0.0042408593, -0.0192750487, 0.0571400002, -0.0257458352, 0.0110497959, 0.033543922, -0.0359682292, 0.1044039205, 0.0082273129, 0.0313438885, -0.0425080396, 0.0160579979, -0.0013592786, 0.0541688129, 0.0187072251, -0.0123713585, 0.0352006443, -0.0226439554, -0.0165526774, -0.0364004709, -0.0069144648, 0.0391192697, -0.0223203246, 0.0407758392, 0.0163416155, 0.0057059699, -0.0220903251, -0.0228764452, -0.0110497773, 0.0351543538, -0.0596186519, 0.0287977122, 0.0456457511, -0.0029211373, -0.0433114655, 0.0363224708, 0.0164793693, -0.0257246923, 0.0009329119, -0.0795476511, 0.0168117862, 0.0589292906, 0.0717974305, -0.0415008403, -0.0126314517, 0.0116413962, -0.0369337946, 0.0297165252, -0.0010496067, -0.0134503562, -0.002205349, -0.0473975241, -0.0220582895, -0.0009230894, 0.0030139191, -0.0027081075, 0.0343126208, 0.0252990425, 0.031064067, -0.0275008846, 0.0017215068, 0.0320940353, -0.0479764193, -0.041244287, 0.0274360441, -0.0330646038, 0.0280078258, 0.0271655004, -0.0254360456, 0.0613937117, 0.0549541004, -0.0212010387, -0.0348614156, -0.0374011695, -0.0471065231, -0.04110571, 0.0259950142, 0.0085219489, 0.011102221, -0.0197150912, -0.0251465309, -0.0580196381, -0.0431319475, -0.0582829639, 0.0055749984, -0.0595281385, -0.0054843025, 0.0311221462, -0.0203969069, -0.0735227466, 0.0491453819, -0.017039096, 0.015530033, 0.0423903391, -0.0225342941, 0.0319777094, -0.0921964198, -0.001093875, 0.0042879633, 0.0011667192, 0.0123585695, 0.0386105366, 0.021725513, -0.0453525111, -0.0269264299, -0.0854363143, 0.0296095442, 0.0064045605, 0.0099834083, 0.0231044646, 0.0299284328, -0.0095056035, -0.0166612659, -0.0355038829, -0.0130794365, 0.0437921733, 0.0200163703, 0.0495942421, 0.0367708616, 0.0212501623, -0.0487334803, -0.0224345569, -0.0077672969, -0.0157317091, -0.0218153615, 0.0499162078, -0.0016261628, -0.0061954348, -0.0508183613, 0.0020368975, -0.012199278, -0.0022224826, 0.0534440763, -0.0590512753, 0.0100688962, 0.0529385172, 0.0090285968, 0.0040133847, 0.0518192463, 0.0001295346, -0.0698376149, 0.0450704321, -0.0582632534, -0.0282433592, 0.0219553467, -0.0197964255, 0.0365838073, 0.0543156341, 0.0132375499, -0.0005548105, -0.0476237275, 0.0106884297, 0.0135738375, -0.0359264538, -0.0634778216, 0.045432955, -0.0259622745, 0.0147199174, -0.0122278826, -0.0455988646, 0.1106262058, -0.0053335875, 0.0205685813, -0.0655629337, 0.0130090779, -0.0317486823, 0.0282477718, -0.0057001123, 0.0139234019, -0.0258502737, -0.0028425776, -0.010750602, 0.0051936568, 0.0226127859, -0.0644933134, 0.0081354547, -0.0121419234, 0.0447933078, 0.0253281966, -0.061844185, -0.0245755576, -0.0313493423, -0.0058897496, -0.0026757605, -0.0125853792, -0.0068359165, -0.006738978, 0.0137233892, 0.0480293445, 0.0327195711, -0.0342159644, -0.0389079824, -0.0016298098, 0.0204953812, 0.0773018152, -0.0137876049, 0.0062570595, -0.0107347751, 0.023458045, 0.0523675829, 0.0478550121, -0.0154415006, 0.0193240605, -0.0094411084, 0.0047806194, -0.0364518836, -0.0074813487, 0.027363658, 0.022363374, -0.0715099052, -0.0548293255, 0.0819116607, 0.0380849689, -0.0483277217, -0.0187831186, -0.0483610891, 0.0441092588, 0.0064170216, 0.0923685208, -0.0548689961, -0.0228651799, -0.0045912554, 0.0764572918, -0.0349519812, -0.0253435299, 0.0277795848, -0.0935620666, 0.0328111798, -0.0108292354, -0.0374344997, -0.0434856154, -0.0442992039, -0.0357168242, 0.0137889432, -0.0245280378, 0.0543901436, -0.0200399924, 0.0188587103, 0.0177249387, 0.0217164923, -0.0487648696, 0.0086923428, -0.0055671073, 0.0098732403, 0.1123569086, 0.0012818305, 0.0113388253, -0.0061627585, -0.0133390985, -0.0285431948, 0.0153792892, -0.0224850327, 0.0294428691, -0.0082780384, 0.0064340201, -0.0715796575, 0.0316476077, 0.0040227412, -0.0134844854, -0.0096071064, 0.0868753642, -0.052721411, -0.0140080778, -0.0764738172, -0.0017599248, -0.0043477113, 0.0597932115, -0.0173360985, 0.0159257837, -0.049645409, 0.0031453448, 0.0471478812, -0.0342044272, -0.015522683, 0.0338947475, -0.0162725281, 0.0497195125, -0.0600490198, -0.0508600473, 0.0020595945, 0.018002864, -0.0396363251, 0.0447347462, -0.0404757671, -0.0072599761, -0.0458493643, 0.0120072272, -0.024931632, -0.0179281346, -0.0365645327, -0.0036091595, 0.0800703019, -0.0179589819, -0.0182256903, -0.0152285621, -0.0144169275, -0.0322764181, -0.066353716, 0.0785947293, 0.0144030685, 0.0215760898, 0.0028802913, -0.0399470478, 0.078541033, 0.0692315102, -0.046607215, -0.0060718637, -0.0143633308, -0.0208855886, -0.0337277465, 0.0240654983, -0.0493836813, 0.009674849, -0.0413939804, 0.0901332647, 0.0204871073, -0.0123126144, 0.053309273, 0.0285618845, 0.0355855413, -0.0299082883, 0.0160617344, -0.0123744113, 0.0246602148, -0.0427631065, 0.007115257, -0.0159483701, 0.0123056052, 0.0338121429, -0.0538094603, 0.0053009856, -0.0113299191, -0.0268208031, 0.0234790593, -0.0246530268, -0.0036493458, 0.0040513887, -0.0112752505, 0.0444546863, -0.0253548194, -0.0063845022, 0.0058701653, 0.0185747873, 0.0388668664, -0.0175494533, 0.0629303902, 0.0340022407, 0.0130384257, -0.0103548765, 0.0001330758, -0.098082751, -0.0421438143, -0.0295365788, 0.0148224616, 0.0504256897, 0.0395862237, 0.0113223027, -0.018701179, -0.0198322367, -0.0162451416, -0.0056008878, -0.0069053588, 0.0096128657, 0.0713959485, 0.03023321, 0.0013448538, -0.0313379355, 0.095616512, 0.043395035, 0.067116484, -0.02182642, -0.0331030488, -0.0272503179, -0.0345654078, -0.0029738133, 0.0211739261, -0.0363901593, -0.0105959233, -0.0391603075, -0.0303146243, 0.0104463464, 0.037559025, -0.0391779207, -0.0371704996, 0.0718629658, 0.056957759, -0.0128546106, -0.0663506761, -0.0336371064, 0.0617764778, -0.0617973432, -0.0159896761, 0.001021528, -6.673750893e-33, -0.0208215602, -0.0277522877, 0.0766079128, -0.0176560786, -0.0469972976, -0.0161183439, -0.0628736764, -0.0195808411, 0.0102032302, 0.0267789401, -0.0449231081, 0.0132342055, -0.0016501016, 0.0416033939, 0.0150326509, 0.0018276498, 0.0359762385, -0.028677661, -0.0245746598, 0.0330702849, 0.0100070182, 0.0571238436, 0.0139520504, -0.0336156785, -0.0252514221, 0.0081390254, 0.0127280951, 0.0415038839, -0.0273136236, 0.0672763139, -0.0188157298, 0.0289333854, 0.0176334064, -0.0182817187, 0.0104302038, -0.032325238, -0.0802510679, -0.0342530534, -0.019874936, -0.0697274432, -0.0569288656, -0.0472671613, 0.0495501012, -0.0164535437, -0.0048848372, -0.0037260179, -0.0095182108, -0.0081999088, -0.0537457541, -0.0544199906, -0.0271751415, 0.0284118988, 0.0322746187, 0.0125797363, -0.0139321871, 0.0156799573, -0.0229325034, 0.0535092205, 0.0189381205, 0.0110548455, 0.019248005, 0.0455751903, 0.0181551818, 0.0335458294, 0.0350957364, 0.018800199, 0.0170135349, -0.017962873, -0.021597391, -0.0169800688, -0.0179776754, 0.0189218447, 0.0234852824, 0.040818356, 0.0260420777, 0.0209905226, -0.0897368193, 0.0555398762, -0.0308686048, 0.066767849, 0.0191969424, 0.0051251305, -0.0227570664, -0.0075563472, -0.0384691283, 0.0120943552, -0.0155959204, -0.0447871089, 0.0561602265, 0.0326967426, 0.0047123753, -0.0018888708, 0.0124985566, -0.0095910197, -0.0023548095, 0.0148139047, 0.000443134, -0.0158763994, -0.0310578384, 0.013474308, -0.0818397477, -0.0084235854, 0.0048206984, -0.034141209, -0.0080358759, 0.0307941325, -0.0405050628, -0.0084225684, -0.0407078601, 0.0016700079, -0.0188318845, 0.0304246806, -0.0257306416, 0.0000123689, 0.0115903616, 0.0256905556, 0.0181752294, 0.0574512407, 0.0248725265, 0.0276377592, -0.0369853824, -0.0471923575, 0.0291275512, 0.0081668431, -0.0088901799, 0.0595954172, -0.0387974046, 0.0569282062, -0.0216083415, -0.0681672394, -0.0068720719, 0.0406790227, 2.881e-7, 0.0658487231, 0.0513669699, 0.0226373728, 0.0233313479, 0.0247585066, 0.0152982315, -0.0017136857, -0.0118699251, 0.0025199209, -0.0332174189, 0.0352052338, 0.0060622259, 0.0063862377, 0.011358303, -0.1039407402, -0.01042936, -0.0996843651, -0.0345225148, -0.0177891441, -0.0712139979, 0.0251700841, 0.058635857, -0.044069916, -0.0330875255, 0.0330114923, -0.0249453336, 0.0978871956, 0.0106955105, -0.0098965652, 0.0289994907, 0.0261608399, 0.0106583294, 0.0179362521, -0.0098190065, -0.0085924556, 0.0136567298, -0.0142855775, 0.0685143024, -0.0176842511, -0.0544591583, 0.0364862606, 0.0019062874, 0.0358303487, -0.0461139679, 0.0573152751, -0.0478397235, -0.0028601396, -0.0065711234, 0.0032552299, -0.0170777086, 0.0398491845, -0.0500528514, -0.0391352512, 0.0392351784, -0.0131360823, 0.0468798764, 0.0003004125, -0.0855269954, -0.0035458766, 0.0075089354, -0.0449887291, -0.0217425562, -0.0452351831, 0.0176556185, -0.0250271801, -0.0632954389, -0.0348858647, 2.674781835e-34, 0.02990162, -0.028233951, 0.0016081856, 0.0199231673, 0.0220340621, 0.0251788218, -0.0078999996, 0.0282567404, 0.0180018116, -0.070587568, -0.0443263128 ]
http://arxiv.org/abs/2406.11256v1
http://arxiv.org/pdf/2406.11256v1
Dynamic Data Mixing Maximizes Instruction Tuning for Mixture-of-Experts
2024-06-17T06:47:03
2024-06-17T06:47:03
Tong Zhu, Daize Dong, Xiaoye Qu, Jiacheng Ruan, Wenliang Chen, Yu Cheng
cs.CL
cs.CL
Mixture-of-Experts (MoE) models have shown remarkable capability in instruction tuning, especially when the number of tasks scales. However, previous methods simply merge all training tasks (e.g. creative writing, coding, and mathematics) and apply fixed sampling weights, without considering the importance of different tasks as the model training state changes. In this way, the most helpful data cannot be effectively distinguished, leading to suboptimal model performance. To reduce the potential redundancies of datasets, we make the first attempt and propose a novel dynamic data mixture for MoE instruction tuning. Specifically, inspired by MoE's token routing preference, we build dataset-level representations and then capture the subtle differences among datasets. Finally, we propose to dynamically adjust the sampling weight of datasets by their inter-redundancies, thus maximizing global performance under a limited training budget. The experimental results on two MoE models demonstrate the effectiveness of our approach on both downstream knowledge \& reasoning tasks and open-ended queries. Code and models are available at https://github.com/Spico197/MoE-SFT .
[ 0.0319048502, 0.0386955626, -0.022663679, 0.0002297293, -0.0076740254, 0.0373847187, 0.010079626, -0.0320450626, -0.0238716267, -0.0307700112, -0.0389523841, -0.0080080666, -0.0182795562, 0.0049790237, 0.0256644804, -0.0731077418, 0.0351861119, -0.0299977474, -0.0259981751, -0.0023623372, -0.0211384147, 0.016112024, -0.0317277499, 0.029779736, 0.0144972727, -0.0252542645, -0.005877445, 0.0130805261, 0.0077298894, 0.0279431436, 0.0155130941, 0.0672639981, 0.0578654483, 0.0116795134, 0.0000021393, -0.0076057287, -0.015083042, 0.0066731577, -0.023526106, -0.0514302067, -0.0033961809, 0.0229297262, 0.0130808884, 0.0325131677, -0.0144636463, 0.0009736991, 0.0408859141, 0.0256261751, 0.0503261127, 0.1028184891, 0.0173372701, 0.0021385544, 0.041103255, -0.0182061009, 0.061782036, 0.0108719878, 0.0072887293, 0.0214864872, -0.0172357131, 0.0149789378, -0.0351678282, 0.0116221299, 0.0307896826, 0.0441911854, 0.0545663312, 0.0140553471, -0.0267207716, 0.0445930623, -0.022010291, 0.0540477075, -0.0547127575, 0.0110848276, -0.0054190811, 0.0119348438, 0.0159086045, 0.0015371036, -0.0415126421, -0.0064310776, -0.0306341611, -0.010105608, -0.0024787406, -0.0107620209, 0.0122053474, 0.003182373, -0.0523121096, 0.0321661606, -0.0015643581, -0.0180266555, -0.0339383893, -0.0133516667, -0.0204750784, -0.0346881747, 0.0007173051, 0.0342895314, -0.023087604, 0.0059019849, -0.0474789813, -0.0368780904, -0.0359368101, 0.0045625097, 0.0495659113, 0.0610194802, -0.0139256008, 0.0350084379, -0.0029819759, 0.0229672771, 0.0027168326, 0.05906526, -0.0395833813, 0.0143230166, -0.1187797785, -0.0115933213, -0.0323710032, 0.0594360344, -0.0396221355, 0.0275005326, -0.0479215197, 0.0602106377, -0.0364017822, 0.004531878, 0.0241471082, 0.0003906824, -0.0481995605, 0.0187230259, -0.033892028, 0.0271799285, -0.0384741575, 0.0274461005, 0.0207143947, -0.0128676351, -0.0064613451, 0.0089172293, -0.0325672366, -0.0340914279, 0.0325612724, 0.080864653, -0.0409681275, -0.004186118, -0.0423961617, -0.0324398242, 0.0311245527, -0.0609329268, 0.0273656473, -0.0612229779, 0.079154633, 0.0066956747, 0.0006187185, -0.0096084019, -0.0343835689, 0.0103255734, -0.0192101635, 0.0460550785, 0.0200929064, -0.0029803948, 0.0159116704, 0.0189964063, -0.0805130079, 0.0883341506, 0.0291077737, 0.004528272, 0.0125396401, 0.0194419641, -0.0065853801, -0.0206796918, -0.0047450066, 0.0199501067, -0.0013459935, 0.0309887417, 0.0045518535, 0.0046035484, 0.0406129397, 0.0158746988, -0.0607563369, 0.0020028125, 0.0253365003, 0.0037334529, 0.0530329607, 0.018685719, 0.0671269372, 0.0314826518, 0.0221505836, 0.0661273077, -0.0528954268, 0.0500072315, -0.0216879733, 0.0007245289, 0.0195851717, 0.0545513816, -0.0501748025, -0.0435374454, 0.0332269333, 0.0047261752, -0.0496684834, 0.0435271785, 0.0320884511, -0.019972505, -0.0226111859, 0.0175546557, 0.0100606391, -0.0157429092, 0.0065891938, -0.0528878905, -0.0221758056, 0.0757785738, 0.0365500413, -0.0684744492, -0.0528256521, -0.0251902919, 0.0346450396, -0.0364087559, 0.0104129622, -0.0242196899, 0.0220675487, -0.0474926867, -0.065698944, -0.0514036939, 0.0152659779, 0.0260431506, 0.0242614653, -0.0027105934, 0.0110201063, -0.025824517, -0.026007697, 0.0242757555, -0.044486396, -0.0249298308, 0.0032798431, 0.0262047704, 0.013790003, -0.0034270696, -0.0275550243, 0.0150908204, 0.0036211063, 0.0037676347, -0.02313211, -0.0098879552, -0.0599088632, -0.0381613225, 0.0200548451, -0.047106199, -0.0191114414, -0.0456482209, -0.0757960156, -0.0510034785, 0.0161720663, -0.0142531442, 0.0065764701, -0.0171128865, 0.0124746216, 0.0048308964, -0.0506100617, -0.0153669324, 0.0720965341, -0.0209198967, 0.0135847861, 0.0174645539, 0.0151532916, 0.0091027115, -0.0370981544, 0.0208489597, -0.0396104828, 0.0072452836, 0.0569113269, -0.0132799381, -0.0047725816, -0.0381695963, -0.0868941098, -0.0552118346, 0.0136302318, -0.0316288359, 0.0228028595, 0.0345225744, -0.0129337115, -0.0031131841, 0.012733575, -0.0437405817, -0.0332918279, -0.0482963324, 0.0278455783, -0.0064590033, 0.0139907729, -0.0020062467, 0.0113213649, -0.0411001965, -0.0549215339, 0.0102642793, -0.02923318, 0.026177749, -0.030456204, -0.0213514734, -0.0473884232, 0.0175158978, -0.0267255455, 0.0088360636, 0.0099099018, -0.02994949, 0.0719901919, 0.0848642588, -0.0168481786, -0.001908759, 0.0453704558, -0.0214932766, -0.0112368567, 0.0417205989, 0.0068745478, 0.0475840941, -0.0163891092, -0.0108922143, -0.0206129029, 0.0361120664, -0.0173071679, -0.0274291355, -0.0674622059, -0.0017833782, 0.0168747343, -0.0269157551, -0.0245507248, 0.0148653165, 0.0317740589, -0.0043030363, -0.0542655028, -0.028366277, 0.0873714387, 0.0400202945, 0.0165671576, -0.0696023628, -0.0073683881, -0.0633830428, -0.0016772053, -0.0109567549, 0.014561167, -0.0445063785, -0.0156360772, -0.120283626, 0.0146916229, 0.0315230899, -0.0254143104, 0.0419461653, -0.0304783229, -0.0331774317, -0.0005878768, -0.0451848246, -0.0219133515, 0.0111863613, 0.0329290815, 0.0423802882, 0.03959883, -0.0548131391, -0.0618896075, -0.0194680374, 0.0332831442, 0.0569993705, -0.0329073034, -0.0164825395, -0.0399545617, 0.0000933289, 0.0195884127, -0.002987829, -0.0516462177, -0.0683932081, 0.0056703328, 0.0168608353, 0.0940085202, -0.0835143924, 0.0011620466, 0.0604866073, 0.0124788256, -0.0389951617, -0.0202961992, 0.0487136692, 0.0529569685, -0.0544647202, -0.0062059918, 0.0877806917, 0.0231379494, -0.0390804522, -0.0164462123, 0.0118153207, 0.0152645595, 0.0440752394, 0.05877221, -0.0753682852, -0.0240698103, -0.0115044946, 0.0329305716, 0.0064969729, -0.0217066482, -0.0121083222, -0.0715716407, 0.0039273128, 0.0249993131, -0.0712929368, -0.0248875301, -0.0275316555, -0.0392719656, -0.0168833416, -0.006652961, -0.0164034311, -0.0399179496, 0.0039861416, 0.0450826026, 0.0472703576, -0.0595027208, 0.0127936685, -0.032024689, 0.0412255637, 0.0323607177, -0.0062601911, 0.0219300501, -0.0235227775, -0.0103037842, 0.0258816797, 0.0183262229, 0.0031840729, 0.0783868134, -0.0606185943, 0.0128910989, 0.007044943, 0.0142054241, -0.0086388858, 0.0200290252, 0.0337064713, 0.0941931382, -0.0202486087, 0.0230397098, -0.0519039407, -0.0437969454, 0.00890233, 0.0568296425, 0.0175743587, -0.0246639661, -0.0100002345, -0.0244511105, -0.0349385776, -0.0418633334, 0.056653589, 0.0398958735, -0.0180335045, -0.0489840917, -0.0269346014, -0.0091742473, 0.061066445, 0.066134952, 0.0138954753, 0.0112793408, -0.0059084678, 0.0051327879, -0.083085984, 0.030579336, -0.0368501954, 0.012525579, -0.0950115174, -0.0462999679, 0.0053124214, -0.0191132873, -0.0147609226, -0.0317798816, -0.1059731692, -0.0601671971, -0.0159683861, 0.0733568817, 0.0161906667, 0.0546846427, 0.0014631139, -0.0645671859, 0.0544220507, 0.0476763621, -0.0517725721, -0.0069556893, 0.0491119251, -0.0426683165, 0.0063941502, 0.0052185976, -0.05188765, 0.0130240386, 0.0503517613, -0.0017357402, -0.0148347439, 0.0646591708, 0.0062628379, -0.0137698129, -0.0102924015, 0.034921892, 0.0186961647, -0.0593324788, 0.0430541113, 0.0067901108, -0.0080065634, -0.0284984987, -0.006156961, 0.0193616711, -0.0027067617, 0.0051243757, 0.021614641, 0.0359978266, 0.0147810178, -0.0407272279, 0.0045382907, -0.004377638, 0.0426968746, 0.0209150221, -0.0031617344, -0.0156652331, 0.0025397604, 0.0114008235, 0.0175442025, 0.0002831242, 0.0333256088, 0.0310828146, 0.0353143737, -0.0185725857, 0.0277600493, -0.1093206704, -0.0563105717, -0.0269854385, 0.0038375894, 0.0454501621, -0.0200871229, -0.0150964623, -0.0038977719, 0.0066728285, -0.0224141181, 0.0049138917, -0.0011664389, -0.0008177701, -0.0208916944, 0.0610007495, 0.0192503352, -0.0176943, 0.0881322473, -0.0299722571, 0.0429829434, -0.0205524825, -0.0151737109, -0.0269902498, 0.0168233402, 0.0410258248, 0.0597170517, 0.0079072071, 0.0238838829, -0.0397873446, -0.0510193333, -0.0016805429, -0.0172867011, 0.020895591, 0.0140141165, 0.0609634593, 0.0393767916, -0.0352943912, -0.0350657217, -0.0129528176, -0.0066358494, 0.0421737023, -0.0181131847, 0.0090959147, -6.289621379e-33, 0.0006433647, 0.0010156248, 0.0364109986, -0.0360680819, 0.0183889102, 0.012299573, -0.010669075, -0.0134573402, -0.0278053526, -0.0116868233, -0.0344875231, 0.0522138514, -0.0000104392, 0.0146939242, 0.0425873958, 0.0189313516, 0.0619731881, -0.0122284489, -0.0245801471, 0.046674557, 0.0526825972, 0.0042162733, 0.0688606873, -0.0382328853, -0.0409249738, 0.0212957505, 0.0239891633, 0.0266796928, -0.0318632089, 0.06078621, 0.0294070821, 0.0456099734, 0.0202847905, -0.0225282516, -0.040801011, -0.0575622693, -0.0691996589, -0.0873953775, -0.0171383917, -0.0124081373, -0.0094558597, -0.0562539622, 0.0508714803, 0.0008092166, -0.0052967458, -0.0681539103, 0.0509755872, -0.004745204, -0.01165759, -0.0264413599, -0.0292217731, 0.0165381581, -0.0113368351, -0.0026989982, 0.0000217986, 0.0260338243, 0.0342052355, -0.0289645493, -0.0427581072, 0.0481387712, 0.0261475258, 0.0746726021, 0.0354441851, 0.0439449996, 0.0122481426, 0.0126320738, 0.0387467034, 0.0577672236, 0.0166497026, 0.0200489536, 0.0325094536, 0.0765150264, 0.0133351851, -0.0354345776, 0.0557883531, 0.0182078015, -0.0442009047, 0.0245379005, 0.0229008812, 0.0218959749, 0.0193643458, 0.0020359817, -0.0601508021, -0.0144483289, -0.0320029333, 0.0005012468, -0.026257474, -0.0192762036, 0.0351028927, 0.0300792679, -0.0167565029, -0.0022325867, 0.0235532653, -0.0414914265, -0.0093847681, -0.0043705702, -0.0236539934, 0.0164786763, 0.0273955427, 0.0263629127, -0.076377444, -0.0820450857, 0.0690918192, -0.0087973895, 0.0129426997, 0.0300278887, 0.0559818111, 0.037521217, -0.0554298796, -0.0175639931, -0.0365470275, 0.002002832, 0.0374098085, 0.038143266, 0.0204903949, 0.0420986526, -0.0040006805, 0.0064615021, -0.0084425006, -0.0354151428, -0.0324618593, -0.0169116128, -0.0139456969, 0.0303008296, 0.0225461088, 0.0174987819, -0.0545187183, -0.0561513416, -0.0070550572, -0.048655238, -0.0442709848, 0.017926164, 2.811e-7, -0.0091815135, 0.0220671128, 0.0164314937, 0.030170951, -0.0118791098, -0.0103899417, -0.0339828245, 0.023525238, 0.0041456814, -0.0157740787, 0.0404406488, 0.0562762097, 0.0128885778, 0.0143009983, -0.0845757723, -0.0015656042, -0.0036635613, 0.0374979079, -0.0570294037, 0.0036646463, 0.0209567491, 0.0794904232, 0.0401334129, -0.0017691066, 0.0235223994, -0.0163172148, 0.035251271, 0.0365112834, 0.0496694781, 0.0439902805, 0.0341547765, 0.0448503271, 0.0128225228, 0.0451580547, -0.029835863, 0.0183872543, -0.0114898086, 0.0426423587, -0.0503638685, -0.0164214186, 0.0363253839, -0.0102378773, -0.0241662674, -0.0129547352, 0.0667950064, -0.0360999517, -0.0226506367, 0.0261639599, -0.0054723723, -0.010919176, 0.0404991396, 0.0118525568, -0.0149041517, 0.0193976928, 0.0179567188, 0.0005800374, 0.0142449616, -0.0616541468, 0.0123435007, 0.0320027694, -0.0348011628, -0.0661895648, -0.0361561477, 0.008544907, 0.0451551415, -0.0481350161, -0.0307148322, 3.178152393e-34, 0.0446646288, 0.0068992856, 0.0401488319, 0.0237719677, 0.0220816135, -0.0280612707, -0.072089985, -0.000739886, 0.0263866913, -0.0496926047, -0.0580861494 ]
http://arxiv.org/abs/2406.15483v1
http://arxiv.org/pdf/2406.15483v1
Duplicate Detection with GenAI
2024-06-17T06:42:13
2024-06-17T06:42:13
Ian Ormesher
cs.CL
cs.CL, cs.DB, cs.LG
Customer data is often stored as records in Customer Relations Management systems (CRMs). Data which is manually entered into such systems by one of more users over time leads to data replication, partial duplication or fuzzy duplication. This in turn means that there no longer a single source of truth for customers, contacts, accounts, etc. Downstream business processes become increasing complex and contrived without a unique mapping between a record in a CRM and the target customer. Current methods to detect and de-duplicate records use traditional Natural Language Processing techniques known as Entity Matching. In this paper we show how using the latest advancements in Large Language Models and Generative AI can vastly improve the identification and repair of duplicated records. On common benchmark datasets we find an improvement in the accuracy of data de-duplication rates from 30 percent using NLP techniques to almost 60 percent using our proposed method.
[ 0.0519305319, 0.0551424399, -0.0444577597, 0.0302073881, -0.029166488, 0.0104937078, -0.0299320947, 0.0146428114, 0.0273192916, -0.0321739428, 0.0330294818, -0.0256544463, 0.0076051308, 0.0271036755, -0.0054663476, -0.018738959, 0.0377357304, 0.0480728783, 0.0012667171, 0.0384773165, 0.0026371675, 0.0319907516, 0.0156983379, 0.0286936481, -0.0343744531, -0.0268691555, -0.0000258152, 0.0015239253, 0.0514527187, -0.0383143164, -0.0202332921, 0.0250412561, -0.009802429, 0.0133691262, 0.0000019734, -0.0676915348, -0.0562345311, 0.0172441248, -0.0728555396, 0.0354144648, -0.0052173096, -0.0071333121, -0.0145518435, 0.0437793508, -0.0405109935, -0.0041561783, 0.0234952234, 0.071085088, 0.0863975659, 0.0571638979, -0.051525142, -0.0616264418, 0.0230965223, 0.0102332123, -0.0004797473, -0.0386489592, 0.0488306098, 0.0286764335, 0.0250487328, -0.0222370476, 0.029203115, 0.0317950845, -0.0308443233, -0.0090169497, -0.035745766, 0.0159262102, -0.0040268456, 0.0544515587, -0.0214936063, 0.0405262671, -0.0330285728, -0.0192319788, 0.0235064495, -0.0138440607, -0.0222089179, -0.0412901416, -0.0015578368, 0.0133620771, -0.0163114499, 0.0297817718, -0.0408316925, -0.0366208367, 0.0117409481, -0.0358023793, -0.0380879007, -0.0089812968, 0.0425780714, -0.0373062938, -0.0034032976, -0.0003263324, 0.0020338478, -0.0550384782, 0.0166419689, 0.0537695847, -0.0277327392, -0.0093040681, -0.0502269417, -0.0320366658, 0.0270096511, -0.0437803976, 0.0208205618, 0.0194916259, 0.0369629674, 0.02961329, -0.0016543713, 0.0456046425, 0.0120175835, -0.0322269052, -0.012319372, -0.0438810512, -0.0610903203, -0.0206268486, -0.0392596237, 0.0357914194, 0.024647411, -0.0304548051, -0.0299642514, 0.0020181939, -0.0108611155, 0.0613151155, 0.0034133901, -0.0275485497, 0.0103286589, -0.0075751594, -0.0524721444, -0.033118207, -0.056037154, 0.0122145126, -0.0488009527, -0.0531591885, 0.0397775508, 0.0105075585, 0.0215470809, 0.0263338387, -0.0151457638, 0.0127930781, 0.0505632572, -0.0092688808, -0.1346963793, -0.01935325, 0.0024605237, -0.0098994905, -0.064146474, -0.0218476187, 0.039511282, -0.0143816471, -0.0224057827, -0.0312017314, 0.0050628744, 0.0328012183, -0.0194390267, 0.0759992674, -0.0526012219, 0.0647545084, 0.0434729196, -0.0412803851, 0.0728043541, -0.0170618165, 0.0222896673, -0.0481949486, 0.0581902787, 0.0154320803, 0.0678152889, 0.0496388488, -0.0289306268, -0.0574329458, 0.0352413952, 0.0147191193, -0.0337270759, 0.0211523287, 0.0236266665, 0.0710333884, 0.0009451394, 0.0012333692, 0.0482815392, 0.0102175679, -0.0075084153, 0.0542264469, 0.0197473709, 0.0508218817, -0.0258874595, -0.0027743978, 0.0220236201, 0.0001261579, 0.0119533008, 0.0087962979, -0.010492757, 0.0331167616, -0.0517631881, 0.0028984575, -0.0075580636, -0.0149053354, -0.0271077938, -0.0281325225, -0.0035557889, 0.0467164405, -0.0100978678, 0.0227339882, -0.0015204917, -0.0285504404, -0.0587592684, -0.0403275304, 0.002302194, 0.089489691, 0.0529841036, 0.0250292663, -0.0328489654, 0.0177232902, -0.0885245427, 0.0531176925, 0.0461877249, -0.0264975429, -0.0206518006, -0.0574635975, -0.0113020791, 0.0654614195, -0.0220091995, 0.0062115625, 0.0257740542, 0.0221100431, 0.0486476868, -0.0108222943, -0.0041563706, 0.0401175097, 0.0052022906, -0.0301968288, -0.0003206316, 0.0434300527, 0.0156311169, 0.0142678581, -0.0099412035, 0.0088557974, 0.0235745311, -0.011606304, -0.0323692001, 0.0088552535, 0.0494930595, 0.0042522964, 0.0271594562, -0.0254572611, -0.0428065248, 0.0071539041, -0.0315094702, -0.0155065367, -0.049756974, -0.018750865, 0.0260067936, -0.0663553029, 0.0600011162, 0.0145618469, 0.0041374923, -0.028633615, 0.0814412087, 0.0231665839, -0.0330185331, 0.0043179509, -0.0529587902, 0.0546039194, -0.0700781569, -0.0172967575, -0.006912116, -0.0188597124, 0.0508546233, 0.0078024738, -0.0316239186, -0.0142053887, 0.0077431649, -0.0550064445, 0.0176809635, 0.0376240872, 0.0301767569, 0.0126648322, 0.0540939793, -0.030142149, -0.0013306175, -0.0272784121, 0.0029122182, 0.0503900982, -0.0288085137, 0.051998876, 0.0039877864, -0.0615584739, -0.0404751562, 0.0372605808, -0.0363817587, 0.010094922, 0.0208707433, -0.070979923, -0.09274593, 0.0378061943, -0.0430565029, 0.0204777811, 0.0069263168, 0.0175302774, -0.0068986798, 0.0355717801, 0.0757605582, -0.0106087504, -0.0175429322, -0.0420015603, -0.0035397264, -0.0001691554, -0.0309125911, 0.0118688671, -0.0211887211, -0.0359388627, 0.0314207226, -0.0148226423, 0.0658731908, -0.0383067355, 0.0092560994, -0.0282372888, 0.0068488149, -0.0026468523, 0.0070695858, 0.0463744178, -0.0163769051, -0.023777524, -0.0104954587, 0.0304184631, 0.0135811334, 0.023973126, 0.0158676319, -0.0089843515, 0.0486732461, -0.047153268, 0.0002734373, -0.0202874914, 0.0501380786, -0.0126794623, 0.0293876342, -0.0018713614, -0.0396471731, 0.0023717994, 0.0205782503, 0.0378987156, 0.0194997955, 0.0265560746, -0.0330550745, 0.0516216941, 0.017360026, -0.025350444, -0.0793152377, 0.0096128937, 0.0100263245, 0.0002351453, 0.0450369082, 0.0234368779, -0.061218258, 0.0306688435, -0.0256346297, 0.0369033739, 0.0062490362, -0.025375044, -0.0069124391, 0.0258455575, 0.0163205247, 0.0105464375, 0.0288030375, 0.0215666872, -0.0092674298, 0.0088436641, 0.0058148974, 0.0280704536, -0.0414312333, -0.0172587484, -0.0286925826, -0.1006078497, 0.0348530263, 0.0278024357, -0.0519642122, -0.0047466611, 0.009726081, 0.084021844, 0.0339948311, -0.0179292914, 0.003146423, -0.0080191409, -0.0502705835, 0.0018896573, 0.0390484147, -0.0654010624, 0.0078367759, 0.0096344585, -0.0224599633, 0.0375634953, -0.0247434285, -0.0074436227, -0.1471039206, 0.0231740344, -0.0109359203, 0.004355615, -0.086908631, -0.0245124437, 0.0104140444, 0.0184412897, 0.0130912839, 0.001387164, -0.0209730361, -0.0290420167, -0.0215415936, -0.0152514456, -0.0823524296, -0.027354151, -0.1000480056, 0.0243160017, 0.0861898437, 0.0799766257, 0.0399482809, -0.0119281271, -0.0005478355, 0.0120214317, 0.0138670821, 0.0164788626, 0.0728305951, -0.0040884218, -0.0043870015, -0.0386246517, -0.0057598702, -0.0262689441, -0.0041226433, 0.0393361114, 0.0199916475, -0.0160078257, -0.0167672001, -0.0172676854, -0.0170421973, 0.0288511384, 0.0799062252, 0.0191562939, -0.0023702811, -0.0199250039, -0.0020103841, 0.0450147055, 0.0276033413, -0.0262776203, 0.072101824, -0.0402179845, -0.0349107012, -0.0907601938, -0.0208935719, 0.0331605673, -0.0073995651, 0.0752908662, -0.0031874143, 0.0541583337, -0.0213165767, -0.0088237058, -0.0803405344, -0.0804341957, 0.0367712453, -0.0711548254, 0.0421450436, -0.0215381905, 0.0466340072, -0.0488754325, -0.0012060418, -0.0701344386, -0.0327187926, -0.033681646, -0.0143131064, 0.0210071374, -0.0075696339, 0.0066650226, -0.0153345671, -0.0633979887, 0.0471302383, -0.028764924, -0.0241186488, -0.0573857054, 0.0112164533, 0.0003459555, 0.0300090965, -0.0249611903, 0.024420945, -0.0228999984, 0.0434366614, -0.0179929342, -0.0210798159, 0.0394510366, 0.0647508278, -0.004454392, 0.0216024928, 0.0418134965, -0.0546044223, 0.0213227756, -0.0321723707, -0.0007810137, 0.0054121092, -0.0081255166, 0.0193579439, 0.0520347208, 0.0082589416, -0.0052311872, -0.0306412969, 0.0047957189, -0.0293644201, -0.0377363861, 0.0063271206, 0.0559110418, -0.0132205784, -0.0406843163, 0.0027804954, 0.0171949472, 0.0549209528, 0.0490687229, -0.0282139033, 0.0062599997, 0.0128873345, 0.0254627187, -0.0528132729, -0.0060196854, 0.0439006351, -0.0850089788, -0.0071532237, 0.0072967662, 0.0553204976, 0.0011173399, 0.0054614595, -0.0678174272, -0.0165511798, -0.0182274301, 0.000075138, 0.0264203083, -0.0208212901, -0.0346208885, -0.0045826347, -0.0479928702, -0.0157046132, 0.0811907277, -0.037286751, 0.0421451516, -0.06265641, -0.0389978625, -0.0621766746, -0.0039353729, 0.0198752154, -0.0348727331, -0.0030435431, -0.0199548118, -0.0406589285, -0.0202338044, -0.006961335, 0.0325290971, -0.0015055066, 0.0216717478, 0.0323822871, 0.0155081907, 0.0264411122, -0.009757393, -0.0133896768, 0.0014167011, -0.0207740311, -0.0252481233, -0.0390418954, -5.479416306e-33, -0.032605391, -0.0154639259, 0.0146906674, 0.0024942409, 0.017449256, 0.0118811252, -0.0067368252, -0.0370977595, 0.0014202822, -0.0017905111, -0.0315509737, 0.0219275337, 0.0435131043, -0.0210437253, 0.0005973779, 0.0226806644, 0.0644163266, 0.0208853837, -0.0021024554, -0.0078333979, 0.0034241914, 0.0198780727, 0.0165841449, -0.076915808, 0.0012155565, -0.0538216978, -0.0145381568, 0.032709375, 0.0142120132, 0.060745243, -0.0444365628, 0.0138830543, 0.0173819158, -0.0415711626, 0.0225338172, 0.0105151506, -0.0969008207, -0.0379195437, -0.0140796471, 0.0033539711, 0.0487941243, -0.0030912014, 0.0151440278, -0.0339721777, -0.0429235287, 0.0715048686, 0.0622176751, -0.0216279067, -0.0065076607, -0.0451741852, -0.0876006186, 0.0144213652, 0.0052699917, 0.0331070609, 0.0170156099, -0.0399952382, -0.0172347855, 0.0114848539, -0.1053884327, 0.0375816301, 0.023682138, -0.0018601021, 0.006174922, -0.0445392281, 0.010366139, 0.031874381, -0.0002525103, -0.0423816405, 0.0090049403, -0.0089595607, -0.0321414396, 0.01924452, -0.0284954384, 0.0347554609, 0.0014817219, -0.051992029, -0.04611554, 0.1256932914, 0.0047601904, 0.0154294055, 0.0053625377, 0.007258168, -0.0617878549, -0.0188337117, 0.0061326651, 0.0043341499, -0.038722802, 0.0017376, 0.0622389168, 0.0112497862, -0.0093855411, 0.01339697, -0.0109709082, -0.0421224497, -0.0905350149, -0.0113722114, 0.0097384742, -0.0299695227, -0.011343522, 0.0071261055, -0.0121322274, -0.0445895344, 0.0098729609, 0.0002720859, 0.026665803, 0.0066388072, 0.0259904265, -0.0060749045, -0.078411147, 0.0491209589, 0.0348823518, -0.0355970562, -0.0189278349, 0.0045741838, 0.0129141342, 0.0152785098, 0.0314860828, 0.011147785, 0.0479093976, 0.0014709311, -0.0018699388, 0.0259438083, 0.0112049216, -0.0110254027, -0.0224645697, 0.0400561951, -0.0492479876, -0.0186615922, 0.0506615862, -0.0308083631, -0.0180934202, 0.0035483257, 2.662e-7, 0.0294580851, 0.027214678, 0.0264735501, 0.0445798635, 0.018381577, 0.0293841418, 0.0152245583, -0.0006716357, -0.0097512174, 0.051064413, 0.0577547997, -0.0343485251, 0.0218806081, 0.0129999025, -0.0624707304, 0.0388345756, -0.0198555402, -0.041573219, -0.1145999581, -0.0006709991, 0.0253509469, 0.0779371709, 0.0143206781, -0.0007676792, 0.0022787962, -0.042846702, 0.0038461965, -0.0306478087, 0.0164472051, 0.0709251016, 0.0641542971, 0.0166768357, -0.0041997624, 0.0178124309, -0.0131370304, 0.037601728, 0.0343311392, 0.0286370516, -0.0102802198, 0.028624557, 0.0169555228, -0.0476217791, -0.0074730953, -0.0411045551, 0.0406891257, -0.0355170257, -0.0024094367, 0.0001464427, -0.0054989778, 0.0041881138, 0.0014333242, 0.0412551202, -0.0344850607, 0.0187397432, 0.0233238507, 0.0063381242, -0.0378616229, -0.0595783629, 0.0444576032, 0.018522637, -0.0222777333, 0.031922251, 0.0020065669, -0.0295800697, 0.0461510345, -0.0100382632, 0.0463198312, 2.192270102e-34, -0.0175888035, 0.0095126675, 0.0139257368, 0.0198795814, 0.0541380495, 0.0099187372, -0.0234169923, 0.0527402759, -0.040037781, -0.0399317443, -0.006325217 ]
http://arxiv.org/abs/2406.11250v1
http://arxiv.org/pdf/2406.11250v1
Can Machines Resonate with Humans? Evaluating the Emotional and Empathic Comprehension of LMs
2024-06-17T06:22:20
2024-06-17T06:22:20
Muhammad Arslan Manzoor, Yuxia Wang, Minghan Wang, Preslav Nakov
cs.CL
cs.CL
Empathy plays a pivotal role in fostering prosocial behavior, often triggered by the sharing of personal experiences through narratives. However, modeling empathy using NLP approaches remains challenging due to its deep interconnection with human interaction dynamics. Previous approaches, which involve fine-tuning language models (LMs) on human-annotated empathic datasets, have had limited success. In our pursuit of improving empathy understanding in LMs, we propose several strategies, including contrastive learning with masked LMs and supervised fine-tuning with Large Language Models (LLMs). While these methods show improvements over previous methods, the overall results remain unsatisfactory. To better understand this trend, we performed an analysis which reveals a low agreement among annotators. This lack of consensus hinders training and highlights the subjective nature of the task. We also explore the cultural impact on annotations. To study this, we meticulously collected story pairs in Urdu language and find that subjectivity in interpreting empathy among annotators appears to be independent of cultural background. The insights from our systematic exploration of LMs' understanding of empathy suggest that there is considerable room for exploration in both task formulation and modeling.
[ 0.0210982114, 0.0426529013, -0.0368564539, 0.0451106541, -0.0219567735, 0.060158506, -0.0219967607, -0.0471043624, 0.0094139846, -0.0134097459, -0.0306437612, -0.0063063884, -0.0053832857, -0.008389499, 0.0104230791, -0.0689074174, 0.0261301193, 0.0568690598, 0.0397676416, -0.0086105159, 0.0057998849, 0.0677135438, -0.0032351702, 0.0549242906, -0.006895931, 0.0048507578, 0.0047303885, -0.0046399459, 0.0544701852, 0.00073218, 0.0125002069, 0.0325416625, 0.0315411873, -0.0005709619, 0.0000020222, -0.0343375318, 0.0089386217, -0.0261132382, 0.0264860503, -0.034774743, 0.0815687627, -0.0535714142, 0.021044299, -0.0007825058, -0.0527911074, -0.015319977, 0.0150616467, 0.0535897724, 0.0394583307, 0.0721560717, -0.0310334247, -0.0195076577, -0.0194840971, -0.0060779974, -0.0192129984, 0.0217073988, 0.0120716924, -0.009928925, -0.005719787, -0.0634519085, -0.0458844863, 0.0184273161, 0.0111449277, 0.0051597632, 0.0229370072, 0.0253506303, 0.0146855284, -0.0426341146, 0.0054829316, 0.0871801302, 0.0110319955, 0.0211500302, 0.008649487, -0.0166537352, -0.0124569563, -0.0193395913, -0.0032683623, 0.0011610199, 0.0044804658, 0.0501900688, 0.0413006507, 0.0215304997, 0.0097761787, 0.0430327021, 0.0376006365, -0.015049614, -0.0365132242, 0.0103943953, -0.0021043564, 0.0070975358, -0.0309298169, -0.0222135913, 0.0402608179, 0.0212691631, -0.0073363115, -0.0026455366, -0.0303680152, 0.026881136, 0.0153513979, -0.0499454364, 0.0341275372, 0.0689068362, -0.0160973668, 0.0019356329, 0.0046365703, -0.010379469, 0.0260469243, 0.0172627326, -0.0415897258, -0.0068595954, -0.0380838625, 0.0171296634, 0.0265111476, 0.0140949702, -0.034036763, 0.0072745392, -0.0487968512, 0.0141257998, -0.0097890478, 0.009014097, -0.065479137, -0.0154585885, -0.0223417692, -0.0112325782, -0.0212179311, 0.0475356244, -0.0751547515, 0.0264758002, -0.0264787842, -0.0861847773, 0.0190785881, 0.0132454596, -0.0011400953, -0.0170457754, 0.0272739492, 0.0334168933, 0.0206854213, -0.0762239024, -0.0351516083, 0.0078399535, 0.0111806393, -0.0495594926, -0.0167370923, -0.0275439974, 0.0579818338, 0.0074703335, 0.0303005073, 0.0028716261, 0.0239310842, 0.0003441842, -0.0474049039, 0.0995047092, 0.0235444997, 0.0106051033, -0.0010688499, 0.0074208612, 0.0289191231, 0.0287506357, 0.0369366966, 0.0105835907, 0.0396580882, -0.0097014727, 0.0390368365, -0.0063399975, -0.0506825075, -0.021301752, 0.0050967378, -0.0285207797, -0.0240305439, 0.0585194789, 0.0584251694, 0.0316616111, -0.0185732078, -0.0370534137, 0.058049947, 0.1168801934, -0.0256183669, 0.0757558867, 0.0213297252, 0.020985717, -0.0122183729, 0.0374371633, -0.0603276752, 0.0331196859, 0.0376305953, -0.0303842165, 0.0135066146, 0.0112483473, -0.0246862229, -0.0278125945, -0.0220725462, -0.0284237899, 0.0406021848, 0.0105782496, 0.012176048, -0.0119810067, -0.0107953493, -0.0503866188, 0.0665277615, -0.0568130128, 0.0297425929, -0.0319079496, 0.0150566269, 0.0777592435, 0.0159601625, -0.026217794, 0.0058780271, -0.0269118939, -0.0293696485, 0.0242690966, 0.0405034572, -0.0051106368, 0.054935798, -0.0408428274, 0.0201817695, -0.007910626, 0.0010061545, 0.0199231952, -0.0614699535, -0.0008564502, -0.0127967224, -0.0199097823, -0.028507961, 0.0485052615, -0.0624826588, 0.0045423019, -0.0072414493, 0.0188330077, 0.0124558769, 0.0292413514, -0.0226110704, -0.0255524833, 0.022318881, -0.0198981464, -0.032548897, 0.080471307, -0.0541129261, -0.0361077338, 0.0081537524, -0.1045159549, -0.0224438794, 0.0597129762, -0.0045475122, -0.0157133061, 0.0301712416, -0.0262117237, 0.0218565594, -0.0473261662, 0.0171766225, -0.0437698923, 0.0168232601, -0.0054128673, 0.012673663, -0.0320142359, 0.0135278311, -0.0367240123, -0.0125138778, -0.00197345, -0.0026134094, -0.0428382494, 0.0333524123, 0.0292856805, -0.0094708502, 0.0054781539, -0.0100627104, -0.0626063272, -0.0367530137, -0.1323343068, -0.00675837, -0.0105719576, -0.0134848934, -0.0002545225, -0.0126239611, -0.0316608772, 0.0052271937, -0.0609610081, 0.0210190564, 0.0134400791, 0.004033607, 0.056313578, -0.0017890846, 0.0153112477, -0.0684471875, -0.0015073358, -0.0342689045, 0.0281438995, 0.0157325249, -0.0078836856, -0.008144849, 0.0060574836, -0.0447456017, 0.0092151482, -0.0251523331, -0.0752134472, 0.0021449781, 0.0137594724, -0.0016516028, 0.0580182634, 0.0224578865, 0.068117775, 0.0250814576, 0.0043205507, -0.036547441, 0.0276656933, -0.0168519486, 0.01134085, -0.0493532643, -0.0633829534, -0.0455500856, 0.0517509803, -0.0092221182, -0.0056582089, -0.053897202, -0.0358228721, 0.0104606366, -0.0403111577, 0.0145816831, 0.0104874559, -0.0060365773, 0.0044414797, -0.0217620227, -0.0476488508, 0.0794143379, 0.0203842688, -0.0118242633, -0.0225109514, -0.008421246, -0.0283135846, 0.0512833521, -0.0537766293, 0.0214179885, -0.0234145708, -0.0151082706, -0.0362824164, -0.0289595928, -0.0122064995, -0.0329927355, -0.0216363855, -0.0053371959, -0.048276674, 0.0251052957, -0.0422911756, -0.0310953408, -0.0449917316, -0.0501151681, 0.0154481279, 0.0425240472, -0.0147081744, 0.0186453592, -0.0161020886, 0.0235600565, -0.0196497943, -0.0191591363, -0.023125492, -0.0365914144, -0.0152195739, 0.0741303563, 0.0200496875, 0.0512063652, -0.0314103514, 0.0730345324, 0.0101747671, 0.0434215926, 0.0234231278, 0.0136573957, 0.045320563, 0.0235682521, 0.006882892, -0.0012026454, -0.0386699997, 0.0255792867, -0.02982191, 0.0093069607, 0.1337686479, -0.0001963691, -0.0708939135, 0.0336336046, -0.0427307673, -0.0497197062, 0.0138625056, -0.0069872821, -0.0672772974, -0.0054379124, 0.0013766153, 0.0344707444, -0.0308264215, -0.0493123643, 0.0115059577, -0.0895599425, 0.0234812554, -0.0096150879, 0.0135609591, -0.0521786548, -0.0363828689, 0.0002146664, 0.0067919679, 0.049999442, -0.0256301835, -0.0121806161, -0.0206531752, 0.0129210213, 0.0163616985, -0.0338222757, 0.0364625752, -0.0649514347, 0.055537492, 0.0533430167, 0.0958269462, -0.0089378813, -0.0118399737, -0.0335642174, 0.0097361738, 0.0005383582, -0.0134515259, 0.0338853076, -0.0580630675, -0.0256624818, -0.0205284953, 0.0712572187, -0.0283351056, 0.0090051591, -0.0178908687, 0.0547798462, -0.0231912434, -0.0262517575, 0.022988325, 0.0293198507, 0.0064878087, 0.0785499513, 0.0395308472, -0.077429913, 0.0041362173, 0.0201984737, -0.0007750699, 0.0091814175, -0.0380756482, 0.0096287876, 0.0062322281, -0.0029387316, -0.0268535167, -0.0993613154, 0.0102252373, 0.002811525, 0.020872565, -0.0163386334, 0.018760711, 0.0223314948, -0.0441945605, 0.0516125038, -0.0272071306, 0.0339488648, 0.0151014384, 0.0268557891, 0.0476007387, -0.0491563678, 0.0096538663, -0.0257708561, -0.01735208, -0.0605845116, 0.0123330122, 0.0148200737, 0.0077170176, 0.0504269898, -0.0061564147, -0.0803855807, -0.0037248039, 0.04389745, -0.0484975725, 0.0252394341, 0.0140012568, 0.0293752141, -0.0139593789, 0.0251043085, -0.0119196968, 0.0214857608, 0.0317567475, 0.0054924134, 0.0205280036, -0.0445907712, -0.0002072619, -0.0004975331, 0.0401624553, -0.014969347, -0.0268340036, -0.065337956, -0.045803003, -0.009799948, -0.0062755924, -0.0317871347, -0.023313811, 0.0281697139, 0.0601450875, -0.0453020819, -0.0777098015, -0.0658143163, 0.0211247653, -0.0515923202, 0.0361344032, -0.0152009968, -0.0026178528, -0.0318849422, 0.0411008038, -0.0061252713, 0.0102358023, -0.0199713036, 0.0062618656, -0.0058391066, 0.0488222837, 0.0353168622, -0.0058341757, 0.0034178621, 0.0214836039, -0.0010154723, -0.017978806, -0.0364155173, 0.0129122026, 0.0933787376, -0.0359979495, 0.0235777721, -0.0206003003, 0.026307093, -0.0171402674, 0.0446648188, -0.0155111235, -0.0151421037, -0.0226721521, 0.0201326627, -0.0364224538, 0.0421147235, 0.0016492468, -0.0871258378, 0.0468800366, 0.0199724156, -0.0189094581, -0.0230886266, 0.0029118052, 0.0657763183, 0.0038282792, -0.0118159922, 0.0368916094, -0.0688148662, -0.065196313, 0.041443754, -0.0444626883, -0.024902761, -0.03761255, 0.01832835, 0.0436312594, -0.0127914697, 0.0053436467, -0.0511804894, 0.0152606815, -0.0544572286, -0.030452922, 0.0150998039, -5.956292691e-33, -0.0014325636, 0.0019113417, -0.063943848, 0.0057882359, -0.0423185714, 0.0179957729, -0.0237682145, 0.0239815358, -0.0173331462, 0.0630604923, -0.0279189236, 0.0390385427, 0.0117540667, -0.0170042291, 0.005483659, -0.0135588013, 0.0218633246, 0.0103761144, -0.0011246837, 0.0205582883, 0.0083005866, 0.0637356341, 0.0628552213, -0.074240908, 0.0353110842, -0.0191456862, -0.0329745598, 0.0215470046, 0.0401953459, 0.0337148011, -0.055062376, 0.0781842172, 0.0302696824, -0.0020428416, 0.0096912319, 0.0275244061, -0.0705514699, 0.012552782, 0.02175905, 0.0119530484, -0.0535566956, -0.0588373914, 0.04707966, -0.0063211382, -0.0339034088, 0.0083359275, 0.031915538, -0.0120533248, 0.0510583818, -0.0192127433, -0.046333015, -0.010808832, -0.0283258073, -0.0522855185, 0.0108734593, 0.0267457627, -0.0117738694, 0.0573465675, -0.0222254489, -0.0049111769, -0.0177441593, 0.0003406081, 0.0183124617, -0.0286824536, 0.0072794589, 0.0913506895, -0.001524134, 0.0094795749, 0.0112608336, 0.0495132133, 0.0565672666, 0.0123375496, 0.0270454101, 0.0749240369, -0.0380564667, -0.0180848222, -0.0194171481, 0.0292912647, 0.0315535776, 0.0378921293, 0.0530146211, -0.0003925632, -0.0292386785, 0.0111101428, -0.0546286479, -0.0862597451, -0.008705019, -0.0036021527, -0.0061942972, -0.0221570618, -0.0195430778, -0.0027909991, 0.0023565125, -0.0441674814, 0.0267021116, 0.0105319619, -0.0498705171, 0.0150899012, 0.0134675559, 0.0227903444, -0.0211747903, -0.0581529588, -0.0056095864, -0.0023236843, 0.0663393661, -0.0020639489, 0.013774843, 0.0134144593, -0.0341552123, -0.0047835973, -0.0303047448, 0.0288192481, -0.0116959643, 0.004387123, -0.0066512283, 0.007990391, -0.0278301276, -0.0086521134, 0.0244400017, 0.0375000536, -0.0356560536, -0.0484474301, -0.0329177603, 0.0212338138, -0.0386333428, -0.0016918308, 0.0073347264, -0.0163609684, 0.0396900885, -0.0182751995, -0.0289362296, -0.0244635809, 2.648e-7, -0.0212259423, 0.027516067, 0.0337759182, -0.0208316036, -0.0019251022, 0.0606331006, 0.008707447, 0.0856906101, 0.0380707718, -0.0285659432, 0.0386000536, 0.0296081156, 0.0891539976, 0.0087876758, -0.0966321006, 0.0499881618, -0.0482147001, 0.0124770645, -0.0226758234, 0.0079820696, 0.055490341, 0.0776656717, 0.0491165593, -0.0037396853, 0.0182831865, -0.0068139695, 0.0171434246, -0.0976534113, -0.026418196, 0.0135297244, -0.0275881588, -0.0030922075, -0.0017273613, -0.0311724693, 0.0165485218, 0.0451673083, 0.0134782754, 0.1009282917, 0.0045886133, -0.0719326213, 0.0336189643, 0.0464568399, -0.0061693303, -0.037538562, 0.0427720435, -0.0731076598, -0.0473931208, -0.0123368641, 0.0433009528, -0.0114283878, 0.0362132639, -0.0182744302, -0.0370014198, 0.0371166691, 0.0166001469, -0.0089664012, -0.0102553125, -0.0495440327, 0.0222838614, -0.0116401985, -0.0310050696, -0.0685313866, 0.0110042542, 0.009019048, 0.0058065611, -0.0167789031, 0.0032763493, 1.82275793e-34, 0.0239008293, -0.0081886882, 0.0070213256, 0.0651680976, 0.0603192747, 0.043781016, -0.0222018491, 0.0020523614, 0.0668826476, -0.0574686825, -0.0030011933 ]
http://arxiv.org/abs/2406.11243v1
http://arxiv.org/pdf/2406.11243v1
FamiCom: Further Demystifying Prompts for Language Models with Task-Agnostic Performance Estimation
2024-06-17T06:14:55
2024-06-17T06:14:55
Bangzheng Li, Ben Zhou, Xingyu Fu, Fei Wang, Dan Roth, Muhao Chen
cs.CL
cs.CL, cs.AI
Language models have shown impressive in-context-learning capabilities, which allow them to benefit from input prompts and perform better on downstream end tasks. Existing works investigate the mechanisms behind this observation, and propose label-agnostic prompt metrics that can better estimate end-task performances. One popular approach is using perplexity as a way to measure models' familiarity with the prompt. While showing consistent improvements on in-domain tasks, we found that familiarity metrics such as perplexity cannot accurately estimate performance in complicated situations such as task or domain transferring scenarios. In this work, we propose a revised measure called FamiCom, providing a more comprehensive measure for task-agnostic performance estimation. Specifically, FamiCom combines familiarity with \textit{complexity} -- the inherent difficulty of end tasks, which is an important factor missing from current metrics. Experiments show that FamiCom strongly correlates with end-task performances, producing a 0.85 Spearman's correlation, versus 0.43 of familiarity-only ones'. We further apply FamiCom to automatic prompt and demonstration selection, and outperform existing methods and baselines by more than 7.0% in accuracy.
[ -0.002013087, 0.0195486881, -0.0310301781, 0.0343478955, -0.0537107065, 0.0308927149, 0.0399376862, -0.0213682465, -0.0012788905, -0.0044407439, -0.067327857, -0.050766658, 0.017579956, 0.0304853078, 0.0287444089, -0.0481069125, 0.0526094288, -0.0463206321, 0.0041601034, 0.006771862, -0.0293957386, -0.0111077707, -0.0293839853, 0.0572021455, -0.0016972158, -0.038665846, -0.0172148943, 0.0078387605, -0.024116829, -0.0499610007, 0.0192443598, 0.069247447, 0.0044323886, 0.0379953459, 0.0000021252, -0.073708199, 0.0119333183, -0.04079118, -0.0547269918, 0.0179755706, 0.0357051343, 0.0246069506, -0.0095473444, 0.0357831679, -0.0266143065, -0.0510642827, 0.0466621071, 0.0256293062, 0.0024167688, 0.0389735587, 0.0040573217, 0.044756677, -0.0257147178, -0.0459690802, 0.0029824032, -0.0434219651, -0.0078908466, -0.0591051355, 0.0166939441, 0.0110415071, -0.0286144167, 0.0339551121, 0.0441874973, -0.0034000888, -0.0350967534, 0.0307068545, 0.0316417031, -0.0197058395, -0.0464091338, 0.081651926, -0.0367730707, 0.0004076102, -0.0147925774, -0.0272708535, 0.0497675948, 0.0105640823, -0.0594807714, -0.0164144747, 0.0128962891, -0.0009976407, -0.012995447, 0.0171031915, 0.0328091644, -0.0039581298, -0.0034837706, 0.0777145475, 0.0199781936, -0.0247581806, 0.0281788446, -0.0121299047, -0.0347325057, -0.0631988198, -0.006272235, 0.0126346881, -0.0794150978, 0.0201109033, -0.0366863087, -0.0328074284, 0.0197580457, -0.0005035982, 0.061716903, 0.0539235212, -0.0592693239, 0.0575934909, -0.025061693, 0.111633651, 0.02135773, 0.0190744456, -0.0156676825, 0.0200466644, -0.0543943159, 0.0011549619, -0.0302625168, 0.0111315716, 0.0007632356, -0.0255340226, -0.0065268767, 0.0541708171, -0.0206686482, 0.0125852013, -0.0051753549, -0.0151963504, -0.0220452528, 0.0157978367, -0.0363366306, 0.0469774827, -0.0447709858, 0.0298463497, 0.0494465083, -0.0746851489, -0.0290845204, -0.0005267431, 0.0022660193, -0.0407209173, -0.0153540997, 0.064760156, -0.0184194017, -0.0469581895, 0.0046243658, 0.0099671772, -0.0180351343, -0.0604858212, 0.0014373939, -0.039974682, 0.0179634579, 0.0258731078, 0.0033525571, -0.0345518775, -0.0158947408, 0.016077226, 0.0113106091, 0.0643243864, 0.0224216282, 0.0249411296, 0.0216425695, 0.0244428758, -0.0419552363, 0.0648460165, -0.0048309732, 0.0111940522, 0.0542481318, -0.0120056635, 0.0258859098, 0.0520182736, -0.0012241381, 0.0024914297, -0.0050637904, -0.0115052788, 0.0695142597, -0.0080545498, 0.0290346071, 0.0374312811, -0.0006516212, 0.0195357092, 0.0771588311, 0.0194577798, -0.0079087373, -0.0608827509, 0.0602281466, 0.0137317134, 0.0139107322, 0.0411420465, -0.0933450535, 0.0221519005, -0.004945016, 0.0111605301, 0.0374573506, 0.0088320496, -0.0337168835, -0.0391387157, -0.0007066479, -0.014090728, -0.0035708197, 0.0242157914, 0.0490651317, 0.0374091417, -0.063147366, 0.0196400452, 0.0136394128, -0.0497491024, 0.0067206095, -0.0553643182, 0.0212892648, 0.0342914239, 0.0212247092, -0.0307030957, -0.0216995906, -0.0083097611, 0.0686035007, 0.0348971225, 0.064834021, -0.0216732956, 0.0412413441, -0.0144133233, -0.0382492691, -0.0198936686, 0.0428668968, 0.0163417347, 0.0154846292, 0.0054396172, 0.0194544364, -0.0602469891, -0.0166326463, 0.0286249798, -0.0274236277, -0.037985906, 0.0098688295, 0.020554455, 0.0071688271, -0.0084750317, 0.025004372, 0.0256420542, 0.0182678476, -0.0315741971, 0.0520132296, 0.0052879723, -0.0781880543, -0.0430396982, 0.0281076357, 0.0239692014, -0.0099315951, 0.0513041057, -0.0160969794, -0.0448937118, 0.0078808023, -0.0264934693, 0.0373935178, -0.0264674667, 0.0448056981, -0.0444350801, 0.0092912782, -0.0258905869, 0.0536669344, 0.0113842217, 0.0513692871, 0.0508791916, 0.0376260094, 0.0133889588, -0.0254156273, -0.049143821, -0.0103629213, -0.0360089615, -0.0088204127, 0.0199033562, -0.0131626222, -0.0388451889, -0.0179929566, -0.078673251, -0.0065207668, -0.031145066, 0.0159535185, 0.0137187159, 0.0155139538, -0.0130911171, -0.046244178, -0.0121012051, -0.0029590805, 0.0005221191, 0.0458493531, 0.0271219965, 0.0146880057, -0.053884469, -0.0346622579, 0.0050311764, -0.0039711557, 0.0462596416, -0.0121504134, 0.0157393198, -0.0390476584, 0.0500519313, -0.0062212646, -0.0033702599, -0.0359885842, 0.0015133823, 0.0375527628, -0.0027195241, 0.0502376147, 0.0406556912, 0.0018474011, 0.0215540435, 0.0545083173, -0.0280786678, -0.0543816537, 0.0020147043, -0.0221905876, -0.0302694198, -0.0194173921, -0.0255080983, 0.0230692737, 0.0708025247, -0.0089717535, -0.0104284696, -0.0515305325, 0.0133522162, -0.0371506736, -0.0229318421, -0.0478660502, -0.0096931187, -0.0408723578, 0.0684608892, -0.0309509337, -0.0849608779, 0.0798309743, -0.0342976451, -0.0118901301, -0.0404671989, 0.0064951926, -0.0003879845, 0.0654643103, -0.0096491631, -0.0063176109, 0.0334396511, -0.0654689521, -0.0630989447, 0.0198208448, -0.0013998558, -0.0375696756, 0.0518390313, -0.0541722104, -0.0183510613, 0.0090627708, -0.0364042148, -0.0529959053, -0.0216233563, -0.0003216267, 0.0323988497, -0.0255745836, -0.0135287959, -0.0057850811, -0.0125339078, 0.0317815058, 0.0454173721, -0.0153162749, 0.003825916, -0.016961243, -0.0153484503, 0.0380251594, 0.0348605961, 0.0065608649, -0.0492797792, 0.051099401, -0.0015383983, 0.0718656257, -0.0027835565, -0.0113664102, 0.0105055254, 0.0278031304, -0.0049529485, -0.0293543357, 0.0860029086, 0.0468951091, -0.0542091802, -0.0239580739, 0.1317570359, 0.0209054984, -0.0518221818, 0.0163158029, -0.0081446124, 0.0582503863, 0.0493157543, 0.0066210921, -0.0479878038, -0.0318036489, 0.0248670038, 0.0128503414, 0.0007233218, -0.0247618295, -0.0184279289, -0.1226943061, 0.0239427574, -0.0271368418, -0.0703004152, -0.0319017656, -0.0655317456, 0.0424008034, 0.0320374332, 0.0463894308, 0.003019654, -0.0193167608, -0.0016950731, 0.027237229, -0.0083350278, -0.0949488953, 0.0306763146, -0.0427369662, 0.0514243022, 0.0591866001, -0.0036424561, -0.0026856738, -0.0456865281, 0.048126962, -0.0189037714, 0.0039661834, -0.0108520146, 0.0371751934, 0.0359246619, -0.0286053848, 0.0207769517, -0.0011459851, -0.021341607, -0.0331502073, 0.0105066579, 0.0701800212, -0.0065250224, -0.0095897177, 0.0126607232, -0.0355965979, 0.0481184423, 0.0980677232, 0.086524047, -0.0618259683, -0.0124244718, -0.0282625016, 0.0079884864, -0.0214470308, 0.0031529965, 0.0091552213, 0.0094777774, -0.0398719199, -0.0333251879, -0.0271058362, 0.0446361303, 0.0623947866, 0.0378017873, 0.0136509938, -0.0359148085, -0.0042120479, -0.040383447, 0.0456111915, 0.0023246738, 0.0473570079, -0.1020345315, 0.0127985356, -0.0010390902, -0.0179929249, -0.0227186754, 0.0023487895, -0.0570882075, -0.0498231612, -0.0019063464, 0.0298989285, 0.0253950395, 0.0122498106, -0.0362620167, -0.0488651209, 0.0242157876, 0.0209263284, -0.0209165029, 0.0385174379, 0.0356687084, -0.0153541574, -0.017624706, 0.0437351912, -0.0543269105, -0.0137187233, 0.04398394, 0.0416758545, 0.0224799849, -0.0493300594, 0.0150313564, 0.0004745364, 0.0718992949, -0.010878426, -0.0214673597, -0.0447410084, -0.0196933746, 0.029510837, -0.0088571208, -0.054921817, -0.0115406336, 0.0106093157, 0.0306904241, 0.0125244362, -0.0030699607, -0.0150188841, 0.0546185002, -0.0417941995, -0.0150188012, -0.0202168133, 0.0121210711, 0.0185146052, 0.0163503997, -0.0271755308, -0.0088449195, 0.0064340183, 0.0275283717, 0.0000623488, 0.0596586727, 0.0291438363, -0.0010933077, 0.0038078192, 0.0429804623, -0.052104786, -0.028077703, 0.0082372548, 0.0062720967, 0.0305437054, -0.0377197377, 0.0376047455, -0.007385219, 0.0118482122, -0.049481947, -0.0001883529, 0.0297414418, -0.0502999872, 0.0427074693, 0.0343396142, 0.016584808, 0.0202362575, 0.0848361179, -0.0279502328, 0.033097256, -0.000361095, 0.0385858491, -0.0262547042, -0.0092542777, 0.0374465249, 0.0341986157, -0.034190461, 0.0104902331, -0.0521645844, -0.0747302249, 0.0050255214, -0.0026041155, -0.0277217794, -0.0150250681, 0.0504359268, 0.0842640251, -0.0513824858, -0.0303617232, -0.0319906995, -0.0212500021, 0.0153503278, -0.0157325994, -0.0265742689, -6.173698535e-33, -0.0359810404, -0.0403882749, -0.0143297436, -0.0153563367, 0.0059382943, 0.0086321924, -0.0794299766, 0.0333407074, -0.0285085998, 0.0078440411, -0.0188362896, -0.008106255, 0.0115905637, 0.0115700206, 0.0110628121, -0.0193862412, 0.0434844941, -0.0011598582, -0.0720950663, 0.0223296825, 0.0058724424, 0.0146331806, 0.0407820567, -0.0625019968, 0.0522119068, 0.0179057829, -0.0094929263, 0.0139652593, 0.0098202648, 0.0590810739, 0.0046944791, 0.0470546931, 0.023498388, -0.0750389323, -0.0414697193, 0.0514330566, -0.030372832, -0.0572990589, 0.0244808737, 0.0128535395, -0.0330735147, -0.0312909447, -0.0038657109, -0.0308681838, -0.0269622654, -0.000817151, 0.0314633101, -0.0081783738, -0.0178762749, 0.0351998359, -0.0428880602, -0.001937787, -0.0081311176, -0.0562170446, 0.0246364027, 0.0732745528, -0.0164392628, -0.0229936223, -0.0244689379, 0.0353320725, 0.0095232185, 0.0479780436, 0.0663883388, 0.0460568517, -0.0049490123, 0.0649845526, 0.034789443, 0.0255827904, 0.0237108469, -0.0187115185, 0.0633070096, 0.0251700245, 0.0331256762, 0.0089121768, 0.0234449562, 0.0161716938, -0.0418134741, 0.0282160044, 0.0324254595, 0.0020817732, 0.0174577869, -0.0127839902, -0.0461393595, -0.0444222055, -0.0598108023, 0.020351138, -0.0468204618, -0.0270073116, 0.061728172, -0.0089650005, -0.0206444729, -0.0402914248, 0.049385298, -0.0160749685, -0.0463702865, 0.0162618887, -0.0095493188, 0.0480774604, 0.029642174, 0.0282140486, -0.0301217698, -0.0342048071, 0.0106125027, 0.0171434786, 0.0286171436, -0.0105090747, 0.0165919606, 0.0422631241, -0.0761210322, 0.0015520348, -0.0470333397, 0.003148604, 0.0272365324, 0.009073182, 0.0283528157, -0.0094450116, -0.021555759, 0.0341655686, -0.0081518898, -0.0832925439, -0.0486025512, 0.016445104, -0.0232938025, 0.0152528472, -0.0496297181, -0.054914616, -0.0324926376, 0.0326078311, 0.0245312843, -0.0147677846, -0.0242370218, -0.000204382, 2.789e-7, 0.0217843726, 0.0093577383, -0.0324880071, 0.0348927826, 0.0209575575, 0.0447598435, -0.0470382124, 0.011171476, 0.0119997812, -0.0235119779, -0.0264456291, 0.0179825276, 0.0688482076, -0.0070230262, -0.1089000031, -0.0147019345, -0.0380075052, 0.0424147323, -0.0365348682, 0.0269068554, 0.0202076416, 0.0609002076, -0.0134057589, 0.0073253075, -0.0180108212, -0.0327542424, 0.0135094766, -0.0505568013, 0.0397457369, 0.0072350483, 0.0012139069, 0.0051194285, 0.0232627206, 0.058808133, -0.0283390321, 0.0164918434, 0.0290143602, 0.0552794077, 0.0385876223, -0.0390472598, -0.01832534, 0.003751881, 0.0161225665, -0.0659143627, 0.0763158053, -0.045184087, 0.0002198449, -0.0092759803, 0.0174443368, -0.0201232918, 0.0328319296, -0.0091649964, -0.0319699645, 0.00678901, 0.0245168321, -0.0122134183, -0.0145282885, -0.0458730012, -0.0242795683, -0.0014394139, -0.0441025123, -0.0745476857, -0.0622977577, 0.014752035, 0.0101824142, -0.0495464019, 0.0250263382, 2.731606196e-34, 0.0137418723, -0.0232394692, 0.0446369648, 0.0384332091, 0.0010118929, -0.0242343619, -0.0072143259, 0.0121942461, 0.0371381305, -0.0681815296, -0.01553379 ]
http://arxiv.org/abs/2406.15481v1
http://arxiv.org/pdf/2406.15481v1
CSRT: Evaluation and Analysis of LLMs using Code-Switching Red-Teaming Dataset
2024-06-17T06:08:18
2024-06-17T06:08:18
Haneul Yoo, Yongjin Yang, Hwaran Lee
cs.AI
cs.AI, cs.CL
Recent studies in large language models (LLMs) shed light on their multilingual ability and safety, beyond conventional tasks in language modeling. Still, current benchmarks reveal their inability to comprehensively evaluate them and are excessively dependent on manual annotations. In this paper, we introduce code-switching red-teaming (CSRT), a simple yet effective red-teaming technique that simultaneously tests multilingual understanding and safety of LLMs. We release the CSRT dataset, which comprises 315 code-switching queries combining up to 10 languages and eliciting a wide range of undesirable behaviors. Through extensive experiments with ten state-of-the-art LLMs, we demonstrate that CSRT significantly outperforms existing multilingual red-teaming techniques, achieving 46.7% more attacks than existing methods in English. We analyze the harmful responses toward the CSRT dataset concerning various aspects under ablation studies with 16K samples, including but not limited to scaling laws, unsafe behavior categories, and input conditions for optimal data generation. Additionally, we validate the extensibility of CSRT, by generating code-switching attack prompts with monolingual data.
[ -0.0118995458, 0.0699416324, -0.0234136004, 0.0582070276, -0.061407689, 0.0049432046, 0.0639737546, 0.0068645556, 0.0093331914, -0.0410658307, -0.0306291785, -0.0402312018, -0.0127011156, 0.0172627848, 0.0728257149, 0.0330056064, 0.0613127947, -0.058596693, -0.049963776, -0.0138324825, 0.0196996331, 0.0092146602, 0.0147786327, 0.045328062, 0.0050956691, 0.0006266451, -0.0168853179, 0.0287505817, 0.0044262595, -0.038576562, 0.0245440993, 0.0547849946, 0.0070458907, 0.0605775453, 0.0000020498, -0.0436688736, -0.0493680462, 0.0328616276, -0.0068427981, 0.051530201, 0.0056933393, -0.0365529247, -0.0112982588, 0.0414369218, -0.0329144858, 0.0035642432, 0.0546531789, -0.0007780971, 0.0627542883, 0.101108484, 0.0041872277, -0.0085745286, -0.0215119757, -0.0396359563, -0.0122565459, -0.0403029732, 0.0469760858, -0.0174770206, 0.0242007338, 0.0150800394, -0.0115026794, -0.0026041248, 0.0032577161, -0.0076798163, -0.1042435691, -0.0089017441, -0.0547169819, 0.0062344689, 0.0123060606, 0.0319046266, -0.0523913614, -0.0197943263, 0.0136122294, 0.0164665207, -0.0463822894, -0.0440220498, -0.0122552123, 0.028215155, -0.0057914406, 0.0088644857, 0.0094619691, -0.0024294953, 0.0545820519, 0.0019735096, -0.0286514033, 0.0464217812, 0.0120627685, -0.0371660776, -0.0138707981, -0.0441584736, 0.0174913127, -0.0461131409, -0.0097379778, -0.0152148241, -0.0273612123, 0.0307811368, -0.0513430834, -0.0661298931, 0.0791468471, -0.0573574901, 0.022280924, 0.0405296907, -0.0157198124, 0.0289280713, -0.0100300862, 0.0311600696, -0.013638692, 0.0337789617, 0.0027707391, -0.0232242476, -0.0275035165, 0.0089290738, -0.0120570818, 0.0195575207, 0.0261136834, 0.0309702493, -0.0410770774, 0.0222753286, -0.0219104774, 0.0308380686, -0.0156556536, -0.0545501001, -0.0125370873, 0.0131983301, 0.0451667942, -0.0310871005, -0.0137305865, -0.0260664318, -0.018039206, -0.0870120674, -0.0233676247, 0.002498602, -0.0616232604, -0.0574176647, 0.0057092072, 0.0899120942, 0.0058372431, -0.0274200533, -0.0439002402, -0.0502789393, -0.0015592063, -0.0251928363, -0.0057982332, -0.0865540206, 0.0157174673, -0.0043493607, -0.0047024656, -0.066474542, -0.0005676554, 0.0014428662, -0.0384313948, 0.0853018761, -0.0214357208, -0.00624274, -0.011157129, 0.0211826544, -0.0108655095, 0.1263676137, 0.0025383909, -0.0002787097, 0.0617374592, -0.0097654387, 0.032625705, 0.0801659673, 0.0025023911, 0.0573418178, -0.027579084, 0.0222594086, 0.0535089262, -0.0146612367, 0.0062071308, 0.0643686205, -0.0199394561, -0.0739950389, 0.0428902879, 0.0277314074, -0.0189372506, 0.0439803638, 0.0152662518, 0.0191702656, -0.0161324032, -0.0111981248, -0.0467518568, -0.0093409372, -0.055032894, -0.0264676008, 0.0246472657, 0.0348607898, -0.0240908563, -0.0139764687, -0.02956637, -0.0066964799, 0.0215109456, 0.0119076362, 0.0255754311, 0.0035305072, -0.0015066551, 0.0448807813, 0.0221706256, -0.0578418449, -0.0143590542, -0.0624481067, -0.0277256276, 0.0341846719, 0.0572946891, -0.0470975265, -0.0176458322, -0.0183215365, 0.0005847111, 0.0465988405, 0.0259086266, 0.0171838552, 0.0190992523, -0.0473132618, -0.0281389691, -0.0006588992, 0.017959198, 0.0220976099, 0.0309457574, 0.0115512945, -0.0100297537, -0.0299821645, -0.0453641564, 0.0220455714, -0.0267647654, -0.0156440474, 0.0175047219, 0.0030603141, 0.0280078035, -0.006641503, -0.0441171825, 0.0142949615, 0.0373255573, 0.0029454709, 0.0015307714, 0.0082584647, 0.0299994536, -0.0043057441, 0.0295036118, -0.021414781, -0.0036303585, 0.06356401, -0.0465620868, -0.0127184503, 0.0360067971, -0.0429392494, 0.0107768364, -0.0160712879, 0.0129896896, -0.0135228327, 0.0353419743, -0.0187441483, -0.0016329356, -0.0266472567, 0.0220255554, -0.0135515779, -0.0129185272, 0.0346816033, -0.0406597629, -0.0754134655, 0.0289996583, -0.0244548023, 0.0567493215, 0.0174458064, 0.0422813259, -0.0033911578, -0.0148419552, -0.0333328098, 0.0089246985, -0.0344574824, 0.0387143902, 0.033170525, 0.0163213331, -0.0294593722, -0.0060062082, -0.0228359867, -0.0272743795, -0.032140132, 0.0544877574, 0.0031276769, -0.0252671074, -0.0602383688, -0.0199080706, -0.0259468779, -0.0150477411, 0.0607600361, -0.0438812859, -0.0211439878, -0.0446101204, 0.0267645027, -0.0200814325, 0.0340016484, -0.0266196057, -0.0776800141, 0.0247759242, -0.0331386924, -0.0219392478, 0.0338592865, 0.0103813745, -0.0101029957, 0.095507443, 0.0019441504, -0.0510798767, -0.0134759527, 0.0162235666, -0.0402247123, -0.041797664, -0.0622607395, 0.0242000222, 0.0622010417, 0.0013991306, -0.0155174918, -0.0353750363, -0.0433601066, 0.0053152563, -0.0290181264, -0.0334370881, -0.0063452371, -0.0160527732, 0.024441449, 0.0025439244, -0.0533116572, 0.0718393996, -0.0484240279, 0.0114880558, -0.0567544326, -0.026385963, -0.0251223017, 0.041482728, -0.0161706526, 0.0319635496, 0.0190179534, -0.0283970181, -0.0193800703, -0.032249596, 0.023534067, -0.0372779928, 0.0557689965, -0.0489814505, 0.0177291539, -0.0097477706, -0.0328186676, -0.0451833233, -0.0367225409, -0.0243438836, -0.0110645955, 0.039392259, -0.0303976946, 0.000948125, 0.0138766514, 0.0416623466, 0.0157583095, -0.0108363144, -0.0018761297, 0.0121494057, -0.0176324993, 0.0232840795, -0.0382543802, -0.0048694974, -0.0150279617, 0.0102550695, 0.087532118, 0.0457640961, -0.0045192903, -0.0158768035, -0.000373923, 0.0452027135, -0.0248390324, -0.0164980665, 0.0058328263, 0.013568162, -0.0572761558, -0.0226613451, 0.061518684, 0.0421373509, -0.0512227193, 0.007963201, -0.013823661, 0.0388076976, 0.0268306658, 0.0376323797, -0.1232396439, -0.0123964073, 0.0076355119, 0.0551608913, -0.0155820716, -0.0348013565, -0.0322701, -0.1397387087, 0.0092118969, 0.0155046759, -0.0511440448, -0.0199146476, -0.0398647413, -0.0012047043, 0.000041118, 0.0509107523, 0.0057763895, 0.0226613637, -0.0271651149, 0.0325115584, -0.0496514402, -0.0439078026, 0.0261676777, -0.045261845, 0.0490860008, 0.0522730201, 0.0147795528, -0.0360039398, -0.0070519033, 0.0341737606, 0.006312531, -0.0166957807, -0.0154065816, 0.0328418352, 0.0147485724, -0.032650128, 0.0440205932, 0.0032779912, 0.004819199, -0.0024959955, 0.0617238618, 0.0287743993, -0.033271227, 0.0038111778, -0.0174244698, -0.0029028493, 0.0394718572, 0.0607443564, 0.0230927337, -0.036993213, -0.0181115679, -0.0709886849, -0.0266630333, -0.0597417839, -0.0483206697, 0.026176028, -0.0060575693, -0.0354105867, -0.0260807537, -0.0033135405, 0.0056550237, 0.0113042435, 0.0310759731, 0.026479993, -0.0279840026, 0.0115155224, -0.0234189387, -0.0329975821, -0.0472428389, 0.0417439155, -0.0739179701, 0.0249943212, 0.0157455839, -0.0211385339, 0.0013461998, 0.0245432295, -0.0701374859, -0.108188726, 0.0050291391, 0.0645122156, 0.0218834579, 0.0221201759, -0.0374849625, -0.0931142196, 0.0162421912, 0.0371779725, -0.004196133, 0.0043762587, 0.0827982649, -0.0284031369, 0.0070647122, 0.0371062681, -0.0600335188, -0.0029612726, 0.0126173366, -0.0014160523, -0.0844111592, 0.0058169891, 0.0009352484, 0.0568473116, 0.0320004262, -0.0305747185, 0.0007754395, 0.0152200665, 0.026739208, -0.0385195017, -0.0243700519, 0.0188482609, 0.0163086113, 0.0036357688, -0.0230206661, 0.0000047606, 0.0202693511, -0.0124715446, -0.0017470424, -0.007893946, 0.0570918545, 0.0468685143, 0.0382345058, 0.0680762455, 0.0028457073, -0.0150754666, 0.0357170999, 0.0302969608, 0.0327560753, -0.0153195038, 0.0153297409, 0.0046321596, -0.0048343656, 0.021710109, 0.04273431, -0.0385135971, -0.0536987931, 0.0490728095, -0.0102347163, 0.0485707931, 0.0202424899, 0.0782628953, -0.0089881672, 0.007506819, -0.0394053496, 0.0186026916, -0.0005233233, -0.0320662037, 0.0303032398, 0.0092568919, -0.0209536068, 0.0430924222, 0.1020007133, -0.000850197, 0.0325632989, 0.0369748026, -0.0167926196, -0.0280544553, -0.0012423217, 0.0439767875, 0.0195954144, -0.0341532119, -0.072769843, -0.0618429258, -0.0692292377, 0.0133093074, 0.0056088702, 0.0266243424, 0.021073157, -0.0057908408, 0.0659801438, 0.0286323335, 0.0498191714, -0.0666544214, 0.0104951104, 0.0180839039, -0.0616800599, 0.0416869484, -6.265841129e-33, 0.0318211466, -0.0191845279, -0.0003578326, 0.0023854161, 0.0215337928, 0.0161263514, -0.0350085758, 0.0026095333, -0.0414024964, -0.0223082826, -0.0054104119, -0.0012629438, 0.0136999274, 0.0057655913, 0.0035415178, -0.0253313109, 0.0007752802, 0.0046427501, 0.0015006255, 0.0136232954, 0.081037201, 0.0010333244, 0.056895826, -0.0802841336, 0.0160627756, -0.0205525979, -0.0392317884, 0.0131865796, -0.0380972922, 0.0543376654, 0.0020278427, 0.0661965236, -0.006652189, -0.0277258307, -0.0126458444, -0.0108149434, -0.006952445, -0.0086941253, 0.0009021099, -0.0051429253, 0.022269154, -0.0359386839, 0.0357607007, 0.001515915, -0.0048523811, -0.0117888963, 0.0044188467, -0.0115289045, -0.0136890067, -0.0146066984, -0.0206022784, 0.036658898, -0.0274187811, -0.0030254645, 0.0318488218, 0.0390215516, 0.0339059308, 0.003298217, -0.0712064654, 0.0493614413, -0.0081984401, 0.0220798478, 0.0764374733, 0.0089391321, 0.0105513204, 0.0359714516, -0.0044281688, 0.031303186, 0.0273231063, 0.0163786057, 0.0308904033, 0.0383583121, 0.0475868285, 0.0815695375, 0.0083303312, -0.0388234071, -0.0865637958, 0.0222618114, 0.0731280521, 0.0082879039, 0.0406735688, 0.0183894634, -0.0769789517, -0.0343315788, 0.0044579534, -0.0196313094, -0.0298895314, -0.0463190489, 0.015387563, -0.0143313147, -0.0315932296, 0.0024699818, 0.0298759528, -0.0225844793, -0.0279903691, 0.0576219819, -0.0221638884, -0.0228622947, -0.0005841313, 0.0362284034, -0.016917197, -0.0114266612, -0.0009733437, -0.0590880811, 0.0417538881, -0.0031379601, 0.0360394791, 0.0355197974, -0.0728988424, -0.0233819224, -0.0299017131, 0.0536093079, 0.0045629353, 0.0075493744, 0.017288141, -0.0156282522, 0.0222174674, 0.0045696222, 0.0541177206, -0.0330751725, -0.0389276147, -0.0065260069, -0.026880946, 0.0326467119, -0.0057323715, 0.0203951113, -0.0020831167, 0.0278542768, 0.0626144782, -0.0559626184, -0.0183306932, -0.000499711, 2.829e-7, 0.0433569886, 0.0173331238, 0.0224066172, 0.0564628839, 0.0021842911, 0.0565560758, -0.0502981655, 0.0685315579, 0.0169061217, -0.0054845451, -0.0347854346, 0.0152256889, 0.0707525238, 0.0867997855, -0.0648820326, -0.003915119, -0.0543942414, 0.0178757291, -0.0664582029, -0.0250024088, 0.0318012238, 0.0888490602, 0.0170499589, -0.0085601509, -0.0123583497, -0.0457236804, 0.0060525746, -0.0244987849, -0.0211914685, 0.0022453552, 0.0006442544, 0.0173550677, 0.0204639342, 0.040532589, -0.0373954624, -0.0303893741, -0.001096742, 0.0383761078, 0.0258649755, -0.0336561799, 0.0019517539, -0.0686793178, -0.0199264884, -0.0621226206, 0.0824031159, 0.0405630283, -0.0000245971, 0.0075645577, 0.0073279198, -0.0227296203, 0.0425078347, -0.0611339398, -0.011210911, 0.0352459252, 0.0235519297, -0.0118837385, 0.0183883533, -0.0520844981, -0.0326954983, -0.0090465518, -0.0195904709, -0.0335849114, 0.0130474688, 0.0396726504, -0.0243094992, -0.0104603833, 0.0208678022, 2.826698638e-34, 0.0137005206, -0.0286037456, 0.0132922754, 0.0090595605, 0.0389225408, -0.0009699556, -0.0227523316, 0.0327231325, -0.0127455359, -0.0348011032, -0.0355356745 ]
http://arxiv.org/abs/2406.11239v1
http://arxiv.org/pdf/2406.11239v1
Evading AI-Generated Content Detectors using Homoglyphs
2024-06-17T06:07:32
2024-06-17T06:07:32
Aldan Creo, Shushanta Pudasaini
cs.CL
cs.CL, cs.AI
The generation of text that is increasingly human-like has been enabled by the advent of large language models (LLMs). As the detection of AI-generated content holds significant importance in the fight against issues such as misinformation and academic cheating, numerous studies have been conducted to develop reliable LLM detectors. While promising results have been demonstrated by such detectors on test data, recent research has revealed that they can be circumvented by employing different techniques. In this article, homoglyph-based ($a \rightarrow {\alpha}$) attacks that can be used to circumvent existing LLM detectors are presented. The efficacy of the attacks is illustrated by analizing how homoglyphs shift the tokenization of the text, and thus its token loglikelihoods. A comprehensive evaluation is conducted to assess the effectiveness of homoglyphs on state-of-the-art LLM detectors, including Binoculars, DetectGPT, OpenAI's detector, and watermarking techniques, on five different datasets. A significant reduction in the efficiency of all the studied configurations of detectors and datasets, down to an accuracy of 0.5 (random guessing), is demonstrated by the proposed approach. The results show that homoglyph-based attacks can effectively evade existing LLM detectors, and the implications of these findings are discussed along with possible defenses against such attacks.
[ 0.0563767888, 0.0462478362, -0.037185654, 0.0562211201, -0.0605203956, 0.013565734, 0.0462863892, 0.0518992282, 0.0498110354, -0.0496456251, 0.0065170415, -0.027254425, 0.0224758945, 0.0596325919, 0.0425106585, 0.0175081454, 0.011751717, -0.0469158553, 0.0210055206, -0.01663596, -0.003138144, 0.0159865972, 0.0377264097, 0.0570863634, -0.0249415915, -0.0143826399, -0.0271515027, 0.0115983523, -0.0141830398, -0.0111144986, -0.0132468306, 0.0453268103, -0.0350911543, 0.1049736962, 0.000002051, -0.0484902747, -0.0348437317, 0.0301806759, -0.0306260195, 0.0514819063, 0.0654578581, -0.0478328466, -0.0442739427, 0.0198089629, -0.0273137335, 0.027779052, 0.0240619574, 0.0602602176, 0.0437142029, 0.0953136533, -0.0279503278, -0.0249634329, 0.0919547155, -0.0072822352, 0.0028274835, 0.0172236189, 0.0555550009, 0.0023743005, -0.0231987014, 0.0498341247, 0.0114444755, 0.0300766136, 0.0002005887, -0.0288048051, -0.052848421, 0.0111048929, -0.0066376724, -0.0109779043, 0.0051675746, 0.0221626796, -0.0790904313, -0.0469339751, 0.0441086553, -0.0151727991, 0.0178603865, 0.0297288503, 0.0035311831, 0.0595102645, -0.0071292762, 0.0130866757, 0.0425468981, -0.0365471914, 0.0250032675, 0.0203106888, -0.0272812303, 0.0063539175, 0.022793822, -0.0297798645, -0.0141789168, -0.0328032635, -0.0095797023, -0.060763251, 0.0145494826, 0.0202714168, 0.0437020995, 0.0027445008, -0.0916364789, -0.0468658656, 0.0149449324, -0.0567101389, 0.006333977, 0.0195776671, -0.0140564842, 0.0299579073, -0.0722028315, 0.0778954849, -0.0628752634, 0.0443726704, 0.0253918972, 0.0024829046, 0.0106804427, -0.0341088772, -0.0425460041, 0.0284673907, 0.0100865057, -0.0315173455, -0.0226595867, 0.0448032655, 0.0021311082, 0.0448899418, -0.0475124866, -0.0392782055, 0.006789309, 0.0038847299, 0.0281110555, -0.0239795614, 0.0291185752, -0.0088770706, -0.0093052583, -0.0774369985, 0.0038450644, 0.0792397931, 0.012872383, 0.0154868318, 0.0074471575, 0.0759163573, 0.0124842664, -0.0417886041, -0.0021444492, -0.0633454919, -0.0422112197, -0.005931546, 0.0269772615, -0.0667997971, -0.0280101132, -0.0268639065, -0.0050021876, -0.0457147807, 0.0213308856, 0.0147210537, -0.0381032638, 0.0400046743, -0.041155085, -0.0204753559, 0.035376206, -0.0019429054, -0.0260338783, 0.0577386096, 0.0327740051, 0.0907613561, 0.0619866364, -0.0000828063, 0.0302698836, 0.0855917111, 0.01596223, 0.043690268, 0.0133391414, -0.0473185144, 0.0025544376, 0.0017534345, -0.0122858929, 0.0846881643, 0.0060459119, -0.0433812737, 0.0686021745, 0.0980890393, -0.0429810807, -0.0035747059, 0.0099077625, 0.0307900496, 0.0358763225, 0.0382812731, -0.0156523418, -0.0407705046, -0.0656064227, -0.0362542383, 0.0077434834, 0.0095239067, 0.0125558106, -0.0191130098, -0.0175186191, -0.0486690514, 0.0020785802, -0.0323366486, 0.0414891243, -0.0010155719, -0.0320193134, -0.0368241072, 0.0055210697, -0.0190856457, 0.011131783, -0.0870560184, 0.0332735591, 0.0421214662, 0.0744038373, 0.0161492266, 0.0628648847, -0.0211947504, -0.0238735564, 0.0615511201, -0.028313892, 0.0336334445, -0.0503974557, -0.0321129039, 0.0135900043, -0.0157425646, 0.0056050918, -0.002592023, 0.0183436759, 0.0584804527, 0.0236778185, 0.0240212791, -0.0413375311, 0.0251714233, 0.0039257235, -0.0157515761, -0.0201719534, 0.0171542242, 0.0263835136, 0.0030055821, -0.0301645212, 0.0392180383, 0.0435532145, -0.0390563272, -0.0422092415, -0.0126129668, 0.0314600393, 0.0257012714, 0.0392232276, -0.059787143, 0.0147616034, 0.0338703729, 0.0258180425, -0.0025242602, 0.0077999425, -0.0711829439, 0.0605580322, -0.0245237257, 0.0276622083, -0.0212372802, 0.0518382229, -0.0264909603, 0.0323592499, -0.020301519, -0.0010942742, -0.0081648706, 0.0049746823, 0.0326383486, -0.0140965991, -0.0267061871, 0.0292974878, -0.0010889095, -0.0118380189, -0.0033899294, -0.0053458759, 0.0194341708, -0.0533987731, -0.0651973933, -0.0213791765, -0.0153396698, -0.0043374202, 0.033219561, -0.0383442454, -0.0234599207, 0.0042216871, -0.0444303453, -0.0018870758, 0.0197189655, 0.0114487708, 0.0301451366, -0.0318057351, -0.0221182331, 0.0109761152, -0.0023945102, -0.0295078624, 0.0644937754, 0.0455138013, -0.0679546967, -0.0496742614, 0.038452439, -0.0104833301, 0.0134199616, -0.0259207785, -0.0519344956, 0.0075174705, -0.0392614976, -0.0070124464, 0.0561173819, 0.0346144587, 0.0477084182, 0.0314305425, 0.0546618924, -0.0265708361, -0.0424380265, 0.0100562284, 0.0223568343, -0.0336516015, -0.0631818771, 0.0513255671, -0.006216519, 0.0259277113, 0.0171114914, -0.0336278118, 0.045645766, -0.0258646216, -0.0250402875, 0.0079207309, -0.0439790301, -0.0347833671, 0.0012335712, -0.001055719, -0.0685466528, 0.0323381014, -0.0632296056, 0.0327482745, 0.0062810453, -0.0073867254, -0.0105128856, 0.0101386188, 0.003726491, 0.036843922, 0.0160842668, -0.0175434668, -0.0093546286, 0.041369956, 0.015331924, -0.0349739268, 0.0086677186, 0.0019638313, -0.0016753234, 0.0012191737, 0.01634074, -0.03567468, -0.0434692241, -0.021024514, -0.0195809174, 0.0594756752, -0.0640612617, -0.0052111456, -0.0000579341, 0.0123715149, 0.0015325262, -0.0368071795, 0.013087593, -0.0153532699, 0.0819633678, 0.0406338088, -0.0659073517, 0.0357232727, -0.0354007035, 0.0109189767, 0.0983640403, 0.0045648445, 0.0151125966, 0.0060791285, -0.037876498, 0.0247756671, 0.0252975412, -0.0260820482, -0.0019382951, 0.0048463605, -0.0254729576, 0.0280295629, 0.0845858082, 0.0237495881, -0.0379106812, 0.0040237508, 0.0058555515, 0.0084399935, -0.0187632591, -0.0470476225, -0.122254923, -0.0040537734, 0.0261410438, 0.0104870852, -0.0397887379, -0.0149869537, 0.0065398347, -0.0921799242, 0.0095222406, 0.0383839458, -0.0230115093, -0.0337614305, -0.0075129727, -0.0153930495, 0.0374177508, -0.0318619348, -0.0515579581, 0.018062992, 0.0000136365, 0.0124414368, -0.0378541537, -0.0120203774, -0.0262397286, -0.0279357824, 0.0393656716, 0.0244745929, 0.0242562238, -0.0374520756, -0.0323679708, 0.0286763851, -0.0003806725, -0.0008200231, -0.0029403337, 0.050777711, -0.0174802337, -0.0366760977, -0.0087380009, 0.0263494793, -0.030783603, -0.0042152177, 0.0164816435, 0.0460080951, -0.0171353538, -0.0436196215, -0.0163017809, -0.0329304263, 0.0096377209, 0.0707339197, -0.0109690707, -0.0515869521, -0.0522254333, -0.0591196083, 0.0439473279, -0.0137443561, -0.0590839423, 0.005671056, 0.0285470262, -0.0537386052, -0.0700147673, 0.0015444288, -0.0236783326, 0.0118669933, 0.0239053369, 0.0144526362, 0.0203822404, 0.0066422699, -0.031531658, -0.0546293408, -0.0521812215, 0.0328015946, -0.0765126571, 0.0177134201, -0.0044070096, -0.0355664603, 0.0038108034, 0.0330012627, -0.0828149319, -0.0599442013, 0.0300827175, 0.0048927064, 0.0208897907, 0.0051815752, -0.0326052122, -0.0461025499, 0.046676904, 0.0082309479, -0.0212406646, 0.0347009562, 0.0375454873, -0.0050619836, -0.004558499, 0.0174808521, -0.0285347402, -0.0015345854, 0.023700403, -0.0462601185, -0.0440730378, -0.0559161268, 0.0243759658, 0.0716434419, -0.0164700951, -0.0276838187, 0.0358939096, 0.0164455548, 0.0134344567, -0.0356480815, -0.0010780471, -0.0058211274, 0.0088794827, 0.0088119004, -0.0022243643, 0.0217825323, 0.0085916817, -0.0078612389, 0.0008885222, -0.0213374253, 0.0072819311, -0.0177312382, 0.063595131, 0.0333165899, -0.0032191805, 0.0081391297, 0.0498181954, 0.0052841506, 0.0196488872, -0.010021152, 0.0248192474, -0.0010456934, -0.0372190364, 0.0149056027, 0.0344640091, -0.0684080124, -0.0225381348, -0.0236526709, 0.0356460772, 0.0404870249, 0.0249212421, -0.0025503554, -0.0543018319, -0.0013150596, -0.0247614235, -0.0055481396, 0.0032142776, -0.0344900787, -0.004367657, -0.0050970009, -0.0186847672, 0.0170013532, 0.0691063181, 0.047112029, 0.0475592129, 0.0250511356, -0.0322503746, -0.0157476775, -0.0154976891, 0.0257463977, 0.0160693247, -0.0315992907, -0.0130563686, -0.0449272729, -0.0713396817, 0.0079924958, -0.0124087622, 0.0339372754, 0.0071421475, -0.0375900641, 0.0284543838, -0.0032740009, 0.0107198777, -0.0634037629, 0.0434682965, -0.0009593879, -0.0172201283, 0.0251584314, -5.566200115e-33, 0.0303111356, -0.0858033821, -0.0572984889, 0.0022261997, 0.0328911953, 0.0276301075, -0.0089910962, -0.0154580781, -0.014421328, -0.0077609681, 0.0055380026, 0.0063674161, -0.0004823935, 0.0063910829, -0.0307435133, -0.0124498382, 0.0165104233, -0.0055553606, -0.0142278401, 0.0206263773, 0.0576797612, -0.0330464989, -0.0095171537, -0.0687530562, 0.0287655015, -0.0390006565, -0.0626322404, -0.038842544, -0.0623629391, 0.0709049702, -0.0096528362, 0.045414865, 0.0243057534, 0.0535351261, -0.005870468, 0.0483963676, 0.0059386366, -0.0105190836, 0.0065027294, 0.0309136733, 0.0137037914, -0.094335489, 0.0225531124, -0.0376691148, -0.0331788324, 0.0338453129, 0.0144053744, -0.0173776299, -0.0151088638, -0.0143528273, -0.0377953425, 0.0120530147, -0.0087531479, 0.0409686193, 0.0129851103, 0.0058621448, 0.0520112924, 0.0057817441, -0.0598824359, 0.0619920082, 0.0351411179, -0.0244725309, 0.0040364787, 0.0044040526, -0.0119334068, 0.0511393696, 0.0364085734, 0.0040582106, -0.0207646806, -0.0419806018, 0.0338489749, -0.0127563979, 0.0708490238, 0.034903951, 0.0379197523, -0.061529927, -0.0451189019, 0.0146591179, 0.0131640378, -0.0031447941, 0.0281317122, -0.0219003316, -0.0875120312, 0.0002412642, -0.0085404981, -0.0282484554, -0.0195544064, -0.0177124217, 0.0187477469, 0.0161040667, -0.0591898486, 0.0271121357, 0.004790165, -0.0765306652, 0.0128711481, 0.0352563523, -0.0312488079, 0.0366175734, -0.0006097847, 0.0303927772, -0.0033295311, -0.0179249812, 0.0488842204, -0.0474515334, 0.0371592082, 0.0075300187, 0.0191048943, 0.023586357, -0.0803862736, -0.0123927388, 0.0062778094, 0.0172214732, 0.0566984117, -0.0300158113, 0.0354881175, -0.0342866443, 0.0075679659, -0.0322196335, 0.0222269967, 0.0160719641, -0.0465621911, 0.0310647599, -0.0408794433, 0.003126231, -0.0272298437, 0.0067504351, -0.0149450153, 0.0504476391, 0.0469763726, -0.0812743679, -0.0104820458, -0.0228538923, 2.726e-7, 0.0212857183, 0.0513139218, 0.0548737757, -0.0030854191, 0.0494443178, 0.0402066745, -0.0129414527, 0.0173405763, -0.0179272443, 0.0123136519, -0.0292926375, -0.0059781112, 0.0446834639, -0.0174857825, -0.0658515245, 0.0398892872, -0.0284567475, -0.0226334073, -0.0946401805, 0.0351473615, 0.0489149317, 0.0756530538, 0.0025213372, -0.02368645, -0.01585095, -0.0533805639, 0.0298203062, 0.0129721221, 0.00037478, -0.0137935448, 0.0079330262, 0.0194249302, 0.0016141939, 0.0471093059, -0.0266128518, -0.0147481365, 0.0311886109, 0.0438861884, 0.0147035923, 0.0330072753, -0.0236337986, -0.0607230216, -0.0019865078, -0.0614910424, 0.0848593563, 0.0650633946, -0.0257706568, -0.0559442602, -0.0149682174, -0.0562926792, 0.0107750408, -0.0486690067, -0.0191015583, 0.0196536705, 0.0127512561, 0.009267319, 0.0343306772, -0.0483500436, 0.0090569668, -0.0635773242, -0.0206984524, -0.0160340685, -0.0500282757, 0.0327203572, 0.0454729721, -0.0379968546, 0.0253868289, 2.903987392e-34, 0.0027045929, -0.050894741, -0.0026954287, 0.0305632409, 0.0226519741, 0.0120959645, 0.03758315, 0.0302873906, 0.0183043312, -0.0489790216, -0.0048931106 ]
http://arxiv.org/abs/2406.11238v1
http://arxiv.org/pdf/2406.11238v1
What Kinds of Tokens Benefit from Distant Text? An Analysis on Long Context Language Modeling
2024-06-17T06:07:29
2024-06-17T06:07:29
Yutong Hu, Quzhe Huang, Kangcheng Luo, Yansong Feng
cs.CL
cs.CL
As the context length that large language models can handle continues to increase, these models demonstrate an enhanced ability to utilize distant information for tasks such as language modeling. This capability contrasts with human reading and writing habits, where it is uncommon to remember and use particularly distant information, except in cases of foreshadowing. In this paper, we aim to explore which kinds of words benefit more from long contexts in language models. By analyzing the changes in token probabilities with increasing context length, we find that content words (e.g., nouns, adjectives) and the initial tokens of words benefit the most. Frequent patterns in the context (N-grams) also significantly impact predictions. Additionally, the model's prior knowledge plays a crucial role in influencing predictions, especially for rare tokens. We also observe that language models become more confident with longer contexts, resulting in sharper probability distributions. This overconfidence may contribute to the increasing probabilities of tokens with distant contextual information. We hope that our analysis will help the community better understand long-text language modeling and contribute to the design of more reliable long-context models.
[ 0.0524304062, 0.0232466478, -0.0231292639, 0.0438102446, -0.0711047351, -0.0210418776, 0.0332631245, 0.0193981566, -0.0476790145, -0.0662682578, 0.0153552629, -0.1003482714, 0.0442567728, 0.0547208935, 0.0495038219, -0.0489966646, 0.020203812, -0.051028382, 0.0023481695, 0.0082951216, 0.0104947696, -0.0158751383, 0.0221836977, 0.0591891967, -0.0519540533, 0.0050037052, -0.0068141827, -0.0075888326, -0.0458169617, -0.0239718612, -0.0001760051, 0.052826643, -0.0083232448, 0.0075499201, 0.000001712, -0.0595192835, -0.0036745691, -0.0049980707, 0.0233273022, 0.0211332366, 0.0730561614, 0.0068365792, 0.008516972, 0.0085164309, -0.0005899699, 0.0039308229, 0.0486094505, 0.058584854, -0.0616284125, 0.0500387102, -0.0148674967, -0.0080876723, 0.0190712009, -0.0317070037, 0.0462262481, -0.0448058471, 0.0414555259, -0.0362032019, 0.0010768578, 0.0006133318, -0.0406494513, 0.0209841486, 0.0083702682, 0.0153315431, 0.0073747626, 0.0655268431, 0.0003665886, -0.0082970532, -0.0002623309, 0.0149956876, -0.0012999024, -0.044795569, 0.0096603017, -0.0102390442, -0.0134903565, 0.0045965966, -0.0379690975, 0.0143615231, -0.0018526152, 0.0191334244, 0.0629900545, 0.0156383272, 0.0229469128, 0.0400480367, -0.0493701287, 0.0838309377, 0.0317835249, -0.0383456759, -0.0458825156, -0.0127750318, -0.0360117629, -0.0858789757, 0.017761793, 0.0114961909, 0.0157606583, 0.0370617658, -0.0260607731, -0.0093807299, 0.0444715507, -0.037857838, -0.020845646, 0.0167476069, -0.0319388583, 0.0373714045, -0.0416061282, 0.0204619337, 0.0345410518, -0.0356729589, -0.0195707623, -0.0108651128, -0.0069060554, -0.0156327635, -0.0466048829, 0.0169590078, -0.0477872677, -0.0505283549, -0.0599313863, -0.0044552698, 0.0323280692, -0.0489573404, 0.0151367253, 0.0300950371, -0.0395525992, -0.0088252667, -0.021395795, -0.0224521495, -0.0431226753, 0.0458231755, -0.0044860803, -0.0324650928, 0.0003364014, 0.0067391507, 0.0060357344, -0.0442598276, -0.0241315402, 0.0716484413, 0.0183754936, -0.0439319946, -0.0106480969, -0.03101434, -0.0845571831, -0.032465484, -0.0287510864, -0.084288545, -0.0127364416, 0.0371706188, 0.0021316274, -0.0366278999, -0.0040600733, 0.000819319, -0.0530471131, 0.0469548665, 0.0107322242, 0.0230863113, 0.021883348, 0.0085717067, 0.0097389407, 0.063588649, 0.0241431762, 0.0352071002, 0.0510889962, 0.000217188, 0.0217226073, 0.0398691148, -0.0024200701, 0.0056444374, -0.0508407056, 0.0038721324, 0.0259582605, 0.0072973319, 0.0275443457, 0.0644554645, -0.0123635605, 0.0046413252, 0.0539780185, 0.0842677653, 0.0191301927, 0.0076833041, 0.0527214259, -0.0091612907, -0.0229514223, 0.0297505315, -0.0508550704, -0.0119073903, 0.0150542054, 0.0269989166, 0.0376857668, 0.0309891589, -0.0010140191, -0.0263800398, -0.0458141305, -0.0086382665, 0.0182819143, -0.0380620249, 0.0491784588, -0.0161716994, -0.0385854952, 0.0437808186, 0.0353899412, -0.0337959267, 0.0233243313, -0.0445650481, 0.0351478904, 0.0612252913, 0.0148380538, -0.0137320869, 0.0088956896, 0.0222583376, 0.0242396109, 0.0389658622, 0.0016715827, 0.0201198738, 0.0324724577, -0.0051130173, 0.0071596699, 0.0088718198, 0.0423343778, 0.0343621783, 0.0430686772, 0.0382002592, 0.0200631972, -0.042676542, -0.0020225379, 0.0362603776, -0.0419095717, -0.0019016373, -0.0217601582, -0.0057767811, 0.0236712638, -0.0093353596, -0.003018948, 0.0484381206, 0.0112914862, -0.0237134639, -0.0218075067, 0.0156446006, -0.0852079093, 0.0131910993, 0.0486361422, 0.0276422165, 0.0656929463, -0.0555775538, 0.017530486, -0.0285123978, 0.0220309272, -0.029634811, 0.1011133194, -0.0278070811, 0.0447099581, -0.0272322632, 0.0187306143, -0.0360108167, 0.0653249398, -0.0109158847, 0.0483801179, -0.0013097331, 0.022104159, 0.0032902739, -0.024173731, -0.0243341699, -0.0064577027, -0.0126779024, -0.0132128671, 0.0407051817, -0.0334693864, -0.0379398875, -0.045684699, -0.1149548814, -0.0159375425, -0.002385631, 0.0015089132, 0.0004327298, 0.0032459756, -0.0524079539, 0.0119730514, -0.010271946, -0.0268982202, -0.0078551285, 0.0509816743, 0.0216379073, 0.0128116151, -0.0407606959, -0.0608697012, -0.0095944786, -0.0144445207, 0.0608919375, -0.0011410938, -0.0481868424, -0.0477195159, 0.0631860197, -0.0347978584, 0.0042460766, -0.0190502852, -0.051608175, -0.0163176488, -0.0205203071, 0.0973450467, 0.0252035186, 0.0261240359, 0.0193644427, 0.0278749857, -0.0399039239, -0.0113556013, -0.0387998074, -0.0325862616, 0.0039071916, -0.037791986, -0.0232840087, -0.0273007657, 0.0786090493, 0.0381237008, -0.0186260846, -0.0213721916, 0.0277023856, -0.0593006499, -0.036264345, 0.0146494247, -0.0250302013, -0.0457795039, 0.0500941426, -0.016575845, -0.0623676702, 0.0697821006, -0.0485825986, 0.0444694646, -0.0248286892, -0.0111530023, -0.044743713, 0.0636667758, 0.0079659875, 0.0049697142, -0.0199019108, -0.0481462069, -0.0296040643, -0.0106547093, -0.0086689154, -0.0177299008, 0.0484700054, -0.0158635974, -0.0067580142, 0.0287508368, -0.0216898359, -0.0168640167, -0.0624550693, -0.0362718105, -0.0011871664, 0.0470103137, 0.0038807611, 0.0112489602, 0.0483999439, -0.0077795954, 0.03321198, -0.0505441912, 0.0214828309, -0.008402288, 0.0348803587, 0.0554513782, -0.0539921746, 0.0094087264, -0.0379179977, 0.0006140604, 0.0292329174, 0.0247650705, 0.011879853, -0.0197215583, -0.0245031938, -0.0014365829, -0.0278943181, -0.0702043921, 0.0361117013, 0.0609401651, -0.0614123195, -0.0181555729, 0.1262415349, 0.0195970517, -0.0305115264, 0.0421442464, -0.0157242175, 0.052637931, 0.0023264727, -0.005062684, -0.0543201528, -0.0318668596, 0.0244096983, -0.0352323987, -0.0210949481, -0.0373560004, -0.0043070428, -0.0893373266, -0.0136540961, 0.0028644204, -0.0640718639, -0.0063676136, -0.037758749, 0.0043656696, 0.0141261863, 0.0117771458, 0.018677203, -0.0321126953, 0.0178498887, 0.0233116876, -0.0296985768, -0.0329940617, 0.0198887419, -0.0508518852, 0.0407461114, 0.0302891638, 0.0351446457, -0.0232273769, 0.0150604285, 0.051856719, -0.013855095, 0.0366925597, 0.0110296747, 0.0252040606, -0.0067046201, 0.0272387806, -0.0095978798, 0.0080794375, -0.0043420736, -0.038201984, 0.0234206375, 0.0467147902, 0.0030542267, -0.0440641977, -0.0345680639, -0.0034603644, 0.0274782032, 0.0881499648, 0.0417683721, -0.0423606336, -0.0614559427, -0.0099123856, 0.0123302704, 0.0060518892, 0.0287149791, -0.0518855713, -0.0178537946, -0.016358206, -0.0752304569, -0.0396136791, 0.0383157171, 0.0432681255, 0.0259895027, 0.0532425605, -0.0421844609, 0.0059874123, -0.0294410009, 0.0112286769, -0.0006307795, 0.027737394, -0.0608959496, 0.0316023491, 0.0492743924, -0.0329575576, -0.0149674136, 0.0180928037, -0.1119420528, -0.0721524209, 0.035529267, -0.0114349974, 0.0330842063, 0.0341090523, 0.0092446869, -0.0618286282, 0.0588356592, 0.0250124447, -0.0393440053, 0.0404021814, 0.0008400271, 0.0290280674, 0.0258016884, 0.0362404548, -0.0392680615, 0.0264650118, 0.0183630232, 0.0348226428, 0.0007376943, -0.0286611281, -0.0216253065, -0.0220570471, 0.0449431241, -0.0461993068, -0.029820988, -0.02475572, 0.0032979439, -0.0461940654, 0.0116749844, 0.0024124861, 0.0314012095, 0.0324299894, 0.0332522653, -0.0243085343, -0.0071964166, -0.0251992419, 0.0501842983, -0.0239242148, -0.0077956286, 0.0023432628, -0.0256728251, 0.0494167283, 0.0231335238, -0.0291646123, -0.0242941696, -0.0434295274, 0.0168342236, -0.0208442397, 0.030862296, -0.0049022906, -0.0258172452, -0.0443121269, 0.0128721911, -0.0716231912, 0.0287126619, -0.0196441822, 0.0231288578, 0.0285878126, -0.0541659594, 0.0296013169, -0.03878529, 0.0094001051, -0.0244756546, 0.0384165272, 0.0132323401, -0.0322914496, 0.0241164099, 0.0233901814, -0.0499193817, 0.0154769979, 0.1031843647, 0.0574680641, 0.0166232157, 0.0365271941, -0.0227297619, 0.0133941798, 0.0184944104, 0.0068334471, 0.0570196658, -0.0138191748, 0.0069984281, -0.0862003118, -0.061065048, 0.030853672, -0.0253328215, 0.0022832917, -0.0256839339, 0.0142755108, 0.0830447823, 0.0042645102, 0.0127653806, -0.0389094763, 0.0161032435, 0.012749169, -0.0089199115, -0.0305730905, -6.095491793e-33, -0.0153426779, -0.0354529358, 0.0012222826, 0.0058578555, -0.0374771729, 0.0287332181, -0.0319034681, 0.0176031888, 0.0263033323, 0.015370761, -0.0354031362, 0.0139442831, 0.0178721845, 0.0231644288, 0.0087858224, -0.0064596664, 0.0266964063, 0.0082397088, 0.0050241877, 0.0040225456, 0.0541004613, 0.0364853442, 0.0406207256, -0.0250882469, 0.0362559669, -0.0045627858, -0.002795127, 0.0101068597, 0.033238437, 0.062965937, -0.0458153486, 0.0351569355, 0.0497670099, -0.0266129225, -0.0339755304, 0.0354912281, -0.0373952128, -0.013962918, 0.0708252639, -0.031765569, 0.0094100805, -0.0455702841, 0.0363419354, 0.0063062767, -0.0364299938, -0.0017871797, 0.0461647436, -0.0285042115, -0.0446005799, -0.0166134629, -0.0675912797, 0.0321388394, 0.0204138141, 0.0125719523, -0.0018214583, -0.0305813476, 0.0165580157, 0.0225137211, -0.0236693267, 0.0286691468, 0.0081060994, 0.0774009749, 0.0397080518, 0.0319819003, 0.01722393, 0.0743388012, 0.058890827, 0.0044205314, -0.0308174826, -0.0330251604, 0.0418134816, 0.0170251206, 0.0151798809, 0.0346559212, 0.0692278221, -0.0460521691, -0.0287378505, -0.0330390558, 0.0132649075, 0.0071891025, 0.0764982179, -0.0019132516, -0.0628140941, -0.0641110316, -0.0424129479, -0.0201778375, -0.0227707867, -0.035169553, 0.0377175324, 0.0164584424, 0.0106570069, -0.0083894599, 0.0328994952, -0.0218911283, -0.0409626886, 0.0350384489, -0.0101272762, 0.0128219584, -0.0083365934, 0.0424238145, -0.0437126718, -0.0081544397, -0.0076348768, 0.0080236346, -0.0084514245, -0.0099951364, 0.009230365, 0.0101454761, -0.088931933, -0.0091442959, -0.0391200222, -0.0270564072, 0.0140866442, -0.0023420278, 0.0440597087, 0.0211377628, -0.0093604261, 0.0655416325, 0.0303882025, -0.0052780807, 0.0014584534, -0.022465026, -0.0070382995, 0.0222681835, -0.0366307721, -0.0280447677, -0.0262371488, 0.0284394398, 0.056561172, -0.0415284671, -0.0212051123, 0.0189780463, 2.447e-7, 0.038820181, 0.0657779202, 0.0350361243, -0.0407701321, 0.0476849079, 0.0021664628, 0.0099416543, 0.0119670695, 0.0052927458, 0.0126291374, -0.0307904184, -0.0071716313, 0.0171964597, 0.0084451586, -0.0913511515, 0.0155238686, -0.0904652923, 0.0147401225, -0.0578451715, 0.0060052825, 0.021409465, 0.114755109, 0.0104702255, 0.0013635141, -0.0457875803, -0.0801053047, 0.0338736996, -0.0509857908, -0.0185989402, 0.028441174, -0.0028052828, 0.0071191457, 0.046253074, 0.0005731793, -0.0043107504, 0.0233459249, 0.038435664, 0.0408438183, -0.0082454029, -0.011251404, 0.0089314822, -0.0264971834, -0.0288425963, -0.0670959353, 0.0787486807, -0.0355512202, -0.008940246, -0.035875421, -0.0070319311, 0.0014120904, -0.0229685474, -0.0028301426, -0.0139904115, 0.0255749952, 0.008723706, 0.0042678774, -0.0101390863, -0.0685661137, -0.0550728887, 0.0087875174, -0.0344157331, -0.0582245588, -0.0251763593, -0.0077230255, 0.0449772999, -0.0857294053, 0.0048337397, 2.540449004e-34, 0.0545759723, 0.006421098, -0.0161950607, 0.0061787977, 0.0346194915, -0.0281504486, 0.0399850495, 0.0335294306, 0.0121964132, -0.0680295527, -0.0352202803 ]
http://arxiv.org/abs/2406.11234v1
http://arxiv.org/pdf/2406.11234v1
MiniConGTS: A Near Ultimate Minimalist Contrastive Grid Tagging Scheme for Aspect Sentiment Triplet Extraction
2024-06-17T06:01:11
2024-06-17T06:01:11
Qiao Sun, Liujia Yang, Minghao Ma, Nanyang Ye, Qinying Gu
cs.CL
cs.CL, cs.AI
Aspect Sentiment Triplet Extraction (ASTE) aims to co-extract the sentiment triplets in a given corpus. Existing approaches within the pretraining-finetuning paradigm tend to either meticulously craft complex tagging schemes and classification heads, or incorporate external semantic augmentation to enhance performance. In this study, we, for the first time, re-evaluate the redundancy in tagging schemes and the internal enhancement in pretrained representations. We propose a method to improve and utilize pretrained representations by integrating a minimalist tagging scheme and a novel token-level contrastive learning strategy. The proposed approach demonstrates comparable or superior performance compared to state-of-the-art techniques while featuring a more compact design and reduced computational overhead. Additionally, we are the first to formally evaluate GPT-4's performance in few-shot learning and Chain-of-Thought scenarios for this task. The results demonstrate that the pretraining-finetuning paradigm remains highly effective even in the era of large language models.
[ 0.022043556, 0.0294537935, 0.0061269999, 0.0412437022, -0.0407573432, 0.0345973223, 0.0062996405, 0.0077944268, -0.0176698733, -0.0483093448, -0.068674095, 0.0026511669, -0.0420705117, 0.0301153492, -0.0108469706, -0.0336957909, 0.0514057577, 0.0374772884, 0.0167336054, -0.0057538962, 0.0207387693, 0.0211519599, -0.0010163639, -0.0076729632, -0.0183148086, -0.0142620327, 0.0237973928, -0.0182820968, 0.031648837, -0.0555476435, 0.0338275358, 0.0291116089, -0.0125418883, 0.0296516903, 0.0000021679, -0.0071952036, -0.0546565428, -0.0086850831, 0.0844445527, -0.0037660399, 0.0607827343, -0.0128868371, 0.0138008567, -0.0134705417, -0.0700604171, -0.0559017621, 0.002333319, 0.1296829581, 0.0415783785, 0.058219526, -0.0329093412, -0.0490122922, -0.0060937572, -0.0166209936, -0.0055944687, -0.0218604673, -0.0037482691, -0.0090119382, -0.017443141, 0.0709280893, 0.0031025223, 0.0032203286, 0.0117013017, 0.0498964898, -0.0041746739, 0.0540059544, 0.0065654018, 0.0490495637, -0.0212432109, 0.033604946, 0.0337254889, -0.0029560491, -0.0041344292, -0.0315685384, -0.0055152732, -0.0611407571, -0.0072292248, -0.0325243361, -0.0216605812, 0.0429960378, 0.0391183235, 0.0321941264, -0.0155556686, 0.0208687186, -0.0156358872, 0.041476056, -0.00997697, -0.0504746847, 0.0084923431, 0.0760718808, 0.0050187414, -0.0151654929, 0.0018479223, -0.0182424411, 0.0250064544, 0.0071131303, -0.0178148039, -0.0358250067, 0.01743095, -0.0078537269, 0.0001644658, 0.0121571748, -0.0239146706, 0.0528487228, -0.0092427563, -0.0307503752, -0.0067231553, 0.0080859391, -0.0397687815, 0.0317758135, -0.0598475859, 0.0086564487, -0.050933972, 0.0836641714, -0.0374194197, 0.0094780643, -0.0254308973, -0.0241155885, 0.0055932608, -0.0243305024, 0.0207598116, -0.0111973453, 0.003542217, 0.001520517, 0.0015543242, 0.0574900024, -0.0809281915, 0.0110314433, -0.017920265, -0.0185172781, -0.0280792359, 0.0099384161, -0.0016533913, -0.0551276542, 0.0200160388, 0.0042050737, 0.0174937602, -0.0851875097, -0.0331631973, -0.0082359156, -0.041714225, -0.0549134053, 0.0025649292, -0.0597518086, 0.0127161434, -0.0055498583, 0.0135486471, -0.00501777, -0.0148991877, -0.0129527748, -0.0174374133, 0.0742519721, -0.0749625713, -0.0666387528, -0.0402649902, 0.0147055928, 0.0354769044, 0.054596711, 0.0171297248, 0.0496136956, 0.0154168438, 0.0113605997, -0.0256882235, -0.0069592334, 0.0118450234, -0.006512058, 0.0101481574, -0.0202987455, -0.0195645299, -0.0470766388, 0.030027533, 0.0469394587, -0.0197700188, -0.0100421263, 0.0400698259, 0.0027629724, -0.00787389, 0.0824934095, 0.0406096689, 0.0055971141, 0.0037523075, 0.0430618785, -0.0277028531, 0.0354200192, 0.0123514859, 0.0039752736, 0.0278679039, 0.0428935587, -0.0220250953, -0.0561652072, 0.0089576803, -0.0221379902, -0.0102781188, -0.0251695234, 0.0640631691, 0.0192315467, -0.0538473539, -0.0306142662, 0.069744572, -0.0446557961, -0.0400697328, -0.0354871191, 0.0088217454, 0.0674836189, 0.0038934366, -0.0198084898, -0.0401505418, -0.0089197084, -0.0284472387, -0.00220657, 0.0601262413, 0.0130014466, -0.0049353363, -0.0368325002, 0.0020841323, -0.0346422382, 0.0196187422, 0.0185150262, 0.0012303028, 0.0269314777, -0.012693448, -0.0056178677, 0.0420514271, 0.0039980686, 0.0350799523, -0.0464616753, 0.0272927675, -0.0128045641, 0.0097675379, 0.0683899671, -0.0226335116, -0.0229037702, 0.0252265371, -0.0329860523, -0.0116871223, -0.0001438521, -0.0682059601, -0.0817496181, 0.0141137987, 0.0296250116, -0.0178179145, -0.0031022741, -0.0503784418, -0.0266563594, 0.0043672719, 0.0103376983, 0.0546243005, -0.0429534353, -0.017366223, 0.0424226783, 0.0016567108, -0.0168221295, 0.0710322633, -0.0083205467, -0.0038168202, -0.0692137927, -0.0003169055, 0.0235635098, 0.0216351617, -0.0337145291, 0.0090553341, 0.0112987477, 0.0015278917, 0.0110287275, 0.039262142, -0.0505023338, -0.0141178984, -0.1060279757, 0.0080773057, 0.0095017087, 0.0438167602, -0.0004052209, -0.0084827766, 0.0105393743, 0.0229763109, -0.0423139669, 0.0190805085, -0.0377834365, 0.0152930422, 0.0199466199, 0.0274518635, 0.0247258805, -0.0154259522, -0.0012750325, -0.0365880132, 0.0149568552, -0.006851648, -0.0504323393, -0.0025139619, 0.0399054699, -0.0151425079, 0.0139212217, 0.0156847592, -0.0304937698, 0.0016642313, -0.0435044281, 0.0158393048, -0.0014607438, -0.0167087968, 0.039501939, 0.0101505239, -0.002621352, -0.033760421, 0.0455173552, -0.0489381142, -0.0026175759, 0.0041427226, 0.0192137528, -0.0038003766, 0.0709126517, -0.0062560695, 0.0044503808, -0.0673941597, 0.0327363499, -0.0174243115, 0.0048692194, 0.0404121093, 0.0523618162, -0.0064094127, 0.0025309157, -0.0161219314, 0.0129260784, 0.0705461353, 0.0088768899, 0.0001847381, -0.0684133247, -0.0039986405, -0.0247357804, 0.0749735609, -0.0378559232, -0.003734238, 0.0485946722, 0.0010461502, -0.0053561884, -0.062187966, -0.0170894451, -0.011069891, 0.045731999, 0.0196572449, 0.0134640513, 0.0007519607, -0.0573886596, 0.0378353819, -0.0453740507, -0.0603808947, 0.0258696862, -0.0034278387, -0.0048551382, 0.0540569648, -0.0004155937, -0.0256417114, 0.0329106562, -0.0384770818, -0.0270442963, 0.0125046391, 0.074562341, 0.0333923697, -0.0604729056, 0.0143459048, -0.0027600313, 0.0177165922, 0.073349975, -0.0104931677, 0.003149722, -0.0381323434, 0.0085849538, 0.0269076303, -0.0047686277, -0.0070039826, -0.0668556616, 0.0428214408, -0.0697486624, -0.0446699969, 0.1080383062, 0.0444007106, -0.0636299178, -0.0123012196, 0.0479178354, 0.0016442908, 0.0192246512, -0.008088313, -0.0608339123, -0.0465159789, -0.0271562561, 0.0213581137, 0.0138877658, -0.0299534686, -0.0075725913, -0.0993244871, 0.0128396656, -0.0191637855, -0.0236996673, -0.0408723503, -0.0244420245, -0.0092706392, -0.0125213386, -0.0388479903, -0.0316259004, -0.0034956913, 0.039468132, -0.0171512663, 0.0177653152, -0.0147075756, 0.0513607971, -0.0025195375, 0.0154916495, 0.0365928821, 0.0247163102, -0.0104787108, -0.0367403999, 0.0501664765, -0.0856360123, 0.0007096234, -0.0602359325, 0.0673026145, -0.0639884546, -0.023849098, 0.0073692831, -0.0323873982, -0.0328527465, -0.008239462, -0.0133241564, 0.0530788675, -0.014200368, 0.0070431582, -0.0021555815, 0.0220847297, 0.0137526942, 0.0590685196, 0.0071838275, -0.0557906926, -0.0108115878, 0.014317506, -0.007760074, -0.0868726447, -0.0324974842, -0.0310306102, -0.010831831, -0.0321649611, -0.0546941087, -0.0712724179, 0.0179549512, 0.0455015488, -0.0456591845, 0.0028850413, -0.036927212, 0.0215268042, -0.0568141229, 0.0122756604, -0.003942789, -0.0127957137, 0.0120573333, -0.0274447892, 0.1161592603, -0.0160688497, -0.0268113799, -0.0100445589, -0.0382272713, -0.0235614013, -0.0073513538, 0.0662825555, 0.0049019712, 0.0106832897, 0.0054567456, 0.0289845262, -0.0400812291, 0.0701528043, -0.0118192844, 0.00285648, 0.0513400733, 0.0504960492, 0.0172595289, 0.0295076072, 0.0010519404, 0.0570392646, 0.0255548917, 0.015641382, -0.0534701645, 0.0040648044, 0.028204646, -0.010891106, 0.1046691537, 0.000008356, 0.0007501772, -0.0177454241, 0.0065955794, -0.0334106646, -0.0143608497, -0.0476379097, -0.020382138, -0.0042324145, -0.0045104935, -0.0819527134, 0.0584983192, 0.0076025883, 0.054429695, -0.0268263556, 0.0199920982, -0.014279183, -0.0206035133, -0.0492992923, 0.0039263158, -0.033218801, -0.0358689725, 0.0279988982, -0.0160433315, -0.0380994119, 0.0429006778, 0.037573196, 0.0011455215, -0.0200138912, 0.0681500509, -0.0288987029, 0.0360847265, -0.0413220301, -0.0209299326, 0.0035432358, -0.0303697232, 0.0585513301, -0.0271338951, -0.0285437945, 0.0154467057, 0.0096408883, -0.0169239808, 0.0199860241, 0.0098050945, 0.0190564003, -0.0205868427, -0.0245363638, 0.0329528004, -0.1031162515, 0.0320638344, 0.0780570284, -0.0080181537, -0.0303093642, 0.0078146169, -0.0217427649, 0.0200304855, 0.0319723226, 0.0200335141, -0.0791010186, -0.033121489, 0.011988448, 0.0041289935, -0.0053742742, 0.024082737, 0.0453693047, 0.0464911833, 0.0335286409, 0.0091832103, -0.0317794122, -0.0418479331, 0.0213803574, -0.0198004507, -0.0030600845, -6.8537132e-33, -0.0330184996, 0.000900885, -0.0004266611, 0.0153033761, -0.0421612263, 0.0111018894, -0.0150540974, 0.0043915589, -0.01368823, 0.0315922275, 0.0078966301, 0.0077156699, -0.0002097545, 0.0206654742, 0.0055298377, 0.0322145224, 0.0446604751, -0.0145879528, 0.0133202858, 0.0393176898, 0.0123308776, 0.0426408313, 0.0939299166, -0.0975939631, -0.0081507778, 0.0131781427, -0.0488143489, -0.0033131898, 0.0292066876, 0.0447039157, -0.0160634797, 0.016931273, 0.0449922457, -0.042911943, 0.0167998187, -0.014886668, -0.0997467786, -0.059438955, 0.0037697826, -0.0202097371, -0.001551315, -0.044842042, -0.0198928826, -0.0019752644, -0.0050114794, -0.0354086347, -0.0069436273, -0.0190689862, 0.0245867521, -0.0925861821, -0.0440023728, 0.0420439653, 0.0281169675, 0.0031231986, 0.0635410696, 0.0029198234, 0.0304742977, 0.0570555404, -0.0283254143, 0.0033328137, 0.0131382942, 0.0206558947, -0.0216816664, -0.0315354206, 0.0005559731, 0.0564222969, 0.0183156896, 0.0192687269, 0.0004326652, 0.0276176389, 0.0032243885, 0.003191096, 0.0149034206, 0.0455629118, 0.0531153195, -0.0186394472, -0.0345594436, 0.0161799304, 0.0083886897, -0.0108596524, 0.0100664916, 0.0033150427, -0.0417412966, 0.0189134143, 0.0375596695, -0.0782229602, -0.0364451706, -0.0376667678, 0.0056997403, 0.0116294604, -0.0269358698, 0.0573862605, -0.002454849, -0.0275898632, 0.0019316103, 0.0107950596, -0.0401327685, 0.039263919, -0.0013956481, 0.0174643006, -0.0330431238, -0.0388371684, -0.0142088989, 0.0374156013, 0.0153215146, -0.0106665269, 0.0996766612, -0.008771657, -0.1166790053, -0.0075761965, 0.0030821853, 0.0329169445, -0.0180626735, 0.031575419, 0.0121122831, 0.0388059169, -0.0068383315, 0.1048136279, 0.0508470759, 0.0228033848, -0.0196989086, 0.0126889301, 0.0170685705, 0.0241986867, 0.0367939472, -0.0152077153, 0.0258561373, 0.0054724552, -0.0071204966, -0.0272261519, -0.0347698256, 0.0327699929, 2.932e-7, 0.0404219739, 0.0304348879, -0.0016578924, -0.0062539736, -0.0034999847, 0.0736840665, 0.0201359112, 0.0192427821, -0.0138895987, -0.0108096134, 0.0255601592, 0.0355614461, 0.0007187786, 0.0264436472, -0.0668332875, 0.0751853287, 0.0115324091, -0.0305056628, -0.0311952811, 0.0107751768, 0.1379566938, 0.0775411353, 0.0300657395, 0.0027732817, 0.0068541961, 0.0047138622, 0.0418114923, -0.0084273061, -0.0117725534, 0.0105122393, -0.0434305593, 0.0043838569, -0.0513556637, -0.0057075433, -0.0189502742, 0.0084107323, -0.0280260295, 0.0546190999, 0.0038507986, -0.065119192, 0.0336222239, 0.0106944004, 0.0163548999, -0.0222000703, 0.0726440921, -0.0538584106, -0.0251504593, -0.0416125581, -0.0365433544, 0.0359059572, 0.0199503861, 0.0061058155, -0.0415583588, 0.0291504059, -0.0217747465, -0.0031051706, -0.0666172579, -0.0950104818, 0.02251238, 0.0615633838, 0.0220218189, -0.0589573197, 0.017254347, 0.0019610852, 0.0008963594, -0.0560153425, -0.0066605685, 2.694366673e-34, 0.042828314, -0.0467460603, 0.0338745825, 0.0467596948, -0.010759118, 0.0075627877, -0.0232330319, -0.0384813882, 0.0231263526, -0.0286245272, 0.0092512574 ]
http://arxiv.org/abs/2406.11233v1
http://arxiv.org/pdf/2406.11233v1
Probing the Decision Boundaries of In-context Learning in Large Language Models
2024-06-17T06:00:24
2024-06-17T06:00:24
Siyan Zhao, Tung Nguyen, Aditya Grover
cs.LG
cs.LG, cs.AI, cs.CL
In-context learning is a key paradigm in large language models (LLMs) that enables them to generalize to new tasks and domains by simply prompting these models with a few exemplars without explicit parameter updates. Many attempts have been made to understand in-context learning in LLMs as a function of model scale, pretraining data, and other factors. In this work, we propose a new mechanism to probe and understand in-context learning from the lens of decision boundaries for in-context binary classification. Decision boundaries are straightforward to visualize and provide important information about the qualitative behavior of the inductive biases of standard classifiers. To our surprise, we find that the decision boundaries learned by current LLMs in simple binary classification tasks are often irregular and non-smooth, regardless of linear separability in the underlying task. This paper investigates the factors influencing these decision boundaries and explores methods to enhance their generalizability. We assess various approaches, including training-free and fine-tuning methods for LLMs, the impact of model architecture, and the effectiveness of active prompting techniques for smoothing decision boundaries in a data-efficient manner. Our findings provide a deeper understanding of in-context learning dynamics and offer practical improvements for enhancing robustness and generalizability of in-context learning.
[ 0.0133804427, 0.0237746164, -0.0068141799, 0.0542946383, -0.0280097034, 0.0362486877, 0.0008844303, -0.0151804471, 0.0023439503, -0.0765955299, -0.0379496887, -0.0719726011, -0.0003649833, 0.0124520268, 0.0168192014, -0.0308173373, 0.0311396103, -0.0429635271, 0.0039911764, -0.0131092928, -0.031066414, -0.0172961634, 0.0039473078, 0.0284678452, -0.0067618787, -0.0234868973, -0.0033269294, 0.0085289441, -0.0148305492, -0.0194879938, 0.0347325429, 0.0355401412, 0.0501615331, 0.0736204162, 0.0000020011, -0.0824353397, -0.0084639741, -0.0263592415, -0.0464693159, 0.0040244348, 0.0286733862, -0.0283250716, -0.0224866029, 0.0184324272, -0.033906199, -0.023917906, 0.0639080256, 0.0352214873, 0.0104074022, 0.0785544887, -0.0217419565, -0.0169672929, 0.002328695, -0.0437647812, -0.0089232894, -0.0370044, 0.0501217321, -0.046768222, -0.041163899, -0.0169539154, -0.0541012324, -0.0023727999, 0.0079308497, 0.0351486951, 0.0022753736, 0.0465847962, -0.0260240491, -0.0257392321, -0.0178485941, 0.0519532226, -0.0373111889, -0.0264575835, -0.0221923534, -0.0226019546, 0.0181351826, 0.0198557675, -0.0393447094, 0.0244858768, -0.0026600601, 0.0398066267, 0.0145775639, 0.0077672563, 0.0543803647, 0.0267754234, -0.0674201921, 0.037955042, -0.0001847946, -0.0541910678, 0.0539783873, 0.0488425456, -0.016110247, -0.0289030652, -0.0153753813, 0.0320802853, -0.0504445769, 0.0298668295, -0.0249285791, 0.0299046282, 0.0131177697, -0.0252009481, 0.0442529358, 0.0111856917, -0.034694124, 0.0558104888, -0.0084397681, 0.0053166873, -0.0091839302, 0.0255647451, -0.0299658068, 0.0262147859, -0.0107002864, 0.0009997353, -0.0318748839, -0.0224558059, -0.011308087, -0.0150192659, -0.0367562026, 0.0338882171, -0.0272811055, 0.0243706312, 0.0043725795, -0.0198264737, -0.0318693221, 0.0203740839, 0.0008591197, 0.0126014212, -0.0181402862, 0.028485924, -0.0043735779, -0.0328387208, -0.0187897049, 0.0058573345, 0.0148382522, -0.036024332, 0.0112771727, 0.0558428168, -0.0141014345, -0.0542147532, -0.0355484262, 0.0232615136, -0.0136448527, -0.0689556748, 0.0177102815, -0.0236058887, -0.0104841599, 0.0262899548, 0.0167328548, -0.0032037415, 0.0027909279, -0.0074469852, -0.0037172046, 0.0929421782, -0.0123115629, 0.0108728865, 0.040066734, -0.0173575971, 0.009260973, 0.1043512151, -0.0059299394, -0.0011793831, 0.0436075665, -0.0117950495, 0.0052993782, 0.0507522114, 0.0195304919, 0.017801214, -0.0743018538, -0.0099059194, 0.0478783213, 0.0268734973, 0.0330510102, -0.0001828208, -0.0289667919, 0.0054759607, 0.0563874952, 0.0404865369, 0.0321137235, 0.0162225384, -0.0002027701, 0.0064440276, 0.0070935837, 0.0323872268, -0.0631297305, -0.052942168, -0.0069072312, 0.0103443852, 0.0026000296, 0.0299396962, -0.014400796, -0.0334335193, -0.0093667619, 0.0005546242, 0.0188122168, 0.0418360941, 0.0813301653, 0.0200814195, -0.0206983201, 0.0308377817, 0.0478535183, -0.0128029194, -0.0049840081, -0.0522115268, 0.0230753552, 0.0153794698, 0.0078852335, -0.0744578764, 0.0103113689, -0.0156140961, 0.0757885128, 0.0067579262, 0.0395249426, -0.0306726806, 0.0153574226, -0.0579999946, -0.0320422091, 0.0026130315, 0.0332331322, -0.0194007177, 0.0298101455, -0.0020437625, -0.0001106475, -0.0220395047, -0.0096111754, 0.0550493151, 0.0049001086, -0.0364713222, 0.0153242555, 0.037213508, 0.0269235875, -0.0069819493, -0.0177335292, -0.0183540508, 0.0315112919, -0.0334493108, 0.0218613036, 0.0086574918, -0.0437891819, -0.0270246975, 0.0433897711, 0.0291349664, -0.0122441296, -0.0214571878, -0.0388856009, -0.0222738404, -0.0109563405, -0.0217940956, 0.0668763518, -0.0355694182, 0.0285306033, -0.0399562679, 0.0304714087, -0.0664424896, 0.0793370306, 0.0205172487, -0.0024854694, 0.0248520691, 0.015978599, -0.0050138277, -0.0038798407, -0.009431622, 0.0292185005, -0.0110737979, 0.0300028231, -0.0199475996, -0.01284217, -0.0399682336, -0.0099444343, -0.1034850404, -0.0244133528, -0.0514861047, -0.0121037634, 0.0004847481, -0.0073420792, -0.0200476684, -0.0369297713, -0.0058525489, -0.0174280405, -0.0202458818, 0.0512542203, 0.0183955934, 0.00527253, -0.0142388586, -0.0192980841, -0.025769271, -0.001805483, 0.0764332488, -0.0160156973, -0.008071295, -0.0947089121, 0.0202246942, 0.0252116434, 0.0417842418, -0.0242151953, 0.0341274478, 0.0165241677, -0.0388939939, 0.0365547575, 0.1055931821, 0.0156015046, 0.091135703, 0.0814655349, 0.0012159699, -0.0462095588, 0.010128282, -0.0115374085, -0.0088977525, -0.0197046418, 0.0302958861, 0.0048699984, 0.079653576, -0.0344808362, -0.0155878635, -0.0218664221, -0.0005004157, -0.0284722522, -0.0149695687, -0.0812383294, 0.0140243201, -0.0405039005, 0.0580512322, -0.0038440477, -0.0899337009, 0.0414983034, 0.0075712185, 0.0042338264, -0.0460187048, -0.0368190557, -0.0405772664, 0.0610686615, -0.0029098496, 0.0024484147, 0.0175426994, -0.0428611226, -0.0724756271, 0.0011727321, 0.001190659, -0.0208226796, 0.0866295174, -0.0419549458, 0.0153399538, -0.0195093099, -0.025550399, -0.0538136475, -0.0147040188, -0.0299060158, -0.0047675734, -0.0216985121, -0.006719206, 0.0147453919, 0.0226543713, -0.0255429205, 0.0652186349, -0.007922993, -0.00234026, -0.019157324, 0.034198124, 0.0375885218, 0.0284335278, 0.0096533289, -0.0500949919, 0.0098225186, 0.0191342067, 0.0229877308, -0.0024717099, -0.0312098563, 0.0267209578, 0.0596308075, -0.0358350165, -0.0102442969, 0.0296560656, 0.0536554828, -0.0685860813, -0.0276306458, 0.0988477841, 0.0256966483, -0.0861387774, 0.003057159, -0.0114202267, -0.0004905878, 0.0468417369, 0.0134631749, -0.0498314425, -0.0417737365, 0.0132257268, -0.0213043559, -0.0036409269, 0.0039385222, 0.0012322256, -0.1142052561, 0.0452589802, 0.0129490653, -0.0458203368, -0.015611426, -0.0303213615, 0.013333872, -0.0059980103, 0.0303741526, -0.0161764957, -0.0418673679, -0.0308568794, 0.0239537489, 0.0188508946, -0.0871653184, -0.0051684403, -0.0650240704, 0.025399683, 0.0437939949, 0.0164144896, -0.0138229029, 0.0072731348, 0.0870283395, -0.0175306275, 0.0155515019, -0.0251718275, 0.0383784212, 0.0098704761, 0.0027124803, 0.0197143685, 0.0187582467, -0.0041489634, -0.0306544695, 0.0234948453, 0.0904923603, -0.0208510999, -0.0290176459, 0.0033449735, -0.020848535, 0.0498170815, 0.0580491051, 0.0191855747, -0.0771598667, -0.0382563956, -0.0275450181, 0.0193813629, 0.0420263261, -0.0044641593, 0.013028115, -0.029112462, -0.0524524748, -0.0358723737, 0.0138230985, 0.0405703485, 0.0342405997, 0.0199463721, 0.0175321512, -0.0023618955, 0.0189998597, -0.0432853289, 0.043194633, -0.0347898602, 0.0347223692, -0.0367843844, -0.0083760032, 0.0385275409, -0.0326381512, -0.013624602, 0.043251738, -0.0546344258, -0.0813964382, 0.0075602918, -0.0099003548, 0.0266110767, 0.0763724148, 0.003758332, -0.0746197924, 0.0815686211, 0.0194311608, 0.0274877101, 0.0090203239, 0.0380621403, 0.008747655, -0.0325302444, 0.0273213834, -0.0358500071, -0.0064770202, 0.0361442007, 0.0084741591, -0.0690788627, -0.0062367143, 0.0089789238, -0.0701106265, 0.0738120526, -0.0228428207, -0.041643966, -0.0447703898, 0.0255249236, 0.0249499008, -0.016835738, -0.0211535301, -0.035178218, 0.0380293131, 0.0057590348, -0.0111283101, 0.0083681764, 0.0098398784, 0.0298779756, -0.0430859998, -0.0048349421, -0.0076213344, 0.0465977192, 0.0600579642, 0.0197388716, -0.0176560357, 0.0250387453, 0.022877356, 0.0174567606, 0.0038018029, 0.0641032085, 0.0304820947, 0.0169093721, -0.0475298725, 0.0060793059, -0.0669097379, -0.0061868797, -0.0304960888, 0.0344886631, 0.0653943121, -0.0498447642, -0.0024424961, -0.0027725659, -0.0455373153, -0.0123575302, 0.0084401667, 0.0022204157, -0.0371283814, 0.0447340757, 0.0260409079, -0.0321053863, 0.0421347134, 0.0622848049, 0.0337640941, 0.0479019918, -0.0092386231, 0.0042716675, -0.0308770742, -0.0201319847, 0.0633465499, 0.0117409984, -0.0256610401, 0.0079615852, -0.0644764379, -0.0628235787, 0.0070166844, -0.0443333983, -0.0017492069, -0.0381205268, 0.0093514472, 0.0813102201, -0.0068842908, -0.0069025559, -0.0273694918, 0.000176759, 0.0097834188, -0.0023473278, -0.0590573885, -6.473415064e-33, 0.0120482063, 0.0063896305, -0.0028597491, -0.0133028934, -0.0078004133, 0.0008536752, 0.0052864533, 0.005513798, -0.0179293063, 0.0109656993, -0.025146693, 0.0005265864, 0.0271371976, 0.0153886182, 0.0033007758, -0.0520371534, 0.0628095865, -0.0104394518, -0.0093084211, 0.019465236, 0.0064807143, 0.0279528499, 0.0383348688, -0.0660328344, 0.0149170496, 0.0160722677, -0.0188878197, 0.0358796604, -0.0224604998, 0.029882554, -0.0204167254, 0.0625405833, 0.0373349637, -0.0335773937, -0.0084513314, 0.0539365858, -0.0598057061, -0.0084135262, -0.0147569291, 0.0336886235, 0.0174231566, -0.0374096073, 0.0563959368, 0.0043021734, -0.0176426116, -0.0396750569, 0.0211464688, -0.0274179578, -0.063141413, -0.0635709539, -0.0777922571, 0.0215560365, 0.0089293038, -0.0237641726, 0.0231271554, 0.0173913296, 0.0148771321, 0.0041436106, -0.0427003615, 0.0281239748, 0.0487925448, 0.0154710729, 0.0242512077, 0.059483923, -0.0067627435, 0.047630243, 0.0099207964, 0.0243696794, 0.0212006476, -0.0480208956, 0.0528940372, 0.0242339335, -0.0026927881, 0.0193042811, 0.0735253319, -0.0159497708, -0.0710121393, -0.0163866747, 0.0321722552, -0.005622338, 0.0294265002, 0.017833462, -0.0454703718, -0.0519323908, -0.0291865207, -0.027379483, -0.0421365537, 0.0042249328, 0.0360147916, 0.0253608115, -0.0061847758, 0.0217317995, 0.0072454703, -0.0481927954, -0.0283540282, -0.0032716694, -0.0021016202, 0.019431442, 0.0141066071, -0.0162220765, -0.0389351174, -0.0640437454, -0.0131545579, -0.0133665754, 0.0173138753, -0.0037038357, 0.0543615781, 0.0114701241, -0.0622691326, -0.0109573612, -0.0212649908, 0.006865032, 0.0252375118, 0.0928527564, 0.0543048084, -0.0002472249, 0.0088688806, 0.0648711622, 0.0312660411, -0.0142751392, -0.0181808192, -0.0006137687, -0.026636783, 0.027508961, -0.0182535797, -0.0196048114, -0.0170492772, -0.0204008296, 0.0684875622, -0.0662746951, -0.0164914634, -0.0188065656, 2.724e-7, 0.0284565371, 0.0632089674, -0.0125617804, -0.0006479151, 0.0306329988, 0.0357544236, -0.0234793592, 0.0003860834, 0.0229109507, -0.0099387923, 0.0112831295, 0.0142219048, 0.0585771985, 0.0293312948, -0.1028758511, -0.0223604236, -0.0414596573, 0.0345373116, -0.0505309775, 0.0121537941, 0.0039532608, 0.100158453, -0.0091491621, -0.0372315459, 0.0073191957, -0.0502233207, 0.0690030158, -0.062041387, 0.0591230206, 0.0186699796, -0.019901678, 0.0055217794, -0.0029609066, 0.0364545472, -0.0168389603, 0.0473387279, -0.0104527362, 0.0618019663, 0.0038765725, 0.0222199429, -0.0223104097, 0.0017591091, 0.0069121839, -0.0656145513, 0.0752579793, -0.1004746258, -0.0103730289, -0.065620482, 0.0516967177, -0.0579811148, 0.0296420492, -0.031165434, 0.0041799271, 0.0023696222, 0.0116648274, -0.0144982301, -0.0105709974, -0.0974024385, -0.0358579084, 0.0218223315, -0.0473434031, -0.0406125896, -0.0259890147, 0.016983496, 0.0317838714, -0.0619664416, 0.0375464037, 2.670823036e-34, 0.0381831788, -0.0170017146, 0.0278834328, 0.0439931825, 0.0096426671, -0.0182043388, -0.0168839097, 0.0273154657, 0.0428204089, -0.0549241789, 0.0268505141 ]
http://arxiv.org/abs/2406.11231v1
http://arxiv.org/pdf/2406.11231v1
Enabling robots to follow abstract instructions and complete complex dynamic tasks
2024-06-17T05:55:35
2024-06-17T05:55:35
Ruaridh Mon-Williams, Gen Li, Ran Long, Wenqian Du, Chris Lucas
cs.RO
cs.RO, cs.AI, cs.CL, cs.LG
Completing complex tasks in unpredictable settings like home kitchens challenges robotic systems. These challenges include interpreting high-level human commands, such as "make me a hot beverage" and performing actions like pouring a precise amount of water into a moving mug. To address these challenges, we present a novel framework that combines Large Language Models (LLMs), a curated Knowledge Base, and Integrated Force and Visual Feedback (IFVF). Our approach interprets abstract instructions, performs long-horizon tasks, and handles various uncertainties. It utilises GPT-4 to analyse the user's query and surroundings, then generates code that accesses a curated database of functions during execution. It translates abstract instructions into actionable steps. Each step involves generating custom code by employing retrieval-augmented generalisation to pull IFVF-relevant examples from the Knowledge Base. IFVF allows the robot to respond to noise and disturbances during execution. We use coffee making and plate decoration to demonstrate our approach, including components ranging from pouring to drawer opening, each benefiting from distinct feedback types and methods. This novel advancement marks significant progress toward a scalable, efficient robotic framework for completing complex tasks in uncertain environments. Our findings are illustrated in an accompanying video and supported by an open-source GitHub repository (released upon paper acceptance).
[ 0.0062583475, 0.0479413942, -0.0053102323, -0.0110467719, -0.0336907059, 0.0019689933, -0.0429853164, 0.0080812257, 0.0214622207, -0.0284489244, -0.0049781282, -0.0266491268, -0.0300431028, 0.032941822, -0.0006953503, -0.0468068235, 0.0374438316, -0.0333903469, 0.0136318672, 0.007107887, -0.0206585061, -0.0073085348, -0.0208570324, 0.0548903383, -0.0282962453, -0.009136294, -0.0540711544, 0.0012151845, 0.0098917633, -0.0150183635, -0.0191512089, 0.0726305321, 0.0394265316, 0.0676742941, 0.0000020792, -0.0361298658, 0.0094497083, 0.0043712892, -0.0014422343, -0.0669556111, -0.0107244635, -0.0391447581, -0.0055781868, 0.0070185969, -0.0314935669, -0.0401229598, 0.0450438336, 0.0372237042, -0.0142325722, 0.0130230123, 0.0119332857, -0.0620714389, -0.006785173, 0.0181609374, 0.0411511511, -0.0226034373, 0.0205106772, 0.0314851664, 0.0857548341, 0.0146988118, -0.0071963063, 0.0212547686, 0.0344269685, -0.0219803955, -0.0307391565, 0.038021341, -0.0486667305, -0.0190230906, -0.0038567202, 0.0217485391, -0.0104417987, 0.0035713199, 0.0145203779, 0.0042185555, -0.0051206076, 0.0160794966, -0.0448727347, -0.0109029543, -0.0052036163, -0.0138957696, -0.0951507837, -0.0260316301, 0.0173905157, 0.0001441553, 0.0205856394, 0.1118469387, -0.0045458339, -0.0038141403, 0.0193677209, -0.0023046166, 0.0009627623, -0.0309444256, 0.0064372658, 0.0608751103, -0.0385811999, 0.0271384194, -0.0358737111, 0.0544375964, -0.018524915, -0.0178670753, -0.0230254177, 0.0582942739, -0.0279082488, 0.0213953517, -0.0217327699, 0.0625442043, -0.0811329484, 0.0302805435, -0.0668380857, 0.0255259443, -0.0968038291, -0.024654353, -0.0291138403, 0.0071730907, -0.0616370291, -0.0255266242, -0.0050263731, 0.0466374978, -0.0305129159, 0.0168735795, -0.0092242956, 0.038765654, -0.0133709516, -0.0117425444, -0.0499540865, -0.0043705995, -0.0085752271, 0.0369224623, -0.0016516626, 0.0056562289, -0.0053550298, -0.0012363157, -0.0149959503, 0.0223801658, -0.0107878158, 0.0800054222, -0.0293123256, 0.0122594554, 0.0018670203, -0.0325467959, 0.0168876052, -0.0611409284, 0.0306741353, -0.0495964698, 0.0050409129, -0.0157146696, -0.0066302111, 0.0092570009, 0.0247284025, 0.001026405, 0.0049785455, 0.076485306, 0.0363240354, 0.0150333503, 0.015989054, 0.0166206416, -0.029778963, 0.0256001242, 0.0232056715, 0.0413357578, -0.0166364778, 0.0165243726, 0.0603406355, 0.0182183497, -0.0702802241, -0.0045394949, 0.0014280942, -0.0041282042, -0.0065001673, 0.0324311964, -0.0123102143, 0.015746139, -0.0005197147, 0.0714513734, 0.059475746, 0.0349128656, -0.0607193001, 0.0164732467, 0.0316438004, -0.0024851905, -0.0147984419, -0.0108110541, -0.0276345797, 0.0160021018, -0.0653060228, 0.0055547482, -0.0561344698, -0.0362142958, -0.0254304409, -0.0142811649, -0.0006258184, 0.021812791, 0.0827635154, 0.0101931114, 0.0839446709, -0.0077598048, -0.0430732481, -0.0234750099, -0.0469662435, -0.0253878552, -0.0384445079, -0.0486303903, 0.0381460115, 0.1234987676, -0.0118971914, -0.0610934384, -0.0158729814, 0.0119308811, 0.0143787563, -0.0096532768, -0.0084270937, -0.0137351733, 0.0053658709, 0.0284100492, -0.0375104807, 0.0056350357, 0.0360994823, 0.0628632978, 0.007695185, -0.0095713045, 0.0075860908, 0.0195692685, -0.0095154271, 0.0119315013, 0.0565638728, -0.028974114, 0.0031737133, 0.0212227907, 0.0061974064, 0.0294705704, 0.0005587439, -0.0062967427, 0.0381180868, -0.002113421, -0.01950977, 0.0635978207, -0.0039322451, 0.029697476, 0.0152548114, 0.013988819, -0.0393074714, -0.0039286572, -0.0229256563, -0.035567876, 0.0197495073, 0.0085134357, 0.0491978079, 0.0115897181, -0.0069887391, 0.0028230236, -0.0550836585, -0.015673168, 0.0453794263, -0.0213955641, 0.0092880558, -0.0124992309, 0.0514522307, -0.010810188, -0.0155715309, -0.0071424735, -0.0004454622, 0.0168472677, 0.0625175759, 0.0312909558, 0.0670805871, -0.0167478789, -0.0118542332, -0.1033432186, -0.0196775924, -0.010105703, -0.045128081, 0.0005355417, 0.0208441895, -0.0084043546, -0.0250444803, 0.0599308871, 0.0501561761, -0.0277927034, 0.0132596912, 0.0083717359, 0.0551456064, -0.0465624258, -0.0180658139, 0.0105099818, -0.0085273143, -0.0330378264, 0.016445484, 0.0110807428, -0.049927257, 0.0229929965, 0.0078583239, 0.0582753234, -0.0222687405, -0.0231245719, 0.0396696962, -0.047482349, 0.0051348717, 0.0565138236, -0.0918248221, 0.0095500313, 0.062082801, -0.0479652397, -0.0330298394, 0.0225908384, -0.035681136, -0.0455174856, -0.0018972815, 0.0169672575, 0.0081013488, 0.0122079011, -0.0043762643, 0.0129386475, -0.0626574382, -0.0355036743, -0.0219875835, -0.0527076125, -0.0628671795, 0.0117905503, -0.0627686158, 0.0584809035, -0.0075898627, -0.0498394109, 0.0286755972, -0.0035960283, 0.025591664, 0.0461710393, -0.0285816211, 0.0076805507, 0.1292644739, 0.0276194327, -0.0089993011, 0.0299008638, -0.0192482453, -0.0143867601, 0.0556301288, -0.0147024924, -0.0241733007, 0.058283776, -0.1376291066, 0.0099519258, 0.018622363, -0.0560772829, -0.0221351497, 0.026326295, -0.0092857666, 0.0170782935, -0.0290921964, -0.0464634709, -0.0297020525, 0.0121390438, 0.0283923764, 0.0447893217, -0.0141058993, -0.0156871937, -0.0485320427, -0.026639875, 0.036693465, 0.0255812537, -0.0884188414, 0.0041230517, -0.0525449142, 0.0180330742, 0.0668743178, -0.0309425388, -0.0669046491, 0.0343003459, 0.0466800742, 0.0328391492, -0.0007044166, 0.0153548922, 0.0520032458, -0.0576036945, -0.0331692286, 0.0634869263, -0.0038742477, -0.0161199998, -0.0067108846, -0.0107819811, -0.003334831, 0.0251171291, 0.0518465862, -0.0621850081, -0.0232482441, 0.0218671057, 0.0091000646, -0.013072921, -0.0274409764, -0.0077123651, -0.1126112193, 0.0719682351, 0.0121067818, -0.0732718557, -0.1107300222, 0.0070232395, 0.0227215067, -0.0250764973, 0.0021958449, 0.0260709692, 0.018097939, -0.0068808109, 0.0124160321, 0.0184959248, -0.0593518317, 0.0019506192, -0.0194790121, -0.0192373842, 0.0791080371, 0.0030833834, -0.0075187981, 0.0271774624, 0.0192690101, 0.0400114171, 0.0133563969, -0.0247120541, -0.0445555449, 0.006538006, 0.0036688515, 0.0005204759, 0.0295248535, -0.0252315402, -0.051706031, 0.001777551, 0.0753902644, -0.0193042606, -0.0071063139, -0.0266807955, -0.0756666586, 0.0589219481, 0.0400805511, -0.0319494084, -0.0038799939, -0.0488292687, -0.0688911825, -0.0633290559, 0.0235713236, -0.0086557344, -0.0070285094, -0.04364397, -0.0353567787, -0.0179137178, -0.0069655525, 0.0637748539, 0.037747249, 0.0072099483, -0.0394235514, 0.0225146282, 0.0633589923, -0.0232902169, -0.005608432, -0.0210528765, 0.019749945, -0.0058766007, -0.0156517886, 0.0422169119, -0.0307562239, -0.0175632499, 0.0322292149, -0.0076060635, -0.0434344299, 0.0135653075, 0.1200617254, 0.026614178, 0.0327616185, -0.0170336906, -0.0059833219, 0.0182090048, 0.0114402436, -0.0482205041, 0.023406947, -0.008746204, 0.0191681236, 0.0180861577, 0.0065845768, -0.0914318189, 0.0052818288, -0.0457031913, 0.023700662, -0.0386197306, -0.0128067257, 0.0462725759, -0.0342788659, 0.0355253853, 0.0025723241, -0.0076180683, -0.0328915641, 0.0284964815, 0.0040130732, -0.0284314975, -0.0677193552, 0.0455014519, 0.0275713336, -0.0307074282, 0.0252609663, -0.014983098, 0.0120155346, 0.0360031277, -0.0472144112, -0.0391856991, -0.0190328695, 0.0510929562, 0.0609821901, 0.0331374705, -0.0028355669, 0.042063307, -0.0348742679, 0.0338939019, 0.02307068, 0.0355110243, 0.0106381653, -0.0013883115, -0.0558242798, 0.0165351927, -0.0599601045, -0.0936015844, 0.0045697689, 0.0208952315, 0.0628450066, -0.0423079208, 0.031106839, -0.0884015113, -0.0040254514, -0.0398984626, 0.0314380527, 0.0408062413, 0.0176850557, 0.0018189766, 0.0378225558, 0.0264723673, -0.0168022029, 0.0505820885, -0.0602800436, 0.0349823274, 0.0022161824, -0.0377171598, -0.0438322574, -0.0306949411, 0.0514460877, 0.0144134499, -0.0077477796, -0.0439851023, -0.0328010991, -0.0110584358, -0.0676582605, 0.0419521518, 0.0079325605, -0.0187197998, 0.0678576976, 0.041213531, -0.035954304, -0.0590895936, -0.0143181132, -0.0369279422, -0.0071821972, 0.01980808, -0.0382896513, -5.800611689e-33, -0.0232032612, -0.0394701995, 0.0274693128, 0.0010031452, 0.0018310855, -0.0454144105, -0.0024009643, -0.0055269408, 0.0477594137, 0.0263121724, 0.0223788023, -0.0072684712, 0.0027548124, -0.0049925046, 0.0854893103, -0.0429476313, 0.038847439, 0.0010280616, -0.0064154691, 0.0075988509, 0.0392801538, 0.0213175509, -0.0112824459, -0.0556159988, 0.0243943781, 0.0145357912, -0.0157218017, 0.0390516557, -0.0128914565, -0.0023597404, -0.0238820706, 0.0376313105, -0.0116339102, -0.0070873592, -0.0250899233, 0.0471356325, -0.0411552154, -0.0241266116, -0.0129768299, 0.0338700488, -0.0587641709, -0.0131487465, 0.0350485332, 0.0285046846, -0.0338633657, 0.0337865353, 0.0051687136, -0.0002921176, 0.0334019251, -0.0064895935, -0.022627566, 0.003998626, 0.019944571, -0.0428798161, 0.0170733761, 0.0219028108, 0.0227648504, -0.0311035868, -0.0147795267, -0.0090216072, -0.0102183176, 0.0026135871, 0.05783654, 0.0017490794, 0.0324976109, 0.0118136872, 0.010089295, -0.0409153439, 0.0062801884, -0.0151914908, -0.026761936, 0.0931723788, -0.0215336159, -0.0107929371, 0.0643459335, 0.0244697034, -0.0234017763, -0.0082206493, -0.0669132397, 0.0974059924, -0.0071850559, 0.044249095, 0.002216408, 0.0177596007, 0.0188632887, 0.0075575975, -0.0084554246, -0.0341700874, 0.0232708156, 0.0244969577, 0.0088928938, -0.0631509274, 0.0001512351, 0.0195716266, 0.0059704944, -0.0263609849, -0.0201159772, 0.0348820798, 0.0080290558, 0.0188792776, -0.009647076, -0.039440006, -0.0029912191, -0.0087714884, -0.0191585701, 0.0210838597, -0.0569991805, 0.0939428136, 0.0149620892, 0.0202932619, -0.045505736, -0.0008274926, 0.0317735262, 0.0012895584, 0.0617198162, -0.0036008623, 0.0087252883, 0.050230775, -0.0356091559, -0.0262860525, -0.0187777132, 0.0037991954, 0.0026924231, -0.0378801376, -0.0145002045, -0.0303598028, -0.0289044306, 0.0120657329, 0.0189705845, -0.0394281857, -0.00340092, 0.0307797231, 2.99e-7, 0.0286747776, 0.0221112352, -0.0029422157, 0.0499181896, -0.00542511, 0.0203616582, -0.0015196542, 0.0564829521, -0.0150090419, -0.0252431054, 0.0289951265, 0.0189191997, -0.0014003681, -0.0061842096, -0.0853124931, -0.0035103993, 0.0319878235, -0.0285279378, -0.0191229675, -0.0030673372, 0.0312953666, 0.0216701124, 0.0220979266, 0.0336508229, 0.0193240196, -0.0394899733, 0.0270053707, -0.0475468524, 0.0622060634, -0.0348374173, -0.0057973284, 0.0375057571, 0.0019654846, -0.0210520364, 0.0079472773, -0.0189520884, -0.0196304265, 0.0557180606, -0.0365836881, -0.0009156025, 0.006086715, 0.0208063927, 0.0107361833, -0.041735705, 0.0425838493, -0.0809658244, 0.0605020337, 0.0527743883, 0.0249531362, -0.0381838568, -0.042415157, 0.0192896985, 0.0256964099, -0.0075047379, -0.0111514935, -0.0002898649, -0.0381020159, -0.042397853, 0.0171070099, 0.0045193336, -0.0738693848, -0.0297750477, 0.0203792043, -0.0232767649, -0.0605366156, -0.0197188351, -0.0415175371, 2.343059625e-34, 0.0299306531, 0.0226229224, 0.0079013845, 0.0540378094, 0.0208931472, 0.0146239921, -0.0569666475, 0.0406124853, 0.0693740025, -0.0237379223, -0.0441316664 ]
http://arxiv.org/abs/2406.11230v1
http://arxiv.org/pdf/2406.11230v1
Multimodal Needle in a Haystack: Benchmarking Long-Context Capability of Multimodal Large Language Models
2024-06-17T05:54:06
2024-06-17T05:54:06
Hengyi Wang, Haizhou Shi, Shiwei Tan, Weiyi Qin, Wenyuan Wang, Tunyu Zhang, Akshay Nambi, Tanuja Ganu, Hao Wang
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Multimodal Large Language Models (MLLMs) have shown significant promise in various applications, leading to broad interest from researchers and practitioners alike. However, a comprehensive evaluation of their long-context capabilities remains underexplored. To address these gaps, we introduce the MultiModal Needle-in-a-haystack (MMNeedle) benchmark, specifically designed to assess the long-context capabilities of MLLMs. Besides multi-image input, we employ image stitching to further increase the input context length, and develop a protocol to automatically generate labels for sub-image level retrieval. Essentially, MMNeedle evaluates MLLMs by stress-testing their capability to locate a target sub-image (needle) within a set of images (haystack) based on textual instructions and descriptions of image contents. This setup necessitates an advanced understanding of extensive visual contexts and effective information retrieval within long-context image inputs. With this benchmark, we evaluate state-of-the-art MLLMs, encompassing both API-based and open-source models. The findings reveal that GPT-4o consistently surpasses other models in long-context scenarios, but suffers from hallucination problems in negative samples, i.e., when needles are not in the haystacks. Our comprehensive long-context evaluation of MLLMs also sheds lights on the considerable performance gap between API-based and open-source models. All the code, data, and instructions required to reproduce the main results are available at https://github.com/Wang-ML-Lab/multimodal-needle-in-a-haystack.
[ 0.0158685111, 0.0408947691, 0.0052841841, 0.0621149354, -0.0611645989, 0.0070133302, 0.0422396362, 0.0177052431, 0.012526283, -0.0847208276, -0.0302204564, -0.0502897985, -0.0075921617, 0.0009034554, 0.0314403884, -0.0646453202, 0.0095894104, -0.0548200905, -0.0461072363, 0.0014548326, 0.0001971035, -0.0120329764, 0.0128227305, 0.033009395, -0.0535825752, -0.0188104529, -0.0267296471, 0.0481415093, -0.0012828407, -0.0146134906, -0.0180828217, 0.0318053178, 0.0452469662, 0.0335260332, 0.000001862, -0.0305564348, -0.0172783583, 0.012758214, 0.0339380614, -0.0105705606, 0.0759037137, -0.0334096327, 0.0015577385, -0.024023341, 0.0038107159, -0.0245021842, 0.0721877217, 0.0437413268, 0.0420064479, 0.0412196741, -0.028206395, -0.0509482995, 0.0211796165, -0.0044336398, 0.0305199195, -0.0579147562, 0.0262038168, 0.0148101905, 0.0298387501, 0.0043868581, -0.0400401503, 0.0661174282, 0.0392065048, 0.0159373749, -0.0315635763, 0.0502244346, -0.0428388193, -0.0267477352, -0.014779849, 0.0583580285, -0.0318322778, -0.0037178774, -0.0236918684, 0.0118988305, -0.0175326467, 0.0094797267, -0.0695586503, 0.0485879779, -0.0204764437, 0.0146636311, -0.0429890044, 0.0111368466, 0.0249837805, 0.0060545094, -0.02087483, 0.0146147404, 0.0462904423, -0.0215877164, -0.0098567232, -0.0105414754, -0.0290571898, -0.029577855, 0.0065803337, 0.0102443583, 0.0018344079, 0.0099772494, -0.0263274424, -0.0265463684, 0.0211131964, -0.0314489417, -0.0005240551, 0.0080355527, -0.0784966797, 0.10886617, -0.0267574303, 0.038509097, -0.0431202501, 0.0067414627, -0.0222967584, -0.057145685, -0.0303675979, -0.0118497061, -0.0360194966, -0.005748509, -0.0446284413, -0.0688820481, 0.0106584346, 0.008573764, -0.0050330292, -0.0083916578, -0.0542147644, -0.0210786089, -0.0325047113, -0.026448587, 0.025466051, 0.0483200289, 0.0016417808, -0.0255802348, -0.0089500342, -0.0379603915, 0.018480422, 0.052878771, 0.0202357769, -0.0486534238, -0.0031574126, 0.0782581568, -0.0135059794, -0.0585773475, -0.0172543637, -0.0293295998, -0.0707498193, -0.0580354892, 0.0186735261, -0.0705168471, 0.0211173091, -0.0002586543, 0.0243324749, -0.0100227203, -0.0011160163, 0.0241528824, -0.0385633335, 0.1016952321, 0.0153477713, -0.0010898624, 0.0290920977, 0.0349845849, 0.0201286692, 0.0911422595, -0.0126011195, 0.0867559016, 0.0712964684, -0.0022039479, 0.0206039324, 0.06282603, -0.0265752058, 0.0043047331, -0.0373784378, 0.003766377, 0.0396813564, 0.0430230536, -0.0015063328, 0.071304284, -0.0430556275, -0.030544322, 0.0747360066, 0.0742488876, 0.0177427027, -0.0327261053, 0.0321183503, -0.0100320121, -0.0352008753, -0.0032985534, -0.0641881004, 0.049372863, -0.0237868503, 0.0118340086, 0.068494752, 0.025673613, -0.0290359538, 0.0176564623, -0.0307208523, -0.018018201, -0.0154422624, 0.0223722402, 0.0620561615, -0.039765615, -0.0444797017, 0.0076583251, 0.0144586377, -0.0468126945, -0.0102832029, -0.0340265445, -0.0051277345, 0.071264945, 0.0440378599, -0.0103561431, 0.0011142007, 0.0126233529, 0.0636649132, 0.0531229377, -0.0116453106, 0.0027923656, 0.0410636924, -0.0510604903, -0.0384452716, 0.0107624838, -0.0170145277, -0.0072022742, 0.0429176912, 0.0376153141, 0.0365525484, -0.0311039072, 0.0366915055, 0.0385509767, 0.0135706207, 0.0047525298, -0.045198217, 0.0241917074, -0.008721102, -0.0015791012, -0.0200828761, -0.0012106624, 0.039765086, -0.0331213363, 0.0151381791, -0.0083222501, -0.0327742063, -0.0177562162, 0.030574441, -0.0565295927, 0.000838589, 0.0258679278, -0.0169162285, -0.0245739352, -0.0063781571, -0.0114840949, 0.035391923, -0.0449856818, -0.0100467307, 0.0122369453, 0.0218053497, -0.0508204214, 0.0340398587, -0.0082135685, 0.0104555739, -0.0104441391, 0.0177758187, 0.0038451152, -0.0474224314, -0.0335461013, 0.0428942069, 0.0092565119, 0.0258578267, 0.0154310539, 0.0050525395, -0.0483662635, -0.0363142453, -0.1321997344, -0.0092514288, -0.0479756519, -0.0473759472, -0.0025654954, 0.0030387519, 0.0000333119, -0.0420308411, -0.0019782039, 0.0316908993, -0.007897459, 0.0629913062, -0.0208662245, 0.0239090994, -0.0202730875, -0.0269722342, -0.0427027903, 0.0240133088, 0.0747134611, -0.0114552872, -0.0567141809, -0.0335516743, -0.0289918352, -0.0261246078, 0.0255481675, -0.0282751266, 0.0033123319, 0.0221981797, -0.0633920357, 0.0539442413, 0.0500005372, 0.0196780469, 0.0100818891, 0.0038505807, -0.0166160595, -0.0185060203, 0.003767492, 0.0006590149, -0.0475043766, -0.0109410146, -0.0119042359, -0.0366160013, 0.0148494076, -0.0081455987, 0.0210498851, -0.0520919263, -0.0085103652, -0.0154398568, -0.0267693717, -0.066977717, 0.0317110233, -0.0053372416, 0.0337801129, -0.045852866, -0.0771118701, 0.0291343722, -0.0378085338, -0.0300068669, 0.0359672159, 0.0074821962, -0.0074777789, 0.1277836859, 0.0239093546, 0.0439295582, -0.0238603204, 0.0005061125, -0.0051342016, 0.0170703791, -0.0222742595, -0.0123112276, 0.0596817993, -0.0302413236, 0.0313022472, -0.0115129622, -0.0328203179, -0.0001334836, -0.0309689417, -0.0247044768, -0.0161558408, -0.0614152066, -0.0022137256, -0.0127218915, 0.0654570162, 0.0215847194, 0.0436069071, 0.0044818837, -0.0115088997, -0.0086542973, 0.0216417685, 0.0549125522, -0.0078899637, -0.0180988163, -0.0319552608, -0.0153428679, 0.0456961431, 0.0330905616, 0.0037750083, -0.0433676317, 0.03044568, 0.0349716432, 0.0445614271, -0.0343113504, 0.0365288593, 0.0530469492, -0.0420222357, 0.0017761691, 0.0611315966, 0.0152183445, -0.0799913034, -0.0392952114, -0.0007503259, 0.045211181, 0.0213204343, 0.0010334513, -0.0636543334, -0.0637336522, 0.0032784082, 0.0054578851, 0.0466682389, 0.0023660972, -0.0031317524, -0.0943622068, 0.070997633, 0.0105995815, -0.0422057472, -0.0377049483, -0.015399958, 0.0043455786, 0.0187624432, 0.0135042872, 0.0346363857, -0.0175059456, -0.0264366139, -0.0297271255, 0.0241091177, -0.0272238832, 0.0390402898, -0.0463415086, 0.0053807343, 0.0395523719, 0.0097493371, 0.003237264, -0.0423426665, 0.0645154491, -0.0127042262, -0.0088928211, -0.0017018723, 0.048679769, -0.0423757732, -0.0196004976, -0.0046086051, 0.004334752, -0.0117678205, -0.0240378957, -0.0296750218, 0.0586676039, 0.0102719227, 0.0082397265, -0.0418652333, -0.0024374241, 0.0027363377, 0.0691818446, 0.0173851866, -0.0217534285, -0.0294464547, -0.007244091, 0.0243790634, -0.0015939568, -0.0026644694, 0.0266280659, -0.0072993757, -0.0017496969, -0.0462824404, -0.0114762718, 0.0198440254, 0.0562342666, -0.0255617294, 0.0269518699, -0.0499047078, 0.0204709042, -0.0735155046, 0.0484624319, -0.0432301983, 0.0319001786, -0.0517130271, 0.030851081, 0.0390288644, -0.0315745212, 0.0156495012, 0.0592244156, -0.0945108309, -0.0415564403, -0.014478188, 0.0334548652, 0.0194546543, 0.0254132953, 0.0138162542, -0.0718335062, 0.0040643122, 0.0143912071, 0.0047675911, 0.0371471085, 0.004534394, 0.0116280634, -0.0057250927, 0.042417977, -0.0708898455, 0.0034556531, -0.0013254448, 0.0198154505, -0.0014507679, -0.0191203207, -0.003131333, -0.0048869215, 0.0478934646, -0.0466925912, -0.0130471941, 0.0009649457, -0.0039633759, -0.0150631405, -0.0239173863, -0.0461185724, -0.0024953275, 0.0151047837, 0.0007596868, 0.0227071531, 0.0145269139, 0.0163889881, 0.0300978813, -0.0440499634, 0.0092589976, 0.0087570501, -0.0448869839, 0.0245771743, 0.0177379251, -0.0121139986, -0.0106414938, -0.0309489872, 0.0392086133, -0.0400323682, 0.0760999247, 0.0273628999, -0.0315477923, -0.0460802428, 0.0507858507, -0.0328849629, -0.0242344216, -0.0191276036, 0.0276251938, 0.0859907717, -0.0090714209, 0.0470979623, -0.0271803252, -0.0225187149, -0.0466621034, 0.0391578078, 0.0069410196, -0.0440756567, 0.0356091447, 0.0410159305, 0.0033454366, 0.0427649766, 0.0580075867, 0.0232555903, 0.0192381628, 0.0246189199, 0.0068380125, -0.0194278769, -0.0110945627, 0.0365860313, 0.0287907552, -0.0084692147, 0.003615781, -0.0137731973, -0.0598458573, -0.0112613756, 0.0071433401, -0.0309564862, 0.0226623081, 0.0412141308, 0.0927007571, 0.0210276805, -0.0188336037, -0.0229795165, -0.0138281994, 0.0303020068, -0.0003057177, 0.0132386172, -6.365199054e-33, -0.0221735165, -0.0312738232, 0.0391122438, -0.0234576091, -0.0234090239, 0.0231067017, -0.0191972665, 0.0231277477, 0.0035760636, -0.0044509084, 0.0133407107, -0.0206641592, 0.009366421, 0.0488838032, -0.022781102, -0.0008445373, 0.0125813643, 0.0086640259, 0.0059404727, 0.000576302, 0.0148189431, 0.0162459221, 0.0220589917, -0.0388532504, -0.0070860777, -0.0064282012, 0.0062392778, 0.014840248, 0.0187506415, 0.0568608157, -0.0363014378, 0.0365743265, 0.0262207165, -0.0253996793, -0.0173564777, 0.0330189094, -0.0519712307, 0.0281920526, -0.0153305857, 0.020240169, -0.0482472703, -0.0123549802, 0.0561321601, -0.0381635316, -0.0046642111, -0.0270127989, 0.0207067914, -0.0123510947, -0.0479080118, 0.0247189924, -0.0501047149, 0.0279634036, 0.0245553441, -0.0223628413, 0.0694363862, 0.0178280715, 0.0276961811, 0.048961889, -0.0429860204, 0.0140398433, -0.034813229, 0.0212025419, 0.0722912997, 0.047610309, 0.0274687558, 0.0737838, 0.0601359196, -0.0198612902, -0.0017294824, -0.0320270099, 0.0333948806, 0.0356086269, 0.0260511003, 0.0661018789, 0.0304431599, 0.0299921501, -0.0210127197, -0.0228264462, -0.0523907728, 0.0172593389, 0.0431641489, 0.0461638011, -0.0267285481, -0.0070977616, -0.0388325006, 0.0008096734, -0.046624016, 0.0004105422, 0.0604943112, 0.0430841558, -0.002289325, 0.035363093, 0.1028821319, -0.0241248943, -0.0130750658, -0.011863458, -0.0177576579, 0.0568576492, 0.0037816202, 0.0298921019, -0.0204200745, -0.022054689, 0.0327487923, 0.0093230605, 0.0061573549, -0.0163193904, 0.0161556881, 0.0272497591, -0.0778190717, 0.0011926241, -0.0354908779, -0.0159786865, -0.0094903419, -0.0268750507, 0.0528460145, -0.0132057676, -0.0153761422, 0.0475064591, 0.0255402457, -0.008515913, -0.0107182395, -0.0719783753, -0.0243505538, -0.0260225199, -0.005571858, 0.0353599973, -0.0450233594, -0.0292989668, 0.0406602472, -0.0460193977, -0.0140696028, 0.054202687, 2.579e-7, 0.0322859474, 0.0449651368, 0.0232410412, -0.0128091583, 0.0367125757, 0.0186055284, -0.0192247108, 0.0151172085, -0.012879503, -0.0520295203, -0.0343641229, 0.0339991897, 0.0432056077, 0.0010462705, -0.0386912152, 0.0235334281, -0.0089889476, 0.0009915299, -0.0790965706, 0.0123555269, 0.0619714297, 0.0978920832, -0.0163421687, -0.023575088, 0.0392767303, -0.0898224115, 0.0828726143, -0.042875465, -0.0041499278, -0.0368634798, -0.0125085963, 0.0425843447, -0.0000448958, 0.0077015432, 0.0266558863, -0.0413914844, 0.0625039861, 0.0525039025, -0.0208885577, -0.0511840209, 0.0064720931, 0.0021086645, -0.0609615408, -0.0797917694, 0.0972725898, -0.0279880725, -0.0035605179, -0.0164611321, -0.0158149004, -0.0203364976, 0.0100496188, -0.0109129446, -0.0421488285, 0.0120672034, 0.0320108831, -0.0121952826, -0.024135977, -0.103980802, -0.0154150277, -0.0139040295, -0.0577764027, -0.0041354978, -0.0641929656, -0.0269044656, 0.0297634136, -0.0562466867, -0.052628044, 2.329218638e-34, 0.0457553156, -0.0126509955, 0.0128227286, -0.0171284154, 0.0226527303, -0.0270179752, -0.0561595708, 0.0156957284, -0.0411627553, -0.0661833957, -0.0112186801 ]
http://arxiv.org/abs/2406.11228v1
http://arxiv.org/pdf/2406.11228v1
ComperDial: Commonsense Persona-grounded Dialogue Dataset and Benchmark
2024-06-17T05:51:04
2024-06-17T05:51:04
Hiromi Wakaki, Yuki Mitsufuji, Yoshinori Maeda, Yukiko Nishimura, Silin Gao, Mengjie Zhao, Keiichi Yamada, Antoine Bosselut
cs.CL
cs.CL
We propose a new benchmark, ComperDial, which facilitates the training and evaluation of evaluation metrics for open-domain dialogue systems. ComperDial consists of human-scored responses for 10,395 dialogue turns in 1,485 conversations collected from 99 dialogue agents submitted to the Commonsense Persona-grounded Dialogue (CPD) challenge. As a result, for any dialogue, our benchmark includes multiple diverse responses with variety of characteristics to ensure more robust evaluation of learned dialogue metrics. In addition to single-turn response scores, ComperDial also contains dialogue-level human-annotated scores, enabling joint assessment of multi-turn model responses throughout a dialogue. Finally, building off ComperDial, we devise a new automatic evaluation metric to measure the general similarity of model-generated dialogues to human conversations. Our experimental results demonstrate that our novel metric, CPDScore is more correlated with human judgments than existing metrics. We release both ComperDial and CPDScore to the community to accelerate development of automatic evaluation metrics for open-domain dialogue systems.
[ 0.0214325208, 0.0536400825, 0.0020038239, 0.0384601764, -0.0222312361, 0.0090461662, -0.0116495229, -0.0129874535, 0.0126706967, -0.0303845201, -0.0876785889, -0.0173950773, 0.0076290946, 0.0266659837, 0.0006204494, -0.0455370955, 0.0287227612, 0.0058234711, -0.0185108464, 0.0263711661, -0.0091261771, 0.0223098956, -0.0561033897, 0.0858001933, -0.0200057738, -0.0419183858, -0.0067836316, 0.014420433, 0.0620525815, -0.0093865683, 0.0061171702, 0.0530668758, 0.0124478992, 0.0325203203, 0.0000015208, -0.0318883359, 0.0440546423, -0.0087886555, -0.031738136, -0.0051578959, 0.0330355279, 0.0252500903, 0.0023157944, 0.0169877484, -0.0535260364, -0.014392484, 0.011812414, 0.0646923631, 0.0827316418, 0.0652714148, -0.0034817155, -0.039766714, -0.003235352, -0.0078474479, -0.0559462085, -0.0916408077, -0.0210112501, 0.0314614139, -0.0211624149, -0.0213926192, 0.0173734706, -0.0118206525, 0.0413228013, -0.0578803942, 0.0127060013, 0.0341759622, -0.0576408133, 0.0004882222, -0.0170558002, 0.1478957385, 0.0594466515, 0.0257259272, -0.0205029715, -0.0005313762, 0.0243198872, -0.0564582087, -0.0288040917, -0.0242334306, 0.0295670927, -0.0000310027, -0.0502860248, 0.0305577498, -0.0074114855, 0.0215223581, 0.0008425913, 0.0404182151, 0.0039353189, -0.0032508601, 0.0289950464, -0.0110431174, 0.0036868928, -0.0137660373, -0.0001358384, 0.0241582002, -0.0582343191, -0.0029511694, -0.0425158031, 0.0376286432, 0.0263050701, -0.0448551923, 0.0387679487, 0.0319038816, -0.0155616915, 0.0556410775, 0.0139031494, 0.0832305253, -0.0075132465, 0.0073974617, -0.0088350354, -0.0048007793, -0.0684609786, 0.0254023969, -0.0353939496, 0.0145817818, -0.0513745174, -0.0256497636, -0.0346991383, 0.0181257389, -0.0173118841, 0.0150654223, 0.0280393139, 0.0392566696, -0.0194401592, 0.005586653, -0.0353565961, 0.0749267042, -0.0670153871, 0.0164260641, 0.0476932153, -0.0556518547, -0.0163377896, 0.0357524529, 0.0109924972, -0.0042832517, -0.025031345, 0.0297127571, -0.015648935, -0.0443501584, 0.0175510123, -0.020116007, -0.0260275025, -0.0695548132, -0.0567422025, -0.0111152465, 0.0439609177, -0.0124487216, -0.0139239021, -0.0135066947, 0.0270889904, -0.0023742146, 0.0148913786, 0.0508673936, 0.0495058373, -0.0081390906, 0.0037520688, 0.021529125, -0.0270358603, 0.0521647781, 0.0200461652, -0.0020774109, 0.0483628362, -0.0090185255, 0.0261766426, 0.0219284762, 0.0241286177, -0.0016304319, 0.0389513485, 0.0537292212, -0.0020177679, 0.0491204336, 0.0424211994, 0.0284498148, -0.0553170443, -0.0489676222, 0.0618515648, 0.0584220402, -0.0342783444, 0.0201729555, 0.0459877774, 0.0201039892, 0.022924589, 0.0128883105, -0.0447219461, 0.0293062683, -0.0105865384, -0.0276444089, 0.0171697475, -0.01085738, -0.0351973623, -0.0225349981, 0.0228048507, -0.0048744823, 0.0135290194, -0.03424244, 0.0056685628, 0.0061936663, -0.0588336885, 0.0641300827, -0.0261301305, -0.0661830977, -0.0071213753, -0.0307968855, -0.0124927023, 0.0399168283, 0.0382030234, 0.0065092533, -0.0444034301, -0.0292545017, -0.023288304, 0.0584168322, 0.0495317318, -0.0478213951, 0.0686358735, -0.045937907, 0.0050810943, -0.0196351893, -0.0110160084, 0.0411399528, 0.0068185339, -0.0220943876, 0.0216063429, -0.0230790116, 0.028170662, -0.0064507551, -0.0147855952, -0.0091827633, 0.0215619542, 0.0029612996, 0.0351883806, 0.0382531621, -0.0195894353, 0.0026813538, 0.0385825932, 0.0124947485, -0.0206338186, 0.0232169852, -0.0497136265, -0.0619497783, 0.0293179825, -0.0208399408, -0.0365382694, 0.0524422452, -0.0125488834, -0.0325138904, 0.0259014405, -0.0397149846, 0.0406421758, -0.0531011857, 0.0053716684, 0.0271429587, 0.0172874052, 0.0005138798, 0.0460681506, -0.0198029093, 0.0134579884, 0.0330084674, 0.0197787005, 0.030327728, -0.0628651232, 0.0164234564, -0.0215048939, -0.0224790387, 0.0255195387, 0.0113831824, 0.0230112355, -0.0686135367, -0.0422157422, -0.1181774288, -0.0209696572, -0.0173935425, -0.0044636894, 0.0121080885, 0.0008560197, 0.0090460554, -0.0212192331, -0.0442366786, -0.0231124628, 0.0507480204, 0.0071266163, 0.0308096372, 0.0166443158, -0.0168764219, -0.0395383388, 0.0221854113, 0.0227266457, 0.0415638909, -0.0388425775, 0.0900267735, -0.0108110802, -0.0127422754, -0.0417025685, 0.0253672153, -0.0200092196, -0.0580107681, 0.0427245721, 0.0353815928, 0.0156236757, 0.0694280192, 0.0216572881, 0.0402340852, -0.0386122614, -0.0186623409, -0.055724822, 0.0177080892, -0.0280125029, -0.0135280332, -0.0578547269, 0.0132117653, 0.0339506418, 0.0071242205, 0.0102140522, 0.0258686896, -0.0592138879, -0.0096904561, 0.0076093157, -0.0662540868, -0.0081044976, 0.0191073585, -0.0379497074, 0.0193167403, -0.0327361934, -0.0234889891, 0.0706334487, -0.0329053514, -0.0246640109, -0.0356212519, 0.0062680673, -0.0244204551, 0.0367108919, -0.0542380251, 0.0080945184, -0.0486836545, -0.0321106054, -0.0308174696, -0.0210973844, 0.0268994905, -0.0486180149, 0.0427723043, -0.0137951244, 0.005208475, 0.0028890085, -0.0582445636, -0.059815336, -0.0197321326, -0.0076040155, 0.0124161653, 0.0063799405, -0.047451105, -0.0431982353, -0.0094659254, -0.0151576977, 0.0071505182, -0.0065155849, 0.0126081808, 0.0009771273, 0.0264276396, 0.0166752469, 0.0451962203, 0.0155559024, 0.0062956344, 0.0759359226, 0.0325424485, 0.0386488587, -0.0042482838, -0.0055998624, 0.0000542485, 0.0079084709, 0.002506275, 0.0062774247, 0.0065377206, 0.0614027567, -0.0031154784, -0.0423118323, 0.1182641685, 0.0246327519, -0.02584281, -0.0053279875, -0.0255696122, 0.0324164294, 0.016084753, -0.00784091, -0.0403014161, -0.0316625312, -0.0092078298, 0.0290752854, 0.002448045, -0.0585838035, 0.0099609531, -0.0947914645, 0.0162512027, -0.0271637756, -0.0804068148, -0.0600785688, -0.0256978516, 0.0183826089, -0.0368568003, 0.0159387197, 0.0018357583, 0.0388835259, -0.0202679802, 0.0005262542, 0.0048760548, -0.040264938, 0.0532689989, -0.0172316208, 0.0693957508, 0.0732044652, 0.0802417621, 0.0562398024, -0.0634792373, -0.028238697, -0.0088914521, -0.0105885807, 0.00303532, 0.0350964516, -0.0145361377, -0.0080480939, -0.0249578692, 0.0351080634, -0.0529270694, -0.0242662337, -0.0123430947, 0.022297008, -0.0345766805, 0.0308417417, -0.0085051907, 0.0583921559, 0.03665125, 0.0835817754, 0.0344820954, -0.0084143607, -0.0268492512, -0.0096921381, -0.016655717, -0.0594346821, -0.0154626155, -0.0171384457, 0.0069483691, 0.0050474498, -0.0829036906, -0.04869093, -0.0006822732, 0.0462070182, -0.0400742106, -0.0449054651, -0.0023552573, 0.0326492712, -0.013565097, 0.0345977582, -0.027593527, 0.0259832684, -0.0868049115, 0.0013831825, 0.0541658998, 0.0109876981, -0.020724168, 0.0403015427, -0.0574510582, -0.0300889648, -0.0281227212, 0.0468871184, 0.0172530487, 0.028651176, -0.0098860795, -0.0027275172, -0.0137324408, -0.0035201351, -0.0560639277, -0.0168482699, 0.0708700642, 0.0378563739, -0.0314538293, 0.0554553382, -0.0097264154, 0.012409525, -0.0037413961, 0.0508914143, -0.030647764, -0.1085695028, -0.0047942293, -0.009031781, 0.0499943011, 0.0119799552, -0.0142108984, 0.0081361737, 0.0041470071, -0.0310104601, -0.0192436744, -0.059559349, -0.0162334777, 0.0199194774, -0.0203180909, -0.0094707664, 0.0160490535, -0.0556436069, 0.0706688687, -0.0190934427, -0.0344808213, 0.067200236, 0.017186705, -0.0253083315, -0.01746062, -0.0358508267, -0.0179662481, -0.006884329, 0.030028712, 0.0187316313, 0.097626619, 0.0182651971, -0.0087139811, 0.0501821153, 0.0382338576, -0.0559475385, 0.0334848501, -0.0395869501, 0.0465132669, 0.012753631, 0.045427803, 0.0418459103, -0.0160056297, 0.0036466685, 0.0020198189, 0.0513676964, -0.0201734863, -0.0166413374, 0.0377841443, 0.0199144874, -0.0021158038, 0.0219709892, 0.0497865789, -0.0286970325, 0.0218296573, -0.0198457707, -0.0132056326, -0.0554753914, -0.0527863428, 0.0067648604, 0.0150441434, 0.0187103301, 0.0287433043, -0.0726672933, -0.0332408175, 0.0072336043, 0.0651260912, 0.004019584, 0.0231850855, 0.0372852497, 0.0340927728, -0.0246221889, -0.0261847675, -0.0362981781, 0.0087324101, -0.0427430049, -0.007341045, -0.0508403331, -5.340428793e-33, -0.0590690635, -0.031892661, 0.0044312337, -0.00293303, -0.0747884735, -0.0309169404, -0.021269748, 0.0180303939, -0.017764328, 0.0315270312, -0.0039973292, 0.0294705369, 0.0000241962, 0.0202968568, -0.0464351736, -0.0534324683, 0.0293672103, -0.0022137417, -0.0446904078, 0.0544835478, 0.0129207354, -0.0077144266, 0.0404146947, -0.0916005, 0.028963523, -0.0063850265, -0.015627522, 0.0367464721, 0.0109630171, 0.0660649985, -0.0215793345, 0.0373088866, 0.0048085861, -0.046153903, 0.0176119898, 0.0269404724, -0.045605801, -0.0112791946, 0.0206254106, 0.0175021403, -0.0140499491, 0.0142704109, -0.0211416148, 0.0005088398, -0.015988484, -0.0058127358, -0.0017961321, -0.021951234, -0.000689618, 0.003072592, -0.0410963893, 0.012915073, -0.0270377472, -0.0782878473, -0.0526915267, 0.0699409321, -0.0003255206, -0.0162400305, -0.0374087133, 0.0170014575, -0.0463311672, -0.0120979557, 0.0214410778, 0.0307423994, 0.0035734989, 0.045040261, -0.0015234075, -0.0082995249, -0.0290837809, -0.0451820083, 0.0140442206, 0.053313978, 0.0433185957, 0.1048124433, -0.0416001379, 0.0280392077, -0.0271164048, 0.0555925928, 0.0119657191, 0.0351955444, -0.003995839, -0.0039048239, -0.0188440997, 0.0162771028, -0.0506867431, -0.0306346398, -0.0223875977, 0.0012457198, 0.0281821359, -0.0077050123, -0.0383823775, -0.005200875, 0.0471822135, -0.0315214843, -0.0016419815, 0.0479340181, 0.0059896819, 0.0020675336, 0.0021289582, 0.0012610755, -0.0303978138, -0.0033690995, 0.077655755, 0.0410089605, 0.0353000537, -0.0056465035, 0.0186515469, -0.013162829, -0.0313863195, -0.0101046618, -0.0123540722, 0.0552120209, -0.0642961115, 0.0544745289, -0.0051234365, -0.0163445454, -0.0331860296, 0.0852895379, -0.0286103506, 0.0186888352, -0.0187454838, -0.0237991884, 0.0583472662, 0.0162784681, -0.039880164, 0.0101916557, -0.0137675898, -0.0368660651, 0.0067512305, -0.0210738946, -0.0103003792, 0.020794522, 2.171e-7, -0.0202322882, 0.002515547, 0.0559589043, 0.0040955623, 0.0119503513, 0.0682957247, -0.0105811404, 0.0424268134, 0.0176173244, -0.0289954562, 0.0263609979, 0.0035751245, 0.0678976774, 0.0046080509, -0.095454827, -0.0177356862, -0.0705835819, -0.0312275551, -0.0163193736, -0.0418794602, 0.0687137693, 0.0480082557, 0.0258201398, 0.0088686589, 0.0118504036, 0.0291590299, 0.041319564, -0.0239302497, -0.0153967701, -0.0257761031, 0.0512124859, -0.0132891452, 0.0107884994, 0.0381410047, -0.0015961721, 0.0412711762, 0.0382222086, 0.052386567, -0.0161832366, -0.0995061919, -0.0134027246, -0.031099122, 0.0214552823, -0.0366626345, 0.0389896743, -0.0375974737, -0.0137954373, -0.0318672843, -0.0460475795, 0.00304431, 0.0563631132, -0.0350434259, -0.039831467, 0.0338704959, 0.0333698578, -0.0224692579, 0.0218142159, -0.0721000656, 0.0024986223, -0.0133704394, -0.0325269923, -0.0517759509, 0.0013240565, -0.0333223417, -0.0016653648, -0.0360855199, -0.0011934993, 1.5116552e-34, 0.0217857435, -0.0027306795, 0.0269936305, 0.0101348581, 0.0533761047, -0.0006168855, -0.0008605219, -0.0273435134, 0.051129654, -0.0655031577, 0.0304387547 ]
http://arxiv.org/abs/2406.11218v1
http://arxiv.org/pdf/2406.11218v1
Building another Spanish dictionary, this time with GPT-4
2024-06-17T05:25:56
2024-06-17T05:25:56
Miguel Ortega-Martín, Óscar García-Sierra, Alfonso Ardoiz, Juan Carlos Armenteros, Ignacio Garrido, Jorge Álvarez, Camilo Torrón, Iñigo Galdeano, Ignacio Arranz, Oleg Vorontsov, Adrián Alonso
cs.CL
cs.CL, cs.AI
We present the "Spanish Built Factual Freectianary 2.0" (Spanish-BFF-2) as the second iteration of an AI-generated Spanish dictionary. Previously, we developed the inaugural version of this unique free dictionary employing GPT-3. In this study, we aim to improve the dictionary by using GPT-4-turbo instead. Furthermore, we explore improvements made to the initial version and compare the performance of both models.
[ -0.0059900144, 0.0379524156, -0.0140476432, 0.0664496124, -0.0393759571, -0.0025087853, -0.0612085424, 0.0100333253, -0.0039401408, 0.0027808459, -0.0099455463, -0.0028697848, 0.0178581402, 0.0134869982, -0.0211224239, -0.0297692325, 0.0284594689, -0.016075829, -0.0151419947, -0.040970169, -0.0074647246, 0.0584725142, -0.0319490172, 0.0315986872, -0.0637473911, -0.0020612022, -0.0136243803, -0.0540274195, 0.006431316, -0.0182399154, -0.034204945, 0.0531256087, -0.0507123023, 0.1058214158, 0.000001786, -0.0594710819, -0.0633647367, 0.0075461958, -0.0061435685, -0.0229530968, 0.0453907177, -0.0031476996, -0.0233915653, 0.0191980861, -0.0737474188, -0.0628445745, 0.066896148, -0.0108327866, 0.017361315, 0.0239257962, -0.0088725314, -0.0955415294, 0.0134376017, -0.0308605619, 0.0027700257, -0.0315914117, -0.0257144123, -0.021983441, -0.0038837432, -0.0215207096, 0.0036949916, 0.0285806488, 0.0212467313, -0.0094955517, -0.0205473974, 0.0018179248, -0.0732344389, -0.0207194034, 0.0021039995, 0.0316803195, 0.0084049925, -0.0448934324, -0.0153807374, 0.0018382684, -0.0028396193, 0.0020000853, -0.0064306017, 0.0404804759, -0.0222106483, 0.0189101808, 0.0714309365, -0.0167313311, 0.0267151147, 0.0140514877, -0.0232026801, 0.0779405534, 0.0305493046, -0.0401339307, 0.047838375, 0.0171915572, -0.0051502408, -0.0389145091, 0.0132693723, -0.0030702639, 0.0170327947, 0.0187950153, -0.025538737, -0.0262853708, 0.0056424122, -0.0967148095, -0.0083576888, 0.0169135425, -0.0054948092, 0.0032389185, 0.0031004613, 0.0174724888, 0.0250176284, 0.0068805353, -0.0543534197, -0.0160022434, -0.0551786609, 0.0006895949, -0.0921599269, 0.0374987274, -0.0424351133, 0.0231702067, -0.0104668988, -0.0202307589, 0.0033436464, -0.0181084871, 0.0502649099, -0.0146715268, -0.0417262726, 0.0380251892, -0.0264941808, -0.0234548096, -0.0451578759, -0.0474037826, -0.0288050082, -0.090277575, 0.0143012749, 0.0037986112, -0.0006074716, -0.0379823744, 0.0469307043, -0.0146993399, -0.0041421778, -0.0412609763, -0.0150094293, -0.017079059, -0.0173148438, -0.1124967933, -0.0308372509, -0.0890541822, 0.0250217132, -0.0016519213, 0.0122559881, -0.0460552275, 0.0108188884, 0.0046246937, -0.0094903968, 0.0805628374, -0.0853031799, -0.0222719368, 0.0194859318, -0.016371429, -0.0000802767, 0.0832565203, 0.0335743204, 0.0308903996, 0.0430161245, -0.0032515631, -0.0195995886, 0.0201797709, -0.0191929806, -0.0027609062, -0.0169808716, -0.0177360568, -0.0129040144, 0.042727083, -0.0024937694, 0.0615014471, 0.0124947075, 0.092941992, 0.0272225104, 0.0122433351, 0.047556147, 0.0303665511, 0.0579924807, 0.015726015, 0.0582524836, -0.0101299034, -0.0317298435, -0.0332940482, -0.0151752327, 0.0227852426, -0.0330086425, 0.0393818691, 0.0018596542, -0.0425873697, 0.0226263311, -0.0093323654, 0.0319182687, -0.0468382426, 0.0472282954, 0.0201023798, -0.0350580923, 0.0178439599, -0.0059362431, -0.0439921059, -0.005905685, -0.0421198048, 0.0375151411, 0.0400482304, 0.0608905964, 0.0065753968, -0.0433185436, 0.0274967328, -0.0280382186, 0.0743065551, 0.0044912435, -0.0237890668, -0.0132577028, -0.0784575567, -0.0128866257, 0.0188049451, 0.0322457068, 0.0295493174, 0.0248045772, 0.0455754586, 0.0182387438, -0.0098790014, -0.0098415893, -0.0038855434, 0.0227354225, -0.0451199673, 0.0055848304, -0.0032889501, -0.013743896, 0.0810244307, -0.0236230828, -0.0066095651, 0.0485744365, 0.0007408033, 0.0112102823, 0.0043321666, 0.0069091138, 0.011000854, 0.064996101, -0.031706199, 0.0214937255, 0.012101803, 0.0070435531, -0.0422892496, 0.00141704, -0.039161332, 0.1050605848, -0.0694859028, 0.0393819064, -0.0090070479, 0.0292076413, 0.0091491621, 0.0646441355, -0.0253821984, 0.0168856308, -0.015107451, 0.0114760948, 0.0291167516, -0.0295863301, -0.0096202372, 0.093486771, 0.0039838268, 0.0165786576, 0.0368582793, 0.0599323101, 0.0118533503, -0.0090971626, -0.0646757558, -0.0037374566, -0.0124968924, -0.0049564941, 0.0061165905, -0.002021523, -0.0239414964, 0.01776742, -0.0166854523, 0.0316224694, 0.0235201083, -0.0132489083, 0.0000382756, 0.0018902958, -0.0276577622, -0.0281843636, 0.0146032711, 0.0183521006, -0.0152517594, 0.0386583246, -0.0547421388, -0.0281741079, -0.0239590798, -0.0423796326, 0.0508388951, 0.04561764, -0.062231414, 0.0395220704, -0.0147930281, 0.0624333695, 0.0148682147, -0.0088899955, 0.0116161918, 0.0662622154, -0.0235078763, 0.0036246115, 0.0207244549, 0.0073284614, -0.059100382, -0.023610251, -0.0327382199, 0.0193840507, 0.0329061188, 0.0343106426, -0.0058632488, -0.0773445964, 0.0140762627, -0.028916521, -0.0496868826, 0.0232713316, 0.0444876663, -0.03174996, 0.042345129, -0.012423411, -0.0430880152, 0.0254093111, -0.055896055, 0.0196373612, -0.0800807998, 0.0096520381, -0.0166411307, 0.0458414108, 0.0082159042, 0.0278376974, -0.0006934531, 0.0114513645, 0.029619677, 0.0034828191, 0.0383012183, -0.0671513453, 0.0769151002, -0.0726181194, 0.0178585108, 0.0013494848, -0.01394579, -0.0323065147, 0.0195874665, -0.01765614, -0.0178559832, 0.0767869577, -0.055708576, 0.0392338261, 0.0210073795, 0.0005839493, 0.0795401931, -0.001280508, -0.0029449165, -0.0015578797, -0.0250020009, 0.0147125795, -0.0024178186, 0.0075836633, 0.0063856137, -0.0019850158, 0.0007551828, 0.0137248822, 0.0147572663, -0.0314807445, 0.0036303925, 0.0194151979, -0.0033937013, -0.0550967306, -0.0221479367, -0.0396718644, -0.0025168702, -0.002131931, 0.0839698762, 0.035206493, -0.0594928376, -0.0164972581, -0.0247110929, -0.0010880709, 0.0227097999, 0.0314858817, -0.0773176104, 0.0062573403, 0.0047026468, 0.0295048654, 0.0062444904, -0.0104670096, -0.0357599072, -0.1509814858, 0.0371485353, -0.0022459247, 0.0064383438, -0.0681374446, -0.0231886841, -0.0329969265, -0.064999789, -0.0554482713, 0.0155649576, 0.00767517, 0.020541627, 0.0189230535, 0.0214204434, -0.0170740988, -0.018342372, -0.0405187421, -0.0189208835, 0.0740173906, 0.04360459, -0.0468317233, -0.0220083036, -0.0226254649, -0.025958648, -0.0358128659, -0.0261955224, 0.0066828318, 0.0542079024, -0.0062488308, 0.0011486657, -0.0197170824, -0.0163521748, 0.0030771804, 0.0452460758, 0.0849787891, -0.0140612787, 0.0247086268, -0.0082312152, -0.034567751, 0.0053641326, 0.0320170932, 0.0023245499, 0.0085709607, 0.002394163, -0.0300124288, -0.0011990756, -0.0666599795, -0.0084435418, 0.0200893153, -0.0674976483, -0.0703986809, -0.0647345036, -0.0428083315, 0.024360802, 0.0619203821, 0.0314652547, 0.0265137982, -0.0250042863, 0.0134894243, -0.032972727, -0.0124618057, 0.0168318804, 0.0059512937, -0.0528348275, -0.0673149303, -0.0055733593, -0.0204746109, 0.0016141547, 0.0563573726, -0.0078929793, -0.0176650006, 0.0516925827, 0.0639219433, 0.0342889056, -0.0004104254, -0.0444523804, -0.0073584286, 0.0132354349, 0.0259815045, 0.0018404933, 0.0255045239, 0.0256524701, -0.0193320028, -0.0121943858, 0.0239636824, 0.0276310313, -0.0128867263, -0.0663803369, 0.0475160703, -0.0046666209, -0.0410746187, 0.0603783578, 0.0476638973, 0.0420110822, -0.0813443288, 0.0006425293, -0.0266869199, -0.0315535553, -0.053301461, -0.0141766649, -0.0042953016, 0.0323634669, 0.0321657583, -0.0246166214, -0.0116984416, -0.006235837, -0.0382252261, -0.0140533298, 0.0316845365, 0.0034059663, 0.0245345011, 0.0158253051, 0.0217940584, 0.0128273126, 0.0079985047, 0.0262065995, -0.0040973858, 0.0189676285, -0.03309815, 0.0135367392, -0.0160403959, -0.0294559803, 0.0159666296, 0.052032508, 0.0437455028, -0.0070911949, -0.0629809946, 0.0339705795, 0.0825924575, -0.0290068053, 0.0565027148, -0.0455042869, -0.0068119555, -0.0081243664, 0.0145202968, 0.039611619, -0.0071734106, -0.00246412, -0.0107876929, 0.0076466086, -0.0452215672, 0.075019829, -0.0005167449, 0.04135729, -0.0101852445, 0.0081047947, -0.0238654837, -0.0401361212, -0.0466264077, -0.0296666604, -0.0340181105, -0.0235099625, -0.0798635855, -0.0495226122, 0.0025024356, 0.0118717151, 0.0464801863, 0.0103783049, 0.0637956783, 0.0812924877, -0.0221723989, -0.0278754607, -0.0303027947, 0.0158676784, -0.0346412212, -0.0134187043, 0.0004314271, -5.530549576e-33, -0.0269366205, -0.0335434526, 0.0166923571, 0.0023706513, -0.0135504939, -0.0055089025, -0.0181477014, -0.0085719181, 0.019366201, 0.0155967269, -0.0465250053, -0.0005220641, 0.0400373861, -0.0316199213, 0.0297809523, 0.0349603482, 0.0067652864, -0.0041491222, -0.0086260922, -0.0139554087, 0.0205118656, 0.0057106246, 0.1145764291, -0.0689117536, 0.0112778218, 0.0188873727, -0.0333901867, 0.040680021, -0.0019200699, 0.0526113808, -0.0093994709, 0.0563973039, 0.0243096519, -0.0377806388, 0.0040840902, -0.0484885089, -0.0122941146, -0.064764902, 0.0477244556, 0.0223654117, 0.0155341355, -0.0450887382, -0.0248439852, -0.0164487213, -0.06131991, 0.0323173851, 0.0158559643, -0.0389376916, 0.0025605105, 0.0289594345, -0.0179118179, 0.0411382169, 0.060655646, -0.0010340894, 0.0439084731, -0.0059480998, -0.0306340195, -0.069976069, 0.0005856467, 0.0226633139, 0.0480667539, 0.0649812147, 0.076121524, 0.0064713764, -0.0120100873, -0.0063820956, 0.0407516472, -0.0500679426, -0.0188743118, 0.0216131192, 0.0009811738, 0.0353781879, 0.0488448367, 0.1191839352, 0.0810656101, -0.0337000675, -0.0068157287, 0.0323954299, -0.0128043341, 0.0176727343, -0.041908931, -0.0218002424, -0.0489798784, 0.0041548717, -0.0485903956, -0.0111795906, -0.004011495, -0.0408876725, 0.0232390352, -0.0044589941, -0.0258598533, 0.0092617515, -0.0135590574, 0.013822576, 0.0334309451, 0.0152733419, -0.0322645977, 0.0267725047, -0.0169759691, 0.0439924039, -0.0036620232, -0.0086218743, -0.0173179414, 0.0534480326, 0.0127988039, 0.0145158274, -0.0220175013, 0.0586927049, -0.0260902215, 0.0318167545, -0.0281584244, 0.0391621925, -0.0057377545, 0.0166066121, 0.0033605008, 0.004299181, 0.0032556001, 0.012795032, 0.0569122322, 0.040559981, -0.028511649, -0.0549208336, 0.0258366596, 0.0330007821, 0.0037135023, 0.0202449057, -0.0356547162, -0.0317003466, 0.025298493, -0.0448604897, -0.0245781522, -0.0136621865, 2.465e-7, 0.0274956357, 0.0158500373, 0.0319085084, 0.0940852612, -0.0324918255, -0.0108856289, 0.0084341299, 0.0302039906, -0.087908566, 0.0092105493, -0.0160466414, 0.0156439971, 0.0410714336, 0.0732230619, -0.0398614109, -0.0275336858, -0.0072837966, -0.0034778127, -0.077629596, -0.0083915805, 0.0190256741, 0.0790336877, 0.0421655737, -0.0358303562, -0.0301725492, -0.0022173119, 0.0038516284, 0.0274662226, -0.0140253138, 0.0221547261, 0.0498190187, 0.0254272874, -0.02885212, -0.0024554017, -0.0257302281, -0.0228782222, 0.0254100356, 0.0283120349, -0.0123350453, 0.0446132869, 0.079982169, -0.0667364672, -0.0201997869, -0.0135878855, 0.0409754738, 0.0501311831, 0.0359051526, 0.0217016842, -0.0080788322, 0.0333405435, -0.0224588867, -0.0491103455, -0.0538931303, 0.0162030738, 0.0322473347, -0.0150431888, -0.0166581403, -0.0087447008, -0.0140210791, 0.031411469, -0.0003464665, -0.0263101757, -0.0260196757, -0.0005717788, -0.0223467667, -0.0010071852, 0.0318527557, 1.875473456e-34, 0.0032112247, -0.0168111492, 0.0135444039, -0.0393771753, 0.0418004356, 0.0021862073, 0.0376660638, 0.0020663852, -0.0213969145, -0.0099623278, -0.0238168612 ]
http://arxiv.org/abs/2406.11217v2
http://arxiv.org/pdf/2406.11217v2
WeatherQA: Can Multimodal Language Models Reason about Severe Weather?
2024-06-17T05:23:18
2024-06-24T03:55:30
Chengqian Ma, Zhanxiang Hua, Alexandra Anderson-Frey, Vikram Iyer, Xin Liu, Lianhui Qin
cs.AI
cs.AI, cs.CL, cs.CV, physics.ao-ph
Severe convective weather events, such as hail, tornadoes, and thunderstorms, often occur quickly yet cause significant damage, costing billions of dollars every year. This highlights the importance of forecasting severe weather threats hours in advance to better prepare meteorologists and residents in at-risk areas. Can modern large foundation models perform such forecasting? Existing weather benchmarks typically focus only on predicting time-series changes in certain weather parameters (e.g., temperature, moisture) with text-only features. In this work, we introduce WeatherQA, the first multimodal dataset designed for machines to reason about complex combinations of weather parameters (a.k.a., ingredients) and predict severe weather in real-world scenarios. The dataset includes over 8,000 (multi-images, text) pairs for diverse severe weather events. Each pair contains rich information crucial for forecasting -- the images describe the ingredients capturing environmental instability, surface observations, and radar reflectivity, and the text contains forecast analyses written by human experts. With WeatherQA, we evaluate state-of-the-art vision language models, including GPT4, Claude3.5, Gemini-1.5, and a fine-tuned Llama3-based VLM, by designing two challenging tasks: (1) multi-choice QA for predicting affected area and (2) classification of the development potential of severe convection. These tasks require deep understanding of domain knowledge (e.g., atmospheric dynamics) and complex reasoning over multimodal data (e.g., interactions between weather parameters). We show a substantial gap between the strongest VLM, GPT4o, and human reasoning. Our comprehensive case study with meteorologists further reveals the weaknesses of the models, suggesting that better training and data integration are necessary to bridge this gap. WeatherQA link: https://github.com/chengqianma/WeatherQA.
[ -0.015435541, 0.0987403169, 0.0095422901, 0.0584216081, -0.0003371834, 0.0398059525, -0.004460827, -0.0501363873, -0.0005585508, -0.0254428517, -0.0152686853, -0.0499122404, -0.0191793647, 0.0475633964, 0.0148927765, -0.13773489, 0.0047687241, -0.0475159958, -0.0241672583, -0.0007019537, 0.0329768173, -0.00181234, -0.0112734726, 0.0242036283, -0.0152777592, -0.0065460294, -0.0469623208, -0.0096435845, 0.0447235294, -0.0346222632, -0.0202343836, 0.0147951553, 0.066707164, -0.0038465101, 0.0000020691, -0.0280248281, 0.0277420338, -0.0163609218, -0.0019851343, -0.0214529987, 0.0342500992, -0.048837021, 0.0104107251, 0.0252057202, -0.076424025, -0.0026952389, 0.0850690752, 0.0424370915, 0.0927013084, 0.0497380756, -0.0102558602, -0.0487493463, 0.045407448, 0.0050017419, 0.0260521062, -0.012907696, 0.0036550595, -0.0093767513, 0.0145525886, -0.0277057644, -0.0025924905, 0.0275128987, 0.0459350906, 0.0178253353, -0.0198551677, 0.0641739741, -0.0264932755, -0.0473800041, -0.0588050857, 0.056763541, 0.0053720875, 0.0061547025, -0.0179516971, -0.0000210985, 0.0034315023, 0.0095942235, -0.0427287072, -0.0215631537, -0.0349910855, 0.022018984, -0.0358289145, -0.0081267999, 0.0344782062, 0.0303576626, -0.0302961376, 0.0906027928, -0.0024651135, 0.02059591, -0.0139903761, -0.0131676532, -0.0151499063, -0.0426248685, -0.036754936, 0.0041936422, -0.0544837713, 0.00565862, -0.0508346409, 0.0129227517, -0.0423470847, -0.0532305688, 0.0435762554, 0.0378516763, -0.020451542, 0.0337236524, -0.0125064496, 0.0170063693, 0.0013411146, -0.0040550558, -0.0003028039, -0.0544785932, -0.0595890619, -0.0251302179, -0.0073706289, -0.0314514786, -0.0363941751, -0.0015531651, -0.0225577261, 0.0159450918, -0.0064301137, 0.0214482415, 0.0073908051, 0.0284262691, -0.0249255933, -0.0398670435, -0.0559703149, -0.0169263687, -0.0218886826, 0.0308125, 0.0177700967, -0.0773679614, 0.0331029631, 0.020594202, -0.004967527, -0.0010614535, 0.006667098, 0.0928474888, -0.0215057377, -0.0003762635, -0.0382898748, -0.0095477132, 0.0188461393, -0.0672271773, 0.0061944742, -0.0375917852, -0.0135918604, 0.0101604946, -0.0052850423, -0.0473003611, 0.0242951307, -0.0047580707, -0.0108628813, 0.1196106076, -0.043784827, -0.0174910929, 0.0219087042, 0.0130075999, 0.0006802669, 0.0572509207, 0.0265501626, 0.079449147, 0.0088003995, -0.0193292685, 0.0349543318, -0.0031008455, -0.0321137607, 0.0118936375, -0.0718867183, 0.0181709025, -0.0345179439, 0.0351131558, 0.0146638863, -0.005011701, -0.0114409281, -0.024648007, 0.0575432889, -0.0035055059, -0.0036126971, 0.0076296208, 0.0694998726, 0.001923338, -0.0018486903, -0.0141473832, -0.0603156984, 0.0967411473, -0.0439319387, 0.0195833128, 0.011878564, 0.0461302102, -0.0227272492, -0.078053847, -0.0369824767, -0.0044533843, -0.0409358628, -0.0142539982, 0.0310217608, -0.0500304885, -0.014614311, -0.0291416124, 0.011160804, 0.009719396, -0.0229289811, 0.0011733961, 0.0015652608, 0.0889461637, -0.0373089164, -0.0042565134, -0.0267963428, 0.0146632828, 0.021691028, 0.0164376441, 0.0369995125, 0.0298314858, 0.0232239384, -0.0597703494, -0.0399456359, 0.0010458217, 0.0222015083, 0.0266843121, -0.036238905, 0.0000422392, -0.0052985996, 0.0197394677, -0.0096961483, 0.0169466529, 0.0235424973, -0.0494821817, -0.0350900292, 0.0204460267, 0.0482071824, -0.0611567199, 0.0317825712, 0.002410321, 0.0182663314, -0.0334691405, -0.0434406362, 0.0799370781, -0.05149002, 0.0033299651, 0.0062570632, -0.021849703, 0.0107762469, 0.0248326492, -0.0708044842, -0.0330112055, 0.0647573546, 0.0052098227, -0.0160175841, -0.0444938578, -0.0392236337, 0.0535840951, 0.0193402655, 0.017086884, 0.0417449512, -0.0280593317, -0.0515148416, -0.0175694209, 0.0323577784, -0.0019386312, -0.0051385523, 0.0369174816, -0.0041428488, 0.0296769924, 0.0139506776, -0.0404037423, -0.0115668848, -0.0303232726, 0.0138089657, -0.0448940843, -0.0041669281, -0.021753855, 0.0259835944, 0.0097902128, -0.0283727739, -0.0192391705, -0.0189442933, -0.0058064172, 0.0490359962, -0.0159180854, -0.0034012492, 0.0343506262, -0.0058944738, -0.0003682546, -0.0020006271, 0.0077057877, 0.0141672334, 0.0656402633, 0.0565553643, -0.0424376875, -0.025499355, -0.0303468872, -0.0689096227, 0.0375485383, -0.0148956608, -0.0168746822, 0.0177623518, -0.0581138395, 0.0130731957, -0.0000811785, 0.0100676538, 0.0342633761, 0.0226134062, -0.0081400052, -0.0403443873, 0.034530703, -0.0173094887, -0.0254288744, -0.0268971473, -0.0057459977, -0.0455405153, 0.0304007828, -0.0122681726, 0.0297717433, -0.0116998879, 0.0786277652, 0.0139792236, -0.0074707912, -0.0656416938, -0.0031075047, 0.0073447064, 0.0495376475, -0.0099823521, -0.0895515904, 0.0375204794, -0.005739891, 0.0062546683, -0.0259153228, -0.0242838245, -0.0241458062, 0.0569285192, -0.021246694, 0.0323205926, 0.003144637, 0.0299877636, -0.0375834778, -0.064522557, 0.00393384, 0.0148651684, -0.0029889178, -0.0715814829, 0.0102790799, 0.0026832195, -0.0127249788, -0.0373854265, 0.0149198947, -0.0878682956, -0.0074938606, -0.0324838795, -0.0284926239, -0.0315846652, 0.0067391219, 0.0018858691, 0.0171946622, 0.0101208482, -0.0272824317, -0.0158694424, 0.0420743972, 0.0456055999, 0.0441027135, 0.0255865436, -0.0482267216, 0.0159794148, 0.0029054345, 0.0540998429, -0.0248669311, -0.0934894308, 0.0684290752, -0.0022222723, 0.0252352636, -0.0307017639, 0.0349725224, 0.0482202098, -0.0651181266, 0.0420732498, 0.0662633181, 0.0195212886, -0.0054961503, -0.0141558703, -0.0272261444, 0.0065862355, 0.0174524393, -0.0027647188, -0.019470863, -0.0711712465, 0.0205730051, 0.0112416716, 0.0325024948, -0.0327345096, -0.0195626654, -0.0272561628, 0.0966852009, 0.0026426944, -0.004717669, -0.0377026871, -0.0608265847, -0.0034244624, -0.0401459299, -0.0348083489, -0.0504363291, 0.0137889264, 0.0222952701, 0.0201556422, -0.0151362419, -0.0410339348, 0.013416349, -0.0471473858, -0.0304588284, 0.0330773555, -0.0002743707, -0.0068363859, -0.0784196332, -0.0160289351, -0.0070072389, 0.0383144841, -0.0141652254, 0.0318752266, -0.0007251819, -0.0199502278, -0.0364727862, 0.0719476566, -0.0311526805, -0.0066065807, 0.0247297678, 0.0581813529, -0.0466431528, -0.018605534, -0.0373268984, -0.0054866369, 0.0356740281, 0.0369075872, -0.0102449032, -0.0124628311, -0.0638062805, -0.0531156138, -0.0065742326, -0.0464501604, -0.041101858, -0.0038249707, 0.0588856973, -0.0270222519, -0.0232072622, -0.017236989, 0.0428579003, 0.0411240123, -0.0290686339, -0.0345971398, 0.0103893802, -0.0172398183, -0.0534333475, 0.0610530637, 0.0239872225, 0.0159869809, -0.0111275185, 0.0332750194, 0.0311768781, -0.0437769778, -0.0088874474, 0.028529061, -0.0766202956, 0.0154804802, 0.012278826, 0.0588745251, 0.0201257337, 0.008625132, 0.0283649974, -0.0100483112, 0.0114652421, 0.0486026369, 0.0031932811, 0.0138048911, 0.005589928, -0.0190377161, 0.0179322641, 0.016002113, 0.0036558108, 0.0513008684, -0.0288431663, -0.0125705842, -0.0284573324, 0.0057319491, 0.0031561416, -0.0237274077, 0.0502666086, -0.0108794048, -0.0710443258, -0.0337095521, 0.0066485466, 0.0310057364, -0.0044594863, -0.0458791368, 0.0619578138, 0.0115907304, 0.0512540229, -0.0102643818, -0.0193497445, 0.0264354087, -0.0063388711, -0.0086761201, 0.022918677, 0.0767292082, -0.0048305094, 0.0104690511, 0.0013171973, 0.0179988686, 0.0074030976, -0.0068986863, 0.0205474962, -0.005294688, 0.038845595, 0.0093061589, 0.0246666595, -0.0109418239, 0.0319427662, -0.0565229021, -0.0819763094, -0.0480322354, 0.0393007472, 0.0222644228, 0.0462250225, 0.00100427, -0.070282191, 0.0014955357, -0.0212315843, 0.0349161588, 0.0394528843, -0.0202529989, 0.0731874555, 0.0111285681, -0.0444771983, -0.0205739923, 0.0288628861, 0.0075324769, 0.06957791, 0.0144970305, -0.0170804113, -0.0341453254, -0.0249203779, 0.0238485485, 0.0082656378, 0.0081583532, 0.007089477, -0.0690526515, -0.0290596187, 0.0228982773, 0.005393235, -0.0724408329, -0.0243809, 0.023905715, 0.0527973473, 0.0024805432, 0.0293458048, 0.0024002902, 0.0049401829, -0.0470650457, 0.0289858952, 0.0176919904, -6.257656749e-33, -0.0261453446, -0.0058310032, 0.0479336195, -0.0196472872, 0.0175442658, 0.0394016951, 0.000713786, -0.0202763826, -0.0100015337, 0.0183183998, 0.0334608965, -0.0233737379, 0.0058565573, 0.0046040015, 0.0676984563, 0.0103711877, 0.0243503861, -0.0335666649, -0.0112933591, -0.0305174906, 0.0596697815, 0.0039812657, 0.0234562252, -0.0681336299, -0.0155062377, 0.006481091, -0.0564078353, -0.0106080454, -0.0278964229, 0.0521328673, -0.0379783846, 0.0330952927, 0.0049571143, -0.0336386673, -0.0575642474, 0.0348179787, -0.0363880731, -0.043342784, -0.0184737723, -0.0395915657, -0.0905765072, 0.0002165991, 0.0113748042, 0.0432167724, 0.0104231564, -0.0260616727, 0.040336214, -0.0295606237, 0.0088196127, -0.0186158791, 0.0087456079, 0.0502073839, -0.0170788411, -0.0159998201, 0.028803356, 0.0126405628, 0.0006160978, 0.045922935, -0.0364684947, 0.0097722169, 0.0073205004, 0.0047939727, 0.0833616927, 0.0302639436, 0.0169018507, 0.0863432437, 0.0217584986, -0.1026804969, -0.04110929, -0.0100172963, 0.0241835248, 0.0881560817, 0.0477040559, 0.1120242774, 0.0308984891, 0.0004177968, -0.0340933539, 0.0233291239, -0.0293816291, 0.0752048194, 0.0050716954, 0.0069742482, 0.0087353047, -0.0144328289, -0.0292479936, -0.0175448935, -0.0352057926, 0.0127809402, 0.0552388057, -0.0308207553, 0.0559754223, 0.0883890241, 0.0135207828, 0.0179038402, -0.0089605991, 0.0240589008, 0.0242100377, 0.0062535363, 0.0346572585, 0.0474492349, -0.0623489805, 0.0000172675, 0.0183374416, 0.0210392047, 0.0067949751, 0.0143600022, 0.023816919, 0.0652289093, -0.0322962925, -0.025993051, -0.0253104363, 0.0128052589, -0.0027235108, 0.0298418608, 0.0402993411, -0.0099249678, -0.0267915409, 0.014197927, -0.0372344106, 0.0000353866, 0.0026591884, -0.0502646416, -0.0045466139, 0.0485881232, 0.0124829039, 0.0257391594, -0.0334475897, -0.1096104831, 0.0109337829, -0.0273093991, 0.0023793546, 0.0447074547, 2.71e-7, 0.0218637716, 0.0558534451, 0.0087908581, 0.0007086353, -0.0237283036, 0.0780981109, -0.0246444456, 0.0236263573, 0.0072395327, -0.0048728995, 0.0162669197, 0.0369927026, 0.0563687682, 0.0588405617, -0.0031548277, 0.0146265589, -0.0333622657, -0.0265497733, -0.0603073314, -0.0119975293, 0.0982644334, 0.0926158279, 0.0393065736, -0.0004610819, 0.0751868635, -0.0094553912, 0.0470537879, -0.0201055072, -0.0058993604, -0.0252305772, 0.0002813022, 0.0113495085, 0.0052293194, 0.0335919783, -0.0200256854, -0.0396744162, 0.0277450923, 0.0329214409, -0.0276076868, -0.0458245166, -0.0067614364, 0.007476158, -0.0198619757, -0.0521972738, 0.0474972092, -0.0469497517, -0.0283574611, 0.0223920513, -0.0469522104, 0.0402282029, -0.0017276207, -0.0072250548, 0.0015181374, -0.0035961394, -0.016320724, -0.0254122019, -0.0363359898, -0.0639458895, -0.006659138, -0.0115692718, -0.0135556199, -0.0129997144, -0.0760909319, -0.0317203999, 0.0920384824, -0.0356321484, -0.0391210988, 1.998957531e-34, 0.0162594859, 0.0270454865, -0.0277649797, -0.0302604735, -0.0227813628, -0.0034182037, 0.0107704895, 0.0178773124, 0.0075668572, -0.0314089768, 0.0037145759 ]
http://arxiv.org/abs/2406.11214v1
http://arxiv.org/pdf/2406.11214v1
Global Data Constraints: Ethical and Effectiveness Challenges in Large Language Model
2024-06-17T05:13:25
2024-06-17T05:13:25
Jin Yang, Zhiqiang Wang, Yanbin Lin, Zunduo Zhao
cs.CL
cs.CL
The efficacy and ethical integrity of large language models (LLMs) are profoundly influenced by the diversity and quality of their training datasets. However, the global landscape of data accessibility presents significant challenges, particularly in regions with stringent data privacy laws or limited open-source information. This paper examines the multifaceted challenges associated with acquiring high-quality training data for LLMs, focusing on data scarcity, bias, and low-quality content across various linguistic contexts. We highlight the technical and ethical implications of relying on publicly available but potentially biased or irrelevant data sources, which can lead to the generation of biased or hallucinatory content by LLMs. Through a series of evaluations using GPT-4 and GPT-4o, we demonstrate how these data constraints adversely affect model performance and ethical alignment. We propose and validate several mitigation strategies designed to enhance data quality and model robustness, including advanced data filtering techniques and ethical data collection practices. Our findings underscore the need for a proactive approach in developing LLMs that considers both the effectiveness and ethical implications of data constraints, aiming to foster the creation of more reliable and universally applicable AI systems.
[ 0.0559506826, 0.1591949463, -0.0435089581, 0.0629560947, -0.0540048108, 0.0040079746, 0.0501462519, -0.0126296123, 0.0190525167, -0.0273004565, -0.0293740742, -0.0582879335, 0.0156915858, 0.003643746, -0.0023384073, -0.0198999289, 0.0422521755, -0.0091137104, 0.0139175672, -0.0452120453, -0.002145865, 0.0389110371, 0.0464748554, 0.0265440457, -0.0253646355, 0.0109381638, 0.0366881564, -0.0361989178, 0.0015858175, -0.0025474203, 0.002899905, 0.0475468785, 0.0090879323, 0.0957315713, 0.0000018444, -0.0696415082, -0.0231052935, 0.0304711834, -0.0102387862, 0.002025252, 0.0542482249, -0.0382004231, -0.0011172361, -0.006706228, -0.0484654866, 0.0216603577, 0.0696116462, 0.0102295689, 0.0679532737, 0.0740851685, -0.0006099737, -0.0074658706, 0.0379888825, -0.0114557873, -0.0278535392, -0.0078106695, 0.0619157366, 0.0049223588, -0.0254776329, 0.0142407566, -0.0144951819, 0.0614472479, 0.0290089045, 0.0177902542, -0.0448012128, -0.0161842648, -0.0743755549, -0.0580794774, 0.0325796865, 0.065913707, 0.0327654779, -0.0297726933, 0.0129583338, -0.0090984823, 0.003838347, -0.0060512726, -0.0005460057, 0.0868217126, -0.0118997423, 0.0569890812, 0.0200990438, -0.0137940533, 0.0435902029, 0.0587335452, 0.0106574604, 0.0400224775, -0.0023300801, -0.0575882383, 0.0041658683, 0.0183334518, -0.0107144332, -0.0111297555, 0.0140280444, -0.0121872416, -0.0104448767, 0.0500270613, -0.0399585404, -0.0063151363, 0.0440541431, -0.0345307179, 0.0019189232, 0.0293187406, 0.0010724312, -0.0052619204, 0.0458834618, 0.0181148443, -0.0175665431, 0.0640052781, -0.0307599045, -0.0352622829, 0.0088564772, 0.0024663249, 0.015526955, 0.0212466922, -0.037068259, 0.0457338244, -0.0253743883, 0.0068006269, -0.0548827313, 0.0192843582, 0.0003249203, -0.0090857334, -0.0137051437, -0.0081225075, -0.0408118255, -0.0328742079, 0.0011485496, 0.0277198236, -0.0306949653, -0.0807235539, 0.0175641309, 0.0053401189, -0.032922525, -0.026647998, 0.0252862908, 0.0739535913, 0.0372872539, -0.0212833509, -0.0526953116, -0.0177495386, -0.0234920233, -0.0851443633, 0.0045579351, -0.0142109152, 0.0397812314, -0.0213703625, -0.0232236683, -0.0823264942, 0.0031670767, 0.0225151274, -0.0574170463, 0.0405111872, -0.0352498032, 0.01903685, 0.028480446, 0.029006958, 0.0049558515, 0.0818210542, 0.0348266587, 0.0067198342, 0.0577593893, -0.007713146, 0.0069820927, 0.019249253, 0.05124842, 0.0413362086, -0.0497777015, 0.0326440707, -0.0187191814, 0.0137242898, 0.0197364371, 0.1056211963, -0.0054551386, -0.0390841104, 0.0993537232, 0.0371217653, -0.0311519764, 0.0268894304, 0.0015088121, 0.0041072113, -0.0041164681, -0.0146648185, -0.0785364956, -0.0332927927, 0.0016967286, -0.0257881489, -0.016569268, 0.0717588067, 0.004801936, -0.0362072289, -0.0075949631, -0.0257685278, 0.0365747474, 0.0518235639, 0.0153755955, -0.0343438163, 0.007639613, 0.0176415015, 0.0444150008, -0.0475350171, 0.0009657341, -0.0408545397, 0.0423675664, 0.0433553308, 0.0210557338, 0.0017116951, 0.0054845465, -0.03058419, 0.0046321321, 0.0574292988, 0.0130682802, -0.0132495388, 0.0342322774, -0.0417592376, -0.0408423208, 0.0085780201, 0.0010896436, 0.0015646361, 0.0242754966, 0.0357551575, 0.0201759227, -0.0306911245, -0.066825904, 0.0448756628, -0.0186158065, -0.0191008635, -0.0270437133, 0.0011924007, 0.0305853095, 0.0276385453, -0.0205555521, -0.0298981313, 0.0036119372, 0.0226714835, 0.0228190869, -0.0194173753, -0.0406787656, 0.0551935509, 0.0224530101, -0.0645484179, 0.0041741272, 0.0546881035, -0.0276969094, 0.008032836, -0.0070203296, -0.0163010489, 0.017236989, -0.0558966063, -0.0045463415, -0.0636587739, 0.0280028507, -0.0251849331, 0.0457977392, -0.0418906659, 0.0099481056, 0.0212823115, -0.012179167, 0.0418280102, -0.037679933, -0.0403769314, 0.0540116243, 0.0031163914, 0.0510096848, 0.0404774025, 0.0201952234, -0.011934163, -0.0022029534, -0.0533255935, -0.0207067616, -0.0078829098, 0.0041366918, -0.0239253212, -0.0131934863, -0.0422966443, 0.009349254, -0.0425851271, -0.052695442, 0.0102385404, 0.0392304063, -0.0027943328, -0.0152299693, -0.0198798086, -0.0010453972, -0.0190554019, 0.0106065953, 0.0231688786, 0.0139039801, -0.0163124409, -0.0377243757, 0.0084093716, -0.0689756051, 0.0409325138, 0.0022602282, -0.0149644101, 0.0107111447, 0.0369382985, -0.0398680307, 0.0301830713, 0.0009827104, 0.0039323308, 0.0760448501, 0.029986307, -0.0381151587, -0.0280210786, 0.0116455499, 0.0027608946, -0.019425571, -0.0390309058, 0.0105530936, 0.0008388761, 0.0186793115, -0.0371337086, -0.0420744084, 0.0587352328, -0.0692430884, -0.0717272386, 0.0037540616, -0.0491731949, -0.0377649032, 0.0220189206, -0.0210018996, -0.0740106702, 0.0705771595, -0.0061263782, 0.0407251269, -0.0189299434, -0.0110019315, -0.0259416942, 0.0369339697, 0.0130530205, 0.0502645411, 0.019803483, -0.0103316261, -0.0442845784, 0.0086645326, 0.0608853661, -0.0554949269, 0.0527229421, -0.0386162475, 0.0161403921, -0.014837102, -0.0579516627, -0.0615822636, -0.0320130698, 0.0067728194, -0.0018238728, 0.0416029282, -0.0002443228, -0.0109419888, -0.0190666635, 0.041670654, 0.0236853659, -0.0025524434, 0.0216742884, 0.0045150435, -0.0413612984, 0.0382532291, -0.0257321559, 0.0620798394, -0.0036180238, 0.0075034369, 0.0209064782, 0.0077804215, 0.0066900356, 0.0322035141, 0.0162318591, 0.0309138447, 0.0080617182, -0.0039953133, 0.0093268715, 0.0308643598, -0.0541801453, 0.0143276183, 0.0859842896, -0.0033920039, -0.0619203486, 0.0033060205, -0.0003903483, -0.031523075, 0.008194821, -0.0072448091, -0.1045848653, 0.0159017425, 0.0061993338, 0.0489015877, -0.087031208, -0.0501501188, -0.0253482126, -0.1013946906, 0.0276987497, 0.0264421217, -0.0420390777, -0.0397517122, -0.0402229317, -0.0230156425, -0.0547891408, 0.0852600783, -0.0188390706, -0.00308241, -0.0307271145, 0.0127655668, -0.0106037334, -0.0670279264, 0.0076140356, -0.0395245068, 0.0735035613, 0.0519422777, 0.0325028114, -0.0467477776, -0.0380338952, 0.000883765, 0.0029273354, -0.052680064, 0.0007006724, 0.0236539841, -0.0066774124, -0.0220614057, -0.0453113355, 0.0315485559, -0.0011623201, -0.0145071996, -0.0086286375, 0.0770682469, -0.0196370631, -0.0277247727, -0.0080835521, -0.0287305303, 0.0289895386, 0.0885476619, -0.0166078079, -0.0381936245, 0.0093475692, -0.0190805104, -0.0103223613, -0.0119995307, -0.009079339, 0.0633121058, -0.0266704932, -0.0300561693, -0.0403215028, -0.0646160096, -0.0162303392, -0.0238861665, 0.0398627855, -0.0032668463, 0.0439395383, -0.0195492674, 0.00094113, 0.0445151776, -0.0582048669, 0.0015595341, -0.0269262474, -0.0170462206, -0.0132056773, -0.0280576274, 0.0233808607, 0.0245871469, -0.0204958133, -0.0686796829, 0.0554670431, 0.0314823873, 0.0226282012, 0.0537451021, 0.0156310555, -0.0400715247, 0.0366985053, 0.0412611291, -0.0303412583, 0.0069380281, 0.0380900279, -0.0133037614, 0.0015450415, 0.0309760123, -0.0378147885, 0.0086517744, 0.0314882547, -0.0147915399, -0.046029456, 0.0114557818, 0.0446425006, 0.0391136073, -0.0025290197, -0.0620071851, -0.025629662, -0.0668736175, -0.0251746587, -0.0351550281, -0.0242119022, -0.0265034679, 0.013619598, 0.0492240153, 0.0233575925, -0.0131965755, -0.0165472887, -0.025863139, -0.0041480274, -0.0511592627, 0.0251068808, -0.0051134918, 0.0492420904, 0.0160857588, 0.0181541275, -0.0331343971, 0.0592840128, -0.0299010575, 0.048815459, -0.00081878, 0.0397129133, 0.0271307379, 0.0115251848, 0.0259213708, 0.0289664324, -0.0402741022, -0.0367498249, -0.0388902724, -0.0057436363, 0.0184471514, 0.0025876684, 0.0332253985, -0.0128515912, 0.0101921838, -0.0076975203, -0.0122433603, 0.0302340481, -0.0484549925, 0.0061881146, -0.0010703407, -0.0478777178, 0.0331143029, 0.0652838647, 0.026133325, 0.0608184673, -0.0131205274, -0.0162068438, 0.0137654943, -0.0606992282, 0.0131019792, -0.0405160226, -0.0581228174, -0.028014984, -0.0619161464, -0.0863880068, -0.0544470996, -0.0031396353, -0.0147026712, -0.0267458055, 0.0082735708, 0.0386107899, -0.0005459529, -0.0130939214, -0.0515577123, -0.035723269, -0.0042258352, -0.0218289848, 0.0167846903, -6.056661174e-33, 0.0193719827, 0.0005935421, -0.0025108694, -0.0308749303, -0.0288742837, 0.0041190805, 0.0134866107, -0.0069804126, -0.0715238973, 0.0010296362, 0.002824595, 0.0095249079, 0.0034233867, 0.0305746477, 0.0002652294, -0.0394680873, 0.0110707916, 0.0053316574, -0.015132335, 0.0301592704, 0.0321750268, -0.0125038316, 0.0632966235, -0.0810491741, 0.0960680097, -0.0107767992, -0.0297638215, 0.0266144145, -0.04482219, 0.0553483777, -0.0162941702, 0.0865085647, 0.0337086581, -0.0184036773, 0.0035144158, -0.0015946822, -0.0134700416, -0.0050612935, 0.0307581555, 0.0127376178, 0.022552941, -0.0402205177, 0.0456653275, -0.0329713635, -0.0268430728, 0.0274495389, 0.0035427499, -0.0344804265, -0.020747615, -0.0075102509, -0.0387947597, 0.0141495373, -0.0146416686, 0.041055996, 0.0194392465, 0.0326519571, 0.0060176561, 0.0115837166, -0.0318250991, 0.0145592829, 0.0441654474, -0.0368209071, 0.0749881715, -0.0064276624, 0.031822212, 0.0672918856, 0.0305678546, -0.0004930194, -0.0116147567, -0.0427371673, 0.0266211722, 0.0239366796, 0.0247137696, 0.0822050422, -0.005175435, -0.0604126453, -0.0581250452, -0.026697889, -0.0210204571, 0.0261982549, 0.00448384, -0.0376582369, -0.0666278675, -0.0368072912, -0.0259528719, -0.0524639711, -0.0263324305, -0.0001723076, 0.0375915244, 0.0031727832, -0.0220925845, 0.0225804467, 0.0279449616, -0.0650909021, -0.0137305642, 0.0253057498, 0.0164042823, -0.0384536982, 0.0149804251, 0.0314439088, -0.0519102477, -0.0295280311, -0.0041583576, -0.018983027, 0.0249255411, 0.0069480338, 0.0327130705, 0.0305475555, -0.026079556, 0.0194888599, -0.0214067772, 0.0503201224, 0.0268406589, -0.0047768778, 0.0340445079, 0.0066486117, 0.0150991706, 0.0251765214, 0.0717139393, 0.0253465828, -0.0420740508, -0.0049091214, -0.0181767382, 0.005773684, -0.022279609, -0.0249559171, -0.0006251667, 0.0294652879, 0.0668059066, -0.0479782932, -0.0030830484, 0.0001026632, 2.618e-7, 0.0275128353, 0.0241731424, -0.0242943969, 0.0276735462, -0.0340984873, 0.0216258168, 0.0086288461, 0.0406918302, -0.0206936281, -0.0154409846, 0.006087312, 0.0076096212, 0.05648534, 0.0885007754, -0.0458955728, -0.0061091376, -0.0535458736, -0.0103990296, -0.0797117352, 0.0399807766, 0.0125724059, 0.0887816101, 0.0193647314, -0.0306623466, -0.0283089373, -0.0449160561, 0.0381852165, -0.0712564886, 0.0061906273, 0.0100207226, 0.0547115542, 0.022250928, 0.0354334116, -0.003907023, 0.0059501627, 0.0352178141, -0.0071799331, 0.0581943691, 0.0000530975, -0.0154477851, -0.016395852, -0.0581314899, -0.0197932199, -0.0826896131, 0.0703610405, 0.0242006183, -0.0331559218, -0.0226507112, 0.0238562543, -0.0519294962, 0.0349910408, -0.0439990498, -0.0061002225, -0.0018513555, 0.0162807442, -0.0047577918, 0.0190536398, -0.0344288833, 0.0122201685, -0.0521112829, -0.0103934826, -0.062360391, 0.0134471925, 0.0077595385, 0.0040503927, -0.0296829082, 0.0621405393, 2.377968593e-34, 0.0045301258, -0.0501413643, 0.0257698782, -0.0038571151, 0.0302061234, 0.0372300558, 0.0119808353, -0.0108615328, -0.0227946322, -0.0277686715, -0.0086660692 ]
http://arxiv.org/abs/2406.11201v2
http://arxiv.org/pdf/2406.11201v2
Fine-Tuning or Fine-Failing? Debunking Performance Myths in Large Language Models
2024-06-17T04:35:17
2024-06-30T14:42:52
Scott Barnett, Zac Brannelly, Stefanus Kurniawan, Sheng Wong
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have the unique capability to understand and generate human-like text from input queries. When fine-tuned, these models show enhanced performance on domain-specific queries. OpenAI highlights the process of fine-tuning, stating: "To fine-tune a model, you are required to provide at least 10 examples. We typically see clear improvements from fine-tuning on 50 to 100 training examples, but the right number varies greatly based on the exact use case." This study extends this concept to the integration of LLMs within Retrieval-Augmented Generation (RAG) pipelines, which aim to improve accuracy and relevance by leveraging external corpus data for information retrieval. However, RAG's promise of delivering optimal responses often falls short in complex query scenarios. This study aims to specifically examine the effects of fine-tuning LLMs on their ability to extract and integrate contextual data to enhance the performance of RAG systems across multiple domains. We evaluate the impact of fine-tuning on the LLMs' capacity for data extraction and contextual understanding by comparing the accuracy and completeness of fine-tuned models against baseline performances across datasets from multiple domains. Our findings indicate that fine-tuning resulted in a decline in performance compared to the baseline models, contrary to the improvements observed in standalone LLM applications as suggested by OpenAI. This study highlights the need for vigorous investigation and validation of fine-tuned models for domain-specific tasks.
[ 0.0516934432, 0.0399417542, -0.0141233234, 0.0114123793, -0.0130067402, 0.0119232275, 0.013915197, -0.0071001933, -0.0289994739, -0.0826001465, -0.0376404971, -0.0251350254, -0.0160339065, 0.0141322399, 0.0335528404, -0.0191423185, 0.0512138195, -0.0086399922, -0.022936238, 0.0198074896, -0.0390435122, 0.0268355142, 0.0211502369, 0.0460366048, 0.0240634196, 0.0147525957, -0.00510538, 0.0387480855, 0.0095024435, -0.0000872034, 0.0292252004, 0.0235459637, 0.0345860757, 0.0532615036, 0.0000018488, -0.0734521598, 0.0140454806, 0.028898973, -0.0092242323, 0.0334602073, 0.049297601, 0.0138669666, 0.0218842532, 0.0406773686, -0.0287142433, -0.0102449292, 0.0208682343, 0.0390775539, 0.0317365155, 0.0914142132, 0.0110365003, -0.029289918, 0.0248271096, -0.0419709533, 0.0145389335, -0.0615194365, 0.0158500094, -0.0039211758, 0.0389102176, 0.0196056105, 0.0162332281, 0.0306720212, 0.0141636385, -0.0047108009, 0.0177962873, 0.0477480479, -0.0669230595, -0.0195176844, 0.0209896769, 0.0641188547, 0.005457323, -0.0059758094, -0.0068418402, -0.0076489341, -0.0064594159, 0.0158681013, -0.0346765444, 0.0196954366, -0.0022628433, 0.0232166536, -0.0104750078, -0.0134169534, 0.0413236432, 0.0376659557, -0.0522651225, 0.0444297642, 0.0199056864, -0.025184799, -0.0038668124, 0.0197235011, -0.0225114301, -0.024364911, -0.0129296575, 0.0378298834, -0.0310670901, 0.0204556212, -0.0330246054, -0.0372468121, 0.0434407033, -0.0145996306, 0.0325348526, 0.0519762784, -0.035048876, 0.027886942, -0.0474529751, 0.02665204, -0.0217299256, 0.0020460107, -0.0678827912, -0.0366868712, -0.0466797315, -0.0221562907, -0.0360115059, 0.0359346718, -0.0736150369, -0.0377322696, -0.0350626968, 0.0260381531, 0.0319725052, -0.0170602892, 0.021740986, 0.0220532883, -0.0762176886, 0.0080936719, -0.0483657345, 0.0208834019, -0.0316801928, 0.030922072, 0.0419655368, -0.09081579, -0.0075249653, 0.0105972085, 0.0024831411, -0.0382128954, 0.000281282, 0.0229488686, -0.0135823777, -0.0378084108, -0.06003711, -0.0426060334, -0.0163976699, -0.073222056, -0.0053370525, -0.0448310636, 0.0222812742, 0.0223452281, -0.0178243555, -0.0341053978, 0.0128188366, 0.0366887301, -0.0252069347, 0.0340147242, -0.0007292829, 0.021317564, 0.0546001084, 0.0112009179, 0.042294994, 0.0875006393, 0.0245185867, 0.041946549, 0.0254035816, 0.018219905, -0.023156831, 0.0119555295, 0.0271326117, 0.0272730943, -0.0351013839, 0.0202449411, -0.0101605821, 0.0496151187, 0.0470660329, 0.0528505519, -0.0340270475, 0.0305710062, 0.0253986809, -0.0006554805, 0.0748713017, -0.0070564384, 0.0786172226, 0.0078760283, -0.0096664028, -0.0087107792, -0.0337520838, 0.0084268348, 0.0055535706, 0.0447673239, 0.0501769669, 0.0429902375, -0.0375226848, -0.0336696692, -0.0109821437, 0.0148264701, -0.0492026545, 0.0195732377, 0.0564842112, 0.030767411, -0.0341371633, 0.0255817212, 0.0268359631, -0.0505080856, 0.0464954972, -0.0601629615, 0.0100212684, 0.0758368894, 0.0772649497, -0.0055280598, -0.003394417, 0.0267938003, -0.0011577196, 0.0317291208, 0.0623600185, -0.0136326309, 0.0058517852, -0.06305556, -0.0475534387, -0.0424406081, 0.0214703362, 0.009736198, 0.0408259183, 0.0034167692, 0.0684134439, -0.0597557351, -0.0385647453, 0.0500537455, -0.0703658089, -0.0566352643, 0.0194849521, 0.0002865753, 0.0017665777, 0.0066120727, -0.0160662755, 0.0275787804, 0.0313541926, -0.019392062, -0.0091182636, -0.0212672669, -0.0092922105, -0.0049884873, 0.006423559, 0.0148255741, 0.0234962609, 0.0085543497, -0.0453861095, -0.042426154, -0.0108386045, -0.0137554305, 0.0216100421, -0.0863621011, -0.0006531665, 0.0212938935, 0.015887646, -0.0685321465, 0.0696378052, 0.0233620405, 0.0134509131, 0.022434812, 0.0399498791, 0.0223128516, -0.0489061102, -0.0076894402, -0.0132687492, 0.0080749383, 0.0096079689, 0.0135849165, -0.0120310988, -0.0732611939, 0.0027375936, -0.0975775719, 0.0084028775, -0.0215727258, 0.0099110054, 0.0179408044, 0.0438853391, -0.0154509991, -0.0079569556, -0.0260731131, -0.0182674136, 0.0302895345, 0.0374237821, 0.0184462108, 0.0450760759, -0.0055100704, -0.0395675302, 0.0020515933, 0.0069200825, 0.0416412391, -0.0070778313, 0.0078325942, -0.0429086164, 0.0646239296, -0.0417125188, 0.0166352112, -0.0083246799, -0.0101341549, -0.0000873261, -0.0330448411, 0.0280238334, 0.0375245139, 0.0055391421, 0.0105417212, 0.0262766797, -0.0105725909, -0.0860518292, 0.0253291056, -0.0450929292, -0.0517996736, -0.0093444297, -0.0106075015, 0.0228044204, 0.0110354936, 0.0070772143, -0.0094750198, -0.0305224806, 0.0172474552, -0.0077415672, -0.0366445631, -0.0315311551, 0.0031907896, -0.010734912, 0.0635132715, -0.0228192098, -0.0554525219, 0.0589844882, -0.020961361, 0.0132538006, -0.0357041992, 0.0090763913, -0.0556073748, 0.0382925384, -0.0231967289, 0.0341419093, -0.0166734233, -0.0258869696, -0.0380968191, 0.0040946817, -0.0094802706, -0.0353319049, 0.0683999881, -0.0306603722, 0.0281305332, -0.0094159087, -0.0399314165, -0.0675269887, -0.0237054117, -0.0022854481, 0.0285985135, 0.0095132608, -0.0132730706, -0.0545302741, -0.0081860572, 0.0124661895, 0.0249548033, -0.029719092, -0.0451153666, -0.0103611695, 0.0377761573, 0.0590320975, 0.0049174665, 0.0159192327, -0.0101360427, 0.0111008389, 0.0197936222, 0.0407697149, -0.0249931272, -0.024029268, -0.0127270333, 0.0326073058, -0.0426257513, -0.0106440615, 0.0398233421, 0.0353487097, -0.0463795811, -0.0779117048, 0.0915748775, 0.0233186949, -0.013450643, -0.0007314057, 0.0091793854, 0.0474788658, 0.0279190913, 0.0619384125, -0.0743351504, -0.0230968948, 0.0118747735, 0.0750180334, -0.0086759804, 0.0120877326, -0.0100784209, -0.1727714092, 0.0555678383, -0.0028073955, -0.0434226505, -0.0175084341, -0.0350188762, 0.0058267163, 0.006180448, 0.0528949536, 0.0428526662, -0.0204562452, -0.0065197083, 0.0312159676, 0.0593523532, -0.1223434806, -0.0026437936, -0.0292708389, 0.0215233918, 0.0804783478, 0.0107886074, 0.0232248083, -0.0170927867, 0.0471833721, -0.0540886745, 0.068687968, -0.0177207422, 0.0486896709, 0.0030040236, 0.0052644531, -0.0187423415, 0.0049772034, -0.0243562423, -0.006018457, -0.037873406, 0.0412265807, -0.0345825404, 0.0184995271, -0.0507889129, -0.0281394441, -0.020308435, 0.0825095102, 0.0246486496, 0.0006938881, -0.0239297189, 0.0014044867, -0.013249753, -0.0647541732, -0.0101616085, 0.0331556797, -0.0293893944, -0.0313721448, -0.0459741242, -0.0540913455, 0.0087877875, 0.0302551165, -0.0070067556, 0.023562368, -0.0258337781, 0.0086695086, -0.0360763259, 0.0394576825, -0.0572920442, -0.002126534, -0.0339114368, -0.0100190938, 0.0432600193, -0.0605228655, -0.0195819382, -0.0034157389, -0.0711874068, -0.0657591671, 0.0007047082, 0.023626497, 0.0270969234, 0.0220830813, -0.0101942336, -0.0571550764, 0.0263351183, 0.0717795789, -0.0544681251, 0.0152649591, -0.0282772779, -0.0227508079, -0.0138989985, 0.0186741594, -0.0784139633, 0.022228254, 0.0001571381, 0.0532224141, 0.0172521938, -0.0489489958, 0.0359269232, 0.0316073634, 0.0450145565, -0.0219587348, -0.0140832495, -0.0326149501, 0.0169245843, -0.019361414, -0.0191150066, -0.0283865295, -0.0152297029, 0.0274738539, 0.0035575503, -0.0087158466, 0.0100299362, -0.016635621, 0.0774010792, -0.070731692, -0.0284942649, -0.0037324601, 0.0220102705, 0.0352877825, 0.0004810076, -0.035205029, 0.0298580527, 0.0010384154, 0.0515488088, -0.0467770323, 0.0292148292, 0.0075343461, 0.0273451228, -0.019270625, 0.0187554359, -0.0806401819, -0.0295403376, -0.0405957103, -0.0109365173, 0.019132603, -0.0215562955, 0.0422329009, -0.0059437556, -0.0065061287, -0.029818546, -0.0096006943, 0.0204310101, -0.0167952459, 0.0179749578, 0.0213737767, -0.0223677568, 0.0013023359, 0.0711969137, -0.0266636573, 0.0633948892, -0.040942803, -0.020847667, -0.0120416302, -0.0368769392, 0.0160411112, 0.0387699045, -0.0324002206, -0.025687268, -0.0556801334, -0.0475146286, -0.0167169515, -0.0118129142, 0.006899246, -0.0202675983, 0.0440627746, 0.0860877931, 0.0156819467, -0.0127134016, -0.0642528161, -0.007298422, -0.0613102876, -0.0085826982, -0.0018174775, -6.740048039e-33, -0.0452751145, -0.0187303182, 0.0504877493, -0.0377888232, -0.0352144465, -0.0151704699, -0.0377607867, -0.0339435004, -0.0350716636, -0.0297411066, -0.0140093854, 0.0176522229, 0.0203468688, 0.0276885256, 0.0053351214, -0.0001991411, 0.0582920946, 0.0190899484, -0.0257807579, 0.0268847216, 0.0690931529, 0.0358062051, 0.0023858785, -0.0557680018, -0.0031389878, -0.0187966023, -0.0237396937, 0.017299762, -0.0188533254, 0.0820847824, -0.0036597881, 0.0658249408, 0.0334501751, -0.0322205424, -0.0102562616, -0.0060406025, -0.0698469058, -0.010448576, 0.015159769, -0.0161221437, -0.0082755387, -0.0385526232, 0.0668244213, -0.0163766742, -0.0180950686, 0.0052459235, 0.0383152403, -0.0302614588, -0.0373849235, -0.0659436658, -0.080521673, 0.0156830493, 0.0412108526, -0.0107528381, -0.0006614793, 0.0389158651, -0.0014305842, 0.0670243576, -0.0388203301, 0.0222920999, 0.0059264097, 0.064876616, 0.069891572, 0.0303935967, -0.014695189, 0.0303124916, 0.0179101545, -0.0015620358, -0.0002946949, -0.0164478552, 0.0508629642, 0.0553051345, 0.0050942404, 0.0663824752, 0.0261810292, -0.0215746798, -0.0681112483, 0.0627047345, -0.0429550633, 0.0390993282, 0.0311566312, 0.0078297853, -0.0468767881, -0.017071791, -0.053253565, 0.0181748569, -0.0508866049, -0.0055022482, 0.0591205619, 0.0481991656, -0.0151032927, -0.0069098994, 0.0316070803, -0.0213798899, 0.0140523566, 0.0178465396, -0.0392697528, -0.0075595821, -0.0270061605, -0.0012617223, -0.0450048968, -0.0560793281, 0.0390106067, 0.0180559903, -0.0206585657, 0.0021336561, 0.0176347811, 0.0251278188, -0.055053141, 0.0118457722, -0.0468877144, 0.0262471437, -0.0048114285, 0.0243809205, 0.0232498925, 0.0138094733, -0.012678422, 0.0517134145, 0.0252726581, 0.0006348759, -0.0232392624, -0.0365195088, 0.0404632911, -0.0022298798, -0.0191586092, 0.0390859246, -0.0102987317, 0.0306947082, 0.0454474874, -0.0215491075, -0.0357876085, 0.0489549451, 2.689e-7, 0.0666301399, 0.0237634834, 0.0220350251, 0.0346655548, -0.0021059173, 0.0214625113, 0.0045767184, 0.0041531064, 0.0423130207, 0.0116955722, 0.0179898441, 0.0261123311, 0.0381172672, 0.0177642852, -0.0539035872, 0.0128884241, -0.0303174201, -0.0005950382, -0.0583861731, -0.0070084683, 0.0321147889, 0.0696472302, -0.0243183523, -0.0312665477, 0.0144771375, -0.0581879318, 0.0798645169, 0.0016052657, -0.0240464341, 0.0398533717, 0.0160713848, 0.0609478354, 0.0152148474, -0.0104225902, -0.030821437, 0.0199705642, -0.0035061443, 0.0442898646, 0.012361967, -0.0427658409, -0.0000649231, -0.0126288561, 0.0271132216, -0.064114213, 0.061456766, -0.0441698506, -0.0014665222, -0.0042354437, -0.0145329144, 0.0078841448, 0.0094772056, -0.0365709364, 0.0016198315, 0.0063394844, 0.0090402989, 0.0080230357, -0.0355412513, -0.0992593095, -0.0004100272, -0.0011178593, -0.0563151203, -0.0491761491, -0.0450355373, 0.0095295738, 0.0068492703, -0.0511042438, -0.0144617241, 2.703174156e-34, 0.0275623351, 0.0049300781, 0.0042378404, 0.00748188, 0.0223218109, 0.0127322562, -0.0185519531, 0.0245245751, 0.0041171154, -0.1086947694, -0.0358900204 ]
http://arxiv.org/abs/2406.11200v2
http://arxiv.org/pdf/2406.11200v2
AvaTaR: Optimizing LLM Agents for Tool-Assisted Knowledge Retrieval
2024-06-17T04:20:02
2024-06-18T01:39:57
Shirley Wu, Shiyu Zhao, Qian Huang, Kexin Huang, Michihiro Yasunaga, Kaidi Cao, Vassilis N. Ioannidis, Karthik Subbian, Jure Leskovec, James Zou
cs.LG
cs.LG, cs.CL
Large language model (LLM) agents have demonstrated impressive capability in utilizing external tools and knowledge to boost accuracy and reduce hallucinations. However, developing the prompting techniques that make LLM agents able to effectively use external tools and knowledge is a heuristic and laborious task. Here, we introduce AvaTaR, a novel and automatic framework that optimizes an LLM agent to effectively use the provided tools and improve its performance on a given task/domain. During optimization, we design a comparator module to iteratively provide insightful and holistic prompts to the LLM agent via reasoning between positive and negative examples sampled from training data. We demonstrate AvaTaR on four complex multimodal retrieval datasets featuring textual, visual, and relational information. We find AvaTaR consistently outperforms state-of-the-art approaches across all four challenging tasks and exhibits strong generalization ability when applied to novel cases, achieving an average relative improvement of 14% on the Hit@1 metric. Code and dataset are available at https://github.com/zou-group/avatar.
[ 0.0367155112, 0.0024372521, -0.018656522, 0.0370808393, -0.021102123, 0.0073506217, -0.0127638225, 0.0292682834, 0.0564260557, -0.05219993, -0.0542626716, -0.0318667069, -0.0630875677, -0.0009589785, 0.018725954, -0.0549021438, 0.0438878238, -0.0123215774, 0.0129538942, 0.002563087, 0.0090856925, -0.0024036649, -0.0185867287, 0.0398354195, -0.0350467041, -0.017655598, 0.0100796064, 0.0262035523, 0.0015661565, -0.0442336015, 0.0164264422, 0.0338047929, 0.0277229194, 0.0222591963, 0.0000021534, -0.0507993177, -0.0150304325, -0.0207902137, -0.0118827727, -0.0566145703, 0.0744784251, 0.0035869291, 0.0434523299, 0.0042872336, -0.060211353, -0.0139108105, 0.0320200697, 0.0485670008, 0.071826838, 0.0707162544, -0.0052858614, 0.0080738058, 0.0115439994, 0.0066950587, 0.0297199991, -0.0140348151, 0.0213822145, 0.0215973016, 0.0312118735, 0.0117585286, -0.0134664504, 0.0739548132, -0.014341387, 0.0125996014, 0.0440967008, 0.0072278958, -0.05962063, -0.0449242666, 0.0062939771, 0.0834496096, 0.0182574019, -0.006224276, 0.0002513201, 0.0116578965, 0.0137478467, 0.0465876907, -0.0634180456, 0.0207254905, -0.0318897776, -0.0026444988, -0.037238203, -0.0167887826, 0.0382115543, 0.0126864966, -0.0253798291, 0.0331433974, -0.0041314191, -0.0293089505, 0.0561390854, -0.015199556, -0.0047463854, -0.0257872231, 0.0076144706, 0.041414842, -0.0637678653, 0.0044799605, -0.0016316033, -0.0277717132, 0.0358594395, -0.066878967, 0.0199735053, 0.0170963444, -0.0673326626, 0.0743944719, -0.0382882431, 0.0154651115, -0.0040432708, 0.069661513, -0.0208349265, -0.0215508975, -0.0470574088, -0.0193342026, -0.029755624, 0.0101868454, 0.000914668, -0.0474013835, 0.0053438982, 0.0380969346, -0.0314024091, 0.0312081072, -0.0134831844, 0.0140229808, 0.0165713467, -0.0130604915, -0.0691156462, 0.0152337048, -0.0303219203, -0.0017091525, -0.0015537948, -0.0288166311, 0.0136583652, 0.0260051172, -0.0065945582, -0.0210837945, 0.0190217048, 0.095825389, -0.0077349474, -0.0394561961, -0.0244559087, -0.0303320568, 0.0289926101, -0.0437248796, 0.0138687184, -0.0459030047, 0.0126131307, 0.0088849319, -0.0114374245, -0.0602030046, 0.0328615829, 0.0230910983, -0.0238214824, 0.0827848613, -0.0256837104, 0.0092054866, 0.0514846668, 0.0303327888, -0.0473858714, 0.0644566268, -0.0292013716, 0.057693284, 0.0792687759, -0.0038816279, 0.0367703065, 0.0336213522, -0.0174550228, -0.0047234255, -0.0245281216, 0.0251490623, 0.0098206056, 0.0288026091, -0.008917707, 0.0460289493, -0.0295855794, -0.0286436379, 0.0477258936, 0.0358973742, 0.0296735577, -0.0364534855, -0.0002725973, 0.0074788821, -0.0180210229, -0.0220990572, -0.060162548, 0.0653018579, -0.0441721044, -0.012334343, 0.0490623377, 0.0176572539, -0.0256780908, -0.0248219706, -0.0228708033, 0.0130108539, 0.0120938262, 0.056543041, 0.0347452499, -0.0229257699, -0.0490372144, 0.0280405879, 0.0258181058, -0.0288702566, -0.0312128495, -0.0520294122, 0.0330050215, 0.0904439837, 0.0714654699, -0.0636659488, -0.018194614, -0.0072964584, 0.0307962168, 0.0476263613, -0.0220784638, -0.0145187741, -0.0093954001, -0.0688331947, -0.0529277474, 0.0212297328, -0.0037907294, -0.0054630209, 0.0122078955, 0.0095961643, 0.0316644572, -0.0456719175, -0.0192623306, 0.0553836487, 0.010742099, -0.0489445664, -0.0327083394, 0.0293206852, 0.0077451495, -0.006610828, -0.0118119875, 0.0088578966, 0.0407156609, -0.0377806276, -0.0547311045, -0.0040815794, 0.0030810023, -0.0058433753, 0.0399443097, -0.0124103399, 0.0429259799, -0.0061727106, -0.0096964389, -0.0071250387, 0.0040444741, -0.0038004443, 0.041246023, -0.063186802, 0.0176635925, 0.0079606557, 0.0240300409, -0.0458547026, 0.0652552322, -0.0060835676, -0.0013986028, 0.0230160933, 0.0111795254, -0.0105251484, -0.0226518996, -0.03039876, 0.0131557649, 0.0301736593, 0.045348689, 0.0165912844, -0.0210319981, -0.0611573271, -0.009653192, -0.1090336144, 0.0015515323, -0.0112542361, -0.029240936, -0.0253039096, -0.0304935034, -0.0122903716, -0.0392136946, -0.0177372303, 0.0366210341, 0.0033141142, 0.060275957, 0.0136343166, -0.0005913866, -0.0182612073, -0.0414088815, -0.0091358563, 0.0159774739, 0.0381800048, -0.0192565136, -0.0238303673, -0.0422719531, 0.0545039624, -0.0771016553, 0.0419097878, -0.0279484, -0.0017491697, 0.0240131989, -0.0715186968, 0.0063455338, 0.0773370713, 0.024076961, -0.0022160579, 0.0606444925, -0.008894857, -0.0909347609, 0.0073124319, 0.0033668205, -0.0149931908, 0.0158357639, -0.020734746, 0.002016491, 0.0008196753, 0.0163538903, 0.0203598998, -0.0542201623, 0.0103742164, 0.021376919, -0.0457801782, -0.0489052758, 0.0254339967, 0.0149336737, 0.0529408529, -0.0275397655, -0.0441222936, 0.0696090832, -0.0086398078, -0.0110394852, 0.031068746, -0.0118879909, -0.031983044, 0.0835862532, -0.0006849057, 0.014428311, -0.04262463, 0.0041314238, -0.0523363873, -0.0335491113, 0.0198344402, -0.0599430725, 0.046065446, -0.0106269326, 0.0230205376, 0.0107502714, -0.0276048351, -0.0724907517, -0.0381643586, -0.0093062334, -0.0284071453, -0.0544783957, 0.0238485914, -0.0390570462, 0.0125881089, 0.0265531726, 0.0054086493, 0.0092070354, -0.0295467637, 0.0053832154, -0.0062946095, 0.0472190641, 0.0090213111, 0.003713975, -0.0395738035, 0.0341876075, 0.0543640889, 0.0258826334, -0.0417836346, -0.0240048189, -0.0301240198, 0.0242133215, -0.0257307049, 0.0056495918, -0.0042389343, 0.0201032683, -0.0517842844, 0.0350159295, 0.1012184769, 0.0279197283, -0.0781642422, -0.0320543759, -0.0597615466, 0.010992663, 0.0608624965, 0.0396005735, -0.0832917243, -0.0510947816, -0.0020336094, 0.0388138592, 0.0080233347, -0.0193269458, 0.0188732408, -0.0969766825, 0.0471405201, 0.0048289057, 0.0239373837, -0.00778194, -0.0224918853, 0.0117341662, -0.0204607937, -0.0056913546, 0.0443075076, -0.0231805891, -0.0144476192, -0.0139110042, 0.0324470848, -0.0098963687, 0.0189903975, -0.0558076464, 0.0266594738, 0.0795435831, 0.0031048688, 0.0023073386, -0.0650426745, 0.0170330014, 0.0286009684, 0.0154993488, -0.0271886867, 0.0645069703, -0.0277810302, -0.010984215, -0.0159074254, 0.011635961, -0.026847966, 0.008994489, 0.0177790746, 0.0761612952, -0.0466520451, 0.0153311575, -0.0439682752, 0.0091273021, -0.0066556525, 0.0734743699, -0.0100282598, -0.0100003714, -0.0038565581, -0.0155478269, 0.0202318449, 0.0211966801, -0.0360008366, 0.0291994214, -0.009916597, 0.0365824886, -0.0953635722, -0.0326428041, 0.0375049487, 0.0361886583, 0.0231576972, 0.0234098956, -0.056617219, 0.0164443161, -0.0610688329, 0.0461348481, -0.0240384787, 0.0104026143, -0.0341740213, 0.0124822762, 0.0352833048, -0.0522472076, -0.0003379948, 0.024240762, -0.0349529572, -0.0356505848, -0.0193728823, 0.0415508673, 0.017839279, 0.0265820846, 0.0141641079, -0.0432696231, 0.0263077989, 0.068155624, -0.0099110538, -0.0114405993, -0.0032206213, 0.0062044007, -0.007531222, 0.0337739028, -0.08468353, -0.0015816611, -0.0263644084, 0.0396830738, -0.0155020105, -0.0342403725, 0.0224780701, 0.0398363173, 0.0010234668, -0.0069387057, -0.0138722295, -0.0434156694, 0.0128178485, 0.0077233477, -0.0310758073, -0.0332705341, 0.0372467339, -0.0017950011, -0.0353946015, 0.0280343834, 0.0084232604, -0.0039251549, 0.0294207092, -0.0464440733, -0.0047276649, -0.0256459713, -0.0146418465, 0.0168045815, 0.0179346409, -0.0244084615, 0.0660591871, 0.0177076031, 0.0613270514, -0.0318167768, 0.1094330698, 0.0102730105, -0.0196094234, -0.0454463102, 0.0279870722, -0.0228726882, -0.08028391, 0.0238624457, 0.0549568236, 0.0639041662, -0.0048850449, 0.0297378805, -0.0345355831, -0.0034907348, -0.0179273151, -0.0160283502, 0.0159920696, -0.0244393181, 0.0170841105, 0.0424883664, 0.0010297194, -0.002026258, 0.0597279444, -0.0666950941, 0.0377108827, -0.0287893917, -0.0490974449, -0.0430745445, -0.0285378639, 0.0498992056, 0.0190460086, -0.0212488491, -0.005715616, -0.0284010693, -0.0561258271, -0.0153743867, -0.0084177991, -0.0711357296, -0.0113579342, 0.0353439339, 0.0839232132, 0.0292954184, -0.0263329837, -0.039518062, -0.0163406152, -0.028710736, 0.0019606999, 0.0173084512, -6.542877964e-33, -0.0279231947, -0.0172696486, 0.0491601974, -0.0272968486, -0.0063516605, -0.025024483, 0.0046308241, 0.013975692, -0.0160964075, -0.0106286192, -0.0112521993, 0.0001866993, 0.0048940568, -0.002016006, 0.0226988923, -0.0016351178, 0.0230097435, 0.0144094704, -0.0097055361, -0.0107915625, 0.0537703298, 0.0572477467, 0.0087526515, -0.0731297731, 0.0245484076, 0.010873341, 0.0133901797, 0.0372477546, 0.0014676937, 0.0510091521, -0.0390648358, 0.0558125079, 0.0257315207, 0.000033312, -0.0050782682, -0.0201611929, -0.0595223978, -0.0292403214, 0.0038195269, 0.0102389371, -0.0328002237, -0.0142780272, 0.05727835, -0.0368607342, -0.0053031477, 0.0112062152, 0.0588180088, -0.042151548, -0.0362021104, 0.0103860963, -0.0349467099, 0.0167340823, 0.0149088474, -0.0353718288, 0.0339122266, 0.0586075149, 0.0035766738, 0.0289195478, -0.085320048, 0.0320364423, -0.0418697037, 0.0057726582, 0.060425289, 0.0418898873, -0.001005951, 0.0979066268, 0.0420600399, -0.0213654321, -0.0380424783, -0.0365171432, 0.0276043732, 0.0549103618, 0.0041320059, 0.0626985207, -0.0146590425, -0.0127745504, -0.016485475, 0.040668752, -0.0036265892, 0.0551489703, 0.0694216713, 0.0409195572, -0.0467289872, -0.0084343152, -0.0256787278, 0.0133317541, -0.0550763346, -0.059744332, 0.0548029281, 0.0280454755, 0.0137536097, -0.0286091976, 0.0343721434, -0.0199932512, 0.0034684474, 0.0075444388, -0.0285988245, 0.0004075934, -0.0164893977, 0.006590242, -0.0039263684, -0.0099010905, 0.0387977026, -0.0284247268, -0.0056483485, 0.0184482951, -0.008325994, -0.0037888852, -0.073721543, -0.0107085807, -0.0340282246, 0.0081960605, -0.0174752306, -0.006163653, 0.0095407758, 0.0115446215, -0.0131897312, 0.052296333, 0.0145012429, -0.0115778167, -0.0366913006, -0.0451426432, 0.0059150923, -0.0253083874, -0.0240787491, 0.0345188677, -0.0309060011, -0.0181662608, 0.0132744778, -0.0609455444, 0.0033281795, 0.00658932, 2.888e-7, 0.0135682328, 0.0600186363, -0.0275010988, 0.052878838, -0.0150843356, 0.0373096131, -0.0332246609, 0.0105232336, 0.0232023038, -0.0630836636, 0.0228360221, 0.0635470748, 0.0301673915, 0.0426899195, -0.0612197742, -0.0341958404, 0.0097413119, -0.0483057164, -0.0744136572, -0.0183144417, 0.077928327, 0.0701003149, 0.0045030029, -0.0366932936, 0.0104891844, -0.1120683104, 0.0802616924, -0.0354223177, -0.0215983503, 0.0002474037, 0.0294408202, 0.0506791584, 0.0126266871, 0.0250124447, 0.033677686, -0.0104209185, 0.0259610191, 0.0409432873, -0.0196842551, -0.0661444589, -0.0014475625, 0.0300224554, -0.0047981967, -0.0481930077, 0.0744868144, -0.0093417233, -0.0166091435, -0.0034300222, -0.0227503255, -0.0131081147, 0.0284548681, -0.0458588824, -0.0436089933, 0.0182559043, 0.0077714566, 0.0013362039, -0.0370133258, -0.093723461, -0.0069368151, 0.0049535828, -0.0340418704, -0.029360136, -0.0209784713, 0.0068694879, -0.0391001999, -0.0443022102, -0.0091084857, 2.651855792e-34, 0.0432836711, 0.0411660448, 0.0089164311, 0.0436585955, 0.0404920727, 0.0065781088, -0.005784452, 0.0152997011, -0.0115291243, -0.1022386104, -0.0098579563 ]
http://arxiv.org/abs/2406.11194v1
http://arxiv.org/pdf/2406.11194v1
In-Context Editing: Learning Knowledge from Self-Induced Distributions
2024-06-17T04:00:04
2024-06-17T04:00:04
Siyuan Qi, Bangcheng Yang, Kailin Jiang, Xiaobo Wang, Jiaqi Li, Yifan Zhong, Yaodong Yang, Zilong Zheng
cs.CL
cs.CL
The existing fine-tuning paradigm for language models is brittle in knowledge editing scenarios, where the model must incorporate new information without extensive retraining. This brittleness often results in overfitting, reduced performance, and unnatural language generation. To address this, we propose Consistent In-Context Editing (ICE), a novel approach that leverages the model's in-context learning capability to tune toward a contextual distribution rather than a one-hot target. ICE introduces a straightforward optimization framework that includes both a target and a procedure, enhancing the robustness and effectiveness of gradient-based tuning methods. We provide analytical insights into ICE across four critical aspects of knowledge editing: accuracy, locality, generalization, and linguistic quality, showing its advantages. Experimental results across four datasets confirm the effectiveness of ICE and demonstrate its potential for continual editing, ensuring that updated information is incorporated while preserving the integrity of the model.
[ 0.0585531257, 0.047360111, 0.0004469168, 0.0381176583, -0.0153517053, -0.0240862221, -0.0249990076, -0.0487079434, -0.0611410812, -0.0526689216, -0.0529022589, -0.009289599, 0.0101385536, 0.0131348753, 0.0399119779, -0.0441554859, 0.0430686511, 0.0100637851, -0.0127915218, 0.0183139853, 0.0081631802, 0.0000741262, 0.0124331787, 0.0170995183, -0.0472245179, -0.0242565367, -0.004190092, 0.0602241345, 0.0247189309, 0.0077986782, 0.0482400469, 0.074125573, 0.0050415494, 0.0014736309, 0.0000021483, -0.0403393321, -0.0384210944, -0.0145178018, -0.0077430541, 0.018480571, 0.0364496149, -0.0419411063, -0.0632964298, -0.0118058622, -0.0408347286, 0.0488503762, 0.0645692125, -0.0007461176, 0.0658419356, 0.078444697, -0.0106833735, 0.009238814, -0.0149896555, -0.0554012433, -0.0014700074, -0.025976643, 0.0252171364, 0.0021135428, -0.06372419, 0.003567402, -0.041847121, 0.0512206852, 0.0239113234, -0.0286376998, 0.0489735529, 0.0058845091, -0.0590309426, -0.0097746002, -0.0263965614, 0.0709089115, -0.0171811786, -0.0256661288, -0.0008226385, -0.0134967482, 0.0258028153, -0.0186457466, 0.0005147149, -0.0087575596, 0.0345434994, 0.0255020745, -0.0194990244, -0.0442759544, 0.0476748049, 0.0273786224, 0.0011503085, 0.0588192791, 0.035570614, -0.013251612, -0.0580018833, -0.0073286262, -0.0620050505, -0.0777493119, -0.0034813292, 0.0183936078, -0.033013843, 0.0262885075, -0.0872244611, -0.007129862, 0.0079372087, -0.0264746267, 0.0355840772, 0.0467876084, 0.0128661981, 0.0449056961, 0.0229711737, 0.0004975325, 0.0290529206, -0.0004317616, -0.0242564846, 0.0221442804, -0.0430629291, -0.0140859056, -0.0568355918, -0.0030137836, -0.0612725094, -0.0012163522, -0.0590227954, 0.0491456278, -0.0075702746, 0.0029002123, 0.0127385743, 0.0242341645, -0.070989728, -0.0058210907, 0.0049805138, 0.0085922386, -0.021540625, 0.0033877918, 0.031957604, 0.0116492175, -0.0271239169, 0.0014358938, 0.0217478033, -0.03021558, 0.0088145118, 0.0314841047, -0.0295571964, -0.0210627001, -0.0264027305, -0.0534067005, -0.0577199645, -0.0678361803, -0.0505792424, -0.0447215177, 0.0258482751, -0.0215626117, -0.0392053798, -0.0792981982, -0.0027795441, 0.0022096608, -0.0217630584, 0.0676820874, -0.0316401385, 0.0104266759, 0.0644660518, 0.016282212, 0.0070613055, 0.0763337687, 0.0432464369, -0.0062391283, 0.0597993769, 0.0308900513, -0.0054171984, 0.0301837269, 0.0426405482, 0.0219828766, -0.046787791, -0.0037082033, -0.0095887342, 0.0382197201, 0.0559528135, 0.025863599, -0.0288399607, 0.0127205644, 0.0921094716, -0.0117829069, 0.0658799708, 0.0257985238, 0.0233252551, -0.0136579201, -0.0169219617, -0.0108949058, -0.0684211105, 0.0202467293, 0.0065208077, 0.0260299239, 0.0066660712, 0.011913538, -0.0158839785, -0.0391571112, 0.0015150065, -0.0026093691, 0.00315719, -0.0253330898, 0.0027538256, 0.0504272208, -0.041243773, 0.0337149538, 0.0324514434, -0.0185010601, 0.0103132091, -0.0170994978, 0.0000784656, 0.072876431, 0.071061641, -0.0030887211, -0.0403221026, -0.0196555201, 0.0119641256, 0.0386381857, 0.0360613875, -0.031023996, 0.0105937459, -0.0390496925, -0.0349057131, -0.0543598682, 0.0418264568, -0.0150367981, 0.0320483297, 0.0173380617, 0.0459148847, -0.0437927917, -0.0046694814, 0.0294246096, -0.0328736492, -0.0098098116, 0.0058914339, 0.0116825001, -0.004884568, -0.0148887355, -0.0268423595, -0.0110770278, -0.0094831875, 0.00347447, -0.0042307251, 0.0109068993, -0.0669016838, -0.0368581377, 0.0414696336, 0.0063774614, -0.0123688532, -0.0330930166, -0.0317428373, -0.0323233195, 0.018550057, -0.0191249084, 0.0665801987, -0.0640738904, 0.0284448992, 0.0047295061, -0.0011541336, -0.0303642265, 0.0573702157, 0.0038549211, -0.0509647578, 0.0253342818, 0.0417362005, -0.0080280025, -0.0367810726, 0.0218302552, -0.0160525236, -0.0003353024, 0.0073288074, 0.0100551713, 0.0368775688, -0.0461601429, -0.0412244983, -0.0675708055, 0.0198824499, -0.0523892343, -0.0030182151, 0.0657932386, 0.035116192, -0.0302991718, -0.0102313077, 0.0077191116, -0.0065366388, -0.0286953878, 0.0076528373, 0.0434557684, 0.0382062718, 0.0133199571, -0.0613509491, 0.0197757725, 0.0184788238, 0.0303249881, 0.0094861863, 0.0052407254, -0.0403960645, 0.0372119136, -0.0513135456, 0.0195678081, 0.0105963266, -0.0261917189, -0.0362462215, 0.0217240658, 0.1144843772, 0.0552908033, 0.0105664767, 0.0157725699, 0.0428477302, -0.0200328734, -0.0239087176, 0.0314323045, -0.0218707733, -0.0161682609, 0.0080508143, 0.011158091, 0.0136766657, 0.0612018034, 0.0248633493, -0.0406047553, -0.045864597, 0.0471153818, -0.0052868095, -0.0565645099, -0.0413923524, 0.006220676, -0.0225182138, 0.0121264597, -0.0549603291, -0.0579652227, 0.075719066, -0.0001692168, 0.0383076742, -0.040659491, 0.0028490988, -0.009953104, 0.0112957414, -0.0401355587, 0.0325354338, -0.0201394446, 0.0108467247, -0.0767445937, -0.0198577996, 0.0458546951, -0.0014174598, 0.0340260603, -0.063621521, 0.0009629088, 0.0133683402, -0.0315965451, -0.0379628725, -0.0345465839, 0.0196883772, 0.0214666501, 0.0230111256, -0.0346490853, -0.0012045678, 0.0091328649, 0.0058333501, 0.1065945029, -0.0299307108, -0.032800924, -0.0202761311, 0.0028275957, 0.068648994, 0.0168918148, 0.0068507958, -0.0046206932, 0.0104569085, 0.0371909291, 0.0190850999, -0.0252266768, 0.0051042549, 0.0097305188, -0.025353441, -0.0502097905, -0.0179860778, 0.0189868528, 0.0776697174, -0.0501180924, -0.0571156256, 0.1143447533, 0.0359524898, -0.0391247086, 0.0372850224, -0.0157444868, 0.0279376078, 0.0418255627, 0.026339341, -0.0861520693, -0.0396694168, 0.0140892044, 0.0459874831, 0.021982722, -0.029217951, -0.0236828811, -0.0553598404, 0.0284476262, 0.0243023187, -0.0461990871, -0.0422463901, -0.0190394428, 0.0251614302, -0.0127683673, 0.0412728377, 0.0269307233, -0.0060024671, 0.0260436684, -0.0219655726, 0.0176746566, -0.0991588607, 0.0017890201, -0.0426484272, 0.0448441729, 0.0746008605, 0.0146159185, 0.0457425751, 0.0077376175, 0.042700313, -0.0283731595, 0.0112780435, -0.0229168814, 0.0193644632, -0.0266456436, 0.0094788279, 0.013074371, 0.0456376337, -0.0245263185, -0.0338296443, 0.0065807374, 0.0479623489, -0.011447263, 0.0222281739, 0.0003204619, -0.0328896306, 0.0580231547, 0.0644393861, 0.0426388495, -0.0328614339, 0.0051726121, -0.045373708, 0.0066782078, -0.0463199541, 0.0039580408, -0.0093575669, -0.0044992766, -0.0143101634, -0.1025712192, -0.0411683545, 0.0171853881, 0.0414925739, 0.0253307726, 0.0030444036, -0.0322608165, -0.0198925938, -0.0561584122, 0.0027959454, -0.0469607748, -0.0110366661, -0.0473602936, -0.0319191441, 0.0419431925, -0.0520793386, -0.0062204981, 0.0443325788, -0.0425980128, -0.0696668252, 0.0069727837, 0.0554286242, 0.0188726354, 0.097566314, -0.022756638, -0.0422574729, 0.0670201555, 0.0401492454, -0.0127910711, 0.0570907779, 0.0153727503, -0.0016975398, -0.0011210276, 0.0519105829, -0.0453599729, 0.0082860747, 0.0451295003, 0.0640525743, -0.0194606166, -0.05139241, 0.0363765024, -0.0346379206, -0.0146881687, -0.0222779159, -0.030263165, -0.0517456718, 0.0449451506, -0.032849852, -0.0189835113, -0.0334391743, 0.0124204447, 0.0118731959, -0.0024934853, -0.0178572331, 0.0206375588, -0.0116831902, 0.0400405824, -0.0415014066, -0.0350599699, -0.007743658, 0.0048986604, 0.0301115233, 0.0209655669, 0.0110769104, 0.0421484038, -0.0237626024, 0.0056715086, -0.0332543142, 0.023547614, 0.0295906961, -0.0262215734, -0.0454805605, 0.0450920686, -0.0552752167, 0.0323112905, -0.0574107543, 0.0094395559, 0.0632140413, -0.002979113, 0.0439467989, -0.0397661589, -0.0423219837, -0.0160042848, 0.0490828566, 0.0197646394, -0.0248111282, 0.0039579589, 0.0079386858, -0.0190725289, 0.0286056381, 0.0602215603, -0.0054241358, 0.1023977548, -0.0362625346, -0.0060842116, -0.0587085113, -0.0003919385, -0.0036567326, 0.0154601093, -0.0281706862, 0.0101483306, -0.0073805433, -0.083753556, -0.0046661487, 0.0254916772, -0.0318981148, 0.0427685864, 0.0461273864, 0.0646634102, -0.0330900513, -0.0127686057, -0.0282603614, -0.0051910221, 0.0144844381, 0.0041360529, -0.0149369044, -6.544771244e-33, -0.0227128938, -0.005909143, 0.0165917184, 0.0028730619, -0.0226371773, -0.0150918616, -0.057137005, 0.0010049621, -0.0011007196, -0.0027073119, -0.0258343183, 0.0194462985, -0.0048965625, 0.0347192921, -0.0140841678, 0.0206892341, 0.0720055997, 0.011435993, -0.0417224877, 0.0215345174, 0.0136626177, 0.042440854, 0.0654843226, -0.0328251123, 0.0176309962, 0.0217726007, -0.0422553979, 0.0381891653, -0.0262295287, 0.0450071581, -0.0138035053, 0.0357400589, 0.0037887394, -0.0131688379, -0.0369743556, -0.0509869456, -0.0485414863, -0.0226269979, -0.009246584, 0.0128822578, -0.0309946537, -0.0743258819, 0.0605451427, -0.0193373337, -0.0311714318, -0.0058807014, 0.0269367844, -0.0338961631, -0.0210979208, -0.041820623, -0.0810499787, 0.0174888447, -0.0028050183, -0.0435814075, -0.0189954247, -0.0386545397, 0.0267738588, -0.0310625508, -0.0758264586, -0.0009460059, 0.0057197567, 0.0563430116, 0.0782305077, 0.0151211061, -0.005785686, 0.0212109406, -0.0079734921, 0.0163045768, 0.0188344792, -0.0390713364, 0.0311877895, 0.0122229811, -0.0046975794, 0.0723661184, 0.0062563298, -0.0213509742, -0.0656791255, 0.0080147367, -0.0470710769, 0.0056856042, -0.0100456802, 0.0467481166, 0.0052221548, -0.0021112249, -0.0588655248, -0.0064142994, -0.0281593855, -0.0173843578, 0.0374399461, 0.0582910851, -0.0300669, 0.0225483831, -0.0119644729, -0.0106724007, 0.0067259148, 0.0288028121, -0.0267980862, 0.0062357513, 0.0057669668, -0.0073164986, -0.0387781039, 0.0242243484, 0.0354404859, 0.0296499152, -0.0133186039, 0.0012492427, 0.0557417497, 0.0543095283, -0.0531254821, 0.0203787293, -0.0069052866, 0.0572216436, -0.00808076, -0.0146185113, 0.0023834109, -0.0069718445, -0.0252201222, 0.0235589053, 0.0573084578, 0.0072715282, -0.008510056, 0.03843119, 0.0016294841, 0.0340246484, -0.018464461, 0.0079852631, 0.0090436656, -0.010270129, 0.035341382, -0.0570832454, -0.0249658152, -0.0111253709, 2.738e-7, 0.0761720464, 0.0564823896, 0.0132119711, -0.0129978359, 0.0287314355, 0.0196098667, -0.0133586694, 0.0074603502, -0.0004640415, -0.0101606511, 0.0375977233, 0.0387253575, 0.0104347169, -0.003390095, -0.0696671382, 0.0450032465, -0.0536988899, 0.0480620749, -0.0275058188, -0.0401627384, 0.0007503592, 0.0693086013, 0.0252004564, -0.0169283282, -0.011510795, -0.0361391567, 0.0747196525, -0.0260552298, 0.0131331552, 0.0471402965, -0.0102103474, 0.0307994764, -0.0043421965, 0.0183740221, -0.072107695, 0.0073023601, -0.0228220336, 0.0806984305, -0.0274609253, 0.0061613573, -0.0026875858, 0.040931493, 0.0097229648, -0.0669848472, 0.0550872944, -0.0751991272, 0.0103122229, -0.0265591294, -0.0013353967, 0.032977134, 0.0106794713, -0.0488711409, -0.0360257067, 0.0157391783, 0.035514731, 0.0846549198, -0.0416727103, -0.0568908863, -0.0423006974, 0.0136823896, -0.0279459711, -0.0288699344, -0.0589950383, -0.0297740474, 0.0366667025, -0.0720180571, 0.0090531139, 2.709232773e-34, 0.0229491983, 0.0145496782, 0.0256207585, 0.0074543729, 0.0174738355, 0.0104337651, 0.0083634946, -0.0064831339, 0.0219148565, -0.0613403209, -0.0344989859 ]
http://arxiv.org/abs/2406.11193v1
http://arxiv.org/pdf/2406.11193v1
MMNeuron: Discovering Neuron-Level Domain-Specific Interpretation in Multimodal Large Language Model
2024-06-17T03:59:44
2024-06-17T03:59:44
Jiahao Huo, Yibo Yan, Boren Hu, Yutao Yue, Xuming Hu
cs.CL
cs.CL
Projecting visual features into word embedding space has become a significant fusion strategy adopted by Multimodal Large Language Models (MLLMs). However, its internal mechanisms have yet to be explored. Inspired by multilingual research, we identify domain-specific neurons in multimodal large language models. Specifically, we investigate the distribution of domain-specific neurons and the mechanism of how MLLMs process features from diverse domains. Furthermore, we propose a three-stage framework for language model modules in MLLMs when handling projected image features, and verify this hypothesis using logit lens. Extensive experiments indicate that while current MLLMs exhibit Visual Question Answering (VQA) capability, they may not fully utilize domain-specific information. Manipulating domain-specific neurons properly will result in a 10\% change of accuracy at most, shedding light on the development of cross-domain, all-encompassing MLLMs in the future. Our code will be released upon paper notification.
[ 0.043035455, 0.0353107005, -0.0248603243, 0.090530552, -0.020228805, 0.0005991472, 0.0429165438, -0.0171946753, -0.0131097063, -0.0591330864, -0.0539086126, -0.045686055, 0.0249603447, 0.0549136922, 0.0681895763, -0.0310280751, 0.0278034229, -0.0361582376, -0.0551680066, -0.0267960522, 0.0149931004, 0.0148392962, -0.007962184, 0.0582485683, -0.0057529947, -0.0367948376, -0.0184104256, -0.0033060666, -0.0144116553, 0.027815327, -0.025668839, 0.0190081522, 0.0566349067, 0.0018631683, 0.0000019127, -0.0321692675, 0.02380923, -0.0069339019, 0.027387239, 0.0141011868, 0.0323370285, -0.050686717, 0.0067945686, -0.0075079119, -0.0270443521, -0.0658077002, 0.0837581158, 0.0352281779, 0.0435285829, 0.0341656022, -0.0094698817, -0.0345037542, 0.00296282, -0.0170608554, 0.0062362948, -0.0348741263, 0.0072027831, 0.0338239186, -0.0071704094, -0.0147910221, -0.0670032054, 0.0614762753, 0.0328846313, -0.0050002872, -0.0203248598, 0.0456206724, 0.0313646607, -0.0493234545, -0.011127485, 0.047636874, -0.018672578, -0.0165593736, -0.0348536931, 0.0114682727, 0.0061544552, 0.01869414, -0.0326713882, 0.0436737202, 0.0002981294, 0.0142824287, -0.0133337462, -0.0442928188, 0.0253005177, 0.002142139, -0.0279333498, 0.0276701227, 0.041564472, 0.0343711264, -0.0335477665, 0.0279432908, -0.0423691757, -0.0468911752, -0.0025299785, 0.0403876938, 0.0225039143, 0.0166239124, -0.0212224573, -0.0251935236, -0.013672201, -0.0152870761, 0.0459423624, 0.0197059195, -0.0333181769, 0.048448965, -0.0043896297, 0.0421181135, -0.0460911542, 0.0040329685, -0.028902771, -0.0479004644, -0.019525487, -0.0438819341, -0.003954778, -0.0017073147, -0.0442983881, -0.0656206012, -0.0060046148, 0.0398605205, 0.013869076, -0.0473881513, -0.0198140126, 0.0292679965, -0.0060157948, -0.0140890619, -0.0241033379, 0.0888957381, -0.0167152118, 0.0129405167, -0.0250908639, -0.030795034, -0.0101216994, 0.0539636761, -0.0051849158, -0.0587872826, -0.0013755783, 0.1019200534, -0.0240657218, -0.0540656336, -0.0204925761, -0.0196477063, -0.0501816981, -0.0197237041, 0.0768896267, -0.070575133, 0.015159091, 0.011890972, -0.0124673834, -0.0206764881, -0.0009620205, -0.002267421, -0.0096719489, 0.0999358892, -0.0214394592, 0.0050398228, 0.047150705, 0.0114516271, -0.0044834614, 0.0517726578, 0.0067839306, 0.0276907608, 0.025508156, -0.0082906419, 0.0128372628, 0.0798965618, 0.0022888221, -0.0132758571, -0.0554035045, -0.0169544388, 0.0190290865, 0.0119338613, 0.054691609, 0.0141843073, -0.0249953121, -0.0387439243, 0.078577511, 0.0555826686, 0.0234299209, -0.018012315, 0.0354806073, -0.0231655706, 0.0135635836, -0.0005804065, -0.0496112891, 0.0737429112, 0.0018029895, 0.0031783753, 0.0089077735, 0.0743943229, -0.0200569518, -0.0194066968, -0.0058330521, -0.0137020415, -0.0239080321, 0.0314390846, 0.0705107301, 0.0236435495, 0.0029822071, 0.0238129031, 0.0187237393, -0.0049366551, 0.0022932922, -0.0494881049, 0.0189183559, 0.0008123692, 0.0296003502, -0.0055170348, -0.0169501863, 0.0086033614, 0.0296641216, 0.0642286986, 0.0051459586, -0.0079676379, 0.0428022221, -0.0332039371, -0.0226211026, -0.0385898091, -0.0057028267, 0.0203799699, -0.0067065242, -0.013879898, -0.000694625, -0.0467176326, 0.0235829279, 0.0242490135, -0.0052937963, 0.0141245602, -0.020307282, 0.0279520433, -0.0222759675, -0.0195285827, -0.0244864821, 0.0234460365, 0.0073638107, -0.0572617762, 0.0112994667, 0.0016947832, -0.0213395488, -0.0384359471, 0.0628571212, -0.0519485399, -0.0072734826, 0.0023745187, -0.0074011493, 0.006106196, 0.0234450884, -0.0457448661, 0.0202779733, -0.0812510848, -0.0193263758, 0.012889442, 0.0395586304, -0.0450657792, 0.0434505716, -0.0026682615, -0.0038961987, 0.0141416229, 0.0019786912, 0.0303977765, 0.0044674329, -0.0486837402, 0.0520548187, -0.0080038207, 0.042016048, -0.0063407831, -0.0174802318, -0.0146786571, -0.0021621017, -0.0757265389, -0.0372530185, -0.0082688397, -0.027483413, 0.0234433785, 0.0163148865, 0.0165023766, -0.0198721047, -0.0317717083, 0.019060893, 0.0252898261, 0.0486722626, 0.0192746613, -0.0068584564, 0.0081760744, -0.0260888059, -0.0408413038, -0.020705102, 0.0924140289, -0.0097107068, -0.0201029107, -0.0537515618, -0.0137080159, -0.051282227, 0.0315728262, -0.0062790122, -0.0364938751, 0.0327832811, -0.0444125906, 0.0375704803, 0.0858161971, -0.0158121828, 0.0221940093, 0.052478686, -0.0286420994, -0.0278568827, -0.0133943753, 0.0051298751, -0.0133626033, -0.0434006006, 0.0135221211, -0.0296493042, 0.0690809265, 0.0112615479, -0.0344824605, -0.0370576493, 0.0314434022, -0.0187639594, -0.0624679998, -0.060107898, 0.0295751542, -0.0045685135, 0.0483269729, -0.0238064975, -0.0559800044, 0.0487866215, -0.0269188322, -0.0204477198, -0.0096263597, -0.0137872305, -0.0207272358, 0.073834911, 0.0371790528, 0.0446437709, -0.0052356077, -0.0135604888, -0.0618672408, 0.0119277444, -0.0141253797, -0.0135727078, 0.0872631148, -0.0325595476, -0.0297072548, -0.0169176217, -0.006309927, -0.0176822636, -0.0217216685, -0.0380866714, -0.0041150297, -0.0557565615, -0.0078102164, -0.0311671328, 0.0050451062, 0.0411064625, 0.0071839504, -0.0369073376, 0.007768936, -0.0300023798, 0.0468243808, 0.0658614337, 0.0638787746, -0.0093879532, -0.029399246, -0.0146549745, 0.0422564372, -0.0150624998, 0.0042806594, -0.0654066429, 0.0317540243, 0.033282239, 0.0497577824, -0.0285562184, 0.0146681657, 0.0466605909, -0.0391161479, 0.0116042895, 0.0778373554, 0.0142172119, -0.0584819354, -0.0193213932, -0.0269185435, 0.0242101047, 0.0398440771, 0.0418243296, -0.0696917921, -0.0560297631, -0.0296591222, -0.0312606134, 0.0464789532, 0.0261868145, -0.0153865227, -0.1149836481, 0.0359569639, -0.0090206657, -0.0050702328, -0.0372907743, 0.0273150261, -0.0196438655, 0.0371286273, 0.016948482, -0.0093942471, 0.0035259563, -0.0025313566, -0.0125489514, 0.0627722219, -0.025965564, 0.0209713932, -0.0497603342, 0.0193524007, 0.0810046792, 0.0246815402, -0.0236756392, -0.0269382223, 0.0312334877, 0.0049494789, 0.0073168259, 0.0008746502, 0.0712322593, -0.0064784726, -0.0328793116, 0.0034431836, 0.0074012051, -0.0055706194, -0.0271952152, -0.0202005003, 0.0730094984, -0.0208219122, -0.0161418542, -0.0184583999, 0.0215822794, -0.0275115408, 0.0421831943, 0.0518883839, -0.0716521591, -0.0225801188, -0.0110750487, -0.0258943811, 0.0137327341, -0.0606516786, 0.0149386423, 0.0463661999, -0.003443412, -0.0374338701, -0.0265370179, 0.0365597717, 0.0343016014, 0.0014761685, -0.022478953, -0.0145349335, -0.010531785, -0.0578573756, 0.0759475455, -0.024978688, 0.0355590805, -0.051623635, 0.0410636663, 0.0460345447, -0.071545966, -0.0190382041, 0.0195279103, -0.0697086304, -0.069127284, -0.0432061963, 0.019646354, 0.0160686262, 0.0079611121, -0.0171910729, -0.0548605658, 0.0057661301, 0.0212563891, 0.0207009949, 0.0578346364, -0.0043233172, -0.0328239091, -0.0132488338, 0.0169614255, -0.0305455774, 0.0095025627, 0.0292682853, 0.0169308912, 0.0306813587, -0.0417114086, 0.0074315425, -0.0002460663, 0.045272626, -0.0054590949, -0.0017320479, -0.0371206626, -0.0211176593, 0.0174791049, -0.0030882065, -0.0691742823, -0.0019275153, 0.0301840603, 0.0211853385, 0.0114440611, -0.0116320783, 0.024109751, 0.0146998977, -0.0319122374, -0.0096804267, 0.0243286472, -0.0464803092, -0.0168290231, 0.0194690283, 0.0015808525, 0.0144438921, -0.0256902296, 0.0366322808, -0.0169618875, 0.0748590156, 0.0194207244, -0.038274236, -0.0447183587, 0.0520341359, -0.0235336144, -0.0589178316, 0.0121599818, 0.0336657539, 0.0735279024, -0.0151736168, 0.0500834212, -0.0151676992, -0.0092615252, -0.0154598085, 0.0134598389, 0.00264175, -0.0114135947, 0.1042728797, 0.0150773451, -0.0067339842, -0.0494178794, 0.0540164001, 0.0415790416, 0.0085166562, 0.0016140314, 0.0204524547, -0.0034554768, -0.0482524037, 0.0429000072, -0.017594127, -0.0380143523, 0.030032495, -0.0351058245, -0.1013259292, -0.0031428752, 0.0351422355, -0.058502771, 0.0132660251, 0.0064183054, 0.074190706, 0.0488336943, -0.0381588079, -0.0283676144, 0.0085648838, 0.0197070725, -0.0030849052, 0.0168927275, -6.000742908e-33, -0.033076331, -0.0269900598, 0.0290971957, -0.0169913378, -0.0043675392, 0.0153452419, -0.0230097845, 0.0203580745, -0.034782026, 0.0120170685, 0.0175344478, 0.0062277606, -0.0040217694, 0.0380893461, 0.011209134, -0.0047095427, -0.0267910417, 0.003655388, 0.0088453814, -0.0343470648, 0.0087823952, 0.0060918536, 0.070494324, -0.036258202, 0.0093790861, 0.0409754999, -0.0078844801, 0.033288639, -0.031382259, 0.090779148, -0.049139332, 0.0321603641, 0.0401560292, -0.025024984, -0.0265974738, 0.0274036918, -0.0561814122, -0.0049612327, 0.050423719, 0.0138909714, -0.0517879277, -0.0071006217, 0.0605642237, -0.040193703, 0.0241982155, -0.0409381986, 0.0441953242, -0.0183502566, -0.008242703, 0.0370170064, -0.0890368372, -0.0038766779, 0.0246490706, 0.0009656114, 0.0220280737, 0.0323348939, 0.0244862717, 0.0363061279, -0.0507603139, 0.0157402325, -0.0407123603, 0.0585097671, 0.0746915489, 0.0625627935, 0.0174522381, 0.0644443929, 0.0351004973, -0.0441682413, -0.0295181721, -0.0210385676, 0.0456506759, 0.0206227023, 0.0541469678, 0.0667509958, -0.005507905, 0.0240748953, -0.0194786619, -0.0204532072, -0.0519546494, 0.0286147334, 0.027904341, -0.0151408827, 0.0400063768, -0.004385842, -0.0380574614, 0.0069132601, -0.0559222028, -0.0137663968, 0.0519069657, -0.0152026573, 0.0009407647, 0.0354021862, 0.0762889087, -0.0565528125, -0.0152434055, 0.0234994143, -0.0020234529, 0.048120331, 0.0159403253, 0.043053627, -0.0141650001, 0.0187186468, 0.0038985508, -0.0281910114, -0.0022104131, 0.0364098623, -0.0048748348, 0.0028435215, -0.0251188353, -0.0076707122, -0.054157339, -0.0416204035, 0.0070539457, 0.0769471899, 0.0177022945, 0.0034943952, -0.0518484265, 0.002494348, 0.0234919861, -0.0329906605, -0.0320843123, -0.0123121785, -0.0036232513, 0.0383494534, -0.0632347167, 0.0010143253, -0.0627028644, -0.01869178, 0.0369092077, -0.0586130694, -0.0132884709, 0.0292447321, 2.638e-7, 0.0720013902, 0.0048426655, -0.0065370505, 0.0372339003, 0.0216130167, 0.0621015429, -0.0215328224, 0.03561984, 0.0285468735, -0.0636419803, -0.0332633108, 0.0548426397, 0.0184588563, -0.0128146382, -0.0358074158, 0.0305279475, 0.0068135587, 0.0093285246, -0.0435819887, 0.0077772993, 0.0221815687, 0.1130136922, -0.0191584267, -0.0400302261, 0.0395398512, -0.0869225636, 0.0889491811, -0.0097486125, -0.0224481579, -0.0206107628, -0.0071716313, -0.00766704, 0.0002663787, -0.0112438258, 0.0152608026, 0.0002062296, 0.0394685753, 0.0358987227, -0.0319012515, -0.0135698933, -0.0244675986, -0.0180340447, -0.0367155522, -0.0542176068, 0.0696897134, -0.043739073, -0.0320323184, -0.0447802134, 0.0401224531, -0.026724983, 0.0265090689, -0.0478615649, 0.0001972177, 0.0081625711, 0.02680072, -0.0271967556, -0.0175970141, -0.0676168874, -0.0306928866, -0.0237811599, -0.0705484822, -0.0052605378, -0.0529191718, -0.028977938, 0.0537130535, -0.0404173136, -0.0407942384, 2.213071301e-34, 0.0001444968, -0.0073896782, 0.0124915, 0.0216950513, 0.0399219058, -0.0225037131, -0.0334100276, -0.0216853116, -0.0204459205, -0.0954911932, -0.0309882089 ]
http://arxiv.org/abs/2406.11192v1
http://arxiv.org/pdf/2406.11192v1
Beyond Boundaries: Learning a Universal Entity Taxonomy across Datasets and Languages for Open Named Entity Recognition
2024-06-17T03:57:35
2024-06-17T03:57:35
Yuming Yang, Wantong Zhao, Caishuang Huang, Junjie Ye, Xiao Wang, Huiyuan Zheng, Yang Nan, Yuran Wang, Xueying Xu, Kaixin Huang, Yunke Zhang, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL
Open Named Entity Recognition (NER), which involves identifying arbitrary types of entities from arbitrary domains, remains challenging for Large Language Models (LLMs). Recent studies suggest that fine-tuning LLMs on extensive NER data can boost their performance. However, training directly on existing datasets faces issues due to inconsistent entity definitions and redundant data, limiting LLMs to dataset-specific learning and hindering out-of-domain generalization. To address this, we present B2NERD, a cohesive and efficient dataset for Open NER, normalized from 54 existing English or Chinese datasets using a two-step approach. First, we detect inconsistent entity definitions across datasets and clarify them by distinguishable label names to construct a universal taxonomy of 400+ entity types. Second, we address redundancy using a data pruning strategy that selects fewer samples with greater category and semantic diversity. Comprehensive evaluation shows that B2NERD significantly improves LLMs' generalization on Open NER. Our B2NER models, trained on B2NERD, outperform GPT-4 by 6.8-12.0 F1 points and surpass previous methods in 3 out-of-domain benchmarks across 15 datasets and 6 languages.
[ 0.0326466672, 0.0816315114, 0.0377493203, 0.0469106138, 0.014272579, 0.0456180274, 0.0119271791, 0.0197213814, 0.0023957579, -0.0514970347, -0.0293408185, -0.0705155507, 0.0023496342, 0.00901841, -0.0054546567, -0.0158321671, 0.0244924258, 0.0070903678, 0.0006856062, -0.002123792, -0.0313667208, 0.0274644326, 0.0126345409, 0.0053317943, 0.0194245465, 0.0047330679, 0.0047637457, 0.0213794839, 0.0489404686, -0.0478219911, 0.0283168294, 0.0386777073, 0.0091224611, 0.0970475972, 0.0000019313, -0.0871169418, -0.0646029711, 0.0135847032, -0.0204560906, 0.0080750408, 0.008590444, -0.0283687189, -0.0071556526, 0.0038412691, 0.0121709602, -0.1089463606, 0.0601994582, 0.0847849324, 0.016526388, 0.0813996494, 0.0003781039, -0.047992982, 0.0113663068, -0.0284998734, -0.0254434198, -0.0263526123, 0.0585179105, -0.0192675963, -0.0297683477, 0.0053588799, -0.0072541274, -0.0163544212, -0.0143004525, 0.0519991852, -0.0070702955, 0.0519364849, -0.0262525082, 0.0080557624, 0.0237155184, 0.1002396792, -0.0155577557, 0.0029879506, 0.0315065943, -0.0128072482, -0.0231742915, -0.0211075004, -0.0134535283, 0.0447977185, -0.0485354178, 0.0291080624, 0.0075864629, -0.0210967716, 0.0597582795, 0.0100073349, -0.047659494, 0.0217118673, 0.0260963924, -0.0462458506, 0.0122069241, 0.0179120097, -0.0618339591, -0.0426714458, -0.0099526066, 0.0142659787, 0.0033610994, 0.0359449238, -0.0375946797, 0.0164317023, 0.0207007732, -0.0374205746, -0.0070391293, 0.0100550679, -0.024268873, 0.0456124172, -0.0219301898, -0.0032475707, -0.0086842375, 0.0267109517, 0.0157806855, -0.049242232, -0.0721948519, 0.0034730243, -0.0156927332, 0.0393666252, -0.0041171629, -0.0037124469, -0.0304941498, -0.0034456516, -0.013117074, 0.0330192931, 0.0403764211, -0.0329010151, 0.0043612844, -0.0162614267, -0.0583964065, 0.002791235, 0.0016906769, 0.0032212019, -0.0327906385, -0.0719724819, 0.0044447561, -0.0251040664, 0.0109813195, -0.0488386005, 0.0155083118, 0.042039685, 0.0389713049, -0.0752580166, -0.0876666009, 0.0120849833, 0.0048418888, -0.0618788525, -0.0064469166, -0.035316322, 0.0202957503, -0.0002609169, 0.0164681077, -0.0815741718, 0.0243032798, -0.0058041695, -0.0564094707, 0.0740791634, -0.0759925619, -0.0051507684, 0.0281965584, -0.0076226941, 0.037361782, 0.0574020967, 0.0185969695, -0.0604613833, 0.0615040399, 0.0199733246, 0.0072231754, 0.025473468, 0.0131106982, 0.0050060754, 0.0287450887, 0.021738667, 0.0312632956, 0.0305867139, 0.0355477445, 0.0402923711, -0.00641071, -0.0233877525, 0.0243098121, -0.0214866456, -0.0017524912, 0.0044376687, 0.0310045034, 0.0057716379, 0.0007182223, -0.0149783101, -0.0483086631, -0.0329689085, 0.0095748231, 0.0191845987, 0.0156298466, 0.0587139092, -0.0374416299, 0.0094762724, -0.0414814577, -0.0099340873, -0.0079843635, 0.0170306619, 0.075147137, 0.0085764406, -0.033789847, 0.0947174728, 0.0415525623, -0.0205284767, 0.0029122154, -0.0152569348, 0.0358204991, 0.0333975703, 0.0274126995, -0.0424173623, -0.0227073133, -0.05724838, -0.0197712649, 0.0705651864, 0.0365162417, -0.0144571671, 0.0380019061, -0.0494114421, -0.0063873967, 0.0077221687, 0.0368759744, 0.0239598993, 0.0327832513, 0.0493515991, 0.0429916605, -0.0595569424, -0.0494040586, 0.044556506, -0.023204647, -0.0353081748, 0.0226965677, 0.0304942727, 0.0006322444, 0.043919012, -0.03577796, -0.0352545083, 0.0098223286, -0.0030260417, -0.024223702, -0.053404972, 0.0008046703, -0.0090648886, 0.0466501489, 0.008504807, -0.0449193567, 0.0246135723, -0.0635287985, -0.037471991, -0.0305759795, 0.0483814776, 0.021001691, -0.066228807, 0.0414627045, -0.0122583006, 0.0273799784, 0.0029313629, 0.068317309, -0.0155531978, 0.0408898145, 0.0133625129, -0.0092937127, 0.026788827, -0.0268042907, -0.0678600818, 0.0284884479, -0.0210396592, 0.0212055519, 0.0069503975, 0.0252439398, -0.0499323793, 0.0003385137, -0.0798328072, 0.0193797499, -0.0240844339, 0.0450251028, 0.0115971118, 0.0400741585, -0.0255791396, 0.0092856335, 0.0187966824, -0.0313739851, -0.0209824033, -0.0007699664, 0.0334179886, -0.0264907256, -0.034688592, 0.0309013426, 0.0095491679, -0.0186941884, 0.0285359714, -0.0237904433, -0.0249782391, -0.0873183757, 0.0449756645, -0.0606107414, 0.0204712506, 0.0058858143, 0.0369761437, -0.0237745252, 0.0356017277, -0.0095981602, 0.0299637951, -0.0231096782, -0.0095104659, 0.0173875969, -0.0095875869, -0.0381912775, 0.0166021101, 0.004059149, -0.0082529383, 0.0004014118, -0.0317673124, 0.0142605426, 0.0635890141, -0.0276707187, -0.0150549784, -0.035707958, 0.007033919, -0.0230971612, 0.0176351033, -0.0228524525, 0.0239018183, -0.014497648, 0.0128739234, -0.0251278542, 0.0033468637, 0.0508326627, -0.0549060106, 0.0139403772, -0.01114232, 0.0134035489, -0.0713365749, 0.0238408856, -0.019594444, 0.0026726068, 0.062744379, -0.0639948845, -0.0199857075, 0.0411093719, -0.0063343588, -0.0204072911, 0.0632690415, -0.0194782075, 0.0260482095, -0.0228439365, -0.026501976, -0.0313303135, 0.0231065601, -0.0320906527, 0.0357770361, -0.0293299239, -0.0211301707, -0.0171649028, 0.0397650786, -0.0248903409, 0.0357627124, 0.0168810934, -0.0088895978, -0.0182736386, 0.0246697161, 0.0313322842, 0.0182758626, 0.024808215, -0.0158470627, -0.0100262016, -0.0162307695, -0.0227180347, -0.0158308502, 0.0205741767, -0.0171389971, 0.0192062203, -0.0651471019, 0.0048737363, -0.0211981479, 0.0334337465, -0.0010521769, -0.0154283661, 0.1079105288, 0.0028383743, -0.0170741994, -0.0289399996, 0.0067631281, 0.0212684404, 0.0238318555, -0.0109197078, -0.1133030131, -0.0469834544, 0.0194669832, 0.0015261922, 0.0224767122, -0.0629935265, -0.0097890291, -0.1486897916, 0.0089821145, -0.0101104071, -0.089283742, -0.0137605323, -0.0357554257, 0.0246332809, -0.0620101541, 0.0357103422, -0.0236432776, -0.0149763692, -0.0014362755, 0.0036883317, 0.0134025654, -0.0807399601, 0.0301782507, -0.0677764937, 0.041519586, 0.014049842, 0.0181144457, -0.0069525517, -0.0000777841, 0.0237247776, -0.0501585118, -0.0609333254, -0.0176962707, 0.0465645976, -0.0474042073, -0.0078705102, -0.0121224513, -0.0004623519, -0.0365755819, 0.013049637, 0.013274122, 0.0715080872, 0.0197322723, -0.0103954189, 0.0181678068, -0.0603404418, 0.0078077023, 0.0787139535, -0.0091954945, -0.0194628853, -0.0144170113, 0.0144285699, -0.0350213833, -0.0135449423, 0.0244603995, 0.0467782021, -0.0459093116, -0.0651164651, -0.0193105098, -0.0552124828, 0.0348529406, -0.0088742403, 0.0128645739, 0.0232919119, 0.0063148197, 0.0235967562, -0.0548183806, 0.0382805616, -0.044852633, 0.0226252731, -0.0611329749, 0.0016873474, 0.011018578, 0.0011558738, -0.0422830693, 0.0332250744, -0.0697706938, -0.056290783, -0.0074715735, -0.0146507993, 0.0109245293, 0.051295273, -0.0079512633, -0.0090428842, 0.0276488177, 0.0404980853, -0.0424183086, -0.0088151395, 0.0131115783, 0.0301567186, -0.0015697536, 0.0434048697, -0.0540783517, -0.000938394, 0.0515957847, 0.0422973707, -0.0067959656, -0.018059222, 0.0099395318, 0.0438419543, 0.05195437, -0.013254582, -0.0201613437, -0.076949425, 0.0213189069, 0.0348412879, 0.002650192, -0.0325605869, 0.0140301529, 0.0546893962, -0.0098853819, -0.0232343264, 0.0732350051, -0.000867429, 0.0300471317, -0.0458075032, -0.0172772389, 0.0079633528, 0.0728786662, 0.0241914019, -0.0501552299, -0.0159285124, 0.0380448774, 0.0363749675, 0.0177714955, -0.018925216, 0.0306662749, 0.0020829008, 0.0422758013, -0.0009121646, -0.003299399, -0.0055863834, -0.0252441391, -0.0301613845, 0.0455704741, 0.0585130081, 0.019543102, 0.0478395484, -0.012691915, -0.0117403688, -0.018509943, 0.0155970454, -0.010629449, -0.0038650879, 0.0237404704, 0.0017077884, -0.0353786536, -0.009122517, 0.0632198825, 0.0077451468, 0.0478192307, -0.0111445514, -0.0087742042, -0.0331769325, -0.0065375832, 0.0259018522, -0.0217490979, -0.0320577472, 0.0049410863, -0.0378705934, -0.060502369, 0.0134672634, -0.031048676, -0.0163177587, 0.0323040262, 0.002086651, 0.0194922611, 0.0094688982, -0.0298302975, -0.0197433885, -0.0384333655, 0.0048618363, -0.038695775, -0.0051480979, -6.401432198e-33, -0.0108091757, 0.0058105998, 0.0066349143, -0.0596631542, -0.0290455092, 0.0071184714, 0.0057704975, -0.0257609021, -0.0226175506, -0.0362577438, 0.0032706002, 0.0236048214, 0.0322575159, 0.0284224432, -0.0088491989, -0.0409100689, 0.0463018678, 0.0350357518, -0.0201674532, 0.0163111314, 0.0669872314, 0.0489502028, 0.0985208452, -0.0791510344, 0.0685933158, -0.0059053292, -0.0242659841, 0.0167267546, 0.0647296831, 0.0585683845, -0.0462562703, 0.0595401227, 0.0292781238, -0.0444020256, -0.0006896227, -0.0205327328, -0.1604975313, 0.0115831224, -0.0298185255, 0.0354085937, 0.0013390408, -0.0212514363, 0.0142696127, 0.007500628, 0.031631384, -0.0176885761, 0.0228914451, -0.004417452, 0.0058976253, 0.0077427714, -0.0355635583, 0.0657598972, 0.0250786841, 0.0424300209, 0.023793146, -0.0066327155, 0.0163585506, -0.0085069975, -0.0742996186, -0.0088306824, 0.0473160259, -0.0450452603, 0.0307959076, 0.0248048082, 0.000865934, 0.0309506338, 0.000380897, -0.0157850087, -0.0378943942, -0.0297505837, 0.0110394545, 0.0265100487, -0.0331456959, 0.0675091371, 0.0351180062, -0.0429338962, -0.0855072066, 0.0318314098, -0.0229119286, -0.0195109267, -0.0054403609, -0.0319557264, -0.0313618816, -0.0055068396, -0.0079829767, -0.0147757856, -0.0602850989, -0.0093543306, 0.0440918021, 0.0151228672, -0.0406241678, 0.0110105816, 0.029895369, -0.0405831821, -0.0761276186, 0.0238841698, 0.0340084545, -0.0100859683, 0.0063398848, -0.0095687909, -0.066553928, -0.0691033527, 0.0168836284, -0.0108517157, 0.0053051417, 0.0061293957, 0.0563695394, -0.0074095796, -0.0611589327, 0.0199889634, -0.0054109162, 0.0207732562, -0.0218629111, 0.0466153361, 0.0094039189, 0.0036929396, 0.0153716216, 0.0312688686, 0.0902732834, -0.005272876, -0.0242414698, 0.0182713028, 0.0106893806, 0.0256783534, 0.0001065606, 0.0089988383, 0.0248113461, -0.0281030852, 0.0269800462, -0.0444347188, -0.004432444, -0.0044898954, 2.656e-7, 0.0252205711, -0.0181096513, -0.0057301172, 0.0324968025, -0.0368229933, 0.0265443679, 0.0043770531, 0.0682548359, -0.0549039096, -0.0007298723, 0.0142115066, -0.0139670074, 0.0440455228, 0.0197028518, -0.0988964364, -0.0020485404, -0.0150155229, 0.0115235252, -0.0618335903, 0.015872078, 0.0122429058, 0.0991081968, 0.0099140853, -0.030174166, -0.0207239892, -0.0172382686, 0.0528641678, -0.0149623984, 0.0261854101, 0.044781018, 0.0169159211, 0.0779194236, -0.0084309559, 0.0223522857, 0.002279934, 0.0448509008, 0.0276572946, 0.0420290083, 0.0197356064, 0.0329884812, -0.0111623481, -0.0508044325, 0.0077045769, -0.0676677823, 0.0762303472, -0.0208301079, -0.0259195678, 0.0296720006, 0.010944345, -0.0235333983, 0.0598872826, 0.0004958935, -0.0017722894, 0.0354667343, 0.018038502, -0.0273146667, -0.0053238175, -0.0765631944, 0.0334903635, 0.0050803092, -0.0057773902, -0.0202880595, 0.0174874552, -0.007099513, 0.0193366725, -0.0518795028, 0.0294414163, 2.366449896e-34, -0.0020499204, 0.0093841413, -0.0454923287, 0.0146101462, 0.0512038656, -0.0388920791, -0.0276687052, -0.0007432103, -0.0425636247, -0.0407996774, 0.0149806933 ]
http://arxiv.org/abs/2406.11191v2
http://arxiv.org/pdf/2406.11191v2
A Survey on Human Preference Learning for Large Language Models
2024-06-17T03:52:51
2024-06-18T08:18:33
Ruili Jiang, Kehai Chen, Xuefeng Bai, Zhixuan He, Juntao Li, Muyun Yang, Tiejun Zhao, Liqiang Nie, Min Zhang
cs.CL
cs.CL
The recent surge of versatile large language models (LLMs) largely depends on aligning increasingly capable foundation models with human intentions by preference learning, enhancing LLMs with excellent applicability and effectiveness in a wide range of contexts. Despite the numerous related studies conducted, a perspective on how human preferences are introduced into LLMs remains limited, which may prevent a deeper comprehension of the relationships between human preferences and LLMs as well as the realization of their limitations. In this survey, we review the progress in exploring human preference learning for LLMs from a preference-centered perspective, covering the sources and formats of preference feedback, the modeling and usage of preference signals, as well as the evaluation of the aligned LLMs. We first categorize the human feedback according to data sources and formats. We then summarize techniques for human preferences modeling and compare the advantages and disadvantages of different schools of models. Moreover, we present various preference usage methods sorted by the objectives to utilize human preference signals. Finally, we summarize some prevailing approaches to evaluate LLMs in terms of alignment with human intentions and discuss our outlooks on the human intention alignment for LLMs.
[ 0.0626254827, 0.0662793219, -0.026795717, 0.0018611029, -0.0384492092, -0.0023627577, -0.0333821252, -0.0300355777, 0.0066953814, -0.014723938, -0.0405069925, -0.0682680085, 0.0034209485, -0.0260253642, -0.0049637607, -0.078466922, 0.0239711665, -0.0306777861, -0.0096985204, -0.0071646478, 0.023863947, 0.0293452181, 0.025334632, 0.0346618369, 0.0321349129, -0.0012734702, 0.015558687, -0.0222680978, 0.0001010541, -0.0402955376, 0.0079925479, 0.0582125448, 0.0404935814, -0.0135627445, 0.0000023864, -0.0726147965, -0.0092750527, -0.0340475477, -0.028301904, 0.0252899583, 0.083976917, 0.0588969998, -0.0157047436, -0.0133038703, -0.0297498219, 0.0336875878, 0.038885083, -0.0029155917, -0.0049110716, -0.0008620537, -0.0012196016, -0.025259899, -0.0439590327, -0.0164465159, -0.0049527269, 0.0141603919, 0.0380646698, -0.0569405667, 0.0440647267, 0.0215925053, 0.0217401888, -0.0208358411, -0.0147514055, 0.0115725519, 0.0083675915, 0.0195512027, 0.0078044366, -0.0293080118, -0.0216292776, 0.0668851286, 0.0289055333, -0.0348767228, -0.0007217563, -0.0153968986, -0.0081404699, 0.0404432081, -0.0351207815, -0.0261531025, 0.0077897487, 0.0303105246, 0.0242918022, 0.011331195, 0.0129706478, 0.0570925325, -0.0340227447, 0.0966377109, 0.0158955976, -0.0144575061, 0.0382561907, -0.0024104393, -0.011754686, -0.0591058172, 0.0244741049, -0.0253824405, -0.0618388057, 0.0200680289, -0.0287348442, 0.023132449, 0.0311351232, -0.0682508871, 0.0539166369, 0.0461558178, -0.0236257445, 0.0182821061, 0.0339216962, 0.0538908131, -0.0210650526, -0.030053135, -0.0448257625, 0.0312643833, -0.0101611931, 0.0122403428, 0.0150005352, 0.0192903075, -0.0237435549, -0.0105645601, -0.0447317921, 0.0463580638, 0.0036879694, 0.0254801922, 0.0102205062, 0.0136575289, -0.022858046, -0.0165229458, -0.0825639293, 0.058145225, -0.0399331488, 0.0149733173, 0.0181194954, -0.0024687266, 0.0610018186, -0.0015770727, -0.0270180292, -0.0359178782, 0.0006328066, 0.0433273204, 0.0064410577, 0.0004684671, -0.0082626138, 0.0020943542, -0.0235917363, -0.0363712125, -0.01991334, -0.0811955407, 0.0158864204, 0.0183680579, 0.0034143361, -0.0372159891, -0.0037847271, 0.01668928, -0.0425927676, 0.040781308, 0.0039516101, 0.0080681443, 0.0008836241, -0.0216624327, -0.0103257122, 0.0589903928, 0.0097416528, 0.0877451375, 0.0438978225, -0.0082631577, -0.036082454, 0.0288927183, -0.0247931648, 0.0164023042, -0.0752915516, 0.0263202898, -0.0163925327, 0.0365476869, 0.0392079204, 0.059504047, -0.0304994248, -0.0301129203, 0.0982027948, 0.0536197759, 0.0032192317, -0.0090433927, 0.0159985498, 0.057499066, -0.0132678142, 0.029620098, -0.0039687734, 0.0157508608, -0.0198171362, 0.0020154298, 0.0009793247, 0.0254878737, -0.0105788689, -0.0425708815, -0.0000735308, -0.0186838396, 0.0374732725, 0.0488586538, 0.0755682364, -0.0375816822, -0.0126652811, -0.0139259892, 0.062375512, -0.0313695036, 0.0282441899, -0.0392571576, 0.0705150291, 0.1425719857, 0.0240265168, -0.0145195695, 0.0148904761, -0.020306753, -0.043132551, 0.0147575652, 0.0621495061, -0.0319388099, -0.0341005623, -0.0436963402, 0.0074499943, 0.0471834242, -0.0175938085, 0.0319193415, -0.0103794718, -0.0405136757, -0.0244868007, -0.0265868995, -0.0197695307, -0.0075194645, 0.0013683449, 0.0183350816, 0.0164376851, 0.023045117, 0.0400878862, 0.0319507532, 0.016109651, 0.0060220421, 0.0109881004, 0.014051022, -0.0002519667, 0.0322985165, -0.0463193282, 0.0349220373, 0.0210403595, 0.0061954213, -0.0067358944, 0.0296230111, 0.0222324543, -0.0057246326, -0.0211938154, -0.0082707815, 0.0598227605, -0.0321475752, 0.0297665969, -0.0166766308, -0.0368025117, -0.0698273033, 0.040259175, -0.0074823545, -0.0187273361, 0.0272813942, -0.0116740586, 0.0039074491, -0.0430082418, -0.0392896719, 0.0510542765, 0.0219986793, 0.0275084637, 0.0664323643, -0.0108494805, -0.0578464121, -0.0169207752, -0.0881594718, -0.0056674555, 0.0070407996, 0.0065512052, -0.0103271939, -0.0030553353, -0.0118268002, 0.0028866569, -0.0338048339, -0.0158880819, -0.0327951126, 0.0232598241, -0.0161427073, -0.0105335731, -0.0029376973, -0.0543316938, -0.0063174982, 0.000395754, 0.0047294968, -0.0049052988, -0.001419561, -0.0348208137, 0.00506286, -0.0172328874, -0.002208743, -0.0113042705, -0.0283119939, 0.0316911787, -0.0225462671, 0.0453127101, 0.0459509045, 0.0285623018, 0.021668151, 0.0870964378, 0.0035646509, -0.0866670012, -0.0211985391, -0.0637757853, 0.0005285422, -0.0427412726, -0.0136822201, 0.00825937, 0.0452160239, 0.0054828483, 0.0003093814, -0.0431676283, 0.0064009083, -0.0324614458, -0.021435855, -0.0334914923, -0.0110602593, -0.0446882918, 0.0784332678, 0.0241761338, -0.0404492989, 0.0864253938, 0.0035109664, 0.0266023967, -0.052403193, -0.0003720868, -0.0158216543, -0.0042666188, -0.0264913607, 0.0282282624, 0.0228137337, -0.0014444293, -0.0522542074, -0.0300348736, 0.0232596286, -0.0362018682, 0.0433286577, -0.0739397183, 0.0025288488, 0.0368121341, -0.045729816, -0.0343449041, -0.0556734577, -0.0599129125, -0.0112710046, 0.0326466896, -0.0194303263, 0.0248852205, 0.0051201582, 0.0197532848, -0.0139569212, 0.0256772656, -0.0096371127, -0.0007588099, -0.0023706665, 0.0776038691, 0.0186242405, -0.0004493138, -0.0140269892, -0.0217126589, 0.0251719616, 0.0375901572, 0.0045959842, -0.0112225953, 0.034948118, 0.0832770318, -0.0012170812, -0.037036147, 0.0731647909, 0.0029112075, -0.012923752, 0.0377961844, 0.0946094841, 0.0447229445, -0.0766244531, 0.0217358116, -0.0235284958, 0.0486351512, 0.01664792, 0.03513759, -0.050985314, -0.0068541812, 0.0126080178, 0.0357824005, -0.0135751618, -0.0053508109, 0.0138159273, -0.118398428, 0.0126372818, 0.0128260339, -0.0411506295, 0.0537901707, -0.0539565347, 0.0373144336, -0.0268006958, -0.0054160361, -0.0195314121, 0.0021107253, -0.0256667174, 0.0160148144, -0.016541196, -0.0736571103, 0.0188206527, -0.0418907329, 0.0671189502, 0.0814313367, 0.023307085, -0.0051027597, -0.052574724, -0.0239856318, 0.0195965115, -0.0015141076, -0.0206200369, -0.0100438036, -0.0028000828, 0.01800422, -0.057520818, 0.0386923775, -0.0001459312, -0.0151959555, 0.0026827871, 0.0664265677, -0.0192564409, 0.0064961156, -0.0109057557, -0.0103059569, 0.0277704503, 0.0406284556, 0.0047262083, -0.126867786, 0.0245200396, -0.0494519547, -0.0376289748, -0.0104888836, -0.0512944497, -0.0059311581, -0.0029075861, -0.0320105553, -0.0669484735, -0.0161433388, 0.0050266813, 0.0277104881, 0.0353435762, 0.0301512945, 0.0537145808, -0.0169150084, 0.013460651, 0.0227020439, -0.0103804162, 0.037145488, -0.0871027783, -0.0507037416, 0.029906923, -0.0518378466, 0.0082293516, -0.0277251396, 0.0040759193, -0.0854694694, -0.0091794813, 0.0514976978, 0.0245363582, 0.0445022546, 0.0002881711, -0.0878929272, -0.0023158572, 0.0155637581, 0.0000019838, -0.0119689535, 0.0182401892, 0.0296551809, -0.0139563652, 0.0245604888, -0.0070253187, 0.0125657665, 0.0085439235, 0.0018046387, -0.0364046618, -0.0505465977, 0.0515353531, -0.002115278, 0.0055495217, -0.0474848263, -0.0187930185, -0.039343603, -0.0188993029, -0.0266619381, -0.0326565579, -0.0098387031, -0.060413707, 0.0471693277, -0.0131877307, -0.0112577779, -0.0448518731, -0.0223451648, 0.0201835614, -0.0187964514, 0.0276980102, 0.0150321266, 0.0416474491, 0.0557694286, 0.0313153602, -0.0092733977, -0.0232445449, -0.0150987301, 0.0627395064, 0.0168054905, 0.0708108842, 0.0045218305, -0.0546435341, 0.01752479, 0.0255808774, 0.0098190485, -0.0658633932, -0.0249935482, -0.0221101958, 0.0351698697, -0.066910699, 0.0580659658, -0.0261220336, -0.0051374035, -0.03081806, 0.0338076353, -0.0269337036, -0.0156962406, 0.0074617607, 0.0239670165, -0.0437938496, 0.0236147959, 0.0396921523, -0.0001137795, -0.0181710403, -0.0362247229, -0.0156725124, -0.0412188992, 0.0010425849, -0.0033369644, 0.0312629193, -0.0564262867, -0.0082079889, -0.0911848396, -0.0474154167, -0.0018761264, -0.0014903856, -0.0057778689, -0.0376311317, 0.0666671023, 0.0501597747, -0.0437789857, 0.0247702841, -0.0583256409, -0.01456773, -0.0622486174, -0.0170933753, -0.0597087108, -6.495356401e-33, -0.0058371136, -0.0049080499, 0.0150659764, -0.0380731001, -0.0092901075, -0.0567948669, 0.0156606045, 0.025789028, -0.0004351402, -0.0247081593, -0.0119375968, -0.0596160069, 0.012012532, -0.0255126897, 0.033596117, 0.0006920716, 0.0451636389, 0.0072594075, -0.0357985049, -0.0122960657, 0.0500912331, -0.0105368951, 0.0237923395, -0.0860348195, 0.0131964283, 0.0190741364, -0.01071872, -0.0028728293, 0.0101474551, 0.0862600133, -0.0190509632, 0.0288979225, -0.0179999806, -0.0373373702, -0.0285136253, 0.04589241, -0.0038031256, -0.0113883438, 0.0568597279, 0.0191661548, 0.040041592, -0.0236946326, 0.0081495075, 0.0012545919, -0.0402498245, 0.0619315244, 0.0288498905, -0.0281353779, -0.0277538784, 0.0627765954, -0.0457301512, 0.003236183, 0.0013346223, 0.0039317184, 0.0256938487, 0.0595741197, -0.0368320383, 0.0323526114, -0.0416756682, 0.079782933, 0.0133576216, -0.0015779921, 0.0644644722, 0.0016393001, 0.0306465589, 0.0639601424, 0.0268237945, -0.0023303758, 0.0427881069, -0.026949659, 0.0314841717, 0.0434549712, 0.0121936006, 0.0528473817, 0.0070416238, -0.0432432033, 0.0137987202, 0.0382717438, 0.0474414565, -0.0130253835, 0.0603868552, 0.0615670457, -0.0584681816, -0.0458046794, -0.0196343213, -0.0122646764, -0.0428700335, -0.0467298701, 0.0311749801, -0.0195524823, -0.0327118337, -0.0105717722, 0.0360791683, -0.0403039157, -0.0632304922, 0.0106647573, -0.0465994217, 0.0410741493, 0.0131369559, -0.0100736236, -0.0845840722, 0.0063141054, -0.0202090796, -0.0349475369, -0.0164239071, 0.0291595235, -0.0220817309, 0.0157205332, -0.0286710598, 0.0036186539, -0.0127128279, -0.0515652634, 0.0211924147, -0.03134102, 0.0687272549, 0.0081696035, -0.0167285334, 0.0592369065, -0.0007675771, -0.0411065444, -0.0301379878, -0.043599911, -0.0031931652, 0.026459882, -0.0056375507, -0.0057557561, -0.0204727463, 0.0162544157, 0.0245527942, 0.00621517, -0.0133529371, -0.0187583454, 2.969e-7, 0.0011533364, 0.0690595284, -0.0266052186, -0.0055491584, -0.0335858427, 0.0501228571, -0.0050332313, -0.015638262, 0.0510108657, 0.006937657, 0.0210428741, -0.0166529547, 0.0629461631, 0.029985873, -0.1044950038, 0.0071184551, 0.0036709607, 0.0115881227, -0.0405552238, 0.0062631438, 0.0614479855, 0.05401925, 0.0298230983, 0.0088008028, 0.0093997149, 0.0474126935, 0.0561022237, -0.1070626006, -0.0180472359, -0.0132479118, -0.0093597043, -0.0047642533, -0.02810831, -0.011284058, -0.0039196834, 0.0029624903, -0.0070327758, 0.053590402, 0.0003787764, -0.0599551313, -0.0046691126, 0.0065950397, 0.0059370245, -0.071831353, 0.0416786335, -0.0367821902, -0.0181742702, -0.0076229656, -0.0004797306, -0.0131179327, -0.0155110927, -0.0382139981, -0.0158282164, -0.0140515948, 0.0148846367, 0.0169736762, -0.0146155274, -0.0255396385, 0.0085971151, 0.0308916848, -0.0465483293, -0.0615519956, -0.033088211, 0.0414593183, -0.032688871, -0.0181805398, 0.0220558345, 2.408701801e-34, 0.0293052495, 0.0302138031, 0.008896132, 0.0162323918, 0.036924284, 0.0234673042, 0.0217979085, 0.0405718572, 0.0707069561, -0.0850494131, -0.0139455302 ]
http://arxiv.org/abs/2406.11190v1
http://arxiv.org/pdf/2406.11190v1
Aligning Large Language Models from Self-Reference AI Feedback with one General Principle
2024-06-17T03:51:46
2024-06-17T03:51:46
Rong Bao, Rui Zheng, Shihan Dou, Xiao Wang, Enyu Zhou, Bo Wang, Qi Zhang, Liang Ding, Dacheng Tao
cs.CL
cs.CL, cs.AI
In aligning large language models (LLMs), utilizing feedback from existing advanced AI rather than humans is an important method to scale supervisory signals. However, it is highly challenging for AI to understand human intentions and societal values, and provide accurate preference feedback based on these. Current AI feedback methods rely on powerful LLMs, carefully designed specific principles to describe human intentions, and are easily influenced by position bias. To address these issues, we propose a self-reference-based AI feedback framework that enables a 13B Llama2-Chat to provide high-quality feedback under simple and general principles such as ``best for humanity``. Specifically, we allow the AI to first respond to the user's instructions, then generate criticism of other answers based on its own response as a reference, and finally determine which answer better fits human preferences according to the criticism. Additionally, we use a self-consistency method to further reduce the impact of position bias, and employ semantic perplexity to calculate the preference strength differences between different answers. Experimental results show that our method enables 13B and 70B Llama2-Chat annotators to provide high-quality preference feedback, and the policy models trained based on these preference data achieve significant advantages in benchmark datasets through reinforcement learning.
[ 0.0771001577, 0.057421308, -0.0101914098, 0.0222113691, -0.0256260503, -0.0035926732, -0.0293695685, -0.0125714727, 0.035570804, -0.0407062918, -0.0553661734, -0.0373089947, -0.021837987, -0.0030871772, -0.0165509712, -0.0293939169, 0.040262606, -0.0216583256, 0.0617618784, -0.0227220617, 0.042215161, 0.0100437552, 0.0042921305, 0.0296399444, -0.0065534636, -0.0087107327, 0.0037683789, -0.0151493363, 0.0172684174, -0.0444971733, 0.0331381261, 0.0542764626, -0.0040118755, 0.0314320773, 0.0000020691, -0.0508285314, 0.0143153202, -0.0145609509, -0.017052561, 0.0238421019, 0.0577037223, 0.019855449, -0.0195723418, 0.0142560545, -0.0520011708, 0.0320615284, 0.0644761473, 0.0495788008, 0.1069344208, 0.0605715662, 0.0207413025, -0.012090357, -0.0060785939, -0.0342454053, 0.0204373915, -0.0290411301, 0.0255195834, 0.010587885, 0.0119546242, 0.0389527492, -0.0171371866, 0.0067991568, 0.0134377247, -0.0355792493, -0.0116499271, 0.0184519757, -0.014416947, -0.0253315773, -0.0271029621, 0.086902231, 0.0348541699, -0.0281836037, -0.0027356034, -0.0201232322, 0.0157621466, -0.028912412, -0.0435510799, 0.0017028842, 0.0263374429, 0.0315653682, 0.0251871347, 0.0111598531, 0.0264529269, 0.0273577776, -0.0073751076, 0.0661963224, -0.0300630815, -0.0471158363, 0.0048968191, 0.0132027678, -0.0152781904, -0.0668742806, -0.0076593584, 0.0301693659, -0.0717991367, 0.0215426311, -0.0290453732, 0.0161283556, 0.0445697643, -0.0751387179, 0.0501280613, 0.0546750203, -0.0106785465, 0.0328669921, 0.0435334519, 0.082933709, -0.0368667543, 0.0348287374, -0.0454244837, 0.0010765996, -0.0182432644, -0.0167952366, 0.007305955, 0.0429168195, 0.0044636033, -0.0059915083, -0.07162828, 0.0195476916, -0.0716282576, 0.0437865667, 0.027106503, 0.0392575264, -0.0333941095, 0.008307416, -0.081306912, 0.0627102032, -0.0452553518, 0.0186379682, 0.0212083627, -0.041014038, 0.0058829612, 0.0177942924, -0.026584655, -0.0077040778, 0.0231340118, 0.0969443768, 0.0091783199, 0.0058678752, 0.0154477963, -0.0065219523, -0.0586392134, -0.0612272061, -0.0243568942, -0.0490361527, 0.0622863024, -0.0204564445, -0.0360279195, -0.0459266566, 0.0436031036, 0.0359350406, -0.0163733531, 0.0602040477, -0.0055801151, 0.0043405588, 0.0176447239, -0.0068690097, -0.0196545143, 0.0494436026, 0.0355224833, 0.0448547453, 0.0544732548, 0.0158762336, -0.0004391856, 0.0264680069, 0.0191061385, -0.0111918095, -0.0213706512, 0.0348894596, -0.0518542714, 0.0438801646, 0.0361287594, 0.0686760172, -0.0112461587, -0.0371231884, 0.0648564547, 0.0494877063, -0.0285029374, 0.0091527756, 0.0123636145, 0.0486808047, 0.0096526425, 0.0165455509, -0.0474260077, 0.0611723438, 0.0026293478, -0.0178784169, 0.0523609035, 0.0010622788, -0.0202186443, -0.0866416991, 0.0117012523, -0.0135557791, 0.0234410837, 0.0398986489, 0.0345355198, -0.0215209629, -0.0162457097, -0.0012651103, 0.0482189804, -0.0284966622, -0.0055407858, -0.0568274632, 0.0582706481, 0.111845389, 0.0349315666, -0.015458337, -0.0414909869, -0.0162747465, -0.0195469745, 0.0511992648, 0.0740638152, -0.0349172764, -0.0457181893, -0.0333316773, -0.0280549265, -0.0107989907, 0.0002518459, 0.0185769871, 0.0260458346, -0.0209550392, -0.0093167871, 0.0138096474, -0.0380336083, 0.0316994302, 0.0343402214, -0.0260573495, 0.0129627381, 0.000748934, 0.062488649, 0.0262855552, -0.020443378, 0.0075807753, 0.0127900317, -0.0142915202, -0.0339275301, 0.0035276352, -0.0714236423, 0.0001478224, 0.0635908246, 0.008184108, -0.0262113754, 0.0539427772, -0.0441285968, -0.0185903776, -0.0004645521, -0.0171049163, 0.0063911714, -0.0284688175, -0.0045642843, -0.0208402462, -0.0110436128, -0.0544657409, 0.0359794684, -0.0054369792, -0.0211195201, -0.0221388303, 0.0035543402, 0.0272437986, -0.0279079042, -0.0461403839, 0.0038623449, 0.0179408062, 0.0371801592, 0.0677792132, 0.0384837314, -0.0255911611, -0.0202638693, -0.0869676098, -0.028806949, -0.016544044, 0.0023457699, 0.0198214054, -0.0007905061, 0.0140079986, -0.0381488763, -0.0519118682, -0.0129701085, 0.0218180381, 0.0258572474, 0.051206667, 0.0124140708, -0.0176361408, -0.0899981707, -0.0066984724, -0.0260793902, -0.0207140576, 0.026855981, 0.011497994, -0.0414300188, -0.0247817542, -0.0460910797, 0.0402674749, -0.0109867426, -0.0648413971, 0.045617111, 0.0082847783, -0.0030092432, 0.0711805522, 0.0301729124, 0.0361332223, 0.0856662616, 0.0418417417, -0.0970787778, 0.0105438624, -0.029157294, -0.0140238637, -0.0251275916, -0.0132293282, 0.0143784322, 0.0568079166, 0.0088615417, -0.0030422262, -0.0694933459, 0.0181003455, -0.0071599032, -0.0377219059, -0.0201864336, -0.0332874581, -0.0266069472, 0.0442675576, -0.0117442971, -0.055743698, 0.1080698222, -0.0133360112, 0.0185101461, -0.0348589197, -0.0111748651, -0.0453128442, 0.0287501477, -0.0123590045, 0.0387005433, -0.0174690261, 0.0239881743, -0.0590613522, -0.0342572927, 0.0285866074, -0.0518416949, 0.0337655917, -0.0518597215, 0.0181789435, 0.0183862429, -0.0815334246, -0.0632870421, -0.0504389405, -0.0549565479, -0.008078848, 0.0046882345, -0.0265724361, 0.0160330217, -0.012506376, 0.0358118825, -0.0033792648, -0.011805743, -0.0014530943, -0.00953467, -0.0201407969, 0.0785684437, 0.0182875246, 0.0125101088, -0.0032296244, -0.0016192198, 0.0492596254, 0.0132301152, 0.0161134284, -0.0249509476, -0.0116677042, 0.0289573371, -0.0138755282, 0.0088503622, 0.0251223017, 0.0270764753, -0.0194874108, 0.0006497061, 0.1175306961, 0.0348762646, -0.0644443259, 0.017547138, -0.0236924607, 0.0078285467, 0.0172369685, 0.0575327389, -0.0915515572, -0.0284452792, -0.023356529, 0.0351770818, 0.0016939379, 0.0052643553, 0.0013861713, -0.1277121007, 0.0016127815, -0.011725083, -0.0221740566, -0.0183540192, -0.0237298701, 0.0169571545, -0.0280351322, 0.0164361969, -0.0138597265, 0.0271898024, -0.0194286183, 0.0027414917, 0.0071614892, -0.0000463153, 0.0462280028, -0.0427904874, 0.0925546288, 0.0993918926, 0.0470127948, 0.0166591872, -0.0118529024, 0.0217407197, 0.0004943499, -0.0191814005, -0.0013048042, 0.0086184843, -0.0160775967, -0.0137876924, -0.0256730448, 0.032839857, -0.0003701861, 0.0073764217, 0.0057891873, 0.0480121113, -0.006510119, -0.0013708584, -0.0374115445, 0.0371090658, 0.021689808, 0.0702723116, 0.0041766572, -0.0962038115, -0.037199419, -0.0375705212, -0.0411249846, -0.0196294468, -0.0516956709, -0.0175878163, -0.0016532446, 0.0045726006, -0.0798593536, -0.0564612225, -0.039203044, -0.0255756378, 0.0097431457, -0.0352984928, 0.0254526921, 0.0029060217, 0.0290174875, -0.0128647489, -0.0379975848, 0.0208377503, -0.0385495014, 0.0029943103, 0.0269559845, -0.0195010863, -0.0265907086, 0.0017553526, -0.0250969436, -0.067997694, -0.0003092843, 0.0864810795, 0.0151321581, 0.0479707867, -0.0149631295, -0.0393121205, 0.0180575401, 0.0460456274, -0.0377418324, 0.0097223427, 0.0190083608, 0.0559376292, 0.0065172305, 0.0424399339, -0.043761231, 0.0307189748, 0.0061840829, 0.0286364332, -0.0311093926, -0.0543007031, 0.0456778146, 0.0028267533, -0.0148750963, -0.0025971895, 0.0129157249, -0.0102736354, 0.0114278821, -0.022748705, -0.0527267456, -0.0218050536, -0.0313709415, 0.0075494968, -0.0578730069, -0.0084383097, -0.0209878068, -0.0203281865, 0.0235558692, -0.0057942495, 0.0019394805, 0.0223887302, 0.0315047503, -0.0170063972, 0.0004638604, -0.0046116863, 0.007787188, 0.0277252551, 0.0261374749, 0.0068081766, 0.0484145656, 0.0277804229, -0.044497665, 0.0033509275, 0.037136592, -0.0426992066, -0.0496684574, -0.0126199713, 0.0066569126, 0.0494652353, 0.0082934303, 0.0533346683, -0.0188236721, -0.0073237689, -0.0011968263, 0.0135575989, -0.0212564189, -0.0054490753, 0.0312885977, 0.0139884362, -0.0136567727, 0.0051350226, 0.0383852422, -0.0101020904, 0.0168480221, 0.0100400029, 0.0028385413, -0.032626152, -0.033100754, -0.0180790406, 0.0208012983, -0.0222272668, -0.0275483746, -0.037272919, -0.0453930683, 0.0013506998, 0.0403577648, -0.0198074989, -0.0094197737, 0.0370392017, 0.0408244953, -0.0163333453, -0.0205327999, -0.0308782738, -0.0245469343, -0.0657322332, -0.0172865, -0.0486015454, -6.419694972e-33, -0.0158612281, -0.0467169695, 0.023110263, -0.0039416114, -0.0162175987, -0.048742231, -0.0021661855, 0.008071078, -0.0313520059, 0.0181236528, -0.0166319609, 0.016305659, 0.0068740956, -0.000290955, 0.0341777168, -0.0379195437, 0.0382782817, -0.0370275564, -0.0447872654, 0.0273093283, 0.0238292273, -0.0297405124, 0.0229730122, -0.0859362334, 0.0462470725, 0.0213296134, -0.0292445887, 0.0318758711, -0.0324468277, 0.0847503543, -0.0231350325, 0.0790110454, 0.0067317109, -0.0137101142, 0.0023728339, 0.0448341593, -0.0342233442, -0.0508527718, 0.0268731155, -0.0212789383, -0.0135314865, -0.0205560774, 0.0325078145, -0.0170242302, -0.0427745879, 0.0432094932, 0.0254655685, -0.0113462228, 0.0194570292, 0.0405369699, -0.0506732576, -0.0127024353, -0.0355925187, -0.0205625426, -0.0131613389, 0.0610115752, 0.003736933, 0.02373356, -0.0391950384, 0.0433923043, 0.0092501352, 0.0062666568, 0.0565628484, -0.016016392, 0.0210713428, 0.0609722808, 0.0170103014, 0.0111570274, -0.0236727074, -0.0599657372, -0.0192393996, 0.0256980751, 0.035386771, 0.0772055835, 0.0097959898, -0.0139695751, -0.075954318, 0.0156441554, 0.0281433705, 0.0471604317, 0.044721432, 0.0212519951, -0.0711708367, -0.0233065728, -0.0385567695, -0.0138839167, -0.0472362489, -0.0679679438, 0.0321451686, 0.0283628795, -0.0357129686, -0.01864787, -0.0038833392, -0.0783000886, -0.0388703756, 0.0152895078, -0.0446013287, 0.0161934551, 0.0283004344, -0.00953467, -0.0593867041, 0.0063814409, -0.014962337, -0.0157174505, -0.0079606138, 0.0155163454, 0.021836549, 0.0095998878, -0.0533928797, 0.0048872088, -0.0258748028, -0.0042955, -0.0229162052, -0.0599627048, 0.0249743909, 0.011962452, -0.0171677303, 0.0565775596, 0.0138835218, 0.0106684789, -0.0157313645, -0.0264515597, -0.002618256, 0.0083272187, -0.0326772034, 0.015442118, -0.0339065604, 0.0372358672, -0.039260149, -0.0581969358, -0.0136183985, -0.0157652888, 2.697e-7, 0.0210586898, 0.0550519973, 0.0261807106, 0.0268232711, 0.0036831468, 0.0597670972, 0.0188463163, 0.0356220566, 0.0064881891, 0.0062264763, 0.0317216888, 0.0422383845, 0.0203842819, 0.0194074363, -0.0541019626, 0.0098713981, -0.0890617073, -0.0146146817, -0.0400623642, -0.0068087899, 0.0654280558, 0.080444172, 0.0333468989, -0.0067654839, -0.0183894243, 0.0306172483, 0.0707031712, -0.0515951663, -0.0018154536, 0.0259134304, 0.0083392067, -0.0102967592, -0.0129046021, -0.003604688, 0.026731452, 0.0051836288, -0.0175192542, 0.08582028, 0.0062934635, -0.0701012313, -0.0161756277, 0.0248771403, 0.0213291533, -0.0539416745, 0.0641086623, -0.0579577722, -0.0317307897, -0.0722219124, 0.0149673205, -0.0116914827, 0.0283549409, -0.0232578889, -0.023627013, -0.0042320048, 0.0105699291, 0.029105844, -0.0105664954, -0.0451350994, -0.0244456697, -0.0081098303, -0.0148608256, -0.0235558506, -0.039436616, 0.0331390053, 0.0000386895, -0.0493232086, 0.0415799804, 2.143695553e-34, 0.0209618844, -0.033455696, 0.0176755525, 0.0053489371, 0.0206723977, 0.0519287959, 0.0108055277, 0.0198083445, 0.0631276518, -0.056485299, -0.02618099 ]
http://arxiv.org/abs/2406.11177v1
http://arxiv.org/pdf/2406.11177v1
TIFG: Text-Informed Feature Generation with Large Language Models
2024-06-17T03:29:14
2024-06-17T03:29:14
Xinhao Zhang, Jinghan Zhang, Fengran Mo, Yuzhong Chen, Kunpeng Liu
cs.CL
cs.CL
Textual information of data is of vital importance for data mining and feature engineering. However, existing methods focus on learning the data structures and overlook the textual information along with the data. Consequently, they waste this valuable resource and miss out on the deeper data relationships embedded within the texts. In this paper, we introduce Text-Informed Feature Generation (TIFG), a novel LLM-based text-informed feature generation framework. TIFG utilizes the textual information to generate features by retrieving possible relevant features within external knowledge with Retrieval Augmented Generation (RAG) technology. In this approach, the TIFG can generate new explainable features to enrich the feature space and further mine feature relationships. We design the TIFG to be an automated framework that continuously optimizes the feature generation process, adapts to new data inputs, and improves downstream task performance over iterations. A broad range of experiments in various downstream tasks showcases that our approach can generate high-quality and meaningful features, and is significantly superior to existing methods.
[ 0.0285330024, 0.0287665408, -0.024719853, 0.0491083153, -0.004900659, -0.0123930303, -0.003883169, 0.0031303496, 0.0304914173, -0.0658418611, 0.0114631811, 0.0064186626, -0.0151538206, 0.0465966538, -0.0074189338, -0.0109276148, 0.0280112922, -0.0184360854, -0.0083641605, 0.0298699085, -0.0084147146, 0.0354822241, 0.0279403385, 0.0183000844, -0.0247117169, 0.0353778787, -0.042733591, -0.0049390248, 0.0077120308, 0.0064357389, -0.0222309548, 0.015480387, 0.0270608608, -0.0102965143, 0.0000022752, -0.0541658886, -0.0410406627, 0.0068143741, -0.0168183763, -0.0243443474, 0.0527429469, 0.0293107182, 0.0095126675, 0.0237063169, -0.0227569826, 0.0248734187, 0.027197456, 0.0825637653, 0.0286327302, 0.0634048581, -0.0222767498, -0.021181019, -0.0020297971, 0.0120621054, 0.0875258744, 0.0029482418, -0.0115388148, -0.0012207138, 0.0167236235, 0.0187678412, 0.0234586801, 0.0337314494, -0.0104507729, -0.0137737105, 0.0621747561, 0.0227559656, -0.010665603, -0.0043043992, 0.0109501136, 0.0651217923, -0.007774008, -0.0296976902, 0.0326602831, -0.0147286728, -0.0051750368, 0.0552445538, -0.0149518894, 0.0081690056, -0.0166132841, 0.028280003, -0.0046052597, -0.0260412004, 0.0150569025, -0.0022651546, -0.03890571, 0.0168332476, -0.0037176891, 0.0199661516, -0.0266407337, -0.0140198274, -0.0394522697, -0.0274554808, 0.0014675691, 0.0461739786, -0.0028945548, 0.028317133, -0.0109460065, -0.0585368834, 0.0274147056, -0.0481134392, -0.0172815844, 0.0193048064, -0.067691572, 0.0103280731, -0.0717772916, 0.0275698099, 0.0057906061, -0.0310171507, -0.0515122674, 0.0064724027, -0.0931486785, -0.0432523899, -0.0080683576, 0.0499672219, -0.0036368696, 0.0048512397, -0.0025125328, 0.0265903417, 0.0062530171, 0.0277028233, 0.0022907541, 0.0402889811, -0.0355709381, 0.0062370347, -0.0462619625, -0.0483426191, 0.0087624462, -0.0094732624, -0.031559892, -0.0286673009, 0.0253353082, 0.0232687667, 0.035807386, -0.0055513498, 0.0243624393, 0.0675890818, -0.0213648044, -0.0498122014, -0.0663378686, -0.0986407027, -0.0021721772, -0.033713717, -0.0138333123, -0.0741830021, -0.0066691437, 0.0111068748, -0.0472595468, -0.0458002873, 0.0492849126, 0.0248631667, -0.0293029342, 0.0535910316, -0.0473334864, 0.0148021178, 0.0168546923, -0.003126953, 0.0431623869, 0.0340547487, 0.0507266447, 0.0664148331, 0.0334758535, 0.0112469001, -0.0000098964, 0.0212796368, 0.0066280537, -0.0197097361, -0.023472907, 0.010179502, -0.0108089792, -0.0173311252, 0.0100721987, 0.0001555302, 0.0184426606, 0.0281438846, 0.0332585573, 0.0468782075, 0.0395384282, 0.0689276904, 0.0253544524, 0.0348342657, -0.0267030112, -0.0124071445, 0.01824685, 0.0284934081, -0.0489648543, 0.0188541058, -0.0078408075, 0.0534564853, -0.0104181487, -0.0627860725, -0.0073918761, -0.0246037114, 0.0245088562, 0.026478963, 0.0804288313, 0.0229477603, -0.0132365162, 0.0615402199, 0.0137949977, -0.0864689723, -0.033651188, -0.04430243, 0.0414626822, 0.116108872, 0.0680998862, -0.0454158783, -0.0226517282, 0.0185343288, -0.0072430721, 0.0192375835, -0.0204176512, -0.0127582382, -0.0117208771, -0.0375112854, -0.0404513292, -0.0041497489, -0.0089583946, 0.0252371859, -0.0297863875, -0.0039626583, 0.0439847559, -0.0196611341, -0.0751383305, 0.0293097347, -0.0445319377, -0.01364021, 0.0600370392, 0.0256801657, -0.0264095254, 0.0225253422, -0.0304045137, 0.021259075, 0.0691825971, -0.0662015378, -0.0258342549, 0.0407770574, 0.0322797596, -0.0150288064, 0.0217076875, 0.0004509539, 0.0350767709, -0.0470988192, -0.0234948583, -0.0372284725, 0.0088380454, -0.0545404479, 0.0331465937, -0.0605971217, 0.0148472851, -0.0117183113, -0.0221103281, -0.065347977, 0.0827317387, 0.0195678454, -0.0072674048, 0.0048260526, -0.0247369464, 0.0524499528, -0.0068036402, 0.0370711125, 0.0142725445, -0.0066454867, 0.0048777754, 0.0422828794, 0.0187842362, -0.011341312, -0.0197121222, -0.0854693502, 0.0319035389, 0.0023785033, -0.004153403, 0.0203332473, 0.0034492656, 0.0087862415, -0.0213403199, -0.0581858233, -0.0133303562, 0.0347466879, -0.0295498911, 0.0442560576, 0.0295976251, -0.0293536987, -0.0059783086, 0.0205529425, -0.0055173668, 0.0550931096, 0.0351239368, -0.0357307829, -0.0703182146, 0.071452938, -0.0372594893, 0.008929044, -0.0356687009, 0.007174009, -0.0175821222, -0.0348585397, -0.0035192089, -0.017130401, 0.0130061647, 0.010591819, 0.0715114996, -0.0233898871, -0.0633469597, 0.0264121722, -0.0348445624, 0.0248994213, 0.0211240202, -0.0442850031, 0.0070569571, -0.0110357422, 0.0209520943, -0.0347215571, -0.0335460193, 0.0162562951, 0.0339609869, -0.0267753694, -0.0554655753, -0.0107686324, 0.0286228303, 0.060400676, -0.0286815297, -0.0747130364, 0.0319372378, -0.039879404, 0.0286250729, -0.0489008054, -0.0159957092, -0.0667247549, 0.0962300301, 0.0144638577, 0.0402058847, -0.0183588695, -0.0153058935, -0.0224938784, 0.0322516151, 0.0236474313, -0.0592614971, 0.0867220834, -0.0347748026, 0.0247655381, 0.0356349684, -0.0040679979, -0.0638591796, -0.0341042764, 0.027930174, -0.0199059956, 0.0030154376, -0.0318555422, -0.010848769, -0.0171070416, 0.0476633757, 0.0108564217, 0.0098929629, -0.023139406, -0.012988491, 0.0262114238, 0.048988685, 0.0108104916, -0.0058830422, 0.0002085978, 0.0044916482, 0.0345921181, -0.0257917903, -0.0422175899, -0.0112734865, 0.0088460352, 0.0008969498, -0.0329865813, -0.0051542507, 0.0075447266, 0.0153776286, -0.0585702509, -0.007897798, 0.0706025213, 0.0617851689, -0.0148043856, 0.011144802, -0.0262632426, 0.0393735953, 0.0228213128, 0.0517534092, -0.062977396, -0.0287678912, -0.0011792228, 0.0160808414, -0.0319507606, -0.0123067396, -0.0319173485, -0.1047768891, 0.0523188002, 0.0080384482, 0.0063102841, -0.0473629199, -0.0619868487, -0.0226368662, 0.0130703449, -0.0263657141, 0.0127106132, -0.0266759694, 0.0136551978, 0.0041468623, -0.0502834283, -0.0479256138, 0.0017981717, -0.0077296956, -0.0389725454, 0.1112388596, 0.0274178274, 0.0104864379, -0.0164443068, -0.0358979069, 0.0366919897, 0.0669879541, -0.0398147516, 0.0745049044, 0.0430832505, -0.0093364837, -0.0228640623, 0.0346631743, -0.0147538856, -0.0286616944, 0.0002956941, 0.0641961619, -0.0446866527, 0.012603051, -0.0147723109, -0.0386510119, 0.0315733105, 0.0387079827, -0.0194586441, -0.0432337858, -0.0086290585, -0.0353638083, -0.0173941627, -0.0221839715, -0.0632572323, 0.0155569632, -0.0391684994, -0.040022932, -0.0849376693, -0.0067173932, 0.0493745208, 0.0007544467, 0.0274813492, 0.0365342833, -0.0373433791, -0.0142332306, -0.0989819095, 0.0275973231, -0.0020058688, 0.0105426423, 0.0120614339, -0.014401434, 0.0346709453, -0.134208262, -0.016139796, 0.0224575512, -0.0484422408, -0.0605643429, -0.040559344, 0.0129870605, 0.0142520191, 0.0356571414, 0.0053585162, -0.0237849709, 0.0802595839, 0.0725645944, -0.0624216497, -0.0110249612, -0.0203634966, -0.0152358934, 0.0108501529, 0.0277133249, -0.062997885, -0.0128791062, 0.003624826, -0.0048395279, -0.0047212322, -0.027511809, 0.0320687629, 0.0544455796, 0.0212722719, 0.0068738027, -0.0157224964, -0.0629620031, 0.0247147586, -0.0080248425, -0.017423749, -0.058684241, 0.0674968287, -0.0302963443, -0.0297359452, 0.0285960473, -0.0091026695, -0.0209902022, 0.0294232853, 0.0034746258, 0.0219108649, -0.0538745858, 0.0437017977, 0.037039157, 0.0129821077, 0.0114241121, 0.0322455987, 0.0119355842, 0.0336781032, -0.0236221887, 0.0307348762, -0.0026565804, -0.0051523135, -0.0714523643, 0.0094480906, -0.0164009407, -0.0449528359, -0.0746989548, -0.0039524892, 0.044219248, -0.0197729636, 0.0606001578, -0.0469918624, -0.009880919, -0.023117749, 0.0524747223, 0.0209863037, -0.0106140617, -0.0217386801, -0.0119705889, -0.0595788658, -0.0405017324, 0.076228112, 0.0095922332, 0.0182870552, -0.016428167, -0.0656830966, -0.0402655378, -0.0005865096, 0.0529523157, 0.0043179463, -0.0269123465, 0.0017125093, -0.0269301105, -0.0305109974, 0.042151235, -0.0226813164, -0.0204827767, -0.0101553053, 0.0339314379, 0.0591663755, 0.0189540163, 0.0114672659, -0.0626208186, -0.0073890355, -0.068260543, -0.0233163163, 0.0136917019, -6.212789599e-33, -0.0223067421, -0.1005551368, 0.0301172473, 0.0100800935, 0.0100013111, -0.0235452913, -0.0325025134, 0.0229916889, 0.024048835, -0.0078377593, 0.0001669417, -0.0182687249, 0.0016107411, -0.0108199902, 0.0269970428, -0.0036293482, 0.0362622701, 0.0318493918, 0.0142092695, 0.0522729903, 0.0867075697, 0.0397369191, 0.0426079407, -0.0997917876, -0.007086853, -0.0074738408, -0.0029333602, 0.0232672896, 0.0204094909, 0.0546891354, -0.0187515076, 0.0368472151, 0.0226148609, -0.0264009759, -0.0245435014, -0.0151700405, -0.031347122, -0.0352252498, -0.0130268428, -0.0085445829, 0.0005684111, -0.0569284074, 0.0298668053, -0.0251403507, -0.0011767696, 0.0149975149, 0.0797933564, -0.0467075482, -0.0025157304, -0.0384602137, -0.041314844, 0.0492747575, -0.0107323062, 0.0034564617, 0.0359839387, 0.0317990556, 0.0162954722, 0.0340321176, -0.0455007106, 0.0233556293, 0.031350784, 0.0326800756, 0.0703891516, 0.0091734128, 0.0335876159, 0.0813003182, 0.013569654, -0.0093404595, -0.0516493395, 0.0250155907, -0.0117959082, 0.1218767911, 0.0174236428, 0.0433516204, 0.0368174575, -0.0197705943, -0.0776488036, 0.0698169619, -0.0192141384, 0.0024444058, 0.0304490812, 0.00138256, -0.0120263426, -0.0148643143, -0.0304636303, 0.0422801115, -0.0463768281, -0.0618257038, 0.0157653615, 0.0279244538, -0.0171296913, -0.0029220907, 0.0044913059, -0.0201402102, 0.0043174531, 0.0387270339, -0.0509664789, 0.0074113542, -0.0080301333, -0.0359866433, 0.001742084, -0.0245584901, 0.0137892514, -0.0370432213, 0.0122022312, 0.0165285636, 0.0148765696, 0.0162356123, -0.035812173, 0.0278655142, -0.0099057117, 0.0039993618, -0.0187095124, 0.0061584297, -0.0090705324, -0.0058521051, -0.0201083813, 0.0528159142, 0.0173201449, 0.0118275806, -0.0286959242, -0.0105832051, 0.0115999049, 0.0037625039, -0.0058242553, 0.0134893432, -0.0086395619, -0.0174800139, 0.0622933768, -0.0214101095, 0.0034745829, 0.0243954472, 2.93e-7, 0.0297867171, 0.0372348465, -0.0038139569, 0.013199605, -0.011298974, 0.0460005552, -0.001872999, -0.0137572307, 0.0155343823, -0.0089179715, 0.043335598, 0.0160940289, 0.0496428236, 0.06920138, -0.0922715217, 0.0055886046, 0.0210225061, -0.0480327643, -0.0649595261, -0.0139334165, 0.0537778474, 0.0615203492, -0.0290972814, -0.0248156041, 0.0322741345, -0.0580549836, 0.0399990492, -0.0449817888, -0.0173257794, 0.0314959176, 0.0493279845, 0.0109119201, -0.0276988484, -0.0063123084, -0.0456688255, 0.0311165601, -0.020807853, 0.0223982465, -0.002176028, -0.0224150624, 0.0213735104, -0.0027230887, 0.0094124405, 0.0046909554, 0.0688401908, 0.0099844532, -0.0034845527, -0.0251286123, 0.0316799283, -0.0135088423, -0.0373612083, -0.0236378908, 0.0133069884, 0.0293412637, -0.0007168052, -0.0316745974, -0.0066440562, -0.0700009614, -0.0328648351, 0.0447021648, -0.0578221343, -0.0126699256, -0.0351919495, 0.0392514989, 0.0147192199, -0.0297254641, 0.0266737323, 3.226483119e-34, 0.0046988726, 0.0086421613, -0.0389106087, 0.0445409827, 0.050101161, -0.0104579441, -0.0113978758, 0.0144694727, 0.0191461369, -0.0843787789, -0.006297613 ]
http://arxiv.org/abs/2406.11176v1
http://arxiv.org/pdf/2406.11176v1
Watch Every Step! LLM Agent Learning via Iterative Step-Level Process Refinement
2024-06-17T03:29:13
2024-06-17T03:29:13
Weimin Xiong, Yifan Song, Xiutian Zhao, Wenhao Wu, Xun Wang, Ke Wang, Cheng Li, Wei Peng, Sujian Li
cs.CL
cs.CL, cs.AI
Large language model agents have exhibited exceptional performance across a range of complex interactive tasks. Recent approaches have utilized tuning with expert trajectories to enhance agent performance, yet they primarily concentrate on outcome rewards, which may lead to errors or suboptimal actions due to the absence of process supervision signals. In this paper, we introduce the Iterative step-level Process Refinement (IPR) framework, which provides detailed step-by-step guidance to enhance agent training. Specifically, we adopt the Monte Carlo method to estimate step-level rewards. During each iteration, the agent explores along the expert trajectory and generates new actions. These actions are then evaluated against the corresponding step of expert trajectory using step-level rewards. Such comparison helps identify discrepancies, yielding contrastive action pairs that serve as training data for the agent. Our experiments on three complex agent tasks demonstrate that our framework outperforms a variety of strong baselines. Moreover, our analytical findings highlight the effectiveness of IPR in augmenting action efficiency and its applicability to diverse models.
[ 0.0052988189, -0.000809672, -0.0095534669, -0.0115453107, -0.0238314774, 0.0218429863, -0.0326340795, -0.008616358, -0.009311595, -0.0068203765, -0.044484634, 0.0157245118, -0.0430656336, 0.0409289449, -0.0040975735, -0.0541378334, 0.0325126462, -0.0519783869, 0.0502587296, -0.0106287133, -0.0271427389, -0.0196712203, -0.0413195789, 0.0672469214, 0.0013118054, 0.0066895182, -0.0276809912, 0.0151809631, 0.0435883738, -0.07615529, 0.007596212, 0.0177884866, 0.064929992, 0.0342742838, 0.0000021614, -0.0496978983, 0.0184067581, -0.0235504936, -0.0456421785, -0.0367760658, 0.0335246325, 0.017098343, -0.0219867565, 0.0116086164, -0.0302535221, 0.0089664096, -0.006214723, 0.0660476387, 0.0536794774, 0.0715456605, 0.0129951742, -0.0064460123, -0.0129456175, -0.0038024578, -0.009666889, -0.0606255308, -0.0068581561, 0.0007797901, 0.0189075228, 0.0005682243, -0.0183664355, -0.0112202531, 0.0354982987, -0.03196989, 0.0088222502, 0.0565937534, 0.045770511, -0.0173617844, -0.027734682, 0.035660509, -0.0248876382, 0.0092806602, -0.0200429838, -0.0231878888, 0.0144558921, -0.0263114963, -0.0309413318, 0.0125751365, 0.0006158652, 0.0390608981, 0.0038436514, -0.0273960195, 0.0410871767, -0.0060159881, -0.0186710674, 0.0849597603, -0.0244379304, -0.0441392697, 0.0423018336, 0.0170403644, 0.0216870178, -0.0392837971, -0.021580901, 0.0352868922, -0.0619401261, 0.0239690971, 0.007930072, 0.0258445069, -0.0289357603, -0.0031096295, 0.0830938146, 0.0268953927, 0.0314957313, 0.0394764245, -0.0255990401, 0.0227953997, 0.0136361029, 0.0340724513, -0.0365033448, 0.0281844568, -0.0702356994, 0.0156600364, -0.0295176897, 0.0233311336, -0.0183832999, -0.0082192877, -0.0308773406, 0.0326394066, 0.000232931, 0.0481445231, 0.0148041872, -0.0153321838, -0.0362410843, 0.0192247014, -0.0621630028, 0.0093813958, -0.0514437109, 0.0411826372, 0.0342036746, 0.0074993684, -0.0117704524, -0.0065868944, -0.0190935526, 0.005489212, 0.0099300779, 0.0770799667, -0.0289859474, -0.0426289402, -0.0567814112, -0.0014043803, 0.0652099699, -0.0643678308, 0.0211610291, -0.033585988, 0.0115225315, -0.0438913107, -0.0145562859, -0.0153873349, -0.0012610662, -0.0415280536, -0.0111732744, 0.0570944846, 0.0133717274, 0.0027694367, 0.0162152741, 0.0004880197, -0.0193157848, 0.0585565902, 0.0491277389, 0.0113148056, -0.0010914744, 0.0031012623, 0.0507952906, 0.0405349061, -0.0125231482, 0.0419264436, 0.0284673478, -0.0246174727, 0.0016900214, 0.0441322625, 0.0804594457, -0.0277402643, -0.0678460076, 0.0708988979, 0.066448167, 0.0503130518, 0.0135076521, -0.030316731, 0.0540094078, 0.0307574291, 0.0128720701, -0.0132915992, -0.0832205564, 0.0300922971, 0.0051248358, 0.0166686941, -0.054194469, -0.0052314396, -0.0384832472, -0.0414557271, 0.0317570642, 0.0253133252, 0.037809141, 0.0238963887, 0.0299357995, -0.0001139397, -0.0722639337, -0.0049462081, 0.0349798687, -0.0374025702, 0.0086950231, -0.0605406277, 0.034925472, 0.1104662195, 0.0418407843, -0.0280645844, -0.0098667024, -0.0293299258, 0.0109868646, 0.0331197046, -0.0179310963, -0.0211805943, 0.0304187965, -0.0216512829, -0.0754210055, -0.029595796, 0.0191554297, 0.0473602116, 0.0245989524, -0.0232354403, -0.0266038589, -0.0085350387, -0.0390216522, 0.0408316962, -0.0194367673, -0.0413179286, 0.015663797, -0.0124265105, 0.0331164747, -0.0077810171, -0.0145144947, -0.0133311776, 0.0333484784, 0.0112693943, -0.0012281513, 0.0316707678, -0.0116013028, -0.036394231, 0.0253321845, 0.0093741221, -0.0077342433, -0.0100389663, -0.0352505855, -0.0278735552, 0.0102920085, -0.0187499952, 0.0117198182, 0.007384134, 0.0551686957, -0.0117586059, -0.001258536, -0.0323390961, 0.0350504592, -0.0199201014, -0.032465823, 0.0189690795, 0.0183320567, -0.0237273574, -0.0563351884, 0.0341951288, -0.0063592484, 0.0271141361, 0.0145322289, 0.0326545238, 0.0235240478, -0.0487950109, -0.0445552282, -0.0666441396, -0.0286439303, -0.0082740132, 0.0185329877, 0.0153803807, -0.0294309929, -0.0218714327, -0.0141498987, 0.0042348057, 0.0143339923, 0.0315967947, 0.014102703, 0.0039746929, 0.0072894911, -0.077692464, -0.045261655, 0.01907067, 0.0079168631, -0.028511012, -0.0070162578, 0.0289810859, -0.0737909004, 0.0133774085, -0.0012728942, 0.0247063302, -0.0401342213, -0.0445970856, 0.0622785464, -0.0206557177, 0.0077074049, 0.0877743214, -0.0184846986, 0.0547733568, 0.0418642014, -0.0257529188, -0.0677414909, 0.0477688648, -0.0180741139, -0.0157502554, -0.0921601728, -0.009643686, 0.0214880053, 0.0775966197, -0.0179624762, 0.0613247678, -0.0333253667, -0.0246390291, -0.0095475465, -0.0776204765, -0.0030927099, 0.0014976936, -0.0405675732, 0.0252696797, -0.0318629742, -0.0331422687, 0.0655893981, 0.0108451117, -0.0228365194, -0.0436393395, -0.0343995541, 0.0186825637, 0.0644070432, -0.0022199419, 0.0010206543, -0.0626132563, -0.0289080106, -0.0414826423, -0.0223508161, 0.0628199279, 0.0098266415, 0.0515286885, -0.0695830509, -0.0214545988, 0.0077033341, -0.0445468798, -0.0443620309, -0.0012911037, -0.0134378253, 0.0128634423, -0.0180976447, -0.0338443406, -0.023832228, -0.0060587497, 0.0594953895, 0.0283714719, 0.0119996918, -0.0419631936, -0.0372714996, -0.047728423, 0.0298625045, 0.0124317463, 0.0051633301, -0.0539067201, 0.0733472854, 0.0208402053, 0.0643241927, -0.0374100357, -0.0256179739, 0.0195588004, 0.0198009945, -0.0585019328, 0.0174725112, 0.0629783273, 0.0661799908, -0.0730123892, -0.0238791686, 0.1053134054, 0.0103080813, -0.0308699012, 0.0263480525, -0.0231340546, 0.0279316213, 0.0104879988, 0.0377521515, -0.015953429, -0.0133524807, 0.0168509278, 0.0381576531, -0.0153670274, -0.0227498151, 0.0316750035, -0.0873517469, 0.0606412888, 0.016828103, -0.0238373298, -0.0062535857, -0.0469737835, -0.0051786467, -0.0124860732, 0.0291893631, 0.044827573, 0.0063652201, -0.0305664223, 0.0202883892, 0.0116686039, -0.0602491125, 0.0193165783, -0.0563001074, 0.0278374236, 0.0831293836, -0.0036811333, -0.0006156908, 0.0116452044, 0.0399926752, 0.0205945652, 0.0512655564, 0.0103574907, 0.0260677394, -0.0075943857, 0.0077903708, 0.0038663438, 0.037612807, -0.0123856897, -0.0375967585, 0.0045224824, 0.0670319051, -0.0643015206, -0.021668924, 0.0130976951, -0.0156852361, 0.0159444176, 0.0425281376, -0.0067246705, -0.0420961045, -0.0510789156, -0.0385299362, -0.0311657544, -0.0195932072, -0.0193222165, 0.0073184646, -0.0226705428, 0.0130239185, -0.0278534293, -0.097219713, 0.0470402613, 0.0383614451, -0.0015355026, -0.0077796858, -0.0116131585, 0.0143477833, -0.0063029164, 0.0135458196, -0.0350677632, 0.036540702, -0.0382632352, -0.0367590375, -0.0213433523, -0.022598153, 0.006544766, -0.0118458588, -0.0774468854, -0.0449636914, -0.0160702448, 0.0813837871, 0.0169101637, 0.0889378116, -0.0087977899, -0.0327032879, 0.0346767455, -0.045951061, -0.0147326048, 0.0320830941, 0.0535334125, 0.0532182679, -0.0149546051, 0.020792529, -0.044069279, 0.0112952348, 0.0217061192, 0.0528161786, -0.0358176008, -0.0618292913, 0.0191030204, -0.0385685563, 0.0283551533, -0.0201194528, 0.0054793665, -0.036926575, 0.0247786157, -0.0206609536, 0.0014739244, -0.0405383557, -0.0112088285, 0.047218401, 0.0032893149, 0.0219231304, 0.0139398007, -0.0123065263, -0.0204881653, -0.0278331377, 0.0180107225, -0.0032860446, 0.0000822588, 0.0108545553, 0.0201683771, -0.0104096197, 0.014723504, 0.027393844, 0.024134418, 0.0409399644, 0.0836741626, 0.0160842743, 0.0153841404, -0.0233120471, 0.014936923, -0.063323833, -0.0220112856, 0.0053336602, 0.0422219075, 0.0877800509, 0.0173701122, 0.0586283319, -0.0666939914, 0.0309322141, 0.0089135254, -0.0041817129, -0.0094242459, -0.0259778369, 0.0303610768, 0.0363296755, 0.006282609, -0.0166959744, 0.060277909, 0.0041899118, 0.085047327, -0.0531847849, 0.0232871622, -0.0427929536, -0.053286083, -0.0050369357, 0.0155562656, -0.0203886498, -0.0077463803, -0.0245805159, -0.0345568247, -0.0513080247, 0.010298009, -0.0212675445, -0.072141856, 0.0501675196, 0.0349506289, -0.0359047614, -0.0513023324, -0.0360208377, -0.080785431, 0.0248696841, -0.0061974735, -0.0617814511, -5.926175424e-33, -0.0192166604, -0.0122600133, 0.0617681965, 0.0213716291, -0.0385635085, -0.0445344225, -0.0507192574, 0.0096238535, 0.0114652319, 0.0532467254, -0.0326342434, 0.0202297345, 0.0193626657, -0.0160201229, 0.0173742138, 0.0053472049, 0.0802879557, -0.0172511861, -0.0737929866, -0.0098059187, -0.0069551738, 0.0089839157, 0.0635159612, -0.0557516925, -0.0074250721, 0.0269368235, -0.0503777005, 0.0559927486, 0.0093631381, 0.0303331092, 0.0289688706, -0.017149888, 0.0133778593, -0.0494882576, -0.0243215356, -0.0572189689, -0.0664318427, -0.0271831788, -0.0077078645, 0.0041429852, -0.0620370246, -0.0250123572, 0.0256634988, 0.0029943543, -0.0591453724, 0.0275948551, 0.0054238373, -0.0084216138, -0.0196121633, 0.0079376185, -0.0754987448, 0.0152576249, -0.001272822, -0.0286293887, 0.0235929918, 0.000420041, -0.0323053822, -0.0852819681, -0.0448280722, 0.0137385409, 0.0292284526, 0.0261015501, 0.0596813448, 0.0539470129, 0.0317747779, 0.0170364343, 0.0458666645, 0.0417337418, -0.0118411947, -0.0054411213, 0.0412401929, 0.0267435443, 0.0058118459, 0.0102472473, -0.0420222543, 0.0371842124, -0.0184536483, 0.0399162546, 0.0546050705, 0.1045914963, -0.0121351071, 0.0461993553, -0.0108150346, -0.0242697336, -0.0658469945, 0.0274004415, 0.0182928909, -0.052921012, 0.0408397131, 0.0513273552, 0.0288946182, -0.0700099692, 0.0184797533, 0.0049503772, -0.0126206158, -0.0083652278, -0.0283609163, 0.0342143439, 0.0087714233, -0.0190813616, -0.0803248733, -0.0543562435, 0.0300840996, -0.0189164914, 0.0019399163, 0.0206358228, -0.0200630631, 0.0501252487, -0.0326161943, 0.0316917934, -0.0308018588, 0.0291481558, 0.0283927377, 0.0276715774, 0.0307370033, -0.0304559525, -0.0059492127, 0.0208868366, -0.0134874508, -0.0240818746, -0.0024350884, 0.0490910858, 0.002944475, 0.0246288087, -0.0293261074, 0.0091449628, -0.0659647584, 0.0174178276, 0.0031675317, -0.0510345474, -0.0119811473, 0.0180232879, 2.892e-7, -0.0390250906, 0.024259327, -0.0011583325, 0.055270806, 0.038240172, 0.0514996089, -0.0469606258, -0.0154234627, 0.0040204148, -0.0175820831, 0.0429434218, 0.0534802265, 0.0239163265, -0.0135763343, -0.0593156479, -0.0724791735, -0.029844081, 0.0034461778, -0.0324573927, -0.0471498445, -0.0131560592, 0.0774370283, 0.0222616512, -0.0076287501, 0.0256761257, -0.042213019, 0.0607353412, -0.0259324685, -0.0102633527, 0.0347793214, -0.0059130434, 0.006692518, -0.0028364202, 0.010994127, -0.0161680896, 0.0229986385, -0.06962502, 0.0898007527, -0.028651258, -0.0078671053, -0.0149069866, 0.002912357, 0.0266540349, -0.0164052024, 0.024236219, -0.0483355559, -0.0218050815, 0.0045107286, 0.0069103446, -0.0215190984, -0.0024649363, -0.0127657782, -0.0336659364, 0.0307562388, 0.0070781778, 0.0311567448, -0.0232946854, -0.0513200872, -0.0099780569, -0.0021359965, -0.0120502999, -0.060171511, -0.0183766913, 0.0255808029, -0.0183745325, -0.0345831253, -0.0036715944, 2.683423555e-34, 0.0277770218, -0.0234791655, 0.0323413387, 0.035407044, 0.020671308, 0.0255373456, -0.0360494964, 0.0320313387, 0.0550558306, -0.0383932814, 0.0022864474 ]
http://arxiv.org/abs/2406.11173v2
http://arxiv.org/pdf/2406.11173v2
BSRBF-KAN: A combination of B-splines and Radial Basic Functions in Kolmogorov-Arnold Networks
2024-06-17T03:26:02
2024-06-19T23:01:14
Hoang-Thang Ta
cs.CL
cs.CL
In this paper, we introduce BSRBF-KAN, a Kolmogorov Arnold Network (KAN) that combines Bsplines and radial basis functions (RBFs) to fit input vectors in data training. We perform experiments with BSRBF-KAN, MLP, and other popular KANs, including EfficientKAN, FastKAN, FasterKAN, and GottliebKAN over the MNIST and Fashion-MNIST datasets. BSRBF-KAN shows stability in 5 training sessions with a competitive average accuracy of 97.55% on MNIST and 89.33% on FashionMNIST and obtains convergence better than other networks. We expect BSRBF-KAN to open many combinations of mathematical functions to design KANs. Our repo is publicly available at: https://github.com/hoangthangta/BSRBF-KAN.
[ -0.0487310439, 0.0830269903, -0.0170327555, 0.0370926224, -0.0117084868, -0.0606128052, 0.0008489455, 0.0115554128, -0.0449375287, 0.0481348448, -0.038691327, -0.0401050895, -0.0087854834, 0.0531051755, 0.0007280958, -0.0390122719, -0.0524264574, -0.007246681, 0.0020868611, -0.0247165505, 0.0328012295, -0.0330119506, -0.0397703499, 0.0481517725, -0.0876123384, 0.0239845067, 0.012383352, -0.0215490051, 0.0588537827, -0.0590412505, 0.036293745, 0.022928901, 0.0197339505, 0.0049872668, 0.0000023159, -0.0163171738, 0.0337414443, 0.040407598, 0.0107237268, -0.00075078, 0.0023715899, 0.0226303264, -0.0157112665, -0.0129812015, -0.0513942055, -0.0220307969, 0.0619974323, 0.0783980414, 0.037240427, 0.0630071089, -0.0099367676, -0.092728354, 0.0215427838, -0.0593665875, 0.0133688562, -0.0152338622, 0.0182428863, 0.0005316497, -0.0183985867, -0.0305503495, -0.0160935558, 0.0739340633, 0.0441576801, 0.0012519478, 0.0832098201, 0.0487272292, -0.0049355659, 0.0236736443, 0.0236921404, 0.0850127637, -0.0349157788, -0.0242009517, 0.0009654916, 0.0070660431, -0.0100463089, 0.013248018, -0.0125161055, -0.0015408448, -0.0209933519, 0.0047815475, -0.087889351, 0.037202742, 0.0311780069, -0.0159702748, 0.0179306138, 0.0268148351, -0.0301163942, -0.0323960334, 0.047418192, -0.020780487, -0.0398316979, -0.0113736335, 0.0102185216, -0.010002601, 0.0245881062, 0.0040830341, -0.0255023986, 0.0311872791, 0.0025554996, -0.0378296785, 0.100208208, 0.0149832359, 0.0326788276, 0.0086963009, -0.0903892666, 0.068485193, -0.0574163534, 0.001741984, 0.0212365575, 0.0545363761, -0.045507323, 0.0307374336, -0.0080842348, 0.0224399846, 0.0038522379, -0.0278353244, -0.0556996539, -0.006432273, -0.0096026054, -0.0184044503, 0.0487082601, 0.0463376381, -0.0132862367, 0.0124338223, -0.0849989355, -0.0095803402, -0.0216855314, 0.0033410669, -0.0029715321, 0.0484120771, 0.0159301888, -0.032408949, 0.010616255, 0.0027792051, 0.0346445814, -0.0057972106, 0.0022989537, 0.0174808428, -0.0594105162, 0.0227494966, -0.0266810618, -0.0129003152, 0.033128608, -0.0437739268, 0.0202929098, -0.0454461351, 0.0140604358, 0.0158917326, 0.0298894774, -0.0246434994, -0.0224466827, 0.0262905303, 0.0199156012, -0.0222348627, 0.0252008382, -0.0171945803, -0.0411363393, 0.036652904, 0.0280021168, 0.0084967213, -0.0445604809, -0.014289123, -0.0380843394, -0.007758345, 0.0166136418, -0.0489718691, -0.0416017585, -0.07522057, -0.0707618743, 0.0650623813, 0.0577284954, -0.0175523795, -0.064876087, 0.0058642263, 0.0202548429, 0.0215738676, 0.02465811, 0.0955964923, 0.0444667153, -0.0297295563, 0.0210722815, -0.009942933, -0.0349863432, 0.0666658357, -0.016807301, 0.0155644575, -0.0218439642, -0.0175441001, -0.0337704234, -0.0322860666, 0.0654717982, -0.0145060457, -0.0107853524, -0.0458848402, 0.0365894884, -0.0354990996, -0.0178886782, -0.0491832308, 0.0023622042, -0.0291677658, -0.0451308712, 0.005802297, -0.055306159, -0.0077305962, -0.0016161669, -0.0142528797, -0.0144660631, 0.0120474901, -0.0064314734, -0.0052671214, 0.0149840713, 0.0175862703, 0.0113910055, -0.0508105606, 0.0049739992, 0.0705651045, 0.02671922, 0.0747979805, -0.0018940395, 0.0051866462, -0.0176049359, 0.0239006132, -0.0508696474, -0.0075399284, -0.0590582974, 0.0313625112, 0.0197627321, 0.0305891428, 0.04562594, -0.0262536127, -0.0183868557, -0.0190216433, 0.0254650917, -0.0643737018, -0.0065159472, -0.0040533692, -0.0390111655, -0.0067243511, 0.0382281914, -0.0217590891, 0.0290347748, 0.0287084561, -0.0039078831, -0.0678526685, 0.005698496, -0.0121768713, -0.0211076364, -0.0580651388, 0.0119633935, -0.0044213645, -0.0307056904, -0.0201506913, 0.0192104746, -0.0157340504, 0.0309868418, -0.0210879743, -0.0083946185, -0.0113922199, -0.0444942452, -0.0432453156, -0.0185655616, -0.0166949462, 0.0108528221, -0.010220076, 0.0006764713, 0.0313979797, -0.0219174623, -0.0579067133, 0.0080783255, -0.0063728979, -0.0213643443, 0.0237998366, -0.0288473051, -0.0056837751, 0.0021855831, -0.0026774474, 0.0888575912, -0.0002543678, -0.0658533275, 0.00741687, 0.009042711, -0.032189548, -0.0156028215, -0.0357100554, 0.0125193512, 0.0113805002, -0.000385355, 0.0244677234, 0.0070171515, -0.0015614877, -0.0133112138, 0.0508639626, -0.037900459, -0.0455921888, -0.0382349379, -0.0376147851, -0.0645059869, 0.0705995187, 0.0195675883, -0.049219273, -0.0023173804, 0.0482582301, -0.0275007598, 0.0568600595, -0.0291218292, 0.0564491972, -0.0384984128, -0.0232329182, 0.0032375325, 0.0640214682, -0.0253501125, 0.0092338584, -0.0224953629, -0.0279235542, 0.0448296368, -0.0348524787, -0.0544845313, -0.0172131453, -0.0048362906, -0.0186821949, -0.0137145305, -0.0390081331, 0.0271456838, -0.0536406338, 0.0080879144, 0.0114895161, 0.006293436, 0.0046673231, -0.0641627982, 0.0586851686, 0.0217366274, -0.0467504971, 0.0097457916, 0.0200736895, 0.0136907641, 0.0331454873, -0.0100490553, 0.0020993943, -0.0144069931, 0.0059651765, 0.0158478916, -0.0430170186, -0.0686887652, -0.0047582434, -0.0053660292, -0.0093680918, 0.004089938, -0.0371695235, -0.0177026, 0.0048167352, -0.0025361779, 0.0400798135, -0.0600550696, 0.005520294, -0.0237296503, 0.0174965542, 0.0129282614, -0.0178693514, 0.0038274825, 0.0065332879, 0.0155949034, -0.0325301848, -0.046387285, 0.0317252539, -0.0694736242, -0.0061557409, -0.0566829629, -0.020105252, -0.020521177, -0.0053304867, 0.0314808115, -0.0058403867, -0.0414910428, 0.0449100733, 0.0107940892, -0.0734513402, -0.0454148985, 0.0055806637, 0.0834184289, 0.0110009378, 0.023684945, 0.0413466543, 0.0190366898, -0.0018583369, 0.0323927999, -0.0244169571, -0.0039388291, 0.0518748015, -0.0727646276, 0.0150019117, 0.0382951312, -0.1300305575, -0.0429934524, -0.0160955228, -0.0249307044, -0.0064399913, -0.000501306, 0.016558975, -0.0201089755, -0.0113063743, 0.0615614913, -0.0242680423, -0.0293403286, 0.0047794357, -0.0563840419, -0.0197100025, 0.0290000346, 0.0019506409, -0.031888783, -0.0494792499, 0.0192486513, 0.0145654101, 0.0354468562, 0.0017438454, 0.0112356022, 0.045663368, -0.028437335, 0.0395792201, 0.0930362195, -0.0419089645, 0.0587453097, -0.002660115, 0.0202009957, -0.0060827946, 0.0123904636, -0.002648866, -0.0033651371, -0.0123260515, -0.0012075804, -0.0180505756, -0.0217338707, -0.0128682237, -0.0000575886, 0.0370044336, -0.0419074334, -0.0703245848, -0.0269863643, -0.0482141413, -0.0427689739, -0.0496326573, 0.0105183059, -0.0262751654, 0.0711429939, 0.0031260429, -0.068050839, 0.0199421719, 0.0163525417, 0.0144558223, 0.0180567279, 0.0109890634, -0.0227313414, -0.0293571204, 0.0535668246, 0.033443369, -0.0085114231, -0.0127415815, -0.0211285707, -0.0303836875, 0.0064713713, -0.0053577609, 0.0940412283, 0.002220137, 0.0426212102, -0.0507227965, -0.0253155567, 0.0667807534, 0.0080788443, 0.0864601582, 0.0060356394, 0.0470381789, -0.0390025266, -0.008439905, 0.023151949, 0.0046325186, 0.0611980818, 0.0057627526, 0.0076124407, -0.0251689348, 0.0649997145, -0.0042977519, 0.0220689569, 0.0687790439, 0.0443373211, -0.0122696748, -0.0710790977, 0.0126278643, 0.0311461668, 0.0305543095, -0.0343046449, 0.0425552428, 0.0569482259, 0.0451630056, -0.0118192881, -0.0768558681, 0.0876337439, 0.0171560291, 0.0229775663, -0.0130287251, 0.0765822902, 0.0764091313, -0.0215297192, 0.0157246366, -0.0045599621, -0.0063210637, 0.0047429441, 0.0262951795, 0.0140102729, 0.0781793222, -0.016399296, 0.0053410749, -0.0103316754, -0.009551405, -0.0667141303, 0.0086529162, -0.0841663107, 0.0283126291, 0.0581143275, -0.0029549082, 0.0109266983, -0.015702419, 0.0082847737, -0.0174015909, 0.0037712185, 0.0187265966, 0.0576233938, 0.058801949, 0.0161598716, 0.0121946102, -0.010088495, 0.0208112244, 0.0198657364, -0.003183132, -0.0066141766, 0.051339563, -0.0394589975, -0.0107055306, 0.0221627783, 0.0471787155, -0.0236752704, -0.0113370959, 0.0158859883, -0.0128693637, 0.081064932, -0.0091130817, 0.0310624912, 0.0050510573, 0.0562057123, 0.0027147692, -0.0269763153, 0.0639455914, -0.0133095421, -0.0406496748, -0.0322587267, 0.0143386917, -0.0526278056, -5.948906178e-33, 0.0060717897, 0.0311088283, -0.001456873, -0.0306858029, -0.0324108638, 0.0244541615, 0.0233406126, -0.0025181652, -0.0078538349, 0.0012273872, -0.0315415189, -0.019611964, 0.0008261495, 0.0272117741, 0.0041877842, -0.0104018273, 0.0036589298, -0.0004975957, 0.0433074124, 0.0144767156, 0.0439918861, 0.0124817016, 0.0025738575, -0.0644854158, -0.0742411762, 0.0500488356, -0.0441075563, 0.029052034, -0.0422627628, 0.013793922, -0.040501453, -0.0081710089, -0.0169702694, 0.050661426, -0.0117059126, -0.0441160798, -0.047055345, -0.0118332757, -0.0402398407, 0.0010130092, -0.0361717492, 0.0009100426, 0.0668578669, -0.0329462066, 0.0007682757, -0.003122956, 0.0288317576, -0.0250755567, -0.0420207046, 0.0060987319, 0.0528259836, -0.0066792746, 0.015898101, 0.0101789813, 0.0292435884, 0.0145781087, -0.0200086404, -0.0316262729, -0.0538225099, -0.0034639202, 0.0221641678, 0.0288524255, -0.0231072828, 0.0345431007, 0.0669881031, 0.0361781418, 0.0368808247, -0.0379982516, 0.0154579552, -0.034500327, 0.017622374, 0.0331306644, 0.0830182284, -0.0009199273, 0.0565393865, 0.0025116354, -0.050815817, 0.0258206017, 0.0165766925, 0.0346982442, -0.0010719872, 0.0010601808, -0.0384948663, 0.0434272252, -0.016159771, -0.0996492207, -0.0407429039, -0.0136023518, 0.0096447123, 0.018021265, 0.0075204936, 0.0150652798, -0.0256530344, -0.0252488945, 0.0441190638, -0.0240339283, 0.0188685767, 0.0400993563, 0.0422443151, -0.0079719955, -0.029994918, -0.0155187435, -0.0406003967, 0.0092458371, 0.0139213018, 0.0028217894, 0.0396019854, -0.006928551, 0.0098918686, -0.0357793085, -0.0451757573, 0.0456726849, 0.0255135074, 0.0337312557, 0.0421449468, -0.0267727878, 0.0157984216, 0.091596283, -0.0152192665, 0.0542333163, 0.0033537676, -0.002265359, 0.0012341358, 0.0538769327, -0.0000088509, 0.0045026396, -0.0102173109, -0.0215886142, -0.0290634818, -0.0969114155, -0.0113566983, 0.0082625337, 3.023e-7, -0.0068185898, -0.0161289163, -0.0157360565, -0.0093698688, 0.0452367626, -0.0234619901, -0.0341661088, 0.0073087565, -0.0112339184, -0.0313165262, 0.0440208726, 0.0095131192, 0.0245977733, -0.0114545133, -0.0973032713, -0.1033543795, -0.0678000599, -0.0033194742, 0.0081840577, -0.0229285639, 0.0147347804, 0.0568128899, 0.0139058335, -0.0032099253, 0.0823564678, -0.0114807077, 0.02861505, 0.0287879296, 0.0639718175, -0.0186067224, -0.0220261328, -0.0270512439, -0.026860334, 0.029586792, 0.0041220221, 0.0942191333, 0.0033706015, 0.0363150313, 0.0253667627, -0.0262495223, 0.0613592565, 0.0957545862, 0.0222531278, -0.0011807684, 0.0371606536, -0.0310001951, 0.0204956811, 0.0135271102, -0.0481522195, 0.0051122224, 0.0467790402, -0.0150933154, -0.0094058933, -0.0035405348, 0.0070005003, -0.030074317, 0.0101316394, -0.0319659486, 0.0159921963, 0.0546606742, -0.0500649847, -0.0113373781, -0.0612415336, 0.04479919, 0.035048984, 0.0177588686, -0.054267399, 2.653338017e-34, 0.0294357501, -0.0296227075, 0.033447884, 0.0214446764, 0.0211436171, 0.016991064, -0.0514627323, -0.0028799102, 0.0094951307, -0.0592164211, -0.0176740531 ]
http://arxiv.org/abs/2406.11172v1
http://arxiv.org/pdf/2406.11172v1
Enhancing Criminal Case Matching through Diverse Legal Factors
2024-06-17T03:23:11
2024-06-17T03:23:11
Jie Zhao, Ziyu Guan, Wei Zhao, Yue Jiang
cs.CL
cs.CL
Criminal case matching endeavors to determine the relevance between different criminal cases. Conventional methods predict the relevance solely based on instance-level semantic features and neglect the diverse legal factors (LFs), which are associated with diverse court judgments. Consequently, comprehensively representing a criminal case remains a challenge for these approaches. Moreover, extracting and utilizing these LFs for criminal case matching face two challenges: (1) the manual annotations of LFs rely heavily on specialized legal knowledge; (2) overlaps among LFs may potentially harm the model's performance. In this paper, we propose a two-stage framework named Diverse Legal Factor-enhanced Criminal Case Matching (DLF-CCM). Firstly, DLF-CCM employs a multi-task learning framework to pre-train an LF extraction network on a large-scale legal judgment prediction dataset. In stage two, DLF-CCM introduces an LF de-redundancy module to learn shared LF and exclusive LFs. Moreover, an entropy-weighted fusion strategy is introduced to dynamically fuse the multiple relevance generated by all LFs. Experimental results validate the effectiveness of DLF-CCM and show its significant improvements over competitive baselines. Code: https://github.com/jiezhao6/DLF-CCM.
[ 0.035320323, 0.0477746464, -0.0077366508, -0.0000897674, -0.0830792412, 0.0414180793, 0.0086510628, 0.0102564804, -0.0119049083, -0.0752240121, -0.0371337011, -0.0195241868, -0.0306419283, 0.0042977957, -0.046871312, -0.0512734354, 0.071453169, 0.0392760672, 0.0378201455, 0.0319778509, 0.0201338716, 0.0320509784, 0.0186897144, 0.0358733572, -0.0306542665, 0.006532907, -0.005826653, -0.0000697673, 0.0550871156, 0.0101208389, -0.0076616472, 0.0676536113, 0.0238736626, 0.0028417499, 0.0000017587, -0.0828782395, -0.0194918644, -0.0338685624, -0.0009312097, -0.0256484114, 0.0136592751, 0.0287009515, -0.0089967698, -0.0249257851, -0.032759726, -0.0218586307, 0.0080599384, 0.0677465126, 0.0391767658, 0.0513300486, -0.0059812479, -0.0437007025, 0.0362605751, -0.0436371416, 0.0028542855, -0.0588853508, 0.0354516581, 0.0077274442, 0.0070070545, -0.0492045879, 0.0275978055, -0.0200927611, 0.0305741243, 0.019445857, -0.0150279757, -0.0021281198, -0.0219610184, 0.0143365376, 0.0052388762, 0.0751076341, -0.010491753, -0.0481675342, -0.0093114171, -0.0092292484, 0.040095076, 0.0078923125, -0.0305834003, 0.0522628427, -0.0415253304, 0.0476403125, 0.0278136302, 0.024887722, -0.0097625013, 0.0187047068, -0.0320659056, 0.0492892452, 0.0170165915, -0.0285840575, 0.0016888145, 0.0161895826, 0.0037014349, -0.0354356132, 0.0413994603, 0.0034981591, -0.0314102471, -0.0055127977, -0.0570951477, -0.0433069579, 0.0553507768, -0.0699323788, -0.0021612477, -0.0011739542, -0.0188750327, 0.068402648, -0.0236755833, -0.0094190426, 0.0109382858, 0.0034493399, -0.0418724902, -0.0741964653, -0.068120122, 0.0082106963, 0.0064572091, 0.0739166141, -0.031778302, 0.0289874487, -0.0249852147, 0.0097480472, -0.0738953352, 0.0061491947, 0.0256543346, 0.0033614906, -0.013731055, -0.0099026049, -0.0482712314, -0.0335499384, -0.0373325385, 0.0589151941, -0.0329433829, 0.0158710666, -0.0073635662, -0.0030994276, 0.0131815448, -0.0285010803, 0.0176668782, 0.1069382429, -0.0118999202, -0.0385116041, -0.0486199968, -0.046761103, 0.0059933048, -0.0419821814, -0.045166783, -0.0513059571, 0.0202380102, -0.0401426367, -0.0203523114, -0.0478876941, 0.000428715, 0.037376482, -0.0434955209, 0.0711875707, 0.0248531904, -0.0287246071, -0.0354987271, 0.0263034031, 0.0246825162, -0.0134377507, -0.0113965664, 0.0334191397, 0.0072214613, 0.0030293316, 0.0137491319, 0.0250986088, 0.010311407, 0.0029568863, 0.0004034474, 0.0218576789, 0.0307428669, -0.0078090453, 0.0503653735, -0.0037609329, 0.0178320631, -0.0194384139, 0.0025803612, 0.0248080958, 0.0506562255, 0.0428391285, 0.0071138297, -0.0055496329, 0.0031152861, 0.0220512077, -0.0594916008, 0.0308399275, -0.0414004289, 0.0047873091, -0.0535265058, 0.0353579223, -0.0350767858, -0.0047219228, 0.0181847792, 0.0073052319, 0.0164280348, 0.0239481684, 0.0175324157, 0.0251054, 0.0020611787, 0.0350086056, 0.064595826, -0.0261649638, -0.017841557, -0.0604789704, 0.0006933177, 0.0460874029, 0.0279843751, -0.0403326862, -0.0439271964, 0.0167432614, -0.0455976129, 0.0138823437, 0.0101647815, -0.0071772276, 0.0086156493, -0.0430491716, -0.0706982017, 0.0204164647, 0.0149132404, 0.0460241586, -0.0031853975, 0.0190134365, 0.044160109, -0.0157310236, 0.0159377009, 0.0269327238, 0.010892353, -0.0189747959, 0.029240815, 0.0178867094, 0.0555081815, 0.0153970262, -0.0081048375, -0.007596896, 0.003286683, 0.0193097107, -0.0116276573, 0.0172797721, -0.0035230974, -0.023332566, 0.0581879877, -0.0212195162, -0.00580442, -0.0130132372, -0.057684198, -0.0147591801, 0.0021689478, 0.0194596518, -0.0025452487, -0.0477023497, -0.0023419575, 0.0086705042, -0.021710543, -0.0320770182, 0.0577629022, 0.0209720694, -0.0640172809, -0.03254015, -0.0483689494, 0.0221056566, -0.019832097, 0.0070240996, -0.0531673394, -0.0547381006, 0.0336444117, -0.0039051708, -0.0073889005, -0.0474275239, -0.017321201, -0.0400528498, 0.0208351165, -0.0246477146, -0.0119148437, 0.0011250929, 0.0119674793, -0.0024015962, -0.0400692448, -0.0199441388, -0.0335705727, 0.0147447586, 0.0071122348, 0.0057083173, 0.0048946487, 0.0074319225, -0.0211248249, -0.03079441, -0.0259488598, 0.0444381759, -0.0276200771, -0.0057296776, -0.0178503767, 0.0926242843, -0.0281952303, -0.0042261253, -0.038130708, 0.0560345575, -0.023273116, 0.0050260914, -0.0355235934, -0.0163988471, 0.0429417938, -0.0355249308, 0.0400680341, -0.0358088352, -0.066999644, 0.0188182928, 0.0067416392, 0.0484922603, -0.0097420821, -0.0065477332, 0.0141030662, 0.0089406222, 0.0098518841, -0.0107683158, -0.0235566199, -0.0290272702, 0.0283690952, -0.0452731997, -0.0467914641, -0.0364325941, 0.0247857459, -0.0068974686, -0.0201470032, -0.0477677993, 0.0855522975, 0.0213645734, 0.086005263, -0.048914317, -0.0254122056, -0.0595713556, 0.0849459991, -0.0011174977, -0.0206657238, -0.0090668648, -0.0363331735, 0.0209916048, -0.0275223367, 0.061164353, -0.0308219474, 0.1113010421, 0.0115422653, 0.0202622041, -0.0238112696, -0.0492095985, -0.0410302207, -0.0701448172, 0.0127115194, 0.0031807453, -0.0258441884, 0.0252100695, -0.0532656163, 0.0095710419, -0.0212863982, -0.0014748808, 0.0188565478, -0.0052836817, -0.0380259119, 0.0360099971, 0.0385712609, -0.0022054538, -0.0144643076, 0.0066398685, -0.0258587375, 0.0095046433, 0.0152245909, -0.0262268297, 0.0237271097, 0.0287486278, 0.0339977331, -0.087804988, 0.0084433267, 0.0272538457, -0.016385857, -0.0292744469, 0.0576791726, 0.0683480129, 0.0184760951, -0.0457088649, -0.0206977315, -0.000393368, -0.0181960594, 0.0187420174, 0.0194795299, -0.0457787663, -0.0110538844, 0.0305818897, -0.0272248574, -0.0068179443, -0.0411186367, -0.0046339878, -0.0612018667, 0.0570726469, 0.0378339961, -0.0103984447, -0.0439323857, -0.0453303792, 0.0137306424, -0.0447441377, -0.0082444586, -0.0163905658, -0.0413107835, -0.015993014, -0.0073910891, -0.0264985543, 0.0041503762, 0.0531408899, -0.0604546592, 0.0271264054, 0.028145805, 0.0216155313, -0.0334625728, 0.0063842069, -0.0171526447, -0.0017644505, 0.0138229961, -0.0040769945, 0.0518612973, -0.0104931882, 0.0171869881, -0.0795657486, 0.0222057495, 0.0191911738, -0.0611442514, 0.0446158983, 0.0409902595, -0.057613343, 0.0130176283, -0.0327904373, -0.0381297432, -0.0130253565, 0.0546901897, -0.011000907, 0.0060039381, 0.004651858, 0.0203202646, -0.0336695947, -0.0395831168, 0.0015968023, 0.0133115435, -0.0517596789, 0.005882489, 0.0194238946, -0.0101577165, -0.0133810109, 0.0089544598, 0.0106787244, 0.0319962539, 0.0040252982, -0.0155873084, -0.0776822716, 0.0579886101, -0.0521672517, 0.0298564769, 0.0220421627, 0.0628920421, 0.0033984473, -0.02298172, -0.038578257, 0.0206146408, -0.0155942151, 0.0227843691, -0.0085144518, -0.0219233055, 0.0063831494, 0.0106021771, -0.046359539, -0.0275596492, 0.0475817882, 0.0408627428, 0.005102207, -0.0152686778, 0.0537798926, -0.0619778, -0.0233060755, 0.0015878797, -0.0135466279, 0.0509065241, 0.0327574015, -0.0005128033, -0.0273633637, -0.0497834869, 0.025599245, 0.0439969972, 0.0880552754, -0.0005851943, -0.0015815343, -0.0612847768, 0.0167853478, 0.0072633778, -0.002280572, -0.0114821456, 0.0060464162, 0.0211067293, 0.0212473162, -0.036931131, 0.0656576827, 0.0107130827, 0.0077514108, -0.079553321, -0.0082500027, 0.0382238962, 0.0030197999, -0.0219182689, -0.0450281985, -0.0024699853, 0.0052289385, 0.0157235749, 0.0280913133, -0.0260816477, 0.0162093043, 0.0001918722, 0.036752902, -0.0336342566, 0.0166656133, -0.0532104112, 0.0361753032, -0.0288907625, 0.0165876318, 0.1015568227, -0.0149339708, -0.0108538307, -0.0004776728, -0.0039369105, -0.0019544363, 0.0189138092, -0.011424196, -0.0031559865, 0.0229190383, 0.0277292505, -0.0081361914, 0.0131369978, 0.0283855982, -0.0248088464, 0.0462474599, -0.028141614, -0.0443121865, -0.0282254983, -0.0427545011, 0.0044670599, 0.0601956099, -0.0447601043, -0.0811701268, -0.0705819651, -0.0046173055, 0.0113848234, -0.0202042721, -0.0318785906, 0.0422090404, 0.0042803525, 0.043664217, 0.0276641063, -0.0255955383, -0.0093409391, -0.0015901872, 0.0195955765, -0.0152776111, 0.0165968109, -5.484570482e-33, -0.0169683993, -0.0236495025, -0.0064047612, 0.0243596118, -0.0251656603, -0.0109728985, 0.0482217893, -0.0512807332, -0.037098337, -0.0105103403, -0.0035927198, 0.0131355282, 0.0178001188, -0.0160120632, 0.0338129178, -0.0229804497, 0.0130141228, 0.0313888937, 0.0263132453, 0.0269458722, 0.0243301876, 0.0177933071, 0.027519552, -0.0991262943, 0.0250429232, 0.0301530268, -0.0136558935, -0.0136642139, -0.0329314582, 0.0576363057, 0.0071388357, 0.0342114978, 0.0516041555, -0.0814717785, -0.0322688483, 0.019144075, -0.0854442045, -0.0187955238, 0.005723842, -0.0367626697, 0.0450587794, -0.0301104933, -0.0112740928, 0.0120046642, 0.0005351012, -0.0120352237, 0.0541586094, -0.0480976738, -0.0279966015, -0.0694213957, -0.0579322875, 0.0455862768, 0.0056857015, 0.0417117439, 0.014602134, -0.0044326205, 0.0303522665, 0.0362309664, -0.0737685636, 0.0189733729, -0.0577820726, 0.0058218441, 0.0243553463, -0.0335452631, -0.0547088273, 0.0617713965, -0.0360630937, -0.0372740813, -0.0480585061, -0.0200329814, 0.0100094182, 0.1039772779, 0.0229170155, 0.0778824687, 0.0542392842, -0.0398894437, -0.1071845368, 0.0199735351, 0.0534018017, 0.0348854624, -0.0104780169, -0.0125215063, -0.048831258, 0.014535523, -0.0381760783, 0.0232135076, -0.0123294434, 0.0069241091, 0.0164812151, 0.0039454666, 0.0649959594, 0.0178942624, -0.0011654469, -0.0395439193, 0.0393504947, 0.0581170693, -0.0088246651, -0.0054684617, -0.0043972475, 0.0215129741, -0.0038734798, -0.0664274171, 0.0440231301, -0.0514465384, -0.0093356771, -0.0273529999, 0.0803655982, -0.0321477763, -0.0314456485, 0.0058492669, 0.0304176174, 0.0119559476, -0.0047140066, 0.0167983025, 0.0126177268, 0.0428357869, 0.0375818722, -0.0052486286, 0.0263294484, 0.011443371, -0.0253929738, -0.0186369494, 0.006922191, 0.010409642, 0.0598293766, -0.0009114288, -0.0039088102, -0.0186890457, 0.0138340201, 0.008967747, 0.0052227736, 0.0664215833, 2.573e-7, 0.0340051167, -0.0071316026, -0.0293702427, 0.0140313096, -0.020612238, 0.0509205349, 0.0146736316, 0.066275388, 0.0337920077, 0.0039153881, 0.0200110357, 0.0363211706, 0.049608089, 0.0668082908, -0.0135475071, -0.0540910251, -0.0334998593, -0.0449701734, -0.0622897483, 0.0364198163, 0.033292938, 0.1101193279, 0.0555423908, -0.0275453534, 0.0197247732, -0.0236428808, 0.0235519875, -0.0214613453, -0.0275055207, 0.0138376709, 0.0482862853, -0.0199689884, -0.0098854899, 0.0973295718, -0.0155295441, 0.0815958902, 0.0017987629, 0.0277404413, 0.0045786682, -0.0114783663, -0.0466443077, -0.0360819101, 0.0303731021, -0.0142646143, 0.083988905, 0.0003053087, 0.0015765182, -0.0294067506, -0.0339338332, 0.0180740468, 0.0267775469, 0.0536079593, 0.0025772939, -0.0197122917, 0.0420389473, 0.0117551871, -0.0294244215, -0.0961561352, 0.0076799761, 0.0658028722, -0.0242074095, 0.0177462399, 0.0152306948, -0.0257483982, 0.1243948787, -0.1000210866, 0.0249351021, 2.224561759e-34, 0.0140563259, 0.0038333202, 0.0166790765, -0.0288101546, 0.0055734017, 0.0447582565, -0.1038256958, 0.0201561823, -0.0207052808, -0.0711515173, 0.0413766317 ]
http://arxiv.org/abs/2406.11171v2
http://arxiv.org/pdf/2406.11171v2
SUGARCREPE++ Dataset: Vision-Language Model Sensitivity to Semantic and Lexical Alterations
2024-06-17T03:22:20
2024-06-19T00:03:42
Sri Harsha Dumpala, Aman Jaiswal, Chandramouli Sastry, Evangelos Milios, Sageev Oore, Hassan Sajjad
cs.CV
cs.CV, cs.CL, cs.LG, 68T45, 68T50, I.2.7; I.2.10
Despite their remarkable successes, state-of-the-art large language models (LLMs), including vision-and-language models (VLMs) and unimodal language models (ULMs), fail to understand precise semantics. For example, semantically equivalent sentences expressed using different lexical compositions elicit diverging representations. The degree of this divergence and its impact on encoded semantics is not very well understood. In this paper, we introduce the SUGARCREPE++ dataset to analyze the sensitivity of VLMs and ULMs to lexical and semantic alterations. Each sample in SUGARCREPE++ dataset consists of an image and a corresponding triplet of captions: a pair of semantically equivalent but lexically different positive captions and one hard negative caption. This poses a 3-way semantic (in)equivalence problem to the language models. We comprehensively evaluate VLMs and ULMs that differ in architecture, pre-training objectives and datasets to benchmark the performance of SUGARCREPE++ dataset. Experimental results highlight the difficulties of VLMs in distinguishing between lexical and semantic variations, particularly in object attributes and spatial relations. Although VLMs with larger pre-training datasets, model sizes, and multiple pre-training objectives achieve better performance on SUGARCREPE++, there is a significant opportunity for improvement. We show that all the models which achieve better performance on compositionality datasets need not perform equally well on SUGARCREPE++, signifying that compositionality alone may not be sufficient for understanding semantic and lexical alterations. Given the importance of the property that the SUGARCREPE++ dataset targets, it serves as a new challenge to the vision-and-language community.
[ 0.0347685888, 0.1112745106, -0.0233312324, 0.0642849803, -0.0412562527, 0.0227367636, -0.013605441, 0.000873022, -0.0579665899, -0.1002051905, -0.0397846699, -0.024645878, 0.04633075, 0.0479111299, 0.02580023, -0.0572135784, 0.0637227371, -0.0159560964, -0.0713526681, -0.0014838477, 0.009877109, 0.0056030145, 0.0042435401, 0.0228855032, 0.0034772465, -0.0127867553, -0.0020423862, 0.0541583598, -0.0080232788, -0.0107544931, -0.0225920025, 0.0670391917, 0.0310207196, 0.0316117108, 0.0000019581, -0.0338161774, 0.0152722914, 0.0028868958, 0.0206844267, 0.0168290418, 0.0832254738, -0.0553170964, 0.0074236938, -0.0172554273, -0.0154276378, -0.0390390642, 0.0929631665, 0.0361392424, 0.0400168113, 0.0510241129, -0.0306225829, -0.0499861762, -0.0042323307, -0.0287565868, 0.0073079872, 0.0123202717, 0.0477974042, 0.0327347629, -0.0430822223, -0.0050975569, -0.0654307157, 0.0316514596, -0.0091758529, 0.0240206867, -0.0140013481, 0.0271954089, -0.0536732487, -0.0447509326, -0.0077257939, 0.0768303722, -0.0284153745, -0.025360601, -0.0173532367, -0.00157799, -0.001635702, -0.0321822017, 0.0035659443, 0.0369315371, 0.0383359455, 0.0397637486, -0.0547621697, -0.0115056038, 0.0169811547, 0.0219543353, -0.0190009139, -0.0262851547, 0.0430030636, -0.0059022536, -0.0153582757, 0.0211084448, -0.0298020095, -0.0352648534, -0.0253732018, 0.0021850565, 0.0172938276, 0.0114114089, -0.072287783, -0.0225604251, 0.00167015, -0.0666115731, 0.0695038885, 0.0186110102, -0.0686060637, 0.0603049695, -0.0273880959, 0.0499354638, 0.0137170656, 0.0798453242, -0.046077989, -0.0032264986, -0.030248927, -0.0055309678, -0.032100372, 0.0271519218, -0.0492320731, -0.0434640683, -0.0179475304, 0.0089881271, -0.0282688849, -0.007487189, -0.0214528553, 0.0064824871, -0.0286262911, 0.0128628537, -0.0249843076, 0.0120328795, 0.0476996787, 0.0197003726, -0.0360769033, -0.0518004708, -0.0009091606, 0.0317957439, 0.0062903594, -0.0062491521, 0.0022331341, 0.091296643, -0.0043718149, -0.0587192662, 0.0024611957, 0.0006081458, -0.0247010738, -0.0447233245, 0.0007818042, -0.0671657398, 0.0316750966, -0.0259925891, 0.002399693, -0.0742617771, 0.0106908921, -0.0012355255, -0.0441272743, 0.1249430776, -0.0182735492, 0.0067127626, -0.0395461507, -0.0156067424, 0.0079208901, 0.0830431059, 0.0104483487, -0.0055459007, 0.0334916562, 0.0172309056, 0.0041130753, 0.0237166081, 0.0049794209, 0.0472374111, -0.0773083046, -0.0066686068, 0.016211316, 0.0259624384, 0.0307027698, 0.058731731, -0.0204654057, -0.0555160306, 0.0732303187, 0.0098341471, -0.011444441, -0.0098362472, 0.0166778304, 0.0075316564, -0.0056546065, -0.0033823994, -0.0751506314, 0.00656306, -0.0032912339, -0.0030386646, -0.0172332488, 0.0129979914, -0.0449770428, -0.0175912827, -0.0329650231, -0.0303602852, 0.0256995149, -0.021501204, 0.0335186422, 0.0304268096, -0.013011043, 0.0723249838, 0.0392037295, -0.0364698991, -0.0268547982, -0.0515043773, 0.021451924, 0.0493774638, 0.0322742611, -0.007144528, -0.0280301254, 0.0153292157, -0.0132318372, 0.0782626867, 0.0019831907, 0.0149487974, 0.0528085679, -0.0333316438, -0.0190447271, -0.0292523969, 0.0115628866, 0.0097275674, 0.0102393329, -0.0260408632, 0.0184245966, -0.0208116788, -0.0170397982, 0.0623972453, 0.040905647, 0.0224878807, -0.0215762276, -0.0000526857, 0.0092084082, -0.0281421822, -0.0303391274, 0.0004605702, -0.0023696141, -0.0077150883, -0.0315164588, 0.0400896184, -0.049037829, -0.0653630123, 0.0511662103, -0.0379932672, 0.0000761922, 0.0258490089, -0.0440047942, 0.0008798676, 0.0336038433, -0.052115757, 0.0307972003, -0.0594240949, 0.0310062785, -0.0265091285, 0.042279996, -0.0185027514, 0.0314295888, -0.0313907675, -0.0392825343, -0.0115880603, 0.0049387058, 0.0181496236, -0.0197318494, -0.0430397354, 0.0098730884, -0.0012853146, 0.0165599659, -0.0197520517, 0.0185279604, -0.0222473647, -0.0207806081, -0.0413299575, -0.0272287503, -0.0278720763, -0.0272366852, 0.0379785113, 0.0159241576, 0.0059057409, -0.0347469039, 0.0084559135, 0.0299933087, -0.0077533578, 0.0463068262, 0.0347655341, -0.0027490461, 0.0184725113, -0.0247074384, -0.0207840018, 0.0104598682, 0.0806545317, -0.0173402876, -0.0304220598, -0.0526317656, 0.0202118941, -0.0399673395, 0.0276690442, 0.0179035254, -0.0391194187, -0.0255943481, -0.003407913, 0.0171670578, 0.075420931, -0.0046803104, 0.0323185511, 0.0589845665, -0.0039485027, -0.0335176438, -0.0348683149, -0.0127750821, -0.0410839356, -0.0213242583, -0.031821169, -0.042831026, 0.0355899259, -0.0297745354, 0.0031292504, -0.071299471, 0.0505853742, -0.0265826862, -0.0588191561, -0.0204780903, 0.0127407489, -0.0193403699, 0.0069798464, -0.0610646158, -0.051867485, 0.0128131341, -0.0439282097, -0.0023347875, -0.034066461, 0.0363281704, -0.0259219985, 0.0832676589, 0.0508424155, 0.0409039743, -0.0196791831, 0.0003547134, -0.0519568622, -0.0429362208, -0.0017870936, -0.0071373889, 0.0451330394, -0.0560250841, 0.0240696985, -0.0365270004, -0.0185146816, -0.0075204722, -0.0215337183, 0.0064623882, 0.0070358571, -0.0642909333, -0.0135666486, -0.0190184992, 0.0348816812, -0.0180517826, 0.0219070408, -0.008348872, -0.0029800464, -0.0321554318, 0.0144901583, 0.0668701306, 0.0291443467, -0.005813512, -0.0095952991, -0.0065028127, 0.0305029508, -0.0229937863, 0.0253904443, -0.0575829968, 0.0320817046, 0.018420862, 0.0234268643, 0.0149365813, 0.0005833341, 0.0416142419, -0.0298178308, -0.0204945058, 0.0557562672, 0.032247968, -0.0434580557, 0.0112152118, 0.0137464451, -0.0006714467, 0.044837743, -0.0166682731, -0.0820552409, -0.0491286442, -0.0040668156, -0.0312041845, 0.0115355663, 0.0066157943, -0.0457488447, -0.1014978811, 0.0079420861, 0.0153099149, -0.0620802864, -0.0304927621, 0.0346482396, 0.0084416335, -0.0301774163, 0.0211911444, -0.0188322682, -0.0152542908, 0.0021686356, -0.0057494794, 0.008368969, -0.0509947799, 0.0146179674, -0.0477722548, 0.0269465297, 0.0777710229, 0.0100562135, -0.0196846817, -0.0252416097, 0.0534773655, -0.0107114315, 0.0004241068, -0.0059742345, 0.0830512717, -0.0153108891, -0.0320301987, 0.0289894212, 0.0038725629, -0.0275094528, -0.0239990782, -0.0334083922, -0.0072900178, 0.0015281701, -0.0008807483, -0.0591760203, 0.0108375652, -0.0224269256, 0.0544705093, 0.0388845354, -0.0235968027, -0.017189879, 0.0117092347, -0.0268669575, -0.0467173532, -0.0060224063, 0.0415575132, 0.016717175, -0.0097104656, -0.072622031, -0.0370214246, -0.0034496412, 0.0209690239, 0.0141340811, -0.0174887367, 0.0002754969, 0.0041294969, -0.0652083308, 0.0536637791, -0.0431221165, 0.0236727819, -0.0201008115, -0.0244011488, 0.0450063609, -0.0073160697, -0.0136901047, -0.0224961098, -0.0888302922, -0.0405309461, 0.0022726876, 0.0520204715, 0.018002199, 0.0515736751, -0.0069257799, -0.0173130911, 0.0240168385, 0.0593944862, 0.0233674496, 0.0788662285, 0.0243939143, -0.0255232193, -0.003503979, 0.0423500091, -0.0253532063, 0.0313807689, 0.0577013716, 0.0153254624, 0.0284953974, -0.0399933532, 0.0088420007, -0.0035400025, 0.0365627147, -0.0045002536, 0.0293151047, 0.001486156, 0.0099338079, 0.0001470203, -0.0061895107, -0.0635715798, -0.0110334484, 0.0163805466, 0.0277341455, -0.022475468, -0.0059136581, -0.0415982418, 0.0394634828, -0.009999604, -0.0075308247, 0.0326329209, -0.0261336863, 0.0019430699, 0.0495092683, -0.0148644252, 0.0192026589, -0.0528144054, -0.0077109118, -0.0316421501, 0.0225846991, 0.0196647141, -0.0041366997, -0.060804531, 0.0748989359, -0.0019966338, 0.0084533496, -0.0435501784, 0.0215080939, 0.0376833305, -0.0150168426, 0.0167861637, -0.0074069477, -0.008450577, -0.0372943692, 0.0208094325, 0.0035745646, -0.0358971022, 0.0789484307, 0.0020545544, -0.013705696, 0.009616958, 0.0622184351, -0.0109432079, 0.0512634143, 0.0061886064, 0.0073134145, 0.0035356071, -0.0320476331, 0.0448503569, -0.0039773402, -0.0086982036, 0.0198174603, -0.0178450942, -0.0624649897, -0.0149086658, 0.0020445664, 0.0215106104, 0.0520001985, 0.0333790332, 0.0271584783, 0.0207235292, -0.0054092249, -0.0120268799, -0.0566939302, -0.01126674, 0.0202880222, 0.0167340357, -5.789848936e-33, -0.0367839709, 0.0146079017, -0.0040901909, 0.0110266097, -0.0335440524, 0.0242138207, -0.0068243658, 0.0030430441, -0.014286912, -0.007346801, 0.0427824482, 0.0131275877, 0.0131849181, 0.041341275, -0.0262668487, -0.002440681, 0.0615289472, 0.008002351, -0.00145667, -0.0185198188, 0.0189198032, -0.0079895211, 0.0527142882, -0.054647211, -0.0198346805, 0.0173503049, -0.0125271464, 0.0086321225, 0.0141722718, 0.0659870729, -0.0277586151, 0.0571052954, 0.0260748919, 0.0124938088, -0.0688200668, -0.0312175751, -0.0547559299, -0.0033486448, 0.0372703373, 0.058932472, -0.0433023721, -0.0146483295, 0.0417353287, -0.0310467072, -0.0200378671, -0.041174408, 0.0342077762, -0.0359697789, -0.0030192882, 0.0019198549, -0.0774824321, 0.0034250154, 0.0132361464, -0.0125838835, 0.0369406082, -0.0052886689, 0.0117893564, 0.0314614102, -0.033796262, 0.025154002, 0.013456678, 0.0281593185, 0.0541977063, 0.0510743484, 0.0241811443, 0.0612815246, 0.0365529209, -0.0218870882, 0.0190293416, -0.0128361629, 0.0561337434, 0.0541736893, 0.060085725, 0.0761694759, 0.033762008, -0.0161017831, -0.0220163185, -0.0133072874, -0.0899772123, 0.0101365289, 0.0574363694, 0.0225239638, -0.0010179622, 0.0055547855, -0.0707486421, -0.0032976391, -0.052873224, -0.0276952852, 0.0677763894, 0.0115145277, -0.0112908045, 0.0626898259, 0.0552517287, -0.0665788576, -0.0293682013, -0.0184477512, -0.0329078324, 0.0455319732, -0.0043000989, 0.0302335098, -0.0141920811, -0.050916668, 0.072022371, 0.0294302534, 0.0103565389, 0.0084476359, 0.0581517667, 0.0164358839, -0.0454051346, -0.0076017966, -0.0056311921, -0.0302409865, -0.0430995263, 0.0078473901, 0.0203651618, 0.0535263643, -0.0484629273, 0.0403265469, 0.0224234536, -0.0107224667, -0.0213067736, -0.024076879, 0.0035981922, 0.0462733172, -0.0218501687, 0.0037214274, -0.0317782797, -0.0380694047, 0.0357345194, -0.0394761413, -0.0123083219, 0.0314944424, 2.59e-7, 0.0531898364, 0.0309277251, 0.0261394549, -0.0084346328, 0.0317915641, 0.0354781896, -0.0362521112, 0.0334106348, -0.0334438011, 0.0111285774, -0.0037075514, 0.0481848866, 0.0296392925, -0.0207813773, -0.0105448579, 0.0975223482, -0.0510209091, 0.0005382381, -0.0756354704, 0.0036885729, 0.0908399448, 0.1079511866, -0.017123403, -0.0251752045, 0.0196706727, -0.0351665094, 0.0794111267, -0.0521163642, -0.0000554903, -0.017961964, -0.0139570041, 0.0518397056, 0.0144959046, 0.0321952812, -0.002899775, -0.0242454875, 0.0351863988, -0.0004564335, -0.0574906431, -0.0019687994, -0.0319065191, 0.017389955, -0.0343154594, -0.0592054315, 0.0884757265, -0.0741038397, -0.0292307045, -0.048778493, -0.0124231931, 0.0201951973, 0.05397553, -0.018853087, -0.0213992689, 0.022013478, 0.0657938719, 0.0092804888, -0.0656638592, -0.0958073437, -0.0126140006, -0.0160647333, -0.0139099825, -0.0030069828, -0.0604148917, 0.0251568165, 0.0545488335, -0.0696882755, -0.024962483, 2.231974031e-34, 0.0055850279, 0.0070708878, 0.0220059287, -0.0207941495, -0.0017587534, -0.0136215426, 0.0138032995, 0.0189085342, -0.0488692783, -0.0484732985, 0.0171464048 ]
http://arxiv.org/abs/2406.15480v1
http://arxiv.org/pdf/2406.15480v1
On Giant's Shoulders: Effortless Weak to Strong by Dynamic Logits Fusion
2024-06-17T03:07:41
2024-06-17T03:07:41
Chenghao Fan, Zhenyi Lu, Wei Wei, Jie Tian, Xiaoye Qu, Dangyang Chen, Yu Cheng
cs.CL
cs.CL, cs.AI, cs.LG
Efficient fine-tuning of large language models for task-specific applications is imperative, yet the vast number of parameters in these models makes their training increasingly challenging. Despite numerous proposals for effective methods, a substantial memory overhead remains for gradient computations during updates. \thm{Can we fine-tune a series of task-specific small models and transfer their knowledge directly to a much larger model without additional training?} In this paper, we explore weak-to-strong specialization using logit arithmetic, facilitating a direct answer to this question. Existing weak-to-strong methods often employ a static knowledge transfer ratio and a single small model for transferring complex knowledge, which leads to suboptimal performance. % To address this, To surmount these limitations, we propose a dynamic logit fusion approach that works with a series of task-specific small models, each specialized in a different task. This method adaptively allocates weights among these models at each decoding step, learning the weights through Kullback-Leibler divergence constrained optimization problems. We conduct extensive experiments across various benchmarks in both single-task and multi-task settings, achieving leading results. By transferring expertise from the 7B model to the 13B model, our method closes the performance gap by 96.4\% in single-task scenarios and by 86.3\% in multi-task scenarios compared to full fine-tuning of the 13B model. Notably, we achieve surpassing performance on unseen tasks. Moreover, we further demonstrate that our method can effortlessly integrate in-context learning for single tasks and task arithmetic for multi-task scenarios. (Our implementation is available in https://github.com/Facico/Dynamic-Logit-Fusion.)
[ 0.0134106744, 0.059540119, 0.0210992061, 0.0050301119, -0.0015547695, 0.0272104573, -0.0190067794, -0.0413572118, -0.0334543325, -0.0261407234, -0.055174876, -0.0429591537, 0.0282739308, 0.0082098506, 0.0283634923, -0.0107084867, 0.0246344153, -0.0354633778, -0.0302919634, -0.0094326735, -0.0052515771, 0.028422229, -0.0143709332, 0.0471277721, 0.0412640683, -0.0058902204, -0.0008212593, 0.0139983101, 0.0254642237, 0.0221576132, 0.0346959457, 0.0290773176, 0.0387068912, -0.001304069, 0.0000020132, -0.007001203, -0.009049044, 0.0023313968, -0.0270493496, 0.0035317973, 0.0334435962, -0.0600307845, -0.0235514026, 0.0223926287, -0.0301197916, -0.0552056953, 0.0584780648, 0.0114363022, 0.0686212927, 0.0669740364, -0.0050575347, -0.0334703438, 0.0200266317, -0.0476259254, -0.0241873171, -0.0562005825, 0.0132837901, -0.0044320612, -0.0268249623, -0.0267593451, 0.0083726803, 0.0452233143, 0.00834978, 0.0284720007, -0.0035438226, 0.0285140425, -0.0158301983, 0.0117185144, -0.0313106515, 0.0341945365, -0.048749432, -0.0222484879, 0.0152427657, 0.0053667426, -0.0217751265, -0.0553602092, -0.0266508088, -0.003314029, 0.0010142305, 0.0081048068, 0.0363105424, -0.0099731535, 0.0402648412, 0.0170264412, -0.0268155187, 0.0064185252, 0.0344603434, -0.0100117177, -0.0165218934, 0.0025873524, -0.0318201706, -0.023014199, -0.0043196683, 0.0267137699, -0.0108505916, -0.0016369782, -0.0432444066, -0.0663384497, -0.0429054275, 0.0023718113, 0.057904318, 0.0565229617, 0.0160679687, 0.0489104986, -0.0130953193, 0.0145026408, -0.0242741033, 0.0090862066, -0.0318168513, -0.0044664526, -0.0735244378, -0.0066296333, -0.0366645679, 0.0159801319, -0.0283744577, -0.0053818752, -0.0104001826, 0.0081318645, -0.0146917123, -0.0307960082, 0.0481024757, 0.0046575754, -0.0555591844, -0.0046454528, 0.0665929914, 0.0601654612, 0.0079566212, 0.0172597449, 0.0161063503, -0.0304643437, -0.007260364, 0.0109530641, -0.009656094, -0.048741471, -0.0052126404, 0.0368920937, -0.0635789335, -0.0107244737, -0.0441360548, 0.0086957728, -0.0243484769, -0.0702049285, -0.0238546412, -0.0411394276, 0.028397426, -0.0091475416, 0.0136208255, -0.024808798, -0.0101854196, -0.0309109371, -0.0210613608, 0.1033531502, 0.0161376074, 0.0053863525, 0.0324387886, 0.0137197813, -0.0282212775, 0.0936813131, -0.0009047413, 0.0288539119, -0.0100308331, 0.0176710747, -0.0430464037, 0.0628371686, 0.00239495, 0.0439182036, -0.0079710344, -0.0267639589, -0.0062870355, -0.0374424569, 0.0519807041, 0.0185182355, -0.0537091605, 0.0341894738, 0.0841645449, 0.0011785941, 0.0681628436, 0.0307185892, 0.0203754045, 0.0029157628, -0.0060994453, -0.0201777313, -0.0352940373, -0.0007896147, -0.0173452869, -0.0129542891, 0.011677485, 0.0599934533, -0.0260815397, 0.0077538467, 0.0311442111, -0.0324767679, 0.023445826, 0.0206678063, 0.0873985365, 0.0231384467, -0.0422372445, 0.0582628511, 0.0236139856, -0.0386459604, 0.0113828266, -0.0357701816, -0.0069411728, 0.0316704288, 0.0181782097, 0.0079149026, -0.0396972112, 0.0082598105, 0.0000414301, -0.0091020297, 0.0419933088, -0.0184182283, 0.039944306, -0.065281719, -0.0388023183, -0.0020558997, 0.0233457536, 0.0411052145, 0.0059456369, 0.0222700555, 0.0201887861, -0.0136115458, 0.0212590303, -0.0128771141, -0.0362841152, -0.019600695, 0.0213741064, 0.0189587753, 0.0090653747, 0.0007043559, -0.0098974835, 0.0272361021, 0.0064837746, -0.0692500547, -0.0168670416, 0.0203789435, -0.04360139, -0.0074727861, 0.0462081656, 0.0103098378, 0.0268826652, 0.0353142135, -0.024116803, -0.0656237379, 0.057812497, -0.0143937236, 0.0488840751, -0.0300642792, 0.0053642141, 0.0120221553, -0.008662113, -0.0372555554, 0.0533222444, 0.0013072747, -0.0210327078, 0.0039841142, 0.0134946071, -0.0221154578, -0.0209876336, -0.01332743, 0.0199526362, -0.0119038066, 0.0538122319, 0.0186911095, -0.0000748445, 0.01053965, -0.0411092192, -0.0979486629, 0.0222780369, -0.0387265831, 0.0489684381, 0.0310727116, 0.0335215628, 0.0196465049, 0.0182846375, -0.0384716578, -0.0039600469, -0.0393976457, 0.0213718489, -0.0504694954, 0.0518602654, 0.0098791309, -0.0077182804, -0.023494903, 0.00587038, -0.001004656, -0.0139454594, 0.0068201185, -0.0735826939, 0.0142060183, 0.0307522267, 0.0334343016, -0.00672823, -0.024055453, 0.0066308477, -0.0277677812, 0.0894830003, 0.0627997443, -0.0306039285, 0.0055011632, 0.022625722, -0.0269686021, -0.0517336577, 0.0163522791, 0.0004345758, -0.0527594872, -0.0628329962, 0.0066828798, -0.03120091, 0.0834663287, -0.0124973655, -0.0157076288, -0.1011046171, -0.0359405838, -0.0031039249, -0.0463753864, -0.0112768365, 0.0186930392, -0.0078461021, 0.0149018914, -0.0483051352, -0.0065590045, 0.0511089526, -0.0202931706, -0.0081154061, -0.0560969524, -0.0412426963, -0.0287421588, 0.0371657982, -0.0401673168, 0.0041239616, 0.000800983, -0.0240296833, -0.0778219849, 0.0266205575, 0.0289057177, -0.0239473879, 0.0744797811, -0.0294416193, 0.0034647994, -0.0352163427, -0.0614580475, -0.0063736737, 0.0074234358, -0.0195441507, 0.0380122401, 0.0159596857, -0.0488258451, -0.0519073308, 0.0111756381, -0.0117687806, 0.0629069433, -0.0229179692, -0.0028650388, -0.0343878306, 0.0198449921, 0.0580949374, 0.0263201091, -0.02330954, -0.0216058269, -0.0007665501, 0.0343581811, 0.100713037, 0.0097908378, -0.0563787743, 0.0010776579, 0.0613503158, 0.0191396773, -0.0336919464, 0.0191859361, 0.0462553427, -0.062067572, -0.0306446441, 0.0788653865, -0.0062666652, -0.081158109, -0.0200864319, -0.0141018638, 0.0451569632, 0.010572942, 0.0032046293, -0.045896899, -0.0599596873, 0.0157122165, 0.0523746461, 0.0277003832, -0.0058638924, -0.0087356381, -0.1300797164, 0.0017873243, 0.047121767, 0.0248753075, -0.0122743836, -0.0321916193, -0.0124223465, -0.0388801955, 0.0096094394, -0.0059974208, 0.0240116995, -0.0031520298, 0.0392166264, 0.0361654311, -0.0718508065, 0.0279636048, -0.0210724398, 0.0430986062, 0.0764774978, 0.0088559631, 0.0047048619, 0.0067131161, 0.0510738045, -0.0232898034, -0.022728188, 0.0135294488, 0.0074371598, -0.0126778362, -0.0197492093, 0.0442962497, 0.0361044034, -0.0493433736, -0.0042914217, 0.0228688587, 0.055899065, 0.0003299076, 0.0141101331, 0.0025976663, -0.0478843562, 0.0221624468, 0.0564354882, 0.0028672633, -0.0518651232, -0.0347168036, -0.0005302656, -0.0021335061, -0.0221120436, -0.0006812453, 0.0244445745, 0.0132767307, -0.0749035403, -0.0651139766, 0.0005212181, 0.0125333639, 0.0595286228, 0.0026054613, 0.0202283245, 0.0252720956, -0.0004918107, -0.0992455259, 0.0249525234, -0.0397259109, 0.0301120318, -0.0486733317, 0.0028266071, 0.0494061336, -0.0069917534, -0.0037291544, 0.0382375568, -0.1184726581, -0.1007484049, -0.0155628836, 0.0179735553, 0.0193262603, 0.0565484688, -0.0609776936, -0.0532600507, -0.0018088705, 0.0053223758, -0.0323346853, 0.0371973179, 0.0441834852, -0.0464686751, -0.0180195421, 0.0321686342, -0.0787648708, -0.016534986, 0.047835093, 0.0437822901, -0.0332850218, -0.0180037003, 0.0023726819, -0.0031354232, 0.0222517755, -0.0159780066, -0.0137196872, 0.001064505, 0.0061964481, 0.0347897001, 0.0275214072, -0.0573705398, -0.0259050224, 0.0599927343, 0.0130415056, 0.0318056457, 0.0435905866, 0.0720091611, 0.0347379074, -0.0733617395, 0.0080233412, 0.0036055034, 0.041818466, 0.0285279136, -0.0170273595, -0.0288271122, 0.0207329281, 0.0282049123, 0.0015230164, -0.0433869772, -0.0037977705, 0.033371944, -0.005009253, -0.0295074414, 0.0478881523, -0.0510373339, -0.0426121466, -0.0277789179, -0.0057381694, 0.0569500662, -0.0020982092, 0.073811613, -0.0257757213, -0.0127740763, -0.0381396115, -0.0056933416, -0.0176930968, 0.0119293258, 0.0074967174, 0.0296867937, 0.0173552316, 0.0375007614, 0.0619528778, 0.0211082306, 0.0589843802, -0.0015402121, 0.0044663814, -0.0187409464, -0.0414289013, 0.0248191748, 0.0379965454, -0.0159236547, 0.0368740559, 0.0005688783, -0.0710587949, 0.0152887162, -0.0377671756, -0.0136508644, 0.0038482752, 0.0447098576, 0.0399948396, -0.0444751047, -0.0284132063, -0.0200351533, -0.0335513093, 0.0286921468, 0.0080204839, 0.0106369108, -6.474334154e-33, 0.0018187204, 0.0390715823, -0.0033525098, -0.0429170951, -0.0215292796, 0.0032827077, -0.0101321535, -0.010856837, -0.0126853818, -0.0163649116, -0.0253548939, 0.0122716827, 0.0269440953, 0.0433236696, 0.005475909, 0.0081387311, 0.0634637401, 0.0002093455, -0.0085497154, 0.0335399061, 0.0182821788, 0.0478529595, 0.0463498905, -0.073872745, -0.0068717524, 0.005998495, -0.048141595, 0.0031343501, -0.0140931327, 0.0504321344, -0.0008881859, 0.0303010885, 0.0117350137, -0.0739673302, -0.0490431711, 0.0069627417, -0.1178973913, 0.0071316431, 0.0317322202, 0.0027482421, -0.0264656078, -0.0291920118, 0.0161224976, 0.0271281675, 0.024451945, -0.0594832525, 0.0096548134, -0.0608291067, -0.0129219154, -0.0315513536, -0.0371115766, 0.0030012839, 0.0003143892, -0.0167576522, 0.0512632206, -0.0178194698, -0.0309853964, -0.0369143933, -0.0447598286, 0.0104277115, -0.0032281864, 0.0706532225, 0.072304897, 0.0628602058, -0.0138336141, -0.0059126979, 0.0253545195, -0.0031672353, 0.0058269608, -0.0573430434, 0.0474350527, 0.0468145944, 0.0132844811, 0.0170627888, 0.0393217914, -0.0032980873, -0.0646550655, -0.0129519179, 0.0642811731, 0.0376388729, 0.0393125638, 0.047593046, -0.0267277639, -0.0171906557, -0.0532948487, 0.0040788911, -0.0378741883, -0.0082077691, 0.0380864181, 0.0588115975, -0.0168145858, 0.0051441756, 0.0442141257, -0.0508505367, 0.0454037338, 0.050530158, 0.0040251347, 0.0099258712, -0.0206392054, 0.0391274579, -0.0289566685, -0.0474570207, 0.036254283, 0.0209386107, 0.0033085053, 0.0004455993, 0.0006392719, 0.0362975784, -0.0452544317, -0.0396316163, -0.0366809405, 0.0323973633, 0.0084114373, 0.0915806144, 0.0336598977, -0.0158490874, 0.0018592323, 0.0373049416, 0.0067295362, 0.0235110503, -0.0022149868, 0.0045940015, 0.0397444591, 0.0164280664, -0.0108313356, -0.003388471, -0.0244205073, -0.0601107851, 0.0311680734, -0.0054485071, -0.022102192, 0.0048422818, 2.729e-7, 0.0091251619, -0.0160084851, -0.016942041, -0.0116675459, 0.0057659997, 0.0447315909, -0.0334375314, 0.0126733771, 0.0036252358, -0.0160269272, 0.0080307052, 0.0347350203, 0.0617975183, -0.010445999, -0.0774098411, -0.0010165183, -0.0322899967, 0.0534079894, -0.0187540017, -0.0220019706, -0.0040028584, 0.1237015128, 0.0090903407, -0.0188617744, 0.015900325, -0.0470062643, 0.0467586815, -0.0071371496, -0.0067866486, 0.0247201007, 0.0448858961, 0.0353876762, -0.0259603243, 0.0024693804, -0.0320581794, 0.0142989, 0.0265233032, 0.0766487643, -0.029628817, -0.0340129398, 0.0214850567, 0.0107134255, -0.0104731647, 0.021050863, 0.0577594824, -0.07988666, -0.0321508162, -0.0360556208, -0.0135779111, 0.0040863464, -0.020349266, -0.0180093683, 0.0073266281, -0.0012139956, 0.0312380102, 0.0143009797, -0.0264544617, -0.1197474599, 0.012555738, 0.0623454861, -0.0494579338, -0.0380560383, -0.0368423387, 0.0165796615, 0.0502726771, -0.08646705, 0.0116167022, 2.811631647e-34, 0.0154359974, 0.0142489802, 0.0131419124, 0.043595016, 0.0193980858, -0.0338299274, -0.078696683, 0.0323680565, 0.0267835278, -0.0827705786, -0.0269866828 ]
http://arxiv.org/abs/2406.11162v2
http://arxiv.org/pdf/2406.11162v2
How Good are LLMs at Relation Extraction under Low-Resource Scenario? Comprehensive Evaluation
2024-06-17T03:02:04
2024-06-26T01:43:15
Dawulie Jinensibieke, Mieradilijiang Maimaiti, Wentao Xiao, Yuanhang Zheng, Xiaobo Wang
cs.CL
cs.CL
Relation Extraction (RE) serves as a crucial technology for transforming unstructured text into structured information, especially within the framework of Knowledge Graph development. Its importance is emphasized by its essential role in various downstream tasks. Besides the conventional RE methods which are based on neural networks and pre-trained language models, large language models (LLMs) are also utilized in the research field of RE. However, on low-resource languages (LRLs), both conventional RE methods and LLM-based methods perform poorly on RE due to the data scarcity issues. To this end, this paper constructs low-resource relation extraction datasets in 10 LRLs in three regions (Central Asia, Southeast Asia and Middle East). The corpora are constructed by translating the original publicly available English RE datasets (NYT10, FewRel and CrossRE) using an effective multilingual machine translation. Then, we use the language perplexity (PPL) to filter out the low-quality data from the translated datasets. Finally, we conduct an empirical study and validate the performance of several open-source LLMs on these generated LRL RE datasets.
[ 0.0650430098, 0.0413223021, -0.0038853891, 0.0944304019, -0.0589552447, 0.0371075012, 0.0024454293, 0.0039176592, 0.0121573908, -0.0202741958, -0.0120195197, -0.0422083177, -0.0128662437, -0.0493717343, -0.0075081792, -0.0311341844, 0.0188615751, -0.0023214156, 0.0371431634, 0.0178777501, -0.0131237693, 0.0256271679, -0.0009050415, -0.0520469882, -0.0055321963, 0.0016612365, 0.0137585504, -0.0175688583, 0.0129327886, -0.0626642406, -0.012499244, 0.0157218874, -0.0145323994, 0.0149186235, 0.0000019665, -0.0693355948, -0.0420668125, -0.0093893381, -0.0077340757, -0.0132671865, 0.0341566652, -0.0452076606, 0.0025702531, 0.0123381736, -0.0637738332, -0.0500468388, 0.0238792636, 0.0579066724, 0.0317905731, 0.0737726018, -0.0195315238, -0.072158888, 0.0170976538, -0.0185940247, -0.0132677658, -0.0148009211, 0.0412382111, 0.0246349685, -0.0240948126, 0.0071634427, 0.0042334041, 0.0228595305, 0.0117122959, -0.0182538517, -0.0160503164, 0.004592224, -0.0630140081, -0.0287300218, 0.0119649563, 0.0998194963, -0.0112334266, 0.0310119092, 0.0478279106, 0.0292366277, -0.0214901511, 0.0415434949, -0.0070055937, 0.0111695332, -0.0454044417, 0.0501545966, 0.0301409792, -0.0083888639, 0.0402858667, -0.003216339, -0.0463998057, 0.0585147887, 0.0028181167, -0.051017791, 0.0233024862, -0.0030426753, 0.0062229764, -0.0139955115, 0.0140512865, 0.0209057201, 0.0274186507, 0.0526299626, -0.0093258154, -0.0190288275, -0.0002209347, -0.0663735643, -0.0225599874, 0.0031507616, -0.004643213, 0.0385404937, -0.0628820211, -0.005243381, 0.008993336, 0.0020813348, -0.0234503951, -0.0176882204, -0.0237207953, 0.0348303132, -0.0047479318, 0.0659161136, -0.0538702235, 0.0350434482, -0.0525956564, 0.0245533604, 0.0146987466, 0.0339698568, 0.0076082642, -0.0243153702, 0.0052556158, -0.018984301, -0.04067434, 0.0010491512, 0.0339953229, -0.0149543826, -0.0593821071, -0.0492260829, 0.0210541487, 0.0000343221, 0.0623082966, -0.024518529, 0.0085737808, 0.0895490497, 0.0063374839, -0.0276739579, -0.0664691105, -0.0104841273, 0.0401515923, -0.0306689274, 0.022873912, -0.0505156368, 0.0832247585, 0.038199015, -0.0311002266, -0.0347386859, 0.0488921665, -0.0215990823, -0.092914395, 0.0432052463, -0.0415234789, 0.037626598, -0.0012053353, -0.004423392, 0.0617985688, 0.0578658506, 0.0608356968, -0.0043149595, 0.0848975778, -0.0098271454, -0.0179912858, 0.0346259587, 0.0052361703, -0.0045276461, -0.0135452552, 0.0132218134, -0.0220070295, -0.002795968, 0.0278094076, 0.0445591286, -0.0311194099, 0.0079215653, 0.0502870008, 0.0287631545, 0.0426523797, 0.0716090128, 0.0182797536, 0.0107728923, 0.0159026384, 0.0173596367, -0.0220495258, -0.037261866, 0.0013249778, 0.0423901081, -0.0131162433, 0.0469232611, -0.004556166, -0.0281427931, -0.0136705106, -0.0302076768, 0.0130695747, -0.0070598209, 0.1210969314, -0.0131387468, -0.022916602, 0.0622269958, 0.0572306439, -0.0094811069, 0.0205453821, 0.0079188524, -0.0190223623, 0.0239789858, 0.0434554368, -0.0293745231, -0.0101437904, 0.0042154491, -0.0046275137, 0.0277996212, 0.0127480878, -0.0151968962, 0.0340149701, -0.0371254943, -0.042116195, 0.056321688, -0.0092389621, -0.0085484404, 0.0580601506, 0.0448006801, 0.0369051918, -0.0454306863, -0.0260526612, 0.0404551476, -0.0498888455, -0.010948644, 0.0132988542, 0.025706619, 0.0191911645, 0.0421163626, -0.0231412929, -0.0095523363, 0.0525424145, -0.0585259795, 0.0152758444, 0.0146120517, -0.0432078168, -0.0325948261, 0.0290914327, 0.0002833178, -0.015938608, -0.0114130769, -0.032441251, -0.0164847318, 0.022605041, 0.0479503348, 0.1044202149, -0.0260980278, 0.0425808318, -0.0008887735, 0.0142505663, -0.029991731, 0.0680626258, -0.0168649293, 0.0019012601, 0.0023783871, -0.0745880529, 0.0041055041, 0.0026288996, -0.0014183921, 0.0162492245, 0.0108203301, -0.022428181, 0.0061067017, 0.0296002161, -0.046354197, -0.0190437939, -0.0377311371, -0.0000717832, 0.0169677138, 0.0874342769, -0.0050084242, 0.032847032, -0.0058846525, -0.001837154, -0.0030058699, 0.0120841265, -0.0091593266, -0.0095181363, 0.0586212762, 0.0128003545, 0.0009806453, -0.0343283676, -0.0063435989, 0.0170624517, 0.0459017269, 0.0376392081, -0.044828821, 0.0123664057, 0.0826411098, -0.0429718979, 0.0353529453, -0.0134001216, -0.0309010688, -0.0382081084, -0.0101072695, 0.0110731889, -0.0334785432, -0.016257735, 0.0086801471, 0.0134435827, -0.0207719207, -0.0236667767, 0.0046970909, -0.0303144362, -0.0043329629, -0.0323476717, -0.0350338034, -0.0040945313, -0.0064426591, 0.002233302, 0.0190831348, 0.0408873968, -0.0103506399, 0.0085793193, 0.0333716534, -0.0218258575, 0.0639894679, 0.0129916947, 0.0475460701, -0.0393075943, -0.0135167418, 0.0386243053, -0.0024379443, 0.0184063539, -0.01367079, -0.0016728778, -0.0762248039, 0.0422314629, -0.0133515541, -0.0044954978, -0.0376737118, -0.0276437066, -0.0197498202, -0.031415455, 0.0178769194, -0.026027495, 0.0310705658, -0.0667616725, 0.0104642045, -0.0447099507, 0.0101886895, -0.0617635883, -0.0434908494, -0.016390387, -0.0018402386, 0.0335253216, 0.0077504665, 0.0169574711, 0.064466171, 0.0382415541, 0.0089060478, -0.0042304783, 0.0125759812, 0.0047668917, 0.0754828975, 0.0386294574, -0.0367805324, 0.0116393156, 0.0051222555, 0.0507360362, 0.031114351, -0.0196909942, -0.0557072274, -0.0069635157, -0.023404818, 0.0145349503, -0.0274894312, -0.0008953382, -0.0319375917, -0.0372449867, -0.0563175343, 0.000991361, 0.1094575971, 0.002554486, -0.0386185162, 0.0072826678, 0.006657077, -0.0220774114, 0.016423557, 0.0125444056, -0.0936229452, 0.0218749791, -0.0171900485, -0.0137669304, 0.0065306616, -0.0691521466, -0.00781566, -0.1371822953, -0.0104766274, -0.0039110039, -0.0722287148, -0.0467789993, -0.0319707952, -0.0071632559, 0.0127797807, -0.0045907176, 0.0009029512, -0.0521765426, 0.0071705165, 0.0209499002, -0.0429676697, -0.0745242387, -0.0330762565, -0.0426210612, 0.0155903082, 0.0106595717, 0.0319685116, -0.0605800152, 0.0143225286, 0.0233314987, -0.0071020876, -0.0285103954, -0.0416742042, 0.0147034302, -0.0018239847, -0.0378109626, -0.0237728879, -0.0401272438, -0.0783073977, 0.0411116667, 0.032464806, 0.0568615794, -0.0049769292, -0.0161215123, 0.0261821095, -0.0446666516, -0.0036904402, 0.0407217294, -0.020582661, -0.0197995659, -0.0151804686, 0.0427975617, -0.0151349772, -0.0441890284, 0.0168529768, 0.0068177204, -0.0834729597, 0.0154196937, -0.0524886921, -0.0635857955, 0.0266928747, -0.000419961, 0.0043515484, 0.0589751005, 0.0792755038, 0.0212886576, -0.0556207374, -0.0138790626, -0.0189485773, -0.0545357205, -0.043294955, -0.0146794897, -0.0079970984, -0.0464581959, 0.0242436118, -0.0610719882, -0.044341132, -0.0317246243, -0.0028038828, -0.0144564407, 0.0136231435, 0.0330616944, 0.0133239115, -0.0035383853, 0.0357973613, 0.0621097349, -0.0529837012, 0.0007767972, -0.0033606414, 0.030340258, 0.0077486634, 0.0403449461, -0.0294773746, 0.0129586421, 0.035740383, 0.006711842, -0.0622788034, -0.0495467409, -0.0001352285, 0.0533376522, 0.0451191105, -0.0059881252, 0.0036758143, -0.0617195405, 0.0314763561, -0.0564488322, 0.0193961598, -0.0428475402, 0.0271247365, -0.0070592575, 0.0236087181, -0.0260775425, -0.0262276344, 0.0167464688, 0.0097902305, 0.0040176711, 0.0121655911, -0.0314138196, 0.0012998605, 0.0213773157, -0.0084099201, -0.0036948868, 0.0075681596, -0.000265866, 0.0081065549, -0.027157763, -0.0007389808, -0.0180544276, -0.0300709605, 0.029697584, 0.0350098498, 0.016510861, 0.0094182836, -0.0075525101, 0.0248409901, 0.086088106, -0.0116617065, 0.059528213, -0.0071408995, 0.0092337364, -0.0016670447, 0.0502332486, -0.0190135315, 0.0132921683, 0.0037315642, -0.0073082261, -0.0630929694, 0.0667572618, 0.0695575699, 0.0061837612, -0.00818507, 0.0490376428, -0.0459403284, -0.0133777913, 0.0053815739, 0.0065004551, -0.0125182699, -0.0420733355, -0.0155653637, -0.0539458282, -0.0819929764, -0.0010996971, -0.0104409978, -0.0437145308, -0.0138907311, -0.0114967199, 0.0635055825, 0.0414047576, -0.0031570215, -0.075351797, 0.0404853635, -0.0567132346, -0.0262176879, 0.0132229095, -6.516587298e-33, -0.0088800276, -0.0508737788, 0.0363720953, -0.0160695538, -0.0179553106, 0.0336689167, -0.0315635204, -0.0009543284, -0.0412057713, 0.01428439, -0.0316462293, -0.0076020239, 0.0281231832, 0.0029584549, 0.0182517935, -0.0033211943, -0.0063585462, 0.0079778545, 0.0521882176, 0.0091578644, 0.0430447571, 0.0547343493, 0.0969769582, -0.1133035272, 0.0088812318, -0.0556847304, 0.028755676, 0.0246177651, 0.0655120686, 0.0321682505, -0.0307221655, 0.0347505584, 0.0427775495, -0.0138608962, 0.0299109127, -0.0407682694, -0.1230475381, -0.0063596, -0.0047665448, -0.0012248824, -0.0310892425, -0.0087868143, 0.0366791897, 0.0127937989, 0.0295664947, 0.0355092175, 0.0401969478, -0.0333785787, -0.0503452532, -0.0616566725, -0.0519149676, 0.0550935529, 0.0579710901, 0.0184083804, 0.0416841134, 0.031009201, -0.0210779384, 0.005929661, -0.0626064762, -0.0368162058, -0.0022264007, 0.0068285065, 0.0504744053, 0.0250075702, 0.0136897387, 0.0224694312, -0.0055680876, -0.0206000358, 0.0296454299, 0.0083990162, 0.0228993706, 0.0360684916, -0.0699226186, 0.0488586985, 0.004666796, -0.033153452, -0.1137604043, 0.0033088909, 0.0350690782, 0.0345201194, -0.0116028059, -0.0291279629, -0.0466180369, -0.0222362299, 0.0437816121, -0.0125659192, -0.0002672027, -0.0538666584, -0.0036677218, 0.0000125387, -0.0155042717, 0.0185461007, -0.0079074465, -0.0292433798, -0.0228350516, 0.0162690002, -0.0074315909, -0.0176963042, -0.0249483846, -0.0005148511, -0.0634037182, -0.0709380209, -0.0626916587, 0.0002677823, 0.0073303813, 0.0208564103, 0.017793078, -0.0193297062, -0.0554493181, -0.0056564352, -0.0419668145, 0.0194088519, -0.0100653134, 0.0366681479, -0.0179606751, -0.0056461017, -0.0050471588, 0.020079609, 0.080990389, 0.0023579404, -0.0105902217, 0.0537629649, 0.0226526763, -0.0049090688, 0.0366865247, 0.0053475159, -0.0123809362, 0.0564968921, 0.0186124947, -0.0391164459, 0.0043379776, -0.0028134133, 2.902e-7, 0.0370215289, 0.0286727976, 0.0247968081, 0.0106128957, 0.0171720516, 0.006710812, 0.0000472215, 0.0263875164, -0.0248551369, 0.0181748644, 0.0335494876, -0.0087284427, 0.0324397348, 0.04766519, -0.0784349442, -0.0509066544, -0.0615827404, -0.0536105037, -0.0485004783, -0.0069634989, 0.0536601469, 0.0486861169, 0.0315041505, 0.011933852, -0.0875361115, -0.0392374694, 0.0309277214, -0.0555312298, -0.0313628241, 0.0348865613, 0.0467845351, 0.0354158506, -0.0274986532, 0.0307791792, -0.0058348645, 0.0518601239, 0.0032579028, 0.0662838742, 0.0046251565, -0.0055553624, 0.0181448925, -0.0474933162, 0.0009660768, -0.0266021937, 0.0763567984, -0.0299224574, -0.0156887881, 0.0452927426, 0.0093330909, 0.0154010653, -0.01918534, 0.0045160647, 0.0127211511, 0.0250834581, 0.0283518415, -0.0606455952, -0.0490150899, -0.029141115, 0.033056356, 0.0329077728, 0.0105379391, -0.0447044335, 0.0204050243, -0.0093271062, 0.0003850123, 0.0245364774, 0.023518445, 2.328432297e-34, 0.002628844, -0.0061845174, -0.0243746303, 0.0258680508, 0.034108378, -0.0223595481, -0.0477735363, 0.0156239346, -0.0463673584, -0.0486807525, 0.0374359637 ]
http://arxiv.org/abs/2406.15479v1
http://arxiv.org/pdf/2406.15479v1
Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging
2024-06-17T02:31:55
2024-06-17T02:31:55
Zhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu, Dangyang Chen, Yu Cheng
cs.CL
cs.CL, cs.AI, cs.LG
In the era of large language models, model merging is a promising way to combine multiple task-specific models into a single multitask model without extra training. However, two challenges remain: (a) interference between different models and (b) heterogeneous data during testing. Traditional model merging methods often show significant performance gaps compared to fine-tuned models due to these issues. Additionally, a one-size-fits-all model lacks flexibility for diverse test data, leading to performance degradation. We show that both shared and exclusive task-specific knowledge are crucial for merging performance, but directly merging exclusive knowledge hinders overall performance. In view of this, we propose Twin-Merging, a method that encompasses two principal stages: (1) modularizing knowledge into shared and exclusive components, with compression to reduce redundancy and enhance efficiency; (2) dynamically merging shared and task-specific knowledge based on the input. This approach narrows the performance gap between merged and fine-tuned models and improves adaptability to heterogeneous data. Extensive experiments on $12$ datasets for both discriminative and generative tasks demonstrate the effectiveness of our method, showing an average improvement of $28.34\%$ in absolute normalized score for discriminative tasks and even surpassing the fine-tuned upper bound on the generative tasks. (Our implementation is available in https://github.com/LZY-the-boys/Twin-Mergin.)
[ -0.0305080824, 0.0628291219, -0.0115642371, 0.0039200978, -0.0316291451, 0.0426375568, 0.0415415764, -0.0233697742, -0.0214908365, -0.0267338399, -0.0520105027, -0.0123684574, 0.0354678519, 0.0158128254, 0.0447087064, -0.0159654543, 0.060764309, -0.0109293144, -0.0333357453, -0.005937329, -0.0309164692, 0.0238536522, -0.003443735, 0.0422169268, 0.0144650107, 0.0040043634, 0.0089097088, 0.0083529064, 0.0528478138, 0.072347939, 0.0050775749, 0.0706641302, 0.0105537884, 0.0778611079, 0.0000018208, -0.0246863551, 0.0056839692, 0.015477011, -0.0122275902, -0.0074459338, 0.0470981486, 0.0080126552, -0.0055690436, 0.0133984797, -0.0278152637, -0.0490591899, 0.056414485, 0.0433613658, 0.0366744213, 0.0329402201, -0.0117106428, -0.0245455448, 0.0572324023, -0.0447851717, -0.0189872775, -0.0055909823, 0.0652349368, 0.0332330428, -0.0051831612, -0.0430676043, 0.0069008349, 0.0386397876, 0.0144292945, 0.0006722241, 0.014730989, 0.0412983336, -0.0128127057, -0.0359468348, 0.0157552809, 0.0308207646, -0.0697354451, -0.0228114724, 0.0220956355, 0.0041081365, 0.010019104, 0.0149934003, -0.0627907589, -0.0238508787, -0.0065720323, 0.0123870224, 0.0009820667, -0.0635231286, 0.0248144958, -0.004361074, -0.0288908575, 0.0209798161, 0.0446811132, -0.0065159332, -0.0075202412, 0.0106043778, -0.0308001209, -0.0525546223, -0.013448786, -0.014368359, -0.0133422185, -0.0151812993, -0.0937845781, -0.0797553733, 0.01767952, 0.0082103247, 0.0548676439, 0.0276454203, -0.027272895, 0.0490981154, -0.0580366105, 0.0575238951, -0.0141364522, 0.04995092, -0.0812075213, -0.0263561569, -0.0885972232, -0.0020195064, 0.0174249355, -0.0159869362, -0.0283069182, -0.0326373875, -0.0213232599, 0.0076155532, -0.026458228, 0.0013404759, 0.0539666936, -0.021841865, -0.0317822173, 0.0128269503, 0.0416451842, 0.0430878066, -0.0189157855, 0.0570605099, 0.0221815445, -0.0140211983, -0.0241150279, 0.0062346309, 0.013181109, -0.0306902789, -0.0070999484, 0.0299957022, -0.0608935952, 0.0208638962, -0.0054234727, -0.0321474597, -0.010898767, -0.0580727942, 0.0295061991, -0.0386387184, 0.089549534, -0.0381807126, -0.00589346, -0.0221376941, -0.0379126146, -0.0255652089, -0.006506735, 0.0916379318, -0.020991059, 0.0244224109, 0.0351266377, 0.0202822313, -0.0268859044, 0.0752547532, -0.0054120831, -0.0008457558, -0.0151921557, -0.0002582739, -0.0022525892, 0.0320748575, 0.0173643231, 0.0153453434, 0.0202696901, -0.0488366745, 0.05714304, -0.0390667506, 0.0440821201, 0.0300533939, -0.0558331497, -0.0025470706, 0.0692784712, -0.0021363581, 0.0390224569, 0.0159212388, 0.0372422151, 0.0114388363, 0.0135780247, 0.0392048396, -0.0404227301, 0.0083543295, -0.0376311764, 0.0299063716, 0.0236542914, 0.0926668048, -0.0521659032, -0.0277126003, -0.0277184155, -0.0237934645, 0.0197408814, 0.0214219876, 0.0638739839, -0.0073663616, -0.0350736566, 0.0310021192, 0.0418941006, -0.0435528345, 0.015671473, -0.0497364551, -0.0061941962, 0.0378671698, -0.0104103517, -0.0053969384, -0.0641142726, 0.019483475, -0.016159663, -0.0247435197, 0.0219747107, -0.0169160683, 0.0436755233, -0.0729805082, -0.0756305382, -0.0089296484, 0.0172604173, 0.0273862593, 0.0186892059, -0.0261830259, 0.0333473869, -0.0195911545, 0.0151707279, 0.0294562113, -0.0645747334, 0.021249149, -0.0195543766, -0.0008947937, 0.029754417, -0.008461277, -0.0176009685, 0.0056309868, 0.0294902883, -0.0218030252, -0.037092153, 0.0446698666, -0.0158771127, -0.0466154888, 0.0224455036, 0.0001792414, -0.0197881367, 0.0623287149, -0.0331628621, -0.0773413181, -0.0270458609, 0.0038739943, 0.0039631254, -0.0315379389, 0.020027576, 0.0117526548, 0.0105186142, 0.0044205026, 0.064349778, -0.0019710076, -0.0048416606, 0.0005480237, -0.0365781151, -0.0050032022, -0.0237342846, -0.0324027091, -0.0042057228, -0.0297839381, 0.0140326517, -0.0109947044, -0.0307291504, -0.0432513133, -0.0378819555, -0.1054235101, -0.0002238723, -0.0106301103, 0.0350026898, 0.0141793909, -0.0146606304, 0.0004316389, 0.0182123985, -0.0014544774, -0.0024740556, 0.0016360971, 0.0317451879, -0.0196521208, 0.005978391, -0.0172728729, -0.0227882341, -0.0433397889, -0.0193053968, 0.0318218805, -0.0111519387, -0.0165187437, -0.0272447262, 0.0153864659, -0.0376965292, 0.0303091705, -0.0140033355, -0.0095345611, -0.0061706328, -0.0248157885, 0.0855265632, 0.0711168647, -0.0503596812, -0.0499383695, 0.0717826784, -0.0438258685, -0.0169296432, 0.0136928409, 0.0243863668, 0.0082381498, -0.0276406761, -0.0210040808, -0.0462742299, 0.0730593726, -0.0011962657, -0.0424185246, -0.0654947311, -0.0321265087, -0.033032503, -0.016934488, 0.0039494359, -0.0295585766, -0.0108966324, 0.0209591184, -0.0591815412, -0.0421239734, 0.0593615584, -0.0228458494, -0.0349431969, -0.0314455181, -0.0152604161, -0.0087108258, 0.0616045818, -0.0101628266, -0.0029777398, 0.0031051172, -0.0251356103, -0.0905908197, 0.0116165765, 0.0386647917, -0.0153497439, 0.0660309047, -0.0626051053, 0.0379116423, -0.0403439179, -0.0384330601, -0.0135669094, 0.0147357555, -0.0093229385, 0.0407134145, 0.0204805937, -0.0368657112, -0.0741608143, -0.0068288702, -0.0017222178, 0.0528075732, -0.0010141409, 0.0045716935, -0.0076112067, 0.0419259369, 0.0319095105, 0.0184179246, -0.0205052905, -0.0422010273, 0.0066372477, 0.0387131087, 0.084193103, 0.0320358798, -0.0283971056, -0.023592893, 0.0504096523, -0.0102689285, -0.0229537878, -0.0051401989, 0.030092584, -0.0270494465, 0.0192748662, 0.0947663337, -0.0066218735, 0.0049796943, -0.0467843376, 0.0001192636, 0.0517053492, 0.0126506789, 0.022556141, -0.038537655, -0.0281193573, 0.0361668058, -0.0285852179, 0.0429012515, 0.0083013689, -0.0073859426, -0.1005222872, 0.0060394518, 0.0433393084, -0.0020676695, 0.0081677595, 0.0066242926, 0.0132746184, -0.0399157703, 0.0115168644, -0.0159229711, -0.0043357494, -0.0225274228, 0.009610896, 0.006553547, -0.0562993698, 0.0186963975, -0.0391090959, 0.0360105857, 0.0286170375, 0.0121918116, 0.0320908614, -0.0338306241, 0.0524317175, 0.0152067328, -0.0168811008, 0.0060190177, 0.0270535704, -0.0071289591, 0.0063411458, 0.0226360355, 0.0262276847, -0.0283117518, -0.0302367266, -0.0349886417, 0.0403911695, 0.0250604227, -0.0019738199, -0.0138792181, -0.0020382793, -0.0239624791, 0.0754400492, 0.0079381149, -0.0084114848, 0.0116290124, 0.0391744971, -0.0354198888, -0.0107314792, 0.0036427542, 0.0274907406, -0.0269837901, -0.0461776108, -0.0542179644, -0.0149976211, 0.0526164658, 0.0418217108, 0.0088815307, 0.0185794644, -0.0195721388, -0.0058133309, -0.0644660741, 0.0517207757, -0.0230352897, 0.01393284, -0.0290910564, -0.0106847417, 0.0199895855, -0.0101960907, -0.0431838818, 0.0326410867, -0.1436088383, -0.0772370398, -0.0261118151, 0.0288094692, 0.0192347858, 0.0490243547, -0.0183459874, -0.0418168753, 0.0056299353, -0.0005846044, -0.0275702775, 0.034586627, 0.0407001749, -0.0408039205, 0.0080495486, 0.0191758145, -0.0562170893, 0.0203900766, -0.0059870547, -0.0106106503, -0.0437536724, -0.004643098, -0.0169087444, -0.0024841167, 0.0444422215, -0.0258976482, 0.010850287, -0.065860644, 0.0204752702, -0.0029565699, -0.0079334192, -0.0516354144, -0.0084263785, 0.0496661514, 0.0071830945, 0.0369404927, 0.0891091153, 0.0544642843, 0.002191595, -0.079472512, -0.0444143862, -0.023940064, -0.0096291956, 0.002182256, 0.0046160989, -0.0086643873, -0.0158100836, 0.0071905581, 0.0030133326, -0.0361326635, 0.0165634677, 0.0042137769, 0.0235388279, -0.0088076768, 0.0435653664, -0.0664758384, -0.0562576428, -0.0191431884, 0.0150070507, 0.0515549481, -0.0083332062, 0.0955440179, -0.0065354169, -0.0246163942, -0.045473244, 0.007754005, -0.0212979224, 0.0118998922, 0.0090600876, 0.0057562259, 0.0193016119, -0.0373766273, 0.081024766, -0.0176567156, 0.0331546254, -0.0420186222, 0.0179372784, -0.0328330882, -0.0529365204, 0.0598873124, 0.0025449793, -0.0415847003, -0.0413503125, -0.0142520694, -0.0441825837, 0.0103638005, 0.0203345735, -0.0242451727, 0.0406153947, 0.0323611535, 0.0332213603, -0.0492811576, -0.0357100032, 0.0225606076, -0.0638282374, 0.0227728058, -0.000128168, 0.0359507911, -6.074751665e-33, -0.0497224741, 0.0167816449, 0.0186347291, -0.0528710485, -0.0179617181, 0.0110325944, 0.0136193018, -0.0028619259, -0.0308572985, -0.014473849, 0.0035341692, 0.0150165763, 0.0312257241, 0.0211094506, 0.0167724136, 0.0011190549, 0.0746482685, 0.0314592086, 0.0058026048, 0.0104656545, 0.0104847513, 0.0198793467, 0.0376997776, -0.0399174914, 0.0035331866, 0.0185709521, -0.0306100193, 0.0084073665, -0.0274651516, 0.0734502301, -0.0026109933, 0.0077229897, 0.0166801084, -0.0348313451, -0.0681124702, 0.0140216844, -0.0883888826, -0.0151698748, 0.0247233603, 0.0051414599, -0.0281823296, -0.008488887, 0.0469417349, 0.0125741148, 0.0355777442, -0.0792514458, 0.0441193543, -0.0268909018, -0.0246116258, -0.0312225558, -0.0704694465, 0.0025057623, 0.0040506516, -0.0402271785, 0.0793245137, 0.0280197989, 0.0456436016, -0.038712468, -0.0625847429, 0.0285982713, 0.0058870018, 0.0664206371, 0.0936984941, 0.0336490385, -0.0000640895, 0.042597048, 0.0230204519, -0.0072007854, 0.0107183792, -0.0205475837, 0.0462713353, 0.0805157349, 0.0306639299, 0.024480531, 0.0069778129, 0.0238468125, -0.0278820861, 0.0728241131, 0.0373691507, 0.0141532077, -0.0280044153, 0.0601477213, -0.0032194273, -0.0074019805, -0.0433889255, 0.0279231835, -0.04700258, 0.0374832451, 0.022016596, 0.0397552028, -0.0244971011, 0.0087876674, 0.0343657434, -0.0435784385, 0.0317006893, 0.0207160991, -0.0368796252, 0.0373662896, -0.0183733758, 0.0025631057, -0.035280358, -0.0631371662, 0.0653347373, 0.0374894403, 0.0023305048, 0.0061640632, 0.0413274765, 0.0112958802, -0.0546563752, 0.0185128208, -0.0280526262, -0.0017525605, 0.0332166031, 0.0341855176, 0.0812293962, 0.0208030641, 0.0124927973, -0.0125562064, 0.0398440138, -0.0098532643, -0.0257633161, 0.0436842442, 0.0196031258, 0.0086453902, 0.0368177928, 0.0228815563, -0.0150915943, -0.0721376687, 0.0635596812, 0.01143617, -0.0330598317, 0.0475978293, 2.5e-7, 0.0155277634, -0.0123147527, 0.0065400922, -0.0232985727, 0.0067451526, 0.0310503226, -0.0400335006, 0.0178068988, 0.0096649155, -0.0152915139, 0.0106256306, 0.0309370141, 0.0732065663, 0.0197792742, -0.0490831472, -0.0344831906, -0.0072653424, 0.0270666387, -0.0474076048, -0.0007457865, 0.0298189707, 0.0721051246, 0.0264577754, -0.0120536657, 0.006617636, -0.0359595604, 0.070199132, -0.0205708351, 0.0116079766, 0.0368881114, 0.012273306, 0.0031526037, 0.0004443809, 0.0627571121, -0.0320336632, 0.0037247483, 0.0241712779, 0.0738772824, -0.0241338164, -0.0065390626, -0.0144067248, 0.0216033682, -0.0178062692, -0.0350598358, 0.0743272081, -0.0371028334, -0.0111278519, -0.0248599239, -0.022098517, 0.0138733583, 0.0279428978, 0.0016450329, 0.0091987606, 0.0390142649, 0.0223882087, 0.0053748358, -0.0446491353, -0.0812443122, -0.012490523, 0.0348194279, -0.1136867851, -0.0398907214, -0.0233655982, -0.0417389795, 0.0411198251, -0.0838762969, -0.0282475967, 2.383727138e-34, -0.0144219529, -0.0035149239, 0.0481605977, 0.0292932726, -0.0137223192, -0.0440204628, -0.0620672181, 0.0166922025, -0.0229175147, -0.0515486486, -0.02609968 ]
http://arxiv.org/abs/2406.11149v1
http://arxiv.org/pdf/2406.11149v1
GoldCoin: Grounding Large Language Models in Privacy Laws via Contextual Integrity Theory
2024-06-17T02:27:32
2024-06-17T02:27:32
Wei Fan, Haoran Li, Zheye Deng, Weiqi Wang, Yangqiu Song
cs.CL
cs.CL, cs.CR
Privacy issues arise prominently during the inappropriate transmission of information between entities. Existing research primarily studies privacy by exploring various privacy attacks, defenses, and evaluations within narrowly predefined patterns, while neglecting that privacy is not an isolated, context-free concept limited to traditionally sensitive data (e.g., social security numbers), but intertwined with intricate social contexts that complicate the identification and analysis of potential privacy violations. The advent of Large Language Models (LLMs) offers unprecedented opportunities for incorporating the nuanced scenarios outlined in privacy laws to tackle these complex privacy issues. However, the scarcity of open-source relevant case studies restricts the efficiency of LLMs in aligning with specific legal statutes. To address this challenge, we introduce a novel framework, GoldCoin, designed to efficiently ground LLMs in privacy laws for judicial assessing privacy violations. Our framework leverages the theory of contextual integrity as a bridge, creating numerous synthetic scenarios grounded in relevant privacy statutes (e.g., HIPAA), to assist LLMs in comprehending the complex contexts for identifying privacy risks in the real world. Extensive experimental results demonstrate that GoldCoin markedly enhances LLMs' capabilities in recognizing privacy risks across real court cases, surpassing the baselines on different judicial tasks.
[ 0.0419558696, 0.1109048426, -0.0309372135, 0.0080137197, -0.0934011266, 0.0043691113, 0.0266377348, 0.0022560337, -0.0010166768, -0.0644302443, 0.0035045235, -0.0340371095, 0.0025020419, 0.0094817337, -0.0068903523, -0.0073621362, 0.0189199559, -0.0008079497, 0.0414643139, -0.0003041301, -0.0052342569, -0.0081033539, 0.0384394079, 0.0111550689, -0.0013816599, -0.0180915333, 0.0052996823, -0.0003856986, -0.0225164443, -0.0247087255, 0.0026114234, 0.068343848, 0.0101529183, 0.0530848056, 0.0000018441, -0.0915208459, -0.015001419, 0.0445535071, -0.0254909694, 0.0583895259, 0.0062086694, -0.0445683226, -0.0095834201, -0.024191482, -0.0233754739, 0.0494710803, 0.0117719639, 0.025768267, 0.0257415138, 0.0652835369, -0.0270971619, -0.0472201146, 0.0502551422, -0.0107791014, 0.0084824292, -0.0634834021, 0.0577530004, -0.0049688504, 0.0172511209, -0.0101487124, 0.0781212002, 0.0270046517, 0.0301188231, -0.0244459752, -0.0371924862, -0.0232474487, -0.008540595, 0.0213108696, -0.0115012797, 0.0552540869, 0.0882155374, 0.0037516064, 0.0044242991, 0.0057152547, 0.0639239326, 0.0208816081, -0.0113514448, 0.0707442984, -0.0376936309, 0.0089735389, 0.0051492145, 0.0288817231, 0.0519425161, 0.0494894274, -0.0051635262, 0.0503259152, -0.0164252408, -0.0533396453, -0.0391917862, -0.0294749141, 0.0281101335, -0.0250643697, 0.0507097766, 0.0087781865, 0.0060152351, 0.0421290845, -0.0512413718, 0.0069845645, 0.089319855, -0.0791239515, 0.0043164566, 0.0037642224, 0.0154545391, 0.0326495692, 0.0077643916, 0.0084753809, -0.0093109552, -0.0020550392, 0.023194002, -0.0163402148, 0.012911655, -0.0173751097, 0.0142914578, 0.0391114205, -0.0743228868, 0.0358641893, -0.0259026792, 0.0062803579, -0.0644414052, 0.0512044057, -0.0376910344, -0.0287968386, 0.0108581344, -0.045725733, -0.0327467211, -0.1019300595, -0.0146178715, 0.0678182393, 0.0126439352, -0.0237638466, 0.0216947291, -0.0153732616, -0.0326904841, -0.007624961, -0.0395865887, 0.1167206392, 0.0501398407, -0.0187986679, -0.0414802916, -0.082389228, -0.0297322739, -0.0307746679, -0.0454751588, -0.056586843, -0.021445699, -0.0135826003, -0.024006281, -0.0784244835, -0.0175122023, 0.0043711392, -0.0297048613, 0.0497994497, -0.0055070966, -0.0242297016, -0.0449597165, 0.0713727325, 0.0395273641, -0.0154067362, -0.0088682882, 0.0145040778, 0.0454310142, -0.0095483912, 0.044984322, 0.0080890283, -0.0135341072, 0.0198279377, -0.000205822, 0.0110782962, 0.016553117, -0.0102072898, -0.0299186595, 0.0318805389, 0.0072460803, -0.0018005358, 0.0977542326, 0.0918980241, -0.0167139322, 0.0253583696, -0.0429102555, -0.002407732, -0.0130459266, 0.0010473159, -0.0670944899, 0.0026199231, -0.068263799, -0.0405695178, -0.0737530813, -0.000408783, -0.0329121314, -0.0343280956, 0.0048117074, -0.0189280547, 0.0330404826, 0.0125769768, -0.0250831023, 0.0216894392, 0.0408855341, 0.0103847878, 0.0057237991, -0.0465037972, -0.0235875472, -0.0382725038, -0.0056100418, 0.0885998085, 0.0321741141, -0.0115291979, 0.0237186644, -0.0413947664, 0.0000128137, 0.0109393084, 0.0136743411, -0.0017913438, 0.0113598444, -0.0243920684, -0.0241216701, -0.0021170594, 0.0379624292, 0.0075384127, 0.0127345994, -0.0355189443, 0.0255958568, -0.0185898431, 0.0328404456, 0.0099411905, -0.0187858902, -0.0133841084, 0.0006660128, 0.0109902862, 0.0202424247, 0.0428040475, 0.0349268168, 0.0038571861, 0.0153966164, 0.0341118127, -0.0031236364, -0.0054745595, 0.0219926815, 0.0768737793, 0.0074746893, -0.0390951373, 0.0054490711, -0.0096712941, -0.0215026326, 0.0175409038, -0.002359733, -0.0116668763, 0.0523178056, -0.0444708019, 0.0158543829, -0.0283324793, 0.0054904521, -0.0217911974, 0.0258113723, -0.0481989048, -0.0409144573, -0.0372314751, -0.0097557278, 0.0368974619, -0.0058302819, -0.0164836999, -0.0143859265, -0.0356411338, 0.0603097975, 0.0282383747, -0.0370926373, -0.013541582, -0.0307774562, -0.0097168647, 0.0133509496, 0.0021856369, 0.0213259142, 0.0029123437, 0.0269974563, -0.0039597251, -0.0235169902, 0.0181883723, -0.074346073, -0.0432395004, 0.0329915248, 0.0226289481, 0.0313611738, -0.0579216853, 0.0342822373, -0.0189429037, -0.0393657796, 0.0295220874, 0.0089355893, -0.0156812817, -0.011559017, 0.0318550058, -0.0093247928, -0.014767427, 0.0057997992, 0.0079796556, -0.026164202, 0.0342921764, -0.0345786028, -0.0260180645, 0.0294809397, 0.0766292959, 0.0157118179, 0.0153957177, -0.004255868, -0.0475698262, 0.0078358026, -0.0021126792, -0.0338255912, -0.0248638857, 0.0339983292, -0.009879726, -0.0021721697, 0.0079982486, -0.0252297018, 0.0358298793, -0.0123193357, -0.0285662096, -0.0209655073, -0.0627050772, -0.0098104365, 0.0583921149, -0.007717588, -0.0468570925, 0.0513399467, -0.0071285339, 0.1008165181, 0.0018162718, -0.0237681847, -0.0150431078, 0.0780139267, -0.0261910539, 0.0158668961, 0.0545157939, -0.0603473559, 0.0311808921, -0.0210523196, 0.0783801153, -0.0504277609, 0.0880422518, -0.0312847719, -0.0112802405, 0.0183465946, -0.0651477799, -0.0233814362, -0.0552370399, 0.0045562889, 0.0559572577, -0.007496425, -0.0090938369, -0.0046522911, -0.0365269631, 0.010367495, -0.003195364, 0.0206198357, 0.0009170327, -0.0330567174, -0.0003759703, -0.0563096553, -0.0687060356, 0.0301390234, -0.0080759693, 0.0273536257, 0.032508906, 0.0207608789, 0.0396786667, 0.0174799617, 0.0148961628, -0.0125314053, -0.0266257524, 0.0048473957, 0.0299703367, 0.0241211019, -0.0389070846, 0.0072217882, 0.0610469505, 0.0374157578, -0.0216642451, 0.0186772272, -0.0013580514, -0.0398665853, 0.0033770811, -0.0077999872, -0.1031623036, 0.0245889109, 0.0061580651, -0.0053414605, -0.0823815539, -0.0421116576, -0.0099922679, -0.0430278331, 0.0572159551, 0.0346095935, 0.0064563197, -0.049586501, -0.0338256583, 0.0297075342, 0.003310516, 0.0449215025, -0.0508890413, -0.009377379, -0.0423889421, -0.0076530995, -0.0463071652, -0.0488720126, 0.0289781895, -0.0417664163, 0.0288010854, 0.0546372123, 0.030446168, -0.0477301702, -0.0171930213, 0.0067537376, -0.0049699149, -0.0326516554, 0.0445907749, 0.0140021415, 0.0294014756, 0.0337434001, -0.0572370254, 0.069926843, 0.0022887876, -0.0589089952, 0.015234855, 0.0260363445, -0.0622400753, 0.0039650206, 0.0048642829, -0.0436484404, 0.0433638804, 0.0229489151, 0.0045768018, 0.0017210779, -0.0257185102, -0.0340046175, 0.0194176119, 0.0079817567, 0.0267076734, 0.0126232551, 0.0172236804, -0.0226235744, -0.0166392084, 0.0269604027, -0.0431455225, -0.0082976921, 0.0516752638, 0.0100222928, 0.0376234055, -0.0333003029, -0.0409928262, -0.0104760006, -0.0539794303, 0.0453549288, 0.0150734521, 0.0360750556, -0.0161393322, 0.0412025154, 0.0206562299, 0.0370678566, 0.0085823983, -0.0215585008, 0.0137954904, -0.0138976444, 0.0258405115, 0.0047503957, -0.0615471154, -0.0539091304, 0.0073434529, 0.0468083285, -0.0343562998, -0.0229733232, 0.0850970969, -0.0424289517, -0.0151732424, -0.0043842243, 0.0188912284, -0.0143191982, 0.020847911, -0.0013006229, -0.0649137795, -0.0257955752, 0.041776523, 0.0324908942, -0.0110196508, 0.0222860891, 0.0231223255, 0.0029493633, -0.0306557789, -0.0219101459, -0.0166204777, 0.0174774304, -0.0469024703, 0.0298841447, 0.0015999574, 0.0086517911, 0.035903018, -0.0148680862, -0.0114826728, -0.0465643629, 0.0608326271, 0.0119128143, 0.0365955383, 0.0282578282, -0.0370073542, -0.0021632302, 0.0631269738, -0.0043955212, 0.047716286, -0.028732866, 0.0327307992, -0.0023820475, 0.0221570376, -0.0450481474, 0.0254345294, -0.0703156739, 0.0093034068, 0.0321566053, 0.0344279669, -0.0010218543, 0.0223259367, -0.0230188239, -0.0190634709, -0.0118082846, -0.003586221, 0.0179739147, -0.0147906635, -0.0546674356, 0.0094325999, 0.0268342998, -0.0246075448, 0.0539752692, 0.019260725, -0.0354317985, 0.0311142039, -0.0594900437, -0.0254852604, -0.0091296956, -0.0364466645, 0.0395647697, 0.0567651726, -0.0507575385, -0.05352173, -0.1087589338, -0.0328822732, -0.0476310626, -0.013480586, -0.0009823628, 0.0021813367, -0.0258666798, 0.0512985587, 0.0269001238, -0.028619742, -0.0739466846, -0.0100721037, -0.0075748172, -0.008306507, 0.0035423134, -5.047546661e-33, 0.0067355721, -0.0574703217, -0.0232414939, 0.0313442871, 0.0146479402, 0.0265042614, -0.0194488429, -0.002276757, -0.0213696938, 0.002268377, -0.0166599881, 0.0280403383, -0.000937217, 0.0001394535, -0.0243651439, -0.0019733568, 0.007697132, 0.0154007766, 0.0238639396, 0.0270014144, 0.001525205, -0.0001456168, -0.0093491497, -0.0941578969, 0.0965174511, 0.035135325, -0.0730469078, -0.0076517905, -0.077513285, 0.0476224758, -0.0245408602, 0.0196553003, 0.0183368083, -0.0236528665, 0.0251301546, 0.0731224045, -0.0384956971, 0.001325946, -0.0014390821, -0.0427870452, 0.0544931702, -0.0488285236, -0.0101895714, -0.023072863, -0.0270804707, 0.010639105, 0.0001555044, -0.0438428111, -0.0437110551, -0.0450133719, -0.0611758232, 0.036848709, -0.0322250575, 0.0501866862, 0.0157236494, -0.0025366987, -0.0119927609, 0.0116622066, -0.0131431781, 0.0301178023, 0.0243231934, -0.0685221031, 0.0203497764, -0.0065057934, 0.0103511, 0.0692977384, 0.0069127572, 0.0111843422, -0.0239357892, -0.0014936087, 0.0205948278, 0.0570204593, 0.0174243506, 0.0663790703, -0.0494208001, -0.0548054315, -0.0481096506, 0.0019013685, -0.024771044, -0.011127905, 0.059650749, -0.0164831225, -0.0790043399, -0.0230442397, -0.0538926013, -0.0141989812, -0.0214112941, 0.0168946553, -0.0189764537, -0.0113475081, -0.0409306288, 0.0278402623, -0.027129719, -0.0652746484, -0.0307796653, 0.0249107964, 0.0482458025, -0.0185936764, -0.0190794356, 0.0315239392, -0.0235169083, -0.0745725036, 0.0100042708, 0.0054237526, 0.0406338759, -0.0051839319, 0.0609612688, -0.0022587476, -0.0489485078, -0.0256451908, 0.0054594637, 0.039583303, 0.037594717, -0.0237771012, 0.0048324973, 0.024134377, 0.0346106403, 0.0513612777, 0.0215862393, 0.0116820065, -0.0455796607, 0.0246172156, -0.0517032184, 0.0240402911, 0.0118825128, -0.0200167727, -0.0057879989, 0.0175153147, 0.1216308847, 0.0094309775, 0.0054900898, 0.0170077626, 2.653e-7, 0.06922324, -0.0368692316, -0.0217682943, -0.0083384737, 0.0134951724, 0.0664218739, 0.0070185452, 0.0487541035, 0.0045155985, -0.0388875753, 0.0067702318, -0.0143967923, 0.0507537872, 0.0300230905, -0.0120901149, -0.0122747794, -0.0120220296, -0.0313508585, -0.0472690091, 0.0620808154, 0.0429093055, 0.0300406124, 0.0438560359, -0.0219619758, -0.027391281, -0.0149554117, 0.0292348284, -0.0569953024, -0.0128404349, -0.0151928272, -0.0089755123, 0.0380887873, 0.0254757348, 0.0451633334, -0.0056792838, 0.0195862781, -0.0336878225, 0.0780254453, 0.0252891649, 0.0475531071, -0.0493521467, -0.0696090832, 0.0143893557, -0.0577883348, 0.0304082185, 0.0079428321, -0.0572478548, -0.0422395132, -0.0041941772, -0.0545644984, 0.0043127504, 0.0253953114, -0.0324607119, -0.0295802057, -0.0026402869, 0.0318227559, 0.001443136, -0.0646847412, 0.0147018973, 0.0027377887, 0.0191676579, 0.0044899932, 0.0398177952, 0.0025813973, 0.0439593643, -0.0509287007, 0.078430742, 2.265026315e-34, 0.0010896689, -0.0345475152, 0.0270725992, 0.0268956367, 0.0337235071, 0.0396900289, 0.0369998403, 0.0113499677, 0.0140808877, -0.0419343039, 0.0411818959 ]
http://arxiv.org/abs/2406.11139v1
http://arxiv.org/pdf/2406.11139v1
Breaking Boundaries: Investigating the Effects of Model Editing on Cross-linguistic Performance
2024-06-17T01:54:27
2024-06-17T01:54:27
Somnath Banerjee, Avik Halder, Rajarshi Mandal, Sayan Layek, Ian Soboroff, Rima Hazra, Animesh Mukherjee
cs.CL
cs.CL
The integration of pretrained language models (PLMs) like BERT and GPT has revolutionized NLP, particularly for English, but it has also created linguistic imbalances. This paper strategically identifies the need for linguistic equity by examining several knowledge editing techniques in multilingual contexts. We evaluate the performance of models such as Mistral, TowerInstruct, OpenHathi, Tamil-Llama, and Kan-Llama across languages including English, German, French, Italian, Spanish, Hindi, Tamil, and Kannada. Our research identifies significant discrepancies in normal and merged models concerning cross-lingual consistency. We employ strategies like 'each language for itself' (ELFI) and 'each language for others' (ELFO) to stress-test these models. Our findings demonstrate the potential for LLMs to overcome linguistic barriers, laying the groundwork for future research in achieving linguistic inclusivity in AI technologies.
[ 0.0427392498, 0.0415909216, -0.0467111021, 0.0497141369, -0.0314809158, -0.0205364097, -0.0008302539, -0.0218198039, 0.0066755028, -0.0527149178, -0.0857564956, -0.0228710324, 0.0214506779, 0.008266896, 0.0158791114, -0.0694693029, 0.0438171811, -0.012462995, -0.0161470473, -0.0153216505, 0.0009840272, 0.0115359602, 0.0169397499, 0.0536619425, -0.0095651429, 0.0036722887, 0.0001941941, 0.0128810564, 0.0060124872, 0.0069903159, 0.010089823, 0.0666843802, -0.0159197282, 0.0502612144, 0.0000021003, -0.0547109917, -0.0123508554, 0.0053549083, 0.0001147114, 0.0214046221, 0.0040573464, -0.0160187092, -0.0403186344, 0.0086810347, -0.0241033398, 0.04354918, 0.0676522329, 0.0338045023, 0.0546455495, 0.0602377914, -0.0167344641, 0.0254546441, 0.0425888039, -0.0106221382, -0.0092354706, 0.0071873828, -0.001124411, -0.0061529428, -0.0080832094, -0.0276311785, -0.0049819136, 0.0668692514, 0.0431664698, -0.0260148253, -0.0264952704, 0.0062785512, -0.0505218655, -0.0391381904, 0.0025966282, 0.0372633114, -0.020687867, -0.0217226073, -0.0420148782, 0.0101969754, 0.0086314809, -0.003264423, -0.0318854153, 0.0374954566, 0.0130708246, 0.0181349255, 0.0719664171, -0.0364356749, 0.0307568181, 0.0009373715, 0.0058217994, 0.0925655439, 0.0544205382, -0.0676579997, -0.0023943519, 0.0311927516, 0.0019219117, -0.079625763, 0.0035430084, 0.0182821583, -0.0263852999, 0.0265201144, -0.0480894484, -0.0239950884, 0.0160961654, -0.0668612048, 0.0335810855, 0.0524511524, -0.0318654031, 0.0321251974, 0.0080865435, 0.0549286008, 0.0111600244, 0.0326931365, -0.0204724371, -0.0189248081, -0.033242166, -0.0349989459, -0.0500763245, 0.0166090317, -0.0510608926, 0.0348327346, -0.0441971682, 0.0331766009, -0.0176413432, 0.0167178493, 0.0550144725, -0.0465172455, -0.0251543187, -0.0216910746, -0.0143256495, 0.0246768612, -0.0160576049, 0.0135730347, -0.0269767214, -0.0934821665, 0.0114937089, -0.0124325976, -0.081844002, -0.070675239, 0.0075554308, 0.0417626724, -0.0180064701, -0.0310894251, -0.0576571077, -0.0037439479, 0.0080300327, -0.06721735, -0.0039205658, -0.0679731071, 0.0450498834, 0.0053520086, 0.0126503268, -0.0664400309, 0.0014253522, -0.0112507669, -0.028597435, 0.068262808, -0.0244246386, 0.0241924953, 0.0737601966, 0.020039821, -0.0138456877, 0.0884508938, 0.0408873893, -0.0424106605, 0.0751770213, -0.0073330314, 0.0171984006, 0.0723902881, -0.0179538839, 0.0215437766, -0.0409735031, 0.0138769858, -0.0066576172, 0.0141691165, 0.0167371351, 0.0376007259, 0.0095932325, 0.0265605655, 0.0596514158, 0.0446398333, 0.014186223, 0.0471240878, 0.0176509041, -0.0625027493, 0.0106268516, 0.0363026671, -0.0464864559, -0.0037734665, -0.011795871, 0.0099297781, -0.0051249764, 0.033711601, -0.0264859032, -0.037173368, -0.034616705, -0.0014846472, 0.0383660905, -0.0206940807, 0.0213988386, 0.0115712751, -0.0070431894, 0.0569162145, 0.0342286639, -0.0654677674, 0.0259343274, -0.0588423386, -0.027205782, 0.0456770025, 0.0305161551, -0.0502788648, -0.0329240821, 0.0025636971, -0.0389320403, 0.0468722284, 0.0779981539, -0.0025878779, 0.0064763906, -0.0201987792, -0.0173769072, -0.0239273887, 0.0269594584, 0.0415116772, 0.0184809938, 0.0580530986, -0.0118611632, -0.0679830611, -0.0466740094, 0.0264212973, -0.0607192069, -0.0033924938, -0.0187381096, 0.0035601584, -0.0025646971, 0.0144538404, -0.0629930422, -0.0105098113, -0.0043667187, -0.0268290993, -0.0256950762, 0.0397722237, -0.0117532406, 0.0007484826, 0.0575215332, -0.0384834744, -0.0242950972, 0.0117923589, 0.0012752869, -0.0356294699, 0.0167072453, 0.0070719612, 0.057184644, -0.0445715673, 0.0548593998, -0.0201093797, -0.0201360341, -0.023601735, 0.0204853173, 0.0063339882, -0.0012676024, 0.0200836901, -0.0180490538, 0.0362094156, -0.0493843704, -0.0338503979, 0.0943321437, 0.0273486003, 0.0040171235, 0.0206477456, 0.0321769975, -0.0253574047, -0.0305299778, -0.1384465545, -0.0063429028, -0.0303716343, 0.0121435681, 0.0168600585, 0.0413307808, -0.0419098139, 0.003914135, -0.0075005856, -0.0641659871, 0.0316276439, 0.0660503507, 0.0293923169, -0.0020681259, -0.0056298766, -0.0435816646, -0.011052303, -0.0023314855, 0.0341374762, 0.0060456586, -0.04275278, -0.0320826769, 0.0085531091, -0.0584008917, 0.0250914842, 0.005492453, -0.0443969518, -0.0140951304, 0.0238910131, 0.0701101497, 0.0510755405, -0.0489944927, 0.0219882336, 0.0595610254, -0.0383981988, -0.0122767584, 0.0158765912, 0.0651258901, -0.0378584005, -0.0040894127, -0.0308830589, 0.0373352095, 0.0805779174, -0.0131819136, -0.0502008572, -0.0475574397, -0.0007714452, -0.0661146417, -0.0279113129, -0.0291635804, -0.011275433, -0.0063474504, 0.0631490797, -0.0316637456, -0.0369110368, 0.0728476718, -0.037492495, 0.0179860257, -0.060720928, -0.0087939585, -0.0367127359, 0.0302774664, -0.0423798934, 0.042046573, -0.0192846339, -0.0238514394, -0.0729987547, 0.0013702362, 0.0196246561, -0.0043181698, 0.0196574889, -0.0747588053, 0.0051712547, -0.026188435, -0.0492364764, -0.030658666, 0.0075493278, -0.011649129, 0.052268438, 0.0427009389, -0.018702032, -0.0063153962, 0.009685535, 0.0285177715, 0.0583625622, -0.0094007524, 0.0000878751, 0.0096194586, -0.0107193505, 0.0255486798, 0.0158764664, 0.0297468286, -0.0215775538, 0.0452487133, -0.010315598, 0.0265087392, -0.057107687, 0.0164734107, 0.0138626136, 0.0087704509, -0.0913626179, -0.051014889, -0.0285293479, 0.0639514402, -0.0291028544, 0.0158925615, 0.110480316, 0.0338435285, -0.0258217994, -0.0082654171, -0.0907600373, 0.0201620683, 0.0421560444, 0.0497887284, -0.0785910189, 0.0038050788, 0.0404779054, -0.0235764831, -0.0078569427, -0.0189541299, -0.0104901372, -0.1093935445, 0.0017003434, -0.0084642814, -0.0443154499, -0.0420960672, -0.0170852579, -0.0194382071, 0.0090294378, 0.0566116311, 0.0057280478, -0.0141142746, 0.0048836633, -0.0144328978, -0.0099845584, -0.0481502041, 0.0034946809, -0.0435498692, 0.0140111428, 0.0446352996, 0.0165383704, -0.0356727988, -0.0340189151, 0.0635218769, 0.0037986138, 0.0090872506, -0.0226415377, -0.0136790276, 0.0114564504, -0.0185360797, 0.0144165633, -0.0107057849, 0.0194910113, -0.0140674915, 0.0312085878, 0.08390259, 0.0009110646, 0.0069359755, -0.0009405469, -0.0508420058, -0.0118906628, 0.0613824464, 0.0323911123, -0.0350626186, -0.0129726501, -0.0535310879, -0.0103820739, 0.0221478473, -0.0247218721, 0.0411951989, -0.0618369803, -0.0072032935, -0.0333359763, -0.1129258126, 0.0302680414, -0.0065960642, 0.082759589, 0.0090740984, -0.0059953532, -0.0262640659, 0.0062116073, 0.0158057008, -0.0298011284, 0.0194059014, -0.0659398064, -0.021896638, -0.0124231782, -0.0387544669, -0.0135158543, -0.0222383942, 0.0172350686, -0.0695429742, 0.0045487797, 0.0526360609, 0.0281820931, 0.0176130626, 0.008181626, -0.0631374195, -0.0029310239, -0.0033373875, 0.0053269453, 0.0307289083, 0.0321082883, 0.0045751426, 0.0055553503, 0.0494376868, -0.0418188348, -0.0122971805, 0.0067814421, 0.0354973488, -0.0030298783, -0.0446682721, 0.0114362305, 0.0350672938, 0.0073167346, -0.0501959622, 0.0059105661, -0.0726595595, 0.036436297, -0.0427446105, -0.0115023293, -0.0155731998, -0.0006410374, 0.0137286698, 0.0085467501, -0.00496272, 0.02701094, -0.0274530221, -0.0018906567, -0.0277132671, 0.0281205084, 0.0056422777, 0.0437831357, 0.0212917048, 0.0323097594, 0.005034199, 0.0498728156, 0.0048183328, 0.0219572615, -0.0091663478, 0.0335373506, -0.0001792837, 0.002588579, -0.0070685348, 0.0395121425, -0.0048482884, -0.0634206459, 0.0081531908, 0.0437504314, 0.0967555344, -0.0134768924, 0.0533736572, -0.0350703038, -0.0211523082, -0.0130476598, 0.0142751122, 0.053844355, -0.0069530834, 0.0241744984, -0.0175282471, -0.0203393456, -0.0022348829, 0.0672212541, -0.0059688515, 0.0868167281, -0.0225709714, -0.0132971387, -0.0165874492, -0.0314092748, 0.0465390198, -0.0292782038, -0.0313947648, -0.0097648343, -0.0582871735, -0.0778948441, 0.0121190622, 0.0219536219, -0.0069571212, 0.0074625192, -0.0036866784, 0.0868205503, -0.0028817623, -0.0028315838, -0.0136436718, -0.0208784547, -0.0089505501, -0.0066707497, 0.0179442894, -6.189566239e-33, -0.0406343341, 0.0234254226, 0.0187643468, -0.0093897358, -0.0088034878, 0.0011288857, -0.0309362207, 0.0163317807, -0.0035309556, 0.0276810098, -0.0525793433, 0.0125177698, 0.0117620789, -0.0290787723, 0.0318736844, 0.0090865707, 0.0539967865, 0.0437179618, -0.017190855, -0.0316949226, -0.0278033465, 0.0220825505, 0.111904256, -0.0411495641, 0.0645879507, -0.0053039086, 0.0027963531, 0.022399148, -0.0370752886, 0.0406773873, -0.015929427, 0.0447861776, 0.0289867576, -0.0329032168, -0.0075667179, -0.0314279683, -0.0206381474, -0.0377640426, 0.0428940468, 0.0693983138, -0.006619195, -0.0545360781, 0.0362414457, 0.0018214569, -0.0796537548, 0.0143979238, 0.0184009075, -0.0028148063, 0.0497952662, 0.0062048691, -0.0832357034, 0.0106858211, -0.0139392475, -0.0047156811, 0.0294037089, -0.002570505, 0.0032256295, -0.0535963401, -0.0689189658, -0.0020212845, 0.0573217906, 0.0470154956, 0.0936818346, -0.0232280567, -0.0264937878, 0.008782723, 0.0203752089, 0.0040011853, 0.0140438154, -0.0006051236, 0.0155061884, 0.013515722, 0.0048365975, 0.0329120569, -0.0135745965, -0.0152701978, -0.0379074626, 0.0270099901, -0.0140809594, 0.0193862263, -0.0358618647, 0.0203800295, -0.0206335206, -0.0275455751, -0.0274806358, -0.0386882313, -0.0316009298, -0.031603653, 0.0478053801, -0.0260811485, 0.0313156322, 0.00034653, 0.0258949064, -0.0236731879, -0.0371629074, 0.0084630307, -0.0264572967, 0.0116497865, -0.0025475819, 0.031878598, -0.0215976909, 0.0136648742, -0.0175088923, 0.0234282762, 0.0082241334, 0.0038254808, 0.0182020012, 0.021541737, -0.0591443591, 0.0162790231, -0.0212919563, 0.0409929119, 0.0103181666, 0.0367654525, 0.0300821364, 0.0109453266, -0.0050220257, 0.01723882, 0.0624336936, -0.011749913, -0.0711847246, 0.0361055583, 0.0007939836, 0.0231256038, -0.000168731, 0.0178014264, -0.0269186832, 0.0172787886, 0.0150646223, -0.0447970815, -0.0303599294, -0.0239673276, 2.87e-7, 0.0416229032, 0.0649445727, 0.025259465, -0.0038057177, -0.0047091846, 0.0297768936, -0.0620862655, 0.0085340664, 0.0032485893, 0.0212022066, -0.0295471959, 0.0384100862, 0.0250683371, 0.0458749719, -0.0460998341, -0.0131806973, -0.0729954615, 0.0318905413, -0.0761198848, 0.0109031517, 0.0110493014, 0.0379967578, 0.008073099, -0.0150600746, -0.0529076047, -0.0216908902, 0.0451758578, -0.0332411453, -0.0223407187, 0.0357807428, 0.0466440096, 0.0279916823, 0.0169912279, 0.0245807376, -0.0129701775, 0.0228560939, 0.0110503361, 0.0395540372, -0.0389497615, 0.0271815211, 0.0338145308, 0.0062174704, -0.0345954448, -0.0703169107, 0.0555844754, 0.0487386771, -0.0049372721, -0.012399585, -0.0003318985, -0.0107087009, 0.0842614993, -0.0517357029, -0.0075004948, 0.0386252478, 0.0252740011, 0.0061190925, -0.0345997177, -0.0070328596, -0.0633418038, -0.0010118029, -0.0036076023, -0.0282813068, -0.0259403903, 0.0027454023, -0.0154704293, -0.04907782, 0.0168659016, 2.583234932e-34, 0.0130382394, 0.0132853733, 0.0549452342, 0.0436488912, 0.0585593656, -0.0156040797, -0.000634783, -0.0114418743, -0.0298066679, -0.0249325652, -0.0273908135 ]
http://arxiv.org/abs/2406.11132v1
http://arxiv.org/pdf/2406.11132v1
RePrompt: Planning by Automatic Prompt Engineering for Large Language Models Agents
2024-06-17T01:23:11
2024-06-17T01:23:11
Weizhe Chen, Sven Koenig, Bistra Dilkina
cs.CL
cs.CL, cs.AI, cs.LG
In this past year, large language models (LLMs) have had remarkable success in domains outside the traditional natural language processing, and people are starting to explore the usage of LLMs in more general and close to application domains like code generation, travel planning, and robot controls. Connecting these LLMs with great capacity and external tools, people are building the so-called LLM agents, which are supposed to help people do all kinds of work in everyday life. In all these domains, the prompt to the LLMs has been shown to make a big difference in what the LLM would generate and thus affect the performance of the LLM agents. Therefore, automatic prompt engineering has become an important question for many researchers and users of LLMs. In this paper, we propose a novel method, \textsc{RePrompt}, which does "gradient descent" to optimize the step-by-step instructions in the prompt of the LLM agents based on the chat history obtained from interactions with LLM agents. By optimizing the prompt, the LLM will learn how to plan in specific domains. We have used experiments in PDDL generation and travel planning to show that our method could generally improve the performance for different reasoning tasks when using the updated prompt as the initial prompt.
[ 0.0378164351, 0.0338189378, -0.0252020266, 0.029093422, -0.0449062474, -0.0158795398, 0.0022277783, -0.0140879992, 0.0438330546, -0.0232234132, -0.0106285987, -0.0217993222, -0.006326268, 0.0251046922, 0.0016705297, -0.0511335395, 0.0259475484, -0.0531328134, -0.0058743376, -0.0057176938, -0.0281827301, -0.0127011584, -0.0189805031, 0.0722491294, 0.0090509132, -0.0233670603, -0.0648803562, 0.0122660575, 0.0116632683, -0.0285237823, -0.0025283687, 0.0293876678, 0.0279806275, 0.0202384312, 0.0000022013, -0.0597825013, -0.0193931386, -0.0402231179, -0.0502310656, -0.0302920435, 0.0184812285, 0.0260810163, -0.0232145097, 0.0387893915, -0.066451408, 0.0104252724, 0.0083394218, 0.0282168891, 0.082818687, 0.098678261, 0.0249261111, -0.0207423083, -0.0006413948, 0.0102973878, 0.0226155967, -0.0718745887, 0.0183635764, 0.0004044726, 0.0387834832, 0.0205192827, -0.0148059092, 0.0151199559, 0.0254233498, -0.0405066833, -0.0166048408, 0.0302647334, 0.0179019887, -0.0428338535, -0.04006055, 0.0795206949, -0.0068762056, 0.0151064033, 0.0339705087, -0.0020718793, 0.0193303749, -0.0202198029, -0.0228025895, 0.0270584598, -0.0177495666, 0.0048906039, -0.0078913961, -0.0335794762, -0.0086020669, -0.0103844367, -0.030111067, 0.1038258895, -0.0110234031, -0.0194144603, -0.0060676984, -0.0248496234, 0.0458876193, -0.0829632431, 0.01404035, 0.0914647505, -0.0886159092, 0.0235963184, 0.0038879158, 0.00908003, -0.0050772694, 0.0144898724, 0.0351760797, 0.0519325212, -0.0046447529, 0.0277583767, -0.011887325, 0.0860481262, -0.0012288683, -0.0195430368, -0.0338488892, 0.0293098483, -0.0738579184, 0.0177503042, -0.08616703, 0.027234111, -0.0316093862, 0.0037184719, -0.0222378317, 0.0827509686, 0.0087078782, 0.0440016463, 0.0096441992, -0.0046336721, -0.0313452296, -0.0278974641, -0.0697241277, -0.0208423603, -0.0519968681, -0.0266378578, 0.0249532554, -0.0346397869, 0.0134671852, -0.005834986, 0.0149026858, 0.0012438751, -0.0396775641, 0.0983780846, -0.0048924675, -0.0013893703, -0.0346295536, -0.068225868, 0.0170896593, -0.0604870804, -0.0065146685, -0.0618879087, 0.0256843958, -0.022781644, -0.0278007463, -0.0530966744, -0.0057791416, 0.0123863313, 0.0017127465, 0.0626085699, -0.0173495188, 0.0283994917, 0.0271961745, 0.0018426507, -0.0538848378, 0.0427390225, 0.015623386, 0.0628114939, 0.0088029588, 0.0237313937, 0.0314326361, 0.0427445434, -0.0082317973, 0.0017177154, 0.0100888032, 0.0149663985, 0.0188897979, 0.0433937199, 0.0018790843, 0.0275433064, -0.0421205871, 0.0260950588, 0.0224718936, 0.0432540551, 0.0266883262, -0.0081842607, 0.0776321441, 0.0491632856, -0.0308340192, 0.0014740505, -0.0564205833, 0.0045324476, -0.0248002671, -0.0011354997, -0.0181531943, 0.0127955154, -0.0283440761, -0.0504008867, 0.0254528224, -0.0079431916, 0.0141589986, -0.0037752241, 0.011398714, 0.0116649158, -0.0574263595, 0.0065512881, 0.0023137874, -0.0244153012, -0.0296213049, -0.0652300194, 0.0354734957, 0.0842146352, 0.0322634205, -0.0282371361, -0.0403262004, -0.0115763741, 0.0251231305, 0.0186040066, 0.0401261561, -0.0240344349, -0.018579118, -0.0393811576, -0.0325346775, 0.0031786354, -0.0020275791, 0.039074216, 0.0287433397, -0.0154986456, 0.0106307929, 0.0271822494, -0.0070729586, 0.0275065955, -0.0411804728, -0.0319416374, 0.0119632091, 0.0263584238, 0.028314393, 0.0042207846, 0.0019208244, 0.010861991, 0.0188905969, -0.0180216469, -0.0317479037, -0.0039256988, -0.03815699, -0.0709147826, 0.0519798771, 0.0051545934, -0.0285501555, 0.003320701, -0.0388561934, -0.0444383249, -0.0045728753, -0.0270389188, 0.0343510322, -0.0059318375, 0.0488244891, 0.0186953247, -0.0365427062, -0.0402944759, 0.0702869222, 0.0157862622, -0.0192081574, 0.0727561563, 0.0763709992, 0.0112492479, -0.0519639514, 0.009381935, 0.0155738499, -0.0026358273, 0.0237152558, 0.0466140769, 0.0496118926, -0.0359972864, -0.0438095964, -0.0684756562, 0.0112197362, -0.0292496495, -0.0059104217, 0.0008520791, 0.0045589777, -0.01669202, -0.0450235605, -0.0475881919, 0.0446106568, 0.0038608976, 0.0129785743, 0.0426944159, 0.0172912125, -0.0762366503, -0.034753982, 0.0093360189, -0.0086334674, -0.0161441807, 0.0220666155, -0.0135413054, -0.099998273, 0.0428319648, -0.0314489342, 0.0268322546, -0.0098674949, -0.0257889461, 0.0247759093, -0.0276349559, 0.0506093763, 0.0528334714, 0.0096667651, 0.0112157324, 0.0368393399, -0.0162737574, -0.0838667005, 0.0421448834, -0.0396451838, -0.0495507345, -0.0416095667, -0.0307847392, 0.0265315082, 0.0537148528, -0.006147413, 0.0122457249, -0.0419843346, 0.0061900248, 0.0199417695, -0.0007884214, -0.0231869016, -0.0061136298, -0.0361724086, 0.0913855359, 0.0065361117, -0.0700332746, 0.0903493613, -0.0161557794, -0.0061453581, -0.0331140384, -0.0235594008, -0.0234032515, 0.0702908263, 0.0021204585, 0.0345001817, 0.0126448469, -0.0474652313, -0.0248790458, -0.0037334252, 0.0047108983, -0.0093030976, 0.0232012141, -0.0588023439, 0.0190008506, -0.008994801, -0.064662233, -0.0747888982, -0.0471564457, -0.0348104239, 0.0046973526, -0.0252077077, -0.026971003, -0.0216101967, -0.0139059704, 0.0173508655, 0.032673426, -0.0118276291, -0.0286081955, -0.0426487327, -0.0324719399, 0.0348717868, 0.0464115106, -0.0271435082, -0.0164680369, 0.0579762273, 0.0026204877, 0.0224914849, -0.0082507841, -0.0345680341, 0.0165517405, 0.0084729036, -0.0322116986, 0.0016452231, 0.0754283592, 0.0373355336, -0.0391137563, -0.0260238219, 0.1096214801, 0.0397271365, -0.0652180016, 0.0035531658, -0.0274657123, 0.0283812936, 0.0220252499, 0.0538045689, -0.0614298172, -0.0484088883, 0.0218718015, 0.0097620711, -0.0178496279, -0.0444440171, -0.0240274481, -0.1188141927, 0.0384590253, -0.0164236985, -0.019502975, 0.012161958, -0.0334028676, -0.0276299883, 0.0196349341, 0.0143968305, 0.0375561565, -0.0069843414, -0.016629491, -0.0006876987, -0.0463844873, -0.0246891063, 0.0100681754, -0.0097619789, 0.0580188036, 0.0945960656, 0.027096549, 0.0315927267, -0.0257870592, 0.0489723273, 0.0574087836, 0.0457810126, -0.019002961, 0.002595867, 0.003021094, -0.0134816617, -0.0078255422, 0.0254309494, -0.0640794858, -0.0100738937, 0.0683096498, 0.0806133226, -0.043279279, 0.0142595703, -0.015149327, 0.0213065147, 0.0354492776, 0.052138228, 0.0085879294, -0.0335292034, -0.0481949858, -0.0690035224, -0.0346232727, 0.0026375835, -0.0187049918, 0.0035502657, -0.0265974905, 0.0275252555, -0.0694282204, -0.0405818783, 0.0407502986, 0.0534241423, 0.0199504048, -0.0160758197, 0.019962566, 0.027133679, -0.0070695952, -0.0005342355, -0.0558292829, 0.0232780781, -0.069134742, 0.0010725147, 0.0215939805, -0.04161622, 0.0003212104, 0.0014214814, -0.0519462563, -0.0788897797, -0.0212267134, 0.0467697643, 0.0279152002, 0.0474408157, -0.020821793, -0.0199346747, 0.0042469096, 0.0066937017, -0.0130585656, 0.0054973643, 0.0013666176, 0.0681206062, -0.0059808344, 0.0406857282, -0.0548581481, 0.0124331973, -0.0136855571, 0.0441107713, -0.0317891575, -0.0476666689, 0.0405803882, 0.0408981778, -0.0141840493, 0.0011941702, -0.0441337973, -0.0158992819, 0.0274613015, -0.0219534226, -0.0346340835, -0.0525157303, 0.0320323296, -0.0062342975, -0.0385839492, 0.0702007413, -0.0228706859, -0.0320854746, 0.0191607736, 0.0056642229, -0.0004939359, 0.0025503782, 0.0389159732, 0.0665969178, 0.0016378302, -0.0218499806, 0.0267436616, 0.0261791125, 0.031172866, 0.012283925, 0.0712985024, 0.0353316739, 0.003260229, -0.0386319384, -0.0022005609, -0.0719806179, -0.1220543534, 0.0487924777, 0.044322364, 0.0714447871, 0.045653142, -0.0032263685, -0.0517921075, 0.0219507832, -0.0146434568, 0.0305201001, 0.0328326449, -0.0408520699, 0.0488801897, 0.0147658531, -0.0103985472, -0.0142910974, 0.0646708831, -0.0206318311, 0.0375196487, -0.0162402056, -0.0121668419, -0.0602763928, -0.0155082801, 0.0214497373, 0.0085137403, -0.018074017, -0.0137832183, -0.0409345962, -0.0291939545, -0.0304151047, 0.0251851771, -0.013816868, -0.0278122071, 0.0695271194, 0.0382695943, 0.008306344, -0.0239026919, -0.0448309332, 0.001528113, -0.0199876111, -0.030935863, -0.0232668296, -5.699452686e-33, -0.0259990357, -0.0478390604, 0.0694439113, 0.0041011502, -0.0280983225, -0.0118499715, -0.0516850613, 0.0252727438, -0.0053615882, 0.0024210813, -0.0250765532, -0.0002749201, 0.019642124, -0.0011634476, -0.002073627, -0.0161167402, 0.0524596125, 0.003917723, -0.0372780152, 0.017766254, 0.0095521817, 0.0336867012, -0.0220366064, -0.0170636829, 0.0014491979, -0.0125134084, -0.0128013194, 0.0735097229, 0.0243187789, 0.0499383695, -0.017902771, 0.0068399264, 0.011736162, -0.0398897417, -0.0437185429, 0.0544522218, -0.03195557, -0.0545953959, 0.0056474335, 0.0137966434, -0.0594860539, -0.0262078382, 0.0010929778, -0.0154227884, -0.032695733, 0.041801542, 0.0291554704, 0.003402004, -0.0323148742, 0.0407913812, -0.0514556281, 0.011382632, 0.0016247932, -0.0459388494, 0.0347527713, 0.0184662957, 0.0008276673, -0.0162325632, 0.0045368248, 0.0084956102, 0.0109229377, 0.0083825774, 0.034866035, 0.0111446874, 0.0053173611, 0.0442035533, 0.0566448718, 0.045157019, -0.0261179209, -0.014893163, -0.0122151952, 0.0473076962, -0.0308131054, 0.0372659005, -0.0136461575, 0.0038140195, -0.0419556946, 0.033108294, 0.0461351648, 0.0333474688, 0.02760466, 0.0068843425, -0.0203406196, -0.0089238891, -0.0515845641, 0.0434030853, -0.0126081388, -0.0393520445, 0.0329091176, 0.0312414505, 0.0117454119, -0.0724148527, 0.0383676589, -0.0300955866, -0.0265752561, 0.0161913112, -0.0209451839, 0.0030273511, -0.0116146049, 0.0382712223, -0.0223744195, -0.0398989767, -0.0123605756, -0.0185554866, 0.031300839, 0.0427107289, -0.0068881758, 0.0360455438, -0.0469142161, 0.0091587324, -0.0691496953, 0.0085444544, -0.0080838921, 0.0275442768, 0.0336447023, -0.0185755994, -0.0222990587, 0.0652626455, -0.0056436812, -0.0563814268, -0.0196562782, 0.0084640998, 0.0250902884, 0.0243355297, -0.0475598797, -0.0073223175, -0.0336824656, 0.0748086572, 0.0375342667, -0.0325783566, -0.004196581, 0.0077667693, 2.889e-7, -0.037697766, 0.0328790434, 0.0222111903, 0.0582777262, 0.012910828, 0.0439580157, -0.0211415552, 0.0067233886, -0.0041054585, -0.0133666052, 0.0144408327, 0.0288949683, 0.0287983865, 0.0227059834, -0.110622853, -0.0033017274, -0.0148261292, -0.0251294337, -0.0811533406, 0.0024934378, 0.0735333562, 0.0622022152, -0.0125525156, -0.0024903887, 0.0216769092, -0.0209365562, 0.0222873278, -0.0246658269, -0.0011510338, 0.0217887349, 0.0239768531, 0.0120350914, 0.0062907347, -0.0006044234, 0.0158971176, -0.0015737665, -0.030843854, 0.0798584968, 0.0026092764, -0.0126488078, 0.0276853088, -0.0409481749, 0.0048832945, -0.0252909362, 0.0299562197, -0.0130319363, -0.000185208, -0.0230193809, 0.0226129889, -0.0461410247, -0.0036739632, -0.0287840068, 0.0031445448, 0.007355175, 0.0048826337, 0.0021535587, 0.0030922885, -0.0894118473, 0.015241812, 0.0040731984, -0.038381137, -0.047289934, -0.0335398428, 0.0368596278, 0.0215500649, -0.0494033247, 0.0207701195, 2.639691033e-34, 0.0173772611, 0.0030448614, 0.0052549485, 0.0599994995, 0.0547367185, 0.0197105054, 0.00795276, 0.0375360548, 0.0527615212, -0.0734211281, -0.0468157902 ]
http://arxiv.org/abs/2406.11131v2
http://arxiv.org/pdf/2406.11131v2
Are Large Language Models a Good Replacement of Taxonomies?
2024-06-17T01:21:50
2024-06-20T08:01:14
Yushi Sun, Hao Xin, Kai Sun, Yifan Ethan Xu, Xiao Yang, Xin Luna Dong, Nan Tang, Lei Chen
cs.CL
cs.CL, cs.AI, cs.DB
Large language models (LLMs) demonstrate an impressive ability to internalize knowledge and answer natural language questions. Although previous studies validate that LLMs perform well on general knowledge while presenting poor performance on long-tail nuanced knowledge, the community is still doubtful about whether the traditional knowledge graphs should be replaced by LLMs. In this paper, we ask if the schema of knowledge graph (i.e., taxonomy) is made obsolete by LLMs. Intuitively, LLMs should perform well on common taxonomies and at taxonomy levels that are common to people. Unfortunately, there lacks a comprehensive benchmark that evaluates the LLMs over a wide range of taxonomies from common to specialized domains and at levels from root to leaf so that we can draw a confident conclusion. To narrow the research gap, we constructed a novel taxonomy hierarchical structure discovery benchmark named TaxoGlimpse to evaluate the performance of LLMs over taxonomies. TaxoGlimpse covers ten representative taxonomies from common to specialized domains with in-depth experiments of different levels of entities in this taxonomy from root to leaf. Our comprehensive experiments of eighteen state-of-the-art LLMs under three prompting settings validate that LLMs can still not well capture the knowledge of specialized taxonomies and leaf-level entities.
[ 0.0720889792, 0.0304484554, -0.0235788543, 0.0760558173, -0.0155132478, -0.0038426537, -0.0198583286, 0.0247031767, 0.0312722512, -0.070593819, -0.0512002818, -0.0213742554, -0.0380025767, 0.0164172631, 0.0051906966, -0.0371749997, 0.029802084, -0.0259647425, 0.0120383035, -0.0393709205, 0.0039990321, 0.0273135472, 0.0139782215, 0.0260264352, -0.0013646738, -0.0401129164, -0.004451443, -0.001151723, -0.0116023347, -0.0481976308, 0.0232695378, 0.0245130882, 0.0405498557, 0.081736967, 0.0000019955, -0.0560649671, 0.0121949054, -0.0106317904, -0.052940499, 0.0324119888, 0.0115485294, 0.0300195571, 0.0322431549, -0.0032050214, -0.0328241624, -0.0313687958, 0.0090632755, -0.0012341061, -0.0133349709, 0.0178925116, 0.0092367977, -0.0764636472, 0.010696847, -0.0294571854, -0.0095463498, -0.0589445233, 0.022666458, 0.0487780161, 0.0114321494, 0.0362352915, -0.0253227931, 0.0004393083, -0.0017406117, -0.020085223, 0.0241413135, 0.0678876638, 0.0074134441, -0.0125785163, 0.0188075416, 0.0832459554, 0.0157572217, -0.0011103043, 0.0034758125, 0.0223879889, -0.0084397607, 0.0440404341, -0.0556148924, 0.0222263839, -0.0395040512, 0.0032895268, 0.0598124042, -0.0192199983, 0.0366674028, 0.0142880529, -0.0251425933, 0.0917016268, 0.0256408639, -0.0169180669, 0.0319712423, 0.0022968543, -0.0286995526, -0.093042545, -0.0219073873, 0.0426766835, -0.0373318382, 0.0554859713, -0.0085085575, 0.0335792676, 0.0426220857, -0.0708210692, -0.0131271472, 0.0127266115, 0.0265176892, 0.0785286203, -0.0056418534, 0.0369922668, -0.0317829251, -0.0031945738, -0.0336084664, -0.0463200696, -0.0852202177, -0.0204925574, -0.0153476968, 0.0511613712, -0.0126854777, -0.0254867412, -0.0165394917, 0.0308022071, 0.0069629592, -0.0029102671, 0.002802656, 0.0039364756, 0.0081407325, -0.0104298983, -0.0670549124, 0.0235905182, -0.0580584966, 0.0327182338, 0.0058639483, -0.0156292822, 0.045745451, 0.0252401289, 0.0233160798, -0.0188432615, 0.0261604767, 0.0259924196, 0.0205078684, -0.0314652659, -0.0367981046, -0.0411815159, -0.0280817673, -0.0458029732, 0.0411518812, -0.0776792765, 0.0154843489, 0.0303510688, 0.0128250932, -0.009412623, 0.0213089529, 0.0122638391, -0.037364237, 0.0243072547, -0.0224838573, 0.0320274718, 0.0466432869, 0.0334122367, -0.0175827201, 0.0490544736, -0.0006385668, 0.0051325071, 0.0582562685, -0.0252404567, -0.0234184731, 0.0212024134, -0.0183551311, 0.0116865803, -0.0080745444, 0.0542021058, -0.0373587459, 0.0333941951, 0.0559897311, 0.0675247759, -0.0002440508, -0.009533111, 0.0462170951, 0.0938327909, 0.0177163724, 0.0178450979, 0.0231498685, 0.0096737668, 0.0289565362, -0.0087146591, 0.0038390341, 0.0095559657, -0.0465148278, -0.0031616283, -0.0000141621, -0.0031274376, -0.0478110276, -0.000202588, -0.0465180166, 0.0060504982, -0.007692873, 0.0056951242, 0.0550420657, -0.0187366586, 0.0280200131, 0.0552387647, 0.0447994173, -0.0137577187, 0.0143111497, -0.0579059273, 0.0574544817, 0.052022282, 0.0455085747, -0.0194573551, -0.0380267762, 0.0280754622, 0.0132387849, 0.0420505516, 0.0412002206, -0.0556860343, -0.0275171641, -0.0049828445, -0.0240324941, -0.0169191286, 0.0192815661, 0.0094789546, 0.0416994318, 0.0203853976, 0.0012453437, -0.102620244, 0.0061475397, 0.0202967711, -0.0558869801, 0.0025042025, -0.00894411, -0.0153945116, 0.0091506075, 0.0187261049, -0.0223351885, 0.0057227458, 0.0398045443, -0.0175927076, -0.0373337753, -0.0157857314, -0.0342895165, -0.0382876694, 0.0425988287, 0.0141136795, -0.0276496187, 0.0117507819, 0.0010484917, -0.0095501291, -0.0097561283, -0.0155837974, 0.063251622, -0.0499156825, 0.0169534162, -0.0444569439, -0.0364024453, -0.0161538161, 0.0943566784, -0.0060804691, 0.0595430769, -0.0243402217, -0.0171761382, 0.0134524256, -0.0067510051, -0.0271350108, 0.0132270819, -0.0045103477, 0.0318049639, 0.037642993, -0.0037005681, -0.0721875802, -0.0053146612, -0.1022770181, 0.0260241814, -0.0026908654, 0.0320904292, 0.0144652799, -0.0194474198, 0.0124232229, 0.0111755952, -0.0608684905, 0.0411246531, -0.0022002403, 0.0332528614, 0.0031736162, 0.0038208019, -0.0342496224, -0.0383774713, -0.0084079662, -0.0111931041, 0.0479095243, 0.0026851892, 0.0082322452, 0.0028992041, 0.035520535, -0.0592896193, 0.0036012039, -0.0316927359, -0.0103896447, 0.0127301617, -0.0133906649, 0.0165601969, 0.0196122024, -0.0089685749, -0.0032729029, 0.0497630127, 0.0126597648, -0.0411598682, -0.0113346959, -0.0126388278, -0.0279233418, -0.0582086928, -0.0174844973, 0.0076031927, 0.096876204, -0.0257722642, -0.0118949814, -0.0305322483, 0.0315562338, -0.0503542349, 0.009602231, -0.064512141, -0.0050127357, 0.0127330786, 0.0568928309, -0.02002104, -0.0468697101, 0.0499577373, -0.0061155632, -0.0080731921, -0.0021087439, -0.0108549306, -0.0528294668, 0.0868138671, -0.0097456109, 0.0301614404, 0.0395246148, -0.0340592936, -0.0380639546, 0.0403584614, -0.0053650606, -0.0386467129, 0.0500509217, -0.0277097728, 0.0182971284, 0.0048793559, -0.0361249, -0.040761482, 0.0089745428, -0.0346406251, 0.0530114248, 0.0376325026, -0.0322273821, 0.0095069939, -0.0222591925, 0.0075357705, -0.0074479235, 0.018939646, -0.044980973, 0.0095734969, 0.0610988885, 0.0530363917, 0.0026128064, 0.0066976869, -0.0160342772, 0.065296106, 0.0420853756, 0.0062456527, -0.0012982559, -0.0083749928, -0.0405231565, 0.0103689702, -0.0355457962, -0.0467867404, 0.0107233236, -0.001399233, -0.0356882587, 0.0039610779, 0.1204085201, 0.0474763624, -0.0279285628, 0.0142210741, -0.0539713241, 0.0336366631, 0.0710474551, 0.004150534, -0.0724729523, -0.0024452789, -0.0082011409, 0.0041304594, 0.0128376698, -0.0618974194, 0.0171374381, -0.1167125627, 0.0088560339, -0.0215520766, -0.0320114568, 0.0107092429, -0.042325072, -0.0046101809, 0.0463243835, -0.0211815927, 0.0077896612, -0.0217969585, -0.0029753121, 0.0281137731, -0.0684821978, -0.0380168185, 0.0986887366, -0.0487822779, 0.0111364583, 0.0272614509, 0.0516782701, -0.0229038242, 0.014646641, 0.0438463725, -0.0216315575, 0.0097159836, 0.0044145002, 0.0185579956, -0.0010042408, 0.0051781344, -0.027801495, -0.0222134683, -0.0324866064, 0.0413087234, 0.0251176618, 0.1109720543, 0.0147283915, -0.0301062446, -0.0105833067, -0.0238137543, -0.0136333695, 0.0889828354, 0.0133781815, -0.0172380973, 0.0101536959, -0.0118870055, -0.0028016146, 0.020765299, -0.0427049734, 0.055972226, 0.0122311339, 0.0056309318, -0.064427644, -0.0247300323, 0.0681478679, -0.0005765125, -0.0002501263, 0.0487226844, -0.0195145905, -0.016893236, -0.0475536808, 0.0131689496, -0.0505520254, -0.002904251, -0.0538196564, -0.031963136, 0.0376886651, 0.0222667903, -0.0345039032, -0.0222939365, -0.036831893, -0.0679646507, -0.022567302, -0.0130332727, 0.0178058855, 0.0215119198, 0.0046448465, -0.06030472, 0.0348410308, -0.0192791037, -0.0391887687, 0.0249339882, -0.012159599, 0.0211629067, -0.0070100133, 0.0555722415, -0.08539249, 0.0015084443, 0.0255543794, 0.0544222482, -0.0140313283, -0.0668790862, 0.0133639146, 0.0382212996, -0.0075238547, 0.0047124517, 0.0105417091, -0.0262422841, -0.0105975932, -0.0310489982, -0.0170412455, -0.0168926716, -0.0390473492, 0.0561357699, -0.0082887597, 0.0001549236, 0.0153650325, 0.0080401758, 0.0550790355, -0.0409049131, -0.0243217889, 0.0108833872, -0.0127154524, 0.0403203741, 0.0075482382, -0.0279161446, -0.0355682485, -0.0080670845, 0.0326382928, -0.0267323349, 0.0740994737, -0.0023193506, -0.031909842, -0.0205787513, -0.0204975698, -0.0170930475, -0.0976364538, 0.0306996293, 0.0374275371, 0.0689125434, 0.0012796557, 0.0078456448, -0.0629070029, -0.0170075595, -0.0408148691, 0.0155990338, -0.0255171955, -0.074510254, 0.0727349818, 0.0204351414, -0.035358917, -0.0064876112, 0.1030075848, 0.0799366236, 0.0501186103, -0.0065955655, -0.0243988298, -0.0111232474, 0.0054336716, 0.0029831885, 0.0142803863, -0.0323596559, 0.0446153283, -0.0756475776, -0.0653408319, -0.0110092396, -0.0192946978, -0.0017471995, -0.0065279291, 0.0437232591, 0.0669542402, 0.0089317774, -0.042223677, -0.0573061556, 0.0197596606, -0.0640254766, 0.0198990721, -0.0159659535, -6.413972519e-33, -0.0052856477, -0.0438223742, 0.0272056721, 0.0034693968, 0.0019576843, 0.0258653685, -0.0462322719, 0.0435605198, -0.0414340086, 0.0396511108, 0.0007260706, 0.0062904432, -0.0263509583, -0.0132368542, 0.0311668757, 0.0009613944, 0.0241101142, -0.0254324637, -0.0029518849, 0.027046131, 0.0409891419, 0.0161897503, 0.0473811626, -0.0286482535, 0.0026322133, 0.0048051961, 0.0413904041, 0.0475197211, -0.0237588752, 0.0728181973, -0.0330550447, 0.0427905396, 0.0482849553, -0.0071352879, 0.0091590034, 0.011997248, -0.0745023116, -0.017591387, 0.0200374313, -0.0173668843, -0.0247326922, -0.0364386365, 0.0184017401, 0.0212160479, 0.0105890073, -0.0352855176, 0.0341224335, -0.0059946985, -0.0336111784, -0.0568203032, -0.0530804358, 0.0228158459, 0.0160812382, -0.0006224905, 0.003195904, 0.020659266, 0.005848106, 0.0349961631, -0.0222322326, 0.0237934384, -0.0018627465, 0.0040387353, 0.038954217, 0.0141580449, 0.0099626174, 0.0720447972, 0.0260820705, 0.0543563776, -0.0062371511, -0.0073136929, 0.020687446, 0.0408538468, 0.0165454876, 0.0012651277, 0.0124999257, 0.0099308444, -0.07407327, 0.0227496251, -0.0296951197, 0.0172438771, 0.0301178861, 0.0369480923, -0.0335211307, -0.0394685231, -0.0593471453, 0.0552628264, -0.0529307947, -0.0211718623, 0.0295023024, -0.0087069673, 0.0355973169, -0.0296256486, 0.0226726383, -0.0526407845, -0.0418466888, 0.0150664793, 0.0063808104, 0.0352496728, -0.0232424345, 0.044688873, -0.095801875, -0.036030259, 0.0030761769, -0.0224192459, 0.0148670711, 0.0332322381, 0.0053790957, -0.0160707198, -0.0427587554, -0.0048849639, -0.0392524749, -0.0419420265, -0.0111784171, 0.0040425425, 0.040059112, 0.0172366165, 0.0151910298, 0.0454160608, 0.0662558079, -0.0095260153, -0.0419727564, 0.0208851919, -0.0073590474, -0.013736017, -0.011443398, 0.0023853383, -0.0361945964, -0.0075186859, 0.0344440453, -0.0029786804, -0.0315738656, -0.0407082103, 2.77e-7, 0.063820444, 0.051744163, -0.0383678861, 0.0296802223, 0.0421269648, 0.0301184282, -0.011664209, 0.0155199394, -0.0176756009, -0.0410417393, -0.0314444825, -0.008170479, 0.0356282853, 0.034809202, -0.0871374905, -0.0013374398, -0.0405580476, 0.0007991247, -0.0556266308, -0.0046067322, 0.0096057467, 0.0406220518, 0.0032423544, -0.0078263497, -0.0328879915, -0.0706738532, 0.0806454718, -0.0143678151, -0.0049701692, 0.0433854684, 0.0277779195, 0.0500009507, -0.0027264273, 0.0398743562, -0.0035200943, 0.0331721865, -0.0100976005, 0.0372088999, -0.0238421261, 0.0058031618, 0.0101179676, -0.0472205803, -0.0052092848, -0.1107469201, 0.0594917685, -0.0518846139, -0.0259257499, -0.0047460557, 0.0134113636, 0.0069421977, -0.0183552727, -0.0458350442, -0.0112581663, -0.0099679027, -0.018629035, -0.0068804794, 0.0005475429, -0.0661789551, 0.0147278402, 0.0439912863, -0.0617344268, -0.08401867, -0.0367874578, 0.0177550353, -0.0204085857, -0.0130052511, 0.0322198682, 2.549549213e-34, 0.0018275378, 0.0232606567, -0.0080071837, 0.0430754162, 0.0470091216, -0.027955737, -0.0169385206, -0.0083734747, -0.0047610109, -0.0978605375, 0.0120351743 ]
http://arxiv.org/abs/2406.11130v1
http://arxiv.org/pdf/2406.11130v1
Dynamic Order Template Prediction for Generative Aspect-Based Sentiment Analysis
2024-06-17T01:21:28
2024-06-17T01:21:28
Yonghyun Jun, Hwanhee Lee
cs.CL
cs.CL
Aspect-based sentiment analysis (ABSA) assesses sentiments towards specific aspects within texts, resulting in detailed sentiment tuples. Previous ABSA models often use static templates to predict all of the elements in the tuples, and these models often fail to accurately capture dependencies between elements. Multi-view prompting method improves the performance of ABSA by predicting tuples with various templates and then ensembling the results. However, this method suffers from inefficiencies and out-of-distribution errors. In this paper, we propose a Dynamic Order Template (DOT) method for ABSA, which dynamically generates necessary views for each instance based on instance-level entropy. Ensuring the diverse and relevant view generation, our proposed method improves F1-scores on ASQP and ACOS datasets while significantly reducing inference time.
[ 0.0320015475, 0.0591700822, 0.0217181463, 0.0090562841, 0.0116455033, 0.0366096981, 0.0018289024, -0.0185606834, -0.0122353714, -0.0377372093, -0.0182409026, -0.0466023386, -0.0105775222, 0.0470189787, -0.012933461, -0.0459608361, 0.0144299185, 0.0130758742, 0.005996109, -0.0261247512, -0.0054125343, 0.0352592915, -0.0008692265, -0.0221476611, -0.0119968634, -0.037909586, -0.0030486064, 0.0365043841, 0.0570683628, -0.0138654374, -0.0145526435, 0.04432109, -0.0263900589, -0.0330341458, 0.0000023051, 0.0045318413, -0.0356142148, 0.0128096109, 0.0651305914, 0.008181137, 0.0833561942, -0.0071431231, 0.0288068112, 0.037707936, -0.0603258349, -0.0287428256, 0.0123424856, 0.1016205326, 0.0439784713, 0.0589068644, -0.0338982828, -0.0376443975, -0.003510325, -0.035768684, 0.0052195583, -0.0210832432, -0.0065101371, -0.0683867484, -0.047307495, 0.0459141694, 0.0187876485, 0.0088528385, 0.0327730589, 0.00966202, -0.0050631799, 0.0098118288, 0.0573715344, 0.0211444106, -0.0189069025, 0.0275798962, 0.0285974555, 0.000192818, -0.0019718949, -0.0330513529, -0.005367938, 0.0577614829, -0.0076795123, -0.0114658941, -0.0122431312, 0.0522502512, 0.0575184189, 0.0517134219, -0.0145523036, 0.0007894112, -0.0059817187, -0.0099331252, -0.0079580834, -0.0379393362, -0.022035256, 0.0590591282, 0.0094437972, -0.0240254197, -0.0219999738, -0.0547639243, -0.0087280404, 0.0230900217, 0.0075509544, 0.0329700597, 0.0013341582, -0.0676504597, 0.0255722497, -0.0069827982, -0.0039483616, -0.0110843303, 0.0226880796, -0.0189420283, 0.0154954698, -0.0432022698, -0.0412204824, 0.0465234444, -0.0525593907, -0.0042656492, 0.0421347469, 0.0492655449, -0.0446727872, -0.0121805165, -0.0696729124, 0.0117309168, -0.0269085094, -0.0112925023, 0.0407793596, 0.0202335529, 0.0238660164, 0.026807189, 0.0026712292, 0.0043007289, -0.0349176861, 0.0180474166, -0.0371079817, 0.0187794045, 0.0099465614, 0.0108435825, -0.0052536731, 0.0017422168, -0.0158415865, 0.0035703031, 0.0334872827, -0.052989617, 0.0118582388, -0.0220696069, 0.0048421919, -0.0300814062, -0.004274697, -0.0630878136, 0.0032778829, 0.019864345, 0.0079398928, -2.563e-7, 0.0142040532, 0.0122192185, -0.0328374244, 0.015153829, 0.005445431, -0.0214354414, -0.0779623911, 0.0102794142, 0.1055106893, 0.046017129, -0.0355954915, 0.0403164439, 0.0116422353, 0.015062659, 0.0044994876, -0.0161161479, -0.0169752315, 0.0489543267, -0.0304366685, -0.0142773399, -0.0455292873, -0.0570860244, 0.0103450529, 0.018950548, 0.0100226821, -0.0420972407, 0.0031829388, -0.0498056561, -0.0178548414, 0.0682594255, 0.0000171969, 0.0012131059, -0.0185272302, 0.0228102487, 0.0183864664, 0.0223240219, 0.0007243908, -0.0190566313, 0.0627677515, 0.0207401272, -0.017237857, -0.0669355616, -0.0172329433, 0.0034305286, -0.0536760539, 0.0119721806, 0.0172847677, 0.0191729255, -0.0303265359, -0.0230183229, 0.0645005777, -0.0413260274, -0.066465348, 0.0082507506, 0.0345660672, 0.0925473496, 0.026477607, -0.0278790183, -0.0452376902, 0.0018337576, -0.0936692357, 0.0129302451, 0.0148580279, -0.0123313013, 0.0125741586, -0.0129040862, -0.0052882833, 0.0048032305, 0.0086774714, 0.0390872397, -0.0256337468, 0.0290906392, -0.0086188009, 0.0056672441, -0.0238318276, -0.0159265567, 0.010227439, -0.0024491735, 0.066155076, 0.0039134547, 0.049230881, 0.0906898975, -0.0212936755, -0.0086600855, 0.0512227491, -0.062284831, -0.0495537221, 0.0512191541, -0.0536390617, -0.0744305253, -0.0323315077, -0.0101476489, -0.0139058847, -0.0396575108, -0.0444582365, -0.0181645993, -0.0074856458, 0.0141351409, 0.0220664069, -0.0218424462, -0.0280750263, 0.0506654605, 0.0095011797, -0.0131353606, 0.0803803802, -0.0582373254, 0.0314443335, 0.0198199246, -0.0459100939, 0.013508358, 0.0189051796, -0.0002419429, -0.0067840307, 0.0039282972, -0.0113189667, 0.0294216499, 0.0216813292, 0.0013760566, -0.0272525642, -0.0983215868, -0.0373384766, 0.0121864304, -0.0025016423, 0.0296106543, -0.0088426266, -0.00628606, 0.0203340258, -0.0442851447, -0.0078179324, -0.0167956501, 0.0257203002, -0.0083098458, 0.0096356878, 0.0276788771, 0.0042197546, -0.0084169684, -0.0348666981, 0.0585171208, 0.0289650708, -0.0008425847, -0.0410622843, 0.0722801238, -0.0287767835, 0.0008237538, 0.0020317789, -0.0264103021, -0.0227344912, -0.0313793868, 0.0229042508, 0.0055996277, 0.0286471099, 0.037064597, 0.0419014879, 0.0143824676, -0.0227189697, 0.0212956984, -0.068231523, 0.0707969815, 0.0155537548, -0.0658558533, 0.0048404112, 0.0379341356, 0.0270102881, -0.0155429626, -0.0694167316, 0.0184242371, -0.0219787881, -0.018097166, -0.0237352848, 0.0302540716, 0.0112093771, 0.0361362919, 0.0354127623, -0.0157333929, 0.0357727036, 0.0081667611, 0.03589027, -0.055897627, 0.0411560871, -0.0385472476, 0.0472422242, 0.0071452758, 0.0323071927, 0.0092899948, 0.0420253091, -0.0091255084, -0.0042979727, -0.0217769258, -0.0092912484, 0.0148425838, 0.0322401151, 0.0052534975, 0.0278367493, -0.0710032061, -0.0002567325, -0.0463482179, 0.0192875303, 0.0103501724, 0.0087946476, -0.0295971017, 0.0029995861, -0.0163390078, -0.0204207245, -0.024178192, -0.0040127211, -0.0489034615, 0.0205684546, 0.0658086762, 0.0575385094, -0.0797237903, 0.013059604, -0.0326607376, 0.0044282638, 0.0539812669, 0.0277978182, 0.0171893854, -0.0084380107, -0.030511437, 0.0510215349, 0.0491864309, -0.0332542732, -0.0448183082, 0.0402748324, -0.0194015075, -0.0134230126, 0.1039066315, 0.0409713611, -0.0658715218, -0.0010284174, 0.0095734177, 0.0573412403, 0.0488086902, 0.0232889373, -0.0748173669, 0.001561468, -0.0310589131, 0.057212539, -0.0153534971, -0.0128252879, 0.0195008982, -0.1008359492, 0.0230690613, -0.0376636311, 0.0068616197, -0.0285268929, -0.063886039, 0.0212335028, -0.0190534759, -0.0719324052, -0.0346256532, -0.0078152455, 0.0285068806, 0.022989355, -0.0294167306, -0.0088474806, 0.0357104726, 0.0316192172, 0.0133024352, 0.0408662446, 0.0408794992, -0.025860915, -0.0185045768, -0.0303732734, -0.035409756, 0.0260092933, -0.0437408537, 0.049421601, -0.0373340808, -0.010944088, -0.0108352378, 0.0155461077, -0.0518237315, 0.0075753145, -0.0230790395, 0.0274337083, -0.0073560826, -0.0133224996, -0.0354145691, 0.0000909046, 0.0133754881, 0.0400162265, -0.0033218449, -0.0640170127, -0.0064434116, -0.0147146564, 0.0136862863, -0.0438326262, -0.0149265621, -0.027098719, -0.0306536164, -0.0888505131, -0.1040517613, -0.0248050746, -0.0241960399, 0.0825664178, -0.022929281, -0.0021561235, -0.0062712301, -0.0129678994, -0.0323602445, -0.0217212457, 0.0521272868, 0.001382291, -0.0109851323, -0.0544051751, 0.0888042822, -0.0351453796, -0.0427781604, 0.0053984048, -0.0166549347, -0.0469057709, 0.0206937883, 0.0467075519, 0.0062787379, 0.0106872497, 0.0060187592, 0.0387527496, 0.0698773488, 0.0930439383, 0.0093264999, 0.0056602419, 0.0516864173, 0.0420323126, 0.0232194401, 0.0256233104, 0.0001466737, 0.041648183, 0.0092577413, -0.0286892559, -0.0298182238, -0.055486884, -0.0001118651, 0.0038204512, 0.0465804525, 0.0051705418, -0.0509203859, -0.0337370746, 0.0093546947, -0.0211517774, -0.0282052085, -0.0399656817, 0.0510517694, -0.0051254383, 0.0024826708, -0.0765253231, 0.0421654582, -0.0067027034, 0.0391420349, -0.0879963487, 0.0456179231, -0.0064695165, -0.019261077, -0.0192515831, -0.0094570965, 0.0007534274, -0.0170811899, -0.0072612776, 0.0077180867, -0.0163922478, 0.0611687377, 0.0221953392, 0.0427399427, -0.0198376887, 0.0413858071, -0.0294710174, 0.0094084935, -0.0457960255, -0.0005760907, -0.0327173136, -0.0140937483, 0.0611763149, -0.043738123, 0.0234600734, 0.0113841193, 0.0305065345, -0.001909375, -0.0084914351, 0.0299623366, 0.0195365213, -0.0098032281, -0.0284466427, 0.079425633, -0.0949473158, 0.0497743152, 0.0457821749, -0.0071984264, -0.0426215231, 0.0004355355, 0.0290167052, -0.0027017694, 0.0227643345, 0.0515409969, -0.0523975119, -0.0422877632, 0.0092966501, -0.0411803573, 0.0402440615, -0.0043010945, 0.0175022092, 0.0500503816, 0.0456746407, 0.0611631721, -0.0715290233, -0.0376102142, -0.0290606655, -0.0515404195, 0.0153556718, -7.501700788e-33, -0.0065354668, -0.0063352971, -0.0545034111, -0.0107771121, -0.0160826109, 0.0240284298, 0.0107328817, 0.0257720817, 0.0427588038, 0.0216434505, -0.0041484558, 0.0246099811, -0.0048949714, 0.0380958244, 0.0499160029, 0.0088018635, 0.03374945, -0.0101275202, 0.005011606, 0.0669454336, 0.0959486663, -0.0094903149, 0.0218195673, -0.0979247466, 0.0185993984, 0.0120613752, -0.0401332974, -0.010119807, -0.0085871276, 0.0136768296, -0.0069206073, 0.0105579467, 0.0485723354, -0.0373197608, 0.0114063742, -0.0174000487, -0.0067256088, -0.0548077859, 0.0182445496, -0.0260374714, -0.027471967, -0.0242700018, -0.0219697896, 0.017389698, -0.0009844161, -0.032767415, -0.0027062998, -0.0155008202, 0.0044126944, -0.1557810158, 0.0065062237, 0.0386439823, -0.0129738236, -0.0297494177, -0.0091867484, 0.0556378849, 0.0119284661, 0.0062714941, -0.0052636131, 0.0470953658, 0.012936363, 0.0396996811, -0.0208297968, -0.0420085452, 0.0259070843, 0.0383099653, -0.0101706823, -0.0099943234, -0.027668925, 0.0119648958, -0.0279182792, 0.0429019779, -0.0132751325, 0.0118773011, 0.0393741131, -0.0152517362, -0.0274228081, 0.0483043827, 0.0568186454, -0.0196878593, 0.0958918855, -0.0108883306, -0.0424793474, -0.0291149449, 0.0092481924, -0.0319021009, -0.0294210203, -0.0081721097, -0.0037593977, 0.0353099331, -0.0656312257, 0.0000075036, -0.0164374784, -0.0297568589, -0.0137386303, 0.0487760529, -0.0561694652, 0.0316289701, -0.0008510901, -0.0165509842, -0.0523554049, -0.0113082854, -0.0050126244, 0.0158220567, -0.0120022148, -0.0009081283, 0.0659658685, -0.0023265977, -0.0986714661, -0.0282119401, 0.0070627066, 0.0439853035, -0.0132399704, 0.0253512356, 0.0189158134, -0.0019225277, -0.0045572324, 0.0686328784, 0.0165045857, 0.0420216173, -0.0262955502, 0.0550018549, -0.0096579669, 0.0263566524, -0.004578732, -0.0298516843, 0.0231239591, -0.0682885721, 0.0009474813, -0.0284083076, -0.0488614403, 0.039371267, 3.072e-7, 0.0223528054, 0.0682955235, -0.0195488073, 0.0498833656, 0.0261654854, 0.0603805557, 0.0240750164, 0.0269530881, -0.0001374964, 0.0085011534, 0.0386498272, 0.0011021834, 0.0137605099, 0.0375015959, -0.0564454459, 0.0611250289, -0.0234960467, -0.021959031, -0.0120509798, -0.0165021922, 0.0494896844, 0.0640740767, -0.0095673995, -0.0001553098, 0.0263432451, 0.089772746, 0.0312217921, -0.0086325901, -0.0096706823, -0.0313399136, -0.0114572784, -0.0416377485, 0.0066868393, -0.0364946425, -0.0073801395, -0.0045287204, -0.0161094069, 0.0136281336, 0.0252561439, -0.0662209317, 0.059257891, 0.0076882523, 0.013192445, -0.0460692644, 0.0459713042, -0.0300421715, -0.0436489433, -0.0702796057, -0.0319954678, 0.0641359985, -0.0018659583, 0.0306507815, -0.0263675153, 0.0576739684, -0.0332197696, -0.0577756874, -0.0296442099, -0.0375197493, -0.0103020286, -0.0019638366, 0.0024041117, -0.005197865, 0.0253272709, 0.0123147005, -0.0324248597, -0.0513041131, -0.0125248563, 3.004278871e-34, 0.07913398, 0.0164772216, -0.0340109132, 0.0396457426, 0.0129688522, -0.040006008, -0.0788940266, -0.0034645144, 0.0297080483, -0.0543040112, -0.0076767225 ]
http://arxiv.org/abs/2406.11116v1
http://arxiv.org/pdf/2406.11116v1
Grammaticality Representation in ChatGPT as Compared to Linguists and Laypeople
2024-06-17T00:23:16
2024-06-17T00:23:16
Zhuang Qiu, Xufeng Duan, Zhenguang G. Cai
cs.CL
cs.CL
Large language models (LLMs) have demonstrated exceptional performance across various linguistic tasks. However, it remains uncertain whether LLMs have developed human-like fine-grained grammatical intuition. This preregistered study (https://osf.io/t5nes) presents the first large-scale investigation of ChatGPT's grammatical intuition, building upon a previous study that collected laypeople's grammatical judgments on 148 linguistic phenomena that linguists judged to be grammatical, ungrammatical, or marginally grammatical (Sprouse, Schutze, & Almeida, 2013). Our primary focus was to compare ChatGPT with both laypeople and linguists in the judgement of these linguistic constructions. In Experiment 1, ChatGPT assigned ratings to sentences based on a given reference sentence. Experiment 2 involved rating sentences on a 7-point scale, and Experiment 3 asked ChatGPT to choose the more grammatical sentence from a pair. Overall, our findings demonstrate convergence rates ranging from 73% to 95% between ChatGPT and linguists, with an overall point-estimate of 89%. Significant correlations were also found between ChatGPT and laypeople across all tasks, though the correlation strength varied by task. We attribute these results to the psychometric nature of the judgment tasks and the differences in language processing styles between humans and LLMs.
[ 0.0368558392, 0.0483690761, -0.0464588217, 0.0141807673, -0.0678511634, 0.0302267447, -0.0110419011, -0.0049971729, 0.0258445982, -0.0353112295, -0.0819600895, -0.0252642557, -0.0013523824, -0.0066709169, 0.0580031201, -0.0294063427, 0.0180690028, -0.0067561604, 0.0296924543, -0.002564409, 0.0185954385, 0.0193548109, -0.0162321143, 0.0568594523, 0.0003886153, -0.0387705155, 0.0123123135, -0.0318936892, -0.0085249376, -0.0140733076, 0.0269261058, 0.0470210984, -0.0106897885, 0.0371873789, 0.0000020433, -0.0464125089, 0.0738114044, -0.0233943127, -0.0082541471, 0.0826641545, 0.0465278327, 0.0329651237, -0.0210969448, -0.0208968017, -0.0525299907, -0.0001814409, 0.0186129157, 0.0488847643, 0.0039156107, 0.0352089256, -0.0127224866, -0.0275255963, 0.0163024012, -0.0141183715, 0.0009004861, -0.0192627646, 0.0023681256, 0.0200624242, -0.0046190582, 0.005774084, -0.0059604621, 0.02272496, 0.0332600921, -0.0026694322, -0.0361071676, 0.0481069088, -0.0583310537, -0.0448272303, 0.0057586511, 0.0238579493, 0.0293786861, -0.0344055146, -0.0141025083, 0.0081236903, 0.0233562514, 0.0055823415, -0.0624444, 0.0393448286, 0.0024410696, 0.0337234139, 0.0303086359, -0.033097811, -0.0032250602, 0.0316951089, 0.0238969363, 0.0632957295, 0.0002314394, -0.0154908216, 0.0232592039, 0.0469890535, -0.0708289072, -0.0716144666, 0.0001342557, -0.0260849018, -0.0336329378, -0.004866702, 0.0107794553, 0.0095723644, 0.0084655667, -0.0569131598, 0.0243800581, 0.0299695674, -0.0403968319, 0.0322317891, -0.0110430755, 0.0491042659, -0.003371797, 0.0408464707, -0.0150464736, 0.0218766425, -0.0724877268, -0.0326407291, 0.0049811099, 0.0050207903, 0.0008872838, -0.0068463595, -0.0686219856, -0.0115846284, -0.0082810903, -0.0529960096, 0.0089367367, 0.0320626274, 0.0051807784, 0.0166292153, -0.0459434725, 0.0192528088, -0.0390623547, 0.0491857454, -0.0071993023, -0.0765632465, 0.0049417554, 0.028144639, -0.0203352086, -0.031936083, -0.0280946009, 0.0069498266, -0.0128934719, -0.0159977097, 0.0155288754, -0.0298290662, -0.0403077826, -0.0517480783, -0.010582448, -0.0396781191, -0.0067607816, 0.0440861993, -0.0153450966, -0.014436313, -0.0157888178, 0.0197543725, -0.0232422072, 0.0203501321, 0.0434549414, 0.0504840463, -0.0236842427, -0.0062473896, -0.0216386318, 0.0326479003, 0.0297183655, -0.0058095334, -0.0049949042, -0.0171050411, -0.0270832945, 0.0245033484, -0.0627559498, -0.0291916914, -0.0198304616, -0.0039056917, -0.0242633969, 0.0371395387, 0.0382164866, 0.0860612988, -0.0349711627, -0.0004253592, 0.0932921246, 0.0529330187, 0.0206701513, 0.0684326291, 0.0470213518, 0.0362684391, 0.0353184454, 0.0381049663, -0.053093534, 0.0300250538, -0.0397289768, -0.0202311743, -0.012453625, 0.0386305749, -0.0059780972, -0.0272556301, -0.0210372545, 0.0206935387, 0.0109858019, -0.0355625153, 0.0101108328, -0.0006083496, 0.0040843268, 0.0170199648, 0.0421894714, -0.047198303, -0.010882807, -0.0624250099, 0.0160928927, 0.0215813797, -0.0012872287, 0.047628928, 0.0020801178, 0.0284000821, 0.0085360389, 0.0372873358, 0.0504467413, 0.0213178564, -0.0292394869, -0.006929419, 0.0218523722, -0.0246849116, 0.0208445154, -0.0170628726, -0.0234255996, 0.0243761167, -0.007118274, -0.0436278582, -0.0106318407, 0.0187948737, -0.0299055763, 0.0137531944, -0.046230223, -0.0137024028, 0.0179638881, -0.0196122844, 0.0021279887, 0.0455618612, 0.0028285924, -0.008572788, -0.0149624432, 0.0552493706, -0.0627438277, -0.0464828052, 0.0122914743, -0.018607093, -0.0364410579, 0.022919368, 0.0174018629, -0.0152404271, 0.0317084417, -0.0594398044, 0.0463397689, -0.0494023599, 0.0088302642, -0.0151238889, 0.0229847524, -0.0367822237, 0.0502665453, 0.0274504181, 0.0301521607, -0.0215741638, -0.0152380811, 0.0158686303, -0.0045358352, -0.0326916091, -0.0105166389, 0.0099145267, 0.004415377, 0.0213679262, 0.0277000275, -0.0660199896, -0.040399041, -0.1226564795, -0.0126409512, 0.0132265408, 0.0241809562, 0.0292752143, -0.0450903289, -0.01608257, 0.0281953737, -0.0263437722, 0.0229310282, -0.0035822231, 0.0382969044, 0.0459762588, -0.0459333733, -0.0066363271, -0.0197095815, 0.0114840027, -0.0411937647, 0.0122978725, 0.0298982915, 0.0094832238, -0.0144467615, 0.0405243821, -0.0464784503, -0.0387883298, 0.0232690182, -0.0893100947, 0.0428174324, 0.0148534384, 0.0552416071, 0.0625544712, 0.0013532909, 0.033908084, 0.0495194234, -0.0184812117, -0.0380753428, -0.0287340768, -0.0238857735, -0.0253716409, -0.029829992, -0.0285651535, -0.0253960676, 0.0911510363, 0.033936955, -0.0067062806, -0.0353337936, 0.0648247972, -0.0537653752, -0.0020164144, -0.0051841871, 0.0088102333, -0.0515275113, 0.0545894094, -0.0059123021, -0.0288175233, 0.074552618, 0.014087799, -0.0417228453, -0.0270903241, -0.0003473739, -0.0340390615, 0.0693796203, 0.0028021038, -0.0080429949, 0.0105115743, -0.0229791682, -0.0744884014, 0.0094079915, 0.0178352688, 0.0002751688, 0.0040961937, -0.0491803102, -0.0201065354, 0.0135753844, -0.0494733378, -0.0062528793, -0.0485381447, -0.0620255172, 0.0043893042, 0.0399738364, 0.0043841368, -0.0004964719, -0.0150494352, 0.0338536724, -0.0131689925, -0.0363668837, -0.005014244, -0.0192153454, 0.0283708833, 0.0355504379, 0.0192599278, 0.0198977273, -0.010739848, -0.0012678839, 0.0902790427, -0.0385450833, 0.057085529, -0.0226497389, 0.0253286213, 0.0280544516, 0.0440608785, -0.0782544091, 0.0165184624, 0.0690297037, -0.0395692475, 0.0084999204, 0.1152096689, 0.0313580781, -0.0296584647, 0.0445024036, -0.0420150496, 0.0468446799, 0.0072081732, -0.0166971292, -0.0373790227, -0.0348510854, 0.0181086101, -0.0491918772, -0.0354904048, -0.0236253385, 0.0072696381, -0.0910963342, 0.043659661, 0.0088634398, 0.0075723082, 0.0375134498, -0.026221253, 0.0356527902, 0.0061929808, 0.0410943814, 0.0292323735, -0.0131592797, 0.0256586317, 0.0282056425, -0.0629903227, -0.0510959551, 0.0556949191, -0.027141558, 0.047724206, 0.0236826763, 0.0513785295, -0.0293632988, -0.0522428863, 0.0736109093, 0.0282698814, 0.0253714155, 0.008482933, -0.0005941419, 0.0244079232, -0.0071251132, -0.0908201858, 0.0220025089, -0.031699378, -0.01519226, -0.0023133592, 0.101793088, -0.0095056817, -0.0518498309, 0.0081789857, 0.0372995101, -0.0360987559, 0.0760549679, 0.0619780123, -0.0710867867, -0.0241176132, -0.0011426281, -0.0016842668, 0.0222436003, -0.0786901414, 0.044719968, 0.0347907059, -0.0512608215, -0.0662643462, -0.0532416999, 0.0210744236, -0.0427726209, -0.0073298742, -0.0203865729, 0.01710218, -0.0237299558, 0.0231175758, 0.0488778017, 0.0063251369, -0.001847778, -0.0558581427, 0.0059325565, 0.0495579727, -0.0117318453, -0.0375420898, 0.002683728, -0.0373633318, -0.0588261038, 0.036638923, -0.0028331934, 0.0162351578, -0.0353427865, 0.0092346715, -0.0614489503, -0.0440852307, 0.0643655881, -0.0694601163, 0.0602144375, -0.0085611856, 0.0133240828, 0.0479802601, 0.0541021228, 0.0203002449, 0.0376712903, 0.0310164299, 0.0371615775, 0.0002545416, -0.032397639, 0.0530759282, 0.0397410877, 0.0678374916, -0.0034721051, 0.0147624025, -0.0281849056, -0.0524615385, -0.026580127, -0.0018775163, -0.0413439423, -0.0401118211, 0.0390302241, 0.0346927196, -0.0362247825, -0.0261441488, -0.0284591578, 0.0387915038, -0.0079005603, -0.0024082775, -0.0172479246, -0.0076360134, 0.0168666467, 0.0147895617, -0.0197552163, -0.0204585716, -0.0527071506, 0.0083846403, -0.0141973086, 0.0400454104, 0.0234418437, 0.0045122369, 0.0054705804, -0.0030911753, -0.028844839, -0.0348700956, 0.052983474, -0.0045497809, 0.0464547351, -0.0287997108, 0.0672710314, -0.0634222254, 0.0045831916, -0.0421649851, 0.0367211811, -0.0300208107, -0.0059385565, 0.01617085, 0.002292183, -0.0413559899, -0.0314903483, 0.0591803715, -0.0251647867, -0.0186053477, 0.0169094708, -0.0401647761, -0.0068492065, -0.0259282496, -0.013337383, -0.0280738454, 0.0079662856, 0.0401185825, -0.072618708, -0.0655112267, -0.0507373437, 0.0041191885, 0.0020968369, -0.0548623838, 0.0190034583, 0.0685689226, -0.0329434201, -0.0287868828, -0.0184833743, 0.003344621, 0.002079583, 0.001639209, -0.0533929653, -6.469928988e-33, -0.0093518207, -0.0097734332, -0.0069771912, 0.0102957459, -0.0283539128, -0.0272395331, -0.0470676683, 0.0577485152, -0.0005135676, 0.0655640885, -0.0329288244, 0.0081106387, 0.0069077741, 0.0051899096, 0.0540313981, 0.0073141968, 0.0014736337, -0.0230798051, 0.0065092309, -0.0184135437, 0.0138559183, -0.0045159506, 0.0872603804, -0.0538007431, 0.0220833458, 0.0023239909, 0.0173168071, -0.0051367432, -0.0438945517, 0.0401423126, -0.0096190246, 0.056720756, 0.0416571312, 0.0158730987, -0.0071980692, 0.015836332, 0.0045000864, -0.046088282, 0.0725750998, 0.0261064209, -0.0208165403, -0.0279740486, 0.0306158941, -0.0383671299, -0.0542813726, 0.006316823, 0.037597198, -0.0077669271, 0.0221218355, 0.0306110866, -0.0312846452, 0.0058625792, -0.0184942018, -0.0191097427, -0.0090250485, 0.0068957293, -0.0613902695, -0.0392663367, -0.0312891752, 0.0123826247, -0.0067321043, 0.0362229645, 0.0370896868, -0.0296586938, 0.029049525, 0.0765083358, 0.0536591224, 0.0166724194, -0.0475630015, 0.0056694201, 0.0536728948, 0.0297515392, 0.0074186237, 0.0282836948, 0.0223506559, -0.0149082923, -0.0344393738, -0.0475441851, 0.0584770329, 0.0431283712, 0.0490832776, 0.0226266868, -0.0113023911, -0.0523071624, -0.0215438493, -0.019520659, -0.0352090783, -0.040838629, 0.032015916, -0.0593559295, 0.0378208309, -0.0525256097, 0.0091025252, -0.0148894228, -0.0130058639, -0.0236307178, -0.0703245029, 0.0413362421, 0.0133770742, 0.0508232564, -0.0571616814, -0.0010971283, -0.0203256309, 0.029040968, 0.0328551084, 0.0328490026, 0.0229871497, -0.0037314203, -0.0139301261, -0.0155781489, -0.0480326749, -0.0383626521, -0.0032201693, -0.0287995674, 0.0449342206, 0.0189066939, -0.0259507596, -0.0102239819, -0.0136986431, 0.0014757385, -0.0599364042, -0.0110694226, -0.0217175316, 0.0139788585, -0.0207431801, -0.0224022828, -0.030836679, -0.0193017535, 0.0637406185, -0.0136049474, -0.0237599164, -0.0018501639, 2.865e-7, 0.0425515547, 0.0819049329, -0.0440101922, 0.0099215554, 0.043301709, 0.0248944983, -0.0252322536, -0.000388559, 0.0394749194, -0.0057122526, -0.0212366972, 0.0298768841, 0.0536966883, 0.0134894941, -0.083183907, 0.0203687232, -0.0784252733, 0.000873189, -0.0102155907, 0.0106321964, 0.0678770244, 0.032127995, 0.0273920391, 0.0039481129, -0.0156617425, -0.0503873937, 0.0691324025, -0.0466262437, -0.0264438298, 0.0146143399, 0.0213958416, -0.0038167511, 0.0414462909, 0.0484542102, 0.0394559279, -0.0216089655, 0.026145963, 0.0664231926, 0.0086995512, 0.0429367572, 0.0046713464, 0.0021917468, -0.0067242975, -0.0842146352, 0.0666114986, -0.1057453752, -0.0713970438, 0.0193327256, -0.0060948394, -0.0343759134, 0.0263032243, -0.0004107344, -0.0379804336, 0.0180427916, 0.0399334915, -0.0178935565, -0.0215176195, -0.0377188399, -0.0262549017, 0.03194521, -0.0454577319, -0.0583228245, -0.0248389281, 0.0137397088, 0.0214681514, -0.0352110751, -0.0121209882, 2.416326673e-34, 0.0237552766, 0.0106579568, 0.0753913298, -0.0149653135, 0.0613017939, 0.0206118673, 0.0602786876, 0.0257261936, 0.0232264437, -0.0493580624, -0.0204212349 ]
http://arxiv.org/abs/2406.11115v1
http://arxiv.org/pdf/2406.11115v1
Text Grafting: Near-Distribution Weak Supervision for Minority Classes in Text Classification
2024-06-17T00:23:08
2024-06-17T00:23:08
Letian Peng, Yi Gu, Chengyu Dong, Zihan Wang, Jingbo Shang
cs.CL
cs.CL
For extremely weak-supervised text classification, pioneer research generates pseudo labels by mining texts similar to the class names from the raw corpus, which may end up with very limited or even no samples for the minority classes. Recent works have started to generate the relevant texts by prompting LLMs using the class names or definitions; however, there is a high risk that LLMs cannot generate in-distribution (i.e., similar to the corpus where the text classifier will be applied) data, leading to ungeneralizable classifiers. In this paper, we combine the advantages of these two approaches and propose to bridge the gap via a novel framework, \emph{text grafting}, which aims to obtain clean and near-distribution weak supervision for minority classes. Specifically, we first use LLM-based logits to mine masked templates from the raw corpus, which have a high potential for data synthesis into the target minority class. Then, the templates are filled by state-of-the-art LLMs to synthesize near-distribution texts falling into minority classes. Text grafting shows significant improvement over direct mining or synthesis on minority classes. We also use analysis and case studies to comprehend the property of text grafting.
[ 0.0267965198, 0.0111423247, 0.0107901376, 0.0172315259, -0.0179574359, 0.0213913415, -0.0010796516, 0.0511072241, 0.0184785146, -0.0429265685, -0.019011436, -0.0304050092, -0.0370286591, -0.0182468779, 0.0043617701, -0.0192555208, -0.0224265363, 0.0000356548, -0.0434163064, -0.0063535324, -0.0135301417, 0.0034082395, 0.0381217822, -0.0032990507, -0.0098683927, 0.0006499882, 0.0140578812, -0.006513597, 0.0094557665, 0.0047182725, 0.049742125, 0.0090969829, -0.0119792586, 0.0323361456, 0.0000018775, -0.0398529544, -0.0452517197, 0.0078813415, -0.0056926813, -0.0284429733, 0.0615770891, -0.047055319, 0.0038518133, 0.0187103264, -0.0289407913, -0.006406696, 0.016018739, 0.0784511194, 0.0341969281, 0.0434775278, -0.0121830208, -0.0031383778, -0.0320407897, -0.0024653478, 0.0496688299, 0.0007528214, 0.0389573872, -0.0102640055, 0.0090580117, 0.0187474433, 0.0125904083, 0.0257740058, 0.0219284091, -0.0067195999, 0.0351966135, 0.0458943434, -0.0822524875, -0.0059199263, 0.019509092, 0.0351475216, -0.0336877406, -0.0625816062, 0.0371374674, -0.0168290883, 0.0250292066, -0.0035235302, -0.0209134649, 0.0309313741, -0.0181753114, 0.0488280877, 0.0349983461, 0.0178558212, 0.0229926463, 0.0057072667, 0.0115481326, 0.0094303731, -0.0189597346, -0.0381453149, -0.004438126, 0.0367982276, -0.0490355603, -0.0047979145, 0.0034275081, 0.0079794032, 0.043151591, -0.0043782177, -0.0676578358, -0.0506931245, 0.038960956, 0.0072408132, -0.0129629131, -0.0097988835, -0.040875379, 0.0455879457, -0.0441909693, -0.0685526729, 0.0203790683, 0.0606250018, -0.0162430592, -0.0345087014, -0.050285928, -0.0136175221, 0.0029994459, 0.0632268861, -0.0101336939, 0.0560806617, -0.0418023169, 0.0184490215, -0.0207010917, 0.0067836088, -0.0055745174, -0.005703507, -0.0399611965, 0.0246913172, 0.0011917338, -0.0622945651, 0.0139329517, 0.0206658579, -0.0385557003, -0.0101086712, -0.0010766231, 0.0668257847, 0.0147227105, -0.0362289101, 0.0284515973, 0.0226714443, -0.0258827228, -0.0679096058, -0.0912119895, -0.0167063531, -0.0455230996, -0.0147954989, -0.0061133276, -0.0517570078, -0.0169993732, -0.0055724005, 0.0082463631, 0.0107532497, 0.0005737809, -0.0059246067, -0.0156292897, 0.0669970065, -0.0204603747, -0.0127133736, 0.0237058811, 0.0297837574, 0.0064803911, 0.037846107, -0.0068250564, 0.0181862358, 0.0384262577, -0.0089006824, 0.0633242577, 0.0192276333, 0.0268270597, 0.0430616923, -0.0103900423, -0.0382712781, 0.03730556, -0.0599150322, 0.0282004513, 0.0075359247, 0.01251511, -0.025925722, 0.0372611843, 0.0063103852, 0.0154252807, 0.0291800201, 0.0024072274, -0.0017648791, -0.0320416018, 0.0305520184, 0.0062046181, -0.0172215365, -0.0431209467, -0.0263157357, -0.0312626734, 0.0229738653, -0.0297026429, -0.0598452911, -0.0088085635, -0.0119001651, -0.0215713549, -0.011439885, 0.0785684884, 0.0356726237, 0.0256321244, 0.0157449879, 0.0416547507, -0.0164345168, 0.0270856712, -0.0420617498, 0.0173315201, -0.0163385086, 0.0229127891, -0.104300037, 0.0050766743, -0.0078095724, 0.02232714, 0.0264655724, -0.0164509416, -0.0057078991, 0.0077051884, -0.0664775893, -0.028690435, 0.0250359103, 0.0317004733, 0.0188471992, -0.0338837728, 0.0092730178, 0.0240340084, -0.0662181601, -0.0444812924, 0.0682830587, 0.0196348391, -0.0361181051, 0.0540640168, 0.0231775306, 0.0122888759, 0.0086621791, -0.0180021394, -0.0355061255, 0.036551211, -0.0400597714, -0.0908729434, -0.0334727429, -0.0047914488, -0.047129903, 0.0227351971, -0.0687422752, -0.0084601259, 0.0131223258, -0.0345583297, -0.0532312728, -0.00229895, 0.0016181117, 0.0514067151, -0.049340006, 0.0257558804, 0.0247660484, 0.0036795321, -0.058683116, 0.0809360296, 0.0199401509, 0.0555725135, 0.0197910834, -0.0687298253, 0.0223860685, 0.0019115261, 0.0073512155, 0.0234094299, -0.0300161112, 0.0351780877, 0.0402848162, 0.0362544581, -0.0099862516, -0.0549392067, -0.0329837911, -0.0121791419, -0.0280466545, 0.0108649274, 0.0248978641, -0.0003119691, -0.013712625, -0.0027975535, -0.0353766903, -0.0589862317, -0.0265421439, -0.0099443449, 0.0383320302, 0.0071493103, 0.0190892331, 0.0493298434, 0.0169116165, 0.0109076435, 0.0224335827, 0.0059897504, -0.0259403121, -0.0558654815, 0.0494798906, 0.019919727, 0.0029458257, -0.0134207839, -0.0003808342, -0.0202030595, 0.0035181148, 0.0288589709, -0.006328796, -0.0019247491, 0.0065705436, 0.0563088544, 0.0245594624, -0.0404892676, -0.0110674184, -0.0244566221, 0.0113164354, 0.0064292788, -0.0262009799, 0.0180391669, 0.0194285475, 0.0171096418, -0.0466883555, -0.0527072512, -0.0392354429, -0.009111681, 0.0026159275, -0.0309949797, 0.0368162468, -0.0112807974, -0.0109788105, 0.0010542796, -0.0275603738, 0.0418490022, -0.0277827103, 0.0068250108, -0.0309797693, -0.0818100274, -0.0592317842, -0.0032921843, 0.0089132981, -0.0120444, 0.0368317999, -0.0130115598, -0.0472551882, 0.0167512372, 0.0045020706, -0.0156772174, 0.0162116252, -0.0104428958, 0.0168945976, -0.0210734587, -0.0246961452, -0.0280868467, -0.1057170182, 0.0396891907, 0.0086604916, 0.0179675166, 0.009723464, -0.0288985856, 0.020264728, -0.0126981931, 0.0673362613, 0.0158282965, -0.0334749185, -0.017974887, 0.0332361236, 0.0066227964, -0.035631936, -0.0291434862, -0.0315644518, -0.0173342675, 0.0511097163, 0.0412170328, 0.0108806286, 0.0110725202, -0.0112571465, 0.022906946, 0.004023246, -0.0171401706, -0.0338219106, 0.0082856994, 0.0038198831, 0.0042410656, 0.0716978461, 0.0340170003, -0.0585609041, -0.0062418198, -0.0078576747, 0.0668588653, 0.0342939869, -0.0094610164, -0.0853413865, -0.0030551257, 0.0236468948, 0.0720994473, -0.0423204191, -0.0315071903, 0.0218481869, -0.0960706025, 0.0338544473, 0.0339133218, -0.0365249999, -0.006879678, -0.0472956523, -0.0069060861, -0.0028894765, -0.0460918248, -0.0468481928, 0.0035431325, 0.0072267298, 0.047979638, -0.037341889, -0.0638350025, -0.0162256174, -0.0074482579, 0.0257259719, -0.0088007022, 0.0306730121, -0.0298196226, -0.0103415782, 0.0888747424, -0.0834853649, -0.0468062125, -0.0283974931, 0.0917065069, -0.01003135, -0.0256985296, 0.0110941054, 0.0648675412, -0.04177415, -0.0102074388, 0.0263107568, 0.083634764, -0.0413207747, -0.0356316753, -0.032387089, -0.0484930202, 0.0480190106, 0.0589366704, 0.0098402379, -0.0535729751, 0.0050405315, 0.0009222054, 0.0129767181, 0.0259591695, -0.0222045239, 0.0733241886, -0.0672558025, -0.0478987806, -0.0466150679, -0.0101712123, 0.0219639353, 0.0905412734, 0.011756653, 0.0064765369, -0.0327026919, -0.0425357968, -0.0226660557, 0.0149822487, -0.0655086413, 0.0004584642, -0.0223384891, -0.0448503047, 0.0524438918, -0.0593494549, -0.0183625165, -0.022298567, -0.0160773061, -0.0410668887, -0.0000878763, -0.0082666427, 0.0231907889, 0.0280401912, -0.0096743908, -0.0591683164, 0.0766001344, 0.142705664, 0.0297335219, -0.0031778403, 0.0161270443, -0.0536735095, -0.023083454, 0.0031286513, -0.0515250005, 0.0426929072, 0.0715386569, -0.0319755785, -0.0565004274, 0.0448263809, 0.0160282794, 0.0216252469, 0.0321441405, -0.0336962938, -0.0072085243, -0.018848205, 0.0367323831, 0.0460510962, -0.0336387642, -0.0183747821, 0.0145603418, 0.038224183, 0.0011854206, -0.0366806723, 0.0391423218, -0.0203246865, 0.1034824103, -0.0604966991, 0.0018292952, -0.0020704241, 0.0225810781, -0.0014149436, -0.0076633315, -0.0006759432, 0.0155281536, 0.0451903194, 0.0503652282, 0.0146332951, 0.0012369482, 0.0467614159, 0.0415714793, -0.0131943161, -0.0141731109, -0.0852138922, 0.0561295748, -0.0337999575, 0.027725419, 0.0322564542, -0.05534219, -0.003816684, -0.0324609354, -0.0394835211, -0.0078380257, 0.0225834139, 0.0454288162, -0.009651768, 0.0298992731, 0.0007047774, -0.0336691029, 0.0276379213, 0.0465377159, 0.0412930287, 0.0441832952, -0.0170847196, -0.0422813781, -0.0491738394, 0.0054560942, 0.0787854791, 0.0108709857, 0.0214980599, -0.017459685, -0.0598299876, -0.0361498669, 0.0368586518, -0.0303139351, -0.0089249788, 0.0066567212, 0.0024986765, 0.0364750363, -0.0034739405, 0.0146268476, -0.0308658853, 0.0043305289, 0.0635629967, 0.0022230048, 0.0198162943, -6.384245736e-33, 0.0080678593, -0.0625874177, -0.050988242, 0.0248830561, 0.0305981711, 0.0164974984, 0.0427712351, -0.029063113, 0.0601944067, -0.0052571688, -0.0230409857, 0.0043720282, 0.0144499922, 0.0462755077, -0.0137335472, -0.0124911442, 0.0345419049, 0.022879282, -0.0308399443, 0.0307858828, 0.0225236006, 0.0246683452, 0.0265644081, -0.1392144263, 0.0415128842, -0.0021466068, -0.010163052, -0.0260072686, -0.0018032664, 0.0205037631, -0.0052456334, 0.058361277, 0.0540704727, -0.0119566359, 0.0087712985, 0.0072512268, -0.0369513854, -0.0255867802, -0.037388172, -0.004812934, 0.0182037894, -0.0357502475, 0.039088998, 0.0094937682, 0.0050994768, 0.0163600426, 0.0762881711, -0.047006119, -0.0100372648, -0.0631785393, 0.0026343665, 0.0508983955, -0.0019467331, 0.014312733, 0.0237935018, 0.0097796796, 0.0237798486, 0.0484670103, -0.0492705926, -0.0028095304, 0.0191554911, 0.0174124707, 0.0014871807, 0.0446857139, -0.0210293159, 0.0478966609, -0.0104916301, 0.0503443703, -0.0177174378, -0.0491588451, 0.022919558, 0.009268946, 0.0087323841, 0.0535670221, 0.0449219495, -0.0248359982, -0.0520806909, 0.0626294613, 0.0222593565, -0.0689593032, 0.01801656, 0.024403384, -0.0540589914, -0.0426837914, -0.012351336, -0.0407354347, -0.0134965219, 0.0444594026, 0.001145188, 0.0384491645, -0.0704663768, 0.0230514351, -0.017476676, -0.0099531543, -0.0766384229, -0.0307983253, 0.0016461689, 0.0245650541, -0.0228781123, -0.0604839511, -0.0345315337, -0.0624887832, 0.0565796793, 0.0053103678, 0.0258040819, -0.0181270055, 0.0907596722, 0.0246394109, -0.0933421627, 0.0030955116, -0.0014787125, 0.0450466983, 0.0172686782, 0.0393943712, -0.0009652135, -0.0120275505, 0.0136552621, 0.0316805355, 0.0553944744, 0.0063627162, -0.0014490875, 0.0286396649, -0.0215831883, -0.0109829586, -0.014506299, 0.0020639582, 0.0527291782, 0.0077636521, 0.0852008611, -0.0544973426, 0.0113683427, -0.0813989043, 2.616e-7, 0.0294906348, -0.0185566843, -0.0163400732, -0.0641887933, -0.0134414695, 0.0650266632, -0.024429936, 0.0174624976, -0.0356372967, -0.0548466742, 0.0098623196, -0.0284409709, 0.0409874506, 0.0131036872, -0.0973822847, 0.0351506472, -0.0085259182, -0.039215859, -0.0284613241, 0.0133559164, 0.0478905328, 0.0914799944, 0.0350526795, -0.051636599, -0.0068744044, -0.066912137, 0.0249159373, -0.0154760471, -0.0007195141, 0.0188870672, 0.0654497966, 0.0338652097, 0.0064429813, 0.0277236868, -0.012173201, 0.0030098062, 0.0250264611, 0.0370256491, -0.0129279466, 0.0444831327, -0.0002803554, 0.0272092633, 0.003403574, 0.0181565862, 0.0621537752, -0.0368973613, -0.0055275536, -0.0309909545, -0.0061485502, -0.0234577786, 0.0074629555, -0.0093407547, 0.0003948827, 0.0352238528, 0.0022154427, 0.0043915785, -0.0276984107, -0.0880559012, 0.0113236178, 0.0025097791, -0.0449654944, -0.0102726845, 0.0050136158, 0.0946850702, 0.0236183759, -0.0657535195, 0.0111498153, 2.808189423e-34, 0.033859212, 0.0107773561, -0.0277850218, 0.0098716691, -0.0041096932, -0.0011518609, 0.0342857987, 0.0215009879, -0.0029363979, -0.0229903813, 0.0250895955 ]
http://arxiv.org/abs/2406.11109v2
http://arxiv.org/pdf/2406.11109v2
Investigating Annotator Bias in Large Language Models for Hate Speech Detection
2024-06-17T00:18:31
2024-06-18T06:21:16
Amit Das, Zheng Zhang, Fatemeh Jamshidi, Vinija Jain, Aman Chadha, Nilanjana Raychawdhary, Mary Sandage, Lauramarie Pope, Gerry Dozier, Cheryl Seals
cs.CL
cs.CL, cs.AI, cs.LG
Data annotation, the practice of assigning descriptive labels to raw data, is pivotal in optimizing the performance of machine learning models. However, it is a resource-intensive process susceptible to biases introduced by annotators. The emergence of sophisticated Large Language Models (LLMs), like ChatGPT presents a unique opportunity to modernize and streamline this complex procedure. While existing research extensively evaluates the efficacy of LLMs, as annotators, this paper delves into the biases present in LLMs, specifically GPT 3.5 and GPT 4o when annotating hate speech data. Our research contributes to understanding biases in four key categories: gender, race, religion, and disability. Specifically targeting highly vulnerable groups within these categories, we analyze annotator biases. Furthermore, we conduct a comprehensive examination of potential factors contributing to these biases by scrutinizing the annotated data. We introduce our custom hate speech detection dataset, HateSpeechCorpus, to conduct this research. Additionally, we perform the same experiments on the ETHOS (Mollas et al., 2022) dataset also for comparative analysis. This paper serves as a crucial resource, guiding researchers and practitioners in harnessing the potential of LLMs for dataannotation, thereby fostering advancements in this critical field. The HateSpeechCorpus dataset is available here: https://github.com/AmitDasRup123/HateSpeechCorpus
[ 0.0358194597, 0.0630355403, -0.0388304181, 0.0432282463, 0.0140803754, 0.0672787949, 0.0530896671, -0.0021710934, 0.0218408648, -0.0961689129, -0.0192036219, -0.0056468942, 0.0020523886, -0.0084702261, -0.0062802113, -0.0485068001, 0.0423363224, 0.0318806879, 0.0453710258, -0.0145627102, 0.0608934127, 0.0148209669, 0.0125736678, 0.0588566549, -0.0594173372, 0.0113719609, 0.0632644519, -0.0071599344, 0.0204942767, -0.018680891, 0.0430692919, 0.0665615499, 0.0018385298, 0.0955317765, 0.0000018337, -0.0442292802, 0.0169113353, 0.0231346488, -0.0107639125, -0.0243337732, 0.0616924688, -0.0360593423, -0.0193439703, 0.0294244327, -0.0156983808, -0.0097022103, 0.0738511086, 0.0374869518, 0.059059836, 0.0464915186, -0.0083578276, -0.0279577449, 0.0028554529, 0.0081295623, 0.0134428898, 0.026482217, 0.0526559651, -0.015444085, -0.0667315274, -0.0000332652, -0.0135249048, 0.0090776514, 0.0156098874, 0.0435467325, 0.0087124817, -0.020279808, -0.0643800497, -0.0306488536, 0.0172067769, 0.032473512, -0.0108615188, 0.0039717755, 0.0041753696, 0.0031714181, -0.0085058156, -0.0265405606, -0.018822955, 0.0091551226, -0.0129075367, 0.0075499355, -0.0055228416, 0.0230037235, 0.0472437926, 0.0551927797, 0.0262030084, 0.051668901, -0.0101278145, -0.0388058424, 0.0114548421, -0.0047419253, -0.0199709516, -0.0093826875, 0.0084077418, -0.0276197009, 0.0104652923, 0.0067042173, -0.0387522317, -0.0332750194, 0.017277617, -0.0864375234, 0.0118923457, 0.043945536, -0.0385446213, -0.0034824363, 0.0026005888, 0.0352778211, 0.0118831536, 0.0182951484, 0.0054919771, -0.0032807498, -0.0082916971, 0.0062102512, 0.0096290531, -0.024592828, 0.0022003527, 0.0605636127, -0.0558683984, -0.0011310244, -0.0491335541, -0.0196429733, -0.0145004503, -0.0233329367, -0.0123729352, 0.0180562492, -0.0199227873, -0.0101771615, -0.0263197701, 0.0192137975, -0.0420241579, -0.0994985327, 0.0209824443, 0.0493987538, -0.0306623578, -0.0418375358, 0.0175548419, 0.0526345, 0.0466358811, -0.0229998492, -0.0316705331, -0.0171639081, -0.0286558475, -0.0553609468, -0.0099546565, -0.0514800884, 0.0188959595, 0.0168128461, -0.0159262866, -0.062562786, 0.0004993723, 0.0260303114, -0.0483689345, 0.0902059674, -0.0055445991, -0.0265376009, 0.0544289798, 0.0251448639, -0.0220260415, 0.0694396123, 0.0402904116, 0.0097955968, 0.0391695201, -0.0243146159, 0.0096220644, 0.0653856397, 0.0290086661, 0.0316468701, -0.0352986678, 0.0124805802, -0.032588806, -0.0288777668, 0.0357716195, 0.0335967429, 0.0011136894, -0.0462279171, 0.0421205349, 0.0922880098, -0.0313399509, 0.0207262095, 0.0266553722, 0.0210637618, -0.0128955226, -0.0361071788, -0.0688834786, -0.0372511558, -0.0239663646, -0.0566662401, 0.0218661856, 0.0477427058, -0.0115404166, -0.0431047902, -0.0543957502, 0.0068192426, 0.0521525629, -0.0109216738, 0.0056692534, 0.0013414135, 0.0197858792, 0.0052251904, 0.0450836793, -0.0165963974, -0.0016486722, -0.0641875416, -0.0039537637, 0.0519474447, -0.0090069948, -0.0128006423, 0.0018282398, -0.0649692789, -0.0184572507, 0.0366363898, 0.0125138955, 0.0055792839, -0.0371923931, -0.0399397984, -0.0287260991, 0.0458005331, 0.0287414137, 0.0232147779, 0.0637746006, -0.0008310265, 0.0235265791, -0.0043749786, -0.0734026805, 0.0357429273, 0.0333201177, -0.0382692218, -0.0125385458, -0.0031878373, 0.0620655008, 0.0214642771, -0.0311946943, -0.0496975482, -0.031221848, 0.0078972047, -0.004599377, 0.012137224, -0.0246216971, -0.0034103922, 0.0112157101, -0.0486400463, -0.0336111784, 0.0515821129, -0.0072772955, 0.0150457509, 0.0397261418, -0.033964321, -0.0106197083, -0.0242364723, -0.03454943, -0.0501545779, 0.0456918515, -0.0331083201, 0.0476612784, -0.0164070539, -0.0123604629, 0.0154539607, -0.0376696773, 0.0406600647, 0.0041502942, -0.0640950799, -0.0223579332, -0.0049424702, 0.0384998992, 0.0048693772, -0.011837895, -0.0037906962, 0.0182662141, -0.1005418375, 0.0014982657, -0.0319597237, -0.0271578357, -0.0131997429, 0.0008892374, -0.0325225443, -0.0069334381, -0.0118222041, -0.0525640883, 0.0385873429, 0.0486723483, -0.0154498722, -0.0498277396, -0.0273759589, -0.0240772534, -0.0251795948, -0.0253858026, 0.0189411175, 0.0357897542, -0.0793270916, 0.0212703887, -0.0292671025, -0.0331964977, 0.0068910122, -0.0164346993, -0.0197822955, 0.0304226391, 0.0604841523, -0.0173625667, 0.0250478759, 0.0367207341, 0.0821972638, 0.0329531766, -0.0020521639, -0.0219582189, -0.0100186076, -0.013923794, 0.0155291464, -0.0165559482, -0.0782948956, -0.0202443115, 0.0757197812, 0.0319702774, -0.0234163553, -0.0673746839, 0.0249917638, -0.0809186548, -0.0366233587, -0.032959234, -0.0506117158, -0.036842443, -0.0157584883, -0.0281835943, -0.0836087689, 0.0511416234, -0.0061154957, 0.0220167171, -0.0253018942, -0.0158973001, -0.03259442, 0.0430454947, 0.0180709623, 0.0276447553, -0.0275159571, 0.0075407638, 0.0173782501, -0.0031035859, 0.0273211747, -0.0352619402, -0.0026422516, -0.0121154832, 0.0224108361, -0.0071181455, -0.0298989303, -0.0530037284, -0.0465719998, -0.0507979542, -0.0234993342, 0.0258526057, -0.0152238077, -0.01253286, 0.0343328044, 0.0189454593, 0.0186909698, 0.0003758545, 0.0134626124, 0.0228075124, -0.0577133633, 0.0012803753, -0.0125612505, 0.0234891213, 0.0060995035, -0.0381788798, 0.0362575501, -0.0076639643, 0.0300670117, 0.0037356564, 0.0101731969, 0.0322488844, 0.0198144577, -0.005050641, -0.0143609531, 0.0267928652, -0.029177554, 0.0229267031, 0.0951829329, 0.0152451964, -0.0421779528, 0.0024459851, 0.009109892, 0.0330742821, 0.0143211652, -0.0275090709, -0.1158407554, -0.004848511, -0.0005843411, 0.0436220095, -0.0961038694, -0.0468505397, 0.0017922459, -0.0715181306, 0.0363158695, -0.0099731348, -0.0718318, -0.005868284, -0.0229257531, 0.0282527115, -0.0330128111, 0.0611477159, -0.0459259525, 0.0299596898, -0.0037924068, 0.0480950326, -0.1033904403, -0.0371180885, 0.0188185014, -0.0261298344, 0.0676012859, 0.0346211493, 0.0239508282, -0.0356774926, 0.0065866071, 0.0591237694, 0.00258231, -0.0355392694, -0.0479654782, 0.0523803979, -0.0227090381, -0.0472281575, -0.0211125519, 0.0568150952, -0.0006087805, 0.0145225823, 0.0207091719, 0.0260173343, 0.0235445034, 0.0242209584, -0.045745004, 0.0136291161, -0.0083581917, 0.0953408629, 0.0196519233, -0.0462766849, 0.0250007603, -0.0776662827, -0.0151468134, 0.0121079674, -0.1086937636, 0.0212792568, -0.0338330269, -0.0404979922, -0.0030351987, -0.0447057597, 0.0409341119, -0.0204343386, 0.0276079606, -0.0059212632, -0.0251005962, 0.0065524322, -0.0479583777, 0.0410014763, -0.0104517611, 0.0323822089, 0.0063014925, -0.0223047026, -0.0266940966, -0.0055902, -0.0439155623, 0.0396277271, -0.0506599024, -0.0287614241, 0.0957234576, 0.0349209048, 0.0173195694, 0.0246790014, 0.0061118631, -0.0890454575, 0.041819334, 0.063717328, 0.0016583961, 0.0016995522, 0.0278926194, -0.0112828063, 0.0002309775, 0.0072091022, -0.0061506559, 0.0659565553, 0.0331796817, -0.0504665114, -0.0588337742, 0.0133145591, -0.0149297239, 0.0039987881, 0.0561856814, -0.0225701164, -0.0474688187, -0.0381209292, -0.0193166807, 0.0048785349, -0.0579333194, -0.0214517768, -0.0112062423, 0.0077628717, -0.0017087727, -0.06413728, -0.030490851, -0.0439146347, 0.0094261048, -0.0397781543, 0.0493639, 0.0420908704, 0.0272687934, 0.0038644727, 0.0063031497, -0.0144135915, 0.0509343632, 0.0049087307, 0.0003983132, 0.0264090449, 0.010055596, 0.0128403883, 0.01431455, 0.0407378338, -0.0145194829, 0.0207619052, -0.0189741664, -0.0454838425, 0.0095663089, -0.0270131025, -0.014751642, 0.0365274735, 0.0023388045, -0.022624597, -0.0195209123, -0.0253022835, 0.0092557613, -0.0148079488, 0.024442235, 0.015916938, -0.0419710614, 0.0155994911, 0.028400166, 0.03967252, 0.0547903702, 0.0207636729, -0.0646340549, -0.0236833859, -0.0071697501, 0.0170311555, -0.0017748721, 0.002826253, 0.0100479675, -0.0674913675, -0.0430100821, -0.0301041789, -0.0455704443, 0.0302445255, -0.0043878043, 0.0078353183, 0.0561740287, -0.046042826, -0.0243342966, 0.0014989671, -0.0117710037, -0.0089080995, -0.0485492162, 0.0157743301, -5.634159117e-33, -0.0215764549, -0.0339484215, -0.0158322733, -0.0002766117, 0.0065150568, -0.0063373614, 0.0511697717, 0.0184345972, -0.0053758002, 0.0166210923, 0.02564965, 0.0185135454, 0.0188700296, 0.0066986554, 0.011036355, -0.0436213501, 0.0298140161, -0.0068462589, -0.0184866227, -0.0100724604, 0.0087871235, -0.008631533, 0.0342707783, -0.0824467242, 0.08904697, -0.0128638111, -0.0241133496, 0.0072704572, 0.0032992084, 0.0746860355, -0.035792321, 0.0938531905, 0.0273123588, -0.0078475149, 0.0087402072, 0.0563113056, -0.0310492199, 0.0064302627, 0.0308090709, 0.0487603024, 0.0311781075, -0.0182685181, 0.0243821405, 0.0043078824, -0.0746735856, -0.0063349563, 0.0455786362, -0.047607664, 0.0237667635, -0.0034146346, -0.0671293065, 0.0615295134, -0.029749861, 0.0171324406, 0.0085638752, 0.0141242994, 0.0238898061, 0.0178571194, -0.0428515077, 0.0045566447, 0.0076567857, -0.0132816974, 0.0107587157, 0.0299906898, 0.0133936061, 0.0623832271, 0.0405522585, 0.0270033181, -0.0141916163, -0.0279428642, 0.0337272696, -0.0021015136, 0.0399658866, 0.0688510463, 0.022096172, -0.0320356116, -0.0388875529, -0.0124344677, 0.043816898, -0.0151155666, 0.036694169, -0.0355397612, -0.0939591825, -0.0496623889, -0.0426703803, -0.0624875836, -0.0167857725, -0.0148630263, 0.0349360369, -0.0136724133, -0.0247027222, 0.0420115516, 0.0228478983, -0.0197521411, -0.0076366011, 0.0139001021, -0.0234652366, -0.0103744408, 0.0197118446, 0.0374149941, -0.042066019, 0.0025863629, 0.0103239343, -0.0079654455, 0.0518040732, -0.0177482944, 0.0782430992, 0.0182725936, -0.079814814, 0.0129058287, 0.0043466268, 0.0602404848, -0.0371190943, 0.0274528656, 0.0345344394, 0.0287420414, 0.0048727933, -0.0109507432, 0.0459366925, 0.0037080224, -0.0192639269, -0.0031087287, -0.0493519232, -0.0112668928, 0.0094038406, -0.0073960195, 0.0311081428, -0.0086049354, 0.0308930241, -0.0780253634, 0.0273566525, -0.0619196258, 2.43e-7, 0.0126234898, 0.0558213815, -0.0119413687, -0.0092991674, 0.019214645, 0.0291227531, 0.051275868, 0.0183094703, 0.0258835535, 0.0060208603, -0.0233870037, 0.0550231971, 0.0225567464, 0.0535685942, -0.007902585, -0.0187088996, -0.0794961229, 0.0164473038, -0.0503321849, 0.0193237234, -0.016743673, 0.1068628207, 0.0566022731, -0.029453611, -0.0204828549, -0.0054693534, 0.0223160088, -0.0668737218, -0.0189739149, 0.0122405533, 0.0732026771, 0.0421914868, 0.039789129, 0.0260684621, 0.0118009113, 0.0187544711, 0.0310017951, 0.049292177, 0.0273515955, 0.0211866796, -0.0144024855, 0.0024753204, -0.023242075, -0.0625925809, 0.0541628674, 0.010134412, -0.0307248216, -0.064279303, -0.016033845, -0.0226329453, 0.0451322012, -0.0136666559, 0.0021958896, -0.0146681601, 0.0372670256, -0.0266802069, -0.0027305498, -0.0663102046, -0.0152419051, -0.0163010508, -0.0401414037, -0.063441202, -0.0188863259, 0.0029126718, 0.0247409474, 0.0217767004, 0.0421555489, 1.997351787e-34, 0.0355051346, -0.0107153021, 0.0096428003, -0.0310077835, 0.0304232538, 0.0452209488, 0.0286844149, -0.0071872748, 0.0295361783, -0.0203508642, 0.0056968825 ]
http://arxiv.org/abs/2406.11107v1
http://arxiv.org/pdf/2406.11107v1
Exploring Safety-Utility Trade-Offs in Personalized Language Models
2024-06-17T00:17:11
2024-06-17T00:17:11
Anvesh Rao Vijjini, Somnath Basu Roy Chowdhury, Snigdha Chaturvedi
cs.CL
cs.CL
As large language models (LLMs) become increasingly integrated into daily applications, it is essential to ensure they operate fairly across diverse user demographics. In this work, we show that LLMs suffer from personalization bias, where their performance is impacted when they are personalized to a user's identity. We quantify personalization bias by evaluating the performance of LLMs along two axes - safety and utility. We measure safety by examining how benign LLM responses are to unsafe prompts with and without personalization. We measure utility by evaluating the LLM's performance on various tasks, including general knowledge, mathematical abilities, programming, and reasoning skills. We find that various LLMs, ranging from open-source models like Llama (Touvron et al., 2023) and Mistral (Jiang et al., 2023) to API-based ones like GPT-3.5 and GPT-4o (Ouyang et al., 2022), exhibit significant variance in performance in terms of safety-utility trade-offs depending on the user's identity. Finally, we discuss several strategies to mitigate personalization bias using preference tuning and prompt-based defenses.
[ 0.0260799062, 0.0685425177, -0.0298690256, 0.036301598, -0.0221676212, -0.0157031082, 0.0532293692, -0.0119520063, 0.0580362529, -0.0052079763, -0.0108482381, -0.028279189, -0.0044071358, 0.0023494416, 0.0163008999, -0.0569452457, 0.0508644804, -0.0750352666, 0.044043418, -0.0298443586, -0.0013255964, 0.0153077208, -0.0016581111, 0.0651655719, 0.0352186747, -0.0424545296, 0.0341938846, -0.0129450634, 0.0050007585, -0.033366181, 0.0218280964, 0.0647588894, -0.0215544868, 0.0342512727, 0.0000023894, -0.0715903491, -0.0031527085, 0.0043946058, -0.0355983116, 0.0361075923, 0.0632039085, 0.0615559556, -0.0156617183, 0.057450261, -0.0390577391, 0.0086667417, 0.0349940993, -0.0236965753, 0.0313785858, 0.026033612, 0.0048583103, 0.0281276554, 0.0005340626, -0.0098696528, 0.0171025153, -0.0368962474, 0.0038095184, -0.0601823218, -0.005816468, -0.0016844479, 0.0076179262, 0.026379697, 0.0031973657, 0.0071574915, -0.0157964565, 0.0264857002, -0.031130204, -0.0129521871, -0.0163815804, 0.0565406457, -0.0163853765, -0.0140582239, 0.023593314, -0.0094981706, 0.026994098, 0.0207024552, -0.0285480469, 0.0251763556, -0.0243079122, -0.0261170343, 0.0105787087, 0.0095587112, 0.0268432274, 0.0275665484, 0.0076413886, 0.1106503457, 0.020197548, -0.0095685441, -0.0095248651, -0.0200823005, -0.002115451, -0.0745906308, 0.0379434302, 0.007197246, -0.0397870168, 0.0018565094, -0.0612623468, -0.0297770966, 0.0212530661, -0.0381367058, 0.0217880644, 0.0775594711, 0.0108591393, 0.0057099643, 0.0114442091, 0.0230617579, 0.0104528945, 0.0115499105, 0.0305004865, 0.0301799793, -0.0065157595, -0.0199337527, -0.0096600335, 0.0222370028, 0.0071658138, 0.0522578731, -0.0383190177, 0.0676497892, 0.0002391797, 0.0275591444, -0.0069125672, -0.0090349792, -0.0088403588, -0.0341023579, -0.0390429869, -0.0185359586, -0.0440402739, -0.0080730338, 0.008607612, -0.0646517873, 0.0057042893, -0.0137986327, -0.0059556835, -0.0426360779, 0.0013978621, 0.0871005878, 0.0149025125, -0.018523626, -0.0428472869, -0.0719043761, 0.0082672471, -0.0256300066, -0.0405928157, -0.0964136198, 0.0130083598, 0.05074054, -0.0064775404, -0.0847565606, -0.01495363, 0.04645174, -0.0359939411, 0.0294558443, -0.0028299659, 0.0040131821, 0.0229394659, 0.0246930774, -0.0239036158, 0.0344138518, 0.0289001968, 0.0206962712, 0.0436940715, -0.0369324163, 0.0357340463, 0.0483098887, -0.0213640146, 0.0102195097, 0.0216278527, 0.0038696188, 0.0235728472, -0.0182541721, 0.006132721, 0.0453341939, -0.0023812384, -0.0085622445, 0.0986194983, 0.0869451463, -0.0314965807, -0.006667708, 0.0008503934, 0.0286776815, 0.0122464774, -0.020472059, -0.0797313973, 0.0054293135, -0.0671387464, -0.0070964368, 0.0103207575, 0.0345645249, -0.0101045212, -0.0123274429, -0.0088376682, -0.0203689095, 0.0207527671, 0.0417139046, 0.0032806816, -0.0244458709, -0.0064148186, 0.0628046021, 0.0133093093, -0.0665338561, -0.0203669034, -0.0617938451, 0.0151312593, 0.1052679494, 0.0392085537, 0.0026824679, -0.0001392386, -0.025128359, -0.0228453781, 0.0340417549, 0.0530971661, 0.0091096116, 0.0299457815, -0.0491063967, -0.0150348172, 0.0477358066, 0.0055160387, 0.0287704077, 0.0531961247, 0.0198535286, 0.0096118283, -0.0269971583, -0.0138928043, -0.0070855352, -0.0365044102, -0.0742573887, 0.0003640821, 0.0153875994, -0.0099070529, 0.0067985863, 0.0236890092, 0.0086682346, 0.0030743615, 0.0191161465, 0.0229508579, -0.0066557722, -0.0526048206, 0.0544692986, 0.0386769846, 0.0195741728, -0.0152786346, 0.0368262455, 0.0008050929, -0.0111896284, 0.0403023884, 0.0028007715, 0.0266141873, 0.0080155944, 0.021972077, -0.0134149306, -0.0065501025, -0.028235564, 0.045546256, -0.0206972864, 0.0068822033, 0.0106428033, 0.0005190879, -0.0077774473, -0.0791309401, -0.0643086508, -0.0072687375, -0.0270298421, 0.0615911409, 0.0122189075, 0.0116383489, -0.0204153508, -0.0035246154, -0.0597446784, 0.0110574346, -0.0189314652, 0.0459303409, 0.0228248779, 0.0295934249, -0.0415222012, -0.0287680496, -0.0280792657, -0.0377969407, -0.0050920579, 0.0358409844, 0.0065915398, -0.0144621218, -0.0332407542, -0.0336598828, -0.0155226532, -0.0299764108, 0.0003377497, -0.0308457837, 0.0148241147, -0.0313233882, -0.0038659428, -0.0216067303, 0.0276482143, -0.0168327522, 0.01330317, 0.0263107345, -0.0046039145, 0.0510863513, 0.055074919, -0.0016125136, -0.0109994682, 0.0583619289, -0.0006540139, -0.0732254758, -0.0073467181, 0.0170811974, -0.0322742499, 0.0107702138, -0.058286842, 0.0089305295, 0.0635742471, 0.0094230603, -0.0054521342, -0.0492268428, 0.0416917317, -0.0249530263, -0.011488704, -0.0272409935, 0.003053373, -0.0307851806, 0.0577591695, 0.0073107989, -0.0714225695, 0.0806676745, -0.0105099566, 0.0215108991, -0.0050940146, -0.0280734487, 0.0108538195, 0.0336932689, -0.0203909203, 0.0121070445, 0.0390781872, -0.0387040786, -0.0455711409, -0.0219099168, 0.028729232, -0.054534819, 0.03757184, -0.0419823937, -0.0180596355, -0.0067485734, -0.0479495935, -0.0189203918, -0.0622593164, -0.0411259197, -0.0256994162, 0.0227585621, -0.0301881004, 0.0262321159, -0.0212630033, 0.0372260995, 0.0379357412, -0.0398693867, -0.0086525101, -0.0156350359, -0.0332522281, 0.0205137916, -0.0251031946, 0.0061762468, -0.0350407027, 0.0109128496, 0.0399743505, 0.08710742, -0.0328454114, 0.0127454363, -0.0231755786, 0.064361617, -0.0473635457, -0.0561628826, 0.0880665332, 0.0543242991, -0.065983437, 0.0100196032, 0.0822307765, 0.0150937205, -0.0570907034, -0.0002939015, -0.0479793251, 0.058627177, 0.01473819, 0.0407413207, -0.0769476667, -0.0119004957, 0.0180544704, 0.0859854147, -0.0117849782, -0.0330318101, -0.0009853819, -0.0900185108, -0.0034765848, 0.0074234661, -0.0386971608, 0.037581794, -0.0293499511, -0.0097759981, 0.001314105, 0.0436817668, -0.002838145, -0.0334095694, 0.0067896405, 0.0097882422, -0.0647594705, -0.0542729162, 0.0295239333, -0.0246854685, 0.0458000451, 0.0624281131, -0.027685307, -0.0222868212, -0.0644388124, 0.0357214473, 0.027545115, -0.022242438, -0.0162352454, 0.018815523, -0.0125639485, 0.0099826837, -0.0481446311, 0.0145917851, -0.0164601933, -0.0161887538, 0.0297476593, 0.0334453024, -0.0108526107, -0.0017166469, -0.0148121333, -0.0259188265, 0.0147630069, 0.0734295771, -0.0002669257, -0.0800058842, -0.0321800783, -0.0959645659, -0.0176051818, -0.033505816, -0.0572012775, -0.0055612437, 0.0272035245, -0.0810687095, -0.0284708999, -0.031036986, 0.0067509459, 0.0055113896, 0.0164861456, 0.0003664324, 0.0031392069, 0.0125311324, -0.0112267369, 0.0443326943, -0.0789737031, 0.0489962921, -0.1008941382, 0.0454068482, -0.0230941027, -0.0345785692, 0.0007128252, 0.0139056062, -0.0442234948, -0.0840732306, 0.012209449, 0.0768415183, 0.0354225226, 0.0187848937, -0.023049159, -0.1062677354, 0.0374442302, 0.0556138791, -0.0292645339, 0.0056595029, 0.0324620418, -0.0142608397, 0.0156258568, 0.0164178964, -0.0409562103, -0.0304047652, 0.0218667798, 0.0109775243, -0.0286058579, -0.044503089, -0.0046789725, 0.0679071695, 0.0385864042, -0.0154661005, 0.0484543405, -0.0014646491, 0.0015487894, -0.0040985337, -0.0242620166, 0.0071024769, -0.0197073966, -0.0040339152, -0.0092988182, 0.0203196276, -0.0355739668, -0.0280570574, 0.017599605, -0.0364002548, 0.0463842489, -0.0128506171, 0.0609805211, 0.0614314601, -0.0005297003, -0.0338537507, 0.0341238827, -0.0031237083, 0.0455702692, -0.0117483577, 0.0561700426, -0.0390127748, 0.0035999066, 0.005674758, 0.0482670143, -0.0342972167, -0.0909138918, 0.0227176994, 0.0417500809, -0.0020319761, 0.0047971644, 0.0314497203, -0.0267821066, 0.0240337923, -0.0472603366, -0.0286962129, 0.0385354534, -0.0383576788, 0.0054620486, 0.0004004191, -0.0109281158, -0.0275727846, 0.0929765105, 0.0123070292, 0.028412547, -0.0233260412, -0.0227508042, -0.0414823033, -0.0105197132, 0.0053693289, 0.0726519227, -0.0649684146, -0.0529003143, -0.0931871608, -0.071324721, -0.0248881672, 0.0286048651, 0.0118899252, -0.0270261336, 0.0222909432, 0.0428664833, -0.0215195604, -0.0320002995, -0.0315294564, 0.0107971095, -0.0117130484, -0.0233364832, -0.0132098868, -6.557108792e-33, -0.0123402542, -0.0067896084, -0.0084465379, 0.0202132035, 0.0539665706, -0.0410906896, -0.0230257306, 0.058472693, -0.0236454327, -0.0500007868, -0.0367005318, -0.0110274507, 0.0283041131, 0.0008713171, 0.023409484, -0.0026414555, 0.0146366209, 0.0137966918, -0.0492133573, 0.0258566309, 0.032693807, -0.0141006233, 0.0351420641, -0.0800099596, 0.0694868192, -0.0283984523, 0.0105699133, -0.0221088845, -0.0417272113, 0.0550921708, 0.0026328878, 0.0525829494, -0.0065751639, -0.0263728369, -0.0246093906, 0.0445803553, -0.0246221647, -0.0382114612, 0.0403652005, -0.0031985911, 0.000166261, -0.1050216407, 0.035549324, -0.0105565302, -0.0737886801, 0.0205098279, 0.0272631701, 0.0030666864, -0.0137608955, 0.0066361506, -0.0108256163, 0.0111950412, 0.0117342807, 0.0005428943, -0.0029398287, 0.0311238598, -0.0139661543, -0.00213899, -0.0353114307, 0.0512868129, 0.0184367914, 0.0089223525, 0.0783870146, 0.0093708802, -0.0132925343, 0.021418428, 0.011739091, 0.0164478458, 0.0057645962, -0.0389604159, 0.0275985859, 0.0021128336, 0.023535464, 0.0393973924, 0.0018410281, -0.0437474996, -0.0170843862, 0.0410714932, 0.0478105135, -0.0167110469, 0.0508783609, -0.0054061967, -0.0749452934, -0.0395692214, -0.0315442868, -0.0149626266, -0.0403500982, -0.0281632356, 0.0502710417, -0.0159078743, -0.033221025, -0.0503354631, 0.0110362107, -0.0218748823, -0.0438559353, -0.0173439961, -0.0149201425, 0.0010462657, -0.0006337772, 0.0315600745, -0.0282184295, 0.0096007641, -0.0287348647, -0.0408531316, 0.0354662724, 0.0314391293, -0.0201378427, 0.0243588369, -0.1001260951, 0.0005080216, -0.0158081204, 0.0518762022, 0.0307296123, 0.0173713528, 0.0701903626, -0.0197338723, 0.0224913433, 0.0268092882, 0.0270004608, -0.0286292769, -0.0487801284, -0.0097271148, -0.0251905043, -0.0027013698, -0.0057051401, 0.0094742225, -0.0107977372, 0.0455080904, 0.0335848257, -0.0020663533, -0.017103076, -0.0478481986, 2.983e-7, 0.0032052777, 0.0566534735, -0.0233644713, 0.0205833353, -0.0025967194, 0.0766361654, -0.0068847281, 0.0640994236, 0.028704267, 0.002925114, -0.0419024453, 0.0166901704, 0.0312967189, 0.0406999588, -0.0673239902, 0.002099405, -0.0368066542, 0.071566388, -0.0641369745, 0.0160463434, 0.0451483391, 0.0345185772, 0.027090976, 0.0027516582, -0.0128604956, -0.0335783698, 0.0198166985, -0.0419340841, -0.005034613, -0.0109764021, 0.0360176302, 0.0397326313, 0.023800211, 0.0401717536, -0.0081115188, -0.0005462104, -0.0324622281, 0.0961394385, 0.0080310898, 0.0196901839, 0.0241082795, -0.0591107272, -0.0051891734, -0.065650925, 0.0581641272, 0.0332105607, -0.0050014406, 0.0044558393, -0.0006024475, -0.0318605453, 0.0102013415, -0.0210517775, -0.0280283317, 0.0050609079, 0.0132921152, -0.0038764542, -0.0172140747, -0.0323554613, -0.0421255417, 0.0015025367, 0.0042947424, -0.0792285651, -0.0414660536, 0.0559551008, -0.000615617, -0.0433183424, 0.0286978036, 2.891373786e-34, -0.0016688789, 0.025556175, 0.0270520765, -0.027878331, 0.0364871994, 0.0399355255, 0.0229327753, 0.0245656855, 0.0413918346, -0.0146957086, -0.024422735 ]
http://arxiv.org/abs/2406.11106v1
http://arxiv.org/pdf/2406.11106v1
From Intentions to Techniques: A Comprehensive Taxonomy and Challenges in Text Watermarking for Large Language Models
2024-06-17T00:09:31
2024-06-17T00:09:31
Harsh Nishant Lalai, Aashish Anantha Ramakrishnan, Raj Sanjay Shah, Dongwon Lee
cs.CL
cs.CL, cs.AI
With the rapid growth of Large Language Models (LLMs), safeguarding textual content against unauthorized use is crucial. Text watermarking offers a vital solution, protecting both - LLM-generated and plain text sources. This paper presents a unified overview of different perspectives behind designing watermarking techniques, through a comprehensive survey of the research literature. Our work has two key advantages, (1) we analyze research based on the specific intentions behind different watermarking techniques, evaluation datasets used, watermarking addition, and removal methods to construct a cohesive taxonomy. (2) We highlight the gaps and open challenges in text watermarking to promote research in protecting text authorship. This extensive coverage and detailed analysis sets our work apart, offering valuable insights into the evolving landscape of text watermarking in language models.
[ 0.0597089678, 0.0416339301, -0.0118701514, 0.0395463035, -0.0597871952, -0.0166334193, 0.0631303862, 0.0577853136, 0.0249383338, -0.0123135466, -0.003535683, -0.0085468004, 0.0393275805, 0.0023213271, 0.0384609438, -0.0068692137, -0.015059947, -0.0266269073, 0.016975062, -0.0210358761, 0.0194771066, 0.0276858788, 0.0631093904, 0.0301309098, -0.0106914239, -0.0318386592, 0.0351067111, -0.0039056665, -0.0029307373, 0.0040860544, -0.0320996717, 0.0501423292, -0.0074934559, 0.0929124579, 0.0000018423, -0.0328278877, -0.0270155314, 0.0416206308, -0.0161052309, 0.0711679384, 0.0580334216, 0.0216662697, -0.0474568903, 0.0247158762, -0.0094172554, 0.0579861179, 0.0296382047, 0.0500846617, 0.0837102756, 0.0387681164, -0.0294891894, -0.0068931752, 0.0253138114, 0.0096619464, 0.0226395931, 0.0001799445, 0.0236732643, 0.0190237407, -0.0310041383, 0.0510567464, 0.0408096053, 0.087167874, -0.011150239, -0.0609269403, -0.0262317993, -0.0093377614, -0.0136490054, 0.0119421855, 0.0426965952, -0.0172676016, -0.0169535521, -0.0313939713, 0.0148909343, 0.0082906112, 0.0057843816, 0.0608860888, -0.0024257002, 0.051958032, 0.0067482982, 0.0090886103, 0.0017306485, 0.0029660151, 0.0275566876, 0.0230215956, 0.0283948611, 0.025273649, 0.0272072069, -0.0133098606, -0.0440366641, -0.0339803398, -0.0101113794, -0.0752868354, 0.0742797107, -0.0022236502, 0.0673578084, 0.0100203156, -0.0916576385, -0.0740598813, 0.012841708, -0.0488058701, 0.0442550555, 0.0096543841, -0.0007048095, 0.0391447805, -0.0556950569, 0.061728958, -0.019505702, 0.0151695758, 0.0532312281, -0.017050555, 0.0121302372, -0.0437278487, -0.0260598473, 0.0079076951, 0.0083002597, 0.0235174038, -0.0186915081, 0.0402963273, 0.0098120086, 0.0477705784, -0.0025561887, -0.0549883321, 0.0117348759, -0.0162155554, 0.0575274266, -0.052678559, 0.0353813656, 0.0115436139, -0.0273073986, -0.0207997486, 0.0261658169, 0.0157934055, 0.021686893, 0.0043880166, -0.0043371031, 0.0653367341, 0.0381966308, -0.0144385872, -0.0146907838, -0.0492825136, 0.0045614056, 0.0247969944, -0.0171726719, -0.045992624, -0.0464109927, -0.0236984137, 0.0168404896, -0.0944114849, 0.0016971849, 0.0179948844, -0.0227435641, 0.0130863255, -0.0317456797, -0.0132397972, 0.0332650952, 0.0050136, -0.0230786558, 0.0063967444, 0.0500383861, 0.0610096753, 0.0683567002, -0.0137343248, 0.0338854603, 0.0597142614, -0.0273997653, 0.0185568072, -0.0022893883, -0.0293096974, 0.0559394695, -0.0320360325, -0.017154146, 0.0370920487, 0.007750974, -0.0358180888, 0.0927417427, 0.067066811, -0.037507575, -0.006027597, -0.0281915236, 0.0157023445, 0.0454901643, -0.0446441397, 0.0009088123, -0.0069829989, -0.0302414075, -0.0471543446, -0.0370149389, -0.0017612894, 0.0229047779, 0.0012467242, -0.0359508209, -0.0131996842, 0.0355913714, 0.0127380593, 0.0025671173, 0.0567554794, -0.0187339522, 0.0079344753, -0.0385227762, -0.0405788384, 0.0334478058, -0.0573677942, 0.0096521359, 0.0745118707, 0.0855485499, 0.0139731821, 0.072146751, -0.0133430865, -0.0200154576, 0.0302130282, -0.051569555, -0.0122555653, 0.0176945515, -0.0243867207, -0.0360663831, -0.0495392308, -0.0036746818, 0.0262749419, 0.0132592805, 0.0183122754, 0.0430758148, -0.0456465967, -0.0275590848, 0.0129142776, -0.0015285094, -0.0219060797, -0.01763306, -0.0151916891, -0.008477048, 0.0296336878, -0.0326032937, 0.0234095529, -0.0062202942, 0.013962375, -0.0196372867, -0.0242177602, 0.0445053689, 0.0344401188, 0.0381191894, -0.0361594111, 0.0074494253, 0.0304082707, 0.0145664942, 0.0044806143, 0.0094299521, -0.0496872403, 0.0255439691, -0.0430296063, 0.0090507409, -0.0457624756, 0.0227304529, -0.0241940804, -0.0060315202, 0.0041762935, 0.006110576, 0.023261467, 0.0064272555, 0.0317849852, 0.0213118885, -0.0534050353, -0.020882206, -0.0307450481, 0.012128449, 0.0013033245, 0.0122949481, 0.0144410003, -0.0293404851, -0.0261615049, -0.0046955273, -0.004048517, 0.0291991755, 0.017564591, 0.00177334, 0.0019857218, 0.0107197333, -0.0424513444, -0.0924125984, -0.0100147408, 0.013488343, 0.0368901901, -0.0379680432, -0.0280988943, -0.0011227116, 0.0147117246, 0.0404024646, 0.0451621711, -0.0003925925, -0.058430668, -0.0412904583, 0.0486742184, -0.0316325352, -0.0121603189, -0.0103090489, -0.0061962493, -0.0220388174, -0.0192890763, -0.0128458841, 0.0282268822, 0.0040560607, -0.0143092694, 0.0217834394, -0.0027243576, -0.0214911234, -0.0533434711, -0.0155569846, -0.0057717711, 0.0110624824, -0.0520468839, 0.0587257333, -0.0195029769, 0.0017479202, -0.0105969291, -0.0217844918, 0.0359039903, -0.0297892075, -0.0178026035, -0.0015439669, -0.0555100292, -0.023473125, -0.0026685556, -0.0175505243, -0.0271958802, -0.0060304212, -0.0488801375, -0.0027137683, 0.0037477501, -0.0023637477, 0.0063654114, 0.0520415716, -0.0078135179, 0.0283921733, 0.0299564116, -0.031998653, 0.0099425372, 0.0033573031, 0.0821894631, -0.0354424752, -0.0326789692, -0.0027850829, -0.0261318423, 0.0186983086, 0.0286726598, 0.0071014287, -0.0553849861, 0.0034483864, -0.0047615217, 0.0253975056, -0.0070398087, 0.0235649627, -0.0170914903, 0.0526132844, 0.0033681039, -0.0059280815, 0.005264062, -0.0388564169, 0.0574613102, -0.0409315303, -0.0912109241, -0.033229813, -0.0089566531, -0.0231143851, 0.0540093109, 0.0176141635, -0.0329352729, 0.053363353, -0.005274985, 0.045916751, 0.0005853501, -0.0616814755, 0.0107245669, 0.0443450175, -0.0434403941, 0.0365486071, 0.0880956575, 0.0357407816, -0.0062541692, -0.0139839612, -0.0211588442, -0.0065731304, 0.0070640612, -0.0136465542, -0.0702100024, 0.0206135567, 0.0463584177, 0.022064615, -0.0384886228, 0.003593209, -0.0309206136, -0.038776461, 0.0027421222, 0.0121194618, -0.0325601101, 0.0166542698, -0.0582465753, -0.0299458448, 0.0543760583, -0.0541197732, -0.0616070852, 0.0306682363, -0.0076087462, 0.0268876571, -0.0608655252, -0.0255423058, -0.0201303139, -0.0355531424, 0.0101162251, 0.0554344878, 0.0351073146, -0.0225329027, -0.0422590598, 0.008126772, -0.0043583936, -0.0198117662, 0.0000389776, 0.0494044609, -0.0001021721, -0.0254997946, -0.0300110597, 0.020477578, 0.0519717075, -0.0587575771, 0.0036278695, 0.0439190529, 0.0085050659, 0.0029819121, 0.0052597225, -0.0542792566, 0.042451147, 0.0429413617, 0.0044425442, -0.0505956113, -0.0065681683, -0.0835492387, 0.0516296104, -0.0299109593, -0.0523128584, -0.019784091, -0.0523390099, -0.0597392768, -0.0473393127, 0.0101552643, -0.0462018847, -0.0229100157, 0.0808608457, 0.0552756041, 0.0215512067, -0.0420652404, -0.0043101362, -0.0462298915, -0.1145580858, 0.0556087047, -0.0147813717, 0.0148451412, -0.0235614311, -0.0244006962, 0.0172903799, 0.0054105143, -0.0635992661, -0.0563378185, 0.0202514417, 0.0012565142, 0.020613391, -0.0321594663, -0.0295394212, -0.1144081131, 0.0482414812, 0.0069013885, 0.0001014112, 0.0214505699, 0.0505085923, -0.0352176987, -0.0034702378, 0.0245391969, -0.0591775328, -0.012918937, 0.0841473714, -0.0600071922, -0.0276633687, 0.0231266264, -0.0062721325, 0.0553728566, -0.0098145315, -0.0380158648, 0.0437496528, -0.0014272605, -0.0035034132, -0.0538811609, -0.0381120853, -0.0036637322, 0.0303987898, 0.0444916897, 0.0039233058, 0.0164645091, 0.0353209898, 0.0002118739, 0.0001888412, 0.0003800348, 0.0377596207, 0.0022580628, 0.0563476533, 0.0315295979, 0.028532574, -0.0095953951, 0.0436459817, 0.0159437656, 0.0017201203, 0.0176511221, -0.004345065, 0.0147042591, 0.0079080621, 0.0035202608, 0.0296319015, -0.0643753633, -0.0228500068, -0.0085309297, 0.0162872747, 0.0147706801, 0.0096445587, 0.0428995341, -0.04102052, -0.0104410639, -0.0292917434, 0.0093209716, -0.004726415, -0.0558323413, -0.0532385893, -0.0305732209, -0.0290339757, 0.0238995999, 0.0250140913, 0.0187898166, 0.0475409366, 0.0064126602, -0.0602270663, -0.0325610712, -0.0099201631, 0.0564039387, -0.0004452498, -0.0347648896, -0.0438846424, -0.059870705, -0.044703424, 0.0246369373, -0.0108863469, -0.0032393869, -0.0066184201, -0.0391586348, 0.0195479803, 0.0035018304, 0.0016037257, -0.0647307858, 0.0339909531, 0.0126709891, -0.0491431691, 0.0106107714, -4.605336707e-33, 0.0256264862, -0.0413453542, -0.034661103, 0.0067839124, 0.0428298526, 0.0601192974, -0.0124530494, -0.0228268672, -0.0017082627, 0.0037082853, -0.0380359329, -0.0103131188, -0.0021073131, -0.0089082383, -0.0417263992, 0.0336432792, 0.0330960788, 0.0120015889, -0.0285234172, 0.0084356694, 0.057274729, -0.0398044698, 0.027418904, -0.0814651623, 0.0835450143, -0.0454781651, -0.0851602629, -0.0329985246, -0.0154466284, 0.0384122878, -0.0197019894, -0.0174842831, -0.021434281, -0.0048168767, -0.0314639285, 0.0531937554, -0.0083457427, -0.0350433365, 0.0127081769, 0.0590244792, 0.0478578135, -0.0719506815, 0.0063749189, -0.0268169306, -0.0138983196, 0.0415407009, 0.0197968166, 0.0114390003, -0.0276768375, -0.0211539697, -0.0045585055, 0.0078764278, -0.0149357906, 0.0362818502, 0.0587940067, 0.0228794459, 0.046185609, -0.0022879827, -0.0900547653, 0.0402779318, -0.007138344, -0.0325582214, 0.0099214474, 0.0260606762, 0.0215194169, 0.0299739596, -0.0322998241, 0.0228053872, 0.035647139, -0.0003940189, 0.0157297179, 0.0112329377, 0.0819185525, 0.061179515, 0.0381456167, -0.0232214779, 0.0234102849, 0.0344005115, -0.0575523376, -0.0433289297, 0.0451776981, 0.0108866291, -0.0328081921, -0.0387464762, -0.0607567355, -0.0676448494, -0.0005698649, -0.0140343308, 0.0061959904, -0.0376777537, -0.0403126813, -0.0086770942, 0.0200679824, -0.0615592673, -0.0727440938, 0.0226573199, -0.0301962625, 0.0709421188, 0.0046471902, 0.0297710691, 0.0303529855, 0.0241989475, 0.0384615324, -0.0529246666, 0.0127690714, -0.0193749629, 0.060482163, 0.0162871201, -0.0770945102, -0.0099683851, 0.0076898211, 0.0308651533, 0.0304708853, 0.0207034051, 0.0120008737, -0.0471890271, 0.0187837929, -0.0712292269, 0.040737424, -0.0253188536, -0.0124397371, 0.0038575311, -0.0165329017, -0.0229508262, 0.0035672903, 0.0105686188, -0.0003300399, 0.0361267403, 0.0720888451, 0.0043643545, -0.0238394681, -0.0339738801, 2.421e-7, 0.0576965846, 0.0116043184, 0.0213683825, 0.0031169094, 0.0311365314, 0.0561617427, 0.0179055333, 0.0107547548, -0.024335824, 0.0217956286, -0.0275186673, -0.0197183602, 0.0741576254, -0.0161816664, -0.0537029132, 0.0137429591, -0.0233820304, -0.0012724353, -0.0315296464, 0.0263300631, 0.0338549316, 0.0286978465, 0.0535370782, -0.0415588282, -0.0425751843, -0.0620995536, 0.0357343294, -0.0366654731, 0.0073695024, -0.0126078511, -0.0019103866, 0.0123440167, 0.0440494791, -0.0215034056, -0.0364215225, -0.0153200394, 0.0093817236, 0.0441395752, 0.0153798554, 0.0604486875, -0.0270404611, -0.0417679176, 0.0052651381, -0.0579748973, 0.0580377765, 0.1287710369, -0.0307568945, -0.0547790043, -0.0411010757, -0.0548401996, 0.0424658544, -0.0225130189, -0.0270030759, 0.0111182965, -0.0055334, 0.0189856458, -0.0507100821, -0.0460005291, -0.0545237102, -0.0617690235, -0.0089648049, 0.0103048524, -0.0329345576, 0.0373722948, 0.0607472062, -0.0522550866, 0.0438923836, 2.268488972e-34, -0.0147369439, -0.0769514143, -0.0053389571, 0.0423540846, 0.0343760215, 0.0252020601, 0.014036037, 0.0386340022, -0.0071556447, -0.0237248, 0.0002990707 ]
http://arxiv.org/abs/2406.11102v1
http://arxiv.org/pdf/2406.11102v1
Grading Massive Open Online Courses Using Large Language Models
2024-06-16T23:42:11
2024-06-16T23:42:11
Shahriar Golchin, Nikhil Garuda, Christopher Impey, Matthew Wenger
cs.CL
cs.CL, cs.AI
Massive open online courses (MOOCs) offer free education globally to anyone with a computer and internet access. Despite this democratization of learning, the massive enrollment in these courses makes it impractical for one instructor to assess every student's writing assignment. As a result, peer grading, often guided by a straightforward rubric, is the method of choice. While convenient, peer grading often falls short in terms of reliability and validity. In this study, we explore the feasibility of using large language models (LLMs) to replace peer grading in MOOCs. Specifically, we use two LLMs, GPT-4 and GPT-3.5, across three MOOCs: Introductory Astronomy, Astrobiology, and the History and Philosophy of Astronomy. To instruct LLMs, we use three different prompts based on the zero-shot chain-of-thought (ZCoT) prompting technique: (1) ZCoT with instructor-provided correct answers, (2) ZCoT with both instructor-provided correct answers and rubrics, and (3) ZCoT with instructor-provided correct answers and LLM-generated rubrics. Tested on 18 settings, our results show that ZCoT, when augmented with instructor-provided correct answers and rubrics, produces grades that are more aligned with those assigned by instructors compared to peer grading. Finally, our findings indicate a promising potential for automated grading systems in MOOCs, especially in subjects with well-defined rubrics, to improve the learning experience for millions of online learners worldwide.
[ 0.0746937692, 0.0014827799, -0.0167364087, -0.0104914922, -0.0368684418, 0.0091337701, 0.0380170569, 0.0090411073, 0.0496372692, -0.0688222796, -0.0266118478, -0.0237581395, -0.0253534392, 0.0301366132, -0.0225031897, -0.0467481017, -0.0143820439, -0.0294731129, 0.0039590369, -0.0050582257, 0.0289710946, -0.0013894208, -0.0258340333, 0.0099246232, 0.0537569858, -0.0470450036, 0.0044805892, -0.0275641531, 0.0014966029, -0.0215756707, 0.0285510998, 0.0794378519, -0.0342176557, 0.0614416301, 0.0000020729, -0.0848806873, -0.0281200465, -0.0080084624, -0.0149159459, 0.0657633767, 0.0045093372, 0.062759161, 0.0017019986, 0.0184155852, -0.0289621502, -0.0236953609, 0.0291363616, -0.0186816435, 0.0454327129, 0.0287197307, 0.0166314654, -0.0157362092, 0.004852613, 0.0107191093, 0.0196007919, 0.0204796065, 0.0178367831, 0.0630025044, -0.0142233614, 0.0480600148, -0.0507469103, -0.0070969691, 0.0053816135, -0.0446029715, 0.0469621159, 0.0096207941, -0.0261141006, 0.0151382787, 0.000897776, 0.0249453261, 0.0172843691, 0.0138258198, -0.0214133989, -0.0162870754, 0.0100778136, 0.0498786159, -0.0832828134, 0.0523873009, -0.0159029271, -0.0241324808, 0.0095377322, -0.010935368, -0.0119325537, 0.0555866361, 0.0353477113, 0.058849819, 0.015543961, -0.0482112244, -0.0128987264, 0.0511298068, 0.0255261343, -0.0336881168, 0.0240672603, 0.041007854, -0.0216466412, -0.0164420512, 0.0179710817, 0.0061081494, 0.0350684077, -0.0053920792, 0.0766203105, 0.0301179327, 0.0230992772, 0.0365622677, -0.0043890649, 0.0802764669, 0.0516293123, -0.0067580924, -0.0070068385, 0.0467051305, -0.0679895729, 0.0065543111, 0.0341812633, 0.0517059267, 0.0573529452, 0.0266788471, -0.0869796649, -0.0179953612, -0.0404593274, 0.0322835296, -0.0148480264, -0.0378598534, 0.0193537567, 0.0269298181, -0.0427394956, 0.0850928724, -0.0068371203, 0.0115718953, -0.0109204222, -0.0117783397, 0.0187029969, 0.0168314744, 0.0229803734, 0.0172697362, 0.0009214096, 0.0139508825, -0.0011351708, 0.0020211204, 0.0382959917, -0.0671461299, -0.017577935, -0.030019125, -0.0102249794, -0.0766591951, -0.0290408153, 0.0272502974, 0.0120078558, 0.037941929, 0.0234499015, 0.0242619645, 0.0136139486, -0.0250941571, 0.0162593126, -0.0166633353, 0.037928544, 0.0240666866, -0.0155300619, -0.0154823028, 0.0168331545, 0.0064289733, 0.0234219413, -0.0469228327, 0.0573860854, 0.0214273501, -0.0184276775, 0.0148949157, 0.0491817668, 0.0193563066, 0.0649478212, 0.0546422563, -0.0452588275, 0.0264929496, 0.0045836745, 0.0698630139, 0.0603577867, 0.0425605923, -0.0054118237, 0.0171607044, 0.0105094956, -0.0189917516, 0.0290258583, 0.0320783257, -0.0041314065, 0.0353828333, -0.0277542155, 0.0027747566, 0.045569852, 0.0259076748, -0.0007687948, -0.0799825042, -0.0360448658, 0.0221360084, -0.0377361625, 0.0387158878, 0.0416497365, -0.0474648923, 0.0057089343, -0.024798099, 0.005590498, -0.0890884995, 0.0639372841, -0.0371254571, 0.0537650287, 0.0552321374, 0.0684510618, 0.0024480231, -0.033517316, -0.0352749079, 0.0506832711, 0.0730062947, 0.0795613453, -0.0347287543, -0.0654863939, -0.0325206369, -0.0538304523, -0.0056641679, -0.0202069748, -0.0284691583, -0.0000728155, 0.0150456149, -0.0034991307, 0.017388124, -0.103615962, 0.0070466558, -0.0195699912, -0.0551143438, -0.0261373781, -0.0015876055, 0.0209394302, 0.0297809802, 0.0072604651, -0.0058932547, -0.0024157749, -0.0171220731, -0.0329674222, -0.0680450499, -0.0109107122, 0.0204095952, 0.0615122318, -0.0642715171, -0.0004826265, 0.0033914961, -0.0304721054, -0.029310124, 0.0114056803, 0.0048652906, -0.0056490949, 0.0075515462, 0.0009147917, -0.0530544296, -0.0159540195, -0.0244508404, -0.0041493201, 0.0052295607, 0.1092119589, -0.0029655711, -0.0215874426, 0.022705717, 0.0079734614, -0.0432157107, -0.0250215288, 0.0056150965, 0.0191519894, 0.0404874198, 0.0218511112, -0.0608973354, -0.0595610663, -0.0334414355, 0.0000900079, 0.0257035811, -0.0083649494, 0.0341017768, -0.0640713498, 0.0006486658, 0.0370150246, -0.0407696515, 0.0017559006, 0.0078728357, -0.003320216, 0.0205719285, -0.0119820507, -0.0307824612, -0.0140404515, -0.0269006956, -0.0429090783, 0.0090566743, 0.0910133868, 0.0339830071, -0.0198378451, 0.0444521829, -0.0493138283, -0.0558325797, 0.0316453539, -0.0364144258, 0.014320679, -0.0246861875, 0.0463264659, 0.0526217259, 0.0199118573, 0.0005264967, 0.0830757245, -0.0406155959, -0.0201910008, -0.0355659686, -0.0203843471, -0.0504767522, 0.0070646922, -0.0789946094, -0.0210806001, 0.022170607, 0.0242877807, -0.0574175157, -0.0123062143, 0.0004815789, -0.0983199254, 0.0193492286, -0.010903839, -0.0082013495, -0.0045942049, -0.0070184497, 0.0139447423, -0.0199690238, 0.0841479525, -0.0037207648, -0.0017196303, -0.045877073, 0.0295944568, -0.0234148093, -0.000512881, 0.0033467258, 0.0162208863, -0.0134955449, 0.0046996279, -0.0115043875, -0.0028065357, 0.0234440509, -0.0632912591, -0.0171358176, -0.0312960558, -0.0288520325, -0.0189216025, 0.0096060745, 0.0149730537, 0.0215738211, -0.0056497795, -0.00329207, -0.0395928249, -0.0076863174, 0.0249080807, -0.0197367221, 0.0190348662, 0.0129328258, -0.0626919866, -0.0311111659, 0.0036113397, 0.001303775, 0.0016268782, -0.0291383993, -0.0033036277, -0.0592236631, 0.0247576404, 0.0752591267, 0.0768811405, -0.0211196486, 0.0317123495, -0.021923786, 0.046881143, -0.0361924581, 0.0128420638, 0.0331787579, 0.0174755789, -0.0714660659, -0.0193542875, 0.1213232055, 0.0083514918, -0.0505933538, -0.0469194539, -0.0534521118, 0.0150794322, 0.0326087475, 0.013885906, -0.0756332651, 0.003173002, -0.0241634212, 0.0339788906, -0.0299532767, -0.0415731929, 0.0214330759, -0.0804224461, 0.0319742896, 0.0209701657, -0.0140437586, 0.0094565544, -0.0464573503, 0.007048178, 0.0182321407, -0.0449061282, 0.0287499409, 0.0064278832, 0.0120427273, 0.0275886655, -0.0299115628, 0.0287800971, 0.0527064204, -0.0324771479, 0.031398233, -0.0025623296, 0.0188879576, -0.042895522, -0.0637148693, 0.0319966227, -0.0079502147, -0.0383633301, 0.0029034554, 0.0182597339, -0.0098120123, 0.0283514913, -0.0471810475, 0.0582376681, -0.0286290161, 0.0067670494, 0.0481058285, 0.1037360653, 0.0207515247, -0.0568288974, -0.0346756466, 0.0115933418, 0.002643487, 0.0466703847, 0.0215279441, -0.1002044827, -0.0126124239, -0.0570547655, 0.0049121957, -0.0102379518, -0.0205222052, 0.0248895679, 0.0234323032, -0.018168794, 0.0087704165, -0.0462333597, 0.009735168, 0.0121960025, 0.0565927625, 0.0445275009, 0.0327487253, 0.01706223, 0.005030897, 0.0283826776, -0.0464766584, 0.0113089317, -0.0803455338, -0.0148011306, -0.0204966646, -0.0087539842, -0.022520965, 0.0076740156, -0.0369752944, -0.0252479166, -0.0125438487, 0.0262742043, 0.0156029435, -0.0612992309, 0.0579996556, -0.0421135314, 0.0064519765, -0.0289233401, 0.0036160825, 0.0217849053, -0.0174210705, 0.0049245809, 0.0171897747, -0.0248277672, -0.0206417721, -0.0109357629, 0.0332312137, 0.0281446818, -0.0177414566, -0.0268603768, 0.0379688442, 0.0183499437, 0.0293087699, -0.0091820406, -0.0022206348, -0.0159175713, 0.0291694365, -0.0213427134, -0.0367560014, 0.0181315653, -0.0379683487, 0.0616826937, 0.0117261475, 0.0329452641, 0.0310514849, -0.0501817614, 0.0376432687, -0.0235905759, 0.0284489617, 0.0186181273, 0.0173470639, 0.0433754101, -0.026812477, -0.054543633, -0.0472799763, 0.0053169136, 0.0345315598, -0.0040764813, 0.1144357398, 0.0028176683, 0.0082811918, 0.070678778, -0.0058014146, -0.0639527887, -0.0115220929, -0.0167742688, 0.0197961964, -0.0002535923, 0.035150148, 0.034880653, -0.0368871987, 0.0153654488, -0.0349626578, 0.0173526537, -0.036879614, -0.0555370189, 0.025330523, 0.0060042627, 0.0182095077, 0.0292184241, 0.0338332392, -0.0189414937, 0.0238712654, -0.0161892958, -0.0148140714, -0.0352211446, -0.0063181734, 0.0049882545, 0.0315576531, 0.0001163073, -0.039293088, -0.0717713162, -0.0224137623, 0.0057038656, 0.0387274995, 0.0375047065, -0.0424054712, 0.0152236922, 0.0412104838, -0.054107029, -0.0405070148, -0.0362809636, 0.0591993965, -0.0117081953, -0.0433183126, -0.0106684873, -5.862918767e-33, -0.0054128491, -0.0445566848, 0.0114882654, 0.0593304671, 0.0154017815, 0.0158174485, -0.008689397, 0.0244268104, 0.0139371548, 0.0101918383, 0.0011940821, -0.023047274, -0.0076066339, 0.0537101366, 0.0748170689, 0.0285563078, 0.0240784958, -0.0208892692, -0.032874085, 0.0273769125, 0.0164336953, -0.0143575575, 0.042423483, -0.0342029259, 0.0792089403, -0.047586672, 0.006584642, -0.0116166137, -0.067832768, 0.021140784, -0.0255213361, 0.0556215756, 0.0103901485, -0.0120192217, -0.0020876729, 0.0029847487, -0.0087243244, -0.0288940128, -0.0041715652, 0.0158807579, -0.0023086134, -0.0439425372, 0.0212450437, 0.0210727155, -0.067321986, -0.0430646166, 0.0368044302, -0.004397314, 0.016955398, 0.0137394434, -0.0445774235, -0.0014998184, -0.0359163582, -0.0187733304, -0.0283394363, 0.0457008258, 0.0024575838, 0.0177995954, -0.011226492, 0.0873357877, -0.0070758737, 0.0686387271, 0.0657558143, 0.009867589, -0.0470311679, 0.0381958894, -0.018657675, 0.0197566357, 0.0054171127, -0.021987997, 0.0196134094, -0.0491507277, 0.0779503658, 0.07840994, 0.0200889315, -0.0070765298, -0.0785544813, 0.0212281905, 0.0448914617, -0.0273912661, 0.0254925042, -0.0449756905, -0.041619774, -0.0283557586, -0.0286641922, -0.0497579724, -0.0206240714, -0.0068954858, 0.0191780217, -0.0361141972, 0.0026458325, -0.0451399647, 0.0399141684, -0.0288663507, -0.0680525005, -0.0189642366, -0.0227203034, 0.0814604685, -0.0256896447, 0.0091279484, -0.0694258213, 0.0149944499, -0.0252948422, -0.0249062646, 0.0110743716, 0.0300394557, 0.0119482009, 0.0196624231, -0.0235282481, -0.01223573, -0.0410408862, -0.0597093292, 0.0443637669, -0.0200491082, 0.0035527945, 0.0247688629, 0.0150574613, 0.06891343, 0.031358026, -0.0042580464, -0.0047195274, -0.0561352484, -0.012848855, -0.0414128788, -0.0146639189, -0.0222727694, -0.0288400035, -0.0021802352, -0.0031257956, -0.0324259996, -0.0051142345, -0.0011529607, 2.723e-7, 0.0255140141, 0.0694677234, -0.0112760086, -0.0554747395, 0.0025255745, 0.0296433605, -0.0041371887, -0.0068739862, 0.0692249164, 0.004543981, -0.0122727035, -0.0117944218, 0.0389209762, 0.0155814253, -0.0702350438, -0.0713632926, -0.0057562413, -0.0286343526, -0.0615601502, 0.0207090061, 0.0699955001, -0.0283697341, 0.0558447465, -0.0269471537, -0.0508868471, -0.0246158186, 0.0289205257, 0.0124144126, 0.002046692, 0.0547277331, -0.0249504391, -0.0279492103, 0.0129730534, 0.0623763986, 0.0236229002, -0.0304062851, 0.0210909117, 0.0493381396, 0.0287486706, 0.0236889143, 0.0353745222, 0.0116113462, 0.0278535765, -0.083315894, 0.0190940164, 0.0153419292, 0.0116008092, -0.0151860099, -0.0380331129, -0.0385027491, 0.0343339927, -0.0468999259, -0.0063426672, 0.0074531981, -0.0214131102, 0.0050474615, 0.0000271066, 0.0295078531, -0.0308694504, -0.0277021993, -0.0117705893, -0.0832232013, -0.031192435, -0.0283554122, 0.0244553126, -0.0427113287, -0.0290912669, 2.468481658e-34, 0.0021007357, -0.0423641168, 0.0714749917, -0.011682705, 0.0087050963, 0.0089708827, -0.0122032361, 0.0138228042, 0.0096721593, -0.0176868569, -0.0417513102 ]
http://arxiv.org/abs/2406.15477v1
http://arxiv.org/pdf/2406.15477v1
CrisisSense-LLM: Instruction Fine-Tuned Large Language Model for Multi-label Social Media Text Classification in Disaster Informatics
2024-06-16T23:01:10
2024-06-16T23:01:10
Kai Yin, Chengkai Liu, Ali Mostafavi, Xia Hu
cs.CL
cs.CL, cs.AI
In the field of crisis/disaster informatics, social media is increasingly being used for improving situational awareness to inform response and relief efforts. Efficient and accurate text classification tools have been a focal area of investigation in crisis informatics. However, current methods mostly rely on single-label text classification models, which fails to capture different insights embedded in dynamic and multifaceted disaster-related social media data. This study introduces a novel approach to disaster text classification by enhancing a pre-trained Large Language Model (LLM) through instruction fine-tuning targeted for multi-label classification of disaster-related tweets. Our methodology involves creating a comprehensive instruction dataset from disaster-related tweets, which is then used to fine-tune an open-source LLM, thereby embedding it with disaster-specific knowledge. This fine-tuned model can classify multiple aspects of disaster-related information simultaneously, such as the type of event, informativeness, and involvement of human aid, significantly improving the utility of social media data for situational awareness in disasters. The results demonstrate that this approach enhances the categorization of critical information from social media posts, thereby facilitating a more effective deployment for situational awareness during emergencies. This research paves the way for more advanced, adaptable, and robust disaster management tools, leveraging the capabilities of LLMs to improve real-time situational awareness and response strategies in disaster scenarios.
[ 0.0273515359, 0.0240333918, -0.0029697041, 0.0043084207, 0.0120120887, 0.0475978404, 0.0090313721, -0.0128954053, 0.0220640693, -0.0961885452, 0.0357152596, -0.0338025652, -0.0635548383, 0.0220520198, -0.000538499, -0.0474191643, 0.0320932828, -0.0034587407, 0.0595464297, 0.007673054, 0.0137400702, 0.0341628306, -0.0046186768, 0.0275896117, 0.0008316044, 0.0270561948, -0.0279930476, 0.0155296167, 0.0358447209, -0.056427259, 0.0366075374, 0.0419907793, 0.0687906817, 0.0311214421, 0.0000017883, -0.0152290724, -0.031926997, -0.0517536886, 0.0064164782, -0.0298521984, 0.0180479884, -0.0720281899, 0.0047829654, 0.0304380152, -0.0441888757, -0.0331064612, 0.0506816059, 0.0649283603, 0.0741075277, 0.0846541673, -0.0068152747, -0.061627578, 0.0409433991, 0.0274312217, -0.0056208535, -0.02426962, 0.0219451971, 0.0001794864, 0.0074248244, 0.0356977582, 0.0476879738, 0.0379825048, -0.0046550231, 0.0468785465, 0.0125515815, 0.0273183342, -0.0278055109, -0.0063509946, -0.0214802455, 0.0485009365, -0.0169135537, -0.0182680935, 0.0200716164, -0.005182371, 0.0018839984, -0.0009048957, 0.003205173, -0.0166494269, -0.0271840598, 0.0316520445, 0.0020741737, 0.0364350751, 0.021006478, 0.0485295169, 0.0065072682, 0.0160371885, -0.0440696515, -0.0318855084, -0.0188215002, 0.0094866725, -0.0468661003, -0.0123619707, 0.0171748176, 0.0416053236, -0.0475472733, 0.0003415889, -0.0236165952, -0.0262087546, 0.0169949066, -0.1274473667, -0.0246971846, 0.0023858773, 0.0023788351, 0.0252825804, 0.0273913518, -0.0332969576, 0.0316447206, 0.0298513174, -0.0095020598, -0.0145367431, -0.1146684289, 0.0065248068, -0.0258788224, 0.0303335693, 0.0267986637, 0.0252284501, -0.0379681513, -0.0012472662, 0.0157313608, -0.0348949321, 0.0104658836, -0.0183487087, -0.0218661483, -0.022068575, 0.0032748296, 0.0084977215, -0.0369643606, 0.051820185, -0.0313545503, -0.0151351662, 0.0478837974, 0.0057570231, 0.0248448625, 0.0001060784, -0.0119352564, 0.0241428521, -0.0390540473, -0.0339832418, -0.0805269033, -0.0002873323, 0.0003643236, -0.0007878941, 0.001494718, -0.0591121502, 0.0201451648, 0.0269030966, -0.0133482376, 0.0024088216, 0.0200839844, -0.0384721272, -0.0469528325, 0.0406586081, -0.0642811358, 0.0438582525, 0.0505484156, 0.0050120298, 0.0691037327, 0.0756789222, 0.0336665623, 0.0526234396, 0.0767266899, -0.046098832, 0.0123816421, 0.0003112158, -0.054475408, 0.027422972, -0.0407832414, 0.0001469481, -0.0158750918, 0.01486851, 0.0020916774, -0.0421885438, 0.0180697814, 0.0406764708, 0.0578326434, 0.0114840278, 0.0252415668, 0.014414967, 0.0269384496, 0.0874214992, -0.0302006789, -0.0359843411, 0.0075518922, 0.0138499085, -0.0322860852, 0.0006333281, 0.0616112985, 0.0605867356, -0.0529354922, -0.0290350635, -0.0325527936, -0.0065348232, -0.0276463609, -0.0177853834, 0.0120505216, -0.0340358317, -0.0212695841, 0.0127472263, 0.0539823472, -0.0170322265, 0.0223952029, -0.0458864644, -0.0323434919, 0.0858020037, -0.0097089522, -0.06503319, -0.0207995418, -0.0398692116, 0.0923551247, 0.0181660373, 0.0132092442, 0.0486963093, -0.0010940394, -0.0505913533, -0.0374963991, 0.0051745237, 0.0233807862, -0.005825629, 0.0015680622, 0.0349190012, -0.0181345269, 0.0142109971, -0.0696983337, 0.0388338715, 0.0319043621, -0.0619414337, -0.0289981924, 0.0332938619, -0.0030931407, 0.011484216, 0.0236619823, -0.0339726731, 0.0437814258, -0.0174255148, -0.0771098062, -0.0070820153, -0.0210486464, 0.0332836211, 0.0171150025, -0.0070317881, -0.0138818733, 0.0041748933, -0.0799775794, -0.005175624, 0.0325317606, 0.0073815486, 0.0005694901, -0.0385266468, -0.0053970586, -0.0170887113, -0.0184904933, -0.0144664701, 0.0855711475, 0.0031657538, 0.0076855598, -0.0900909975, -0.024559373, -0.0004448765, 0.030546343, 0.0062122326, 0.0034597374, -0.026908299, 0.0666319728, -0.0038435345, 0.0118153989, -0.0278729796, -0.0582533889, -0.053499788, 0.0028254383, -0.031555701, 0.0208987556, 0.0295655075, -0.0109602762, -0.0254387185, 0.0193038899, 0.0037034976, 0.0158042628, -0.0001225291, 0.0172262676, 0.0135992942, -0.0117647471, 0.0398798622, -0.0170477722, 0.0022325043, -0.0074159256, 0.0256253369, 0.0363233276, -0.0792658329, -0.041136831, -0.0036094796, -0.0360200778, -0.0134601938, 0.0277411435, -0.0995712653, 0.0089295693, -0.0154447872, 0.0016708028, -0.0518664904, 0.0491840243, 0.0568912402, 0.0094653619, 0.0158331208, -0.003229439, 0.0142683927, -0.0644081533, -0.0873094052, -0.0631304607, -0.0022070818, -0.0439508446, 0.0412118621, -0.0192684494, 0.0192661155, -0.0217787363, -0.0464458503, -0.0140976412, 0.0051658517, -0.0479079969, -0.0011301871, -0.0007649863, -0.0144529007, -0.0024670721, -0.0171808861, 0.0185055379, 0.0435093828, 0.0305961482, -0.0480501167, -0.0744612888, -0.0659202412, 0.0443817936, -0.0308785625, 0.0202318504, 0.0324096978, -0.0008949403, -0.0001353516, -0.0221795831, -0.0139796352, -0.0265799034, -0.0199298784, -0.022232011, 0.0095159952, 0.0129749216, -0.0031830973, -0.0100394925, -0.0522774123, -0.0338628367, -0.0120996311, -0.0043208576, 0.0195450746, -0.0678658411, 0.0225035083, 0.0601786673, 0.0180743262, 0.024774326, -0.0296797771, -0.0233028494, 0.0491242781, -0.0086278236, -0.0020878867, -0.0027867178, -0.0185917038, 0.0249469522, 0.0221384522, 0.0118453093, -0.0431811251, -0.01848289, -0.0048441603, 0.0296727084, -0.0295012519, 0.0114890849, 0.0159783382, 0.0438797176, -0.0145479254, 0.0110067353, 0.0929975957, 0.0463328734, -0.0744938701, 0.0097417347, -0.0148398792, -0.0084106633, 0.0335197933, 0.0082908869, -0.0003970605, -0.0366042331, -0.0321950167, 0.005166498, 0.0046489304, -0.0377055481, 0.0213780608, -0.0321862288, 0.0184255596, 0.0076385788, -0.0257911608, -0.0095099304, -0.0746535808, 0.0168441907, 0.0097894873, -0.0165463649, -0.042364236, -0.0226745903, -0.0123965675, 0.0330829397, -0.0362083018, -0.0825247988, 0.0004019741, -0.0367614217, 0.0356148556, 0.0123368166, 0.0306431483, -0.0321129039, 0.0172742065, 0.063219361, -0.0159087572, 0.008009335, -0.0059155049, 0.0431177467, -0.0028354509, 0.0028806035, -0.0040067197, -0.0020040988, -0.0798005387, 0.0028477223, 0.012011095, 0.0763266608, -0.0096477987, -0.0121403672, -0.0320521854, 0.0071763815, 0.0768637285, 0.0280080419, -0.0055017006, -0.0506343395, 0.0054758862, -0.0303500295, 0.0289538447, -0.0274373963, -0.0357948728, 0.0344262682, -0.0485094748, -0.0910393372, -0.0262017362, -0.0322330147, 0.0269768387, -0.0122443624, -0.0488273725, -0.0040671071, 0.0395476967, -0.0220447406, -0.0249063913, 0.0346456431, -0.0194788352, 0.0201127045, -0.0467636064, -0.0328284502, 0.013080542, 0.0091437893, -0.0164925568, 0.0219935626, -0.0468400531, -0.0378600918, 0.0409564637, -0.0238972548, 0.0154146869, -0.0574611202, 0.0022290042, -0.0588860735, 0.0221099872, 0.0902505219, -0.0506693907, -0.0362577699, 0.0076860925, -0.0033337297, 0.0058435672, 0.0378811322, -0.010795013, 0.0748058408, 0.0041596098, 0.0131265083, -0.0849757344, -0.0142630152, -0.0307700578, -0.0215288885, 0.0793931186, 0.0046102572, -0.1120294631, -0.0212856345, -0.029204648, 0.0199225787, -0.0223609321, 0.0201262962, 0.0448634736, 0.0199975707, -0.0020102679, -0.0229679942, 0.0309982225, 0.0178127643, 0.0060247234, -0.0258755386, 0.0097981729, 0.0420647003, 0.0523886047, -0.0043696123, 0.0057762046, -0.0139506189, 0.030027315, 0.0341893323, -0.0475359447, -0.0068382039, 0.0121284863, 0.0037911453, 0.0218471158, -0.0123031307, 0.0279856119, -0.0255861022, -0.0401904434, -0.0303232893, -0.0100121088, 0.0841219425, 0.0359617695, -0.0009513791, -0.0017920581, -0.0145527404, -0.0103204735, 0.0407634154, -0.0100205438, -0.0417209938, 0.0195625667, 0.0142190754, -0.0495767109, 0.0467840433, 0.0452051498, 0.0268823691, -0.0005563512, 0.0401315801, -0.0289595965, 0.0026214796, -0.0112868017, -0.0009067947, 0.0639270544, -0.0087304357, 0.0501035191, -0.0373596475, -0.0093963454, 0.0516004339, -0.0545730107, -0.0435206965, 0.0019602168, 0.0208807476, 0.0532542877, -0.0019722697, 0.0340021141, -0.0463336706, -0.0092515098, 0.001717173, -0.0041685915, 0.0057569658, -6.400816533e-33, 0.0267150197, -0.0615653507, -0.0025620118, -0.0416099206, 0.0032752175, 0.0267484747, 0.0127777243, 0.0221009832, 0.0000937649, -0.0110811442, 0.0189467482, 0.0168121476, 0.0048822206, -0.0092908712, 0.0427795574, -0.0126769375, -0.0025037345, -0.0028808496, 0.0107331034, 0.0249610953, 0.0595705509, 0.0098930029, 0.0416902229, -0.0990412682, 0.0033778572, -0.0153107354, -0.0141610792, -0.0056306622, 0.0608295612, 0.0417451747, -0.0394010656, 0.0803210586, 0.0544022173, -0.0217496175, 0.0130097326, 0.0583638102, 0.0130579378, -0.0096867634, -0.0028522101, -0.0418515392, -0.0062404149, -0.037352927, -0.0040727626, 0.0448639728, 0.0040020603, -0.0250722393, 0.0445839949, 0.0063996576, 0.0042750477, -0.0263137817, -0.07716389, 0.0319861509, -0.0235296916, 0.0004897342, -0.0044375742, 0.0268471017, 0.0114886202, 0.0576178171, -0.0547645614, 0.0094866287, -0.025352329, 0.0088368515, 0.0145169077, -0.0203574374, -0.0627564117, 0.0538050421, -0.0504528992, 0.0123704812, -0.0279795602, -0.0089768572, -0.0141770346, 0.0333268493, 0.038689971, 0.1220268011, 0.0188676082, -0.0520840585, -0.0745101944, 0.0044188546, -0.0140454611, 0.0123029407, 0.0410616621, 0.017225394, -0.0217951257, 0.004308573, 0.0039696516, 0.006754783, -0.0473884493, 0.0175649561, -0.0228297878, 0.0144636007, 0.0022566849, 0.0886274353, 0.0183011275, 0.0257098358, -0.0178124961, 0.0202825665, 0.0115548521, 0.0601938702, -0.0006782546, 0.0483191311, -0.0676738992, -0.028051421, 0.0236296095, -0.0081005702, 0.0106162308, -0.0129126655, 0.0413710587, 0.0226528551, -0.0248018652, 0.0242863093, 0.0056411382, 0.0067045782, -0.028824769, -0.0174702182, -0.0038024394, 0.0200466849, 0.0293531008, 0.0101202726, 0.054265935, -0.0297030266, 0.0440399051, -0.0419944488, -0.0514437221, 0.0150574101, 0.018024385, 0.011408153, -0.052300632, -0.0196800847, -0.014350391, -0.0281170253, -0.013225548, 0.0015289538, 2.554e-7, 0.056629464, 0.0863626972, -0.012460202, -0.0166048389, 0.0032675404, 0.0507766455, 0.0232646354, 0.0360195301, 0.0134088295, -0.0309698619, 0.0101865409, 0.0684528723, 0.0574162677, 0.0428069457, -0.0274432339, -0.0116447145, -0.0459808186, 0.0358690508, -0.1027356684, 0.0196000542, 0.0976072401, 0.060844522, 0.0343871266, -0.0017600174, -0.0475014485, -0.0492579415, 0.0286253504, -0.0485811345, -0.0299168732, 0.046090357, 0.0193894673, 0.0413416587, -0.0337793231, 0.0237319451, -0.0313002728, -0.0430466235, 0.0274649598, 0.0435907952, -0.0185059607, -0.0087998761, -0.0035504408, -0.0207751729, -0.0234694146, -0.0463829897, 0.0467665009, -0.0656830519, -0.0275446512, 0.0488490351, -0.0393552557, 0.0191578101, 0.0171891954, -0.0483968966, -0.0529982224, 0.0307346247, 0.000653863, -0.0185594615, -0.0387465805, -0.0664583445, 0.0289582554, 0.0484543517, -0.0222564675, -0.0104303109, -0.014589848, 0.0158135239, 0.077402994, -0.0375098623, 0.0848175436, 1.867239371e-34, 0.0087980824, 0.0063704355, -0.0341362469, -0.0308253877, 0.0194288511, 0.0225084256, -0.0482167415, -0.0064938189, -0.0090608895, -0.0491302349, 0.0468527414 ]
http://arxiv.org/abs/2406.11097v2
http://arxiv.org/pdf/2406.11097v2
InstructCMP: Length Control in Sentence Compression through Instruction-based Large Language Models
2024-06-16T23:00:47
2024-06-18T18:35:52
Juseon-Do, Jingun Kwon, Hidetaka Kamigaito, Manabu Okumura
cs.CL
cs.CL, cs.AI, I.2.7
Extractive summarization can produce faithful summaries but often requires additional constraints such as a desired summary length. Traditional sentence compression models do not typically consider the constraints because of their restricted model abilities, which require model modifications for coping with them. To bridge this gap, we propose Instruction-based Compression (InstructCMP), an approach to the sentence compression task that can consider the length constraint through instructions by leveraging the zero-shot task-solving abilities of Large Language Models (LLMs). For this purpose, we created new evaluation datasets by transforming traditional sentence compression datasets into an instruction format. By using the datasets, we first reveal that the current LLMs still face challenges in accurately controlling the length for a compressed text. To address this issue, we propose an approach named "length priming," that incorporates additional length information into the instructions without external resources. While the length priming effectively works in a zero-shot setting, a training dataset with the instructions would further improve the ability of length control. Thus, we additionally created a training dataset in an instruction format to fine-tune the model on it. Experimental results and analysis show that applying the length priming significantly improves performances of InstructCMP in both zero-shot and fine-tuning settings without the need of any model modifications.
[ 0.0247896798, 0.054407049, 0.0052181361, 0.0068992102, -0.0414693616, 0.0090356143, 0.0229610987, 0.0184041131, -0.0449384004, -0.019881906, 0.0024837148, 0.0017591973, 0.0272642709, -0.0314727426, 0.0384803005, -0.0304393787, -0.0041928287, -0.0088712573, -0.0177257322, 0.0174526908, 0.0336991698, -0.0038055435, 0.0388590507, 0.020941779, 0.0054024132, -0.0193965323, -0.0132244965, 0.0192836262, 0.0135082239, -0.002735706, 0.0059039276, 0.0242976286, 0.0484639257, -0.0181666482, 0.0000018881, -0.0310922042, -0.0379409268, 0.0054229163, -0.058306627, 0.0399693809, 0.0665972009, -0.0572636351, 0.0321704671, 0.0333758183, -0.0095818397, -0.0169350971, 0.0235870853, 0.0595161244, 0.0802219808, 0.1010428667, -0.0184745621, -0.0312496144, -0.0118266279, -0.0659220219, -0.0164229833, -0.0172224734, 0.0294508059, 0.0050970106, 0.0093276268, 0.0116402535, -0.0459652878, 0.0307725053, 0.0444702245, 0.0146917617, -0.0058929869, 0.0116537223, -0.0370799191, -0.0097850561, 0.0025598456, 0.0503325872, -0.0037664503, -0.0168843362, 0.0112342928, 0.0184595156, 0.0171830263, -0.0366999321, -0.0886673555, 0.068330884, 0.0232056137, 0.0309636109, -0.0196967032, 0.0435981639, -0.014165842, -0.0027128689, -0.0344487727, 0.0209850017, 0.0008266793, -0.0468053743, -0.0191076286, -0.0125413639, -0.02151726, -0.0472423919, -0.0186560918, 0.033856459, -0.0180882905, -0.0082121938, -0.0802596211, -0.0661875382, 0.016791502, -0.0018684382, 0.076664269, 0.0239862408, 0.0365360193, 0.0487060547, -0.0382326841, 0.0936507881, 0.0249092784, -0.0052496111, -0.0608923733, 0.0015478916, -0.0470372885, 0.0205032658, -0.0358456932, 0.0237616766, -0.0427618325, -0.0102275815, -0.0335897356, 0.0165889896, 0.0212060977, 0.0133831101, 0.0290766042, -0.0242043119, -0.0283115879, -0.0270796269, 0.0219385251, 0.038312804, -0.0431712009, 0.0048232041, 0.0082366709, -0.0017243441, -0.0605378412, 0.031410601, 0.0246161968, -0.0111741852, 0.0401943624, 0.0313748196, -0.0288789459, -0.0390336514, 0.0068310834, -0.0393400118, -0.0139153274, -0.0579462871, -0.0114963707, -0.0649414286, 0.0337335244, -0.0257652868, 0.0046198433, -0.0158747323, 0.0015172842, 0.0052854004, -0.0555553995, 0.0323422477, 0.0199110191, 0.0346365012, -0.004677156, -0.0007629876, 0.076041922, 0.0734452307, 0.0428275913, 0.0549476556, 0.027859401, 0.0046076602, -0.0036714666, 0.0436791442, 0.0446223244, 0.0299853124, -0.019737551, -0.0036238011, -0.0069599617, -0.0071733836, 0.0390024073, 0.0768219233, -0.0477570444, 0.0148844952, 0.0563867763, 0.0355509371, 0.027733935, 0.0214296542, 0.0409301817, 0.0232186988, -0.0047960621, 0.0439806059, -0.0143907219, 0.0139053734, -0.0392335355, 0.0620594732, 0.100277558, 0.0195053499, -0.037687216, -0.0505231656, -0.0140401525, -0.0221408568, 0.0285962839, 0.0183315556, -0.0052802642, 0.0042186347, -0.0445845574, 0.026392648, -0.0069638244, -0.0637051538, -0.0141749103, -0.0148563897, -0.0131833013, 0.0391673967, 0.0554317385, -0.0028018835, -0.0221466031, -0.0268117543, 0.0249530561, 0.0297010001, 0.0020083764, -0.0239451826, 0.0030806786, -0.0680777133, -0.0247411057, -0.0234107636, 0.0075085675, -0.0356997438, 0.0315676741, -0.015407023, 0.0357348472, -0.0082957195, -0.0432010852, 0.0344227031, -0.0320614502, -0.0553634875, 0.0076388321, -0.0083695604, 0.0312846862, -0.0129377162, -0.0352940932, 0.0050315182, 0.0212204214, -0.0690911114, -0.0168254673, -0.039064873, -0.038248539, -0.0684398636, 0.0496997833, -0.068771787, 0.0138119468, 0.0336262546, -0.047700014, -0.042473983, -0.0043126144, -0.0578830652, 0.0120453192, -0.0244879313, 0.0247894488, 0.0104785897, 0.010756176, -0.035407953, 0.0252267122, -0.0130368778, -0.0066494741, 0.0419083275, -0.0511836149, -0.0133846309, -0.0249460079, -0.0169225298, -0.0100183254, 0.005855727, -0.0163643118, 0.0614875741, 0.0438061617, -0.0083372546, -0.0374002717, -0.1062870473, 0.047833275, -0.0084059341, 0.0106240772, 0.0301110353, 0.0089094006, -0.0167544596, 0.0094333105, -0.0439234413, -0.0311359335, 0.0116545269, 0.0031227395, 0.0170908626, 0.0092132045, 0.0163441636, -0.0416799076, -0.0401917025, 0.0169266462, 0.0468863994, -0.0337808542, -0.0214794129, -0.0224161446, 0.0785355046, -0.0060953326, -0.017474534, 0.016491117, -0.0472940765, -0.042641975, -0.0132796345, 0.0690455511, 0.0688340664, 0.0059731337, 0.0274164472, 0.0555317514, -0.0182963479, -0.0206058063, 0.0294493269, -0.0492503121, -0.01823112, -0.0091465134, -0.0493038222, -0.002912963, 0.0797333345, -0.0072370577, 0.0024098158, -0.0594086088, -0.0075840568, -0.0134062227, -0.0083666146, -0.0151311895, -0.0162376687, 0.0149129322, 0.0028501076, -0.0426536053, -0.0314708054, 0.0573988743, -0.039747335, -0.0098047769, -0.0442977846, -0.0108706197, -0.072164923, 0.050146848, 0.0180121493, 0.0189111382, 0.0345331095, 0.0381105207, -0.04481408, -0.0003274782, 0.0325707346, -0.0230657086, 0.0095918635, -0.0215166193, -0.0067308191, -0.054576844, -0.0171624608, -0.0062299315, -0.0587990172, 0.0133282496, 0.0248672422, 0.0544182509, 0.0095323604, -0.0487307273, 0.0177879427, 0.0368011706, 0.0433423258, -0.0408426784, 0.0131347151, -0.0162489321, 0.0182285421, 0.077408202, 0.0015541728, 0.0046017766, -0.0597328022, 0.0345539227, 0.0237961262, 0.0204115622, 0.0226600487, 0.0221840423, 0.013801652, 0.0134505378, -0.0218518078, 0.0141871301, 0.0353354737, 0.0699860901, -0.0500266403, -0.0179946944, 0.1177223176, 0.0418519937, -0.0324278474, -0.0145553146, 0.0180806872, 0.0373811647, 0.0085578701, 0.0274134725, -0.0747086927, -0.0318345167, 0.0318584256, 0.0001571907, -0.0103943376, -0.0060128351, -0.0468019694, -0.1208144948, 0.0189779773, 0.0468554385, 0.0010853966, -0.022923179, -0.0184942819, 0.0097358488, -0.0047276425, 0.015610571, 0.0176682174, -0.0531438068, 0.0060847658, 0.0068360926, -0.0423154533, -0.0308982618, -0.0118481293, 0.0055039525, 0.0449197739, 0.0450041182, 0.0082445266, 0.0116572324, 0.0251172725, 0.0208858773, 0.0019135061, -0.0217995569, -0.024628479, 0.0538181663, -0.011510429, 0.0183844119, -0.0001990195, 0.0683988854, 0.0107991649, 0.0180012938, 0.030039547, 0.0395841338, 0.0303409565, -0.0242755543, -0.0494069122, -0.0076985457, -0.0250874441, 0.0890702382, 0.0609126501, -0.0115272831, -0.0451449752, -0.0094257155, -0.0562469512, -0.0808559135, -0.0180214755, 0.0018649725, -0.0389856584, 0.0131342066, -0.056155704, -0.0264488142, 0.0519447923, -0.0157870445, 0.0018239297, -0.0425453037, -0.0187071227, 0.0150055764, -0.0659570247, -0.0325286724, -0.0466120429, -0.008246813, -0.0713220462, 0.0105301449, 0.0040641511, -0.004710238, 0.0058572232, 0.027811097, -0.1104983389, -0.0630944818, -0.0619044043, 0.0471747518, 0.0172888972, 0.0803786367, 0.0184474047, -0.0341894105, 0.0664920136, 0.0202824157, -0.0459274314, 0.057721056, 0.0332376808, -0.0316727795, 0.0194067117, 0.0423318259, -0.0351938233, 0.0603943393, 0.0129502183, 0.044488959, -0.0424334668, -0.031136442, 0.0342238694, 0.0356525257, 0.0096701169, -0.0053900117, 0.0080804825, 0.0070103663, -0.0009916273, -0.0413975194, -0.0097149201, -0.033117, 0.0257219747, 0.00247939, 0.0209415313, 0.0199286491, 0.0413762257, -0.0117203658, -0.0017916737, -0.0437653512, 0.0191907529, -0.0530297123, -0.0742881745, -0.0144890333, 0.0192034375, -0.0342040621, -0.0173996314, -0.0140514486, -0.001006021, -0.0025244283, 0.0065027885, 0.0262668896, 0.0634915456, -0.0423706695, 0.0383515805, -0.0342288204, 0.0528414287, -0.0385823585, 0.0263887923, 0.0561227277, -0.0421423614, 0.0357545391, -0.0054116622, -0.000537439, -0.0278199855, 0.0076061608, -0.0046068965, 0.0050873077, -0.0171631705, 0.0290087871, -0.0086878454, -0.0063901986, 0.1031760201, 0.0114824558, 0.0219497792, 0.0124263987, -0.0043283105, -0.0485224798, -0.0224206187, -0.0151003748, 0.0053182603, 0.0129738441, -0.0056325095, -0.02015936, -0.0334118232, 0.0084838346, 0.0111204311, 0.0197024327, -0.014016876, 0.0342557281, 0.0024740268, -0.02177082, -0.0130154565, -0.021140337, -0.0227940474, 0.005661888, -0.0352656618, 0.0005410117, -5.788918091e-33, -0.0342230611, 0.0207539797, 0.0258569084, -0.0194233153, -0.0560631342, 0.0316373818, -0.0422514379, -0.0059167817, 0.0213950928, 0.0055437386, -0.0388866886, -0.013714578, 0.0000769933, 0.0343105383, 0.0070610479, 0.0325014554, 0.0717261285, -0.0182331037, -0.0414379053, 0.0146236718, 0.0043220599, 0.0087677445, 0.0052373554, 0.025970716, -0.0052333986, -0.0226435922, -0.0347862393, -0.0049563036, 0.0528931916, 0.053274978, -0.0081415474, 0.0048195757, 0.0264638085, -0.0775284916, -0.0519754924, 0.0521072969, -0.0744019747, -0.0245263875, 0.0525504388, -0.0523749068, -0.0436216667, -0.0941995084, 0.0183753651, -0.0197348539, -0.0044244775, -0.0668581501, 0.0164743941, -0.0664202273, -0.0120008625, -0.059396252, -0.0195922889, -0.0069285403, -0.0379154906, -0.0639989674, 0.0760531574, 0.0528172292, -0.0208248459, -0.0016619255, 0.00268362, 0.0457184464, 0.0400987007, 0.0916768759, 0.0249935016, -0.0006850898, 0.0131464163, 0.0115749789, -0.0462935418, -0.0263333339, -0.029288413, 0.0227607954, 0.0079163592, -0.004591566, 0.0449769311, 0.0298479572, 0.063540861, 0.0017214959, -0.0609449558, 0.0344910733, 0.0138646085, 0.0393497497, 0.0319455303, 0.0171878356, -0.0034501769, -0.016708836, -0.0254073832, 0.0247195885, 0.0006891638, -0.015242395, 0.0127318986, 0.0477196649, -0.0152743608, -0.0163012836, 0.0694087669, -0.0370130949, 0.033064805, 0.0291574337, -0.0230669342, 0.0324387923, 0.0112779634, -0.0081432303, -0.0725543424, 0.0282953959, 0.0468432307, -0.0238456205, 0.001282739, 0.0019119056, 0.0650273114, 0.0237791743, -0.0384721197, -0.0132020861, -0.0035403734, 0.0156612191, -0.0163890887, 0.0122087486, 0.0037305055, 0.053729713, -0.0026500414, 0.0219892375, -0.0086639384, -0.0348130427, -0.0135636758, -0.001951301, 0.0296718776, 0.0299632959, -0.0148183797, 0.0242525656, -0.0454932041, 0.0143962717, 0.0166846234, -0.0338428877, -0.0211263355, 0.0177365541, 2.483e-7, -0.0086086644, 0.0536650829, 0.057570789, -0.0061324569, -0.0015903335, -0.0008867437, -0.021317739, 0.0246334746, 0.002610889, -0.0151416874, 0.0589688458, 0.050375402, 0.0682922453, 0.0021532881, -0.0976891294, 0.0162960589, -0.0414457507, -0.0136891268, -0.0564708486, -0.0324525461, 0.0668223426, 0.1066200957, 0.0112361135, 0.0302181449, -0.0116277141, -0.0027942788, 0.0288715456, -0.0251345485, -0.0418843776, 0.0133155854, 0.0010070233, 0.0063614417, -0.0430519879, 0.0004409725, -0.0080650523, 0.0129110944, 0.0056633065, 0.088169083, 0.0229116082, 0.0020396747, 0.0081839422, -0.0151287206, -0.0477190278, 0.0152226556, 0.079766877, -0.0598206706, -0.0061344025, -0.0274774395, -0.007744519, 0.0136824679, -0.0064773434, -0.0157853924, -0.0026798751, 0.0374093093, 0.027263049, 0.0123517942, -0.0036788299, -0.0704720318, -0.0175454263, 0.0306418687, -0.0206433237, -0.0055151954, -0.0347272456, 0.0132357487, -0.0011727872, -0.0924182534, -0.020682903, 2.742208145e-34, 0.0526237637, -0.0095610917, 0.0142371962, -0.0089310696, 0.0122292032, -0.0656852424, -0.0627630278, 0.0273964442, 0.0091929017, -0.1155196056, -0.0263515674 ]
http://arxiv.org/abs/2406.11096v2
http://arxiv.org/pdf/2406.11096v2
The Potential and Challenges of Evaluating Attitudes, Opinions, and Values in Large Language Models
2024-06-16T22:59:18
2024-07-01T10:04:09
Bolei Ma, Xinpeng Wang, Tiancheng Hu, Anna-Carolina Haensch, Michael A. Hedderich, Barbara Plank, Frauke Kreuter
cs.CL
cs.CL
Recent advances in Large Language Models (LLMs) have sparked wide interest in validating and comprehending the human-like cognitive-behavioral traits LLMs may have. These cognitive-behavioral traits include typically Attitudes, Opinions, Values (AOV). However, measuring AOV embedded within LLMs remains opaque, and different evaluation methods may yield different results. This has led to a lack of clarity on how different studies are related to each other and how they can be interpreted. This paper aims to bridge this gap by providing an overview of recent works on the evaluation of AOV in LLMs. Moreover, we survey related approaches in different stages of the evaluation pipeline in these works. By doing so, we address the potential and challenges with respect to understanding the model, human-AI alignment, and downstream application in social sciences. Finally, we provide practical insights into evaluation methods, model enhancement, and interdisciplinary collaboration, thereby contributing to the evolving landscape of evaluating AOV in LLMs.
[ 0.0357358381, 0.0773490667, -0.0110243801, 0.0289171692, -0.045273561, 0.0310406927, -0.0063451915, -0.035317339, 0.0403090678, -0.0298486371, -0.0715223998, -0.0499983281, -0.0133532397, 0.0235018246, -0.0212928075, -0.0064377566, 0.0402803011, 0.0073002386, 0.0776864886, -0.0106205847, 0.0154993739, 0.0357169919, 0.0126472907, 0.0252711568, 0.0206752941, 0.0033833508, 0.0180590041, -0.0399195626, 0.0484680384, -0.026429899, -0.0213465877, 0.0225647315, -0.005870373, 0.0038407622, 0.0000020849, -0.0712144375, 0.0055419635, -0.0204496514, 0.0202553812, 0.0289230254, 0.0910735428, 0.0359928235, -0.0077591338, 0.0125532383, -0.0561262965, 0.0185955409, 0.0017057775, 0.005812909, 0.0286747981, 0.0300111547, -0.0054536923, -0.0115493434, -0.025132576, 0.0096380422, -0.0242200922, -0.0125087891, 0.0409682952, 0.0168317426, -0.0431711338, 0.0110873831, 0.0187482294, 0.026026696, -0.0003853478, -0.0054429821, 0.0015187431, -0.023826275, -0.0192260295, -0.0475705862, 0.0100944005, 0.0443022773, 0.0587346926, 0.0050370912, -0.0178146958, -0.0084198844, 0.0261363108, 0.0287823547, -0.0236184467, 0.0262258984, 0.027823627, 0.0197645966, 0.0365605392, 0.046567034, 0.0010700757, 0.0477974452, -0.0344494879, 0.0872367918, -0.020411592, -0.0208286978, 0.0207101237, 0.0029243936, -0.0443399809, -0.0340791419, 0.0168166645, 0.0362202711, -0.0159578379, 0.0279544909, -0.0118765077, 0.0222763699, 0.0390500315, -0.0930861756, 0.0705826506, 0.0310097616, -0.0133356573, 0.0371965058, 0.0240203254, 0.0645550862, 0.0235504825, -0.0053242934, -0.0217401162, 0.0104093645, -0.0465493724, 0.0070507699, 0.0145946546, 0.0221224166, 0.0296197124, -0.0045089624, -0.037085209, 0.0024473418, -0.0376939103, 0.0022054764, -0.0087569831, -0.0098845446, 0.0472705252, -0.0130677437, -0.0804232284, 0.0417023934, -0.0445709489, 0.0300764386, -0.0288596693, -0.0295603946, 0.0750394091, 0.0126818232, -0.021015415, -0.0310805123, 0.0132092601, 0.0542891882, 0.0138424234, -0.0055103945, -0.0194146875, -0.0051112673, -0.0341521837, -0.0956134051, -0.0250253286, -0.0454286076, 0.0020141662, 0.0310394708, 0.002922581, -0.0648101345, -0.0073303371, 0.0258467644, -0.0422188826, 0.0169829875, 0.025295753, 0.0300842859, -0.0021928509, 0.0145048285, 0.0227160174, 0.0439667851, 0.0231928863, 0.0254642311, 0.0383527316, -0.0093125217, -0.0184013117, 0.0223769192, 0.0026089633, -0.0100181857, -0.0554096475, 0.0404657312, -0.0355886333, 0.0144490665, 0.0229081139, 0.1171542704, 0.0066851294, -0.0262427591, 0.0794525445, 0.0527751558, -0.045749791, 0.0101769157, 0.0304622799, 0.0140747279, 0.050450597, -0.0200803336, -0.0276138578, 0.0301676393, -0.022978723, -0.0097240219, 0.0256857239, 0.0487830751, -0.0064662481, -0.0606028251, -0.0278144293, 0.0169260409, 0.0569257364, 0.0189629141, 0.0214814693, -0.0597893782, 0.0077244351, -0.0542031117, -0.0031262059, -0.0704924315, 0.0075736837, -0.0809366181, 0.0346182585, 0.0697897002, 0.0219971947, 0.0302943159, 0.0034163932, 0.0049864524, -0.0474760979, 0.037659131, 0.0682760701, -0.0379911028, -0.0528152287, -0.0255722404, 0.0310163721, 0.0167259611, 0.0051250998, -0.0105432589, 0.0079346029, 0.0414287113, -0.0198037457, -0.0370380878, -0.0419220291, 0.0021149495, -0.0496638417, -0.0034259669, -0.0553928018, 0.0357917249, 0.0507564172, 0.0507819317, 0.0130323358, 0.0302725881, 0.0062315683, 0.0161014646, -0.0160205886, 0.0196425971, -0.0257479269, 0.0408199281, 0.0371817984, 0.0018994396, -0.0033440983, 0.0254157856, 0.0286842268, 0.0144717153, -0.0015534511, -0.012393252, 0.0224003717, -0.0394412503, 0.0265733656, -0.074454695, -0.0131354155, -0.0402307771, 0.0434984714, -0.0302446503, -0.0049818917, 0.0145822763, -0.0569803044, 0.0498609543, -0.0072570825, -0.0537764803, -0.0212526154, 0.0218840707, 0.0145899123, 0.0458322391, -0.0005816339, -0.0463746265, -0.0318177678, -0.0824268609, -0.047998134, 0.006822424, 0.0310435575, 0.0119058993, -0.0400113054, -0.0219068453, 0.0580117293, -0.0542167351, -0.0115674352, 0.0185315385, 0.0428677276, 0.0279406067, -0.0196630824, -0.0130725037, -0.0446004383, 0.0071434816, -0.0246038176, 0.0095564453, 0.0112504084, -0.0043717725, -0.0269300863, 0.0344252288, -0.0766227767, -0.0120062903, -0.0077146343, -0.0683793798, 0.019640835, 0.017622117, 0.0510638915, 0.0674276277, 0.0187076665, 0.0499062687, 0.0540766828, 0.0024186145, -0.058987692, -0.0316661969, -0.0337984487, 0.002899552, -0.0319221988, -0.0633630902, -0.009153109, 0.0720060244, 0.0062073688, -0.0079255458, -0.0469571576, 0.0373180434, -0.0668948218, -0.0453290492, -0.0298185404, -0.0155346273, -0.0091440091, 0.0591168627, 0.0157459956, -0.0502078608, 0.0860615969, 0.0048146429, 0.043098513, -0.0385068171, -0.0319306217, -0.0481776819, 0.0493718795, -0.0152897956, 0.0123072769, 0.0016364475, 0.0403440185, -0.0369840972, -0.0341981165, -0.0396516509, -0.05700076, 0.0320068561, -0.0143104345, -0.0119026871, 0.0415521897, -0.005343887, 0.004851996, -0.0175354686, -0.0630710721, 0.011545158, 0.0562447086, -0.0390522219, -0.0077145305, 0.0101154372, 0.0393438786, -0.0741136298, 0.0023662748, -0.0131477546, 0.0137295583, -0.0094764428, 0.0762150958, 0.0196816511, 0.0716929361, -0.0173739512, 0.0086330455, 0.0278403703, 0.0170122404, 0.0034385119, -0.0123068588, -0.0145550193, 0.046280168, 0.0051069628, -0.0130199157, 0.0210722387, 0.0489025712, -0.0012021231, 0.0105379419, 0.1160623804, 0.0494126193, -0.0418695286, 0.0125232842, -0.0281848386, 0.0379816443, 0.0200856104, 0.0114672724, -0.0475832336, -0.0089158127, -0.0181883331, -0.0079312362, -0.0560794212, -0.0311952122, 0.0088137211, -0.1044825986, -0.0002185361, -0.0089615081, -0.0199753437, -0.0313445218, -0.0167647675, 0.0354140326, -0.0355185531, 0.0138146533, -0.0110363979, -0.0061387201, -0.007665548, 0.0035170068, -0.0317279026, -0.0483719073, 0.068352066, -0.025126731, 0.0908945203, 0.0557085834, 0.0580586642, -0.0039688107, -0.0874678791, -0.0034831788, 0.0118169272, -0.0066700438, 0.0116075585, 0.0102743302, -0.045769427, 0.0187543109, -0.0554753877, -0.0117862225, -0.0164987352, -0.0097468058, -0.0142010218, 0.0779972151, -0.0114170164, -0.0256290827, -0.0407864898, 0.0240326431, 0.0175771192, 0.1086947769, 0.0105681792, -0.0842314139, 0.0224729534, -0.0208642446, -0.0304225646, 0.0013708235, -0.0799997002, 0.0104024457, 0.0073461472, 0.0050226259, -0.0484238975, -0.0659947693, 0.0094757155, -0.0166763347, -0.0076462384, -0.0367440134, 0.0267355684, 0.0010962541, -0.0348623469, 0.016084522, -0.0209724847, 0.049206268, -0.0442816056, -0.002091568, 0.0429366603, -0.0241597407, -0.0262058806, -0.0083704302, -0.0141265588, -0.0457218774, 0.0447096378, 0.0235779081, 0.0208482426, -0.0367095806, 0.0041893097, -0.0459241718, 0.0221260302, 0.0160192419, -0.0156325009, 0.0317035466, -0.0042272406, 0.0899965763, 0.0059761466, 0.0398647822, 0.0171992555, 0.0225809235, 0.0172356423, -0.0180729814, -0.040849492, -0.056222789, 0.0056911092, 0.0249535367, 0.0091036521, 0.0059910095, -0.0033114266, -0.0221856665, -0.067976959, -0.0280429423, -0.0454989783, -0.033827614, -0.051328823, 0.0300476346, 0.0152366497, -0.0625575185, -0.0075309761, -0.0153292492, 0.0145267127, -0.0185619351, 0.0383610129, 0.0021875324, 0.0351200216, 0.0060280636, 0.0007000163, -0.0288658701, 0.0060905349, -0.0503974333, 0.0210559834, 0.012445841, 0.0771431997, 0.009818498, -0.0138444491, 0.013235745, 0.0431937017, -0.0172821339, -0.0220237523, -0.0010821976, 0.0251655634, -0.0139932269, -0.0104809431, 0.0485934354, -0.0312430598, 0.0067420709, -0.0439597704, 0.0065984111, -0.0186603088, -0.0495388918, 0.0469673015, 0.00905996, -0.0250763055, -0.0015734013, 0.0220746528, -0.022472769, 0.0072147949, -0.0143802511, -0.0495202839, -0.0252114236, 0.0015128885, 0.0098899528, -0.0248783641, -0.0357432403, 0.0098189535, -0.1092512906, -0.0592532232, -0.018082289, 0.0337647013, 0.0059192493, -0.0420616046, 0.0050308676, 0.07148882, -0.0322506465, 0.0102755222, -0.0429807641, -0.0244094878, -0.0948404595, 0.0035805556, -0.0415465645, -6.467253269e-33, -0.0232620779, -0.0405632965, 0.0145089561, -0.0287443809, -0.0310936421, -0.0425680913, -0.0030973451, 0.0558067523, -0.0565095879, 0.0278077833, 0.0069456031, -0.0126585551, -0.0016358582, -0.0213971678, 0.0241445992, -0.0225730576, 0.0075704153, -0.0259520728, -0.0292836372, -0.0203927755, 0.0272541028, -0.0553242527, 0.0145938098, -0.085126929, 0.0645247325, 0.0198749434, -0.0239201188, 0.0098309051, -0.0140919322, 0.0653237253, -0.0348821692, 0.0432094783, 0.031959191, -0.0056960508, 0.0137041574, 0.0409171544, -0.0092673404, -0.0173603892, 0.0446091667, -0.0014756175, -0.008880049, -0.0310207158, -0.0074125752, -0.010253245, -0.0955230296, 0.0209012274, 0.0400137156, -0.0348030739, 0.0493071601, 0.0068308925, -0.0526659228, 0.000521864, -0.0097431093, 0.0066294703, 0.0012726104, 0.0211088527, -0.0285457, 0.048206374, -0.0598376952, 0.0512215942, 0.0034589132, -0.0110253952, 0.064394623, -0.0171843469, 0.0058490331, 0.0761742145, 0.0104662329, 0.0203846712, -0.0404122807, 0.001998096, 0.068500258, -0.0054542022, 0.0341051146, 0.0490324013, -0.0285851248, -0.0171744302, -0.0042767646, 0.0088496599, 0.0475398488, 0.0175095219, 0.0476373322, 0.0213230066, -0.041690819, -0.0183881335, -0.0297730099, -0.0483667664, -0.0383530855, -0.0274427161, 0.0362195857, -0.0374897309, -0.0253048986, -0.012922735, 0.0547279939, -0.0262730177, -0.0262548067, 0.0404466577, -0.0351493172, 0.0603950545, 0.0132065536, 0.029233573, -0.112588428, 0.0284111407, -0.0412227623, 0.0307991542, 0.0215576608, 0.018607799, -0.003211396, 0.0255798437, -0.0529931709, -0.0223322194, 0.007408632, -0.0115645174, -0.0064943307, -0.0214538965, 0.0250633713, 0.0044054841, 0.0054443404, 0.0279294625, -0.0113430303, -0.0046731094, -0.0118981712, -0.004579701, -0.0018089716, 0.004830929, -0.0385768674, 0.0017291843, -0.0274122581, -0.0021629108, -0.016822163, 0.0023307968, 0.0032463712, -0.0022892144, 2.719e-7, 0.0365392119, 0.0854297206, -0.0305068195, 0.0502511933, -0.0123558659, 0.0454572439, -0.0162233189, -0.0333645493, 0.0610841066, -0.0139165362, 0.0219240803, 0.032568071, 0.0491443537, 0.0257086474, -0.0439111516, 0.017966792, -0.013871612, 0.002271978, -0.0031301156, 0.0504313558, 0.0485591143, 0.0356655344, 0.0268061403, 0.0248222854, -0.0177383106, 0.0059400173, 0.0373382233, -0.0552625097, -0.0109155085, 0.0298967045, -0.0020389582, -0.0105065452, 0.008130135, 0.0114042955, 0.0270889159, 0.0038979256, 0.0218358226, 0.0754670873, 0.0105997995, -0.0196231771, 0.0000312427, 0.001897083, -0.010825525, -0.0738128871, 0.0591463707, -0.0636747554, -0.0564979911, -0.0571967065, -0.0075535448, -0.0073603638, 0.0338593498, -0.0033992149, -0.029109234, 0.0009844166, 0.0416263118, -0.0140153635, -0.0186945591, -0.037311174, 0.0102799209, -0.0327871032, -0.0128920982, -0.0999649391, -0.0234096795, 0.0178924184, -0.0005860053, -0.071993351, 0.0026668839, 2.21114046e-34, 0.0527803153, -0.0159029458, 0.0083374493, -0.0174245685, 0.0750295296, 0.0361564085, -0.0147171132, 0.019646531, 0.0414268039, -0.0893800482, 0.0213318951 ]
http://arxiv.org/abs/2406.11093v1
http://arxiv.org/pdf/2406.11093v1
RAEmoLLM: Retrieval Augmented LLMs for Cross-Domain Misinformation Detection Using In-Context Learning based on Emotional Information
2024-06-16T22:49:11
2024-06-16T22:49:11
Zhiwei Liu, Kailai Yang, Qianqian Xie, Christine de Kock, Sophia Ananiadou, Eduard Hovy
cs.CL
cs.CL
Misinformation is prevalent in various fields such as education, politics, health, etc., causing significant harm to society. However, current methods for cross-domain misinformation detection rely on time and resources consuming fine-tuning and complex model structures. With the outstanding performance of LLMs, many studies have employed them for misinformation detection. Unfortunately, they focus on in-domain tasks and do not incorporate significant sentiment and emotion features (which we jointly call affect). In this paper, we propose RAEmoLLM, the first retrieval augmented (RAG) LLMs framework to address cross-domain misinformation detection using in-context learning based on affective information. It accomplishes this by applying an emotion-aware LLM to construct a retrieval database of affective embeddings. This database is used by our retrieval module to obtain source-domain samples, which are subsequently used for the inference module's in-context few-shot learning to detect target domain misinformation. We evaluate our framework on three misinformation benchmarks. Results show that RAEmoLLM achieves significant improvements compared to the zero-shot method on three datasets, with the highest increases of 20.69%, 23.94%, and 39.11% respectively. This work will be released on https://github.com/lzw108/RAEmoLLM.
[ 0.0108212344, -0.0056864363, -0.0069762934, 0.0596109219, -0.0016018626, 0.0140121225, -0.0136359613, -0.0027379356, 0.0340503938, -0.049964264, -0.0637242869, -0.030197138, -0.0215182416, -0.0161463562, 0.0038483797, -0.0262050722, 0.0622249506, 0.0617387444, 0.0406255461, 0.0050254175, 0.0238556787, 0.0122512812, 0.0042277002, 0.0241026729, -0.0332271345, -0.0431166217, 0.019015871, 0.0365650766, 0.0772822127, -0.0483366959, 0.0686774924, -0.0019372355, 0.0624514371, 0.0473977663, 0.0000019644, 0.0012095632, -0.0282393005, 0.0126784686, -0.0189040024, -0.0277377758, 0.0771721378, -0.0526569076, -0.0033575995, 0.0275914539, -0.0075506764, -0.0037809098, 0.0317078717, 0.0873424411, 0.0782504901, 0.117770575, -0.0086451583, -0.0202922951, -0.0165309366, -0.0172201097, 0.049668923, -0.0462265834, 0.0531236604, -0.0332911685, -0.0213401001, 0.0270000417, 0.0021427292, 0.0026537252, -0.026281843, 0.0198369212, -0.0171604939, -0.0244751777, 0.0072783767, -0.022928305, -0.0176141169, 0.0698061734, 0.0132723339, -0.0061497549, -0.0021512073, -0.0035599845, 0.0229575466, 0.0216444228, -0.0156842172, -0.005493985, -0.028723957, 0.038631238, -0.0241047926, 0.0009355029, 0.0570973158, 0.0381939486, 0.0318706036, 0.0379308127, -0.0362582691, -0.0439969338, 0.0023155492, 0.0057091075, 0.0276900735, -0.0007520224, -0.021326093, 0.0025783912, 0.0113015566, 0.007106889, -0.0438747592, -0.0152145028, 0.0232224707, -0.0760887265, -0.0121120699, 0.0303783491, -0.0263738967, 0.0360532403, 0.0273932014, 0.0010043317, -0.0080834031, 0.0194942318, -0.0110596837, -0.0245191958, -0.020916108, 0.0360761732, 0.023935521, 0.0341390222, -0.0437402129, 0.0173436888, -0.0794285759, -0.0138609549, -0.0665603355, -0.000801009, -0.0345876254, 0.0147042572, -0.0188664123, -0.0009457972, -0.0236885231, 0.0323341824, -0.0004118239, 0.0334424041, -0.0120886294, -0.0427316092, -0.0256428104, 0.0219332278, -0.046038866, 0.0025365415, -0.0038704686, 0.0659484789, 0.0470786951, -0.0262385476, -0.0757990107, -0.0398054793, -0.0215540845, -0.0371732041, 0.0473590381, -0.023891056, -0.0220940001, -0.0458749123, 0.0039274329, -0.0515367463, -0.0054861787, 0.0063842176, -0.0485008024, 0.0657584891, -0.0110022994, -0.033372663, 0.0402392298, 0.0572150648, -0.0045174859, 0.0900854692, -0.0063708308, 0.0792219192, 0.0606123395, 0.0403767154, 0.0240517668, -0.0472703576, 0.0861539245, 0.0234621391, 0.0195822995, -0.0180967189, -0.0429677516, -0.0010193273, 0.0119994264, 0.0113076428, -0.0306162201, -0.0449329391, 0.0140025811, -0.0181645881, -0.000469161, -0.015150819, 0.0028396538, 0.0397695713, -0.0258130617, -0.0147385141, -0.0428438373, 0.0383308753, -0.076967068, -0.0324104354, 0.0379761793, 0.0249762796, -0.0283808708, -0.0247726738, -0.0265705436, -0.0206649788, -0.0257402118, 0.0144524192, 0.0187820606, -0.022627363, -0.0464302823, 0.0507742018, 0.0561731495, -0.0227022246, -0.0356031917, -0.0236835256, 0.0102675389, 0.0556081906, 0.0334727764, -0.0561460331, -0.0202489272, -0.0385169201, 0.0260382239, 0.0219581369, 0.0316739045, -0.0110509526, 0.0052318173, -0.0232305806, -0.0295068771, -0.0516851433, 0.0297697615, 0.0147240041, 0.0184050296, 0.0422155336, 0.0196552239, -0.040843267, 0.0263425075, 0.0155197782, -0.0415695943, -0.0108828777, -0.0140522458, 0.052592963, 0.0421519466, 0.0066973134, -0.018523572, -0.0105765378, 0.0472935997, 0.0073801773, -0.0452660583, -0.0484158285, 0.0095288549, -0.0525786057, 0.0369612575, -0.0165027156, -0.0078752963, -0.0022170851, -0.0636683628, 0.0640583336, 0.0462031104, -0.0051988289, 0.0134175168, -0.0405865498, -0.0359317474, -0.0238135904, 0.0406878181, -0.0001997335, 0.05153488, -0.0365206376, -0.0208637118, 0.0135981888, -0.0314422213, 0.0047423448, -0.0021267342, -0.0029237228, -0.0454148129, 0.002957436, 0.0065528704, 0.0159638245, -0.0440491363, -0.01489776, -0.0166949686, -0.0299597587, -0.0235824622, -0.0075550326, -0.004391823, -0.0138948252, -0.0222723633, -0.010168639, 0.0065026516, 0.0058996701, 0.002827704, -0.0004686392, 0.0257812049, 0.013583729, -0.0199957639, 0.0359274819, -0.0332524031, 0.0314759165, -0.003788569, 0.0185742415, -0.0284789391, -0.065263629, -0.0466440022, 0.0204017702, -0.0606065392, 0.0344696566, -0.034353096, -0.023143582, -0.0040737754, 0.0370890722, -0.0063619106, 0.035006389, 0.0211941972, 0.0861425921, 0.020876294, 0.0126820346, -0.0399653129, 0.014745024, -0.0259031039, 0.0303853843, -0.0321398154, -0.0117389774, 0.0051683025, 0.0293618031, 0.0177307557, -0.0081048803, -0.0234270878, 0.0324400514, 0.0199151132, -0.0409119427, -0.0129970433, -0.018537892, 0.0098847896, 0.0100848526, -0.0329360627, -0.0558101498, 0.0858191475, -0.0012063704, 0.052312132, -0.0218036231, -0.0130526451, -0.0097294729, -0.0142079154, -0.0728247762, 0.0211318582, 0.030965928, 0.0248786062, -0.0229129381, -0.0441142358, 0.0325360633, -0.0541495569, 0.0091461232, -0.0141300056, 0.0234644599, 0.0097805075, -0.0589107759, -0.0534431301, -0.0564432703, -0.0150969746, -0.0280421674, -0.0443020612, -0.0095096966, -0.0895185694, -0.0732838586, 0.04431054, -0.044954963, 0.0163759012, -0.0277163144, 0.0602028556, 0.0026932179, 0.0216891244, -0.0338476039, 0.0703261495, -0.0310745277, 0.0222061817, 0.0656011924, -0.0187128354, -0.0082938895, -0.0018986901, -0.0401961915, 0.0166390538, 0.0052326121, -0.0133473873, -0.0109484773, 0.0208561197, -0.0413070023, 0.0259457156, 0.0953172743, -0.0007964505, -0.0068170489, -0.0141537404, -0.0118746487, -0.041783724, 0.030280089, 0.0062400051, -0.0598930977, -0.0475387722, 0.0007830616, 0.0400665142, -0.0185923334, -0.0064436584, 0.0076801875, -0.0894314796, 0.0312749259, 0.0219842121, 0.0236521773, -0.0731726289, -0.038957037, 0.0129763233, 0.0190421939, -0.0060241688, -0.0245328099, 0.017751513, -0.0239824317, -0.0203857385, -0.0193377491, -0.0873099491, 0.0005721518, 0.0079873698, 0.0451193005, 0.0386743061, 0.0577398352, 0.0139319738, -0.0620985925, 0.0220191739, 0.0169502962, -0.0231787451, -0.0429333746, 0.1022366211, -0.0616966411, -0.0219198763, -0.0321360901, 0.0157332625, -0.0027733904, -0.0097198738, -0.0554113872, 0.0780356973, -0.041377183, -0.0100763096, -0.0840699449, 0.0275552515, 0.06657058, 0.0684771091, -0.0305840019, 0.0174769405, 0.0025872646, -0.0455542393, 0.0078313509, 0.014450849, -0.0268310774, 0.0187407434, -0.0225291438, -0.0057232175, -0.0260759275, -0.0311393011, -0.0150875784, 0.0065581352, -0.0313766487, -0.0185174458, -0.0189180411, 0.003542142, -0.0540151186, -0.0133746499, -0.0351764485, 0.051797621, -0.0028322127, 0.0139394216, 0.0479519926, -0.0116831604, -0.0075146127, -0.0084439237, -0.0331844948, -0.0672413334, -0.0278263111, 0.0282727033, 0.00626546, 0.0461458415, -0.0024183174, 0.010949959, 0.0971512496, 0.067449227, -0.0118769724, 0.0147206187, 0.0461011343, 0.0322947614, -0.0020161669, 0.0336181298, -0.0578446575, 0.0407993123, 0.0288949702, -0.0171124097, -0.0420389026, -0.0080445139, 0.0058342754, -0.0100699048, 0.0899459571, 0.0108271716, -0.026182266, -0.0304276496, -0.0270114839, -0.0241657421, -0.0282864366, -0.0117647136, -0.0050048856, 0.0122960499, -0.033536125, -0.0197135527, 0.0336443782, -0.0023649496, 0.0402398594, 0.0036039995, 0.0196759775, 0.0179003682, 0.0379040018, 0.004226529, 0.0121879131, -0.0184198748, 0.0098658567, 0.0082650613, 0.0061899861, -0.0090590836, 0.0219400208, -0.0103896149, 0.0013215047, 0.0034028622, -0.026389135, 0.001855021, 0.0234493315, -0.0456654243, 0.029179221, 0.0355370604, 0.0177721865, 0.0001570169, -0.0064187339, -0.024302775, -0.0288012978, -0.0120068062, -0.027097214, -0.0172373597, 0.0538075343, 0.0071382094, -0.0340147465, 0.0248744544, 0.0534172542, -0.0255877934, 0.0768562183, -0.0212490261, -0.0646011159, -0.0346383862, 0.0011278786, 0.0600174367, 0.0148518421, 0.0046442966, 0.0224748272, -0.0908811763, -0.0460097529, 0.0790563822, -0.012477315, -0.0345624201, -0.0012951128, -0.0124518881, 0.080482848, 0.0288682766, 0.0426689014, -0.0519572794, -0.0033543308, -0.0551359206, -0.0438377187, 0.0176357869, -6.248376956e-33, -0.0221916772, -0.0348303542, -0.0281559918, -0.0061736847, -0.02178487, 0.0391021259, 0.0026182798, -0.0115791066, -0.0382647701, 0.0649198219, 0.0471457168, 0.0482971556, -0.0231435429, -0.0050936071, -0.0464093834, -0.0392232202, 0.055380933, 0.0023518743, 0.0062895864, -0.0022138895, 0.0627206191, 0.0473837145, 0.0438918658, -0.0873897672, 0.04262444, -0.0067762351, -0.0162553936, 0.0276576262, 0.0127679994, 0.0407787263, 0.0136389202, 0.0877887905, 0.0239306819, -0.0136457998, 0.0023381172, 0.0180414915, -0.0291420165, -0.0313954502, -0.0114945015, -0.0378979221, -0.0043130694, -0.0164158102, 0.0335652977, 0.0265661944, -0.026341239, -0.0244596656, 0.007868181, -0.0405877717, 0.0059788879, -0.0463655815, -0.0496900156, 0.0099610789, 0.0188989937, -0.0030748816, -0.0031697906, 0.0855507404, 0.0574922711, 0.0871954858, -0.10281872, -0.00045156, -0.0666948184, -0.0014577145, 0.0135373855, -0.0411101468, -0.0121033536, 0.1011705548, 0.0163670089, 0.0203850474, -0.0461045429, 0.0146272723, -0.0033058922, 0.0228245035, 0.0394929461, 0.1367208064, -0.0032649874, -0.0618719347, -0.094922848, 0.0411625765, 0.0242451243, 0.0254636463, 0.0241267513, 0.0087710274, -0.0334703624, 0.008664621, 0.0044609103, 0.0168019794, -0.030018229, -0.012019624, 0.0228269678, 0.0386625938, -0.0046121245, 0.0218719635, -0.0184628926, -0.0585528053, 0.0038822019, 0.0634654239, 0.0036015261, -0.0145965479, 0.0263533201, 0.0044958093, -0.0364767164, -0.0062449477, 0.0270988774, -0.0015207235, -0.0004031269, -0.0277066622, 0.0447106138, 0.0017973135, -0.0611687377, -0.0070240782, -0.0140942587, 0.0509337895, -0.0040495815, -0.0048385691, -0.0118574975, 0.011719618, 0.001043144, 0.0013512186, -0.0156845842, 0.0231836978, 0.0252733417, -0.0200411417, -0.0242269132, 0.0446399115, -0.0381258503, -0.0157124884, 0.0028793481, 0.0033418254, -0.0006210305, -0.089265056, -0.0033679837, -0.0108857369, 2.874e-7, 0.0031593814, 0.0407863632, 0.0065787127, -0.0219686292, 0.0236957204, 0.0778482407, -0.025150124, 0.012397496, 0.0226309169, -0.0878033638, -0.0051138173, 0.0408063196, 0.0339865945, 0.0392841101, -0.0757542625, 0.0323695466, 0.020734163, -0.0024987173, 0.0118274046, 0.0131471418, 0.0407381468, 0.07483951, 0.0397825465, -0.0184995756, -0.0047968039, 0.0293720849, 0.0744404718, 0.005956436, -0.0272349343, -0.0041177673, 0.015921114, 0.0103539154, 0.0053474847, -0.0296562482, -0.0277073514, -0.0026024773, -0.0253918841, 0.0149923135, 0.0112249004, -0.0686845481, -0.0111535611, 0.0030914249, 0.0143277692, 0.0194699932, 0.0381213352, -0.0698024035, -0.0232154168, -0.0683840364, -0.0451867506, 0.0096547576, 0.0442075394, 0.0028509533, -0.047051765, -0.0066718073, 0.0076761437, 0.0172525644, -0.0005415009, -0.0690484345, 0.0293093473, 0.0212376937, -0.045386754, -0.0220573191, 0.0119208787, 0.0001775428, 0.0438229144, -0.0201085806, 0.0211424455, 2.200673739e-34, 0.0471409746, -0.0450055301, -0.0177152287, -0.000900358, 0.0063361567, 0.0102955019, -0.0802926347, -0.053964071, 0.0354328789, 0.0108767329, 0.0384322889 ]
http://arxiv.org/abs/2406.11087v2
http://arxiv.org/pdf/2406.11087v2
MemDPT: Differential Privacy for Memory Efficient Language Models
2024-06-16T22:11:41
2024-06-20T05:43:50
Yanming Liu, Xinyue Peng, Jiannan Cao, Yuwei Zhang, Chen Ma, Songhang Deng, Mengchen Fu, Xuhong Zhang, Sheng Cheng, Xun Wang, Jianwei Yin, Tianyu Du
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Large language models have consistently demonstrated remarkable performance across a wide spectrum of applications. Nonetheless, the deployment of these models can inadvertently expose user privacy to potential risks. The substantial memory demands of these models during training represent a significant resource consumption challenge. The sheer size of these models imposes a considerable burden on memory resources, which is a matter of significant concern in practice. In this paper, we present an innovative training framework MemDPT that not only reduces the memory cost of large language models but also places a strong emphasis on safeguarding user data privacy. MemDPT provides edge network and reverse network designs to accommodate various differential privacy memory-efficient fine-tuning schemes. Our approach not only achieves $2 \sim 3 \times$ memory optimization but also provides robust privacy protection, ensuring that user data remains secure and confidential. Extensive experiments have demonstrated that MemDPT can effectively provide differential privacy efficient fine-tuning across various task scenarios.
[ 0.0374329612, 0.0856670216, -0.0246974006, 0.0557843819, -0.0354786627, -0.0354600549, 0.0706604719, -0.0414299145, 0.0286019761, -0.0116569428, -0.0352310166, -0.0561247356, -0.0255299769, 0.0321006402, 0.028598981, -0.0119434716, 0.0424894243, -0.0590817258, -0.0067704907, -0.0302023068, -0.0339051299, 0.0037289825, 0.0465914756, 0.0046488936, 0.0180213023, -0.0189232528, -0.0319234654, 0.0222325679, 0.0069891848, -0.0108085601, 0.0295911655, 0.0572425574, 0.0299441107, 0.0625908673, 0.000002063, 0.0115873376, -0.020931514, 0.0308391657, -0.0412823819, 0.0352267362, 0.0268335342, -0.0072528655, 0.0140685011, 0.012373385, -0.0091276467, -0.0108516626, 0.0598957501, 0.0218404569, 0.0751755163, 0.0744693726, 0.0028512634, -0.0341245309, -0.0074993926, -0.0626410693, -0.0147506325, -0.0513798557, 0.0103872977, -0.0683252215, -0.0588380881, 0.0027578147, 0.0072191101, 0.0220524482, 0.0253668446, 0.0422354601, -0.0094544338, 0.0419629551, -0.0120762242, -0.0235485341, -0.0218500476, 0.0292386319, -0.0164669845, -0.0161037538, 0.0429971032, 0.0228270069, 0.012056225, -0.0104656117, 0.0225545932, 0.0422913246, -0.0280544311, -0.007469085, -0.0110345595, 0.0096264975, 0.0271653514, 0.0293927323, -0.0000806277, 0.0185358822, 0.0263041127, 0.0125831151, -0.030431563, -0.0355684943, -0.0011826849, -0.0559877828, 0.0654536411, -0.0172454845, 0.0396102518, 0.0130110215, -0.0775026903, -0.0747402757, 0.0136634801, -0.054117348, 0.0257749893, 0.0000245409, 0.0288156904, 0.0080440501, -0.0153939612, 0.0496152341, -0.0276246872, 0.0124519132, 0.0238627587, 0.0161265135, 0.0218341276, 0.0054556304, -0.037855871, 0.0591716766, -0.0643413961, -0.0168530717, -0.027683394, 0.044667799, -0.015257325, 0.0205997564, 0.0105556278, 0.0096988194, -0.0369312055, -0.011618508, 0.0352527797, -0.046654582, -0.0078392597, -0.0114401067, 0.0287212096, -0.0521225482, -0.0145179257, -0.0283864886, -0.0289020408, -0.0210045129, -0.0117634097, 0.1014635488, 0.0255304351, -0.0129716173, -0.0177079961, -0.0618491955, 0.0333685428, -0.0585833751, 0.0077339825, -0.0661998242, 0.0059649092, -0.0235615391, -0.0103100007, -0.0620767176, -0.0020558354, 0.0276653804, -0.0535647459, 0.0426366143, -0.0077014077, -0.0204303954, 0.0328371301, 0.0444863066, 0.0181258637, 0.0210042223, 0.0333918333, 0.0277808197, 0.0745172501, -0.0008736378, -0.0177916437, -0.004618051, 0.0717949569, 0.0396642201, -0.0156511012, 0.0190864541, 0.0178596657, -0.0230949651, -0.0053471159, 0.0601611696, -0.0240830258, -0.0782586485, 0.0692948252, 0.0623893514, -0.0157493968, 0.024284279, -0.0632760376, 0.0324662812, -0.0291480236, -0.0286769737, -0.0737732574, 0.0114960782, -0.0333736837, -0.0263312086, 0.0157096013, 0.034947332, -0.0196047574, 0.0220011249, 0.0154323867, -0.0483606085, 0.040487811, 0.032957416, -0.006559853, -0.0028530159, 0.0156024229, 0.0795661211, -0.0071959817, -0.0583295673, -0.036195457, -0.0565152802, -0.0399768241, 0.0780903026, -0.0021377746, 0.0127752237, -0.014925126, -0.0178641155, 0.006533511, 0.0257898346, 0.0056935046, 0.0227919407, 0.0752066597, -0.0405282527, -0.0245208256, -0.0062507363, 0.0288128667, 0.024045106, 0.0247494709, -0.0068012094, 0.0295628197, -0.0250769239, -0.0305162575, 0.0296094716, -0.0168180708, -0.0048462576, 0.0533092991, 0.0154882278, -0.0080625201, 0.0038695326, -0.0210678689, 0.0000603511, 0.0129523836, 0.0370528623, 0.0307865106, -0.0405363999, -0.0600306913, 0.0174348988, -0.0069920002, -0.0193985365, 0.0568456873, 0.066918321, -0.0138810109, -0.0569886751, 0.0049618175, -0.0085452246, 0.0475743972, -0.0091132773, 0.0191589333, -0.0112909004, 0.0318093114, -0.0161473006, 0.0021760589, -0.0527572483, -0.0154418861, -0.0454881638, 0.0143002048, 0.0197749045, -0.0315426923, -0.0385810286, -0.0069229989, 0.01822659, 0.0434768423, 0.0029837193, 0.0224981103, -0.0016388781, -0.0146359866, -0.0544045977, 0.0309261065, -0.0503269583, 0.0470605008, 0.034442842, 0.015941998, -0.014452084, -0.0566991307, -0.052720964, 0.0051798788, -0.0581436083, 0.0381513648, -0.0173843615, 0.0440173335, -0.0246379357, 0.0051261303, -0.0482649803, 0.0260138102, 0.0324324816, -0.0706173256, -0.0451640002, 0.0027721785, 0.0401316732, 0.001174479, 0.0687833801, -0.0247175973, -0.0325825922, -0.0056717442, 0.0184873454, -0.0047267247, 0.0495495684, 0.0056607611, 0.0000923883, 0.0438510068, 0.0083320597, -0.0442394465, -0.0052079009, -0.0125174588, -0.0161121748, -0.0293303058, 0.0058033136, -0.0156306121, 0.0270614699, -0.0140949814, -0.0535034798, -0.0346283615, 0.0014038729, 0.0062019732, -0.0364690199, -0.0107414937, -0.0296352971, 0.0067573432, 0.0180253536, -0.0219382998, -0.0541415513, 0.0779652521, -0.0175777096, 0.0058752364, -0.0042780074, -0.0331646614, 0.009422984, 0.0595178232, 0.0114414068, 0.0567743182, 0.0337458514, -0.0498473868, -0.0337311998, 0.0174343307, 0.0336901881, -0.0380597413, 0.0069427979, -0.0249405392, -0.0298644397, -0.0112692043, -0.0637987703, -0.0264350809, -0.0704982728, 0.0170473922, 0.0145817278, -0.0085323565, -0.0603639334, 0.0202423315, 0.0172487367, -0.0069810329, 0.0545762032, -0.0227799751, 0.0387275144, -0.0047180848, -0.0296620633, 0.0324371122, -0.0544359945, 0.0065421155, -0.0401653685, 0.0064012385, 0.0749194548, 0.0822598562, 0.0023114786, 0.0311339237, -0.0235374086, 0.0481887683, -0.0157005042, -0.0484842807, 0.0335330293, 0.0514379628, -0.0570475534, -0.0168377683, 0.0535656102, -0.0112601668, -0.0938279629, -0.0196749344, 0.0399736315, 0.0394656248, 0.0114521552, 0.0139915161, -0.0804958865, 0.0112332981, 0.0184857305, 0.0515914932, -0.0039868378, -0.0292985197, -0.0502135493, -0.069957763, -0.0483770967, 0.0166669954, -0.0298281498, 0.0015962746, -0.0298943184, -0.0116016846, 0.0160596333, 0.0103932247, -0.0391340889, 0.0195030402, -0.0360438749, 0.0080954507, 0.0159298927, -0.030841127, 0.0056788968, -0.0453657024, 0.04417032, 0.044550363, -0.0150070703, 0.0039100884, -0.0404661447, 0.0514672399, 0.005974852, -0.0263572354, 0.009351328, 0.0361202657, -0.0358612947, -0.0178027619, 0.0046515446, 0.0359930061, 0.022996787, -0.0018032426, 0.0042186356, 0.0209199823, -0.0159238502, -0.0026888843, 0.0099791344, -0.0220692549, 0.0333482288, 0.0354117453, -0.0134983966, -0.040658623, 0.0006740303, -0.0329308026, 0.0275756977, -0.0303049218, 0.0264071207, 0.0279819835, 0.0143604018, -0.0853955001, -0.0055575846, 0.0266761221, -0.0179338455, 0.0313227326, 0.0342233367, -0.0015054859, 0.0458845943, -0.0087355776, -0.0533416569, 0.0151876006, -0.0681815743, 0.0116555728, -0.0544857644, -0.0042747189, 0.0109622907, 0.0414450839, -0.0199470464, 0.0271712262, -0.0835547447, -0.1091442257, 0.0314719155, 0.0566522442, 0.0173312407, 0.0588800535, -0.0137236686, -0.0862711444, 0.0534805544, 0.0318190679, -0.0808793381, 0.0112679359, 0.0692016184, -0.0608608238, 0.0071748919, 0.0312718637, -0.030221045, -0.0325293094, 0.0860033557, -0.0313423276, -0.0403444357, -0.0692736953, -0.0324689597, 0.0162527822, 0.0266749468, -0.0203257464, 0.0562427714, -0.0406875201, 0.0677152202, -0.0232620258, 0.0054385867, -0.0138742244, 0.001216436, 0.0311450269, -0.0140548982, 0.0204138923, -0.0296745934, 0.0780306458, -0.0123609426, -0.0533512235, 0.0141508942, -0.0007581972, 0.0232121162, 0.0388939045, 0.019002527, -0.049018316, 0.0505341217, 0.0262251068, 0.0366943292, -0.0471692793, 0.0197844878, 0.0033340098, -0.0165864546, -0.019292511, 0.0649398416, -0.0327439904, -0.0533178523, -0.0152947484, 0.0177170672, 0.0133105321, 0.0275369585, -0.0135173257, -0.044497855, 0.0098494757, -0.0337410532, -0.0046968553, -0.0044960254, -0.0514581054, -0.0126115093, -0.006591294, 0.0051707593, 0.033500649, 0.0645595193, 0.0503720045, 0.0259685423, 0.00397941, -0.0175218564, -0.034033861, -0.0049787206, -0.0018519552, 0.0610732473, -0.0223782994, -0.010955926, -0.0293011405, -0.0780003294, -0.0210092794, -0.0083089676, 0.0290667433, 0.0007764364, 0.0100796511, 0.0181272235, 0.0051754075, -0.0196040329, -0.0696198344, -0.0163517203, 0.0278097931, 0.0190106798, -0.0021402852, -5.78200545e-33, -0.0208207201, 0.0001287797, -0.0064166244, -0.015697604, 0.012968584, 0.0255516022, -0.0078393715, -0.0004746442, -0.0447109193, -0.0353006981, -0.0558210574, 0.0300635342, 0.0292008743, 0.0314505957, -0.0271462817, 0.0235586446, 0.0556912385, -0.0319534615, -0.0045178533, 0.0639182031, 0.043397937, 0.0404964425, 0.0439889804, -0.0686662272, 0.0223233625, -0.0111002708, -0.0274240635, 0.0113766734, -0.0579132736, 0.0212773196, -0.0228160881, -0.0050372495, -0.0153676094, -0.0269780215, -0.0386118926, 0.0357881188, -0.0556394123, 0.0043870048, -0.0050742133, 0.0038049913, 0.021834299, -0.0748631582, 0.031107273, -0.0220029876, 0.0196997393, 0.0042584338, -0.0296489969, 0.0255160797, -0.026962908, -0.0287295543, 0.0463127643, 0.0031271465, 0.0294759274, 0.0084572937, 0.0660872459, -0.0455033667, -0.0257016961, -0.0685802624, -0.0642624125, 0.0095922891, 0.0215965379, 0.0281220935, 0.0530479066, 0.0350584276, 0.0284089148, 0.0334583558, 0.061715208, 0.063889429, 0.0152001306, 0.0011462761, 0.034952227, 0.0298438203, 0.0139392456, -0.0276329201, 0.0118735153, -0.06692563, -0.0279481281, -0.0465845242, -0.0412635393, -0.0029800008, 0.0627084076, -0.003582095, -0.0625601783, -0.017498374, -0.0566098802, -0.0106993234, -0.038431704, 0.0108751627, -0.0021219265, 0.0277324095, -0.0274437163, -0.0064954264, 0.0458265096, -0.0490021035, -0.003025962, 0.0292002335, 0.0576947927, -0.0151632261, -0.0098676793, 0.0349744074, -0.0327827856, -0.0328138061, -0.0197202042, -0.0148556037, 0.0090288464, -0.0029247422, 0.0384356044, 0.0044261091, -0.0807723328, -0.0022354077, -0.0463833921, 0.0489040613, 0.0549937896, 0.0597686321, 0.0296647083, -0.0273111276, -0.0007483567, 0.0258757658, 0.0182157811, -0.0080753863, -0.0195299052, 0.0178477764, 0.0066657886, 0.0199259501, 0.0291698817, 0.0058009266, -0.0070786364, 0.0459201112, 0.0874290317, 0.0173132066, 0.0138851516, -0.0015019872, 2.71e-7, -0.0437175706, -0.0015660959, 0.0027628287, -0.0013074386, 0.009821455, 0.043895971, 0.0318853855, 0.0588124394, -0.0084600989, 0.0228720121, -0.0257240497, 0.0218294226, 0.024094969, 0.0174081586, -0.0623166896, -0.0142954057, -0.0438065119, 0.0416165888, -0.0405297428, -0.0112184174, 0.0049056653, 0.0942854285, 0.0319458395, -0.0040636766, -0.0231064614, -0.0309935324, 0.0310754497, -0.050292816, -0.0091301491, -0.0184910577, 0.023424916, 0.1093410626, -0.0358516201, 0.0070479088, -0.0291003548, 0.0419612117, -0.071915783, 0.1095950603, -0.0054470319, -0.0013446712, 0.0316757485, -0.0615836829, -0.0600962937, -0.0099502113, 0.0371072069, 0.0063622394, -0.0217344407, -0.0226162858, 0.0501524061, -0.0734030604, 0.0221532676, -0.0202290118, 0.0237457994, 0.015200831, 0.0077369874, -0.0065137111, 0.0219425242, -0.0929037333, -0.0337458365, -0.0008532277, -0.009672367, -0.0266936924, -0.0204181466, 0.0118455337, -0.0039545679, -0.0182809979, 0.041470319, 2.27606563e-34, 0.0060862559, -0.0159298982, -0.0186989177, 0.0373160802, 0.0067925346, 0.0002699877, 0.0504437461, 0.0108742854, 0.0231740829, -0.0563064553, -0.0497037284 ]
http://arxiv.org/abs/2406.11085v1
http://arxiv.org/pdf/2406.11085v1
Multiple Sources are Better Than One: Incorporating External Knowledge in Low-Resource Glossing
2024-06-16T22:01:15
2024-06-16T22:01:15
Changbing Yang, Garrett Nicolai, Miikka Silfverberg
cs.CL
cs.CL
In this paper, we address the data scarcity problem in automatic data-driven glossing for low-resource languages by coordinating multiple sources of linguistic expertise. We supplement models with translations at both the token and sentence level as well as leverage the extensive linguistic capability of modern LLMs. Our enhancements lead to an average absolute improvement of 5%-points in word-level accuracy over the previous state of the art on a typologically diverse dataset spanning six low-resource languages. The improvements are particularly noticeable for the lowest-resourced language Gitksan, where we achieve a 10%-point improvement. Furthermore, in a simulated ultra-low resource setting for the same six languages, training on fewer than 100 glossed sentences, we establish an average 10%-point improvement in word-level accuracy over the previous state-of-the-art system.
[ 0.0379589014, 0.0250018463, -0.008005132, 0.0819687173, -0.0326760821, -0.0089291828, -0.0101539176, 0.0221369416, 0.0174730383, -0.0414586887, -0.0134603074, -0.007127604, 0.0140375569, -0.0305052735, 0.0508274846, -0.057332132, 0.0582069643, -0.0242043138, 0.0017027248, -0.0203366522, 0.0131412446, 0.0261367746, 0.0081610959, 0.0130505459, -0.0685379207, 0.0310591236, 0.0263936892, 0.0099869054, -0.001021199, 0.0180770028, 0.0107706729, 0.0449398533, -0.0289806593, 0.0215944853, 0.0000020072, -0.0651590303, -0.0311146025, -0.0174330305, 0.0037438262, 0.0075315316, 0.1013994515, -0.048464302, 0.022200752, 0.0024723862, -0.0368218049, 0.0115377307, 0.0374113955, -0.0164445937, 0.0428046137, 0.0459744185, -0.0028786291, -0.0500363708, 0.0239692256, -0.008734474, -0.006462229, -0.0262924433, -0.0073803067, 0.026436625, -0.0021440869, -0.0491135418, -0.0236274023, 0.0766837746, -0.0242345165, 0.0041429568, 0.0142111359, 0.0138111264, -0.0419142656, -0.0119377188, -0.0017681425, 0.0719210654, -0.0350795276, -0.0275683384, -0.0220040027, -0.0073068053, 0.016022006, -0.0011303426, -0.0314379297, 0.0182875395, -0.005675877, 0.0304248109, 0.0291903336, -0.0203458816, 0.0285532121, 0.0396622308, -0.0397310667, 0.0342037342, 0.0217947867, 0.0037208907, 0.0113184843, 0.0135774892, -0.0268061627, -0.0049076756, -0.050916668, 0.0095647145, -0.006126821, 0.0362811387, -0.0202130005, -0.0821434781, 0.0377149619, -0.0119540635, -0.0124077071, 0.0217593703, -0.0271736979, 0.0320958197, -0.0495946743, -0.0239171721, 0.0272557437, 0.0419017076, -0.0429559276, -0.0691221133, -0.0090718977, 0.004731331, -0.0608074516, 0.0322887748, -0.0789275691, 0.0045304727, -0.0194043741, -0.0081508746, 0.0264709275, 0.003342336, -0.0023551821, 0.0115469201, -0.0311008468, -0.0249094721, -0.0172782838, -0.0051345732, -0.0317149423, 0.0176407918, -0.0259890258, -0.0749921724, -0.0098288339, 0.0152051719, 0.0060603349, -0.0140760345, -0.0006805283, 0.1006188542, 0.002540943, -0.0167969614, -0.0921196416, -0.0146684945, -0.027491102, -0.0348485485, -0.0631622002, -0.1001065001, 0.0144303571, 0.0179862268, 0.0180819277, -0.0304804388, 0.0152083635, -0.0061656218, -0.0647572502, 0.0920198336, -0.1163527369, -0.0003442289, -0.002033497, -0.0023462414, 0.0133757098, 0.0900927782, 0.0406896472, -0.0439171642, 0.07192, 0.0259970371, 0.0099479547, 0.0300176665, -0.0130742844, -0.007564533, -0.0188197009, -0.014136537, -0.0040903925, 0.04659421, 0.0827578753, 0.0990874767, -0.0516979881, -0.0034831811, 0.0388968177, 0.0361542553, 0.0243052933, 0.0462557413, 0.0251847524, 0.0204228573, -0.0127859274, 0.0056630853, -0.0044732173, -0.0173659511, 0.0037965318, 0.0272423159, 0.0027543295, 0.0327417217, -0.001060489, -0.0299875028, -0.0210681204, -0.0302501768, 0.0169194937, -0.0317777209, 0.0345337987, 0.0238740053, -0.0043977019, 0.0693137273, 0.0693735108, -0.0261681415, 0.0275506247, -0.0181439146, -0.0205913242, 0.0868619159, 0.0456785597, 0.0060887695, -0.0573217273, 0.0036347797, 0.0294020474, 0.029625589, -0.0008870708, -0.022861585, 0.0173666757, -0.0816235393, 0.0172402356, 0.0014243494, 0.005762517, 0.0154838981, 0.0377686322, 0.0468589067, 0.0248033497, -0.0598955415, -0.0630838722, 0.0125054084, -0.0062516513, 0.0076922989, 0.0282225125, -0.0092223864, -0.0032083211, 0.0017672111, -0.0225648601, 0.0153781008, -0.0022499035, -0.0445684716, -0.0011982535, 0.0088147772, 0.0179235935, -0.0284223948, 0.0347930081, -0.015526589, 0.0068626795, -0.0297612529, -0.0104597798, -0.0362149477, 0.0085070748, -0.0360513702, 0.1310396045, -0.0519995689, 0.0194767732, 0.0263736974, 0.0097700981, -0.0534815229, 0.0516784266, 0.0062183128, 0.0381507501, -0.0041893916, 0.0081148725, 0.0283229351, -0.0363606624, -0.0023160623, -0.0006865262, 0.0378899351, 0.0123790661, -0.0062405062, 0.02063125, -0.064540863, -0.036318291, -0.1008384973, -0.0199197978, -0.0105884718, -0.0033841969, 0.0045273965, 0.048934631, -0.0185212567, -0.0146783879, 0.0079963449, 0.0151722925, 0.0337218568, -0.0026473573, 0.0651757121, 0.0218180176, -0.0286351927, -0.039178554, 0.0315199755, 0.0348331928, -0.0155971823, 0.0126666129, -0.078460753, 0.000604098, -0.0108316569, -0.0544729307, 0.0125007173, -0.0025493966, -0.049812559, -0.0323111862, -0.0282356534, 0.0245791022, -0.0218444653, -0.0077761272, -0.0548105426, 0.0404538885, -0.0650669038, -0.0575865321, -0.0070550493, 0.0091966866, -0.0581731349, -0.0384312049, 0.0305486321, -0.0063468325, -0.0029355611, 0.0380396806, -0.0223292504, -0.0019473189, 0.0200112462, -0.044937063, -0.0179548524, 0.0034309025, 0.0400632359, -0.0245710835, 0.0360870324, -0.0242241025, -0.0465153754, 0.0524743386, -0.012957762, -0.0237782616, -0.0056335162, -0.0173495486, -0.0447519235, 0.0308782998, -0.040492747, 0.0228710584, -0.0534082316, -0.0566058308, -0.0166472495, -0.0097729666, 0.0353346504, -0.0148798004, 0.0586917326, -0.0969228595, 0.0418795012, 0.0073113926, -0.0191549584, -0.0149707021, -0.0660198778, -0.0094242105, -0.0137607958, 0.0523716286, -0.0180948116, 0.0142952474, -0.0162613932, 0.0075479755, 0.0344518274, 0.0047181426, -0.0127276834, 0.004576812, 0.0646077245, 0.0151543301, 0.000124678, -0.0104773901, 0.0133626359, 0.0143267922, 0.0178081393, -0.008098823, -0.0573510118, -0.0104519194, -0.0012258058, 0.0280247312, -0.0406272635, -0.0235641841, -0.0150621058, -0.0111490469, -0.0080782808, 0.0059255641, 0.1010804325, 0.017456783, -0.0586141013, 0.0151849193, -0.0261985883, 0.0364006832, 0.0237079971, -0.0023782677, -0.1337756217, -0.0127137918, -0.0104325674, 0.0303806886, 0.0258895718, -0.034367945, 0.0009705805, -0.1142764539, 0.0273408387, 0.0145710232, -0.0021023548, -0.0097567867, -0.009112061, -0.0057345871, -0.0422209166, 0.0245718937, -0.0136563992, -0.0246054456, 0.0077746203, -0.0010190085, -0.0357223935, -0.0533560626, -0.0178288873, -0.0368328206, 0.0517142266, 0.002156897, 0.0245792009, -0.0320549719, 0.0133902747, 0.0502568521, -0.0122471917, -0.0160257965, -0.0457712412, 0.0535172075, -0.0013418777, -0.0151048331, 0.0112412162, -0.0082145389, -0.0058428212, 0.0128536494, -0.0057121385, 0.0331638418, 0.0062619983, 0.0239573512, 0.0409577563, -0.0433542877, 0.0284605287, 0.0329541527, 0.0034850424, 0.0221379455, 0.0165450182, -0.0029857266, -0.0325665921, -0.0256275367, -0.0494639985, 0.0193288047, -0.0322035737, -0.0367519408, -0.0637838542, -0.0564565957, 0.0640566796, 0.0463294685, 0.0313240029, 0.0621895082, -0.0508832969, 0.0077936444, -0.0228703395, 0.0233561881, -0.0245302487, -0.0188396219, -0.0499590747, -0.045416031, 0.0417353995, -0.0014077403, 0.0063443892, 0.0695855543, -0.0128615052, -0.0620576479, 0.0060835085, 0.0305421017, 0.0213906635, 0.0630969331, -0.0432867594, -0.014851206, 0.0264544841, 0.0199316312, -0.048018761, 0.0358614177, 0.0241656918, 0.0514943637, 0.0272485167, 0.0824324563, -0.0244824383, -0.0092803771, -0.0096382415, 0.0346057788, -0.0703569502, -0.0607996322, 0.0192869492, 0.0473463275, 0.0153517677, -0.062362019, 0.01130288, -0.0425655507, 0.0087888492, -0.0213024784, -0.0388443694, -0.0191820338, 0.0252037626, 0.0382871069, -0.029768981, -0.028590342, -0.0379186757, -0.0101183159, -0.0229702219, 0.009913398, -0.0058213025, -0.0090858275, -0.0453702435, 0.0137051642, 0.0284076072, -0.0322965421, 0.0015893023, -0.0233756918, 0.023902202, -0.0323347151, -0.0452156514, 0.0067191208, -0.0191157758, -0.0243824143, 0.019729672, 0.0097237695, -0.0461819097, -0.0205822233, 0.017250469, 0.0709009394, -0.0014640932, 0.0916204154, -0.0432056226, -0.0120986588, -0.0120829437, 0.034967564, 0.0030126467, -0.0358646214, -0.0213711038, -0.0035453443, -0.0386074819, -0.0021312237, 0.0862198398, -0.0097378716, 0.0380021296, -0.0013858727, -0.0120735047, -0.0326586179, -0.026741039, -0.0005536827, 0.0169454888, 0.0139861237, 0.0140807647, -0.0482859239, -0.0542918779, 0.0153035084, 0.0141786244, -0.0232924446, 0.0141950957, 0.0408137664, 0.0418431312, 0.0378685333, 0.0166086983, -0.0550116263, 0.0006936964, 0.0199656691, -0.0318182893, -0.0186335016, -6.340953748e-33, -0.0434586331, -0.0397235304, 0.0144656794, -0.0002514224, -0.0117206797, 0.0257157534, -0.0018055692, 0.0347399451, -0.012256748, 0.0066837356, 0.0016743628, 0.0088198874, 0.032157179, -0.011096919, 0.0787827, 0.0212771446, -0.0121194366, 0.0326141641, 0.0343845375, 0.004934412, 0.0330007374, 0.0308331233, 0.1056857929, -0.0328993276, 0.0496937931, 0.0042890795, 0.0042924429, 0.0221854895, 0.0424824432, 0.0082010105, -0.0128359972, 0.0690454841, 0.0190169401, 0.0400673412, -0.0163973719, -0.0698589757, -0.086695686, -0.0302399006, 0.0901445895, -0.0003801711, 0.009533097, -0.0342025273, 0.0348906517, -0.0262126196, -0.0125620179, 0.0645030439, 0.0271435119, -0.0325135551, -0.0183872674, -0.0044200993, -0.0613644235, 0.05372978, -0.0087056272, 0.0178759489, 0.0429673344, -0.0025816374, 0.0051652724, -0.0167931914, -0.0115713822, 0.0119664799, -0.0096756127, 0.0529219471, 0.0578369759, -0.0053524696, -0.0467714258, 0.0595093928, -0.0173496902, -0.0416044258, 0.0106788157, 0.0308030937, 0.0183494445, 0.0402525775, -0.0080335503, 0.0651725307, -0.0167365391, -0.0419113263, -0.0190974232, 0.0105496673, 0.0336515941, 0.054681886, -0.0351040028, -0.0152880438, -0.0384563506, -0.0422003679, -0.0082764858, 0.0028697418, -0.0096439701, -0.0299302787, 0.0230259188, 0.0102836434, 0.0289801396, 0.0280721486, -0.0169779714, 0.0025170955, -0.0134787774, 0.0007226436, 0.0310168602, 0.0103947474, -0.0266503673, 0.0182113443, -0.0350713357, -0.0256645307, -0.0324311852, 0.0376781635, -0.000638029, -0.0121756746, 0.0299201831, 0.0073515577, -0.0552644692, 0.0104939975, -0.0216333773, 0.0007348525, -0.0357796811, -0.024381265, 0.0165048894, 0.0162836351, -0.0141785117, 0.0182219669, 0.0222183373, -0.018818453, 0.0129858237, -0.0148267485, 0.0079959156, -0.0046726265, -0.0191503074, 0.0200461652, 0.0046659913, -0.0110956198, 0.0146177579, 0.0072355708, 0.0037443964, -0.0174635537, 2.824e-7, 0.0955889001, 0.0461423099, 0.009944207, 0.0271290746, -0.044440534, -0.0643028095, -0.0237117466, -0.0023024471, -0.0472789258, -0.007870513, 0.0090409787, 0.0259760693, 0.0128689222, 0.0496166646, -0.1236976385, 0.0115011809, 0.0025915026, 0.0056369686, -0.06440752, -0.0173112471, 0.0414249003, 0.0622551143, 0.0196021497, -0.0079168128, -0.0396911353, -0.0979225188, 0.0427349731, -0.0563150868, -0.0436090082, 0.0445986539, 0.1090906039, 0.0658752695, 0.0151179144, -0.0064025372, -0.0221682619, 0.0137713198, -0.006118048, 0.026670916, -0.0169655941, -0.0200741347, 0.0221534893, -0.053044349, -0.0223246776, -0.0322460383, 0.0359543972, 0.0076074982, 0.0282407738, 0.0368348174, 0.0304080974, 0.0457716212, 0.0107027031, -0.0420854352, -0.0539493673, 0.0137694338, 0.0637653694, -0.0308162812, -0.0470360927, -0.068995744, -0.0137963071, 0.0495838299, 0.008339162, -0.0391926952, 0.0336654708, 0.0014579316, -0.0089414725, -0.0475203134, 0.0309781395, 2.169686147e-34, 0.065693669, 0.0011609413, 0.029325733, 0.0720638856, 0.0551044121, -0.0129286647, 0.018382065, 0.0161982104, -0.0333314463, -0.0429569446, -0.0069127954 ]
http://arxiv.org/abs/2406.15476v1
http://arxiv.org/pdf/2406.15476v1
Self-Regulated Data-Free Knowledge Amalgamation for Text Classification
2024-06-16T21:13:30
2024-06-16T21:13:30
Prashanth Vijayaraghavan, Hongzhi Wang, Luyao Shi, Tyler Baldwin, David Beymer, Ehsan Degan
cs.CL
cs.CL
Recently, there has been a growing availability of pre-trained text models on various model repositories. These models greatly reduce the cost of training new models from scratch as they can be fine-tuned for specific tasks or trained on large datasets. However, these datasets may not be publicly accessible due to the privacy, security, or intellectual property issues. In this paper, we aim to develop a lightweight student network that can learn from multiple teacher models without accessing their original training data. Hence, we investigate Data-Free Knowledge Amalgamation (DFKA), a knowledge-transfer task that combines insights from multiple pre-trained teacher models and transfers them effectively to a compact student network. To accomplish this, we propose STRATANET, a modeling framework comprising: (a) a steerable data generator that produces text data tailored to each teacher and (b) an amalgamation module that implements a self-regulative strategy using confidence estimates from the teachers' different layers to selectively integrate their knowledge and train a versatile student. We evaluate our method on three benchmark text classification datasets with varying labels or domains. Empirically, we demonstrate that the student model learned using our STRATANET outperforms several baselines significantly under data-driven and data-free constraints.
[ -0.0008394414, 0.0641618297, 0.0046943328, 0.0256247465, -0.0011735003, -0.0028731043, 0.085961096, -0.0541656613, 0.0193300284, -0.0549303554, -0.0419168994, 0.0360281393, -0.0334367268, 0.0373494811, 0.0163399968, -0.0481786989, 0.0069712996, -0.0058438568, -0.0300292876, 0.0184859727, -0.0222747829, 0.0026598582, 0.0120908655, -0.0025171561, 0.015179201, 0.0116601801, -0.0326370485, 0.009205563, 0.0536125675, 0.0293822587, 0.0446111374, 0.0590913743, 0.0268955994, 0.0387588218, 0.0000019112, -0.0254985094, -0.0696197748, 0.0215558764, -0.0433261245, 0.008217277, 0.0586278401, 0.0267620329, 0.0238407757, 0.0071959659, -0.0533982366, -0.006837361, 0.024871856, 0.0644284487, 0.1022065356, 0.0403415971, -0.0070523401, -0.0226747766, 0.0262926854, -0.0490949452, 0.0149690099, -0.032590773, 0.0709878206, -0.0088698249, -0.0435883626, 0.0537795164, 0.004037186, 0.0408350751, 0.0284118559, -0.0053951498, 0.0488143116, 0.0168697797, 0.0047527184, 0.0003811598, -0.0180128627, 0.0720346645, 0.0028252886, -0.0238544457, 0.0200662259, -0.0285515655, 0.0513942838, 0.0336673744, -0.0291613471, -0.0119870473, -0.0125843147, 0.0004206328, -0.038726747, 0.0588062219, 0.013760793, -0.0052759978, -0.0189043023, -0.0199160911, -0.0150721846, -0.0148485694, 0.0160688311, 0.0186095778, 0.0259468425, -0.0454972163, -0.0115055544, 0.0170786865, 0.0884697214, 0.0116528887, -0.0767947361, -0.0437623076, -0.0012492921, 0.0032189789, 0.0018198537, -0.0260321163, -0.0048027579, 0.0758606568, -0.0269466117, -0.0083160801, -0.0070034345, 0.0418109149, -0.0158395544, 0.0205458868, -0.0967686474, 0.004170964, -0.0187132191, 0.0511130393, 0.0042269425, 0.0081046317, -0.0292845629, -0.0055370103, -0.0495251492, 0.0066607292, 0.0150123416, 0.0193668287, -0.0137176896, 0.0116314972, -0.0142583409, 0.0144897802, -0.0029052994, 0.0274720155, 0.0265620537, 0.0033273315, -0.0141639942, -0.0089016808, 0.0063323281, 0.009111817, -0.0127594629, 0.0041368506, -0.0192610901, -0.0147557948, -0.0618723668, -0.0698201284, -0.0033495466, -0.0410269313, 0.0041666203, -0.0658591315, 0.0602651909, -0.0317725837, -0.026129825, -0.0460038297, -0.0008962519, 0.0203923173, -0.0249610953, 0.0769788325, -0.0175880492, -0.0310896803, 0.0400334708, 0.0643556565, -0.0361541174, 0.0284750313, -0.0168199036, 0.0496667884, 0.0218369383, 0.0133298663, 0.0254738275, -0.014409638, 0.0803933665, 0.0266136341, 0.0199630596, -0.003039127, 0.0130917486, -0.0221055038, -0.0293167699, 0.0139676556, -0.0404185653, -0.010304912, 0.0252480749, 0.004143205, 0.0199253522, 0.0379930846, 0.0246394519, 0.0307235736, 0.0285088178, 0.0067283642, -0.0305431262, -0.0114264302, -0.0451533571, -0.0357190296, 0.0232083108, 0.0279593561, -0.0235561896, -0.0917440578, 0.0187273882, -0.0529236086, -0.0048553571, 0.0114301639, 0.0738577023, 0.0330447927, -0.0167199075, -0.0068539423, 0.0111696543, -0.0746634007, 0.0204288401, -0.0478125364, 0.003464239, 0.0222201385, 0.0189604107, -0.0739402622, -0.017211128, -0.0325416587, 0.0546379425, -0.0170537829, 0.0423986055, -0.02461005, 0.0122382566, -0.0676916018, -0.0778468251, 0.0098253675, 0.0326570608, 0.0521963984, 0.007565028, 0.0111473007, 0.0550686717, 0.0024459483, -0.0360224247, 0.0413188115, -0.0613063574, -0.0458221063, -0.014418304, 0.0127135906, 0.0138082234, 0.0225488879, -0.027561726, -0.0250441134, 0.0226438623, -0.0228052586, -0.0720530376, -0.037281666, -0.0402798764, -0.0275396612, -0.0026702434, -0.0334247425, 0.0221143272, -0.0101849604, -0.0424020067, -0.0708322078, 0.0089676268, 0.0485276207, 0.0183110181, -0.023164466, -0.0288539138, 0.0298396479, 0.0022867378, -0.0075883111, 0.0663193911, 0.0409195162, -0.0168454088, -0.0088403821, -0.0190789606, 0.049115818, 0.0082781911, -0.0290149283, -0.0742940903, -0.0091528399, 0.0316631086, -0.0005596019, -0.0146195255, -0.0393494889, -0.0254649445, -0.0425415672, 0.0061609237, 0.0059708622, -0.0084206443, 0.0022455605, -0.0046328395, 0.0061456244, -0.0142969154, -0.0465532392, -0.0268276446, -0.0519254021, -0.0191634186, 0.0093372948, 0.019552039, 0.016068073, -0.0097134113, -0.0352591462, -0.0252089109, 0.0602190234, 0.0332339779, -0.0010508703, -0.0277123414, 0.0283764079, -0.0362512209, 0.0651860833, -0.0130189834, -0.0260854401, -0.0285934415, -0.041699335, -0.02226891, 0.0627591014, -0.0342364684, 0.0006753703, 0.0517706126, -0.0186539609, -0.0493694209, 0.0315069035, -0.0264621321, 0.0215889271, 0.0113477837, 0.0208394174, -0.0069910455, 0.0215691049, 0.0093146497, -0.0868491381, -0.0709278062, 0.028185226, -0.0051066517, -0.0131109087, -0.0679441541, -0.001420089, 0.0479542129, 0.0193995256, -0.0016995543, -0.0203870721, 0.0665039495, -0.0170466006, 0.0094171362, 0.0012899203, -0.0411401168, -0.0555239618, 0.0420262516, 0.003973403, 0.0271770172, 0.0647933707, 0.0204702858, -0.0476883873, 0.0038973985, 0.0732223317, -0.048765745, 0.018799087, -0.0207343642, 0.021947667, -0.0122047653, -0.03977203, -0.0382307023, -0.0328790024, -0.0013351395, 0.0000972733, -0.0042242827, -0.0478994995, -0.0489440113, -0.0331406444, 0.0316463038, 0.0541564673, -0.0241538957, -0.0344688408, -0.0000828173, 0.0395136699, -0.0090782531, -0.0290917456, -0.0471769981, -0.0216833372, 0.0136401784, 0.0670806691, 0.0281191636, 0.0024362304, -0.0106916763, -0.0154126817, 0.0115589676, -0.0308196563, 0.0047378405, -0.0105241686, 0.0069533759, -0.0474179685, 0.0030025223, 0.0633059368, 0.0223877821, -0.0337999538, -0.072798267, 0.0114916181, 0.0327408761, 0.0163586345, 0.0384983681, -0.0636555851, -0.0180285014, -0.0030496565, 0.0305454712, 0.0289437491, -0.0316329375, -0.0311955065, -0.0835460275, -0.0111737531, 0.0464131534, -0.0549715608, -0.0022156385, -0.0335445963, -0.0281260535, -0.0241089948, -0.0601904579, -0.0367222279, -0.0102912011, -0.0004577856, 0.0274788365, -0.0236588102, -0.0335332416, -0.0269995444, -0.0106023466, 0.0471526645, 0.0092279874, -0.0126449624, -0.0118113812, -0.0513563789, -0.0134802125, -0.0070340107, -0.0395177267, 0.0155338384, 0.112533085, -0.018229235, 0.0037049779, 0.0300909597, 0.0710572004, -0.0629662126, 0.0016639428, 0.0315005146, 0.0709882751, 0.0453447811, -0.0147903459, -0.0558415689, -0.0108460793, 0.0285480246, 0.0648396239, -0.0023248314, -0.0450959653, 0.0218646917, 0.0048272968, 0.0017120728, -0.0182503629, -0.0148088774, 0.0737494081, -0.0340905562, -0.0438903347, -0.0396182649, -0.0125697525, 0.0125498185, 0.0399570838, 0.0357913859, 0.0115663689, 0.0312631764, -0.0161774661, -0.042473048, 0.011811858, -0.0213495456, 0.0007453962, -0.0340681039, 0.0002066948, 0.0391469188, -0.0343961716, -0.041652564, -0.0016459703, -0.0759656429, -0.0675949827, 0.012008532, 0.0318228267, 0.0160495844, 0.0254485477, -0.0081044789, -0.033429686, 0.1036967188, 0.058226604, -0.014905124, -0.0287166573, 0.070931904, -0.0451748706, -0.0022585383, 0.0108522456, -0.0667506233, 0.0422515646, 0.0067162015, -0.080532141, -0.0736352429, -0.0082175806, -0.0355530828, -0.0120279389, 0.0414607339, 0.0234805495, -0.0199807622, -0.0691047236, 0.0261608977, 0.0126379877, -0.0233696476, -0.0595534071, 0.0273506753, 0.0486642532, -0.0065673059, -0.0083729299, 0.0108683109, 0.0736571178, 0.0111021698, -0.0311971996, -0.0179849174, 0.0090025812, 0.0189088583, 0.0362324975, -0.0135067301, -0.0206645709, 0.0038888366, 0.0101078628, 0.0091281505, -0.01299119, 0.0203406923, 0.0338431224, 0.0480384827, 0.030831296, 0.0166837517, -0.0973512307, -0.0164067801, -0.0317779258, -0.0115983784, 0.0188932717, 0.0303551201, 0.0254821293, -0.0054116827, -0.025942428, -0.0091934912, -0.0028247957, 0.0009439205, 0.0130710555, 0.0352562927, 0.0132057322, 0.0070071607, 0.0227659214, 0.0469105951, 0.0212589484, 0.0396287702, 0.000086366, -0.0181663614, -0.0440284312, 0.003453413, 0.0651618093, 0.0330224633, -0.0148789845, -0.0295083001, -0.0030407782, -0.063120693, 0.0500517264, 0.0229595583, -0.0217116531, 0.0458795391, 0.0291802417, 0.0136531284, -0.0092966277, 0.0134798791, -0.0128320418, 0.0009454184, 0.0072421231, -0.0202851277, 0.053931959, -6.095817626e-33, -0.0126962354, -0.0044057765, -0.0026047695, 0.0148815755, 0.0093167927, 0.0349514857, 0.0172169022, -0.0061384034, 0.0076274658, 0.0192210879, -0.0086984877, 0.0271953102, -0.0010483091, 0.0701505691, -0.0000308376, 0.00233333, 0.0519428588, 0.0139172273, 0.0189644024, 0.0628526881, 0.0447735116, 0.0279595722, 0.0091259927, -0.1004991531, 0.0364283621, -0.0225353409, -0.0153869363, 0.0226299278, -0.0548175275, 0.0411321297, -0.0030193161, 0.0385476463, 0.0251529329, -0.0219179988, -0.0086205397, 0.0390148163, -0.087982513, -0.0784573331, -0.0542620905, -0.0228770543, -0.0108933803, -0.0165868625, 0.0562076457, 0.006164378, 0.0725404248, -0.0601274185, 0.0728696063, 0.0202461742, -0.0118178781, -0.0768783391, 0.0153543781, 0.0231983755, -0.0022646869, -0.0329907574, 0.0498862416, -0.000677672, 0.0380900055, -0.009731628, -0.0853365213, 0.0217973255, 0.0461300947, 0.0168420915, 0.0162239484, 0.0296063758, -0.0302997958, 0.049970977, 0.0072783879, 0.0024909435, -0.0552246943, -0.0229450744, 0.0129903769, 0.0702270418, 0.0473333262, 0.0486438833, 0.0277764723, -0.0146673312, -0.0586209372, 0.0416095629, -0.0124343904, -0.0522057675, -0.0338033587, 0.0042322497, -0.0378766134, -0.010510725, -0.0512567423, -0.0322417356, -0.0182412881, 0.0148155848, 0.0100963423, 0.0290277805, -0.0337006934, 0.0193101969, -0.0044687856, -0.0645933598, -0.0406677574, 0.0146393348, 0.0335583352, -0.0047807256, -0.0264137238, -0.0044253436, -0.0681627095, -0.0283716172, 0.0433389433, 0.0069168932, 0.0052573662, 0.0142766209, 0.0924621075, 0.0282915942, -0.0740084872, -0.0265482794, 0.0033968403, 0.0168563724, 0.0476131439, 0.0158364605, 0.0301185753, 0.0358538926, -0.0085571148, 0.0162500646, 0.0462206565, 0.005155304, -0.0205277801, 0.0213362519, 0.0162228588, -0.0204455052, 0.0136442753, -0.0516123548, -0.0073342817, 0.0036424086, 0.072173737, -0.0593877546, 0.0197785869, 0.0215361938, 2.615e-7, 0.0187013689, -0.0224870965, -0.0136076296, -0.0483790971, 0.0061253733, 0.0577247813, -0.0006343149, 0.0400800183, -0.0190923382, -0.0181719214, 0.0065127476, 0.0460613035, 0.031187905, 0.0481486171, -0.077828221, -0.0415263847, 0.0016249595, 0.0141727086, -0.0352121554, -0.0083127515, 0.0841927603, 0.0364392474, 0.0895428509, -0.0084833736, -0.0104901204, -0.0174099747, 0.0436599366, -0.0017181619, 0.0213589743, 0.0377004147, 0.0641779378, 0.0416546017, -0.0486811921, 0.0452975594, -0.0486573279, 0.0266906638, -0.0105437087, 0.0439883284, 0.0071782488, 0.0053496435, 0.0076260003, -0.0016098183, -0.0223096404, 0.0079002324, 0.0706438795, -0.0811385959, 0.0113196429, 0.0420816801, -0.0003153044, -0.0398913026, 0.0266341269, 0.0537762977, 0.0216927659, 0.0235086866, -0.0022516067, -0.0010501273, -0.0117033385, -0.1178485081, 0.0255394019, -0.0326013118, -0.0224005487, -0.0081134588, -0.0119495029, -0.0053579397, 0.0089481818, -0.0596460626, 0.0455011502, 2.148436561e-34, 0.0022472534, -0.0113449814, 0.0177352987, -0.0410594903, -0.0037457545, -0.0219417047, -0.0001207638, 0.0046844375, 0.0171541441, -0.0418708399, -0.0181188211 ]
http://arxiv.org/abs/2406.11073v1
http://arxiv.org/pdf/2406.11073v1
Exploring the Limitations of Detecting Machine-Generated Text
2024-06-16T21:02:02
2024-06-16T21:02:02
Jad Doughman, Osama Mohammed Afzal, Hawau Olamide Toyin, Shady Shehata, Preslav Nakov, Zeerak Talat
cs.CL
cs.CL
Recent improvements in the quality of the generations by large language models have spurred research into identifying machine-generated text. Systems proposed for the task often achieve high performance. However, humans and machines can produce text in different styles and in different domains, and it remains unclear whether machine generated-text detection models favour particular styles or domains. In this paper, we critically examine the classification performance for detecting machine-generated text by evaluating on texts with varying writing styles. We find that classifiers are highly sensitive to stylistic changes and differences in text complexity, and in some cases degrade entirely to random classifiers. We further find that detection systems are particularly susceptible to misclassify easy-to-read texts while they have high performance for complex texts.
[ 0.0491025075, 0.0361864492, -0.0276337676, 0.0385597683, -0.0404445753, 0.0304005966, 0.0177179128, 0.0552621968, 0.0072734142, -0.0598476306, 0.008447865, -0.0421011262, 0.0222444274, 0.0316325054, -0.0041948296, -0.0106949331, -0.0022615853, -0.0075025489, 0.0037536148, 0.0387902036, 0.0320969857, 0.0256717689, 0.0128129078, 0.0139437551, -0.006353314, -0.0255242158, 0.0135970293, 0.0344120562, 0.0021392892, -0.0023783578, 0.0296602659, 0.0721666664, -0.0279358644, 0.105230391, 0.0000015301, -0.022588402, -0.0018789661, -0.0176876187, -0.0226245001, 0.0213457029, 0.0905500874, -0.0325398929, -0.0411945544, 0.027364986, 0.0050381632, -0.0037028436, 0.0147741586, 0.0459131114, 0.0000321417, 0.0836660862, -0.0283714011, -0.0022084895, 0.0246240348, 0.0215872508, 0.0111227427, 0.0017614167, 0.0134112416, -0.0521199293, -0.0093634222, 0.0053401561, 0.0339627862, 0.0146404887, -0.0108174514, -0.0413653888, -0.0010199187, 0.0232796315, -0.0166825447, 0.0021246278, -0.0256006345, 0.0086955987, -0.0118341567, -0.0561284795, 0.0462783352, -0.0280192178, 0.025407685, 0.0217633191, 0.0405451357, 0.0451835468, -0.0734135136, -0.0066351094, -0.0032154601, 0.0161324721, 0.0081979539, 0.0547877252, 0.0183628723, 0.0180905089, 0.0009580693, -0.048302412, -0.0200631265, 0.0369706713, 0.0177770685, -0.0453637876, 0.0555832461, 0.0148975886, 0.0081058219, -0.0235930271, -0.1000687256, -0.0694006979, 0.021521749, -0.039457228, 0.0444416031, -0.0286206771, 0.0108429464, 0.0108975191, -0.0587016493, 0.0404343791, -0.0158554185, -0.0182572305, 0.0049560089, 0.0395229459, -0.0217841994, -0.0201135799, -0.0021986142, -0.0236178748, 0.0051218984, -0.0156904962, -0.0246363971, 0.0577797443, 0.0136966435, 0.0033016084, -0.052440498, -0.0333299004, -0.0196942259, 0.0152528705, -0.0005105702, -0.0213021934, 0.021957282, 0.0236950908, -0.0090540433, -0.0432439074, 0.0106201917, 0.0730583742, 0.0439870209, 0.0111168744, 0.0166418944, 0.0270841792, -0.0363369137, -0.046680253, -0.0565085635, -0.039524056, -0.0342365913, -0.0303367116, 0.0080077685, -0.0451422296, -0.0581993088, 0.0047810068, -0.0223157108, 0.00033693, -0.0128244292, 0.0448258892, -0.0162391923, 0.0342235789, -0.0061875819, -0.006934708, 0.074496679, -0.0175755359, 0.0167557336, 0.0323465131, 0.0103245154, 0.0815370753, 0.0429764092, 0.0024338304, 0.0721751973, 0.0593106225, -0.0302775074, -0.0053315489, 0.0053639975, -0.0551358312, -0.0269278847, 0.0127395736, 0.0261835866, 0.0410792194, 0.028174486, 0.0039190315, 0.0866021737, 0.0090081329, 0.0299227443, 0.006143935, 0.0528485253, 0.0568814687, 0.0223501138, 0.059820883, -0.0011762925, -0.0525342599, -0.0553302541, 0.001884995, -0.0041392944, -0.0190753397, 0.005980453, -0.0300109815, -0.0253354348, -0.0206564348, -0.0043719276, -0.054794956, 0.0709151775, 0.0214213412, -0.0496024787, -0.0686870441, -0.0171084385, -0.0332255699, -0.001951831, -0.0575149618, 0.0603735149, 0.0727428347, 0.0426113941, -0.0049095396, 0.0717770681, -0.0098675452, 0.0189453252, 0.059554588, 0.0222451501, -0.0103860367, -0.0057750447, -0.0233167522, -0.0157820918, 0.0303665586, 0.0263823457, -0.0141624073, 0.0268438365, 0.0114550637, 0.0178676397, -0.0154456319, -0.0686036274, 0.0793433264, 0.0101188319, -0.0237442572, 0.0156922229, 0.0315718018, -0.0119089521, -0.0011859826, -0.0437349342, 0.0080093583, -0.0175470617, -0.0382525884, -0.0199156981, -0.0240831655, -0.0032447092, -0.0144404471, -0.0205808561, -0.0174981523, -0.0556762591, 0.0055104322, -0.0030117489, -0.008259831, -0.0057889414, -0.0853477046, -0.0064444947, -0.0899379402, 0.0345515497, -0.0486178771, 0.0113266949, -0.0337417386, 0.0696304291, 0.0097957039, -0.0122521473, 0.0113438899, -0.0237180665, 0.0363166593, -0.0120724496, 0.0152970403, -0.0393044911, -0.0346603021, 0.0216922183, 0.0170767866, 0.0156481899, -0.0179839674, -0.0467399657, -0.0518972091, -0.0066529126, -0.0494886898, 0.0214765817, 0.0241036844, -0.0243800618, -0.0142235663, -0.0049054865, -0.004175033, -0.0039032709, 0.0336045809, 0.0150563447, 0.055791121, -0.041537717, 0.0370940976, -0.0027854089, -0.0076199169, -0.0007378139, 0.0453820154, 0.072190173, -0.0263618492, -0.0816885009, 0.0345911272, 0.02231819, -0.0277991816, 0.0238582008, -0.0274039544, -0.0141224042, -0.0118503682, 0.0329318307, 0.0823342949, 0.0544429645, 0.0287440754, 0.0099380007, 0.070875138, 0.0136297522, -0.0232594721, 0.0026353304, 0.0355845802, -0.0013720568, -0.0707802102, 0.0524510518, 0.0459281392, -0.0050200988, 0.0075279148, 0.0119061051, 0.027053399, 0.0004276821, -0.0184632745, 0.0000235992, -0.0163571108, -0.0235674884, 0.0505085923, -0.0270807371, -0.0804577321, 0.0376329757, -0.0279831029, 0.0161131881, -0.0162608586, -0.0335694589, -0.0122630214, -0.0016756968, 0.0241327882, 0.0352475718, 0.0276185516, -0.0320151374, -0.0278913341, 0.0495462008, 0.04947339, -0.0130949477, 0.029240191, -0.0218309499, 0.0053751096, -0.0029593259, -0.0199388359, -0.0580891259, -0.0389248803, 0.0033996464, -0.0280733407, 0.0503996983, -0.0359202251, -0.0097808298, 0.0105246687, -0.0045048399, 0.0668819919, -0.0236332957, -0.0248179846, -0.0193800498, 0.0874609798, 0.0129053574, -0.0406058691, 0.0117125819, -0.0545578375, -0.0159898866, 0.0334286653, -0.0240517799, 0.0222449545, -0.0031157748, -0.0140471533, 0.01423671, -0.0221840218, -0.0375373811, 0.0258877352, 0.0213854909, -0.0599403121, -0.010193903, 0.093150124, 0.0229784418, -0.0364678316, -0.0168568157, 0.0018232209, 0.0291474294, -0.0047149858, 0.0180007219, -0.0293918774, -0.018911371, 0.0273230094, 0.0287702363, -0.0600673705, 0.0234541483, 0.0079259975, -0.0737651363, 0.036824815, -0.0012313224, -0.0488821343, -0.0273080673, -0.0204034355, -0.0133448336, 0.0179208685, -0.0485500768, -0.0139282318, -0.0452647954, -0.0050840164, -0.0008372372, -0.063312538, -0.0489564724, -0.0572807305, -0.0296581499, -0.0012528269, 0.0699977875, 0.0442936011, -0.0390084349, -0.0425843671, 0.0309222434, -0.0335846506, 0.007615041, -0.0269627497, 0.0706524104, 0.0080364356, -0.0028768617, -0.0648544133, 0.0166482795, 0.0116546927, 0.0142935822, 0.0229093507, 0.0151630035, -0.0217824839, -0.085135825, -0.0381495878, -0.0056821732, 0.0212119836, 0.0441649333, 0.0301970895, -0.0666190609, -0.0942033604, -0.0494157858, 0.0325590335, -0.0796707645, -0.0191290081, 0.0047099409, -0.0173295829, -0.0428598411, -0.0975297391, -0.0188015532, -0.0363227427, 0.0108513916, 0.0131847989, -0.0017189007, -0.0113444747, 0.0023249923, -0.0823476464, -0.0427648388, -0.0021933634, 0.0212567803, -0.067975536, -0.0283383001, -0.0156674068, -0.0468022563, -0.0028489751, 0.0196783077, -0.0540309809, -0.0228479858, -0.0016786664, -0.0103399465, 0.0176723674, -0.0076314067, -0.0116512105, -0.0565573722, 0.0938175172, 0.0407078713, 0.004569666, 0.006459787, 0.0100718709, -0.0351266116, -0.0494245254, 0.0138643654, -0.0189681537, 0.0334071703, 0.0228575896, -0.0666192472, -0.0216498058, -0.0072048847, 0.0032984277, -0.0068177213, 0.0084525142, -0.0252507962, -0.0197216962, -0.0243500602, -0.0440534167, 0.0269082189, -0.0119714038, -0.0344463848, -0.0162385963, 0.0166090727, 0.0370585322, -0.0323490351, 0.0503696501, -0.0062497882, 0.05878428, -0.018331917, 0.0052520912, 0.0132306926, 0.0976443067, 0.0003960806, 0.0030443962, 0.0025323685, 0.0517069995, 0.0078188796, 0.0290926527, 0.0162201785, 0.0471161455, -0.005638611, 0.0051541529, 0.0008792335, 0.0129036102, -0.0675936118, 0.0390737616, -0.0420114435, 0.0184649769, 0.0538595319, -0.0484162867, 0.0289406516, -0.0382250436, -0.0069577689, -0.0524655394, 0.021703817, 0.0251874719, -0.0173116159, -0.0526270568, -0.0086074928, -0.0377806835, -0.0014991496, 0.0750954002, 0.0506828614, 0.0178030282, 0.0051708906, -0.0451131016, -0.0312960558, -0.0072431294, 0.0372508056, 0.0005994671, 0.0020292799, 0.0155703351, -0.0279448703, -0.0292125065, 0.0762590915, -0.0273097381, 0.0492719077, -0.0062418259, -0.0151464427, 0.0563901328, -0.0142168896, 0.0008369365, -0.0746712089, 0.0263206791, -0.0206661094, 0.0120987957, -0.0238075405, -4.863613754e-33, 0.0103001222, -0.0824896619, -0.0524053909, 0.0198175143, 0.0155088454, 0.025967529, -0.0296820626, -0.0177882425, 0.0227540545, 0.0303205345, -0.0233633183, 0.0127852075, 0.0131965484, 0.0179761108, 0.0052451147, 0.0025104694, 0.066152662, -0.0281045996, -0.0493414924, 0.0183272921, 0.0307419579, 0.0101084094, 0.0101824785, -0.0660746992, 0.0104367454, -0.0561936907, -0.0239595324, -0.0062884842, 0.0027540692, 0.0460605547, -0.017058026, 0.0355576538, 0.0533774979, 0.0005305283, -0.0121529503, 0.0687409416, -0.0207761247, 0.0097799776, -0.0627305061, 0.0260550287, -0.0131940125, -0.0718328208, 0.0463927537, -0.0293758493, -0.0209611077, 0.014938849, 0.0837193504, -0.0302418005, -0.0011551613, -0.0599412769, -0.0577421077, 0.0461547971, 0.0251812562, -0.0089491755, 0.0362035297, 0.048011858, 0.0217490364, 0.0024151269, -0.0473307148, 0.0252736323, 0.0061595854, 0.0092397351, -0.0002266221, 0.0446454398, -0.0367863066, 0.0297884587, 0.02590294, 0.0567668192, -0.0353163444, 0.0071240463, 0.0255755559, -0.014270436, 0.0594469979, 0.0739946365, 0.0432305336, -0.0341296159, -0.0340182409, 0.0620749518, 0.0051542153, -0.0382520892, 0.016279988, -0.0207425486, -0.0495901592, -0.0090645291, 0.0067894217, -0.0687247068, -0.0214186739, 0.0220399052, 0.0086823367, 0.0290845502, -0.0097202631, -0.0112386681, 0.0056442018, -0.0362597182, -0.0312784202, -0.0044527934, -0.0293903667, 0.0325112045, 0.0015767396, -0.0116831865, -0.0045260438, -0.0161253605, 0.0412363559, 0.0259683169, 0.0208152831, -0.0007229561, 0.0641286746, 0.0109606767, -0.0659080371, 0.0238549784, 0.0187614486, 0.0126436204, 0.0261874236, 0.0318937115, 0.0165744256, -0.0637835637, 0.0220870096, 0.0048392075, 0.0259514824, 0.0273240879, -0.0408742651, -0.0390640385, -0.0313923284, 0.0160278939, -0.0253414381, -0.0094496598, -0.0349083096, 0.0255294591, 0.0012158479, -0.0512992851, 0.036989063, -0.0648882687, 1.991e-7, 0.0352533497, 0.0516858958, 0.0443390571, -0.0004161003, 0.0449442342, 0.0517459065, 0.0128454948, 0.0117197428, -0.0341411792, 0.0446608029, 0.013299101, -0.0281016566, 0.0920073166, -0.0142082833, -0.0752366632, 0.0113060838, -0.0576540381, 0.0568338446, -0.0479869433, 0.0175247453, 0.0902544558, 0.0360357575, -0.0261174683, -0.0478792712, 0.0397039875, -0.0842341557, 0.0639109686, -0.0108575402, 0.0556302667, 0.0108177373, 0.0464960821, 0.0079401052, 0.0034834868, 0.030971121, -0.038972225, -0.0169051997, 0.0176674463, 0.0629311278, 0.0157291498, 0.0530013777, 0.0062567671, 0.014520647, 0.0182143115, -0.0153418863, 0.0661962032, 0.016686514, 0.004233269, -0.0479517579, -0.003117783, -0.0689811632, 0.0174625311, -0.0141354641, -0.0166794527, 0.0338152014, 0.0027353861, -0.015642941, -0.005983572, -0.0527616218, -0.0232945774, -0.0227657966, -0.0330993533, 0.0180697609, -0.0642886683, 0.0262900591, 0.0708249584, -0.042520348, 0.0353750512, 1.774880413e-34, 0.0301095061, -0.0170203391, -0.0167250857, 0.0088254418, -0.0086103836, 0.0267312657, 0.0319919698, 0.0059844563, -0.011087046, -0.0387158692, 0.0513419546 ]
http://arxiv.org/abs/2406.11069v1
http://arxiv.org/pdf/2406.11069v1
WildVision: Evaluating Vision-Language Models in the Wild with Human Preferences
2024-06-16T20:53:25
2024-06-16T20:53:25
Yujie Lu, Dongfu Jiang, Wenhu Chen, William Yang Wang, Yejin Choi, Bill Yuchen Lin
cs.CV
cs.CV, cs.AI, cs.CL
Recent breakthroughs in vision-language models (VLMs) emphasize the necessity of benchmarking human preferences in real-world multimodal interactions. To address this gap, we launched WildVision-Arena (WV-Arena), an online platform that collects human preferences to evaluate VLMs. We curated WV-Bench by selecting 500 high-quality samples from 8,000 user submissions in WV-Arena. WV-Bench uses GPT-4 as the judge to compare each VLM with Claude-3-Sonnet, achieving a Spearman correlation of 0.94 with the WV-Arena Elo. This significantly outperforms other benchmarks like MMVet, MMMU, and MMStar. Our comprehensive analysis of 20K real-world interactions reveals important insights into the failure cases of top-performing VLMs. For example, we find that although GPT-4V surpasses many other models like Reka-Flash, Opus, and Yi-VL-Plus in simple visual recognition and reasoning tasks, it still faces challenges with subtle contextual cues, spatial reasoning, visual imagination, and expert domain knowledge. Additionally, current VLMs exhibit issues with hallucinations and safety when intentionally provoked. We are releasing our chat and feedback data to further advance research in the field of VLMs.
[ 0.0085423291, 0.0526365638, -0.0069069508, 0.0471398011, -0.0541696511, 0.0124766994, 0.0031937945, 0.0023302149, 0.0335297994, -0.0415528975, -0.059708178, -0.0532890297, 0.0340136923, 0.0612691939, 0.0071994737, -0.0564269125, -0.0094375741, -0.0626676083, -0.0222389027, 0.022261763, -0.0083928565, -0.0012414529, -0.0438060276, 0.0536595657, -0.0017089029, -0.0072495514, -0.0073332391, 0.0134460106, 0.0333705433, -0.0349512734, -0.042396985, 0.0557104573, 0.0135435471, -0.0046578017, 0.0000022415, -0.0448903441, 0.0548011623, -0.0305567365, 0.048320137, -0.014798617, 0.0281458795, 0.014175592, 0.0029826968, -0.0021990305, -0.0458219275, -0.0153881377, 0.0730106011, 0.0259312261, 0.0264067557, 0.0200642403, -0.0092264852, -0.0160065126, 0.0200601164, -0.0157148652, 0.0305074621, -0.0150600737, 0.0497557558, -0.0062224325, 0.0110341329, -0.0413333774, -0.0353153981, 0.0087836981, 0.0280334204, 0.0036576991, 0.0141468542, 0.0347116552, -0.082946822, -0.0597937256, -0.0257345811, 0.0876651406, -0.0216278676, -0.0327275731, 0.0211875513, 0.0173938852, -0.0077496525, 0.0088300519, -0.0341051221, 0.0190844443, -0.0183664821, 0.0048988946, -0.0576090813, 0.0303260274, 0.0139949108, -0.0196624398, 0.0096505219, 0.02692274, 0.0263328459, 0.0279631168, 0.0414104499, -0.0043472033, -0.0408094898, -0.0776842833, 0.0089906175, -0.0393343233, -0.0464047752, -0.0161437467, -0.0616624244, 0.0189884137, -0.0105892885, -0.0391794741, 0.0653601587, 0.0207974631, -0.0543916039, 0.057992667, 0.0016524788, 0.0557036176, -0.0115604391, 0.0346275344, -0.0026010424, 0.0190488957, -0.0217666794, 0.00277945, -0.0039066449, -0.0416829772, -0.0559514575, -0.0528788529, -0.02968481, -0.0039807376, -0.0431548804, 0.0104604829, 0.0072890655, 0.0357391089, 0.0187378265, -0.0163544063, -0.0438556597, -0.0000454282, 0.0037350857, 0.0080551403, 0.002478312, -0.0879299939, 0.0232496988, 0.0474358201, -0.0167490896, -0.013835934, -0.0305532105, 0.1073801816, 0.0150818639, -0.0366165861, 0.0226175506, 0.0052011744, -0.0138031198, -0.0516579561, 0.0290001724, -0.061642278, 0.0219630785, -0.0326854363, -0.0089781992, -0.0283953249, 0.029052183, 0.002008595, -0.0109124472, 0.0948962718, -0.0118014114, 0.0030220081, -0.0326597467, 0.0221997947, 0.0097631849, 0.0493313856, 0.0263961479, 0.0408109128, 0.01876943, -0.0118515696, 0.0803183839, 0.0314423963, -0.0393811092, -0.0062952922, -0.0548305809, 0.0043269871, -0.0063279155, 0.0689073727, -0.0039445814, 0.0705713108, -0.0258941278, -0.0752763003, 0.0984883755, 0.0710435137, -0.0019032022, -0.0545787103, 0.0158689711, -0.0146413362, 0.0282971393, -0.0351334549, -0.0523000769, 0.0609803051, -0.017690897, -0.0203495715, -0.0081428587, 0.0108862538, -0.0156231141, -0.0347333401, -0.0366837122, -0.0103831897, 0.0083519584, 0.0330073908, 0.0407322422, -0.0132740242, -0.0377201885, -0.0294411145, 0.008413245, -0.0422727764, -0.0091939569, -0.0508757122, 0.0111556742, 0.0966227278, 0.0392496549, 0.01232515, 0.0042617158, -0.0073721409, 0.0311443731, 0.0600086376, 0.0376180299, 0.0356099717, 0.04752912, -0.0383562669, -0.0257947408, 0.0059292288, 0.0151721556, 0.0263756923, -0.0192805305, -0.0184803084, -0.0055098399, -0.0506168082, 0.0003488467, 0.0336421169, -0.0005130445, 0.0007969072, -0.0423250422, 0.0056832801, 0.0088386005, 0.0127698267, -0.0067710117, 0.0237610675, 0.0267121512, -0.0158341285, 0.0298262648, 0.0568965077, -0.0328592435, 0.0183973406, 0.0415868834, -0.0806641355, 0.0143918926, 0.0458508171, 0.0009494738, 0.0049698036, 0.0042711319, -0.0176345985, 0.013614702, -0.0314806812, 0.0078445282, 0.0240944605, -0.0112478537, -0.0071505387, 0.060056977, -0.0316062756, -0.009651334, 0.0059922095, -0.0129556768, 0.0064264378, -0.0316506438, -0.0226821061, 0.019497769, -0.0045059584, 0.0191855039, -0.0053745992, -0.0168615244, -0.0794587806, 0.015819082, -0.0822925866, -0.0304739419, -0.0330514759, -0.0389761701, 0.0098458594, -0.0346063152, -0.030614743, -0.0314533971, -0.0299953148, 0.0380999558, -0.0173971076, 0.0206786059, -0.0061287759, -0.0239612926, -0.0245540012, -0.0233074278, -0.0121086687, 0.0204579718, 0.0552189574, 0.0181768704, -0.0038395792, -0.0083027864, 0.0226631872, -0.0525012873, 0.039359346, -0.0434683412, -0.021395022, 0.0363812372, -0.0287805423, 0.0097472444, 0.068028219, 0.0361319445, -0.0049615591, 0.052820079, -0.0170594845, -0.0033460904, -0.0470052809, 0.0175975095, -0.0351134799, -0.0109388251, 0.0134763736, 0.0099072661, 0.0421701893, 0.0093678134, 0.033186812, -0.0893478766, 0.0524394475, 0.025305843, -0.0842611268, -0.0176966507, -0.0019016225, -0.0289815068, 0.0730945617, -0.0255929772, -0.0675076023, 0.0553597286, -0.0303119645, -0.0077947672, 0.0270288922, 0.0305713695, 0.0065689394, 0.056694027, 0.0467653312, 0.0070349425, -0.0241959412, 0.0036506178, -0.0437692702, -0.0433534496, -0.0114380633, -0.0376866125, 0.0543535352, -0.0718390197, 0.0018406047, -0.0009297788, -0.0052487594, -0.0370666534, -0.0010498329, -0.0553655997, -0.0207735524, -0.0294448026, -0.0021573873, -0.0137351817, 0.0276067797, 0.0106314439, 0.0249508955, 0.0090907821, -0.0291826278, -0.002535654, 0.0034595227, 0.0748755112, 0.0275777038, -0.0015094025, -0.0379927419, -0.0135214543, 0.095499143, 0.0312045943, 0.001571694, -0.069852896, 0.0529890321, 0.003608563, 0.0346294865, 0.0086035943, 0.0458627902, 0.0588993765, -0.0327090286, 0.0302750301, 0.0575880781, 0.0152768213, -0.0522443131, 0.0055413465, -0.0133583955, 0.0450731739, 0.0269731246, -0.0155622829, -0.0933613256, -0.0454333387, -0.0010781564, 0.0273700152, 0.016440304, -0.0395595916, 0.0081145531, -0.0817108154, 0.0458214171, 0.017118955, -0.023007134, -0.0059137987, 0.0045032604, 0.0391178988, -0.0446408205, -0.0091449823, 0.0046604536, -0.0088337185, -0.0037834954, -0.0192506872, 0.0160635058, -0.0193880834, 0.0752086937, -0.0440960042, 0.0285599977, 0.0763270035, 0.0108767189, 0.0146470275, -0.0924811661, 0.002925287, 0.0204927903, 0.0236468129, 0.0021133542, 0.0426548049, -0.0246566348, -0.0123982178, -0.0179290622, 0.0523966514, -0.0341418125, -0.0492887832, 0.0006166225, 0.0055240332, -0.0247702859, -0.0232223645, -0.0361660533, 0.029513834, -0.0092929583, 0.049809251, 0.0299401078, -0.0589696765, -0.0443425663, -0.0014322901, 0.029492544, -0.0172293186, -0.0934476703, -0.019043304, 0.0897102132, -0.0388759971, -0.0765078366, -0.0133819021, 0.0306419954, 0.0569863245, -0.0121674854, -0.003799865, -0.0267143603, 0.0205833092, -0.0173207205, 0.0994716063, 0.0055724219, 0.0149111357, -0.0436087176, 0.0170337874, 0.0016981425, -0.0648955107, 0.0040496648, 0.0420946032, -0.0587495565, -0.0501364656, 0.0026586992, 0.0725157782, 0.0335560441, 0.0378846824, -0.0000391005, -0.0247333348, 0.0116900215, 0.0615864918, 0.0260977279, 0.0356727354, -0.0096813319, -0.0035940579, 0.0052370424, 0.013776266, -0.0093907015, 0.0017913652, 0.0208038762, 0.0220645685, 0.0340484157, -0.0265510883, 0.0172684398, -0.0169090088, 0.0653840154, -0.0395374298, 0.0004427773, -0.0057232017, -0.0043522362, -0.0254572239, 0.0180229247, -0.0757340044, -0.001119911, 0.0146477837, 0.0155304233, 0.0039404822, -0.0294232368, -0.0355862379, -0.0230506063, -0.0367224365, -0.0282294694, 0.0375592671, -0.057647299, 0.0220002644, 0.0096942168, -0.0128869778, 0.0130638406, -0.0373126231, 0.0600974485, 0.02646029, 0.0628325343, 0.0007110672, -0.0369976386, 0.0251140688, 0.0681011006, -0.0351195522, -0.0897834376, -0.004150976, 0.0471883379, 0.0574926287, 0.0004162436, 0.0274337027, -0.0376381278, 0.0177796874, -0.0492628627, 0.0485460088, 0.019219758, -0.0238861665, 0.0103365202, 0.0310240965, -0.0282218717, -0.0072000488, 0.034140382, -0.0017393085, 0.0004791605, -0.0108774947, 0.0076321, -0.0288741868, -0.0104729217, 0.0160357542, 0.0144086992, -0.0373384655, -0.020683866, -0.0589518473, -0.0526518971, -0.0318018161, 0.0475926921, 0.0054632528, 0.0074903467, 0.0684153587, 0.0456195399, 0.0020495111, -0.0088605499, 0.0046859733, -0.048013337, 0.0093566626, -0.0105986921, 0.0078898184, -6.417377044e-33, 0.0013433913, -0.0155790383, 0.0291495528, -0.0131265, -0.0015455538, -0.0259039067, -0.0227177832, 0.033484634, -0.0124881864, -0.0135486554, 0.0262856446, -0.0140113672, -0.0007454237, 0.0120494021, 0.0106940689, -0.0275770687, 0.0017570135, 0.0043765469, -0.0449417494, -0.0126345484, 0.0094391778, -0.031058602, 0.0231177863, -0.0832796916, -0.0012883567, 0.0421682559, -0.0222938042, 0.0050303452, -0.0331600532, 0.070351392, -0.0368001089, 0.020552922, 0.005506305, 0.0256896503, -0.0289836284, 0.0108607886, 0.0044016195, 0.0143175013, 0.0112230005, 0.0241773315, -0.1009786502, 0.0259968415, 0.0644043759, -0.0066226977, -0.0237386655, -0.0375930741, 0.0276455842, -0.0306286067, -0.0233666729, 0.0320942551, -0.036819797, -0.0002971267, 0.0197120663, -0.0541896373, 0.0377036147, 0.0565751269, -0.025328774, 0.0144351516, -0.0538537577, 0.0440791138, -0.0333252959, -0.0295023192, 0.1122254133, 0.0190964583, 0.0356585272, 0.0964682177, 0.0758209452, -0.0287403855, -0.0198628157, -0.0375121571, 0.0198629107, 0.1028965488, 0.0448363721, 0.0524529181, 0.0034502787, 0.0104681831, -0.0141848261, -0.0036166988, -0.0435532033, 0.0361980759, 0.0474852845, 0.0219462011, -0.0486087054, 0.0213205423, -0.013233861, 0.0048494348, -0.0654725134, -0.027126113, 0.0610037744, 0.0034799799, 0.00029603, 0.0047829058, 0.0512258299, -0.034835536, 0.0175281037, -0.0023513937, -0.0253303722, 0.0553892069, -0.0055740932, 0.000836311, -0.0168767553, 0.0192089025, 0.0532513857, 0.0076512857, 0.0243465845, 0.006634654, -0.0364742354, -0.0030217918, -0.0342810526, 0.00285852, -0.0316071138, 0.0109970793, 0.0370824039, 0.0324096531, 0.0851244628, -0.027018087, -0.0435040258, 0.0038802123, -0.0282818247, -0.0354616493, -0.0369827189, 0.0004226145, -0.0185346231, 0.0117646977, 0.0027454833, 0.0004621515, -0.0583446249, -0.0495321862, 0.0174531341, -0.0114892414, -0.0147763221, 0.0061032656, 3.008e-7, -0.0170723107, 0.0390696041, -0.0047129444, -0.0069721951, 0.0122422315, 0.0560562424, -0.0008406299, 0.0612587593, 0.0170218349, -0.0538807139, -0.019888198, 0.0199511554, 0.0723865479, 0.0083660297, -0.0248772353, -0.0102377571, 0.0148147829, 0.0070365747, -0.0520655513, -0.0200661551, 0.0626612976, 0.0172988046, 0.0072084125, 0.0003368195, 0.0605070703, -0.0396850668, 0.0658537745, -0.0687512457, -0.0094370469, -0.0410089903, 0.0172077175, 0.0162915159, -0.0093614114, 0.0358101875, -0.0189108755, -0.0455399007, 0.0260172039, 0.0345665812, -0.0513983741, -0.0718906298, -0.0223938767, 0.0221046451, -0.0048456602, -0.0719394013, 0.0776434168, -0.029260546, -0.0121057685, -0.0037477606, -0.033542458, -0.0248336531, 0.0237077549, -0.0144196376, -0.027556967, -0.0001558527, 0.0253147837, 0.0038858668, -0.0447972715, -0.0544057637, -0.008536404, -0.0167888869, -0.0509812683, -0.0423142947, -0.0437782556, 0.0376807526, -0.0111410627, -0.015232686, -0.0637108162, 2.395338129e-34, 0.0134992357, 0.0252477787, 0.0398544632, -0.0346443318, 0.0020351685, -0.0001502283, 0.0238453858, 0.030328989, -0.0002168481, -0.0529468432, -0.0051479591 ]
http://arxiv.org/abs/2406.11065v1
http://arxiv.org/pdf/2406.11065v1
Can LLMs Understand the Implication of Emphasized Sentences in Dialogue?
2024-06-16T20:41:44
2024-06-16T20:41:44
Guan-Ting Lin, Hung-yi Lee
cs.CL
cs.CL
Emphasis is a crucial component in human communication, which indicates the speaker's intention and implication beyond pure text in dialogue. While Large Language Models (LLMs) have revolutionized natural language processing, their ability to understand emphasis in dialogue remains unclear. This paper introduces Emphasized-Talk, a benchmark with emphasis-annotated dialogue samples capturing the implications of emphasis. We evaluate various LLMs, both open-source and commercial, to measure their performance in understanding emphasis. Additionally, we propose an automatic evaluation pipeline using GPT-4, which achieves a high correlation with human rating. Our findings reveal that although commercial LLMs generally perform better, there is still significant room for improvement in comprehending emphasized sentences.
[ 0.0461987965, 0.0461264811, -0.007825736, 0.0209860411, -0.0203543697, -0.0057705087, -0.0278798677, -0.0169793889, -0.01340272, -0.0339125954, -0.0666815564, -0.0309080742, -0.0108640734, 0.0073540355, 0.0313005894, -0.0726258978, 0.0335378051, -0.0133018391, 0.0341711082, 0.0198795069, 0.0303771552, 0.0317866094, -0.0011727258, 0.0616312176, -0.000849951, -0.0128868846, -0.0002163273, 0.0436289907, 0.0404892601, -0.0264462363, -0.0087786969, 0.0307102073, 0.0035368323, 0.0003568062, 0.0000015982, -0.0249081757, 0.0175353587, -0.0522489958, -0.0136285434, 0.0863086805, 0.0628102347, -0.0175706167, -0.0264770389, 0.0126277553, -0.0402825586, 0.0003270065, 0.0130264387, 0.0679878518, 0.0480641834, 0.0549876913, -0.0120412828, 0.002079481, 0.0130610522, -0.0307689328, -0.0467389673, -0.047725372, 0.021619061, 0.017261479, 0.0133886719, 0.0461411141, 0.0238240305, 0.0396861173, -0.0074551809, 0.0169431642, -0.0065128133, 0.0345134735, -0.0365552641, 0.0150366575, -0.0340825841, 0.0731628463, -0.0445692912, 0.0204721615, -0.0012005833, -0.0591082126, -0.0057528848, -0.0572371893, -0.0279811136, 0.0054922597, 0.010914593, 0.0522429943, 0.0595409386, 0.0177204739, -0.0052307784, 0.0540618785, 0.0279151183, 0.0561836138, 0.0002455501, -0.0162893776, 0.0257723033, -0.0022626393, -0.0842421502, -0.0473036729, 0.0389553085, 0.0053822557, 0.0049650483, 0.0194590613, -0.0277109127, -0.0110089788, 0.0296067409, -0.033058688, 0.0080702845, 0.0140903071, -0.0663482919, 0.0669391006, 0.0057620439, 0.0306134615, -0.0144688962, 0.0041782046, -0.0026340513, -0.023072036, -0.0142799467, 0.0076059247, -0.0385708436, 0.0148681365, -0.0331185274, -0.0436936952, -0.0209436398, 0.016249802, 0.0077292109, 0.0033181473, 0.0172753818, -0.0011812862, -0.0078781825, -0.0210155919, 0.0040602735, 0.0625859648, -0.032574892, 0.0354259238, -0.0115962205, -0.0560027733, -0.01019888, 0.0529107526, 0.0044407225, -0.0102394428, 0.0071579563, -0.0208593234, 0.0209887493, -0.048366867, -0.0291536413, -0.0101610534, -0.0481503531, -0.0483538918, -0.0567036793, -0.0245091431, 0.0102368742, 0.0030433396, 0.0012657278, -0.0165371485, 0.0375709385, 0.0031652881, -0.0216349289, 0.0202446189, -0.0140344147, 0.0137270931, 0.0230514184, 0.0151798651, -0.0343184583, 0.0185266919, 0.0374187045, 0.0274835508, 0.0268700067, -0.0015429157, 0.0126343882, 0.0626417994, -0.0215822533, 0.0064394348, 0.0044511519, 0.0118632335, -0.0619727708, 0.0282679815, 0.0214272626, 0.0895792618, -0.0436958224, -0.0271698032, 0.0755453035, 0.0657800734, -0.0416100211, -0.0071519203, 0.0174416024, 0.0595811903, 0.0294636041, 0.0190080553, -0.0268827211, -0.0255112499, 0.0113049131, -0.0248813853, 0.0384402536, -0.0128701422, -0.0324151143, -0.0271445382, -0.0238896124, -0.0250189845, -0.0125730056, -0.0268640295, 0.0235135481, -0.01287656, -0.0542080514, 0.0516517833, 0.0168440994, -0.0091644758, -0.0189257115, -0.0240863599, 0.0152836721, 0.0367722884, 0.0129929576, -0.0282536726, 0.0105093513, -0.0459740646, 0.0030763585, 0.0633694977, 0.0074023777, -0.0050687185, 0.0284536146, -0.0362782292, 0.0299057513, -0.0357569642, 0.0372130685, 0.0074064508, 0.0016058723, 0.0037149247, 0.0087271109, -0.0150062013, -0.0091551142, 0.0053361859, 0.0550726727, -0.0138057843, 0.0127855111, -0.0335757956, 0.0309041683, 0.0297486968, -0.0212015938, 0.0089300256, 0.0118381726, -0.0270270687, -0.0214552823, 0.0060647177, -0.0585044026, -0.024742702, 0.0162598249, -0.0555857196, -0.0470259972, 0.0220073145, -0.0390664637, -0.0512308702, -0.0050661294, -0.0526712425, 0.0579419956, -0.0436799861, -0.0135269025, 0.0292945411, 0.0480222031, -0.026477335, 0.0375368074, -0.0147969667, -0.0208629221, 0.0113147805, 0.0189868547, 0.0168652292, -0.0656175166, 0.0072328891, -0.0237179659, 0.0253027584, 0.0018596796, -0.0172087234, -0.0125837559, -0.0362042151, -0.0579932667, -0.1167687029, 0.002852289, -0.0222754367, 0.0223836452, 0.0547698401, -0.0170845371, -0.0150661953, -0.0068584359, -0.0337274708, -0.0242181532, -0.0087195104, -0.0141869448, 0.0307770558, 0.0054751686, 0.0228888635, -0.0476033837, 0.0129569247, -0.0067410874, 0.0204497296, 0.0164275095, -0.0066017704, -0.0475793183, -0.0308052357, -0.0043129805, 0.0088143703, 0.0173256323, -0.0554881692, -0.0014156242, 0.00759171, 0.0028266418, 0.0682266876, 0.0236929189, 0.0151938787, 0.027096495, -0.0364298485, -0.0542105995, 0.0073149358, -0.0093930904, 0.0173646584, -0.0261556637, -0.0018555946, -0.0011419846, 0.0545949526, 0.0309287347, 0.0585641339, -0.0543196425, -0.0338483602, -0.0110981399, -0.0232841857, 0.0154079273, -0.0136585133, -0.0575769283, 0.0223430526, -0.0031912003, -0.0235366281, 0.0658944622, -0.050986778, -0.0359773114, -0.0220109075, -0.0231176335, -0.0370171182, 0.0024743143, -0.0355026871, -0.0099404436, 0.0057404791, -0.0579040647, 0.0162511766, 0.0087491516, -0.0361487456, -0.0397079848, 0.0252726693, -0.0223804656, -0.0306412373, 0.020788908, -0.0489577353, -0.0198792648, -0.089502804, -0.0762429684, 0.0222212877, 0.0462769754, -0.0035913344, 0.0058839312, 0.0216397345, -0.0046610152, 0.0229080133, -0.0071461643, 0.0218329281, -0.0244128332, 0.0280701984, 0.0757417083, -0.0007808484, -0.0034581565, -0.0057746805, 0.013433571, 0.0397930183, 0.0086379517, -0.0107625481, -0.0566126257, 0.0112408735, 0.0220900439, -0.0147006949, -0.0331007242, -0.0031167914, 0.0558680072, -0.0107195536, 0.046031408, 0.1310391277, 0.0185798537, -0.0061488971, 0.0265373252, -0.0412115976, 0.0553995892, -0.007423386, -0.006166433, -0.1447837949, -0.0685184151, -0.0088493731, 0.0307659321, -0.0108111473, -0.0173012037, 0.0064867777, -0.1039354429, 0.0548641384, 0.0005103002, -0.0505076982, 0.0495699383, -0.0140166562, 0.0401504561, -0.0466013923, 0.0341205709, 0.0028287352, -0.000539754, -0.0099737281, 0.0185323879, -0.0467894301, -0.0523690544, 0.0577255934, -0.0249396544, 0.0467131697, -0.0085299602, 0.0441055261, 0.0185095165, -0.0352749527, 0.0377586409, -0.0360587463, 0.0051051695, -0.0275685564, 0.0309355762, -0.0444127768, -0.042865105, -0.0400954112, 0.0339513496, -0.0168084279, 0.0067779715, 0.0078834742, 0.0614896007, -0.0333809145, 0.0240478348, 0.0019641784, 0.0103235552, 0.0252870396, 0.0860251561, 0.040580824, -0.0556328706, -0.0347507, 0.003737201, -0.0202093124, 0.0168305617, -0.0357564129, 0.0021742524, 0.0230428036, 0.0087124715, -0.075122349, -0.0594293401, 0.0176416859, -0.034641102, -0.0211706683, -0.0073436424, -0.0004368429, -0.0051765502, 0.0333071873, 0.0554464795, -0.0005128176, 0.0136766108, -0.0789961666, -0.0090872506, 0.0325114727, -0.0093063917, -0.0320942514, 0.0840278789, -0.0409884788, -0.0645321459, 0.0127361612, 0.0322631858, 0.02470842, 0.0137967821, -0.0250238404, -0.0360675342, -0.0320835449, -0.0305720568, -0.0384933986, 0.0342129543, 0.0556670725, -0.0034973023, -0.0060556158, 0.0565060712, 0.0089967744, 0.0552106202, 0.011658702, 0.0475450121, -0.0794543996, -0.125006631, -0.0232621487, 0.0157076158, 0.0980066359, 0.0090928134, -0.0270526335, -0.0061665955, 0.022582937, -0.0027546617, 0.0050840983, -0.0725110769, 0.0086440342, 0.0208845325, -0.0422357284, -0.0572278053, -0.0106341746, -0.0517541766, 0.0350741819, -0.0146386782, 0.026929725, 0.0078537939, -0.0146699855, -0.0362244956, -0.013537501, -0.0512892082, 0.0379780047, -0.0097499257, 0.039822679, 0.0133379726, 0.0615759976, 0.0006376853, -0.0337267257, 0.0702389702, 0.0276066419, -0.0537036285, -0.0206012987, 0.0011478518, -0.0062479703, 0.0550073497, -0.020898968, 0.112903893, -0.0303470679, 0.0089294817, -0.0313305967, 0.0586857237, -0.0337955095, -0.0274525844, 0.0393317528, 0.0247844681, -0.0315160826, 0.068162702, 0.0366189033, -0.0310472567, 0.0269345976, 0.0333385952, 0.019372832, -0.0338259228, -0.0085448641, 0.0254406165, 0.0188675802, -0.0153928576, 0.041174449, -0.0328977406, -0.0360272489, 0.028363172, 0.0138085373, -0.001126009, -0.0398617908, 0.0386817157, 0.0140772155, -0.0274202786, -0.0080025392, -0.0358220227, -0.0143631864, -0.0019572263, -0.0007842089, -0.0375130996, -6.512667024e-33, -0.0158170108, 0.0164244678, -0.0232189391, 0.0365989543, -0.0317495503, 0.0526703596, -0.0481712557, 0.0309544504, -0.0007024526, 0.0166517682, -0.0064983019, 0.0342374407, 0.0238515064, 0.0077446951, -0.0030148108, -0.0135015203, 0.0161154158, -0.000259192, -0.0222450607, 0.0242355186, 0.0109407622, 0.006790956, 0.0531333797, -0.0975012332, -0.0089749238, 0.0067743002, -0.035626173, 0.0019911267, 0.0093231238, 0.0551544428, -0.0290560815, 0.0635370612, 0.0026641423, -0.0946145207, -0.0112307929, 0.0256115757, -0.0371230468, 0.0060203183, 0.0563960001, 0.0006728118, -0.0641581342, -0.007188316, 0.0193147343, 0.0021333951, -0.0003393163, 0.0089349914, 0.0159979407, -0.0386181436, 0.0289639737, 0.0078211892, -0.0298930593, 0.0659115165, -0.0395381041, -0.000882055, 0.018883327, 0.0186248925, -0.0063619283, 0.0053179841, -0.0024701101, -0.0132319424, 0.0145943621, 0.0172233321, 0.0121495361, -0.0065331953, -0.015033233, 0.0426859967, -0.0216905437, -0.0412233397, 0.0101487106, -0.015965376, 0.0143775456, 0.0535718091, 0.0556796193, 0.0147564588, -0.0027972122, 0.0489281192, -0.0498313494, -0.0216396656, 0.0436759964, 0.0360907204, 0.0043918653, 0.0185246132, -0.0304928012, 0.0258306898, -0.020854542, -0.0076254955, -0.024139883, -0.0143971387, 0.0164229497, -0.0001959627, 0.0008732101, 0.0949822068, 0.0540721454, -0.0108761415, -0.0079307593, 0.0175401978, -0.0237878151, 0.0108068353, -0.0113628032, 0.0271243248, -0.077914618, 0.0027212033, 0.0162758902, 0.0230820142, 0.0421574973, 0.0184374209, 0.0141670667, -0.0067195683, -0.046788808, 0.0113980044, 0.0131384879, 0.0060782442, -0.0959735289, -0.0000524757, 0.0399027616, 0.008041962, -0.0171074942, 0.074971661, -0.0362275466, 0.024712095, -0.0114842467, -0.0535237938, 0.0328288712, 0.0348264016, -0.0487606823, 0.0286120623, 0.0470439643, -0.0248539057, -0.0039699329, -0.0295913555, -0.0079120975, 0.0262211971, 2.398e-7, 0.0490676537, 0.0646004602, 0.0201296508, 0.018566668, 0.0056725102, 0.0256252084, -0.0231166463, 0.0400849618, 0.0374008752, -0.0314430892, 0.0110951466, 0.0213310868, 0.0810346231, 0.005123415, -0.1028318852, -0.0031191329, -0.1117160246, -0.0027081363, -0.0403283946, 0.0038534983, 0.0827888325, 0.0996584073, 0.0116689801, 0.0163762867, -0.0094519695, -0.0188375972, 0.0475792401, -0.0243473258, 0.0244087484, 0.0045120153, 0.0587554201, 0.0307636056, -0.0222404171, 0.0279963948, 0.0079237549, 0.0265808795, 0.0410810001, 0.1099746004, -0.0124540143, -0.0674371645, 0.0070867497, -0.0100569148, -0.0242910758, -0.0850670263, 0.0737637654, -0.0472132489, -0.0331215933, -0.0104737021, -0.0363336205, -0.0375688858, 0.0067695403, -0.0151669988, -0.0125714252, -0.0051907119, 0.0212371647, -0.042961739, -0.0410641804, -0.0625240579, -0.0183759592, 0.0038992111, -0.0154921748, 0.0014596692, -0.0080589438, 0.0343249217, -0.0228011459, -0.0787514895, -0.0131809236, 1.547023575e-34, 0.0312466044, -0.0266182665, 0.0287390109, 0.0419907421, 0.0424816348, 0.037410643, -0.021290388, -0.0169175174, 0.019750813, -0.0854899585, 0.0046966327 ]
http://arxiv.org/abs/2406.11050v1
http://arxiv.org/pdf/2406.11050v1
A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasoners
2024-06-16T19:22:53
2024-06-16T19:22:53
Bowen Jiang, Yangxinyu Xie, Zhuoqun Hao, Xiaomeng Wang, Tanwi Mallick, Weijie J. Su, Camillo J. Taylor, Dan Roth
cs.CL
cs.CL, cs.AI
This study introduces a hypothesis-testing framework to assess whether large language models (LLMs) possess genuine reasoning abilities or primarily depend on token bias. We go beyond evaluating LLMs on accuracy; rather, we aim to investigate their token bias in solving logical reasoning tasks. Specifically, we develop carefully controlled synthetic datasets, featuring conjunction fallacy and syllogistic problems. Our framework outlines a list of hypotheses where token biases are readily identifiable, with all null hypotheses assuming genuine reasoning capabilities of LLMs. The findings in this study suggest, with statistical guarantee, that most LLMs still struggle with logical reasoning. While they may perform well on classic problems, their success largely depends on recognizing superficial patterns with strong token bias, thereby raising concerns about their actual reasoning and generalization abilities.
[ 0.0470117964, 0.0800759494, -0.0120271854, 0.0395038351, -0.0550156608, 0.0290138721, 0.0641199425, 0.0080019375, 0.0077558481, -0.0610383376, 0.0053110695, -0.0016922529, -0.0141326142, 0.0001915292, 0.0444270186, -0.0194637664, 0.0637484863, -0.040936444, 0.061053317, -0.022914445, -0.0361594968, 0.0233120378, -0.0104249148, 0.0404722728, -0.0262840912, -0.0195035134, 0.0144819263, -0.0108277742, -0.0106648253, -0.0107021248, -0.0375844873, 0.0325854197, 0.0139862765, 0.0423653238, 0.0000019199, -0.0744322538, 0.0324374624, -0.0169185158, -0.0434749946, 0.0279661901, 0.0229281522, 0.0175196156, -0.0103583001, 0.0339125842, -0.016391689, -0.0251775812, 0.0196421072, 0.0862474814, 0.0167541932, 0.0553250983, 0.0051309527, -0.0309591312, 0.0176858306, -0.0023627742, 0.0340133272, -0.0283353161, 0.0454699993, 0.0316109844, -0.0162422899, -0.0452756397, -0.0189796407, 0.0117441444, 0.0425993763, -0.0023073256, -0.0426145904, 0.0270197336, -0.0664367974, -0.0202351492, 0.0193937365, 0.0153286504, 0.0020876224, -0.0435268022, -0.0156100877, -0.0008619137, 0.0199405141, 0.0232861992, -0.0394833237, 0.0641052052, -0.01157605, -0.0016613472, 0.0656880513, -0.0509368703, 0.0500894487, 0.0200910904, -0.0630552694, 0.1156600863, 0.0096870931, -0.0242704265, 0.0309162848, -0.0005743694, -0.0442320518, -0.0817026421, -0.0166455135, 0.0199358016, -0.0478859916, 0.0340221487, -0.0160391629, 0.0362169929, 0.0286442582, -0.0294126924, -0.0158420876, 0.0371561721, 0.0040532392, 0.0576123446, -0.0530705303, 0.0385834835, -0.0211417545, 0.068919532, -0.0158513803, -0.0230406895, -0.0312269423, -0.048946701, 0.003945495, 0.033164531, -0.0109574934, -0.0076525928, -0.0414151251, 0.0017389978, -0.0122701908, 0.0152598899, -0.0147708151, 0.0126111852, 0.0243797265, -0.0295557976, -0.0748400018, 0.0086494638, -0.0451190136, 0.0743081644, 0.0051242961, -0.0747593269, 0.0076760463, 0.0031964511, 0.0046686237, -0.0408565924, 0.0223655403, 0.0401416719, -0.0042890627, -0.0189002566, -0.0502329394, -0.0051836055, -0.0274094176, -0.0684617981, -0.014735911, -0.0641379505, 0.0068493476, 0.0233091339, 0.0079823891, -0.0192017611, 0.0046213493, 0.020505419, -0.0382598154, 0.0566640347, 0.0134627549, 0.0337812193, 0.02667615, 0.0034797092, -0.0217642318, 0.0584652126, 0.0177406203, -0.0018420526, 0.0131503036, -0.0172249321, -0.011967144, 0.011303734, -0.0026997125, -0.0128146354, -0.0408607386, 0.0268730856, 0.0030514484, 0.0362474583, 0.0417806692, 0.0851284564, -0.0256065261, 0.0047302102, 0.0378118232, 0.0689578354, 0.0307201985, 0.0091619063, 0.0467587747, -0.0543954596, 0.0095775565, -0.0029134317, -0.0896927416, -0.0103472266, 0.0000854517, -0.009837646, 0.0133517701, 0.010973664, -0.0213041455, -0.0584532619, -0.0310553573, 0.0239699092, -0.0211277697, 0.0153745655, 0.0411292762, -0.0087604802, -0.0100572072, 0.0554939657, 0.0164436419, -0.0405611806, -0.0083613489, -0.0821349546, 0.0585789979, 0.0191421639, 0.0341580436, -0.002190267, -0.0065381448, 0.0000392517, 0.0390287936, 0.0169836953, 0.0632857531, 0.0001267734, 0.0031377594, -0.022876896, 0.0026819305, -0.0371654071, 0.045954477, -0.0197599102, -0.0140538923, 0.0243298113, 0.0015594156, -0.0700910166, 0.0142490035, 0.0471451841, -0.0306643769, -0.0030751142, -0.0336134247, 0.0041036056, 0.023498686, -0.0166661888, -0.007615556, 0.0340502448, 0.0056043309, -0.0248789992, -0.013119258, 0.0152330389, -0.0417042971, -0.0194562934, 0.0514202639, -0.0549232438, -0.0338607654, -0.0012252955, -0.02861204, -0.0288930032, 0.0167920366, -0.0352962092, 0.0673525259, -0.0280878283, 0.0443920754, -0.035079658, -0.0231404677, -0.0213919114, 0.0997325405, -0.0066259094, 0.0379544012, 0.0001627778, 0.0040429877, 0.0213838238, -0.0461423509, -0.003919024, 0.0076261656, -0.0053254706, -0.0144367758, -0.0107506616, -0.0319108404, -0.0577048324, -0.0436165743, -0.0869823694, -0.0072979773, -0.0111642387, 0.0024616562, 0.0121228993, -0.0402115323, -0.0201319661, 0.0172422323, -0.0258385595, -0.031453725, 0.0227551237, 0.0436301827, 0.0347053483, -0.0172298811, -0.0286559928, -0.0244763922, -0.0097558834, -0.0584070981, 0.0241012964, 0.0257562697, 0.0525669195, -0.031554684, 0.0423758216, -0.0371065401, -0.0172057971, -0.021749597, -0.0174066033, 0.0432369299, 0.0123955719, -0.0035791162, 0.1087226868, 0.0109663745, 0.0109673059, 0.0599613525, -0.0152160944, -0.0510171801, 0.0140147358, -0.0005799625, 0.0056513683, -0.0564491674, -0.0698850304, -0.0069665397, 0.0396704152, 0.0047252667, 0.0080476645, -0.0346445441, 0.0546225607, -0.0273677222, -0.0337252095, -0.0116418581, -0.0239136722, -0.0108946161, 0.0633433983, -0.0187783893, -0.0333085656, 0.0417276211, -0.0086489068, 0.0146493511, -0.0223613791, 0.0112905148, -0.0504425056, 0.0589135513, -0.0217726808, -0.0082101757, -0.0127062323, -0.0385203622, -0.0620181747, -0.0397744775, -0.0063196816, -0.0209491253, 0.0508684553, -0.0353743657, -0.0025152036, 0.0037424783, -0.0542643853, -0.0452436581, -0.0377301127, -0.0797881633, -0.0071518472, 0.0001367654, -0.0187188294, -0.0290957522, -0.016041249, 0.0167115778, -0.0088221459, 0.0033873587, -0.0104560535, -0.0069077029, -0.0159807317, 0.0443797037, 0.0379911624, 0.0561652593, -0.0286089294, 0.0284971148, 0.0419565588, 0.0362300873, 0.0341536403, -0.0226614997, 0.0052843485, 0.0114849694, -0.0078321062, -0.0115100238, 0.0071102818, 0.0584368445, -0.0328993425, 0.0032382698, 0.1387802958, 0.0430151671, 0.0177281089, 0.01739439, -0.0488014147, 0.0262374394, 0.0400711522, -0.0090928841, -0.0568378046, -0.0376988612, 0.0461776443, -0.0122638624, -0.0514228009, -0.0229863301, -0.005135294, -0.1253470331, 0.0361682512, 0.0027886, -0.0232417583, -0.0020414153, -0.0330770947, 0.0130819473, -0.0187399238, 0.0556650497, 0.0226579923, -0.0088742031, -0.011447167, 0.007687557, -0.0214622784, -0.0414023176, 0.0519969687, -0.0436647832, 0.0524019599, 0.0256102476, 0.0452103913, -0.0249773767, -0.0460437164, 0.0822273865, 0.0073932814, 0.00734659, -0.0184983425, 0.017361626, -0.006642737, -0.0029577545, -0.0414253511, 0.0363749489, -0.016262494, -0.024639599, 0.0264680348, 0.0779492185, -0.0083587905, -0.0630343631, -0.0200107992, 0.005188304, -0.0625148267, 0.078404896, 0.0307795219, -0.0183621608, -0.0503619201, -0.0364305153, -0.0416135304, -0.0126896501, -0.0199959464, 0.0225844439, 0.0385630801, -0.0115584573, -0.0337075144, -0.0286376551, 0.0593349859, 0.0291930977, -0.0199945346, -0.0026578521, -0.0363884196, -0.0151652535, 0.00606811, 0.036300417, -0.0362789445, 0.023925893, -0.0673287436, 0.0460047685, -0.0233144555, -0.0198755357, -0.0297843684, -0.0305324029, -0.0499689691, -0.0526201166, 0.0263215657, 0.0121862516, 0.0326685645, 0.0135475285, -0.0074482067, -0.0426862314, 0.0172644164, 0.0472138822, -0.0170761049, 0.0247643329, 0.0261458848, -0.0150771327, 0.0240173265, 0.030205043, -0.0235705227, 0.0064517343, 0.0510400981, 0.0468714312, -0.0118582975, 0.0309263635, 0.0448269323, 0.0321773328, 0.0250825603, 0.026796652, 0.019806806, -0.0284536984, 0.0238947496, -0.024793556, -0.0283390079, 0.0091403211, 0.0087312004, 0.0217450634, -0.0005404669, -0.0182501003, -0.058388073, -0.0533802211, 0.0443406291, 0.0100774635, 0.0344317183, 0.0034086944, 0.025293665, 0.0289237835, -0.0267069209, -0.0211680625, -0.001842252, -0.0228849333, 0.0486104377, 0.032644894, 0.0452256538, 0.0284597129, -0.0019388025, -0.0300999638, -0.0367397927, -0.0759541169, -0.0773085207, 0.0707220808, 0.0046543917, 0.0340652354, -0.0355163887, 0.0085751498, -0.0282329395, -0.0091157341, -0.0128719322, -0.0103799403, 0.0445217639, -0.0278240573, 0.0593975075, 0.0038834289, -0.0342435725, -0.0298788287, 0.029627027, -0.0064064702, 0.0634423941, -0.0151913529, -0.0123711014, -0.0147838416, -0.0366474278, -0.001927676, -0.0074473904, -0.0155697009, -0.0085144853, -0.0892598331, -0.091731891, -0.0094172871, 0.0186312273, -0.0045586983, -0.022209486, -0.0392368697, 0.0818596557, 0.0085016191, -0.040511325, -0.0147561524, 0.0163097866, -0.0056036548, 0.0047501721, -0.0302727018, -6.037488127e-33, -0.0100296596, -0.0242581684, 0.0171363354, -0.0582211912, 0.0104698837, -0.0059605357, -0.0252819136, 0.0251292586, -0.054277584, 0.0435377397, -0.0242807791, 0.0348279551, 0.0250268765, -0.0026187035, 0.0057158051, -0.0137078855, 0.0216735359, 0.0321038552, -0.032671392, -0.0186384581, 0.0369797051, -0.0231370162, 0.0102231195, -0.0237552878, 0.0284753852, 0.0198733695, -0.0031149811, 0.0278369542, -0.0615536533, 0.0464992188, 0.0121649019, 0.0181431677, 0.029738823, -0.0000590049, 0.0130842589, 0.0393183939, -0.0302655268, -0.028958369, 0.0800957158, -0.0028199491, -0.0017029571, -0.0546178743, 0.0303263832, 0.0236258823, -0.0628050491, -0.0059673204, 0.0095704747, -0.0255699083, 0.0081800222, 0.0176658593, -0.0397509634, 0.016994359, -0.0152918268, 0.0298487246, -0.067464076, 0.0130180754, -0.0159046445, 0.0271661114, -0.0287380796, 0.0363995433, 0.0073255389, -0.0067481976, 0.0625764951, -0.0001704575, 0.00307033, 0.0939495638, 0.058330968, 0.0117556537, -0.0493167043, 0.0105375275, 0.0306237936, 0.0470703505, 0.0640791655, 0.0207348801, 0.0497802272, -0.0179169662, -0.0724511892, -0.0465347134, 0.0206068456, 0.0539067239, 0.0694620088, -0.0045484104, -0.0448440984, -0.0156366471, -0.0744489133, 0.0320352763, -0.0367851853, -0.0129218195, 0.0476001911, -0.0088813733, 0.007988262, -0.0532169752, 0.0202019121, -0.0347488485, -0.0209896341, 0.0197649654, -0.0068247863, -0.0009428322, -0.0285817068, 0.0459110029, -0.0612393357, -0.0253532343, 0.0077514895, 0.0074976902, 0.0324862599, 0.0072287507, 0.0242708884, -0.0184278563, -0.0706373602, -0.0113489907, -0.0528041758, -0.0228419919, -0.0137566421, -0.0265229847, 0.0602746569, 0.0263928697, 0.0053504547, -0.0154020032, -0.0141487615, -0.0391162261, -0.0399774462, 0.0460085161, -0.0253621321, 0.0368721336, -0.0102163106, -0.0224766843, -0.0247597992, 0.0157867204, 0.0207253937, -0.0534209348, -0.0098819062, 0.0165998433, 2.532e-7, 0.0432663821, 0.0622960217, -0.0050531919, 0.0391837619, 0.011372746, 0.0304740388, -0.0143590113, -0.0276983846, 0.052583497, -0.0043731495, -0.0277979448, 0.0453512482, 0.0283231102, 0.0278059635, -0.0524525195, 0.0387211703, -0.0688068271, -0.017821433, -0.0593190156, 0.0429473929, 0.0535925217, 0.0955003053, 0.0259751938, -0.0254981834, -0.0070629111, -0.0752381384, 0.0251181424, -0.0278500654, 0.0017236518, 0.0115954643, 0.0170873851, 0.0009935574, 0.0434497446, 0.0727162659, 0.0173239149, 0.009573563, -0.0183503777, 0.0435658097, -0.0011037677, 0.0016384851, -0.0514020175, -0.0364089832, -0.0081990864, -0.0852383524, 0.1057923809, -0.0453566425, -0.0406397656, -0.0278075058, -0.0037886868, -0.0112456605, 0.0182117335, -0.0027827688, 0.0026894321, 0.0144941099, 0.0287936535, -0.0056961044, 0.0196477026, -0.076614894, -0.0119728176, 0.0094993506, -0.0435323231, -0.073983781, -0.0181394834, 0.044710055, 0.0499668531, -0.0349430256, -0.0109993769, 2.199257406e-34, 0.0403216369, 0.0066368487, 0.0259195063, 0.0150272707, 0.0716231167, 0.0226573572, 0.0015476771, 0.020921262, 0.0147272013, -0.0653180405, 0.0027358017 ]
http://arxiv.org/abs/2406.11049v1
http://arxiv.org/pdf/2406.11049v1
Reconsidering Sentence-Level Sign Language Translation
2024-06-16T19:19:54
2024-06-16T19:19:54
Garrett Tanzer, Maximus Shengelia, Ken Harrenstien, David Uthus
cs.CL
cs.CL
Historically, sign language machine translation has been posed as a sentence-level task: datasets consisting of continuous narratives are chopped up and presented to the model as isolated clips. In this work, we explore the limitations of this task framing. First, we survey a number of linguistic phenomena in sign languages that depend on discourse-level context. Then as a case study, we perform the first human baseline for sign language translation that actually substitutes a human into the machine learning task framing, rather than provide the human with the entire document as context. This human baseline -- for ASL to English translation on the How2Sign dataset -- shows that for 33% of sentences in our sample, our fluent Deaf signer annotators were only able to understand key parts of the clip in light of additional discourse-level context. These results underscore the importance of understanding and sanity checking examples when adapting machine learning to new domains.
[ -0.0232184064, 0.034747906, -0.019566413, 0.0144356536, -0.0354609266, 0.0342456959, 0.0530166104, -0.0312405378, 0.0129146576, -0.0415300578, -0.0203799736, -0.0122070955, 0.057589028, 0.0255522989, 0.0241885092, -0.0972511098, 0.0323632173, -0.0362680145, -0.0298652425, -0.0149646346, 0.0068738181, 0.0095419334, -0.0396543555, 0.0511973388, -0.0503287576, -0.0275291819, -0.0030227499, 0.0312243104, 0.0185826179, -0.005850804, -0.0434501953, 0.0207568463, 0.0421768799, 0.0070286943, 0.0000019208, -0.0291803293, 0.0301813707, -0.0124724675, -0.0058424524, -0.0222128611, 0.0227543581, -0.1057820767, -0.0158657357, 0.0198379476, -0.0392841585, -0.0336369537, 0.011864434, 0.0851198435, 0.033995416, 0.021479303, -0.0265885312, 0.0122310463, 0.0104824826, -0.0343510583, -0.0069013797, -0.0344993696, 0.0016887902, -0.0046041738, 0.0149109047, -0.0129305907, -0.0365717076, 0.0863902867, 0.0302768815, -0.0355754308, -0.0640613213, 0.0100388015, -0.0499207638, 0.0038289987, 0.0004791939, 0.0458392724, 0.0430328809, 0.0115290368, 0.0093351202, -0.0207674988, 0.0246743113, -0.009728523, -0.0195596423, 0.0518269949, -0.0186529886, 0.0087986961, 0.0076012844, 0.01093545, 0.0267083421, -0.033877831, -0.014556882, 0.0262671579, -0.0193047412, -0.0081388419, 0.0111219576, 0.0028860867, -0.0061846427, -0.0327179246, 0.0490018874, -0.0265110694, -0.0225844793, 0.0117594628, -0.0608668923, 0.0017557769, -0.013582252, -0.0655393302, -0.023789227, 0.0571166389, -0.0252681784, 0.0312304869, 0.0743936673, 0.0258258358, -0.0248359535, 0.0330416337, -0.0446596369, 0.0408816412, -0.0199347585, -0.0040362854, -0.0563862287, -0.0419026874, -0.0587176979, -0.0073675616, -0.0011162515, 0.0238958038, 0.0271178931, -0.0250429977, 0.0095126359, 0.0124048647, -0.0348582752, 0.0019488042, 0.0197164454, 0.0363846608, -0.0244340487, 0.0398705453, 0.003810941, -0.0819629654, -0.0035402821, 0.0315613672, -0.0128399236, -0.0158140864, -0.0382915288, 0.0709829405, -0.008579839, -0.0030340147, 0.0127171222, -0.0219614636, -0.029330587, -0.0391069502, -0.0104176523, -0.0037590049, 0.026209794, -0.0055038463, 0.016007578, -0.0842814893, -0.0051579219, 0.0087017389, 0.0037418762, 0.0833007097, 0.017785266, 0.0003400377, 0.0257887281, 0.0010001754, -0.0530048944, 0.0570006818, 0.0455416404, -0.0034014154, 0.0253922995, -0.0051981113, -0.0176227894, 0.0716601759, -0.0104016308, 0.0048185783, 0.0068127476, -0.0189352725, -0.0138945319, 0.0379401259, -0.0036771591, 0.0493586175, -0.0049419119, 0.022117177, 0.0355385542, 0.0818789154, -0.0020001503, -0.0122900195, 0.040009629, 0.0201549213, -0.000419776, 0.0316461362, -0.030577112, -0.0250418354, 0.0447952375, -0.0372537933, -0.0385236703, -0.0084950868, -0.0238826554, -0.0408776514, 0.0093444269, -0.012580405, 0.0197168346, -0.0154605564, 0.0400482416, 0.0562459826, -0.0246796124, -0.0172645282, -0.0043394403, -0.04741944, 0.0103967385, -0.0151071502, -0.0654355809, 0.0112652769, 0.0314670466, -0.0007710375, -0.0164619647, -0.0157150049, 0.0360448137, 0.0287748184, 0.0171129704, 0.0029284016, 0.0190853067, -0.0117779225, -0.019380901, 0.0380460247, 0.0093813604, 0.0152589586, -0.0715802535, 0.0331556164, 0.003741259, -0.0265778434, -0.0375375673, 0.054752402, -0.0383410491, -0.0359880999, 0.035850849, 0.0088136345, 0.0357781723, 0.0391023085, -0.0141724581, -0.0106840432, 0.0284144562, -0.0395516939, 0.0054153008, 0.1148864701, -0.0881418511, -0.0589211658, -0.0019282451, -0.0895800367, -0.0443423726, -0.0134080937, -0.000877637, -0.0493589193, 0.0182460696, -0.0263296161, 0.0003045216, -0.0293443631, 0.0071156695, 0.0117440661, -0.0076850238, -0.0358497724, 0.0163656324, 0.005549069, -0.0647389442, -0.03115445, -0.0590786152, 0.0319826268, -0.064303726, 0.0093969153, 0.0488970354, -0.0024243901, 0.0282143932, 0.0508477837, 0.0337944441, -0.0222395323, 0.0106666889, -0.125423342, -0.0204587989, -0.0224856269, 0.0249996427, 0.021329131, 0.010679666, -0.0024838133, -0.0345484801, -0.0220031217, -0.0590589643, 0.0134569388, -0.0434957035, 0.0072265835, 0.0099493228, 0.0146299386, -0.0045708804, -0.0001394547, -0.0468372628, 0.0387595333, 0.0554047562, -0.0686416253, -0.0501705557, 0.0178751945, 0.0481947884, 0.011111916, -0.0315933786, 0.0248208977, 0.0604079962, 0.0241367519, -0.0038761334, 0.0127162337, -0.0291040502, 0.0771053359, 0.0192938019, -0.0075214058, -0.0278987028, 0.0095017105, 0.0110904146, 0.0499079749, -0.0605042577, -0.0169631764, 0.0351148061, 0.0702021942, 0.0394263826, 0.0112957889, -0.0738611296, -0.0029013352, -0.0414289683, -0.0604434758, -0.0322724171, -0.0036862565, -0.043058008, 0.0187735595, 0.0010649014, -0.0299991574, 0.0495725162, -0.0392087884, -0.0188926272, -0.0172225181, 0.0254416727, -0.0221346878, 0.0914940238, -0.013344083, 0.005337175, -0.0212675333, -0.0330480747, -0.0255071521, 0.0508252196, 0.0126941493, 0.0042377207, 0.0186450407, -0.0617419668, -0.0050742184, -0.0242044013, -0.0182157625, -0.0312137771, 0.0101326816, -0.0477284379, -0.0039899615, 0.0149286138, -0.0325571671, -0.0761260167, -0.035035871, 0.0263900533, 0.0749653056, 0.0046278648, -0.0031099168, -0.0319829434, -0.0136934053, 0.001280596, 0.0099514201, -0.0179959815, -0.0678899139, 0.0339733623, 0.0327460542, 0.00901544, 0.0177386068, -0.0139308982, -0.0170967188, 0.0366631187, 0.019843407, -0.019851936, 0.0112597123, 0.0720976666, -0.0446360298, -0.0073107071, 0.0805590376, 0.0138835749, -0.0316098854, 0.0234370604, -0.0235611387, 0.0091885608, -0.0153790554, 0.0056097843, -0.0919691175, -0.0580991469, 0.0289596058, 0.0669269338, 0.0281730853, -0.0102522699, -0.0287440531, -0.0251469463, 0.0465467274, 0.0210427307, -0.0918052644, -0.006776053, 0.0186168253, 0.0025650926, 0.0178390592, 0.0813936219, 0.0060475706, -0.0196029842, -0.0082531758, 0.0197850987, -0.0042967778, -0.0783411339, -0.0117345015, -0.0039759004, 0.0565666482, 0.0499573275, 0.0401806645, 0.0183492322, -0.0201110598, 0.041357141, 0.0087037589, 0.0372745246, -0.0041706031, 0.036961332, 0.004099661, -0.0236255191, -0.0137121342, 0.0774512216, -0.0929942057, -0.0041708737, 0.0582560934, 0.0509167276, -0.0701184198, 0.0025113833, 0.0121127786, -0.0313943923, -0.0092494199, 0.0492906421, 0.0498684496, -0.0706131086, -0.0147196418, -0.0397943594, 0.0129465461, 0.0159685202, -0.025737213, 0.0171507057, -0.0547276139, -0.0262747463, -0.0624573566, -0.0667038336, 0.0342707075, 0.0694901273, 0.0314905494, 0.0185837392, 0.0780780315, -0.0000470604, -0.0195106808, 0.0533732586, -0.0289037786, 0.0432058461, -0.040660277, -0.0036899203, -0.0169621315, -0.0482778996, 0.0012426855, 0.0415895432, -0.0443829037, -0.0625749975, 0.027181033, 0.009361133, 0.0196842477, 0.0442932993, 0.0094946027, -0.0425155908, -0.0212583784, 0.0405001454, 0.0023985947, 0.0384133533, 0.0346463509, -0.0296541844, -0.0207936671, 0.0214465018, 0.0233491007, 0.0106900083, -0.046499081, 0.0062198672, -0.0725090131, 0.0096694119, -0.0042928364, 0.0239856876, 0.0386167876, -0.0240124874, -0.0445384905, -0.0294235498, 0.0118297879, -0.0337064043, -0.0047044116, -0.0791458413, -0.0179879572, 0.0215491895, -0.0006641152, -0.0000226423, 0.0140504949, -0.051883135, 0.0553599298, 0.0052286554, 0.066371128, 0.0195517521, 0.0529416464, -0.021214718, 0.0345952697, 0.0270077791, 0.0667618066, -0.0195869766, 0.0481129587, -0.0002380978, 0.0207992755, 0.0455400869, 0.0193424523, 0.0583104752, 0.0172546357, -0.0004506866, -0.0237349011, 0.0179599989, 0.0292536579, 0.0023115519, 0.0353970006, 0.0788067803, -0.0105519919, 0.0316274352, -0.0165917687, 0.0331992954, 0.022167407, -0.0328209959, 0.0149356397, -0.0110435626, -0.0137597211, 0.0225564521, 0.0315824896, -0.0686562732, 0.0236669555, -0.0246190038, 0.0072507779, -0.0320446156, -0.0316195041, -0.004851127, -0.0299084987, -0.0141660208, -0.0011567264, -0.0443264917, -0.0430195481, 0.0034254957, 0.0162692517, 0.0085218856, -0.0017812976, 0.0095832199, -0.0052423035, -0.0145026771, -0.0055200472, -0.0236522295, -0.0285223424, -0.0271239262, -0.0405157469, -0.0340975709, -5.499308242e-33, -0.0595651269, -0.0583238602, -0.0013379036, 0.0141946683, -0.0148267541, 0.0368108004, -0.0567709096, 0.0175455008, 0.0266849343, 0.0581656955, -0.0123078134, -0.0065867971, 0.0105132842, -0.0018922554, -0.0012843634, -0.010553265, 0.041651357, -0.0165574905, -0.0269019641, 0.025938509, 0.0274452213, -0.0002213137, 0.051004909, -0.1107005104, 0.0631532148, -0.0366733819, -0.0540134124, 0.0237934478, 0.0011577659, 0.000793318, -0.008818306, -0.0084940912, 0.0133149531, 0.0188540295, -0.0185601562, 0.0466137305, -0.0811167583, 0.0039515896, 0.0281087756, 0.103783913, -0.0679594949, 0.0008567411, 0.0211177785, -0.0181976929, -0.0569226183, 0.0334357098, 0.0281923227, -0.0207645763, 0.0114884209, -0.0211691372, -0.0315427408, 0.025579568, -0.0352869816, -0.0252314731, 0.0267777126, 0.052012682, -0.0259000026, -0.0661711767, -0.0124051962, 0.035136804, -0.0054363143, -0.0095568141, 0.0687966794, -0.0441365615, 0.0075792666, 0.0475906581, 0.0277802944, -0.0263782516, -0.0296137705, -0.0487854481, 0.0729204565, -0.0086927991, -0.0127875404, 0.0663798973, 0.0322862826, -0.0079835877, -0.0107059479, 0.0159195606, 0.028362371, 0.0507256575, -0.0215535481, 0.0177532546, -0.0313074514, -0.0190110821, -0.0893531591, -0.0132875657, 0.0221947264, -0.0069278996, 0.0208141953, -0.0114416732, -0.011274307, -0.0100307828, 0.0540693849, -0.0324248262, 0.0069134333, 0.0006220719, -0.0224508923, 0.0021248078, -0.0026111593, 0.02012977, -0.0236277301, -0.0163414758, 0.0701618195, 0.0018813034, 0.077698715, -0.0131179597, 0.0541103333, 0.0494508706, -0.0175572149, 0.0081037143, -0.014222811, 0.0444909967, -0.0070807366, 0.0033708918, 0.062542446, -0.0088067204, -0.0347424261, 0.0578035712, 0.0067178938, -0.0310346596, -0.04212166, 0.0521041006, -0.0283417366, 0.0289274771, -0.0721508041, -0.0217501428, 0.0346751176, -0.0142023591, 0.0840679929, -0.0806871802, -0.0017790755, 0.0168443527, 2.533e-7, 0.0263881069, 0.0713268444, 0.0472075492, 0.0199151989, 0.0383623838, 0.0497953482, -0.0172719397, 0.0276131779, -0.0197386239, 0.0514656417, 0.0190736651, -0.0005094277, 0.0705010742, 0.0165609866, -0.0695355609, 0.0132133421, -0.0319289491, 0.0170649216, -0.0254573338, 0.0223634243, 0.0467395447, 0.0379458107, -0.034523651, -0.0220097266, 0.0202548262, -0.0794693381, 0.0552726388, -0.0458483547, 0.0298393629, -0.0230186712, 0.0349586569, -0.032238625, -0.0279179122, 0.0070100385, 0.0035522161, -0.018115459, 0.0136416955, 0.0408476666, -0.0290775504, 0.0119866217, -0.0083598765, 0.0384783261, -0.0396217182, 0.0152065558, 0.0320779532, -0.0541695207, -0.0282752849, -0.0531903058, 0.0196915958, -0.0023542987, 0.0081956899, 0.0345071442, 0.0398893468, 0.0236102417, 0.0314975716, -0.0375538357, -0.0061027217, -0.0370150954, -0.0241418816, -0.0192523431, -0.021525085, 0.0206643473, -0.0000706359, 0.0163844209, -0.026717294, -0.0617176145, -0.01755156, 1.769433764e-34, 0.0291305017, -0.0019271739, 0.0186304282, -0.0012405048, 0.0062511116, -0.0301204808, 0.0464742221, 0.0388973653, 0.0298251677, -0.0168710127, -0.0240862537 ]
http://arxiv.org/abs/2406.11044v1
http://arxiv.org/pdf/2406.11044v1
Evaluating the Performance of Large Language Models via Debates
2024-06-16T19:02:31
2024-06-16T19:02:31
Behrad Moniri, Hamed Hassani, Edgar Dobriban
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) are rapidly evolving and impacting various fields, necessitating the development of effective methods to evaluate and compare their performance. Most current approaches for performance evaluation are either based on fixed, domain-specific questions that lack the flexibility required in many real-world applications where tasks are not always from a single domain, or rely on human input, making them unscalable. We propose an automated benchmarking framework based on debates between LLMs, judged by another LLM. This method assesses not only domain knowledge, but also skills such as problem definition and inconsistency recognition. We evaluate the performance of various state-of-the-art LLMs using the debate framework and achieve rankings that align closely with popular rankings based on human input, eliminating the need for costly human crowdsourcing.
[ 0.001565913, 0.0913244411, -0.0178111978, 0.0803549811, -0.0709603876, -0.0038707624, 0.0067426697, -0.0149501115, -0.0171548873, -0.0717144012, -0.0088078789, -0.0631158352, 0.0001038444, 0.0102837868, 0.0222039204, -0.0309892818, 0.0219803099, -0.0567928404, 0.0135521973, 0.0004996234, 0.0217251163, -0.0269929413, 0.0002365105, 0.0380347259, 0.0277483128, -0.0043719918, 0.0008802503, -0.0177927352, 0.0175204407, -0.025246812, 0.0073507116, 0.0480531715, -0.0074843084, 0.0698000267, 0.0000020209, -0.0622967035, -0.0212714039, 0.013774504, -0.0260280389, 0.044017002, 0.0620073862, 0.0452405363, -0.0257077832, 0.0196816958, -0.0444818735, 0.0109993713, 0.0173385069, -0.0098749474, 0.0797664896, 0.039735347, 0.013058573, -0.024516182, -0.0053721205, -0.0210846327, -0.0541635789, -0.0507700145, 0.0073978761, 0.0336038955, 0.0233194288, 0.0083860001, -0.0024886827, 0.0312149022, 0.0111511452, -0.0382677689, -0.0077977125, -0.015789276, -0.0822826996, 0.0012742974, 0.00691933, 0.0639354289, 0.0102094458, -0.0187511984, 0.0137749845, -0.0094710477, -0.0097160637, 0.0322029963, -0.0357564352, 0.001367847, 0.0155404964, 0.0181115847, 0.0127952378, 0.0100721354, 0.0396059863, 0.030592192, -0.0062015709, 0.0846966207, 0.0164405536, -0.0188293383, 0.0129769556, -0.004442465, -0.011601259, -0.072910957, 0.0144182099, 0.0156754963, -0.0570490584, 0.031132929, -0.0052463594, -0.0329785347, 0.0252189748, -0.0645480976, 0.0520968661, 0.0022311313, 0.0082026739, 0.0809735954, 0.0148759373, 0.0747231841, -0.012981358, -0.0086570112, -0.0364622921, -0.0198457912, -0.0462563038, 0.0035979371, -0.0193464607, 0.0036818266, -0.0156797003, 0.0106024239, -0.0164232682, -0.0058045941, -0.0642860383, 0.0243356824, 0.0131391836, -0.0266121011, 0.0041978569, -0.0310868453, -0.0407063253, 0.0286167897, -0.0127171911, 0.001671156, -0.0064936886, -0.0559336543, 0.0207373891, 0.0289084557, -0.0533833615, -0.0201868061, -0.0029381565, 0.0683952495, 0.0062936717, 0.0189209133, 0.0054576183, -0.0092959953, -0.0260903016, -0.0756882206, -0.02204106, -0.1131092086, 0.0001742555, 0.0028636395, 0.0008591126, -0.0480220839, 0.0071950871, -0.0111942971, 0.0265492834, 0.0620528013, -0.0213334393, 0.0056340001, 0.0769356489, 0.0165051725, -0.0328278877, 0.0851133317, 0.0120290136, -0.0171373039, 0.0352075286, 0.0167624597, -0.010081715, 0.050898511, -0.0058607878, 0.0207012501, -0.0243172795, 0.038809672, 0.0162638854, 0.0551960506, -0.0244543198, 0.0770703629, -0.0231212657, -0.0344575755, 0.0430578962, 0.0459157862, 0.0136716207, -0.0209422782, 0.022235211, 0.0044769025, 0.0496922769, -0.0066681555, 0.0089748269, -0.017293239, -0.0030400825, -0.0133953169, 0.0198420715, 0.0067348024, 0.0137746083, -0.0602714196, -0.0363062024, 0.0203490444, -0.0010170114, 0.0180001985, 0.0409495533, -0.0241566654, -0.0185322687, 0.0411159694, -0.0098808827, -0.0182738807, -0.0160468761, -0.0307767969, -0.0027815653, 0.0290202256, 0.038480971, -0.0341840461, -0.0545746833, 0.0007395177, 0.0411966853, 0.0454875194, 0.0813963711, -0.0261192378, -0.0164390579, -0.025143778, -0.0133051379, -0.0142834783, 0.0210939273, 0.0107272752, 0.0279223174, 0.0006311946, 0.0187964477, -0.0431085154, -0.0653730929, 0.0142937331, -0.0309118479, 0.0151510295, -0.0103062978, -0.0078575835, 0.0435152948, -0.0005429046, -0.039683789, 0.029148804, 0.0107802423, -0.0385363139, -0.0027034131, 0.0056357631, -0.0062524644, 0.0157300904, 0.0713152736, -0.0422436856, -0.0391231403, 0.0409181565, -0.0430599488, -0.0139601929, 0.027554052, -0.0378750786, -0.0206259601, -0.0112516554, 0.0400738716, -0.0461288765, -0.0473401323, -0.0554767922, 0.0519748069, 0.018332269, 0.0479965247, 0.0188636705, 0.0388437025, 0.0494325757, -0.0376145802, -0.0673786029, 0.0425929986, 0.0134418737, 0.0373707004, 0.0383872725, -0.0102481022, -0.0622594841, -0.0320865996, -0.088288404, 0.0035157579, -0.0025007972, 0.0456391051, 0.014265989, -0.0608665571, 0.0119432528, 0.0138942888, -0.0255066399, -0.033672072, 0.0143084107, -0.0045900503, 0.0531372614, 0.0218212511, -0.0165643338, -0.070633918, 0.0013616083, -0.0161868911, 0.0548436083, 0.010016568, 0.0278052744, -0.0374764241, 0.0231461823, -0.0495242476, 0.0161334518, -0.0052968939, -0.0215098001, 0.0375345498, 0.0083228182, 0.0290376991, 0.0231819171, 0.0039031408, 0.0217784103, 0.0638709366, -0.0405443572, -0.0598213039, -0.030085478, 0.0295635369, -0.0051408731, -0.0372078903, -0.0205864329, 0.0106925191, 0.0822048187, -0.014907998, -0.011969124, -0.0116691161, 0.0649243072, -0.0793560669, 0.0055481978, -0.0709986463, -0.0242954995, -0.0282251518, 0.0732867867, -0.021771457, -0.0437355936, 0.0778564438, -0.0459324643, 0.0265819374, -0.0556168817, -0.0112013603, -0.0630809292, 0.0374604613, -0.015414984, 0.0154223023, -0.0052113016, -0.0122781098, -0.0606233329, 0.0016023107, 0.0619485006, -0.0595249943, 0.0755541697, -0.0927282125, 0.0316689163, -0.0073581217, -0.0345802903, -0.0179732107, -0.0177972168, -0.0463864058, 0.0257770158, 0.0676364601, -0.009116469, -0.0206784252, 0.0138096698, -0.0064809429, -0.0011749762, 0.016903149, -0.0087789586, 0.0112470007, 0.0449651629, -0.0013354891, 0.039183259, 0.030676052, -0.0304776765, 0.0247900933, 0.0533535741, 0.0451025069, -0.0043192762, -0.065815568, -0.0148733407, 0.0048247459, -0.0478837788, -0.0057573151, -0.0086123282, 0.0368167274, -0.0540323406, 0.0115668299, 0.1160597578, 0.0512560271, 0.000629229, -0.023559384, -0.0472901389, 0.0321448036, 0.0391485766, 0.0240534525, -0.0811986104, -0.0187856574, -0.0120322593, 0.0196546502, 0.0013862561, -0.0240527783, -0.0078320103, -0.1260490119, 0.0274782777, 0.0109528359, -0.0243913848, 0.0246577524, -0.0334590599, 0.0173437521, -0.0249230862, -0.00263102, 0.009887306, 0.0105214892, 0.0022939108, 0.0124939186, -0.0372683071, -0.0670689195, 0.0533358566, -0.0356803611, 0.059537489, 0.0400563031, 0.0476937629, -0.010762061, -0.0279269479, 0.0458551869, -0.0131138861, -0.0363301001, 0.0021397467, 0.0133652939, 0.0150725227, -0.0260053538, -0.0164135247, -0.0378105678, -0.0065141427, -0.0093137352, 0.0137493061, 0.0657933876, -0.0048403386, 0.0017846033, 0.005882659, -0.0083767073, -0.004955661, 0.0679219142, 0.0397743322, -0.023204552, -0.0444700345, -0.0486096181, -0.0188490283, -0.0102625461, -0.054294914, -0.0133959381, 0.0286207907, 0.005639208, -0.0585333705, -0.006091902, 0.0121595431, 0.018432172, 0.0003415693, 0.0184687879, 0.0368130803, 0.0020201609, -0.0385589749, 0.0312227327, -0.0164246652, 0.0412152857, -0.0725716576, -0.0000424717, 0.0358132087, 0.0370213762, -0.0509795658, 0.0625577047, -0.0959625542, -0.0738743097, -0.0064422218, 0.0389577188, 0.0253274441, -0.0017762631, -0.0331405252, -0.0547992513, -0.01412756, 0.026887456, -0.0034510437, 0.0014525085, 0.0184409954, -0.0214906018, -0.01520951, 0.02508072, -0.0249411762, 0.009590094, -0.0178354885, 0.0269396659, -0.041779127, -0.0477066301, 0.0190053266, 0.0377475508, 0.0325732753, -0.0069760699, -0.0281915478, 0.0010521164, -0.0046131872, -0.0411615372, -0.0646945387, -0.029637767, -0.0178629439, -0.0000684526, -0.0327465646, 0.0105791632, 0.0381909013, -0.0080787279, 0.048606921, -0.000190088, 0.044771973, 0.0325536542, 0.0334783718, 0.0239653103, -0.0124397501, 0.011186176, -0.0033671812, -0.0143728368, 0.0669285357, -0.0194449257, 0.0268979818, 0.0165836737, 0.0007156494, 0.0334374532, 0.0236632768, -0.0479438491, -0.1016649157, -0.0095833195, 0.0128913159, 0.0517736748, 0.0188293681, 0.0476365797, -0.0165315531, -0.0245747026, -0.0321507864, 0.0121339951, 0.0065759728, -0.0092637436, 0.0399713852, 0.0362893045, -0.0079634516, 0.0297361948, 0.073667936, 0.0195910651, -0.0169100054, 0.0184528865, -0.0183121618, -0.0304327104, -0.0416657068, -0.025679823, -0.000312329, -0.0223955084, -0.015177073, -0.0873931721, -0.0539305434, -0.0017343892, 0.0466036387, 0.0080410969, 0.0195704754, 0.0437166765, 0.0734872296, 0.0006022737, 0.028561499, -0.0460621007, 0.0137047507, -0.0145704253, -0.0127551267, -0.0124999918, -6.177283792e-33, -0.0381786153, -0.0702733025, 0.0113714347, -0.0487495884, -0.0230836961, 0.0070519294, -0.0361390188, 0.0374909826, -0.0217879396, 0.0178982001, 0.0274113789, 0.0193631444, 0.0076123388, -0.0210578106, 0.0145512568, -0.0286226757, 0.0304123443, 0.0008738745, -0.0232946444, -0.0104265856, 0.001639929, -0.0272192601, 0.0107136797, -0.0597839169, 0.0438062549, 0.0025852579, -0.0122248624, 0.0202351399, 0.0006416166, 0.0703435689, -0.0074608102, 0.0375536531, 0.0080465246, -0.0768295303, -0.0041788667, -0.0414443836, 0.0024461504, -0.0158262961, 0.0221864879, -0.0052163266, -0.0212336015, -0.003539742, 0.0474077687, 0.0370494947, -0.032961648, 0.0061621615, 0.0224610642, -0.0159646422, 0.0166162327, 0.0235157888, -0.0486035384, 0.0597973168, -0.0365308039, -0.0022610449, 0.0203618854, 0.002544516, -0.0088560563, 0.0384420305, -0.0632221475, 0.0190666392, 0.0230284184, 0.0368158668, 0.0898310617, -0.030424891, -0.0168440696, 0.0659999624, -0.0277546551, 0.0221166946, 0.013939688, -0.0354346633, -0.0033775712, 0.0559373014, 0.0717793331, 0.0701604933, 0.0286772531, 0.0306439064, -0.0636873543, 0.0302088074, 0.0022152383, 0.0481256843, -0.005609042, 0.0243634675, -0.0250223484, -0.0089133419, -0.0631891415, -0.0007222781, -0.0352249816, -0.0253716297, 0.0336689539, -0.0358306281, -0.0267955028, -0.0095971245, 0.0208216831, -0.0665372014, -0.0522277057, 0.0105126305, -0.0236751698, 0.032135509, 0.0151633089, 0.0552341044, -0.0541516766, 0.0174925774, -0.0290037096, 0.0618570819, 0.0495615341, -0.0220367964, -0.0295301676, -0.0250660758, -0.0537112616, 0.0204941574, -0.0420553535, -0.0164372232, -0.0355224647, 0.0559766144, 0.017174013, -0.0087494114, -0.0007036013, 0.0610164553, -0.0054132757, -0.0214242823, -0.0267392341, 0.0083836429, -0.003618439, 0.0018771845, -0.0098300045, 0.0078808218, -0.0227888357, 0.0457903109, 0.0312134866, 0.012505006, -0.0095443446, -0.0237809215, 2.629e-7, 0.0765927732, 0.0620246455, -0.00451509, 0.0340520777, 0.0170945562, 0.0388103537, -0.0579064488, -0.0094153695, 0.0127983103, -0.0021046831, -0.0404389799, 0.0221964289, 0.081565991, 0.0647395775, -0.0614028722, -0.0259079635, -0.0690100268, -0.0104275681, -0.049501285, -0.0241618603, 0.0506048836, 0.0602658205, 0.0042986744, 0.0199726019, -0.0439731069, -0.0346593522, 0.0731365532, -0.0216688514, -0.0243405178, 0.0446459651, 0.0230774619, -0.0000731248, 0.0017089663, 0.0152772861, -0.0124287792, 0.0054431804, 0.0299480762, 0.0534891412, 0.0273467228, 0.0057705725, -0.0289368015, -0.0173332654, -0.0084024314, -0.0805148408, 0.0407149233, -0.0442239195, -0.0352126211, -0.0589975491, -0.0290369131, -0.0378646255, 0.0529625788, -0.0212579593, -0.0343142338, 0.018267516, -0.0040520276, -0.0197344497, -0.0070937639, -0.0373436734, -0.0419831499, 0.0168322641, -0.0362595618, -0.0635390654, -0.0178768262, 0.0001268705, 0.0052634957, -0.0396657959, 0.0324376188, 2.165097357e-34, 0.0649686158, 0.0168286841, 0.0203978177, 0.0384690128, 0.0492967628, 0.0257312078, -0.0494076274, -0.0094102714, -0.0071973242, -0.0428094715, 0.0387748703 ]
http://arxiv.org/abs/2406.11036v1
http://arxiv.org/pdf/2406.11036v1
garak: A Framework for Security Probing Large Language Models
2024-06-16T18:18:43
2024-06-16T18:18:43
Leon Derczynski, Erick Galinkin, Jeffrey Martin, Subho Majumdar, Nanna Inie
cs.CL
cs.CL, cs.CR
As Large Language Models (LLMs) are deployed and integrated into thousands of applications, the need for scalable evaluation of how models respond to adversarial attacks grows rapidly. However, LLM security is a moving target: models produce unpredictable output, are constantly updated, and the potential adversary is highly diverse: anyone with access to the internet and a decent command of natural language. Further, what constitutes a security weak in one context may not be an issue in a different context; one-fits-all guardrails remain theoretical. In this paper, we argue that it is time to rethink what constitutes ``LLM security'', and pursue a holistic approach to LLM security evaluation, where exploration and discovery of issues are central. To this end, this paper introduces garak (Generative AI Red-teaming and Assessment Kit), a framework which can be used to discover and identify vulnerabilities in a target LLM or dialog system. garak probes an LLM in a structured fashion to discover potential vulnerabilities. The outputs of the framework describe a target model's weaknesses, contribute to an informed discussion of what composes vulnerabilities in unique contexts, and can inform alignment and policy discussions for LLM deployment.
[ 0.0349807627, 0.084405534, -0.0058891252, 0.0532280989, -0.0643858314, -0.0251009762, 0.035979595, -0.0275192447, 0.047908593, -0.0672492757, -0.0056536999, -0.0166123211, -0.0087004965, 0.0621237271, 0.048121687, -0.0200879499, 0.0472306907, -0.0781938061, -0.0093974564, -0.0004474251, 0.0016485873, -0.0008698385, -0.020626504, 0.0609883219, 0.0115581779, -0.0247423947, -0.0418463349, -0.0090843746, 0.0219213609, -0.0268011969, -0.032077726, 0.0331977122, -0.0235377774, 0.0633332431, 0.0000020924, -0.0671326891, -0.0246701818, 0.0331438631, -0.0288910456, 0.0445299968, 0.0240971372, -0.0142155821, -0.0338438563, 0.0419997238, -0.0213904139, 0.0127975149, 0.0250453576, 0.0330838822, 0.0862078443, 0.0875940546, -0.0001008284, -0.0294781942, 0.0468547083, -0.0224592928, -0.0190279279, -0.0942372456, 0.0196159314, -0.0269527137, -0.0020234769, 0.0298777819, 0.0311990269, 0.0169912633, 0.0341811404, -0.0264685173, -0.0567924082, 0.0147691881, -0.0434815399, -0.0087963063, -0.0281611066, 0.0508495644, -0.0198573377, 0.0121620065, -0.0140777063, 0.0033867403, 0.0215734504, 0.0052618645, -0.0007705776, 0.0207397863, -0.0018274935, -0.0149885546, 0.0281518605, -0.0383518562, 0.0441113189, 0.0168566667, -0.0222782474, 0.0665754452, 0.0147992373, -0.0086001167, -0.0265729744, -0.0501637533, 0.0106486594, -0.0578908138, 0.0009133526, 0.0237958748, -0.0340186059, 0.0297182612, -0.0711933225, -0.0303847827, 0.0631349608, -0.0219934024, 0.0312120672, 0.0224520471, -0.0128502762, 0.0345009752, 0.0161258001, 0.0555913523, -0.0201589782, 0.014516348, 0.0183742382, -0.0224267524, -0.0428628922, -0.0267993808, -0.002565389, 0.0113900695, 0.0048778919, -0.0065200026, -0.0288473032, 0.0482298434, -0.0284674689, 0.053488344, -0.0245715864, -0.0148728145, 0.0067835404, -0.0040320079, -0.0035773411, -0.0224808063, -0.0221229363, -0.0052896603, -0.0041778241, -0.0931758136, -0.0237487424, 0.0300985388, -0.0714174584, -0.0415069871, -0.0187633093, 0.1279397458, 0.0248653162, 0.0013683866, -0.0491257533, -0.0790666938, -0.0244819634, -0.0221835598, 0.0019982045, -0.0641541928, -0.0291487537, -0.0142224394, -0.0107810441, -0.0493966937, 0.005448028, -0.0038648325, -0.0083946716, 0.0805401877, 0.0189014152, -0.0145028541, 0.0160027742, 0.0380387679, 0.0251619499, 0.0671841949, 0.00144467, 0.0313707106, 0.0267940126, 0.0028550511, 0.0548728295, 0.0452769436, -0.0101871593, 0.0350924395, -0.0118741589, 0.0300941113, 0.0063818744, -0.0213023089, -0.0426583961, 0.0654681846, 0.0105084674, -0.0589889884, 0.0948186144, 0.0531668961, -0.0478192605, 0.0158959627, 0.0136101721, -0.0045745187, 0.0075237239, -0.0164047293, -0.0451253504, 0.0044097658, -0.0751065835, -0.0417988487, -0.0118008014, 0.0452078059, -0.0061141951, -0.021723073, -0.0074123302, 0.0066020573, 0.017961923, 0.000253032, 0.0207332186, 0.0399660878, -0.0024501048, -0.0100042243, -0.0171535052, -0.0267837998, -0.0375590622, -0.124476403, -0.0380219556, 0.0459202155, 0.0818527564, -0.0420593433, -0.0419297069, -0.0202779286, -0.0356478505, 0.0493285842, 0.0313083939, 0.0107359998, 0.0053073764, -0.0221904237, -0.0083861677, -0.0229306053, 0.0325663611, 0.0320760608, -0.0085826553, 0.0105558923, -0.0032167442, 0.0060728542, -0.0370833352, 0.0281621069, 0.0337569341, -0.0318200588, 0.0185858272, 0.0138452128, 0.0474986844, 0.027170606, -0.0189186744, 0.0480450764, 0.0466095395, 0.0046285698, -0.0012788958, -0.0060730027, 0.0120437639, 0.0355560258, 0.0296522193, -0.0053577237, 0.0081259273, 0.0389860943, -0.060054671, -0.0026981076, 0.0740164146, -0.0465149097, -0.0158713758, -0.0161348674, 0.0181590542, -0.0097708488, 0.0247695222, -0.0432933792, 0.0389684699, -0.0073880176, -0.0508138314, -0.0188683346, 0.0327214897, 0.0267390814, -0.0566076152, -0.0489924215, 0.0281552486, -0.036373198, 0.0376038589, -0.003266382, 0.0034059135, -0.0277558528, -0.0126972962, -0.041903872, -0.0079992553, -0.0179572254, 0.046159707, 0.0329967737, -0.0031163946, -0.0118638994, -0.0144583713, -0.0012896574, -0.0202462375, 0.0076075555, 0.0316629335, 0.0268494505, -0.0087249903, -0.0525759198, -0.0411327966, 0.0052543781, -0.0264911111, 0.0587894693, 0.0126815885, -0.0069913222, -0.0113330204, 0.0178667828, -0.0260848813, 0.0234136358, -0.0069905529, -0.0709549859, 0.0428312048, 0.026735371, -0.0020137175, 0.0311115067, 0.029500626, 0.0487058349, 0.0579110943, 0.0054143635, -0.0254050009, -0.0166142378, 0.0377378911, -0.0415006056, -0.0311833378, -0.0089218132, 0.0432888232, 0.0575782359, 0.0306936856, -0.0172849223, -0.0195310358, 0.0545649566, -0.015052693, -0.0268079452, -0.019793056, -0.0581394993, 0.00428598, 0.0339922421, 0.002810589, -0.0599037446, 0.0799960271, -0.0605873764, 0.0145931067, -0.0597171783, -0.0700314417, -0.0206430517, 0.0783897266, -0.034315072, 0.0226206146, 0.0435536206, -0.0123307845, -0.0566980354, -0.0394993983, 0.0210424401, -0.0133857047, 0.0346593484, -0.0338854119, -0.0007183105, 0.0016102368, -0.029541757, -0.0620531142, -0.0208660327, -0.0414039642, 0.0195872039, 0.008795199, -0.0233032983, -0.0289096478, -0.005175991, 0.0354929194, -0.0024389678, 0.0142427012, -0.0249664541, -0.0196365938, 0.0046812254, 0.0201515909, -0.0484151319, 0.0032645706, -0.0007902462, 0.0526091158, 0.064801082, 0.0266800523, 0.0082024625, -0.0365285203, -0.0306622237, -0.0045485152, -0.004702616, 0.0105165159, 0.0101497676, 0.015720902, -0.0693333596, -0.0004955743, 0.0553047247, 0.0309108775, -0.0035108828, 0.0204620175, -0.0369884074, 0.0049062348, 0.0061783101, 0.031179186, -0.0897877142, -0.0007288824, 0.0248025805, 0.039532654, -0.0377559997, -0.00837404, -0.0134709636, -0.1275281757, 0.0193706583, -0.0067569534, -0.0309019499, -0.0108185643, -0.0171279237, -0.0235240273, 0.0144665251, 0.0363771059, -0.0004137391, 0.0129941618, 0.0013617317, -0.0092529496, -0.0680447742, -0.0355737843, 0.0142525798, -0.0284840111, 0.0714795962, 0.0719731152, 0.0192317255, -0.0118121132, -0.0029325045, 0.0696337, -0.0032319655, 0.0044581257, 0.0181706734, 0.0428839773, 0.0231621917, -0.0228458904, -0.0002473966, 0.0271105915, 0.0069414708, -0.0324184, 0.0545928106, 0.0386552773, -0.0583158024, 0.0060320934, -0.0331515372, -0.0072248448, 0.0578134432, 0.0699033961, 0.0309123043, -0.0412948653, -0.0394769199, -0.0729207247, 0.0123384241, -0.04383903, -0.0682559088, 0.0263837818, 0.0320559181, -0.0335250758, -0.0640605092, -0.0162922144, -0.0340669528, 0.0123788463, 0.0339077786, -0.0268173888, -0.0304506067, 0.0323658772, 0.0029580314, -0.0105702057, -0.0299458075, 0.0461237393, -0.0406204723, 0.0165165979, 0.0044108117, -0.0246923901, -0.025017675, 0.0364576355, -0.0540465117, -0.0875862688, 0.0087877763, 0.053293556, 0.0238321722, -0.0305065718, -0.0649613738, -0.0633829683, 0.0864972323, 0.022702707, -0.0343720168, -0.0091896784, 0.0784447044, -0.0174599513, 0.0094164563, 0.0288096312, -0.0315283202, -0.0142362649, 0.0256651379, -0.0112407301, -0.0451321118, -0.0421216227, -0.0107734008, 0.0515283234, 0.0268521924, 0.009883916, 0.0081737144, 0.0069802934, 0.0162964389, -0.0141402809, -0.0323471129, 0.0048564281, 0.0154401939, 0.0182277597, -0.0249089543, 0.0511872619, 0.0005678681, -0.0167992059, 0.0277997386, 0.0016688035, 0.0367749371, 0.0623853467, 0.0323901549, 0.0323354676, -0.0046187527, -0.0014360521, 0.049328763, -0.0309318453, 0.038151633, 0.0198575109, 0.0399505086, -0.0221455749, -0.0092663262, 0.0017942477, 0.0482739694, -0.0616261028, -0.0872187018, 0.0501585156, 0.073106885, 0.0217933189, 0.0561571121, 0.0230200309, -0.0063034813, 0.0113047296, -0.0278564394, -0.018760372, 0.0234104823, -0.0454116389, 0.0230885837, 0.0084367832, -0.0176641345, 0.0147582144, 0.0630468279, -0.0076071597, 0.0622647256, 0.0007434657, -0.0215312056, -0.0235387422, -0.0498285182, 0.0031249314, 0.006536887, -0.0449977219, -0.0307382327, -0.0673126578, -0.0898754001, -0.0196090676, 0.0324101858, 0.0152111948, 0.031362474, -0.0076455027, 0.0506465584, 0.0304746442, 0.0437601544, -0.0793520957, 0.0149863381, -0.0304552633, -0.0535966121, 0.0230660327, -5.828041482e-33, 0.0128841605, -0.0504341051, -0.0197814405, -0.0119554093, 0.0114361839, 0.0254745204, -0.0249420907, 0.0166588072, -0.0554501899, -0.0118154362, 0.0091728419, 0.0035529351, 0.0061710379, 0.0177721735, -0.0198964607, -0.021522807, 0.0146495067, -0.0067720697, -0.0247272961, 0.0225785263, 0.0611618049, -0.0263238251, 0.0053964518, -0.0927704051, 0.0415145308, 0.0105439909, -0.0401047431, 0.0233315714, -0.0540084131, 0.0716611743, -0.0150924372, 0.0340022035, -0.0047262637, -0.0417466387, 0.0043370728, 0.0291772876, 0.0233886354, -0.0178472679, 0.0006382036, -0.0126892272, 0.0024604383, -0.051499337, 0.0051630456, -0.0237619467, 0.0088364687, 0.0004623084, -0.0014129381, -0.017088782, 0.0279944316, -0.0182111226, -0.0288161635, 0.0184443146, -0.0489800908, 0.0005326397, -0.0158222187, 0.0145827159, 0.0445263721, 0.0002648203, -0.02531505, 0.0324462764, 0.0111012924, -0.0124267936, 0.0867444053, 0.0172940921, -0.0104026143, 0.0501585156, -0.0214177053, -0.0042649335, -0.0192377567, -0.0136285219, -0.0189783387, 0.0435984395, 0.0586068705, 0.0583219416, -0.0095030656, -0.0080264779, -0.0774283484, 0.0273891073, 0.0283012241, 0.0634890944, 0.0474018455, 0.0109614478, -0.0515434816, 0.0021223493, -0.0142455874, -0.0364024751, -0.0532389134, -0.0270117186, 0.0039844909, -0.0038901751, -0.0478304401, -0.0090893703, 0.0249450635, -0.0285189319, -0.0007020814, 0.0530554727, -0.0012908475, -0.0199734904, -0.0116156759, 0.0032997001, 0.0265729316, 0.0053755068, 0.024081355, -0.0249210168, 0.0448609926, -0.0154718338, 0.0226481482, 0.0255178045, -0.0528106801, -0.0076929806, -0.0298617147, 0.0679301694, 0.0118497489, 0.0556467101, 0.0154268341, -0.0276907925, -0.0039868597, 0.0293034911, 0.0411305577, -0.0125628375, -0.0376192108, 0.0444478653, -0.040457461, -0.000902718, -0.0254459977, -0.0039504711, 0.0020533488, 0.0246489905, 0.0433719754, -0.0269101206, -0.0070945635, -0.0381952599, 2.842e-7, 0.0137258563, 0.0036427651, 0.0271516386, 0.0256630704, 0.0354038626, 0.0804267377, -0.009320301, 0.065517351, -0.016683111, -0.0151130082, -0.0248858035, 0.016660355, 0.0565173961, 0.0553081296, -0.0237895064, -0.0000745819, -0.0998554528, -0.0084196599, -0.0843690559, 0.0070872209, 0.0448982418, 0.0967120975, 0.0133772669, -0.0294454489, -0.0236707646, -0.0874131992, -0.0088713504, -0.0054871272, -0.0139613077, 0.0094043734, 0.0372481458, 0.0535772778, 0.0167779252, 0.0352576301, -0.0168817081, -0.0200194102, -0.0501156636, 0.0365120359, 0.0212450549, -0.0177147649, -0.0291172657, -0.0405735224, 0.0154186692, -0.071801506, 0.0797219574, -0.0128566725, -0.0261115022, -0.0394126177, 0.0236086417, -0.0446165241, 0.0439817607, -0.0483911075, -0.0028602632, -0.0044042245, -0.0176815037, -0.0241651069, 0.0370460637, -0.0449152179, -0.0337615237, -0.0282439422, -0.0178543739, -0.0101501606, -0.0004053475, 0.0139760608, 0.0134664243, -0.0129069844, 0.018458277, 2.654641851e-34, 0.0055486378, -0.0227947738, -0.014440815, 0.002569071, 0.0425979309, 0.0359718427, -0.0302534923, 0.0004004529, 0.0009457663, -0.0254959483, -0.0260025486 ]
http://arxiv.org/abs/2406.11035v1
http://arxiv.org/pdf/2406.11035v1
Scaling Synthetic Logical Reasoning Datasets with Context-Sensitive Declarative Grammars
2024-06-16T18:10:49
2024-06-16T18:10:49
Damien Sileo
cs.CL
cs.CL, I.2.7
Logical reasoning remains a challenge for natural language processing, but it can be improved by training language models to mimic theorem provers on procedurally generated problems. Previous work used domain-specific proof generation algorithms, which biases reasoning toward specific proof traces and limits auditability and extensibility. We present a simpler and more general declarative framework with flexible context-sensitive rules binding multiple languages (specifically, simplified English and the TPTP theorem-proving language). We construct first-order logic problems by selecting up to 32 premises and one hypothesis. We demonstrate that using semantic constraints during generation and careful English verbalization of predicates enhances logical reasoning without hurting natural English tasks. We use relatively small DeBERTa-v3 models to achieve state-of-the-art accuracy on the FOLIO human-authored logic dataset, surpassing GPT-4 in accuracy with or without an external solver by 12%.
[ 0.0182851739, 0.064463459, 0.0017746713, 0.0345295705, -0.0632517785, 0.003560574, 0.0391859263, -0.0524754338, 0.0199261121, -0.0251033828, 0.0323288515, 0.0231143218, -0.0271537304, 0.0399984159, 0.0424683392, -0.0287454482, 0.0304262862, -0.0259037595, 0.0011906006, -0.0239585452, 0.0258010421, 0.0175181031, -0.0072729634, 0.0154645508, -0.0739895627, -0.0311850868, -0.0099976594, -0.0121279061, 0.009422604, -0.0327206142, -0.0102005815, 0.065487586, 0.0450039133, 0.0290037822, 0.0000020212, -0.0431988053, -0.0064262962, 0.0150011787, -0.0369299836, -0.0279866587, 0.0033221571, -0.0076523041, 0.0116505055, 0.020348873, -0.0849184245, -0.0058436533, 0.0225457903, 0.0369736105, 0.0761130452, 0.0833022147, -0.0098409001, -0.0746499673, 0.0063477671, -0.0134839518, -0.003046196, -0.0188136697, 0.0007696189, 0.0243256819, 0.0313318707, -0.0459163003, 0.0418945402, -0.0005074979, 0.0674284846, -0.0169122461, -0.0412990451, 0.0121640256, -0.0656822771, -0.0035779984, 0.0036620772, 0.0601576492, 0.0286875181, -0.0793649927, -0.0284763034, 0.0248869527, -0.0074283155, -0.0148399249, 0.000123558, 0.079302609, -0.0490489677, 0.0041991929, 0.0710879192, -0.0261676461, 0.0128353145, -0.0121376058, -0.0195687674, 0.0854097903, -0.0025832925, -0.0466602072, 0.0106120044, 0.0157266501, -0.0528284535, -0.0649154261, 0.0264250357, 0.0116811981, -0.0414821617, 0.0152990539, -0.0697229505, 0.0011029306, 0.0143516799, -0.0104380799, -0.0067662122, 0.0537911057, 0.0294961724, 0.0164240319, -0.0346501656, 0.0317382962, -0.0024461304, 0.0751126856, -0.0018383552, -0.0240705777, -0.0475139618, 0.0035600213, -0.0384093635, 0.0361048318, -0.0453996286, 0.0593590401, -0.0416946411, -0.0056901765, -0.0277856328, 0.0539620705, -0.0008946654, -0.019856438, -0.0258930363, -0.0372077823, -0.0264445264, -0.0364111252, -0.0542534925, 0.019216517, 0.0171977282, -0.0561141334, -0.0206429902, -0.0117732799, -0.0187810045, 0.009670442, 0.0265360735, 0.058758691, 0.0017495509, 0.0338192731, -0.0620222837, -0.0697856843, 0.0330115184, -0.0608420521, -0.0146244904, -0.0846470818, 0.0139883328, -0.0051966901, -0.0362706482, -0.0403866358, -0.0126593933, 0.0540592894, 0.0500605442, 0.0790640712, -0.0372070819, -0.0099570239, -0.0189197026, -0.0111546963, -0.0154128997, 0.0623939037, 0.0227877609, 0.0062222048, 0.0217791703, 0.0318047293, -0.0080720251, 0.0067520859, 0.0267723966, -0.0237843636, -0.0315714628, 0.0293019675, -0.0010219028, 0.0329714417, 0.0081084548, 0.0428952537, -0.028687885, -0.0082172733, -0.0047397674, 0.0252218992, 0.016197145, 0.0000613984, 0.0559789576, -0.0081222113, 0.0087766144, 0.0058632591, -0.0794653445, -0.0080874711, -0.0114662033, -0.0041415449, -0.0478008203, 0.0210908353, 0.0007114751, -0.0628152564, -0.0166063774, 0.0297492798, -0.021103194, 0.0202074274, 0.0106222304, 0.0386330709, 0.0136019122, 0.0554254912, 0.0281270724, -0.0826098993, -0.0412082598, -0.0039149439, 0.060902901, 0.0166439433, 0.05171353, -0.0407412723, -0.0107873008, -0.0292274542, 0.0471556745, 0.0485609435, 0.0231683683, -0.0195592307, 0.0063546021, -0.0170593187, 0.0031083161, -0.0322976336, 0.0201392416, 0.0069716112, 0.0503310114, 0.0037134211, 0.01516697, -0.0355584919, 0.0239939578, 0.0327446237, -0.034897361, -0.011223481, 0.0200159587, 0.0038801255, 0.0353023596, -0.0026816186, -0.0116343228, 0.0155946491, -0.0051115593, -0.0376927778, -0.0057691676, 0.03230327, -0.0177948959, -0.0719246119, 0.0581527539, -0.0756856352, -0.0588616394, 0.0002470495, -0.0745716244, -0.0047131572, 0.0261835642, -0.0317519829, -0.0141885607, -0.0487759225, -0.0354955867, 0.0397079326, -0.0173118077, -0.0098138554, 0.0787882581, 0.0265683513, -0.0076139322, 0.0099896053, 0.0042655966, 0.0305677671, -0.0464855954, 0.0518695824, -0.0128582995, 0.0020825332, 0.0090112556, 0.0184676126, 0.0435504615, -0.0146670211, 0.0011011345, -0.0550671332, 0.0222945381, -0.0294988826, 0.0378430337, 0.0337709598, -0.0339813791, -0.0061497646, 0.0013735418, -0.0596300699, -0.0369923562, 0.0160638262, -0.0197971724, 0.0439958498, -0.0246469174, -0.0092796534, -0.0071884277, -0.0083083445, -0.0367840417, 0.0218114611, 0.025533203, 0.0412635393, 0.0001270455, 0.0144018549, -0.0115424348, 0.0531707108, 0.0126423575, 0.0027691924, 0.0344388485, -0.0180509817, 0.0057563153, 0.0686804727, -0.0307254437, 0.00740337, 0.0348533504, -0.0237147491, -0.0128269494, 0.0404647812, -0.0089217657, 0.0465175956, -0.0220223721, -0.0344136618, 0.009066062, 0.0091043711, -0.0206351578, -0.0236675404, -0.0283380561, 0.0741777718, -0.0120395273, -0.0053577106, -0.0032934942, 0.0003157482, 0.002671899, 0.0652410015, -0.0083296187, -0.0053641344, 0.0829008892, -0.0019341523, -0.0026769862, -0.0858107805, 0.0126037309, -0.0593030527, 0.0543969385, 0.0072202324, 0.0044313185, 0.0323273875, 0.0161454808, -0.0207815487, -0.0365575254, 0.0861669183, -0.0064421017, 0.0305542145, -0.0649579167, 0.0175162051, -0.0155510167, -0.0638691112, -0.0640338883, 0.0002024332, -0.0522958823, 0.0071072155, -0.0364535861, -0.0082821595, -0.0279044881, -0.0345032848, 0.0011540895, 0.021422958, 0.0075627221, -0.0139666358, -0.0199750531, -0.0179409925, -0.0158517305, 0.0247458704, -0.0142432088, -0.0096978238, 0.0026309511, 0.0419704206, 0.0110851442, 0.0002532189, -0.0065687164, 0.0603857078, -0.0116812512, -0.0058417669, -0.0061915303, 0.0143383127, 0.0144738061, -0.0841002092, -0.0096619567, 0.1020301729, 0.0404738113, 0.0293945875, 0.0009792439, -0.0294595901, 0.0435059257, 0.0086239856, 0.0426007956, -0.1119962409, -0.0749760866, 0.0247685462, -0.0087822238, -0.0222389214, -0.0334094241, -0.0200166702, -0.1260135323, 0.0587378182, -0.0026179305, -0.0067339092, 0.0068600685, -0.0536104552, 0.0037835371, -0.0370807685, -0.0258705467, -0.0036022086, -0.0057498082, 0.0295153055, 0.0011852634, -0.0282425079, -0.0267731845, 0.0528079346, -0.031008102, 0.0010486133, 0.0198456813, 0.0101349736, 0.0033131063, -0.0680857152, 0.0043464629, 0.0371173844, -0.0150406091, -0.0161967687, -0.0026876724, -0.0018642042, 0.0042774426, -0.0435841568, 0.0691303834, -0.0446488969, -0.0431510732, 0.0357942246, 0.0548069254, 0.0041711712, -0.0101113142, -0.0388796963, 0.0377436355, -0.0232289825, 0.037602894, 0.0180020183, 0.0185508281, -0.0595566891, -0.0768350884, -0.0123718204, -0.0646785945, -0.0043913634, 0.0226668566, -0.0029125921, -0.049616795, -0.0446686968, -0.0139301522, 0.07338503, 0.0503392443, -0.0063661644, -0.0493387133, 0.029590033, -0.0014781294, -0.0564656183, 0.0490715504, -0.0414361283, 0.0346468017, -0.0256440565, 0.029496016, -0.0188570358, -0.0091241039, -0.0278999023, 0.085035339, -0.0295474697, -0.0810965374, -0.0094286837, 0.0278348681, 0.0184300132, 0.0446720496, -0.0205792524, -0.0189555269, -0.003985506, 0.0379504263, -0.0039670179, -0.0221137553, 0.0682213008, -0.0381133966, 0.0159140844, 0.031631697, 0.0105370646, 0.0303634889, 0.0276854839, 0.0591295883, -0.0235165525, 0.0207729414, 0.066885516, 0.0629803538, -0.0002222264, 0.0052980348, -0.0012563348, -0.0264075194, 0.0129456883, -0.0690138116, -0.0205141976, -0.0477853417, 0.0403916538, -0.0258743744, -0.0124966288, 0.0030415668, -0.0458209291, -0.044733867, -0.0105038332, 0.0169042442, 0.0262348987, 0.0280136224, 0.0309550129, 0.0288411453, -0.0623209998, -0.017575305, -0.0375951752, -0.0174853839, 0.0461717956, -0.0281895269, 0.0194093939, 0.0636233389, 0.0179672018, -0.0461478159, -0.0164507646, -0.0404474139, -0.0005804211, 0.0143779088, -0.0233664215, 0.0598616973, 0.0315240249, 0.0068171704, -0.0579298213, -0.0017992465, 0.0294982232, 0.0575359128, 0.0179637689, -0.0476605669, 0.0281410553, 0.007172985, -0.0300727319, -0.062342979, 0.0559783801, -0.0018680131, 0.0277352761, 0.0063284831, -0.0147865769, -0.0525351167, -0.0433870889, -0.0264541917, 0.0054296078, 0.0199625939, -0.0075744134, -0.0715422109, -0.0899387076, 0.0168597605, 0.0431553088, -0.0034553939, 0.0256533325, 0.0421838127, 0.0458176434, 0.0316198207, -0.0650131628, 0.0030324848, 0.009552639, -0.00481191, -0.0527110025, 0.0102953631, -5.875006889e-33, -0.0189600158, -0.0173554663, 0.0459802225, -0.0160926599, 0.0231059622, -0.0428016186, -0.0726881921, 0.0018076872, 0.0019691139, 0.0676538274, -0.0239024665, 0.0408877842, 0.0156672765, 0.0227458626, -0.045248501, -0.0001442153, 0.0204021353, 0.011568293, -0.0258807838, 0.0234225541, 0.0517747179, -0.0196436234, 0.028787626, -0.0294257924, -0.006879624, 0.0234087519, -0.0233755242, 0.0457113162, -0.0756472871, 0.0113027589, 0.0044152802, 0.0398912095, -0.0107993465, -0.0264150631, -0.0057292338, 0.0101784812, -0.0499980226, -0.0296033192, 0.0438220836, -0.0229801498, -0.0212390665, -0.0390217416, 0.0174367465, 0.0037183587, -0.0077508036, -0.0072722761, 0.0178408176, -0.0070610777, 0.0216377359, -0.035975609, -0.0401650369, 0.0361862853, -0.008823188, -0.0055074291, 0.0034592943, 0.0218693372, -0.0055413502, -0.063230738, -0.0209124852, 0.0261719413, 0.0217639301, -0.0138262659, 0.0447398685, -0.0580613241, -0.0077618673, 0.0304689631, 0.0026184903, -0.0055361399, -0.0448636301, 0.0824287832, -0.006020546, 0.0750272572, 0.0500981957, 0.0682974234, 0.0359303989, 0.0128141511, -0.0977787822, 0.0162289906, -0.0111416429, 0.0407765135, 0.0210031122, -0.0480017923, -0.040170081, -0.0116449893, -0.033637654, 0.0893875062, -0.0046426528, 0.0120274425, 0.0282485373, -0.0136551429, -0.0159746353, -0.0445483848, -0.0148483338, -0.0206617266, -0.005909726, 0.02101909, -0.0020891032, -0.0367057845, -0.0000048981, 0.0375248305, -0.0264406353, 0.0103021413, 0.0216189306, 0.027487712, 0.0241569299, 0.0090518426, 0.0343167596, 0.0236272737, -0.0217768792, 0.0215210561, -0.0447995253, 0.0554867014, -0.0076598939, 0.0345474854, 0.0322136246, 0.030015951, -0.0016456407, -0.0175558981, -0.0275367796, -0.0406838693, -0.0427634493, 0.0604993999, 0.0308418125, 0.0367908403, 0.0129177775, -0.0290239006, -0.0420570821, 0.0019853832, 0.0365779735, -0.0396466739, 0.0065066302, 0.0186222438, 2.745e-7, -0.0026136434, 0.0226292703, 0.0336011909, 0.0986017734, -0.0081775133, 0.0460463949, 0.0137662664, 0.0132094007, 0.0074099638, -0.0404906385, -0.021751646, 0.0421130098, 0.0352951102, 0.0673868805, -0.0657294467, -0.00334931, 0.0054984526, -0.0419774391, -0.0402232967, 0.0147277163, 0.0842738748, 0.0680260509, 0.0236391649, -0.0307026841, 0.0282495264, -0.0349000618, 0.0323837548, 0.0309814848, 0.0014816632, -0.0123971477, 0.0597826615, -0.0123010268, 0.0211187638, 0.0615997314, -0.017454518, 0.0013617096, -0.0496808551, 0.0344672427, 0.0008464805, 0.0308486745, -0.033793807, -0.0667468682, -0.0079387072, -0.0344654433, 0.0474675037, -0.0504118018, -0.0262469649, 0.0589893609, -0.0065104566, -0.0461761095, -0.0269087441, 0.0027733722, -0.0111587681, 0.0029281564, 0.0426152274, -0.0317001902, 0.0213081073, -0.0499961823, -0.0150249964, 0.0196141955, -0.0321486928, 0.002034815, 0.0247457549, 0.0391139388, 0.0401587375, -0.0372950025, 0.0018574717, 2.780442706e-34, 0.0480671525, -0.0015920385, 0.0143476147, -0.0130983144, 0.073238492, 0.0144985318, 0.0176537316, -0.013032251, 0.0113592623, -0.0641892329, -0.0289782844 ]
http://arxiv.org/abs/2406.11030v1
http://arxiv.org/pdf/2406.11030v1
FoodieQA: A Multimodal Dataset for Fine-Grained Understanding of Chinese Food Culture
2024-06-16T17:59:32
2024-06-16T17:59:32
Wenyan Li, Xinyu Zhang, Jiaang Li, Qiwei Peng, Raphael Tang, Li Zhou, Weijia Zhang, Guimin Hu, Yifei Yuan, Anders Søgaard, Daniel Hershcovich, Desmond Elliott
cs.CL
cs.CL
Food is a rich and varied dimension of cultural heritage, crucial to both individuals and social groups. To bridge the gap in the literature on the often-overlooked regional diversity in this domain, we introduce FoodieQA, a manually curated, fine-grained image-text dataset capturing the intricate features of food cultures across various regions in China. We evaluate vision-language Models (VLMs) and large language models (LLMs) on newly collected, unseen food images and corresponding questions. FoodieQA comprises three multiple-choice question-answering tasks where models need to answer questions based on multiple images, a single image, and text-only descriptions, respectively. While LLMs excel at text-based question answering, surpassing human accuracy, the open-sourced VLMs still fall short by 41\% on multi-image and 21\% on single-image VQA tasks, although closed-weights models perform closer to human levels (within 10\%). Our findings highlight that understanding food and its cultural implications remains a challenging and under-explored direction.
[ 0.0228766445, 0.0937571377, -0.0198230874, 0.0369359702, 0.0125521887, 0.050939139, 0.0138339428, 0.0104776137, 0.0267238282, -0.0456187017, -0.0093741193, -0.0407371819, 0.0066062016, 0.0071611051, 0.0279947296, -0.0598953366, 0.0279968306, 0.0067080585, -0.0061346265, 0.017650431, 0.0044331388, 0.007229961, 0.0350882709, 0.0098439232, -0.0397682525, -0.0245190635, -0.0049890741, 0.0176181085, 0.0212020073, -0.0356163383, 0.0103713907, 0.0447731391, 0.0145580675, 0.0166295432, 0.0000016886, 0.0013058272, 0.0339226611, 0.0005655552, 0.0036545435, 0.0591110662, 0.0223293379, 0.0016688744, 0.0212713927, -0.0138726318, -0.0309728794, -0.0252606794, 0.0811173916, 0.0654381365, 0.0251814499, 0.0249612313, -0.0002732435, -0.0931428969, -0.0525202006, 0.0012523141, 0.0373978764, 0.0033566433, 0.030310506, 0.0373158641, -0.0228600055, 0.0034002331, -0.0488378741, 0.0439049713, 0.0394640043, 0.0202913303, -0.0589527264, 0.0451272354, -0.0456148423, -0.0489994399, 0.0264880508, 0.1108542755, 0.003004876, 0.0049148989, -0.0233493131, 0.0056358646, -0.0511535034, -0.0109186629, -0.043168731, 0.0188881736, -0.0169152133, 0.0289945584, -0.0642108992, -0.0371216498, 0.026904596, 0.0495982803, 0.0187594909, 0.0618114881, 0.0118127298, 0.028752733, -0.0365973525, 0.0108316634, -0.0419027545, -0.036971081, -0.0162613038, 0.0632812679, 0.0010688847, 0.025689723, 0.0428967327, 0.0254500601, 0.0150894327, -0.0190772694, 0.0040584295, 0.0300432686, -0.1030334011, 0.0283599366, -0.002861541, 0.0386013389, -0.0187804885, 0.0273382999, -0.0531696305, -0.0228536353, -0.041742526, -0.0121541061, 0.0030182779, -0.0084982421, -0.045440957, -0.0230398159, -0.0035134801, 0.0049417503, -0.0000122463, -0.0210210569, -0.0000550172, 0.0670239925, -0.0156298615, 0.0186492261, -0.052799698, 0.0856518522, -0.0288945213, 0.0207935739, -0.0247230623, -0.0132599361, -0.0013217147, 0.0035278851, 0.003714367, -0.0030649221, 0.0135546178, 0.0304308608, -0.033263877, -0.0281311292, -0.0270510223, -0.0116851544, -0.0550710708, -0.0714007318, 0.0334235951, -0.0763534978, 0.0149611197, 0.0100119347, 0.0388321094, -0.028317187, 0.0238262266, 0.067358613, -0.0369896069, 0.061883755, 0.0855184421, 0.0046554231, 0.0382188596, 0.0185958687, 0.0120954439, 0.0592773519, 0.01687623, 0.0500086062, 0.0482266881, -0.0036338465, -0.0148951365, 0.0066824458, -0.0351190306, 0.0207801927, -0.0660082623, 0.0333736874, 0.0284394585, 0.0198359415, 0.009720834, 0.0602834821, -0.0010156168, -0.0208439697, 0.1075138822, 0.0670953542, -0.0117403995, -0.0064206207, 0.0303981155, 0.0088322619, 0.0237877164, 0.018362755, -0.0236713085, 0.052819442, -0.0203555375, -0.0036650025, -0.0156428851, 0.0452407524, -0.0487430803, -0.0457550362, -0.0276905745, 0.0064554131, 0.0575672053, 0.0431435406, 0.0539692231, -0.0199025031, -0.0081301937, -0.0326112323, 0.0181839876, -0.032635767, -0.0083352029, 0.0026518705, 0.0892472193, 0.0438102186, 0.0161990412, -0.0022630654, 0.0587832332, 0.0399075262, 0.0651765093, 0.0460848548, 0.0084023448, -0.0145342536, 0.0269843116, -0.0293457564, -0.0464597233, -0.0130991163, 0.0092663625, -0.0260796789, 0.0338625386, 0.0242921598, 0.0256897435, -0.0010232595, -0.0211577863, 0.0182333551, 0.0076286853, -0.00992967, 0.0037110702, 0.0078504309, -0.0419325791, 0.0202023704, -0.0056937444, 0.0197583344, -0.012139949, -0.0309306625, 0.0032591182, 0.0248168856, -0.0020939591, -0.0210402086, 0.0278339721, -0.0832675919, -0.0309354346, 0.0192372818, -0.0492974557, -0.0198580455, -0.0102485539, -0.030787671, -0.0301485527, -0.0631173104, -0.0468308032, 0.0061530685, 0.0585087575, -0.0279770251, 0.0635075048, -0.0135529274, 0.0062695849, -0.0319154747, -0.0263972357, 0.0139789432, -0.028385222, -0.0093655409, -0.0201501213, 0.041120097, 0.0332266018, -0.0062616626, 0.0577604994, -0.0476317219, 0.0170378797, -0.103437379, 0.0016623329, -0.0365262441, -0.0424438752, -0.0140669206, -0.0024263614, 0.01334773, -0.0377602763, -0.0444015861, 0.0540090501, -0.0289491266, 0.0375614166, 0.0121389301, -0.0118762413, 0.0501678474, -0.0147052808, -0.0031368549, 0.0163165499, 0.0728190243, -0.0125811622, -0.0286662057, -0.0135331172, -0.0911123678, -0.0757625476, 0.0166776702, 0.0084944433, -0.0403603353, -0.024777595, 0.0101304194, 0.0020289684, 0.0585550554, -0.0061021401, -0.0071640778, 0.0248663146, -0.0049989941, -0.0372821093, -0.019032592, 0.0038977424, 0.0183611009, 0.003214207, -0.0785354748, -0.0438998677, 0.0352913849, 0.031832125, 0.0194821171, -0.0223503076, 0.0375983641, -0.0120823868, -0.0444620699, -0.0748913586, 0.0416470245, -0.0010691934, 0.0596563369, -0.0419176482, -0.0691707879, 0.0485874265, -0.010473799, -0.0039186678, 0.0242524669, -0.0087372223, -0.0505312309, 0.075493142, 0.0330060422, 0.0408457518, 0.0213790722, 0.0182649381, -0.0649614781, 0.0096935229, -0.010733719, -0.0597060807, 0.073078908, -0.0570980385, -0.0269857645, -0.0196281858, -0.0058772597, -0.0401952639, -0.0084633697, -0.0456330478, 0.0181813594, -0.0051623373, 0.012417946, -0.030568203, 0.054816708, 0.0270190071, -0.0273449197, 0.0022127267, -0.0012911606, 0.0022996147, 0.0533891059, 0.0859771743, 0.0453548208, -0.0123284319, -0.0208067, 0.0222647674, 0.0375001617, 0.0061373999, -0.0126810949, 0.0120683312, 0.0569626912, 0.0247472115, 0.0405366756, -0.0147580523, 0.0005551282, 0.0395468138, -0.0214327239, -0.0213308148, 0.0827764571, 0.0336923786, -0.0448814332, 0.0130790714, 0.0196166765, -0.0181976259, 0.0402280614, 0.0375538953, -0.1218742728, -0.0171997268, -0.0389537103, -0.0167822465, -0.0233032182, -0.003511403, -0.0283849388, -0.0856866315, 0.0458802544, -0.0057536005, -0.0797290355, -0.0471949019, -0.0062086484, -0.0165827144, -0.0162731539, 0.0456305742, -0.0384342074, -0.0178098846, 0.0018982587, 0.0047350135, 0.002603566, 0.0011333901, 0.055386398, -0.06318032, -0.0053083664, 0.0557047501, 0.0279599372, -0.0120259421, -0.0699791387, 0.016684657, -0.0086011374, 0.0120260278, -0.0064949282, 0.0494134501, 0.0185006447, -0.0378820747, -0.0147343501, 0.0171771552, -0.0097400118, -0.0205187965, 0.0155319106, 0.0503243729, 0.0082391798, -0.0351031236, 0.0016485259, -0.0108744362, 0.0167575311, 0.0497674607, 0.0268251114, -0.0418563448, -0.0376266837, -0.0205101296, -0.0816428512, -0.0153045366, -0.0390346125, 0.078433156, -0.0340735205, -0.0004016641, -0.0718885958, -0.004905202, 0.030177556, 0.0318227634, -0.0053157988, -0.0018248397, -0.0041305586, 0.0357405245, -0.0579565465, 0.0692331791, -0.0279283077, 0.0132056177, -0.0208436251, -0.0393717997, 0.0362699777, -0.0570676811, 0.002540448, 0.031271141, -0.1287129372, -0.0238941386, -0.019181164, 0.0556552485, 0.0066436133, 0.0112075284, 0.0293219145, -0.0687098205, 0.0328590386, 0.0076532653, 0.0176493879, -0.0063387458, -0.051905632, -0.0324586444, 0.0242876131, 0.0084640812, -0.0417959057, 0.0254414082, 0.0135856438, 0.0169188362, -0.0366631746, -0.0374782383, 0.0175273623, -0.0177956391, 0.021414917, -0.0006082377, -0.0218702666, -0.0341996029, 0.0073709195, -0.0018623202, -0.0166273452, -0.0484310277, -0.0364708602, 0.0421130545, -0.0087892618, -0.0278808214, -0.0102862865, -0.0043948134, 0.0268901475, -0.0761056617, -0.0104566561, 0.025302656, -0.003608698, -0.0356617235, 0.0041781985, -0.0126522537, 0.0506260358, -0.043008659, 0.0289038289, -0.0009391649, 0.0945806652, -0.0053344881, 0.0108412812, -0.0411503352, 0.0043743891, -0.0197612196, -0.0628793016, 0.0003658242, -0.0101880068, 0.0618168004, -0.0662591904, 0.0123777874, 0.0122769307, -0.0209332388, -0.043709483, 0.0483820811, 0.003425583, -0.0337941013, 0.0809796825, 0.0192641653, 0.0028131655, 0.0227373168, 0.0964965448, 0.0053170077, 0.0189991109, 0.047879912, -0.0207276735, 0.0036702731, -0.0045749098, 0.042355489, -0.0147658093, -0.0197847206, 0.0238538813, -0.0411555097, -0.0656669289, -0.0181690697, 0.0105179287, -0.017195778, 0.0275735557, 0.0190007053, 0.0349166133, 0.0191741064, -0.040548034, -0.034504801, 0.0141289439, -0.042590782, -0.0198163446, 0.0181110483, -6.424538743e-33, 0.0014817081, -0.0715908483, 0.0366815142, -0.0098648211, 0.0078241257, 0.0187770333, -0.0249511041, -0.0137407389, -0.0423915908, 0.0127780009, 0.0295800641, -0.0035590632, 0.0105453394, 0.0481424108, 0.0060904729, -0.0234476291, -0.0219339635, 0.0078018853, 0.005369694, -0.0181488618, 0.0143841431, 0.0043043299, 0.0306254476, -0.0110752787, 0.0006834904, 0.0069639869, 0.0157844871, 0.0126872882, 0.0050768084, 0.0791524872, -0.0685439408, 0.0552235842, 0.0411221832, -0.0124257542, -0.0219416209, 0.0048597562, -0.0826188773, -0.0105023095, -0.0206216034, 0.0183348227, -0.071397759, -0.0032692708, 0.0158296768, -0.0225339849, 0.0428148508, 0.005162911, 0.0741945058, -0.0273797847, 0.0022944189, 0.0059670354, -0.0179736018, 0.0123055456, -0.0103381267, 0.0188410804, 0.0013104406, 0.0586298816, 0.0175097957, 0.0552324243, -0.0193466656, 0.0135453865, 0.0090146381, -0.0016647516, 0.054945942, 0.0600785203, 0.0267159641, 0.0187855083, 0.0333422199, -0.0290099587, -0.0238973256, -0.0448499322, -0.0035793132, 0.0466515347, 0.0305895247, 0.0580374785, 0.0165552273, -0.0143894833, -0.0537176169, 0.0227979422, -0.0232673474, 0.0008389204, -0.029166637, 0.0056617749, 0.0412577689, 0.014812679, -0.0372369885, 0.0040462222, -0.0568215773, -0.0053831851, 0.0192107968, 0.0094261756, -0.0184417143, 0.0202532709, 0.0533656515, -0.0074240635, 0.0042547239, -0.0183953624, 0.0139522795, -0.0331082977, 0.0153890345, 0.0175072867, -0.0812214762, -0.0183197353, 0.0277935155, 0.0116379559, -0.0038681438, -0.0044661649, 0.0199383404, 0.0143603068, -0.033763919, -0.0162301101, -0.0279656928, -0.0592880771, 0.0015099891, 0.0200867765, 0.0214956738, 0.0034214586, -0.0364099741, 0.0183735248, 0.0048012803, -0.0278824903, -0.0152020678, -0.0636238232, 0.0137133664, -0.0181216523, -0.027785657, 0.0233966243, -0.0209863707, -0.0122055551, 0.0323993266, -0.0440536775, 0.0129784681, 0.051298935, 2.386e-7, 0.0760775805, 0.0180365071, 0.0024409313, 0.0303434897, -0.0095267203, 0.0008994603, 0.0075524384, 0.0342197791, -0.0291520432, -0.0250697695, 0.0158319008, 0.0451109968, 0.053078223, 0.0348147601, -0.0134989806, 0.0284681078, -0.0446726158, 0.0198991727, -0.0486568362, -0.012728313, 0.0071925945, 0.0820776075, -0.0201385282, -0.0253755804, 0.0044499268, -0.0310425665, 0.0910159945, -0.0551173091, 0.0101103326, -0.0287967976, -0.0030413058, 0.0035670365, 0.0274616964, -0.0345941074, -0.0057625924, -0.0378688574, 0.0765983462, 0.0300428346, -0.014196882, -0.0473157465, -0.0360230729, 0.0122400848, -0.0048377709, -0.0991297364, 0.0919851884, -0.0365645848, -0.0127116311, 0.039649915, 0.0246121828, 0.0027353161, 0.0380921811, -0.0198693629, 0.0219466649, 0.0187868979, 0.0147341164, -0.0276246145, 0.013098604, -0.0533636548, -0.0253227279, -0.0420279913, -0.0344807357, -0.0421527326, -0.0022373493, -0.0506205633, -0.0426705889, -0.0032777367, -0.0471849032, 1.626299534e-34, 0.0254530869, -0.00760188, -0.0188406426, -0.0102002481, 0.0200669952, -0.0234155618, -0.0415251143, -0.0367675684, -0.0027753804, -0.0834267586, -0.0095582623 ]
http://arxiv.org/abs/2406.11029v1
http://arxiv.org/pdf/2406.11029v1
Curating Stopwords in Marathi: A TF-IDF Approach for Improved Text Analysis and Information Retrieval
2024-06-16T17:59:05
2024-06-16T17:59:05
Rohan Chavan, Gaurav Patil, Vishal Madle, Raviraj Joshi
cs.CL
cs.CL, cs.LG
Stopwords are commonly used words in a language that are often considered to be of little value in determining the meaning or significance of a document. These words occur frequently in most texts and don't provide much useful information for tasks like sentiment analysis and text classification. English, which is a high-resource language, takes advantage of the availability of stopwords, whereas low-resource Indian languages like Marathi are very limited, standardized, and can be used in available packages, but the number of available words in those packages is low. Our work targets the curation of stopwords in the Marathi language using the MahaCorpus, with 24.8 million sentences. We make use of the TF-IDF approach coupled with human evaluation to curate a strong stopword list of 400 words. We apply the stop word removal to the text classification task and show its efficacy. The work also presents a simple recipe for stopword curation in a low-resource language. The stopwords are integrated into the mahaNLP library and publicly available on https://github.com/l3cube-pune/MarathiNLP .
[ 0.0844258964, 0.0539899394, -0.0149164042, 0.0407893807, -0.0300270021, -0.0063820677, 0.0218587536, 0.059507139, -0.0149376001, -0.0427921824, 0.0169058945, 0.0075998777, -0.0013310334, 0.039832253, -0.0373001508, -0.0412960686, 0.0261537358, 0.0213189293, 0.0074937078, 0.0181402396, 0.0692338422, 0.0227506608, -0.0047678067, 0.0378730185, -0.0127283344, 0.0154595822, 0.0351228341, -0.0190492179, 0.0044990778, -0.0064210529, 0.0014678162, 0.0436926745, -0.0320897922, 0.0293924082, 0.0000016828, -0.0709918737, -0.0744936541, -0.0373149775, 0.0357372239, -0.0389137007, 0.0960829705, -0.007315374, -0.020589117, 0.0224582478, -0.0068033151, 0.0702781379, 0.0509543307, 0.0286647715, 0.0093024774, 0.0835135132, -0.0075997952, -0.0187832396, -0.006083074, 0.0339239985, -0.0012304157, 0.0248058904, -0.0162349697, -0.057698112, 0.0227534771, -0.0527789257, -0.0208688062, 0.0118731093, -0.0577821657, -0.0166005325, 0.0417315513, 0.0152057642, -0.0834333748, -0.0158947371, 0.0735502243, 0.0230183043, -0.0245325994, -0.0505076088, 0.0122567229, -0.0045354874, -0.0575769916, 0.0024967524, -0.0329964124, 0.0053820619, -0.049337171, 0.0693125725, 0.0005529391, 0.0191018675, -0.0105238594, 0.0321623906, 0.0097887442, 0.0102383262, 0.0151407113, -0.0369598381, 0.0252228677, -0.0231071282, -0.0387218148, -0.0384686738, 0.0294333417, 0.0095944004, -0.0372665077, 0.0111344075, -0.0086975135, -0.0394518599, 0.0555490218, -0.0558729395, -0.0469312407, 0.0024874976, -0.0024026632, -0.0297260694, -0.0093605062, -0.0102593945, 0.0356649309, -0.0266398042, -0.0169063192, -0.0454056598, -0.0088409372, -0.0243023559, 0.0074118073, 0.0226120297, -0.0130085414, 0.0156609751, -0.0846751928, -0.0024301328, -0.0167458188, -0.0258235279, -0.0149056735, 0.0050747897, -0.0134746833, -0.0184681304, 0.0108276037, -0.0021931736, -0.0657070652, 0.0224508867, -0.0301624499, -0.0367588326, 0.0345095135, -0.0043362863, 0.0300323274, -0.0165932197, 0.0037235902, -0.017929133, -0.0101369796, -0.0628955141, -0.0580652133, 0.0037839229, -0.0209926926, -0.0456033051, -0.0696518645, -0.0411171839, -0.017168643, 0.0227019992, 0.0207868405, -0.0324925184, 0.0261041727, 0.040802177, -0.029824283, 0.0734484643, -0.008347353, -0.0403948948, 0.0484626256, 0.0163972266, 0.0551698506, 0.0170912128, 0.0185067654, 0.0447169505, 0.0834418461, -0.0072659198, 0.0294326339, 0.0228210259, -0.021811828, -0.0299055297, -0.0837946683, 0.0077056061, -0.0623498634, 0.0026462595, 0.0002850186, 0.0353083462, 0.0190266389, 0.0143245794, 0.0045179408, 0.0453954302, 0.0435467809, 0.0195100717, -0.0136823989, 0.030213723, -0.0205570944, -0.0059727412, 0.0196800996, -0.0319122337, -0.0852866247, -0.005120487, 0.0236935411, -0.0031750896, -0.0047739591, -0.0261181276, -0.0112130558, -0.0226546247, 0.0023942969, -0.0303037576, 0.0749876574, 0.0127878552, -0.0411365964, -0.0578734726, 0.0488712192, -0.08742854, 0.0408040583, -0.013820135, 0.04808053, 0.0568165258, 0.0660054237, -0.054717958, 0.0285201613, 0.0131060677, 0.0116115063, 0.0248824116, 0.0080956137, -0.0136403032, -0.0739376992, -0.0545411743, -0.0038557374, 0.0718341768, -0.0072418377, -0.025488317, 0.0196103062, 0.0604998395, 0.006890832, 0.0106322709, -0.0282082316, 0.0298272539, 0.0514339358, -0.0064244727, 0.0112350062, 0.0004266847, 0.0358713381, 0.0060077575, -0.0287000407, -0.0130906673, 0.0293475091, 0.0237545315, -0.0331470147, 0.0186585523, 0.0697153881, 0.007747109, -0.0242416114, -0.0454069078, 0.0233528111, 0.0604878403, 0.023888493, -0.0325253196, 0.0170804411, -0.0033504909, 0.0423148423, -0.0613326095, 0.0446632318, -0.0192288961, 0.0280188043, -0.0472865179, 0.0579623766, 0.0173299778, 0.0343125165, -0.0285347328, -0.0443843454, 0.0289474148, -0.0562194958, -0.0380522832, 0.0529505312, 0.0127708735, 0.0164677594, 0.0614070334, 0.0243472047, -0.0386198424, -0.0561412498, -0.1695822328, 0.0065096659, 0.0068375664, 0.0194814615, -0.0443664677, 0.0563264936, -0.0191755481, 0.0085599348, 0.0414680168, 0.0025623399, 0.0865377262, 0.0027919998, 0.0715625733, -0.0218695216, 0.0000259265, -0.0295858625, -0.0250163916, -0.0073889396, 0.0491015799, -0.0004944339, -0.0912555605, 0.0308715291, 0.0161980987, -0.0253330469, 0.0288060121, 0.0066376789, -0.0363770835, -0.0153496731, -0.001578066, -0.0018439817, 0.0196749475, 0.0321183093, 0.0405666903, -0.0176607855, -0.0163758714, -0.0224987809, -0.0119673377, 0.0040747449, 0.0563491471, 0.0137383128, -0.0188502707, 0.0453792773, 0.020721592, -0.0097606443, -0.002451448, -0.0176747367, -0.0233815052, -0.0453936905, 0.0146965813, -0.0229366366, 0.014980915, -0.0467140637, 0.0362524278, 0.0084247766, -0.0594485551, 0.0197570287, -0.0209767967, 0.0117822038, -0.1071276888, 0.0040892968, -0.0583809316, 0.0110360915, -0.0535469279, 0.0139756985, 0.007492159, -0.0285819527, -0.0058516948, 0.0235903952, -0.017486088, -0.0281600561, -0.0007836313, -0.0566845238, 0.0020979268, -0.0215989053, -0.003114016, -0.0038545104, -0.0777140781, -0.0089298105, -0.0199863315, 0.0470244475, -0.0068018795, -0.0140432566, 0.0439051837, -0.0178271029, -0.0329510346, -0.0165645462, -0.0015909267, 0.0416524261, 0.0195107441, 0.0587171279, -0.010227629, -0.0066339029, 0.0378964022, 0.0105446875, 0.0258247759, 0.0446989052, -0.0182686877, 0.0560453385, 0.0014499334, 0.0127369566, -0.0712518096, -0.0311748087, -0.0392255075, 0.012871475, 0.0238962043, -0.0238667149, 0.0974118188, 0.0596728809, -0.0279049128, -0.0261710081, 0.0142530873, -0.0248565935, -0.0058370088, 0.0161024574, -0.0294341706, -0.0190371461, 0.026554741, -0.0082020555, -0.0266582631, -0.0114773046, 0.0046994723, -0.0899127945, 0.0003938941, -0.017526919, -0.0174119081, 0.0072632204, -0.001151774, -0.042716343, 0.0103353653, -0.0376800075, 0.003658649, -0.0463512652, 0.0123817809, 0.0413953178, -0.0066182958, -0.0008293614, 0.0024105723, 0.0043940814, -0.0113267368, 0.0510055795, 0.0424421094, -0.0528523326, -0.0438187644, 0.0334708244, -0.0631759167, -0.0494062975, -0.0476296805, 0.0500801802, -0.0220185574, -0.0128845489, -0.0057725357, 0.0251648724, -0.0003647978, -0.0021302651, 0.0155920116, 0.0293114129, 0.0164495036, -0.0272656959, -0.0277631152, 0.0241097547, -0.0065458152, 0.0036987858, -0.0217979085, -0.0586035922, -0.0225678086, 0.0008217947, -0.0269482359, -0.0451405384, -0.0273568854, -0.0340423808, -0.0084960172, -0.0273683742, -0.0514858104, -0.0779025033, 0.0652189776, 0.0580857918, 0.0212838575, 0.0487277023, -0.0482889973, 0.0333358236, -0.0367289782, -0.0241325777, 0.0009380659, 0.0246587358, -0.0833846927, 0.0075955987, 0.0035239458, -0.0114627788, -0.0267356578, -0.0592010617, 0.033878807, -0.0161746424, 0.0208632052, 0.0014902564, 0.0253799763, -0.0448033512, -0.0362538546, -0.0777413324, 0.036839243, -0.0007073923, -0.0443635173, -0.0245953538, 0.0099640032, 0.0125606442, -0.0085563501, 0.0259239338, -0.0341468342, 0.0190397743, -0.0296209268, -0.00604562, 0.0068790028, 0.0073380028, 0.0166226216, 0.0062763887, 0.0304422118, -0.0483256653, -0.0129823638, -0.0483311787, 0.0027953524, 0.0229540449, -0.0282592829, 0.0019120718, 0.0146045713, 0.034477625, 0.0208023731, -0.04961472, 0.0425442718, -0.0519995764, -0.0050661904, -0.0002752521, 0.0557405539, 0.0806363449, 0.0936840922, -0.0041041011, 0.0049015498, 0.0129441265, -0.0328912362, 0.0024852655, 0.0101777501, -0.0168396495, 0.0319562033, 0.0056843259, 0.0208270401, 0.000954047, 0.0387060642, 0.0253132824, 0.0607215054, -0.0491101816, 0.0565383881, 0.0121135795, -0.0177461337, 0.0007730096, -0.0159624051, -0.0055751386, -0.0215364173, 0.0035158636, 0.0069786878, 0.0271324981, 0.0152334012, 0.0049385182, -0.046723485, -0.0054193274, 0.0278638359, 0.0099239014, -0.0081203254, 0.0350598171, -0.0707269311, -0.0369266421, 0.0115969973, -0.0028681532, 0.0389895476, 0.0288547594, 0.0028492168, -0.0951763242, -0.0004085357, 0.04408741, -0.0374467634, 0.0451817773, -0.0239910036, 0.0049875644, 0.050597731, 0.0197870936, 0.0500167795, -0.0654791892, 0.0114921462, -0.0118182749, -0.0525597408, 0.0156523865, -5.078701302e-33, 0.0182441492, -0.0203833058, -0.0129477372, 0.0196047314, -0.0041780784, -0.011909877, -0.0056930226, 0.0007923481, 0.0161024053, 0.0336692892, -0.037762586, 0.0031585735, 0.0319548883, -0.0185400583, 0.0384323671, 0.0362171084, 0.0107515985, 0.0251856297, -0.0205447115, 0.0011617267, 0.0753625184, 0.0581449419, 0.0414479636, -0.00094966, 0.0465960242, -0.0399172567, -0.0386607684, 0.0085042473, 0.0254770312, 0.0461265966, -0.0428462438, 0.0266173538, 0.026020132, 0.0152341714, 0.01462927, 0.0407338813, -0.0517785139, -0.0016869854, -0.000438367, 0.0476530865, 0.0113488184, -0.0051368205, 0.0141276475, -0.0160243493, -0.029217897, 0.0653292835, 0.0478278436, 0.0080942698, -0.0498001873, -0.0548317097, -0.086444132, 0.0515991338, 0.0228517167, -0.0011294454, 0.0408304557, 0.013306981, 0.0126883127, 0.045506116, 0.0250890348, -0.0147049362, 0.0379421823, 0.0409786776, 0.0182373449, -0.039378304, -0.0543971397, 0.0244036485, 0.0006683398, -0.0692823082, 0.0688243732, 0.0170054715, 0.0228429623, 0.0280986, -0.0059498707, 0.0417902991, 0.0527914874, -0.1060188338, -0.0117325094, 0.0343659632, -0.0056530866, 0.0596351624, -0.0025825088, -0.011895977, -0.0682801902, -0.0228355434, 0.0714481771, -0.0253925677, -0.0370159261, 0.0036518271, 0.0560016632, -0.0012684836, -0.0542776249, 0.0180750601, -0.0034921868, -0.0113729378, 0.0033062908, 0.0183566678, -0.0163770467, 0.011554148, 0.0137696462, -0.0213048216, -0.0274302252, -0.0374054797, -0.031148959, 0.0254135802, -0.0157324579, -0.0526677594, 0.033144474, -0.0196732767, -0.0729085654, 0.0122076264, -0.0130507192, 0.0674618781, -0.0142495707, 0.0765204877, -0.0420294032, -0.0062733321, -0.004640894, -0.0292830542, 0.0286394861, 0.0042847479, -0.0486487783, -0.0006326855, 0.0049383203, -0.04172967, -0.0050946143, -0.0001155445, 0.0073471521, 0.067732133, 0.0012878769, -0.0110136941, 0.0151795177, 0.0198288746, 2.37e-7, 0.0115720201, 0.0635644197, 0.042984765, -0.0666004941, -0.0159206036, 0.0119924759, -0.0452423804, 0.0079350537, -0.0268724039, 0.0881828144, 0.028369341, -0.0423872955, 0.0359225795, 0.0440896712, -0.1142635271, -0.043417573, -0.0338583365, -0.0092871226, -0.0241765846, -0.0241643097, -0.0050866315, 0.064112097, 0.0219264869, -0.0239938274, -0.0220867079, -0.0323034897, 0.0309981834, -0.0061684945, 0.0136807235, 0.0233438909, 0.0321677476, -0.0688307658, -0.0205079596, -0.0423495695, -0.0073025413, 0.0333051011, 0.0510522164, 0.0628677532, -0.0127247432, 0.0052429251, 0.0251972955, 0.0100767603, 0.0162722953, -0.033012487, 0.0485525429, 0.0745481178, 0.0205546282, 0.0312968865, 0.0053512091, -0.0408682488, 0.0443323478, -0.0245992579, -0.0448953845, 0.0208171755, 0.0205431134, -0.0196052622, -0.0363158919, -0.0693982616, 0.0123773413, -0.0006887053, -0.0112591218, -0.0270953774, -0.0027669393, 0.0198997911, 0.0194147024, 0.0052306433, 0.0176580176, 1.910901639e-34, 0.062241137, 0.0260328632, -0.0122684026, -0.0141019858, 0.0295717232, -0.0051635508, 0.0216356367, 0.0308146663, 0.0226830989, -0.025029216, 0.0077554421 ]
http://arxiv.org/abs/2406.11028v1
http://arxiv.org/pdf/2406.11028v1
Universal Cross-Lingual Text Classification
2024-06-16T17:58:29
2024-06-16T17:58:29
Riya Savant, Anushka Shelke, Sakshi Todmal, Sanskruti Kanphade, Ananya Joshi, Raviraj Joshi
cs.CL
cs.CL, cs.LG
Text classification, an integral task in natural language processing, involves the automatic categorization of text into predefined classes. Creating supervised labeled datasets for low-resource languages poses a considerable challenge. Unlocking the language potential of low-resource languages requires robust datasets with supervised labels. However, such datasets are scarce, and the label space is often limited. In our pursuit to address this gap, we aim to optimize existing labels/datasets in different languages. This research proposes a novel perspective on Universal Cross-Lingual Text Classification, leveraging a unified model across languages. Our approach involves blending supervised data from different languages during training to create a universal model. The supervised data for a target classification task might come from different languages covering different labels. The primary goal is to enhance label and language coverage, aiming for a label set that represents a union of labels from various languages. We propose the usage of a strong multilingual SBERT as our base model, making our novel training strategy feasible. This strategy contributes to the adaptability and effectiveness of the model in cross-lingual language transfer scenarios, where it can categorize text in languages not encountered during training. Thus, the paper delves into the intricacies of cross-lingual text classification, with a particular focus on its application for low-resource languages, exploring methodologies and implications for the development of a robust and adaptable universal cross-lingual model.
[ -0.0002989751, 0.0117582893, -0.0084475381, 0.0320040807, -0.0226574149, 0.0429501422, 0.0401718877, -0.0061647543, 0.0519694015, -0.0508043282, -0.0358314365, -0.0337411501, -0.0092203841, -0.009810132, 0.0033063982, -0.0462100431, 0.052771382, -0.0194948409, -0.0294009317, -0.0280905012, -0.018171357, 0.0233830716, 0.0355594605, -0.0166452769, -0.0146157527, 0.0111350287, 0.0239959583, -0.0164059922, 0.0213948674, 0.005875234, 0.0300853606, 0.0270989928, 0.0202144682, 0.0384342857, 0.0000018136, -0.0444009453, -0.0282499883, -0.0081170769, 0.0335038975, -0.0276819058, 0.0611756146, -0.040438816, -0.0089692436, 0.0173585098, 0.0140973981, -0.0360324755, 0.0805661157, 0.0515520386, 0.0348573923, 0.0544658713, -0.0216569975, -0.0398878306, 0.0156474579, -0.0166079327, 0.0389268361, -0.0418595225, 0.042303931, 0.0056350413, -0.0161614399, 0.0297883097, -0.0047721737, 0.0298347045, 0.0106634293, 0.0231501162, -0.0061473241, 0.0025347669, -0.0475313291, -0.0187008902, 0.0034219006, 0.0270190164, -0.0532270521, -0.0613628551, -0.018582575, 0.0008944464, -0.005237421, -0.0117622679, -0.0303304587, 0.0142571786, -0.0226627979, 0.0213050507, 0.0668908805, 0.032970041, 0.0312101524, 0.007512012, -0.0145415924, 0.0271512996, 0.015584561, -0.0193920434, 0.0339548104, 0.0347076468, 0.0218578093, -0.0308082793, -0.00620822, 0.0012511181, 0.019673394, 0.0101788491, -0.0391977727, -0.0448109657, 0.0255416185, -0.0359524526, -0.0297002327, 0.0017649271, -0.0488266386, 0.0557379201, -0.0427734479, -0.0074382415, -0.0091711683, 0.000583197, -0.0168229844, -0.051397752, -0.0916184187, -0.0021367203, -0.0384397879, 0.0010990768, -0.0070091779, 0.0402338803, -0.0548725165, 0.0129112108, -0.0003128841, -0.0333773829, 0.0204048418, -0.0488884076, -0.0266588721, 0.0106047839, -0.0059855371, 0.0379571803, -0.0080557475, 0.0124939987, -0.0535243116, -0.0301758125, 0.0343981944, 0.0230913479, -0.0098349499, -0.0604864843, 0.0534860268, 0.0585494451, -0.0372851044, -0.0468103439, -0.091028221, 0.0182679277, -0.0270098206, -0.0532759354, 0.003547309, -0.0744212195, 0.0464329533, 0.0126115205, 0.0350150131, -0.0088065313, -0.0046004388, -0.00429053, -0.039590206, 0.0793684125, -0.0156128025, -0.008219908, 0.0567838773, -0.0149907488, 0.0182397999, 0.069276616, -0.020489268, 0.0014888727, 0.0816408023, -0.0109974453, -0.0086002573, 0.0468829125, -0.0015940814, 0.029354021, -0.0039119902, 0.0017083932, 0.0524064228, -0.0498960353, -0.0083524203, -0.0260518473, -0.0015705241, 0.0192848835, 0.0508910492, 0.0006685808, 0.0130183036, 0.061536029, 0.0176070593, -0.0166733041, -0.0420340635, -0.0278891325, 0.0253791958, -0.0030688725, -0.0211169589, -0.0058996361, 0.017661659, 0.050494425, -0.0566100962, -0.0441940203, -0.0155987181, -0.0402718745, 0.0007702871, 0.0127641018, 0.090477936, 0.0245977379, 0.0014432844, 0.059883859, 0.077759333, -0.0698434785, 0.0214382783, -0.0000975188, 0.0136744604, -0.0160352811, -0.0185615662, -0.0553388856, 0.0481576584, -0.010788898, 0.077369526, 0.0001451337, 0.0544644222, -0.0213372596, 0.0258368701, -0.0371929221, -0.0233653989, 0.0010455474, 0.0184604824, 0.0664314106, -0.0294647142, 0.0513997152, 0.0046161059, -0.0422783941, -0.0554718189, 0.0264664479, -0.0379330888, -0.0198650043, 0.0405967832, 0.0306003075, 0.0151418131, 0.011825446, -0.0235888138, -0.0374618247, 0.027411988, -0.0634724498, -0.0221547354, -0.0203487873, 0.0278644357, -0.0332758687, 0.015671039, -0.0450096242, -0.0056740232, 0.016257694, -0.0179441385, -0.0425027497, 0.0032376063, 0.0015847498, 0.0024144449, -0.0416218936, 0.0192062948, -0.0305813365, 0.0093943831, -0.0207750816, 0.0847048834, 0.0596035831, 0.0440298095, -0.0236814804, -0.0518282764, 0.0847824588, -0.0202163029, -0.0465810411, 0.0633258596, -0.018533852, 0.014520824, 0.0591497384, 0.0449326672, 0.0078585446, -0.0234433133, -0.0941930488, 0.0001248878, -0.0222920105, 0.0101409657, -0.0091322018, 0.0267208107, 0.0056517972, -0.0194319263, -0.0611821339, 0.0006059411, 0.0025143004, 0.0410877727, 0.0084596332, -0.0182524212, 0.0225996021, 0.0256978832, -0.0002125513, 0.0304392204, 0.0495003276, -0.0070680529, -0.0492844172, -0.0515933707, 0.0295905992, -0.0528702997, 0.0238781422, -0.014091081, -0.0278515089, -0.0366736762, 0.0195639506, -0.0198249612, 0.0182400886, -0.0227139872, -0.0434829183, 0.0694479346, 0.0132146804, -0.0088145304, 0.0331172645, -0.0228123553, -0.0078211399, -0.0285884235, -0.036359109, 0.0024835833, 0.0709727481, -0.0188362151, -0.0364144258, -0.0535805747, -0.0461302325, -0.0411395729, 0.0120840957, -0.0639130324, 0.030584598, 0.0206168368, 0.0672670454, -0.0092211086, -0.0242676716, 0.0488707721, -0.0201010928, -0.0019058824, -0.0717749819, -0.044118382, -0.0793738738, 0.0315488577, -0.0116259642, 0.0488799997, -0.0124872969, 0.0112715755, -0.0460831337, -0.0097961668, 0.0254033767, -0.0024225765, -0.0088963788, -0.0122544682, 0.0054607671, -0.0260015819, -0.0476855449, -0.0083824098, -0.0042925798, -0.0119935963, -0.0008288547, -0.0185764451, 0.0165214799, -0.064926967, 0.0184881687, 0.0328235812, 0.0524678975, -0.0144105125, -0.0074422816, 0.0069182054, 0.0268909894, -0.0014860004, -0.0667273104, -0.0502983741, -0.0150383795, -0.0009107576, -0.0036121712, 0.0090722023, -0.0057615475, 0.0278514419, 0.0234852042, 0.0559388436, 0.0048801964, -0.0428133421, -0.0401131995, 0.0133629134, -0.0008734231, -0.014915565, 0.0520740636, 0.0136146769, -0.0451974347, -0.0420496464, -0.0431480035, 0.0253330115, 0.0316410325, 0.0341644138, -0.0559430122, -0.0228631962, -0.0126272067, -0.0024875335, 0.0036553114, 0.0170184411, -0.0085884975, -0.0972621515, 0.0020859689, 0.0339739621, -0.102364637, -0.0284598917, -0.0650945678, -0.0119299721, -0.049593661, 0.0037783093, -0.0654192641, 0.0123486621, -0.0248542111, 0.019722674, -0.013095798, -0.0450105444, 0.0184579771, -0.0185206719, -0.0089276955, 0.012134498, 0.0621257983, -0.0345094204, -0.011928793, 0.0586447194, -0.0471962839, -0.0452715792, -0.0270848665, 0.0454621278, 0.000247465, -0.0203819741, 0.0437638797, -0.0162143372, -0.0375830159, -0.0074273851, 0.0365022048, 0.0975182801, 0.0503124259, 0.0010830716, -0.0007075532, -0.0355730765, 0.0397506617, 0.0559416041, -0.0279919934, -0.05869231, -0.0036637068, 0.0042978674, -0.0204973668, -0.0229087826, -0.0356969498, 0.0669808984, -0.0896971151, -0.10884431, -0.0338765532, -0.0479412004, 0.0033141833, 0.0110347029, 0.0341066159, 0.0307092257, -0.0177022777, 0.0069883117, -0.0234733429, 0.0269612893, -0.0204388984, 0.0252469052, -0.0313768722, -0.0077887564, 0.0140453465, -0.0708626434, 0.0033656368, -0.0176504236, -0.022070501, -0.0558880419, -0.011799952, 0.0116338227, 0.017835388, 0.0337681323, -0.0004776555, -0.0692808628, 0.0755565315, 0.0396741889, -0.0156168016, -0.019302588, 0.0589657426, -0.0062429071, -0.0088554779, 0.032688126, -0.0698187724, 0.0352880172, 0.0202713385, -0.0181952063, -0.042609293, -0.0116071114, 0.0102813439, -0.0123250363, 0.0210236516, -0.048358649, -0.0501392372, -0.0546392016, 0.0265070442, 0.0100666294, -0.0374285132, -0.016257545, 0.0145677635, 0.0562295131, -0.00722874, -0.00613948, 0.0406204276, -0.0083036907, 0.024141388, 0.0020986577, -0.0121150455, 0.0388758369, 0.0807156563, -0.0104758237, 0.0384052098, -0.0038347449, -0.0237117913, 0.0054533402, 0.0109501639, -0.0365243107, 0.0218755454, -0.0012564815, 0.0190958492, 0.0035285745, -0.0031623659, -0.0371548198, -0.0021576649, 0.0014350654, -0.0017462835, 0.0607900135, -0.0413139686, 0.0512942895, -0.0210485291, -0.0470541231, -0.0216504522, 0.024670573, 0.0200844221, -0.0253472961, 0.0064058015, -0.0038986311, -0.02840757, 0.0144869257, 0.0633273125, 0.0264943317, 0.0110323168, 0.0116988402, -0.0215332936, -0.0128699699, 0.0253150929, 0.0582407266, 0.0046412703, -0.0174968876, -0.014850039, -0.0300331023, -0.0627052933, 0.0400300883, -0.0215236638, -0.0204445459, 0.0215093866, 0.0005069736, 0.0973354802, 0.018432226, 0.032363005, -0.0547463931, 0.0053873197, 0.0183242727, 0.0209993757, -0.0023223308, -5.4046736e-33, 0.0129820993, 0.0110957483, -0.0150336754, 0.0104225026, 0.0293492079, 0.0022542235, 0.0202256162, -0.0032560015, 0.0014675257, 0.0095050689, 0.008630964, -0.0014077366, 0.0270805992, 0.0340198092, 0.0067326338, 0.0071412986, 0.0172798634, 0.0154100433, -0.0108937491, 0.032005541, 0.0507385172, 0.0143577494, 0.0844147801, -0.1002488881, 0.0601451583, 0.000233062, 0.0123508992, 0.02038428, 0.0656864792, 0.0520141572, -0.0165700261, 0.0752177089, 0.0405709334, 0.0008978567, 0.0352889858, 0.0389184318, -0.0626535267, -0.0476329029, -0.0011501051, 0.0452021211, 0.0081340317, -0.0352802835, -0.0346546546, -0.026089333, 0.0401025154, -0.0110899899, 0.0733077899, -0.0309314243, -0.0216971524, -0.0474014245, -0.0398293212, 0.0250856113, 0.0228158645, -0.006153692, 0.0538071692, 0.0832526833, 0.0316540487, 0.0138938595, -0.038301643, 0.0331723653, -0.0393747762, 0.017335318, 0.0411554426, -0.0040232106, -0.0236302353, 0.0190750659, 0.0230527613, 0.0251910929, 0.0526471809, -0.0190043207, 0.0111113666, -0.0070119086, 0.0363769792, 0.118762739, 0.0245351773, -0.040450681, -0.0996599868, 0.0337055698, 0.0332128592, -0.0259376802, -0.0035355603, -0.0005273436, -0.0078404788, -0.0315166153, -0.0407078974, -0.061162699, -0.0300564189, 0.0010991165, -0.0067418101, 0.0164403766, -0.0102091236, 0.0036593203, 0.0280940086, -0.0184598584, -0.0746471137, 0.0231042057, -0.0027358937, 0.0043848902, 0.0066792034, 0.0251137614, -0.0278072245, -0.0723132491, -0.0132956225, 0.0020873598, 0.0211495832, -0.0156669635, 0.1016765162, 0.0212993678, -0.0619522259, 0.0160540044, -0.0232339613, 0.0089502633, 0.0105470456, 0.0853391215, 0.0020133064, 0.0258500185, 0.012598143, 0.0498657674, 0.0516151451, -0.0230542962, -0.0035428682, -0.0418762453, -0.0204599779, 0.0274615344, -0.0124059068, -0.0269587003, -0.0207268819, 0.004634128, 0.0433545969, -0.0434414297, -0.0000966191, -0.0234591514, 2.547e-7, 0.0414628796, -0.002255101, -0.0416125506, -0.018429745, 0.0036298234, 0.0472921841, -0.045419544, 0.0448558964, -0.0230250079, -0.0178562198, -0.0057406644, -0.0109584453, 0.0706956983, 0.0477167033, -0.0781318247, -0.0176929384, -0.0139589403, 0.0115061989, -0.0414918251, 0.0150277549, 0.0410588123, 0.1013126522, 0.0088164927, -0.0382026546, -0.0498429351, -0.048949562, 0.0868480802, -0.0432199128, -0.028587807, 0.0050750114, -0.0041486099, 0.0338135883, -0.0276053715, 0.0249613356, -0.0441229567, 0.0205938332, 0.0407291912, 0.0237736255, -0.0138788158, 0.0019504939, 0.0258881394, 0.0128332963, -0.0537126847, -0.0302104764, 0.06980405, -0.0391894281, -0.0024559479, 0.0116335377, 0.0086781038, 0.0090385182, 0.0847777948, -0.0033727989, -0.0404610783, 0.0397090837, 0.0290197432, -0.0071167056, -0.0377153121, -0.0555375926, -0.0061032949, 0.035264466, -0.0173378121, 0.0110067846, 0.0014923681, 0.0390289314, 0.0305642318, -0.0580021553, 0.0687335432, 2.012388931e-34, 0.0141545488, -0.0184207931, -0.0142357508, -0.0451278351, -0.0010998005, -0.0582387485, -0.0170102082, 0.0199664216, -0.0162410922, 0.0089153331, 0.0141638452 ]
http://arxiv.org/abs/2406.11025v1
http://arxiv.org/pdf/2406.11025v1
Large Language Models for Dysfluency Detection in Stuttered Speech
2024-06-16T17:51:22
2024-06-16T17:51:22
Dominik Wagner, Sebastian P. Bayerl, Ilja Baumann, Korbinian Riedhammer, Elmar Nöth, Tobias Bocklet
cs.SD
cs.SD, cs.CL, eess.AS
Accurately detecting dysfluencies in spoken language can help to improve the performance of automatic speech and language processing components and support the development of more inclusive speech and language technologies. Inspired by the recent trend towards the deployment of large language models (LLMs) as universal learners and processors of non-lexical inputs, such as audio and video, we approach the task of multi-label dysfluency detection as a language modeling problem. We present hypotheses candidates generated with an automatic speech recognition system and acoustic representations extracted from an audio encoder model to an LLM, and finetune the system to predict dysfluency labels on three datasets containing English and German stuttered speech. The experimental results show that our system effectively combines acoustic and lexical information and achieves competitive results on the multi-label stuttering detection task.
[ 0.0064585474, 0.0469005927, -0.0339795351, 0.0487688631, 0.0021354968, 0.0123988176, 0.0141212773, -0.0034553073, -0.0247947183, -0.0632653907, 0.0180839673, -0.0664015859, 0.0073462003, 0.0207140725, 0.0186022446, -0.0674112588, 0.0432954133, -0.0952792466, 0.055132173, -0.0323727913, 0.0209587086, -0.0007342251, -0.0261742789, 0.0246814173, -0.049051702, 0.0160330981, 0.0078791715, 0.0466061123, -0.0044970564, -0.0114420606, 0.0078351237, 0.0405510925, 0.007433197, 0.0136932591, 0.000002029, -0.0193636157, -0.0003451205, -0.0433029607, 0.0152447941, 0.0114914514, 0.0638706908, 0.0177984815, -0.0435860269, 0.0196459945, -0.0001187868, 0.0176253468, 0.0412807986, -0.0015204928, 0.0131699769, 0.0294761453, -0.0051781144, -0.0608628951, 0.0233791806, 0.0249625649, -0.0093865236, -0.0289875939, 0.0223263092, -0.009309439, 0.0556243882, -0.0445340015, -0.0337164849, 0.0666729063, -0.0188211687, -0.0052919197, -0.0008257002, -0.0291912202, -0.0937995315, -0.0485043265, -0.0120674958, 0.0642924011, -0.0644279346, -0.0046518878, 0.022637438, 0.0006943306, 0.0061033801, 0.0026823592, 0.0184277762, -0.0381171294, 0.031095231, -0.003268203, 0.0320980512, 0.0090324627, 0.0225135889, 0.0102028782, -0.024139449, 0.0607233793, 0.0141544808, -0.0345421769, -0.0199825354, -0.0008540308, -0.0165399108, -0.012125928, 0.0450404249, 0.0036396196, -0.0556026213, 0.0076726163, -0.0242005698, -0.0811513513, -0.0022228262, -0.0105284471, -0.0325531512, 0.0141348746, -0.0775883496, 0.0031326669, -0.0207781456, 0.0735782981, -0.0097157955, 0.0054938076, -0.0296390783, 0.0031781185, -0.0113096498, 0.0186966807, -0.0476206355, 0.0204883367, 0.0086713303, 0.0040703323, -0.0580484495, -0.0072476738, -0.0293948967, -0.0188640542, -0.0363892056, -0.0101034809, -0.0135511803, -0.0028072018, -0.0332275294, 0.0564955622, 0.0186990555, 0.0371100418, -0.0035976092, -0.0671358481, 0.0220058411, -0.0016039897, 0.0176112317, -0.0117430538, 0.0494764298, 0.0440713167, 0.0271531828, -0.0518251918, -0.0428154729, -0.0188643187, -0.0698954016, -0.017265236, -0.0497471057, -0.0776926503, -0.0110218646, 0.0258859657, 0.035559807, -0.0607937723, -0.0081122629, -0.0216431469, 0.0125465281, 0.0826580003, -0.067483522, 0.0558212213, 0.056145139, -0.0027815765, 0.0166183636, 0.0725857913, 0.0328546166, -0.0426678061, 0.0505513214, -0.0118563706, 0.0625964776, 0.0678833649, -0.0086845411, 0.0204390008, -0.0601103157, -0.0704849809, 0.0042348714, -0.0119735571, 0.0606608167, 0.0520025231, 0.0092439465, -0.010732186, 0.0558840334, 0.0451289639, 0.0166336987, -0.0271926727, 0.0137122506, 0.0322985202, -0.0258252937, 0.0173525251, 0.0316634513, -0.0215375908, 0.0141925672, 0.0233772192, 0.0600121319, 0.0653120205, -0.0320222005, -0.0006480285, -0.0025240169, -0.0477297604, 0.0051421444, 0.0262912959, 0.0452599488, -0.0104781333, -0.0205625892, 0.0704704225, 0.0387278832, -0.0097864792, 0.0445645154, -0.0444981754, -0.0494872741, 0.0959413052, 0.0329395905, -0.023767991, 0.0157697741, -0.0663940161, -0.0037272577, 0.0187379234, 0.0068474542, -0.0011158825, 0.0188131779, -0.0636379793, -0.0092448816, 0.0553308874, 0.0143997762, 0.017452985, -0.0433851629, 0.0538789816, 0.0221112892, -0.0202391203, -0.0230577327, -0.0077443495, -0.0068497816, 0.0048421049, 0.0036016095, 0.0091804862, 0.0581398532, 0.0272802487, -0.0360928401, -0.0105902469, 0.0079354616, -0.0191315319, -0.0090954946, 0.0005117593, -0.0473025851, -0.0145922769, 0.0661922693, 0.0278627686, -0.0008315248, 0.0147911767, -0.0055893497, -0.0855676383, -0.00961826, -0.0581668653, -0.002932654, -0.0431424715, 0.0682878345, -0.0167648122, 0.0461119227, 0.0057928101, 0.0057374765, 0.0055650715, 0.0216437597, 0.0180562716, -0.0049050534, -0.0239646118, -0.0807486549, -0.06209426, 0.0416638814, -0.0336751901, 0.0395289101, -0.0185804404, -0.0339653343, -0.0225490108, -0.0417231657, -0.0095401565, -0.026119655, -0.035507299, -0.0242398754, -0.0516373999, 0.0025173214, -0.0183617249, -0.0436914489, -0.0084201666, -0.0392113626, 0.0391952246, 0.0101918411, -0.0215620622, 0.019936353, -0.0968007743, -0.0061937138, 0.0108756023, 0.0217803624, -0.025925722, -0.0155143011, -0.0818212181, -0.0558338277, 0.0197484922, -0.0139406202, 0.0378334969, 0.0268546809, -0.0433669239, -0.0232196841, 0.0104387924, 0.0383175276, -0.005826816, 0.0153604671, -0.0053741573, 0.0256166533, -0.0596165843, -0.0055114361, -0.0027838489, -0.0016979974, 0.0389353037, -0.0448719487, 0.0170629881, -0.0473774932, 0.0307404976, 0.005284817, 0.0229284428, -0.0299048256, -0.0371707194, -0.0461623371, -0.0009495183, -0.0175402835, -0.0690624192, -0.0337881111, 0.0461380631, 0.0203925725, -0.0429084115, 0.0677288547, -0.05393143, -0.0357483216, -0.0123647805, -0.0449449345, 0.0026972413, -0.0228803903, -0.0283164121, 0.0192122739, -0.0177467316, -0.0613766052, -0.0252368711, 0.001877922, -0.003288741, -0.0709485784, 0.0078584719, -0.0402915627, 0.0028553379, 0.0211434569, -0.0576971769, -0.0225317124, -0.0266364887, -0.0483188629, 0.0021096049, 0.0136512537, -0.0072069941, -0.0381984822, 0.0440836847, -0.0437933877, 0.0486826934, 0.0077145454, 0.0325670317, -0.0097680138, 0.0467833951, 0.0388875045, 0.0160477795, -0.014074116, -0.0415553972, 0.0428318605, -0.0406571142, 0.0297464728, 0.0290955584, -0.0277513098, 0.0068396116, 0.0356612802, -0.0105229123, -0.0464126989, 0.0287941378, 0.0448464192, -0.0596209727, -0.0008075022, 0.1136372313, -0.0173596386, -0.0495314449, 0.0010572582, -0.016919747, 0.0344072841, 0.0294857062, -0.0052280314, -0.0762873366, -0.0540002398, 0.0374955572, 0.0358273797, -0.0184264313, 0.0251775365, 0.0332737081, -0.0793013647, 0.0195526257, 0.0238755047, -0.0176783502, -0.0197149478, 0.0229014605, -0.0068163839, 0.0377456024, 0.0593801811, -0.0155667383, 0.0015973086, -0.0022738592, 0.0394927636, -0.0276059937, -0.1016532183, 0.0242588185, -0.0179374162, 0.1310000867, 0.0371749923, 0.0004938656, -0.0296674483, -0.0691877604, 0.0801934898, -0.0121257473, -0.0122098289, 0.0069198129, -0.0014676779, 0.0034706097, -0.0440225564, 0.0218269136, 0.0213361699, -0.0001893046, 0.0395855904, -0.0218465049, 0.0327258445, -0.023387773, 0.0103019141, -0.0128792496, -0.0035597743, 0.0158682577, 0.0490247197, 0.020471001, -0.063052848, -0.0116173802, 0.0156451538, 0.0042551439, 0.0363998264, -0.0181658659, 0.0069553675, 0.0204838458, -0.0168604236, -0.0124134971, 0.0134785762, 0.0136815775, -0.0346634686, 0.0243216176, 0.0597647689, -0.0001515469, 0.0249223839, -0.0292095542, 0.0155975604, 0.0253302567, 0.0531519018, -0.1148810983, 0.0016576352, 0.0056367125, -0.0154112717, -0.0273495093, 0.0113610877, -0.0494544059, -0.0648360252, 0.060050372, 0.0076225051, 0.01689036, 0.0192955062, -0.0377591439, -0.078919448, 0.066895932, 0.0704949573, -0.0919989645, 0.0330648795, 0.0226801839, -0.0459805056, -0.0249628779, 0.0378947295, -0.0342013836, 0.0511662625, -0.0483245663, 0.0136637026, -0.0197812691, -0.0751877427, -0.0300886165, 0.0122646894, 0.0518316887, -0.0350948982, -0.0050803516, -0.0202941447, 0.013819376, 0.0439031608, 0.0239588711, -0.0305797942, 0.0237451121, 0.0194097683, -0.0419012085, -0.0056400793, -0.0647210181, -0.0521538742, -0.023581082, 0.0406152532, 0.0327579416, 0.0229944494, -0.0069312784, 0.0198635459, 0.0082995091, 0.0508549027, 0.0506918728, 0.0363426581, 0.0364618041, 0.004337471, 0.038378451, 0.0021500385, 0.0006754264, 0.0220452026, 0.025054764, 0.0047680964, 0.0043319655, -0.0325287692, -0.0016208778, 0.0264888592, 0.0018172425, 0.0598859228, 0.0207434017, 0.0058723348, -0.0402786955, 0.0047614565, -0.0004567048, -0.0009075223, 0.0467455722, 0.009556761, -0.0404852331, 0.0357149467, 0.0349998698, 0.0101879789, -0.016322853, -0.000787978, 0.0109537132, 0.0013564213, -0.010011144, -0.0350046828, 0.0184308086, -0.0323860943, 0.04074746, -0.0329996832, -0.0794302002, 0.0147923781, -0.015183459, 0.031706173, -0.0182780195, 0.0070711509, 0.0064428514, -0.0338096283, 0.026408378, -0.0141622145, -0.0879006311, -0.0052967872, -0.0198624209, 0.0466530211, -6.077909704e-33, -0.0459121205, -0.0487193838, -0.0308576338, -0.0302740075, -0.0130013311, 0.0177834425, -0.0029959988, 0.0351827517, -0.0118328733, 0.021808384, 0.0177049246, 0.0266255997, 0.0338087603, -0.0085800439, -0.0010734072, -0.0251100343, 0.0741091669, -0.0134105599, 0.0337233655, 0.0260821767, 0.0427479595, 0.0397128314, 0.0108296946, -0.0381220467, 0.0035989226, -0.0302752759, -0.008581928, -0.0169617478, 0.0677284151, 0.0420649797, -0.0086589642, 0.071808435, -0.0012495026, 0.0049861907, -0.0041464525, 0.0167576931, -0.0625695288, 0.0398269109, -0.012323251, 0.0445878617, 0.0640668049, -0.0153380893, 0.0428280644, 0.01494944, -0.0073272483, 0.0448974036, 0.0489400215, -0.0624967441, -0.0121515132, -0.0459633172, -0.0069972645, 0.0458690301, -0.0121052871, -0.040021576, 0.086467348, 0.0684377328, -0.0207062736, 0.0029547114, -0.0187790245, 0.0077286167, 0.0067710504, 0.0551899299, 0.0472677201, 0.0018534209, -0.0250103585, 0.0498821363, 0.0092490613, -0.0239138156, 0.0630251169, -0.0321887285, 0.0437538661, 0.0385423005, 0.0404827371, -0.0035754433, 0.0325297602, -0.0507795699, 0.0112839462, -0.0136569506, 0.0042933025, 0.0123946508, 0.0491123796, 0.0263265632, -0.0538570844, -0.0317763425, -0.0421860665, -0.0031148265, -0.0159888621, 0.0027108185, 0.0653886646, -0.012094263, 0.0081491256, 0.0052653886, 0.0657349229, -0.0335091688, -0.0367590524, -0.0452887788, -0.0664420575, 0.0114953192, 0.0102333305, 0.0358767211, 0.0093415007, -0.0507499389, 0.0537224263, 0.0566058792, 0.0022736781, -0.0350085162, -0.0193806887, 0.0239908174, -0.0748383999, 0.0334990919, 0.0352034345, 0.0243316703, -0.0201694183, 0.0213250443, 0.0347174965, 0.0004584383, -0.0240419526, 0.0467331558, 0.0006224786, -0.0130244028, -0.0038231574, 0.0059658079, -0.0277699847, 0.0619349107, -0.0505462028, 0.0168865919, -0.0038344804, -0.011111496, 0.0253859963, -0.0367123038, -0.0060343877, -0.0203627553, 2.77e-7, 0.0002963912, 0.0308367945, -0.0064962464, -0.0249256752, 0.033290796, 0.0162626021, -0.0394673422, -0.0359580033, 0.0252595507, -0.0101725552, 0.0041613895, 0.0007415646, 0.0917051658, 0.0123007651, -0.0610766858, 0.0058697984, -0.0550169535, 0.0376145728, -0.0435441285, -0.0017556588, 0.0107679674, 0.0682948604, -0.0222391393, -0.065832518, 0.035821721, -0.0384421833, 0.0166315716, -0.0125259245, 0.0238121673, -0.0107753836, 0.0282222144, 0.0113391839, 0.0031855495, 0.0430993699, -0.0299874078, 0.0302497353, 0.0178339519, 0.036286857, -0.0108434688, -0.0208846778, 0.0168480612, 0.0268500615, -0.0450984091, -0.0205477104, 0.0468581505, 0.0196250305, -0.0070875376, -0.024689965, -0.0496271551, -0.054389853, 0.0617688671, -0.0257107038, -0.0057536517, 0.0057816552, 0.0238203797, -0.0018831595, -0.0432593934, -0.0560592972, 0.0085353712, 0.0267395172, -0.0319092609, 0.0192252677, -0.0072149937, -0.0156651791, -0.0054622232, -0.0354151502, 0.0121721188, 2.367847862e-34, 0.0865048468, -0.0390433408, -0.0005811179, 0.0379996076, 0.0181711242, -0.0284085851, -0.0312348139, 0.0181301292, -0.0292852931, -0.0294138435, 0.0046397513 ]
http://arxiv.org/abs/2406.11020v1
http://arxiv.org/pdf/2406.11020v1
RUPBench: Benchmarking Reasoning Under Perturbations for Robustness Evaluation in Large Language Models
2024-06-16T17:26:44
2024-06-16T17:26:44
Yuqing Wang, Yun Zhao
cs.CL
cs.CL
With the increasing use of large language models (LLMs), ensuring reliable performance in diverse, real-world environments is essential. Despite their remarkable achievements, LLMs often struggle with adversarial inputs, significantly impacting their effectiveness in practical applications. To systematically understand the robustness of LLMs, we present RUPBench, a comprehensive benchmark designed to evaluate LLM robustness across diverse reasoning tasks. Our benchmark incorporates 15 reasoning datasets, categorized into commonsense, arithmetic, logical, and knowledge-intensive reasoning, and introduces nine types of textual perturbations at lexical, syntactic, and semantic levels. By examining the performance of state-of-the-art LLMs such as GPT-4o, Llama3, Phi-3, and Gemma on both original and perturbed datasets, we provide a detailed analysis of their robustness and error patterns. Our findings highlight that larger models tend to exhibit greater robustness to perturbations. Additionally, common error types are identified through manual inspection, revealing specific challenges faced by LLMs in different reasoning contexts. This work provides insights into areas where LLMs need further improvement to handle diverse and noisy inputs effectively.
[ 0.0135861412, 0.08637923, -0.0087913638, 0.0575843342, -0.0519923046, -0.001243318, -0.0050124205, -0.0010418176, 0.029018838, -0.0511208661, -0.0063098292, -0.0118551962, 0.0094743781, -0.0040595662, 0.0324482583, -0.0306680463, 0.0524713881, -0.0627988726, -0.0099687697, -0.007615509, -0.0092105344, -0.0015556789, 0.0066068955, 0.0163313001, -0.0057332837, -0.0280335993, 0.016537182, 0.0110841999, 0.02106902, -0.0092591867, 0.0011673779, 0.0564851239, 0.0069341152, 0.0784864724, 0.0000020814, -0.0298652463, 0.0124361524, 0.0171605777, -0.0376485363, 0.0481919758, 0.0236338135, -0.0215156469, -0.0099365246, 0.0112030348, -0.0288793091, -0.0068545793, 0.0112595987, 0.0546082072, 0.0561176389, 0.0908435583, -0.0069364868, -0.0357663594, 0.0237557516, -0.0470009297, -0.0104867136, -0.0767726898, 0.0426175594, 0.028645793, 0.0157811288, 0.0161991585, -0.0082033304, 0.0179644413, 0.0503728352, 0.0145396767, -0.0778016374, 0.0327007994, -0.0477580018, -0.0025923417, 0.0136671783, 0.0898927525, -0.0261427611, -0.0220210832, -0.0292765647, -0.0021111413, -0.0015332056, 0.0115770344, -0.0201121513, 0.0065049063, -0.0079332478, 0.0102338847, 0.0164597929, -0.0228374507, 0.0655882657, 0.0419889055, -0.0560860448, 0.0862544551, 0.0375694707, -0.0212705117, 0.0132436315, -0.0208089147, -0.0798234567, -0.0439315811, 0.0071712197, 0.0285043921, -0.0338711962, 0.0233513061, -0.0546973124, -0.0203232393, 0.0350573882, -0.0515066311, 0.0279816221, 0.0307951402, -0.0174660031, 0.0799651369, -0.0361872129, 0.080121316, -0.0379944593, 0.0617264099, 0.0074961018, -0.006915465, -0.0355469361, -0.0102251442, 0.0113587901, 0.0148668829, -0.0478724614, -0.0016451536, -0.0472363271, 0.0122054489, -0.0199196227, 0.0442094095, -0.0009566263, -0.0058409991, 0.0082386639, -0.0370078608, -0.0255425703, -0.0084332209, -0.0472191311, 0.0397183634, 0.0062225517, -0.0740636438, -0.0233123526, 0.0068659531, -0.0358190946, -0.0601328835, 0.0239002388, 0.0820247903, 0.0128191989, -0.0402862243, -0.0364701338, -0.0051942705, -0.0203037504, -0.0967664793, -0.0140710147, -0.0395654179, 0.0283707753, 0.0011805457, -0.0244205389, -0.0685259849, 0.0162602793, 0.015743129, -0.0343452059, 0.0968264043, 0.0271784905, -0.0183919277, -0.0163387414, 0.0212364718, -0.0191446822, 0.0669905841, 0.0308420546, -0.0108050089, 0.0427475199, 0.0183417778, -0.0229024123, 0.0312714241, 0.02785936, 0.0114482446, -0.0303294621, 0.0311536472, 0.0063287225, 0.0246036835, -0.0244513303, 0.0764382258, -0.0363248251, -0.053686332, 0.0699058026, 0.0311154332, -0.0199740138, 0.011544425, -0.0017944637, -0.0494440645, 0.0185745358, -0.0093167294, -0.1128476709, -0.0175986197, -0.0708590597, -0.0161321387, 0.0021492736, 0.0327159949, -0.0255732592, -0.0380527452, -0.049315989, -0.0051748352, 0.0219140053, 0.0113802701, 0.0490660295, -0.0056740157, -0.029372232, 0.0196456593, 0.0027648399, -0.0320901573, -0.0135282613, -0.0528789833, 0.0187846255, 0.0234538577, 0.069027774, -0.0558970943, -0.0145506049, 0.0067420625, 0.012946384, 0.0326097347, 0.0384844877, 0.0174825564, 0.023053214, -0.0478592627, 0.0161336716, -0.0245350581, 0.0332170464, 0.0194085818, 0.0436320715, -0.0007058911, 0.0110420864, -0.060547702, 0.0080381045, 0.0374262296, -0.0432258062, -0.0311373472, -0.0114745339, -0.0107401246, 0.012503678, -0.0046834792, -0.0002486241, 0.0192163661, 0.0221013576, -0.0248823427, -0.0058577382, 0.019133389, -0.0274966583, -0.0548284389, 0.0572466739, 0.0051805242, -0.0490668528, 0.0698823333, -0.0552602448, -0.013148183, 0.0420090109, -0.0171673354, 0.0093414634, -0.0349349529, 0.0104089221, 0.0069356579, 0.0527967289, -0.0185057819, 0.0878499523, -0.031761758, 0.0125830416, -0.0176184904, 0.0480103306, 0.0289070196, -0.0185491126, -0.0416561775, 0.0222004149, -0.012983704, -0.0012662358, -0.0248226356, -0.0127123063, -0.0325330496, -0.0296755284, -0.026064299, -0.0077647436, -0.0373633541, 0.0276288204, 0.0193540547, -0.0203296915, 0.0011943816, 0.0162339546, -0.0121580474, 0.0040146112, 0.0323145501, 0.0447616838, 0.0355347432, -0.0075126556, -0.001608229, -0.0388428643, -0.0264626611, -0.0284255147, 0.0695348158, 0.0016437938, 0.0374479368, -0.0273366142, -0.0017016777, -0.0550403781, 0.0469570681, -0.0353097543, -0.0280050877, 0.0149557097, -0.0075548068, 0.0457516611, 0.078719154, -0.0361848027, 0.0221654996, 0.0572577156, -0.0110965194, -0.0207094587, 0.0130762719, -0.008399561, -0.0146061294, -0.0194397494, -0.0141736539, -0.0406114794, 0.0383667089, -0.0084823882, -0.0250493195, -0.0575352684, 0.0405941457, -0.0161083676, -0.0120919822, -0.0120740142, -0.008346105, -0.0007807671, 0.0473131724, -0.0391843133, -0.0277525801, 0.0706079155, -0.0122994753, 0.009374789, -0.0244074017, 0.001322015, -0.0389189087, 0.0761421099, 0.0019648708, 0.0000766124, -0.0201679263, 0.0046657645, -0.0378548726, -0.0637856573, 0.0333590247, -0.0381858498, 0.0678524226, -0.0607342795, 0.0322885327, -0.0077623324, -0.0550540797, -0.0405357033, -0.0332894921, -0.0305490438, 0.0317845084, -0.0076106437, -0.0287824217, -0.0262476075, 0.0065737455, -0.0040635085, 0.0375320092, -0.0147730503, -0.0004643263, -0.0195800923, 0.0153432051, 0.0253704507, 0.000505027, 0.0425419435, -0.0374892689, 0.0221738052, 0.0668131188, 0.0192737747, -0.0048396802, -0.0547954068, 0.0186346583, -0.0063527543, -0.0061962749, -0.0054910015, 0.0048133647, 0.0430652983, -0.0574905202, -0.0227175094, 0.082187444, 0.0323433615, -0.0017046639, 0.0263810251, -0.0306116696, 0.0438488834, 0.0217925515, 0.0168272872, -0.0654172897, -0.0507439002, 0.0360894576, 0.0066606458, 0.0270709582, -0.0643642619, 0.0039153378, -0.1110836193, 0.0160817411, 0.0012384291, -0.0344277993, -0.0710540339, -0.0510593206, 0.0183731448, -0.0244324394, 0.0268649142, 0.0262735952, 0.0289881695, -0.0148182753, -0.0139148384, -0.0045443522, -0.0756175816, 0.0516769513, -0.0307845566, 0.0368225798, 0.0568296425, 0.0272623897, 0.0010522949, -0.0538820475, 0.0657047555, -0.0000950118, -0.0194408465, 0.0016023006, 0.029950846, 0.0116906548, -0.000039248, -0.0055035022, 0.0333617814, -0.044632487, -0.0378177762, -0.0050466, 0.0712276399, 0.0031286248, -0.0193722919, -0.0167493392, 0.0059204497, -0.0110707851, 0.0729269683, 0.0145798782, 0.0191597249, -0.086366713, -0.0517969653, -0.0385302715, -0.0452733003, -0.0054484224, 0.0253282432, 0.0506377257, -0.0019588405, -0.0428853445, -0.0188737083, 0.0090762069, 0.0140901683, -0.0081224022, -0.0094277645, -0.0191680435, -0.0030158614, -0.0186711941, 0.0232095253, -0.0312116053, 0.054140266, -0.024187848, 0.0344807543, 0.0189476181, 0.0026008205, -0.0289936922, 0.0125629632, -0.0929879919, -0.0965982601, -0.006883834, 0.0327874906, 0.0277211051, 0.0321588702, -0.0382134728, -0.0452312343, 0.0226227958, 0.0191115085, -0.012927101, 0.0279032476, 0.0617137849, -0.0235459469, 0.0271680299, 0.054181546, -0.0372073241, 0.0058842171, 0.014143385, 0.0443798266, -0.0220552068, -0.0024903656, 0.0118360622, 0.0289719999, 0.0078466814, 0.0165171847, -0.0019246507, 0.0037257466, 0.0218357705, -0.0442632847, -0.0152179971, -0.0120429415, 0.0310187954, 0.0484628081, -0.0249832403, -0.0132542634, -0.0223161057, 0.0174236652, 0.0408450961, -0.0065180878, 0.0144226393, 0.0167455133, 0.0130430544, 0.0323713347, -0.0223229174, -0.0159493983, 0.027011903, -0.0361401811, 0.0622722432, -0.0328938887, 0.0385137759, 0.0408441946, -0.0189877544, -0.027178837, -0.0028073238, -0.0761778802, -0.036750637, 0.0378956571, 0.0145189939, 0.0537432171, 0.003033109, 0.0073166722, -0.044569917, -0.0277425572, -0.0267049428, 0.0068443883, 0.0361601003, -0.0218000002, 0.0507187992, 0.0257975999, 0.0018801301, 0.0283795595, 0.0579469875, -0.0005865904, 0.0602621473, 0.0366373323, 0.0072209709, -0.0438641049, -0.060864266, -0.0216893423, 0.0008949225, -0.0309762452, 0.023504192, -0.0661815256, -0.105138585, 0.0053865206, 0.0239993948, -0.0028721332, 0.0077130748, -0.0258971062, 0.0704303309, 0.0182318222, -0.0008174933, -0.0126999989, 0.0035864615, -0.0484463647, -0.0033594917, -0.0280256364, -6.322807789e-33, -0.0203922577, -0.0285005998, 0.0152794439, -0.060271062, -0.0029096033, -0.0205472987, -0.0556280911, 0.0040966319, -0.037143115, 0.0179349389, -0.019914303, 0.0333496965, -0.0138022956, 0.0315220281, -0.0371043272, -0.0547792725, 0.0098581845, 0.0155472243, -0.0275850967, 0.0021183516, 0.0231359452, -0.0046451287, 0.0279908702, -0.0547952801, 0.0253426507, 0.0204174146, -0.0245975181, 0.0259735007, -0.0865283981, 0.0475985594, -0.0058569903, 0.021062512, 0.0011609512, 0.0081466651, 0.0130522074, -0.0019845809, -0.0673536956, -0.0245577767, 0.0349530801, -0.0093083968, -0.0339617431, -0.0146142831, 0.0224399567, 0.0085489172, -0.0099124508, -0.0241668224, -0.0079616867, -0.0302877724, -0.0126731908, 0.0140617229, -0.0189547054, 0.057714384, -0.0164423604, 0.0012273184, -0.0111477235, 0.0377638079, 0.0093680788, 0.0392589793, -0.0497786924, -0.0092975637, 0.0285661183, 0.0106558995, 0.0388376527, -0.002562593, -0.000949375, 0.0470235907, -0.0102465488, 0.0069847116, -0.0485081971, -0.0023059228, 0.0199524201, 0.0597772077, 0.0880685672, 0.071899347, 0.021814106, 0.0027190875, -0.0997484401, -0.0246260874, 0.0208115857, 0.049302958, 0.0502163582, 0.0114377989, -0.0629561245, -0.0032156436, -0.0446456969, -0.0043742904, -0.0592706725, -0.0126261059, 0.02929754, -0.00679455, -0.0184214972, 0.0019293375, -0.0124760885, -0.040994551, -0.0143487612, 0.0586688221, -0.006349171, -0.0247578118, -0.0001519848, 0.0655790567, -0.0161731336, -0.012195576, 0.011154023, -0.0114143295, 0.0200683512, -0.0008056188, 0.036710836, 0.026815448, -0.0475034975, -0.0217181966, -0.0302235708, 0.0313593373, 0.0102596739, 0.0447863974, 0.0547726303, 0.0131720351, 0.0080539137, 0.0200438239, 0.0255223345, 0.0221742261, -0.022603333, 0.0204704106, 0.009144959, 0.0247635599, -0.0087140929, -0.0195438731, -0.0337952413, -0.0055337292, 0.0197222903, -0.0589248948, 0.0034593744, 0.0192689095, 2.718e-7, 0.0440840609, 0.0886583477, 0.0136767197, 0.0309889894, 0.0117504634, 0.0264803115, -0.0365404263, 0.0050964379, -0.0159011036, -0.0195327774, -0.0245202743, 0.0499479622, 0.0605673864, 0.0512813739, -0.0255182777, -0.0034480211, -0.0529094189, -0.0145385135, -0.0446271375, 0.0003075842, 0.0753511414, 0.1113916859, 0.0304509029, -0.0079405708, 0.0143632647, -0.0859045163, 0.0591899864, -0.0302935354, -0.0001874127, -0.0131237609, 0.031994734, 0.0163065214, 0.0244917572, 0.0438343845, 0.0019700716, 0.0119495634, -0.003694454, 0.0853278711, -0.0128698498, -0.0436647534, -0.0559472293, -0.0404047593, -0.0051735025, -0.081606634, 0.1055581644, -0.0229593813, -0.0449127443, 0.003323698, -0.0122609641, -0.0220994297, 0.0500185601, -0.0102391085, -0.032224495, -0.0085977418, 0.0189374443, -0.00975913, -0.0098867929, -0.1042881086, -0.0238613524, 0.0012321385, -0.0447930582, -0.0335071273, -0.0240087938, 0.0117950281, 0.0487342589, -0.0397258624, -0.0138676465, 2.897590131e-34, 0.0667359382, -0.0182596464, 0.0135757644, 0.0028919859, 0.0591687709, 0.0047814329, 0.0318458267, 0.0009669641, 0.0191667955, -0.0922972038, -0.0128435446 ]
http://arxiv.org/abs/2406.11016v1
http://arxiv.org/pdf/2406.11016v1
Optimized Speculative Sampling for GPU Hardware Accelerators
2024-06-16T17:19:23
2024-06-16T17:19:23
Dominik Wagner, Seanie Lee, Ilja Baumann, Philipp Seeberger, Korbinian Riedhammer, Tobias Bocklet
cs.LG
cs.LG, cs.CL
In this work, we optimize speculative sampling for parallel hardware accelerators to improve sampling speed. We notice that substantial portions of the intermediate matrices necessary for speculative sampling can be computed concurrently. This allows us to distribute the workload across multiple GPU threads, enabling simultaneous operations on matrix segments within thread blocks. Additionally, we use fast on-chip memory to store intermediate results, thereby minimizing the frequency of slow read and write operations across different types of memory. This results in profiling time improvements ranging from 6% to 13% relative to the baseline implementation, without compromising accuracy. To further accelerate speculative sampling, probability distributions parameterized by softmax are approximated by sigmoid. This approximation approach results in significantly greater relative improvements in profiling time, ranging from 37% to 94%, with a slight decline in accuracy. We conduct extensive experiments on both automatic speech recognition and summarization tasks to validate the effectiveness of our optimization methods.
[ 0.0334339067, -0.0003913826, -0.037142396, 0.001472109, -0.0022952517, -0.0085705006, 0.0376296565, -0.0196159147, -0.0408604182, -0.0164708998, 0.0008864217, -0.0813823193, 0.0164408572, 0.0021554774, -0.0119146081, -0.0563730933, -0.0068997457, -0.0615727976, -0.0161085445, -0.0389187112, -0.0013290052, 0.0348286889, 0.0012870999, -0.0061362535, -0.0240121912, 0.0191139858, -0.0152155515, -0.0106229037, 0.0316881947, 0.0149022117, -0.0325040668, 0.0044194167, 0.0240985751, -0.0207007658, 0.0000021995, 0.0026691486, -0.0014471939, -0.0062152767, 0.0531552993, 0.03917633, 0.0575959571, -0.0055874875, -0.0037139128, -0.0162925944, 0.0148730949, -0.0009796843, 0.0229089018, -0.0270692781, -0.0538963415, -0.0262982864, 0.0121918842, 0.0264646355, 0.0341774225, -0.0229862537, 0.0052908058, -0.0648268163, -0.0023588568, -0.0241885185, 0.012897783, -0.0546544567, 0.0362251662, 0.0295452699, 0.0181682743, -0.0140985074, 0.0142550049, 0.0478629693, -0.0103707118, 0.0149279973, -0.0069421469, 0.02857548, -0.0742878839, 0.0062408396, 0.0137999784, -0.0318645127, -0.0270920377, -0.0111921988, -0.0216448233, 0.071607478, -0.0346041508, -0.0223809835, 0.0181270614, 0.0259158779, 0.0188800935, -0.007221214, 0.0275034457, 0.0429267101, 0.0244044755, 0.0461868197, -0.0281961411, 0.0551437028, -0.0012473239, -0.0278694108, 0.053636644, -0.025981931, -0.0526593663, 0.0203510392, -0.0853056461, -0.066645585, -0.0157873519, -0.0240796544, 0.059218701, 0.0094697801, 0.0272973217, 0.0127760796, -0.0114205386, -0.0449149795, -0.0149872936, 0.0008768034, -0.0161093231, -0.0049842279, 0.0370521247, 0.0201824717, -0.0251724869, 0.0526691414, -0.071512796, -0.0292788353, -0.0402754284, 0.0125556057, -0.0284156799, -0.0434863567, -0.0495155454, 0.0375413112, -0.0790905654, 0.0380344614, 0.0072856685, -0.0373417139, -0.0832602531, 0.0349909961, -0.0141841359, -0.046963647, -0.0052733468, -0.0103028957, 0.0210434515, -0.0356037617, -0.0090758326, 0.0170354098, -0.0391075164, -0.0869120136, -0.031203419, -0.0187310297, -0.0029749516, -0.029846726, 0.0024789949, -0.0650181323, 0.0766838714, 0.005147337, 0.033466544, 0.0563581139, 0.019180214, 0.0395286717, 0.0096854186, 0.0429541878, 0.0074814288, -0.0713136494, 0.0512591824, 0.0037341926, 0.0318097882, 0.0686200336, 0.0152478581, 0.0846317038, 0.0203500092, 0.026283985, 0.0114464201, 0.0037922829, 0.0052966797, 0.0133856898, -0.0013034611, 0.0054462994, -0.0057002213, 0.0310990699, 0.0597782396, 0.0734245181, -0.056101758, -0.0339991376, 0.0261143632, 0.0602561124, -0.1012372449, 0.0190842841, 0.0288109332, -0.0469250977, 0.0210546777, 0.010925022, 0.0068312935, 0.0368258432, 0.0380162001, 0.0205154475, 0.0642958581, 0.0644860938, -0.0014600224, 0.0284207612, 0.0198858641, 0.006441847, -0.0050129108, 0.0013870812, 0.0721301958, -0.0107503971, -0.0113784559, 0.0108545059, 0.0455029383, -0.0250712223, -0.0421476588, -0.0203182567, 0.0080375103, 0.0297957528, 0.0083258161, -0.022139689, 0.0074897259, -0.0132838385, -0.0830926374, -0.0273840316, 0.0214079283, -0.0193520114, 0.0422770754, -0.0317469947, -0.0069607282, -0.0198207162, -0.0372604989, 0.0791678801, 0.0292070322, 0.0180996675, 0.0065156003, 0.0113682924, -0.0350980982, -0.0258146282, 0.0122462995, -0.0030373186, 0.0876215473, -0.0387304947, 0.0586094297, 0.0143834967, -0.0139740109, -0.015843235, 0.0333076008, -0.0513941795, 0.0207947437, -0.0314358547, -0.0405219235, 0.009857825, 0.0104899397, -0.0527082048, 0.0180707108, 0.0072043655, -0.0220923517, -0.0636330321, 0.0506477132, -0.0198530257, -0.0212071259, -0.0388484038, 0.0216223933, 0.0151713463, 0.0516988598, -0.0118417498, 0.028451845, -0.0282774158, -0.0099533685, 0.0506786406, -0.0012864339, -0.0018505375, -0.064324066, -0.0310037564, -0.0315768607, 0.0432305783, -0.0232498497, 0.0279332884, -0.0482798256, 0.0080858879, 0.0547264032, -0.113155365, 0.0302877482, -0.0213587414, -0.0095085222, 0.0209073126, 0.0283888541, 0.006979154, -0.012326045, 0.0248723775, -0.0003249026, -0.0568695813, 0.007245007, -0.0280970503, 0.033297386, -0.0010499813, 0.0033914831, -0.0497717112, 0.0129437242, 0.0307871457, -0.0114064217, -0.0542550609, 0.0032263405, -0.0143118305, 0.0371729173, 0.0017861963, -0.03764401, 0.0434309803, -0.0048494004, -0.0143075529, 0.0322564468, 0.045965828, 0.0079610804, 0.0234692879, 0.0110559668, -0.0004179926, 0.0299563445, 0.0404598378, -0.0072521092, 0.0356102623, 0.0067887716, -0.0153477313, -0.0273751728, 0.0447961949, 0.0215955768, -0.0412920378, 0.019504834, -0.0305327773, 0.002770866, -0.0545176417, -0.0160600711, -0.0130069479, -0.0316312872, 0.01197071, 0.0074073877, -0.0186738912, 0.0000738591, -0.0514440648, 0.0438080952, -0.039535109, -0.020146586, 0.0037718525, 0.0359767973, 0.0289313905, -0.0031413829, -0.0687369183, -0.0034845967, 0.0509235896, 0.0014068442, 0.0002052857, -0.0424646251, 0.0382059291, 0.0007436305, 0.0208821632, -0.0200135559, -0.0347344242, 0.0270832311, -0.0237190053, -0.0393136777, -0.0085106278, 0.0783706978, -0.0191055406, 0.0094829621, 0.0277202353, -0.0143617, 0.0689810663, -0.034423694, -0.0285899676, -0.0092251049, 0.000093666, 0.0696268156, -0.0328180455, 0.0010624452, -0.022000527, -0.0336212739, 0.0377348624, 0.0750727504, 0.0156280175, -0.0762015358, -0.0399593674, 0.0199809875, -0.0075068213, -0.0266545042, 0.0552572012, 0.0305545069, -0.0284078009, -0.0043566418, 0.0340499058, 0.0221921802, -0.0474314392, 0.0139551265, 0.0932805687, 0.0069608777, 0.0130348159, 0.0327138603, -0.064184323, -0.0246226415, 0.0351531208, 0.0167511217, -0.036796663, -0.0175162666, 0.0375668928, -0.0938801095, 0.0497585312, -0.0478082076, -0.0169778597, -0.0301376246, -0.0282826647, 0.0261633303, 0.0160538778, 0.0348288529, -0.0248737168, -0.0064236927, -0.0002781749, 0.0065365313, 0.0145910988, 0.0690345317, -0.0024326129, -0.0178826507, 0.0051946831, 0.0059085707, 0.0173256751, -0.0222246218, 0.0305092316, -0.0053151227, -0.0030255655, 0.0212614294, 0.0020568024, 0.0457616188, -0.0045613549, 0.011073675, 0.0019087851, 0.012472325, -0.0054047769, -0.0038705836, 0.0090530831, 0.0453287028, -0.0172902793, -0.0316604823, -0.016546702, 0.0014343053, 0.0161631871, -0.0028533405, 0.0080653178, -0.0485890061, -0.0401207618, -0.0591991767, -0.0346974581, -0.0855755508, 0.0277926959, -0.047244966, 0.0200010631, 0.0073691779, -0.007406842, -0.0181868263, 0.0443236381, 0.0403711684, -0.0194904841, -0.0013237044, 0.0082486048, -0.0036826613, -0.0682097226, -0.0032622525, -0.0511679687, 0.0418740548, 0.0391558073, -0.0037202672, 0.011264557, -0.0156201189, -0.0272948984, 0.0899129137, -0.121049583, -0.0241076946, -0.0064463937, 0.0306395944, 0.0041337255, 0.0396645851, 0.0153666651, -0.0396312773, 0.0377168618, 0.0551167578, -0.0467013195, 0.056827765, -0.0209839642, -0.0611759312, -0.0154144419, 0.0063038394, -0.0021776024, -0.0039473134, 0.0018681469, -0.0090775853, 0.0014199947, -0.0725615174, -0.0581143796, -0.0112966411, 0.059406735, -0.0124134542, 0.0134447571, -0.0018679197, 0.01158062, 0.0302528776, 0.00785485, -0.0177225471, -0.0340427384, 0.0171336513, -0.0153427627, -0.0386794358, -0.0032766273, 0.0431296453, 0.0013710007, -0.0331264734, -0.0706194937, 0.0057903058, -0.0165986121, -0.0154703557, -0.0300198533, -0.0143582243, -0.0123151634, 0.0507087111, 0.0727329925, 0.0137527036, 0.0174095146, 0.0055073574, 0.0120332837, 0.0193536244, -0.0325650685, -0.0520876162, -0.032711491, -0.0870543122, -0.0002729326, 0.0237638038, -0.0300824046, 0.0280892029, -0.0161170103, 0.0018346772, -0.0121650137, -0.0051330528, -0.022884924, -0.0065386058, 0.0203716084, 0.0083421702, 0.0277227648, 0.0474607497, 0.0367434546, -0.0343948267, 0.0132493116, 0.0378423147, -0.0170093868, -0.0230111871, -0.028554989, -0.0586928055, 0.0700486377, -0.0010852253, -0.0479433648, 0.0262701362, -0.004555671, 0.0708168596, 0.008475434, -0.0223713797, -0.0167919453, 0.0600571521, 0.0194433164, -0.0120437499, -0.0052513634, -0.0210006312, 0.0352757797, 0.0244628489, 0.0207225755, 0.0116877006, -6.127481403e-33, -0.0193236079, -0.0000201333, -0.0056266729, 0.015808912, 0.0037964131, 0.0135259489, -0.004688377, 0.0256175306, 0.0582099669, 0.011148626, -0.0310709383, -0.0064318879, 0.033739958, 0.0203820169, 0.0016152663, 0.0164670795, 0.0400093086, -0.0181215703, -0.009078796, 0.0856722668, 0.028515758, 0.0671984553, 0.0438405238, -0.0337768942, -0.0495930724, -0.007323571, 0.0320546851, -0.070407331, 0.0108790267, 0.0317953229, -0.0476839095, 0.0342527293, -0.0145279253, -0.0607312806, -0.0369353369, 0.0081232674, -0.0882299691, -0.0386805832, 0.046200823, 0.015000199, -0.0111741377, -0.005019621, -0.03598205, 0.0590290464, 0.033937607, -0.0287675448, 0.0001733398, 0.0025916575, -0.0617142729, -0.0881681889, 0.020194035, 0.0018757817, 0.0242661629, 0.0826665759, 0.0748946071, -0.037159428, -0.0488602705, 0.007834712, -0.0245378762, -0.0050393883, 0.0260811262, 0.0465333462, 0.0382236466, 0.0386895873, 0.0226147529, 0.0768995062, 0.0412712581, -0.008645515, -0.0013552979, 0.0182390567, 0.0063689365, -0.0305319931, -0.0667258203, 0.060520567, 0.0757751912, 0.024013482, -0.0537679233, 0.0126658948, 0.0948152617, -0.0420592763, 0.1010446623, -0.0273091141, -0.0080492338, -0.04782952, -0.0483925454, 0.0186881963, -0.0204382353, 0.0207008012, 0.0022891855, 0.052435495, -0.0486478433, 0.0661407262, 0.0319325216, -0.0075605228, 0.0289089717, -0.0262914412, -0.0010232897, 0.0337775275, 0.0231577512, -0.0294606034, -0.02944839, -0.0454020724, -0.0193569548, -0.0491644591, 0.0157380272, -0.0288883373, 0.0138936136, 0.0092123458, -0.0406067781, -0.0001913255, -0.0096565336, 0.0567591935, 0.0043199128, 0.0645653531, 0.0358766243, -0.00115916, -0.0113753667, 0.0731363222, -0.0296417046, 0.0139357923, -0.0344496556, -0.0005873311, 0.0022214088, -0.0172912776, -0.0450168252, 0.0149492892, -0.0185824633, -0.0297824219, 0.008319675, -0.0931541249, -0.0499393716, 0.0314030536, 2.868e-7, 0.0082891379, 0.0167308021, 0.0249008629, 0.0184467603, 0.016480444, 0.0053802994, 0.0692220405, 0.0127680935, 0.0352054797, -0.0126983365, 0.0163807869, 0.0188296214, -0.0240448639, 0.03012955, -0.0937449113, -0.0025347518, 0.0171203297, 0.0294439234, -0.0320752561, -0.0345237143, -0.0760641396, 0.095138073, 0.0033918782, -0.0315666012, 0.0657008663, -0.022984229, 0.0216217712, 0.009600156, -0.0056251083, 0.0229783878, 0.0078605628, 0.0483994856, -0.041553732, 0.058455646, 0.0188073032, 0.0193552598, -0.0033108848, 0.0428083465, 0.0027038122, -0.0552222095, 0.0532959737, -0.0263099782, 0.0055811275, -0.017399054, 0.0390311852, 0.0102962842, 0.0091202864, -0.0523100644, -0.0137918508, -0.021598408, -0.0162908398, -0.0052795047, 0.0962991193, 0.0351219252, 0.0079630241, -0.0031810661, -0.0311509464, -0.0312781408, 0.0123453829, 0.0216892157, -0.062841557, -0.0506250933, -0.0560525656, -0.0274803173, 0.0232442636, -0.0630805418, -0.0109282201, 2.200879451e-34, 0.0379254185, 0.0468471237, -0.0436299369, -0.0124771185, -0.0101534035, -0.0279945061, -0.0193133689, -0.0191426184, 0.0033509911, -0.0745403394, -0.0753057003 ]
http://arxiv.org/abs/2406.11012v3
http://arxiv.org/pdf/2406.11012v3
Connecting the Dots: Evaluating Abstract Reasoning Capabilities of LLMs Using the New York Times Connections Word Game
2024-06-16T17:10:32
2024-06-22T15:40:14
Prisha Samadarshi, Mariam Mustafa, Anushka Kulkarni, Raven Rothkopf, Tuhin Chakrabarty, Smaranda Muresan
cs.CL
cs.CL, cs.AI
The New York Times Connections game has emerged as a popular and challenging pursuit for word puzzle enthusiasts. We collect 200 Connections games to evaluate the performance of state-of-the-art large language models (LLMs) against expert and novice human players. Our results show that even the best-performing LLM, GPT-4o, which has otherwise shown impressive reasoning abilities on a wide variety of benchmarks, can only fully solve 8% of the games. Compared to GPT-4o, novice and expert players perform better, with expert human players significantly outperforming GPT-4o. To deepen our understanding we create a taxonomy of the knowledge types required to successfully categorize words in the Connections game, revealing that LLMs struggle with associative, encyclopedic, and linguistic knowledge. Our findings establish the New York Times Connections game as a challenging benchmark for evaluating abstract reasoning capabilities in humans and AI systems.
[ 0.0390601978, 0.0567981079, -0.0404798463, 0.0923131332, -0.0443879962, 0.0051356084, -0.0082404604, 0.0236715209, 0.004524515, -0.0106255589, -0.0223162286, -0.0454109535, 0.0138830915, 0.0297235418, 0.0433982909, -0.0094531532, 0.0405631289, -0.0595582724, 0.0241828039, -0.0075764973, -0.0439743549, 0.0040467712, -0.0354107618, 0.0227451287, 0.0148420827, -0.0034803473, -0.0024762899, -0.0236833133, -0.0086080274, -0.0539260656, -0.0436756127, 0.0421329215, 0.0321867093, 0.0402975045, 0.0000022301, -0.0548448116, 0.0173514169, -0.0274707042, -0.0396646708, 0.0022478295, -0.025010081, 0.0039306702, 0.0098040607, 0.0021351834, -0.0388225913, 0.0138543928, 0.0422931425, 0.0267695319, 0.0601466224, 0.0637586787, 0.0070686177, -0.0112273088, 0.069595933, -0.0257190857, 0.0403153263, -0.0792469829, 0.0025815207, 0.0658895671, 0.0459199883, -0.0178550724, -0.0181211885, 0.0155366194, 0.0293396823, 0.0263138767, -0.0207625814, 0.0442334004, -0.0140805831, 0.0097411377, 0.0076315724, 0.0743917376, 0.0058369315, 0.0092779836, -0.0068417331, 0.0173938926, -0.0099265818, 0.0318382643, -0.0300000403, 0.0404794179, -0.0115798069, 0.0059598275, 0.0256660189, 0.0085321832, 0.0432538092, 0.0567523837, -0.0291188061, 0.1179044396, -0.0151470965, -0.0055611543, 0.0306701604, -0.006998051, -0.0440815575, -0.0836007148, -0.022586396, 0.0370082706, -0.030437462, 0.040769808, -0.0136321466, 0.0153466305, 0.0305241924, -0.0144797824, 0.0013115718, 0.0334676392, 0.0618655682, 0.0739093572, 0.0117700249, 0.0475087948, -0.0197422691, 0.0410583504, -0.0248665866, -0.0098299989, -0.0317379199, -0.0425186194, -0.0022850994, 0.0672528669, -0.0263404511, -0.0306354593, -0.0188942533, -0.0066072638, -0.0144136427, 0.0281792488, -0.0052937618, -0.0187742505, 0.0071274829, -0.0664236844, -0.0777984858, -0.0218219887, -0.0592834763, 0.0212454163, 0.0041346308, -0.0455612242, -0.0196747594, -0.027550526, -0.0109348213, -0.0465850905, 0.0438233465, 0.0622484125, -0.0217020437, -0.0321703553, 0.0240483135, -0.0140505275, -0.0010182339, -0.1210661754, 0.0123865074, -0.0716460571, 0.0335848629, 0.0148322554, 0.0021476164, -0.0458553806, 0.0109470524, 0.0045477999, -0.0416537337, 0.0945997387, -0.0078061214, 0.0199171696, 0.0374560431, 0.0381308012, -0.0023318997, 0.0591597967, 0.040302448, 0.0218852647, 0.0145057989, -0.0048459368, 0.0250826068, 0.0305051487, -0.0069250423, -0.0090427808, 0.0019223846, 0.016622914, -0.0392715931, 0.0585792847, -0.0141111817, 0.0626806244, -0.02397798, -0.0118242139, 0.0615427122, 0.1059985831, -0.0081921062, 0.0346178636, 0.0278997552, -0.0244805608, 0.0357422903, -0.0259829033, -0.0436033458, 0.0457988195, -0.0259854086, 0.0190084074, -0.0143802855, 0.0259657092, -0.0100362469, -0.0431720465, -0.0426442325, 0.0194020066, 0.0330284722, 0.0126222475, 0.0522765256, -0.0253859181, -0.033842396, 0.0319793001, 0.0045880266, -0.0160274953, -0.007341323, -0.0804481581, 0.0332595557, 0.057540562, 0.0654404983, -0.010293453, -0.0513854288, 0.0106528271, 0.0178884808, 0.0780473799, 0.0432305336, 0.0253714453, -0.0122881886, -0.0326410197, 0.0061229561, -0.0267480277, 0.0123256287, 0.0326921158, 0.0284249652, 0.0299507305, -0.0098762047, -0.0639441162, 0.0307356045, 0.0109903365, -0.045405861, -0.0382967219, -0.0536555238, 0.0126198744, 0.0231114794, 0.0075174994, 0.007020399, 0.0191541519, 0.0199760161, -0.0283908304, -0.0402310565, -0.0073111597, -0.0378321186, 0.0347562619, 0.0197421815, -0.0530380309, -0.0295859035, 0.043638669, 0.0053628697, -0.0133069959, 0.0345343016, -0.0173946805, 0.0677437186, -0.0252854824, 0.0244713854, -0.0058984957, -0.0246669762, -0.0043440736, 0.10862232, -0.0168118179, 0.0236626435, -0.0186903588, -0.0238176715, 0.0156441461, -0.0713636354, -0.0091624605, 0.0398050398, -0.013604573, -0.0151211675, -0.0194918513, -0.0019460714, -0.0689582378, -0.0195335075, -0.0540885516, -0.0023168942, 0.0246507861, 0.0204762109, -0.0051337918, -0.039125137, -0.0187533535, 0.0338070169, -0.0036665397, 0.0087054484, 0.0171426255, 0.0101031084, 0.0287952553, 0.0230649039, -0.0417866707, -0.0143071115, -0.0151368175, -0.0296073444, 0.026236726, 0.0034292631, 0.0183341466, -0.0277620237, 0.0097336983, -0.0640291944, -0.0021154918, -0.02824389, -0.0318765007, 0.0280065201, -0.0127543742, -0.0127386926, 0.0620350763, -0.007428342, 0.0225663148, 0.045611918, -0.0542924739, -0.0318574682, 0.0277890898, 0.0126201883, -0.0179234184, -0.0527936332, -0.0697416738, -0.0173849259, 0.0938423574, 0.0085120816, 0.0139043899, -0.0348998941, 0.0629274026, -0.0066841301, -0.0086111296, -0.0720101446, -0.0404125601, -0.006272845, 0.027651025, -0.048674494, -0.0178530794, 0.0677446574, -0.0253714472, 0.020427892, -0.0308754761, 0.0022790879, -0.0305989925, 0.1092749909, -0.0050525237, 0.0140951592, -0.0381690897, -0.0325809754, -0.0704165772, -0.0410983153, 0.0264031906, -0.0480001979, 0.0506248884, -0.0750588402, 0.0118104536, 0.0095788622, -0.0486178808, -0.0182693861, 0.0112429075, -0.0803001747, 0.003549464, 0.073667258, -0.0269688219, -0.0272982214, 0.0128816403, 0.0491421893, -0.0339525826, 0.0090723494, -0.0140093016, -0.0046647629, 0.0256693233, 0.0584684312, 0.0475849546, 0.0302063599, -0.0567044169, 0.0309081897, 0.0331862755, 0.0174577385, -0.0270551294, 0.0090611232, 0.0226426087, 0.0236667506, -0.0188000947, -0.0255288463, 0.0255834218, 0.0087063927, -0.0579712912, -0.016356755, 0.1014765576, 0.0570664071, -0.0144036366, 0.0029247871, 0.0021937378, 0.0113965124, 0.0230157953, 0.0304474477, -0.0762674212, -0.0329438597, 0.0242322255, -0.0321200714, 0.0139039168, -0.0599903166, -0.0233924519, -0.1205296442, 0.0115891537, 0.0105470112, -0.0554341376, -0.0226963703, -0.0118898349, -0.0155773386, -0.0101634664, 0.0069858832, 0.0216868371, -0.0037313621, -0.0067032129, -0.0188847855, -0.0167682245, 0.0050012507, 0.0597222187, -0.0125448648, 0.0692486092, 0.0191163942, 0.0466322079, -0.0596404634, -0.0708890036, 0.0676412061, 0.0039860234, -0.0057457737, -0.0006045135, 0.0372557938, -0.0031501991, 0.0119641777, -0.0201271474, 0.0043937289, -0.0266287047, -0.0389715768, -0.0057895151, 0.0770434663, 0.0023223138, -0.0314256921, 0.0027636434, -0.0060739662, -0.0294125546, 0.085863173, -0.0042330902, 0.0030020727, -0.0385179594, -0.0074417987, 0.0067057256, -0.0314316899, -0.0380377956, 0.0003711277, 0.0251902547, 0.018969398, -0.0604562387, -0.0235812236, 0.0084455889, 0.0048542232, -0.0081832642, 0.0220755842, -0.0175857451, 0.0164898187, -0.0269558877, 0.0366405807, -0.0197032075, 0.0178533699, -0.0562751442, -0.0201512128, -0.0033197328, -0.0707679689, -0.0455722064, 0.0302124284, -0.037571121, -0.028315004, -0.0041747275, -0.0031186419, 0.0352376029, -0.0067322399, 0.0160668287, -0.0305637624, -0.0045145964, 0.0034922743, -0.0261600297, 0.0114549864, -0.010953973, 0.0362320617, 0.0213571563, 0.0317103267, -0.0341675542, 0.0157652274, 0.0245329123, 0.0709650889, -0.0300668161, 0.0300407726, 0.0091880066, 0.0350125283, 0.019839948, 0.0000342884, -0.0029391136, -0.0076934882, 0.0153862424, -0.0334464237, -0.0213659946, -0.0119365836, -0.0391170643, 0.0212126207, -0.0140609667, 0.0198578443, 0.0073618311, 0.0471829548, 0.0193388443, 0.0066279024, -0.0073670922, 0.0046057552, -0.0253922027, 0.0049040518, -0.0034280233, 0.0196585525, 0.0359706655, -0.0268930309, 0.0657624602, -0.0088244602, 0.0313139148, 0.026297953, -0.0452248119, -0.0345443115, 0.0224003009, -0.0423645303, -0.0905734524, 0.0347035043, 0.0257995706, 0.078230612, -0.0109335864, -0.0131000374, -0.0490703322, 0.0077567212, 0.0227040909, -0.0343226604, 0.0008399917, -0.04003397, 0.0380680226, 0.0485657156, 0.0031057922, -0.0068785399, 0.0528416857, 0.0013616432, 0.0200657658, -0.0055296058, -0.031073058, -0.0222748015, -0.0055961828, 0.0026855653, 0.0331886038, -0.0253885631, 0.030121224, -0.0857869461, -0.0784741193, -0.028194584, 0.0563588403, 0.0088950051, 0.0268755797, 0.0287767537, 0.0815489143, 0.0016030532, -0.0537843555, -0.0186760072, 0.0116092488, -0.035964217, -0.0119246664, -0.0029895972, -7.055039383e-33, -0.0291387811, -0.0623688549, 0.0546845868, -0.0179113112, -0.0030749016, 0.0019557271, -0.0478892513, 0.0266967025, -0.045241788, 0.0080461912, -0.0237352625, 0.0165291131, -0.006931616, -0.0142709594, -0.0057239803, -0.0169172585, -0.0299952663, 0.031903185, -0.0324811228, -0.0285948254, 0.015794633, -0.0361551121, 0.0356885791, -0.0341287851, 0.0116423648, 0.0070345472, -0.0119982036, 0.0233686194, -0.0404583253, 0.0414410643, -0.0145453615, -0.0160432607, 0.0382372774, -0.0076895831, 0.0312469192, 0.0063833403, -0.041128464, -0.0253271684, 0.0441743508, -0.0540310778, -0.0301238373, -0.0378891155, 0.0520238094, 0.0144271618, -0.0355490409, -0.0066523873, 0.0283009317, -0.0161837805, 0.0211925097, 0.0237519983, -0.0242072083, 0.0027014427, -0.0364450105, 0.0088479687, 0.0075854496, -0.0370843671, -0.0105467141, -0.0105610574, -0.0568774343, 0.0648222864, 0.0358653925, -0.0092857704, 0.0878313705, -0.0147555145, 0.0081672724, 0.0534181744, 0.0243871678, -0.0032127327, -0.0426016003, 0.0046236757, 0.0353219733, 0.0798454434, 0.0470953062, 0.0165826008, 0.0264819469, -0.0099937525, -0.0462165102, -0.0002696408, 0.0073182471, 0.0659143925, 0.031986434, 0.0177353192, -0.0777244642, 0.000867681, -0.0315606631, 0.0602528006, -0.0419368409, -0.0389052331, 0.0326264054, -0.0185019299, 0.007360572, -0.0461048074, 0.0186932497, -0.0322886035, -0.0227732733, 0.010436316, 0.0293644108, 0.0126574039, -0.0089454986, 0.0027139825, -0.0604055785, -0.0355897732, -0.0289333463, 0.0299637243, 0.0133161722, 0.0100181913, -0.0197449829, 0.0066954419, -0.0342651457, -0.0119945323, -0.0485051014, 0.0071501709, 0.0167860966, -0.0366923399, 0.0278827138, -0.007091491, 0.0043805982, 0.0052187908, 0.0126662133, -0.0116710132, -0.0266655851, 0.0519593842, -0.0421202295, -0.0055115679, 0.0059466208, 0.0081344545, -0.0362338498, 0.0214384682, 0.0196067505, -0.0292995237, -0.0098828943, 0.0067146691, 3.085e-7, 0.0310258381, 0.0893996209, -0.0383330993, 0.0673528686, -0.0049773064, -0.0006217065, -0.0512575693, -0.0500752814, 0.0057505821, -0.0270259734, 0.0189280435, 0.0839715973, 0.0410684198, 0.0599988736, -0.080382809, 0.0326269753, -0.0383743122, -0.004851752, -0.066197753, 0.0043436498, 0.0538029559, 0.024834862, 0.0323056839, -0.0008316867, -0.026821956, -0.0883840248, 0.0156040508, -0.0567816347, 0.0101175215, 0.022130264, 0.0026522013, 0.0285023469, 0.001943689, 0.037460383, -0.0054125767, 0.0212318394, 0.0232701711, 0.0309582241, -0.0267674085, -0.029701177, -0.0375999808, -0.039719265, -0.0040584719, -0.0879781693, 0.0783677846, -0.0341032408, -0.0418346711, 0.0259778704, -0.0217381492, -0.0288261287, -0.0018928137, -0.0220035557, -0.0365504511, -0.0084639154, 0.0110390177, -0.023558965, 0.0165656954, -0.0506014414, 0.0072706477, 0.0327701643, -0.0552551635, -0.0489245467, -0.0503715202, -0.0043625953, 0.0095412182, -0.0551717319, -0.0315190405, 2.707644938e-34, 0.0271323118, -0.0065219938, 0.0278997477, 0.0292204544, 0.0800878406, 0.0282377824, -0.0086801741, 0.0108740088, 0.0147223426, -0.0881371126, 0.0110916616 ]
http://arxiv.org/abs/2406.11011v2
http://arxiv.org/pdf/2406.11011v2
Data Shapley in One Training Run
2024-06-16T17:09:24
2024-06-29T23:05:32
Jiachen T. Wang, Prateek Mittal, Dawn Song, Ruoxi Jia
cs.LG
cs.LG, cs.CL, stat.ML
Data Shapley provides a principled framework for attributing data's contribution within machine learning contexts. However, existing approaches require re-training models on different data subsets, which is computationally intensive, foreclosing their application to large-scale models. Furthermore, they produce the same attribution score for any models produced by running the learning algorithm, meaning they cannot perform targeted attribution towards a specific model obtained from a single run of the algorithm. This paper introduces In-Run Data Shapley, which addresses these limitations by offering scalable data attribution for a target model of interest. In its most efficient implementation, our technique incurs negligible additional runtime compared to standard model training. This dramatic efficiency improvement makes it possible to perform data attribution for the foundation model pretraining stage for the first time. We present several case studies that offer fresh insights into pretraining data's contribution and discuss their implications for copyright in generative AI and pretraining data curation.
[ 0.0056668525, 0.1379715651, -0.0146809705, 0.0124122277, -0.0253917687, 0.0218508393, 0.0787975267, -0.0287881605, -0.0446518771, 0.0067941728, -0.0114144646, 0.0151954116, -0.0284249224, 0.0543584675, 0.0255996138, -0.0296958182, -0.0116553735, 0.0372034125, -0.0365596302, -0.022173468, -0.0253951941, -0.0109702786, 0.0309896152, 0.0226212293, -0.0527608097, -0.0142697478, 0.0141395675, 0.0182733759, 0.0328589343, 0.0047549657, -0.0110829966, 0.0594490282, 0.0055279508, 0.0491019301, 0.0000021513, -0.0115764234, -0.0248939265, 0.0476265848, -0.0305574611, 0.0316397287, 0.0459180176, 0.0243528243, 0.0174709782, -0.0220470242, -0.0369001627, 0.0458418801, 0.0520766154, 0.0292264931, 0.0657373965, 0.0175428372, -0.0278533436, -0.0128134834, 0.0046660332, -0.0189382806, 0.0359070189, -0.0007055149, -0.0225409474, 0.0135525819, -0.0575058609, -0.0571076199, -0.001380093, 0.0832012147, 0.0500228107, 0.02491864, 0.067699343, 0.0199356321, -0.0039220876, -0.0075575514, 0.009811189, 0.056729801, -0.0496759303, -0.049350623, 0.0118105365, -0.0276663098, 0.0309526399, -0.0147421444, -0.037943352, 0.0489434749, 0.0357857421, 0.0101934643, -0.0221869797, 0.0046837083, 0.0473456718, -0.0057678851, -0.008822713, -0.0356134698, 0.0113323545, 0.0054535959, -0.0018629669, 0.0224309545, -0.0239844099, -0.0471499674, -0.003788797, -0.0043986184, -0.0053407508, -0.0244485792, -0.0930860192, 0.0007591755, 0.0012048819, -0.0073922453, 0.0838205665, -0.0182729624, -0.0173210762, 0.0296976883, -0.0248618852, -0.0242800619, -0.0270912815, 0.0450036488, -0.0140663292, 0.003349849, -0.0517733656, -0.0113610551, -0.0223790482, 0.0203897674, -0.0065288213, -0.0130780917, -0.027033573, 0.0320286676, -0.0541565716, -0.0200157911, 0.0101301139, 0.0524427518, -0.0174932424, 0.0312295854, 0.0212096199, -0.0620146394, -0.0508069023, 0.0565813035, 0.0285522379, -0.0718893334, -0.0421602018, -0.0044768481, -0.0090342639, -0.0046528988, 0.0688489303, 0.0280060321, 0.0246664304, -0.013862228, 0.0028047028, -0.0574239045, 0.0500515215, -0.0393240005, -0.0070216502, -0.0339918509, 0.012987107, -0.0180669539, 0.0288726091, -0.0293283947, -0.0395568423, -0.0049447236, -0.036422722, 0.0774782971, 0.0107445698, 0.0202204399, -0.0437188521, 0.0159260426, -0.0144067388, 0.0013961694, 0.0364172347, 0.0571183376, -0.0012772322, -0.0168371256, 0.0294526275, -0.0138153816, 0.0915743113, 0.023954872, -0.0007882604, -0.0043968013, -0.0196512043, -0.0479326285, 0.0013130151, 0.0010274379, -0.0431180187, 0.0111136138, 0.0634829178, 0.0467617139, 0.0196828749, 0.0735682324, 0.0155041898, -0.0197575018, 0.0006035924, -0.0584236421, -0.0421936773, 0.0385882407, -0.008500698, -0.0195527896, -0.0696942657, 0.0498707667, -0.0255010817, -0.0182275157, 0.0475456119, -0.0103653679, -0.0219465792, 0.0532470904, 0.0169935264, 0.0517688096, 0.0287822336, 0.0201329999, 0.0088651283, -0.0691670552, 0.0142072923, -0.0512500778, 0.0022948002, 0.0285630375, 0.0457415804, -0.0264754165, 0.0371969081, -0.0257385373, -0.0059969244, -0.0161271486, 0.0055570332, -0.029677188, 0.0473717339, 0.0075730705, -0.0545327254, -0.0607108772, 0.0096401135, 0.0360873826, 0.0082845874, 0.006882377, -0.0096858284, -0.0057976623, -0.0408723429, 0.0203443877, -0.0399686769, -0.0374862775, 0.0119236754, -0.0078228274, 0.0476895906, 0.0222636703, -0.0679928735, -0.0228531361, 0.0247392021, 0.0046077627, -0.019228531, 0.0260930452, -0.0151894484, 0.044547718, -0.0078708474, -0.0446617901, 0.01497092, 0.0070552859, -0.0412004888, -0.0112938667, 0.0045915693, 0.0128972577, 0.0057614599, -0.0395829305, 0.0090969186, -0.0296503901, 0.0360294059, -0.0006491415, 0.0302510466, -0.0073589394, -0.0392390899, 0.0182764567, 0.0055433949, 0.063278608, 0.0020501872, -0.0107989162, -0.0030975635, -0.0271689538, 0.026930159, 0.0054370989, -0.0353322849, -0.0060859681, 0.0232901555, 0.0034862785, 0.0093561132, -0.0146894418, -0.0005526686, 0.0061211139, 0.015888473, -0.0127301114, -0.0449721105, -0.0275043156, -0.0246911943, 0.0088813026, -0.0110443719, -0.0137026953, 0.0189036615, 0.0142943403, 0.0054907058, -0.0170707442, 0.0308886338, 0.0243270732, 0.040012408, 0.0431093462, -0.030084895, 0.0127403429, -0.0072794422, 0.0101019219, -0.0009457277, -0.0046494263, 0.0057370365, 0.0018950307, -0.0354014821, 0.0674348548, -0.0270264, 0.0260793008, 0.0330027975, 0.0002180707, -0.0301377587, -0.0130007453, -0.0205488373, -0.0184189025, -0.015137692, -0.0155813703, 0.0114898933, 0.0008514009, -0.0171304084, -0.0429600291, -0.0395965017, 0.0715005621, 0.0234421156, -0.0817662925, -0.0263855122, 0.025884036, 0.0082466714, 0.0086642196, -0.0325900279, -0.093665868, 0.0261455495, -0.016754806, 0.0164047554, 0.0358776115, -0.0016383979, -0.0024103317, 0.0663149804, 0.0027364013, 0.0219714884, -0.0138509031, -0.0037960596, -0.0373888686, 0.0417754352, 0.074536711, -0.0272363406, -0.0538515188, -0.0159596745, -0.0023540754, 0.0039656525, -0.0451143011, -0.0211422835, -0.0259163789, 0.0407168008, 0.0320647918, -0.0060826973, -0.0302719604, 0.0086845923, -0.0448458716, 0.0176174156, 0.0221993532, 0.0118747298, -0.0037161177, -0.001307281, -0.0210141838, 0.0125644356, -0.0148667591, 0.0155418133, -0.0027534692, -0.0300333891, 0.0299139991, 0.0643617809, 0.0192489214, -0.0258559026, 0.0379189067, 0.0040087244, -0.0061991201, 0.0205683261, 0.01530114, 0.0356518924, -0.014469062, -0.0032900525, 0.0587822944, 0.0103672221, -0.0217457358, -0.0033979195, 0.0077120052, 0.0250079371, 0.0352133922, 0.0013842138, -0.1069793776, -0.0006791023, -0.0135492906, 0.0413010381, -0.0224128515, -0.0356307216, 0.0224699136, -0.0499586239, 0.0493442863, 0.0123866796, -0.0214255862, -0.0067338459, -0.0075965729, -0.0257084295, -0.0659413636, -0.0670523494, -0.0582380891, -0.0070220251, 0.0320844874, 0.0305493996, 0.0763969421, -0.0259040836, -0.0018027187, -0.0662579089, 0.010997735, 0.1154298484, 0.0136055481, -0.0012815102, 0.0076993401, -0.0514308177, 0.019453058, 0.0122218207, -0.000217659, 0.0713176355, -0.0050206818, -0.0160440784, -0.0044703698, 0.042132929, -0.0035251188, -0.0079807648, -0.0031950811, 0.048126284, 0.0118472325, -0.0137736602, -0.0236997232, -0.0863035396, 0.0363785699, 0.059935715, 0.0438951664, -0.0225340035, -0.0488163307, -0.0356883444, 0.0009879681, -0.0322835892, -0.0377432816, 0.0005195382, -0.0355248116, -0.0536094308, -0.0648793504, -0.0255800635, -0.0320338942, 0.0637494847, 0.0100884521, -0.041757673, -0.0099732541, -0.0367006063, -0.0818479508, 0.0086822864, -0.0393412672, 0.0048624496, -0.0066287005, -0.0587502569, 0.0125116464, -0.0233980846, -0.0330422521, 0.0109018227, -0.0743862838, -0.0088196928, 0.041471649, 0.0820456818, 0.0255451333, 0.0454226024, -0.0123453075, -0.047000505, 0.1514784098, 0.0723436996, -0.0096078906, 0.0147758229, 0.0488658063, -0.0916277766, 0.0039114407, -0.0036845526, -0.0260790978, 0.0521270186, 0.0940585881, -0.0180193111, -0.006551893, 0.0471894108, 0.004388331, 0.0196796004, 0.023071751, -0.0251238216, -0.0108321914, 0.0023934315, -0.0018581847, 0.0373725221, -0.0087898746, -0.0844198838, -0.0037711458, 0.0518877655, 0.0127042048, -0.0158314724, 0.0486328229, 0.0428762212, 0.0419935323, -0.0930798128, -0.0142688034, 0.0206226129, 0.0447759852, 0.0131987091, 0.0212875605, 0.0314476602, 0.0126159573, 0.00811157, 0.0297843311, 0.0022957977, -0.0092642726, 0.0290501323, 0.0355483778, -0.0056593991, 0.0589689836, -0.0896598771, -0.0563387796, -0.0626486838, 0.0024981189, 0.0359384567, 0.0223436486, 0.0292201471, -0.0349606015, -0.0116208773, -0.0020131138, 0.0422328115, -0.024454914, -0.0503523163, -0.0612651035, -0.02600177, -0.0217261929, -0.0171325002, 0.0543689132, 0.0204834472, 0.0790748894, -0.084101215, -0.032356564, -0.0163504053, -0.0639631152, 0.0356165692, -0.0225330219, 0.0075927321, 0.0109544033, -0.0138423732, -0.0822159797, -0.0327180736, 0.0165247004, 0.0473663099, 0.0039308588, -0.0036819447, 0.0218091626, -0.0423723795, -0.0331328623, -0.0117749926, -0.0105355196, -0.0065202564, -0.0309703723, 0.0144162672, -6.358685346e-33, 0.0103072878, 0.0168938376, -0.0095755272, 0.0216695759, -0.0207285192, -0.0030225073, -0.0101843383, -0.0326834694, 0.0200946461, -0.003006055, -0.0417188033, 0.0315328762, 0.0063485857, 0.0107259257, 0.0243831649, -0.0439951792, 0.0685904548, 0.0108449329, -0.0351340622, 0.0963415802, 0.0076954397, 0.0185089912, 0.0376875773, -0.0593511686, -0.0034246473, -0.0281739477, -0.0314836279, -0.0220897868, -0.0470118411, 0.0196897443, 0.0028539607, -0.0117358062, 0.0028260478, -0.0563907549, -0.0306246225, -0.026723709, -0.0786409751, 0.0010168401, -0.0289133508, -0.0090180682, -0.0209391005, -0.0078867702, 0.030760698, 0.0006620659, -0.001862675, -0.0336419009, 0.0218039677, -0.0206308495, 0.0052615334, -0.0751037747, -0.0444944911, -0.016852662, -0.0474906079, 0.0124306176, 0.0594257303, -0.0556251928, 0.0044135852, 0.007992818, -0.0461621135, 0.0211398154, 0.0251605492, -0.0546213351, 0.0664538816, 0.0456144996, 0.0725153163, 0.0546672381, 0.0265623406, -0.0166889895, 0.0091531044, 0.0220792051, 0.003231196, 0.0825942829, 0.0300495364, 0.0686029121, 0.0900087729, -0.0201952979, -0.0444339141, 0.0368962549, 0.0146597214, -0.0159476716, 0.0070873047, 0.0022730071, -0.0050157108, 0.004835017, -0.0654325783, -0.0799315199, -0.0150136659, -0.0219895896, 0.0304275118, 0.0249289274, -0.041506622, 0.0716308504, 0.0338160843, -0.0740188956, -0.0019126905, 0.012041959, -0.0019307788, 0.0295142066, 0.0180061832, -0.0226074681, -0.0283489935, -0.0206612833, 0.0478763841, -0.0152413528, 0.0650688335, -0.0022043209, 0.0830784887, 0.051236663, -0.012892141, 0.0143209165, -0.0249692053, 0.0240055975, 0.0463350639, -0.0112667084, 0.0083424496, 0.0348637737, 0.0011372463, -0.0164705515, 0.0059720441, 0.0448802672, -0.0451981127, -0.004859475, -0.0268043503, -0.0105238007, -0.0317564569, -0.0168182924, -0.0357911587, -0.040542338, 0.0533794388, -0.0654014573, -0.0385506749, -0.0159847979, 2.859e-7, -0.0004517044, -0.011056439, -0.0085821068, -0.012210561, 0.0043010386, 0.0247178636, -0.0019136701, 0.0787913054, -0.0021443984, 0.0034594808, 0.0153576499, 0.0229335055, 0.045989193, -0.0131299505, -0.0247675087, -0.0701219067, -0.0483796969, 0.0185908806, -0.0332710408, 0.0092303501, -0.0318325236, 0.0442465544, 0.0643278807, -0.0521034375, 0.072068952, 0.0055563571, 0.0339281596, -0.0429393537, 0.0430601984, 0.0185244735, 0.0316361301, 0.0207414683, -0.0088049034, -0.0043295166, -0.0361265801, 0.0143130096, -0.0118353684, 0.0245019086, 0.0087083196, 0.0064452207, -0.0608264655, -0.0469329543, 0.0541104786, -0.0171512254, 0.0263603982, 0.0105604092, -0.0208898727, -0.0350209698, -0.0364077613, -0.0438778698, 0.0144898072, -0.0005082544, 0.084353976, 0.0002287761, -0.0086800605, 0.0185851119, -0.0062247645, -0.0746746212, -0.0039019962, -0.053081952, -0.0297646411, -0.0226734057, -0.0161435641, -0.0228059776, 0.0420877747, -0.0632259101, 0.0284404997, 2.481238986e-34, -0.011021696, -0.0006365143, 0.057745479, 0.0152982259, 0.0224586725, 0.0104127415, 0.0293341316, -0.0366951562, 0.018737128, -0.0152072953, -0.026347613 ]
http://arxiv.org/abs/2406.11911v1
http://arxiv.org/pdf/2406.11911v1
A Notion of Complexity for Theory of Mind via Discrete World Models
2024-06-16T16:46:55
2024-06-16T16:46:55
X. Angelo Huang, Emanuele La Malfa, Samuele Marro, Andrea Asperti, Anthony Cohn, Michael Wooldridge
cs.AI
cs.AI, cs.CL, cs.LG
Theory of Mind (ToM) can be used to assess the capabilities of Large Language Models (LLMs) in complex scenarios where social reasoning is required. While the research community has proposed many ToM benchmarks, their hardness varies greatly, and their complexity is not well defined. This work proposes a framework to measure the complexity of ToM tasks. We quantify a problem's complexity as the number of states necessary to solve it correctly. Our complexity measure also accounts for spurious states of a ToM problem designed to make it apparently harder. We use our method to assess the complexity of five widely adopted ToM benchmarks. On top of this framework, we design a prompting technique that augments the information available to a model with a description of how the environment changes with the agents' interactions. We name this technique Discrete World Models (DWM) and show how it elicits superior performance on ToM tasks.
[ 0.0557419546, 0.0283577815, -0.03351634, 0.0257174857, -0.0864675194, 0.0114680659, 0.0045691351, 0.0145846792, 0.0595329776, -0.0091900276, 0.0063821208, -0.0611685179, 0.048885446, 0.0138295144, 0.0385328233, -0.0341686457, 0.0229843687, -0.0765871778, 0.0007155183, -0.0303865466, -0.0668917894, -0.0140315238, -0.0084634488, 0.0136444662, 0.0276211854, 0.0190009121, -0.0351422615, -0.0073776706, 0.044903364, -0.0354923196, -0.0641952008, 0.016948618, 0.0183985513, 0.0330864824, 0.000002179, -0.0851745903, -0.0086316913, 0.0169071537, -0.0236960351, -0.0096093956, 0.003892926, 0.0072080358, 0.0264029689, 0.0268757194, -0.0351259634, -0.0049569965, 0.030475378, 0.0597992018, 0.0034507436, 0.0502112247, -0.0098967561, 0.0088066394, 0.0118353786, -0.0225835964, 0.0264983196, -0.0928888917, 0.0552579835, -0.0191638414, 0.0658568665, -0.0324728973, -0.0147501742, 0.0207288004, 0.0004400611, 0.0281435605, -0.0261393748, 0.0100173932, 0.003893265, 0.0004885764, -0.0039038623, 0.0743047222, 0.0987854227, 0.025196366, -0.0024946257, 0.0060618697, 0.0256572217, 0.0417391211, 0.0251969658, 0.0367938057, -0.0089737615, -0.0017505592, 0.0120815299, 0.0478222184, 0.0134186707, 0.0065608867, -0.0356000476, 0.1040460616, -0.0116477003, -0.0074474341, 0.0046351049, -0.0181577746, -0.0318883583, -0.071239017, -0.0494388007, 0.0122098178, -0.0481687523, 0.0067547401, -0.0139788687, 0.0461692177, -0.0112992274, -0.020589361, 0.0814750344, 0.0392217226, 0.0367491096, 0.0649248958, 0.0146795148, 0.056455154, 0.0007230732, -0.0256192572, -0.0279893596, 0.005792981, -0.0679293051, 0.0247402731, -0.0495619886, 0.0388451628, 0.0081964107, -0.0252513159, 0.0190567728, -0.0073255943, -0.0439011417, 0.0206257738, -0.0282256752, -0.0320302919, 0.0179331135, -0.0125344321, -0.0485301055, 0.0072367857, -0.0680769309, 0.0193273295, 0.0069686845, -0.0606301501, 0.0052339099, -0.0389846079, 0.0330765359, 0.0220989436, -0.015668802, 0.0664532185, 0.0303535871, -0.0425170846, -0.0079136519, -0.0296847783, -0.0125116026, -0.0763712898, -0.0062488299, -0.0308994018, 0.0104637425, -0.0012243604, -0.0216234196, 0.0005516707, 0.0175784454, -0.041808717, -0.0588126667, 0.0668513402, 0.0106189726, 0.0264570266, -0.0021051697, 0.0193372313, 0.0101622725, 0.0351990834, 0.0102186892, -0.0243830979, 0.0204778649, 0.0348739363, 0.0440697111, 0.0298505649, -0.0162096117, 0.0175937433, -0.0138178617, 0.0083896639, 0.0340410098, 0.029742917, -0.0374711417, 0.0663009733, -0.0175670497, 0.0140200043, 0.0294149946, 0.0536460653, -0.0084050484, -0.0142980758, 0.0205417741, 0.0512172021, 0.021332914, 0.0335058942, -0.0418900251, 0.0418355763, -0.0579852797, -0.0274509471, 0.0316940807, 0.0019616929, -0.0499332584, -0.0196928214, -0.0098588774, 0.0155680589, 0.0708110407, 0.0110815465, 0.0266848318, -0.0233804546, -0.0327737704, 0.0240329243, 0.0204253476, -0.0210441072, -0.04683052, -0.0769530162, 0.019202387, 0.0390170328, 0.0428466387, -0.0366744027, 0.0030878901, -0.0062409095, 0.0067876587, 0.0476062484, 0.0645577759, 0.0090099499, -0.0069864383, -0.0154527063, -0.0272402409, -0.0335648619, 0.0225333311, 0.0295822453, -0.0049734227, -0.0098730205, -0.0130024143, -0.0168199856, 0.00639618, -0.0151286339, 0.0034223555, -0.0206807107, -0.0659061745, 0.0384740047, 0.0378888398, 0.0074289478, -0.0067824181, 0.0195447821, -0.0169337671, -0.0289840475, 0.0048898314, 0.020830499, -0.0124343652, 0.0135032497, 0.0348863155, -0.0120315002, -0.0031872208, 0.0607808642, 0.000910179, -0.0245991293, 0.0402151123, -0.0316584408, 0.0527342707, 0.0180547126, 0.0314361192, -0.0562926345, -0.0190106314, 0.0074794977, 0.0583161749, -0.0198904816, 0.0247245692, 0.00161464, -0.0425080024, 0.0447058082, -0.0053938879, -0.0140197659, -0.0117512895, -0.0062038917, -0.0105008585, 0.0375974774, -0.0118390508, -0.033881098, -0.0541763045, -0.0804543495, -0.0590203777, 0.0165879522, -0.0182214454, -0.0233075265, 0.0047154538, -0.0099315122, 0.0241192281, -0.0518398657, 0.0578966215, 0.0242670141, 0.0134195685, 0.0247507729, 0.0332474895, -0.0881993398, -0.0318230763, 0.0289831664, -0.026804734, 0.0294050798, 0.0128152892, -0.0538529046, -0.0392342508, 0.0577919893, -0.0564672388, 0.0507867448, -0.0512222499, -0.023366157, 0.0344351493, 0.0039917585, 0.0396616682, 0.0769244507, -0.0345260054, 0.0044202153, 0.062277019, -0.0141533893, -0.0183186885, 0.0082615204, 0.0222001802, -0.021612836, -0.0430422463, -0.0784501731, 0.0015352803, 0.0581625253, 0.0067772977, -0.0169147961, -0.0600812547, 0.0292865094, -0.0409810208, -0.0333395451, -0.0068937731, -0.0190424658, 0.0039575417, 0.0602460392, -0.0222564433, -0.0222419947, 0.0561832748, -0.0349089392, 0.0173837971, -0.0103036705, 0.0290656947, -0.0277282856, 0.0939121693, 0.035510473, 0.0495604575, 0.0508291572, 0.0088292789, -0.0597856678, -0.0541965179, -0.0096116476, -0.0004784754, -0.034244366, -0.0734932497, 0.0110304989, -0.0139511218, -0.0243900791, -0.009866355, 0.0193995684, -0.06202792, 0.0191379413, -0.0063364636, -0.0128173865, -0.0133735221, 0.0009702063, 0.0497739539, -0.0013756298, -0.0035459073, -0.0188945662, -0.0239949003, -0.0173364338, 0.0153220799, 0.0319071971, 0.0301384218, -0.0366551392, 0.0450880378, 0.0264306478, 0.0381304845, 0.0830879211, 0.0123203974, 0.0068870373, 0.0303314924, 0.0255742632, -0.0299859736, 0.0523714498, 0.0635755807, -0.0075207297, 0.0032365702, 0.0923040062, 0.0252205152, -0.0101138419, 0.0060246927, -0.0453575328, -0.0283091422, 0.0225662775, 0.0181951765, -0.029966535, -0.0011820975, 0.0252059307, -0.0368036777, -0.0462548807, -0.0725267977, -0.0049455781, -0.076747939, -0.0007595208, 0.0041206661, 0.0100978538, -0.0210133474, -0.0034217527, 0.0280281734, 0.0522213578, -0.0385459065, 0.0060335342, 0.0267013479, -0.0068328413, -0.0187098496, -0.0050769076, -0.0330917574, 0.0798839033, -0.0118552363, 0.1057348177, 0.0574731268, 0.0477702841, -0.0043099006, -0.0806656033, 0.0202243328, 0.0722607821, 0.0042915815, -0.0009441004, -0.0048447545, 0.0195169449, -0.0082417624, -0.0216931291, 0.0173783135, -0.0075689945, 0.0244584512, -0.0058435109, 0.0407080986, 0.0186504833, -0.0226905961, 0.0372020081, 0.009173301, -0.0013603988, 0.0800893083, 0.0288284849, -0.0395504981, 0.0282563027, -0.0216646288, -0.0302169248, 0.0084503181, -0.0363638066, 0.0076067965, 0.024151329, -0.0280544534, -0.0280525032, -0.0108669056, 0.0387760065, 0.0470713452, 0.0188632067, -0.0230234154, 0.0629005432, 0.0166077521, -0.0165189374, -0.0120945489, -0.0719785988, 0.0443559848, -0.0289274044, -0.026663715, 0.0139276534, -0.0266560707, -0.0080539463, -0.0170345344, -0.0383011289, -0.0506806299, 0.0025193072, 0.0094225099, 0.0316258967, -0.0008705626, -0.0111435857, -0.0244575664, 0.002491799, -0.0651627779, -0.0440770909, 0.0857293531, 0.0234436542, 0.0527720042, 0.0221667979, 0.0643666312, -0.0109071396, -0.0017044478, 0.0114427079, 0.0285556335, -0.020621324, -0.0186094642, 0.0022294498, 0.0327590294, -0.0167595856, 0.0187124796, -0.0099081667, -0.0018182236, -0.0380034521, -0.0312222056, -0.0244964063, -0.0807780325, -0.0141481385, 0.0300759133, 0.0517945215, 0.0186236016, -0.0648296997, -0.0087449057, -0.0120179569, 0.0286194496, 0.004304463, 0.003364502, 0.0212576687, 0.0436751321, 0.0052746618, -0.0253671296, -0.0070163296, -0.0473336615, 0.0152130723, 0.0217913669, 0.0925428048, 0.033718124, -0.0196919981, -0.0428763442, 0.0273956098, -0.0494255424, -0.1039963961, 0.0751665905, 0.0541289449, 0.0035472703, 0.0085134674, -0.0286114793, -0.054401841, 0.0200260263, 0.0126119955, -0.003412181, 0.0152085675, -0.0599132739, 0.0026067661, 0.0310983825, 0.0007321872, 0.0329486802, 0.0423431061, 0.0008125157, 0.0327422544, 0.0086918147, 0.0186419617, -0.0443476476, 0.0265837722, -0.0121605946, 0.0756201297, -0.0095318211, 0.0645512789, -0.1101821363, -0.0271276236, 0.019662682, 0.0262916815, -0.004884298, -0.0067941397, 0.0365176052, 0.0402887985, 0.0036706117, -0.0282735024, -0.0185860507, -0.0476405583, -0.0181001462, -0.0020822813, 0.0027052243, -6.514119495e-33, -0.060882736, -0.0341812149, 0.0043174261, -0.0181770138, -0.0259693898, -0.0150654251, -0.0688875094, 0.0399789736, -0.0244979113, -0.0103064021, -0.0062681451, 0.0021569664, -0.0108843017, -0.0099561876, -0.0346909761, 0.0015716702, 0.0080979532, -0.0166596696, -0.0519642271, -0.0314626284, 0.0015960984, -0.0411561504, -0.0088196844, -0.0527227893, 0.0487074926, 0.0286571085, -0.0105256578, 0.0231997538, -0.0265650284, -0.0322813094, -0.0325152352, 0.0214829184, 0.0179207101, -0.0318204649, 0.0079707969, 0.0167568438, -0.0338250734, -0.0463236086, 0.0591106601, -0.0265354775, 0.0063968939, -0.0420544781, -0.0265843812, -0.0037786749, -0.0284567028, 0.0184513647, 0.007167106, -0.0182860531, 0.000167045, 0.066045925, -0.0587876737, -0.0164347235, -0.0121535826, -0.0335371867, 0.0087346258, 0.0042783492, -0.0052096602, -0.0458011478, -0.0308121461, 0.0302556772, 0.061438296, -0.0095816497, 0.009347721, -0.0369048454, 0.0493852422, 0.0554977134, 0.057356637, 0.0132652689, -0.0280605052, -0.0263822097, 0.0088987667, 0.0650820881, 0.0172852296, 0.0395023301, -0.0182393473, -0.0199959651, -0.0362346657, -0.0076469649, -0.0030522994, 0.0263760667, 0.0441047251, -0.0100789284, -0.0691391528, -0.059676934, -0.0332352147, -0.0020550455, -0.0246702675, 0.0366390981, 0.020926103, -0.0006658528, -0.0357026272, -0.0882666484, 0.0292439107, -0.0519622862, -0.0034603185, -0.0214112829, 0.0178936962, 0.0390014909, -0.0040562144, 0.0066222278, -0.0403737947, -0.0315267891, -0.0307916682, 0.0221947301, 0.0313255005, 0.0079861209, -0.0496653579, 0.019199444, -0.0548256561, -0.0015431548, -0.0330529958, 0.0095592802, 0.0071440558, -0.0076960768, 0.0161819328, -0.0207903422, -0.0089595793, -0.0460157469, -0.0377902873, -0.0790426731, -0.0254342668, 0.0716977865, -0.0372460634, 0.015991563, -0.0216999575, -0.0318104066, -0.0375929438, 0.0195327234, 0.0684232563, 0.0274979323, -0.0215251911, -0.0092944568, 2.969e-7, -0.0490726195, 0.0386405401, -0.012164264, 0.0072647328, 0.0256901588, 0.0758957118, -0.0323452801, 0.013928595, 0.0145365745, -0.0321384892, 0.0024735255, 0.0612055473, 0.0295083355, -0.0019162699, -0.0509993806, 0.0058670482, 0.043224901, -0.0311975386, -0.0028797996, 0.0232667346, 0.0129600856, 0.0124204895, 0.0411046445, 0.0352752507, -0.0096729705, -0.0461054035, 0.0236018654, -0.083030872, 0.0272391494, 0.0008873059, 0.0160708427, -0.01617378, 0.0008174769, 0.0227249973, 0.0505935848, 0.0461732075, -0.0325489901, 0.0208922122, 0.0058619631, -0.005365368, -0.0274645053, -0.0299973208, -0.0296062604, -0.0344059728, 0.0354972929, -0.0496548265, -0.0705665424, 0.0254370626, 0.0550658293, 0.0023499851, -0.0235292949, 0.0623860024, -0.0212763455, -0.0089697568, 0.0031469085, -0.0330606587, 0.0432034135, -0.043931555, 0.029325366, -0.0662822649, 0.0167022347, -0.1058058664, -0.0275847092, -0.0069442028, 0.002703513, -0.0659162328, 0.0086949952, 2.77059266e-34, 0.0307587627, -0.004324934, 0.0478774272, -0.0189478528, 0.0584992878, -0.0260447506, -0.0658308938, 0.0107489983, 0.0502312258, -0.1123625562, 0.0016499786 ]
http://arxiv.org/abs/2406.10999v1
http://arxiv.org/pdf/2406.10999v1
Not All Bias is Bad: Balancing Rational Deviations and Cognitive Biases in Large Language Model Reasoning
2024-06-16T16:25:22
2024-06-16T16:25:22
Liman Wang, Hanyang Zhong
cs.CL
cs.CL, cs.AI
This paper investigates the nuanced role of biases in the decision-making processes of large language models (LLMs). While conventional research typically aims to eliminate all biases, our study reveals that not all biases are detrimental. By examining rational deviations, involving heuristic shortcuts that enhance decision-making efficiency, we highlight their potential benefits when properly balanced. We introduce the concepts of heuristic moderation and an abstention option, allowing LLMs to abstain from answering when uncertain, thereby reducing error rates and improving decision accuracy. Using our newly developed BRD (Balance Rational Deviations) dataset, our findings demonstrate that appropriately scaled bias inspection enhances model performance and aligns LLM decision-making more closely with human reasoning. This balance improves the reliability and trustworthiness of LLMs and suggests new strategies for future enhancements. Our work offers a fresh perspective on leveraging biases constructively to enhance the practical applications of LLMs, from conversational agents to decision support systems and beyond.
[ 0.051302623, 0.069477804, -0.0154401632, 0.0302567985, -0.0391608812, 0.0138020664, 0.0187051427, -0.0038716604, 0.0406010523, -0.0474772789, -0.0235839654, -0.0607401617, -0.0013162869, -0.0007402966, 0.0010762678, -0.0346958935, 0.0302616786, -0.0616192259, 0.1028269082, -0.0542111248, -0.0080818255, 0.0183592159, -0.0102443397, 0.0419704318, 0.0024116701, -0.0095674926, 0.0169055648, -0.0033643984, 0.0052046608, -0.0218841527, -0.0124716451, 0.0432203151, -0.0125576146, 0.0402450971, 0.0000021827, -0.0891183764, 0.0037105731, -0.0158865694, -0.0742166117, 0.0149417548, 0.0325987488, 0.0387967378, 0.0007257884, 0.0391957276, -0.039772369, 0.0330867544, 0.0343878232, 0.0286021791, 0.0162683856, 0.0293672327, 0.0032841007, 0.0096824495, -0.037679486, -0.0016175783, 0.002499654, -0.0640999004, 0.0264098924, 0.0271020439, -0.0216058102, 0.0081765987, -0.0094703063, 0.0101364497, -0.0019115891, -0.0137314843, -0.0243110601, 0.037867561, 0.0095182089, -0.0707479119, -0.0137673495, 0.0510444567, 0.0264258459, -0.0199065395, -0.0143587403, -0.0352679342, 0.0275452696, 0.0045864247, -0.0501598753, 0.0483525284, -0.0084211398, 0.0055815028, -0.0068455688, 0.0018635701, 0.0369011685, 0.0338781886, -0.0447153673, 0.0757643357, -0.0120922923, -0.021375386, 0.0302664451, 0.0033838055, 0.006020877, -0.0905557051, -0.0225765705, 0.0530899055, -0.0770877078, 0.0150701487, -0.0196765885, 0.041261375, 0.021212155, -0.0394587442, 0.0051278481, 0.0419721305, 0.0441496558, 0.0510893688, 0.0228666086, 0.0049348879, -0.0042479075, -0.0158136953, -0.0124978144, -0.0058739716, -0.0019716551, -0.0248658881, -0.0184208937, 0.0065127704, -0.0254887883, -0.0153820673, -0.0196731482, 0.0152577097, -0.0263103079, 0.0270384755, 0.0134694995, 0.0147939557, 0.0129936459, -0.0300057959, -0.0988264084, 0.0260363463, -0.0563708581, 0.0639988258, 0.0003201496, -0.0847577676, -0.0024199653, 0.0134779895, -0.0122295404, -0.0369549058, 0.0066501056, 0.0522217676, -0.0110283839, -0.0109359277, -0.0332346708, -0.0295445137, -0.019985063, -0.1053725854, -0.0257385392, -0.0571863614, 0.0119131459, 0.0387096852, -0.0201371666, -0.0439008437, 0.0060009779, 0.0064378888, -0.0609831475, 0.068747811, -0.0049593518, 0.0418426506, 0.0184598956, 0.0016128999, -0.0311949179, 0.0861150846, 0.0474351123, 0.0139839482, 0.0412897356, -0.0256922208, 0.0209643506, 0.0022669155, 0.0006051256, 0.0208708737, -0.039848946, 0.04272414, -0.0204758421, 0.0007670703, 0.0296604466, 0.0674205199, -0.0426750258, 0.0082869176, 0.094863385, 0.0428097472, -0.0224869177, 0.0128978547, -0.0007762689, 0.0304230861, -0.0040724524, -0.0256209951, -0.0632886365, 0.0271270517, -0.0325496569, -0.0129248397, 0.0266224165, 0.0282762796, -0.0299917888, -0.0417833775, -0.0065255794, 0.0178665388, 0.044859387, 0.0560769923, 0.0152199967, -0.0394118056, -0.009831992, 0.0723799318, 0.0045189708, -0.0335913673, -0.0371905118, -0.0580818392, 0.062523298, 0.0517130308, 0.0145843476, -0.0003076043, -0.0119859241, 0.0011949223, 0.015698038, 0.0091792019, 0.103049539, -0.0050254147, -0.0062433975, -0.0658648387, -0.0287752226, 0.0132994354, 0.0216977093, -0.005483666, 0.0212516896, 0.0208143387, -0.0033667921, -0.0540563203, -0.008250745, -0.007354483, 0.0078883749, -0.021749815, -0.0264388956, -0.000140902, 0.0423964076, -0.0090347556, 0.0106239878, 0.0244115815, -0.0037469168, 0.043243736, -0.0496882312, 0.0116710616, -0.0254422016, 0.0175393112, 0.0454255678, 0.0101400241, -0.044463139, -0.0203808807, -0.0171436146, -0.0273332968, 0.0174636561, -0.0255377404, 0.0087429481, -0.0156702213, 0.0340568163, -0.0333931707, 0.0081562391, -0.0316342935, 0.0485793352, -0.0008808496, -0.0106467325, 0.0181554612, -0.0082789324, 0.0103482716, -0.0504974909, 0.0018998026, 0.0277298186, 0.0164032187, 0.0116406325, 0.0270734783, 0.0041299718, -0.0481844693, -0.0312089603, -0.0795880184, -0.0182098821, 0.0042473688, 0.0064760647, -0.0150271859, -0.0087441336, -0.0186019242, -0.0009230272, -0.0214251988, 0.0003761804, 0.0357185118, 0.0444069952, 0.0186626855, -0.0191877913, -0.033912167, -0.0261040684, -0.0075303684, -0.0104595609, 0.0157184005, 0.0331736021, 0.0295112263, -0.0511139929, 0.0099855093, -0.0423185825, 0.0147223882, -0.0000396126, -0.0276473593, 0.017858211, 0.0094752274, -0.0149117196, 0.0737891719, 0.0036561319, -0.0014349745, 0.0546626486, -0.0097467601, -0.083040297, 0.0186967831, -0.0030909604, -0.0180903412, -0.0548686907, -0.0310268942, -0.031476099, 0.0502203107, 0.0049347035, 0.0010018976, -0.0563508533, 0.0662091896, -0.001816893, -0.0512246229, -0.0045446851, -0.0359065831, 0.0108651575, 0.1020508111, 0.0096966764, -0.0394632295, 0.0737678111, -0.0102332067, 0.0155578526, -0.0263876691, 0.0177454893, -0.0277178306, 0.0339648128, -0.0387094207, 0.0084058903, 0.0076171635, -0.0017798168, -0.0469179414, -0.0560302697, 0.0068125632, -0.0368727259, 0.0401662998, -0.0623976365, 0.0011214314, -0.0137828328, -0.0467692912, -0.040520478, -0.0264060572, -0.0924791172, -0.0013812407, 0.0496602394, -0.0242264327, -0.0507011004, -0.0008044694, 0.0217749644, -0.004207301, -0.0193671156, -0.0134792216, 0.0028740021, -0.0166616552, 0.0416809916, 0.0508344769, 0.0945271328, -0.008593047, 0.0578718893, 0.0572326258, 0.0152857462, 0.0112949535, -0.0052364431, -0.0091861682, 0.0430329591, 0.0025060819, 0.0047245696, 0.0554604754, 0.0695729256, -0.0179849658, -0.0000427022, 0.1222593784, 0.0300161541, -0.04019944, 0.003148044, -0.0578228123, 0.0633349419, 0.0344235003, -0.0008827743, -0.0631567016, -0.0476101376, 0.0373163968, 0.0168131422, -0.035381604, -0.0429635011, 0.0039576036, -0.1405166686, 0.0473366678, 0.0106408726, 0.0278902017, -0.0119311335, -0.0456503443, 0.0060361698, -0.0353885069, 0.0355801173, 0.0318800621, 0.0065286891, -0.0224200375, 0.0037278591, -0.0366874412, -0.0557434894, 0.0368539244, -0.0137826875, 0.0400217026, 0.0129021099, 0.0367011987, 0.002493494, -0.0206524488, 0.0393676311, 0.0029208895, -0.0124333836, -0.0114733912, 0.0275969077, 0.0144943036, 0.0004205029, -0.0391424559, 0.0416358151, 0.0048335674, -0.0104296105, 0.0229354203, 0.0762643889, -0.0220689159, -0.0310577936, -0.0205325224, 0.0180976037, 0.0242539328, 0.0879536942, 0.01266558, -0.0533597767, -0.0436287783, -0.0322712995, -0.0377111323, -0.0077157388, -0.019775698, 0.0223460142, 0.0334046409, 0.0143695893, -0.0196908247, -0.0468947664, 0.0363295265, 0.0082699964, -0.0027147152, -0.0371581018, 0.01231803, 0.0120024197, 0.02637114, 0.0338538326, -0.0517196245, 0.0446840227, -0.0158510171, 0.0464974381, -0.0223041624, -0.040773429, -0.0036444203, 0.0145024918, -0.0394127257, -0.0681176707, -0.0067469655, 0.0552097969, 0.0400384627, 0.0163045339, -0.0266480688, -0.0794976279, 0.0064821509, 0.0114603378, -0.0277549326, 0.0103000086, 0.0342294089, 0.0305051245, -0.000022836, 0.0542350784, -0.0282528084, 0.0081216358, 0.0111073973, 0.0516711846, -0.0433034077, -0.0601299405, 0.0124425292, 0.0120337149, -0.0007696192, 0.002146607, 0.0319145992, -0.0102541773, 0.0254377406, -0.0132164815, -0.0353626199, -0.0059987181, -0.0214912109, 0.0202248972, -0.0228934828, 0.0078947982, -0.0277127717, -0.0257296618, -0.0104636122, 0.0130999284, 0.0317321829, 0.0204331689, -0.0025116468, 0.0515337996, -0.0288351271, -0.015189196, 0.0192282181, -0.0066229017, 0.0249994267, 0.0351775102, 0.0733597949, 0.0320371687, -0.0300784074, -0.0291554816, -0.0277192332, -0.0499777198, -0.1181606576, 0.049560409, 0.0186862331, 0.0244025979, -0.0250820387, 0.037778981, -0.0393786617, -0.0032444391, -0.0079862652, -0.0182838161, 0.0314239822, -0.0110851564, 0.0593986623, 0.0342511982, -0.0496421829, 0.0025838544, 0.0520358197, -0.0298547074, 0.039980296, -0.0503582694, -0.0475937575, -0.0227521919, -0.0655040443, -0.0141234798, -0.0024911927, -0.0223352369, -0.0163788237, -0.0989722088, -0.0706721842, -0.0182033423, -0.0036017168, 0.0030420914, -0.0514706001, -0.0057163243, 0.064481996, 0.0025002905, -0.0257610604, -0.0232860446, 0.0041128737, -0.0553329811, 0.0328912698, -0.0823472887, -6.85475939e-33, 0.0052344608, -0.0340942293, 0.0116009274, -0.0527358875, -0.0000953959, -0.0441398472, -0.0133760758, 0.0210522003, -0.0392350256, 0.0230300333, -0.0342580937, 0.0312121678, 0.0249832775, 0.0030997037, 0.0215358529, -0.0215979572, 0.0366215371, 0.0266143419, -0.0546247326, -0.0264853816, 0.0023186104, -0.0270301644, -0.0052378802, -0.0519870743, 0.0276140738, 0.0068456475, -0.0130538493, 0.0522851571, -0.0401633643, 0.0532816984, -0.0004424357, 0.0374084078, 0.0026912026, -0.0244421829, -0.0089429468, 0.0542185791, -0.017433282, -0.0095395874, 0.0472904593, 0.0042693214, 0.0456551313, -0.0202759933, 0.0028415539, 0.0285308827, -0.0709862038, 0.0173137058, -0.0099358605, -0.04782461, 0.0049000676, 0.0353702158, -0.0269202068, 0.025273351, -0.0283632688, 0.004990614, -0.0148388138, 0.0702037588, -0.0205348507, 0.0310469866, -0.0352245122, 0.0322069861, 0.0469606891, -0.0229592994, 0.0566723868, 0.0046847025, -0.012385414, 0.0466689803, 0.0282019861, 0.0130570559, -0.0470037125, -0.042861823, -0.0064635244, 0.0340670682, 0.0321452245, 0.0587802231, -0.011181091, -0.0116341868, -0.0630957931, -0.0085471375, 0.0042059473, 0.0896154195, 0.0727125481, 0.0245358292, -0.0635948032, -0.0451587066, -0.0678284913, 0.0085918726, -0.0545513146, -0.0053867139, 0.0383520797, -0.0044771093, 0.0009562108, -0.0174765382, 0.0345401801, -0.0357219689, -0.0256135277, 0.0364367515, 0.006235661, 0.0048915814, -0.0040506204, 0.0323082767, -0.0490305834, 0.0013329493, -0.001726122, -0.0029229466, -0.0064073899, 0.0366860144, -0.023683466, 0.0042572119, -0.0356578194, -0.0057714074, -0.0313259587, 0.0273858197, -0.0067144544, 0.0127629954, 0.052513998, -0.0013543341, -0.0045332946, 0.0172348805, -0.0212695319, -0.0091773011, -0.0155888945, -0.0157047175, -0.0149305016, 0.0301486384, -0.0266027339, -0.01405749, -0.0209372137, -0.0145670194, -0.009199989, -0.0376395546, -0.0301608574, 0.0059155212, 2.887e-7, 0.0077991141, 0.0569035411, -0.0284670349, 0.0364294127, 0.0105098234, 0.0717590749, -0.0197559427, -0.0181794893, 0.0372624099, 0.0015142058, 0.0156951509, 0.0547740832, 0.0485519618, 0.051611729, -0.0261596888, -0.031783931, -0.0651894063, 0.0094638718, -0.0169903878, 0.0008465502, 0.0467248484, 0.066680178, 0.0042945328, 0.000976812, -0.0032534874, -0.0304129869, 0.0383967608, -0.0640145019, 0.0132877585, 0.0446062051, 0.056034334, -0.0156188179, 0.0267019887, 0.0546263121, 0.0327344239, 0.0264515691, -0.0451960303, 0.0761878043, -0.0020183176, -0.0271948911, -0.0382648744, -0.0386064127, 0.0228665415, -0.0954388231, 0.083447285, -0.0387624055, -0.0532662347, -0.0403894037, 0.0130136106, -0.0369001143, 0.019493239, -0.0069670524, -0.0109822974, -0.0018831289, 0.0009101381, 0.0153418919, 0.0148748234, -0.0644301251, -0.0219993666, 0.0209945757, -0.0341392122, -0.0876994357, 0.0072586769, 0.0323527269, 0.0393195972, -0.0324704275, 0.0296717118, 2.479622911e-34, 0.0677772313, 0.0105807194, 0.0121827656, 0.0252135005, 0.0773854479, 0.0165619068, 0.0061798906, 0.0072387387, 0.06359905, -0.0776231959, -0.0032513365 ]
http://arxiv.org/abs/2406.10996v1
http://arxiv.org/pdf/2406.10996v1
THEANINE: Revisiting Memory Management in Long-term Conversations with Timeline-augmented Response Generation
2024-06-16T16:17:46
2024-06-16T16:17:46
Seo Hyun Kim, Kai Tzu-iunn Ong, Taeyoon Kwon, Namyoung Kim, Keummin Ka, SeongHyeon Bae, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo
cs.CL
cs.CL
Large language models (LLMs) are capable of processing lengthy dialogue histories during prolonged interaction with users without additional memory modules; however, their responses tend to overlook or incorrectly recall information from the past. In this paper, we revisit memory-augmented response generation in the era of LLMs. While prior work focuses on getting rid of outdated memories, we argue that such memories can provide contextual cues that help dialogue systems understand the development of past events and, therefore, benefit response generation. We present Theanine, a framework that augments LLMs' response generation with memory timelines -- series of memories that demonstrate the development and causality of relevant past events. Along with Theanine, we introduce TeaFarm, a counterfactual-driven question-answering pipeline addressing the limitation of G-Eval in long-term conversations. Supplementary videos of our methods and the TeaBag dataset for TeaFarm evaluation are in https://theanine-693b0.web.app/.
[ 0.0562253371, 0.0645132959, -0.0296936166, 0.0165598113, -0.0461360738, -0.0067211823, 0.0067946357, -0.0112187099, 0.0295560546, -0.0399228595, 0.0137058888, -0.0405189693, -0.0076962821, 0.0569647364, -0.0290013459, -0.0534244105, 0.0518972054, -0.0083641503, 0.0269253198, 0.0059769088, -0.0004057248, -0.0074260668, -0.0162216816, 0.022826409, -0.0261754617, -0.0306595657, -0.0478161611, -0.0110180508, 0.0130416593, -0.0488516465, 0.0111899935, 0.0285663176, -0.010135483, 0.0342300683, 0.0000020461, -0.0351629891, -0.0000549979, -0.0326103643, -0.0286051035, 0.0289226566, -0.0151909012, 0.0530626215, -0.0009690415, 0.0112888683, -0.0679552779, -0.0205101166, 0.0135851521, 0.0449540429, 0.0820498765, 0.0586257428, -0.0069345646, -0.0196310636, 0.0323591977, -0.0220834743, 0.045777306, -0.0433350466, -0.0100237606, -0.0164444689, 0.0256867371, 0.0087897973, -0.0178826656, 0.0344933234, 0.0520385541, -0.0137761096, 0.0110776732, 0.0511483923, -0.0035989359, 0.0089147696, -0.0331994146, 0.0733566657, 0.0718423352, -0.0129237259, -0.0020730037, 0.0142480666, 0.0050278939, -0.0063124378, -0.0673017055, -0.012532034, -0.0109258732, -0.0195690133, -0.0118348459, -0.006167091, -0.002423886, 0.0285860896, -0.013560418, 0.0614682436, 0.0176878721, -0.0040429845, -0.0626111627, -0.0249863695, 0.0240540374, -0.0660177767, 0.0171809327, 0.0597966537, -0.0518939607, 0.0006889168, -0.0117436787, 0.0348879248, 0.0298033394, -0.0377787836, -0.0179225896, 0.0226586387, -0.022256067, 0.02446343, -0.0235323925, 0.0681752339, -0.0339788608, -0.0666951537, -0.0329977274, -0.0068199914, -0.041777283, -0.0271286108, -0.0391227491, 0.0093493294, -0.0563029833, -0.0057679997, -0.0092175705, 0.0573320128, 0.0040057683, -0.0069957888, -0.0241883751, 0.0484715253, -0.0183984879, 0.0021342845, -0.0676201954, 0.029735731, -0.0705179051, -0.0025629043, 0.0367698446, -0.0787676871, -0.0470734276, 0.0101325493, 0.0089849168, -0.0229356568, -0.0231806636, 0.0519631654, -0.0244316198, 0.0141010629, -0.0177976992, -0.0424171686, -0.0491084866, -0.0744426996, 0.0198223889, -0.0380493104, 0.0141515285, 0.0121238185, -0.0341463797, -0.009596074, 0.0291919392, 0.0290741809, -0.0366499871, 0.0260242615, 0.0438118204, 0.0052121058, 0.0346527696, 0.0219590515, 0.0098355059, 0.0092610065, 0.0579885542, 0.0139546338, 0.0130047547, -0.0077257589, 0.0281694718, 0.0054028905, 0.0384334214, -0.0273175314, -0.0359306373, 0.0263601765, 0.0213932432, 0.0300571099, 0.01422452, 0.0368955322, -0.0128260758, -0.029623149, 0.0533780977, 0.0126966648, -0.0342046544, -0.003790624, 0.0372084789, -0.0310847051, -0.0110504748, 0.0539358221, -0.0351545177, 0.0464406163, -0.0049679708, -0.000793961, 0.0163293574, 0.0205181539, -0.0280590598, -0.0263714176, 0.027676126, 0.0094526801, 0.0154451253, 0.0312004592, -0.0009622464, 0.0200590249, -0.0593181029, 0.0606114715, -0.0272206739, -0.0453372598, -0.0108485427, -0.0546836816, 0.0405066982, 0.0920352638, 0.0672358945, 0.009336221, -0.0439815782, -0.0116225472, -0.015884975, 0.0256350208, 0.0399244092, -0.0260131042, 0.0353718922, -0.0304320306, 0.0005360555, -0.0056498088, 0.0006213231, 0.0343335681, 0.0317298844, 0.0135634756, 0.0216065515, 0.0304376483, 0.037805669, 0.0051549333, -0.050919421, -0.0362932421, 0.0094462931, -0.0207254179, 0.0136964191, 0.0155684622, 0.013319023, 0.0191615745, 0.0519126654, -0.0370443612, -0.0143955424, 0.0517269783, -0.1039511189, -0.0623747818, 0.0163798518, 0.0236825962, 0.0087497048, 0.0084994826, -0.0230052508, -0.0848561004, 0.0366857052, -0.014538113, 0.0750319585, -0.0442782231, 0.0154434945, 0.0346999355, 0.0139211183, -0.0520723537, 0.0596011803, -0.016034117, -0.0133650471, 0.0174328517, 0.0376693457, 0.0125473561, -0.0369971655, 0.0028987189, 0.0459772386, -0.000333119, -0.0141283469, 0.0442704782, -0.0064060544, -0.0956797078, -0.0211701468, -0.1276277602, 0.0366270803, -0.0168673582, -0.0062969532, 0.0102938795, 0.0285276398, -0.0092383614, -0.0447949693, -0.0485214517, 0.0359975249, 0.0504703708, 0.0026230633, 0.0179018863, 0.0406043157, -0.0078683272, -0.0561106242, 0.004761321, -0.001611435, 0.0533841439, -0.0022222081, -0.036822401, 0.0048509524, -0.0144334845, -0.0313317552, 0.0480445214, -0.0195527822, -0.0285365488, 0.0123127149, -0.0149689326, 0.0772000998, 0.0578123033, 0.0423357226, 0.0048278784, -0.0150494175, -0.0688929558, -0.0747663304, 0.0498234704, -0.0457048528, -0.0301144905, -0.0170403887, -0.015715437, -0.0283432771, 0.0649274886, 0.00238365, 0.0084819579, -0.0235506911, 0.0043606684, 0.0266768597, -0.0164014902, 0.0096215904, -0.0225425754, -0.0498659126, 0.0109260594, -0.0332395248, -0.0551888347, 0.0489909463, -0.0128168482, -0.019354973, -0.026055498, 0.0243606344, -0.0194605459, 0.1217454746, 0.0234992187, 0.0007060244, 0.0072597764, -0.0157275014, -0.040867582, -0.0205446128, 0.0012801054, -0.0473825224, 0.0159472357, -0.0584021844, 0.0132209975, 0.0012589551, -0.0054819207, -0.0995532647, -0.0314033739, -0.0129231913, -0.0074059698, -0.0497206524, 0.0003706226, -0.0515884086, -0.0001404927, 0.0143349404, 0.0503618084, -0.0291991532, 0.0008532371, -0.0097783823, 0.0804511309, 0.0640906692, -0.00298451, 0.0189494696, 0.0045345072, 0.0784068108, 0.0520155318, 0.0737995207, 0.0051334212, 0.013039331, -0.0189266764, -0.003612974, -0.0036026516, -0.0057086847, 0.0308367983, 0.0317149982, -0.0626131594, -0.0469315872, 0.1003838256, 0.0541993901, -0.0230667852, -0.0067173275, -0.0151017131, 0.0568839535, 0.0255343113, -0.0000629614, -0.05423503, -0.0202510953, 0.0006393621, -0.0124394419, -0.0287556481, -0.0388431922, -0.0273438562, -0.1205701903, -0.0010970042, 0.0059175156, -0.0337827578, 0.0282428972, -0.0132183712, -0.0113601498, 0.0517797023, 0.0427274518, 0.021964293, 0.0045020226, 0.0007854207, 0.0057996009, -0.0308018159, -0.0194634572, 0.0295192823, 0.0108319819, 0.0790988803, 0.0556127168, 0.0425759405, 0.0319604203, 0.007439666, 0.0356940329, -0.0276473332, 0.0199191812, -0.0216010176, 0.0583444983, 0.0185729526, 0.0041442164, -0.002808982, 0.0220814366, -0.0120047061, -0.0363732465, 0.042539984, 0.0586364493, -0.0689271614, 0.0095867896, -0.0015757276, 0.031511005, 0.0361645743, 0.0675540045, 0.033723373, -0.0452745296, -0.0597517975, 0.00324123, 0.0107435733, -0.073562406, 0.0191762671, -0.016037697, 0.0543402024, 0.004410394, -0.0836770982, -0.0845957175, -0.0061699296, -0.0067341304, -0.0235633161, 0.0009799791, -0.0362476334, -0.0124599319, -0.0436222963, 0.0262565184, -0.0197201576, 0.0038103387, -0.0292661395, -0.01179488, 0.0312425848, -0.0145608718, 0.0083850306, 0.0773474425, -0.0952997208, -0.0336211435, 0.0259628687, 0.0578401275, 0.0247157235, 0.0656309202, 0.0151719013, -0.0011937276, 0.0091793323, 0.0186989568, -0.0497680232, 0.0002729779, 0.0162828974, 0.0298735127, -0.0281593185, 0.0235499032, -0.022408545, 0.0161355771, -0.0046922318, 0.075782381, -0.0262701251, -0.0438129231, 0.0113246646, -0.0480948649, 0.0414125882, -0.0016045233, -0.0052922294, -0.0013200744, 0.0256166756, -0.0438742377, 0.004642209, -0.0335402973, 0.0053335303, -0.0089265481, -0.0260157082, 0.0097354101, -0.0439242572, -0.0273911804, 0.0446808226, -0.0198180694, -0.0165007692, 0.0417183414, -0.02835311, 0.0088805687, 0.0035094696, -0.0175404586, -0.0148148304, 0.0272558555, 0.0352317244, -0.0145983743, 0.0949097872, 0.0005467153, -0.0199889466, 0.0017441799, -0.0062333909, -0.1146414503, -0.0264429543, 0.0145593043, 0.027582204, 0.0599305183, -0.0129766297, 0.0475490429, -0.0105492333, 0.0158637725, -0.0291296374, 0.016500283, 0.0280741006, -0.0356165357, 0.0025295482, 0.0093625579, -0.0367663354, 0.0491921827, 0.0487511382, -0.0284112953, 0.0619001016, 0.0184921324, 0.0046377662, -0.0311975498, -0.0735684633, -0.0180157516, 0.002297522, -0.0073700259, 0.0001533782, -0.0600439198, -0.032642018, 0.0156646241, 0.0022615739, 0.0040688184, -0.0212400705, 0.0248579886, 0.031000061, 0.0218397193, -0.0417980812, -0.0412681773, 0.0552444384, -0.0347804055, -0.029080689, -0.0812755898, -6.287443041e-33, -0.0404972471, -0.0477553457, 0.0370072313, -0.0290729515, -0.0671740398, 0.00137328, -0.0685889199, -0.0004343324, -0.0231053289, -0.0079341745, -0.0357579812, 0.0300081279, 0.0075529534, 0.0374641269, 0.0090679564, -0.0434012562, 0.0588000268, -0.0078984285, -0.0155699924, 0.0857454985, 0.055373922, 0.0494017527, 0.0040673246, -0.0346781053, 0.0267841723, -0.0177901238, 0.0171399489, 0.0346505791, -0.0010872084, 0.0667533129, -0.0492819622, 0.0260388609, 0.0185825992, -0.0414261296, -0.012138851, 0.0371779427, -0.0832224116, -0.0107713984, 0.028849503, -0.0117501272, -0.0309473462, -0.0438594893, -0.0027911591, -0.0191208031, 0.0146522596, 0.0029641029, 0.0083423657, -0.0109480722, -0.0257950015, -0.0052087968, -0.0348133668, -0.0004851868, -0.0103356075, -0.0249470286, -0.0429506153, 0.0511045419, 0.0382212177, -0.0123816561, -0.0350982174, -0.0070522386, -0.0308712106, 0.0021724924, 0.0370199606, 0.0469733402, 0.0064974385, 0.0565155223, 0.0251286291, 0.0122566726, -0.0200371202, -0.0102091916, 0.0012419204, -0.01270176, 0.0146523453, 0.0090973582, 0.0204073731, -0.0119528258, -0.0334253423, 0.0175339393, 0.0131558971, 0.0618650913, 0.0227481145, -0.008814442, 0.003452182, -0.0126588121, -0.023819847, 0.04910836, -0.0166711435, -0.0091051552, 0.034881141, 0.0171287302, 0.0005759383, -0.0380394645, 0.0541667417, -0.0289679263, 0.0127267651, 0.0561156049, -0.035291668, 0.0023220428, 0.0057039848, 0.0646114945, -0.0304605309, 0.042275928, 0.0401613563, 0.0108136134, -0.000492977, 0.0248690695, -0.0023075426, 0.0155995293, -0.0627600998, 0.0073573589, -0.037240494, 0.0663789958, -0.0481849164, -0.0224306174, 0.0149534186, 0.019328, -0.0200983174, 0.0470845588, 0.0058957208, 0.0064766281, -0.0285756681, -0.0508868657, 0.016676819, 0.0058830376, -0.0217459965, 0.0191270486, -0.0216056351, 0.0441004597, -0.0015721306, -0.0250289068, 0.0111629115, 0.0171354376, 2.621e-7, -0.0187445302, 0.013747042, 0.0669496879, 0.0206737164, 0.0404804163, 0.01106402, 0.0163320825, 0.0054642078, 0.0287517682, 0.0001882866, 0.0017255639, 0.0366645977, 0.0508159287, 0.0312369652, -0.0290276855, -0.0192024205, -0.0856111944, -0.0450508222, -0.0474743806, -0.0251546931, 0.0889713541, 0.0524194203, 0.0313608386, -0.0100438483, -0.0134916632, -0.0074536172, 0.0664429292, -0.0513149984, -0.0334801637, 0.0108213304, 0.0160172824, -0.0061016134, -0.0036311061, 0.0077828891, -0.0154840555, 0.0036754976, -0.0627574697, 0.0396402031, 0.0122081432, -0.0942562222, -0.0287359059, 0.0024964123, 0.0119444607, -0.0453489684, 0.0708002895, -0.0313049331, -0.0108541362, -0.0117236022, -0.0031260396, 0.0084511442, -0.0085600745, 0.0045005507, -0.0364398584, 0.0317699723, -0.0074063037, 0.0172497183, 0.0315562822, -0.0849919543, -0.0394357592, 0.0221933685, -0.0582279302, -0.0472944789, -0.0279540215, -0.0050819423, -0.0084057115, -0.042311281, 0.0040221871, 2.344185758e-34, 0.0269694421, 0.0021733514, 0.0018880384, 0.0314048529, 0.0278477874, -0.0071631186, 0.0185774136, 0.0151184164, 0.0625657439, -0.0734346882, -0.0259556416 ]
http://arxiv.org/abs/2406.10993v1
http://arxiv.org/pdf/2406.10993v1
CoSTA: Code-Switched Speech Translation using Aligned Speech-Text Interleaving
2024-06-16T16:10:51
2024-06-16T16:10:51
Bhavani Shankar, Preethi Jyothi, Pushpak Bhattacharyya
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
Code-switching is a widely prevalent linguistic phenomenon in multilingual societies like India. Building speech-to-text models for code-switched speech is challenging due to limited availability of datasets. In this work, we focus on the problem of spoken translation (ST) of code-switched speech in Indian languages to English text. We present a new end-to-end model architecture COSTA that scaffolds on pretrained automatic speech recognition (ASR) and machine translation (MT) modules (that are more widely available for many languages). Speech and ASR text representations are fused using an aligned interleaving scheme and are fed further as input to a pretrained MT module; the whole pipeline is then trained end-to-end for spoken translation using synthetically created ST data. We also release a new evaluation benchmark for code-switched Bengali-English, Hindi-English, Marathi-English and Telugu- English speech to English text. COSTA significantly outperforms many competitive cascaded and end-to-end multimodal baselines by up to 3.5 BLEU points.
[ -0.0013039488, 0.0129207727, -0.0013000628, 0.018956434, -0.0434024557, 0.0111149875, 0.0259639975, -0.0078379847, -0.0202095173, -0.0248179417, -0.0840178728, 0.0034924068, 0.0399616361, 0.0547896624, 0.031145867, -0.0289936177, 0.0362708755, -0.0352846868, -0.0300835129, 0.0068552038, 0.045690272, 0.0329230763, -0.0387466662, -0.0005244751, -0.0264143962, -0.0198122002, 0.0201120917, 0.0364775211, 0.0206641648, -0.0301593449, 0.0033751035, -0.004893844, 0.0238114744, 0.0517378971, 0.0000018559, -0.0055621658, -0.0348568857, -0.0053535067, -0.0265782997, -0.0022952484, 0.0558318309, -0.0269565657, 0.0135108531, 0.0549121946, -0.0082113612, 0.0042021084, 0.0806122422, -0.0311940685, 0.037452165, 0.1093121693, -0.0388178043, -0.0685710087, 0.0093602212, -0.0192169454, -0.0578105748, -0.0480694957, -0.0244596414, -0.0310903024, -0.0137421014, -0.005338293, -0.0281139966, 0.0561519228, -0.0047373702, -0.0107003702, 0.0264996625, -0.0358614288, -0.0335322358, -0.0225844458, -0.0153187262, 0.078990072, -0.0552621968, -0.0109103918, 0.0302908681, -0.0363077037, -0.0565247871, -0.0855852216, 0.0111549003, -0.0056254272, -0.0238544736, 0.0127233882, 0.0213050973, 0.0868884921, 0.0216834452, -0.0390631407, -0.0294171385, -0.0478172265, 0.0231378507, -0.0176400486, -0.0175445098, -0.0332359448, 0.0246406682, 0.0184478313, 0.0715855211, -0.0111212656, -0.0308676995, 0.0190863814, -0.0313295163, -0.0618576482, -0.0267694443, -0.0339711457, 0.0423050784, 0.0670615733, -0.0355976745, 0.0045999326, -0.0095791034, 0.07359308, -0.0407202877, 0.0282594059, -0.0226309747, 0.0016987213, 0.0072933384, 0.0050845328, -0.0086423876, -0.037661057, -0.0428599603, -0.011954275, -0.0159116052, 0.028904099, 0.005956667, 0.0005547713, 0.0368101485, -0.0406463929, -0.0298423972, -0.0404748954, 0.0426321328, 0.0444995947, 0.0066295564, 0.0188626852, 0.0251450967, -0.0668300092, 0.0013711586, 0.0326787159, -0.0043672635, -0.0169398244, -0.0202072188, 0.0533289462, -0.0475883745, -0.0307814945, -0.0467166454, 0.0467801392, -0.0337714776, -0.0533095226, -0.0179395713, -0.0422767624, 0.0744196177, 0.0174598265, 0.0307484865, -0.0542254485, -0.0113026602, -0.0147223426, 0.0144783771, 0.0785008967, -0.0276722349, 0.0038467855, 0.0400223993, -0.0067772856, 0.0117529454, 0.071344234, 0.0566220582, -0.0041257632, 0.0206785854, -0.0361311436, 0.0077156392, 0.0740304142, -0.0021697825, 0.0156673584, -0.0069433809, 0.0097321589, 0.0383616984, 0.0365010276, 0.0291371029, 0.0328654982, -0.0147574553, 0.015067162, -0.0047497479, 0.0079066232, 0.0260040183, 0.0444934927, 0.0333406776, 0.0186999217, 0.0047602444, 0.0049278629, 0.0244053882, 0.0116251847, 0.0032632379, -0.027496146, 0.0781055167, 0.0289145596, -0.0333597921, 0.0237157214, -0.0115025314, -0.0416987389, 0.0227942858, -0.0298950151, 0.0111551192, 0.0225849953, -0.0602897927, 0.016168369, -0.0082293823, -0.0647912249, 0.0534090772, -0.0341813341, -0.0494970195, 0.0433262326, 0.0068561761, -0.0299517512, 0.0282695256, -0.0276969969, -0.016536409, 0.0332216471, 0.0187606737, 0.023075683, 0.0546353199, -0.0710906908, 0.0467198715, 0.0307334922, -0.0279112607, 0.040441364, -0.0273310412, 0.0311051849, 0.0041683, 0.0259753224, -0.0249867328, 0.0139634218, -0.0387712754, 0.0222114548, 0.0233862698, -0.0024216569, 0.0578104481, -0.0265596788, -0.034069892, 0.0108972201, 0.011708186, -0.0086874804, 0.0047712727, 0.0384226851, -0.0451517776, -0.0458827876, 0.0082602091, -0.0552333146, 0.0360205062, 0.0317094103, -0.0025860542, -0.0786808655, 0.0171982739, -0.0243133232, 0.0220351983, -0.0058309198, 0.0741627514, 0.0230186693, -0.0007344275, -0.0101432558, -0.0156416278, 0.0163552444, -0.0075420402, 0.0020316984, 0.0123646613, 0.0448859781, -0.0311553348, 0.0372833833, 0.0558631197, 0.0120920753, 0.0308340751, 0.0080413809, -0.0098428018, -0.0179395229, -0.0376119018, -0.0943381265, -0.0043705301, -0.0127341831, 0.0195443574, 0.015138383, 0.0457027406, -0.0022382794, -0.0223867837, -0.0172998905, 0.0071329325, 0.02646471, 0.0010172946, -0.0325465091, -0.0202637352, 0.0199537408, -0.0150797758, 0.0009246865, 0.0240032859, 0.0409091786, -0.0404720716, -0.0355848707, -0.0730338991, 0.0056224684, 0.0322444737, 0.0086901942, -0.0245246887, -0.0707636327, -0.0058761225, -0.0155746825, 0.033467412, 0.007801834, 0.0119392732, -0.0585797317, -0.0180599876, -0.0311237201, -0.0416323207, -0.031044988, 0.0519491658, -0.0144280046, -0.0369991325, -0.0013402008, 0.0164757911, 0.0498909205, 0.0186161697, 0.0493078865, -0.0617367886, -0.0832255185, 0.0003358599, 0.0083212741, 0.0106974794, 0.0018109016, -0.041331958, 0.0587529019, -0.0435429439, -0.0406978391, -0.0024442063, -0.0786679462, -0.0271443315, -0.0957542285, 0.0049702046, -0.0299748313, -0.0018674136, -0.0336304978, -0.0008305903, -0.0364599712, -0.0410493724, -0.0265264865, 0.0303009097, -0.0210695509, -0.059096802, -0.0018039363, -0.0650691316, 0.0356272273, -0.0401749387, -0.043282304, -0.0031364199, -0.0485030077, -0.024027016, -0.0168653894, 0.0687694773, -0.041849073, 0.023768723, 0.0496385619, -0.0207497776, 0.0824298635, 0.0129950205, 0.0367770754, 0.0023084525, 0.0365811847, -0.0051447656, -0.0052199648, -0.0210379567, -0.0109073976, 0.0345373191, -0.0409354083, 0.0400543548, 0.0188053288, -0.0476039276, -0.0020396218, 0.0363548025, 0.0250955746, -0.0281399917, -0.0160187148, 0.0352196991, 0.0048390129, -0.0108660487, 0.0683073848, 0.0064933705, -0.0625282824, -0.0467639938, -0.0145914508, 0.0425224602, 0.0211983472, 0.0188606679, -0.0814977735, -0.0233438816, 0.0412805527, 0.0061704605, 0.0168008879, 0.0280483514, -0.0574352741, -0.0461324044, -0.0223129895, 0.0452420115, -0.0440752506, -0.0572369359, 0.0176904928, -0.0468294807, 0.003641254, 0.0049057938, 0.0328313708, -0.0342287868, -0.0496525951, 0.0495080352, -0.0281906668, 0.0030813327, -0.0272029508, 0.0047198813, 0.0650140792, 0.0726058334, -0.0063463575, -0.0047637201, -0.0346571691, 0.0369970463, -0.0191549025, -0.0143682258, -0.0130276792, 0.0205385908, -0.0324085876, -0.0109673487, 0.0445782803, 0.016082732, -0.0135092614, -0.0024392942, 0.0112606622, 0.0330805108, 0.001268985, 0.036499802, 0.0316004492, 0.0109802354, 0.0188959483, 0.0091880234, 0.0190027095, -0.0611103922, 0.0152075738, 0.0005943456, 0.0299432147, -0.0349301957, -0.003910454, 0.0204898994, -0.0371195748, -0.0258724745, -0.0192248356, 0.0095770303, 0.0059177754, 0.0562063009, 0.0235762838, 0.0264631622, 0.0005479295, 0.0030765499, -0.0132122878, -0.0234183818, -0.0512699597, 0.0596909672, -0.1035490781, -0.0057676076, 0.0207997393, -0.0509014241, -0.0050441884, -0.006129601, -0.0631888956, -0.0481148437, 0.0293902718, 0.0212533288, 0.0212962367, 0.0375955328, -0.048756741, -0.0250787325, 0.0138741061, -0.0464947373, -0.0682179853, 0.0047089104, 0.0655282065, 0.0041796514, -0.0155821349, 0.0152516617, -0.0171118714, -0.0179014355, -0.0181724224, 0.0015151289, -0.0105120325, -0.0302821193, 0.004306192, -0.0048696944, 0.028110167, -0.0682065785, -0.0205172617, -0.0153865656, 0.045524437, 0.0318254195, 0.0102118598, -0.0275542904, -0.0250010248, 0.0813294202, 0.0105260061, -0.0153857199, 0.0243035089, -0.0196387842, -0.0209584925, 0.024746282, 0.0567526668, 0.0284896363, 0.0851579383, 0.0304084867, 0.0313500948, -0.0154625764, 0.0380031653, 0.0046064076, 0.0172683876, -0.0302167051, 0.0641448498, -0.0008291287, -0.0046968386, 0.0431777649, 0.0664670542, 0.0129536567, 0.0077980678, 0.0037043679, -0.0263297539, 0.0449285097, 0.0325827785, 0.1133401915, 0.0474476553, 0.0234041363, -0.0350340083, 0.0513379946, -0.0577639192, 0.0112367962, -0.0015783623, -0.0301439986, -0.0165727939, 0.04568097, 0.0293861404, -0.0068980879, -0.0098540979, -0.0086838966, 0.0293214656, -0.0136410268, -0.0194376241, -0.0060621463, 0.0052403621, 0.0206579845, -0.0518910885, -0.0074308878, -0.0405717231, 0.0316409096, -0.021377245, 0.0332392342, -0.0302162208, -0.0006951569, 0.0406768061, -0.010744499, 0.0317861326, -0.0326392315, -0.0246621314, 0.0636150762, -0.0395528264, 0.0063080271, -5.897784664e-33, -0.0247071534, 0.0552107878, -0.0037214756, -0.0141160013, -0.0637290552, -0.0058358107, -0.0125294235, -0.028623784, 0.0028157814, -0.0390178449, -0.028377926, 0.0192532074, 0.0162132327, -0.0064107119, 0.0019007971, 0.0154268062, 0.0561071932, -0.0062271194, -0.012135881, 0.0436094031, 0.0337894745, 0.0217914972, 0.0368699208, -0.0283992849, -0.0527082533, -0.0344139896, -0.0321800262, -0.0113744643, -0.0324682258, 0.0071712863, -0.0081851576, 0.0077078091, 0.0073972414, 0.011074258, -0.0170083866, 0.0375210494, -0.0717631802, 0.0711482763, 0.0188095458, 0.0955866426, -0.0213468857, -0.0558516644, 0.0229581427, -0.036499396, -0.0103065055, 0.0005229167, -0.0222038254, -0.0070780828, 0.0060870992, 0.0030700236, -0.0798039585, 0.0461781211, -0.0283454079, -0.0103705972, 0.0461472608, 0.0851577893, -0.0069727409, -0.0143192736, -0.079716824, 0.0008557659, -0.0122254146, 0.0400404595, 0.0359883271, 0.0510878526, -0.0499502085, 0.00893493, 0.0801391974, -0.063654691, 0.0734852031, 0.0221992582, 0.0392663814, -0.0117724324, 0.0004125497, 0.0118075348, 0.0315429009, -0.0815727711, -0.0086337607, -0.0327075794, 0.0127193527, -0.0022422383, 0.0257180724, 0.0492853113, 0.0005099065, -0.0259847064, -0.0310078803, -0.0521960668, -0.0136625897, -0.0332744569, 0.0566802472, -0.0012336724, 0.0120327566, 0.0061990577, 0.0986441299, 0.0026861092, 0.0134745073, -0.012891422, -0.0190983862, 0.0524685569, -0.013204298, 0.1034023538, -0.0608438067, -0.0625438616, 0.0534815826, 0.0301953629, 0.0220251195, -0.048662737, 0.0215806738, 0.0442010611, -0.0536219962, -0.001907671, -0.0082835071, 0.0267235227, -0.0072199116, 0.0278573018, 0.005498739, 0.007922451, -0.0088732159, 0.0241829492, -0.0282218922, -0.0015888835, -0.0232880842, -0.0485381521, 0.0206051189, 0.0646436065, -0.0320493951, 0.0293074474, -0.0339209028, 0.0211740695, 0.0251258407, -0.0383049175, -0.0068930257, 0.0377634764, 2.64e-7, -0.006171579, 0.0322983786, 0.0456557982, -0.0597040914, -0.0040437416, -0.0165108666, -0.0624849498, -0.0047457581, 0.0200356189, 0.042559009, -0.0134947188, -0.0008349512, 0.1188046485, 0.0135906767, -0.0551768579, -0.045341704, -0.0280261338, 0.0329951458, -0.0332441367, -0.0326741599, 0.0250314604, 0.0657982752, -0.0164325032, 0.0029858889, 0.0243311934, 0.0255266353, 0.0336731449, 0.0074204099, 0.0158398878, -0.0171090718, -0.0647429302, -0.0049704285, -0.0729691684, 0.0043261587, -0.0221705865, 0.0176116358, 0.0434775539, 0.0699797049, -0.0319277756, -0.0251922123, 0.0187345091, 0.0268137194, -0.0597334951, -0.0059454204, 0.0686333552, 0.0302807484, 0.0114996284, -0.0290005803, -0.0692954659, 0.0315099023, 0.0251518786, -0.0209025294, -0.0080030775, 0.0288551077, 0.0480992086, -0.0178153161, -0.0401346758, -0.041774042, -0.01647643, 0.0031202491, -0.0245786607, -0.0315890312, -0.0508289821, 0.0293184686, 0.0184354056, -0.0225896016, 0.0040902104, 1.946859713e-34, 0.0506821238, -0.0277918763, 0.0360397212, -0.0144139435, 0.0388804562, -0.048773367, 0.0128341997, 0.0299862642, 0.0068215723, -0.0493621789, -0.0366771035 ]
http://arxiv.org/abs/2406.10991v1
http://arxiv.org/pdf/2406.10991v1
Adaptive Query Rewriting: Aligning Rewriters through Marginal Probability of Conversational Answers
2024-06-16T16:09:05
2024-06-16T16:09:05
Tianhua Zhang, Kun Li, Hongyin Luo, Xixin Wu, James Glass, Helen Meng
cs.CL
cs.CL
Query rewriting is a crucial technique for passage retrieval in open-domain conversational question answering (CQA). It decontexualizes conversational queries into self-contained questions suitable for off-the-shelf retrievers. Existing methods attempt to incorporate retriever's preference during the training of rewriting models. However, these approaches typically rely on extensive annotations such as in-domain rewrites and/or relevant passage labels, limiting the models' generalization and adaptation capabilities. In this paper, we introduce AdaQR ($\textbf{Ada}$ptive $\textbf{Q}$uery $\textbf{R}$ewriting), a framework for training query rewriting models with limited rewrite annotations from seed datasets and completely no passage label. Our approach begins by fine-tuning compact large language models using only ~$10\%$ of rewrite annotations from the seed dataset training split. The models are then utilized to generate rewrite candidates for each query instance. A novel approach is then proposed to assess retriever's preference for these candidates by the probability of answers conditioned on the conversational query by marginalizing the Top-$K$ passages. This serves as the reward for optimizing the rewriter further using Direct Preference Optimization (DPO), a process free of rewrite and retrieval annotations. Experimental results on four open-domain CQA datasets demonstrate that AdaQR not only enhances the in-domain capabilities of the rewriter with limited annotation requirement, but also adapts effectively to out-of-domain datasets.
[ 0.0523412749, 0.0354577787, -0.0013030212, 0.0084843766, -0.030241048, 0.0152988499, -0.0176746268, -0.0162563473, -0.0014742017, -0.0515808687, -0.0224572495, -0.0153356167, -0.0427933186, 0.0134907188, 0.0118456976, -0.0341065452, -0.0062568286, -0.0087459274, 0.0260982588, 0.0047704782, 0.0222862102, 0.0119902715, 0.0042396989, 0.036482919, 0.0518727824, -0.011446082, -0.014804027, 0.0300359894, -0.0188687351, 0.0157764833, 0.068863973, 0.0598110296, 0.0263360199, 0.0230481755, 0.0000017321, -0.0708786771, -0.0591100305, 0.0041298335, -0.0415528491, 0.0029405213, 0.0218727328, 0.0595554709, 0.0507570282, 0.0330985524, -0.0450669155, 0.0236815866, 0.0476910919, 0.0516289137, 0.0509640723, 0.0824101418, 0.0109373583, -0.0436833575, -0.0006036928, -0.0281088594, 0.0518235192, -0.0531553514, 0.0294900294, 0.0123694735, -0.0046848999, 0.0339064524, 0.0021285228, 0.0104493462, 0.0140629727, -0.0205508582, 0.0281486195, -0.0032810089, -0.0447027162, 0.0395432413, 0.0162903536, 0.1047016531, 0.0200852826, -0.023970427, 0.0051716282, 0.0066113556, 0.0146999201, 0.0230990387, -0.0622603595, -0.0009788593, -0.0053045317, -0.0074081644, -0.0238844156, 0.0305088107, -0.0014249155, 0.0078866314, -0.0338723436, 0.0618662387, 0.0098455492, -0.0308553614, -0.0015354597, 0.0123065514, -0.025902465, -0.0485213287, 0.0284195039, 0.0094392337, -0.0287347157, 0.0421886742, -0.0423984304, -0.01074237, 0.0146722291, -0.0421408191, 0.0231437534, 0.0208441336, 0.0139187584, 0.042601902, -0.001540467, 0.0366661884, -0.0032732673, 0.005568577, -0.0901034921, -0.0081282733, -0.0363112837, -0.0143585308, -0.0667573512, 0.0466495566, -0.0729987398, 0.0172763281, -0.0350140855, 0.0496045016, 0.0622852892, -0.0575412214, 0.0069054007, 0.0517605208, -0.072914578, -0.0202068184, -0.0569077656, 0.0449122638, -0.0021473535, 0.0210530851, 0.0205876585, -0.0590627417, -0.0145226615, -0.004372485, 0.0292821415, -0.0619375296, -0.0215124693, 0.0355439559, -0.0431552567, -0.0293601882, -0.0168882031, -0.0328371637, 0.0021870874, -0.0009292762, -0.01488763, -0.0366514064, 0.0393513478, 0.0101740668, -0.0399925932, -0.039818041, 0.0080339937, 0.0626345649, -0.0084197652, 0.0328960977, 0.0545342416, -0.0042313682, 0.045900777, 0.0065102759, 0.0153006986, 0.0805105418, 0.0229722485, 0.0054955459, 0.0760208741, 0.0092899706, 0.0519637689, -0.0102377469, 0.0104971714, 0.0264720973, -0.002148224, 0.087995939, 0.0403661542, 0.0250692107, 0.0320941061, 0.0096778842, -0.0492220931, -0.0575920679, 0.0603770874, 0.0118396934, 0.030095825, -0.011470275, 0.0082486747, 0.0327424295, -0.0041914345, 0.0327848978, -0.0328419432, 0.0399827212, 0.0028618113, 0.0346215367, 0.0496097654, 0.0121793095, -0.0344109274, -0.0603370555, 0.0499379076, 0.0221564453, -0.0126500716, 0.0466364734, 0.0030491436, 0.0362591185, -0.0581390932, -0.0002325966, 0.0074570617, -0.0484328344, 0.0090467762, -0.0512163527, 0.0065525929, 0.0240754485, 0.071311377, -0.0424517281, -0.0240730755, -0.0305813178, -0.0070510432, -0.0130696148, 0.0592007786, -0.0343521535, 0.0268724766, -0.044939734, -0.029298678, -0.0248902328, 0.0008609977, 0.0326914899, 0.0449714437, -0.0025503633, 0.0327842794, -0.0858399272, -0.0035424863, 0.0346571766, -0.0013502568, -0.0478234738, 0.0710838437, -0.0084713567, 0.0293388199, 0.0067707542, 0.003592944, 0.030776402, 0.0202070549, -0.0020140831, -0.0481368676, -0.0070854207, -0.0432627052, -0.0523472466, 0.032908313, -0.032194756, 0.0058345767, 0.0121343238, -0.0380718261, -0.0320439823, -0.0069225468, -0.0400721729, 0.0423335396, -0.0660741553, 0.0006428133, 0.0173211154, -0.0188777894, -0.1006324813, 0.038161736, 0.0453358106, 0.0126629332, 0.0046224701, -0.042163074, 0.0065832338, -0.0542926788, -0.0018446547, -0.0280919094, -0.0153745487, 0.0195081905, 0.0423304178, -0.0067970948, -0.0647381842, -0.0164213497, -0.0995404273, 0.0131713431, -0.0222376026, 0.0246505216, 0.0312801339, 0.0532732345, -0.0057414277, -0.0353135131, -0.0603146441, -0.0486534871, -0.0039060123, 0.0488266423, 0.0427815057, 0.0450364053, -0.0150157176, -0.0192686077, -0.024444852, 0.0160783734, 0.029878255, -0.0143756084, 0.0194998961, -0.0331116021, 0.019257104, -0.0491844937, 0.0249072183, -0.0193510391, 0.001469375, -0.0433329083, -0.0280437786, 0.0342313647, 0.0824420378, 0.029906068, -0.0530341491, 0.0041268677, -0.0045520975, -0.0522790179, 0.0297029242, -0.0560779199, -0.0545479916, -0.0169851091, -0.0401084945, 0.0400695391, 0.0243548322, 0.0014571039, -0.024335267, -0.0040682852, -0.0090999585, 0.0048286058, -0.0182346441, -0.0667805523, 0.0165555067, 0.0113187749, 0.0515292957, 0.0056214049, -0.0295968577, 0.0937282071, 0.012445691, -0.0334642641, -0.0972023457, -0.0123678092, -0.0755144283, 0.0412490144, -0.0206364356, 0.0209209137, 0.0477322303, -0.0301957484, -0.0591736212, -0.0309691988, 0.0202437453, -0.0564047731, 0.0503246486, -0.0515251458, 0.0223584324, -0.0011713223, -0.0633730069, -0.0421272852, -0.0714027807, 0.0079599591, -0.0127104474, -0.0228941757, -0.0077147209, -0.0428465903, 0.0193379913, 0.0245894864, 0.0474370457, -0.0448232517, -0.0054623401, -0.0020542091, 0.0728250146, 0.1001997441, 0.0483409092, -0.021479724, -0.0156266186, 0.0149790328, 0.0400211066, 0.0504752696, -0.0452901982, 0.040274363, -0.0218670554, 0.0154718067, -0.058538802, -0.0030767689, 0.0222225767, 0.0477284566, -0.0256036669, -0.0337509997, 0.0669535697, 0.033218123, -0.024522122, -0.0293632187, -0.0091885058, 0.050664179, 0.0102733541, 0.070391506, -0.0809356645, -0.0476616472, -0.0004921153, 0.0529196672, -0.0030642783, -0.0259998888, -0.0041567753, -0.1070982739, 0.0228472613, -0.0348233357, -0.0501402766, -0.0101999063, -0.0454528779, -0.0018184221, -0.0279564019, 0.0025929713, 0.0375477225, -0.0285351723, 0.0194446016, 0.0060497322, 0.0230786763, 0.0090610683, 0.0090464531, -0.0104874102, -0.0080997217, 0.0619791858, 0.0006976918, 0.0218547061, 0.0139632542, 0.005214531, -0.078008838, -0.0188496634, 0.0159007758, 0.0394909084, -0.0082033565, 0.0239179041, -0.0238865614, 0.0343307853, -0.0134203928, 0.0145644443, 0.023745127, 0.0208812822, -0.0174690913, 0.0157601852, -0.0187898204, 0.0143982321, 0.0072089229, 0.0591626763, 0.017550664, -0.0074743894, -0.0468869843, -0.0407932028, 0.0111301383, -0.0658930391, 0.0011914111, -0.0134096351, 0.0034505075, 0.0418970175, -0.0782178938, -0.0283494778, 0.0204134341, 0.0321079791, -0.0008304393, 0.0186562464, -0.0099053532, 0.0143755926, -0.0515064187, 0.007435584, -0.0652121827, 0.0113138231, -0.0248552226, -0.0146663245, 0.0258873105, -0.0499412343, -0.0314989239, -0.0022556572, -0.0456305444, -0.0465951674, -0.0160755068, 0.0386752486, 0.0234682038, 0.012471688, -0.0149234869, -0.0341618545, -0.0004695893, 0.0282254163, -0.0306149051, 0.0050159958, 0.0196328834, 0.0480861701, -0.0049245083, 0.0383908637, -0.0510597639, -0.0378041565, -0.0105043817, 0.0352695584, -0.0096043488, -0.0781012401, 0.0542828664, -0.0048703104, -0.0231039952, 0.0528460033, 0.0070984801, -0.0332492255, 0.0838438869, -0.0112882368, -0.0273309816, -0.0236688815, 0.0209578164, 0.0355057493, -0.0271184202, 0.001609592, 0.0110217985, -0.0465884283, 0.0292493105, -0.0615829863, -0.0176649503, 0.035259217, -0.0200695265, 0.0273868106, -0.0042776451, -0.0090578618, 0.0132723274, 0.0517823286, 0.0954450741, 0.0246040262, 0.0365665592, 0.0268239547, -0.00679952, -0.0225041527, 0.0094504273, -0.1035441533, -0.0176962484, -0.0319725648, 0.0295100398, -0.0195889864, 0.009456683, 0.0162213463, 0.0071512181, -0.0104968948, -0.0260702502, 0.0235123225, 0.0119667947, 0.0075659328, 0.0446966514, 0.0156366546, -0.0240574107, 0.0466724671, 0.0922366753, 0.0027501034, 0.0439687744, -0.0050958302, -0.0081777116, -0.0251768027, -0.0381153412, 0.0281658955, 0.0418572538, -0.0097020594, -0.0248069204, -0.0191809572, -0.022900831, -0.0009647063, -0.0297749732, -0.0102219405, -0.0262669958, 0.0465866476, 0.0709166378, 0.0126548624, -0.0538751148, -0.0546560027, 0.0283029247, -0.0343679152, -0.032670863, -0.035396222, -5.993501128e-33, -0.0010232261, 0.0099052582, 0.0156031819, -0.0181596857, -0.0344382077, -0.0146958428, -0.0198028218, -0.0239338577, -0.0270646904, -0.0271849502, -0.033566732, 0.0141794579, 0.0088225221, 0.0378661491, -0.0312372856, -0.025877472, 0.0241555348, -0.0110793542, -0.0470810719, 0.0258517377, 0.0144948009, 0.0193833727, 0.0123429401, -0.0297568236, 0.0134068271, -0.0484319925, -0.0090411985, 0.0522229262, 0.0077087847, 0.0578810982, 0.0018515147, -0.005111651, 0.0237842686, -0.0476280563, 0.010382249, 0.0315811336, -0.0670136288, 0.0084490497, 0.000732257, 0.0018038979, -0.0076823509, -0.0165821016, 0.0223140586, -0.0155545156, 0.0477644876, -0.0196312685, 0.0179350879, -0.0088349786, -0.0151891951, 0.0118284468, 0.00038821, 0.0175893214, -0.0249098651, -0.0500602797, -0.0417282693, 0.0775664523, 0.0180712547, 0.0278484207, 0.0109021123, 0.03921175, 0.013958361, 0.0534579009, -0.004109683, 0.0120664183, 0.0029636256, 0.009642981, 0.0234219581, 0.0105517786, 0.0173779801, -0.0583710372, -0.0269851852, 0.0015405379, -0.00828896, 0.0505399406, 0.0116536347, 0.0462085977, -0.04871995, 0.0834204927, 0.0268108975, -0.0210232157, 0.0060728425, 0.0261619482, -0.0387637094, -0.0492789708, -0.0496275611, 0.0397937112, -0.0456953682, 0.0032383555, 0.0388228595, 0.0327517018, -0.0309727862, 0.0115065351, 0.0319350995, -0.0384010859, -0.0114317695, 0.0111742122, 0.0064823283, 0.0119148092, 0.0053255935, 0.0106560905, -0.020970853, 0.0344601274, 0.0531538241, -0.0117746266, -0.0558014847, -0.0145667633, 0.0160615034, 0.0185586922, -0.0516266115, 0.0077535952, -0.0047500911, 0.0205570161, -0.0208440963, 0.0615947731, 0.0005032397, 0.0537779331, -0.009043552, 0.0594298504, 0.0193483494, 0.0079593938, -0.0814700574, -0.051829502, 0.0236599687, -0.0025355199, -0.0017897259, 0.0234924983, 0.0149615072, 0.0097921537, -0.050509192, -0.0256768633, -0.0171329156, 0.026613852, 2.56e-7, 0.057646405, 0.0171069037, 0.0406784452, 0.0260350518, -0.0149260294, 0.0532115661, 0.0363247246, 0.0083826166, 0.0728800967, -0.0034242256, 0.0340984203, -0.0085223271, 0.0325735174, -0.0098106619, -0.121598281, -0.0223961119, -0.038832359, -0.0421138033, -0.0168438535, -0.074322015, 0.0167890228, 0.0916755721, -0.0149709471, -0.0032935305, -0.0175504815, -0.0321425013, 0.035046462, -0.0161838215, -0.0279837884, 0.0351521894, -0.0108504221, -0.0037440532, 0.0229591206, -0.0116963638, -0.0143992212, 0.0279874392, 0.031203514, 0.0758042857, 0.0157328099, -0.0708111152, -0.019220544, 0.0029262831, 0.0072064134, -0.0633549169, 0.0606684722, -0.0253472365, -0.0096143978, 0.0282898657, -0.0226433016, -0.0226234384, 0.0256131552, -0.0225504395, -0.0234908108, 0.0170493238, 0.0054311519, 0.0311432835, 0.0040499046, -0.0490140431, -0.0109711494, -0.0080903228, -0.0372302681, -0.0300877485, -0.0206997208, 0.012935305, -0.0260120947, -0.0357930586, 0.0044677709, 2.387067195e-34, 0.0415350534, 0.0262792278, -0.0009595, 0.0434237979, 0.0434089042, -0.0129240612, 0.0221053828, -0.0034372902, 0.0426164977, -0.1318976432, -0.0339620486 ]
http://arxiv.org/abs/2406.15474v1
http://arxiv.org/pdf/2406.15474v1
WundtGPT: Shaping Large Language Models To Be An Empathetic, Proactive Psychologist
2024-06-16T16:06:38
2024-06-16T16:06:38
Chenyu Ren, Yazhou Zhang, Daihai He, Jing Qin
cs.AI
cs.AI, cs.CL, cs.HC
Large language models (LLMs) are raging over the medical domain, and their momentum has carried over into the mental health domain, leading to the emergence of few mental health LLMs. Although such mental health LLMs could provide reasonable suggestions for psychological counseling, how to develop an authentic and effective doctor-patient relationship (DPR) through LLMs is still an important problem. To fill this gap, we dissect DPR into two key attributes, i.e., the psychologist's empathy and proactive guidance. We thus present WundtGPT, an empathetic and proactive mental health large language model that is acquired by fine-tuning it with instruction and real conversation between psychologists and patients. It is designed to assist psychologists in diagnosis and help patients who are reluctant to communicate face-to-face understand their psychological conditions. Its uniqueness lies in that it could not only pose purposeful questions to guide patients in detailing their symptoms but also offer warm emotional reassurance. In particular, WundtGPT incorporates Collection of Questions, Chain of Psychodiagnosis, and Empathy Constraints into a comprehensive prompt for eliciting LLMs' questions and diagnoses. Additionally, WundtGPT proposes a reward model to promote alignment with empathetic mental health professionals, which encompasses two key factors: cognitive empathy and emotional empathy. We offer a comprehensive evaluation of our proposed model. Based on these outcomes, we further conduct the manual evaluation based on proactivity, effectiveness, professionalism and coherence. We notice that WundtGPT can offer professional and effective consultation. The model is available at huggingface.
[ 0.1034193933, -0.0063235909, -0.0218298659, 0.019405961, -0.0334901512, 0.0419619977, -0.0140214413, 0.00245355, 0.056312006, 0.0280441865, -0.0044764481, -0.0150599191, -0.0399114527, 0.0198521614, -0.0063472376, -0.1165870503, -0.0017182875, 0.0193069559, 0.0882475078, 0.010263239, 0.0268415622, 0.0281287841, -0.0525505841, 0.0309378896, 0.0186046306, -0.0243521277, 0.0066155209, 0.000485139, 0.0323652588, -0.0532272868, -0.0082182633, 0.0310191568, 0.0065582218, -0.0331872925, 0.0000024241, -0.0460766293, -0.0032118089, -0.015061615, -0.0034144139, -0.0617990419, 0.0419125967, -0.0697515905, 0.0091380822, 0.0208562072, -0.014194075, -0.034600243, 0.0230097156, 0.0870091468, 0.0599373803, 0.0228574909, -0.0152434213, -0.0168271046, 0.0095746825, -0.0135122379, -0.0242461711, 0.0021879112, 0.0101620033, 0.0195436962, 0.0492560007, -0.0310556013, -0.0214005467, 0.0348930061, -0.0091299778, -0.0056446362, 0.0142656965, 0.0013389522, 0.0332261622, -0.0560663678, 0.0147669315, 0.0680702478, 0.0575989671, 0.0567927398, 0.0417961217, -0.0261327773, 0.0207081083, -0.0134328036, -0.0184479561, 0.0272503123, -0.0129282596, -0.0171630252, 0.0535718314, 0.0186488256, -0.0059511187, 0.0164820012, 0.0383937433, 0.0117257033, -0.0182378255, -0.0175042246, 0.015123995, -0.016553551, -0.0643346384, -0.0631847829, 0.0191197358, 0.0568325669, -0.0776815712, 0.0263458919, -0.0006281427, -0.0179168805, 0.0311293099, -0.0064884066, 0.0080748741, 0.0478771552, 0.0082053421, -0.0056954389, 0.0720849708, 0.0206060912, -0.0062332065, 0.0218616258, -0.0438136868, 0.0292599034, -0.0503201745, -0.0189444013, -0.0416735746, -0.0091661373, 0.0188253727, -0.02349177, -0.0553967208, 0.0126788868, -0.0246944781, 0.0153238531, -0.0196483098, -0.0378217846, 0.0000780407, 0.0166324042, -0.0210077912, 0.0300534461, -0.0518142879, -0.019497579, 0.0173212048, -0.0181443263, 0.0219876114, 0.0064780461, -0.0283929575, -0.0070283343, 0.0159511119, 0.00600495, 0.0081127631, -0.0174822491, -0.0155826388, -0.0253581181, -0.0436395705, -0.0125257298, 0.0087961815, -0.0264501609, 0.0329506099, 0.0076717534, 0.0057501686, -0.0049065412, 0.0265263654, -0.0133102899, -0.0584842339, 0.0587177426, -0.0300299004, 0.0229755845, 0.01416633, 0.0477733575, 0.0067940336, 0.0173239037, -0.0122101838, -0.0133247636, 0.0099411141, -0.0378446616, 0.0233281143, -0.0144874202, -0.0033995141, -0.0238604508, 0.013330102, -0.0258458517, 0.0049437555, 0.0915876627, -0.0134759294, 0.0240122266, -0.0275706016, 0.036760956, 0.0285807494, 0.0916949883, 0.0195443388, 0.0425703004, 0.0066617974, 0.0202939361, 0.0064095706, 0.0085567283, -0.0337521397, 0.0144149158, -0.0080191847, -0.0223589186, -0.0216905959, -0.0282279514, -0.032135535, -0.0335012302, -0.0315090008, -0.0154756587, 0.0018336438, 0.0328769088, -0.0440956652, -0.0240166541, 0.0203336477, 0.0199876074, 0.0335968174, -0.0186280031, -0.0227465052, -0.054370977, 0.0181665812, 0.1174437106, 0.0363232531, -0.0272357557, -0.020117972, -0.0173875671, -0.0147589026, 0.0356374532, 0.0250344984, -0.0077163107, 0.0009914394, -0.0171095338, -0.0020939442, 0.0071934541, 0.005702503, -0.0332293585, -0.0664366633, 0.0296811108, -0.0324728303, 0.0105629107, -0.0113484608, 0.0463357791, -0.0787201002, -0.025297083, -0.0349093825, -0.0035778177, 0.0350328945, 0.0349954814, -0.0013597755, 0.0387294069, 0.0033906987, -0.0287970006, -0.0182950441, 0.057380762, -0.0470968112, 0.0017390618, -0.0005436175, -0.0070173903, 0.0124334795, 0.0034917479, -0.0041557578, -0.0096927956, 0.016417494, -0.0512014218, 0.0471764319, -0.0012767371, 0.0267639998, -0.0117039066, 0.0053848247, -0.0313306339, -0.0122708278, -0.0056703803, 0.0352839492, 0.0005893086, -0.0387496278, -0.0473876894, -0.0251436923, -0.0219379999, 0.0352196731, -0.0031979664, -0.0245792773, -0.0249451771, 0.0312264543, -0.0487014726, -0.068749316, -0.1313436478, -0.0016547049, -0.0022448937, -0.0229204632, 0.0411531292, -0.0156308394, -0.0366943665, 0.0170729216, -0.0412251279, 0.0446558408, 0.0659902766, 0.0070646922, 0.0120140249, 0.0335979834, -0.0100298915, -0.0323321074, -0.016300641, -0.0373342559, -0.006897754, -0.0115017518, -0.0169624519, -0.0423395559, -0.0248857345, -0.0786285549, -0.0282480791, -0.0094945896, -0.0811497644, 0.0177724846, 0.0069329864, 0.0471168235, 0.028613165, 0.0038206398, 0.0583751053, 0.0035564993, -0.0145705324, -0.0629330352, 0.0147740804, -0.0007689604, -0.0377954282, -0.0400741063, -0.0534495264, -0.0003012618, 0.0673541352, 0.0311838668, 0.0297896266, -0.0525404774, -0.0161542781, -0.0002329342, 0.0201531425, -0.0001850345, -0.0327027403, 0.0095049534, -0.0115916105, 0.0214187689, -0.0173405707, 0.0774327815, 0.0179944187, -0.0155691439, -0.0677234009, -0.0399693698, -0.0091175186, 0.0603531264, -0.0302701592, 0.0367479697, 0.0323394388, -0.0224720798, 0.0154292472, -0.0463081263, -0.0189743694, -0.0366116986, -0.0052311113, -0.0423859246, -0.0250435565, 0.0068688034, 0.0123155704, -0.0368521772, -0.0053868177, -0.0552417524, 0.0050760945, 0.0139727881, 0.0357233696, -0.0344483294, -0.0142467096, 0.0738990456, 0.0658494234, -0.0034341887, -0.0351439342, -0.0184804089, -0.0557002351, 0.0390022434, -0.0101833483, 0.0491741002, -0.0282422602, 0.0695700347, 0.0341682471, -0.0177906286, 0.0349584147, 0.0628807992, 0.0093149953, 0.0141719719, 0.0138125848, -0.0066551371, 0.0108938962, 0.0151660908, -0.012030785, -0.044703465, 0.1413919032, 0.0259267092, -0.0650646165, 0.0335562788, -0.0808747634, -0.0394273996, -0.0131114936, -0.0155571084, -0.0335824713, -0.0071032881, -0.0554404929, 0.024309855, -0.0477257222, -0.0102655282, 0.0146625359, 0.0022877238, 0.0376546979, -0.0092575038, 0.0529286228, -0.0070932875, 0.0108186994, 0.0033798611, 0.0496832281, 0.0040143514, -0.0110279918, 0.0161268543, 0.0018994957, 0.0199704356, -0.0465398841, -0.0372584015, 0.0638993084, -0.0165470708, 0.0717116073, 0.0287020151, 0.0546199307, 0.0047006584, -0.0532886013, -0.0551455095, 0.026457822, 0.0021214574, 0.0081688967, 0.0180206858, -0.0112376958, 0.0286383815, -0.0669460371, 0.0686785579, -0.0615178682, 0.0023718867, 0.0242823102, 0.0923581645, -0.0356791802, -0.0302947015, -0.0133319879, 0.0602508672, 0.0389706045, 0.0466721803, 0.0011327794, -0.0450302176, 0.0295528006, 0.0603742637, 0.0226610731, 0.066770494, -0.0340014175, 0.0247390196, -0.0074586198, 0.0041748043, -0.028282756, -0.0449954197, 0.0333285816, 0.0017905377, 0.0020705727, -0.0355406813, -0.0066630766, 0.0113921855, -0.0522157922, 0.0532230884, 0.0420887098, 0.0459470823, -0.0473751202, 0.0164298434, 0.054341089, -0.0156836789, 0.0066056424, 0.0041555064, 0.0147101441, -0.0243932288, 0.0489497371, 0.0302569233, 0.0160128344, -0.0229409803, 0.0160291903, -0.055880852, -0.0601007342, 0.006647462, -0.0502456613, -0.0045294911, -0.0251339544, 0.0602860488, 0.0100478418, 0.0374843329, 0.0034813131, 0.0454812944, 0.0431908444, 0.0297236312, 0.013164036, -0.0375785604, 0.0132542867, 0.0583668761, 0.0008222166, -0.0079626739, -0.0145190414, -0.0153830303, -0.0626961067, -0.0108292829, -0.0133987423, -0.0389187597, 0.0063330797, 0.0060209674, -0.0028657736, -0.0026139719, -0.0982982293, -0.0633790866, -0.0559197068, -0.0235531908, 0.019549055, -0.0401662737, -0.0461818464, -0.0283923578, 0.012873468, -0.0136250332, 0.0097833313, -0.0251752194, 0.0075194715, -0.0010180642, 0.1424157321, 0.020572152, -0.018837614, 0.0209035855, 0.02220672, 0.0021298013, -0.1324715912, 0.0016950584, 0.0262420662, 0.0514559671, 0.0351478346, 0.0092586949, -0.0579600744, 0.0323619694, 0.0068475665, 0.0109973438, -0.0190918799, -0.0534636788, 0.0513091274, 0.0173298959, -0.0107261213, -0.0559233651, -0.0240020286, -0.0722516924, 0.007633091, 0.0066305753, 0.0120405275, -0.0304887425, -0.0098314947, 0.036663413, -0.0117516192, -0.0674858466, 0.0381496623, -0.070195049, -0.0381950736, 0.0006300498, -0.0304423813, -0.0447691642, -0.0615958124, 0.0204771571, 0.0311314687, -0.0053931242, -0.0428221524, -0.0206280388, 0.0943942666, -0.0497126691, -0.006095028, -0.0074941311, -5.765515468e-33, -0.0052116197, -0.020789735, 0.0191859584, -0.0276744273, -0.0557750948, -0.0155156618, -0.0309677254, 0.0344231799, -0.0162923764, 0.0269818865, 0.0121255582, 0.0553613156, -0.0015698596, -0.0034425135, 0.0146117052, -0.0006295313, 0.0131335473, 0.013573057, -0.0437013358, 0.0134715466, -0.0427625328, 0.0496941395, 0.0391733013, -0.0517879426, 0.041940745, -0.020194713, -0.0192520935, 0.0599992648, 0.0076957969, 0.0263547674, -0.0305711459, 0.0324780457, 0.0473927371, 0.0172357168, 0.0259913038, 0.0237464793, -0.0201395825, -0.026701875, 0.0541637279, -0.0242570359, -0.0932562426, -0.0254721418, -0.0036688596, -0.0209531132, -0.0225252509, -0.0127267474, -0.0071748965, -0.0463997759, 0.0277023297, 0.0128086647, -0.0274917148, -0.0268669352, -0.0146865342, -0.0002240934, -0.016448522, 0.0124818366, -0.0588820577, 0.0235448033, -0.0139612276, -0.0163420159, 0.0318076536, 0.0002124917, 0.0131583866, -0.0331276432, -0.0242414288, 0.0461517796, -0.0318485685, 0.0127592292, 0.0021719907, 0.0349656865, 0.0050902637, 0.0100582177, 0.0508777499, 0.0119397594, -0.0480242521, -0.0242996905, -0.0062716091, -0.0254249778, 0.0444506258, 0.0147989383, 0.044786118, -0.0044710841, -0.0182934608, -0.0345948301, -0.066085659, -0.0030262547, -0.0087550441, -0.0374362469, 0.0191489551, -0.0131740319, -0.0049420749, -0.0405321568, -0.0212023091, -0.0029363143, 0.0100956513, -0.0244162139, 0.0004931432, 0.0528558381, -0.005033595, 0.0156136919, -0.0253067352, -0.0201276541, -0.0470619798, -0.0253805071, 0.0756879523, 0.0169967432, 0.0031105599, -0.0102420235, -0.0068781464, -0.0069121527, 0.0153922746, 0.0562364496, 0.0127598708, -0.0025309355, -0.0485218056, 0.0038898834, -0.0199586134, 0.0299837198, 0.0317983106, -0.0497141965, -0.0676450506, -0.0178818461, -0.0188204739, 0.0091167493, -0.052372057, -0.0239683259, -0.0209228322, 0.0261779521, 0.0888229162, -0.0107530113, -0.006377107, -0.0102661224, 3.163e-7, -0.0223768707, 0.0491708517, -0.018487744, 0.0077436958, 0.0212805513, 0.0324020945, 0.0031883046, 0.0775453821, 0.0399494134, -0.035744179, 0.0085914815, 0.0168552697, 0.0382045582, 0.0385159962, -0.0208138339, 0.0095175533, -0.0308370572, -0.0257466659, -0.0498090126, 0.0134330913, 0.0766235963, 0.0303920135, 0.0111296214, 0.0001652553, 0.0151915625, 0.0374063365, 0.0203214437, -0.0570511557, -0.0009876168, 0.0730698928, 0.0491225757, -0.0212502945, 0.0379571021, 0.0284523256, 0.0329407752, -0.0038939079, -0.0091212075, 0.112901397, -0.0574817136, 0.0202136859, 0.0140907075, 0.0250993446, 0.0116529986, -0.0645515993, -0.019308012, -0.122815989, -0.0562400632, 0.0226630885, 0.0032688077, -0.0584759563, 0.0364606567, -0.0205292366, -0.0369853675, 0.0689468458, 0.0237870328, 0.0104039442, 0.0240438972, -0.0198674556, 0.0294814203, 0.0077741342, -0.0122701386, -0.0331787802, 0.0013479894, 0.0083020478, -0.0143710999, -0.0739315897, 0.033619076, 2.461379101e-34, 0.0041117454, 0.0585710295, 0.0346920863, 0.0079758475, 0.0370507762, 0.0411951058, 0.0045634243, 0.0536794253, 0.0050397217, -0.0562369116, -0.0196616594 ]
http://arxiv.org/abs/2406.10985v1
http://arxiv.org/pdf/2406.10985v1
Taking a Deep Breath: Enhancing Language Modeling of Large Language Models with Sentinel Tokens
2024-06-16T15:50:10
2024-06-16T15:50:10
Weiyao Luo, Suncong Zheng, Heming Xia, Weikang Wang, Yan Lei, Tianyu Liu, Shuang Chen, Zhifang Sui
cs.CL
cs.CL
Large language models (LLMs) have shown promising efficacy across various tasks, becoming powerful tools in numerous aspects of human life. However, Transformer-based LLMs suffer a performance degradation when modeling long-term contexts due to they discard some information to reduce computational overhead. In this work, we propose a simple yet effective method to enable LLMs to take a deep breath, encouraging them to summarize information contained within discrete text chunks. Specifically, we segment the text into multiple chunks and insert special token <SR> at the end of each chunk. We then modify the attention mask to integrate the chunk's information into the corresponding <SR> token. This facilitates LLMs to interpret information not only from historical individual tokens but also from the <SR> token, aggregating the chunk's semantic information. Experiments on language modeling and out-of-domain downstream tasks validate the superiority of our approach.
[ 0.0126440115, 0.0541704074, -0.0133033469, 0.0058702962, -0.0241399482, 0.0020586234, 0.0068134484, -0.0235340856, -0.005712464, -0.0556027107, 0.003078622, -0.060977485, 0.0012994908, 0.0536212847, 0.0424695909, -0.0731734931, 0.0574805476, -0.0480625182, -0.0112016704, 0.0181331802, -0.0053092698, 0.0082479268, 0.0419992395, 0.0553469062, -0.0181971323, -0.0129942913, -0.0116849691, -0.0085627837, 0.0212446954, -0.0236599762, -0.0128439628, 0.0250450466, 0.0267365742, 0.0288519152, 0.0000021466, -0.0195721891, -0.0082245516, -0.0043208315, -0.0191733409, 0.0239950363, 0.0695820898, -0.0087686665, -0.0140644023, 0.026171295, -0.0119398255, 0.0054068975, 0.0344849564, 0.0269561689, 0.0531430095, 0.0505386963, -0.0118958596, 0.0027682325, 0.0306014195, -0.0366060771, -0.0025446825, -0.0271605067, 0.0413762145, -0.0470363982, -0.0060953014, -0.0045633721, -0.0244993288, 0.066109471, 0.0398582481, -0.0123545742, 0.0361473896, 0.052167248, -0.0432024114, -0.0118729956, -0.019495979, 0.0323769785, -0.0564941242, -0.0224037208, 0.0090407822, 0.0047503146, -0.0164863821, -0.0384054184, -0.0862442851, 0.0347121209, 0.0195100307, 0.0308147576, 0.0141242109, 0.0109671028, 0.0127802286, -0.0074146814, -0.0983457267, 0.0518442988, 0.0072931838, -0.0144570041, -0.0383547284, -0.0277018957, -0.007849928, -0.0762046203, 0.0362123623, 0.0589113608, -0.018357154, 0.0309882816, -0.0325447395, -0.0444076695, 0.0255434234, -0.015566675, -0.0180768073, 0.0237250738, -0.0512575284, 0.065870896, -0.0369300395, 0.0339074321, -0.0192441307, 0.0241985023, -0.0529287346, -0.0275111683, -0.0222617835, -0.0263762157, -0.043024756, 0.0331062898, -0.0605716296, -0.0423998088, -0.0342810228, 0.0551873595, 0.0079184165, -0.0258047543, 0.0091542182, 0.0122672096, -0.0088939294, -0.0029606398, 0.0026062694, 0.0352604836, -0.0069164978, -0.0140608614, 0.0164139476, -0.0637478828, -0.018047452, 0.0358542092, -0.0158473477, -0.0199681912, -0.0364034176, 0.0860795751, -0.0009885249, -0.029346412, -0.0166410506, -0.0149494372, -0.0542061962, -0.0395513177, -0.001779414, -0.059353929, 0.0358065255, 0.0074894098, -0.0009008744, -0.0551048368, 0.020821631, 0.0276802257, -0.036377687, 0.0288649332, -0.0031562785, 0.0148044042, -0.0012941697, 0.0020832326, 0.0381243825, 0.0756572634, 0.0452689752, 0.04524168, 0.0101625742, -0.0014249684, -0.022718152, 0.065687336, 0.0088995844, 0.0185928307, -0.0356448852, -0.0093886619, -0.0010145705, 0.0188342649, 0.0492128208, 0.0877658203, -0.006240759, 0.0036357571, 0.0730689168, 0.0886746347, -0.0132665467, 0.0266622249, 0.0310299788, 0.0087030875, -0.014623615, 0.0049251211, -0.0550370514, 0.0311889015, 0.0235650484, 0.0161560904, 0.0350816213, 0.060686633, -0.0245326404, -0.0332659148, -0.0143960277, -0.0039145364, 0.0134878196, 0.0308220312, 0.0635010079, -0.0150114503, -0.0370799936, 0.1012232304, 0.032491073, -0.0532269999, 0.027446311, -0.036408592, 0.0040850258, 0.0697108582, 0.0378589034, -0.0251142848, -0.0153864147, -0.020293178, 0.0266523622, 0.0406159833, -0.0055659269, 0.0237752236, -0.0136455512, -0.0416826792, -0.0129890116, 0.0024288243, -0.0076287161, -0.0085988641, 0.0066460422, -0.0143514192, 0.0299137924, 0.0159989893, -0.0298177395, 0.0468733646, -0.0484670289, -0.0243417397, -0.0064678178, -0.0091046747, 0.0238757506, -0.0011774752, 0.0168954004, 0.0252641756, 0.0424483232, -0.0557675473, -0.0197863374, 0.0265316851, -0.0563548654, 0.0115511799, 0.037842378, -0.0124471011, -0.0043098927, 0.0214144234, -0.0208729636, -0.0445067175, -0.0024380654, -0.0627898127, 0.0688201562, -0.0148126781, 0.0366694219, -0.004154087, 0.0485028327, -0.0531441718, 0.0482101068, -0.0150300879, -0.0137498379, 0.0116151255, -0.0114302961, -0.0102108391, -0.0329128839, -0.0243839566, -0.0193188898, -0.0055121831, -0.0033339227, 0.0174993742, -0.0174192097, -0.0422341675, -0.0331164598, -0.098408103, 0.0040494762, -0.0183423888, 0.0161196701, 0.0177296828, 0.030925421, -0.0135149481, -0.0023918864, -0.0393805578, -0.0214038119, -0.0178174172, 0.0189183839, 0.0101148011, -0.0193304829, -0.0184951629, -0.0451068282, -0.0175845306, -0.0295779072, 0.0663796663, -0.0063899388, -0.0517453887, -0.0595496781, 0.0199075006, -0.0161262508, 0.0085078171, -0.0282964092, -0.0265562255, -0.0082568638, -0.0130095258, 0.1103109345, 0.0702698007, 0.0453454182, 0.0286201593, 0.0500770621, -0.0151090464, -0.0289313737, 0.0147842029, -0.0370520204, 0.0021889403, -0.0177560095, -0.0291240159, 0.0269462392, 0.0631868094, -0.0036847158, -0.0003818881, -0.019445153, 0.0038176337, -0.0394888446, -0.024017375, -0.027393207, -0.0079014143, -0.0662422851, 0.0232698061, -0.0222857092, -0.0466581583, 0.0534740351, -0.0318909064, -0.0054554814, -0.0174644534, -0.0075620827, -0.0495609082, 0.0600558668, 0.0159329027, 0.013080027, 0.006460906, -0.0208771881, -0.02414288, 0.0005383075, -0.0549419671, -0.0272261258, 0.0922962874, -0.017596852, -0.0036891864, 0.001079464, -0.0039651715, -0.0485084876, -0.0365159214, -0.0636888221, 0.0340377986, 0.0417077765, -0.0135401292, -0.0718023106, 0.0415123254, 0.0617071502, 0.0278933812, -0.0368873626, -0.0111018447, -0.0274027251, 0.0202265754, 0.0769414231, -0.0088732233, 0.0322011188, -0.0478623137, 0.028715685, 0.078463912, 0.0514531694, 0.03438434, -0.0225143973, -0.0327470675, 0.0261523128, -0.0299154837, 0.0135525949, 0.0125203673, 0.0555991158, -0.0767905042, -0.0076092109, 0.1213582754, 0.0280926563, -0.0322898142, 0.0306699928, -0.0153516531, 0.0193792433, 0.0164386872, 0.0140995812, -0.0487805232, -0.0229961462, 0.0188782569, -0.0200634394, 0.0128852064, -0.0033735109, -0.0022544283, -0.0781364515, 0.0386319607, 0.0112342406, -0.0614142679, 0.0160972867, -0.0413082317, 0.0173745379, 0.0018151707, 0.0458904132, 0.0113822315, -0.0252940897, -0.038439814, 0.017258808, -0.0351880975, 0.0014590552, 0.0143477395, -0.0361044779, 0.0340866335, 0.0357429236, 0.0202566385, 0.0048382408, -0.0408385098, 0.0527707748, -0.026522655, 0.0168352872, 0.0087836003, 0.0510357358, -0.0157615207, -0.0189337153, -0.0282543991, 0.0112806018, -0.0412874073, -0.0260607544, -0.0062195519, 0.0855471939, 0.0046488647, -0.0132898614, -0.0344149433, 0.0056680953, -0.0172320958, 0.0689550042, 0.0541850477, -0.0539559126, -0.034127783, -0.0292488672, -0.037112657, -0.0340306871, -0.052088961, 0.0064047631, -0.0210009515, -0.0543011017, -0.0382965989, -0.0141609302, 0.0531308278, 0.0120678889, -0.0036605294, 0.0128169097, 0.0447323434, -0.0124896048, -0.0437048785, 0.0383273959, -0.0626204237, 0.0365020521, -0.0407530032, 0.0050267894, 0.0406730697, 0.0011549887, -0.0072150701, 0.0354932062, -0.1302721053, -0.0576662943, 0.0435206257, 0.0251721758, 0.0235183965, 0.0130558871, -0.0272164661, -0.0456199124, 0.0848646164, 0.0379016437, -0.0697317868, 0.0158974025, -0.0129131451, 0.0209636576, 0.0060141026, 0.0334966108, -0.0539292134, 0.0066319583, 0.0113320062, 0.0246644188, -0.0152029321, -0.016899379, -0.0063277176, 0.0035649936, 0.0275813304, -0.0171210356, 0.0005205564, 0.0101957256, 0.0114067104, -0.0288736578, 0.0096421288, -0.0213814378, 0.0207955595, -0.0092938552, -0.001582927, 0.000947207, 0.047813125, -0.0244721193, -0.0192417689, -0.0449510403, 0.0157581121, -0.043202024, 0.0080893012, 0.0297627337, 0.0075294711, -0.0190882646, -0.0443554781, -0.0374413878, -0.0032918463, -0.0062959525, 0.0142085347, 0.0154683376, 0.0000277409, -0.0321931168, 0.0441237427, -0.0845936835, -0.0395876467, -0.0134224072, 0.0154141774, 0.045945134, -0.0072462489, 0.0537949428, -0.0027535101, -0.0168734156, -0.0302863978, 0.0098239221, -0.0054182098, -0.0317539163, 0.0027318578, 0.0346802175, -0.0270982757, -0.0047543137, 0.0634578392, 0.0188820045, 0.0024975741, 0.0276833363, -0.0134979179, -0.0212299414, -0.009992158, -0.0163100846, 0.0291340463, -0.0375435539, -0.0272577405, -0.0579094589, -0.0789313018, 0.0332337804, 0.0069811, 0.0049343817, -0.0326772667, 0.0281506404, 0.0244290382, 0.0014742145, -0.0362475477, -0.0240646154, 0.0335879475, 0.0115861008, -0.0197206549, -0.0130028492, -6.813027871e-33, -0.0142760836, -0.0398317054, 0.0297528096, 0.0111033041, -0.0648939833, 0.0189210195, -0.0517204888, -0.0203549732, 0.0295305327, -0.0064473446, -0.0256167799, 0.0083288187, 0.0172593687, 0.0417672284, 0.0138806459, -0.007414544, 0.0537660308, 0.0056456979, -0.0038732493, 0.0322867557, 0.040026363, 0.0317321382, 0.0426406674, -0.0323636979, 0.0067877048, 0.0079096304, 0.0089346869, 0.0113277668, 0.0248870719, 0.0682261661, -0.0385787152, 0.046008639, 0.020922929, -0.0425876677, -0.0496415198, 0.0589709617, -0.0654965118, 0.0124798408, 0.047905758, -0.0121299885, -0.0341711752, -0.0451384448, 0.0642849877, 0.0030947821, 0.0307052322, -0.0312667824, 0.0448968224, -0.0317659415, -0.0576401129, -0.0528702103, -0.070884943, 0.0351852179, -0.0022536444, -0.0099817403, -0.0032517973, 0.0201206896, -0.0017368561, 0.0590799153, -0.015703015, -0.001520962, 0.0214494988, 0.0634537786, 0.0622510798, 0.0511715785, 0.0174928792, 0.0607573837, 0.03257294, -0.0000982811, -0.0604169145, -0.0234349873, 0.0612562485, 0.0052394159, 0.0340608694, -0.0062088035, 0.0134093212, -0.010303678, -0.0554236248, 0.0040167468, 0.006349368, 0.0587590784, 0.0634567589, 0.0338094942, 0.0278926119, -0.0059051793, -0.0218826868, 0.0175749362, -0.0278778411, -0.0043167314, 0.011484663, 0.0150976432, -0.021397518, -0.0002869184, 0.0394650735, -0.0350388438, 0.0139561379, 0.0015887069, 0.0207956396, 0.0252701174, -0.0023383284, 0.0199205931, -0.042701669, -0.0071011479, 0.013188811, 0.0200110786, 0.0075495425, -0.0000343652, 0.0410451442, 0.0181922, -0.0728639662, -0.0182276834, -0.0378486514, 0.0078646354, -0.0012555358, 0.0007809349, 0.036328584, 0.0086627426, -0.0030799157, 0.0448196307, 0.0046682917, -0.0313820653, -0.0296795983, 0.0276749674, 0.0129866777, 0.0347716361, -0.04481766, -0.0023847341, -0.0538834371, 0.0457229838, 0.0645301118, -0.0787734687, -0.024767179, 0.0162529666, 2.787e-7, 0.0420576818, 0.0591965355, 0.0589512587, 0.0071068108, 0.0328760296, -0.0088063469, 0.0214733817, 0.0177730303, 0.0271399431, 0.0100893825, -0.0143976035, 0.0319297947, 0.0516664162, 0.0212034099, -0.123808004, -0.0034966101, -0.0860953405, -0.0091064023, -0.0537278764, -0.0013488139, 0.056146279, 0.123724781, 0.0096261026, -0.0069970046, 0.0092949346, -0.0209668092, 0.0413893051, -0.0308158882, -0.0248067845, 0.0276024584, -0.0012036507, 0.0069583538, -0.0066672475, -0.0160701498, -0.0078054387, 0.0050053303, 0.0101897055, 0.0856654271, -0.0255638231, -0.0224968381, 0.000440101, -0.0125201633, -0.0115418667, -0.0684092641, 0.0570753664, -0.0770585611, 0.0007230105, -0.0548316464, -0.0186868589, 0.0174272563, -0.0163077861, 0.0058470611, -0.0447200723, 0.0613553748, 0.0131761096, -0.0107855331, -0.0050993222, -0.107770443, -0.056516543, -0.0130395954, -0.0635566637, -0.0319957472, -0.0505486764, -0.0265352745, 0.024032427, -0.05686187, -0.0119742583, 2.897605054e-34, 0.0553008132, 0.0100282282, -0.0198978465, 0.0281943679, 0.0246876478, -0.0253051016, 0.0048387875, 0.0328129083, 0.0215704478, -0.1046732813, -0.0377405658 ]
http://arxiv.org/abs/2406.10984v1
http://arxiv.org/pdf/2406.10984v1
Revisiting Cosine Similarity via Normalized ICA-transformed Embeddings
2024-06-16T15:44:37
2024-06-16T15:44:37
Hiroaki Yamagiwa, Momose Oyama, Hidetoshi Shimodaira
cs.CL
cs.CL
Cosine similarity is widely used to measure the similarity between two embeddings, while interpretations based on angle and correlation coefficient are common. In this study, we focus on the interpretable axes of embeddings transformed by Independent Component Analysis (ICA), and propose a novel interpretation of cosine similarity as the sum of semantic similarities over axes. To investigate this, we first show experimentally that unnormalized embeddings contain norm-derived artifacts. We then demonstrate that normalized ICA-transformed embeddings exhibit sparsity, with a few large values in each axis and across embeddings, thereby enhancing interpretability by delineating clear semantic contributions. Finally, to validate our interpretation, we perform retrieval experiments using ideal embeddings with and without specific semantic components.
[ -0.028750008, 0.0253690947, -0.0145807043, 0.047248967, -0.0168194622, 0.0465786047, 0.0432742499, 0.0325558744, -0.0119690364, -0.0045067738, -0.0626547635, -0.0045490661, 0.0146708358, -0.009414617, -0.0014449704, -0.0342796296, 0.0398561917, 0.0353977792, -0.0175243244, -0.022698855, -0.0079632271, -0.0475122295, 0.0312073044, 0.0270737037, -0.0283708535, -0.0190850478, 0.0286073927, -0.0451896787, 0.0153792771, -0.0313255414, -0.0492097624, 0.0251244046, 0.0621808805, 0.0051945504, 0.000001837, -0.0294288844, -0.0324569717, -0.0120420568, 0.0345215648, 0.0256094467, -0.0052516414, -0.0436690003, 0.037883535, -0.0510746241, -0.0203445535, -0.0292323735, 0.0273976289, 0.0663826615, 0.0048723966, 0.032856863, -0.0228308272, -0.0495291762, -0.0411312096, -0.0344023854, 0.0473331846, 0.0154108843, -0.0014716442, 0.0141710052, -0.0468031652, 0.0688484907, -0.0522890501, 0.0177202448, -0.0086068716, 0.0250412151, 0.0362821482, 0.0608758964, 0.0030093668, 0.0146378977, 0.0358647108, 0.0738492832, 0.0013603724, -0.0094373599, 0.020954879, 0.01295364, -0.0227619167, 0.0782257989, -0.0876589715, -0.0369272716, 0.0468673185, 0.046767626, -0.0024095322, 0.0477920137, 0.0071418379, -0.0382404327, -0.0134472558, 0.0077691968, 0.0253954343, -0.0276810974, -0.0224528313, -0.0164395161, 0.007373292, 0.0501059853, -0.0054984814, -0.0148773883, 0.0436733812, -0.0050856275, 0.0318270996, 0.0026231476, 0.0176000167, -0.0439385325, 0.0314642116, 0.0248956699, -0.0174763445, 0.0585791282, -0.0422574952, 0.0579236522, -0.0231325459, 0.0638636723, -0.0165637285, 0.0151786078, -0.0521707535, -0.0164023917, 0.0197389591, 0.0221594088, 0.0070925569, -0.0124894921, 0.0108988099, 0.0237268358, -0.0564935133, -0.0011192732, -0.0314199999, 0.0516610146, 0.0054909093, 0.0161411986, -0.0109025696, 0.0227808021, -0.0354987755, -0.00274684, -0.061785996, 0.004790165, -0.0127895093, 0.0489368774, 0.038625136, -0.0240596756, 0.0016250057, 0.0401345864, -0.0045331586, -0.0215977728, 0.0455774516, -0.0346132107, 0.012633957, 0.0117099071, 0.0410708189, -0.0600281209, 0.0534452684, 0.018813774, 0.0015033197, -0.0719502047, -0.0255251545, 0.0133710532, -0.0654640719, 0.0713310987, 0.0265958998, -0.0001892721, -0.0136081241, 0.0228013918, 0.0128444517, 0.0303616077, -0.0159219634, -0.0219248645, 0.0700535029, -0.0092020575, -0.0191348288, -0.0254600421, -0.0049236268, 0.0040092687, -0.049954012, 0.0052119647, 0.0313604064, 0.0124643678, 0.033700496, 0.0290943254, -0.0296424795, -0.0595095679, -0.0096779345, 0.0943383425, 0.0104357861, -0.0117920646, 0.0167999621, 0.0299459025, -0.0112882312, 0.0483145304, -0.0434216261, 0.0283938423, 0.0505966134, -0.0167153738, 0.0332890823, -0.0209301673, -0.0386939384, -0.0187647827, 0.0002134227, -0.0225366279, -0.0209163763, -0.0502246059, 0.016882306, -0.051616624, 0.0412862077, -0.0300253965, 0.0485741347, -0.0595678352, -0.0021075369, 0.0396148376, 0.0367936529, 0.0090663191, 0.0308851525, -0.0497752763, 0.0155254388, 0.0446474068, -0.0239610039, -0.0177965611, -0.0032351438, -0.0302583799, -0.0069668908, -0.0319474414, -0.0476112813, -0.0046935873, 0.0423141345, 0.0346122347, -0.0590433963, 0.007736302, 0.0500736982, -0.0304901581, 0.0037087698, 0.0105207264, -0.0375677161, -0.0142025491, 0.0118921446, 0.0278217811, -0.0381528959, 0.034078151, -0.0030238219, 0.0123602496, 0.046681907, -0.0712581947, -0.0348982923, 0.0155560188, -0.0302254632, 0.0008521612, 0.0250654966, -0.1123114675, 0.0059515955, 0.0141941449, 0.0167528745, -0.0349389166, 0.0514358953, -0.0231042765, 0.0028531984, -0.0004099693, -0.022064833, -0.0369271934, 0.0277911685, -0.0453126952, 0.0521697402, 0.0119328024, 0.039150849, 0.0190985724, -0.0275480859, 0.0746746883, -0.0040149577, -0.0061987825, 0.0198918693, 0.0198510736, -0.0026667162, 0.0236455202, -0.0208224766, -0.0140270339, 0.0090332907, -0.0395971648, -0.015891498, -0.0140842358, 0.007607155, 0.0335098803, -0.0222320054, 0.0025157412, -0.0299113281, -0.0463131256, -0.0013224954, -0.0448479243, 0.0360883549, 0.042495627, -0.0362158492, -0.0140699372, -0.0597855411, -0.0283688102, -0.0468023084, 0.0738338009, 0.0211327411, 0.0098646283, 0.0090276506, 0.0225816853, -0.0564595759, -0.0179620851, -0.0284404662, 0.0274045896, 0.0418521091, -0.0367426202, 0.0182768889, 0.0101583339, -0.0086635938, 0.0237480123, 0.0640766099, -0.0093213711, -0.046151109, -0.0340550169, -0.0594635643, 0.0781956911, -0.0100181242, -0.0329164192, 0.0134872859, 0.0016642916, 0.0344377905, -0.0265097152, -0.0529585555, 0.0330218524, -0.0250210129, 0.0060182493, -0.0937414616, -0.0063539394, 0.0083608702, 0.0013660321, 0.0076948744, -0.0217954107, 0.0070515252, -0.0197811071, 0.0279623587, -0.0254874639, 0.0001050543, -0.0613922663, 0.0659587309, -0.020196015, 0.0086932732, -0.0301335417, -0.0141329505, 0.0085116141, 0.0567128658, 0.0243105423, -0.0308264978, 0.0330520421, 0.027478274, -0.0193309747, -0.0032026391, 0.0008190708, -0.0174456611, -0.0376406796, 0.0143903913, 0.0006323433, 0.0387112089, -0.0147731854, -0.0168646723, -0.0188990738, 0.0231076106, -0.0170565583, 0.0009012381, -0.0054359823, -0.0161095392, 0.0530281663, 0.0202415362, 0.0126986215, -0.0108479839, 0.0168480631, 0.0012463467, 0.0264758132, 0.0108510833, -0.0308455713, -0.0266449023, 0.0310387686, -0.0274619218, 0.0298525672, -0.0287849791, -0.0612072609, 0.0166392345, 0.0280365665, -0.0218208004, 0.0740614459, 0.0375097692, -0.0970363542, 0.0159091279, -0.0326056629, 0.0014381361, 0.0421723388, -0.0090983482, -0.0202952065, -0.0185507555, -0.0123043563, 0.0190742798, 0.0183841642, -0.0390317068, -0.0056031658, -0.0609965287, 0.007261862, -0.02470758, 0.0222238339, -0.0977032334, -0.1123364866, 0.0231465809, 0.0034224347, -0.017034376, -0.0358108394, -0.0241740867, 0.02274625, 0.0061439248, -0.0495891608, -0.0402221493, -0.0269979239, -0.0062036114, 0.0085691866, -0.0312693231, 0.0490129218, -0.0149599826, -0.0649055168, -0.0135512836, -0.0646704882, 0.0243972018, -0.0058827419, 0.0544574037, 0.0246269219, -0.0363024101, -0.0173674617, -0.0033321267, 0.0024337466, -0.0042392295, -0.0461311713, 0.0911626667, -0.0351990834, -0.0148872603, -0.043306224, -0.036811851, -0.0123828268, 0.0638042614, 0.0616742782, 0.0053356108, 0.008026802, 0.0008000192, 0.0607175529, 0.0714720413, -0.0213425942, -0.0243222434, -0.0070843827, -0.0258211028, -0.0782156661, -0.0323610045, -0.0227249786, 0.0435932763, -0.0103762541, -0.008045299, -0.0443647951, -0.0523031764, -0.0271734428, 0.0288372748, -0.026664691, -0.0143153323, 0.0266492851, 0.040122617, 0.0034790281, -0.0105408262, -0.0616391264, -0.0651515946, 0.0056722471, -0.0571451187, -0.0073115914, -0.0403526016, 0.0068339789, 0.0207574293, 0.0002702296, -0.0172226056, 0.0559217371, 0.0477619059, -0.008599963, 0.0336725116, 0.0205317196, -0.0467283018, 0.0154129444, 0.042407129, -0.0285251718, 0.0271468069, -0.0107775209, 0.032762453, 0.0084634246, -0.0132538872, 0.0184537638, 0.0198742095, 0.0688066408, 0.043576058, 0.0270070843, -0.0150513481, -0.0450032614, -0.0511242934, 0.0057759751, 0.0210074354, -0.026280107, 0.0154786212, -0.0061778845, -0.0367773511, 0.0746723488, -0.0029796844, 0.035929963, -0.0520034619, 0.011505899, -0.0154033937, 0.0006965924, -0.0815467909, 0.0158494711, -0.0198815558, -0.0031138055, -0.0388786606, -0.0048604975, -0.0304847118, -0.0292770937, 0.0093119191, 0.0074818623, -0.068736203, 0.0334192701, -0.0486881286, -0.0012198711, 0.0622493774, -0.0372231454, 0.0069329957, -0.0317663252, 0.0487145185, 0.000477316, 0.0067561343, -0.0023361766, -0.0208757129, 0.005902471, 0.0030423438, 0.0657254606, -0.0011251892, -0.0032392335, 0.0311845429, 0.0928216353, -0.072227031, 0.0175692514, -0.087145485, -0.0187697299, -0.0033279776, 0.047663644, 0.086423263, 0.0502138734, -0.0391761847, -0.0107986154, -0.0349848159, -0.0119467694, 0.0272962283, 0.0053598168, -0.0165130198, 0.0545422211, 0.0307094995, 0.0476602502, 0.0032671841, 0.0173029061, 0.0232508518, -0.0058065797, -0.0654722676, -0.0363498703, -0.0381947123, -6.309515152e-33, 0.0246011708, 0.0123628406, -0.0368697271, 0.0155040389, -0.0379291177, 0.0360303447, -0.0233753845, 0.0212136935, -0.0238419771, 0.041535832, -0.00225604, 0.0041696099, -0.0112291314, -0.0127069652, 0.0179928076, -0.019466877, 0.016915448, 0.0294752792, -0.0247465633, 0.0303965043, 0.1096623018, 0.0147467032, 0.0511840098, -0.1460812688, 0.0151530607, 0.0137960706, 0.04541751, 0.005598709, 0.0737753436, 0.0398068763, -0.053032089, 0.0595597066, 0.0366544276, -0.0063423901, -0.0193749219, 0.0152708841, -0.0261380561, -0.0626284182, -0.0111531429, -0.0216296073, -0.011938435, -0.0475557297, 0.041813232, -0.0288167875, -0.0241733324, -0.0408589244, 0.0777509734, 0.0312104747, -0.0152644571, 0.0346563384, -0.0209858343, 0.019168349, -0.0410420038, 0.033976119, 0.0294908676, 0.0378954411, 0.0067565152, 0.0463153422, -0.0339289345, 0.0342736058, -0.0983192027, 0.020385785, 0.0046227365, -0.0435123481, 0.0304827318, 0.0970897451, 0.0481705181, -0.0351501219, -0.0145588294, -0.0433446653, 0.0482128039, 0.013718647, 0.0247092117, 0.0180024356, 0.0322217643, -0.0126948599, -0.0564547107, 0.0449001268, -0.0384177752, 0.019911984, 0.0065007797, 0.0177704766, -0.0802374408, -0.0059000007, -0.0250403024, -0.005685071, -0.0290082004, -0.0372769609, 0.0160503816, -0.0080376826, -0.0311026629, 0.0568980873, 0.012670964, -0.013146366, -0.0094738351, 0.0485375784, 0.0113526694, 0.0272319075, 0.0189795271, -0.0788491145, -0.0021365657, -0.0290021971, 0.0358999744, -0.0508985855, 0.0448911488, -0.0312388055, 0.0498792082, 0.0081774341, -0.055195041, -0.0422167778, 0.0214602463, -0.115490295, -0.0223681983, -0.049268309, 0.0135275722, 0.0411412306, -0.0169701446, 0.0302541889, 0.0489602871, 0.0675022081, -0.034212444, -0.0490855649, -0.0068155904, 0.0218855031, -0.0002461939, -0.0045354213, -0.0342529826, -0.0099821351, 0.0341296829, -0.0603424981, -0.0002673321, -0.0108357156, 2.622e-7, 0.0112393834, 0.0452223755, 0.0307957828, -0.0127441017, 0.0439268015, 0.031123573, -0.0039513595, 0.0469293296, -0.0251503214, 0.0014255034, -0.0050582644, 0.024446724, -0.0255734231, 0.0320519954, 0.0253948141, 0.0537984185, -0.0234282594, -0.0319049396, -0.0309542343, 0.0058750347, 0.0598419458, 0.0697241053, 0.0087299151, 0.011883311, 0.020027535, -0.0265263077, 0.047330521, -0.0377863459, 0.0255512446, -0.0358638428, 0.0074304631, -0.0173354726, 0.0695095584, 0.009006747, 0.01738571, 0.0299539361, 0.0594158806, -0.002753034, -0.0152499992, 0.0365005583, 0.009434009, 0.00675243, 0.0028103325, -0.0428065397, 0.1013599411, -0.028814584, -0.0339386985, -0.0323861837, -0.0330234021, 0.0708792135, 0.0257587861, 0.0572115853, -0.0344423056, -0.0002421194, 0.0126123633, 0.0096803484, 0.0213280898, -0.0311366301, 0.0233156923, -0.0023916077, -0.0428140499, -0.0102528241, -0.0332202278, 0.0016669427, 0.0563669391, 0.0168945119, 0.0075742798, 2.352454167e-34, -0.0120517313, 0.0249956641, 0.0165753402, -0.0294362959, -0.0000921445, -0.0562581085, -0.008207906, -0.0113456454, 0.0128042847, -0.0748094991, 0.0190752931 ]
http://arxiv.org/abs/2406.10977v1
http://arxiv.org/pdf/2406.10977v1
Toward Optimal LLM Alignments Using Two-Player Games
2024-06-16T15:24:50
2024-06-16T15:24:50
Rui Zheng, Hongyi Guo, Zhihan Liu, Xiaoying Zhang, Yuanshun Yao, Xiaojun Xu, Zhaoran Wang, Zhiheng Xi, Tao Gui, Qi Zhang, Xuanjing Huang, Hang Li, Yang Liu
cs.CL
cs.CL, cs.AI, 68
The standard Reinforcement Learning from Human Feedback (RLHF) framework primarily focuses on optimizing the performance of large language models using pre-collected prompts. However, collecting prompts that provide comprehensive coverage is both tedious and challenging, and often fails to include scenarios that LLMs need to improve on the most. In this paper, we investigate alignment through the lens of two-agent games, involving iterative interactions between an adversarial and a defensive agent. The adversarial agent's task at each step is to generate prompts that expose the weakness of the defensive agent. In return, the defensive agent seeks to improve its responses to these newly identified prompts it struggled with, based on feedback from the reward model. We theoretically demonstrate that this iterative reinforcement learning optimization converges to a Nash Equilibrium for the game induced by the agents. Experimental results in safety scenarios demonstrate that learning in such a competitive environment not only fully trains agents but also leads to policies with enhanced generalization capabilities for both adversarial and defensive agents.
[ 0.0296514686, 0.0320751294, -0.0184437092, 0.0213666167, -0.0498125777, 0.0025973797, -0.0412925519, -0.009290969, 0.0046198466, -0.0134149129, -0.0327204615, -0.0374331325, 0.0036089201, -0.0433015302, 0.0477956608, -0.0225690417, 0.0639887601, -0.0293958858, 0.0054264856, -0.0099042151, 0.0181004182, -0.0348532423, -0.0319492109, 0.0026983302, 0.0162071791, 0.0071016224, -0.0438640155, 0.0302419513, 0.052136004, -0.026115993, 0.0243667532, -0.0070821354, 0.0166745037, 0.066407986, 0.0000016803, -0.0559287183, -0.0267187133, -0.018512167, -0.0200089421, -0.0239057671, 0.0160449948, -0.0471116975, -0.0373920798, 0.0209592003, -0.0456255227, 0.0275948979, 0.0397252142, 0.0275021549, 0.0770635605, 0.1180816814, 0.0266153105, -0.0002480984, 0.0411055051, -0.0271261204, -0.0243817978, -0.0899996981, 0.0136172445, -0.0167518463, -0.024952963, -0.0316812173, -0.0129995067, 0.0181990732, 0.0081225261, 0.007972368, -0.0348135903, 0.0302896611, 0.0037644184, 0.0085870279, -0.0263159852, 0.0622224137, -0.0288737323, -0.0175563563, 0.0153399464, -0.028516762, 0.0306777712, -0.0060863011, 0.0036165689, -0.0107760997, 0.0062825945, 0.0377605706, 0.0067045344, -0.0374005809, 0.0553228408, 0.009657193, 0.0069604316, 0.0645516589, 0.001230737, -0.0423685834, 0.0184472986, 0.0099925147, -0.0019258129, -0.0635557324, -0.0577915162, 0.0438143238, -0.0764980763, 0.0380650498, -0.0579138249, -0.0106840283, 0.0197295286, -0.0142927282, 0.0296763275, 0.0262934435, 0.0142790014, 0.0373488516, -0.0058825468, 0.0506556258, -0.0321995728, 0.0679487213, -0.0191396102, 0.0199808013, -0.0097586755, -0.0162271298, -0.0006246939, 0.0205246247, 0.0188527908, 0.0237494949, -0.044817213, 0.0412724391, -0.0257272776, 0.1047869176, -0.0270795058, -0.0070716459, -0.0264022592, -0.0149312178, -0.0473957434, -0.0159231164, -0.0279886406, 0.0024375138, 0.0220814981, -0.0439638011, -0.0353185162, 0.0174608305, -0.0611040927, -0.0402661301, -0.0020008353, 0.1116105914, -0.0289930217, -0.0089608822, -0.0275630299, -0.0016501239, -0.0045986846, -0.0663230494, -0.0024174899, -0.0380155854, 0.0280229915, -0.0261631943, -0.0469413884, -0.0749014094, -0.0036706694, -0.0186732598, -0.0070331688, 0.1242855713, 0.0093302177, -0.0011273483, 0.0323528722, -0.0166098401, -0.006199819, 0.0735668913, 0.0333702974, 0.0123673314, 0.0153638618, -0.0005787945, 0.0136208255, 0.06975995, 0.0390598476, 0.0440637395, 0.0103579452, 0.0001798903, 0.0293878634, 0.0922863558, 0.0200635958, -0.004071048, -0.0083556874, -0.0372382663, 0.0677382573, 0.0442885906, -0.0002006817, -0.0167167746, 0.0038541455, 0.0208260249, -0.0283231195, 0.0487162732, -0.0612662137, 0.0195380226, -0.0640318617, -0.0020287277, 0.0006978134, 0.0030458204, -0.0309379846, -0.0390332453, -0.0149461105, -0.0119351363, 0.0209418293, 0.0237091314, 0.0253737941, 0.0014051691, -0.0726206526, 0.0179893635, 0.0229796935, -0.0129538365, -0.0079393517, -0.0608421564, 0.0232658219, 0.0406106412, 0.0440281108, -0.0640464574, -0.0591027439, -0.01372883, -0.0195823722, 0.0534875654, 0.0355340131, -0.0046035619, 0.0131304776, -0.0393387228, -0.0348578617, -0.0264336821, -0.0117048761, 0.0348214619, 0.0156996585, -0.0285418499, -0.0330765508, 0.0295749288, -0.0422763936, 0.0607945696, -0.0034017407, -0.0543350242, -0.0281285271, 0.0509206168, 0.0567006581, -0.0042549567, -0.0062511279, 0.0161109287, 0.0420731567, -0.0196271297, 0.0095684007, -0.0051788888, 0.0053805513, -0.0173414703, 0.0663622171, -0.010514711, -0.0321904942, 0.0424432904, -0.0494497642, -0.0319063365, 0.0006235606, -0.028270876, 0.0074456478, 0.0120043587, 0.0271959398, -0.0093571479, -0.0200554319, -0.0692466199, 0.060103111, -0.0042636599, -0.0146576986, -0.0110164061, 0.0124419928, -0.0045691794, -0.0704188421, -0.0057134647, 0.0299918111, -0.0054299301, 0.0202097502, 0.0434192717, -0.012251433, -0.0319736488, -0.0301730391, -0.0078136912, 0.0086917961, -0.0167167764, 0.0295641478, 0.0391004458, -0.0516031571, -0.0083656106, 0.0022834663, -0.0501709133, 0.0075041326, 0.0263279434, 0.0004779004, 0.0677118674, 0.0116676921, -0.0386764482, -0.0719931349, 0.0083912406, -0.0248959493, -0.0052880533, -0.0151509102, -0.0033380305, -0.0803688094, 0.021105146, -0.0176861919, 0.0537802987, -0.0344836563, -0.0598369651, 0.0541073196, 0.0099165523, -0.0135081876, 0.1083781421, -0.0015262002, 0.0415265188, 0.0527818911, 0.0333265401, -0.0875443444, 0.0299777463, -0.0089145862, -0.0652030781, -0.0946983546, -0.0365400016, 0.0278773531, 0.0926612392, 0.0066299136, 0.0124864839, -0.0436022766, 0.0131303156, 0.0478548035, -0.0431310534, -0.0206491668, -0.0240615141, -0.0442405567, 0.0137518737, -0.0527636036, -0.0401710682, 0.0936550498, -0.0205439571, 0.0139085036, -0.016633993, -0.0250987019, -0.0003312763, 0.045177307, 0.0100433184, 0.0161413606, -0.0142901819, -0.0306495689, -0.1025250331, -0.0658955052, 0.0602902509, -0.0267883483, 0.0551523007, -0.0223635975, 0.0001736658, -0.0257433951, -0.0346628502, -0.066171661, -0.0379111022, -0.020337835, 0.0016378162, -0.0190239269, -0.0117808348, -0.0516609102, -0.0139046945, 0.0305272769, -0.0102136619, 0.0043696258, 0.0120577626, -0.0481305942, -0.0014989979, 0.0512913428, 0.032959342, -0.0010112301, -0.0421392731, 0.035382811, 0.0384702086, 0.0267282855, 0.0155490711, -0.0065474245, -0.0346381031, 0.0430855379, -0.0692467988, 0.0062488611, 0.0169415232, 0.0343556739, -0.0127230762, 0.0052021015, 0.0575439148, 0.019833928, -0.0139185516, 0.0115036285, -0.0142273298, 0.0450160205, 0.0114335679, 0.0277670752, -0.0339965709, -0.019209424, 0.0009215979, 0.0352579057, 0.008314399, -0.0062949872, -0.003420989, -0.1251499355, -0.0316844359, 0.0313554779, -0.0366354212, -0.0179574192, 0.0155746965, -0.0093504563, -0.0306150429, 0.0608429164, 0.036566034, 0.0291498415, -0.0163763575, 0.0176011473, 0.0412621945, -0.0022264987, -0.0411533043, -0.053290464, 0.0756424591, 0.1231724918, 0.0395522527, -0.015705822, -0.0329843163, 0.0229638442, 0.0246541351, 0.0042931074, 0.0464097597, 0.0204909164, -0.0288225655, 0.0027757376, 0.0243581552, 0.053102091, 0.0092151305, 0.0087409792, 0.0180650894, 0.0187056828, -0.0043988442, 0.033848621, 0.0099589368, 0.0115623958, 0.0185982008, 0.058525674, 0.0012930548, -0.0339708626, -0.0391433947, -0.0375038534, 0.0022784197, -0.0475859232, -0.0444044434, 0.0348865055, -0.0090200379, 0.0158506725, -0.0485817231, -0.0566023923, -0.023590941, 0.0296956692, 0.0177467875, -0.010931246, -0.0331630819, 0.0099575706, -0.0150506292, -0.009689251, -0.0155690713, 0.0249147899, -0.0371119417, -0.0149781452, 0.0013605929, -0.057804849, -0.0065126484, -0.0027023586, -0.0512540936, -0.0977279618, -0.0144267892, 0.0421818532, 0.0157763436, 0.0832469687, -0.0239479188, -0.0297377929, 0.0572426058, 0.0151600568, -0.0090705594, 0.0136105791, 0.0386269093, 0.0042163413, 0.0044616363, 0.0578948893, -0.0550642721, -0.0430043079, 0.0765990391, 0.0314906947, -0.04467934, -0.0322247036, 0.0428159125, 0.0108823404, 0.0493340641, -0.045002643, -0.0238440055, 0.0237297863, 0.0284971092, 0.0219701659, -0.0247214325, 0.003303899, -0.0192029458, 0.0248353686, -0.0224979557, 0.0380624495, -0.0067893253, 0.0105125131, 0.0244268216, -0.0161536615, 0.0094721215, 0.0137331774, 0.0236746389, 0.0263107121, 0.0337566398, 0.0122801503, 0.0754806474, 0.01882842, 0.0263615474, 0.0474973209, 0.0396385342, 0.0504135266, 0.0306944214, -0.0134594152, 0.0071961954, -0.0494699441, -0.0496541895, 0.0075233988, 0.0291130058, 0.0819831863, 0.0181161985, 0.0211190134, -0.0147469416, -0.0069725914, 0.0235505421, -0.0163149145, -0.0414786227, -0.0089568608, 0.0624558032, 0.0232601296, -0.0158770476, -0.0017737027, 0.0684050322, 0.0120783532, 0.070946157, -0.0390736945, 0.0322335996, -0.0383880846, -0.0528482981, 0.0493854173, 0.0012872203, -0.0404361151, -0.0028978926, -0.0142426984, -0.0519274622, -0.0314847454, 0.0657259449, -0.0204557851, 0.0014728594, 0.031735383, 0.0359698273, -0.0140263988, 0.0043356088, -0.0163730774, 0.0166458134, 0.0020311889, -0.0584963374, 0.0028524373, -5.574625104e-33, -0.0340678841, -0.0409155115, 0.0310895834, -0.0065138545, -0.029186951, -0.0337682031, 0.0015772015, -0.0089972476, -0.02702008, -0.0065440703, -0.0103017492, 0.0074318829, 0.0122418879, -0.0056715859, -0.0029440757, -0.0561720915, -0.0056898594, -0.0217961781, -0.0503491499, -0.0313490666, -0.0158441532, 0.0266940668, 0.04956384, -0.0253369398, 0.0590046048, -0.0072812913, -0.046024248, 0.0467287898, -0.0416511968, 0.0629619509, 0.0266679749, -0.0095684007, -0.0078870552, -0.0299436133, 0.0151726594, 0.0124366051, -0.0315652229, -0.0171128884, 0.0338834897, 0.0243555494, -0.0588375032, -0.0534779653, 0.0615045354, -0.0242892019, -0.0393205956, 0.0179946553, 0.0137900524, -0.0091296434, -0.0325657725, -0.0003347704, -0.0538706183, 0.0039369031, -0.0151861589, -0.0250366498, 0.0124112796, -0.0027281083, 0.0140818972, 0.0067120777, -0.0608063415, 0.0220295247, 0.003422423, 0.0172439069, 0.0909917578, 0.0467919149, 0.0076712985, 0.0635292605, -0.0070934533, -0.0272124428, -0.0223736595, -0.0509767421, 0.0007237614, 0.0019305105, 0.0433372594, 0.0667293891, -0.0106988, -0.0133427298, -0.0740895495, 0.0323841795, 0.0229408611, 0.0469490029, -0.0069916006, 0.0497640334, -0.037859343, 0.0083823483, -0.0453994721, -0.0126729002, 0.0000700777, -0.0531000607, -0.0004077959, 0.0040967371, 0.0034072802, -0.0542236902, -0.012779776, -0.0373499915, -0.0018511617, -0.0072924271, -0.0026967044, -0.0094040288, -0.0232927594, 0.0176964942, -0.0591986217, -0.0400324576, -0.0404930897, -0.0166278258, 0.0282289237, 0.0305437446, 0.0272272527, 0.0280562099, -0.0460804328, 0.0198748335, -0.0245279148, 0.0251125712, 0.0122301914, -0.0221211836, 0.0667822808, -0.0298102424, -0.0006604796, 0.0223405771, 0.0132248495, -0.058451049, 0.0021078209, 0.024074411, -0.0348905399, 0.0271590166, -0.0369687006, 0.0272523463, -0.0039622518, 0.0525812805, 0.0034508863, -0.0581058972, -0.0110790068, -0.0373315811, 2.464e-7, -0.0000628904, 0.0213307869, 0.0343690962, 0.0395309776, 0.0088677378, 0.0681208372, -0.0620269366, 0.0625486299, -0.0356782489, -0.0438240096, 0.0431573503, 0.0240181182, 0.0429220349, 0.0125922253, -0.0462198704, 0.0240889676, -0.0902122259, 0.0356799997, -0.0232806578, 0.0113668358, 0.0178698339, 0.0849058479, 0.0192785095, -0.0119009791, -0.001446333, -0.0387494005, 0.0438383408, -0.0508582629, -0.0039843563, 0.0359114334, 0.0378080048, -0.0093409829, -0.0295969564, 0.0106491521, 0.006091577, 0.0260124188, -0.029181106, 0.043781817, -0.0116070993, -0.0525674373, -0.0487976037, -0.0021020405, 0.0102847945, -0.0254888758, 0.04272056, -0.037645068, -0.0498350523, -0.0115686515, 0.0148836039, -0.0215150248, 0.0034276131, -0.0105324788, -0.0026488944, 0.016874142, 0.0057540224, 0.0171490163, 0.0070646717, -0.0523340106, -0.0387579761, 0.0199209843, -0.0128135532, -0.0308715422, -0.0018697873, 0.0441334583, 0.0133494241, -0.0512187444, -0.0321650133, 1.827939748e-34, -0.0062133991, -0.0368389077, 0.0138640944, 0.0236733127, 0.0119872224, 0.0084291054, -0.0346962996, 0.0279838964, 0.0649432316, -0.0038797769, -0.0068026483 ]
http://arxiv.org/abs/2406.10976v1
http://arxiv.org/pdf/2406.10976v1
Promoting Data and Model Privacy in Federated Learning through Quantized LoRA
2024-06-16T15:23:07
2024-06-16T15:23:07
JianHao Zhu, Changze Lv, Xiaohua Wang, Muling Wu, Wenhao Liu, Tianlong Li, Zixuan Ling, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang
cs.LG
cs.LG, cs.CL, cs.CR
Conventional federated learning primarily aims to secure the privacy of data distributed across multiple edge devices, with the global model dispatched to edge devices for parameter updates during the learning process. However, the development of large language models (LLMs) requires substantial data and computational resources, rendering them valuable intellectual properties for their developers and owners. To establish a mechanism that protects both data and model privacy in a federated learning context, we introduce a method that just needs to distribute a quantized version of the model's parameters during training. This method enables accurate gradient estimations for parameter updates while preventing clients from accessing a model whose performance is comparable to the centrally hosted one. Moreover, we combine this quantization strategy with LoRA, a popular and parameter-efficient fine-tuning method, to significantly reduce communication costs in federated learning. The proposed framework, named \textsc{FedLPP}, successfully ensures both data and model privacy in the federated learning context. Additionally, the learned central model exhibits good generalization and can be trained in a resource-efficient manner.
[ -0.0044257352, 0.1122978255, -0.0143990945, 0.0481860936, -0.0284766406, -0.0303375721, 0.1111607403, -0.0127933295, 0.0166113582, -0.0111040156, -0.0523331128, -0.0179215241, 0.0009067269, 0.0250490271, 0.0213812832, -0.00466986, 0.0283050202, -0.0295468215, -0.0065105888, -0.0380697399, -0.0360848643, 0.0136650298, 0.0327826105, 0.0073588318, 0.0236023013, -0.070600383, -0.0205987114, 0.0050749606, 0.0111474562, 0.0171577968, 0.0564952828, 0.0464882143, 0.0209137574, 0.0770260245, 0.0000019392, 0.0148795033, -0.0775123537, 0.0415471382, -0.0382974781, 0.0347255096, 0.0051997872, -0.0014046429, -0.0114201028, 0.030047724, -0.0444845706, -0.033732675, 0.0330266282, -0.0010912368, 0.05024755, 0.0616363958, 0.0049429885, -0.0152062792, -0.0124583198, -0.0260880664, -0.0889759883, -0.0455892459, -0.0238734093, -0.0249221046, -0.05167339, -0.0008507838, -0.0203958657, 0.0338378176, 0.0325508229, 0.0393485278, 0.0078540826, 0.0015525247, -0.0364239328, -0.0328944772, -0.0479860641, 0.0395291932, -0.0203437153, -0.0071766293, 0.0316778645, 0.0065924418, -0.0163750481, -0.0057381112, -0.0075265854, 0.0392809734, -0.0148092303, 0.036911577, -0.0211385731, -0.0264246576, 0.0068848543, 0.0137728406, 0.0300257225, 0.0784080401, 0.008760062, 0.0314072371, -0.0548985451, -0.0232955143, -0.0290027075, -0.0790569559, 0.0570997521, 0.0233340468, 0.0254243705, -0.0239611641, -0.0812107399, -0.0446973331, -0.0024645079, 0.0228851605, 0.0306563508, -0.0309467241, 0.0148086566, 0.0341676325, -0.0121487398, 0.0115830917, -0.0412167013, 0.0404393338, 0.0301299505, 0.0359514877, -0.0137351165, -0.0002557955, 0.0064636045, 0.0730213895, -0.0587873869, -0.0106682135, -0.0117415367, 0.0221965648, -0.0203803126, 0.0359359533, -0.0227083098, 0.0151798809, -0.0143724969, -0.028673429, 0.032828331, -0.0110419206, 0.0047788001, 0.0158707555, 0.0291419663, -0.0508109145, -0.0261051059, -0.0138443355, -0.0194472298, 0.0152879506, -0.0198130347, 0.0602662861, 0.0405409597, -0.0118377991, 0.0170072205, -0.0865849927, 0.0581810921, -0.0578401461, -0.0137258619, -0.0473907106, -0.0182000585, -0.0272193421, 0.0109524922, -0.043427337, -0.0175607298, -0.0079350406, 0.0048952983, 0.0333501659, -0.0335135534, -0.0265155099, -0.0043820394, 0.035131298, 0.004945335, 0.0588459261, 0.0213054642, 0.0201900024, 0.0645700097, 0.0113859987, 0.0029150071, 0.0061105648, 0.0621609166, 0.0220223963, -0.0022803168, 0.0054208566, -0.0068443343, -0.00915433, -0.0296962354, 0.0234348346, -0.0291182529, -0.0414263941, 0.0662108511, 0.0689210221, 0.0430666655, -0.0033568421, -0.088580519, 0.0379504301, 0.0052805454, 0.0065515018, -0.0499240197, 0.0166928247, -0.0278135408, -0.0509621426, 0.0077207452, 0.0869707912, -0.0263727773, -0.0294539779, 0.0082582179, -0.0583198667, -0.0347461365, 0.0498373248, -0.0101345722, 0.0270826351, 0.0360771716, 0.0653037354, 0.0108492626, -0.0330089517, -0.0177495535, -0.0447071865, 0.0200842228, 0.0491937585, 0.0533155091, 0.0002816322, -0.0163042806, -0.032640148, 0.0190694574, 0.0166573264, -0.0337944254, 0.0047473037, 0.1032802016, -0.0243552756, -0.0570892319, 0.0147405872, 0.0152904578, -0.0091237891, -0.0037094771, 0.0142020965, -0.0231911447, -0.0076936069, 0.0041440427, 0.0164258834, 0.0327836163, -0.0556248166, 0.036546465, 0.0321274474, 0.0056677032, 0.0168267526, -0.0057938742, -0.0185823031, 0.0019505032, 0.0378067158, 0.0114353923, -0.0483757742, 0.0150980828, 0.0122131435, -0.017603429, -0.0053390223, 0.0347960889, 0.0312360395, -0.0479275249, 0.0016587131, -0.0036577419, 0.0111384401, 0.0485848635, 0.0326577909, 0.0065170168, -0.0023213658, 0.0689068884, -0.0153568201, -0.0358647071, -0.0299771652, -0.0345373042, -0.0232218597, -0.0003740777, 0.0281136725, -0.040409904, 0.0335019976, 0.0162556749, 0.0354507007, 0.0203539971, -0.0176622439, 0.0286303815, 0.0216837805, 0.0207012817, 0.0119210742, 0.0000739299, -0.0513183698, 0.049274873, 0.0368981026, 0.0271403734, -0.0247425195, -0.0625391752, -0.0220759809, 0.0070511317, -0.0589758195, 0.0239535104, -0.0103300093, 0.0015282591, -0.0502503663, -0.0051648896, -0.0380699188, 0.0311816148, 0.0482386127, -0.0386961773, -0.0134969437, -0.0706049204, -0.0107840803, -0.0586742945, 0.0283486433, 0.0073951627, 0.0132626919, 0.0337703899, 0.0322421119, -0.0453849398, 0.0694168136, -0.0129182683, 0.0074383328, 0.0699124485, 0.0055988058, -0.0467660613, -0.0061569214, -0.0226130355, -0.0588517562, -0.0459077843, 0.0457989015, 0.0292352121, 0.0195903145, -0.0232505593, -0.0572201945, -0.0050985054, 0.0725554079, -0.0152334226, -0.0382818468, -0.0465552807, 0.0314218886, 0.0240227096, 0.0570790209, 0.0199145805, -0.0581954569, 0.0657076985, -0.0221856553, 0.025702009, -0.0034685079, -0.0622982457, -0.0385576151, 0.0429631546, -0.0411849618, 0.0534910001, 0.0012561212, -0.0530618019, -0.018035762, 0.0076147891, 0.0569982342, -0.0401056968, -0.0529288165, -0.0295987464, -0.0416990854, -0.0098329745, -0.0470935777, 0.0195651501, -0.0376211219, 0.006657341, 0.0010800095, -0.0611629039, -0.0166977812, 0.0586159118, 0.0131656807, 0.0076138098, 0.0152116939, -0.0421691649, 0.0137731237, -0.0305905621, -0.0028751034, 0.0054296772, -0.0541339628, -0.0110550197, -0.0106198918, -0.0023160002, 0.070848003, 0.0769322067, 0.0085186707, 0.0227146801, -0.0288139805, 0.0435767435, 0.0137618203, -0.0114058172, -0.0030280033, 0.0857928395, -0.0243691541, 0.0027857043, 0.0259086024, -0.0200363584, -0.0731141046, -0.026752919, -0.0034037111, 0.0699831769, -0.0064100497, 0.0068560564, -0.0962653458, 0.0109402817, 0.0287973937, 0.0613056645, 0.0122065069, -0.0178559963, -0.0638028681, -0.0461192131, -0.0109618967, 0.029090479, 0.0186702199, -0.024308756, -0.0223503932, 0.0044596819, 0.0056668757, 0.0288819689, -0.0442968421, 0.0049346872, 0.0020144039, 0.0153179662, 0.0090805423, -0.0168691408, -0.0343845114, -0.0333429165, 0.0372408703, 0.0093366876, 0.0061880867, 0.0223258808, -0.0285206605, -0.0213376489, 0.0500019528, -0.0295322463, -0.0076584979, -0.0022763491, -0.0251384489, -0.0264954045, 0.0212939829, 0.0337071829, 0.0451641716, -0.0060667256, 0.0213249419, 0.0303447731, 0.0018874391, 0.0148283783, 0.0084506916, -0.0389943607, 0.0543835126, 0.0085723661, 0.0027992718, -0.0061468021, -0.0260729641, -0.0044372631, 0.0292258952, 0.0317127258, 0.0034386197, 0.0219825637, -0.0102035934, -0.0426572114, -0.028446367, 0.0243809167, 0.0054692468, 0.0434395671, 0.0276503284, 0.0235623717, 0.0569636971, 0.0005240326, -0.0372261032, 0.0168633629, -0.0641946271, 0.0228682552, -0.0377888344, -0.0241578799, -0.0032554655, 0.0036031744, -0.0319420695, 0.0235047098, -0.088435851, -0.0843541399, 0.0176178962, 0.031304244, 0.0223085284, 0.0381632447, -0.0218561143, -0.0707973614, 0.1169442087, 0.0527422428, -0.0650532991, 0.0380250439, 0.0667939931, -0.0713980719, 0.0059562074, 0.0305584259, -0.0557367019, 0.0043149912, 0.071317859, -0.0326018929, -0.0261552241, -0.0694156215, -0.0233412925, 0.0177996531, 0.0610331595, -0.0046118698, 0.0246260464, -0.0179074705, 0.0530209988, -0.0064302627, 0.0336015038, -0.0385088585, 0.013395207, 0.0046386286, -0.0241783839, 0.0254354309, -0.005927518, 0.0792144164, -0.026801765, -0.0000607303, 0.0033933055, -0.0025197582, -0.0102830073, 0.0544731505, 0.0179681871, -0.0211811438, 0.066474475, 0.0078777112, 0.0442066006, -0.0161807444, 0.0114376647, -0.0164610129, 0.0129119074, -0.0141611276, 0.0710304976, -0.0472942069, -0.1487600356, -0.0253159124, 0.0243733507, -0.0005887891, 0.0740986913, -0.0121118277, -0.0336240679, 0.0008490242, 0.0052358126, 0.009494218, -0.0420240834, -0.055640433, -0.0173001122, -0.0159342308, 0.0330497399, 0.0446545668, 0.0622372739, 0.0531880632, 0.0128555307, -0.0412643589, -0.0055492357, -0.049522236, -0.0240224618, 0.0139123667, 0.0266908742, -0.011632503, -0.0180726163, 0.0257920176, -0.0632933229, -0.0111802612, -0.0093142949, 0.0042387685, -0.0079550156, -0.0180345792, 0.0079027228, 0.0016365042, -0.0383160636, -0.0865990371, -0.0111963861, 0.0182590876, 0.0125522083, 0.0075593102, -5.824948095e-33, -0.0139046665, -0.0090412879, -0.0121835265, 0.0306426007, 0.0182993319, 0.0553151034, 0.0177068058, -0.0186753739, 0.0211331937, -0.0343044922, -0.0542055331, 0.042961292, 0.0346458852, 0.0350412689, -0.0281397887, -0.0282245297, 0.0396277532, -0.0459248014, -0.0198834762, 0.0531314313, 0.0393369459, 0.0346089117, 0.040184781, -0.0240979455, 0.0157226007, -0.0106440512, -0.0407200232, 0.0129088536, -0.0679722056, 0.0321351364, -0.0432005152, -0.0096969614, -0.0187508557, -0.0136378203, -0.0379404798, 0.003809012, -0.0358800367, -0.0111479871, -0.0290958211, 0.0219997279, -0.018033104, -0.0366364457, 0.0475772806, -0.0345775411, 0.0102419714, -0.0224672575, -0.0113695152, 0.0455226563, -0.036989674, -0.0466835685, 0.0312720239, -0.0042479276, 0.0358530656, 0.0348914154, 0.0740460902, -0.0240740571, -0.0055700191, -0.0604174212, -0.0569848828, 0.01417532, 0.0148720257, -0.0003942491, 0.0370819122, 0.0360303186, 0.0122577846, 0.0364831537, 0.0738212094, 0.0087395189, -0.024021754, 0.029059222, -0.021426009, 0.0337179415, -0.0033812583, 0.0298276562, 0.0091051012, -0.0256050453, -0.0115836468, -0.0339911282, -0.0091134394, -0.0227048527, 0.0137397805, 0.015014532, -0.0257312208, -0.0013028991, -0.0386191681, -0.0483252332, -0.0155339176, 0.0005012289, -0.017158825, 0.0284528397, -0.0279973429, -0.0263359267, 0.0222732201, -0.0397625864, -0.0294604357, -0.0082956273, 0.0898298994, 0.0032755404, 0.0131718433, 0.0130894519, -0.0218907651, 0.0010840365, -0.0281608421, -0.0225144755, 0.0218482129, 0.0016680796, 0.068967931, 0.042714566, -0.0538184196, -0.013091255, -0.0376346596, 0.0302272066, 0.0432698429, 0.0004697799, 0.0444527529, -0.0450649112, 0.0156353377, 0.0148035511, 0.0134231132, 0.0397179052, -0.020008821, 0.0217289068, -0.0118104154, 0.0264953915, 0.0044233561, -0.0070398939, -0.0280913711, 0.0320208296, 0.0737835914, -0.0166684128, 0.0191458985, -0.0355008841, 2.656e-7, -0.0413929559, -0.0046736929, -0.0160662681, -0.0512496568, 0.0231435094, 0.0142694963, 0.0132740457, 0.0782113224, -0.0121898362, 0.0175103582, -0.0419797525, 0.0094349058, 0.0375288427, 0.0103959544, -0.0543412678, -0.0249206349, -0.0290928148, 0.0366388448, -0.0578345023, -0.0465793908, -0.0315616094, 0.056830354, 0.0495611541, -0.0343066268, 0.021899974, 0.0045347647, 0.0120275021, -0.0158551224, -0.0241802279, -0.024129374, 0.0590009242, 0.0883963779, -0.0100881811, -0.0502297245, -0.0104101179, 0.0171661172, -0.0765902922, 0.0712043494, 0.0224995185, 0.0324404165, -0.0297438446, -0.0530552939, -0.0627233014, 0.0229294505, 0.0438402072, 0.0062141973, -0.0143798832, -0.0637590215, 0.0486342609, -0.1084824055, 0.0485425405, -0.0044278391, 0.0345682018, 0.0165425949, -0.0109627582, -0.017082911, -0.0127311889, -0.0772817284, -0.0179913975, -0.0270105992, 0.007614058, -0.0397077277, -0.0208253618, 0.0155484779, -0.002600203, -0.0006197288, 0.0411548465, 2.112634722e-34, -0.0078017781, -0.0325067304, 0.0245696343, 0.0089992685, -0.0029280984, -0.0351394713, 0.0352075323, -0.0190046225, 0.0255359486, -0.0301899128, -0.0103258649 ]
http://arxiv.org/abs/2406.10974v1
http://arxiv.org/pdf/2406.10974v1
Towards Supporting Legal Argumentation with NLP: Is More Data Really All You Need?
2024-06-16T15:15:44
2024-06-16T15:15:44
T. Y. S. S Santosh, Kevin D. Ashley, Katie Atkinson, Matthias Grabmair
cs.CL
cs.CL, cs.AI
Modeling legal reasoning and argumentation justifying decisions in cases has always been central to AI & Law, yet contemporary developments in legal NLP have increasingly focused on statistically classifying legal conclusions from text. While conceptually simpler, these approaches often fall short in providing usable justifications connecting to appropriate legal concepts. This paper reviews both traditional symbolic works in AI & Law and recent advances in legal NLP, and distills possibilities of integrating expert-informed knowledge to strike a balance between scalability and explanation in symbolic vs. data-driven approaches. We identify open challenges and discuss the potential of modern NLP models and methods that integrate
[ 0.0283518471, 0.0669137537, -0.0045228098, 0.0154038593, -0.0515405498, 0.0232691187, 0.0211273208, 0.0163729675, -0.0094612148, -0.0867041722, 0.0403120853, 0.0187865328, -0.0181415305, 0.0012608012, -0.0077693863, -0.0764766932, -0.0051541268, 0.0180098787, 0.0963663384, -0.0068958909, 0.0431434661, 0.0434010327, -0.0102518769, 0.0215459876, -0.0323066041, -0.0090696719, -0.0001894118, -0.020488197, -0.0123152323, -0.0102986703, -0.0445936956, 0.0531811193, 0.0408922322, -0.0015522247, 0.0000017372, -0.0582046397, 0.0248524323, 0.0033883969, -0.0315395147, 0.0031399312, 0.0063699074, -0.0807157233, 0.0057814885, -0.0166003052, -0.0367919505, 0.0556573346, 0.0345784537, 0.0355409011, 0.0198934581, 0.0729022473, -0.0073873755, -0.0612934679, 0.0472108535, -0.015298672, -0.0153982006, 0.0063333511, -0.0080043469, 0.045939479, 0.0409275554, -0.0219177715, 0.0477782898, 0.0129119502, 0.0390201695, -0.0457745828, -0.0132136336, -0.0029323287, -0.0205859914, -0.006152919, -0.0125031397, 0.0339217819, 0.0531359725, -0.068945244, -0.0072320015, -0.0188670512, 0.0340650417, 0.0511504672, -0.0235279743, 0.092695497, -0.0081806658, 0.0298960526, 0.0661147088, 0.0619357377, 0.0343700498, 0.0484809913, -0.0290433429, 0.045333609, -0.0340537354, -0.0314948037, 0.0247403532, -0.0025350312, -0.008763806, -0.0448641181, 0.0227273423, 0.0786343813, 0.0076788813, 0.0479439832, -0.0200727824, -0.0161014386, 0.0518595539, -0.0562100001, 0.0524819344, 0.0091260336, -0.0104336413, 0.0620181225, -0.0425365157, -0.0239160247, 0.0012379364, 0.0411125422, 0.0250014048, -0.0498267673, -0.0582072176, -0.0498367064, -0.0186436586, 0.0322187655, -0.0855132714, -0.0024946406, 0.0391402245, -0.0077870791, -0.0596481338, 0.0203669779, 0.0165687855, 0.0209137462, 0.023604922, -0.0486055426, -0.071418196, -0.0705207586, -0.0759541243, 0.0390802734, 0.0164742656, -0.0101174973, 0.0271852054, 0.0023980571, -0.0182047319, -0.0015361299, 0.0026475689, 0.1105632558, 0.0109330183, 0.0057818615, -0.0077402615, -0.087499842, -0.0224487185, -0.0607978404, -0.0473442338, -0.047150325, 0.0241377801, -0.0122577455, -0.0037378175, -0.0710395947, 0.0119189341, 0.0462814085, 0.0062965984, 0.0724608749, -0.0576166883, -0.0201915838, -0.0515613072, -0.003059333, 0.0090644481, -0.0008910225, 0.0136565985, -0.0248593893, 0.0127488319, -0.0192543026, 0.0248824432, -0.0285919309, 0.0130662117, 0.0168068893, -0.0149122467, 0.014138788, -0.0562998541, 0.0246741604, -0.0121444389, 0.0407512859, 0.0007851768, -0.0144676995, -0.001479881, 0.0846699998, 0.0024492934, 0.0522975847, 0.03419213, -0.0109875705, 0.0447104126, -0.0073859622, -0.0669672415, 0.0302026011, -0.025683511, -0.0119595025, -0.0860657319, 0.0154780056, 0.0124138156, -0.073409453, -0.0046440437, 0.0109785032, 0.0072378251, 0.0072350935, -0.0026540267, 0.0013358815, 0.0431176275, 0.0117341271, 0.0308273733, -0.0272858422, -0.0462430939, -0.0072854636, 0.001310279, 0.0265491251, 0.0194731373, -0.0324079245, 0.0106273219, -0.0150422547, -0.0144494297, 0.0499799699, 0.0269110911, -0.0205084626, -0.0198200922, -0.0077730487, -0.0207505468, -0.006527863, 0.0473320186, -0.0011342347, -0.0050433362, -0.021174673, 0.0326218233, -0.0530780219, -0.0172246732, 0.0424462631, 0.0022159969, -0.0180699024, -0.0003537893, 0.0098152375, 0.0381658673, 0.0616831109, 0.011486413, 0.0113385394, 0.0200044122, -0.0024611398, -0.0187002495, 0.044714801, 0.0163405165, 0.0092709158, 0.0633920953, -0.0262423363, -0.0231799539, -0.0169964675, -0.0394167304, -0.0161134452, -0.0294185299, -0.0312532522, 0.0120369373, -0.0305330548, -0.0418618284, 0.0110300062, -0.0258745011, -0.0169438887, 0.0460235588, 0.0264630355, -0.0468458347, 0.0195990652, -0.0029674852, 0.0459907092, -0.0147830863, 0.0139310276, -0.0154067809, -0.0112405205, 0.010406306, 0.022711562, -0.0148702916, -0.0151940016, 0.0037869357, -0.034481395, 0.0052269087, -0.0168703496, -0.0039671347, 0.0135274883, -0.0511989519, 0.0101459194, -0.0055290926, -0.0026302955, -0.0220812391, -0.0253000408, -0.0125014558, 0.0468837321, -0.0340625085, -0.0217503123, 0.003052708, -0.0253625773, -0.0510470048, 0.0247391965, 0.0397317037, -0.0083177257, -0.0137210973, 0.0077944081, -0.0210349001, -0.0006299431, -0.0144621413, 0.0285704918, -0.0096058855, 0.0194755048, -0.0538633056, 0.0263621211, 0.0249621216, 0.0167149864, 0.0145744123, 0.0298669655, -0.0538305007, -0.0096519738, 0.0071168593, 0.048511453, -0.0427926891, -0.014807825, 0.0181427207, -0.0012065856, -0.0158859193, 0.0091614258, -0.0392444246, 0.0304350648, -0.0061343368, -0.0057160743, -0.0134818628, -0.0233796258, -0.0122503629, 0.0664171353, 0.0222210959, -0.0662088543, 0.0526149385, 0.0149598066, 0.0733335018, -0.0433457345, -0.0524609052, -0.04935316, 0.0942869931, -0.0230499599, 0.0098812701, -0.0018721324, -0.0110758571, 0.0302085523, -0.0344134979, 0.050756488, -0.0038482829, 0.0826702416, -0.0473950729, 0.0576378442, 0.0065949885, -0.0372204371, 0.0022363139, -0.0277056918, -0.049645707, 0.0381350815, 0.012133657, -0.015540258, 0.0033124138, -0.0226358902, 0.0126016969, -0.0174696036, 0.0386541672, -0.0120283207, -0.0340608284, 0.0073669082, -0.0221794304, 0.0021034705, 0.0208957251, 0.0252018627, 0.0061259838, 0.0072619058, -0.0024220613, -0.0037927937, -0.0252437349, 0.0052981297, -0.0245847926, -0.0615608506, -0.0097021135, 0.0347337276, 0.0184229091, -0.0501146652, 0.0447032191, 0.0793845281, 0.0116268918, 0.0012202084, 0.0024169942, 0.0058265436, -0.0225643236, 0.010146264, 0.0325283147, -0.098173812, -0.0049260515, -0.0024757267, -0.0343346521, -0.0617780723, -0.0213208254, -0.0066013024, -0.0775026008, 0.0616046675, 0.006892798, 0.0012691675, -0.0287470371, -0.0362956487, -0.0045340732, -0.0300995391, -0.0125484793, -0.0233414844, -0.0288940854, 0.0130276103, 0.0429958813, -0.046136979, 0.0129347267, 0.017928265, -0.026661193, 0.067298755, -0.0001817442, 0.057570383, -0.033536531, -0.0300598647, -0.0068958993, 0.0012481483, 0.0305200629, 0.0126867462, 0.0251379032, 0.0132864146, 0.0281571615, -0.0419492759, 0.0362300985, -0.0380967148, -0.0585783161, 0.0278201122, 0.0600791276, -0.0609292015, -0.0150546068, -0.0460093804, -0.0105173411, -0.0326806828, 0.0517098196, 0.0094681792, 0.0416322276, -0.0490305126, -0.0436485372, -0.0338229276, -0.0377974138, -0.0490833893, -0.0109555507, 0.0183947813, -0.0157714617, -0.0186052416, -0.0529865772, -0.002366489, 0.0602138527, 0.0216018222, 0.0136580961, 0.0016892038, -0.0210615378, -0.0364326686, 0.0244148169, -0.0377639644, 0.008484032, 0.0531671271, 0.0112168528, -0.0228016358, -0.0009217244, 0.0026701249, -0.0246971156, 0.0363537595, -0.0134138474, -0.0271490496, 0.0064983093, 0.0224437509, 0.000288807, -0.0381378643, -0.0657729506, 0.0415638462, 0.0378511809, -0.0090638129, -0.030707743, 0.066342324, -0.0130226454, -0.0017501814, 0.0088440739, 0.0183100011, 0.0076403017, -0.005857816, 0.0383755602, -0.0645970553, 0.046728421, 0.0631412864, 0.0397196822, -0.0071958387, -0.0076309349, -0.0545112714, -0.0037047619, -0.0395420268, -0.0297223534, -0.0274359342, -0.0123200323, 0.0205931813, 0.0038933977, -0.0177377313, -0.0433719605, 0.017784873, -0.024703091, -0.0084367776, -0.0060538794, 0.0419019572, 0.0524669364, 0.0017964086, -0.0221698247, -0.0219396278, -0.0007779092, 0.0243723951, -0.0412180647, 0.049397368, -0.0032391828, 0.0311268046, 0.032029368, -0.0204449315, -0.0276746508, -0.0009861011, -0.0621994287, -0.0534935929, 0.0228573922, -0.0012564036, 0.0298104044, -0.0095635038, 0.0006564992, -0.0290816221, -0.0078748325, 0.0294096041, 0.0449497961, 0.0332223736, -0.0302462671, 0.0310066435, 0.0144262351, -0.0199890938, -0.0162311997, -0.0124427872, -0.0523418561, 0.028953759, -0.0073687518, -0.0084821954, 0.0044935234, -0.0322097167, -0.0123150134, 0.0375403054, -0.016816996, -0.0375329852, -0.0956951454, -0.0385546982, -0.0351802073, 0.0134513211, 0.0080165137, 0.0278940815, -0.0064751343, 0.0541437566, 0.0294962637, -0.0102085955, -0.0489501283, 0.0284423195, -0.0228464995, 0.0092746159, -0.0264727864, -5.334140265e-33, 0.0005268891, -0.048992373, 0.0150754116, -0.010013002, 0.0096240565, -0.0191430673, -0.0207672045, -0.0110502094, -0.0355355665, 0.0770829171, -0.0080183689, 0.0347801968, 0.0183486771, -0.0292452089, 0.0192363206, -0.0168039445, -0.0269857105, 0.0314986408, 0.0006815416, -0.0112868827, 0.0123705445, -0.0453638621, -0.0016034017, -0.103354983, 0.0812957138, 0.0950886831, -0.0207234509, -0.0317373089, -0.0707249343, 0.0371968895, -0.0182963572, 0.0604582243, 0.0199780967, -0.0238357913, 0.0180426203, 0.0394494981, -0.058385171, 0.0123309717, 0.0305080414, -0.0484831147, -0.0079764593, -0.036818739, 0.0097430125, 0.0177681614, -0.0180072319, 0.0017184817, 0.0493401363, -0.0482950471, -0.0033142385, -0.0825930163, -0.0775516778, 0.0494738109, -0.0419723578, 0.0418754108, 0.0199208967, -0.0036012605, -0.0013934135, 0.0198271424, -0.0359622128, -0.0159714911, -0.009248239, -0.0524703972, 0.0532223023, -0.0924307257, -0.0296410117, 0.0609862469, 0.0045879707, -0.0017426681, -0.0561908707, 0.0250888765, 0.010558771, 0.075992398, 0.065469712, 0.0336866826, 0.049621962, 0.0063294373, -0.0482082143, -0.0312485565, 0.0401566587, 0.0234589204, 0.0075370008, -0.0138614159, -0.0526586846, 0.0067774388, -0.044427786, -0.0686307102, -0.0036729677, -0.0119285053, -0.0119130258, 0.0047544562, 0.0139672859, 0.0123434104, -0.0443279967, -0.0472193994, 0.0177175719, 0.0117016481, 0.0339286327, -0.011338911, -0.0164579451, 0.0122231236, -0.0185877997, -0.0330851115, 0.0123251947, -0.0002943329, 0.0493991859, -0.0087480443, 0.0591374449, -0.018166991, -0.0239002611, -0.0149257723, -0.0246960372, -0.0112499781, 0.0308143813, -0.0220491942, 0.0231125709, 0.0750408918, 0.031830404, 0.0302818753, -0.0003130833, -0.0197400004, 0.0043901443, 0.0094743622, -0.0221769102, -0.036176756, 0.0095111234, -0.0083286399, -0.0012776395, 0.0187438335, 0.0374448188, 0.0025303084, 0.0136042545, 0.0393937379, 2.37e-7, 0.0941183269, 0.0377359614, 0.0097564664, -0.004008533, -0.0286226999, 0.0137590207, 0.0271281376, 0.0050819032, 0.0116151199, -0.0524987131, -0.0018842452, 0.042480085, 0.0377922095, 0.0518392473, -0.0218325704, -0.0341939032, -0.0250422452, -0.0647324547, -0.0509512909, 0.0733853355, 0.0845058113, 0.0603414588, 0.0428672545, -0.0039619892, -0.009868688, -0.0216126535, 0.0235343762, -0.0324507952, 0.0381349809, -0.0269442853, 0.1003690511, -0.0679326877, 0.031470146, 0.0376221724, -0.0032576516, 0.0362006612, -0.0610471666, 0.0419113971, -0.0323843397, 0.048240196, -0.0546675995, -0.0850553364, 0.0376192108, -0.0149338422, 0.051983241, -0.0249389615, -0.0318652391, -0.0000783244, -0.0642620176, -0.0279345121, -0.0024655617, 0.0326273255, -0.0136131318, -0.0157645922, 0.0109800156, -0.0213048272, 0.0228322223, -0.1167239249, -0.0165312905, 0.0609139986, 0.0137005942, 0.0539908633, 0.0212018285, -0.014769013, 0.0941893831, -0.076667808, 0.0119694639, 1.769225068e-34, 0.0123283286, 0.0121637173, 0.0398217663, 0.0579233058, 0.0666339248, 0.0561999939, -0.0228295811, 0.0029470667, 0.0374193639, -0.0530194268, 0.0424217433 ]