id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
unknown
update_date
unknown
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.17534v2
http://arxiv.org/pdf/2406.17534v2
Retrieval-style In-Context Learning for Few-shot Hierarchical Text Classification
"2024-06-25T13:19:41"
"2024-06-29T09:24:33"
Huiyao Chen, Yu Zhao, Zulong Chen, Mengjia Wang, Liangyue Li, Meishan Zhang, Min Zhang
cs.CL
cs.CL
Hierarchical text classification (HTC) is an important task with broad applications, while few-shot HTC has gained increasing interest recently. While in-context learning (ICL) with large language models (LLMs) has achieved significant success in few-shot learning, it is not as effective for HTC because of the expansive hierarchical label sets and extremely-ambiguous labels. In this work, we introduce the first ICL-based framework with LLM for few-shot HTC. We exploit a retrieval database to identify relevant demonstrations, and an iterative policy to manage multi-layer hierarchical labels. Particularly, we equip the retrieval database with HTC label-aware representations for the input texts, which is achieved by continual training on a pretrained language model with masked language modeling (MLM), layer-wise classification (CLS, specifically for HTC), and a novel divergent contrastive learning (DCL, mainly for adjacent semantically-similar labels) objective. Experimental results on three benchmark datasets demonstrate superior performance of our method, and we can achieve state-of-the-art results in few-shot HTC.
[ 0.0037757475, 0.0372716002, 0.0120017324, 0.0277444888, -0.0395280458, 0.0222652759, 0.0349032208, 0.0351005346, 0.0344475806, -0.0887200981, -0.0456431322, -0.0410074256, -0.0348576866, -0.0247180052, -0.0073823198, -0.0679772198, 0.0226525534, 0.0056857537, 0.0073357993, 0.0135517903, -0.0020766726, 0.0096413027, 0.0313159712, -0.0111352159, 0.024040252, -0.0311298165, 0.004042686, 0.0166102424, 0.0355337821, -0.0600397587, 0.0542380735, 0.0234511923, 0.0711079985, 0.0289069135, 0.0000020165, -0.0498297401, -0.0244944859, 0.0024862844, -0.0262279715, -0.0041302238, 0.1118495911, -0.017830668, 0.0299005136, -0.0000558525, -0.0115155447, -0.0449764878, -0.0083403103, 0.0479490906, 0.0230779927, 0.0669069812, -0.0166481733, -0.0614565723, 0.0015861822, -0.0269558188, 0.0104030119, -0.0509232804, 0.0411097445, -0.0429124162, 0.002455079, 0.0756494179, 0.0086375251, 0.0463859662, 0.026748443, 0.0316461287, 0.0045756814, 0.0308916587, 0.0004268762, 0.0212241337, 0.0087658027, 0.0300209615, -0.0274167713, -0.0670079514, 0.0062059043, -0.0345374942, -0.0146831917, -0.0342918076, -0.0312393755, 0.0250862408, -0.0045252419, 0.0189865921, 0.0393626243, 0.0496606231, 0.0198999979, 0.0142060909, -0.0031749117, -0.0278424006, -0.0076858583, -0.0475559644, -0.0171788577, -0.0247358643, 0.0208534002, -0.0324494168, -0.0060306424, 0.015435976, -0.0391061716, 0.0217580218, -0.0333438665, -0.0607182905, 0.0413413756, -0.0593873002, 0.0129844304, 0.0041091125, -0.016512474, 0.0662628263, 0.0150319813, 0.0058074985, -0.0130544985, -0.0008339157, -0.0288644973, -0.0118790474, -0.0656049624, -0.0197609141, -0.0484352149, 0.0356266834, -0.0248980541, 0.0102743525, -0.014573697, 0.0163219068, -0.0277228318, 0.01033941, -0.0417598486, 0.0096087204, -0.0362462811, -0.0133074373, 0.0291386787, 0.0083188452, 0.0068334881, 0.0056120134, -0.0088956105, 0.0094567807, -0.0112694958, 0.0422245041, 0.0245224331, -0.0224991757, 0.0320884325, 0.037146192, -0.0289548971, -0.0883730873, -0.040602386, 0.0060662436, -0.0128111662, -0.0367272757, 0.0003574613, -0.0463158675, 0.000077419, -0.0217578802, -0.0008786207, -0.0272070095, -0.0116913123, 0.0513101369, -0.0090151988, 0.0483810976, 0.0114262784, -0.0521922819, 0.0832430273, 0.0243488718, -0.0220006742, 0.0453346483, -0.0113777956, 0.0206289291, 0.0286387615, 0.0329031758, 0.0288997348, 0.0184603464, 0.0366239287, 0.0174427051, -0.0595889986, 0.0234007407, -0.0086668581, 0.0139848078, -0.0048943385, 0.0119817248, -0.0311261937, 0.001446027, 0.032605812, 0.0413152017, 0.0095045706, -0.0386267081, 0.0133122867, 0.0344029851, -0.0213888418, -0.0302778855, -0.0178065989, 0.0156209618, -0.029955456, -0.0114370417, 0.0135510759, -0.0352200568, -0.0338028334, -0.0287617594, -0.0057869246, 0.006050651, -0.0270055886, 0.02241336, 0.067158334, 0.0137843378, -0.0377074741, 0.0012531739, 0.035020519, 0.0125420671, 0.0058363881, -0.037436422, -0.0049617444, 0.0354743078, 0.0257332847, -0.0484772697, 0.0081971595, -0.022282254, 0.0595877953, 0.0229360592, -0.0207988601, -0.0290182885, 0.0197683889, -0.0191599391, -0.0270007439, -0.0265832357, 0.0312282387, 0.0021070053, -0.0259834304, 0.0154948551, 0.0269553624, -0.0075514442, 0.0094063506, 0.0398999378, -0.0275680162, -0.0326224603, 0.0535440929, 0.0160497203, 0.0371033363, -0.0031750132, -0.0412066802, -0.0204601213, 0.0209094826, -0.035369195, -0.0260161366, -0.0621008873, -0.0215488728, -0.1117955446, 0.0023894229, 0.0145385005, -0.0037805494, -0.0036759337, -0.0588859878, -0.0142912278, -0.0294529907, -0.0087290127, 0.0344819129, -0.0469822474, 0.0056089954, -0.0091681704, -0.0272569992, -0.064387545, 0.0991394594, 0.0123531045, 0.0177155714, 0.0088948393, 0.0392268598, 0.0308947153, -0.0143096941, -0.028398646, 0.0083513865, -0.02235879, 0.0208545197, 0.0222781785, 0.0436329506, -0.0361287408, 0.0135669354, -0.0716025084, 0.0034265921, -0.051164791, -0.007175169, -0.0013845335, -0.0316237062, 0.0063593085, -0.0339878425, -0.0128465388, -0.0232194085, -0.0092178173, 0.0190646071, 0.021564357, 0.012039151, 0.0012484891, -0.0061684074, -0.002497301, 0.0128416875, 0.0761531889, -0.0359967165, -0.0187641047, -0.0141927237, 0.0073356363, 0.0014163693, 0.0142800799, -0.0197891258, 0.0285026059, -0.0047638402, -0.0000149312, -0.0281478893, 0.047520306, 0.0087007815, 0.0437254049, 0.0120889712, 0.0184174869, -0.0559727326, 0.0169963427, -0.014189939, 0.0076004313, -0.0178407319, 0.0133690238, 0.0233170763, 0.0445171259, 0.0192017853, 0.0160068125, -0.0416502245, -0.0145840384, -0.0061357198, -0.0100248689, -0.0802194327, 0.0109914644, -0.0071512843, 0.0100322934, -0.0073967082, -0.0286745895, 0.0538864024, 0.0051708878, -0.0009369319, -0.0363024324, -0.0478085056, -0.0431571268, 0.067071341, -0.0067367149, 0.0253318809, 0.0166823827, -0.0180219375, -0.0325926393, -0.0061129914, 0.0007050209, -0.0231147055, 0.0107640019, 0.0012232749, 0.0243503954, -0.0154750356, -0.066790171, -0.0171295274, -0.0707204342, -0.0033367809, 0.0296482723, -0.0347969905, 0.0311664585, -0.04857108, -0.0080337431, 0.0302254613, 0.0875580683, 0.0139132161, -0.0405975468, 0.0056639598, 0.0382055491, 0.0361488387, -0.0462822244, -0.0190361496, -0.0161725879, 0.0289583448, 0.0416649655, 0.0340907797, 0.0030990252, -0.0052427999, 0.0099306153, 0.0204043984, -0.0121080782, -0.0007399562, 0.0409216471, -0.0000099458, -0.0635239258, -0.0153379329, 0.0712647438, 0.0188189857, -0.0748606622, -0.0194567796, 0.0057723192, 0.0087126624, 0.0056048818, 0.0207789708, -0.0869687125, -0.0295585189, -0.0131288953, 0.0247194562, -0.0058796937, 0.0055092522, 0.0075654811, -0.0968012214, 0.0402855314, 0.011790487, -0.05688278, 0.0018351733, -0.0554401539, -0.0139046479, 0.009374951, 0.002878862, 0.0029494953, -0.0162479486, -0.0414402261, -0.0035131474, 0.0200373791, -0.0739754885, 0.0558940656, 0.0006980819, -0.0054309219, 0.0068880869, 0.0128984051, -0.0028959729, -0.0102793723, 0.0104325861, -0.0513429642, -0.0037228961, -0.0319008231, 0.0236048065, -0.0419751033, 0.0094916513, -0.0159835983, 0.019905569, -0.0334378965, -0.0415810421, -0.0046356265, 0.0635228157, -0.0329081416, -0.0092258388, -0.0443136431, -0.0370222554, 0.0321536474, 0.0548711345, -0.0207243618, -0.0540662222, -0.0070961504, 0.0029043066, 0.0247005448, -0.0174484774, 0.0395991392, 0.043433506, -0.0452861413, 0.0025274518, -0.0336017571, -0.0240651127, 0.005103495, 0.0289172959, -0.0495227054, 0.0149765257, -0.0276022609, -0.0194760691, -0.0410569049, 0.0109388027, -0.0239778589, 0.013614581, -0.0273076519, 0.0083012246, 0.0855148137, -0.0293477364, -0.052281253, 0.0111558316, -0.0521325357, -0.0406792611, -0.0160623249, 0.0331833549, -0.0044505824, 0.0500979498, 0.0285519939, -0.0788642541, 0.0927355587, 0.0634128451, -0.0058657555, -0.0008221692, 0.0229058117, 0.0148596382, -0.0394314229, 0.0313509777, -0.0686847493, 0.0367420428, 0.0443052202, 0.0208887309, -0.0432555303, 0.0111958506, 0.0114990091, -0.0630066767, 0.0787538067, -0.0338473618, -0.0524048246, -0.0138077913, 0.0352938958, -0.0033612659, -0.0514672995, -0.0152134504, -0.0007126696, 0.0025739097, -0.0311715491, -0.050413236, 0.0466549732, 0.0158801433, 0.0819967389, -0.0025121707, -0.0070167743, -0.0080219442, 0.0131848985, 0.0112728411, 0.0368129387, -0.0483577326, 0.0049054204, 0.0056688921, 0.0246526077, -0.0197819564, 0.052463498, 0.0442573018, 0.0001556591, -0.0531558059, 0.0140369637, -0.0304510929, 0.0286800861, -0.0463482216, -0.049557656, 0.0867305398, -0.0005583327, -0.014239816, -0.0166734923, -0.0212660953, -0.0233174134, 0.0035140838, -0.0262312219, -0.0636024848, 0.0188926216, 0.0219400655, -0.0140631562, 0.0515689664, 0.0436006449, 0.0571723245, -0.0096549839, 0.045437552, 0.0236400608, -0.0240035281, 0.0173799247, 0.0863338783, 0.1032552123, 0.0256644599, -0.0128120091, -0.0342371278, -0.0264986977, 0.0500452034, -0.0334159061, -0.0565403402, 0.0046929861, 0.0293587185, 0.0454966016, 0.025331689, -0.0382480025, -0.0118021322, -0.0183930416, 0.0415995903, -0.0239380952, -0.0440881923, -6.201101512e-33, 0.0121511566, -0.0371826366, 0.0223406535, -0.0191475004, 0.0075332788, 0.0010280149, -0.0293287579, -0.0297842976, -0.0127101308, 0.0191925615, -0.0098149609, 0.0039453837, -0.0061311251, 0.0772847682, 0.0228158366, 0.004901927, 0.0459843688, -0.0054782825, -0.0049021249, 0.034040615, 0.0273254439, 0.0476340726, 0.0631420091, -0.0771855786, 0.0097769666, -0.0208009221, 0.0004148401, 0.0308708008, 0.014108343, 0.044478327, -0.0160256568, 0.0504988059, 0.0533496663, -0.0257834774, 0.0101061603, 0.0269177891, -0.0655165911, -0.0306746829, -0.0445542969, -0.0106387585, 0.0015141653, 0.0006414637, 0.0237316824, 0.0022369316, -0.0088885175, -0.0478309244, 0.0411316045, 0.0111459009, -0.0272265021, -0.0882208943, -0.0329372026, 0.045340687, 0.0192091856, 0.0058475486, 0.0197066776, 0.0222964957, 0.0090656588, 0.0858053714, -0.1175171956, -0.0299195182, -0.0366401784, -0.0066478644, 0.0108371433, 0.0388452932, 0.0059146788, 0.0489707254, 0.0175388735, 0.0696809888, 0.0106035694, -0.044260107, 0.0387926102, 0.0213722885, 0.017517481, 0.0661662817, 0.0744102672, 0.0079807555, -0.0795602053, 0.0015199578, -0.042450171, 0.0150688197, 0.0064204447, 0.0565595403, -0.0498159751, -0.0212161653, -0.0357925259, 0.0075366898, -0.0356485359, -0.0235688351, 0.0336333402, 0.0410729758, 0.0095973313, 0.0212627761, 0.0633280501, -0.0194051024, -0.0530472174, 0.0224098172, 0.0028746726, 0.0527871512, 0.0162098967, 0.0174927674, -0.0422133133, -0.0528019033, -0.0028877044, 0.0053025559, -0.0100594331, -0.0186124817, 0.0586103424, 0.0179659985, -0.0786046609, 0.016744731, 0.0295428336, -0.0255822167, 0.0072509688, 0.0334746204, 0.0037864931, 0.0343931578, 0.0278344173, 0.1051024273, 0.0424332246, -0.052807454, 0.0025211433, 0.0151763847, -0.0366099365, -0.0189487804, 0.0197860282, 0.0059593953, -0.0042991131, 0.0300834104, 0.0425877869, -0.0556872599, 0.0250183176, 0.0160499755, 2.718e-7, 0.0225914568, 0.0415834785, -0.0341881961, 0.0006602161, 0.0415891632, 0.0538790673, -0.0072609605, 0.0196769927, -0.0001439312, 0.0051489971, 0.0265691131, -0.0162696559, 0.0483406074, 0.0355343111, -0.0765509456, 0.0027507967, -0.0847285166, -0.0363534875, -0.0603162609, 0.0129096182, 0.0922975391, 0.1083523557, 0.0424202085, -0.0076268567, 0.0002157054, -0.0534759201, 0.0918001905, -0.0088961506, 0.0203784071, 0.0115921041, -0.0538572222, 0.0343854502, -0.0139483809, 0.0082599418, -0.0367319435, 0.053463228, -0.0140443118, 0.0678113773, -0.0162123628, -0.0361236855, 0.0208584778, 0.0180789828, -0.0193208288, -0.0593232028, 0.0607920773, -0.1313437074, 0.0029980589, -0.0015645048, -0.0304233916, -0.0319642127, 0.0201649759, 0.0112468898, -0.012430504, 0.0134467157, 0.0012871531, 0.0253613088, -0.0239148214, -0.1309320629, 0.0048393239, 0.0637538955, -0.051184386, 0.0345649794, -0.0100575425, 0.0491406992, 0.0235662758, -0.0374268442, 0.030023925, 2.270237979e-34, 0.0164528973, -0.0319727398, -0.0429704152, 0.0193219576, -0.0081360526, 0.0107556302, -0.040377602, 0.0226305891, 0.0456055701, -0.0782336295, 0.0331571549 ]
http://arxiv.org/abs/2406.17532v1
http://arxiv.org/pdf/2406.17532v1
Can Large Language Models Understand DL-Lite Ontologies? An Empirical Study
"2024-06-25T13:16:34"
"2024-06-25T13:16:34"
Keyu Wang, Guilin Qi, Jiaqi Li, Songlin Zhai
cs.AI
cs.AI, cs.CL, cs.LO
Large language models (LLMs) have shown significant achievements in solving a wide range of tasks. Recently, LLMs' capability to store, retrieve and infer with symbolic knowledge has drawn a great deal of attention, showing their potential to understand structured information. However, it is not yet known whether LLMs can understand Description Logic (DL) ontologies. In this work, we empirically analyze the LLMs' capability of understanding DL-Lite ontologies covering 6 representative tasks from syntactic and semantic aspects. With extensive experiments, we demonstrate both the effectiveness and limitations of LLMs in understanding DL-Lite ontologies. We find that LLMs can understand formal syntax and model-theoretic semantics of concepts and roles. However, LLMs struggle with understanding TBox NI transitivity and handling ontologies with large ABoxes. We hope that our experiments and analyses provide more insights into LLMs and inspire to build more faithful knowledge engineering solutions.
[ 0.0183971766, 0.0540046133, -0.0382768214, 0.1089994088, -0.0342944153, -0.0083855148, -0.0447046831, 0.0119850226, -0.0109123047, -0.0786575302, -0.0382887907, -0.0358168818, -0.0316183567, 0.0605385602, -0.0197697282, -0.0121509796, 0.0185902044, -0.0271136947, -0.0381585918, -0.0073249666, -0.0303823464, 0.0285606682, 0.0130431438, -0.0090257553, 0.0114953164, -0.0070172185, 0.0039651385, -0.0101502081, -0.0006918943, -0.0131065166, -0.0489782169, 0.0155305956, 0.0254515465, 0.0320962109, 0.0000020915, -0.0765312016, -0.0101984963, 0.0207322668, -0.0147518758, -0.0057255947, 0.0606952235, 0.0002964908, -0.0054732901, -0.0329450667, -0.0081162062, -0.0152468886, 0.0253468528, 0.0253395233, 0.0061119683, 0.0181306843, -0.0040844553, -0.0436438173, 0.0132309357, 0.016418349, 0.0563599393, 0.001012988, 0.0315312594, 0.0508952104, 0.0594833307, 0.0038619181, 0.0129851056, 0.0237980988, -0.0049030753, -0.0017439254, -0.0085136406, 0.0063896477, 0.0101233134, 0.0068114549, 0.0244368259, 0.0172949228, 0.0513861962, 0.0214899555, -0.0016907089, 0.0179906618, -0.0145747541, 0.0071785711, 0.0079186922, 0.0691599026, -0.0211303607, 0.0022571657, 0.0445251837, 0.0279803183, 0.0548947118, 0.0131416367, -0.0659996569, 0.1159261987, 0.002689831, 0.0231011324, -0.0226993747, -0.023052603, -0.0056348937, -0.0275003295, -0.0182372387, 0.0276554357, -0.0180741251, 0.0673413426, 0.0078891162, 0.0065690433, 0.0258676521, -0.0478021391, 0.0528344847, 0.0288651213, -0.0313251317, 0.0350135006, -0.0145181017, 0.0323732533, -0.0277095288, 0.0461193435, -0.0390269831, -0.0390494876, -0.0713991299, -0.0213343222, -0.0187366363, 0.0510916822, 0.0144913346, -0.0097057978, -0.0027039915, 0.0377641656, -0.0288152974, 0.0434858352, -0.0418585315, -0.0161784515, 0.0071171494, -0.0144572482, -0.0802579969, -0.0357670486, 0.0412655585, -0.0271904692, -0.0098297335, -0.0243290309, 0.0465604924, -0.020751968, -0.0135060502, -0.0348185971, 0.0009275955, 0.1023067608, 0.0607920587, 0.0105007738, -0.0089613274, -0.0845725462, -0.008514245, -0.0367480405, 0.0115684951, -0.058058925, 0.0004505481, 0.0478768609, 0.0145503953, -0.0904983357, 0.0116176382, -0.0378573909, -0.0246407092, 0.0854171887, -0.0235447474, 0.0027649917, -0.0193918236, 0.0296281576, -0.0029083467, 0.0389505774, 0.0175876413, 0.0214939695, 0.0194734763, 0.0231112968, -0.0416593961, -0.0010146038, -0.0161135662, 0.0043678652, -0.0676271617, 0.0479066111, 0.0014667648, 0.025513893, 0.0100486176, 0.0201200526, 0.0184254237, 0.0026661872, 0.0557025261, 0.0231405981, 0.0223718714, 0.0154789574, 0.0493519567, 0.005037358, 0.0081442185, -0.0329057053, -0.0455735736, 0.0227250867, -0.032596346, 0.0170117673, -0.0393689834, 0.0139605338, 0.0065993443, -0.0538579226, -0.0638400614, -0.0133853182, -0.0445015505, 0.0344381295, 0.0615161732, -0.0039077988, 0.0522345863, 0.1192201674, 0.0379892662, -0.0181868002, 0.0126511604, -0.0350652784, 0.0178872589, 0.0598282032, 0.0210789368, -0.074272491, -0.0573838539, 0.0097808754, -0.0655790791, 0.0468543097, 0.0454764888, -0.0119620208, -0.0379327908, 0.0171869844, -0.0193925612, -0.0363831967, 0.0324641168, 0.0344250724, -0.0084201209, -0.003064506, 0.0221023336, -0.0915690064, -0.0009714548, -0.014092505, -0.0031831572, 0.0121648638, -0.0279662423, 0.0168462601, 0.0508695804, 0.0125661101, -0.0118647572, 0.0226417333, 0.0385502018, -0.0331384949, -0.0612000488, 0.0437128879, -0.0288771074, 0.0353441685, 0.040777389, 0.0285473652, 0.0082271295, 0.0290940721, -0.0137095135, 0.0079595717, 0.0300122313, 0.0161186885, 0.0347257629, -0.035465207, 0.0033478439, -0.0234762039, -0.040247988, -0.0107870447, 0.0524833798, 0.0075436844, 0.0063830032, 0.0028079038, -0.0427663624, 0.0196715351, 0.0068941396, -0.0199360065, 0.019573763, 0.005257613, 0.0319019482, 0.003944682, -0.0154802073, -0.0008815613, 0.0158976391, 0.0048812344, 0.010080386, 0.0242016595, 0.0354870744, 0.0449547544, 0.0029214933, 0.0035616898, 0.0398190282, -0.0277285427, 0.0154466666, 0.0031254636, -0.0143477675, 0.0478406362, 0.0065518399, -0.0579965897, 0.0232706442, 0.0163507666, -0.0411763377, 0.0520028509, -0.04438705, 0.008070997, -0.0321831368, 0.0117014861, -0.0898251459, 0.0157448296, 0.009956548, 0.0253455248, -0.0331132784, -0.0362171307, -0.0257442985, 0.0196624324, -0.0171759203, 0.0367615111, 0.0911179781, -0.0132108703, -0.0204204395, -0.0289716478, 0.0179390106, -0.0055830474, -0.0769857392, -0.0306500308, -0.0162039474, 0.067065537, -0.019242106, -0.0167747252, -0.0231295414, 0.0100833485, -0.0599102378, 0.0188220367, -0.0441417769, 0.0090981731, 0.0137641421, 0.0693670809, 0.0065197791, 0.0031947766, 0.0328522064, -0.0214926731, 0.0263312384, 0.0090578776, 0.016570393, -0.073322989, 0.1478990018, -0.0078880619, 0.0617573522, 0.0751679614, -0.0286353882, -0.0041007539, -0.0422295444, 0.0271607153, -0.0116796605, 0.0289533846, -0.0518926457, 0.038075082, -0.0129295699, 0.0044652862, -0.0330585465, 0.0326548852, -0.0620990135, 0.061752554, -0.0367161892, -0.0147429779, -0.0177558791, -0.0063882559, -0.0241585076, -0.0159658827, 0.0434656702, -0.0131472005, -0.045783069, -0.0053576035, 0.0179589763, -0.0126229944, -0.0074542016, 0.0156980455, 0.0161239263, 0.0235563908, -0.0415572934, -0.025648348, -0.0055372179, -0.009404148, 0.039928712, -0.073810041, -0.0350313187, 0.0133163389, -0.0164600071, -0.0747211501, -0.0133503191, 0.1060737967, 0.0592149124, 0.0185463037, 0.0408892147, -0.0193511993, -0.0439233631, 0.0241257288, 0.0282660704, -0.1169722527, -0.0163875408, -0.0064016972, -0.0529971756, 0.0165078416, -0.0242554117, -0.0146091152, -0.0533471853, 0.0276981574, 0.0037927018, -0.0270394851, -0.0059227874, 0.0058517894, 0.0208216161, -0.0290866178, -0.0082769264, 0.0138368011, -0.0247784033, -0.0374949947, -0.028209744, 0.0272132531, 0.0001535605, 0.1008357927, -0.0160376821, 0.0066456022, 0.0115669919, 0.0421851501, -0.014816531, -0.01826014, -0.0064978637, 0.0224178992, -0.0016228058, -0.0035434153, -0.0149092097, 0.0005994791, 0.0039267945, -0.0159879401, 0.0214252304, -0.0778280348, 0.0043033566, -0.0248865187, 0.0774321556, -0.0415721387, -0.0169430282, -0.0006428013, -0.0293983109, -0.0334091634, 0.0635978952, -0.0316604972, 0.0072481157, -0.0018562842, -0.0414349362, -0.0954598039, 0.0133779934, -0.0332907625, 0.0303432383, -0.0171355885, -0.0204517934, -0.0204658117, 0.0096875308, -0.0051923632, -0.0475336388, 0.0064780302, 0.0074997591, 0.0142614031, -0.0115861744, -0.0576075129, 0.0102847153, -0.0801763088, 0.0670776218, 0.0059632515, 0.0017160535, 0.0413125753, -0.0305250734, -0.0319255367, -0.0616685152, -0.0344809033, -0.0376788117, 0.0032633247, -0.0009990266, 0.0245144758, 0.0158745367, -0.0148743354, 0.0153465923, 0.0209761783, 0.0169267766, -0.0352933258, -0.0306262802, 0.0348975249, 0.0179788712, 0.0214344766, 0.0857379511, -0.0452960581, 0.0232943855, -0.0007406895, -0.0111671127, -0.0214160755, -0.0394894555, 0.0367492363, 0.0468568206, -0.0422293767, 0.0172893535, -0.0480074398, -0.0092536286, 0.0237604212, -0.0625172704, -0.0632683784, -0.0193201546, 0.0196229126, -0.0123797609, 0.0017683037, 0.0073399013, -0.0136270244, -0.0136964228, 0.042505119, 0.0064510689, 0.0091220345, -0.0010953108, -0.0500638969, 0.0529238284, 0.0079125622, -0.0027751795, 0.001501276, -0.0253623091, 0.0343395844, -0.052428972, 0.0161256194, 0.0038091096, -0.0129899029, -0.0625084192, 0.0192845054, -0.0103638591, -0.086217925, 0.0319821723, 0.0269959066, 0.0786778331, -0.0018667208, 0.0251764841, -0.1055133045, 0.0032085003, 0.0118394494, 0.018665703, 0.0164832305, -0.0270678736, 0.0227233022, 0.0114029367, 0.0059830952, -0.0264960974, 0.0612358376, 0.0235066991, 0.042755425, 0.0185393319, -0.0534365065, -0.0495957881, 0.0073287063, 0.0566246547, 0.0128603559, -0.0669759065, 0.008702972, -0.0728799105, -0.0518386476, 0.0457571596, 0.0048122425, -0.0169945974, -0.047161527, 0.0179909393, 0.0268556736, 0.0630528703, -0.0560005307, -0.0542254113, -0.0325336419, -0.0372656509, 0.033123523, 0.0503010154, -5.722695882e-33, -0.0340057425, -0.0205501691, 0.0152356578, 0.0041632284, -0.0169087388, 0.0036889093, -0.0306348372, -0.0170272719, -0.0053211218, 0.0128049152, 0.0299880393, -0.0001581238, -0.0051412918, -0.0057876697, 0.0418698378, -0.0054667788, 0.0100734271, 0.0209452324, 0.0231121741, -0.0091913277, 0.0660687611, -0.0297018941, 0.016420519, -0.0061420561, 0.0636194572, 0.005378169, 0.0111294026, 0.0215111058, -0.0441238917, 0.0439986847, -0.0069234585, 0.0523823574, 0.0148062697, 0.0129507333, -0.0118291331, -0.0605742112, -0.0564019643, 0.0079059275, 0.0352580585, 0.0102253258, 0.0212226231, -0.0355532542, 0.0214754995, 0.014688679, 0.0151169552, -0.0322346613, 0.0159829278, -0.0321637131, 0.0185579807, -0.0386714637, -0.0798340812, 0.0088624172, 0.0358335972, -0.0296318475, 0.0360957608, -0.0329120606, 0.0208521672, -0.0153859537, 0.0007550453, 0.021346584, -0.0072392453, -0.0097226119, 0.0617142878, 0.0211415067, 0.0051997169, 0.0157090742, -0.0420224145, 0.0346347019, 0.0271686781, 0.0540743843, -0.0380802341, 0.0967910066, -0.0260930583, -0.0209337603, 0.0138510996, 0.0290461797, -0.0445025414, -0.0001552746, 0.0065519274, 0.0624929592, 0.0279067885, 0.030907806, 0.0000093368, -0.0065418878, -0.0541555472, 0.0537308007, -0.0332695544, -0.0379549675, 0.007329958, -0.0479340255, -0.0170676503, 0.0128435977, -0.0114252623, -0.0869989172, -0.0413014814, -0.02866292, 0.019472504, -0.0121323457, -0.0143646905, 0.0325336941, -0.0385131203, -0.0472522303, -0.0257777907, -0.0279637873, -0.0167076383, 0.0454344153, 0.0243265573, 0.0299825501, -0.0212276168, 0.0247861575, -0.0652775168, -0.0610932373, -0.0327843465, 0.000611238, 0.0332044847, 0.0241307989, 0.0185031444, 0.0040049623, 0.0213726424, -0.0336573124, -0.0286310781, 0.0528502576, -0.000984359, 0.006085624, -0.0045671565, -0.0233418625, -0.0714475214, -0.0529441535, 0.0455050804, 0.0322367661, -0.0192504637, -0.0364150777, 2.919e-7, 0.0526315197, 0.0105631994, -0.0126632834, 0.1153075546, 0.0227321107, 0.0250829086, -0.0093931695, 0.0115472451, -0.0066550765, -0.0310735274, 0.0142657654, 0.0272319298, 0.0029367006, 0.0577086471, -0.0504694991, 0.0063344846, 0.0363497138, -0.0748736113, -0.0445308164, 0.0205621868, 0.0498286188, 0.021132933, 0.0066893087, -0.0128017571, -0.007742309, -0.0713452101, 0.0442359447, -0.0251171999, -0.0032182925, 0.0099250842, 0.0047039804, 0.0094154524, 0.0187785178, 0.0282752085, 0.0278046336, 0.0092262104, -0.0432251431, 0.0362524576, -0.0527225845, 0.0231836922, -0.0544199832, -0.0858319178, 0.0145127028, -0.042564217, 0.0577010848, -0.0350212678, -0.0465629175, -0.0013100812, -0.0087386416, -0.013151072, -0.0635725558, 0.0051732566, -0.0050108577, 0.0055941213, 0.001426088, -0.0230302066, 0.0042068609, -0.0567489117, -0.0117849465, 0.0655872002, 0.0062775081, -0.0589837432, 0.0068489518, -0.0123985754, 0.020623764, -0.0628661364, -0.0281399619, 2.721656738e-34, 0.0271946285, 0.0547547638, -0.0028208999, 0.0244859513, 0.0484873019, -0.0059863916, -0.0243774056, 0.0135284429, 0.0149492482, -0.0460522026, 0.0062478008 ]
http://arxiv.org/abs/2406.17526v1
http://arxiv.org/pdf/2406.17526v1
LumberChunker: Long-Form Narrative Document Segmentation
"2024-06-25T13:08:35"
"2024-06-25T13:08:35"
André V. Duarte, João Marques, Miguel Graça, Miguel Freire, Lei Li, Arlindo L. Oliveira
cs.CL
cs.CL, cs.IR, I.2
Modern NLP tasks increasingly rely on dense retrieval methods to access up-to-date and relevant contextual information. We are motivated by the premise that retrieval benefits from segments that can vary in size such that a content's semantic independence is better captured. We propose LumberChunker, a method leveraging an LLM to dynamically segment documents, which iteratively prompts the LLM to identify the point within a group of sequential passages where the content begins to shift. To evaluate our method, we introduce GutenQA, a benchmark with 3000 "needle in a haystack" type of question-answer pairs derived from 100 public domain narrative books available on Project Gutenberg. Our experiments show that LumberChunker not only outperforms the most competitive baseline by 7.37% in retrieval performance (DCG@20) but also that, when integrated into a RAG pipeline, LumberChunker proves to be more effective than other chunking methods and competitive baselines, such as the Gemini 1.5M Pro. Our Code and Data are available at https://github.com/joaodsmarques/LumberChunker
[ 0.0076696537, 0.0425040573, -0.0070362971, 0.0176814012, -0.0533641092, -0.009605051, -0.0033267778, 0.0156885404, -0.0175393261, -0.0468269289, 0.0309046619, 0.0011461193, -0.0261371229, 0.0436186008, -0.0242636632, -0.0526848659, 0.0162210036, -0.0229418296, 0.0203020312, 0.0296537075, 0.0270207394, 0.0335167348, -0.0214118902, -0.0251736213, 0.0039475048, -0.0433351286, -0.0289794132, 0.0181762557, 0.0104759168, -0.0261590797, 0.0365286544, -0.0120987622, 0.0250855051, -0.0095600607, 0.000002089, -0.0575067326, -0.0696366951, 0.0023606406, -0.0373525433, -0.0069147707, 0.0376665555, 0.0040745479, 0.0192948096, -0.011714112, -0.0188811254, 0.0284076203, -0.0472987965, 0.0847884789, 0.0423204713, 0.0928670764, -0.012568851, -0.0382826999, 0.0411309674, 0.0254218392, 0.0396598279, -0.0167424493, -0.0041093025, 0.0133007104, 0.0472060591, 0.0265925378, -0.0239557009, 0.0028198848, 0.0334479026, -0.0135859, 0.0106720245, 0.0225577187, -0.0507537648, 0.025639886, -0.0327891596, 0.0626453385, 0.0388985798, -0.0101056704, 0.0234610122, 0.0112642013, -0.0040773316, -0.002826127, -0.0784327388, 0.0347469933, -0.0482500792, 0.0035313468, 0.0096192742, 0.0195130482, -0.0079326695, -0.0009451644, -0.0164400321, 0.0462579951, 0.0005454218, -0.0166911036, -0.0031255358, -0.0173838586, 0.0074719065, -0.0468953699, 0.0414110646, 0.0367761478, -0.0107567264, 0.0197790824, -0.03779855, 0.0266550109, 0.0054516937, -0.0043084924, -0.0305973962, -0.0021120277, -0.0129927061, 0.0779677778, -0.0099504488, 0.0072229714, 0.0121340137, -0.010915353, -0.0396705456, 0.0043508671, -0.0486350134, -0.0207560156, -0.0410250239, 0.0488438085, -0.0774146467, -0.041092027, 0.0194755681, 0.0118561247, 0.0347113535, 0.0047758063, -0.0110591063, 0.0104700448, 0.0005211881, 0.0119732199, -0.0310370065, 0.0216686223, -0.083218433, -0.0146395536, 0.015901899, -0.0249409769, 0.0028530024, -0.0011067055, 0.0108267637, -0.0484980643, 0.0232819468, 0.0077427733, -0.0326651819, -0.0372355059, -0.0456366464, -0.05522421, -0.0033092869, -0.0488179401, -0.0017964134, -0.0614714622, 0.0317467153, 0.0052213743, 0.0150952544, 0.0154971005, 0.0024478028, 0.0289276466, -0.0495769009, 0.0354604088, 0.0424268581, -0.0172318872, 0.0255378634, 0.0318052173, 0.0445676781, 0.063625358, 0.0406957716, 0.0105871139, 0.1135090441, 0.0154622123, 0.0041137664, 0.0115829334, -0.0424354188, -0.0120728435, -0.0090704449, 0.0280969553, 0.0163767915, 0.0258488059, 0.0133780753, 0.0288369823, -0.0381895192, -0.0387318246, 0.028232323, 0.0971624106, 0.0292723347, -0.0003573886, 0.0321649835, 0.0301233698, 0.0090078916, 0.0546829998, -0.010435774, -0.0169067327, 0.0151844621, -0.0153687503, 0.0298546683, 0.0131269135, -0.0019030769, -0.0173847135, -0.0236900188, 0.0261492748, -0.0296377931, 0.0015934817, 0.013604396, 0.01116875, -0.0422246717, 0.0409183353, -0.0029080978, -0.0551851839, 0.0245843679, 0.010516786, 0.0365642309, 0.0402793139, 0.0794641525, -0.0736755729, -0.033014223, -0.0253872573, 0.0412762202, 0.0056663593, 0.0382888839, -0.032945849, 0.0338524021, -0.0305358507, 0.0090499735, -0.039968919, -0.0080853915, -0.0239883624, 0.0402717926, 0.01335508, -0.0069422745, -0.0746564418, 0.0113065876, 0.0729242265, -0.0550558269, -0.030328, -0.0120265689, -0.0469479635, -0.0217211712, 0.0061588665, -0.0093324902, -0.0250898078, 0.0614345856, -0.0432864465, -0.0076446212, 0.0084129088, -0.0397582799, -0.0478764065, 0.0253553763, -0.0292312969, -0.0033656924, -0.0314996615, -0.0332652591, -0.0232884474, -0.0099887531, 0.014629201, -0.0053531975, -0.0134041328, 0.0096277567, 0.0263489503, -0.0064908029, -0.0757972971, 0.0539388061, 0.028824972, 0.033838734, -0.0413447246, -0.0184092894, -0.0057456791, -0.0359268636, 0.0319330841, 0.0601996891, -0.009607303, -0.0436669216, 0.0238135792, -0.0279416963, -0.0539799966, -0.038165804, -0.0686834678, 0.0347625501, -0.0260970984, 0.0234822091, 0.0173351727, -0.0039754701, -0.0397398807, -0.0053196261, -0.0454741418, -0.0291623455, 0.0056679384, 0.0088473819, 0.0417421833, 0.0087712808, 0.0155051006, -0.0323488377, -0.016703479, -0.0139101548, 0.0515119582, 0.0244718809, 0.0059301606, -0.0661084577, -0.0446396805, 0.0136624472, -0.0017237173, -0.0268405508, 0.0335173011, -0.0005011706, -0.0517172664, 0.080408141, 0.0640029311, 0.0152470339, 0.0108623551, -0.0008050185, -0.0406547785, -0.0482609086, 0.0306756143, -0.0105708316, 0.0524041392, -0.0564132296, -0.0482299104, 0.0725151375, 0.0282807816, -0.0053280257, -0.0051752115, 0.0188535787, -0.0095133446, 0.0097425291, 0.0041502398, 0.0036157402, -0.019851068, -0.0238653198, 0.046182353, -0.004993618, -0.0101547968, 0.0459912233, -0.0427663289, -0.0282101911, -0.0676743761, -0.0043957392, -0.0910277739, 0.0902321935, 0.0053886422, -0.0195634998, -0.0195545871, -0.0341428369, -0.0130653074, 0.0086407028, 0.0153203374, -0.0075924019, 0.0447967947, -0.0357813798, -0.0024558629, -0.0118225897, -0.0015020639, -0.0293609947, -0.0436297804, 0.0107240556, 0.0006760213, 0.0113731623, -0.0045381561, -0.0232751016, 0.0115274675, 0.0096798576, 0.0503483862, -0.0515712015, -0.0276953503, 0.0008206429, 0.0830431655, 0.0743663311, 0.0153065408, 0.0411005691, -0.0198598877, 0.048489932, 0.0664119646, 0.0622731224, -0.0127843944, 0.0272298157, 0.0085130623, 0.0384642556, -0.0969264284, 0.0138723189, -0.0146885952, 0.0515371487, -0.0894765705, -0.0358913615, 0.0978565887, 0.0592139438, -0.0167199243, -0.0239558406, -0.0232760292, 0.024184363, 0.0230763145, 0.0239942838, -0.0613898411, -0.0227144435, -0.0033258647, 0.0390008017, 0.0122323278, -0.0540112555, -0.0045913309, -0.0747387856, 0.0306036957, -0.0205876268, 0.0116270408, 0.0532612987, -0.0502675101, -0.0110036721, 0.0267022084, -0.0230801683, 0.0220604278, -0.0685229823, 0.0002081972, -0.0241911728, -0.0388368815, 0.0660968721, -0.0008575839, -0.0277778357, -0.024989564, 0.0221358743, 0.026190063, -0.0118466038, 0.0298589263, 0.0653237849, -0.0879935771, -0.0366587415, 0.0022003904, 0.0594204776, -0.0407870449, 0.0485712551, -0.0101089589, 0.0413897038, 0.0163269658, -0.0222081058, 0.053350158, 0.0333006643, -0.0089931218, -0.018334657, -0.0473700501, 0.0185501445, -0.0480641574, 0.0829159692, -0.0029181705, -0.0021803135, -0.0818775967, -0.0163175464, 0.0059787366, -0.0268611219, -0.0098125413, 0.0129109351, -0.0457757376, 0.0357060134, -0.0892522782, -0.0440620929, 0.0075681522, 0.0526181981, -0.0013262708, 0.0168118626, -0.0310791358, -0.0106424578, -0.0670148954, 0.0174553972, -0.0151119074, -0.0019851986, -0.0563148148, 0.051227238, 0.0337927006, -0.042851463, 0.017419491, 0.0229409225, -0.0816465914, -0.0342518054, 0.0290031601, -0.0439266339, 0.0089635281, 0.0636987612, -0.0233857352, -0.0111434385, 0.0631871, 0.0139986286, -0.065614827, 0.0198421143, -0.0191551335, 0.0778230876, -0.0315114781, 0.013622757, -0.0333297066, 0.0195034519, -0.0333376452, 0.0463666096, -0.0291982442, 0.003125394, -0.0254444815, 0.0189918317, 0.0247878991, 0.0218326394, 0.0157695357, -0.0495704114, 0.0183602273, -0.0098016262, -0.0208153259, -0.0049747676, 0.0259782467, 0.0100828456, -0.0378391668, -0.0334370397, 0.0803576186, -0.019324109, 0.0812318698, -0.0617070049, 0.0213285666, 0.0386376344, -0.0157555826, -0.0216953792, -0.0073667453, 0.0009720261, -0.014123369, -0.0279851537, 0.1039483547, -0.0077930745, 0.0700832531, 0.0282615367, -0.0301144514, -0.0146251665, -0.0005571023, -0.108076416, 0.0379864164, 0.0187684093, 0.0258562174, -0.0082980739, -0.0499079265, 0.0488518029, 0.0029496381, -0.0244485494, -0.0083164461, -0.0088929487, 0.0413933583, -0.0071880128, -0.0232900232, 0.0609316453, -0.0428394116, 0.0519247465, 0.0141743552, -0.0020597493, 0.018958373, 0.0419083238, -0.0399702564, -0.0342865586, -0.0362941958, 0.0064488482, 0.0360247642, 0.0173825156, -0.0162380654, -0.0437666029, 0.0320094898, 0.0720224231, -0.0175337885, 0.0106571643, -0.015568139, 0.0021146126, 0.0685290694, 0.0316916816, -0.0036054759, -0.0584481023, 0.0295549817, -0.0209161583, -0.0370533988, 0.0258337203, -6.342293077e-33, -0.0053277067, -0.0204992779, 0.0083935, 0.001193844, -0.0723779649, 0.0114791011, -0.0023024832, -0.0332116559, 0.0230307207, -0.0040346426, -0.0375872143, 0.0049262014, 0.0238688756, 0.015131468, -0.0123856133, -0.0328030735, 0.0296568256, 0.0162048116, -0.0688237995, 0.0100883208, 0.0468258448, 0.0602519587, 0.0234909244, -0.0032513721, 0.0468958914, -0.0288109872, 0.0236263685, 0.0127928453, 0.0293646958, 0.039323654, -0.0105494643, 0.0002468306, 0.0416680649, -0.0255812276, 0.0126557779, 0.0012287169, -0.1186883748, -0.0175932217, -0.0150788287, -0.0013089628, -0.0238938667, -0.0025956256, 0.0416361131, 0.0002483972, 0.0418074317, -0.0455462597, 0.0534804165, -0.0169105288, -0.0103917802, -0.0524847396, -0.038239941, 0.0138176084, -0.0079279486, 0.0088634361, 0.0241184924, 0.0316829644, 0.043005269, 0.0254890975, -0.0427014418, -0.0185150672, -0.016852634, 0.0502734743, -0.0241902154, -0.0100936927, -0.0268981047, 0.0695053563, 0.0202457141, -0.0324399434, -0.0108338632, 0.0340916738, 0.0053946772, -0.0030524884, 0.0081273625, 0.0147314854, 0.0451573022, 0.0429972894, -0.0426739082, 0.0478859432, 0.0562698133, 0.0327330269, -0.0028409152, 0.0058263438, -0.0226720646, -0.0105716269, -0.0084034819, 0.0123084662, -0.005748027, 0.0330603942, 0.0097965142, 0.0241026692, -0.0377170853, 0.018780224, 0.0354800671, 0.0055655707, -0.0026533823, 0.0292992741, -0.0415651947, 0.0369800441, 0.0074234037, 0.0222425405, -0.0125031825, 0.0239620637, 0.0300476681, -0.0202959795, 0.0056314543, -0.024237331, 0.0273569468, -0.0190946925, -0.0723282248, 0.0047614579, 0.016905345, 0.0119372169, -0.0413867198, 0.0427359454, 0.0209293235, 0.0133920601, -0.0027222149, 0.0553713292, 0.0300178491, -0.0045443359, -0.0540591925, -0.0276550632, -0.0114991292, 0.0092408219, -0.0289017074, 0.0352857932, 0.0240095723, 0.0239614882, -0.0185618177, -0.0757107139, 0.0109974099, 0.0527470037, 2.767e-7, 0.0139040183, 0.0389506668, 0.089251928, -0.0114455558, 0.0095638195, -0.0187921021, -0.0038995449, 0.0081134085, -0.0097726416, -0.0509921834, -0.0211452376, 0.0247878414, 0.0640413314, 0.063301079, -0.1200735047, -0.0277012829, -0.0157112014, -0.046511963, -0.0843506455, -0.0290540364, 0.0678491518, 0.0156897381, 0.0314372145, -0.0019123059, -0.0190503094, -0.0383634195, -0.0024832978, 0.0007693421, -0.0198756438, 0.0471156761, 0.0123960851, -0.0220572725, -0.0148731833, -0.0595368929, -0.0037035728, 0.0403844342, -0.002075932, 0.0667362139, 0.0348542444, -0.0509670153, -0.0152463196, -0.0089332191, -0.0007656995, -0.0044459086, 0.0905878469, 0.0218587145, 0.0119341696, 0.0182334967, -0.023016829, -0.030589899, -0.0241434388, -0.0019121447, -0.0129294014, 0.0759447888, -0.0029204548, -0.0095389849, -0.00313968, -0.0835492015, -0.0108901709, 0.0032098042, -0.0496858992, 0.0029917539, -0.0064375266, 0.0312817805, -0.0508254878, -0.0788350925, -0.0138951149, 3.155744073e-34, 0.0278727859, 0.0182176474, -0.0475503318, 0.0395802781, 0.0474453233, 0.0024559351, 0.000944775, -0.0103998315, -0.0150184333, -0.0745824203, -0.0134810815 ]
http://arxiv.org/abs/2406.17519v1
http://arxiv.org/pdf/2406.17519v1
Entropy-Based Decoding for Retrieval-Augmented Large Language Models
"2024-06-25T12:59:38"
"2024-06-25T12:59:38"
Zexuan Qiu, Zijing Ou, Bin Wu, Jingjing Li, Aiwei Liu, Irwin King
cs.CL
cs.CL
Augmenting Large Language Models (LLMs) with retrieved external knowledge has proven effective for improving the factual accuracy of generated responses. Despite their success, retrieval-augmented LLMs still face the distractibility issue, where the generated responses are negatively influenced by noise from both external and internal knowledge sources. In this paper, we introduce a novel, training-free decoding method guided by entropy considerations to mitigate this issue. Our approach utilizes entropy-based document-parallel ensemble decoding to prioritize low-entropy distributions from retrieved documents, thereby enhancing the extraction of relevant information of context. Additionally, it incorporates a contrastive decoding mechanism that contrasts the obtained low-entropy ensemble distribution with the high-entropy distribution derived from the model's internal knowledge across layers, which ensures a greater emphasis on reliable external information. Extensive experiments on open-domain question answering datasets demonstrate the superiority of our method.
[ 0.0240727998, 0.0634779632, 0.0300644543, 0.0501295403, 0.0178230237, 0.0114540635, -0.0464665256, 0.0064191041, -0.0166967083, -0.0677068233, -0.0254141781, -0.0265893992, -0.0044579809, -0.0893930271, 0.0053178095, -0.0318198241, 0.0235509612, -0.038256675, 0.0031383387, -0.026419878, -0.0151666151, 0.0054058353, -0.004258262, 0.0176975392, 0.0677631646, -0.0457005575, 0.005395629, 0.0245861951, 0.0248629805, 0.0082035502, 0.0137697766, 0.0591193922, 0.0038434665, 0.0238502081, 0.0000017692, -0.0360296816, -0.0070671951, 0.017857559, -0.0152772991, 0.0322392285, 0.0057509774, -0.0076334295, -0.0016888401, 0.0184286665, -0.0232007373, -0.0448055901, 0.0537758842, 0.0669504553, 0.043332167, 0.0360310785, 0.0129641946, -0.0505060628, 0.0435779542, -0.0044100583, 0.0196814872, -0.0309207235, 0.0387279801, -0.0075185467, -0.0272775739, -0.0005569842, -0.0054748137, 0.0455376469, 0.0093946289, 0.0238088071, 0.0470975414, 0.0279890187, 0.020997243, 0.0376661085, -0.0002278323, 0.0742435008, 0.0308998767, -0.027347194, -0.0259837229, -0.0033320005, -0.0096022701, -0.0027558508, -0.0523904301, 0.0381282382, -0.0143578043, 0.0374608524, 0.0415213145, 0.0242682155, 0.0314274468, 0.0384439938, -0.0399051942, 0.0432579406, 0.0133545073, -0.0698511824, -0.0044839322, 0.027277451, -0.0103396289, -0.0161884967, -0.0076212897, 0.0347460508, 0.0050365785, 0.0430135876, -0.0009241133, -0.1008721441, 0.0178127792, -0.0525475219, -0.0194264036, 0.0249147173, 0.0182905551, 0.0421971567, 0.0168274008, 0.0272757225, -0.0184423979, 0.0045994166, -0.076479964, -0.0332723409, -0.01279514, -0.0084456345, -0.0114306053, 0.0351182111, -0.0309340823, -0.0177740566, -0.0039379406, 0.0213681199, -0.0016131103, -0.0293800551, 0.0575049892, 0.0220643841, -0.0321578011, -0.0157749858, 0.0172200352, 0.0485038348, -0.0027019808, 0.000349441, 0.0014565949, -0.0476385355, -0.0047897385, -0.0084568001, -0.006531904, -0.0220984016, -0.0229640715, 0.0179425683, -0.0223206449, -0.0183223989, -0.0297081731, 0.0092960559, 0.0033068615, -0.0299969036, 0.0021693239, -0.0344327278, 0.0212311186, 0.0178703498, 0.0174380634, -0.0333071649, 0.0099922009, 0.0149096763, -0.0483042039, 0.0564931855, -0.018008275, -0.0009935199, 0.0319323428, 0.0109190699, 0.059602987, 0.1087130904, 0.0000520671, -0.0105588036, 0.0402263626, -0.013319849, -0.007780435, 0.0239630453, 0.0197896697, 0.0157329701, -0.0040829154, 0.0362938903, 0.0121755535, -0.0012433216, 0.0749784112, 0.0352408402, -0.0613199547, -0.0194985867, 0.0680689216, 0.0132362423, 0.0185634829, -0.0063331667, -0.0223543905, 0.005521425, 0.0185634587, 0.0344277285, -0.0196225606, 0.0226090923, -0.030616954, 0.0344908722, 0.0840246305, 0.0240095202, -0.0239492748, -0.0209912304, -0.003777564, -0.0051317918, -0.0245391577, 0.0765590146, 0.0511317328, 0.0255923439, -0.0266780946, 0.0503466353, 0.0308819227, -0.0408980697, 0.0112955198, -0.0064846706, 0.0307419356, 0.0968768522, 0.0656443536, -0.02557078, -0.001516662, -0.0042728661, -0.034721721, 0.0330366381, 0.0111713512, -0.0068656169, 0.0264238324, -0.0710393265, -0.0220130179, 0.0121613657, 0.0063009928, 0.0123150358, 0.0201502405, -0.0098196398, 0.006297607, -0.0227909107, 0.0003554347, 0.0275538526, -0.0364410728, -0.0651925579, 0.039838817, 0.0025221317, 0.0288087968, 0.0148812663, -0.0487211756, 0.028809445, 0.0409540012, -0.0401312336, -0.0382214561, -0.0074488125, -0.0332320631, -0.0767635182, 0.0120007871, 0.0123546934, -0.0213341992, 0.024035573, -0.0205887742, -0.0259800088, 0.0242198315, -0.0351219214, 0.0630028322, -0.076522693, -0.0295523386, 0.0204055533, 0.020426333, -0.0747953579, 0.0499184057, -0.0395096131, 0.0353342034, 0.0161608346, -0.0052130362, -0.00439092, -0.0365324281, 0.0146640595, 0.0507928543, -0.0039197612, 0.0423527434, 0.011949677, -0.0290260464, -0.0211372059, -0.0172431618, -0.067023322, 0.0134633137, -0.0324962288, 0.0239802971, 0.0315955207, 0.0322220661, 0.0113740396, -0.0225810409, -0.0090763168, 0.0208594911, -0.0079139462, 0.0201466773, -0.0161914062, 0.0153120542, 0.0202004481, -0.0081582246, -0.0317506157, 0.0162075628, 0.0496746562, -0.0435049534, 0.0524417385, -0.0740936026, 0.0490410775, -0.0037150623, 0.0333883725, 0.0039478601, -0.0214512665, -0.0129188653, -0.0648126826, 0.030146433, 0.0581790917, 0.0189063493, -0.0144805731, 0.044533398, 0.0022782702, -0.062125098, -0.0044473116, -0.0184388328, -0.01611601, -0.0332481638, -0.0443564169, 0.0180796664, 0.0457246862, 0.0242201481, -0.0002667305, -0.0561513603, -0.0406938531, -0.0316031277, -0.0582020208, -0.0732929781, -0.0090968572, -0.0137353679, 0.0058423108, -0.0190650448, -0.0183784701, 0.0776944086, -0.0234585963, -0.0100685582, -0.0613804944, -0.0070924284, -0.0450932533, 0.0300608631, -0.0129856365, 0.0048675961, 0.0076916865, -0.0303099416, -0.0095483968, -0.0292575024, 0.0094846403, -0.0530613288, 0.0476276241, -0.0087688658, 0.0088409977, -0.016152095, -0.0505448356, -0.0369772874, -0.0695730671, -0.0003825263, -0.0027932285, 0.0218412131, -0.0256746169, -0.0081673404, -0.0125826374, 0.0529665165, 0.0035943289, -0.0295153204, -0.01040217, -0.0195741672, 0.0956397951, 0.0801355839, 0.0336723663, 0.0345995352, -0.0255534463, 0.0235747155, 0.0743738487, 0.0790611133, -0.0319573954, -0.0262623373, -0.0316190943, 0.0768493712, -0.0171316266, 0.0277330801, 0.0030192439, 0.0143581703, -0.0421814732, -0.0251464788, 0.1120247617, 0.0270315204, -0.0679693744, -0.0298845805, -0.0522319339, 0.0215902664, 0.000097715, 0.0239076745, -0.0352353454, -0.0375137888, 0.0071121939, 0.0557016507, 0.0059518828, -0.0069892071, 0.0098760258, -0.1204106212, 0.0318500586, 0.0131800082, -0.0467124134, -0.0522472486, -0.0632349551, -0.003690483, -0.0159328617, 0.012312728, 0.0380648598, -0.0104160467, 0.0111908959, 0.0235373005, -0.0001174951, -0.0552827343, -0.0207637344, -0.0195260141, 0.0320915617, 0.0887048244, 0.0010529918, -0.0056766532, -0.0195509363, -0.0325623453, -0.1393517256, -0.0193679165, -0.0106872348, 0.0397719741, -0.0235111751, 0.0164949335, -0.043936722, -0.0015515524, -0.0575058907, 0.0066804411, -0.0035522059, 0.0574177131, -0.0304321293, -0.0178486779, -0.0226388518, -0.0346636437, 0.0510234609, 0.0944433585, 0.0152106062, -0.0260200836, -0.0235871896, -0.0371865556, 0.0156585202, -0.0545440353, 0.0315111205, 0.0338899083, 0.0254446156, -0.0525861457, -0.0696498975, -0.0580535494, 0.0004891701, -0.0152490269, -0.0241853315, 0.0649074391, 0.0113996258, 0.0044535575, -0.0376310945, -0.0015754366, -0.0313858613, -0.0058970982, -0.0125107951, 0.0080747008, 0.0409763791, -0.0291308742, -0.0058456627, 0.050647296, -0.0128526026, -0.0491092205, 0.0058556665, 0.0047196094, 0.0104205487, 0.0513742492, -0.0299090762, -0.085604392, 0.0536910668, 0.0286719874, -0.0609527491, 0.0233357828, 0.0039897063, -0.0184116811, -0.0046137241, 0.0477598459, -0.0678018704, 0.0057965703, 0.0185561534, 0.0521322526, -0.0258546751, -0.0651268065, 0.0268814676, 0.0168116111, 0.0118583404, 0.0073676747, -0.0222372916, -0.0142400358, 0.0287467055, -0.0162979402, -0.0001542939, -0.0117938584, 0.0002418823, 0.0621173196, -0.0406229869, -0.0054400428, 0.0508997552, 0.0261120684, 0.005984284, -0.0223138947, 0.0014142606, -0.0029252397, 0.027839072, 0.0348964483, -0.0164208822, -0.0411731377, 0.003895855, 0.017361233, 0.0290788319, -0.0025952642, 0.0192201287, 0.0416154303, -0.0308991019, -0.0067479876, -0.0067373426, -0.1093682349, -0.0133877024, -0.0157453474, -0.027251564, 0.050879322, 0.0319521017, 0.0895929411, -0.0260292422, -0.0250831302, -0.0256016701, -0.0152633134, 0.0254274216, 0.0182217322, 0.0327409059, 0.0261755269, -0.0090595931, 0.0115070064, 0.0877299905, -0.0039556907, 0.0303464588, -0.009406738, 0.0081689069, -0.0339595005, -0.0273544677, -0.0288645066, 0.0472795069, -0.0438791737, 0.0335579813, -0.0223643649, -0.04612213, -0.0339535736, 0.0085041188, -0.0327681042, -0.0431634896, 0.0266646687, 0.0436268859, -0.0020541307, -0.050458096, -0.0418712571, 0.0679174885, -0.0865160227, -0.0210877638, -0.0439210273, -6.516993578e-33, -0.0224211924, -0.0009632334, 0.001600631, -0.039773766, -0.0051235883, 0.0020941324, -0.0303265303, -0.0156131051, -0.0413445048, 0.0136058582, -0.0314107388, 0.0364614204, 0.0022061453, 0.0487507805, -0.0151223354, -0.0058557214, 0.0350762308, -0.0345543362, -0.0012151168, 0.0289547257, 0.0662885457, 0.0197803359, 0.0427524, -0.0439279787, 0.0228527673, -0.0321194343, 0.0164667703, 0.0183296297, 0.0030340848, 0.0329925641, -0.0445367917, 0.0577615872, 0.0258343816, -0.0779125243, -0.0262753386, 0.0349699371, -0.1025267467, -0.0062844669, 0.0019560673, 0.0051574996, -0.0475523807, -0.0508281253, 0.0172503162, 0.021853786, 0.0075175506, -0.0484508798, 0.0165022239, -0.030926669, -0.0143789528, -0.0624303743, -0.0163800418, 0.0251729675, -0.0038648124, 0.0146573829, 0.0166141205, 0.0283035245, -0.0151802748, 0.0474403501, -0.0578116961, 0.0078951446, 0.0186588801, 0.0306466687, 0.03919046, 0.0374806225, 0.0011107319, 0.027035391, -0.0044708373, -0.0192079246, -0.0489913002, -0.0573154688, -0.0171913449, -0.0041182498, 0.021484891, 0.0505152754, 0.0563098229, 0.0138319712, -0.0738242418, 0.0392872505, 0.0085472669, 0.0192524232, 0.0439499356, 0.022530226, -0.0345184542, -0.006374212, -0.0346605368, 0.026907241, -0.0231005382, -0.0008516162, 0.0476906933, 0.0213166624, -0.0102065401, -0.0117013808, 0.0524534844, -0.0529668629, 0.0125471698, 0.1130180508, 0.0259930622, 0.0098722419, -0.0059644338, 0.016324399, -0.0363866724, 0.0231214594, 0.0312819071, 0.0001772352, -0.0530086309, 0.0422371328, 0.0071862373, -0.0350232944, -0.0339009203, -0.0135940583, -0.0217025895, 0.0209320448, -0.0066846255, -0.0071006538, 0.0276010539, 0.0170241855, 0.0182120167, 0.01958072, 0.0037346664, 0.0404470488, 0.0057840915, -0.0086326711, 0.0264664851, 0.0067600138, 0.0179091617, 0.0131153753, -0.0062886029, -0.0203613397, 0.0362047032, -0.0151966736, -0.0070991013, 0.0362437665, 2.476e-7, 0.0530068092, 0.0159627981, 0.0099490779, 0.0247034263, 0.0377624221, 0.0385465361, 0.0097549921, 0.0031868375, 0.0457519628, -0.0178927351, -0.0135764098, 0.0388835333, 0.0647563115, -0.0038991997, -0.0958302915, -0.0369814597, -0.0097175753, 0.0000238112, 0.0040120678, -0.0035912595, 0.0309920721, 0.1123801246, -0.023186503, -0.0109626213, 0.0157987364, -0.0560840778, 0.0536388122, -0.0272782631, 0.0033547722, 0.0353890806, 0.0506863818, -0.0297694579, 0.0136041967, 0.0094508724, -0.0152668906, -0.0113440938, 0.0039240294, 0.0211477783, -0.0004934516, -0.063275069, -0.0200589187, -0.0361359976, 0.0253515206, -0.0598421991, 0.055323001, -0.0344958901, -0.0408488922, -0.0111814663, -0.0504146703, -0.0039038053, -0.0083101466, -0.0129252728, 0.0053780228, -0.0058942903, 0.0078320811, 0.0043969671, -0.0142430635, -0.0582437217, -0.0418678485, 0.0125953788, -0.0592814535, -0.0596235096, -0.0035010716, 0.0098177055, 0.0221252516, -0.082982339, 0.0317099877, 2.223016627e-34, 0.0286732502, 0.0064113559, 0.0060678506, 0.0594009236, 0.0196254086, -0.0264601652, -0.0331854187, 0.0097515807, 0.0198552627, -0.1459422559, 0.0088343322 ]
http://arxiv.org/abs/2406.17513v2
http://arxiv.org/pdf/2406.17513v2
Benchmarking Mental State Representations in Language Models
"2024-06-25T12:51:06"
"2024-07-01T06:48:34"
Matteo Bortoletto, Constantin Ruhdorfer, Lei Shi, Andreas Bulling
cs.CL
cs.CL, cs.AI
While numerous works have assessed the generative performance of language models (LMs) on tasks requiring Theory of Mind reasoning, research into the models' internal representation of mental states remains limited. Recent work has used probing to demonstrate that LMs can represent beliefs of themselves and others. However, these claims are accompanied by limited evaluation, making it difficult to assess how mental state representations are affected by model design and training choices. We report an extensive benchmark with various LM types with different model sizes, fine-tuning approaches, and prompt designs to study the robustness of mental state representations and memorisation issues within the probes. Our results show that the quality of models' internal representations of the beliefs of others increases with model size and, more crucially, with fine-tuning. We are the first to study how prompt variations impact probing performance on theory of mind tasks. We demonstrate that models' representations are sensitive to prompt variations, even when such variations should be beneficial. Finally, we complement previous activation editing experiments on Theory of Mind tasks and show that it is possible to improve models' reasoning performance by steering their activations without the need to train any probe.
[ 0.0310266297, 0.0380461104, -0.0579912812, 0.0227733981, -0.0615961701, 0.0020430337, 0.026003873, -0.0133414511, 0.0147664538, -0.0489482358, -0.0526827425, -0.0692201853, 0.019568, 0.0332178734, 0.06388399, -0.0651586279, 0.0350626968, -0.0426459163, 0.0404906273, -0.0149076488, -0.0336084925, 0.0162420459, -0.0182453245, 0.0209894422, -0.0151987886, -0.0023029437, -0.0295795854, 0.000114021, 0.0333057977, -0.0464299768, -0.0369791538, 0.0541229844, 0.0263435133, 0.0320878401, 0.000002078, -0.0733709335, -0.0001126609, -0.0318721905, -0.0090870261, 0.0028681892, 0.018028181, -0.0174993966, 0.0162215419, 0.0036078338, -0.0299554076, -0.0063124448, 0.0189075489, 0.0545776151, 0.0039878986, 0.0584579036, -0.016066689, 0.0334954262, -0.0026445745, -0.0379012525, 0.0312991813, -0.0425574593, 0.027473947, 0.0026688518, -0.0036940568, 0.0002036758, -0.0291441735, -0.005378061, 0.0038137932, -0.0005415857, -0.0282473993, 0.0202003475, 0.0225393493, -0.0138875283, -0.019617429, 0.041750107, 0.0686535314, -0.0254743919, -0.0178405419, -0.0106590483, 0.0297021922, 0.0288442411, -0.0013950976, 0.0446526594, 0.0089695929, 0.02183396, 0.0015617367, 0.0276765991, 0.007304349, 0.0133800413, -0.0353311896, 0.0487363264, 0.0020652241, -0.0283623822, -0.0010516264, 0.0046196794, -0.0407195538, -0.073112905, -0.0496929102, 0.0154275801, -0.0034079349, 0.0203297324, -0.0324666947, 0.0157484524, -0.0190624781, 0.0151873147, 0.0693738163, 0.0683567673, -0.0172292162, 0.0351737924, -0.0225757658, 0.0646007434, 0.0024532701, 0.058873266, -0.0041053002, 0.0159337297, -0.0642228723, -0.017403625, -0.0238832198, 0.0305841845, 0.0376005135, -0.0140134115, -0.0216440707, -0.0074332603, -0.0235696789, -0.0318523943, -0.0634573102, 0.0264865067, -0.0053890222, -0.0025238195, -0.0692784786, 0.0251643788, -0.0561121739, 0.0324982964, 0.0458883531, -0.0862853676, -0.0381546691, -0.0211580917, 0.0207287278, 0.0076418733, -0.004090013, 0.0041202852, -0.0014957824, -0.0455303416, -0.0258507095, -0.0235879701, 0.0069778832, -0.0710071847, 0.0267003365, -0.0068636457, 0.0132288476, 0.0036891371, 0.0069103474, -0.0393310748, 0.0151945325, -0.012727634, -0.0318561159, 0.0621131361, 0.014380197, 0.00354977, -0.0288161654, 0.0204036385, -0.0197963361, 0.0390124507, 0.0118336147, -0.007874581, -0.028814299, 0.0175107867, 0.0130510507, -0.0105249202, 0.0165593531, -0.0401182845, -0.0353723317, -0.0057527022, 0.0233265962, 0.0452396348, 0.0507989079, 0.0584257804, -0.0314860977, 0.0117014339, 0.0670737773, 0.0690979809, -0.0280107446, -0.0227878671, 0.0274609774, 0.0189630017, 0.0381254554, 0.013520781, -0.0646942928, 0.0446961522, -0.0241974555, -0.0262240637, 0.0199455041, 0.0150149893, -0.0492823347, 0.0074661844, -0.041024778, 0.0071643842, 0.0225477163, 0.0061418964, 0.0288737863, 0.0099910274, -0.0107820621, 0.039031487, 0.0173878409, -0.0198762976, -0.0383224711, -0.0755909085, 0.0091447383, 0.0177211426, 0.0310392231, -0.0160420071, -0.0340511911, -0.0262772944, -0.0221301951, 0.0663288385, 0.091569975, 0.0119043011, -0.0293760989, -0.0231490787, -0.0110982815, -0.0666102841, 0.0350546762, 0.0359828807, -0.0204010997, -0.0033489296, 0.0063773813, -0.0267114416, 0.0375907421, 0.0254160687, 0.0183382705, -0.0318834223, -0.0679690689, 0.019008521, 0.0121955508, -0.0069995164, 0.0054781069, 0.0121594183, 0.0055078897, 0.0055141971, -0.0043824613, 0.0480257943, -0.0532746837, -0.0147849545, 0.0171482246, 0.0161280353, -0.0291802082, 0.0194355883, 0.0024839004, -0.0507804714, 0.0329201035, -0.0457510017, 0.0334735103, -0.0437281504, 0.0073426859, -0.0299032964, 0.0006948228, 0.0067176586, 0.0777560174, -0.0159510579, -0.0011377056, 0.0496595092, -0.0058213696, 0.0322041363, -0.026745934, 0.0013688125, -0.0101128649, 0.001376804, -0.0266288612, 0.0003091627, -0.0421220176, -0.0409877785, -0.0183773171, -0.0824260935, -0.0505131669, 0.0173565429, -0.0333644003, 0.0177507829, -0.0121675907, -0.0164425261, 0.0126268482, -0.0551362336, 0.0121460017, 0.038486626, 0.0300242156, 0.017405387, -0.0327871256, -0.0076457961, -0.0283864699, 0.046061404, -0.045562502, 0.0480923653, -0.0045858626, -0.0146046896, -0.037401285, 0.0264784694, -0.0777879655, 0.0227692332, -0.0431515351, -0.0348080918, 0.0538857281, 0.0157303456, 0.0523087718, 0.0840293542, -0.0130146341, 0.0079987999, 0.0833617449, 0.0111952955, -0.0652539134, 0.0195150487, 0.0331555456, 0.0074375239, -0.0270000994, -0.0344345979, -0.0293681566, 0.0673214197, 0.05076598, -0.0016956002, -0.075427711, 0.0644995794, -0.0085097319, -0.0714965388, -0.006138036, 0.0039075948, -0.0317983627, 0.0879467353, -0.0247692689, -0.0674945489, 0.0952204317, -0.0115503017, 0.0008477035, -0.0073446119, 0.0553402714, -0.0004132152, 0.0845300406, 0.0190304872, 0.0165625941, 0.0563005209, 0.0144104054, -0.0824212953, -0.0260123108, -0.0132625494, -0.0128266932, -0.0203959029, -0.0222811401, -0.0181271806, 0.003079758, 0.002784949, -0.0551268347, 0.0226342939, -0.065302752, 0.0188776311, -0.0035373643, 0.0154850939, -0.0027980506, -0.0133524798, 0.0401917994, -0.0121677686, -0.0212264843, -0.0163606722, -0.012172957, -0.0169183537, 0.0376248881, 0.0007655965, 0.0481226481, -0.0363469981, 0.0325796306, 0.0232651252, 0.0038378313, 0.0522313006, -0.006366421, -0.0005055408, 0.0164793804, 0.0378002673, -0.0071002133, 0.0428959467, 0.0981471315, -0.0168702081, -0.0225717761, 0.1066465154, 0.0520876758, -0.0180523172, 0.0110366391, -0.017823942, 0.0162745006, 0.0328296497, -0.000061336, -0.0567463562, 0.0037803119, 0.0198218785, -0.0255575795, -0.0469465181, -0.0509698242, -0.0124869021, -0.0851629749, 0.0103124892, -0.0043717176, 0.0262780618, 0.00370355, -0.0181222372, 0.0444517136, 0.05123711, 0.0182171147, 0.0270556882, 0.0177456401, 0.0169445388, -0.0058856197, 0.0189540498, -0.0562579669, 0.0512710176, -0.0157911237, 0.0970801339, 0.0662578195, 0.0252733137, 0.0272947624, -0.0885359347, 0.0211991593, 0.0706790537, 0.0489316098, -0.0084337462, 0.0115152001, 0.0121697811, 0.0123756239, -0.0153296655, 0.0220481213, -0.0155822206, -0.0241113044, -0.042834755, 0.0549088083, -0.0368004404, -0.0421509631, 0.0234138761, 0.0218842439, -0.0350534581, 0.0867056921, 0.0680455565, -0.0437465087, 0.0079035433, -0.033840023, -0.0181188323, -0.0031394777, -0.0398528874, -0.0137572354, 0.0697275102, 0.0030321286, -0.0551212952, -0.0574874952, 0.0438929759, 0.0257127974, 0.0166481901, -0.028225109, -0.0141705759, 0.0053609484, -0.0017898532, 0.0318675973, -0.0563661344, -0.0095123434, -0.0095906388, -0.0314628445, 0.0264249742, -0.0424144343, -0.0053615146, -0.0123111783, -0.0503198877, -0.0759174898, 0.0095963534, 0.051466845, 0.0319057629, 0.0056595402, 0.0055372422, -0.0280603971, 0.0187860169, -0.0563952252, -0.0236370843, 0.0658406764, 0.0163477845, 0.0556914434, 0.0031650104, 0.0511872433, 0.0004156122, 0.0167823248, 0.0606143251, 0.0037145, 0.0309623238, -0.0127995899, 0.0327900313, 0.0165450592, 0.0393848866, 0.020954242, -0.0075803073, -0.0258225109, -0.0280382186, -0.0549884103, -0.0072578001, -0.0290420614, -0.0058299415, 0.0590993129, 0.0564211644, -0.0271100365, -0.0969398916, -0.0116600906, 0.0257262308, 0.0060128858, -0.0211238097, -0.002066422, 0.0259076934, 0.0019041885, 0.0147318849, -0.0145114018, 0.020804856, -0.0639522448, 0.0178185143, 0.0112145646, 0.0903520435, 0.0221944172, -0.0259935707, -0.0473417193, -0.0023022864, -0.0681098849, -0.0658945888, 0.0522110537, -0.0161731541, 0.0127596641, 0.0037770988, 0.0003019227, -0.0506816171, 0.0277546104, 0.0317410603, 0.0253422633, 0.0296693891, -0.05068703, 0.0229339078, -0.0052740239, -0.0077606863, -0.0178664699, 0.0482662767, -0.0340371914, 0.0427557006, -0.0246671773, 0.0028251142, -0.0498975441, 0.0407124907, -0.0391138308, 0.0614426471, -0.0127997249, 0.0423565991, -0.0876028612, -0.0356877744, 0.0447586514, 0.0140947308, 0.0056757377, -0.0186023526, 0.0374290906, 0.0611033663, -0.0046954742, -0.0216148477, 0.0109188594, -0.0331449136, 0.0171782635, -0.0083582066, -0.0556846075, -6.297793269e-33, -0.0249186102, 0.0151651809, -0.0010327382, -0.0160664152, -0.0197806787, -0.0099147931, -0.0807800591, 0.0191897154, -0.0063944417, 0.0024830082, -0.0267732404, 0.0068425639, 0.0006727175, 0.0066616219, 0.0180473924, -0.0076593435, 0.0383476131, -0.0283918306, -0.0582949556, -0.0229157973, 0.0293115824, 0.0092841731, 0.0343131013, -0.0407174416, 0.0552263409, 0.0348255225, 0.004367088, 0.015316898, -0.0651513189, -0.0022891401, -0.0442829058, 0.0090500889, 0.0361037105, -0.0236064699, -0.0317102671, -0.0004337864, 0.0045046387, -0.0611047149, 0.055924058, -0.0306655932, -0.0203967616, -0.0504200421, -0.0161371697, -0.0284351334, -0.0459279567, 0.0114288265, 0.0005186751, 0.0188417453, 0.0246611834, 0.0351166986, -0.0675144047, -0.0448736437, 0.0187310912, -0.029306842, -0.0015159479, 0.0070442925, -0.0072509563, -0.0303882733, -0.051966764, 0.0036536767, 0.0422462411, 0.0045863357, 0.0423971452, 0.0056492062, 0.0258594546, 0.0777539015, 0.0525247678, 0.044162225, -0.0547226295, 0.0010654258, 0.0490818471, 0.0147218807, 0.0539905988, 0.0102738487, -0.000077723, -0.0330017507, -0.0237101596, -0.0201404933, 0.033784952, 0.0196691435, 0.0646111891, 0.0021880069, -0.0118115637, -0.0155003648, -0.0656224042, -0.0376794711, -0.0287359282, -0.0151037164, 0.0235568658, 0.0204822849, -0.0229983237, -0.0667124316, 0.0296960641, -0.0114532216, 0.0179755185, -0.0210040808, -0.0085852994, 0.0433215015, -0.0042905062, -0.0130566098, -0.0669861883, -0.0017124811, 0.0214314274, 0.0202961769, 0.0139704477, 0.0026180306, -0.007309576, 0.0200756956, -0.0615798794, 0.0037582074, -0.0606601499, 0.0226422902, -0.0017706044, -0.0407648869, 0.0314956941, 0.04080249, -0.0331655815, -0.0657566935, -0.0122425081, -0.0627839044, -0.0668326542, 0.0676252395, -0.0373155847, 0.01826947, -0.0290133208, -0.0199626777, -0.0295042153, 0.0086352453, 0.0420386344, -0.0095524536, -0.0143686123, 0.0140133118, 2.908e-7, 0.005086157, 0.0650762469, 0.001250758, 0.0148891229, 0.0296459105, 0.0389378034, -0.0302774254, 0.0158114452, 0.0631463006, -0.0664825737, -0.0430382378, 0.0472266078, 0.0329606496, 0.0216687452, -0.0650837049, 0.0365706533, 0.0206181463, 0.0069069704, -0.0050580292, 0.0147530688, 0.0280618574, 0.03997311, 0.0345640779, -0.0027379692, 0.0209336728, 0.016084576, 0.0683764815, -0.0391296595, 0.0315516181, -0.0112422723, 0.0565680712, -0.0129572516, 0.0311272852, 0.029351145, 0.0540726893, 0.0429651886, -0.05955863, -0.0073908297, -0.013102022, -0.03775445, -0.041280102, 0.0114292493, -0.0264901221, -0.0678641498, 0.0431848615, -0.0733589455, -0.0355971605, 0.0179611798, 0.0261677857, 0.0098594204, 0.0209532566, 0.0402664393, -0.0300787222, 0.0191034675, -0.0004522917, 0.016019145, 0.0131658344, -0.068289116, -0.0111515457, -0.0424653962, -0.0214114469, -0.0519245379, -0.0403559655, -0.0122146402, 0.0079763215, -0.0760901049, -0.0097116353, 2.488340395e-34, 0.0117975883, -0.0145078236, 0.0413687862, -0.0014236195, 0.0523006096, -0.0273455568, -0.0014022546, -0.0013329557, 0.038204316, -0.1105789021, -0.0217851643 ]
http://arxiv.org/abs/2406.17825v1
http://arxiv.org/pdf/2406.17825v1
Automatic speech recognition for the Nepali language using CNN, bidirectional LSTM and ResNet
"2024-06-25T12:14:01"
"2024-06-25T12:14:01"
Manish Dhakal, Arman Chhetri, Aman Kumar Gupta, Prabin Lamichhane, Suraj Pandey, Subarna Shakya
cs.CL
cs.CL, cs.SD, eess.AS
This paper presents an end-to-end deep learning model for Automatic Speech Recognition (ASR) that transcribes Nepali speech to text. The model was trained and tested on the OpenSLR (audio, text) dataset. The majority of the audio dataset have silent gaps at both ends which are clipped during dataset preprocessing for a more uniform mapping of audio frames and their corresponding texts. Mel Frequency Cepstral Coefficients (MFCCs) are used as audio features to feed into the model. The model having Bidirectional LSTM paired with ResNet and one-dimensional CNN produces the best results for this dataset out of all the models (neural networks with variations of LSTM, GRU, CNN, and ResNet) that have been trained so far. This novel model uses Connectionist Temporal Classification (CTC) function for loss calculation during training and CTC beam search decoding for predicting characters as the most likely sequence of Nepali text. On the test dataset, the character error rate (CER) of 17.06 percent has been achieved. The source code is available at: https://github.com/manishdhakal/ASR-Nepali-using-CNN-BiLSTM-ResNet.
[ 0.0066395351, 0.0083777495, 0.0085837189, 0.0819323808, -0.0309737101, -0.0027062329, -0.0120706819, -0.0137111899, -0.0359333418, 0.0195357837, -0.0290470999, -0.0566960275, 0.0467946939, 0.0283163916, -0.0328133442, -0.0494916886, 0.011459671, -0.0264182631, 0.01445702, -0.002280138, -0.0099721057, 0.0143682463, -0.0595333055, 0.004662165, 0.0015161961, -0.0011029552, -0.0107005239, 0.040690653, 0.0245186873, -0.0594279058, -0.0197971631, -0.0032409201, 0.0008443099, 0.0006931685, 0.0000019847, 0.0068115373, -0.0128366435, -0.0288927667, -0.0302585177, -0.0377796143, 0.0177795719, 0.011949542, -0.0242366213, 0.0575712062, -0.0139613962, -0.0016491814, 0.0516961776, 0.0587735176, -0.0112387845, 0.0809738934, -0.0137043772, -0.0840151906, 0.0513658337, 0.0097715296, 0.0057999138, -0.0124690095, -0.0136305727, -0.0082115903, 0.0101879509, -0.030325735, -0.0279762577, 0.0506291054, 0.0308195204, -0.0037078448, 0.0070756888, -0.0061905826, 0.0011303667, -0.0217444338, 0.0277690496, 0.0579505265, -0.0458335355, -0.0292967372, -0.0075510838, 0.0023054206, -0.0621150732, -0.0299457796, 0.0143839698, 0.0229072552, -0.0073203505, 0.0227870271, 0.0102001177, 0.0310910046, 0.0119389705, -0.0011650656, 0.0615196191, -0.068719916, -0.0111449435, -0.0390975624, -0.0002302448, -0.0618367307, 0.0133030005, 0.038366951, 0.0398688056, 0.0197311584, -0.0053505632, -0.0020179837, 0.0254365578, -0.0339155197, -0.0072840312, -0.0415107869, -0.0337425023, 0.0480340719, -0.0445451662, -0.0155808432, -0.0489100441, 0.0192944761, -0.0261294786, 0.014523142, -0.013624643, -0.002600963, -0.0019990494, -0.0375396796, 0.0050176084, 0.0098199081, 0.0105592664, 0.0126040326, -0.0551795773, -0.0130230887, 0.0237680133, -0.0255630687, 0.0385284908, -0.0013974569, -0.0706035718, -0.0329227336, 0.0096107395, 0.0341046527, 0.0070228297, 0.0586591288, -0.028224038, -0.0956309587, -0.0038244654, 0.0341813341, 0.0172194187, -0.0017715519, -0.0082064252, 0.0237421636, -0.0176961143, -0.0377602838, -0.1044014171, 0.0207336843, -0.0144148543, -0.0369409844, -0.0187564697, -0.0628655329, 0.0230137445, 0.0195150208, -0.0021937231, -0.0179958753, -0.0025213647, -0.0014764416, 0.0405077748, 0.083951585, 0.0191891082, 0.0030055812, 0.102500692, 0.0033472432, 0.0658687502, 0.0323566832, 0.0639628693, 0.0246692803, -0.0429565161, -0.0319177583, 0.0433456153, 0.0321891531, -0.0354763791, -0.0152553953, -0.062454965, 0.0096427379, 0.0147612076, 0.0364109389, -0.0082500027, 0.0356657766, 0.0279744584, 0.0118431048, 0.0337633006, 0.0336750373, 0.0543937869, 0.049179174, 0.0142123895, 0.0045415503, 0.0215601139, -0.0340904109, 0.037468832, 0.0367016047, -0.0002044156, -0.0019502307, -0.0046503977, -0.0104826391, -0.0098914867, 0.0273096953, -0.0026878691, -0.0637686551, -0.024409309, -0.0019417477, 0.0559440441, -0.0097200032, -0.0665329099, -0.0041789724, -0.0134337004, -0.0414824486, 0.025790859, -0.0383566394, 0.0245613474, 0.0055327457, 0.0218334682, -0.0514081307, -0.0046752756, -0.0561185293, -0.0471818969, 0.0489366353, 0.0259555336, 0.0290562958, -0.0122497901, -0.0834601447, 0.029076647, 0.1050988585, -0.0549295507, 0.0552025661, -0.0696122944, 0.0609408617, 0.0091778683, 0.0180136878, -0.0527674444, 0.0034423815, -0.0098033277, -0.0031509225, -0.0111141736, 0.0414219834, 0.0727365986, 0.0342946239, 0.0092145577, -0.0200734511, 0.0285367761, -0.0135309519, -0.0001848114, 0.034594994, -0.0500387736, -0.0544796064, 0.0263957996, -0.0298411548, 0.0430783518, 0.0652413294, 0.0346056148, -0.094618015, 0.0540606715, 0.0122318612, 0.0421887636, -0.03277307, 0.0445192903, 0.0132881161, 0.0161919445, 0.0203534737, -0.0113359364, -0.0042988155, -0.0054936442, 0.0376608074, -0.0002656596, 0.0263198111, -0.0781911239, -0.058690086, 0.0637780875, -0.017150702, -0.0219456367, 0.0074927853, -0.0222057886, -0.0143771032, -0.0153735774, -0.0424968004, -0.004991699, -0.0115499152, 0.003458973, -0.0601067729, 0.0364651978, -0.002856564, -0.0450085215, -0.0047395397, -0.0353918448, 0.011192875, -0.0512721986, -0.0200113337, 0.0157540776, -0.0145677403, -0.0164951645, -0.0280772168, 0.0054952395, 0.0165973026, -0.031602893, -0.0591063611, -0.0211911201, 0.0182654485, 0.0594974048, 0.0406795479, -0.0130293965, -0.0774165243, -0.0511546209, -0.0155140171, 0.0227369573, 0.0106641361, 0.0352330282, -0.0298706666, -0.0307928454, 0.0357828699, -0.0101918019, 0.0152694257, 0.0052048406, 0.019442331, 0.0083198268, -0.0082724597, -0.0707855672, 0.020372767, 0.0291261859, 0.0481817313, -0.0118866768, -0.0872333795, -0.0412890799, -0.0033693437, 0.0053203851, 0.0239218194, -0.0624045655, 0.022423394, 0.0144188013, -0.0072994917, 0.0127357487, -0.0467517748, -0.0463159457, -0.0412316397, -0.0358954743, -0.0433659926, 0.0117251845, 0.0011186231, -0.0331438445, -0.0417894945, -0.0592299849, -0.0345022827, -0.0179456249, 0.014278695, -0.0544833727, 0.0078543788, -0.0082474397, 0.0165721383, -0.0637600124, 0.0123728225, -0.0148500353, -0.038843181, 0.006429086, 0.0076323655, -0.0015258556, -0.0116694765, 0.0066060764, 0.0793091953, -0.0055650077, 0.0237142388, -0.0248731803, 0.0421591736, -0.0235230643, 0.0839832798, 0.0241416059, 0.0142456135, -0.0141131626, 0.0086119948, 0.0447074845, -0.0680123195, 0.0276623648, 0.0266223662, -0.0782216936, -0.035134472, 0.0177793968, 0.0100692175, 0.0084840339, 0.0218432043, 0.0065182117, -0.041947145, 0.0479520187, 0.0576503798, 0.0100745996, -0.0628848299, -0.0720929801, -0.0084994063, -0.0462507904, -0.0317346901, 0.012842386, -0.0449294001, -0.0195846763, 0.0375163406, 0.0214178134, 0.022627959, 0.0072750705, -0.031964317, -0.0539542846, -0.0099309068, -0.0040233196, -0.0276758447, -0.0393296406, -0.004853847, -0.0651622564, -0.0196781028, 0.0369638726, 0.0554235242, -0.0457433984, -0.0426430777, 0.0899369493, -0.077610597, -0.0255270042, 0.001975606, -0.040777564, 0.0769678503, 0.0360317603, 0.017024165, -0.0555619188, -0.0083155762, 0.0109970383, -0.0187600218, 0.0017375906, 0.0043358859, -0.0064119538, 0.0040479838, -0.0054447735, 0.049994994, 0.0301659405, -0.0328471735, 0.013854607, -0.0043760305, 0.0637966469, -0.0224592742, -0.0048389058, -0.0015092557, 0.0179897752, 0.0212715752, 0.0477592237, -0.0028843095, -0.0065810042, -0.0372534469, 0.0158293117, 0.0242203977, -0.050353542, -0.0051495656, -0.0034215699, -0.0100911837, -0.019882489, 0.0169524848, -0.0253031794, 0.0067213201, -0.0018473759, 0.063320905, 0.021052964, 0.0224162508, 0.0480251163, -0.0496463217, 0.0071616792, -0.0177120008, 0.0539845042, -0.0939046219, 0.0214667618, 0.0412482731, -0.0907794237, 0.0151779409, 0.001405971, -0.0344223231, 0.0023295158, 0.029499542, -0.0467115864, 0.0128037436, 0.0370076522, -0.0191472359, -0.0523256958, 0.0604730435, 0.0283140559, -0.0825764909, -0.0456698462, 0.056363225, -0.0037792346, -0.0157926101, 0.0027474489, -0.0199769605, 0.0288467389, -0.0228911452, -0.0306181256, -0.0012061999, 0.0137746483, -0.011569825, -0.0046342462, 0.071217373, -0.0286093466, 0.002293718, -0.0621947832, 0.0245754514, 0.0236065425, 0.0524878539, 0.0105586294, 0.0172136873, 0.0616785996, 0.0529455468, -0.0264280271, -0.0165515337, 0.0107560912, -0.0559835024, 0.0587527007, 0.109511815, 0.0181671344, 0.0507800616, 0.0316405818, 0.019252548, -0.0234972294, 0.0009960028, 0.0178440027, 0.0143078007, 0.0160754025, 0.0385811292, -0.0071661444, 0.0291738957, 0.0512690321, 0.0198157337, 0.0376923084, 0.0075184554, -0.0168391597, -0.023426231, 0.053967651, -0.0064993384, 0.0137606068, -0.011109475, 0.0407735966, -0.0392815247, 0.0116590755, -0.0267271847, 0.0345695578, 0.0544381104, 0.0003789896, -0.0419697575, 0.0255674794, 0.0166284107, -0.0168526899, -0.0164529271, 0.0020794433, 0.0070336098, -0.0398098305, -0.0091770729, -0.0344493389, -0.0073238513, -0.0300528407, -0.0089470102, 0.0025713569, -0.0499256998, 0.0514911339, -0.0068207602, 0.0462023653, -0.013932786, 0.0008276775, -0.0271180216, 0.0194325019, 0.0386297219, -0.0147183975, -0.0121832602, 0.001251513, 0.0003257656, -0.0327147692, -5.621504186e-33, 0.0040758662, 0.0142683275, -0.0153242815, 0.05669453, -0.0213974323, 0.0066168299, -0.0166784469, 0.0048350003, -0.0255125891, -0.0348827913, -0.0365178771, 0.0155961001, 0.0406532586, 0.0162398983, 0.0300911982, -0.0233410392, 0.0475851074, -0.0070506232, 0.04261088, 0.0028158154, 0.0223903023, 0.0498913564, 0.0668419823, -0.031819623, -0.0266573112, -0.0371335782, -0.0015848997, 0.020955015, 0.0280238967, 0.0163151734, -0.0392166935, 0.0373266935, -0.0052927481, -0.0692288429, 0.0035930665, 0.0312286802, -0.0783210844, 0.036474891, -0.010276976, 0.1003604308, -0.0438711196, -0.0221643336, 0.0285566393, 0.046047423, -0.0591071844, 0.0222551022, 0.0234773885, -0.0160829946, -0.0156776942, -0.0049140234, -0.0084034624, 0.0501386337, -0.0294804797, -0.019340938, 0.0714710653, 0.0202531423, -0.0209920146, -0.0222951919, -0.0914992094, 0.0238017999, 0.0041830414, 0.0336735472, 0.0418084413, 0.0482710078, -0.0480286554, -0.011303314, 0.0457800739, -0.0820903331, 0.0377817191, -0.0303616952, 0.0331976302, -0.0087653175, 0.0246409215, 0.022094693, 0.0736238435, -0.0755421296, -0.0368186161, -0.0062364093, 0.065573208, 0.0357474536, 0.0335631073, 0.0215432085, -0.0345789865, 0.0056191538, 0.0324709266, -0.0158102755, -0.0297545437, -0.0334411487, 0.053335309, 0.0017266731, 0.050836239, 0.0233919788, 0.0662589744, -0.0278540775, 0.0641781688, -0.0051058833, -0.0352322757, 0.020447854, -0.0126397964, 0.0118850917, -0.0617300905, -0.0566177554, 0.0244156737, -0.0007315489, -0.0008509971, -0.0215580277, 0.0170858987, 0.0628130287, -0.0249356627, 0.0087167565, 0.0070899171, 0.0302143283, 0.0194902867, 0.0448572189, -0.0063326214, -0.0320625938, 0.0096434867, 0.0507889204, -0.0185633954, 0.0502319708, -0.0132397106, -0.0241644569, 0.0353117324, 0.0084782317, -0.0422846712, 0.0197514072, -0.0264916271, 0.0119520249, 0.01257178, -0.0181169622, 0.0134577136, 0.0396017879, 2.879e-7, -0.0149609111, -0.0103029571, 0.0872475207, -0.0130058993, -0.0064906776, -0.0203185771, -0.0011102306, 0.0008265941, -0.004723601, 0.0792447105, 0.0549417473, -0.0350828618, 0.0818880275, 0.0019086075, -0.1306198239, -0.0099604344, -0.0776289403, 0.0217218716, -0.0214993861, 0.0037107395, -0.0043976172, 0.0607672334, -0.0034674022, -0.032680843, -0.0273804329, -0.0031322509, 0.033788003, -0.0070102988, 0.0061788261, -0.0130029405, 0.0031112384, 0.0208524652, -0.04133185, -0.0146569666, -0.0378758423, 0.0274288487, 0.0342934616, 0.0089857187, 0.0001388858, -0.0780805945, 0.0452269688, 0.0651350692, -0.0295209475, 0.0181124862, 0.0244899746, 0.022259023, -0.0328859724, 0.0328725241, -0.0296110492, 0.0188171845, 0.0293644089, 0.0090215513, 0.0266840477, -0.029665323, 0.0021534974, -0.0535650142, -0.0641759783, -0.0186982211, -0.0050596055, 0.0127922194, -0.0592211783, -0.011400003, -0.0102955047, -0.0041905893, 0.0826847479, -0.0062754191, -0.0152496789, 1.876466313e-34, 0.0485391356, -0.017781321, -0.0029688433, -0.0081857126, -0.0153867612, -0.0123686511, 0.0015259149, 0.0146624818, 0.0069590798, -0.0555453748, -0.0661022738 ]
http://arxiv.org/abs/2406.17484v1
http://arxiv.org/pdf/2406.17484v1
MedCare: Advancing Medical LLMs through Decoupling Clinical Alignment and Knowledge Aggregation
"2024-06-25T12:05:56"
"2024-06-25T12:05:56"
Yusheng Liao, Shuyang Jiang, Yanfeng Wang, Yu Wang
cs.CL
cs.CL
Large language models (LLMs) have shown substantial progress in natural language understanding and generation, proving valuable especially in the medical field. Despite advancements, challenges persist due to the complexity and diversity inherent in medical tasks, which can be categorized as knowledge-intensive tasks and alignment-required tasks. Previous approaches either ignore the latter task or focus on a minority of tasks and hence lose generalization. To address these drawbacks, we propose a progressive fine-tuning pipeline. This pipeline employs a Knowledge Aggregator and a Noise aggregator to encode diverse knowledge in the first stage and filter out detrimental information. In the second stage, we drop the Noise Aggregator to avoid the interference of suboptimal representation and leverage an additional alignment module optimized towards an orthogonal direction to the knowledge space to mitigate knowledge forgetting. Based on this two-stage paradigm, we proposed a Medical LLM through decoupling Clinical Alignment and Knowledge Aggregation (MedCare), which is designed to achieve state-of-the-art (SOTA) performance on over 20 medical tasks, as well as SOTA results on specific medical alignment tasks. Various model sizes of MedCare (1.8B, 7B, 14B) all demonstrate significant improvements over existing models with similar model sizes.
[ 0.0380315334, 0.0533581115, 0.0298837777, -0.0084068701, -0.0272547714, 0.0136519577, -0.0158174317, -0.0108832559, -0.0043693413, -0.014458322, -0.0261657853, -0.0685448423, 0.0311055556, 0.0341012217, 0.0335098691, -0.0243244171, 0.0607318729, 0.0181818772, 0.032624118, -0.0053295838, -0.0179183222, 0.0212969426, -0.0429569595, 0.044315096, 0.0093399379, -0.0180338062, 0.0215231851, -0.0156720635, 0.0318575166, -0.0651165545, -0.0093315728, 0.0350727886, 0.0050049978, 0.0203450155, 0.0000019474, -0.0674277917, -0.0094299251, 0.0316095762, -0.0542798564, -0.0581920482, 0.011314068, -0.0587175414, -0.0047718901, -0.0073133507, -0.0318072289, -0.027271077, 0.0406871773, 0.0337786116, 0.0473813303, 0.0648772046, -0.0052159675, -0.0002162993, 0.0442844369, -0.0324213021, 0.0219288226, -0.0596129932, 0.0497002862, 0.0162669178, 0.0022360291, -0.026796937, 0.0112494137, 0.0535563901, -0.0419750512, 0.0344699956, 0.0448780358, 0.0584116429, -0.0168495327, -0.0293012019, -0.0133679947, 0.0520563312, -0.0410443805, 0.0015424505, 0.0230588205, -0.0022356268, -0.0070987446, -0.0194303393, -0.0463985987, 0.0058361525, -0.017757412, 0.0183882173, -0.0070153694, -0.0171424113, 0.0556616746, -0.0011954857, -0.0278977696, 0.004151036, 0.0178118329, -0.0151708433, 0.00834936, -0.0123573402, -0.02635899, -0.0477241762, 0.0169163067, 0.06952779, -0.0669032261, 0.0215267316, -0.0461476855, -0.0274738427, 0.0799350441, -0.0366608724, 0.0110773975, 0.0303993225, 0.0080182413, 0.068386808, 0.0002274967, 0.0178337637, -0.0476134233, 0.0131421043, -0.0443738587, -0.0048445305, -0.0271755122, -0.0341921151, 0.008799132, 0.046601966, -0.0157214329, -0.0147787007, -0.0645318255, 0.012476204, -0.0155935716, 0.045911856, 0.0211185366, 0.0371843837, -0.0257355794, -0.0260483269, -0.0268447995, 0.0376977064, 0.0230281074, 0.014011642, 0.0017165854, -0.0244167857, -0.0153759802, 0.0175177567, -0.0056083859, -0.0119559076, -0.0041063004, 0.0637015775, -0.0045759529, -0.0029951155, -0.0026451829, -0.0477322564, -0.0293329619, -0.049987223, 0.0016310224, -0.0512859188, 0.0927680731, 0.0085615544, -0.015057792, -0.0738953575, 0.0184370559, -0.0031301687, -0.0747230724, 0.0648533329, -0.0658032522, 0.0072233411, 0.021864593, 0.0231417008, -0.004734633, 0.0414697416, 0.0202805083, -0.0470980629, -0.0301714726, -0.0086425748, -0.0201802924, 0.0068282778, 0.0233918503, -0.0636111796, 0.0159860644, 0.0097308373, -0.003814287, 0.0918101072, 0.0038371419, 0.0757620931, 0.0081581604, 0.0004295386, 0.0216471553, 0.0436460041, 0.0320126973, 0.0162249189, 0.0136710024, -0.0067969556, 0.0018520453, -0.0167168267, -0.0224059764, 0.0331206508, -0.0015683735, 0.0179654378, 0.0029194253, 0.0568209141, -0.0417877808, -0.024520928, -0.047520224, -0.0217257496, -0.0374766476, -0.0141538847, 0.040555317, -0.0271310229, -0.0429483503, 0.1185975522, 0.0621193759, -0.0192423854, -0.0016246382, -0.0302211512, 0.0049286662, 0.0641096085, 0.0645139292, -0.0456194766, -0.0965408236, -0.003479027, -0.03151628, 0.0187860448, 0.0318803601, -0.0039122491, 0.0114419563, -0.082521975, -0.0348328799, 0.031791769, 0.0021289722, -0.0244931877, -0.0010099151, -0.0117621776, 0.0041225641, -0.0146229127, 0.0007379131, 0.0466024876, -0.0610602871, 0.0033330396, -0.0196670089, -0.0106900558, 0.0343949124, 0.0106564322, -0.0029928584, 0.0466899611, 0.0531010367, -0.0387386605, -0.0121345436, 0.0163743254, -0.0488292649, -0.0571760125, 0.0515697002, 0.0161697175, -0.026333835, -0.0336417817, -0.0299050342, -0.0405518711, -0.0378611386, -0.0337650068, 0.0215977859, 0.0008655061, 0.0521297827, 0.0474456362, -0.0127206296, -0.0629825518, 0.0711842105, -0.0488579609, -0.0102305319, 0.0173703954, -0.0228645075, 0.0014137343, 0.0029949285, -0.0168516412, 0.0025280395, -0.0123509504, 0.0173855834, -0.0224959813, -0.0121048689, -0.0389982685, -0.0715852976, -0.0799071491, 0.0294660944, 0.0372418091, 0.0170858055, 0.0337393098, 0.0293083806, 0.016162537, 0.0069954535, -0.0593982972, 0.0082826819, 0.0274439231, -0.0036099048, 0.0329006352, 0.032149002, 0.0004481284, -0.0249398109, 0.0209098924, -0.0358523056, 0.00414469, -0.0199682731, -0.0273056161, -0.0203051344, 0.0081608789, -0.0768647045, 0.0007937058, -0.0079426486, -0.0011816099, 0.0093660867, 0.004792396, 0.0276456568, 0.007237087, -0.0111710085, -0.0002269775, 0.048823081, -0.0146518452, -0.0273527149, 0.0301523935, -0.0176624022, -0.016397072, -0.0067792484, -0.0176066812, -0.0163774677, 0.096470356, 0.0219272822, 0.0020756603, -0.0604048371, -0.0191499535, -0.0029778325, 0.0200284962, -0.0532396287, 0.0089215655, -0.0387845077, 0.0231175851, -0.0364900045, -0.0261419211, 0.0970197171, -0.0069043105, 0.0355313867, -0.0561476648, -0.0024277866, -0.0408783183, -0.0150469318, -0.0274869073, 0.0266868286, 0.007085464, -0.0166188478, -0.0378151499, 0.0052662012, -0.0300638936, -0.0922079161, 0.0998522639, -0.0316692367, 0.0446242057, 0.0072827805, -0.0289065726, -0.0596921444, -0.0059221108, -0.0064703906, 0.0095702885, 0.007083219, 0.0160826985, -0.0919759721, 0.0221906286, -0.0001428686, 0.0242368076, 0.0290535409, -0.0018689471, -0.0187420715, 0.0462686531, 0.0387213267, 0.0289047994, -0.0074551585, -0.0058338144, 0.0176955387, 0.0665056929, 0.0116688749, 0.0184741076, 0.0088971537, -0.0114533538, 0.0272495616, -0.0237364806, -0.001789014, 0.0148413274, 0.0462156199, -0.0462043695, 0.0085480036, 0.1312520653, 0.0292274915, -0.0386218876, 0.0071869288, 0.0103719737, 0.0134595362, -0.0085271494, -0.0007108154, -0.0403621681, -0.0181072764, -0.0134333586, 0.0207687747, 0.010083409, -0.0111551061, 0.0026826472, -0.0497151166, -0.0045558102, 0.0624592341, -0.0504255183, -0.0486503504, -0.0049414197, 0.0102030961, -0.0249647722, 0.0283541977, 0.0168391559, 0.0030717098, -0.0200595595, 0.0125377597, -0.0461455658, -0.0918710455, 0.0006517934, -0.0279348008, 0.0884938836, 0.0503005534, 0.0315402821, 0.0035953873, -0.0096704438, 0.00872555, 0.0104058934, 0.0149050197, -0.0099874064, 0.0647153258, 0.01112743, -0.00798262, -0.0436996557, 0.0056725293, -0.0651352853, -0.0447590686, -0.034745235, 0.0929735526, -0.0365612581, -0.0006931543, -0.0325782262, 0.0276164189, 0.0043120375, 0.0768036172, -0.0278475732, 0.0332550332, 0.0024752507, 0.025566157, 0.0416429266, 0.0045769764, 0.0016940461, 0.0667639375, -0.0286839046, -0.0159380678, -0.0434592664, -0.0172225591, 0.0440203696, -0.0018386315, 0.0210173726, 0.0546935908, 0.0422144644, -0.0261408687, -0.071507901, 0.0409251377, 0.0225079302, -0.0103153083, -0.0122030722, -0.0514239594, 0.0376730151, -0.0025720117, -0.0047604898, 0.0323717631, -0.0662093908, -0.050668858, -0.0221731197, 0.0428175293, 0.024562059, 0.0402251594, -0.0079300134, -0.015631672, 0.0508450456, 0.0438573845, -0.0348657668, -0.0001611582, -0.0316271521, -0.0059808353, -0.0254741218, 0.0281760711, -0.0370585062, -0.0096850451, -0.0097418996, 0.0698129758, -0.0251280498, -0.017107131, 0.0325625055, 0.0199173149, 0.0111450292, -0.0415318497, 0.010846626, -0.0114950333, 0.0045920918, -0.0236946419, 0.0095880497, -0.0180903301, -0.0134588089, 0.0381364077, -0.0379907452, 0.013764278, 0.0228262134, -0.0299261454, -0.0072281803, -0.0501239672, -0.0062484057, -0.0455456115, -0.0278001726, 0.0540430397, -0.0158942677, -0.0257771108, 0.0261537135, -0.0297749229, -0.0100009199, -0.0151380915, 0.0438438095, -0.0157869253, 0.0525656752, -0.0119802309, 0.0477540158, -0.0196932238, -0.0429763049, -0.0232978966, 0.0131801451, 0.0590807386, 0.0045331842, 0.0471851416, -0.0052020787, 0.0045118276, -0.0252154116, 0.0249970332, -0.0480909608, 0.0360658281, 0.0471970662, 0.0170186087, 0.0042783516, -0.0481490195, 0.1031489819, -0.031083405, 0.0557607897, -0.0329891257, -0.0157157592, -0.0653921962, -0.0344186276, 0.02478805, 0.0282010045, -0.0730003268, 0.0179695394, -0.0598248839, -0.0410409383, 0.0301467367, -0.011530024, -0.0386632942, -0.0147426268, 0.0712728351, 0.0259750113, -0.0265587922, -0.0230089352, 0.0071129506, 0.0261219423, -0.0364387482, -0.0063245893, 0.0264522266, -6.177781173e-33, -0.027536748, -0.0295766462, 0.0494922884, -0.0325419866, -0.0437552221, 0.0246098526, -0.0336416289, -0.0053427396, -0.0192648154, 0.0180688389, 0.0131099969, -0.0111754509, -0.0014200499, 0.0539737493, 0.0017608267, -0.0238463059, 0.0221049879, 0.0132200709, 0.0037597357, 0.0133735398, -0.0050776149, 0.0700651556, 0.021902049, -0.0698730275, 0.0048085768, 0.014562821, 0.0109053906, 0.0054054172, -0.0155176017, 0.0633868873, -0.0521301702, 0.0349738076, 0.0516958088, 0.0275797993, -0.0377232991, -0.0134015298, -0.0459948853, -0.0132653061, 0.0360747613, -0.0328800939, -0.0322807878, -0.0655802116, 0.064238444, -0.0157509577, -0.0184240025, -0.0194618534, 0.0042497241, -0.0387052596, -0.0545754395, -0.0363642313, -0.0540430322, 0.0483687557, -0.0005697875, -0.0354122594, -0.0144115193, -0.0283848848, -0.0043328279, 0.0330975391, -0.0458555147, 0.0029491482, 0.0028466429, 0.037615288, 0.0464031063, 0.0023671156, -0.0152363926, 0.0762105808, -0.0047913999, -0.0151040247, -0.0413639769, 0.0193113387, -0.0496710353, 0.0608354658, 0.0322859883, 0.0083814152, -0.0017748064, 0.0026471701, -0.0946905389, 0.0438674614, -0.0696686208, 0.0687406585, 0.0235246252, 0.0062755733, -0.0499020182, 0.0055731866, -0.0097550228, 0.0174593497, -0.0200486258, -0.0201067291, 0.0137555972, 0.008705359, 0.015636215, 0.0183581933, -0.010192804, -0.0086231045, 0.0485244542, -0.0055520437, 0.0498868152, 0.0004951928, -0.0512038544, 0.0163473077, -0.0614997521, -0.0409958549, 0.0278872158, -0.0006774974, 0.0244542826, 0.0450545438, 0.0030427403, -0.0256286338, -0.0546720326, -0.0029890134, -0.009100344, -0.0150087485, -0.0148882419, 0.0001271906, 0.0497308113, 0.0247190874, 0.0035240036, 0.0426047258, 0.0091406982, -0.0147592509, -0.0141348513, 0.0092672249, 0.0124646313, -0.0014628907, -0.0295569114, 0.0197598469, -0.0338898338, 0.008519561, 0.0514064543, -0.0173614416, -0.019331675, 0.011068048, 2.799e-7, 0.0942492113, 0.029914232, 0.0134167187, -0.0123987226, 0.0292037968, 0.0026245557, -0.030550098, 0.0084099919, -0.0179875977, -0.030902084, 0.0351701751, 0.0172611494, 0.040572118, 0.03051221, -0.0591959208, -0.0021726901, -0.0575288236, -0.02684181, -0.0210575238, -0.0227337759, 0.0470093042, 0.0935903788, -0.0387784392, -0.0262947381, 0.0121254688, -0.025971055, 0.067702733, -0.0090672076, -0.0343431272, 0.0744760856, 0.0263796374, -0.0004162218, 0.0065208431, 0.0477488674, -0.0266015995, 0.0003239595, 0.0016135647, 0.1085543558, -0.0639487281, -0.0111120176, 0.0288580991, 0.0091689406, 0.0168148, -0.0441052504, 0.0339074731, -0.0646111071, -0.0524200983, -0.0384876207, 0.0017783871, 0.0234253816, 0.0459444746, -0.0149173085, -0.0259165466, 0.01757879, 0.0327010602, 0.0211682059, -0.0652206391, -0.0839669034, -0.0395644195, 0.0497849025, -0.0570048839, -0.0460654087, 0.0437679589, -0.0399994627, 0.0356485024, -0.0928260833, -0.0016640257, 2.285216349e-34, 0.0248672571, -0.0033234451, 0.0200249627, 0.0536566265, 0.0153623112, -0.0356307924, -0.0377386883, 0.0346534289, 0.0116618834, -0.0649233237, 0.0129277855 ]
http://arxiv.org/abs/2406.17474v1
http://arxiv.org/pdf/2406.17474v1
Transformer-based Named Entity Recognition with Combined Data Representation
"2024-06-25T11:41:16"
"2024-06-25T11:41:16"
Michał Marcińczuk
cs.CL
cs.CL, cs.AI
This study examines transformer-based models and their effectiveness in named entity recognition tasks. The study investigates data representation strategies, including single, merged, and context, which respectively use one sentence, multiple sentences, and sentences joined with attention to context per vector. Analysis shows that training models with a single strategy may lead to poor performance on different data representations. To address this limitation, the study proposes a combined training procedure that utilizes all three strategies to improve model stability and adaptability. The results of this approach are presented and discussed for four languages (English, Polish, Czech, and German) across various datasets, demonstrating the effectiveness of the combined strategy.
[ 0.0174503494, 0.0207669344, 0.0278721713, 0.022930352, 0.0055315616, 0.051960025, 0.0144916316, -0.0155682024, -0.0210504197, -0.0503666215, -0.0286016576, -0.0385114364, 0.0332731791, -0.0318764895, 0.020282831, -0.0495257042, 0.0373240747, -0.0159132965, -0.0371219963, 0.0286499709, -0.0093426406, -0.0274474416, 0.0019757156, 0.007731617, -0.0033085288, 0.0291466434, 0.003694423, 0.0192874111, 0.0544881895, -0.0260412246, -0.0012788371, 0.0409094505, -0.0069394317, 0.0502547622, 0.0000016238, -0.0482531264, -0.0568414181, 0.0009933126, -0.0277792551, -0.0544387996, 0.0320697054, -0.0911943614, -0.0374912396, 0.0174173173, 0.0051269815, -0.0724284053, 0.0591783412, 0.1075961441, 0.017310055, 0.0617608428, -0.0136083374, -0.0800773427, 0.08289361, 0.0061266227, -0.0547909513, -0.0089504523, 0.0633493066, -0.0077849776, -0.0401365422, 0.0194337834, -0.0076699378, 0.0433849916, -0.0130732115, 0.0180431604, -0.0089601707, 0.0443228781, -0.0416355506, -0.0023899544, -0.0209212508, 0.0360758416, -0.0447177291, -0.0180884246, 0.0034021966, -0.0111751696, -0.009707367, -0.0270461775, -0.0393319651, 0.0194777809, -0.0288552344, -0.0059820502, 0.008717387, 0.0278621707, 0.0073072771, -0.0077613825, -0.0703147501, 0.0172021799, 0.0097651267, -0.0477245972, 0.025239097, 0.0135065531, -0.0183368698, -0.0064632138, 0.0429608338, 0.0267528947, 0.0401782766, 0.0268320683, -0.0227277763, -0.0692662746, -0.0157096926, -0.0522206947, 0.0047215968, 0.0504075289, -0.0179515705, 0.0231879335, -0.093148455, 0.0613309965, -0.0243961588, 0.0348841958, 0.0107033253, -0.0374959521, -0.0623487607, 0.0164684728, -0.0628863648, 0.0283614956, -0.0413344838, 0.0024236953, -0.0408779085, 0.0241196789, 0.0319573693, 0.0052729785, 0.033810433, -0.0210922379, -0.0120694553, 0.0316297077, 0.0158236101, 0.0764514208, 0.0108074863, -0.0128817223, -0.0036557219, -0.0526105762, 0.0078525962, -0.0200837068, 0.0374196768, -0.0618105158, 0.0219469815, 0.0483341739, 0.0137453191, -0.0941099823, -0.0463664308, 0.0286944527, -0.0346026793, -0.0414540619, 0.0212220531, -0.0341063254, 0.0575206131, 0.0291196406, 0.0284831543, -0.0271227695, 0.0075514796, 0.0094367201, -0.0394779928, 0.0823474824, -0.0149880173, -0.0008670886, 0.0143591464, 0.0043951701, 0.0446502417, 0.0477085002, 0.0209952518, -0.0073982263, 0.0118270991, -0.0054797963, -0.0043755667, 0.0268201698, 0.0035074479, -0.0315586776, 0.0303793997, 0.0238730293, -0.0061523085, -0.0146828433, 0.0235504936, 0.0575067028, -0.0023404402, -0.0078619067, 0.0494524017, 0.0163944103, 0.0670923442, 0.0196951721, 0.0139185991, -0.0276469924, 0.0133140739, -0.0054091448, -0.0283929985, -0.0192792863, -0.0008909957, 0.0444017015, -0.0640207157, 0.0620328039, -0.0193696544, 0.0130649554, 0.0005718055, -0.0246005151, 0.0218953602, -0.0102365306, 0.0577113256, 0.0195273925, -0.0896104872, 0.0816501528, 0.0290933624, -0.0572471581, -0.0238115117, 0.0150725525, -0.0394766442, 0.0349722281, 0.0188855547, -0.0059790667, -0.0408241823, -0.0458590649, -0.0250247065, 0.0021029084, 0.010780165, 0.0154671464, 0.0242175292, -0.0376621075, -0.0065304944, 0.0668540075, -0.0064291735, 0.0362652689, -0.0073987874, 0.0126343938, 0.0276214145, 0.0014768442, -0.0288728159, 0.0432398841, -0.0098650279, -0.0044449489, -0.0067186831, 0.0343241841, 0.0070806909, 0.0517134815, 0.0178658571, -0.019007897, 0.0484977365, -0.0259382762, -0.0036277797, 0.0319348723, -0.0184072219, -0.0445531644, -0.0125130164, -0.0116567407, -0.0114086214, 0.011436007, 0.0079359831, -0.0537842289, -0.0598686188, -0.0232419744, 0.0165080484, -0.0157996528, 0.0507547036, 0.0063909921, 0.0506564081, -0.0305313244, 0.0587513261, -0.0207127985, 0.0212311503, 0.033070609, -0.0121720172, 0.0146679739, -0.0314022936, -0.0445794836, 0.0209920127, -0.0345958807, -0.0356317684, 0.0036922747, -0.0427083112, -0.0206097588, -0.0198716354, -0.0899872482, -0.0123076001, -0.02145789, 0.0529194884, -0.0088541741, 0.0396443941, -0.0151650338, -0.0052485382, -0.0072930623, -0.0285423156, 0.0102399364, 0.0065951501, 0.0191463307, 0.0191346332, -0.0371415094, -0.0100306142, 0.0045692781, -0.0540015325, 0.0480266511, 0.0145524088, -0.0703451633, -0.0789180174, 0.0499019474, 0.0038755985, 0.0162663516, -0.0092482492, -0.0087568723, -0.018809054, 0.0419630148, 0.0924258456, 0.0561493337, 0.0078853527, 0.0148511259, -0.0125680836, -0.0250992458, -0.0210685376, 0.0170947034, -0.0425574668, 0.0303606205, -0.0409170762, -0.0235082973, 0.0309628639, 0.0789954811, -0.0381249115, 0.027666688, -0.0210478026, -0.0239250064, -0.0161869489, 0.0066966447, 0.0094903195, -0.0092412261, -0.0215571262, 0.0035009601, -0.0076701087, 0.015508445, 0.0432374254, -0.0726691782, -0.0350242592, -0.0205663405, -0.0064392947, -0.0357621051, 0.038040977, 0.0143541545, 0.0101370364, 0.0181420222, -0.0872509405, -0.0088122217, 0.0133078406, -0.0071527287, -0.0205515083, 0.0673275068, 0.0372950695, 0.0238260273, -0.038449388, 0.0011793948, -0.035512127, -0.0274374019, -0.0345892571, 0.0365766808, 0.0248171296, -0.0136287445, -0.0485365689, 0.0638084114, 0.0177040119, 0.0443348549, 0.0004198199, -0.0157865137, -0.0267774258, 0.0361891612, -0.0157103781, 0.0251579396, 0.0347717442, -0.0210253559, -0.0099186059, 0.0017843712, 0.0210001133, -0.0055179303, -0.0127533562, -0.0503327213, 0.0312054921, -0.0780284032, -0.0088879969, -0.0337841138, 0.0204911511, -0.0475660302, -0.0172586795, 0.0979048461, -0.0058329934, -0.0070401891, -0.028786337, 0.0172499977, 0.0013482653, -0.003743697, 0.0228866264, -0.0867559388, -0.0160018541, 0.0045990902, -0.0054593761, -0.0033078003, -0.0466534123, 0.0151013462, -0.0900734738, -0.0123214433, -0.0147420336, -0.059789855, -0.0340376981, -0.0530289337, 0.002181971, -0.0473657362, 0.0113943163, -0.0031288892, -0.0605055131, -0.0365961827, 0.029909553, -0.0048764544, -0.0561091043, -0.0159181952, -0.0448911749, 0.0187821165, 0.0449930355, 0.014791782, -0.034364406, -0.0251385216, -0.0057016392, -0.0432297252, 0.0038959065, -0.0045644669, 0.0324057899, -0.0411867835, -0.0154410228, -0.0182404369, -0.0303654224, -0.0066227973, -0.0323074199, -0.0231523383, 0.0491519161, -0.0033907283, 0.0066195047, 0.0210634712, -0.029011054, 0.0182036012, 0.0717778951, 0.009436788, -0.0018202493, -0.0286739059, 0.0251063034, 0.033444196, -0.0336777084, -0.023812402, 0.0442113765, -0.024707282, -0.0581979938, -0.0287006069, -0.05181228, 0.0322142206, 0.0516480953, 0.019506285, 0.0078346506, 0.0272508338, 0.038070824, -0.0700351447, 0.0317418985, -0.0048455959, 0.0324868746, -0.0668124631, 0.0261318628, 0.018731527, -0.0072064181, -0.0311930683, -0.0148789855, -0.0855384767, -0.0294851046, 0.0436690003, 0.015483941, 0.0169055443, 0.0279188585, 0.0066277981, -0.0241256766, 0.016044857, 0.0308080055, -0.0335919, -0.0090897819, 0.0400423482, -0.0003192636, -0.0175708979, -0.0060878312, -0.015883958, 0.0405059606, 0.0348066278, 0.0158638097, -0.035535492, -0.0105817914, -0.0154349022, -0.0058986326, 0.0616781712, 0.0024018052, -0.0171957202, -0.0291482788, 0.039941147, 0.0103346994, 0.0360803157, 0.0028792555, -0.0178716462, 0.0177700967, 0.0081562465, -0.0127707981, 0.0457778797, -0.0319177136, -0.0323332176, -0.061270386, 0.0461891778, 0.0096705472, 0.0259641539, 0.004048049, -0.0045446623, -0.0027903519, 0.0362473167, 0.0826801211, 0.0193751007, -0.006877285, 0.0204759613, -0.0005850674, -0.0100543145, -0.0190390497, 0.0279676914, -0.0652989224, 0.0511056408, -0.0198216662, -0.001396349, 0.036119584, -0.011331819, 0.0558093116, -0.0009262649, 0.0041480446, -0.0014323435, 0.0003934285, -0.0192179196, 0.0120994244, 0.0257940814, 0.0068301177, -0.013702089, -0.0306772236, 0.0341756791, -0.0066564251, 0.0082460428, -0.0010918237, -0.003964779, -0.036187429, -0.0032070964, -0.0109453555, -0.0263877586, -0.0470499285, -0.0215605572, -0.0338433646, -0.0287973769, 0.0545468926, -0.0238461494, 0.0021914067, -0.0035917021, 0.001349841, -0.0118019795, 0.0257002469, -0.0206049122, -0.0205522217, 0.0235117115, 0.0393230543, -0.0171258319, -0.0206578933, -5.522116506e-33, -0.0380607657, -0.0116431387, -0.000875132, 0.0067850873, -0.0322739892, 0.0307607502, -0.0151070962, 0.0020972921, -0.0265508294, -0.0353816897, -0.0115588279, -0.0092370668, 0.049500417, 0.0092853438, -0.0330045708, -0.0392771177, 0.067136012, 0.0480084084, -0.0180059299, -0.0157197732, 0.0384967327, 0.0819910094, 0.1031252071, -0.0825578496, 0.0275959484, -0.0167204961, 0.0038797213, -0.0132755116, 0.0867145807, 0.0935016125, 0.0053383536, 0.0042301603, 0.0241228845, -0.0811127201, -0.0052941348, 0.0700781792, -0.1588085294, 0.0334481262, 0.0060722278, 0.0905361623, -0.0082806265, -0.0289231129, 0.0590623505, -0.0141534777, 0.0320229381, 0.0079133222, 0.0240799431, -0.0301839542, 0.0009299812, -0.0510650277, -0.0696647391, 0.0296632256, 0.0262097437, 0.0429885387, 0.052495461, 0.021510439, 0.0411786065, 0.0214133319, -0.0838942677, -0.0043233703, 0.0534055717, -0.0069291196, 0.0318517052, 0.0431348123, -0.0247092769, 0.0108848857, 0.0352645107, -0.0096956948, -0.0298696812, -0.0231936686, 0.0381372385, 0.0162366536, 0.027807625, 0.0336052291, 0.0008120311, -0.0110298833, -0.0643430278, 0.0093797566, 0.0021664633, 0.0057919607, -0.0106445607, -0.0247305948, -0.0562365092, 0.0070018806, 0.008106878, -0.0198562369, -0.0270049237, -0.006296685, 0.0371024944, 0.0013446087, -0.0513873771, 0.0700223073, 0.0737496242, -0.0431504287, -0.0558391549, -0.0002213094, 0.0473065525, 0.0481350496, -0.0347945355, 0.0087286187, -0.0521630645, -0.0619299598, 0.024779899, 0.0352735817, 0.0115379663, -0.0138754891, 0.0757145509, -0.0079150219, -0.087463744, -0.0119100567, -0.0001504437, 0.0250781663, -0.0324247777, 0.0500984788, 0.0330976509, 0.0140127484, 0.0053723049, 0.0229185708, 0.0505820513, -0.0304735303, -0.0342607461, 0.0210703257, 0.0536110885, 0.0637464374, 0.0003663361, -0.0040022219, 0.0138414418, 0.039748624, 0.0281182844, -0.0400814228, 0.0005003428, 0.0244122259, 2.361e-7, 0.0681052059, 0.0184895992, 0.0289500002, -0.0282265767, -0.0113862781, -0.0195363574, 0.0257533137, 0.0309563112, -0.0083616059, 0.0430681743, 0.0034649235, -0.0347537026, 0.0101607423, -0.0004975908, -0.0890488327, -0.0550340451, -0.050199043, 0.0076748524, -0.0505842045, 0.0629980266, 0.0407106504, 0.095979549, -0.0280786958, -0.0021879326, -0.0452492796, 0.020191269, 0.0615015291, 0.0048255152, 0.0438221283, 0.0428679064, 0.0185851958, 0.0578923412, -0.0148425968, 0.0357380435, -0.0058275834, 0.0382239223, 0.0187306609, 0.0242064372, -0.0146856336, -0.0020333955, 0.0235549249, -0.0345485806, -0.0167681091, -0.0515252277, 0.0583535805, -0.1067062095, -0.0005268685, 0.0113627547, -0.0322819464, 0.0146598304, -0.0071243299, 0.0390655696, -0.0022088874, 0.0310650934, 0.0297292061, -0.0318457782, -0.0223453436, -0.0699310228, 0.0116516324, 0.0107405437, 0.0256045181, -0.0031944574, -0.0283978041, -0.0739781559, 0.0349002816, -0.0246677846, -0.031358894, 2.097880661e-34, -0.0322406664, 0.0098267104, -0.0208842568, 0.0522278585, -0.0170478076, -0.0330824554, 0.0072743413, 0.0090244086, -0.0353701003, -0.070968315, -0.0093604187 ]
http://arxiv.org/abs/2406.17465v1
http://arxiv.org/pdf/2406.17465v1
Enhancing Tool Retrieval with Iterative Feedback from Large Language Models
"2024-06-25T11:12:01"
"2024-06-25T11:12:01"
Qiancheng Xu, Yongqi Li, Heming Xia, Wenjie Li
cs.CL
cs.CL, cs.AI
Tool learning aims to enhance and expand large language models' (LLMs) capabilities with external tools, which has gained significant attention recently. Current methods have shown that LLMs can effectively handle a certain amount of tools through in-context learning or fine-tuning. However, in real-world scenarios, the number of tools is typically extensive and irregularly updated, emphasizing the necessity for a dedicated tool retrieval component. Tool retrieval is nontrivial due to the following challenges: 1) complex user instructions and tool descriptions; 2) misalignment between tool retrieval and tool usage models. To address the above issues, we propose to enhance tool retrieval with iterative feedback from the large language model. Specifically, we prompt the tool usage model, i.e., the LLM, to provide feedback for the tool retriever model in multi-round, which could progressively improve the tool retriever's understanding of instructions and tools and reduce the gap between the two standalone components. We build a unified and comprehensive benchmark to evaluate tool retrieval models. The extensive experiments indicate that our proposed approach achieves advanced performance in both in-domain evaluation and out-of-domain evaluation.
[ 0.0379030146, -0.0159533061, -0.0275241677, 0.0389785916, -0.018547222, 0.0134434439, -0.019897975, 0.0067248829, 0.002344609, -0.036100585, -0.0431842245, -0.0025388582, -0.0561698526, -0.0322819836, 0.0018481043, -0.0318248682, 0.0535246953, -0.0116388835, -0.0617095269, 0.0396996588, -0.0152184526, 0.0193834677, 0.0026544379, 0.0726365075, 0.0184375308, 0.0041572177, -0.0173854344, 0.0236054491, -0.0016438285, 0.0034505047, 0.0336781405, 0.0107884388, 0.0237397123, 0.0499735847, 0.0000019013, -0.0556515604, -0.0503301099, 0.0035533013, -0.0264490098, -0.0210528243, 0.0536835082, 0.0111746388, -0.0089929914, 0.0133513333, -0.0202765614, -0.0011421151, 0.0469585583, -0.0069203041, 0.0277368911, 0.0517434031, 0.0221803226, 0.0321596414, -0.0209139548, -0.006740489, -0.0164245404, -0.0197009854, -0.0150429336, 0.025192935, 0.069095321, 0.0450213999, 0.0429793, 0.0447656512, 0.0203081723, 0.0210495386, 0.0311568193, -0.002160951, 0.0050335461, 0.0099953841, 0.0078921532, 0.0212656017, -0.0244877823, -0.0135363862, -0.0021889587, -0.0098863393, 0.0068788277, 0.0609498844, -0.0589468814, -0.0041552507, -0.0348576084, -0.0301405266, -0.027659934, -0.043896433, 0.0131918732, 0.0057509299, -0.0032158184, 0.0659048259, 0.0088062631, -0.0068012951, -0.0048409919, -0.0358071811, -0.0149648925, -0.0239723157, 0.0038913523, 0.0719090849, -0.0627861917, 0.025386462, 0.022107739, 0.0281536374, 0.0237900652, -0.0679712445, 0.0470513105, 0.0353402644, -0.0526038259, 0.0452770963, -0.0375392698, 0.0122912228, -0.0084961783, 0.009879237, -0.0652203783, -0.0099226348, -0.0771698579, -0.0544977263, -0.0274253357, 0.0252571497, -0.032694906, -0.043485105, 0.0216591284, 0.050586991, 0.0080776447, 0.016167555, -0.0085604005, -0.0506617278, -0.0453285724, -0.0246394388, -0.0164133683, 0.0255615618, -0.0339209326, 0.0070363521, 0.0042346637, -0.0409473106, -0.0202377476, 0.0048509301, -0.0333543308, -0.0376155265, 0.0014668405, 0.0990163088, -0.022879215, 0.0150716566, -0.0507292785, -0.0627462119, 0.0399342515, -0.0050281188, -0.0066422792, -0.0659603924, -0.0177280903, 0.0352955014, -0.0040990878, -0.0221210066, -0.0093403021, 0.0193747245, 0.0077298987, 0.0280936491, -0.0130235907, 0.0142738558, 0.0435982011, 0.0128431143, 0.0117968628, 0.0351283178, -0.0577184558, 0.0757245868, 0.026653951, -0.0176822115, -0.0016973721, 0.0505545288, -0.0384012125, -0.011463373, -0.0477258042, 0.0190309454, 0.0449213497, -0.0103361811, 0.0072666719, -0.0033818989, -0.0209698118, 0.0402502157, 0.0165064409, 0.0434551835, 0.0850507021, -0.0016833724, 0.051804807, 0.0309339818, -0.023442883, -0.0169407222, -0.0535360202, 0.0071087265, -0.0753096938, 0.0130339265, -0.0274933986, -0.0040598824, -0.0145633835, -0.0172137506, -0.0115210777, 0.0105445124, -0.0266392343, 0.0064720404, 0.0720312893, 0.0003814878, -0.0126552079, 0.0283536874, 0.0447347276, -0.0214698222, -0.0381912217, -0.0711453408, -0.0023626385, 0.0836596563, 0.0667476803, -0.0454321764, -0.0407465212, 0.0440850183, -0.0162921455, -0.0194375496, 0.0129111223, -0.0322388224, -0.0160209611, -0.0173813943, -0.057855133, -0.0205911603, -0.0116632786, 0.0461367294, 0.0391535796, -0.0355553888, 0.0516506806, -0.0768192559, 0.0019092516, 0.027097024, 0.0173822511, -0.0439081751, -0.011007838, 0.0229692962, 0.0067189494, -0.0112758493, -0.0262297634, 0.018401131, 0.0473071299, -0.0148558337, -0.0312552191, -0.0189425591, -0.0121119246, 0.0265359469, 0.0429178663, 0.0513134338, 0.0289626755, -0.0079586953, 0.012095294, -0.0166888852, 0.001136211, -0.0192917455, 0.0516784601, -0.0122401984, 0.0309314448, -0.0406708494, -0.0388480388, -0.0730638802, 0.0487153903, 0.0142562846, 0.0014104758, -0.0113998614, 0.0224611536, -0.0021215491, -0.0182004664, -0.0192791522, 0.029487567, -0.0088002309, 0.0563312322, 0.0313434973, 0.0094130514, -0.0106833996, -0.0434886701, -0.08572907, 0.0222325474, -0.0210028719, 0.0067409477, 0.0090719145, 0.01126674, -0.0014910207, -0.0534829311, 0.0201827306, -0.0025659322, -0.0206681881, 0.0403947979, -0.0308029, 0.0253330767, -0.0389732569, -0.0176783744, -0.0416130573, 0.0020464831, 0.0219054855, -0.0071279807, -0.0300921407, -0.0672097057, 0.0775797367, -0.0165682584, 0.0042759012, -0.0198109467, -0.0049729585, 0.0281298067, -0.0393548086, -0.0009072402, 0.0656881556, -0.0450548269, 0.0322954282, 0.0691916272, -0.0127770565, -0.112875022, -0.0044984333, 0.0128082857, -0.0971633047, 0.00553559, 0.0308203604, 0.0314183086, 0.0111515773, -0.0125297401, 0.0360805355, 0.0178275798, -0.0222280677, -0.0119531453, -0.0354045779, -0.0438492149, -0.0287673157, -0.0041759559, 0.0290671587, -0.004047472, -0.0703756958, 0.054096844, -0.0195118636, -0.0027299351, -0.0092891315, -0.0442067944, -0.0193742961, 0.0736401156, -0.0003040823, 0.0219895281, -0.011798799, -0.0311006326, -0.0290743988, -0.0054601957, 0.0354691707, -0.0585181862, 0.0343427993, -0.0352225229, 0.0362796187, -0.0012768827, -0.032859832, -0.0217542835, -0.0030447431, -0.006409457, 0.0277814548, 0.0084965834, -0.0044885431, -0.0149505297, 0.0444593206, 0.0596130379, 0.0384060442, 0.0335599519, -0.0225219782, -0.0080695003, 0.0070857597, 0.0225696657, -0.0260176007, -0.0279902685, -0.0060874326, -0.0024968877, 0.0260424372, 0.0528249443, -0.0571320355, -0.0597978979, -0.0186881255, 0.04460923, -0.0266158525, -0.011503024, 0.0530930124, 0.0247555748, -0.0763124898, -0.0157923531, 0.0636746436, 0.0293966737, -0.0595198944, -0.0179524347, 0.012423588, 0.0042539029, 0.0494723246, 0.0650840774, -0.0695964918, -0.0219985265, 0.0264210328, 0.0399459675, 0.0246342923, 0.0215315055, 0.0159570109, -0.1324676275, 0.0287124664, 0.020167727, -0.0133549608, -0.0135071548, -0.0527434982, -0.0010601755, 0.0204744544, -0.0022054717, 0.0427285619, -0.0271253604, -0.0020665994, 0.0149580948, 0.0076341, -0.0643509254, 0.0179695152, -0.019472383, 0.004826759, 0.0914158747, -0.04375517, 0.0246402677, 0.0493879244, 0.1089918092, 0.0048965821, 0.0359890684, -0.0414242074, 0.0100435894, 0.0066196066, -0.0137378862, -0.0129934866, -0.0015592457, -0.0020705932, -0.0014615197, 0.0062275659, 0.0509260595, -0.0228164122, 0.0684692562, -0.0208376814, -0.0578087866, 0.0145929353, 0.0192986839, 0.0140207112, 0.0044493042, 0.0150787346, -0.0409881137, -0.046594929, 0.0268200599, -0.0351835564, -0.0007036948, -0.0306497756, 0.0236308966, -0.0420053415, -0.0241667014, 0.0343995802, 0.044678852, 0.0253363047, 0.000663802, -0.0329063796, 0.0181765631, -0.0754953772, 0.0372699462, -0.0373309068, 0.042045325, -0.0490323491, 0.0017942559, 0.0109779825, -0.0182431564, -0.0262483377, 0.0418723077, -0.0204264987, -0.062453717, -0.025691865, 0.0379401743, 0.0238323584, 0.0143893007, -0.0404404402, -0.0774927214, -0.0233858787, 0.0263930056, -0.0263996013, -0.0013449903, -0.0086853644, 0.0167695638, -0.0288361702, 0.029974414, -0.065350689, 0.0064320033, 0.0238338262, 0.0249378476, -0.0197036434, -0.0718575269, 0.0529198833, 0.0374009497, 0.0133056408, 0.0456158295, 0.0240511261, -0.0323582478, 0.0271988343, 0.0252315756, -0.0564702563, -0.0262940563, 0.0328625999, -0.0196309965, -0.0543099195, 0.0474451706, 0.0018085979, 0.0370530747, 0.0614312068, -0.0557630882, 0.0040024007, -0.0100813592, 0.0063262046, 0.0376156233, 0.0326332115, -0.0182945449, -0.0024256369, 0.0193853471, 0.0759858862, -0.0350959972, 0.0590503439, 0.0050953254, -0.0035706696, -0.0577799268, 0.0193276219, -0.0291070435, -0.1044462398, -0.0235983636, -0.0039678863, 0.0415662676, -0.0449162535, 0.0258539207, -0.0109373853, -0.0298289414, -0.0611729585, 0.0124517623, -0.0059890114, 0.0069573792, -0.0015700515, 0.0469954051, -0.0079320204, -0.0110798059, 0.0287902132, -0.0465166643, 0.0187244639, -0.0158940759, -0.0380706675, -0.0513581373, -0.013382107, 0.0547630489, -0.0048182383, -0.0316587128, -0.0191198662, -0.0238318741, -0.0461795442, -0.0573876351, 0.0073100333, -0.0358286574, -0.0082473932, 0.0275879782, 0.1386935413, 0.0101111988, -0.0155035984, -0.0230550431, -0.010220157, -0.0413760841, 0.0008688187, -0.0278788619, -5.210856255e-33, -0.0541792475, -0.0172605477, 0.0327176489, -0.023341259, 0.0308275577, -0.0076723164, -0.0179709606, 0.0253895689, -0.009788787, -0.031514965, -0.0029239105, -0.0167429615, 0.0146349203, -0.0353998914, 0.0525497161, 0.0427130796, 0.0624754243, 0.0450137109, -0.0448452719, 0.0132877184, 0.0493967682, 0.0317519642, 0.0538406372, -0.0619481876, -0.0058997381, 0.0170030799, 0.0295522753, 0.0329386964, 0.0135370158, 0.0759768337, 0.0008086995, 0.0414627381, 0.0121613182, -0.0155363521, -0.0166812465, -0.0225881059, -0.0641885772, -0.0112257814, 0.0043052319, 0.0031545528, 0.0597244129, -0.0437824875, 0.0491195507, -0.0126196463, -0.0183295906, 0.0147276148, 0.0332020782, -0.0109947361, -0.0498460978, -0.0025590737, -0.0401522368, 0.0317587256, 0.0213337261, -0.0473866723, 0.0043458948, 0.0243635196, 0.009161477, -0.0044441451, -0.0229815766, 0.0133017357, 0.0288335904, 0.0802302137, 0.0877265707, 0.0513484254, -0.0091247717, 0.0153709538, 0.0095746173, -0.0165805705, 0.0252494104, -0.0437903851, 0.0216865893, 0.0646209866, -0.0072699911, 0.0024236043, -0.0012670445, 0.0316725969, 0.0104909372, 0.0410617925, 0.0073293438, 0.1198821217, 0.0473093241, 0.0784583688, -0.0638225302, 0.0019729845, -0.0357818045, 0.0199346337, -0.0456767827, -0.059419509, 0.0517398901, 0.0346188508, 0.0036810373, -0.0045565739, 0.0327521861, -0.0017483011, 0.009908908, -0.0062747058, -0.0250554122, 0.0207843296, -0.0213910975, 0.0163308773, -0.0127629451, -0.0360847265, -0.0191610865, -0.0321735702, -0.0006699253, -0.0207133256, -0.0162422694, 0.0256651528, -0.0852845982, 0.0265444759, -0.0495359637, -0.0365188718, -0.02455475, 0.0085582752, 0.0446381345, -0.003479366, 0.0065328907, 0.0362932645, -0.0131940991, -0.0784088075, -0.0344208404, -0.0355403237, -0.0135715315, -0.0379808247, -0.009225497, 0.0530839115, -0.0375036635, 0.0334352255, 0.0326564722, 0.0099466434, 0.0026238305, 0.004120931, 2.695e-7, 0.0376828648, 0.0069637066, -0.0025005746, 0.0278979857, -0.035175845, 0.0150016444, -0.0335082747, -0.0089786816, 0.0345782489, 0.0138977217, -0.016033398, 0.0486293435, 0.0341159813, 0.0140950289, -0.0405341275, 0.0231268518, -0.0017283929, 0.0143058505, -0.0700666457, -0.0256876908, 0.0273142569, 0.0702527389, -0.0165627953, -0.0119449105, -0.0082417894, -0.1148080006, 0.030380765, -0.0454006195, -0.0235326905, 0.004448995, 0.0008629571, 0.0714020133, 0.0051921867, -0.00334713, 0.0189430136, 0.0385504924, 0.0067679756, 0.0583444983, -0.0111742718, -0.0087254522, 0.0027923356, -0.0452684425, 0.0006725228, -0.0399981365, 0.0224144477, -0.0475892276, 0.0091928486, -0.0009438534, -0.0018215305, -0.0071214326, -0.0380545631, -0.0180060621, 0.0009959663, 0.0024581593, -0.0003455869, 0.0153755089, -0.0229698997, -0.0514704175, -0.0275845323, 0.0878034756, -0.0305045247, -0.0672747791, -0.0401177406, -0.0179012846, -0.0403177962, -0.0059560002, 0.0111855855, 2.341874258e-34, 0.0169767849, 0.0155797061, 0.0330505706, 0.0875608772, 0.0538086593, 0.0002208783, -0.0249386113, 0.0525177978, 0.0107754236, -0.0777325854, -0.0057381145 ]
http://arxiv.org/abs/2407.00875v1
http://arxiv.org/pdf/2407.00875v1
MoE-CT: A Novel Approach For Large Language Models Training With Resistance To Catastrophic Forgetting
"2024-06-25T11:03:45"
"2024-06-25T11:03:45"
Tianhao Li, Shangjie Li, Binbin Xie, Deyi Xiong, Baosong Yang
cs.CL
cs.CL, cs.AI
The advent of large language models (LLMs) has predominantly catered to high-resource languages, leaving a disparity in performance for low-resource languages. Conventional Continual Training (CT) approaches to bridge this gap often undermine a model's original linguistic proficiency when expanding to multilingual contexts. Addressing this issue, we introduce a novel MoE-CT architecture, a paradigm that innovatively separates the base model's learning from the multilingual expansion process. Our design freezes the original LLM parameters, thus safeguarding its performance in high-resource languages, while an appended MoE module, trained on diverse language datasets, augments low-resource language proficiency. Our approach significantly outperforms conventional CT methods, as evidenced by our experiments, which show marked improvements in multilingual benchmarks without sacrificing the model's original language performance. Moreover, our MoE-CT framework demonstrates enhanced resistance to forgetting and superior transfer learning capabilities. By preserving the base model's integrity and focusing on strategic parameter expansion, our methodology advances multilingual language modeling and represents a significant step forward for low-resource language inclusion in LLMs, indicating a fruitful direction for future research in language technologies.
[ 0.0017917196, 0.0997517183, -0.0047524357, 0.0321464092, -0.0029091171, 0.0386086367, 0.0075338809, -0.0468936712, -0.0317066573, -0.0196578242, -0.0642459691, -0.0426805764, -0.0213165898, -0.0107313637, 0.032117676, -0.0445039459, 0.0573492795, -0.0603136085, -0.0677396283, -0.0231524184, -0.0102000954, 0.0155762881, 0.0305239391, 0.0014872742, -0.0096548842, -0.0182693619, 0.0044078948, -0.0095796315, 0.0004731253, -0.0297063142, -0.0076448084, 0.0254121609, 0.028297985, 0.044266738, 0.0000022183, -0.0558064505, -0.0347162224, -0.0094981315, -0.0257368889, 0.0075837579, 0.0708770454, -0.0331088901, -0.0297562145, 0.0254244152, -0.0084959799, -0.0073609208, 0.0674771592, 0.0066774916, 0.0446319543, 0.0660446957, -0.0124970945, -0.0085906973, 0.0542087443, -0.0345724523, -0.026476616, -0.033079382, 0.0330695659, 0.0088214697, -0.0178236067, -0.0068733096, -0.0287430901, 0.0405418463, 0.0281271525, 0.0175666716, -0.0223933309, 0.0420393981, 0.0182104148, -0.0177913867, -0.0263290908, 0.0246215295, -0.0412778258, -0.0141322725, -0.0134769948, 0.0157682095, -0.0159109682, -0.0228905473, -0.069853209, 0.0249320287, 0.0392283686, 0.0241133478, 0.0299813915, -0.0072466051, 0.0623586476, 0.0328058824, -0.057174243, -0.0010344675, 0.0541467592, -0.0291647725, 0.0330269411, 0.0137651376, -0.0154490108, 0.0052553583, -0.0072381836, 0.0328570716, -0.0182935968, 0.0462875627, -0.0244999994, -0.0121737486, 0.0372962467, -0.0490646735, 0.0465605445, 0.0266043935, -0.0531363599, 0.0654453784, -0.0472662896, 0.0197794568, -0.0187166519, -0.0092532141, -0.047275085, -0.0348945633, -0.0438453183, -0.0033185857, -0.0182655063, 0.0200022683, 0.0090216985, -0.0251154434, -0.0150722628, 0.0283411387, -0.0089688404, 0.0101967799, 0.0039644009, -0.0267040562, -0.0444595963, -0.0210847091, 0.0304277986, 0.0787555128, 0.002284742, 0.0140272044, -0.0021839351, -0.0765145421, -0.0190016143, 0.0309369676, -0.0221697204, -0.0261051264, 0.0354675502, 0.0811106041, -0.0321159624, -0.0433478728, -0.0296945944, 0.0403790101, -0.009068463, -0.0740714595, 0.0161275938, -0.0642410293, 0.0439990312, -0.0124222152, 0.0380831733, -0.0598380342, -0.0012309533, 0.0041701975, -0.0291169733, 0.0385157429, -0.0210880432, -0.0015203792, 0.0178675503, -0.000537144, 0.0251932964, 0.0816979781, 0.0141339181, -0.0203086995, 0.0504514165, -0.009786916, -0.0378280096, 0.0874628723, 0.0110752629, 0.0622281246, -0.0378682874, -0.0133798216, 0.0428272672, 0.0168513432, 0.046374999, 0.027050361, -0.0017883431, 0.0167661142, 0.0564485192, -0.0041065207, 0.0121305613, 0.058632154, 0.0263619591, -0.025976127, -0.0101004364, -0.0109337727, -0.0367884189, 0.0079910439, -0.0063277441, 0.0076059145, -0.0036943194, 0.0627311096, -0.0435256176, -0.004121182, -0.0095407646, -0.0320276842, -0.0114089027, 0.0289336499, 0.083760336, 0.0196623169, -0.0181297902, 0.0879795551, 0.0766304806, -0.0240313802, 0.0391639099, -0.0440783165, -0.0083189784, 0.0339993797, 0.0226817261, -0.038795732, -0.0291131698, -0.0282930788, 0.0256556086, 0.0304320604, 0.0627666935, 0.0067792232, 0.0524544194, -0.0666679591, 0.0010870147, 0.014238419, 0.0237368364, 0.0609681085, 0.0178726856, 0.0506979562, -0.0071841925, -0.0178762767, -0.0326008238, 0.037749853, -0.0962351188, -0.0139975771, -0.0018305387, -0.0059273974, -0.0035399832, 0.0207834952, -0.0170201454, -0.0229710173, 0.0185929835, -0.0488665402, -0.006753217, 0.0200271625, -0.092835471, -0.0131605798, 0.0652284175, 0.0448345169, -0.0177202467, -0.0098690726, -0.0256205238, -0.0500164442, 0.0187670309, -0.0054696221, 0.0461635217, -0.0825306848, -0.0013057489, -0.019784566, 0.0344875157, -0.0064969156, 0.0408333242, -0.0205702297, -0.0064691622, 0.0185156595, -0.0109073035, 0.0001200476, -0.0486123562, -0.0387080647, 0.0402088314, -0.0034328988, 0.0389564149, -0.01385138, 0.0166892242, -0.0167982541, -0.033797916, -0.0795579106, 0.0086443285, -0.0289093368, -0.0021007238, -0.0162378214, 0.0187938288, -0.0202108491, -0.0233889315, -0.0188605022, -0.0129707977, 0.0023617861, 0.0286630075, -0.0174223799, -0.0042343466, -0.007401986, -0.0087770214, -0.01437019, 0.0424082652, 0.0442334563, -0.0604835376, -0.0178732704, -0.0589625426, 0.017658541, -0.0385763869, 0.0090666078, -0.0116194412, -0.0194166247, -0.0186461303, -0.0400685109, 0.0156046487, 0.0379547328, -0.0224775597, 0.012939984, 0.0728246272, -0.0196965691, -0.041165527, 0.0114643723, -0.002685247, -0.0439065211, -0.0375200137, -0.0092337262, -0.0349489897, 0.0579797179, -0.0325338319, -0.0050830003, -0.0302341562, -0.0387216136, -0.0331112929, -0.0175093748, -0.0318090729, 0.0473485515, -0.0399826467, 0.0038745862, -0.0076296516, -0.0455180518, 0.038543243, -0.02101353, -0.0307994857, -0.0290571004, -0.0122040631, -0.0348657183, 0.0138060972, -0.0098694647, 0.0391347967, -0.0089990385, -0.0323976949, -0.0500235632, -0.001240416, 0.0133031197, -0.0133281946, 0.0373928472, -0.0235597175, -0.0038618909, -0.0060403547, -0.033613719, -0.0350173414, 0.0057827299, -0.0126550198, 0.0409391969, -0.0385173075, -0.0096428506, -0.0375041738, -0.022646578, 0.0422780998, 0.0493992567, 0.0109815719, 0.016281601, -0.015576941, 0.0321434326, 0.0413824953, 0.0450845137, 0.0408882983, -0.0669248104, 0.0435065292, 0.0333696939, 0.0355959609, -0.034779653, -0.0253134836, 0.014194251, 0.0234851632, 0.0015060024, -0.011179938, 0.0009941373, 0.0038975489, -0.051457122, -0.0240699891, 0.0728803352, -0.0039406479, -0.0464348309, 0.002913943, -0.0189291332, 0.0729865506, 0.0279237721, 0.0469654687, -0.0837645307, -0.0237270091, 0.0326916799, 0.0160504468, 0.0383096561, -0.0029440867, -0.0318840444, -0.1094025671, 0.009948696, 0.030303942, -0.0539958514, 0.0101687415, -0.0565440208, -0.0119513348, -0.0147832613, 0.0324504115, -0.0020302371, -0.0256219991, -0.0457721688, 0.0199053027, -0.0122587085, -0.0709599182, 0.0359071158, -0.0177249033, 0.0473292954, 0.0358869471, 0.0142559838, -0.01783856, 0.0123795141, 0.066371873, -0.0100593464, -0.0046474501, -0.0182205271, 0.0137638645, 0.01355277, -0.0176070947, 0.0379675813, 0.0180253163, -0.0204608887, -0.0173608642, 0.018944554, 0.0993907005, 0.0244771391, -0.0047255559, 0.0285558142, -0.054938361, 0.0044821994, 0.0563849099, 0.0037136965, -0.0554114319, -0.0196287986, -0.0082850382, -0.0433258191, -0.0122585157, 0.0255444739, 0.0236702915, -0.0477448478, -0.0416590124, -0.0393344127, -0.0338121727, -0.017119633, 0.0178088229, 0.0376345776, 0.0198234562, -0.0129639283, -0.0011033862, -0.0171811618, 0.0172302853, -0.0631681979, 0.0121683646, -0.0539335646, 0.0087822182, 0.0379231907, -0.0271328352, 0.0000817152, -0.0094607882, -0.0756774917, -0.06141809, 0.0045478665, 0.0693459362, 0.0134385843, 0.0723537505, 0.0133267315, -0.0580437183, 0.0473645106, 0.0167951342, -0.0236998685, 0.0284079928, 0.0714573488, -0.0092200907, 0.004259211, 0.0523275211, -0.0224018991, 0.0123279439, 0.0203537513, 0.0457212329, -0.0355385244, 0.0309783388, -0.0082613518, -0.0304922834, 0.0001549708, -0.0506165549, -0.0053107133, -0.0620253272, 0.0338595174, 0.0003496603, -0.0025084652, -0.0399205722, 0.0010336594, 0.0478105992, 0.0223685373, 0.0079078674, 0.0040399702, 0.0428153798, 0.0190950986, -0.0090540498, 0.0172483716, 0.007886, -0.0013293178, 0.0386275724, 0.0395152308, -0.0271389969, 0.0302121546, -0.016394712, 0.0291992109, -0.0558112115, 0.0437466651, -0.0000495882, -0.0260476861, -0.0227975473, 0.0042785653, -0.0009325792, -0.0569314025, -0.0036383439, 0.0342559591, 0.0945698544, -0.0082840119, 0.0907082409, -0.0157270767, -0.0273115318, -0.0362484604, -0.0054207607, -0.0229022503, -0.0553151332, 0.0072596725, 0.0101729278, -0.0018220922, 0.0431918651, 0.0573032163, 0.0010424604, 0.0160496868, -0.0301527157, 0.0427156501, -0.0263827089, -0.0091111073, 0.0255531725, 0.0207382478, -0.0297398958, 0.0279798135, -0.0296543371, -0.0814722329, -0.0158294085, -0.0316801667, -0.0153686786, 0.0046242652, 0.0055860193, 0.0361308865, -0.0468008742, 0.0118738227, -0.054271169, -0.0024584096, 0.0342949294, -0.0066157933, 0.0346238017, -6.678406585e-33, 0.0090075219, 0.0364302285, 0.0265857335, -0.0336664319, -0.0262281019, -0.00902119, -0.0370224342, 0.0105145955, -0.0168023985, -0.0076559838, -0.0193573758, -0.0238698758, 0.0098950043, 0.0553097874, 0.0151019581, 0.0249176063, 0.0636283159, 0.0133539271, 0.0226937532, 0.0351828039, 0.0559195206, 0.0517380275, 0.0811990499, -0.032225389, -0.0002896935, -0.0001186254, -0.0056755934, 0.0280294344, 0.0147789977, 0.063558951, -0.029345993, 0.0388132185, 0.0102602215, -0.0405100659, -0.0351523533, -0.0228221156, -0.0861375928, -0.0237412844, -0.0008399283, 0.0171650145, 0.0080063138, -0.0353395529, 0.0092394352, -0.0137989484, 0.0001909145, -0.0329209976, 0.0053314851, -0.0461142883, -0.0662863404, 0.0350846499, -0.0680958927, 0.0342362262, 0.0247389209, 0.0058508618, 0.0273523349, 0.0057271216, -0.0139007559, -0.0077794841, -0.0706216246, -0.0033233745, -0.0120098665, 0.035542734, 0.0732037351, 0.0418877117, -0.0076874853, 0.0481450818, 0.0292812549, -0.0098323505, 0.0463371836, 0.0074851089, 0.0719133094, 0.0095897708, 0.0329715386, 0.0220910925, 0.0230671689, -0.0329660848, -0.0553586744, -0.0339802466, 0.0321611986, 0.0591981895, 0.0386721268, 0.0126697244, 0.0052631865, -0.0295983404, -0.0358011648, -0.0110543324, -0.0411654077, -0.0219239816, 0.0438716486, 0.024881456, -0.012521036, -0.0072394116, 0.0620815605, -0.0418450572, -0.0378062911, 0.047519628, -0.0101863919, 0.016520381, -0.0137835573, 0.0540884659, -0.0790653527, -0.0574552938, -0.0413043164, -0.0467159711, -0.0206888486, -0.0179076884, 0.0759874582, 0.0511890948, -0.0751164556, 0.0091147814, -0.0390566438, 0.0041623595, 0.0424398333, 0.0548806973, 0.0287768897, 0.002653626, 0.0074945055, 0.066145137, 0.0489157215, -0.0320939682, -0.0440131128, -0.0163739603, 0.0064257346, 0.0305469185, -0.0170483775, 0.0134466337, -0.0547149181, -0.0200164337, 0.0348180309, -0.063648738, 0.0009952682, 0.0161139164, 2.804e-7, 0.0164984409, 0.0349009037, -0.0271158684, -0.0358037278, 0.0291557275, 0.007879016, -0.0542213544, 0.0292425398, 0.008734053, 0.0546100512, -0.0138226477, 0.0594576783, 0.0685923323, 0.0219232664, -0.0848963782, 0.0139337387, -0.0414292403, 0.0365372375, -0.0542880036, 0.0002403425, -0.0105939321, 0.1064023525, -0.0045523294, -0.0274817739, -0.0102567617, -0.0647081062, 0.0974545702, -0.0236035474, -0.0009846726, 0.015392215, -0.0036340128, 0.0765004531, -0.016836714, -0.0321142226, -0.0362259187, 0.0385433175, -0.0034344825, 0.0748358145, 0.0168812871, -0.0391671434, 0.0544120781, 0.0011242857, -0.0534713715, -0.0624691881, 0.0617937334, -0.0276036654, -0.0025902689, -0.0463355444, 0.004065576, 0.0004881556, 0.0298860837, -0.0488143116, -0.0491441153, 0.0221877918, 0.0426305383, 0.0050874981, -0.0466168337, -0.0641403794, -0.0234748889, 0.0153898271, -0.0512422137, -0.0533322357, -0.0271053705, -0.0160167962, 0.0011861763, -0.0427687056, 0.0107948678, 2.582081478e-34, 0.0419941656, -0.0220518783, 0.0096315006, 0.0411563143, -0.0111915814, -0.0419325046, 0.0263581108, 0.0359796658, -0.0061496766, -0.0586895682, -0.0041574277 ]
http://arxiv.org/abs/2406.17456v1
http://arxiv.org/pdf/2406.17456v1
Improving Grammatical Error Correction via Contextual Data Augmentation
"2024-06-25T10:49:56"
"2024-06-25T10:49:56"
Yixuan Wang, Baoxin Wang, Yijun Liu, Qingfu Zhu, Dayong Wu, Wanxiang Che
cs.CL
cs.CL, cs.AI
Nowadays, data augmentation through synthetic data has been widely used in the field of Grammatical Error Correction (GEC) to alleviate the problem of data scarcity. However, these synthetic data are mainly used in the pre-training phase rather than the data-limited fine-tuning phase due to inconsistent error distribution and noisy labels. In this paper, we propose a synthetic data construction method based on contextual augmentation, which can ensure an efficient augmentation of the original data with a more consistent error distribution. Specifically, we combine rule-based substitution with model-based generation, using the generative model to generate a richer context for the extracted error patterns. Besides, we also propose a relabeling-based data cleaning method to mitigate the effects of noisy labels in synthetic data. Experiments on CoNLL14 and BEA19-Test show that our proposed augmentation method consistently and substantially outperforms strong baselines and achieves the state-of-the-art level with only a few synthetic data.
[ 0.0480468646, 0.0860085115, 0.0054011517, 0.03234905, -0.0017373461, 0.0201845858, 0.0009598091, -0.0376506783, -0.0419835337, -0.0743856505, -0.0102809584, -0.0375799201, -0.0000380507, 0.0067877583, 0.0498700626, -0.0359769128, 0.0523751378, 0.0284270402, -0.0125519456, 0.0184124969, 0.0046062339, -0.0024229237, -0.0160870291, 0.0183273833, -0.0821487829, -0.0128239729, 0.0016032932, 0.0365519002, 0.0198130812, -0.0253638607, 0.0759903342, 0.0725220963, -0.0106412377, 0.0573812835, 0.000001829, -0.0386914387, -0.0207795557, 0.0054947501, -0.0355684496, 0.0318937153, 0.0280662943, -0.0233188979, -0.077937834, 0.0179798305, -0.0080113271, -0.027032746, 0.0573189408, 0.0187609084, 0.0493110083, 0.1055562645, -0.0084586069, -0.0200447608, 0.0322840586, -0.0023642087, 0.00384647, 0.0145294927, 0.0448137224, 0.0134197399, -0.034292873, -0.0213016607, -0.0349581502, 0.0373540632, 0.0263139457, -0.037464302, 0.0209661666, 0.0066426443, 0.0031720956, 0.0050167046, -0.0208642669, 0.031287685, 0.0029988841, -0.0454028137, -0.0238541141, 0.0026760343, 0.0229509082, -0.0298768934, -0.0102687655, 0.0159180518, -0.0066243964, 0.0377523489, 0.0588135831, -0.0680143312, 0.0178331286, -0.0106452126, 0.0043413462, 0.0207460076, 0.0249756426, -0.0637732074, -0.0532796569, 0.0398849808, -0.0160763655, -0.0541719981, 0.0146482512, -0.0273044799, -0.0461959764, 0.0077005527, -0.0744736642, -0.0970030203, -0.0073953611, -0.0220709667, 0.0125475135, 0.0040300963, -0.0411702804, -0.0177093558, -0.0006938146, 0.0183426421, 0.0563843995, 0.0223952495, -0.0133377537, -0.0026885732, -0.0168101266, 0.0257685501, -0.0539667457, 0.0144636799, -0.0709380731, 0.0308724586, -0.0890681744, -0.0012994788, -0.0462723188, 0.0156799965, 0.0319779404, 0.000101072, -0.0635454655, 0.0081255836, -0.0021907648, -0.0238775667, 0.0026754646, 0.0377521142, 0.0213367958, -0.0695644617, -0.0111337528, -0.0109929563, 0.049199257, -0.0160634685, -0.0087994598, -0.0032095553, -0.0087478729, -0.0206476972, -0.0702554658, -0.0034969286, -0.0178327635, -0.0070273844, -0.0775158033, -0.0638387874, -0.0192235373, -0.0436037928, 0.0095751788, -0.0199999027, -0.0006156507, -0.0064514801, 0.0065627466, 0.079102084, -0.0918965489, -0.0068420502, -0.0081213899, -0.0289035849, 0.0326465219, 0.0161202066, 0.0255211703, -0.0580018051, 0.0454059653, 0.0109868785, 0.0506928675, 0.0109326132, -0.0073953629, -0.0424862429, -0.0112591963, -0.0471930876, -0.0033674659, 0.0274180826, 0.0680497214, 0.0606381185, -0.0348911956, 0.0411787927, 0.035545636, -0.0274485964, 0.0509766042, 0.0045062075, 0.0594759136, -0.043682225, 0.0008287339, 0.0102853579, -0.0525769703, -0.037976373, -0.0487249531, 0.0092369523, 0.0098185781, 0.0162015054, 0.0052879504, -0.0675855875, 0.0017541163, 0.0034111866, -0.0237870868, -0.0325447358, 0.024019096, 0.06527289, -0.0115220295, 0.0213587657, 0.0381205082, -0.0884812102, -0.0051835445, 0.0071372883, -0.0028274462, 0.0591563955, 0.0584918931, 0.0081007192, -0.0554365888, -0.0232199151, -0.0209558215, 0.0237075724, 0.0419872329, -0.0233533569, 0.0065397867, -0.0588251576, -0.0051360102, 0.0059184274, 0.0444904268, -0.0193472523, 0.0332197808, -0.0000736121, 0.0176172946, -0.0180293303, -0.0615255609, 0.0376202688, -0.0086205006, -0.0308337957, 0.0081312945, -0.0016186386, 0.0323654115, 0.0258510374, -0.0390220694, -0.0078184167, 0.000728517, -0.0029231943, -0.0149529381, 0.0083429618, -0.0517419167, -0.0849395916, 0.0356286466, -0.0237564705, -0.051470723, 0.0036276719, -0.0594658107, -0.0523449183, -0.0266177543, -0.0464364626, 0.020070672, -0.0642726049, 0.0388614796, 0.0273792446, 0.0018301521, -0.0328955837, 0.0322500952, 0.0138610536, 0.0206261314, -0.0155204628, 0.0472853072, -0.0061445702, -0.0411150083, -0.0139265992, -0.0316100083, -0.0267929304, 0.0362953953, 0.0043499712, 0.0249213055, -0.0635552332, -0.0060152332, -0.0625771731, -0.0160164703, -0.0438268855, 0.0212562717, 0.0518630743, 0.010729434, -0.0328267887, -0.0335362293, 0.0078141289, 0.003194449, 0.0170885846, -0.020052569, 0.0543874018, -0.0054490152, -0.0472233668, -0.0594911389, 0.0258247107, -0.0226381235, -0.0277381614, 0.0094749201, -0.0169160347, -0.0547348708, 0.0555238165, 0.0009443497, 0.0563872792, 0.0358144119, -0.0542395823, 0.0009374053, -0.0045137559, 0.0567262396, -0.00604286, -0.0164414365, 0.0282029435, 0.0016893627, -0.0372841731, -0.0237366725, 0.0096945222, -0.0032791141, -0.0060958345, -0.0242026728, -0.0357523859, 0.0260486789, 0.0588867851, -0.003299423, -0.0297550838, 0.0092386315, 0.0221772548, -0.0142775364, -0.0238821041, -0.016480552, 0.0052970159, -0.0324851535, 0.0217453744, -0.0425498523, -0.0184083041, 0.0612872876, 0.0118628843, -0.0095667476, -0.0692907646, -0.0113478806, 0.0012392449, -0.0390833355, -0.0014466767, 0.0107842023, -0.0034073275, -0.031001756, -0.0294186901, 0.0078583332, 0.0593069829, -0.0053605544, 0.035351757, -0.0916974321, 0.0252879392, 0.0219666846, -0.0344754234, -0.048072163, -0.0202725157, 0.017159719, -0.0441870838, 0.0271961149, -0.0240216013, 0.0052025546, -0.0524552576, -0.0104491105, 0.0738593638, 0.008591258, -0.0289532375, -0.0162976272, 0.0230995826, 0.0063904286, 0.0213370044, 0.0049283486, 0.0109424442, 0.0066065174, 0.0558532961, 0.0005272305, 0.0395943932, -0.0386149697, 0.0184012372, 0.0226998143, -0.0057547502, -0.0305958651, 0.0141828209, 0.0565057956, -0.0440598987, -0.0440938137, 0.0959606394, 0.0439916141, -0.0145030394, 0.0083640488, 0.0050362623, 0.0061277673, 0.0159041788, 0.0219165124, -0.0754059628, -0.0084344633, 0.0402294323, 0.0296046995, -0.0233014505, -0.0030099035, 0.0172277968, -0.138417393, 0.0703651309, 0.0278365277, -0.0481491871, -0.0502354465, 0.0135649424, 0.0310684592, -0.0053497097, 0.0595270433, 0.0338082165, -0.0140648363, 0.0066908686, 0.0462808162, -0.0129316039, -0.1312606782, -0.05498017, -0.0495056659, 0.100121811, 0.0304468591, 0.0059446422, 0.0103919776, -0.016954042, 0.0604551062, 0.0074095046, -0.0291993432, -0.0022268847, 0.0459886007, 0.0246330611, -0.0142904036, -0.005808284, 0.0450766832, -0.0170972999, -0.0126491375, -0.0112194158, 0.0548603013, 0.0111984406, 0.0399234742, 0.0119876247, -0.0226047393, 0.0326899588, 0.0336705931, 0.0537542179, -0.0079611242, -0.0176746901, -0.06159091, 0.0077450792, -0.0772951543, 0.0604338199, 0.0464964211, -0.0668227524, -0.0636784732, -0.0860433429, -0.0812599063, 0.0242863093, 0.0166151542, 0.0273248702, -0.0363178104, -0.0420690291, -0.0215760395, -0.0048385318, -0.0051064342, -0.0082304329, 0.0234290659, -0.0549444258, -0.0127352178, -0.0271625221, 0.0298480541, 0.0008799544, 0.0092025679, -0.024056742, -0.045662351, 0.0822826698, 0.0421149991, 0.0016329819, 0.054766003, -0.0252481606, -0.0356130004, 0.0078876177, 0.0879531056, -0.0097879646, 0.0247466955, 0.048258841, -0.0187097061, 0.0223343205, 0.0094635412, -0.0194704849, 0.028294405, 0.0128414305, 0.0714614764, -0.0473150015, 0.0048251855, 0.0791578963, 0.0491969138, 0.0525500886, -0.0250750072, -0.0186537486, -0.0647233501, 0.0168907791, -0.0543111674, -0.0279427804, -0.0289925467, 0.0294653606, 0.021938974, 0.0017215725, -0.0209676865, 0.0089155659, -0.0506008975, 0.0096725887, -0.0377676152, -0.0269157197, 0.0421590246, 0.0336783268, 0.0292485524, 0.0220787395, 0.0011470284, -0.0031338618, 0.0621751063, 0.0428717099, -0.0030210174, -0.0171063859, 0.03130446, 0.0023234598, -0.0276877396, -0.0039715338, -0.0340085328, 0.0719485655, -0.0760855079, 0.0105350986, 0.0784424245, 0.0129447272, 0.0884583592, -0.0397187471, -0.0147538306, -0.0023876096, 0.0426373929, 0.0198366083, -0.01181449, 0.012317664, -0.0156568624, 0.0043707802, -0.047070317, 0.0251129661, -0.0303285643, 0.0554364771, -0.0431875214, -0.0201581735, -0.0349203013, 0.0163419638, 0.0020373785, -0.0202657469, 0.0037098303, -0.0138758635, -0.030725738, -0.0812837034, -0.0231013577, 0.0699823797, 0.0146047799, -0.001724969, 0.0098351417, 0.0299513787, -0.0112978043, 0.0130122108, -0.0292399451, -0.0141256703, 0.0347168632, -0.0528160557, -0.0408586226, -5.760102317e-33, -0.046506919, -0.0020201241, -0.0159698911, -0.0396301448, -0.0273162276, 0.0019292715, -0.0284633972, -0.0035877384, 0.0566220395, 0.0579326525, -0.0097899446, 0.0290341619, 0.0143434526, 0.0315422192, 0.0305254404, 0.0316998996, 0.0846555009, 0.0197641961, -0.0030021016, -0.0291074682, 0.0333194472, 0.0526228696, 0.0910546929, -0.059061069, 0.0503813587, 0.0395704471, -0.0311868861, 0.0430925004, -0.0042153737, 0.036251273, 0.0352370031, 0.0634718984, 0.0026238381, 0.0256232508, -0.0339678079, -0.0385516621, -0.0930127203, -0.0410872735, 0.0061171483, 0.0358106382, -0.0187192522, -0.0226159543, 0.0538987666, -0.0286922548, -0.0190257337, 0.0249900129, 0.0155136874, -0.043826621, 0.0161554664, -0.0093283979, -0.0432074741, 0.0168753378, 0.0214335099, 0.0016734024, -0.0203736778, 0.0198005494, 0.0043120319, -0.037227843, -0.0482254252, -0.0105891554, 0.0530247018, 0.035612341, 0.0213258509, -0.0050805127, -0.0536575653, 0.0232907645, 0.0233641937, 0.0064487364, -0.0043159006, 0.0052567781, 0.0072995103, 0.0163432397, 0.0142508466, 0.0824302658, 0.072829701, -0.0264377389, -0.0081900973, 0.0419210717, -0.0291745886, 0.0149093503, -0.0428844504, 0.0029521741, -0.0400527194, -0.0322809182, -0.0213754829, 0.0207233895, -0.0109885093, 0.015614124, 0.0426753126, 0.0147592546, -0.0256967209, 0.0120751308, -0.0401892811, -0.0164725892, -0.0170621555, -0.0387686007, 0.0028707767, 0.0167980473, -0.0079832925, -0.0271519925, -0.0111883851, -0.0105223656, 0.0415106006, 0.0516690947, 0.0059030615, 0.0054644006, 0.0561279953, 0.0341444574, -0.0566529818, 0.0325868353, -0.020906752, 0.0405225866, -0.0082825236, -0.0373911336, 0.0095327832, 0.0028755767, 0.0027840431, 0.0043623117, 0.0415451266, 0.030952204, -0.0159685276, 0.0022303443, -0.009199243, 0.0302926172, -0.0028305801, -0.007581362, -0.0055779284, -0.0004310017, 0.0465438776, -0.0422161333, 0.0041269735, -0.0122011881, 2.491e-7, 0.033579234, 0.0418945923, 0.0418379232, -0.0072901561, 0.0062271222, 0.0022092997, -0.0045640813, 0.0085837748, 0.0145315509, 0.0465077721, 0.0305190347, -0.0294673312, 0.0380017236, 0.0237686802, -0.0346918739, -0.0288921259, -0.0368131995, -0.0010824038, -0.0141861774, 0.0121105574, 0.0371619649, 0.0531155728, 0.0372665115, -0.0328681059, 0.0117072342, 0.0107813505, -0.0002661637, -0.0136096589, -0.0229583848, 0.0324955359, 0.0558543801, 0.019692257, 0.0524061993, 0.007399552, -0.0500879511, -0.0263036154, -0.0187351331, -0.0095046433, -0.0015830373, 0.0540757291, -0.0025329506, 0.0127303628, -0.0026728881, -0.0343763717, -0.0025413572, -0.0348432921, 0.0386836864, 0.0166575518, -0.0668008178, 0.0179205071, -0.0182357226, -0.036731638, -0.0419368781, -0.0052377633, 0.0612279363, 0.048484467, -0.0345680639, -0.0303487293, -0.0182275027, 0.0303725246, 0.0186185576, -0.0284411442, 0.035444174, -0.0000485343, 0.0101551106, -0.0462677889, 0.0100171389, 2.324295567e-34, 0.0575281456, 0.0140758054, 0.0565637425, -0.0013253848, 0.0257886797, 0.0065900353, 0.0155796269, 0.0284912866, -0.021088317, -0.023734685, -0.0301294327 ]
http://arxiv.org/abs/2406.17453v1
http://arxiv.org/pdf/2406.17453v1
Learning to Ask Informative Questions: Enhancing LLMs with Preference Optimization and Expected Information Gain
"2024-06-25T10:44:01"
"2024-06-25T10:44:01"
Davide Mazzaccara, Alberto Testoni, Raffaella Bernardi
cs.CL
cs.CL
Questions are essential tools for acquiring the necessary information to complete information-seeking tasks. However, large language models (LLMs), especially open-source models, often perform poorly in generating informative questions, as measured by expected information gain (EIG). In this paper, we propose a method to enhance the informativeness of LLM-generated questions in 20-question game dialogues. We sample multiple questions from the same model (LLAMA 2-CHAT 7B) for each game and create pairs of low-EIG and high-EIG questions to apply a Direct Preference Optimization (DPO) algorithm. Our results show that this method produces more effective questions (in terms of EIG), even in domains different from those used to train the DPO model.
[ 0.0852891281, 0.0241740458, -0.0191720072, 0.0566105433, -0.0231182557, 0.0159345455, -0.0470653996, 0.0014540971, 0.0393054374, -0.0085631255, -0.0429281481, -0.040981628, -0.0167025384, 0.0089007635, 0.0338601433, -0.0433989502, -0.0035010173, -0.0262330193, 0.0142636653, -0.0184563417, 0.0095777428, -0.0188744031, -0.0275768805, 0.0318366438, 0.0270013306, -0.0055920123, -0.0408615768, 0.0219724569, -0.013712734, -0.0482655168, 0.0233940408, 0.0308588352, -0.018482944, -0.0387399942, 0.0000020419, -0.0437852889, -0.0138835981, -0.0436030924, -0.0301397722, -0.0295333918, 0.0253387596, 0.047359813, 0.0350742936, 0.0363519192, -0.0453371257, -0.0010216904, 0.0443155318, 0.0294856448, 0.0509131774, 0.0721214637, 0.008655631, -0.0102052595, 0.0255077276, -0.0255341101, 0.0738680214, -0.055027172, -0.0018565471, 0.0236806795, 0.0074580777, 0.0446665883, 0.0156338513, 0.006015237, 0.00244484, -0.0126436334, 0.0232868325, 0.0437858813, 0.0224005021, 0.0032306612, -0.0150890294, 0.1129423305, 0.025479598, 0.014182264, 0.008520348, -0.0006227989, 0.0517319553, -0.0212420896, -0.0530695878, -0.0069745937, 0.0125308735, -0.0191216506, 0.01711783, 0.0154560823, 0.0056186789, 0.0061960989, -0.0068147015, 0.0667974353, -0.0103684561, -0.0289135929, -0.0192880575, -0.0273249056, -0.0539928004, -0.0794932321, -0.0218137335, 0.0405785069, -0.0629138723, 0.0525953695, -0.0031588711, 0.0186008085, 0.0109197358, -0.0220654272, 0.0130673032, 0.0359233096, -0.008637161, 0.0474534109, 0.0230441689, 0.0329229422, -0.003315839, 0.0080674188, -0.0695146769, 0.006264769, -0.0023622094, -0.016676778, -0.0375537351, 0.0563431643, -0.0514969602, -0.0397490747, -0.0159633476, 0.0634630099, 0.0523585714, 0.0220256951, 0.0275383014, 0.0146478927, -0.0118970629, -0.0044268882, -0.0793242976, -0.0110122636, -0.0606055595, 0.0143632246, 0.0416180938, -0.068309404, -0.0034471699, 0.0088998592, 0.0060509094, -0.0125655867, 0.007425447, 0.0618174486, 0.0014897144, -0.0318634063, -0.009738734, -0.0167271998, -0.0146633992, -0.0265341215, 0.0056511005, -0.0392851457, 0.0339338779, -0.0114109376, -0.0037203694, -0.0054156207, 0.0202440247, 0.0174714141, -0.012935739, 0.0531872846, -0.0082621444, 0.0144364843, 0.0582150705, -0.0033767861, -0.0188163705, 0.0766928196, 0.0387750641, 0.0120579004, 0.0586444326, 0.0089566596, -0.0045881914, 0.0319427028, 0.0062976647, -0.0064531686, 0.0134809352, 0.0349660963, -0.0101474198, 0.0623461306, -0.0012405374, 0.061524421, -0.0426382944, -0.035158854, 0.0796047002, 0.0248341542, -0.0018899465, -0.0314150192, 0.0197900999, 0.0547306314, -0.0182306804, 0.031389229, 0.0166152883, 0.0631305724, -0.0156460237, -0.0096752932, 0.0367191024, 0.0030568414, -0.0397232212, -0.0780169442, 0.0269679893, -0.0116926478, 0.0137938485, 0.0698584914, 0.0095912265, 0.0013773078, -0.0596357174, 0.041592747, 0.0307688694, -0.0127820065, -0.0288150478, -0.05881951, 0.0759307072, 0.0242441166, 0.0588752776, -0.0190284252, -0.0710303038, -0.0096822521, -0.0273590274, 0.042694781, 0.0508353412, -0.0248080641, 0.0306243543, -0.0571824834, -0.0288374964, -0.0383507609, 0.0038854918, 0.0243918598, 0.0056118658, -0.0190426931, 0.0087530334, -0.0428298935, 0.013035927, 0.0250459556, 0.0115100406, -0.0408472717, 0.0398306996, 0.0019212207, 0.0051819328, -0.0052350443, 0.0308527537, 0.0135092167, 0.0217092875, -0.0095841624, -0.0394873694, 0.003721897, -0.0383138917, -0.0550526083, 0.0310520325, -0.0148868756, 0.0074806302, 0.0241167545, -0.0209895447, -0.0074786502, -0.0156474747, -0.0250330959, 0.060525693, -0.0327858813, 0.0188162345, 0.0213815514, -0.0009811957, -0.0818041414, 0.0628572032, -0.003878532, -0.0079216091, 0.0080920393, -0.0381537043, 0.0180222429, -0.0609875359, 0.0484852307, 0.0509397425, -0.0253147036, -0.0255728737, 0.0169077367, 0.0362963378, -0.0942014083, -0.0495242476, -0.0869617835, 0.0297026597, -0.0064261919, 0.0155181587, 0.03628207, 0.0230199415, -0.0154322227, -0.0050640157, -0.0868680477, -0.0093870405, 0.0005388863, 0.0020908955, 0.0596826933, 0.0487465002, 0.0173044689, -0.0333534442, -0.0020464403, 0.008941656, 0.0050097494, -0.0218277574, 0.0357314236, -0.0320283994, 0.0378323197, -0.0532224365, -0.0075906208, -0.0158714429, -0.0233957376, 0.0135178845, -0.0282876659, 0.0358256586, 0.0786333084, 0.0378397405, -0.0063484535, 0.0250251833, -0.0094731925, -0.0674949884, 0.0268661659, -0.0203327239, -0.0217816625, -0.027651567, -0.0386126414, 0.0616234727, 0.0237105805, -0.0066767903, 0.0019216342, -0.0597008392, 0.0311933402, -0.004011861, -0.0229186844, -0.0571283661, -0.002265899, -0.0028352716, 0.0325662121, -0.0319552906, -0.015868634, 0.0714852065, -0.0024647089, -0.008135356, -0.0815644711, 0.0178094003, -0.0458122455, 0.0179073978, 0.0103896121, 0.0184594672, 0.0322090611, -0.0445445664, -0.07880909, -0.0224136002, 0.0483228341, -0.0381986238, 0.0134933665, -0.0286989156, -0.0310336463, 0.0418771692, -0.0718356669, -0.0540953986, -0.0539737716, 0.000997067, -0.0419642963, 0.0466301031, -0.0050780256, -0.0195022449, -0.0180561207, 0.0413881429, -0.0063126357, -0.0305225495, -0.0405678824, -0.0055744061, 0.0782106072, 0.0993624255, 0.0077738818, 0.0068934136, -0.0448355414, 0.0543375015, 0.0397904143, -0.0045259804, -0.0311844461, 0.0439543314, -0.0023305581, 0.0473207831, -0.0290990453, -0.0330500901, 0.0402999558, 0.0509114563, -0.0049003395, -0.0067807683, 0.1186404824, 0.0647438467, -0.0208796114, -0.0020197467, -0.0310134254, 0.0473121926, 0.022247659, 0.0422772616, -0.0770666897, -0.0309844837, -0.0069658444, 0.0169649255, -0.0384345353, -0.0233277846, -0.0118739763, -0.1297053844, -0.0193256959, -0.0215647649, -0.0149149336, 0.0124113681, -0.0008735112, -0.0120035913, 0.0010224471, -0.0032469886, 0.0140604749, 0.015707003, 0.022650633, 0.0169406421, -0.0272827744, 0.0146869672, 0.0028337326, -0.00477672, 0.0454805717, 0.0814671516, 0.0484765358, 0.0211097002, -0.0141628738, 0.0198978763, 0.0001117679, -0.0269550588, -0.019536132, 0.0626464859, -0.0283150878, 0.000516177, -0.0318227187, 0.0546725504, 0.0209752191, 0.0202418324, 0.0313605145, 0.005886557, 0.0016182197, -0.0087345885, 0.0166186597, 0.0175891556, 0.0210905392, 0.0545571446, 0.025356533, -0.0485390164, 0.0499499701, -0.0358572602, -0.0087094996, -0.0698655471, -0.0131563842, -0.0313454494, 0.0638930947, 0.0400880687, -0.1159410849, -0.0215187706, 0.0165410284, 0.0062029897, -0.0122052999, 0.0168799292, -0.0238858387, -0.0027089203, 0.0206160564, -0.0089647938, -0.0377986096, -0.0373055823, -0.0787761137, -0.0200515557, 0.0513841137, -0.0799848214, -0.0121776517, 0.0126264337, -0.0380814038, -0.0612418242, -0.0350459181, 0.0823683366, 0.0136330584, 0.0049036271, -0.0156358909, -0.043974217, -0.0204969626, 0.0024026316, -0.012123866, -0.0216933005, 0.0001927018, 0.0392892882, 0.0159689672, 0.0266531594, -0.0391803756, 0.0081248041, -0.0073915841, 0.0360107198, -0.0364750214, -0.0795799643, 0.0375586785, 0.0468228944, 0.0237490218, -0.0038244585, -0.0138644073, -0.0191863701, 0.0712229759, -0.0251419023, -0.0064056334, -0.0425746404, 0.0233198814, 0.0367157906, -0.0083865114, 0.0088502774, -0.0124164829, -0.0428739376, 0.0173458587, -0.0261043422, -0.0287322495, 0.0341442116, -0.009615995, 0.0198373087, -0.0058938293, 0.0084893135, 0.0482058562, 0.0415926762, 0.0701271072, 0.0245833658, 0.06721358, 0.0093460865, -0.0579721332, 0.0041514672, 0.0233089011, -0.0119077442, -0.0700727552, 0.0013602863, 0.0287866946, 0.0429623313, 0.02271045, -0.007238395, 0.0030613497, -0.0008249193, 0.015825849, 0.0154792396, 0.0017716916, -0.0576875061, 0.0596480779, 0.0332141742, -0.0211483072, 0.0123658059, 0.0470158011, -0.0026478276, 0.0481384657, -0.0241401903, 0.0077053732, -0.0483222716, 0.0013351842, 0.0348937288, 0.060957253, -0.0536493696, 0.0403098837, -0.0248617269, -0.0141371125, -0.0403130874, 0.0252175704, -0.0061994167, -0.0312731229, 0.0469620414, 0.0413522944, -0.0166670848, -0.0232576579, -0.0696051791, 0.0056252712, -0.0770024061, -0.0084744906, 0.0072872266, -6.504002162e-33, -0.0139438808, -0.0320700966, 0.0161297731, 0.0023909891, -0.0401870497, -0.0293004047, -0.0353555158, 0.0300762504, -0.0600165501, -0.0239164978, -0.0242090877, 0.0115890289, -0.0052003423, 0.0102029126, -0.0284658894, -0.0580461435, 0.0100715421, -0.0033685432, -0.0464396141, 0.0344592109, 0.021962842, 0.0254471898, 0.0008999566, -0.0179761536, 0.034730535, -0.0297964942, -0.0048552989, 0.0532014035, -0.0052962359, 0.0517082922, -0.0128634097, -0.0090670539, 0.0124450633, -0.0448337458, 0.0169008803, -0.0044360785, -0.0203992426, -0.025489321, 0.0133982282, -0.0304815043, -0.0413774997, -0.0350178219, -0.0041965926, 0.0114892498, 0.0385525152, -0.0132133737, 0.0241997857, -0.0015540821, -0.02594864, 0.0121116703, -0.0226225387, -0.0107828649, -0.0412764139, -0.0553857535, -0.0146328043, 0.0887085721, 0.0163189117, 0.0130186826, 0.0198096223, 0.0635015592, 0.013291005, 0.0323245451, 0.0260814745, 0.0251891501, 0.008470498, 0.0063268482, 0.0132694645, 0.0004768855, 0.0104793608, -0.0149645135, -0.0028708235, 0.0317663401, 0.0100054517, 0.035526786, 0.0329082869, 0.0107634878, -0.0701974854, 0.056684006, 0.0461299829, 0.0036663439, -0.0157826841, -0.0045940168, -0.0446537957, 0.0083820689, -0.057899233, 0.0478456244, -0.0346430577, -0.0547279418, 0.0307576749, -0.0095950672, -0.0138603626, -0.0628858879, 0.0116425548, -0.0131934546, -0.0050511076, 0.0076432745, -0.0484374762, 0.0333727598, -0.0234944168, 0.0174405407, -0.0538302697, 0.0118707241, 0.0343735553, -0.0139977001, -0.0369398408, 0.0570722297, -0.0107054142, -0.0109353736, -0.0453420319, -0.0086919507, -0.027118681, 0.0318810456, -0.0281115063, 0.0178946517, -0.0168861467, -0.0060836454, -0.0354055688, 0.0486767329, 0.0034615302, -0.0119257644, -0.0662334859, -0.0587764792, -0.0089754928, 0.0130863022, -0.0329207592, 0.0158920083, -0.0070257224, 0.0157293361, -0.0350963771, -0.0217966624, -0.0438285209, -0.0166383516, 2.836e-7, 0.0021283652, 0.0531777292, -0.0169137809, 0.0609411895, -0.0437095948, 0.0591010675, -0.0075337901, -0.009588778, 0.0701711476, -0.0375220999, 0.0545816123, 0.0375000276, 0.0469519645, -0.0221124478, -0.1342182159, -0.0481115058, -0.0138115184, -0.0113154165, -0.0037047146, -0.0196910352, 0.0646603927, 0.0614072867, 0.0039452957, 0.0177903324, -0.0118615944, 0.0009938969, 0.0508863814, -0.0440952219, -0.0295169298, 0.0683400705, 0.0536376573, 0.0000189771, -0.027114924, -0.0170277953, -0.0225190669, 0.0197593141, 0.0075329328, 0.0464387946, 0.0211270992, -0.0679550767, -0.0100849457, 0.0222713612, 0.0010568053, -0.0626076385, 0.0885925367, -0.0215756223, -0.0409902483, 0.0031006848, 0.0056014629, -0.0357621722, 0.0115367491, -0.0751127154, -0.041363284, -0.0248507801, 0.0069918418, -0.0073137926, 0.0206431467, -0.0378955007, -0.0206889752, -0.0055439342, -0.0206874795, -0.0537613519, -0.0385451615, 0.000091239, -0.0384851135, -0.0068293842, 0.013341465, 2.176695721e-34, 0.0084045408, 0.0106186597, 0.0018916052, 0.028296629, 0.0220306683, 0.0029958924, 0.0317734592, -0.0180378817, 0.0598504469, -0.0721482113, 0.0278147869 ]
http://arxiv.org/abs/2406.17430v1
http://arxiv.org/pdf/2406.17430v1
Towards Probing Speech-Specific Risks in Large Multimodal Models: A Taxonomy, Benchmark, and Insights
"2024-06-25T10:08:45"
"2024-06-25T10:08:45"
Hao Yang, Lizhen Qu, Ehsan Shareghi, Gholamreza Haffari
cs.CL
cs.CL, cs.SD, eess.AS
Large Multimodal Models (LMMs) have achieved great success recently, demonstrating a strong capability to understand multimodal information and to interact with human users. Despite the progress made, the challenge of detecting high-risk interactions in multimodal settings, and in particular in speech modality, remains largely unexplored. Conventional research on risk for speech modality primarily emphasises the content (e.g., what is captured as transcription). However, in speech-based interactions, paralinguistic cues in audio can significantly alter the intended meaning behind utterances. In this work, we propose a speech-specific risk taxonomy, covering 8 risk categories under hostility (malicious sarcasm and threats), malicious imitation (age, gender, ethnicity), and stereotypical biases (age, gender, ethnicity). Based on the taxonomy, we create a small-scale dataset for evaluating current LMMs capability in detecting these categories of risk. We observe even the latest models remain ineffective to detect various paralinguistic-specific risks in speech (e.g., Gemini 1.5 Pro is performing only slightly above random baseline). Warning: this paper contains biased and offensive examples.
[ 0.0252624582, 0.0494991876, -0.0458958447, 0.0238553062, -0.0162799712, 0.0063962331, 0.0316260457, 0.0142824994, -0.0465020426, -0.0563084297, -0.0740729645, -0.0367299877, 0.0168144107, 0.0181793235, 0.0627092123, -0.0653272346, 0.0429248363, -0.0419078544, 0.0161084738, -0.0045354823, 0.0636499524, 0.0268197395, -0.0397268757, 0.0651483163, -0.0590233617, 0.0037454956, 0.000918293, 0.0521258004, 0.0254801065, -0.0111882277, 0.0101714227, 0.0344085768, 0.0317386389, 0.0368938893, 0.000001723, -0.0520628951, 0.027305875, -0.0141232107, -0.0133395866, -0.0381130464, 0.0813445598, -0.0024833991, -0.0197533872, 0.0376408882, -0.0225257371, 0.0024359999, 0.0510474741, 0.0044626798, 0.030595379, 0.0239555612, -0.0052715307, 0.002551053, 0.0091715716, -0.0104003269, 0.0094055543, -0.0375628471, 0.0210010111, -0.0303859785, -0.0244823359, -0.0262430459, -0.0360454731, -0.003184773, -0.0359975286, 0.0027159215, -0.0073557226, -0.0160493311, 0.0080383122, -0.0836037993, -0.0000786182, 0.0867874548, -0.0137012759, 0.0215715822, -0.0092075272, 0.0214877967, 0.0052783373, 0.0204523709, -0.0028345431, 0.0152137382, 0.015141909, -0.0438804999, -0.0546643585, 0.0271714199, 0.0231769774, 0.0258185323, 0.0589360669, 0.0114501305, 0.0085565932, 0.0062332307, 0.028382713, -0.0587527305, -0.0115812868, -0.001224216, -0.0133053279, -0.0175540633, -0.0529319048, 0.0138594946, -0.0760842189, -0.0401701555, 0.033849448, -0.054282546, -0.0001276746, 0.0091656847, -0.062285576, 0.0280830227, 0.0596785285, -0.0037945102, -0.0326863155, -0.0069415388, -0.006246442, -0.006087915, 0.0074504269, -0.0013792885, 0.0259572435, -0.034387093, -0.0177381057, -0.0131257838, -0.0247839931, -0.0214011688, -0.0701573342, -0.0324874334, -0.0294769946, 0.0253364816, -0.0406966321, 0.0248556156, -0.0027212347, 0.0055521117, -0.0036554164, 0.0660284609, -0.035305094, -0.1047718301, -0.0005429902, 0.0285515357, 0.0103512323, -0.05588663, 0.0178592671, 0.1078227684, 0.0224555098, -0.0348639488, 0.0021844946, -0.058287397, -0.0653234273, -0.0446018092, 0.0483190231, -0.0099526644, 0.0134660052, -0.0378005058, -0.0133189261, -0.0154191563, 0.0117848869, -0.0111213094, -0.0294049885, 0.0863062218, 0.043051146, 0.0093225427, 0.0449649431, 0.0475918055, -0.0653003529, 0.0444120504, 0.0376379043, -0.029321909, 0.0369979925, -0.0342723988, -0.0039318241, 0.0707266629, 0.0248119533, 0.0160990749, -0.0250469893, -0.0017159343, -0.0046886527, 0.007808283, 0.0553360805, 0.0237853266, -0.0265291948, -0.0884366781, 0.087717481, 0.0464196131, -0.0603079759, -0.019457208, 0.0294095017, -0.0115831047, -0.0144123575, -0.0222348217, -0.052247528, -0.0071264072, -0.0356282964, -0.0525882468, 0.0257558301, 0.0347366109, -0.0104183108, 0.0415683836, -0.0152363833, -0.0260037165, 0.0279461667, -0.0024463295, -0.0104352161, 0.0189537071, -0.0150967706, -0.0044946587, 0.0218996778, -0.0319394022, -0.0015384129, -0.0217213184, -0.0103569478, 0.037679974, 0.0039263298, -0.0075130803, -0.0054013007, -0.0713880286, -0.0460183732, 0.0102354493, -0.0129962368, -0.0092415512, 0.0915618762, -0.0232918505, -0.0030622333, 0.0156893637, 0.007345981, 0.0257462133, 0.0187461115, 0.0154474042, -0.0239043757, -0.0013498977, 0.0473878905, -0.0020038765, -0.0143707218, -0.0253143553, -0.0345106013, 0.01211196, 0.1012749895, 0.0013331469, -0.0444641411, -0.0237487033, -0.0058893994, 0.0020000113, -0.0013499643, 0.0620407537, -0.0426247008, -0.025174493, 0.0350617021, -0.0499200672, -0.0320419148, 0.056151621, -0.0169475079, 0.0317261368, 0.0562681966, -0.0597599708, -0.003651628, -0.046497345, -0.0251642074, -0.0147621594, 0.0523640849, 0.0188971832, 0.0133707384, -0.0238192305, -0.0498213992, 0.0246043205, -0.0180905517, -0.0160105154, -0.0298021361, -0.0720830038, -0.0146778151, -0.012702235, 0.0259100962, -0.0259655621, -0.0267632622, -0.0351404473, 0.0075382455, -0.0826272592, -0.0252529047, -0.0067035831, -0.0360099562, 0.0012252878, -0.0176468883, -0.0023871125, -0.0158984717, 0.0313218497, -0.0264374185, 0.012424632, 0.0543736741, -0.0493930317, -0.0177278463, -0.017447317, -0.0186313372, 0.0009501331, -0.0105573405, 0.0709037706, -0.0377132148, 0.0031947291, 0.0366673209, -0.0180985387, -0.0342982858, 0.0520080775, -0.0084730433, -0.0517624058, 0.0252804179, 0.0340376496, 0.037803866, 0.0437517315, 0.0611630455, 0.0653476119, 0.0226288494, -0.0278032254, -0.0024388372, 0.0035167178, 0.0067574279, 0.010841772, -0.020293735, -0.0654095411, -0.0410995856, 0.0434146896, 0.0562759899, 0.028786324, -0.0497654192, 0.0088594994, -0.0127849532, -0.0967252702, -0.0131821446, -0.0621856824, -0.0551652089, 0.0091263996, -0.0025180478, -0.049758397, 0.0520370044, -0.0350003392, -0.0242170375, 0.0346637554, -0.0421429761, 0.0217097625, 0.0573648177, -0.0069193328, 0.0305492021, 0.0419493616, -0.0032627427, -0.0354033485, -0.0405095816, 0.0588031858, -0.0302336812, 0.0105652595, -0.0212702509, -0.0200079493, 0.0171520375, -0.0367150903, -0.0063099153, -0.0452692322, -0.0258355103, -0.0305439569, -0.0167949162, -0.017286351, 0.011352364, 0.0271027237, 0.0093401717, -0.0304306056, -0.0198573396, 0.0251200423, 0.0102346512, 0.0155516798, 0.0777076706, 0.0458028503, -0.0021429097, -0.0188965723, -0.0030187054, 0.030258663, -0.0292142723, 0.0016276854, -0.0458120257, 0.0377077162, -0.002309256, 0.0781622082, -0.0194835514, 0.0110307736, 0.0287609566, -0.0010392949, 0.0411751531, 0.0504798815, -0.030517038, -0.0125940135, 0.0184861757, -0.0021739805, 0.0095541086, 0.0127110258, -0.0537098944, -0.0522450432, -0.0414607525, 0.0241059884, 0.0113845244, -0.0407486148, -0.0107426932, 0.0055371695, -0.0665589273, 0.0417462885, -0.0061661243, -0.0378261767, 0.0018503865, 0.0218338314, 0.0233345516, -0.0289869104, 0.069478862, -0.0028495542, 0.0066944784, -0.0179676041, 0.0081205405, -0.0578781143, -0.0544428863, 0.0431331843, -0.0259200539, 0.0592337437, 0.0171328466, 0.038143307, -0.0433400571, -0.0215897355, -0.0064849318, 0.0047178082, 0.0121472059, -0.0175412614, 0.0665614009, -0.023092512, -0.0028566422, -0.0139608365, 0.0461772457, 0.041101139, -0.002605743, -0.007294517, 0.0240503307, -0.0286691263, 0.0194751248, -0.0581129678, 0.0508090779, 0.0346997418, 0.0469908081, 0.0047616954, -0.0663442537, 0.019979706, 0.0135951117, 0.0129626179, 0.0208076742, -0.0461323969, -0.0028145534, 0.0214621108, -0.0710759759, -0.0357534252, -0.0024236029, -0.0193384737, 0.0202927738, -0.0026113077, -0.0234099329, -0.0551731028, 0.0377136171, -0.0417757183, 0.0420224294, 0.0381241255, 0.0463188887, 0.0041878419, 0.0507072397, -0.0030846668, -0.0617088899, -0.0160369761, 0.0583944879, -0.0709093213, -0.0623408891, 0.0360528864, 0.068589747, 0.024679523, 0.0461141653, 0.0032528799, -0.0647011697, 0.0531995669, -0.0185382497, -0.0195831843, 0.0685717762, 0.0668445304, 0.0031841269, -0.0131775895, 0.0179048199, -0.0130440397, 0.0139484173, -0.0071628541, -0.0264610872, -0.0605621077, -0.0473526753, -0.0457670763, -0.0021513442, 0.0507914871, -0.015603804, -0.0120335743, -0.0071137762, 0.0081440946, 0.0303723942, 0.036186371, -0.0368214659, -0.0119869607, 0.0084529286, 0.0200662129, -0.0218828283, -0.0315166339, -0.0365210772, 0.0182786528, -0.0001786561, 0.0410076119, 0.0457659513, -0.0110477386, -0.006521516, 0.049407661, -0.011836553, 0.0373994745, -0.0374270268, -0.0230627526, 0.0307815392, 0.0345712081, 0.0094148088, -0.0180193614, 0.0365071148, 0.0299464576, 0.0211193729, 0.0113183754, 0.008327215, -0.002020851, 0.0044052368, 0.0188754201, 0.0571246296, -0.0022780725, 0.0096135316, -0.0193429068, 0.036780864, -0.0464689247, -0.052347146, 0.0644042864, 0.0100637935, -0.0119092595, 0.03489374, 0.0462189093, 0.0140419304, 0.0411802679, -0.0163874459, -0.0208887886, -0.0308480449, -0.0153232226, 0.0665364265, 0.021397274, -0.0047729146, 0.0040381611, -0.0705914423, -0.0567383245, 0.021838529, -0.0279587042, 0.0106874639, -0.0204447731, 0.0318193845, 0.0271198675, 0.0095658256, -0.0096147545, 0.012918232, -0.0407188497, -0.0194862671, -0.0028691164, 0.043599721, -5.612743079e-33, 0.0006423697, -0.0285350624, -0.0324396938, 0.003291057, -0.0228066929, 0.0091245575, 0.0010650832, 0.0066273543, -0.014038777, -0.0067663607, 0.0518502481, 0.0058040675, -0.0024267596, -0.0324308351, -0.0147231547, -0.030470727, 0.0361703895, -0.025192108, 0.0093951533, -0.0167343803, 0.0630168021, 0.0144366557, 0.0299882572, -0.0988852382, 0.0161494128, 0.0171119552, -0.0842496678, -0.0062131672, -0.0218973327, 0.0636926442, -0.007590726, 0.067339994, -0.0069654766, -0.0119437454, 0.0103351064, 0.0404682048, -0.0339352116, 0.005789273, 0.0417494029, 0.0280814245, -0.0207810365, -0.0040306062, 0.0234987009, 0.0139082987, -0.0335409939, -0.0373921692, 0.0259076003, -0.0068281377, 0.0500250645, -0.021380784, -0.0424828641, 0.0052596522, -0.0167090092, -0.0386627652, 0.0037466462, 0.0686302036, 0.0036766147, -0.0040748995, -0.0306919534, 0.0374508686, -0.0644281209, -0.0338009149, 0.0214292314, 0.0342649147, 0.0181832947, 0.0765345544, 0.0242913757, -0.0329490267, 0.0154176541, -0.0446097851, 0.0413664319, 0.0844583586, -0.0009999577, 0.0949646384, 0.0052964999, -0.0325280726, -0.0315314233, -0.0106941229, 0.0477806255, 0.0084975474, 0.0254574958, 0.0020999003, -0.0315568708, -0.0148109021, -0.0431731865, -0.0098557035, -0.0233228151, -0.0274532009, 0.030254025, -0.0186454151, -0.0116126053, 0.0081676645, 0.0779090747, -0.0239867251, 0.0158291887, -0.0089882296, -0.0002014355, 0.0172426421, 0.0067406562, 0.0295042172, 0.0058769486, 0.0051389881, 0.0838453546, -0.0480960235, 0.0651277453, -0.0082832091, 0.0374033265, 0.0640529767, -0.0387875028, -0.0125605073, 0.0264470801, 0.0778267682, -0.0140013583, 0.0454665311, 0.0386076532, 0.0344465896, -0.0367975459, -0.0160199534, 0.037665125, 0.0289382152, -0.0470795445, 0.0062231068, -0.0431701355, 0.0187122431, -0.0285772104, 0.0006683783, 0.0035475376, -0.0834343508, 0.0405554734, -0.0706944689, -0.0104037542, -0.0260105859, 2.627e-7, -0.0254461151, 0.0486482307, -0.0014299148, 0.0242221076, 0.0655919686, 0.084519133, 0.0035509104, 0.0747207999, 0.0275667254, -0.0357983783, 0.0240050685, -0.0110421292, 0.0630148128, 0.0863637403, -0.0062427423, -0.0200650673, -0.0674458221, 0.0053165643, -0.0256193038, -0.0147511233, 0.0325613357, 0.0585241392, 0.034794908, -0.0581562147, 0.0243490711, -0.0122551546, 0.0251241848, -0.0268838406, -0.0002797696, -0.0676855817, 0.0038048725, -0.0347746648, 0.0162165165, 0.0606060475, -0.0004741025, -0.012733859, -0.0061354917, 0.0446023159, -0.036122445, -0.0799801275, -0.0132144652, 0.0334116258, -0.0701904893, -0.0269661993, 0.0375131741, 0.03033581, -0.0513840839, -0.0356642343, -0.0398138054, -0.0000269436, 0.0461673439, -0.042902682, -0.0062647653, 0.0039288667, 0.0321970992, -0.0118841035, -0.0319835395, -0.0780645907, 0.003780114, -0.0031114414, -0.0693616048, -0.080823794, 0.0094348723, 0.0067191441, 0.0154711809, -0.0585904308, -0.0116775483, 1.798763611e-34, 0.0077074086, -0.0188035369, 0.012891178, -0.0434949808, 0.0439844877, 0.0175787527, 0.0029369737, -0.0040961993, 0.0365849547, -0.0082050292, -0.0174819157 ]
http://arxiv.org/abs/2406.17419v1
http://arxiv.org/pdf/2406.17419v1
Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA
"2024-06-25T09:42:56"
"2024-06-25T09:42:56"
Minzheng Wang, Longze Chen, Cheng Fu, Shengyi Liao, Xinghua Zhang, Bingli Wu, Haiyang Yu, Nan Xu, Lei Zhang, Run Luo, Yunshui Li, Min Yang, Fei Huang, Yongbin Li
cs.CL
cs.CL, cs.AI
Long-context modeling capabilities have garnered widespread attention, leading to the emergence of Large Language Models (LLMs) with ultra-context windows. Meanwhile, benchmarks for evaluating long-context LLMs are gradually catching up. However, existing benchmarks employ irrelevant noise texts to artificially extend the length of test cases, diverging from the real-world scenarios of long-context applications. To bridge this gap, we propose a novel long-context benchmark, Loong, aligning with realistic scenarios through extended multi-document question answering (QA). Unlike typical document QA, in Loong's test cases, each document is relevant to the final answer, ignoring any document will lead to the failure of the answer. Furthermore, Loong introduces four types of tasks with a range of context lengths: Spotlight Locating, Comparison, Clustering, and Chain of Reasoning, to facilitate a more realistic and comprehensive evaluation of long-context understanding. Extensive experiments indicate that existing long-context language models still exhibit considerable potential for enhancement. Retrieval augmented generation (RAG) achieves poor performance, demonstrating that Loong can reliably assess the model's long-context modeling capabilities.
[ 0.0414836071, 0.022398496, 0.0138266915, 0.0483694263, -0.0133890808, -0.01294926, 0.0272810236, -0.0125013348, -0.0263807382, -0.0521165207, -0.0067091766, -0.0401103981, -0.0326946415, -0.0394474901, 0.030805869, -0.0043788636, 0.0533271879, -0.0281887054, -0.0078684725, -0.0211611837, 0.001094845, 0.0023278384, 0.0279049557, 0.0323269032, -0.0123230731, -0.0450405739, -0.0344276614, 0.0075932965, -0.0112167429, -0.032880608, 0.0206325985, 0.0178906657, 0.0320405327, 0.0183050763, 0.0000018583, -0.0679193363, -0.031888105, 0.015087775, -0.0415210426, 0.0311929081, 0.0056248889, 0.0273801815, 0.0242158007, 0.0086093917, -0.012987677, 0.0278852787, -0.0052380618, 0.0155933322, 0.0372979157, 0.056197837, 0.0139321983, -0.0348671973, 0.0291490722, -0.0375622623, 0.0749065727, -0.0788923353, 0.0106364898, 0.008427253, 0.0728129745, 0.0100786658, -0.0086524123, 0.0372318402, 0.0342867672, 0.0033855832, -0.0276618209, 0.0316305272, -0.0296872593, 0.0477465875, 0.0111443494, 0.0641560405, 0.0338753834, 0.0000421, 0.0088395132, 0.0249732956, -0.0027945586, -0.0305163283, -0.071818471, 0.0213285889, -0.0024341515, -0.0272057112, 0.0413759276, 0.0041899551, 0.0311459452, 0.0240961686, -0.0327982716, 0.0648839325, 0.0367665552, -0.041950278, -0.0226396676, -0.0123769613, -0.0460682027, -0.0452398062, 0.0090661105, 0.0866798982, -0.0240283832, 0.0291620772, -0.0081478627, -0.0398762226, 0.079007104, -0.0066109365, -0.0163362529, 0.0206887033, -0.042106092, 0.0726716965, -0.0471503995, 0.0428914838, -0.0300433431, -0.0484822132, -0.0593312085, -0.0430124514, -0.0070218821, -0.0461130887, -0.0530103855, 0.0472908765, -0.0512952432, -0.0355388783, -0.0093222614, 0.0353771709, 0.0031799991, -0.0127651012, -0.0003991711, 0.0266708173, -0.0375817828, -0.0156562869, -0.0119529171, 0.0161642469, -0.0680184066, 0.0204228275, 0.0245506112, -0.0370716341, -0.023600217, 0.0302823652, 0.0040933918, -0.0390018784, 0.0233622212, 0.0612185486, -0.010054484, -0.0357573926, -0.0167251527, -0.0523436889, -0.0488082767, -0.0491749011, -0.0084324395, -0.0819313377, 0.0241787024, 0.0111790271, -0.0207596011, 0.0191667266, 0.0087111788, 0.0303075537, 0.0125332884, 0.0330715477, 0.0292453859, 0.0053454991, 0.0518866703, 0.0283782035, 0.0182442833, 0.0624945313, 0.0067586564, -0.0055306694, 0.0514567979, 0.0319991186, 0.0006165746, 0.0333105177, 0.0338197574, 0.0312165152, 0.0248721093, 0.0624791943, 0.0153806303, 0.0329603814, 0.0223596711, 0.0384876467, -0.0397314839, -0.0430938266, -0.0101553071, 0.0493929833, 0.0345147029, -0.0122438967, 0.0292682499, -0.0143364584, -0.0118140439, 0.0160573702, -0.0162396114, 0.0229251049, -0.0613861308, 0.0315475687, 0.0474565737, -0.0035300269, -0.0556448586, -0.0016699734, -0.0182025861, 0.002342039, -0.0072037759, 0.0056986702, 0.0316185206, 0.0077209244, -0.0366756208, 0.0670313761, -0.0012988163, -0.0426289216, 0.0085207848, -0.0505227484, 0.0606180504, 0.0271356422, 0.0679695457, -0.051476974, -0.0345767662, 0.0041526794, 0.0440313146, 0.025837779, 0.0153774256, -0.0153061915, 0.0269465782, -0.0125289625, -0.0058323825, -0.0575382411, 0.0003465592, 0.0165382344, 0.0399054699, 0.0092317732, 0.0472607538, -0.0689669251, 0.034654472, 0.0221140031, -0.059882205, -0.0351151675, -0.013933287, -0.0021748699, 0.0071745315, 0.03253337, 0.0057216068, 0.0334040783, 0.0442249514, -0.044453878, 0.004377929, -0.0108917765, -0.0779246092, -0.0398123786, 0.0377514549, -0.0114119686, -0.0125514232, -0.0032928896, -0.0154684791, -0.0445673913, -0.0156584699, -0.0291255433, 0.0393354483, -0.0466269776, 0.0049365945, 0.0213595033, 0.0076356675, -0.0534174368, 0.0761328861, -0.0097777313, 0.0325542316, 0.0515125655, 0.0662530512, 0.0281926077, -0.0737893358, -0.0217714049, 0.0089025237, -0.0058214767, -0.0042808163, 0.0157512706, 0.0149087179, -0.0606704317, -0.0438415967, -0.1044662967, 0.0272464994, -0.0411640629, 0.0208483394, 0.0235050619, 0.0132384114, -0.0031966961, -0.0009929228, -0.0650902241, -0.0012924527, 0.0398663916, 0.029573027, 0.0100687621, 0.0337876566, -0.0105133317, -0.0561906435, -0.0216959771, 0.0017865439, 0.0474784337, -0.0064713894, 0.0136708803, -0.0420633182, 0.0118773365, -0.0358455852, 0.0073170639, -0.0312097091, 0.0156201171, 0.0169430003, -0.047223758, 0.0475713126, 0.0255102273, 0.0136579676, -0.0182286073, 0.0210788436, -0.0300183278, -0.0636166707, 0.0283331387, -0.0099368449, -0.0226570051, -0.0180066023, -0.0012620274, -0.0082242712, 0.0250730421, -0.0057022609, -0.0232414305, -0.0238623116, -0.0020105713, 0.0042904401, -0.0242763348, -0.042764131, -0.0291429795, -0.0036742075, 0.0231915452, -0.0305803493, -0.0164089818, 0.0542771406, -0.0397714823, 0.0011176411, -0.046142485, 0.0184185635, -0.0712056383, 0.0823466927, -0.0246436782, 0.0060321591, -0.0660767406, -0.0201838166, -0.0192942861, -0.0000145115, -0.0342455432, -0.0418941788, 0.0581140593, -0.0177091621, 0.0379769616, -0.0182382576, -0.03103902, -0.0348557942, -0.0260936767, -0.0009746365, 0.0286373142, 0.0056109419, 0.0273340587, 0.0057185069, 0.0034012515, 0.0390554629, 0.0438457131, -0.0190242659, -0.0007880231, -0.013201355, 0.0798203945, 0.0657164529, 0.0148111805, 0.0336715505, -0.0307625812, 0.0273777135, 0.0699722245, 0.0715853721, -0.014436584, -0.001625534, -0.0268706828, -0.000014836, -0.0193678364, -0.0236686748, 0.0037213732, 0.0569483899, -0.0749157146, -0.0326743945, 0.0824279264, 0.0478458479, -0.038805984, 0.005591759, -0.0589653514, 0.0454249494, 0.0197796915, 0.032359086, -0.0907174572, -0.0379006304, 0.0054014516, 0.0287923999, 0.0120296637, -0.0235137083, -0.0060076062, -0.0951360017, 0.0098670991, -0.0139843952, -0.0402424745, 0.0217025839, -0.0325993076, 0.0103490483, 0.0564573854, 0.0132822543, 0.0588079132, -0.0072593866, -0.0118705453, -0.014293042, 0.0132769244, 0.0064395247, 0.0705091059, -0.011504476, 0.0112635409, 0.0559988208, 0.0161163025, 0.0286979172, 0.0010938565, 0.0391912162, -0.0536115654, 0.0481095873, 0.0066926787, 0.0019560435, -0.0101312036, 0.0132363709, 0.002757035, 0.035106875, -0.0371386595, -0.0045620082, 0.0482731238, 0.0549584217, -0.0063544889, 0.0034453964, -0.0286983866, 0.0007380976, 0.0098972451, 0.0862480178, 0.0293169245, -0.0248483382, -0.0712791383, -0.0121822022, -0.0092121949, -0.0361981206, 0.0318420455, -0.0106254509, 0.0110344319, 0.0625250489, -0.0686761439, -0.057901673, 0.0125576463, 0.0468839593, -0.0423970819, 0.0335486792, -0.0532767661, -0.0135245025, -0.0327371471, 0.0264124088, -0.0443042144, 0.0231089238, -0.0360303149, 0.0522103906, 0.0434444472, -0.0352259241, -0.0063602766, 0.0630643368, -0.0888989866, -0.0565422177, 0.0040138592, 0.003235579, 0.0200370308, 0.0359068401, -0.0156952813, -0.0551940277, 0.0398740284, -0.0050096037, -0.0262564309, 0.0596021265, 0.0146655384, 0.0199790038, -0.0027545788, 0.0451793335, -0.0945765674, 0.0067014638, -0.0145313377, 0.0718645379, -0.0147120282, -0.0424419753, 0.0010886416, 0.0161914304, -0.0390134454, 0.0073452173, 0.0067129228, -0.000738372, 0.0422300771, -0.0521941222, -0.0122750206, 0.0068362779, 0.000808393, -0.0061190706, -0.0687358603, 0.0217427928, 0.029894175, 0.0023744314, 0.0540797859, -0.0345742591, 0.0114604728, 0.0275647212, -0.0105962632, 0.0147470105, -0.007672498, -0.0196823161, -0.0280586164, -0.0295238104, 0.060727939, -0.0304419175, 0.0621991009, 0.0182508957, -0.0182600431, -0.0289673321, 0.0114967776, -0.1034929827, -0.0150443269, -0.0166890472, 0.0093355905, 0.0315557942, 0.0078905029, 0.0707637146, -0.0028506455, -0.0249579661, -0.0216908399, -0.0023179404, 0.0056896266, -0.0342902876, 0.0261102002, 0.0556427613, -0.0012596411, 0.0583412945, 0.0726735219, 0.0054387599, 0.0354354233, 0.0102786906, 0.0337977819, -0.0289164875, -0.0311826989, -0.0045108343, 0.0719290376, -0.011707576, -0.0052339528, -0.0353025571, -0.0445725247, 0.0151040023, -0.0016830252, -0.0225176271, -0.0184134226, 0.037265189, 0.0802596658, 0.022087682, -0.0211755, -0.0122492919, 0.0363104045, -0.043077752, -0.0138099212, -0.0159800835, -6.209246218e-33, -0.033710707, -0.0402547792, 0.0527566746, -0.059495952, -0.02367137, 0.0242292173, -0.0538868606, -0.0002893547, -0.0283891838, -0.0203866921, -0.0339168683, 0.0116398074, -0.0120780384, 0.0368377417, -0.0279172268, -0.0034976632, 0.012453543, 0.0038235569, 0.0024036956, 0.0252679773, 0.0510014072, 0.0125367101, 0.0015980565, -0.0205633845, 0.0134077361, -0.0292603988, 0.0049746023, 0.0104584927, -0.0223296862, 0.0829739422, -0.0413664505, 0.0250649061, 0.0364438891, -0.0278233718, -0.0173713565, 0.0318347439, -0.0951266959, -0.0107425814, 0.009694539, -0.0621610619, -0.064518705, -0.0536751226, 0.0304172225, 0.0146629438, 0.0098966267, -0.0060400679, 0.0097766723, -0.0299623851, -0.0411450304, -0.0247983821, -0.0512991473, 0.0158418696, -0.0080682384, 0.004214359, -0.0368696228, 0.0431482568, 0.0000025517, 0.0784729421, -0.0713920593, -0.0055582896, -0.0207215436, 0.0260849334, 0.0548578985, -0.0033275685, 0.0000330226, 0.0222867113, 0.0087074814, 0.0183696188, -0.0082853045, -0.0541946217, 0.0012617048, 0.020666033, 0.0387842022, 0.0639247149, 0.0385419242, 0.0123653589, -0.0669280589, 0.0291415192, -0.0002524648, 0.0287335739, 0.0302148703, 0.0064250855, -0.0275170803, -0.0076759313, -0.0502370149, 0.0330990031, -0.0375635549, -0.0116550727, 0.0591705255, 0.0281677768, -0.0239235125, -0.0253127962, 0.0431816652, -0.0332102776, 0.0246188864, 0.0660542324, -0.0398516953, 0.012761143, 0.0052032489, 0.0536925867, -0.0389394574, 0.0165470112, 0.0222447626, 0.0027735329, -0.0195436701, -0.0003860465, 0.0057670227, -0.0171164218, -0.0585375167, 0.0067579844, -0.0363688245, 0.018605588, -0.0356876366, -0.0381539576, 0.0214162301, 0.0034082669, 0.0073828483, 0.0937798545, 0.0249498319, 0.0129939113, -0.0064481297, -0.0528687984, -0.0127426311, 0.0043308195, -0.0207805727, 0.0445294641, -0.0180936158, 0.0383680612, 0.0363689512, -0.0426468663, 0.0021486641, 0.0539095439, 2.509e-7, 0.0455191657, 0.004616105, 0.0686731264, -0.0001642516, 0.0468134098, -0.0113195302, 0.0066501237, 0.0151907858, 0.0018419115, -0.0178311598, -0.0192404874, 0.0296700913, 0.0314709544, 0.019037094, -0.0507802181, 0.0268789697, -0.0696091503, -0.0120553644, -0.0524129421, -0.0353731513, 0.015253731, 0.0775787085, -0.047103513, -0.0035509467, -0.0325399972, -0.0693618655, 0.0662134066, -0.0073223114, -0.0252329316, 0.0187591985, 0.0322218426, 0.0006573363, 0.0283913296, -0.0426981039, 0.0087730801, 0.0485742576, 0.0072468198, 0.0612584129, 0.0179307759, -0.0893921107, 0.0223149657, -0.0364622846, -0.0071113594, -0.0528700985, 0.0930974633, -0.0280981213, 0.0061329356, -0.0324394815, -0.0258129463, -0.0072146291, -0.0134406062, -0.0088716717, 0.0088418275, 0.0085033737, -0.0084876483, -0.0099698799, 0.011083344, -0.0929834023, -0.0303455498, 0.0144027108, -0.066529654, -0.0212490298, -0.0344517343, -0.0065700365, 0.0031409629, -0.0775600597, -0.0015160283, 2.428778647e-34, 0.0414282829, -0.0190445893, -0.0033272137, 0.0066001494, 0.027673509, -0.0120091699, -0.0490496345, -0.0027066192, 0.0379336402, -0.11038699, -0.0262409989 ]
http://arxiv.org/abs/2406.17415v2
http://arxiv.org/pdf/2406.17415v2
Layer-Wise Quantization: A Pragmatic and Effective Method for Quantizing LLMs Beyond Integer Bit-Levels
"2024-06-25T09:37:15"
"2024-06-26T08:00:18"
Razvan-Gabriel Dumitru, Vikas Yadav, Rishabh Maheshwary, Paul-Ioan Clotan, Sathwik Tejaswi Madhusudhan, Mihai Surdeanu
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7; I.2.0
We present a simple variable quantization approach that quantizes different layers of a large language model (LLM) at different bit levels. Specifically, we quantize the most important layers to higher bit precision and less important layers to lower bits to achieve floating point quantization levels. We propose two effective strategies to measure the importance of layers within LLMs: the first measures the importance of a layer based on how different its output embeddings are from the input embeddings (the higher the better); the second estimates the importance of a layer using the number of layer weights that are much larger than average (the smaller the better). We show that quantizing different layers at varying bits according to our importance scores results in minimal performance drop with a far more compressed model size. Finally, we present several practical key takeaways from our variable layer-wise quantization experiments: (a) LLM performance under variable quantization remains close to the original model until 25-50% of layers are moved in lower quantization using our proposed ordering but only until 5-10% if moved using no specific ordering; (b) Quantizing LLMs to lower bits performs substantially better than pruning unless extreme quantization (2-bit) is used; and (c) Layer-wise quantization to lower bits works better in the case of larger LLMs with more layers compared to smaller LLMs with fewer layers. The code used to run the experiments is available at: https://github.com/RazvanDu/LayerwiseQuant.
[ -0.0496628173, 0.0646087602, -0.0069038668, 0.0488603748, -0.0157771483, 0.008692909, 0.0146690952, 0.0394858196, -0.0236210618, -0.042216219, 0.0238513052, -0.0384687595, -0.0101119317, 0.0069977986, 0.0446432345, -0.0229783431, 0.0616203286, -0.033278428, 0.0041478286, -0.0068623275, -0.0160144512, -0.0243455432, 0.0581734963, 0.0157770123, 0.0213381667, -0.0070547471, -0.0134708043, 0.0110275131, 0.0194024388, 0.0026692904, -0.0371034555, 0.0208368115, 0.0627285764, 0.0040250095, 0.000002275, -0.0020688348, -0.0232527498, 0.0202459209, -0.0419210605, 0.0763497055, 0.0135889351, -0.0182902068, -0.0775115788, 0.0054365685, -0.0153612876, -0.0107405204, 0.0631775185, -0.0157976355, 0.0737337545, 0.050505057, -0.0058722571, -0.0337721705, 0.0166476406, 0.0028987473, -0.0127046872, -0.0022147307, 0.002740965, 0.0485169888, -0.0088470755, 0.0144004319, -0.0287439376, 0.020062523, 0.0028525528, -0.0116419429, -0.0137468027, 0.027428858, -0.0381898731, -0.0033980366, 0.010977882, 0.038324222, -0.1153480336, -0.0180023815, 0.0164713748, 0.0110832388, -0.0272276085, -0.0825984254, -0.0636241063, 0.0497943573, 0.0428398401, 0.0379053988, -0.0099471519, -0.0073830914, 0.0496058613, 0.0096946945, -0.0577464066, 0.0700920373, 0.0164683554, -0.0023209755, -0.047237698, -0.0380563326, -0.0621866025, -0.0510673411, -0.0177330356, 0.0053421888, 0.0390958376, -0.0073468965, -0.0425920561, 0.0179997571, 0.0047980794, -0.0719516799, 0.0269245915, 0.0742520466, 0.0001880102, 0.0295246933, -0.0363219604, 0.0487655774, -0.0117000071, 0.0219651833, -0.0221071467, 0.0400042534, 0.028251145, -0.0072867605, -0.0264467355, 0.075092122, -0.0225543119, -0.000652979, -0.0548998229, 0.0062012528, -0.0058727441, 0.0002806117, 0.0069499845, -0.0082117282, 0.0142550003, 0.0029970915, 0.047451172, -0.0053003686, -0.0211170502, -0.0017489642, -0.0093953367, -0.0450311229, -0.0120178265, 0.0212476347, 0.0017191414, -0.0100399638, 0.0221305285, 0.0455873609, 0.0211613867, -0.0185008086, -0.0035753385, -0.0076303692, 0.0123848235, -0.0464767516, -0.0238780845, -0.0694612488, -0.0279601701, -0.0093384599, 0.012135542, -0.0161983706, -0.0002467311, 0.004639016, 0.0011315114, 0.0433046818, -0.0179417953, -0.0069172885, 0.0068940306, 0.030167833, 0.0452972427, 0.0795501247, 0.0633101612, 0.0327999704, 0.0187668484, -0.0311037581, -0.0340793729, 0.0344784446, 0.0205200426, -0.0039588339, -0.0569095649, -0.0296422355, -0.0270738173, 0.0253568236, 0.0847374052, 0.0767311752, -0.0788328648, -0.0662864372, 0.019844519, 0.0426407531, 0.0521247275, 0.0354779102, -0.003210919, 0.0347218364, 0.0146451835, 0.0136466976, -0.0262756255, 0.0495837219, 0.0217101146, 0.0053879586, 0.0581829809, 0.0453715883, -0.0225373935, -0.023931019, -0.0317483507, -0.0080383653, 0.0117292264, -0.005704036, -0.0091349725, -0.013545529, -0.0194410402, 0.122354582, 0.0090979412, -0.0913670808, -0.0116805229, -0.0762936547, -0.0053216699, 0.0458105914, 0.0173826106, -0.0042802314, 0.0294186603, 0.0220608152, 0.0213825163, 0.0042288508, -0.0238343179, -0.0033111142, 0.0385637991, -0.0704298094, -0.0189445764, -0.0118444832, 0.0075983233, 0.0187771376, 0.0118732722, 0.015049804, -0.0008591487, -0.0555165485, 0.0086064776, -0.002806871, 0.0154236183, -0.0124249635, 0.0221248735, -0.0139295384, 0.0168619733, 0.0239385311, -0.0206119362, 0.0030883059, 0.0526692495, -0.0374643058, 0.0005959804, -0.0510510579, -0.0202125609, -0.0219758824, 0.057647448, -0.0058242418, 0.0410303697, 0.033458285, -0.0737085491, -0.0377182439, 0.0426841825, -0.0308848303, 0.0155911837, -0.0298196729, 0.0120974733, -0.0172265638, 0.0263812356, -0.0501574427, 0.0081149144, -0.0269652419, 0.0148338592, 0.0318303667, 0.006762783, 0.0165917017, -0.0332254507, -0.035494633, 0.0078823017, -0.014213671, 0.0529939197, -0.0146172037, -0.0015101507, 0.0170743931, -0.0159512758, -0.1001094282, -0.0125710713, -0.0218645465, 0.0367769785, 0.0073593934, 0.0524955019, 0.0226195529, -0.0033310908, -0.0306109842, -0.0115031786, -0.0118823545, 0.0115094017, 0.0049029794, -0.0186789725, -0.0258296337, -0.0556143597, -0.0560279079, 0.0219367631, 0.0484836102, -0.0693290308, -0.0505085364, -0.0766019523, 0.0042341007, -0.0254602823, 0.0294914749, -0.0052973349, -0.0604143143, -0.0010237739, -0.0132648759, -0.0122412471, 0.0585065074, 0.0009417656, 0.0150318742, 0.0758647174, -0.0048284214, -0.0544806309, 0.0219694097, 0.0050725667, 0.0056365021, -0.0119150328, -0.0257139876, -0.0245728008, 0.0894214585, -0.0203220658, -0.0135242669, -0.0373685397, 0.0342582464, -0.018852856, 0.0043116678, -0.0132821295, -0.0088870255, -0.0112771988, 0.0596500598, -0.0033488125, -0.071615085, 0.0158317797, -0.0419973172, -0.0073408177, 0.0151268002, -0.0224022083, -0.0444285572, 0.0345996544, 0.0065548182, 0.0469949841, -0.03872291, -0.0139470249, -0.060168419, 0.0048458213, -0.0121745421, -0.0428553298, 0.0210516024, -0.0286493655, 0.0418717675, -0.0430843793, -0.0241445974, 0.0183773451, 0.0257631522, -0.0120610772, 0.0389180444, 0.0111390958, -0.0293571912, 0.0310035795, 0.0732508972, 0.0019806235, 0.0211659893, 0.0062473519, 0.0116406213, -0.0021157996, 0.019205125, -0.0137609961, 0.0302861687, 0.0350154452, 0.025400361, 0.0236355104, 0.02933993, 0.0025846211, 0.0736298263, -0.0582556687, 0.0080084782, 0.0477770828, -0.0162847284, -0.048895251, 0.0100990981, 0.0746666119, -0.0439650267, 0.0040117805, 0.0796609521, 0.0268146321, -0.0204186961, 0.0325109661, -0.0192268901, 0.0423949622, 0.0093808211, 0.0198155921, -0.1066902652, -0.0176282879, 0.0167331863, -0.017998606, 0.0187521223, 0.0019017645, -0.016672736, -0.0654841065, 0.0218900777, 0.0473015606, 0.0379855894, -0.0179820247, -0.0415164158, -0.0417213105, -0.0164416209, 0.0445721932, 0.0256603993, 0.000027999, -0.0094644669, 0.0177906863, -0.0527381636, -0.0545939207, 0.0309374891, -0.0078737941, 0.0486203767, 0.063696973, 0.045139391, -0.0071505541, -0.0067671747, 0.0314339437, 0.0208406989, -0.0133733777, -0.026452614, 0.0168118794, 0.0429609716, -0.0022314042, 0.0279941112, -0.0491182581, 0.0298212934, 0.0201662388, -0.0314699858, 0.0436292998, -0.0166672152, -0.0154695036, -0.0159022771, -0.0247242711, -0.0424324945, 0.0221271329, 0.0271637011, 0.0169629976, -0.0665628165, -0.0677699745, 0.0048309858, -0.0372684859, -0.0453439802, -0.0033799838, -0.0130336015, -0.038337402, -0.0223547332, 0.0350231677, -0.02320816, 0.0005280139, -0.0182471089, -0.015701944, 0.0285704415, 0.0114456117, -0.1054614261, -0.0253638495, -0.031851463, 0.0496750511, -0.0392613113, 0.0108591048, 0.0194050875, 0.0040393532, -0.0195819996, -0.0535162948, -0.1210429445, -0.0772296339, -0.0145206321, 0.0362070054, 0.0196324717, 0.0463580191, 0.0031920967, -0.1066972613, 0.08752051, 0.0273790173, -0.0378084593, 0.0636900514, 0.0437653065, -0.0348446332, -0.0075091422, 0.0391183347, -0.0240606833, 0.0326965712, -0.012842047, 0.0373052508, -0.0647286177, -0.0281890109, -0.0333754681, -0.0053724423, 0.0225648601, 0.0123316562, -0.0098070847, 0.0240617059, 0.0349336192, -0.0142355114, 0.0069522359, -0.0608712099, 0.005449648, 0.0173572991, 0.0031183509, -0.0037127128, -0.0063374741, 0.0236164946, -0.006297553, 0.0575489886, 0.0532329082, -0.0411687568, 0.0056498945, 0.0516366549, -0.003930951, -0.0277979169, 0.0038565379, -0.0121496171, 0.0267834757, -0.0475524515, -0.0308723785, -0.0256613754, 0.0217171293, -0.0201611761, 0.0686655343, -0.014590174, -0.0654563159, -0.039731659, -0.0096357735, 0.0584976114, 0.0483363122, 0.0646072999, 0.0152031481, 0.0053635659, -0.0201870687, 0.0130648362, 0.0199127905, -0.0254850555, 0.0479720719, 0.0326071046, -0.0448752679, -0.0042476761, 0.0370771587, 0.0530850329, -0.0019920515, -0.0173161924, -0.0029541303, -0.0160368923, -0.0095352316, -0.0495367534, 0.0481160358, -0.0133884847, -0.0150579764, -0.0392574295, -0.0468585007, -0.0024130202, 0.0329976976, 0.0238954145, -0.0384509712, 0.0119825518, 0.0239636339, 0.031283997, -0.0047946912, -0.0321199261, -0.0585892387, 0.0017719322, -0.0297522247, 0.0123751648, -6.362761373e-33, -0.033715602, 0.0018593055, 0.0017555302, -0.0263007954, -0.0224315915, 0.0381514505, -0.0177011471, -0.0016555156, -0.0244514532, -0.0266502723, -0.01765237, 0.016793156, 0.0197791904, -0.0057957666, -0.0272412337, 0.0256345887, 0.0719981715, 0.0117239505, -0.0152147468, 0.0207049642, -0.0317269303, 0.0148239387, 0.0439180098, 0.024897065, -0.0319717415, 0.0361013822, -0.0038712556, -0.0260876212, 0.0267174169, 0.0417794064, -0.0289552752, 0.0136561543, -0.0050003761, -0.0006380244, -0.0340467803, -0.0167259555, -0.0478311405, -0.0222490653, 0.0262854081, 0.0491203517, 0.0191678163, -0.0388849229, 0.0399149321, 0.0239879936, -0.0283497926, -0.051461868, -0.0209889933, -0.0074056787, -0.0587356836, -0.0592689961, -0.0134845115, 0.0632540286, 0.0303954482, 0.0267300904, 0.1003362387, -0.0278421957, -0.0324093364, -0.006475314, -0.068686381, 0.0203376319, 0.0097089317, 0.1070641428, 0.0584492162, 0.023506863, -0.0040952964, 0.0452546403, 0.0418887809, -0.0291316826, -0.0273746103, 0.061984282, 0.0438473485, 0.0144545073, 0.0478651449, 0.0107945725, 0.1030216962, 0.0026069882, -0.0641304702, -0.0085841492, 0.0270304587, 0.0088792061, 0.0160968602, 0.0720253736, -0.0015498739, -0.0458309427, -0.0361846127, 0.0151376175, -0.0332203917, -0.0628912002, -0.0020717934, -0.0106867105, -0.0556854717, -0.0396571308, 0.0388855524, -0.0551674217, -0.0379139371, 0.0022042231, -0.0097599439, 0.0381724909, 0.0171358325, 0.024188308, -0.0215784572, -0.031736616, 0.0067062159, -0.0264617242, 0.0383928195, -0.0069328169, -0.0070069334, 0.0609433204, -0.0663785562, -0.0289134458, -0.0275833402, -0.0417138077, -0.0108909002, 0.0820805281, -0.0015277233, 0.0041211266, 0.0143407574, 0.0195925757, -0.0250410419, 0.0136201838, 0.003293745, 0.0107420217, -0.0005329046, 0.0624426603, -0.0508954264, -0.0124713713, -0.0699061081, 0.0560134351, 0.0400883481, -0.0577993877, -0.0648863465, 0.0396906026, 2.916e-7, 0.0151105877, 0.0305323489, 0.0230919179, 0.0136645036, 0.0042643934, -0.0070806304, 0.006843043, 0.007711764, -0.0072076311, -0.0241298415, -0.0132453442, 0.0145841846, 0.0253939088, 0.0150552606, -0.0756945536, 0.0265416093, -0.0209895596, -0.003340964, -0.0148123624, -0.0254360978, 0.008231773, 0.1275156289, -0.0093463929, 0.0040933532, 0.0244924873, -0.0099351229, 0.0104943095, 0.0053252759, 0.0244447794, 0.0111022955, 0.028831847, 0.0160289519, -0.0184689872, -0.0448188223, -0.0081731081, -0.016783189, -0.0177711062, 0.0897791162, -0.0280703418, 0.0208122674, 0.0193421897, -0.0348971225, -0.0272842478, -0.0328018703, 0.0526224039, -0.0099006882, -0.0328415856, -0.0936215073, 0.0099805854, -0.016617965, 0.0061505432, -0.0049614748, -0.0059304414, 0.0226933453, 0.0223170873, -0.0257840566, 0.019973997, -0.0824341699, -0.0665070489, 0.0084824152, -0.0191480219, -0.0619594455, -0.0488768294, 0.0160816684, 0.0329310559, -0.0289844219, 0.005752238, 3.070548283e-34, 0.0365270451, -0.0231515653, 0.0368901715, 0.0444130003, 0.000458254, -0.0098102409, -0.0275593363, 0.0196183156, -0.0095295291, -0.0261227228, -0.0230178349 ]
http://arxiv.org/abs/2406.17404v1
http://arxiv.org/pdf/2406.17404v1
Make Some Noise: Unlocking Language Model Parallel Inference Capability through Noisy Training
"2024-06-25T09:25:39"
"2024-06-25T09:25:39"
Yixuan Wang, Xianzhen Luo, Fuxuan Wei, Yijun Liu, Qingfu Zhu, Xuanyu Zhang, Qing Yang, Dongliang Xu, Wanxiang Che
cs.CL
cs.CL, cs.LG
Existing speculative decoding methods typically require additional model structure and training processes to assist the model for draft token generation. This makes the migration of acceleration methods to the new model more costly and more demanding on device memory. To address this problem, we propose the Make Some Noise (MSN) training framework as a replacement for the supervised fine-tuning stage of the large language model. The training method simply introduces some noise at the input for the model to learn the denoising task. It significantly enhances the parallel decoding capability of the model without affecting the original task capability. In addition, we propose a tree-based retrieval-augmented Jacobi (TR-Jacobi) decoding strategy to further improve the inference speed of MSN models. Experiments in both the general and code domains have shown that MSN can improve inference speed by 2.3-2.7x times without compromising model performance. The MSN model also achieves comparable acceleration ratios to the SOTA model with additional model structure on Spec-Bench.
[ 0.0369807817, 0.087568529, 0.0076993108, 0.0256238226, -0.0254894774, 0.0031633193, -0.0100810444, 0.0086544678, -0.0609223023, -0.0166075118, 0.0038725717, -0.02994656, -0.0104106469, 0.0122610852, 0.0036433223, 0.005132522, 0.0499204323, -0.054799933, 0.0587478504, -0.0298273452, -0.0206772387, 0.0356381051, 0.0201632883, 0.041539792, -0.0070461305, -0.0212302227, -0.020408133, 0.039854642, -0.0532314405, -0.0282116402, -0.0284898914, 0.0436170287, 0.0152029321, 0.0342599414, 0.0000022609, 0.0000179098, -0.0272274949, 0.0286388304, -0.0391513631, 0.0539694615, 0.0471336991, 0.0019211258, -0.0271124262, 0.0127785392, 0.0035147208, -0.0283549298, 0.0721259639, -0.0102500021, -0.000143881, 0.0593970679, -0.0080264015, -0.0357217863, 0.0280290134, -0.0104731536, -0.0198333748, -0.0581507571, 0.004688412, -0.0074295038, -0.0210907329, 0.0062214597, 0.0159363728, 0.0122770732, 0.0273443069, 0.0342562646, -0.0159337539, 0.0123290475, 0.003969403, -0.024777893, -0.0210279822, 0.0168277696, -0.0178662185, -0.0721622482, -0.0146640139, 0.0162594616, -0.0361422151, 0.0064449082, -0.0166020766, 0.0341084823, -0.0480216034, 0.0204919931, 0.05874677, -0.0004838527, 0.051600486, 0.0037055872, -0.0432204306, 0.048059836, 0.0409231968, -0.0408067256, -0.027282346, -0.01664792, -0.0020080064, -0.0303011406, 0.0199041702, -0.0101089319, -0.0392661318, 0.0190872699, -0.038559448, -0.1105755717, -0.0043554734, -0.081853129, -0.0006099896, 0.0769372135, 0.001246765, 0.0011025202, -0.0273274351, -0.0052982536, -0.0025297974, 0.0183390975, -0.0406968966, -0.017367322, -0.0015499961, -0.0330895968, -0.0770747811, 0.0655474886, -0.0725554302, -0.0289263204, -0.0180664044, 0.0257918648, 0.0464538001, -0.0322444998, 0.0279914942, -0.0178864487, -0.0758687034, -0.0141564896, 0.0550455116, 0.0152330296, -0.0100275418, 0.0029273294, -0.0092033651, -0.051518105, -0.017047707, 0.0069378419, -0.0016862522, -0.0414531529, 0.0034275833, 0.0705235675, -0.0154361716, -0.0318879075, -0.044493597, -0.0100722108, 0.0188187156, -0.0289704446, 0.0121314283, -0.0592522174, 0.0013526255, 0.0092518693, 0.0002627755, -0.0302122328, -0.0168551281, 0.0120470021, -0.0303949974, 0.0633677095, -0.0301966034, -0.0059671835, 0.0202809684, -0.0003914102, 0.0208608303, 0.1067488343, 0.0009165883, 0.0523067415, 0.0243834238, -0.0054069199, -0.0221045259, 0.0635572374, 0.0412133783, -0.0006181596, -0.0331406146, -0.0194263123, -0.0113269379, -0.0158839468, 0.0437722765, 0.046584513, -0.0556302406, 0.0198420491, 0.0407953188, 0.0536434725, 0.0265097283, 0.020985635, 0.0428080037, 0.0214773398, -0.0143198185, -0.0009499903, -0.0074555548, 0.0085461661, -0.0276657324, 0.0475102551, 0.0587837659, 0.0554320253, -0.0162346717, -0.0010865557, 0.0004680967, -0.0128064808, 0.0045185611, 0.0214842297, 0.0808007121, 0.0314956419, -0.0637119189, 0.0732925609, 0.0532316975, -0.0628475249, -0.0511681028, -0.0822547823, 0.0254490171, 0.0382833816, 0.0650779977, 0.0111586228, 0.0043372931, 0.0408106856, -0.0307091475, 0.0408323817, 0.0174404699, 0.0094605898, 0.02569554, -0.0637070835, -0.0022126231, 0.0437012017, 0.0338112749, 0.0798532814, 0.038035918, -0.016837392, 0.0259451792, -0.055871658, -0.0354131646, 0.006874809, 0.0087648705, -0.0041864691, 0.0358734503, 0.0237503164, 0.028665157, 0.0212881397, -0.0266923252, 0.0226521175, 0.0515851714, -0.0390881635, 0.0589814261, 0.0117638102, -0.0405310132, -0.0172045678, 0.0258410797, 0.0236129295, -0.0061212913, 0.0361962616, 0.0147817414, -0.0376997776, 0.0668460205, -0.0167416967, 0.0757156461, -0.0601157919, 0.0345852375, 0.0026408476, 0.0096803913, -0.0104833832, 0.0493671335, -0.0280137192, -0.0056165876, 0.0156773087, 0.0374393798, 0.0028519053, -0.0079607703, -0.0220169891, 0.0168311801, -0.0326295048, 0.0066739381, 0.0065842387, 0.0087412102, 0.0329534858, -0.0223747399, -0.0688316301, 0.0072081829, -0.0481456593, 0.0153854173, 0.0161869694, 0.0700845718, 0.0007373331, -0.0104042161, 0.0238503478, -0.0025912588, -0.025937777, 0.0122104855, -0.0550352633, -0.000488638, -0.0455784015, 0.0100969616, -0.0325290337, 0.0057233023, 0.049191989, -0.0440356657, -0.0611433722, -0.062396042, 0.0245202295, 0.0292853415, 0.0279439203, -0.0079817129, -0.0571673922, 0.0460631214, -0.0544297323, 0.052832257, 0.0140297003, -0.0322501697, -0.0012451456, 0.0010492625, -0.0197323207, -0.0444165915, 0.0194282383, 0.0174564626, -0.0118694929, -0.0274337307, -0.0585210472, 0.021336453, 0.0811504945, -0.0176033154, 0.0102591505, -0.0827720389, -0.0355694667, 0.0002273296, -0.0546262078, -0.0184958205, -0.0167937148, -0.0248494204, 0.022713162, -0.0401775613, -0.0545606092, 0.0601876192, -0.0557275303, 0.0011515282, -0.0707735792, 0.0002836255, 0.0029805319, 0.069229804, -0.0168219451, 0.0378608629, 0.0094616385, -0.0709495395, -0.0050062588, 0.0344222933, 0.0075556356, -0.0284980014, 0.0113824634, -0.0355409682, 0.0250267517, -0.0154840378, -0.0147272516, 0.005482805, -0.0181714073, -0.0209670663, 0.0033562114, 0.0604219101, -0.0370903723, 0.0173105653, 0.048627723, -0.0602980554, 0.0585579202, -0.0084955357, 0.0109585347, -0.0271076821, 0.0137846796, 0.0403399952, -0.0436175764, -0.0044232714, -0.0327497497, 0.0342387743, 0.0261202995, 0.0407760255, -0.0075323293, -0.0517321415, -0.0083359648, 0.057563521, 0.0205117911, 0.0029463291, 0.0964127108, 0.0610120296, -0.0312794968, -0.064100638, 0.0818449184, 0.0232906137, -0.059958823, -0.0182961952, -0.0166585986, 0.0825576708, -0.0060164304, 0.0035934104, -0.0735432133, -0.031551823, 0.039458707, 0.0380455181, -0.0082981205, 0.0338227376, -0.0249282606, -0.0975122899, 0.0205893517, 0.0173108317, -0.0658444837, -0.0176554918, -0.0366019234, -0.0592568144, 0.0302965567, 0.0599949621, 0.0322640054, 0.032021381, 0.0178142115, 0.0331327803, 0.0014971037, -0.0509406999, -0.0155789768, -0.0032223121, 0.0591745265, 0.0758153498, -0.0207551382, 0.0093672639, -0.0072923591, 0.0367475338, 0.0004675864, 0.0132506909, -0.0323106609, 0.0099456795, -0.0057747005, 0.0054625622, -0.01161242, -0.0019546256, -0.0261001028, -0.0235272385, -0.0260141958, 0.0252934657, -0.0052939076, 0.0198180918, -0.0036433318, -0.0271999203, 0.0057481267, 0.0451380312, 0.0302835219, -0.0154924234, -0.0374966078, -0.0556736849, 0.0060561327, -0.0887535363, 0.0344467461, 0.000843625, 0.0175331421, -0.0658011213, -0.0162845664, 0.0125327418, 0.002866019, 0.0325104855, 0.0069697769, 0.0450737588, 0.0057684523, -0.0222040769, -0.0697532818, -0.0137681449, -0.0382629298, 0.0118249366, -0.0458310507, 0.0011052592, 0.0042855474, -0.0069428189, -0.0041026357, 0.0347616524, -0.0949748531, -0.073226355, -0.0029485796, 0.0503944643, 0.0288083684, 0.0301639438, -0.0554342866, -0.0657414198, -0.0079808896, 0.02738484, -0.1038780808, 0.0087096728, 0.0330644734, -0.0664141998, 0.0049162637, 0.02081405, -0.0389111564, 0.0025439924, 0.0295376256, 0.0207570922, -0.0335614532, -0.0044709262, 0.0429013632, 0.0274951998, 0.0388593972, -0.013703716, -0.0310454983, 0.0072727231, 0.0586690828, -0.031114921, 0.0045946226, -0.0234727655, -0.0115122842, 0.0086008394, -0.0066481992, -0.0110349143, -0.01165774, 0.0404779352, 0.0435907207, -0.0159597863, -0.0022129037, -0.0211932864, 0.0490367189, 0.0438682213, -0.042915646, -0.0236514173, -0.0072873663, -0.0060173119, 0.0259344149, -0.0437384285, 0.0177419893, 0.0093286932, 0.0148095926, -0.0173481908, -0.0066300379, -0.0511552133, -0.0617972165, -0.0329646729, 0.0210207924, 0.0649833605, 0.0006736366, 0.0447996147, -0.0305899195, 0.0099799233, -0.0131236361, 0.0169850439, -0.0048754644, -0.0206573196, 0.0075272699, -0.0010095974, -0.0144419158, -0.0113949133, 0.0845846161, 0.0184366927, 0.0407713838, -0.0171419699, 0.005370907, -0.0408422798, -0.0269466713, 0.0166912638, 0.0744090155, -0.0655853301, 0.0016561854, -0.0019054081, -0.0506588221, -0.0236459058, -0.0069365231, 0.0397478491, -0.0085208621, 0.0071256259, 0.0889648572, -0.0227299947, -0.0536708608, -0.0216184873, -0.0114288973, 0.0230639633, -0.0355787314, -0.0226190276, -6.802565237e-33, -0.0274468306, 0.0095853666, 0.0125257671, -0.0370166376, -0.0096842581, 0.0055136317, -0.0296934284, -0.0167901274, 0.0000926955, -0.009301356, -0.0319491811, 0.0406458117, 0.0359025002, 0.028718343, -0.0061309151, 0.0478609949, 0.0757429674, -0.0179705806, 0.0065350304, -0.0007813602, 0.0182563737, 0.0470634848, 0.027174022, -0.0175158586, -0.0186488591, -0.0321479663, -0.0149271423, -0.0470110066, 0.0091220345, 0.0295615885, 0.0006529396, 0.0009020427, 0.0013839599, -0.0462346636, -0.0396883935, 0.00251717, -0.0857269093, 0.0205142293, 0.0485506505, 0.0379795358, 0.0177519061, -0.0583303384, 0.0094023058, 0.0280597806, -0.0132502066, 0.0140604163, -0.0337913781, -0.0008963426, -0.0623676553, -0.0474142209, -0.0386808068, 0.0430568531, 0.0056792814, 0.0207557995, 0.0705963522, -0.0061799521, -0.0331251733, -0.0271917284, -0.0381406136, 0.0354914814, 0.0008544932, 0.0659976676, 0.0308627877, 0.0376246087, -0.0086979307, 0.0070335935, 0.0412911437, -0.0318445452, -0.0115353633, 0.0177854449, 0.0287494175, 0.0286336094, 0.0034207189, 0.0198028423, 0.0885979906, -0.0520402789, -0.0726791471, 0.0066009797, 0.0180601012, 0.0480803661, 0.077668488, 0.0379904956, -0.0482108295, -0.0309577025, -0.0177573431, -0.0288750902, -0.0595670715, -0.0225111172, 0.0357816555, 0.0225298032, -0.0353145488, -0.0239074454, 0.0451199897, -0.046296373, 0.0366912708, 0.0338485651, -0.0046615186, 0.0246452931, -0.0559046306, 0.0246055219, -0.0346789882, -0.0521993488, 0.0215326026, -0.0031569721, 0.0088788839, 0.0178156067, -0.0015273133, -0.0002614739, -0.0518163703, -0.0108035803, -0.0200503394, 0.0213742089, 0.0275203716, 0.0455230661, 0.0649581775, -0.0087551586, 0.021141272, -0.0081987167, -0.002509278, 0.0264710877, -0.0358103029, 0.0159631297, 0.0167463478, 0.0277917217, -0.0170796122, 0.0118723689, -0.0507372133, -0.0270033497, 0.0460099503, -0.031894058, -0.0377908871, 0.0573161058, 2.957e-7, 0.0053288965, 0.0302590244, 0.0408194177, 0.0016219585, 0.0034696362, 0.005099053, 0.0171996299, -0.0083541777, 0.0393482707, -0.0074493303, -0.0077524534, 0.0091583179, 0.0528487824, 0.0031524873, -0.1028727219, -0.0044548488, -0.0381750613, 0.0323467851, -0.0383882299, -0.0123863937, -0.0076126112, 0.1117820218, -0.0444530435, -0.0230121464, 0.0345915258, -0.0300440993, 0.0171253644, 0.007741929, -0.0263093468, 0.0116180312, -0.0264986381, -0.00183946, -0.0061846604, 0.0148553913, -0.01888014, -0.0158542488, -0.0078633064, 0.0305548795, -0.0075728861, -0.0193266645, 0.023050664, -0.010731142, -0.0308765974, -0.0022948636, 0.0399701782, 0.0101920879, -0.0365912877, -0.0564265773, -0.0253129229, 0.0397847258, -0.0650647655, 0.0001521429, 0.0178074967, 0.0304371249, 0.0379285961, -0.0089970985, 0.0078455526, -0.0536470227, -0.0381239913, -0.0230444185, -0.0461703315, -0.0437529869, -0.0663832054, 0.0030704148, 0.0263716318, -0.0380261131, 0.0270606559, 3.161171321e-34, 0.066969119, -0.0086049456, 0.0177938472, 0.0792020187, 0.019240994, -0.0324535221, 0.0112601472, 0.0546679348, -0.0011059677, -0.0670073256, -0.0410302579 ]
http://arxiv.org/abs/2406.17385v1
http://arxiv.org/pdf/2406.17385v1
Native Design Bias: Studying the Impact of English Nativeness on Language Model Performance
"2024-06-25T09:04:21"
"2024-06-25T09:04:21"
Manon Reusens, Philipp Borchert, Jochen De Weerdt, Bart Baesens
cs.CL
cs.CL
Large Language Models (LLMs) excel at providing information acquired during pretraining on large-scale corpora and following instructions through user prompts. This study investigates whether the quality of LLM responses varies depending on the demographic profile of users. Considering English as the global lingua franca, along with the diversity of its dialects among speakers of different native languages, we explore whether non-native English speakers receive lower-quality or even factually incorrect responses from LLMs more frequently. Our results show that performance discrepancies occur when LLMs are prompted by native versus non-native English speakers and persist when comparing native speakers from Western countries with others. Additionally, we find a strong anchoring effect when the model recognizes or is made aware of the user's nativeness, which further degrades the response quality when interacting with non-native speakers. Our analysis is based on a newly collected dataset with over 12,000 unique annotations from 124 annotators, including information on their native language and English proficiency.
[ 0.0198093578, 0.0285828318, -0.0463351086, 0.0401812568, 0.0023063377, 0.0133395121, 0.0707438588, -0.0200315937, 0.0123100141, -0.0487606339, -0.0545990765, -0.0406350344, 0.0133977011, -0.0094897905, 0.0117962118, -0.0244564172, 0.0170164071, -0.0411441028, 0.0147015564, -0.0481864102, 0.024637552, 0.0295354053, 0.0096499985, 0.0713035688, -0.0238674805, -0.0238318089, 0.0274877958, 0.0059587136, -0.011241911, -0.0349010453, 0.0624252222, 0.05377068, -0.0237243846, 0.0596525185, 0.0000020612, -0.0307252072, 0.0405631885, -0.0034621337, -0.0171277672, 0.0416132472, 0.0534687303, 0.0255940743, -0.0138346087, 0.0342185274, -0.0475849882, -0.0338824205, 0.029444037, 0.0313363373, -0.008465887, -0.0014487726, -0.0069270548, -0.0018532629, -0.0355974287, -0.0037403323, -0.0393218808, 0.007412198, -0.0185948685, 0.0133362981, -0.0378646255, -0.0412423052, -0.0212696735, 0.0365880281, 0.0208866242, -0.0058430484, -0.002777392, 0.0184642356, 0.0049253958, -0.0198236518, 0.0022186988, 0.0684551522, 0.0254642889, 0.0046945182, -0.034241762, -0.0068579921, 0.0051127304, 0.0281925518, -0.0115784789, 0.0275946986, -0.0182099249, -0.0026966974, -0.01058657, -0.0196782351, 0.0150902122, -0.0209712703, -0.0221879575, 0.0602780208, 0.0190155413, -0.0323209055, -0.0124959378, 0.0500526726, 0.0684313774, -0.0725937337, 0.0300622322, 0.0003497918, -0.0627145469, 0.0197704006, 0.0127708819, -0.0030843855, 0.0173360594, -0.0788320899, 0.0185026135, 0.0259619579, -0.0340641029, 0.0074412902, -0.0046198973, 0.0271921735, -0.0111242775, 0.0176438242, -0.038259089, 0.0106329508, -0.0329380147, -0.0260263067, 0.0465415418, -0.0041756653, -0.0266211592, 0.0346210264, -0.0489752926, 0.005728968, 0.0052063046, -0.0020376765, -0.0204742271, -0.0009521154, -0.0280134827, -0.0179191455, -0.057770554, 0.0702894777, -0.0594701804, 0.0180042423, -0.0241121482, -0.097959049, 0.0434213057, 0.0111860428, -0.0274628792, -0.0611241721, -0.0208997745, 0.0154411718, -0.0082676057, -0.0123667056, -0.0428097546, -0.0152184954, -0.0044322335, -0.0402876921, -0.0164383687, -0.053366404, 0.0080184592, 0.0423132107, 0.0078854561, -0.060157828, -0.0322916433, 0.03241653, -0.0372679159, 0.0159124788, -0.0403152406, 0.0442679562, 0.052850347, 0.0021672002, 0.0555512272, 0.0791601166, 0.0052158991, -0.0136871748, 0.0354079716, -0.0474627912, -0.0061940472, 0.0690873414, -0.0180960465, 0.0047532683, -0.0404920094, 0.0106826201, -0.0051701334, -0.0220695436, 0.0796819851, 0.0248404462, 0.0103794159, 0.0435339399, 0.0607288741, 0.087043196, -0.0208516903, 0.0179688968, 0.030648021, 0.0108084213, 0.00189081, 0.0231321137, -0.0381577387, -0.0126070082, -0.0300364755, -0.0174039863, 0.005417407, 0.0682089627, -0.0492177457, -0.0354632735, -0.012749278, -0.0102219209, 0.0231113192, 0.0473770201, 0.0140034845, 0.0002176102, 0.0228716377, 0.0295174681, 0.0116976285, -0.0469883084, -0.0097689591, -0.0298088752, 0.015664937, 0.0798400789, -0.0313985012, 0.0186317563, 0.0035474477, -0.0164826699, 0.0041743168, 0.0707254633, 0.0897201151, -0.0200937837, 0.016158333, -0.0220829938, -0.0332694054, -0.005026048, -0.0021698906, 0.0538723506, 0.0184968375, 0.0443292335, 0.0239247642, -0.0390792564, -0.073811695, 0.014349537, -0.0628097951, -0.0291692372, -0.020544298, 0.0024859933, -0.0009795874, 0.0216310211, -0.0259701852, -0.0025090266, -0.0123335458, -0.0125528872, 0.0178520419, 0.0460825413, -0.0495131575, -0.0113483788, 0.0417699404, -0.032713823, -0.0482798554, -0.0192943234, -0.0125417877, -0.0406193063, 0.0278341658, 0.0033866405, 0.0620245785, -0.01954934, -0.017827874, -0.0304017272, 0.0046718116, -0.0317672715, 0.0114236856, -0.0037027844, 0.0331566781, 0.0155132422, -0.0095476396, 0.0324261002, -0.0403513871, -0.0566167608, 0.0429319218, -0.0147380466, 0.0150290364, 0.0644419789, 0.0228911377, -0.0576447062, 0.034475714, -0.0841295645, -0.0136877494, -0.0183791779, 0.0261951443, 0.0103796814, 0.0030664362, -0.0436510481, -0.0590798855, -0.0557249673, -0.0594264418, 0.0064624725, 0.0702925101, 0.0100278398, -0.0064882599, 0.0213522706, -0.0367752276, -0.0394375473, 0.0124058556, 0.0179077145, 0.0199409816, 0.0004429077, -0.0322046503, -0.0136902481, -0.0284322165, 0.0055500283, 0.0015669743, -0.0468914807, 0.030156089, 0.0231612064, 0.0700862408, 0.0443813913, -0.0066325739, 0.0193674471, 0.0343993269, -0.0131546222, -0.0661276281, -0.0206168536, 0.0306829438, -0.0483145043, -0.0415767841, -0.063607268, 0.003776615, 0.0966972038, 0.0016827674, 0.0014139405, -0.035645552, 0.006644079, -0.081189163, -0.0505816378, -0.0485032909, 0.0106789377, -0.0152101843, 0.0807821229, -0.0039524352, -0.0584132075, 0.0587588511, -0.0072319619, -0.0115269786, 0.0075678881, 0.0056279246, -0.008982446, -0.0028021578, -0.026713673, 0.0446505174, 0.0196581129, -0.0471013263, -0.049714122, -0.0262904372, 0.0276600383, -0.0358596183, 0.0213099755, -0.0252016988, -0.0292316526, -0.0163913649, -0.0581041723, -0.034478303, -0.0227249954, -0.0674194917, -0.0345786661, 0.0273358393, -0.0060915207, 0.0347361378, -0.0100434804, 0.0565440767, 0.0183353759, -0.0216921475, 0.006374157, 0.012566139, -0.0011027209, 0.0244361572, 0.0491744615, 0.0361105725, -0.0598258786, 0.0485341661, 0.0081931576, 0.025974134, -0.0182280485, 0.0021922844, -0.0065620979, 0.0628074333, -0.0060756444, -0.0579156317, 0.0458211154, 0.0812156051, -0.0431483351, 0.0262408014, 0.0935827345, 0.026058089, -0.0470661595, -0.0031727436, -0.0626265928, 0.0602282137, 0.0480321273, 0.0445094258, -0.054174915, 0.0138274254, -0.0062623881, 0.0186273158, -0.0124919983, 0.0189266205, -0.0048778947, -0.137432754, -0.013146664, -0.010385666, -0.0596814528, 0.0423875153, -0.005148151, -0.0352437384, 0.012981236, 0.0651955009, -0.0024699306, -0.0170134809, 0.0073657855, 0.031664893, -0.0988875106, -0.0774482861, 0.0261766315, -0.021255197, 0.0438627824, 0.0538261272, 0.0148823401, -0.0255552493, -0.0389290676, 0.0639417544, -0.0069815768, 0.0288841818, -0.0220777001, 0.0257664546, 0.0256796684, -0.0138595095, -0.0585119799, -0.0236313269, -0.0155853936, 0.0073309671, 0.0259390138, 0.0335126556, 0.0224029105, 0.0066256435, -0.0156500489, -0.0147237675, -0.0067066578, 0.037419498, 0.0211886354, -0.0758222193, -0.0336659513, -0.0487650558, -0.020278465, -0.0157531407, -0.0675425008, 0.0662707984, -0.0200102143, -0.0416193791, -0.0324039124, -0.067545481, 0.0098389927, 0.0061121262, 0.0400820933, -0.0138005726, -0.0075147212, -0.0241763331, 0.0333466008, 0.0612074621, -0.0487653762, 0.0316325203, -0.0599612184, 0.0138838459, 0.0097567076, -0.0165971499, 0.013379192, -0.0150483511, 0.0321667679, -0.0401601605, 0.0036779721, 0.071905978, 0.0197118074, 0.0445999727, 0.0163827036, -0.0959789902, 0.0061724535, -0.010108714, -0.0043940679, -0.0063021039, 0.0295974053, -0.0000317107, -0.0123600746, 0.0260562971, -0.0272673909, 0.022230342, 0.0492201969, 0.0082933251, -0.0067526773, -0.010695911, 0.0124690393, 0.0563997589, 0.0588756017, -0.044545427, 0.0089091174, -0.0170681719, 0.0023187767, -0.01585152, -0.0066546579, -0.0113190105, -0.0241635144, 0.0150752403, -0.005872705, 0.0215622447, -0.0012782157, -0.0299144238, 0.0211143009, -0.0311952662, 0.0511374921, 0.0261679534, 0.0303873811, 0.0330572687, 0.0469073243, -0.0175460037, 0.04141929, 0.0415055417, 0.0534862801, -0.0047126426, 0.0657859072, -0.0038564664, 0.004009658, 0.0100263059, 0.0080847787, -0.0054284404, -0.0423919223, 0.0234807599, 0.0014815954, 0.052169621, -0.046185378, 0.0585401542, 0.0353571996, 0.01930275, -0.0290063079, 0.0118442448, 0.0259975288, -0.0450167321, 0.0333026275, -0.0202928819, -0.042491883, -0.014363029, 0.0699389204, -0.0021304525, -0.0043340214, -0.0225197487, 0.0008770209, -0.0307099167, 0.007492939, 0.0379546843, 0.000631313, -0.0618455224, -0.0045383237, -0.0961616188, -0.0782810524, -0.0299645737, 0.0109319277, 0.0102076046, -0.0160463005, 0.014706024, 0.042932421, -0.0224199258, -0.0291831922, -0.0411187261, -0.0023048839, -0.0267367959, 0.0048190141, 0.0073670079, -6.329055541e-33, -0.0299354866, -0.0190595742, 0.0058539067, -0.0522511639, 0.0161940735, -0.0024168082, -0.0191615932, 0.0423684046, -0.0317460224, 0.0120598124, -0.0470037945, 0.0027975535, 0.024048388, 0.0038227285, 0.0327046886, 0.0017680267, 0.0498503558, 0.00496476, -0.0176059362, 0.0154740224, 0.01532338, 0.0085567608, 0.0601698831, -0.0635714233, 0.0587635376, -0.0103362324, 0.016544966, -0.001495752, -0.007549366, 0.0447886176, -0.037300434, 0.0925659165, 0.0173306521, -0.0360199101, -0.0361427553, 0.0206123181, -0.0155194709, -0.036611665, 0.025921315, 0.046481926, 0.0296393558, -0.0481636077, 0.006925704, -0.0063888389, -0.0726971254, 0.0299788378, 0.0401892401, -0.0031770382, 0.0109819528, 0.0323219113, -0.0559953302, 0.0251143202, -0.0246124621, 0.0342509411, -0.0050962884, 0.0736312345, -0.0169630032, -0.0599454269, -0.0226342995, 0.0293364991, 0.0484654494, 0.0131454794, 0.0859388933, 0.0415918715, 0.0111188805, 0.0283561647, 0.0588061213, 0.0638991445, -0.0065023485, -0.0117501058, 0.0419367403, -0.0271474924, 0.0171097498, 0.0933285132, 0.016572088, -0.0441347435, -0.0285628438, 0.0059911003, 0.0234099366, 0.0244310703, 0.0075897565, 0.0019602294, -0.0203983244, -0.0618206412, -0.0382256024, -0.0072648679, -0.0154803758, -0.0528965108, 0.050457444, -0.0066954661, 0.019383613, -0.025620576, 0.0532693751, -0.0441368893, -0.0411299244, -0.027037045, -0.0165218841, -0.0093514156, 0.0023872466, 0.0524288677, -0.0582683235, -0.0058663636, -0.0505149625, 0.0084819896, 0.0091948686, 0.0352278091, 0.0090650748, -0.0063414811, -0.0816314146, 0.004485847, -0.0164390635, 0.0020296541, 0.0108005702, 0.0071289469, 0.0652000681, -0.0069160601, -0.0260998756, 0.0247005951, 0.0143315261, -0.0304169767, -0.0652270764, -0.0416011587, -0.00667571, 0.037347313, -0.0405965596, -0.0143837826, -0.0390187949, 0.0232183728, 0.0517108105, -0.0403901488, -0.0447202995, -0.040787112, 2.611e-7, 0.0291082058, 0.0553480834, -0.0113088712, -0.0313341059, 0.0283322241, 0.0159826428, -0.0240338296, 0.0048796837, 0.0456504747, 0.0138172684, -0.0472477674, -0.0080456873, 0.0514320284, 0.0438425466, -0.1012528837, 0.0202650353, -0.0760995448, 0.083841309, -0.0519318283, 0.0514828041, -0.0110958498, 0.027253665, -0.0429906435, -0.0138627663, -0.0328659564, -0.0402836911, 0.0549908429, -0.0383451767, 0.0119087063, -0.005910859, 0.0095032873, 0.0055867424, 0.0325442478, 0.0430239625, -0.005001049, -0.0026001893, 0.0096828863, 0.0450324453, -0.0074778232, 0.0070596375, -0.0075506205, 0.0060486128, -0.0038705105, -0.0649710968, 0.046540767, -0.0061610104, -0.036806602, -0.0285124909, 0.0149119543, -0.039985422, 0.0488741174, -0.0278591961, -0.0229313634, 0.0129042743, 0.0304855034, -0.002179249, -0.0079024574, -0.0347200446, -0.0280463416, 0.0390478373, 0.0008931881, -0.0596451834, -0.0186692458, 0.0635409877, -0.0090839155, 0.0050185882, 0.0383472666, 1.952083316e-34, 0.0239510629, 0.0336062685, 0.0611976907, 0.0334268063, 0.0331931897, 0.0088500176, 0.0279111564, -0.0034387782, 0.0285901632, -0.0426465385, 0.0072389646 ]
http://arxiv.org/abs/2406.17378v1
http://arxiv.org/pdf/2406.17378v1
A Text is Worth Several Tokens: Text Embedding from LLMs Secretly Aligns Well with The Key Tokens
"2024-06-25T08:55:12"
"2024-06-25T08:55:12"
Zhijie Nie, Richong Zhang, Zhanyu Wu
cs.CL
cs.CL, cs.IR
Text embeddings from large language models (LLMs) have achieved excellent results in tasks such as information retrieval, semantic textual similarity, etc. In this work, we show an interesting finding: when feeding a text into the embedding LLMs, the obtained text embedding will be able to be aligned with the key tokens in the input text. We first fully analyze this phenomenon on eight embedding LLMs and show that this phenomenon is universal and is not affected by model architecture, training strategy, and embedding method. With a deeper analysis, we then find that the main change in embedding space between the embedding LLMs and their original generative LLMs is in the first principal component. By adjusting the first principal component, we can align text embedding with the key tokens. Finally, we give several examples to demonstrate the vast application potential of this finding: (1) we propose a simple and practical sparse retrieval method based on the aligned tokens, which can achieve 80\% of the dense retrieval effect of the same model while reducing the computation significantly; (2) we show that our findings provide a fresh perspective to help understand fuzzy concepts (e.g., semantic relatedness vs. semantic similarity) and emerging technologies (e.g., instruction-following embedding) in this field.
[ 0.0216414165, 0.0149210654, -0.0025149151, 0.0706176013, -0.0150643196, 0.0054255072, -0.0173698068, 0.046867393, -0.0108883996, -0.0588168837, -0.029435223, -0.0297743734, -0.0120660169, -0.0136216031, 0.0631951317, 0.0006274676, 0.051478453, 0.0314214416, 0.0263040382, 0.0025216485, 0.0375800617, 0.0061914241, 0.0502415262, 0.0321019143, -0.0430885218, 0.0119607402, 0.0121815093, 0.0075139399, 0.019449858, -0.0100763738, -0.0199631862, -0.0271162018, 0.055808492, 0.0217763782, 0.0000017882, -0.0053679878, -0.0136570791, 0.0118160797, 0.0133560449, 0.0451977961, 0.0580997877, -0.0040134927, 0.01680292, 0.0029881755, -0.011557404, -0.0184620786, 0.0473549664, 0.0766748786, 0.0262854025, 0.0795493051, -0.0173738897, -0.0398966894, 0.0251177698, -0.0111104921, 0.0199975483, -0.0196629707, 0.0268534776, -0.0441133417, -0.0187503155, 0.0736265481, -0.0044299182, 0.0168380477, -0.0122628361, 0.0285024252, 0.0294047259, 0.0598626025, -0.0399541222, 0.0161154047, 0.0289650895, 0.0533271655, -0.0570187718, -0.0292419344, -0.0039551002, 0.0017488931, -0.0017554977, -0.0043003103, -0.0581495799, 0.0178655349, 0.0330909379, 0.0781229883, 0.0394528247, 0.0190423951, 0.0472593196, 0.0122718047, -0.0412095077, 0.0346926935, 0.0127754901, -0.0725712255, -0.042120479, -0.0055794949, -0.0506004877, 0.0197705161, 0.0074423915, 0.0185010638, 0.0338871554, 0.0218430981, -0.0551608838, -0.0025749288, 0.0355340131, -0.048259832, 0.0153107801, 0.0735649019, -0.0029072056, 0.051681228, -0.0940562114, 0.0587835498, -0.0306036621, 0.0433339886, -0.0670862421, -0.0166535974, -0.0320490673, -0.0405680798, -0.0422718301, 0.0726835728, 0.0031915577, -0.0536574274, 0.003127818, 0.0458851382, 0.0023467736, 0.0405663811, -0.0179051682, 0.0149347913, 0.0099048503, -0.0036638342, -0.0035768084, -0.004043892, -0.0324240066, 0.0069517498, -0.0126195541, -0.0134215606, -0.0297195762, 0.0338004455, 0.0194720086, -0.0166816674, 0.0080251871, 0.0292979963, -0.0162195414, -0.0571317226, -0.0225952696, -0.0042914301, 0.0092856884, -0.0094884392, -0.0341210887, -0.0639959723, 0.0213640202, 0.0067592678, -0.0155703509, -0.036754366, 0.0267857313, 0.068403326, -0.0779067054, 0.0689301789, 7.117e-7, 0.0000339744, 0.0253188368, 0.0136004016, 0.0291199498, 0.0399633497, 0.0044466271, 0.0249256603, 0.0701649114, 0.0138998469, -0.023484109, 0.0147950659, 0.0368716009, 0.0009776443, -0.0205994342, 0.0142633198, 0.0187347196, 0.0456905663, 0.0257373396, 0.071675092, -0.0377222635, -0.0454355627, 0.0504792929, 0.1094622016, 0.0067845825, 0.0132778771, 0.0230926871, 0.0354722701, -0.0313895307, 0.0175989661, -0.0443502627, -0.0019200539, -0.0313368626, 0.0316938907, 0.0663307682, 0.0118582295, -0.0540601388, -0.0208351072, -0.0290590804, -0.0224352144, -0.0113045219, -0.0249766279, 0.0256546009, -0.0306063574, -0.0530183986, 0.0521043874, 0.0369697288, -0.0481816456, 0.0002400904, -0.0140097858, 0.0224302411, 0.0410781913, 0.0556513295, -0.0560571849, -0.0085842237, 0.031796284, -0.0139874583, -0.0033459035, 0.0088753654, -0.000808905, -0.0108154118, -0.0696715787, -0.0285447408, -0.0357475393, 0.0047903596, -0.016628867, 0.0105725909, 0.0217687041, 0.0497566648, -0.0204503499, 0.0241300743, 0.0526247434, 0.0083946185, -0.0214659013, -0.0126947239, 0.0277860463, 0.0098120095, 0.0121668996, -0.002576516, 0.0339140892, 0.0586675033, -0.0513742305, -0.0282002762, -0.0572279394, -0.0612472594, -0.0506744571, 0.0348195806, -0.0071448958, 0.0267557148, -0.0115312058, -0.0495415255, -0.0135484831, -0.0168489832, -0.0314194672, 0.0450779051, -0.0421098843, 0.0365815125, -0.0172658879, 0.0039796601, -0.0627459288, 0.0603354834, -0.0252376087, 0.054155454, -0.0251608267, 0.0188379455, 0.0467524491, -0.0357187986, -0.0686555579, -0.0114825983, 0.0017774676, 0.0269358885, 0.0152081056, -0.0318641923, -0.002874417, -0.0476953015, -0.0952538773, 0.0032859661, 0.0008910592, -0.016318474, 0.0091002369, -0.0119281979, 0.0037005011, -0.0148494085, -0.0571744516, -0.0305407885, -0.0056336536, 0.0330634676, 0.0560167171, 0.0023043468, -0.0110160895, -0.0399634279, -0.0059429267, 0.003095262, 0.0583292469, -0.0538291112, -0.0134852575, -0.067324765, 0.0451954529, -0.0415924229, 7.137e-7, -0.0215307437, -0.0337787718, -0.0034989493, -0.0371307246, 0.0406857394, 0.059620209, 0.0190685559, 0.0396389142, 0.0359783359, 0.016349066, -0.0690036044, -0.0120502207, -0.0446994863, 0.0210306924, -0.005904336, -0.0120512601, 0.0143900532, 0.0245146658, 0.0091226213, -0.0197033007, -0.0507428832, 0.0065052384, -0.0211764984, 0.0291954167, -0.0495120548, 0.0033196977, 0.0012818439, -0.007353059, -0.0237020068, -0.0595299713, 0.0560841523, -0.0592643246, 0.0038244736, -0.0005456338, -0.0551249348, -0.0622899495, 0.0322191864, -0.0041303374, 0.0363453701, -0.0380477197, -0.0025725437, -0.0543248393, 0.0240952484, -0.0089624003, -0.0503968745, 0.0609232597, 0.0403753854, 0.0039725034, -0.0075378274, -0.0341543704, -0.0277503338, -0.0672956705, 0.0019404473, 0.0214366689, 0.0325101838, -0.0020036458, -0.0618982501, 0.018402461, 0.0232812855, 0.0140770301, -0.0022574817, 0.009556368, -0.041107934, 0.0324006565, 0.0403872728, -0.046569638, -0.0277776737, -0.0088057332, 0.0034211995, 0.0528177693, 0.0298351906, -0.0382614508, -0.0188784581, -0.0028859777, 0.028627865, -0.0243717115, -0.0370049253, -0.0089272661, 0.0275757592, -0.0051072119, 0.0025798786, 0.1294656843, 0.0439806134, -0.0504113957, -0.0037030431, -0.0109161595, 0.0160673968, 0.0305109546, 0.0061321817, -0.0545097105, -0.0264361911, 0.0024822545, 0.0042815246, 0.0124117536, 0.0111289881, -0.0015501833, -0.0918688774, -0.0044996212, 0.0186655, 0.0113369906, -0.0919325873, -0.0357608236, -0.0044388436, 0.0184618086, 0.0116728013, 0.0038255637, -0.0045934664, -0.0195064023, -0.0121644121, 0.0194323696, -0.0271409024, -0.0301276408, -0.0503578335, 0.0364672728, 0.0156743061, 0.026343219, 0.0220264886, -0.0487487018, -0.0153780393, -0.0268311445, -0.0082586436, -0.0095008519, 0.0204395019, -0.0342153497, 0.0048911576, 0.004966375, -0.0062756897, -0.0117709003, -0.0077849445, -0.0123557886, 0.0877627656, -0.0095152277, -0.0017432446, -0.0490516424, -0.0117421765, -0.0324408822, 0.0864264295, 0.023379568, -0.0109879803, -0.0179303307, -0.0137931453, 0.0304799434, 0.060159225, -0.0426574498, -0.0171879996, -0.032014247, 0.039155744, -0.0685186982, -0.0073402915, 0.0238423217, 0.0329321325, -0.0135710035, 0.0314892977, -0.0048090634, -0.0631708056, -0.0361040682, 0.0097446712, -0.0405264273, 0.0104345027, -0.057983987, 0.0126451515, 0.048454605, -0.019846091, -0.0292929392, -0.0380232409, -0.0388857126, -0.0581334122, -0.0566590279, 0.01242337, -0.0002503567, 0.0308137238, -0.0000144225, -0.0359396189, 0.0970667601, 0.0584110469, -0.051928889, -0.000066742, -0.0023518975, 0.0199946128, 0.0074723023, 0.0327830054, -0.0464838631, -0.0020027903, 0.0066778846, 0.0430683866, -0.0277478956, -0.0386457555, 0.0255378075, 0.0017637521, 0.0663818792, 0.018196173, 0.0523938015, -0.0360400453, 0.0164680444, -0.0234100167, -0.0308442302, -0.0322241075, 0.0043376372, 0.0405135415, -0.0136857843, -0.0011331284, -0.0188923329, 0.0135204121, 0.0867598429, -0.0145535674, -0.0304086879, -0.043577116, 0.0184450317, 0.0145039503, 0.0260225162, -0.0344357193, -0.0003764731, -0.0494805649, 0.0019415503, -0.0548663847, 0.026051715, 0.0171203259, -0.0102532767, -0.0608486608, 0.0504674427, -0.041775845, -0.0207157712, -0.0296813268, 0.0220826827, 0.0357225128, -0.0453444049, -0.014613946, -0.0066891541, -0.0300481599, -0.0091861235, -0.0141599653, -0.0015156749, -0.0374557301, 0.0419646762, 0.0347210243, -0.0324294902, 0.0039947387, 0.0626697987, 0.0053077079, 0.007919142, -0.0210577101, -0.0368453451, -0.0178136844, 0.0051451721, 0.102309607, 0.0741091892, -0.0189658757, 0.021062851, -0.0172500573, -0.037775699, -0.0039412002, -0.0239960216, -0.0571625419, -0.0090034241, 0.0390179344, 0.0536556095, -0.0040396745, 0.000778965, -0.0334588066, -0.0023822174, 0.0021544672, -0.0554369986, -0.0251353364, -6.035400522e-33, -0.0167241003, 0.0084000286, -0.0031357072, 0.0111906808, -0.0259545874, 0.020433154, 0.0050577568, -0.0256801229, -0.0207221322, 0.018031517, -0.0116556501, -0.0123198805, -0.0099598002, 0.0414182693, -0.034323059, 0.0052408669, 0.0213910751, -0.0068699177, -0.0000815723, 0.0226793401, 0.0412118584, 0.014787687, 0.0262100287, -0.0436414741, -0.0180062801, -0.0373476855, 0.0270191915, 0.0460579358, 0.0474544875, 0.0698122904, -0.0372347236, 0.043217089, 0.0332320519, 0.0061031473, -0.0283316076, 0.0204070844, -0.0359089151, -0.034738183, 0.0132864416, -0.0219204929, 0.0036515638, -0.0317510962, 0.0449631996, -0.0385825075, -0.0086077452, 0.0072039515, 0.0392069668, 0.0014103334, -0.0581061728, 0.0114213731, -0.055706732, 0.0280279424, 0.0091243479, 0.0143345781, 0.0298166703, -0.0098067634, 0.0489078946, 0.0751607716, -0.0726402998, 0.0038544605, -0.0553256497, 0.0799595416, 0.0074006491, -0.0018952549, 0.007786111, 0.054919377, -0.003880155, -0.0333619304, -0.0646360889, -0.0049537057, 0.0293519907, 0.0299010053, 0.0423067883, 0.0258002225, 0.036526978, -0.0285449494, -0.0316147469, 0.0242563896, 0.0098087406, 0.0165348444, 0.0553585775, 0.0710695609, -0.076469183, -0.0236540399, -0.0218967013, 0.0118483473, -0.0451037437, -0.0106269848, 0.0169006828, 0.0316779725, -0.0093271965, -0.0148757752, 0.0214626212, -0.0437453091, -0.0010239914, 0.0255316794, -0.0131811472, 0.0147667332, 0.0033007711, 0.0283315238, -0.0573797897, -0.084453024, 0.0300449096, -0.0418240018, -0.0287327319, 0.0082763927, 0.0461148061, 0.0019032806, -0.0757325515, -0.0055851289, -0.0047908067, -0.0692698807, -0.018454833, -0.0192155521, 0.0048205061, 0.0112971859, 0.0260173008, 0.0452702604, 0.0395728238, 0.0092286626, -0.0199054796, -0.0320591144, 0.0013720804, -0.000506819, -0.0001451547, 0.0439386442, -0.058574371, 0.0248379111, 0.0129513899, -0.053184852, -0.0041629937, 0.0294515248, 2.524e-7, 0.0252934601, 0.0327535905, 0.0260051973, -0.0022742725, -0.0020109818, 0.0608397163, -0.0038788086, 0.0303688459, -0.0046487325, 0.009391549, 0.040484108, 0.0180610083, 0.0020011137, -0.0098481188, -0.0808888152, 0.0614954531, -0.0748704672, -0.0392866731, -0.0410175808, 0.0076632081, 0.0643677562, 0.1395390183, 0.0394904017, 0.0193497594, -0.0047792098, -0.0728814825, 0.0710880682, -0.0263341554, 0.0186805651, 0.0044569862, 0.0014308384, 0.0305414926, 0.0090111773, -0.0224185474, 0.0046660416, 0.0736104995, 0.0516789742, 0.0513076223, -0.0019184063, -0.0190613233, -0.0043586954, -0.0501333065, -0.0077397404, -0.0988361239, 0.0647952333, -0.0404207557, -0.005733809, -0.0315338224, 0.0002219629, 0.0190233979, 0.0271790382, 0.0093690082, -0.0438588299, 0.028587183, 0.0383405015, -0.0057337005, -0.0154827544, -0.1175099313, -0.0020108621, -0.0125250714, -0.0699424893, -0.0077545485, -0.0378087573, 0.0380434692, 0.0647936985, -0.0326285958, 0.0030311965, 2.646236837e-34, 0.0142088486, -0.0186252706, 0.0034454565, 0.0340598933, 0.0394265316, -0.0101720011, -0.0102716964, 0.027285384, 0.0117647052, -0.0746672675, 0.0028407031 ]
http://arxiv.org/abs/2406.17377v1
http://arxiv.org/pdf/2406.17377v1
A Three-Pronged Approach to Cross-Lingual Adaptation with Multilingual LLMs
"2024-06-25T08:53:46"
"2024-06-25T08:53:46"
Vaibhav Singh, Amrith Krishna, Karthika NJ, Ganesh Ramakrishnan
cs.CL
cs.CL
Low-resource languages, by its very definition, tend to be under represented in the pre-training corpora of Large Language Models. In this work, we investigate three low-resource cross-lingual approaches that enable an LLM adapt to tasks in previously unseen languages. Llama-2 is an LLM where Indic languages, among many other language families, contribute to less than $0.005\%$ of the total $2$ trillion token pre-training corpora. In this work, we experiment with the English-dominated Llama-2 for cross-lingual transfer to three Indic languages, Bengali, Hindi, and Tamil as target languages. We study three approaches for cross-lingual transfer, under ICL and fine-tuning. One, we find that adding additional supervisory signals via a dominant language in the LLM, leads to improvements, both under in-context learning and fine-tuning. Two, adapting the target languages to word reordering may be beneficial under ICL, but its impact diminishes with fine tuning. Finally, continued pre-training in one low-resource language can improve model performance for other related low-resource languages.
[ 0.0269473922, 0.0220230594, -0.0252116229, 0.0599457882, -0.0260742418, 0.0342288278, -0.0152182737, 0.0047232383, -0.0107247876, -0.0228393339, -0.1093615666, -0.0394842401, -0.0240215026, -0.015601011, 0.0411178991, -0.0351206698, 0.0746736154, -0.0546085611, -0.0200630259, -0.0083931684, -0.0058850325, 0.010419921, -0.0087095937, -0.0229518786, -0.0006548125, 0.0109485025, 0.037011873, 0.005678915, 0.0175362881, -0.0399191901, -0.0047715656, 0.0196359716, 0.0178792384, 0.0159596261, 0.0000018536, -0.0794830099, -0.0120323217, -0.0256027859, -0.0015263291, 0.0216494258, 0.0532946475, -0.0454741046, -0.024567306, 0.0189901683, -0.0230857544, 0.0349015146, 0.0595915429, 0.0203813314, 0.0177565701, 0.1243655831, -0.0160451569, -0.0205513705, 0.0187610425, -0.0321135931, 0.0083328271, -0.029389143, 0.0144397449, -0.0290985461, -0.0004258199, -0.0078850212, -0.0464120209, 0.0472426973, 0.0054633776, 0.0030269884, -0.0111421961, -0.01035331, -0.0153255556, -0.0105880499, -0.0255438834, 0.0435232334, -0.0578410029, -0.0328706205, -0.0011150676, -0.01415205, -0.0205229893, -0.0334281959, -0.0530238934, 0.0188212525, 0.0256559402, 0.0317128524, 0.0812830403, -0.0132694375, 0.0462122709, -0.0124162212, -0.0135744149, 0.0442431122, 0.0370883681, -0.0194370896, 0.0200161487, 0.0251334235, 0.0259112809, -0.0274817124, 0.0029896889, 0.0300336406, -0.021044815, 0.0439299308, -0.0441511013, 0.0069478038, 0.0110026896, -0.0237728897, 0.033234816, 0.0505850725, -0.0484464355, 0.0288630836, -0.040444985, 0.0245218594, -0.0527451746, 0.0629043952, -0.0487925895, -0.0305458438, 0.0235207081, -0.0076192105, -0.0012331639, -0.0078041963, -0.0406963937, 0.0258750413, -0.0750503615, 0.0386902764, 0.0286262799, -0.0337913036, 0.0336639732, -0.0716635212, -0.0379094519, -0.023537606, -0.013270841, 0.0372013636, 0.0030210989, 0.0398953669, 0.0011173177, -0.0766773373, -0.0163899902, 0.0410997458, -0.0343249813, -0.0369187109, 0.0246547367, 0.0978736505, -0.0551401004, -0.0346394815, -0.0876868963, 0.0658996776, -0.0152178891, -0.0536724478, 0.0352055393, -0.0599930994, 0.0387954228, 0.0203276165, 0.0285790432, -0.0310369097, -0.0098999087, -0.0159891043, -0.0261976235, 0.0579261109, -0.0059707304, -0.0028950782, 0.0199371781, -0.0086886864, 0.0261778366, 0.091288358, 0.0370675661, -0.008505594, 0.0493835285, -0.0210483707, -0.0190298893, 0.0825567469, -0.0055084587, 0.0357671939, -0.0282759573, 0.0024876073, 0.0110907005, 0.0212236512, 0.0554638728, 0.0046185963, 0.0108259302, 0.0269696843, 0.0293328092, 0.063877143, 0.0422911905, 0.0353963599, 0.0496152565, -0.0487067662, -0.0148778446, 0.025028443, -0.0506714657, 0.0353018716, -0.0071334094, -0.0238829907, 0.0127522545, 0.036552649, -0.0355622247, -0.0035252126, -0.0063879741, -0.0331868529, -0.0283436924, -0.0156388152, 0.0536598898, 0.0045337332, -0.0299721304, 0.0559946038, 0.0947328359, -0.0447929129, 0.0299354549, -0.0515362918, 0.0208884757, 0.037788704, -0.0218387675, -0.0480165407, -0.0286016315, 0.0380062833, 0.0288211424, 0.056831196, 0.0536450297, 0.0023112881, 0.0204535853, -0.0529119633, 0.0348759033, 0.0092909858, 0.0036976647, 0.0818623826, -0.0236593988, 0.0382308587, -0.0101982895, -0.0201977193, -0.005956314, 0.0348680466, -0.0720768198, -0.0288548656, 0.0141536249, 0.0060533565, 0.0512359142, -0.0105968043, -0.0069424328, -0.0238057002, 0.0115394723, -0.0511499532, 0.0268874336, 0.0058273589, -0.0488246009, -0.0256348774, 0.0371242017, 0.0049198987, 0.0274105817, 0.0029394545, -0.0148492521, -0.0553019457, 0.0286449622, 0.0180508737, 0.0473568179, -0.035174448, 0.0463209674, -0.0020857304, 0.0344803594, -0.0237814803, 0.0116871763, 0.0260972735, -0.0239408631, 0.0151816802, -0.0019506207, 0.0308839437, -0.0550929643, -0.0056748316, 0.0471982472, 0.0162309613, 0.0147142988, -0.0020165215, 0.0467947088, -0.0352562368, -0.0380229652, -0.0653536394, 0.0006184707, -0.0259361789, 0.0447841585, 0.0087858541, 0.0291863345, -0.0402654447, -0.010354314, -0.0345314182, 0.0282924995, 0.0387048908, 0.0283657145, 0.0303627942, -0.0072131548, -0.0033391418, -0.044443842, -0.0242711026, 0.0242650453, 0.0166961625, -0.0457184874, -0.0726413354, -0.0624634624, 0.0322283618, -0.032361269, -0.0015915998, -0.0384504199, -0.0478299148, -0.0355091952, -0.009539552, 0.0218903814, 0.0311421528, -0.0432462506, -0.0092023071, 0.0337054841, -0.0247229543, -0.0298117921, -0.002850082, 0.0464343838, -0.0359091088, -0.0715146214, -0.0091536157, -0.0037939586, 0.0769055486, -0.0428207815, -0.0199599247, -0.047691457, -0.0644644126, -0.0405640304, -0.0264105387, -0.0027382872, 0.0347931907, -0.0223595835, 0.0638407394, -0.0079682637, -0.0359768085, 0.0109595535, -0.0391192809, -0.0084702158, -0.062353231, -0.0337719806, -0.0724269599, -0.0075366469, -0.0265489817, 0.0029539389, -0.0444659255, -0.0305727087, -0.0786371455, -0.0089257937, -0.011596771, -0.0096819066, 0.0365585536, -0.0664901733, 0.0208285972, -0.0461235233, -0.0293849427, -0.0081436671, -0.0168622565, -0.0027083959, 0.0108482037, 0.0342657194, 0.0044034813, -0.0251158364, 0.0155796241, 0.0401016586, 0.0236794408, 0.0034633919, 0.0287862886, -0.0190364327, 0.0121577745, 0.030919183, 0.0430660918, 0.0253708139, -0.0430968553, 0.0028460401, -0.0170385595, 0.0543797053, -0.043074429, 0.0089107174, 0.0324937403, 0.0623823069, -0.0175729319, -0.0435096473, 0.0076119276, 0.0637298077, 0.0116207339, -0.0085448818, 0.0518609881, 0.0016533481, -0.0573213771, 0.0015397252, -0.047888495, 0.0074166935, 0.0195737612, 0.0555693433, -0.0718455091, -0.0140768383, 0.0149583463, -0.0353847146, 0.0267055072, 0.0052832686, -0.0390838645, -0.11764355, 0.007830183, 0.0078821452, -0.045960322, -0.0259553399, -0.0219580717, -0.007036027, -0.0022949139, 0.0449449271, 0.0009408676, -0.0327887908, -0.039962355, 0.0412483141, 0.0042693331, -0.0320371017, -0.0239657145, -0.0205640681, 0.0381938741, 0.0345971547, -0.0067764535, -0.0399199612, -0.019525962, 0.0682534799, -0.0443299636, -0.0153987389, -0.0212518442, -0.0053721252, 0.0189497788, -0.0203200225, 0.0541364364, 0.0110356929, -0.0296068098, -0.0105116963, 0.0260692015, 0.0664570928, 0.0282202139, -0.0096495654, 0.0205315128, -0.0257945322, 0.0095470296, 0.0275246818, 0.018678695, -0.044034332, 0.0035299973, -0.00517317, -0.0313461833, -0.0231231116, -0.0239024349, 0.0050164936, -0.085735999, -0.0219849665, -0.0516475439, -0.0371978804, 0.0088925799, 0.048977755, 0.0565231219, 0.0454760268, -0.0246089082, -0.0151340934, 0.0071896156, 0.0087884935, -0.0606877878, 0.0225197412, -0.0912393332, -0.0103721451, 0.0279470831, -0.0359765068, -0.0057976977, -0.0288423412, -0.0455796123, -0.0648965016, -0.0071007637, 0.0547567829, 0.0122063868, 0.0107308058, 0.0036354365, -0.0663845167, 0.081409283, 0.0034059356, -0.026991047, 0.058306776, 0.0447537266, 0.0382286124, -0.0030968294, 0.0533617958, -0.0610798299, 0.0100069782, 0.043200247, 0.0296293646, -0.029489411, -0.0224369653, -0.0143455332, 0.0428239517, 0.0130695486, -0.064877294, -0.0235009491, -0.0526148453, 0.0643518344, -0.0127090272, 0.0086165443, -0.0242555439, -0.0402675383, 0.0452929325, -0.006236956, -0.0101402849, 0.0065447683, 0.0072434004, -0.0072947238, -0.0130743673, 0.0447784923, 0.0149412528, 0.0508826524, 0.0158862788, 0.0476453006, 0.0148408106, -0.0064842198, 0.0123771178, 0.0372128785, -0.0294737145, 0.0161894411, -0.0248334166, 0.0015104191, -0.0099301105, 0.0537715442, 0.0023723305, -0.0092424573, 0.019228695, 0.05386227, 0.0945684537, -0.0279792473, 0.0946845859, 0.0002144581, -0.0038924341, -0.031405285, 0.0171823986, -0.0326970555, 0.0315200426, 0.0343981907, -0.0168813653, -0.0251137689, 0.0141258445, 0.0564367846, 0.0043332856, 0.0205405187, -0.0019657454, 0.0407123566, -0.0088397013, -0.0325340219, 0.052228082, -0.0263580456, 0.0107378736, 0.0000881052, -0.0508632846, -0.0506568849, 0.0143271443, -0.034012761, -0.0176768005, -0.0246282145, -0.0074126436, 0.0734869689, 0.0191201847, 0.0352695324, -0.0352598242, -0.0408657975, 0.0313706361, -0.0214188211, 0.0451626778, -6.164331314e-33, -0.0609837174, 0.0357191451, 0.0370866396, -0.0038802053, -0.0029739474, -0.0057499339, -0.0037080732, -0.0189274196, -0.002234593, -0.0162677336, -0.039506577, -0.0092237433, 0.0323791541, 0.0053890105, 0.0251809042, 0.0055138804, 0.0105390986, 0.0056194775, -0.0084182862, 0.0115517955, 0.0225792099, 0.0446034446, 0.1056497842, -0.0264643375, 0.0106610721, 0.0029644833, 0.0332542732, 0.0318508148, -0.0078383945, 0.036881499, -0.0278209858, 0.0379482768, 0.0322333425, -0.0306245182, -0.0354463272, -0.0003808419, -0.061815355, -0.0186307523, 0.0607349575, 0.038436234, 0.0242931433, -0.0612241365, 0.0321568586, 0.0025722715, -0.0281728748, 0.0099246772, 0.0068968423, -0.0035293815, -0.0228249617, 0.006593789, -0.093380779, 0.0332657769, 0.0177456196, 0.0084221121, 0.0276768133, 0.0192525573, -0.00560319, -0.0050389017, -0.028166078, 0.0160925239, -0.0096908221, 0.0745012835, 0.0726985112, 0.0159731302, -0.0595188774, 0.0075686476, 0.0291331131, -0.0302174445, 0.0771963969, -0.0161064975, 0.0205334313, 0.0189902745, -0.0023063086, 0.0525874123, 0.0081617478, -0.0453867875, -0.086136654, 0.0173234865, 0.0346207917, 0.0198701452, -0.0126094176, 0.034780547, 0.003547143, -0.0319453925, 0.0132107073, -0.0144800432, -0.012346182, -0.0318100117, 0.0442871712, -0.0211919956, 0.0127268014, -0.0077558998, 0.0619231686, -0.0123769883, -0.0285421573, -0.0126549387, -0.0152330408, 0.0154172527, 0.002542357, 0.0537598729, -0.0868753046, -0.0601499267, -0.023988409, -0.0144594796, 0.0042248932, -0.017891679, 0.0553902313, 0.0111303953, -0.0786574408, -0.0011806547, -0.0205672104, 0.022489557, 0.0391012803, 0.0683484226, 0.0052966224, -0.0095823165, -0.0026217566, 0.0204274114, 0.0364681929, -0.0477022342, 0.0141349183, -0.0024093299, 0.0051338491, 0.0247657597, -0.0384301469, 0.016114492, -0.0376833566, 0.0646299273, 0.0043161334, -0.0506983101, -0.0105558857, 0.0190513749, 2.684e-7, 0.0248984396, 0.0275004152, 0.0008672431, -0.0300585534, -0.0009296539, -0.0115199834, -0.0890116766, 0.0330164433, 0.0022826316, 0.0214300137, 0.0157455094, 0.0293688141, 0.0686146617, 0.0092269722, -0.0684498176, -0.0039040314, -0.0266982224, 0.054021515, -0.0404867902, -0.0059808972, -0.0458855182, 0.0838993117, -0.0007701596, -0.0300263986, -0.0260215979, -0.0446007922, 0.0576261058, -0.0607647337, -0.0254848395, 0.026151292, 0.0147476736, 0.0174847208, -0.0477276146, -0.0189113077, -0.0244906135, 0.0593937524, 0.0068323086, 0.0703288689, 0.0103478804, -0.0301212985, 0.0387049727, 0.0432929583, -0.027899364, -0.024969006, 0.051278159, 0.0133228879, -0.0202075876, -0.0319510363, 0.0112018315, -0.0112722991, 0.0174569804, -0.0270024575, -0.0159123745, 0.0154191274, 0.0481361598, -0.0254394934, -0.0793608129, -0.0265900847, -0.0136030866, 0.0340324529, -0.0208983924, -0.0759541094, -0.0289205965, 0.0116571989, 0.0087607428, -0.0377733484, 0.0271558743, 2.118583596e-34, 0.0336015299, -0.004917427, 0.0257100612, 0.0309694335, 0.0073049967, -0.0280500166, -0.0184134562, 0.0327797867, 0.0014848144, -0.0741328299, 0.0084449966 ]
http://arxiv.org/abs/2406.17375v1
http://arxiv.org/pdf/2406.17375v1
An Empirical Study on the Characteristics of Bias upon Context Length Variation for Bangla
"2024-06-25T08:49:11"
"2024-06-25T08:49:11"
Jayanta Sadhu, Ayan Antik Khan, Abhik Bhattacharjee, Rifat Shahriyar
cs.CL
cs.CL
Pretrained language models inherently exhibit various social biases, prompting a crucial examination of their social impact across various linguistic contexts due to their widespread usage. Previous studies have provided numerous methods for intrinsic bias measurements, predominantly focused on high-resource languages. In this work, we aim to extend these investigations to Bangla, a low-resource language. Specifically, in this study, we (1) create a dataset for intrinsic gender bias measurement in Bangla, (2) discuss necessary adaptations to apply existing bias measurement methods for Bangla, and (3) examine the impact of context length variation on bias measurement, a factor that has been overlooked in previous studies. Through our experiments, we demonstrate a clear dependency of bias metrics on context length, highlighting the need for nuanced considerations in Bangla bias analysis. We consider our work as a stepping stone for bias measurement in the Bangla Language and make all of our resources publicly available to support future research.
[ 0.0234380905, 0.0294750612, -0.0633498579, 0.0154144978, -0.0232404843, 0.0222513545, 0.041992195, -0.0465881787, 0.0028073327, -0.0136272535, -0.0361435935, -0.0550857149, 0.075938426, -0.0095002558, 0.0116794314, -0.0692981109, 0.0396141857, 0.0190974213, 0.0707230046, -0.0114386557, 0.0216967575, 0.030478986, 0.004504587, 0.0202650558, -0.0306947976, 0.007066601, 0.0276668817, 0.0117623387, -0.0118474467, -0.0329013653, 0.0243226327, 0.0874414966, -0.021200113, 0.0156127159, 0.000001694, -0.1077713519, 0.0067665279, -0.0019080818, -0.0248913188, 0.0261302516, 0.0581733026, 0.0094512822, -0.0332010053, 0.0388905406, -0.0433369279, 0.0109999683, 0.0641437694, 0.0017255873, -0.0148027921, 0.0490087792, -0.0156847183, -0.0350781977, -0.0741575807, -0.0326937847, 0.0033271143, -0.0017669334, 0.0426254757, -0.0143289203, -0.0371788032, -0.041483704, -0.0448636338, -0.0051771291, 0.0157166664, -0.0051637958, -0.0106830727, 0.0083510717, -0.0240448378, -0.0573526956, 0.0151612228, 0.0357704051, 0.0166188497, -0.0452417098, 0.0097245527, -0.0052214451, 0.0373220704, -0.0330652595, -0.0164260399, 0.0108543904, 0.0230620895, -0.0077326489, 0.0303543843, 0.0282624401, 0.0037029607, 0.0136154909, -0.0040213997, 0.0494852439, 0.0231762398, -0.0349545442, -0.0131674139, 0.0089764781, 0.0463544242, -0.0386773385, 0.0059836968, -0.0293998495, 0.0063738395, 0.0170349572, -0.0168438368, -0.0183027294, 0.0281318389, -0.0564896576, -0.0066372794, 0.0232995637, -0.0488141105, -0.0137087163, -0.0002953361, -0.01234446, 0.017275285, -0.0193346404, -0.0215566419, -0.0096701924, 0.0156917945, -0.0143422522, -0.0195563063, -0.0554411225, -0.0183939021, 0.0493705645, -0.0773579031, 0.0181042328, -0.0411414392, -0.0312234871, -0.0097466344, 0.0070958384, -0.0063637546, -0.0162836462, 0.0250856169, 0.020267237, -0.071420975, 0.0292001329, -0.0292162821, -0.1427743137, 0.024482118, 0.006147387, -0.0024088474, -0.0401884578, -0.0246625282, 0.0231549572, -0.0089750076, -0.0113026388, -0.0250436515, -0.0009512268, -0.0617919005, -0.057200335, -0.0453981571, -0.0508466065, 0.0300178062, 0.0523609146, 0.0089502446, -0.0161573924, -0.0365048014, 0.0029610542, -0.0099149076, 0.0293130837, 0.0283686183, 0.0193480086, 0.0795689896, 0.0194496047, 0.0488868989, 0.09479177, 0.0111380108, -0.0422421433, 0.0589282885, -0.0344041884, -0.021958068, 0.0369954444, 0.0341435634, 0.0101916436, -0.0344002917, 0.0181216486, -0.0037503683, 0.0019695791, 0.0610476583, 0.0006754549, 0.0016414637, 0.0138757471, 0.0369685739, 0.0665108562, 0.0301798452, 0.0369755141, -0.0032806995, 0.0025170601, -0.0111749796, 0.0147602018, -0.0474412404, -0.0162854791, -0.0237551071, -0.0294004194, 0.0153330062, 0.0485296808, -0.0109244399, 0.0014812609, -0.0068255216, 0.0238394905, 0.0175485723, -0.0182705186, 0.0355947837, 0.0168042891, 0.0311692245, 0.0331495404, 0.0564732775, -0.0558038466, 0.0180249624, -0.0158833824, 0.0324324183, -0.0213695876, -0.0400457457, -0.0175121836, 0.0378310531, 0.0032848762, -0.0021403066, 0.0398885421, 0.0706522539, -0.0045586526, 0.0120400954, -0.0347154327, 0.0207899269, 0.0676081553, 0.0280370843, 0.0240784436, 0.0162422527, 0.0692841932, 0.0161320399, -0.0355650708, -0.0332734659, 0.0221892949, -0.0090364553, -0.0219403561, -0.0130366711, 0.0002816905, 0.0447360687, 0.0026021374, -0.0473116934, -0.004142601, -0.0318272971, 0.0146179013, 0.0278554522, 0.0698760003, -0.0699357986, -0.0108946254, 0.0057211658, -0.0647827387, -0.0166570861, -0.0090791937, 0.0268072486, -0.0196732264, 0.0913865268, 0.0021081511, 0.069676131, -0.0094755897, 0.0233415719, -0.0569309928, 0.0363066122, -0.0120566897, 0.0203440115, 0.0032497963, -0.0471821055, 0.0207401291, -0.0083000008, 0.0555951409, -0.0738263056, -0.0233961158, 0.0239944737, -0.0183019731, -0.008470336, 0.0342508107, -0.0098424908, -0.0555028021, -0.0049065356, -0.118833214, -0.0447270125, -0.015595993, -0.0079641165, 0.0176244266, 0.0539426841, -0.0595711581, -0.0366745703, -0.0070925052, -0.0271856915, 0.0255358666, 0.0481035151, -0.0048670657, -0.0234110355, -0.0161333103, -0.0545945019, -0.0316778012, -0.027233921, 0.0502340905, 0.0445351899, -0.0226049013, -0.0330765806, -0.0290182885, 0.0041652811, -0.0136595424, 0.0015997281, -0.0325532816, 0.0208145808, 0.0303918552, 0.0334220789, 0.0840238333, 0.0244057756, -0.002410922, 0.0351870432, -0.0094394544, -0.047348015, -0.0485173725, 0.0057333601, 0.0193718858, -0.0201832838, -0.0625965893, -0.0205751918, 0.0461785644, 0.0281116404, 0.0055370368, -0.0324465334, 0.020988144, -0.0352169126, -0.0542995147, -0.0162074137, 0.0011306007, -0.0279732011, 0.0672234967, -0.0334573574, -0.0727830082, 0.0173172168, -0.0061611347, -0.0014482808, -0.0290656239, 0.0353566892, -0.0218112525, 0.03034514, -0.0269277934, 0.0112920031, 0.0031523842, -0.0267240275, -0.0560162701, -0.0049434085, 0.0471083745, -0.0051383721, -0.0266806353, -0.0500708036, 0.0105505753, -0.0118842563, -0.0371304899, -0.0051735863, -0.0253857505, -0.0041162143, -0.0118690189, 0.0061286939, 0.0077873748, 0.0660193264, 0.0136515787, -0.0258201715, 0.0034875595, -0.0099988086, 0.0202585589, 0.0196630545, -0.0271535013, 0.0072326781, -0.0062353299, 0.0658631176, -0.0194076169, -0.0105627663, -0.0281541944, 0.0397252925, 0.0306522585, -0.0089711072, 0.0185346268, 0.0327438042, -0.0279365592, -0.0097039342, 0.0314678773, 0.0550748482, 0.0048256209, -0.0019852389, 0.0872476548, 0.0056796456, -0.0667228624, 0.0203534011, -0.0556626171, 0.0432853922, 0.0060596848, -0.0017854895, -0.0756398961, 0.0163916685, 0.0330374688, -0.0225934405, -0.0086125117, -0.0273663122, -0.0113882655, -0.1349581182, -0.0177060217, 0.0050423774, -0.0470682792, -0.0295746494, -0.0271833278, 0.0252659712, -0.0081999842, 0.0603108145, 0.0411019139, -0.0161428843, -0.0136950333, 0.0297193788, -0.0521453433, -0.0730333924, 0.0249143932, -0.0686569512, 0.0630873665, 0.0340364426, 0.0153002953, -0.0409030989, 0.0503172949, 0.0445432402, -0.031918142, -0.0163002014, -0.0281526092, 0.0019318598, -0.0217721015, -0.0296757128, -0.023926381, 0.0517146513, 0.0412908085, 0.0360079259, 0.016640814, 0.0146676367, 0.0418561995, -0.0281818919, -0.0209864266, -0.0344431289, 0.0144096296, 0.0403358601, 0.0569267385, -0.049735751, -0.0188936871, -0.0271291863, -0.0143341552, 0.0396188088, -0.0583517142, 0.0023263125, -0.0238629784, -0.0688193515, -0.0104991747, -0.061307136, 0.0037143177, 0.0515900068, 0.0268925261, -0.029306205, 0.0043437248, -0.0050670654, -0.0331552029, 0.0218705181, -0.0350372829, 0.0295255985, -0.0199921969, -0.0085130464, -0.0493005589, -0.024186898, -0.0200454816, -0.0161309242, -0.0410122499, -0.0604234338, 0.0813953355, 0.0096209338, 0.032079868, 0.0506439693, 0.0041711046, -0.0793741792, 0.0625494197, -0.0197084267, -0.0319576152, 0.0737449303, 0.0426377095, -0.0042432733, 0.0280777272, 0.0333697312, -0.0319191106, 0.0228239335, 0.0082621733, -0.0198306963, -0.0254564937, -0.0223064031, -0.0165638346, -0.0188969597, 0.032066647, -0.060814511, -0.0057502124, -0.0537207834, -0.0015471786, 0.0035065305, -0.0273496192, 0.0224505924, -0.0543215834, 0.0392533019, 0.0551095717, -0.0086533939, -0.0460634418, -0.0618443228, -0.0010309378, -0.0047786199, 0.0634688213, 0.0564771742, 0.0724481642, 0.0172174741, 0.0295159128, 0.0214326233, -0.00048409, -0.0461666025, 0.0489606969, 0.0148390112, 0.0073538492, 0.0135290446, 0.0127999866, 0.0123727201, 0.029045945, 0.0244285595, 0.0350103192, 0.019340517, -0.0206398834, 0.0384042636, -0.0596990138, 0.0738897175, 0.0044597192, 0.0240722299, -0.0322731175, 0.0157720707, -0.0367099792, -0.0088921823, 0.0138655547, -0.0189033411, -0.0214579627, 0.0437484533, 0.0364823192, 0.0288707707, 0.0308954641, -0.0100338142, -0.0127988188, 0.0030773927, -0.0143154757, 0.0061593694, -0.0199298356, -0.0306827147, -0.0201704726, -0.1045767069, -0.0669196621, -0.0460705385, -0.0170640089, 0.0448497385, 0.0165373012, -0.0038571521, 0.0619164556, -0.0322058536, -0.0107462918, -0.0071070134, -0.0357412249, -0.0135526787, 0.0138424467, -0.0076083057, -5.778212276e-33, -0.0296172146, -0.0190255828, -0.0237156358, -0.0523748696, -0.0132422633, 0.0056519462, -0.0306113418, 0.0247064941, -0.0137252603, 0.0053359782, -0.0153431809, 0.0154741751, 0.0288978908, -0.0304038767, 0.064177677, 0.0015392707, 0.0235762298, 0.0290611442, -0.0103227524, -0.0363855287, -0.0027802298, 0.0135794636, 0.0651062131, -0.0368581973, 0.0876309201, -0.0141341444, -0.0129176741, -0.0110185323, -0.0151203433, 0.0245480519, -0.0020693312, 0.0579752773, 0.0325092822, 0.0103628058, -0.0118666645, 0.0697689056, -0.0476806238, -0.0486872643, 0.0476891473, 0.0711381957, 0.0233055782, -0.0001078232, 0.023101503, 0.0038777201, -0.0864287987, 0.0237846561, 0.0190529656, 0.0216787048, 0.053048972, 0.0783966035, -0.0485924371, 0.0222537462, -0.0267592166, 0.0308083035, 0.0029350733, 0.0005768352, -0.020035781, -0.0370252654, -0.0223159809, 0.0321733132, 0.0283962712, 0.0197741631, 0.0356655978, 0.0244929828, 0.0343458988, 0.0153826633, 0.1090587899, 0.0091207102, 0.0159361251, -0.0577956811, 0.0730538294, -0.0496525392, -0.0025143826, 0.077426061, 0.0565996282, -0.0346762799, -0.0250931792, -0.045410309, 0.0814458728, 0.0372679271, 0.0120458305, 0.0136740096, -0.081890285, -0.0677071065, -0.0182595048, -0.0714973584, -0.0095759034, -0.0163621195, 0.0622126833, -0.013024386, 0.0032307948, 0.0047436291, 0.0364026055, -0.0267896503, -0.0229834113, -0.0002612664, -0.0279346574, 0.0017262113, 0.0365612507, 0.0367732942, -0.0801121071, -0.0011974731, 0.0128662987, 0.0507843494, 0.0001340298, 0.003191994, -0.0111659458, -0.0131738465, -0.0628029928, 0.0122095076, -0.0140220011, -0.0229115821, 0.0061528529, 0.0224793274, 0.0365043022, 0.0099020815, -0.0098988349, -0.00052019, 0.0510100834, 0.020851763, -0.0318590403, -0.0229527988, -0.0351998173, 0.0278197881, -0.0321625695, -0.0193602424, -0.0116247749, -0.0073985686, 0.0469549634, -0.0140515286, 0.0047231363, -0.0288049001, 2.38e-7, -0.0245235041, 0.0543717518, 0.0550190099, -0.0132308658, 0.0246959366, 0.0141614638, 0.0026923751, 0.0296967719, 0.0177855249, 0.0273029339, -0.0228318181, 0.0088523403, 0.004830475, 0.0176350661, -0.0699636117, -0.0079236086, -0.091224812, 0.0433783755, -0.0057059783, -0.0090951808, -0.0679464787, 0.0382460095, 0.0206066687, -0.0093417084, -0.0468437783, 0.0061234692, 0.0043445323, -0.0349880345, 0.0350589044, 0.0222259834, 0.0133270221, 0.0152695216, 0.0350019671, 0.0215085391, 0.0123706032, 0.0223557334, -0.026365865, 0.0052060853, -0.0327240676, 0.043269515, 0.0269310102, -0.0077617359, -0.0533772893, -0.0739307404, 0.0663056672, 0.0403716229, -0.025359327, -0.0511109047, -0.0175436381, -0.0148134725, 0.0558441505, -0.0134165389, -0.0053194342, 0.0047112992, 0.039694868, -0.0364411436, -0.019553205, -0.0393117033, -0.0265597329, 0.0082772616, -0.0183641706, -0.0423028208, 0.0047840374, 0.0620596334, 0.0152188232, -0.0373575091, 0.0503358394, 1.583050755e-34, 0.0341945551, 0.0245516412, 0.0516346097, -0.0149558028, 0.0276392549, -0.0261796955, -0.0111974301, -0.0012004656, 0.0727547556, -0.0228925422, 0.0027681922 ]
http://arxiv.org/abs/2406.17363v2
http://arxiv.org/pdf/2406.17363v2
Leveraging Synthetic Audio Data for End-to-End Low-Resource Speech Translation
"2024-06-25T08:26:41"
"2024-06-27T09:08:03"
Yasmin Moslem
cs.CL
cs.CL, cs.SD, eess.AS
This paper describes our system submission to the International Conference on Spoken Language Translation (IWSLT 2024) for Irish-to-English speech translation. We built end-to-end systems based on Whisper, and employed a number of data augmentation techniques, such as speech back-translation and noise augmentation. We investigate the effect of using synthetic audio data and discuss several methods for enriching signal diversity.
[ -0.0192323793, 0.0271235853, 0.0113830781, 0.0080341892, -0.0459674299, -0.0436601639, 0.0372214429, -0.0111700976, -0.0308708828, 0.0204090755, -0.0334306471, -0.0426830985, 0.036581032, 0.0242821947, 0.0555373244, -0.0131564066, 0.0680889785, -0.0369403884, -0.0474905558, -0.0379630551, -0.0209808294, -0.0063941497, -0.0188296344, 0.0093443729, -0.048764132, 0.0134629859, 0.0013167221, 0.0694210753, 0.032323774, -0.0048233676, -0.063448973, -0.0165783782, 0.0097075393, 0.0587543733, 0.0000015749, -0.0318137258, -0.0211698804, 0.0305250231, -0.0539233945, 0.0160445254, 0.0173562374, 0.0446056947, -0.0257113967, 0.0332918018, 0.0041861609, 0.0005249376, 0.0525328591, -0.0420020148, 0.0558167659, 0.1051026508, -0.0210286807, -0.0418755449, -0.0032710158, -0.0469919257, 0.0350833014, 0.0221728813, -0.0267720837, -0.0236729551, 0.0002311172, 0.008007939, 0.0097086327, 0.0894481391, -0.0089829732, -0.0143169016, 0.0040853266, -0.0039980747, -0.0534586012, -0.0147161707, -0.0140494369, 0.0682685897, -0.0306597911, 0.0026899229, -0.0133850025, 0.0315782949, 0.001968554, -0.0642788485, -0.0458191447, -0.038605988, 0.0047858781, -0.0116323046, -0.0228794832, 0.0492249243, 0.034456972, -0.0734108314, -0.0175161902, -0.0174117684, 0.0095109539, -0.0250126012, -0.0124293482, -0.0080874106, 0.0221501086, 0.0154530164, 0.0234219525, 0.0016008681, 0.0142899081, -0.0094178114, -0.0121073052, -0.0724166036, -0.0349318571, -0.0591297746, 0.03814869, 0.0502857901, -0.0489944555, 0.0024138014, 0.0365663134, -0.012579795, -0.042482432, -0.0392183661, -0.0463431105, -0.0132167917, 0.023047328, 0.0477060005, -0.062541008, 0.0131365452, -0.1059306338, -0.0155275082, -0.016525263, -0.0390200205, -0.0201125611, 0.0068244752, 0.0674600974, -0.0089844605, -0.0894538537, -0.0323894769, 0.023730725, 0.0500243679, 0.0360798724, 0.037760336, -0.0183859579, -0.0782795921, -0.0262670573, 0.0396084785, 0.03578756, 0.0244008023, -0.0163878705, 0.1014664248, -0.018108217, 0.0201099236, -0.0358404219, 0.0139211183, -0.0012426215, -0.032515958, -0.0341846682, -0.0698867068, 0.0557667948, -0.0453925282, 0.0151937725, -0.0145362131, 0.0101826731, -0.0292863771, -0.0129004149, 0.0415786952, -0.0765704289, 0.0229394864, 0.0197737999, -0.0276809931, -0.0416716896, 0.0520744547, 0.0744961202, -0.0065329415, 0.006205441, -0.0307789426, 0.0014710909, 0.0675207004, 0.0196508169, 0.0260821711, -0.0275443532, 0.007675169, -0.00005943, 0.0119103817, 0.0294772685, 0.0442173816, -0.009725336, -0.0141972601, 0.082446605, 0.0045850542, 0.0687066466, 0.0093962215, 0.0526039191, -0.0022203417, -0.0184363984, -0.0287159178, 0.0025872355, 0.0071736029, 0.0274386201, -0.0047787298, 0.1028652638, 0.0477965213, 0.0051244521, -0.0195179097, 0.0068674134, 0.0110719325, -0.0140596051, 0.0254502837, 0.0038977219, 0.0240621157, -0.0165047087, -0.0147265242, -0.0044552144, -0.0549833179, 0.064452216, -0.0009653824, -0.0276238192, 0.0802607015, 0.0432596691, 0.0043025594, 0.044448562, -0.0881467387, 0.0071500274, 0.0519087985, 0.019080935, 0.007497821, 0.0739297345, -0.0450857058, 0.0003756395, 0.0423934162, -0.0205005817, 0.0565131046, -0.0054833335, 0.0461394452, -0.0016200971, -0.0242090225, -0.053817194, -0.0264795497, -0.0005282768, 0.0034904457, 0.0537262186, -0.0058904337, 0.0448258966, 0.0589289665, -0.0817854479, 0.0092940526, 0.010834422, -0.049135372, 0.0580851138, 0.0392439142, -0.0081220707, 0.0031892026, 0.0447047725, -0.0552715957, 0.0465682, 0.0129870176, 0.001319741, -0.0702107847, 0.0344799794, -0.0582081527, 0.0321328379, -0.016968403, 0.0479417704, 0.0363013037, 0.0173285343, -0.0017791067, -0.0197023023, 0.0059553846, -0.0192797482, -0.0510272197, 0.0088919327, 0.0295646265, -0.0875391811, 0.0122978128, 0.0447055176, -0.0061583715, 0.0535916314, 0.0012740375, -0.0320809521, -0.0099152913, -0.0039404528, -0.0484202765, -0.0011070048, -0.0218971241, -0.0066854372, 0.0259019267, 0.0588492826, 0.0140901962, -0.0150903137, -0.0478511229, -0.0076044593, -0.0200947057, -0.0147148268, -0.0704691708, 0.0006945569, 0.0117803551, -0.0137289139, 0.0152054299, 0.0370658897, -0.0174937434, -0.0057590147, -0.0181481149, -0.0648108199, -0.018791819, 0.0231377482, 0.0314496532, -0.0005901393, -0.0377722122, -0.0232353155, -0.0069610719, 0.0707933381, -0.0344040506, -0.0078921188, -0.0528886877, 0.0045432653, -0.0284749232, -0.0521134771, 0.0153889954, 0.0332532749, 0.0397773162, -0.0620985217, -0.0080354717, -0.0066610817, -0.002747908, 0.039863281, 0.0078638438, -0.0468494222, -0.0287156589, 0.0076218667, -0.0541854836, -0.0237057507, -0.030021023, -0.0055304351, 0.0267898273, -0.0410686135, -0.0109789595, -0.0295012742, -0.0860633925, -0.0395357609, -0.0517134257, -0.0500374399, -0.000192345, -0.0096727498, -0.0655561239, 0.0285951477, -0.0545381904, 0.0079490244, 0.0029223254, 0.0085098557, 0.0101978946, -0.0654898435, 0.0276015326, -0.0186060313, 0.0031037738, 0.0018815391, 0.0218206942, -0.0292898882, -0.0158387478, 0.0219799299, -0.0451065823, 0.0318434574, -0.057585068, -0.0443509109, 0.0452567078, -0.0032134347, 0.098982662, 0.0037003851, 0.0135548245, -0.0043264008, 0.0264588408, -0.001023062, 0.0161450822, 0.0292731691, -0.0026133526, 0.0190085527, -0.0492395014, 0.0335145853, -0.0112607293, -0.0415907763, -0.007194797, 0.0150816776, 0.0273644887, -0.0214585699, 0.0040754247, 0.0785757676, -0.0041434192, -0.0276017785, 0.067594178, -0.0457246713, -0.0260323882, -0.0062638689, -0.0047848136, 0.0231102668, 0.0345929936, -0.001262494, -0.0094541935, 0.0120508196, 0.0324561223, 0.0769511387, 0.0491928086, 0.0344715752, -0.0601169914, -0.0494302586, 0.0732107162, 0.0696179643, -0.0852960572, -0.063706696, 0.021735305, -0.0468816273, -0.0368384942, 0.0382953696, 0.0003367113, 0.0183335319, -0.0181952138, 0.0196482334, 0.0062518339, -0.0066343709, -0.0719925761, -0.0198475886, 0.125295192, 0.0157933254, -0.0081864353, 0.0076116081, -0.0243362859, 0.0456485897, 0.028737681, 0.0051224199, 0.0329867341, 0.0421092734, 0.0193418935, -0.0128403483, 0.0253506489, 0.0029082431, 0.0048502348, 0.0214234255, 0.0161058828, 0.0178972855, -0.021196086, 0.0585005581, 0.0374776423, 0.0474447422, 0.0419209786, 0.0526748374, 0.0220620055, -0.028542323, 0.0486379601, -0.0136521924, -0.0192658305, -0.0528336018, 0.0049232952, 0.0249310788, -0.0046744668, -0.086840719, -0.0605775267, -0.0036984822, -0.0062182709, 0.0568703897, 0.0265966561, 0.0222460758, -0.0057234159, -0.0160588175, -0.0271827336, 0.0258647203, -0.0697345808, 0.0233978964, -0.0276245922, -0.0422311611, 0.0067643644, -0.04381736, 0.0372966491, 0.0352721252, -0.0713168681, -0.0575043485, 0.0427448303, 0.0168983471, 0.0319744311, 0.0888860896, -0.0294089559, -0.0031586909, 0.0444499664, 0.0088813473, -0.0426533036, 0.0083319834, 0.0497170016, 0.0276231635, 0.0022713037, 0.0316129699, -0.0403637737, 0.0028875042, 0.0068697124, 0.016594626, -0.0022374233, -0.0369707942, 0.0080015594, 0.0121816341, -0.0062087085, -0.0196299925, 0.0224304236, -0.0316279978, 0.0438084975, -0.0503888875, 0.0356624275, -0.0390040949, -0.0497652888, 0.0609013848, -0.0000300364, 0.0070923888, -0.0054632961, -0.0294927526, -0.0360443108, -0.0106446566, -0.0177780688, -0.0085371574, -0.0065253037, 0.0361966081, 0.0148741128, 0.0133715533, 0.0610316209, -0.0218004249, -0.0043880716, 0.0050312784, -0.0230698939, -0.0095005687, 0.0089878142, 0.0229632016, 0.0158406757, -0.06749852, -0.0132300053, -0.016060723, 0.0343375616, 0.0420006998, 0.0284007452, 0.1070346981, 0.0271166246, 0.0274010524, -0.0185600109, 0.0266382806, -0.0052457456, 0.0065842327, -0.0496362783, -0.0259869471, -0.006118977, 0.0354706757, 0.0330007188, -0.029815957, 0.0321918502, -0.0342467651, 0.0428375676, -0.0224390235, -0.0556879342, -0.0218305103, 0.0116036879, -0.0176530797, -0.0048012924, -0.0011345155, -0.0621781759, 0.0049779085, 0.0272426736, 0.0248735361, -0.0096361283, 0.0004207158, 0.0156132113, -0.0301142912, 0.0447126925, 0.0076065939, -0.0469846949, 0.0314148851, -0.0354884192, -0.0215158798, -5.654781329e-33, -0.038263537, 0.0233749263, -0.0033181049, -0.0095699383, -0.0243815221, -0.0233221948, -0.0311456528, 0.0052084061, -0.00940945, 0.0141336769, 0.0091574201, 0.0284734145, 0.0268748123, 0.0168320294, -0.0316646174, 0.0296268445, 0.0689178631, -0.0075267674, -0.0102187479, 0.0085382797, 0.0363784358, 0.0007401283, 0.0087859314, -0.0493701324, -0.0118372086, -0.0062565058, -0.0106032146, 0.0123036783, 0.0245500356, -0.0314293467, 0.014019087, 0.0579882152, -0.0414355733, -0.0107814707, -0.0228253864, -0.0238707326, -0.0589113124, -0.0003111187, 0.0251222868, 0.0432507806, 0.0295549538, -0.0202051047, 0.0253536887, -0.0215577222, -0.0202372354, -0.0015832798, -0.0118047912, -0.0486453548, -0.0039395043, -0.043906536, -0.0125702703, -0.0128686652, -0.0370138474, -0.0094413171, 0.0258625597, 0.0666742101, -0.0105008502, -0.0941005051, -0.0664598346, 0.0598040223, -0.0241304748, 0.0270907898, 0.0548959039, 0.006994132, -0.0280321389, 0.0013178478, 0.0391757898, -0.0360531285, 0.0351158455, 0.0318033472, 0.0371914729, -0.0183579586, 0.0609975383, 0.0251509845, 0.0223903302, -0.0320266299, -0.0062703737, 0.0160384066, 0.0313325003, -0.0394527763, -0.0022382925, 0.048699785, -0.0212712493, 0.0252605155, -0.0461543798, -0.0487148091, -0.0127106104, -0.035943836, 0.0320433751, 0.01890398, -0.0097608129, -0.0060734409, 0.0917854086, -0.0290784445, 0.0320306681, -0.0212751552, 0.0277459584, -0.0142873963, -0.0354531929, 0.0395361818, 0.040216282, -0.0266587418, 0.1166878715, 0.0575395897, 0.0157245286, -0.0557669252, -0.0044326289, 0.0566760264, -0.0590925366, 0.0233710874, -0.0039152815, 0.0619291849, 0.0133197512, -0.0141441552, 0.0243987422, -0.0326833092, -0.0126654785, 0.0145732993, -0.0043181004, 0.0187334735, 0.0216093902, -0.0025628142, -0.0009502462, 0.0225997213, -0.0682333335, 0.0426926091, -0.0248394534, -0.0366005711, 0.0427462533, -0.0010269362, -0.0332553089, 0.0018596231, 2.448e-7, -0.0229623057, -0.0208227746, 0.0350457504, 0.0044218143, 0.0169689227, -0.0472295135, -0.0179345831, 0.0190076083, -0.0371685363, 0.0156648606, -0.0057176515, -0.0007028324, 0.12020538, 0.0090702949, -0.0558377132, -0.0698984861, -0.0377078727, 0.016124351, -0.0334441923, 0.0035049408, 0.0280978121, 0.0724685341, -0.0014532119, -0.0157125033, -0.0042564655, -0.0066573676, -0.0011534292, -0.0289418884, -0.0098996703, -0.0128110815, 0.0244044606, 0.0134687852, -0.0581450947, 0.0023673358, -0.045557227, 0.0272515621, 0.0278054327, 0.0170127209, -0.0278739166, -0.0464540645, -0.0138399266, 0.032863982, -0.0034701009, -0.0001804016, 0.0200938042, 0.0425205305, 0.0028334772, -0.0012843239, -0.0435942709, 0.0481913909, -0.0103581026, -0.0343950316, 0.0317879617, -0.0222133789, 0.0327305347, 0.0036493079, 0.0030094904, -0.0192614775, -0.0390897021, -0.0031565626, -0.0228902753, -0.0289596524, 0.0053149713, 0.0088753272, -0.0066585909, -0.0078449389, -0.0103324028, 1.602688513e-34, 0.0591331497, -0.0354635008, 0.0458102226, -0.0032653783, 0.0196785666, -0.0550281145, 0.0393316746, 0.0112679247, -0.0246723108, 0.0020318027, -0.0599793941 ]
http://arxiv.org/abs/2406.17328v1
http://arxiv.org/pdf/2406.17328v1
Dual-Space Knowledge Distillation for Large Language Models
"2024-06-25T07:25:15"
"2024-06-25T07:25:15"
Songming Zhang, Xue Zhang, Zengkui Sun, Yufeng Chen, Jinan Xu
cs.CL
cs.CL, cs.AI
Knowledge distillation (KD) is known as a promising solution to compress large language models (LLMs) via transferring their knowledge to smaller models. During this process, white-box KD methods usually minimize the distance between the output distributions of the two models so that more knowledge can be transferred. However, in the current white-box KD framework, the output distributions are from the respective output spaces of the two models, using their own prediction heads. We argue that the space discrepancy will lead to low similarity between the teacher model and the student model on both representation and distribution levels. Furthermore, this discrepancy also hinders the KD process between models with different vocabularies, which is common for current LLMs. To address these issues, we propose a dual-space knowledge distillation (DSKD) framework that unifies the output spaces of the two models for KD. On the basis of DSKD, we further develop a cross-model attention mechanism, which can automatically align the representations of the two models with different vocabularies. Thus, our framework is not only compatible with various distance functions for KD (e.g., KL divergence) like the current framework, but also supports KD between any two LLMs regardless of their vocabularies. Experiments on task-agnostic instruction-following benchmarks show that DSKD significantly outperforms the current white-box KD framework with various distance functions, and also surpasses existing KD methods for LLMs with different vocabularies.
[ 0.0140282139, 0.0385860279, -0.0079428181, 0.0527653135, -0.0072759101, 0.0207637064, -0.0063228142, 0.0020067126, -0.0004202912, -0.0145672578, -0.0288876221, -0.0423794612, -0.0188873, 0.0160238389, 0.0370229967, -0.0645530075, 0.0399932116, -0.0592626892, -0.0206569992, -0.0183497462, -0.0046977908, -0.0092928158, 0.0349833444, 0.0205919966, 0.0545426756, -0.031871777, -0.0145851746, -0.0023981768, 0.0182176158, 0.0308439936, 0.0268447381, 0.0570846908, 0.0355553329, 0.0242769234, 0.0000024137, -0.0073252656, 0.0079640755, -0.0071059368, -0.0308807176, 0.0423664674, -0.0007342352, -0.0167567413, 0.03640287, -0.0207164958, -0.0040222537, -0.0067747324, 0.0343827605, 0.0123001207, 0.0663842186, 0.040544942, 0.0122156078, -0.0530381463, 0.0291269682, -0.0277264062, -0.0014346446, -0.0263773464, 0.0436783321, 0.0147898868, -0.0491137877, 0.0209169388, -0.0637327656, 0.0783022568, -0.0030921556, -0.0092296666, 0.0303887054, 0.0103493342, -0.0038040411, -0.0175875649, 0.0106256232, 0.0755506232, -0.0434103273, -0.0198878925, 0.0205339976, 0.002488941, 0.0017247517, 0.0085039232, -0.0632010549, -0.0083770324, -0.0007926652, 0.0123698004, 0.0292881019, -0.0224675406, 0.0254462902, -0.0331290402, -0.0429632887, 0.0164211374, 0.0191675182, -0.0422159247, -0.0103704045, 0.0004885421, -0.0270440057, -0.0568320975, 0.0031325079, 0.0221166313, 0.0243257061, 0.0239071567, -0.0495011397, -0.0647611171, -0.0047653476, -0.0325997174, 0.0647321343, 0.0479965471, -0.0082904138, 0.0397721976, -0.011989166, 0.0919945315, -0.0032494587, 0.0490160435, -0.0450962558, 0.018650515, -0.0594153665, 0.0020076041, -0.0187103897, 0.0122580361, -0.0131104859, -0.0112201897, -0.0008399024, 0.0111706667, -0.0412617102, -0.0329076461, 0.0558986664, -0.0143179335, -0.0341766365, 0.0000378904, -0.0043176729, 0.1004288942, -0.0162923243, -0.0210615862, 0.0121160904, -0.0273141898, -0.0266814828, 0.0029786038, -0.0185410772, -0.022582395, -0.0255234633, 0.0371730551, -0.0138903912, 0.003014958, -0.0359767266, -0.0379639566, -0.0222749375, -0.0797157064, 0.0243516229, -0.0846493468, 0.0566895232, 0.0009866108, 0.0000046975, -0.0725768059, 0.0096993037, -0.0146211097, -0.0466900542, 0.0466541983, 0.0436586887, 0.034452945, 0.0158412121, 0.0235017817, -0.0310287438, 0.0623690821, -0.013275356, -0.0019221831, -0.0123108514, -0.0117605599, -0.0241303984, 0.0276861433, 0.0631501228, 0.0294487439, -0.030545719, -0.0033269881, 0.0010671106, 0.0215666611, 0.0700589716, 0.0382802784, -0.0374899805, 0.0037615898, 0.0449250489, 0.0170425568, 0.0436605178, -0.0015062421, 0.0500271991, 0.0306690894, -0.0124231065, 0.0574355982, -0.0421292707, 0.0163633265, -0.0086219953, 0.0081389947, 0.0505058691, 0.0559370928, -0.0386791527, -0.053888198, 0.0246557016, 0.0050905021, -0.0019003854, 0.0265376028, 0.0707444325, -0.0220264085, -0.0187460482, 0.1082302183, 0.0640579462, -0.0474920645, 0.0054409401, -0.0429668128, 0.0119605511, 0.0563622303, -0.0004041985, -0.0200940277, -0.0470961928, 0.0174052846, 0.0128339007, 0.0046518366, 0.0442690998, -0.0003359229, -0.0049003274, -0.0387601517, -0.0505518615, -0.0113216396, 0.0149048083, 0.0107204644, 0.0289814696, 0.0064685936, 0.0262317825, -0.0515420288, -0.0133975931, 0.0158331525, -0.0569117852, -0.0293029025, -0.0628392547, 0.0167633761, 0.0294134989, -0.0054708356, -0.0038774349, 0.0042481497, 0.0335618891, -0.0200698022, 0.0148045681, -0.032523226, -0.0589996725, -0.0770609975, 0.052070573, -0.0083875768, 0.0318489783, 0.055766806, -0.0329545289, -0.0453357324, 0.0414650701, 0.0073431209, 0.0637611151, -0.0101181511, 0.0607686676, -0.0093669351, 0.0144441687, -0.0387440845, 0.0638973489, -0.0444264561, 0.0135437809, 0.0097104888, -0.01280428, -0.005553646, 0.0322237462, -0.0448712409, -0.0121896369, 0.0018343815, 0.0419066101, 0.0064071296, -0.0278202631, -0.0391777679, -0.0265346691, -0.02979449, 0.0186479706, -0.0298052188, 0.0098648788, 0.0224773064, 0.0177757815, 0.0195338558, 0.0102592753, -0.0150964679, 0.0104816994, -0.0204622578, -0.0038766346, -0.0321802869, 0.0042860606, -0.0024095681, -0.0262369197, -0.0399371162, 0.0094509814, 0.0260340665, -0.042356696, -0.0086773699, -0.0411807075, 0.0773219094, -0.0279831868, 0.0413877591, -0.0125136925, -0.0114840399, -0.0153228296, -0.0322304219, 0.0357975736, 0.0639991313, -0.0290782191, 0.0275490843, 0.0804327428, -0.0218947567, -0.0898123235, 0.0336676389, -0.0101683214, -0.0229076408, -0.0383652709, -0.0402748734, -0.017215088, 0.0893985033, -0.0104087312, -0.0482502058, -0.0649965182, -0.0415646359, -0.0083089462, -0.0234452859, -0.0354485288, 0.0237026606, -0.028856799, -0.0074034408, -0.0362235829, -0.0407503359, 0.053981021, -0.0208586194, 0.0135535505, -0.0181755964, 0.0066291196, 0.0039004211, 0.0276715476, -0.0018033307, 0.0097542899, -0.0084175253, 0.0023835963, -0.0560585633, 0.0294620823, 0.007339308, -0.016135864, 0.0775390863, -0.0495691635, -0.0179378316, -0.0084225927, -0.0007845744, -0.0159491096, 0.0040627345, -0.0006386915, 0.022094937, 0.0294716153, -0.0338519551, -0.0307379272, 0.0082696918, 0.0208982006, 0.0208020769, -0.0114922076, 0.0039168932, -0.0336319506, 0.0049795951, 0.032219585, 0.0087527204, -0.0470874161, -0.0629894733, 0.0006900355, 0.050563857, 0.0240592565, -0.0112778712, 0.0229839273, -0.0140349567, 0.0705411509, 0.002361418, -0.0549149327, 0.0185334235, 0.0506249666, -0.0774720535, -0.0001084866, 0.1061753631, 0.0018155668, -0.0297037754, -0.0052033644, -0.0053648259, 0.0553020388, 0.0209390372, 0.0384651534, -0.0498827808, -0.0360042825, -0.0064194766, 0.0235260259, 0.0416902043, -0.0215292741, -0.0123357987, -0.0926430374, -0.0026804837, 0.0478839539, -0.0209800638, -0.0632065013, -0.0293025095, 0.0141096674, 0.0181661472, -0.0149520487, 0.0114651313, -0.0213472173, 0.0173369665, 0.0111685097, -0.0149216391, -0.0608305782, 0.0293756668, -0.0152309248, 0.0394632742, 0.0332993157, 0.0357604325, 0.0232528634, -0.0655592382, -0.0506807938, 0.0046335105, -0.0016868004, 0.0091229929, 0.0399584733, 0.0087052379, -0.000739517, 0.0340997949, 0.023482943, -0.0445211455, 0.0218533445, 0.0123796072, 0.111450009, 0.0215918086, -0.0610648356, -0.0212236643, -0.0284740962, 0.0182883404, 0.1175597683, 0.0608915649, -0.0221088678, -0.0450795069, -0.0114300093, -0.0146456705, 0.0000845336, -0.0078685386, 0.0218901727, -0.0521023795, -0.0343130268, -0.0295369066, -0.00909926, 0.0223495383, 0.0156058846, 0.0020362018, 0.0341596566, 0.0190841258, -0.0179837048, -0.0511686765, -0.0024639997, -0.0307204127, 0.0146384081, -0.0329764634, -0.0255775433, -0.0314988978, -0.0036213011, -0.0387359895, 0.0120843966, -0.135931164, -0.0915394425, -0.0014202619, 0.0250147749, 0.0099372799, 0.089384079, 0.0125943236, -0.0319537185, 0.0535499789, -0.0240741968, -0.0142497728, 0.0394111015, 0.0391771942, -0.0445155315, 0.0004812672, 0.0415915921, -0.0412610248, 0.0019029668, 0.0383082293, 0.0248479694, -0.0601548366, -0.0265063792, -0.0190008283, 0.0342692398, 0.0432950035, 0.0048381696, -0.026720671, -0.0345463492, -0.0029977264, 0.0190615151, -0.0068644546, -0.0633250847, -0.0093780309, 0.0394950248, -0.0103817768, 0.0260361787, 0.0328818373, 0.0498055369, -0.0138362767, -0.0552418716, 0.0099618435, 0.0117495218, 0.0213999487, 0.077155225, 0.0132310363, 0.0000400762, -0.0109584294, 0.0094380025, 0.0210653711, -0.0235363711, 0.041170191, 0.013528212, 0.0294149145, 0.0068307715, -0.0007779563, -0.0592350401, -0.0804596096, -0.0417953841, 0.0223495811, 0.0212919917, -0.0107642757, 0.0640611202, -0.0113858022, -0.0068265521, -0.0418549664, 0.0141518982, -0.008866692, -0.0037359823, 0.0300137047, 0.0113102309, 0.0250898786, -0.0003509077, 0.1062912121, -0.0092879338, 0.0467315689, -0.0345814712, -0.0047720815, -0.0349199884, -0.0324522108, 0.0311812591, 0.0426983088, 0.025463894, 0.0195643194, -0.0402445458, -0.0731422752, -0.0107613485, -0.0237660836, -0.0390579589, -0.0373002663, 0.0461047813, 0.0405941941, -0.022915462, -0.0187538397, -0.0452702641, -0.0073908214, 0.0068498175, -0.0305368602, 0.0190060604, -6.835895645e-33, -0.0322876386, 0.03644678, 0.0015604908, -0.0172799863, -0.0475917272, 0.0040074964, -0.0214130487, -0.0193757433, -0.0355603881, 0.0276369248, 0.0091319634, 0.0224293824, 0.0073366412, 0.0267555043, 0.0262322892, 0.0239284504, 0.066415906, 0.0071478058, 0.0069698729, 0.0675399378, 0.032346651, 0.0478714518, 0.0598383471, -0.0465147533, 0.0310199633, -0.0362925753, 0.0641074479, -0.006894147, -0.0022954773, 0.0206812937, -0.026832588, 0.0718123615, -0.000866171, -0.072913833, -0.0768774375, 0.0031149918, -0.0555888936, -0.0487210751, 0.0409177355, -0.0265270788, -0.0281149801, -0.0444178097, 0.0486203693, 0.0331860892, 0.0306035448, -0.0878448412, 0.0351800025, -0.0140066454, -0.0293148123, -0.0053303121, -0.0690467358, 0.0003996589, -0.0332012773, -0.0360435024, 0.0438684449, 0.009640825, 0.0093740495, 0.0024571454, -0.0655960888, 0.0245863069, 0.0489853583, 0.0784964561, 0.0977531075, 0.0374599919, -0.0079324218, 0.0504921786, -0.0235700421, -0.017470086, -0.0092101488, -0.0292583946, 0.0425522588, 0.0712588727, -0.0043562585, 0.0072853556, 0.0397486575, -0.0117984079, -0.0464573652, -0.0085912058, -0.0095073218, 0.0325995907, -0.0052350145, 0.0082392823, -0.0205244422, -0.0510202758, -0.0440287851, -0.0234069135, -0.0186066851, -0.0115214996, 0.0448902696, -0.0032130766, -0.0120532047, -0.0269767791, 0.0340217911, -0.0803793371, 0.0138732493, 0.0455930643, -0.0094426516, 0.0159963183, 0.0163786002, 0.0303040631, -0.0693515316, -0.0128034363, 0.0138179101, 0.00293564, 0.0000276363, 0.0518567599, 0.029211944, 0.0038863719, -0.0366818756, -0.0267718937, -0.0579325482, -0.0380579866, 0.0223642215, 0.0281179547, 0.0377828702, 0.0045465073, 0.005097446, 0.0076199449, 0.0327642225, -0.0157765821, -0.0064939614, -0.0027849339, 0.0182183702, 0.0312272348, -0.0187721923, -0.0063457196, -0.054040689, -0.0248207785, 0.0421220846, -0.0269523393, -0.0284205377, 0.0110850632, 2.962e-7, 0.0340104885, -0.0046026148, -0.003005282, -0.0131802401, 0.0043191751, 0.0181401577, 0.0044852723, 0.0300080236, 0.0262025297, -0.0446499661, -0.0041405484, 0.0529665388, 0.0374949947, -0.0196388941, -0.0936317369, -0.0099588204, -0.028035868, -0.026083177, -0.0188473947, -0.0280029848, 0.0308215488, 0.0672710389, 0.033229351, -0.0087597053, 0.0012854772, 0.0016162106, 0.0237171482, 0.0014644553, 0.0348578766, 0.0545233078, 0.0363576226, -0.0238878913, -0.0244706944, 0.0373518318, -0.0175843854, 0.015045586, 0.0118385935, 0.0911549181, -0.0277420525, 0.0165164564, -0.007082935, 0.0012691015, -0.0220713988, -0.0737113804, 0.0626222715, -0.0194434617, 0.0300388671, -0.0206131134, -0.0321266837, -0.0142860608, -0.0052305427, 0.0142487045, 0.0399212837, 0.0183017738, -0.0013217662, -0.0313645005, -0.0229129959, -0.0743770003, -0.0312683806, 0.0244357344, -0.0554843619, -0.0630804002, -0.0346307419, -0.0594522692, 0.0115064504, -0.0475715101, -0.0012600988, 2.870126496e-34, 0.0385420471, 0.030138718, 0.029093178, -0.0017778357, -0.0189932827, -0.0478853583, -0.0629014373, 0.0314710848, 0.0016735487, -0.0872392133, -0.0351007544 ]
http://arxiv.org/abs/2407.00087v1
http://arxiv.org/pdf/2407.00087v1
ARES: Alternating Reinforcement Learning and Supervised Fine-Tuning for Enhanced Multi-Modal Chain-of-Thought Reasoning Through Diverse AI Feedback
"2024-06-25T07:20:11"
"2024-06-25T07:20:11"
Ju-Seung Byun, Jiyun Chun, Jihyung Kil, Andrew Perrault
cs.AI
cs.AI, cs.CL, cs.LG
Large Multimodal Models (LMMs) excel at comprehending human instructions and demonstrate remarkable results across a broad spectrum of tasks. Reinforcement Learning from Human Feedback (RLHF) and AI Feedback (RLAIF) further refine LLMs by aligning them with specific preferences. These methods primarily use ranking-based feedback for entire generations. With advanced AI models (Teacher), such as GPT-4 and Claude 3 Opus, we can request various types of detailed feedback that are expensive for humans to provide. We propose a two-stage algorithm ARES that Alternates REinforcement Learning (RL) and Supervised Fine-Tuning (SFT). First, we request the Teacher to score how much each sentence contributes to solving the problem in a Chain-of-Thought (CoT). This sentence-level feedback allows us to consider individual valuable segments, providing more granular rewards for the RL procedure. Second, we ask the Teacher to correct the wrong reasoning after the RL stage. The RL procedure requires massive efforts for hyperparameter tuning and often generates errors like repetitive words and incomplete sentences. With the correction feedback, we stabilize the RL fine-tuned model through SFT. We conduct experiments on multi-model dataset ScienceQA and A-OKVQA to demonstrate the effectiveness of our proposal. ARES rationale reasoning achieves around 70% win rate against baseline models judged by GPT-4o. Additionally, we observe that the improved rationale reasoning leads to a 2.5% increase in inference answer accuracy on average for the multi-modal datasets.
[ 0.0381052047, 0.070757173, -0.0068823528, 0.0096636722, -0.0483162589, 0.0106873708, 0.0202983487, -0.0370083749, -0.028670229, -0.0504831746, -0.0181895606, -0.0030027968, 0.00663799, -0.0018411105, 0.0226449668, -0.0859921947, 0.0427409224, -0.052942574, 0.0284902342, -0.0176016185, -0.0049376511, 0.0100275492, -0.0392395668, 0.0353364348, 0.0093112411, -0.0179251749, -0.0494446568, -0.0125734387, 0.0644037873, -0.0252983607, 0.0119117443, 0.0450545512, 0.0341026857, -0.0013247274, 0.0000023504, -0.0626291558, -0.0364688374, -0.0037141647, -0.0247775614, -0.0324245058, -0.0080328751, 0.05275039, 0.0242264643, 0.0206505638, -0.0128687136, 0.0742060915, 0.0371827595, 0.0462557003, 0.0686248466, 0.0471074283, 0.0141497394, -0.0397754945, 0.0176982805, -0.0072904015, 0.0227724388, -0.0288893376, -0.0142217753, 0.048011627, 0.056972947, 0.0281932168, -0.0397724658, 0.0237685144, 0.0439699106, 0.0044269562, 0.0047865263, 0.0305061676, 0.0191610437, -0.0056273742, 0.0023959749, 0.0841203779, 0.0043160012, -0.0111803319, -0.0219158437, 0.0009039001, 0.0346141756, -0.0044738827, -0.0508137792, 0.0506018214, -0.0149855185, 0.0242052749, 0.0171966776, 0.0029009474, 0.004411838, 0.028406674, -0.0247454531, 0.0302752145, -0.0245588627, -0.0439230055, 0.0461001992, 0.0130928429, -0.0511724427, -0.0239906851, -0.0034358716, 0.0401652418, -0.0792262033, 0.0105695501, -0.0121809924, 0.0019850819, -0.0009826001, 0.0387508534, 0.0397198014, 0.0502633415, -0.0076782801, 0.0355963185, -0.0126716932, 0.0244856868, -0.015313589, 0.0530660078, -0.0035385212, 0.0046850513, -0.0998201072, -0.0089734998, 0.0126697561, 0.0563476011, -0.0180016328, 0.0073636179, -0.0383465514, -0.0095973108, -0.0320093483, 0.0255129952, 0.0136177149, 0.0383466631, -0.0096317567, -0.0207135193, -0.0683714449, 0.0758474469, -0.0742846429, 0.0501810312, 0.0646438524, 0.0149364946, -0.0186754763, -0.0195512902, 0.0140382312, -0.0233494993, 0.0522585846, 0.0791005865, -0.0593617484, -0.0040480555, -0.0227776337, -0.0561455041, -0.0125280367, -0.084133938, 0.0291601066, -0.0395861305, -0.0096884277, -0.0131829353, 0.004232836, 0.0187133085, 0.006631521, 0.0302056484, -0.0293084122, 0.0935717598, 0.0209442321, -0.011553064, -0.0167598538, 0.0266213156, -0.0540032871, 0.0512382053, 0.0312473495, 0.0197785702, 0.0336851776, 0.005367198, -0.0005585231, -0.017817352, 0.0188413505, -0.0079290299, 0.0078146793, -0.0142451469, -0.0706340671, 0.0676462054, 0.0011755876, 0.0075529693, -0.0122279441, 0.0284486935, 0.0416153334, 0.0108156875, -0.0013745122, -0.0009097513, 0.008998231, -0.0080902372, 0.0085094022, 0.0056906398, -0.0666813329, 0.0728383288, -0.0445507914, 0.0076194825, 0.0445508026, 0.0190057438, 0.0070442525, -0.0710117072, 0.0388730653, 0.0134505071, 0.0050458433, 0.0428402945, 0.0541448928, -0.0127884494, -0.0306890998, -0.0242067929, 0.0322228186, -0.0080457255, -0.0272961166, -0.0562106185, 0.0327190533, 0.0483476371, 0.0382249318, -0.0517192259, -0.0460981615, -0.0242091715, 0.0096725747, -0.0087170852, -0.0026073377, -0.0092209401, -0.0132275065, -0.0471802205, -0.0596228018, -0.0474631153, 0.0036096505, 0.0349461474, 0.0093858764, -0.0102566145, -0.0189796165, -0.0300520193, 0.004368186, 0.0035024451, 0.0077055437, 0.0047832606, -0.0079176147, 0.0188116338, 0.0307625476, 0.0025767491, 0.0061019626, 0.0162853785, -0.0050234497, -0.0116707291, -0.0327620991, -0.0061866124, -0.0778096393, -0.0094522228, 0.0315465443, -0.0614621416, -0.0213772506, 0.0243651439, -0.0447989032, -0.0373342931, 0.0407311544, 0.0009606012, -0.0389951207, 0.0028367932, -0.0041051819, 0.017143758, -0.0162928961, -0.0482023321, 0.071220614, 0.0120612057, -0.0047758529, 0.0207875203, 0.016878156, 0.0237711743, -0.0227521565, 0.0175093319, 0.0133835403, 0.0000694694, 0.003898365, 0.0153968045, 0.0413951166, -0.0631937832, -0.014725361, -0.0647628307, -0.0118290661, 0.0015774865, 0.0086351102, -0.0171252042, -0.0022614268, 0.0102772843, -0.0019948226, -0.0181355886, 0.0133343125, 0.001318468, 0.0005451895, 0.032389529, -0.0106620071, 0.0076799588, -0.0210142191, -0.0064326422, -0.0297753997, 0.0388106443, 0.0272507444, 0.0450379737, -0.0419240929, -0.0252776649, -0.0405527204, 0.0311995279, -0.0113661811, -0.0338472724, 0.0414188877, -0.0208516438, 0.030161893, 0.1255889982, -0.0020198959, 0.002314291, 0.0766577497, 0.0008856466, -0.0626450628, 0.0549711771, 0.0139496289, -0.0291508958, -0.016578773, 0.0064779557, -0.036208339, 0.0347927026, -0.0049232948, -0.0042263973, -0.0626541898, 0.04280743, 0.0239553079, -0.0071781506, -0.0558383949, 0.0044715041, -0.0058595403, 0.0585715026, -0.01471477, -0.0083305864, 0.1191678792, 0.0270225089, 0.0135880895, -0.0467304103, 0.0083974916, -0.007089376, 0.0504696742, -0.0230549257, 0.008811173, 0.0176702086, 0.0438966155, -0.0871353596, -0.0039352491, 0.0405783281, -0.0123423534, 0.0426619612, -0.0558836497, -0.0340626687, -0.0098801134, -0.053520076, -0.032108821, -0.0106915226, -0.050667204, 0.0130950017, -0.021413574, -0.0353297479, -0.0269831885, -0.045161061, 0.0742186904, -0.0040068622, -0.0431626588, -0.0343068615, -0.0237618349, 0.021912612, 0.0420709811, 0.0416252762, 0.0273760259, -0.0342085548, 0.0248789992, 0.0173265971, 0.03413276, -0.0303766057, -0.0363581553, 0.032221254, -0.0172558334, 0.0195956733, -0.0076522832, 0.0336819589, 0.0619345084, -0.0467500202, -0.0080568939, 0.0870694742, 0.0322403423, -0.0353605486, 0.0046193646, -0.0128408968, 0.0695979372, 0.0142502747, 0.0371905789, -0.0759282336, -0.0765505582, 0.020831624, 0.0394929945, -0.0042859451, -0.0308861323, 0.0332408883, -0.1135568917, 0.0229589101, -0.011481693, -0.0241739042, -0.0058487691, -0.0177502222, -0.0032768997, -0.0040000016, -0.0383611321, 0.0149533907, 0.0083180135, -0.0013870625, 0.046041362, 0.0557333827, -0.0359089635, 0.0523206964, -0.0077913906, 0.0332976431, 0.0288813394, 0.0072004483, -0.004600062, -0.0685749501, 0.0278490204, 0.0132472394, 0.0213880148, -0.0037297665, 0.0044828909, 0.001924519, -0.0178078096, -0.0272771083, 0.0824290216, 0.0179721918, -0.0252329074, 0.0262614079, 0.1063454449, -0.0287806783, 0.0172284171, -0.0276720915, 0.0191089157, -0.0321612991, 0.0330194756, 0.0104716774, -0.0430910178, -0.0397380106, -0.0474046804, -0.0328463688, -0.0729530007, -0.0138839018, 0.0161241889, 0.0110733155, 0.0468234159, -0.0328697041, -0.0194934905, 0.0102358237, 0.0459856391, -0.0081153978, -0.0402568951, -0.0150862057, 0.0477180295, -0.0032831214, 0.0309566054, -0.0281438399, 0.017028885, -0.0217631366, 0.0276460461, 0.0008365025, -0.086485371, -0.0340077616, 0.0061665955, -0.0335376002, -0.0451819822, -0.0398242287, 0.0685035363, 0.0177164972, 0.064917244, 0.0162034985, -0.0444642603, 0.0143297296, -0.0063200356, 0.0034001258, 0.0039540539, 0.0631049499, 0.0175349507, 0.0023678099, 0.0203596652, -0.0429301858, 0.0002069846, 0.0072633303, 0.0233945753, 0.0101922983, -0.0027740523, 0.0421285555, 0.0058945925, 0.0283043534, -0.0297869164, -0.0272157323, -0.0286700837, 0.0363397859, -0.0045216898, -0.0350281671, -0.0237445906, 0.0124979932, -0.0015312402, -0.0457056761, -0.0014830442, -0.0723945946, 0.0389624275, 0.0195005685, -0.0021021252, -0.0013834069, 0.0263583809, 0.0164652951, -0.0195428152, 0.0100532314, 0.0062512662, -0.005579459, 0.0206565261, 0.0559712909, -0.0284529887, 0.126171127, 0.0757861808, -0.0260602813, -0.0476710238, 0.0285735447, -0.0684237629, -0.0379647687, 0.0087963967, -0.0035273496, 0.0514225215, 0.0446842387, -0.0093436195, -0.0266566463, -0.0221955944, 0.0254972, 0.0649569482, 0.014871534, 0.005751906, 0.0191921592, 0.0284164157, 0.034117192, 0.0130208926, 0.0355416648, -0.0221124887, 0.023655992, -0.0149695938, -0.0024008136, -0.043173898, -0.0179191697, -0.0230247956, 0.0260395538, 0.0242172424, -0.0097478488, -0.0305619538, -0.0501499921, -0.0383504927, 0.0302724689, 0.0061346795, -0.0015373068, 0.0291752927, 0.0343922153, -0.0293902587, -0.0402238145, -0.0091562402, -0.022520991, -0.0075641358, -0.0135669289, -0.0144244628, -7.09384539e-33, -0.0122839306, -0.0223453473, 0.0338128507, -0.0173141044, -0.0198740289, -0.0081137409, -0.0381941646, 0.0068534254, -0.0237610023, 0.0357788503, -0.0125758396, -0.0260957405, -0.0103470851, 0.0132390549, 0.0395060964, -0.0158025995, 0.0098020164, 0.020637935, -0.0513802096, 0.0202577263, 0.0435956679, -0.0254973322, 0.0432990082, -0.0399378315, 0.0194759425, 0.0468978472, -0.0615822822, 0.0441155285, -0.1239833981, 0.0583439767, -0.000102004, 0.0199566241, 0.0213027466, -0.0508470163, 0.0249284282, 0.0163181387, -0.0789251998, -0.056607645, 0.0248198267, -0.0448591597, -0.0980893224, -0.0448915698, 0.0180898905, 0.0273854546, -0.0002733354, -0.0449542366, 0.0259937309, -0.0332687981, 0.0167318303, -0.0004641267, -0.0175073408, -0.0096414508, -0.0585881285, -0.044242844, -0.0260950848, 0.0789117366, -0.0036584723, 0.0587264486, 0.0008673678, 0.0169494525, 0.0473575778, -0.0049280575, 0.0509580337, 0.0150621841, -0.0271927919, 0.0389292091, -0.0149170207, -0.0334917568, -0.0363932848, -0.0123928031, 0.0028442342, 0.0440244414, 0.0764251202, 0.045983579, 0.0015340981, 0.050310865, -0.1007599309, 0.0020453739, -0.0400240719, 0.0745042637, 0.0053975899, 0.0149626965, -0.030918207, -0.0016316272, -0.0773832202, -0.0246443972, -0.0428697094, 0.0032869366, 0.0336632617, 0.0116807837, -0.0406392068, -0.0018650288, 0.0099619161, -0.0233347155, 0.0052283145, 0.0047430694, -0.015918266, 0.0262011345, -0.0099553689, -0.0038463671, -0.0286554322, 0.0088080205, 0.0550758392, -0.0120102037, 0.0244985148, -0.0056349877, 0.0504058823, 0.0266992226, -0.025467474, -0.0051841587, -0.0426653922, 0.0162414107, -0.0034058723, -0.0218304321, 0.0149760973, 0.0130126039, -0.0285669044, 0.0529861748, 0.018670449, 0.0011805306, -0.0357277356, -0.0228500031, -0.0070937364, 0.0003907928, -0.011051191, 0.0224757995, -0.0315558985, -0.0563337058, -0.0195710249, -0.0667621195, -0.0243191328, 0.0490427837, 3.166e-7, -0.0128081348, 0.0512080677, -0.0054673282, -0.0119494963, 0.0169899892, 0.0805201232, -0.0194000807, -0.0243415795, 0.0226143226, -0.0393024273, 0.0145038627, 0.0462382399, 0.0437120087, 0.021163946, -0.0275571365, -0.0380027518, -0.0350835547, -0.0361802205, -0.0613826141, -0.0063741249, 0.0981920958, 0.0593362637, 0.0221954174, -0.0365710855, 0.0269225221, 0.0239188559, 0.0279002693, 0.005451736, -0.0224625114, -0.0379610062, 0.0230943318, -0.0333881527, 0.0141286198, 0.0383556038, 0.0074844942, -0.0222296007, -0.037509419, 0.0352059118, -0.0171911754, -0.0460138842, -0.0270806737, 0.0288420431, 0.0015429314, -0.0632847697, 0.0688259825, -0.0414640903, -0.0298512001, 0.0081258388, -0.010085457, -0.0461575054, 0.0008278368, -0.0148530398, -0.0271482132, -0.011632517, -0.0266699996, 0.020475924, -0.0097888494, -0.0873318836, -0.0247532949, 0.0341345407, -0.0070992745, -0.0003039186, -0.0098817926, -0.011661699, 0.0636914, -0.087508671, -0.0265407935, 2.895905409e-34, 0.0167911593, -0.0413522311, 0.0501470715, -0.0097676087, 0.0573915951, 0.0168617852, -0.0348024592, -0.0157898087, 0.0544457771, -0.0673848614, -0.0532822013 ]
http://arxiv.org/abs/2406.17324v1
http://arxiv.org/pdf/2406.17324v1
Delving into the Utilisation of ChatGPT in Scientific Publications in Astronomy
"2024-06-25T07:15:10"
"2024-06-25T07:15:10"
Simone Astarita, Sandor Kruk, Jan Reerink, Pablo Gómez
cs.CL
cs.CL, astro-ph.IM, cs.DL
Rapid progress in the capabilities of machine learning approaches in natural language processing has culminated in the rise of large language models over the last two years. Recent works have shown unprecedented adoption of these for academic writing, especially in some fields, but their pervasiveness in astronomy has not been studied sufficiently. To remedy this, we extract words that ChatGPT uses more often than humans when generating academic text and search a total of 1 million articles for them. This way, we assess the frequency of word occurrence in published works in astronomy tracked by the NASA Astrophysics Data System since 2000. We then perform a statistical analysis of the occurrences. We identify a list of words favoured by ChatGPT and find a statistically significant increase for these words against a control group in 2024, which matches the trend in other disciplines. These results suggest a widespread adoption of these models in the writing of astronomy papers. We encourage organisations, publishers, and researchers to work together to identify ethical and pragmatic guidelines to maximise the benefits of these systems while maintaining scientific rigour.
[ 0.0832244605, 0.0562374741, 0.022597665, -0.0117415776, -0.0689994022, 0.0041655493, 0.0395536646, 0.0421243347, 0.0320608988, -0.0543923378, -0.002565471, -0.0257367212, -0.0017011964, 0.0403943583, 0.0147123365, -0.036657244, 0.0480765849, -0.0032759614, 0.0629908144, -0.0031868711, -0.0110644614, -0.0074457293, 0.0237214789, 0.0234990343, 0.0090619903, -0.0496103652, 0.0521544777, -0.0433782116, 0.0163738225, -0.0264561623, -0.0003314062, 0.0798448324, -0.0100671528, 0.1040261909, 0.0000016165, -0.06071252, -0.0281922668, 0.0408780985, 0.0082381321, 0.0714425519, 0.0908808038, -0.0045536938, -0.0060053542, -0.0247918088, -0.0345892087, 0.034506131, 0.0742327198, -0.0151694296, -0.0166078452, 0.0308941323, -0.0114465002, -0.0279450212, 0.0292703621, -0.0114117572, 0.0015852713, 0.0119544612, 0.0481230468, 0.0318709984, 0.020163117, 0.072005026, -0.0075128819, 0.0818875581, -0.0163335726, -0.0354344994, 0.0186237805, 0.045678217, -0.0672162101, -0.0143805835, 0.0246064346, -0.0199697074, 0.0439353175, -0.0561498217, 0.0482114255, -0.0134196421, -0.0431274958, 0.0555246621, -0.0568246581, 0.0098935608, -0.0193978008, -0.028905265, 0.0363400653, -0.0283377878, 0.0053931521, 0.0628893375, 0.0050401432, 0.0524846762, 0.0187468808, -0.0502501689, 0.0235501677, 0.0217452329, 0.0103081251, -0.0729151592, 0.0227713734, -0.0205794387, 0.0239403043, 0.0283117387, -0.0300370716, 0.0021801752, 0.0400180593, -0.0457045361, 0.0086308233, 0.0305869877, 0.019050993, 0.0662812218, 0.026410697, 0.0052919677, 0.0173462741, -0.0155231562, 0.0374186374, 0.006069771, -0.0398188494, -0.0527541414, -0.0124630928, -0.0408754461, 0.0136458939, -0.0216362551, -0.0428364873, -0.0215933416, 0.0337116383, -0.016426228, 0.0121863401, 0.0278682336, -0.0654669702, 0.0075436928, 0.0112658227, 0.0117844874, 0.038719371, 0.0193373952, 0.0238373876, -0.0519627929, 0.0111660566, 0.0403286628, -0.0125533901, -0.0015682164, 0.012813108, 0.0826995671, 0.0391995572, -0.0453792736, 0.0498763509, -0.039988298, -0.0294900872, -0.0369884335, 0.006392702, -0.0321913622, 0.013307794, 0.0383905545, -0.0184645839, -0.0294245388, -0.0028397879, 0.0424697846, -0.0554089509, 0.0195292458, -0.0659025162, 0.0054021445, 0.032362096, 0.0126246465, -0.0244842023, 0.0126271686, 0.0506212451, 0.0131292967, 0.0613838211, -0.0558354668, 0.0390581824, 0.013553868, -0.0250847228, -0.0026292093, -0.0091885133, 0.0154601932, -0.072265625, 0.0195759013, 0.0067829085, 0.0669083521, -0.0302932374, 0.0015598808, 0.0063389689, 0.1013335064, -0.0045826579, 0.0772502571, 0.0126233706, -0.0022206262, 0.0391821638, -0.0262636188, -0.010359996, 0.0440585688, -0.0355451219, -0.0135528697, -0.0011950333, 0.0280372426, 0.0292794257, -0.0147389723, -0.0195345357, 0.0524857976, -0.007354788, -0.0451628417, 0.0274550393, -0.0269830059, 0.0056279348, -0.0120158689, 0.0584860966, -0.0317755714, 0.0203418266, -0.0039832229, 0.026415702, 0.0268160366, 0.0524522141, -0.0148791205, 0.0189414732, -0.0112866303, 0.0216739625, 0.0885302648, 0.0209453795, 0.0068809842, -0.0567627288, -0.0310276933, -0.0280351732, 0.002136868, -0.000656301, 0.0082837958, 0.0089043472, 0.032596875, 0.0101289479, -0.0069188932, -0.0762216374, 0.0408458188, -0.0708017424, -0.0655169189, -0.0235625561, -0.0390321463, 0.0270405319, -0.0236727484, -0.0472616851, 0.0360008031, 0.0030316096, 0.0143071888, -0.0377680324, 0.0247563664, 0.0379258208, 0.032232862, 0.0111165587, -0.08013165, 0.0005596325, -0.0136903403, 0.0147310058, 0.0016719654, 0.0117040724, -0.0363113545, 0.0151689369, -0.0290996265, -0.0044005327, -0.0361586884, 0.0095195258, -0.0497973822, 0.023953069, -0.0099573387, 0.0781278387, -0.014979627, -0.0402537733, 0.040269807, -0.0157850832, -0.0301092174, 0.0217581261, 0.0299543124, 0.0004387388, 0.0457477607, 0.0040668598, -0.0036684666, -0.0366959125, -0.0471148677, -0.0302928258, 0.0194695219, -0.0079649482, 0.0184767712, -0.0410034619, -0.0447408669, 0.0321603343, 0.0315482169, -0.0277582072, 0.0156372935, 0.0170275662, 0.0621696413, -0.0293949023, -0.0092755277, -0.0583914779, -0.0365152396, -0.0468376093, 0.0311487652, 0.0870244578, -0.027918512, -0.0551799983, 0.0447142422, -0.0176745933, -0.0328001268, -0.0158724822, -0.0299355984, 0.0401247516, -0.0064268927, -0.0204161629, 0.0442982949, 0.0263178907, 0.022532884, 0.0297941919, -0.0107060652, 0.0007355601, -0.0414355993, -0.0314119272, 0.0049547632, 0.0418582857, -0.0137773985, 0.0695196837, 0.0055183643, -0.0173916202, -0.0177104492, -0.0049264743, 0.0512749217, -0.0603481308, -0.0137631465, 0.0051241051, 0.0124882953, -0.0532228723, 0.0158709008, 0.0457322188, -0.0398409441, 0.029128911, -0.0349258259, -0.018983772, -0.0758764297, -0.0186702441, 0.003771353, -0.0116579179, -0.0179589577, 0.0230773296, 0.0470224135, -0.0024170049, -0.0367619917, 0.0151005127, 0.0025883061, -0.003111724, -0.002463632, -0.0333048292, 0.0061245565, 0.0051264712, 0.0097973086, 0.0005059235, -0.058316391, -0.0343269743, 0.0197940152, 0.0535030365, -0.0878865272, -0.0456726402, -0.0048879972, 0.0357223414, -0.0195299741, -0.035130173, -0.0278240442, -0.0131585365, 0.0016314718, 0.0802278668, -0.0248213299, 0.0214898419, -0.0081068315, -0.0533996113, 0.0428515039, -0.0286061652, 0.0378602222, 0.0130933737, -0.0457498841, 0.0256579667, -0.0398823321, -0.0204369295, -0.0086217215, 0.0348832086, -0.0353279859, 0.0172655191, 0.0924728513, 0.0077383374, -0.0210208762, -0.0118792709, 0.000787003, -0.0015277987, 0.0080565298, 0.0035089408, -0.0803183317, 0.0215655938, -0.0247284099, -0.0118214684, -0.0139871351, -0.0361650847, -0.0299629159, -0.0287449602, 0.0537586026, 0.0156810209, -0.0537702106, 0.0212333705, -0.0493258536, -0.0071081114, -0.0264467448, -0.0326497257, -0.0020083669, -0.0199689735, 0.0140781431, 0.0348539986, -0.0375092216, -0.0622569509, 0.0076907156, -0.0532296896, 0.026906034, 0.0049406686, 0.0688680336, -0.0543350764, -0.0295720715, -0.0182737727, 0.0220474433, -0.0048164995, 0.0116423434, 0.019675605, 0.0185785871, -0.006584242, -0.040750064, 0.0572110228, -0.0556741767, 0.0085691754, 0.0089267483, 0.0753156543, -0.0336136818, -0.0416571423, -0.0628121644, 0.0160113852, 0.0145557029, 0.077005744, -0.0179365072, -0.0192071442, -0.0471323915, -0.0485518873, 0.016060289, 0.0018799297, -0.038234029, -0.0391405858, -0.0026002529, -0.0429629683, -0.0262166224, -0.0353192203, 0.0011003491, 0.0239722356, 0.0412054881, 0.022139078, 0.0158124659, -0.0149720535, -0.008205655, 0.0135111595, -0.0210924838, -0.0109887896, -0.04847157, -0.0185908768, 0.033606682, 0.0496473573, -0.0530700423, -0.0116382279, -0.0319080129, -0.0688450783, 0.0114388391, -0.0119042695, 0.0327963829, -0.0366984084, 0.0203737952, -0.0554389469, 0.021779228, 0.0605878122, 0.0052159973, 0.0144259501, -0.0394900553, -0.0145666376, -0.0071787271, -0.0422890447, 0.0015225196, -0.0151021788, -0.0137986904, -0.0282802209, -0.0461945422, -0.0277647302, 0.0279844366, 0.0282945074, 0.0432687216, -0.09995839, 0.0005460069, -0.0047339601, -0.0776070952, -0.0392149724, 0.0079468936, -0.0194930565, 0.0149868941, 0.0195083022, 0.0350991637, -0.0281162374, 0.0363475308, -0.0392889082, 0.0100777475, -0.0377902351, 0.056472484, 0.0104900161, 0.0281026196, 0.030225791, -0.0147164576, -0.0109239072, -0.0113128945, -0.05865914, 0.0076790066, 0.0070881722, 0.0216279086, 0.0637342706, 0.0163189527, 0.0240984447, 0.0381476469, -0.1241436824, -0.0467737243, -0.0151905054, 0.0305371061, 0.0325341336, 0.0068833646, 0.0008490143, -0.0808996111, -0.0464594252, -0.0171681922, 0.0278574955, 0.0206568297, 0.0265620165, 0.0223836675, -0.0034239804, -0.0501163788, -0.0429682843, 0.0865988359, 0.0404755361, -0.0025337467, 0.0060698939, -0.0042742165, -0.0131322332, -0.0287644118, -0.0438171886, -0.0198256802, 0.0350764021, 0.0111177741, -0.0661509633, -0.0095741497, -0.0068236594, 0.0186858214, -0.0110188285, -0.0647144839, 0.0044853352, 0.0636025071, -0.0423384681, -0.0163666811, -0.0242119897, 0.0506056808, -0.0583292618, -0.05035346, -0.0277251173, -5.738129021e-33, 0.0131964423, -0.0151170827, 0.0180260148, 0.0550161079, -0.0180403944, 0.008300663, -0.0434277318, -0.0269159526, 0.0121810148, 0.0349203162, -0.0264314264, -0.0089323102, 0.0013872371, -0.0167054776, 0.0542973801, 0.0240579192, 0.033747796, -0.0156920645, -0.0203023143, 0.0102756396, 0.0577925406, 0.0266406201, 0.0511391386, -0.1022925898, 0.0446443595, 0.0260862727, -0.0118526118, -0.0096347574, -0.0017804288, 0.0368317217, -0.0497625917, 0.0112678055, -0.0098805036, -0.0157664381, -0.0064457636, 0.0148591828, 0.003499534, -0.011945379, 0.027572779, 0.0026639472, 0.0179866329, -0.0211267471, 0.0258154813, -0.0186281316, -0.0638278052, -0.0130059598, 0.0444205105, 0.0054851831, -0.070697777, -0.0404094383, -0.0320504196, 0.0179114323, -0.0128617976, 0.0550633185, 0.0131241996, 0.0070466259, -0.0180881061, 0.0871270075, -0.0153147085, 0.0420726016, 0.035604693, 0.018884467, 0.0049414942, -0.0131082842, 0.0515833274, 0.0822352841, 0.0251014885, -0.0094778659, 0.0238532256, -0.0041526197, 0.0308209118, 0.0258439146, 0.0396729819, 0.0549728349, 0.0632445738, -0.0689749867, -0.0272582211, -0.015337483, 0.0179603528, -0.0211916789, 0.0008699353, 0.0148398727, -0.0391142704, -0.0306166057, 0.043897815, -0.0352999382, 0.0104207527, -0.0398505256, 0.006106534, -0.052384913, -0.0110259606, 0.0468842611, -0.0009897709, -0.0365872905, -0.0414633825, 0.0434481017, -0.0357856303, 0.0318627954, -0.0069274423, 0.020527577, -0.1113250107, -0.0304600727, -0.0005665083, 0.0306241624, 0.0324048921, 0.0040783319, 0.0124059329, 0.0407014564, -0.0398629569, 0.0036573345, 0.0287417006, -0.0180062875, 0.0546025671, -0.0015602083, 0.0002244686, 0.0107834497, 0.0447003171, 0.0146355052, 0.0447011143, 0.0343120694, -0.0022836493, -0.0139246266, -0.0387535356, 0.0102720633, 0.004602944, -0.0189541727, -0.0030900128, -0.0245540868, 0.0515266135, -0.046330113, 0.015768148, -0.0199577585, 2.503e-7, 0.0541611314, 0.0847079009, 0.0192005709, -0.0152433058, 0.0215715151, 0.0210795235, -0.0096077435, 0.0241206773, 0.0218346752, 0.0432745554, -0.0096863592, -0.0683664009, 0.0212916099, 0.0444170311, -0.0677432194, -0.0223469473, -0.0936950892, -0.0805115104, -0.0580908917, 0.0078584505, 0.0360811129, 0.0127984304, 0.0093360543, -0.0191622879, -0.0227444433, -0.0752422586, 0.0460417792, -0.0275246706, 0.0179752931, 0.0563335605, 0.0313559882, 0.0282493494, 0.0260826927, 0.0249157343, -0.0304482467, 0.021590801, 0.0579410754, 0.03067673, 0.0119005051, 0.0380137116, 0.0292236265, -0.0178881902, 0.0233782027, -0.0401876122, 0.0280561987, -0.0140714534, -0.0233637411, -0.0506522618, 0.0033032072, -0.0394878723, 0.0242968295, -0.0340423398, -0.0175936408, -0.0013214506, -0.0167822838, 0.0256870333, 0.0005097016, -0.0510859117, 0.0064402511, 0.0515965894, -0.042035941, -0.0300019663, -0.0073074442, -0.0250263438, 0.0253373384, -0.0004060526, -0.0109553989, 2.280525392e-34, 0.0546056665, -0.0040299776, -0.0173166469, 0.006496951, 0.0049944622, 0.0306568276, 0.0846948847, 0.036286138, 0.0068856739, -0.0606852733, 0.0107396254 ]
http://arxiv.org/abs/2406.17312v1
http://arxiv.org/pdf/2406.17312v1
Not All Preference Pairs Are Created Equal: A Recipe for Annotation-Efficient Iterative Preference Learning
"2024-06-25T06:49:16"
"2024-06-25T06:49:16"
Sen Yang, Leyang Cui, Deng Cai, Xinting Huang, Shuming Shi, Wai Lam
cs.CL
cs.CL
Iterative preference learning, though yielding superior performances, requires online annotated preference labels. In this work, we study strategies to select worth-annotating response pairs for cost-efficient annotation while achieving competitive or even better performances compared with the random selection baseline for iterative preference learning. Built on assumptions regarding uncertainty and distribution shifts, we propose a comparative view to rank the implicit reward margins as predicted by DPO to select the response pairs that yield more benefits. Through extensive experiments, we show that annotating those response pairs with small margins is generally better than large or random, under both single- and multi-iteration scenarios. Besides, our empirical results suggest allocating more annotation budgets in the earlier iterations rather than later across multiple iterations.
[ 0.009111139, 0.0325045548, 0.0368062034, -0.0386302881, -0.0046277354, 0.0164288431, -0.0119421715, -0.0166242551, -0.0296233334, -0.040820118, -0.0492923334, 0.0060299458, -0.0131731331, -0.045177456, -0.0260664225, -0.0919877738, -0.0075727571, -0.0106190545, 0.0167022571, -0.0226554591, 0.0184640158, -0.0206980743, -0.0225630086, 0.0289452877, 0.0105582988, -0.0001901269, 0.012058421, 0.0032796133, 0.0382373445, -0.0927502513, 0.0214668866, 0.0277756564, -0.0170337949, 0.0088212304, 0.0000021069, -0.0566772372, -0.0638638735, -0.006407069, -0.036170397, 0.0162480827, 0.0413255766, 0.0825542212, 0.0252380483, 0.0240069516, -0.0126889003, 0.0206032041, 0.0774119124, 0.0078391861, 0.0054473183, 0.0110804318, -0.0026419542, 0.0180159286, -0.0346037522, -0.0857035965, -0.0003341586, -0.0309615731, 0.0062748762, -0.0401573628, -0.048392918, 0.00912032, -0.0123531846, -0.0298213083, -0.0037834705, 0.0005738214, 0.0705678836, 0.0307003092, 0.0271435007, -0.0123290615, -0.0383022577, 0.0390618816, 0.011217054, 0.0453420579, -0.010114559, -0.0657164231, 0.0107094934, -0.0282625165, -0.0092804506, -0.0194032099, -0.0074419845, 0.0485947616, 0.0055428748, 0.0595509894, 0.0049641966, 0.0149071794, -0.0317105763, 0.0771245509, -0.0618506186, -0.0199949462, 0.0749467164, 0.0291011073, -0.0781294778, -0.0755040273, -0.0005347219, -0.0193066448, -0.0342790224, -0.0035227463, 0.0423234291, 0.0195709076, 0.0020806498, -0.0065195467, 0.1117917374, 0.008710796, -0.0149218058, 0.0227612127, 0.0370461717, 0.0098117748, -0.0103220418, 0.0109453471, -0.0299247969, 0.0806208476, 0.0032151088, 0.0102134692, 0.0341529101, 0.0783528537, -0.0215625446, -0.0028007056, -0.054088559, 0.0129241161, -0.0240464564, 0.0331470184, -0.0086700618, 0.0242058225, -0.0360847302, 0.0401050895, -0.0863964707, 0.0236518346, -0.033232931, 0.0213645026, 0.056870956, 0.0538779832, 0.0309860036, 0.0182943549, -0.0224375501, -0.0460728556, -0.000861956, 0.0861775577, -0.0074494304, -0.0243234653, 0.0301112961, -0.0104311481, -0.0310506262, -0.0132734869, -0.0027697443, -0.0142905992, -0.0187221635, -0.0063551683, -0.0101169031, -0.0058618789, 0.0026100075, -0.0136918798, -0.0173780322, 0.0932156593, 0.0598309077, -0.0278202426, -0.0062531396, -0.0443623886, -0.042942211, 0.0473923609, 0.0456718244, 0.0718948245, 0.0340431705, -0.0047150259, -0.0312083736, -0.0114370771, 0.0233565662, 0.0001827154, -0.0241715014, 0.0019874659, 0.0314351209, 0.0497618131, 0.060331244, -0.0246721525, -0.0527836382, 0.0082663447, 0.039726764, 0.0153215611, 0.028038539, -0.0532098748, -0.0342401266, 0.0234473255, -0.0200736597, 0.0095844911, -0.0182313863, 0.0728829578, -0.0128023652, -0.0357335806, 0.0303337406, -0.0551829562, -0.0110155558, -0.0748618767, 0.0182496682, 0.0102842189, 0.0080123562, 0.060047701, 0.0511668734, -0.0193426646, -0.045737654, -0.0511537306, 0.0396188349, -0.0028683026, -0.0352422036, -0.0395306349, 0.0572800823, 0.08361689, 0.0053676628, -0.0526619628, -0.0118341101, -0.0250800215, -0.057556089, -0.0079838084, 0.0798620507, -0.0607160367, 0.012483919, -0.0062509566, -0.0790689513, -0.0185921863, 0.0031557451, 0.0546487011, 0.0120936902, -0.0214027558, -0.0416770279, 0.0035594546, -0.0024641438, -0.0022892428, 0.0542834923, -0.0163851287, 0.0980933458, 0.0161118098, 0.0920536816, -0.0238783192, 0.0369592533, 0.0024552494, -0.0025020617, -0.0185051486, -0.0182773415, -0.0103523415, -0.0151633872, 0.0029496821, 0.0290109962, 0.0065602562, -0.0081269918, 0.0022009984, -0.0348430425, 0.0100357411, -0.027856214, 0.0035187167, 0.009854015, 0.0100827338, 0.0038056993, 0.0173788369, -0.0154945925, -0.1021056995, 0.0171880908, -0.0269975364, -0.0110925231, -0.0165285319, -0.0068659298, -0.0098392488, -0.0513251126, 0.0199722815, -0.0050655571, 0.0056527313, -0.0001199845, 0.0357362293, 0.0043791309, -0.005129735, -0.032941252, -0.0393982418, 0.0342990868, 0.0154834539, 0.0004193898, -0.0241628606, -0.024259612, 0.0362932011, -0.0253246278, 0.0035482347, 0.0155985914, -0.066190213, 0.0421494879, 0.0197886359, 0.0233435575, 0.0253694858, -0.0502052195, -0.0251664501, 0.0153137753, 0.0032809516, 0.0284305029, 0.0070941397, -0.0079666823, -0.0260399468, -0.0280710701, -0.0337823294, 0.0001966167, 0.0251070522, 0.0223516896, -0.0055609499, -0.0054669152, 0.1008118019, 0.032077264, 0.0637138635, 0.0577894896, 0.0030676518, -0.0766717792, 0.0092717316, -0.0404881239, -0.0244361348, -0.0148912231, 0.0059899725, 0.007159627, 0.0606379397, -0.0493331514, -0.0003740746, -0.0374148376, -0.0139209181, 0.0051154718, -0.0349614844, -0.0318468437, 0.0573033802, -0.0086920056, 0.0710484162, 0.0012059745, -0.0239633545, 0.0953273922, 0.0506742075, 0.0183080751, -0.0522774681, 0.0298872236, 0.0037497403, 0.0020676679, -0.0100898938, 0.0019117533, -0.0103557026, -0.0144606791, -0.0336333625, -0.0417401306, 0.0847912207, -0.0214278977, 0.0222895816, -0.0090582231, 0.0035364788, -0.0361435339, -0.08291132, 0.0000948873, -0.0544605516, -0.0168276876, 0.001969442, 0.002940326, -0.0086226687, 0.0287951846, -0.0175432712, -0.0043110526, 0.0398710556, -0.0081533883, -0.0288895089, 0.0023056595, -0.0094140274, 0.0011497891, 0.0395721309, 0.0086512929, -0.0085852435, -0.0340651982, 0.0270912908, 0.046187643, 0.0046634558, 0.0078980317, 0.0344427712, 0.0345630459, -0.0851034522, -0.0066009029, 0.0334556289, 0.016806554, -0.0109432265, 0.0412919, 0.0416569449, 0.0217552576, -0.0791542605, 0.0193508267, 0.0155878756, 0.0797926113, 0.0221052542, 0.0120286783, -0.0801121369, -0.0153873945, 0.0097628394, 0.0907686651, -0.0120629352, -0.0283400305, 0.0004704394, -0.1012819484, 0.0194081198, -0.0427851379, -0.0597802848, 0.0500205271, -0.0695461109, -0.0043809898, -0.0665178075, -0.0158497635, 0.0119944941, -0.0011404912, -0.0002720966, 0.0369751416, 0.0157024916, 0.0076105483, 0.0217539873, -0.0062723351, -0.0185475554, 0.113279663, 0.0132130953, 0.0059364839, 0.0036342749, 0.0258288011, -0.0071412972, -0.0163643137, -0.0391990803, 0.0459929854, -0.0008223575, -0.0010739142, -0.0169299711, 0.0495638363, 0.0389744937, -0.0097565418, -0.0024642653, 0.0111920508, -0.0077399714, 0.0077122329, 0.0211639367, -0.0224391669, 0.041337952, 0.0114910454, -0.0243049469, -0.0960774869, -0.0330367573, -0.0574176386, -0.0006489023, -0.0551992878, 0.0307325926, 0.0133091127, -0.0133387307, -0.0154862935, -0.0774051026, -0.0085611977, -0.0078529697, 0.0605868548, -0.0043910281, -0.0580389276, -0.032200627, 0.007022344, -0.0468211211, 0.0107777305, 0.0295927208, 0.0008519784, -0.0378417447, -0.0311907548, 0.0152556682, -0.0295413807, -0.0618247166, -0.0285605118, 0.0165692233, -0.0487436391, -0.0224900618, 0.0928773284, 0.0163200535, 0.0654951334, 0.0179387257, -0.0357980356, 0.0074179275, 0.0499785393, 0.0554818101, -0.0156348515, 0.0756056905, 0.0686510205, -0.0360287577, 0.0048401426, -0.0403910242, 0.0204399824, 0.0215021428, -0.0017013875, 0.0087051177, -0.0102985334, 0.0239507463, -0.0150105814, 0.0452702232, -0.0391929075, 0.0006802133, -0.0125878891, 0.0433567241, 0.0262102205, -0.0367674083, -0.0420131572, -0.0342823751, 0.0294590257, -0.048094891, -0.0185638797, -0.01177599, 0.0377875976, 0.0037053733, -0.0298375245, -0.0078436006, 0.0501031801, 0.0294903256, 0.0186832193, 0.0281043928, 0.0102032963, -0.0065724393, 0.038232211, 0.042352289, 0.0518218018, -0.0048145424, 0.0403686166, 0.0320752338, 0.0075127273, -0.0056750551, 0.0156092625, -0.039363578, -0.032129284, -0.044878602, 0.0078589739, -0.0185377114, 0.0643066168, -0.0088039627, -0.0198464245, -0.0278961807, 0.0217854232, -0.0587736107, -0.0005665736, 0.0203629974, 0.0116415489, 0.0079013342, 0.0110538723, 0.07385353, -0.0098558292, 0.003237359, -0.0480897687, -0.0025795109, -0.0513318144, -0.0201203283, -0.014462932, 0.0486736596, -0.0188737623, 0.0000804121, -0.0052974825, -0.0014622499, -0.004460841, -0.0263348967, 0.0055903816, 0.0083293971, 0.0325433798, 0.0115038957, -0.0265333336, 0.0017303661, -0.0420610942, -0.0329425707, -0.0474113896, 0.0074967607, -0.0346273556, -6.380544398e-33, -0.0087834978, -0.01405265, -0.0209381618, 0.0374279805, -0.0143623706, -0.0100897942, 0.0062818574, 0.0248169918, 0.0494334064, 0.0054772124, -0.0070908866, -0.0434351005, 0.0157757122, 0.0059352322, 0.0442342497, -0.0337123573, 0.0453694724, 0.0195585098, -0.0837584361, 0.0055778883, 0.0198407862, -0.0116767334, 0.0186029039, -0.0601012893, 0.0045836596, 0.0945942327, -0.0320683606, 0.0052198693, -0.0248927455, 0.0684964806, 0.0176403839, -0.0096964529, -0.0094593419, -0.0300844312, -0.0089879623, -0.001497351, -0.0791602433, -0.0095733134, -0.0239187684, 0.0013315553, -0.0040663374, -0.0335989855, 0.0254681166, 0.0414754339, -0.0104000969, -0.0315704644, 0.009511508, -0.0234740637, -0.032042332, 0.0224240199, 0.0058674975, 0.0162933115, -0.0248597097, -0.0048697563, 0.0372278765, 0.0697214082, 0.0076323804, 0.0507548377, -0.0325078331, 0.0426093861, -0.0233964641, 0.0195523966, -0.0107310079, -0.0027455888, 0.0418965481, 0.0115672434, -0.0175418351, -0.0008198128, 0.0729752779, -0.0422935039, -0.0291941166, 0.0262191743, 0.000583684, 0.0104338909, 0.0422626361, 0.0058128503, -0.053440582, 0.0318729728, 0.0265528746, -0.0512750708, 0.0323245749, 0.0622309297, -0.006352325, -0.0318172202, -0.0259085987, -0.0629797429, -0.0378296003, -0.0421338081, 0.0386303626, 0.0612641647, -0.0178008303, 0.0626848638, 0.0242225137, -0.016724024, -0.0603954196, -0.0444116518, -0.0403970741, 0.0541004911, 0.0123170521, -0.0415473096, -0.0882827565, -0.0254768636, -0.0342049785, -0.0408090577, -0.0358692929, 0.0186812505, 0.0440993831, 0.0023274906, -0.0178241134, -0.0065118321, 0.0124939978, 0.0007944669, -0.0166409276, 0.0117357811, 0.0467294231, -0.0131139131, -0.0123470314, 0.0569349974, -0.011254169, 0.0115601439, -0.0431715176, -0.0268810261, -0.0237953234, 0.0230060276, -0.007408313, 0.0106929177, 0.0156269837, -0.0252514184, -0.0547859445, -0.028533332, -0.0340111479, -0.0140610011, 2.687e-7, 0.0338843577, 0.045673538, 0.0003334167, -0.0278309919, 0.0215443727, 0.0481178761, 0.0249114148, -0.0300427675, 0.0338436589, 0.0263544284, 0.0269295909, -0.0053860578, 0.0272086188, -0.0006369615, -0.0250301342, -0.0763432607, -0.0260839872, 0.0553191155, -0.0090387706, -0.0449315235, -0.0153534738, 0.0183173735, 0.0507821068, 0.0113309193, 0.0244650226, 0.0736821592, 0.0699732602, -0.056019064, 0.0334602073, 0.0110266637, -0.0291711614, -0.0189751666, -0.013616343, 0.0004232925, -0.0160724372, -0.00144859, 0.0130867166, 0.0465165786, 0.0051086345, -0.0756399259, -0.0071858591, 0.0480483584, 0.0460749604, -0.0411530584, 0.0511526577, -0.0798768848, -0.0472083874, -0.0338664949, -0.0072078425, -0.0153349703, 0.0368145593, 0.0060358732, 0.0000732028, -0.0123107145, -0.0156423505, 0.0705959275, -0.0231422391, -0.0355475955, -0.0203915406, 0.0782783255, -0.0091139348, -0.0193978995, -0.0260821432, 0.0585495979, -0.0347401612, -0.03020785, -0.0277588945, 2.186062712e-34, 0.0210208446, -0.014141948, 0.0012514153, 0.0358119793, -0.0079113673, 0.02728392, 0.0027622969, -0.0274052657, 0.0833971649, 0.0014945389, -0.0051870174 ]
http://arxiv.org/abs/2406.17305v1
http://arxiv.org/pdf/2406.17305v1
Retrieval Augmented Instruction Tuning for Open NER with Large Language Models
"2024-06-25T06:24:50"
"2024-06-25T06:24:50"
Tingyu Xie, Jian Zhang, Yan Zhang, Yuanyuan Liang, Qi Li, Hongwei Wang
cs.CL
cs.CL
The strong capability of large language models (LLMs) has been applied to information extraction (IE) through either retrieval augmented prompting or instruction tuning (IT). However, the best way to incorporate information with LLMs for IE remains an open question. In this paper, we explore Retrieval Augmented Instruction Tuning (RA-IT) for IE, focusing on the task of open named entity recognition (NER). Specifically, for each training sample, we retrieve semantically similar examples from the training dataset as the context and prepend them to the input of the original instruction. To evaluate our RA-IT approach more thoroughly, we construct a Chinese IT dataset for open NER and evaluate RA-IT in both English and Chinese scenarios. Experimental results verify the effectiveness of RA-IT across various data sizes and in both English and Chinese scenarios. We also conduct thorough studies to explore the impacts of various retrieval strategies in the proposed RA-IT framework. Code and data are available at: https://github.com/Emma1066/Retrieval-Augmented-IT-OpenNER
[ 0.0518025644, 0.0429399647, 0.0346805863, 0.0362632759, -0.0226492845, 0.0339228213, -0.0115302484, 0.0371371321, 0.0014302499, -0.0532670952, -0.0656891093, -0.0258749798, -0.0319244787, -0.0318439454, -0.0170679279, -0.0037454669, 0.0201993529, -0.0064519257, -0.0064269789, 0.0287575275, -0.0318589881, 0.0109712826, 0.0154342996, 0.0184180364, 0.0651831031, 0.0167162474, -0.0087294392, 0.0422684029, 0.0272805206, -0.0437336378, 0.0253553577, 0.0087019484, -0.0001049826, 0.0198452882, 0.0000018348, -0.0622708946, -0.0801770389, 0.0270102154, -0.0522399209, -0.0026711512, 0.0558881871, -0.0075891782, -0.0011826777, 0.0200547054, 0.0095083835, -0.0585044362, 0.0247633383, 0.0975554511, 0.0168823805, 0.1038113311, 0.0103318058, -0.0240536295, 0.0356255844, 0.0084679723, 0.0032179505, -0.0121824378, 0.0477522872, -0.0466609895, 0.0028020544, 0.0561861545, 0.0015494371, 0.0123684853, 0.0052823797, 0.0243967995, -0.0054076435, 0.0418755598, -0.0305250827, 0.0208063163, -0.030285703, 0.0613932647, 0.0078261858, 0.0417305343, 0.0215682387, -0.001273405, -0.0419292897, -0.0129105551, -0.0399321243, 0.040859133, -0.0232008621, 0.0193394609, 0.0418380834, -0.0273782164, 0.007488315, 0.0184160452, -0.0373772718, 0.0440530144, 0.0381531864, -0.0695107132, 0.0246477444, -0.0160835776, -0.0122162215, -0.0209610015, -0.0069599175, 0.0463629626, 0.0134577658, 0.0494301952, -0.0062349159, 0.007421812, 0.0070212437, -0.0229302198, 0.0448928066, 0.0313177668, -0.0368042029, 0.0305736847, -0.0438302346, 0.01245136, -0.0129124606, 0.0199165195, -0.0260972083, -0.0183548126, -0.0587838441, -0.0035127385, -0.0341995358, 0.0442164876, -0.0619710572, -0.0059316852, -0.0106739309, 0.0286805201, 0.0186447222, 0.0089907954, 0.0362815335, -0.0303121265, -0.0102866208, 0.0039549381, -0.0473593771, 0.031294059, 0.004935801, -0.0069022714, -0.0172960516, -0.0556254946, -0.0140287606, -0.0107899606, 0.0329467356, -0.0538783893, 0.0320253968, 0.0349213518, 0.0285732076, -0.0744863898, -0.0771634281, -0.0032898551, 0.0241362024, -0.0382454693, 0.0005318116, -0.0212016683, 0.0008090065, 0.0044517019, 0.0019638734, -0.0409892127, 0.0466723144, 0.0367591828, -0.0434420742, 0.0416538641, -0.021800844, -0.0221063886, 0.0150525058, 0.0002975197, 0.0660897866, 0.044930324, 0.0100317262, -0.0221137851, 0.0644084811, 0.0209326353, -0.0222863406, 0.0213435031, 0.0191849321, 0.0092746327, 0.0171015393, 0.0576464199, 0.0201705899, -0.0021570802, 0.015427975, 0.0416187644, -0.0109758638, 0.0036354985, 0.0002800261, 0.0178374164, 0.036949493, -0.0384052992, 0.0319927298, 0.0071229315, -0.0147303715, 0.0152203944, -0.0264410228, -0.009459761, -0.0581555292, 0.0469038785, 0.0347592048, 0.0337364078, -0.0295575634, -0.0241880547, -0.0136959599, -0.0021057329, -0.0191486236, 0.037498638, 0.0705949962, 0.0163964834, -0.076996699, 0.0374163166, 0.0659189969, -0.0235674623, 0.0305475276, -0.0500678271, 0.0160551015, 0.0459084511, 0.0438596532, -0.0455231369, -0.0227839015, -0.0122756083, -0.0446112826, 0.0339306928, 0.00275773, -0.021714922, -0.0033884563, -0.0672701523, -0.019452773, 0.0018105659, -0.0013271533, 0.0141230477, 0.045767758, 0.0262201112, 0.032838203, -0.0014024777, -0.0660188571, 0.0481181629, -0.0435195677, -0.0742329434, 0.0158377402, 0.0409665816, 0.0054207658, 0.0411029831, -0.0289675593, -0.0071577937, 0.0268020555, -0.0105383433, -0.0198285338, -0.0548017211, -0.0099928332, -0.0399185866, -0.0036202078, 0.0171868373, -0.010816507, -0.013089899, -0.0350841545, -0.0445754603, -0.040043924, 0.0537867546, 0.0391943492, -0.066304408, 0.0337149352, 0.01889636, -0.0127563439, -0.046923317, 0.0501860306, -0.0080125984, 0.0398110822, 0.0641735941, 0.01503025, -0.0023427079, -0.0504573956, -0.0697940066, 0.0064034606, 0.0103525938, 0.001570433, 0.0267139599, 0.024869306, -0.0593552403, -0.0511436723, -0.0874141678, 0.0649527907, -0.0544141755, 0.0505971536, 0.0106036672, 0.0448206402, -0.0289527327, -0.0126101747, 0.000267593, -0.0215181857, -0.0318258256, 0.0133371782, 0.0001322477, 0.0376099572, -0.0303460471, 0.0056959633, 0.0101605738, -0.0113658188, 0.0154550597, 0.0097808177, 0.0070549524, -0.0706104562, 0.0624701641, -0.0237316918, 0.0079601305, 0.0045953859, 0.0297220349, -0.0110920323, -0.0062142806, 0.032340955, 0.0651433617, -0.0218636952, 0.0313094892, 0.0087679429, -0.0159541983, -0.0547665358, 0.0231437515, -0.0266314615, -0.0575771518, -0.0207305048, -0.0475990921, 0.027863387, 0.0491672903, -0.005377328, 0.0044863289, -0.0253754202, -0.0533212833, -0.0361467376, -0.0089208083, -0.0409929566, 0.0412553996, -0.0186152756, -0.0242720451, -0.0128418552, -0.0310721025, 0.0603187419, -0.0348282419, -0.0137690986, -0.0516006313, -0.0154895838, -0.0956086963, 0.046018213, -0.0211637579, 0.007028921, 0.0596689582, -0.0635744706, -0.0151106594, 0.0339418724, -0.0273231938, -0.0333201513, 0.0425769649, 0.0035525628, 0.0088697001, -0.0105811823, 0.000405611, -0.0469090603, -0.0169945173, 0.0043859901, 0.0376364961, -0.0024666784, -0.0124564357, -0.0086069787, 0.0371121094, 0.0213743616, 0.0400306061, 0.0084385667, -0.0046655852, -0.0310738664, 0.0127900206, 0.0552455448, -0.009896135, -0.0222964957, -0.0302428864, 0.0116646709, 0.0190841015, 0.0282966215, -0.0219703242, 0.0303800646, 0.0063788099, 0.0334151164, -0.0831357837, 0.024771139, 0.0248580258, 0.0313837081, -0.0385900997, -0.0185363907, 0.1082982048, 0.015514018, -0.0284767076, -0.0460091941, -0.0076466152, 0.0233394187, 0.0193181373, 0.0075593391, -0.0747403353, -0.0313668922, 0.0036615112, 0.0447991006, 0.0041950042, -0.0380648896, -0.0030860782, -0.1371907592, 0.0228070505, -0.0236368142, -0.0543676168, -0.024193963, -0.0562842414, 0.0259517394, -0.02369399, 0.0294952225, 0.0141222402, -0.0567036383, -0.0011257749, 0.015474651, 0.0647635981, -0.0450144745, 0.0117176147, -0.0568847097, 0.0369387977, 0.0282698981, -0.0039225337, 0.0096001411, -0.0034407694, -0.0163235739, -0.059840586, -0.0013384438, -0.0308349878, 0.0365852416, -0.0447424613, 0.0080477893, -0.0303863436, 0.0018752012, -0.0026874479, 0.0188806336, 0.0388050787, 0.0551369041, -0.0050633578, 0.036936, 0.0000773782, -0.0580649786, 0.0376251675, 0.0976289436, -0.0028373715, -0.0324324891, 0.0085576437, 0.0237518661, -0.028857613, -0.0058381995, -0.0119473133, 0.0407499634, -0.0806832016, -0.0030104839, -0.0286701974, -0.0404943898, 0.0324875005, 0.0183675345, 0.0228363518, 0.0071465187, 0.0182910971, 0.0159287378, -0.0411583111, 0.0511477627, -0.0403783731, -0.0032224639, -0.094774656, -0.0266407225, 0.022095358, -0.0056424951, -0.0166407712, -0.0087332083, -0.0303158034, -0.0450602658, -0.0224982891, -0.0070744501, -0.0026067763, 0.0440106466, 0.0239221938, -0.0036937769, 0.0317393877, 0.0140801081, -0.0303605516, -0.0160339214, 0.0272101425, 0.013733712, -0.0134971933, 0.0332845449, -0.0561474226, 0.0102569219, 0.0407124832, 0.0558867976, -0.0022448183, -0.0598869547, 0.0252895616, 0.051417429, 0.0526940189, 0.0007333388, -0.0052126911, -0.0823521614, 0.061544694, 0.0013011368, -0.0093298545, -0.0234038364, -0.0140052037, 0.0349804312, -0.0360876471, -0.0178280007, 0.0715884939, -0.002599444, 0.0356947519, -0.0657185987, 0.0335297883, -0.0085573858, 0.0742513835, 0.0232513025, -0.0254455078, -0.014655821, 0.0410628319, 0.039790459, 0.0407648832, -0.0231738128, 0.0727183074, 0.0074488102, 0.01639398, 0.0051163291, -0.0022893429, -0.0358498171, 0.0103845447, -0.0164806824, 0.040203549, 0.0222768616, -0.0110976966, 0.0261749737, -0.0159068331, -0.0111753792, -0.0218332354, -0.0056622704, 0.0045160148, -0.0172452573, 0.0282102004, 0.0203608032, -0.0251825079, 0.0047518364, 0.0272876509, -0.0069016018, 0.0385368094, 0.0044551911, 0.005242731, -0.0240862444, 0.0129241329, 0.0648161769, -0.003844931, -0.0415768251, 0.0256705936, -0.0087595247, -0.0295230113, -0.0182519723, -0.0119609665, -0.0405219607, 0.0001360524, 0.0196310077, 0.0256860051, -0.0032527228, -0.0451389104, -0.0447756052, -0.0042328681, -0.0328611508, -0.0238572359, 0.0065165553, -6.328226818e-33, -0.0356444605, 0.0096300589, 0.030394353, -0.0032781537, -0.0052649556, 0.0274409447, -0.0079335868, -0.0444718599, -0.014999304, -0.0465558879, -0.0218623765, -0.0229569338, 0.0288386066, 0.0482031032, -0.0282664541, -0.0261968244, 0.0438890494, 0.0367431119, -0.0174616612, 0.0142034134, 0.0602178276, 0.061401587, 0.062596105, -0.0696651414, 0.0591238141, -0.0278751384, 0.0380555503, 0.0178830214, 0.058262147, 0.0722383335, -0.0307757575, 0.0442049503, -0.0006051359, -0.0959081128, 0.01656764, 0.0126575008, -0.160079211, -0.0153961582, 0.0029073376, 0.0067055384, -0.0322050825, -0.029448323, -0.0047954759, -0.0135974027, 0.0220132004, 0.0032809649, 0.0142004071, -0.0037632382, 0.0131742125, 0.0174299013, -0.0558298156, 0.0450126305, 0.0287768636, 0.0180843007, 0.0358556919, -0.0221078601, 0.0304996241, -0.0178086106, -0.0762104169, -0.0107252225, 0.0414151996, 0.0120748468, 0.0206705406, 0.0612225607, -0.0003862479, 0.0085998131, 0.001999178, -0.0111720944, -0.0229404997, -0.0332677141, 0.0101636201, 0.0463996492, -0.0520885587, 0.0008521716, 0.0207750425, -0.0035609729, -0.0774997845, 0.0314176604, 0.0025496662, 0.0277601071, 0.0135070514, -0.0084685208, -0.0795507878, 0.0078871502, -0.0043645366, -0.0072703664, -0.055013258, -0.0329643153, 0.0557937101, 0.0474569127, -0.0619441494, 0.0030072308, 0.0434510969, -0.0173223689, -0.019012535, 0.025204733, 0.0328425802, -0.0084713809, -0.0526833571, 0.0207515378, -0.0824414641, -0.0663759634, 0.019191049, -0.052309718, -0.0222816803, 0.0083194254, 0.0282250308, 0.0075648893, -0.0772325173, 0.0069370763, -0.0061768424, 0.0201203804, -0.0186097156, 0.0190810114, 0.0073621352, 0.0277788211, 0.0111600449, 0.0366723053, 0.0734712258, 0.0048180548, -0.0523988269, -0.0580069534, 0.0407008156, -0.0086544259, 0.0034926445, 0.0532520264, 0.0065658456, -0.0034934839, -0.0159027167, -0.0358157903, 0.0080179768, 0.0387561806, 2.597e-7, 0.0044653527, -0.0093551297, 0.0145347062, 0.0430729464, -0.0563683882, 0.0005638639, 0.0137415733, 0.0280607082, 0.0008326784, -0.0040456881, 0.0157676376, 0.0002565851, 0.0124301258, 0.0036032929, -0.0922643915, -0.0173099563, -0.0066700373, -0.0073068826, -0.0546688214, 0.0320646986, 0.0445498861, 0.0925942287, -0.0189590268, 0.0122123221, -0.0466392934, -0.0395721421, 0.035503488, 0.0122451801, -0.0087640155, 0.058087308, 0.0526007079, 0.0676999241, -0.0148332939, -0.0009301801, -0.0001690362, 0.0588999651, 0.0189240631, 0.0723759159, 0.018680986, -0.0449853018, 0.0139631918, -0.045613043, -0.0034878373, -0.0344835408, 0.0843606293, -0.0144549198, -0.0021921867, 0.0267240368, 0.0057009207, -0.0178277027, 0.0155717731, -0.0006996517, -0.0107155321, 0.0328174084, 0.0193755124, -0.0295543857, -0.0197788998, -0.0959222838, 0.0254677199, 0.0144896321, 0.010457295, -0.0395939127, 0.0000378784, -0.0125707099, -0.0223441496, -0.0689434856, 0.0055221487, 2.50860803e-34, -0.0153367762, 0.010032949, -0.035000585, 0.0475214645, 0.039740447, -0.016840985, -0.0635029376, 0.0203162841, -0.0198686887, -0.1248810142, -0.0136685111 ]
http://arxiv.org/abs/2406.17304v1
http://arxiv.org/pdf/2406.17304v1
Leveraging LLMs for Dialogue Quality Measurement
"2024-06-25T06:19:47"
"2024-06-25T06:19:47"
Jinghan Jia, Abi Komma, Timothy Leffel, Xujun Peng, Ajay Nagesh, Tamer Soliman, Aram Galstyan, Anoop Kumar
cs.CL
cs.CL
In task-oriented conversational AI evaluation, unsupervised methods poorly correlate with human judgments, and supervised approaches lack generalization. Recent advances in large language models (LLMs) show robust zeroshot and few-shot capabilities across NLP tasks. This paper explores using LLMs for automated dialogue quality evaluation, experimenting with various configurations on public and proprietary datasets. Manipulating factors such as model size, in-context examples, and selection techniques, we examine "chain-of-thought" (CoT) reasoning and label extraction procedures. Our results show that (1) larger models yield more accurate dialogue labels; (2) algorithmic selection of in-context examples outperforms random selection; (3) CoT reasoning where an LLM is asked to provide justifications before outputting final labels improves performance; and (4) fine-tuned LLMs outperform out-of-the-box ones. Our results indicate that LLMs that are suitably fine-tuned and have sufficient reasoning capabilities can be leveraged for automated dialogue evaluation.
[ 0.0591271333, 0.0596310422, 0.0100800209, 0.0610467419, -0.053961549, 0.0188011322, 0.0390067771, -0.0019982834, 0.0163724907, -0.0629931092, -0.0605277829, -0.0481132269, 0.0224606507, 0.0363082103, 0.0156152397, -0.0448140353, 0.0022404131, -0.0372545049, 0.0588320605, 0.0114715593, 0.0093516968, 0.0028436454, -0.0202383008, 0.0439252034, -0.0247842036, -0.0344639383, -0.0032121539, 0.0021272611, 0.0027526903, -0.0295495577, 0.0104208151, 0.0348340087, 0.0077836774, -0.0180244818, 0.0000019455, -0.0480198786, 0.0121855019, -0.0152056869, -0.0491750464, 0.0056327223, -0.0153810224, 0.0374111012, -0.0058985339, 0.0152431987, -0.0373511948, 0.0140496939, 0.0201759581, 0.078078486, 0.0532951951, 0.0739187375, -0.0003365507, -0.0233348627, 0.0102586085, -0.0076937201, -0.0076114018, -0.0649988279, 0.02195381, 0.0432009548, 0.0025945613, 0.0286735818, 0.0263633691, 0.013801082, 0.0048480113, -0.0651094541, 0.0267065354, 0.0194205567, -0.048612494, -0.0446521677, -0.0186540671, 0.1077204049, 0.0330569595, -0.0059367167, 0.006786149, -0.0033297432, -0.0160945281, -0.052597709, -0.0362279303, 0.0192056317, -0.0010585376, 0.0154856667, 0.0016374497, 0.0357443467, 0.0217771344, 0.0412608795, -0.011769074, 0.0460821316, -0.0127991065, -0.0531046763, 0.001931609, 0.0014442087, -0.0219218079, -0.0532777011, -0.0122484984, 0.028344322, -0.0676715672, 0.0350088142, -0.0222577807, 0.0167849846, 0.0010119246, 0.0100038359, 0.0116006127, -0.0040636314, -0.0110617746, 0.0832476169, 0.00207149, 0.0680440068, 0.0044729989, 0.0213901885, -0.0205279756, -0.036398083, -0.0678273365, 0.0295741782, -0.016792208, 0.0524186715, -0.026954392, -0.0315418802, -0.0118534258, 0.0060718986, -0.0248805098, 0.0310043208, 0.0442875959, 0.01236609, 0.0026765424, -0.0168751422, -0.036596965, 0.0304477699, -0.0238033999, 0.0163142346, 0.0533546135, -0.0507656857, -0.0293196626, 0.0534055121, 0.0150448969, -0.0074652587, 0.0197222102, 0.0702796653, 0.0025943855, -0.0348266475, -0.025872957, -0.0159581117, -0.0528349467, -0.0793185979, -0.0392007418, -0.0306732394, 0.0194546301, -0.0029355865, -0.0004363879, -0.0291712098, 0.00998234, 0.0064318753, -0.0114722755, 0.0273249727, 0.0094049387, 0.0333530419, 0.0163653884, 0.0031166773, -0.0220570266, 0.0346864201, 0.0656580999, 0.0134346383, 0.0679671615, 0.000677528, 0.0332515687, 0.0054684686, 0.0055200369, 0.0256122705, 0.0098260101, 0.0164753255, -0.0237858575, 0.0355092324, 0.0057646963, 0.083333917, -0.031487897, 0.0248150472, 0.0847401321, 0.0466386788, 0.0148652978, -0.0049125305, 0.0503645279, 0.0523551852, 0.0140560465, -0.0013844246, -0.0273945928, 0.0199240185, 0.0035842245, -0.0106496494, 0.0762496516, 0.0059946864, -0.0274998676, -0.0948610306, -0.0115513289, 0.0060445657, -0.006158914, 0.0225001276, 0.0089915814, 0.0143134333, -0.0543453619, 0.0266361237, 0.0028322565, -0.0441717617, -0.0338120162, -0.0480575114, 0.0531380996, 0.0473826602, 0.0470664576, -0.0093135322, -0.0171464086, -0.0458092391, 0.0207705069, 0.0429155231, 0.028486168, -0.0267850999, 0.0469646119, -0.0658550262, -0.0143369967, -0.0093034981, 0.0207193196, -0.0061412365, -0.0093233027, -0.0126172034, 0.0211290624, -0.039944876, -0.0386128388, 0.011304426, 0.0036485565, -0.0417578369, 0.0558771007, 0.0249946397, 0.0528650247, 0.0267022587, -0.0287981238, -0.0033939129, 0.0131261721, -0.0316576473, -0.0112703769, -0.0007063875, -0.0843584836, -0.0512885265, 0.0009499978, -0.0090272138, -0.0317281671, 0.0035378549, -0.0444820523, -0.0506140068, 0.0055751055, -0.0460178554, -0.0217454098, -0.0480790399, 0.0194198526, 0.0040500914, -0.0018276416, -0.0342856497, 0.0507153273, 0.021915596, -0.0129764928, 0.0369267762, 0.0172676463, 0.0277983882, -0.035134688, -0.0133957798, 0.0275207553, -0.0126573052, 0.0268718507, 0.0302359238, 0.0221102666, -0.0586095192, -0.0339831673, -0.1100941673, 0.0181658063, -0.0235201344, 0.0159576815, -0.0087255081, -0.0197097044, 0.0073094764, 0.024686547, -0.037887536, -0.0475021526, 0.0189581364, -0.0270132832, 0.0411879309, 0.0098456973, -0.002087682, -0.0264242236, 0.030568447, 0.0162689406, 0.0593104921, -0.0130041623, -0.0071805175, -0.0313436836, 0.0497872233, -0.0583988391, -0.0142111816, 0.001830542, -0.048859518, 0.0118407216, 0.0062046666, 0.004283607, 0.0884680077, 0.0130112367, 0.0041343714, 0.0249443874, -0.0114286309, -0.0469538607, 0.0127924029, 0.0064682877, -0.0001821505, -0.0131605398, 0.0006717418, 0.029478468, 0.0552084222, 0.0174657367, 0.0342657939, -0.0477021672, 0.0212102514, -0.0078322105, -0.0260836165, -0.0064901235, -0.0083154133, -0.0242808722, 0.0613478087, -0.0215725955, -0.0381641053, 0.0812884942, -0.0446920916, -0.0149538089, -0.0296574254, -0.0243640188, -0.0523972549, 0.0471684299, -0.0220338423, 0.0019074834, 0.0145732118, 0.0006969885, -0.0042098421, -0.022462178, 0.0184586029, -0.0358002633, 0.0376103297, -0.0631975234, 0.0043016775, 0.0235967003, -0.0550542623, -0.0504341684, -0.0135617312, -0.0416939631, 0.0091914646, 0.0136382766, 0.0105175208, 0.0069102072, -0.0020022867, 0.0213765036, -0.0004890104, -0.0085526416, 0.0189182982, 0.0029919085, 0.0495061018, 0.0479148366, -0.0028072689, 0.0275800489, -0.0058976375, 0.0901399255, 0.0287441015, 0.0025880358, 0.0344635025, -0.0266529731, -0.0196346454, -0.0199575145, 0.027261395, -0.0419740789, 0.0336767696, 0.0796628222, -0.055485595, -0.0201703198, 0.1255352646, 0.0116630485, -0.0347744413, -0.0116222864, 0.0043492448, 0.0258175936, 0.009611492, -0.0024476706, -0.0742182508, -0.0577485003, 0.0060952608, 0.0035680921, -0.0646655038, -0.0413592719, -0.0173101854, -0.1369758248, 0.050643906, -0.0107656168, -0.0035678435, -0.0159890801, -0.0365311019, 0.0398913175, -0.0135446778, 0.0221116524, -0.0127689969, 0.0369962715, -0.0191671979, 0.0315911733, -0.0172784813, -0.0529549308, 0.0445419773, -0.0067395847, 0.0794078559, 0.0467090718, 0.0688296631, 0.0432993844, -0.0312706418, 0.0408400781, -0.0440763831, -0.0138289155, -0.0011557519, 0.042210985, -0.0114462823, -0.0022747517, -0.0177367087, 0.0363211669, 0.0141801257, -0.0112762032, 0.013217045, 0.0145485485, -0.0517126732, -0.0100637944, 0.009795676, 0.0286258329, 0.0258680079, 0.0932646841, 0.0698409528, -0.0461802632, -0.0312410463, -0.0121626528, -0.0341236889, -0.0516586825, -0.0019434171, 0.0197615139, 0.0202422459, 0.0201205201, -0.0848870054, -0.0195105877, 0.0015604789, 0.0159685239, -0.0146609573, -0.0114079062, 0.0070933667, 0.011670108, 0.03981971, 0.0067742518, -0.0362761915, -0.0000742425, -0.0876511112, 0.0278768968, 0.0357922353, -0.0229526814, -0.016924208, 0.0277885441, -0.0698094964, -0.0489667058, -0.0450224876, 0.051918976, 0.0170912743, 0.0422328971, -0.0069186143, -0.0353637338, 0.0128574101, 0.0089809168, -0.0053592674, 0.0030374599, 0.052833613, 0.0454890467, 0.0015568393, 0.0706010163, -0.0490237065, 0.0575196519, 0.0092950249, 0.0287584122, -0.0335674509, -0.0740457848, 0.0061397715, 0.0258618109, 0.0382377505, 0.0243709125, 0.0012621487, -0.0048349961, 0.0280455202, -0.0177520905, -0.0409545638, -0.0523962677, 0.0197144151, -0.0042009125, -0.0242695138, -0.0299559329, -0.0070415721, -0.0484993234, 0.0521605089, -0.0102982521, -0.0072678071, -0.0220956411, -0.0253736135, -0.0022142865, -0.0176736135, -0.0409285687, 0.0188790411, 0.0330433175, 0.0441377014, 0.0273310561, 0.0717385262, 0.0384706594, -0.0162982848, 0.0117166368, 0.041355744, -0.063843973, -0.0552933626, 0.0147242891, 0.0066264565, 0.0345266424, -0.0162777994, 0.0681154504, -0.0095485747, 0.0010201795, -0.0164816137, 0.07634902, 0.0389417112, -0.0263484232, 0.0121846953, 0.0226714294, -0.0279193427, 0.023194354, 0.0559206158, -0.0202402435, 0.0168467853, 0.0225672051, 0.0205644667, -0.0571222901, -0.0110901315, -0.0292570796, -0.0058769216, 0.0264523122, 0.0170751512, -0.0382736139, -0.0462788418, 0.0069751283, -0.0141871916, 0.0137883425, -0.0169449206, 0.0298808943, 0.0380357094, -0.0204825494, 0.0187437944, -0.050502643, -0.0551850945, 0.0139157809, -0.0124386773, -0.0294153765, -6.200449113e-33, -0.0023109175, -0.0327303931, -0.0107835699, -0.0005889552, -0.0157622416, 0.0064472957, -0.0678313449, -0.0172483623, -0.0435134731, 0.0296056028, -0.0017979131, 0.004210996, 0.0029555012, 0.0428242199, -0.0334641635, -0.0462433919, 0.0289594233, 0.0109755341, -0.0430505462, 0.035558261, 0.0245021377, -0.0151103782, -0.0184786376, -0.1026425511, 0.0087186191, 0.0005290584, -0.0352613255, 0.0364282839, 0.0197855849, 0.0733817816, 0.013112382, 0.0458031036, 0.0360769294, -0.0707142353, 0.0116607854, 0.0240925234, -0.0382465385, 0.0022801796, -0.0032594327, -0.0435888916, -0.0145773534, -0.0343109965, 0.0053241663, 0.0112620918, -0.0226294175, -0.0235846192, 0.015377461, -0.0372779928, -0.0076467595, -0.0249024928, -0.0383345336, 0.0205207933, -0.0499068536, -0.0919291452, 0.0132712713, 0.0470731333, -0.0249576587, 0.051042445, -0.0008965362, 0.029696906, -0.0191062372, -0.0206305031, 0.0379921123, 0.0047197654, -0.0041210894, 0.0638359785, -0.0143785486, 0.0393598452, -0.0311907232, -0.0751317441, -0.028624922, 0.0625946, 0.0426344536, 0.0361695774, -0.0162231009, -0.0079847509, -0.07225959, 0.000068469, -0.0069460738, 0.0317803808, -0.010078866, 0.0123019526, -0.0455453955, -0.0092287781, -0.0512189269, -0.0273785889, -0.0325452685, 0.0002767539, 0.0205635484, 0.0042082458, -0.0320332348, -0.0362407155, 0.0405847058, -0.031167889, -0.0041749678, 0.0443703905, -0.0510160625, 0.0051368088, -0.0117816729, 0.0023412576, -0.0709096268, -0.0085597923, 0.0367728733, 0.0426865406, 0.0293480251, -0.0146406023, 0.0335870795, -0.0129470713, -0.0386332683, 0.0034006899, -0.051414188, 0.0521558486, -0.037045069, 0.0438148528, 0.006184719, 0.0124098146, -0.0360625051, 0.1099773794, -0.0350207388, -0.0035828946, -0.0062468238, -0.0149742402, 0.0003611245, -0.000253053, -0.0702574924, -0.0069181323, -0.0005696657, -0.0324672684, 0.0183628872, -0.0379069746, -0.0142296078, -0.0237384383, 2.719e-7, -0.03879508, 0.0738250092, 0.0058982261, 0.008555877, 0.026444545, 0.0795287117, -0.0127314329, -0.0060582901, 0.0026606228, -0.0627809912, 0.0033448243, 0.0278557148, 0.1174905449, -0.0045316541, -0.0856676549, -0.014096926, -0.0822741389, -0.0454631113, -0.0346567854, -0.0148722036, 0.0641989559, 0.0810423568, 0.0075138002, -0.0016536349, 0.0151830949, -0.0420180075, 0.0307057519, -0.0247604325, -0.0301176701, 0.0272187144, 0.0479425937, -0.0027728837, 0.0037343681, 0.0148310689, -0.0196049623, 0.0040140129, 0.0035733234, 0.0972866714, 0.0153427087, -0.049722787, -0.0249056965, 0.0210718662, 0.0270046052, -0.0358944163, 0.0793588161, -0.035290204, -0.0288776588, -0.0161228776, -0.0186770801, -0.0266208742, 0.0130883642, -0.0156150926, -0.0042068949, 0.023381805, 0.009881041, -0.0014205758, 0.0058508716, -0.0722237453, -0.0140373632, -0.0148390634, -0.0261134133, -0.0275859609, 0.0045158472, -0.0175749976, 0.0273569934, -0.0567090847, 0.0096709933, 2.342188336e-34, 0.0598586351, -0.0323267169, 0.0348690413, 0.021432288, 0.0629366785, 0.0130305504, -0.0218798034, -0.0346077271, 0.0220601242, -0.0703005269, 0.0397344418 ]
http://arxiv.org/abs/2406.17300v1
http://arxiv.org/pdf/2406.17300v1
CausalScore: An Automatic Reference-Free Metric for Assessing Response Relevance in Open-Domain Dialogue Systems
"2024-06-25T06:08:16"
"2024-06-25T06:08:16"
Tao Feng, Lizhen Qu, Xiaoxi Kang, Gholamreza Haffari
cs.CL
cs.CL
Automatically evaluating the quality of responses in open-domain dialogue systems is a challenging but crucial task. Current evaluation metrics often fail to align with human judgments, especially when assessing responses that are grammatically correct. To address this issue, we propose a novel metric, called CausalScore, which assesses the relevance of responses by measuring the causal strength between dialogue histories and responses. The causal strength is estimated by utilizing both unconditional dependence and conditional dependencies from the dialogue history to responses. We compare our metric with the existing competitive metrics in terms of their alignment with human judgements. Our experimental results demonstrate that CausalScore significantly surpasses existing state-of-the-art metrics by aligning better with human judgements. Additionally, we collect a new dialogue dataset CGDIALOG+ with human-annotated causal relations and a set of pairwise human judgements to facilitate the development of future automatic metrics.
[ 0.0502664149, 0.0689076632, -0.0107259313, 0.0106494939, -0.0254822411, 0.0133519117, -0.0138130644, 0.0142905917, 0.0267573837, -0.0609513298, -0.033498276, -0.0241453275, -0.0218284689, 0.0501508489, -0.0305132754, -0.0416805558, 0.0587169938, -0.0075315898, 0.0371267162, 0.0160222668, 0.0073231179, -0.0079185134, -0.0609730743, 0.096242778, -0.0256037097, -0.019422967, -0.0215115808, 0.0261073802, 0.0183593743, -0.0326573066, 0.021761369, 0.0604796596, -0.0498680361, 0.0592207611, 0.0000016392, -0.0746744648, 0.0222124234, -0.0273424666, -0.0186270885, -0.0013067906, -0.007638447, 0.0576263703, -0.0051132166, 0.0178370476, -0.0796543434, 0.0103276698, 0.0434943996, 0.029744545, 0.0654088184, 0.0586701222, -0.0085017011, -0.0071067619, 0.0055916598, -0.0011222014, -0.0047123763, -0.0565714054, 0.0011264576, 0.0400209688, -0.0075654285, -0.028508883, 0.0040937299, -0.0026999454, 0.0069788075, -0.0797699764, -0.0073848017, -0.0274065677, -0.0176912099, 0.0017552634, 0.0122616198, 0.1127099544, 0.0933897346, 0.0223696176, -0.0098869856, -0.0130750658, 0.0228198692, 0.0062408447, -0.0559889264, -0.0455596708, -0.0173167381, -0.0239033457, -0.0175539423, 0.0290385149, -0.0237225555, 0.0262941383, 0.0222834572, 0.0987360775, 0.0031532925, -0.0198671091, -0.0367987938, 0.0013220898, -0.0022592759, -0.0539143048, -0.00030751, 0.0214302652, -0.0821089447, 0.0133653088, -0.0062102983, 0.0045414115, 0.0410229079, -0.0445025414, 0.0029014393, 0.0145773776, -0.0021498099, 0.0356009267, -0.0023334452, 0.0747144595, -0.0044902237, -0.0173299406, -0.0247863978, -0.0024413697, -0.0572821498, 0.0136473961, -0.0028068838, -0.0007428899, -0.0613393448, -0.0023203946, -0.0512150377, 0.0312384423, -0.029264465, -0.022461595, 0.0194787439, 0.0448343866, -0.013887275, -0.0004373598, -0.0833216012, 0.0334961787, -0.051593516, 0.0367485136, 0.0171947852, -0.0379599631, -0.0057514156, 0.0430426076, 0.0306054596, -0.0118867457, -0.0460150801, 0.0731367841, 0.0079255393, -0.0219384618, 0.0048058243, -0.0353330299, -0.0310555175, -0.0429597311, -0.0374892093, -0.019452678, -0.0022982059, 0.0225368422, -0.0434729867, -0.0061447443, 0.0132918945, 0.0243419688, -0.004698474, 0.0202939268, 0.013102836, 0.0024086717, -0.0002601465, -0.0020736472, -0.0111723999, 0.0217565186, 0.0286105201, 0.0090780426, 0.0467129052, -0.0093329102, 0.0209459197, -0.0129148485, -0.0109533351, 0.005374867, -0.000339577, 0.0414943956, -0.0164828897, -0.0001171727, -0.0051728371, 0.0173748359, -0.0312771164, -0.0196318328, 0.0617771223, 0.0360672474, -0.0052706241, -0.0172740333, 0.0338310935, -0.0040728119, 0.0106490375, 0.0318226926, -0.0234362315, 0.0135724777, 0.0029414671, -0.0170749687, 0.0522080883, -0.0174818449, 0.0043033287, -0.0867377222, 0.0325626023, 0.0162925329, 0.0076314588, -0.0115696359, 0.0233805664, 0.0259190463, -0.0485383905, 0.0406775288, 0.0132720163, -0.0727279782, -0.0166610833, -0.0342848077, 0.0423864871, 0.0409191065, 0.0549311787, -0.0277074724, -0.0315130465, -0.0288763829, -0.0041504088, 0.0354103781, 0.0414289981, -0.0155239021, 0.0553075597, -0.0191034898, -0.0061411299, 0.0316060968, 0.0125086987, 0.04591728, -0.0016708927, -0.0170662887, 0.0060839038, 0.019721847, 0.0213392731, 0.0068475334, 0.0421020314, -0.0145252002, 0.0456249826, -0.0093028015, 0.0562965535, 0.0295228809, -0.0056522163, 0.0046313675, 0.0282742735, 0.0112886392, -0.0413809791, 0.0363399908, -0.0752565265, -0.0311676022, 0.0141869588, -0.0188340992, -0.0196137503, 0.0201007351, -0.013628995, -0.069264099, 0.0678084865, -0.0339114368, 0.0210607927, -0.0584201328, -0.0001396724, 0.0298631079, 0.0065465393, -0.0633295774, 0.0436394475, 0.0215337351, 0.0483840257, 0.0316005833, 0.0184877198, 0.0593399554, -0.0454563759, -0.0038330881, -0.006188951, -0.0610595159, 0.0056320154, 0.0438806973, -0.0167621505, -0.0800790042, -0.007858431, -0.1196152344, 0.0100725405, -0.0147230588, 0.0336672626, 0.0164256841, 0.0156653412, -0.0026205357, -0.0429665409, -0.0153280636, -0.0060663023, 0.0440153554, 0.0075332336, 0.0534528606, 0.0189602338, -0.0080693765, -0.0615776964, 0.0080472976, -0.0020444058, 0.0260045808, 0.0269625019, 0.0296664946, -0.0332746841, -0.0126634482, -0.0357052125, 0.0317491256, -0.0014769828, -0.0750264674, 0.0547538958, 0.0335383676, 0.0136301955, 0.0434486419, 0.057540305, -0.0150140123, -0.0166508332, -0.0315484032, -0.0613206849, 0.030340232, -0.0549815185, -0.0088093989, -0.0262351073, -0.0048471149, 0.0181660596, 0.0383609831, 0.0166057888, 0.0207427572, -0.0455389023, -0.0125058563, -0.0011391441, -0.0321677476, -0.0196261145, -0.0274262857, -0.0497560315, 0.051094979, -0.016110247, -0.0454120338, 0.0612188466, -0.0347363316, -0.0213545784, -0.0213197786, 0.0059051905, -0.0454600267, 0.0419153385, -0.0046239132, -0.0015655782, 0.0419252589, -0.0561449453, -0.0204645153, 0.0037286007, 0.0484785847, -0.0315483958, 0.0431116968, -0.0681809634, 0.0136954812, 0.0069981571, -0.0450629666, -0.0629312545, -0.0425141379, 0.0001534235, -0.0170556325, 0.002361564, -0.0381100401, -0.0296430029, 0.0098433895, 0.0082189804, 0.0204330143, -0.0151094859, -0.0015855434, -0.0190469325, 0.0606805496, 0.0332987085, 0.0438381545, 0.0080861747, 0.0365795232, 0.0378903896, 0.0344597958, 0.0161706116, -0.0120744342, -0.020708492, -0.0178891476, -0.0105887782, -0.009124307, 0.0025279631, 0.0078849606, 0.0702987164, -0.0238572396, -0.0154581927, 0.0964489952, 0.0223868955, -0.0102621065, -0.0106445029, -0.0327467844, 0.0234088469, 0.0390846953, 0.0056557106, -0.0546184555, -0.0569533072, -0.0088478373, 0.0291947275, -0.0208042413, -0.0670254752, 0.0098630469, -0.0933322906, 0.0066083558, -0.0468675122, -0.0091165407, 0.0034112986, -0.0328425653, 0.0400874801, -0.0330001377, -0.0237892214, 0.0015413736, 0.0236607101, -0.0074432674, 0.0194684733, -0.0263168868, -0.005632061, 0.0202210508, 0.0123936515, 0.0539327897, 0.0854120702, 0.0538107604, 0.0375617929, -0.0230555944, 0.0124192005, -0.0288194735, 0.0076397243, 0.0134573849, 0.0499658361, 0.0274820961, -0.0024371799, -0.0603197776, 0.0026664301, -0.0037665793, -0.0154893473, 0.0343221538, 0.0274319146, -0.0362435989, 0.0480405018, -0.0233746693, 0.0379023179, 0.0392870009, 0.052051682, 0.0390069522, -0.051787395, -0.0460381843, -0.0323496014, -0.0146370037, -0.0539550856, -0.0099199498, -0.0305994228, 0.0225768331, -0.0072781905, -0.1124980003, -0.0556569882, -0.0384785868, 0.0064444607, -0.0430155545, -0.0019905565, -0.0382527038, 0.0231920648, 0.0044522905, 0.0502279848, -0.0060031028, 0.0198454559, -0.0970378444, 0.0221490469, 0.006359661, 0.0078138588, -0.0337147377, 0.0344747975, -0.0299247634, -0.0356488749, -0.0122897876, 0.0508895144, 0.0230940059, -0.0039842371, -0.0159349572, -0.0263192691, -0.0436183922, 0.023474725, -0.0456395186, -0.0193204358, 0.0770750269, 0.0317445137, -0.0380581915, 0.039138265, -0.0236372221, 0.0321779363, -0.0211876296, 0.0681602806, -0.0267735608, -0.0836499855, -0.001504804, -0.0119444244, 0.0929974318, 0.0148025453, -0.0285137836, -0.0078580193, 0.0363302305, -0.0139715038, -0.0058023133, -0.0546558797, 0.0075748097, -0.0294535868, -0.025031535, -0.0077492064, -0.0325204991, -0.0778382793, 0.0371264778, -0.0165571645, 0.0294119641, 0.0708213076, 0.0402899198, 0.0073497724, -0.0097431503, -0.0181280617, 0.0124342581, 0.0266238973, 0.031084884, 0.0138533693, 0.0968398005, -0.0002160817, -0.0066650584, 0.0655877665, 0.0051285648, -0.1021529585, 0.0314860865, -0.0018515958, -0.0031065843, 0.0374635272, 0.0194243528, 0.0786082, 0.0119999414, 0.0264466945, -0.0166963767, 0.062999323, 0.0339686349, -0.0109424358, 0.0060428632, 0.0341291875, -0.0051994054, 0.0540555976, 0.0611099005, -0.0220176596, 0.006352914, -0.0318887942, 0.0018011713, -0.0361049734, -0.0618810169, -0.0247196611, 0.0259042848, -0.0092549603, 0.0102888811, -0.0732661635, -0.0358388536, -0.0084337834, 0.0222429018, 0.0297636334, -0.0054190224, 0.0529441014, 0.0171255488, 0.0011421752, -0.0148061765, -0.0570756979, 0.0018394873, -0.0383928008, -0.0107511245, -0.0523584038, -5.47444323e-33, -0.0264486559, -0.0768494532, -0.0112716313, -0.0115461536, 0.0082199927, -0.0174034871, -0.0543609038, 0.0411733724, -0.0155665176, 0.0201322716, -0.0246309359, 0.0260573514, 0.0082959514, 0.0166193806, -0.0152074713, -0.0221587811, 0.024857536, 0.017960947, -0.0221971087, 0.0361646973, 0.0473769531, -0.0016803257, 0.0100811534, -0.1004066989, 0.060123913, -0.0001499109, -0.0050024414, 0.0193453655, 0.0033019418, 0.076461859, 0.005539645, 0.0686580315, 0.0195642747, -0.0492799133, 0.0057121161, 0.0348962806, -0.040053755, -0.0390712656, 0.0344280116, -0.0066883564, -0.0345874354, 0.0167021882, -0.0228312816, 0.0024442179, -0.0076516797, 0.0066686128, 0.0200586468, -0.0236989409, 0.0131388623, -0.0017761219, -0.031314835, 0.0479000509, -0.0371359512, -0.0524063706, -0.0322127827, 0.0904474184, 0.0135106966, -0.02945254, 0.0271886531, 0.0230772384, -0.0300062783, 0.0032392745, 0.0326757543, 0.0157507621, -0.0065352349, 0.0572942644, -0.0006629914, 0.0127983699, -0.0128912581, -0.0629542917, -0.034276247, 0.0383595005, 0.0515045412, 0.0844825283, 0.0132159367, 0.0110897636, -0.0599999018, 0.0475610793, 0.0171095561, 0.0366372317, -0.0042830519, -0.0085918466, -0.0162499007, 0.0161894877, -0.0338059701, 0.0170797724, -0.0397590622, -0.0239318479, 0.0463589728, -0.0089304661, -0.0148558132, -0.0579903126, 0.0486685634, -0.025126135, 0.0039473167, 0.0519196205, -0.0206697118, -0.0025720675, 0.0117427614, -0.0074703442, -0.0188003331, 0.0174821876, 0.0535263494, 0.0255969316, 0.038227696, -0.0257846769, 0.0058913012, -0.0412881449, -0.0456329845, 0.000123756, -0.002170471, 0.0390165709, -0.0641341358, -0.0025916609, 0.0218067616, -0.0068846238, -0.0326498821, 0.0892130584, -0.0152470889, 0.0258290805, -0.0431793183, -0.0867533609, 0.0043921787, -0.0073354766, -0.0577461943, -0.0200250931, 0.0036348735, 0.0101427045, -0.0355577245, -0.0190037191, -0.0205730535, 0.0094645657, 2.312e-7, 0.0220545884, 0.0342809223, 0.0314962715, 0.0253556985, 0.0155767258, 0.0581683815, 0.0059201322, 0.0054525048, 0.0287866499, 0.0097510787, 0.0129513675, -0.0336926095, 0.0692042559, 0.0063675148, -0.0946097374, -0.0497723632, -0.0754776299, -0.0319141783, -0.001007128, 0.0164483991, 0.0878452733, 0.0352190956, -0.0030955796, 0.0070908889, -0.0273718461, -0.0171239488, 0.0108513515, -0.0207920279, 0.0084790625, 0.0039064088, 0.0508401208, -0.053920377, 0.0037380068, 0.0383864343, -0.0082655428, -0.0073209084, 0.0134610515, 0.0345979109, 0.0000373707, -0.0767564625, -0.0166692045, -0.0223151483, 0.0562116019, -0.0227910858, 0.0434605815, -0.0230543036, -0.0164881144, 0.0185897276, -0.0405306332, -0.017309133, 0.0330588259, -0.0107028252, -0.0306273699, 0.0202758741, 0.003263653, 0.010890536, 0.0144418003, -0.0707379356, -0.0378353372, -0.0095372749, -0.0062107546, -0.0637042224, -0.0177392699, -0.0103118094, -0.0000328211, -0.0101827718, 0.0186457336, 1.573496534e-34, 0.0295179747, -0.0020254848, 0.026722949, 0.0014626654, 0.0694058314, 0.0022010249, -0.0121600749, 0.005548127, 0.0740874708, -0.1004271284, -0.0033517715 ]
http://arxiv.org/abs/2406.17294v2
http://arxiv.org/pdf/2406.17294v2
Math-LLaVA: Bootstrapping Mathematical Reasoning for Multimodal Large Language Models
"2024-06-25T05:43:21"
"2024-06-26T16:43:27"
Wenhao Shi, Zhiqiang Hu, Yi Bin, Junhua Liu, Yang Yang, See-Kiong Ng, Lidong Bing, Roy Ka-Wei Lee
cs.CL
cs.CL
Large language models (LLMs) have demonstrated impressive reasoning capabilities, particularly in textual mathematical problem-solving. However, existing open-source image instruction fine-tuning datasets, containing limited question-answer pairs per image, do not fully exploit visual information to enhance the multimodal mathematical reasoning capabilities of Multimodal LLMs (MLLMs). To bridge this gap, we address the lack of high-quality, diverse multimodal mathematical datasets by collecting 40K high-quality images with question-answer pairs from 24 existing datasets and synthesizing 320K new pairs, creating the MathV360K dataset, which enhances both the breadth and depth of multimodal mathematical questions. We introduce Math-LLaVA, a LLaVA-1.5-based model fine-tuned with MathV360K. This novel approach significantly improves the multimodal mathematical reasoning capabilities of LLaVA-1.5, achieving a 19-point increase and comparable performance to GPT-4V on MathVista's minitest split. Furthermore, Math-LLaVA demonstrates enhanced generalizability, showing substantial improvements on the MMMU benchmark. Our research highlights the importance of dataset diversity and synthesis in advancing MLLMs' mathematical reasoning abilities. The code and data are available at: \url{https://github.com/HZQ950419/Math-LLaVA}.
[ -0.0276961774, 0.0922459364, -0.0106544523, 0.0900251567, -0.0416204333, 0.0266776271, 0.0390067063, 0.0017987806, -0.0272533651, -0.0420811959, -0.0215811972, -0.0145987514, -0.0207014009, 0.0104060322, 0.0538159683, -0.0555094332, 0.0141650569, -0.0604004003, -0.0311558377, -0.0261556227, -0.0085938154, 0.0034459382, -0.0386953093, -0.0072706076, -0.0390715599, -0.0631879494, 0.00718839, -0.0166599229, 0.0085740397, -0.0357848518, -0.0137722204, 0.0439544655, 0.0639048889, 0.0079602906, 0.000002266, -0.0369578861, 0.0102306912, 0.0111947525, -0.0125081623, -0.0197640397, -0.0092195682, -0.0142031582, 0.0266866591, -0.0095922006, -0.0672563389, 0.0206311308, 0.0290510524, 0.0183854662, 0.0972458199, 0.0489656031, -0.0133965416, -0.0453902036, 0.0326504968, 0.014039279, 0.0722236708, -0.0547735505, -0.0042876936, 0.0641765296, 0.0309574176, -0.0001012868, -0.061320994, 0.0577876084, 0.0856499672, -0.002758042, -0.0319495127, 0.022814652, -0.0209059473, -0.0243668053, -0.0210030507, 0.1041830778, 0.0062643401, 0.0208903179, -0.0393555388, 0.0110868746, -0.0019847525, 0.0199194904, -0.0787022561, 0.0507252477, -0.0283257272, -0.011441444, -0.0464840606, -0.0069396161, 0.0097237974, 0.0193942785, -0.0148695521, 0.0652025342, 0.020709293, 0.0140742399, -0.0038731019, -0.0036941553, -0.0966082141, -0.0200911649, 0.0168351363, 0.0651180148, 0.0209003817, 0.0069794655, -0.0211237036, -0.0579137132, -0.0333760716, -0.0025428643, 0.0572380088, 0.0413489491, -0.0260139406, 0.0450291932, -0.031737186, 0.0137539431, -0.0338857323, 0.0403081253, -0.0167492945, 0.005590023, -0.0077894363, 0.0004384739, -0.0079828035, -0.0049856901, -0.027103385, -0.0072861956, -0.0039063324, 0.0314135887, -0.0017135142, 0.0084517356, -0.0089737326, 0.0112881232, -0.0015708951, -0.0416397378, -0.0353127979, 0.0133409081, -0.06401328, 0.0240735132, 0.0068815108, -0.0541918389, -0.0051128953, 0.0277234111, -0.0010465313, -0.0622282252, 0.037171226, 0.0863410607, -0.0105311098, 0.0008120326, -0.0110506127, -0.0152324969, 0.0236370135, -0.0973604694, 0.03207561, -0.0872385129, 0.0480686128, 0.0163176935, -0.0250517875, -0.0141554698, -0.0062328451, 0.0287871808, 0.0317783877, 0.0916319117, 0.0091643119, -0.0090270545, 0.042462334, 0.002635191, -0.0190239958, 0.0799339116, 0.0491808914, -0.0062146275, 0.0423619449, -0.0212884974, -0.006294616, 0.037487004, 0.0261124019, 0.0198158175, -0.0226014201, 0.0408192985, 0.0105135245, 0.0444299877, -0.0101347845, 0.0297219567, -0.0469670407, -0.0401630178, 0.0413152575, 0.0361633077, -0.0059823277, 0.0018995892, 0.0103601161, -0.014114867, 0.0476730689, -0.0308898017, -0.0712275207, 0.083883293, -0.0181360189, -0.0049834321, 0.0245759431, 0.0251070224, -0.0252938662, -0.0444014594, 0.0039714598, 0.0175963938, -0.0338452421, 0.0295979921, 0.0456095189, -0.0038897018, 0.0035536818, 0.0320168473, 0.0213860869, -0.0227699578, -0.0129386345, -0.0287770368, 0.0490045622, -0.0083029121, 0.0498046242, -0.0396243781, -0.0459122136, -0.0299415644, 0.0515166894, 0.0240259599, 0.0241055321, 0.0123388506, 0.0005230381, -0.0633918792, -0.0068015023, -0.0512194298, -0.0183604173, -0.0152946478, 0.0197543744, 0.0060632676, -0.0073657432, -0.0543138199, 0.0632019415, 0.0193539672, -0.0238687843, -0.015860986, -0.0305266138, 0.0066628251, 0.0009078046, -0.0304727219, 0.0263824817, 0.018063264, -0.0072996435, -0.0352319479, 0.0254261289, -0.01482346, -0.0557359718, -0.057015527, 0.051564876, -0.06318409, -0.0417671688, 0.0183403008, -0.058436323, 0.013805531, 0.0253850799, -0.0111220367, -0.035055507, -0.0298003387, -0.0229429863, 0.0272019636, 0.0288622268, -0.0281416737, 0.0537095927, -0.0208176114, 0.0229190383, 0.0105505632, 0.0293954834, 0.0179878548, 0.00359113, 0.0212009922, -0.002771765, -0.017730074, 0.0358938128, -0.0428411998, 0.0179477651, -0.0407649428, 0.0064797779, -0.0138589265, 0.0020933028, -0.0001034979, 0.0192643087, 0.0160978921, -0.0199644584, -0.0066676382, -0.0155144017, -0.0348936766, 0.0222153589, 0.0034874559, 0.017595876, 0.0251474287, -0.0085611762, 0.0390546732, -0.0030081922, -0.0328673534, -0.0288735591, 0.0634975359, 0.0041962327, 0.0644521117, -0.0083500016, -0.0117663462, -0.0700456202, 0.0187130012, -0.0193524975, 0.0077596596, 0.0409035496, -0.0458698869, 0.055171214, 0.0752505288, 0.0019500008, 0.0161384139, 0.0066723372, -0.0344394967, -0.0417365469, 0.0332790725, 0.0072189514, 0.0051138331, -0.0063943239, -0.0006179733, -0.0595246889, 0.0435452871, -0.0402665511, -0.0226134341, -0.0266253073, 0.0521131866, 0.0057667908, -0.0346572287, -0.0556957573, 0.0543284044, 0.006048236, 0.0346095823, -0.0399774015, -0.0465250574, 0.0423919596, -0.0115922121, -0.0269796029, -0.0179942977, 0.0300100651, -0.043454688, 0.0549062975, 0.0038015351, -0.0077983541, -0.0419725217, 0.0185319707, -0.0558157936, -0.0137404613, 0.0470569581, -0.0222851429, 0.0685691088, -0.0422199667, -0.0015074115, -0.0408215672, -0.0418029428, -0.0218162332, 0.0044255266, -0.0145953177, -0.0104295323, -0.0420353785, -0.0278329011, 0.0057470808, -0.0055945339, 0.0482519232, -0.0063384511, -0.0391030647, -0.011621736, -0.0199572723, 0.0277665593, 0.0597570911, 0.0592723191, 0.0413599461, -0.0882298946, 0.0172499232, 0.0243799221, 0.0412829518, -0.0138798077, -0.0217380915, 0.0411246046, -0.0068115676, 0.0471114591, 0.0024406014, 0.0288753491, 0.0692265257, -0.0527613275, 0.0113784531, 0.0540570579, 0.0107911956, -0.0130796218, -0.0196677037, -0.0467776991, 0.0471096262, 0.0465513505, 0.0106656011, -0.0921127349, -0.0549982563, 0.0211513564, -0.0314017534, 0.0484959334, -0.0316702388, -0.0071853115, -0.0817699954, 0.0374932066, -0.0071542049, -0.0493066274, -0.0013662954, -0.0089162178, 0.0086290082, 0.0326841213, 0.0071506617, 0.0033194639, 0.0034066939, 0.0377537496, 0.0089306673, 0.0439631902, -0.012131609, 0.0245789513, -0.0128874471, -0.0499760658, -0.0169050507, 0.0085095633, -0.0234080981, -0.0832563937, 0.0389009565, 0.030105168, -0.0329559073, -0.0071324948, 0.0370832756, -0.0037403896, -0.0243042763, -0.0317014381, 0.0512357801, -0.0390317552, -0.0263099447, 0.0133591481, 0.0999632329, -0.0157934036, 0.0065195593, -0.0356781147, 0.0157571919, -0.0462007709, 0.0109677278, 0.0336950198, -0.021224495, -0.0569317676, -0.0253698919, -0.0263929646, -0.0580546483, -0.0213569924, 0.0300870761, 0.0497783199, 0.0153356586, -0.0318702422, -0.0151114454, 0.0322638527, 0.0612979941, -0.0141211478, -0.0385744162, -0.0035252508, 0.0069093578, -0.0378811918, 0.064016588, -0.0333242379, 0.0598509163, -0.0253165588, 0.0460533053, -0.0002998855, -0.0350282528, -0.0251944438, 0.0320664011, -0.1100901291, -0.0380440764, -0.0455719233, 0.053708259, 0.0115601718, 0.0024646958, 0.0181177873, -0.0359855928, 0.0087525547, 0.0365147479, -0.0191140268, 0.0127596529, 0.026580967, -0.004165791, 0.0191905536, 0.0235676263, -0.0001004503, 0.0000085279, 0.00799328, 0.0392426476, 0.0024218122, 0.0015389329, -0.0045465971, 0.0262049045, -0.0179516394, 0.0147927441, 0.01084923, -0.0186546464, 0.0303154103, -0.014027643, -0.0086170696, -0.0495095775, 0.0141973179, 0.0065001626, -0.0367515646, 0.0124800568, -0.0264893118, 0.0580000617, 0.0365707651, -0.009773735, 0.050983306, 0.0255356841, 0.0086448416, 0.0359468013, -0.0033416683, 0.0182594359, -0.0059062815, -0.0292163733, 0.0500700921, -0.0083957231, 0.0955947787, 0.0172226615, -0.0281209964, -0.0296171885, 0.0050116051, -0.0215143375, -0.081005834, 0.0041387337, 0.0200705118, 0.0529690795, 0.0264807567, -0.0229533762, -0.0204751231, -0.0186888762, 0.003121967, 0.0361022763, 0.0161397662, -0.0185397733, 0.0832266808, 0.0404708907, 0.0437152833, -0.0479627177, 0.0256305914, -0.0404294841, 0.0301495548, 0.0114482502, 0.0530528389, -0.029612368, -0.0318556391, 0.013036699, -0.0078101195, 0.0294588711, 0.0392374471, -0.041091606, -0.095261462, -0.0248059593, 0.0166214127, -0.0504915267, 0.0265301839, 0.037080545, 0.0582756922, -0.0162068866, -0.0427637212, 0.0100617241, 0.0552262105, -0.031897027, -0.0141805755, 0.0200227778, -5.99657578e-33, 0.0005249486, -0.0205791797, 0.0700282529, 0.0010685045, -0.0056134844, -0.028766226, -0.0310243256, 0.0176691487, -0.0358133391, 0.0042623836, 0.007430431, 0.0062913368, -0.003562062, 0.0396212749, -0.0084681772, -0.0212366544, -0.0321971476, -0.0163188428, -0.0255200621, 0.0001866076, 0.0014851593, -0.0023515334, 0.0655656159, -0.0365111046, -0.0157658886, 0.0072571915, -0.0181985665, 0.0351823345, -0.0668657497, 0.0660419688, -0.039439626, 0.0244153291, 0.0278237797, -0.0192412212, -0.0172585361, 0.0099258116, -0.0539983921, -0.0365478545, 0.0069702361, 0.021550566, -0.1212556213, -0.0153979119, 0.0268716943, -0.0128394729, -0.0011009226, -0.0649321079, 0.0303224027, -0.0255175885, 0.0038686744, 0.0189237539, -0.0177163426, 0.02665703, -0.026772486, -0.0469098166, 0.0173711702, 0.0550946258, 0.0121160885, 0.0318796299, -0.0115344953, 0.0146084717, 0.0028767565, 0.0003875204, 0.066137068, 0.00933001, 0.0220315587, 0.0307539981, 0.0033265005, -0.0527547896, -0.0122892354, 0.0102578914, 0.0306488313, 0.0950352699, 0.0735652521, 0.0715190619, 0.0268921908, 0.0370939635, -0.0497335009, -0.002285053, -0.026047539, 0.0548972525, 0.0153264441, 0.0017418143, 0.013362593, 0.0125322128, -0.0445734933, 0.0187242702, -0.0591924191, -0.0037320936, 0.0316434912, -0.0385925584, -0.0183705986, 0.0310221575, 0.051644329, -0.0265836399, -0.046342928, -0.0036011485, -0.0001072234, 0.0379904099, 0.0280686133, 0.0551499911, -0.0230811145, -0.0140227685, 0.0127902851, -0.021595059, 0.0287214722, 0.0116312224, 0.0266344287, 0.0196294971, -0.0287000109, -0.0324596725, -0.0585024431, -0.0019817408, 0.0464435481, 0.0461710989, 0.0266540125, 0.0177527145, -0.0451575853, 0.0373142846, -0.0253682993, -0.0173543654, -0.0316272974, -0.0289918035, -0.0391661562, 0.0321664624, -0.0235834364, 0.0083309002, -0.0695079714, -0.0536834337, 0.0151698561, -0.092462033, 0.000185945, 0.0352767184, 2.747e-7, 0.0441490375, 0.0290862527, 0.0014078378, 0.0060573728, 0.0293667112, 0.0437035114, -0.0570906624, -0.0187346451, 0.0030824321, -0.0626665726, -0.0370038562, 0.0885801464, 0.0375973135, 0.0551860109, 0.0003654315, 0.0298299193, -0.0128386514, -0.0173033345, -0.0588666126, 0.0218892749, 0.0633115619, 0.0618099384, -0.0044016959, -0.0333660319, 0.033005707, -0.036228206, 0.0530482456, -0.0130803594, -0.0202770345, -0.0222041141, -0.0232136082, -0.0184607655, 0.0285998248, -0.0052557262, 0.0043131402, -0.0354991071, 0.0282492656, 0.0482877344, 0.0082565704, -0.0136215352, -0.0220100526, -0.0303806942, -0.040136829, -0.0522216819, 0.0734812394, -0.0338642001, -0.0564305931, -0.0264090654, -0.0172920395, -0.0320093669, 0.0372225754, -0.0244374759, -0.0023205341, -0.0003345323, 0.0353579521, -0.0319771469, -0.0143929105, -0.0562302396, -0.0271518659, 0.0110548912, -0.0642642081, -0.0277147219, -0.0606602356, -0.0226470102, 0.0386004858, -0.0170279108, -0.0557953157, 2.38992259e-34, 0.0307489783, -0.0177263878, 0.0503826439, 0.025060676, 0.0263825003, -0.0281542875, -0.0550901555, 0.0033924843, 0.0046031242, -0.0772707835, -0.0232223291 ]
http://arxiv.org/abs/2406.17287v1
http://arxiv.org/pdf/2406.17287v1
Predicting the Big Five Personality Traits in Chinese Counselling Dialogues Using Large Language Models
"2024-06-25T05:30:55"
"2024-06-25T05:30:55"
Yang Yan, Lizhi Ma, Anqi Li, Jingsong Ma, Zhenzhong Lan
cs.CL
cs.CL, cs.AI
Accurate assessment of personality traits is crucial for effective psycho-counseling, yet traditional methods like self-report questionnaires are time-consuming and biased. This study exams whether Large Language Models (LLMs) can predict the Big Five personality traits directly from counseling dialogues and introduces an innovative framework to perform the task. Our framework applies role-play and questionnaire-based prompting to condition LLMs on counseling sessions, simulating client responses to the Big Five Inventory. We evaluated our framework on 853 real-world counseling sessions, finding a significant correlation between LLM-predicted and actual Big Five traits, proving the validity of framework. Moreover, ablation studies highlight the importance of role-play simulations and task simplification via questionnaires in enhancing prediction accuracy. Meanwhile, our fine-tuned Llama3-8B model, utilizing Direct Preference Optimization with Supervised Fine-Tuning, achieves a 130.95\% improvement, surpassing the state-of-the-art Qwen1.5-110B by 36.94\% in personality prediction validity. In conclusion, LLMs can predict personality based on counseling dialogues. Our code and model are publicly available at \url{https://github.com/kuri-leo/BigFive-LLM-Predictor}, providing a valuable tool for future research in computational psychometrics.
[ 0.0888932347, 0.0565934889, -0.0409633219, 0.0212049186, -0.0215972606, 0.0020085685, 0.0528885834, -0.0312601402, 0.0369898155, 0.0041693863, -0.0408878662, -0.0400846265, -0.0049503879, 0.0138913179, -0.0031792358, -0.0632626414, 0.0261519272, -0.0012546969, 0.0438873582, -0.0206160918, 0.0036100631, 0.0271180831, 0.0008862602, 0.0363695733, 0.005679897, -0.0235561226, 0.0154238073, -0.002144045, 0.0243149698, -0.0184282064, 0.0422068313, 0.0722631365, -0.03083371, -0.0186759029, 0.0000024367, -0.043600332, -0.0136415344, -0.0135577433, 0.0373804905, 0.0102025094, 0.0661463365, 0.0467625223, 0.0325652137, 0.066280432, -0.0323651582, -0.0332296193, 0.0260328427, 0.1043679193, 0.0862428173, 0.0509064794, -0.0039682677, -0.0489592738, -0.0361318886, -0.0256013926, 0.0234507918, -0.0320126489, 0.0329554118, -0.0101256119, -0.0054488904, 0.0250759553, -0.0174306016, -0.0293010455, -0.0182526447, 0.0089733955, -0.019937193, -0.0179767832, -0.0410760604, -0.018934384, 0.0185264014, 0.0692561567, 0.0366107859, 0.0022822418, -0.0094424151, -0.029840989, 0.0501933321, -0.0006255158, 0.0086195208, 0.0023025256, 0.0057695238, -0.0356596112, 0.0471990071, 0.0211516526, -0.0122776283, 0.0000925628, 0.0018652296, 0.0327071995, -0.014449114, -0.012881483, 0.0108807981, -0.0231088176, -0.0292616151, -0.0559102036, 0.0142674502, -0.0128861833, -0.050695058, 0.0072747595, -0.0162467565, 0.0339237675, 0.0405278616, -0.0318462104, 0.0447344482, 0.0363005362, -0.0308730211, -0.0220383108, 0.0676977485, 0.0516352914, 0.0517183803, -0.0145594142, -0.0652364939, 0.0161135253, -0.0670731962, -0.008099163, 0.024592055, 0.0166149195, 0.002809071, -0.0034830042, -0.0894814283, 0.0125316335, -0.0142175397, 0.0159764048, 0.0072042802, 0.0080748275, 0.0095531344, 0.0403064564, -0.0818582326, 0.0533186123, -0.0527662523, 0.0032920772, -0.0183125604, -0.0424754284, 0.0608733445, -0.0078121633, -0.0102851233, -0.04096248, 0.0504204109, 0.0197046008, 0.0077791926, -0.0340535492, -0.0063395421, -0.035335321, -0.0545476638, -0.0634224862, 0.0258827247, -0.0348722078, 0.0384987816, -0.0147394445, 0.0114864185, -0.0414811447, 0.0311399903, 0.0293050725, -0.0201829169, 0.0650727376, 0.0202545151, 0.0075182663, 0.0087646795, 0.0148897432, 0.0354247428, 0.0228601918, -0.0055409898, 0.0021805945, 0.0234655235, -0.0692926049, 0.0182590354, 0.0320951566, -0.0297311991, -0.0126443645, -0.0036685129, -0.0082178274, 0.0166448243, 0.0299777463, 0.0062112059, 0.0389837362, -0.0084243855, -0.0145212989, 0.0970853716, 0.0579988137, 0.0360274501, 0.038162671, -0.0179129764, 0.0431509875, 0.0347675011, -0.0185522176, -0.0465172157, 0.0290094744, -0.0276176892, -0.0014551239, -0.0231978707, 0.0286580604, -0.0109877773, -0.0596738905, -0.0047030505, -0.0306082778, 0.0071862871, 0.0343149267, -0.0344907939, -0.0188867413, -0.0173961986, -0.0153892478, 0.0481912382, -0.0198607408, -0.0590674765, -0.0564962886, 0.0094078416, 0.105445914, 0.0328640193, -0.019377863, -0.0366943441, -0.0158240944, -0.0270249061, 0.0022351672, 0.0571590848, 0.0013335168, -0.0164568089, -0.0535914637, 0.0038019544, 0.0107809016, -0.0007365478, -0.0004651543, 0.0022188525, 0.0058533074, -0.0107648065, 0.0403319821, -0.0239841249, 0.011632571, -0.0458709709, -0.0464210026, 0.0424297899, 0.0298907924, 0.065205954, 0.0104255006, 0.0017474147, -0.0065427832, 0.0228619818, 0.0110606002, -0.0103230886, 0.0282290429, -0.0445441566, -0.0257380251, 0.0172526278, 0.022411542, -0.0053882794, 0.0272638891, -0.0224449988, 0.0119351419, -0.017387839, -0.0183886439, 0.0055032023, -0.0067804973, 0.0342729986, -0.038161736, 0.0860311985, -0.0222635027, 0.0363351777, -0.0120426053, 0.0238393415, 0.0086890515, -0.0037392096, -0.0411542021, -0.038389165, -0.0364930108, -0.0310159083, 0.0220518634, 0.0242818613, -0.0009993942, 0.0318188705, -0.0449884422, -0.0696561337, -0.1000184715, 0.0156084551, 0.0289189816, -0.0144017283, -0.0009320903, 0.003707716, -0.0388147347, 0.0177255645, -0.0281665716, -0.0146182636, 0.0057858708, 0.0104184505, 0.0158066731, 0.0006190379, -0.0233010352, -0.0304364096, 0.0027554648, -0.0393131413, 0.0138452491, -0.0203931257, 0.0598114207, 0.0147622861, 0.0156095913, -0.0678149387, -0.0059223757, -0.0154444408, -0.0542967543, -0.0132539896, -0.0021103064, 0.026822947, 0.0611933023, 0.0572793633, 0.0262518525, 0.0062566423, 0.0036753332, -0.0137689887, 0.0052681933, -0.0125192031, -0.0463295579, -0.0393494479, -0.0777877793, -0.0338460989, 0.024181189, 0.0385424197, 0.0214201882, -0.0346640721, 0.0215040464, 0.0403946154, -0.0199338626, 0.0560720377, 0.0367908888, -0.0279499963, 0.0265826657, 0.0114983721, 0.0210623071, 0.0787802637, -0.007676241, 0.0050890613, -0.0372758768, -0.0340229571, -0.0318675935, 0.0398467369, 0.0214399304, -0.0178615637, 0.0661380962, 0.0070446776, -0.013710781, -0.0697872639, 0.0212698337, -0.0541581437, 0.0122772614, -0.0034367328, -0.0453790538, 0.0393764973, -0.0230823271, -0.0379816443, -0.0694685653, -0.0283430647, -0.0166123081, 0.0399987176, 0.0159392748, -0.0540804118, -0.0395235457, 0.0243605953, -0.0208134986, -0.0382550359, -0.0129396869, 0.0063351067, 0.0004284474, 0.0643466786, 0.000683259, 0.0165996086, -0.068195343, 0.0239255894, -0.0100254426, -0.0617280491, 0.03153852, -0.0012969333, 0.016150156, -0.0094746174, 0.0204897299, -0.0053305696, 0.0326398276, 0.0009166294, -0.0188753102, 0.000182858, 0.142290324, 0.0296030808, 0.0009771578, 0.02032586, -0.0066315588, 0.0188363269, 0.0397410728, 0.0326391123, -0.0413646437, -0.04293577, -0.0207958408, 0.0314623043, -0.0451138206, -0.0326809213, -0.0017298026, -0.111547336, 0.0571802706, 0.0026315541, 0.0065723788, -0.0237238109, -0.0237828288, 0.0199021921, -0.0254201591, 0.0030469925, -0.0342639498, 0.0128478538, -0.0064758253, -0.0123077445, -0.058164876, -0.0173615739, 0.1176266298, -0.0135375326, 0.0456535518, 0.0348651372, 0.0469787642, -0.0105899032, -0.012992179, -0.0803288892, 0.0352891758, -0.0077494048, 0.0218493957, 0.0567672215, -0.0124065103, 0.0142885223, -0.0753720999, 0.0416260026, 0.0045532049, 0.0326882638, 0.0356128141, 0.0317237414, 0.0046727844, -0.0587834455, -0.0030630173, 0.069395341, 0.0388369858, 0.0514055118, -0.0236430373, -0.087775968, 0.0250879284, 0.0078583807, -0.0293945074, -0.0054881885, -0.0940729827, -0.0222969539, 0.0278143547, 0.0187051464, -0.0461651608, -0.0535022914, 0.0182192177, -0.001233928, -0.0194813497, -0.0230573211, -0.0138783948, 0.03720624, -0.0328788348, 0.0081132967, -0.0126307579, 0.0222524051, -0.0333966687, -0.0037560435, 0.1001299694, -0.0548692755, -0.0162839107, 0.0466606058, -0.0682475716, -0.024579756, 0.0179539472, 0.0354580916, 0.0048776409, -0.010297819, 0.0314284526, -0.0365553871, 0.005703236, 0.0636065677, -0.0192027297, 0.0445331745, -0.0173187498, 0.0387135297, 0.012539966, 0.0095921857, -0.0183344353, 0.0441064164, 0.0079590082, -0.0263084192, -0.0230945107, -0.1060426682, -0.003978285, 0.0536467843, -0.0152742127, 0.0024817714, -0.0070760939, -0.0164611395, -0.0167334098, -0.0300322026, -0.0392732732, -0.0000017798, -0.0455844961, 0.0186971482, -0.0039468221, -0.0001048254, -0.0542977117, -0.0156722162, -0.0207650866, -0.0571689568, -0.006118882, 0.013300485, 0.0026065984, -0.0217430945, 0.0074680406, -0.0047038742, -0.0175741296, 0.0252432786, 0.0509350263, -0.0049654851, 0.0916863978, -0.0233472642, 0.0245341845, -0.040117871, 0.0099119572, -0.0122907097, -0.0658125877, -0.0297422446, 0.0014368452, 0.000934277, -0.0141903916, -0.0013201192, -0.0459968597, 0.0168281179, -0.0335098319, 0.0504756384, -0.0147338593, -0.0502644591, 0.0352451131, 0.0165419038, -0.0063486034, -0.0318025015, 0.0311096441, 0.0416854583, 0.0038995924, 0.01872834, -0.046175845, -0.0627404749, 0.0031004006, 0.0251737963, 0.0517824031, -0.0360620022, -0.0136494972, -0.0811446309, -0.0847487524, 0.0503687747, -0.0318785831, -0.0077767284, -0.01385694, 0.0196316298, 0.018742254, -0.0257537123, -0.0230844393, -0.0736662149, -0.0039874744, -0.0184709672, -0.0033865792, -0.0216817297, -6.59500673e-33, -0.0423849523, -0.0131131317, 0.0181795638, 0.0210332554, -0.0058281715, -0.0463885814, -0.0060572149, 0.034850169, -0.018096799, -0.0060713151, -0.016402036, 0.0017901426, 0.0022414934, -0.0029445505, 0.0274709146, 0.015779756, 0.0237626713, -0.0315012969, -0.0236182846, 0.0056728041, -0.003573694, 0.0061138161, 0.0397359803, -0.0797404051, -0.0167516712, -0.0094669517, -0.0165307596, 0.0047432338, -0.0289416742, 0.0694355071, 0.010811761, 0.0537547842, 0.0267476737, -0.0261458084, 0.0026084601, 0.017588798, -0.0575954132, -0.0355353057, 0.0120764254, 0.0024807493, -0.0072186799, -0.0239644479, -0.0047616577, -0.0071563818, 0.0045153508, -0.043284215, 0.056579899, -0.0258202404, 0.0313046537, 0.0308651086, -0.0080327643, -0.0320442058, -0.0680208281, -0.0204451717, -0.0227263477, 0.0345138945, -0.0219349526, 0.0222954191, -0.0518637747, 0.0522247329, -0.0143077318, -0.008555077, -0.0213330239, 0.0181343909, 0.0121113509, 0.042599488, 0.0498011261, 0.0242623724, 0.0126266079, -0.0452016853, 0.0332698822, 0.050293684, -0.0103042647, 0.0621349476, -0.0163551159, -0.0683538914, -0.0297124665, -0.0025275869, 0.1089736521, -0.0550750457, 0.0618685223, 0.0037186451, -0.036694359, -0.0476274639, -0.0322257318, 0.0110108033, -0.0370941721, -0.0263802279, 0.0243849531, -0.0075678374, -0.0195913725, -0.0117191654, 0.04043689, -0.0289209094, 0.0071833092, 0.0492118895, -0.0667598248, 0.0242504869, -0.0339949168, -0.0256985407, -0.0633085147, 0.009566769, 0.0020672751, -0.0211767294, 0.0547317192, 0.0192085281, 0.007235304, 0.0043901871, -0.0737236887, -0.0219122544, 0.0279204249, 0.0095382249, 0.0197587647, 0.0475183129, -0.0284310747, 0.0062158224, -0.0047619864, 0.031303063, 0.0046101236, 0.0102088507, -0.0549416579, -0.0371016189, 0.0284669902, -0.0234811716, -0.0060295817, 0.0051914193, -0.0681399181, -0.0118406266, 0.0416913889, 0.0106055802, -0.002660875, -0.0153254215, 3.105e-7, -0.0300096683, 0.0746575668, -0.0656657815, 0.0468749888, 0.0100717749, 0.0839474574, 0.0229692608, 0.0124638723, 0.0783210322, -0.0009626301, 0.0516139343, 0.0291110184, 0.0476186574, 0.0189835206, -0.0668719858, 0.0149260899, -0.0099732224, -0.0201152489, -0.0448886305, -0.0145712839, 0.0419145003, 0.1010718197, 0.0385577306, -0.0016184269, 0.0086576268, 0.0440989658, 0.0316938832, -0.0104052331, -0.0425883979, 0.0806422159, -0.0307401698, -0.0065923962, -0.0009254973, 0.0572497845, 0.0090773413, 0.0083974972, -0.0188964531, 0.0854183957, -0.0067797564, -0.0275121778, -0.006542624, 0.0563129224, -0.020420447, -0.0185862351, 0.0310757812, -0.0262936093, -0.0552588254, -0.0305079054, -0.0379968807, -0.0379249081, 0.0480149649, -0.0043642656, -0.0107320929, 0.0364978425, 0.0045006042, -0.0109411366, -0.0050542438, -0.0341633148, 0.025167184, 0.0280454252, -0.0559025742, -0.0436316431, 0.0145378737, 0.0021735358, 0.0094123231, -0.0497406758, 0.0460427888, 2.961346465e-34, -0.0069501735, 0.048025921, 0.0237290878, -0.0190194622, 0.0818099156, 0.0151940305, 0.0046986276, 0.0326338336, 0.0133122383, -0.0630996376, -0.0241291206 ]
http://arxiv.org/abs/2406.17283v1
http://arxiv.org/pdf/2406.17283v1
A Recursive Encoding for Cuneiform Signs
"2024-06-25T05:18:12"
"2024-06-25T05:18:12"
Daniel M. Stelzer
cs.CL
cs.CL
One of the most significant problems in cuneiform pedagogy is the process of looking up unknown signs, which often involves a tedious page-by-page search through a sign list. This paper proposes a new "recursive encoding" for signs, which represents the arrangement of strokes in a way a computer can process. A series of new algorithms then offers students a new way to look up signs by any distinctive component, as well as providing new ways to render signs and tablets electronically.
[ -0.0441779532, -0.007900795, -0.0590653494, 0.0230282247, -0.0257909819, -0.0065359897, 0.0248815622, 0.0560250953, 0.0354124159, -0.014715788, 0.0588081479, -0.0551668219, 0.0302992053, -0.0115451487, 0.0098073324, -0.0811053962, -0.0119333547, -0.0081097409, -0.0178767797, 0.0012238247, -0.0496427119, -0.0082920333, -0.0271357056, -0.0188139752, -0.0573949479, -0.0757557973, -0.0539390631, -0.0091217263, 0.0244894903, -0.0296189003, -0.0875242501, 0.0183609761, 0.0336172245, 0.0447689034, 0.0000016129, -0.0487675145, -0.0313870013, -0.0099454243, 0.0148218349, 0.0246460754, 0.0255055185, -0.074325107, -0.0627485886, -0.054322388, 0.0014815989, -0.0085531408, 0.0656840801, 0.0473077931, 0.0310653243, 0.040000625, 0.0037289448, -0.0529507585, 0.0296298005, 0.0059597227, 0.0139139714, 0.0629442483, 0.0031013836, -0.0160619933, 0.0141028361, 0.0415971056, -0.0381675884, 0.0517291948, 0.0076585175, -0.032102529, -0.0594350025, -0.0178231746, 0.0128846383, 0.0099649113, -0.0216753688, -0.0276418868, -0.0827944428, -0.0141976085, 0.0195821207, 0.010345947, -0.0159467645, -0.031496197, -0.0279636607, 0.0441595651, -0.0610569268, -0.0206681937, -0.0132998871, -0.0041823899, -0.0017361954, -0.0302110948, -0.0027736623, 0.0172170848, 0.0407494903, -0.0203989632, -0.0353470221, -0.010309645, 0.0326339863, -0.0253742281, 0.0448771417, 0.0474547036, 0.0145049999, 0.0025297883, -0.0003150725, -0.0286607854, -0.007024298, -0.0094316434, 0.0571776181, 0.0723550171, 0.0420581028, 0.0351522751, -0.029709775, 0.0430562906, -0.0165408868, 0.034529034, -0.0061245603, 0.0753787383, -0.0047599203, -0.032223165, -0.0874737203, -0.0310681965, 0.0214620121, 0.0063033123, -0.019035032, 0.0083316676, 0.0510497577, -0.0027812344, 0.0166436434, -0.0188149884, 0.0607487671, -0.0121644316, 0.008153311, -0.0154616805, -0.0270400941, -0.0117066083, -0.0499918908, 0.0179774463, 0.0318777226, 0.0032636065, 0.0397171639, 0.0408186391, 0.0022406259, 0.0334339663, 0.0019315504, 0.0056522889, 0.0027345924, 0.0320501961, 0.0224905796, 0.0267890133, 0.0418650284, -0.0139859887, -0.010202379, -0.0194154307, 0.0025139414, -0.018052645, 0.0042458409, 0.0245621987, 0.0439462885, -0.0051291534, -0.0153244184, 0.0307518058, 0.0237430856, 0.0333975144, -0.0268042665, -0.0246027131, 0.0782167166, 0.068224974, 0.0140039809, -0.0440578386, -0.003439531, 0.0088773593, 0.0010977235, -0.0247975681, -0.0212682523, -0.066530697, 0.0510491654, 0.0580653697, -0.0931590796, 0.015466271, -0.0224211104, -0.02031333, -0.0100716911, 0.0342338458, 0.0670377091, 0.031727042, 0.0046030357, -0.0037465217, 0.0539519861, -0.0262537915, -0.01430964, 0.0333341509, 0.0716062486, -0.0403649546, -0.0627484322, 0.0307458229, 0.0053397878, -0.0227870867, 0.007466373, -0.0103280246, 0.0465634838, -0.0298990197, 0.0447848737, 0.0350395329, -0.0493337177, -0.0680843145, -0.0067783338, 0.0025615531, -0.0199618731, -0.0074481177, 0.0596157201, 0.0568406321, 0.0406841636, -0.0321406089, 0.0586803555, 0.03737133, 0.0046451134, 0.0423422232, -0.0557580628, -0.0128821665, 0.0188577361, -0.0410597287, -0.025942523, 0.0516955405, 0.0020623202, 0.0429871529, -0.0182623807, 0.0776904002, 0.0041258987, 0.0220908727, -0.0066117253, 0.0254358519, 0.0172923617, -0.0258155167, -0.0185221806, 0.0416754335, -0.0481466167, 0.0439811237, 0.0198197663, 0.0133699803, 0.0528062955, -0.0751871392, -0.0373415798, -0.0374033749, -0.046536915, 0.0442504063, 0.0522441305, -0.0741066933, -0.0257855263, 0.0013075521, 0.0415918976, -0.0155920656, 0.055081699, -0.0241102073, 0.0899172127, 0.0360262468, 0.0191533174, -0.0316075049, -0.0259353183, 0.0133119216, 0.0475590453, 0.0036168415, 0.0124410326, 0.0171110816, -0.0611549839, -0.0123148514, -0.0215520188, 0.0188893266, 0.0089019798, 0.0012346111, -0.001378548, -0.0605271272, 0.0384432413, 0.0281672068, 0.0084810592, -0.0487180017, -0.0301947705, -0.0033872048, 0.0151339946, 0.0149168381, -0.0563282967, 0.0202244092, -0.0486106537, -0.0481766984, -0.0138954278, -0.0242202319, -0.0378028713, 0.0113984738, -0.0479672551, -0.0611568354, 0.009853486, -0.037132889, -0.028097989, -0.0104357637, 0.0419716984, -0.0760121644, -0.0562271625, -0.0455502048, 0.0120933997, 0.0082306918, -0.0091481628, -0.0088746455, 0.0342630073, 0.0004379113, -0.0901486054, 0.0432258137, -0.0079031764, 0.0120051, -0.028561689, -0.0234724917, 0.018529065, -0.0101483203, 0.013427184, 0.0496981554, 0.0190243442, -0.0799660459, 0.0050256085, 0.0116354441, -0.013210237, 0.0334085226, -0.0398781747, -0.0232960731, 0.004600605, 0.0148651591, -0.013451566, -0.0275431778, 0.003302553, 0.0158808865, -0.0350760035, -0.0053030849, 0.0262996126, -0.0285362974, -0.0280178618, 0.0340030752, 0.0507455915, -0.0488529392, 0.0437286012, 0.0200026147, 0.0366893448, -0.0226715077, -0.0376181453, -0.0210106019, 0.1176825166, 0.0382575616, -0.0485950671, -0.0138198277, 0.0297754742, -0.0290163234, -0.0356029086, 0.0189488642, -0.0074169026, 0.0352846421, 0.0285402797, -0.0339350738, 0.0488023609, -0.0339429267, -0.0553734191, 0.03506542, -0.0020992158, -0.0089256372, 0.0401273295, 0.0387818515, -0.0078559658, -0.0080788732, -0.0166552346, -0.0071512638, -0.0359176137, 0.0050229579, 0.007024894, 0.0330828987, -0.0245196763, -0.0232309662, -0.0190154724, 0.0403050408, 0.0168245342, 0.0212661158, -0.0290136617, -0.0358598717, -0.0100972438, -0.028927736, 0.0555053242, -0.0059260582, 0.0298889782, -0.0186945889, 0.030350361, 0.0313347131, -0.0814427882, -0.0007033452, -0.0137748383, -0.073155269, 0.0237366222, -0.0157766659, 0.0003470362, 0.0164344031, -0.0130500542, 0.0308611244, -0.0257019047, -0.0165947732, 0.0283126142, -0.0901076719, -0.0084413532, -0.0094130887, 0.0238465369, 0.0568491966, -0.0910919383, 0.0416434221, -0.0070935921, -0.0045130132, 0.0172552895, 0.0396412574, 0.0552733988, -0.0463935994, 0.0379974209, -0.0610668026, 0.0153490826, 0.0197921041, 0.0324979685, -0.0579495914, -0.0454202443, -0.0092314286, 0.0437760241, -0.0217046961, -0.0188827924, 0.03935818, -0.0255365148, -0.0293100774, -0.0133759622, -0.0764335319, -0.0145906983, 0.0292710792, 0.0223329123, 0.0249943212, 0.0185446311, -0.0017664828, -0.0588421337, 0.0103148613, -0.0219380613, -0.0360311158, -0.0031457604, -0.0203401987, -0.0599549487, 0.0633523315, 0.0525407344, -0.1389086843, 0.0098361345, 0.0031470782, -0.0347845741, -0.0457494222, 0.0086823534, 0.028288478, 0.0731393173, 0.063191779, -0.0092706643, 0.0450998209, -0.0162961185, -0.065971069, -0.0519594513, 0.0219259951, 0.0564881749, -0.0699836761, -0.0226718467, -0.0742029473, -0.0223977789, 0.009363343, 0.0275951698, -0.0370063595, -0.038694486, 0.0162850544, 0.0630206168, 0.0266914014, -0.0694527924, 0.0089799799, -0.0033297227, -0.0060412674, 0.0061766896, 0.0956544057, 0.0190761443, -0.0251242742, -0.0588062182, -0.0051608398, -0.0139652612, 0.0152273625, -0.0025522115, 0.0180065352, 0.0068140379, -0.076713115, 0.0033032233, -0.0383221097, -0.0257471427, -0.0320417285, -0.0366274416, -0.0291717909, 0.001541245, 0.0208535884, -0.0716469139, 0.0002234553, -0.01275553, 0.0390758701, -0.029617101, -0.0259696562, 0.0150093855, -0.0315486193, 0.0482893251, -0.0127833718, -0.0034120108, 0.0559367128, 0.0008164814, 0.0338216983, 0.0129178129, 0.0273809731, 0.0198117401, 0.0833781287, -0.0258960966, 0.0669852644, 0.0118496316, -0.0026959032, -0.0078113885, -0.0187180694, 0.0137447668, 0.0141541176, 0.0273722727, -0.1111883819, -0.0014086544, 0.0246995036, 0.0357373729, 0.0082000233, 0.0285999738, -0.0097777396, 0.0149409631, 0.0009035181, -0.0035961564, 0.011283705, -0.0382147916, -0.0388447829, 0.011374929, 0.0286162365, -0.0551819615, 0.0229915883, -0.0932882801, -0.0083543509, 0.0134694828, -0.0505511351, -0.0073568295, -0.0125346519, 0.0230833627, -0.0274006147, -0.0154765341, -0.0122907795, -0.0404362604, -0.0210293736, 0.069324553, 0.0254873224, 0.0034294238, 0.0088900691, 0.0444518179, -0.0451191515, 0.0173065215, -0.0024458684, 0.0168649461, 0.031009417, -0.0729066357, -0.0215992481, -0.0185454395, -4.760817875e-33, -0.0344637409, -0.0192166027, 0.0078659514, -0.0359463021, -0.0073243231, -0.0071165254, 0.0017382229, 0.061822854, 0.0195841342, -0.0307101849, 0.0103166522, -0.0059891264, 0.0142596075, -0.0066651045, 0.031985648, 0.0264209639, 0.0259067528, 0.016864473, -0.0410797819, -0.0052431161, 0.044613231, 0.0225308314, 0.0799075142, -0.0691042915, -0.0181193426, -0.0477089137, 0.0154968621, -0.0037009511, -0.0221984815, 0.0059419987, -0.0071643563, -0.0201295037, 0.0235154349, 0.0305383448, 0.0481795557, 0.0103911599, -0.0571711399, -0.0309198331, -0.0315802582, 0.0976774618, -0.0207562018, -0.0134820174, -0.0401424505, -0.0310214814, -0.0009739127, 0.0234177019, 0.0215538256, -0.0139283258, -0.0350292139, 0.0117309606, -0.0204363186, 0.0013839115, -0.0049049854, -0.0435586795, -0.0243368186, -0.0106819384, 0.0204534177, -0.0308509544, -0.0809827819, 0.0547797345, -0.0158205554, -0.0032342849, 0.0220817793, -0.029709151, 0.0294360705, 0.0180027802, 0.0410616025, 0.0047190986, 0.0033376338, 0.0091972556, 0.0207171869, -0.0158850756, 0.0223129578, 0.0015123721, 0.0492659137, -0.0232266188, -0.0005587668, -0.0053926059, 0.0117939962, 0.0337471254, -0.0096173771, 0.0390300751, -0.0340630189, -0.0293090027, 0.044449985, -0.0324974433, 0.0447404422, -0.0087191099, -0.0042283013, 0.0392808132, 0.0175854471, 0.0410853699, -0.0369001739, -0.0189863425, -0.0015131917, -0.0107036103, 0.0145851308, 0.0528433099, -0.0075004133, -0.0217513423, 0.0290354956, -0.042721428, 0.0285484437, -0.0524739958, 0.0326399803, 0.0183155127, -0.0183534212, 0.0442284234, -0.0208598934, 0.0181513485, 0.0201068763, -0.0271132514, 0.0383229889, -0.0541153848, 0.0466506518, -0.0135558331, 0.0177334249, -0.0027458419, 0.0489382334, -0.0087237777, 0.0165573917, 0.0018438019, -0.0343966857, -0.0286937449, 0.0048882496, -0.0137395989, -0.0172042493, 0.0057603, 0.0319532305, -0.0905701816, -0.009346257, -0.0048991088, 2.353e-7, 0.0182015486, 0.0240090135, 0.0642724484, 0.0724033415, 0.046591714, -0.0115054706, -0.0276022889, -0.0217145886, 0.0358101092, -0.0154047394, 0.0363259502, 0.0017037496, 0.0172554161, 0.0017793195, -0.0341819748, 0.0473349094, 0.008444625, -0.0419695564, -0.0287453476, 0.0551614277, 0.0689233392, 0.0214814525, 0.0123313544, -0.0365899131, -0.0234401617, -0.00121271, 0.0080479356, 0.0124114528, 0.0680157244, -0.0465244427, -0.0200665817, -0.0725900307, -0.0349547155, -0.0003706233, 0.0109857246, 0.0113782063, 0.0519781187, -0.0163408928, -0.0315603726, 0.1304175556, 0.0340402536, -0.0129170613, -0.0259713177, 0.0421859175, 0.0149881775, 0.0867552012, 0.0439851061, 0.0085346755, 0.0201314632, 0.0214383285, -0.0146600641, 0.0094642797, 0.0140977232, 0.028540343, 0.0168565921, -0.0177220944, 0.0628979877, -0.0009166382, 0.0006122632, -0.0297652297, -0.0122013967, 0.0067596263, -0.0242262036, 0.0014522679, -0.0040575792, 0.000920954, -0.0697214752, 1.855640892e-34, -0.0015052014, -0.0440095887, 0.040871378, 0.0227218457, -0.0219716914, -0.0097199911, 0.0671806335, -0.0083262818, 0.0352762416, -0.0047519482, -0.0300601088 ]
http://arxiv.org/abs/2406.17282v2
http://arxiv.org/pdf/2406.17282v2
SetBERT: Enhancing Retrieval Performance for Boolean Logic and Set Operation Queries
"2024-06-25T05:14:54"
"2024-06-26T14:38:31"
Quan Mai, Susan Gauch, Douglas Adams
cs.CL
cs.CL
We introduce SetBERT, a fine-tuned BERT-based model designed to enhance query embeddings for set operations and Boolean logic queries, such as Intersection (AND), Difference (NOT), and Union (OR). SetBERT significantly improves retrieval performance for logic-structured queries, an area where both traditional and neural retrieval methods typically underperform. We propose an innovative use of inversed-contrastive loss, focusing on identifying the negative sentence, and fine-tuning BERT with a dataset generated via prompt GPT. Furthermore, we demonstrate that, unlike other BERT-based models, fine-tuning with triplet loss actually degrades performance for this specific task. Our experiments reveal that SetBERT-base not only significantly outperforms BERT-base (up to a 63% improvement in Recall) but also achieves performance comparable to the much larger BERT-large model, despite being only one-third the size.
[ -0.018698357, 0.0621614382, -0.0241101943, 0.017543979, -0.0617529675, -0.0066932556, -0.0144786257, 0.0127282739, 0.0087751029, -0.033465635, -0.0079639982, -0.0020285845, -0.0403837971, 0.0326918103, 0.0474658459, 0.0014796149, 0.0823523551, 0.0534154065, 0.0160742346, -0.0125090154, 0.0163828656, 0.0002499197, -0.0130211506, 0.0302637797, -0.0150760971, 0.000046965, -0.0178704113, 0.0588585623, 0.0157369673, -0.0413310789, 0.0240853075, 0.0651380345, 0.0094577819, 0.0484504178, 0.0000016343, -0.0314086005, -0.034361016, -0.0129017262, 0.0119684422, -0.0038472328, -0.0084227286, 0.01710416, 0.0133735137, 0.0413484387, -0.0164347738, 0.0121490834, 0.0336025283, 0.0436624549, 0.0778463408, 0.0826143697, 0.006029896, -0.0025279883, 0.0146704214, -0.0394483842, 0.0153269172, 0.0083435867, 0.0106732128, -0.0704924464, 0.006053383, -0.0125014428, 0.0251822583, 0.0286625698, 0.0449734814, 0.0189650506, -0.0133846691, 0.0281600133, -0.1192360371, 0.0229171179, 0.0142029859, 0.0493453592, 0.0059325052, -0.021649003, -0.0141835297, 0.0031333396, 0.0226768311, -0.035883639, -0.0199705977, -0.0135633973, -0.0007502857, 0.0089309439, -0.0590142719, -0.0234918781, 0.0327017419, 0.0177062079, -0.0324458741, 0.0226699263, 0.0486081839, -0.0453783348, 0.0179631729, -0.0062924935, -0.0446404181, 0.0054310118, 0.0533231087, -0.001693268, 0.0108382907, -0.0040703118, -0.0091674086, -0.0319665633, 0.0418595076, -0.0390136503, -0.0020160002, 0.0641393289, -0.0412651375, 0.0289353784, -0.0587485619, 0.0394344293, -0.0003574092, 0.0824941695, -0.0149855698, -0.0112630278, -0.0514761284, -0.049180828, -0.0905914977, 0.0610710382, -0.0135008367, 0.0195840336, 0.0043770825, -0.0400369242, -0.0350021459, -0.0063141044, -0.0001489036, 0.0164528303, -0.0290095322, -0.0119928643, -0.0407510661, 0.0419603623, -0.0731573999, -0.0027715706, 0.0176991634, -0.0259527937, -0.0306089558, -0.0074351672, -0.0119526777, -0.015638832, 0.0341047235, 0.0207004827, -0.0196747202, -0.0464674346, -0.027340075, -0.0108907335, 0.0216652788, -0.0328622647, 0.0280647185, -0.0296658222, 0.0307014603, -0.0134171974, -0.0151938228, -0.0355465822, 0.0228521712, 0.0491369367, 0.0361783952, 0.0581302978, 0.0187230762, -0.0553115718, 0.0114494283, 0.0041196216, 0.0124211507, 0.0613467656, 0.0054749944, 0.0276273359, 0.0118382294, 0.0355290882, -0.0392419472, -0.0110931545, 0.0911860242, -0.0028871836, -0.1016819775, 0.0121692186, -0.0187927037, 0.0570203513, -0.0323041566, 0.0671219453, -0.0476146638, -0.0479802676, 0.0232224911, -0.0061569829, 0.0051950025, 0.0039027319, -0.0394510813, 0.005579113, -0.0155758355, -0.0322929099, -0.0485953316, 0.0238112453, -0.0437769182, -0.0087941242, -0.0083677666, -0.0185902044, -0.0236756522, -0.014149826, 0.0136727681, 0.0058096275, 0.0148442229, -0.0174964406, 0.0383777842, -0.0183450412, -0.0757011697, 0.0880412236, 0.0067731529, -0.0950423554, 0.0028432631, -0.0424545184, -0.0094384933, 0.0228802152, 0.0382066257, -0.0745396167, -0.0531075783, 0.0110354489, -0.0237622578, 0.03365428, 0.0057258243, 0.0202449784, 0.0200844947, -0.0531009994, -0.0075387871, 0.001136097, 0.0187898744, 0.0178666785, 0.0373300388, 0.0112338932, 0.0194880851, -0.0537768565, 0.0355261788, 0.0272046868, -0.0135365538, -0.0344849862, 0.0056551672, 0.0332714841, -0.0209610425, 0.0113308895, -0.0004670983, 0.037480969, 0.0282776263, -0.0348107405, -0.0832830593, -0.0315081626, -0.0569921881, -0.0596395954, 0.0375427529, -0.0548431501, -0.0239074286, 0.0927577019, -0.0396686681, -0.0307821687, -0.0295108631, -0.0767857283, 0.0537899658, -0.0564376749, -0.0158989597, 0.0147967646, -0.0565138645, -0.0551737174, 0.0758592635, -0.0585299283, 0.0230526514, -0.0379053093, 0.0028038961, 0.066927515, -0.0405410193, -0.035648793, 0.0102467388, -0.0224632416, 0.0373863801, 0.0250478834, 0.0109231109, -0.0635338426, -0.0025561848, -0.0752048269, 0.0337409899, -0.0077921208, 0.0040422766, 0.0083446028, -0.005620488, 0.0108724535, -0.0322341062, -0.0337656625, -0.0072302357, -0.0184276458, 0.0524429642, 0.0286799315, 0.0276592672, -0.0262956452, -0.0160943344, -0.0515677929, -0.0507326312, 0.0015908786, -0.0454894602, 0.0114729609, 0.0452378988, 0.019607177, -0.0240842309, 0.0315316804, -0.0067292033, -0.055008892, 0.0252382848, -0.0574168637, -0.0111697605, 0.0522847436, 0.0071078246, 0.001209729, 0.018663412, -0.0079913884, -0.0430928618, 0.0594104752, -0.0231193565, 0.0105109755, 0.0223427173, -0.0165043995, -0.0181496684, 0.0107717952, 0.0040602861, 0.0038879828, -0.1021581888, -0.0191201456, 0.0036338102, -0.0150428396, -0.0605635867, 0.039656274, -0.0081009762, 0.0228738301, -0.0465330742, -0.0289412066, 0.0691981018, 0.039780356, 0.0030198528, -0.0326766074, 0.0346060209, -0.0058322921, 0.0661795437, -0.003847257, 0.0197930802, 0.0142765846, -0.0534958057, -0.0694678873, -0.0584434234, 0.0421056375, -0.0460935682, 0.0177422687, -0.0197946951, 0.0057261549, -0.0092923157, -0.0646181777, -0.0389459915, -0.0185560491, 0.0233791824, 0.0432386734, -0.0110416142, -0.0258241352, -0.0736616477, -0.0398267955, -0.0113783851, 0.0235980153, -0.0176889375, -0.002717826, -0.01202456, 0.0176282451, 0.010523933, 0.0141186202, 0.0167303793, -0.0049932543, -0.0336360112, 0.0435290933, 0.0510986336, -0.017730834, 0.0122104278, -0.0120945089, 0.030001007, -0.0519883931, -0.0010243779, -0.0069419569, 0.0022166586, -0.0664925948, -0.0310442876, 0.0996163413, 0.0516558662, 0.0193996988, -0.0321317837, -0.0498965122, 0.0362589471, 0.0356481671, 0.0014920457, -0.0486437716, -0.0371066369, 0.0038408549, 0.0227836818, 0.0143793439, -0.0084830374, 0.019037392, -0.1368145496, -0.0065975883, -0.0029718641, -0.0301412158, -0.0667518899, -0.0285006315, -0.0258665625, -0.017734617, -0.0092478348, 0.0172344241, 0.0160073433, -0.0081451358, 0.0083612725, 0.039849326, -0.0003024988, 0.0147417504, -0.0346088111, -0.0216807127, 0.0508399531, 0.0503898337, -0.0297386274, -0.0573891141, 0.030281201, -0.0297667552, -0.0206549, -0.0323570482, 0.061119698, 0.0021719376, -0.0116730342, -0.0573628284, 0.0081168544, -0.0343497247, -0.0327251367, -0.0325754993, 0.0626494288, 0.0030078711, 0.0439716242, -0.0486442968, -0.0106735546, -0.0261298977, 0.0800826699, -0.0053729033, 0.0241095312, -0.030620113, 0.0006942184, 0.048312109, -0.0606978834, 0.012895721, 0.0003826568, 0.0168573111, -0.0046422617, -0.0513196737, -0.0488126911, 0.0129643707, 0.0544888228, -0.0247099008, -0.0054733423, 0.0170723088, 0.014215962, -0.0687926412, 0.0339852758, -0.0002639704, 0.015925115, -0.0352862142, -0.0051898127, 0.0161177348, 0.0271911658, -0.0503146052, -0.0047377148, -0.0220752098, -0.0353274643, -0.0046922131, 0.0243088268, 0.0124796843, -0.0084285382, -0.0086225113, -0.0109194536, 0.0080599124, 0.0955002233, 0.0031625959, -0.0212894995, 0.0852755755, -0.0219857804, -0.0033930624, 0.0538969375, -0.01682055, -0.0198032502, -0.0116383359, 0.0827250853, -0.0360168777, 0.0064837369, 0.0332694501, 0.0168465022, 0.0557950921, 0.0198003147, 0.0016915898, -0.0245491471, 0.0523360707, -0.0292482171, -0.0107533699, -0.0135562355, -0.0086236438, 0.034465082, -0.032639619, -0.0267324336, 0.0014899545, 0.004907337, 0.0360394903, -0.0288421065, 0.0205744058, 0.0287817772, 0.0357937142, 0.009806864, -0.000503406, -0.0204455648, 0.0025798678, 0.0258271918, 0.0339957997, -0.0662694201, 0.0507605299, 0.0547981709, -0.005215744, -0.0394520238, 0.0197986085, -0.0247811954, -0.013111365, -0.0093873506, 0.0022312044, 0.0102880755, -0.0133996494, -0.0091986144, -0.0098816482, -0.0342861824, -0.0081620915, -0.0050040861, 0.0270736013, 0.0043293405, 0.0234470405, 0.0293807257, 0.0224267356, -0.0693919957, 0.0295670889, -0.0152487047, 0.0864170864, -0.0095888898, -0.024694344, -0.0227045137, -0.0257190336, 0.0911232233, 0.0480848625, -0.0047124997, 0.0292174779, -0.0555725619, -0.0292765182, 0.0386194326, 0.0334990434, 0.0165259968, 0.0116406074, 0.0715826824, 0.0461154133, -0.0106327841, -0.0576902442, 0.0003183687, 0.0436216407, -0.0325002857, -0.0169332884, -0.0226846915, -5.484374688e-33, -0.0606947839, 0.0159773342, 0.0126017351, -0.06013209, -0.0194815602, -0.0052341996, -0.0313114114, -0.0050690253, -0.0253609158, 0.0509219356, -0.0004260922, 0.0600619279, 0.0064309486, 0.0386519171, -0.0040625893, -0.0484662354, 0.0619962886, 0.0297427494, -0.0032867482, 0.0144829815, 0.0376129225, 0.0559618585, 0.0315855145, -0.0489947721, -0.0578217655, -0.0068297912, -0.0119467936, 0.0519470498, -0.0260542333, 0.0252936892, 0.0059037604, 0.036599122, 0.0038465753, -0.011101447, 0.0122124813, -0.0191885158, -0.0724425837, -0.0833378956, -0.0009581564, -0.0166813657, -0.0172245111, 0.0013403946, 0.0283880886, -0.0095090438, 0.0158925448, -0.0040823058, 0.0184339918, -0.0081724143, -0.0257480051, -0.0112535944, -0.0610099398, 0.0091828685, 0.020923743, -0.040510457, -0.0214391705, 0.0081137586, 0.0141810225, 0.0157943871, -0.0352884345, -0.0277206376, 0.0024676363, 0.0101173203, -0.0188901275, 0.0204429906, -0.0262481198, 0.0565973483, 0.0480803885, 0.0217403583, 0.0477376506, -0.0144313723, 0.0678608939, 0.0396519825, 0.077767849, 0.0589026734, 0.0272863768, -0.0036291608, -0.0793747678, 0.017665375, -0.0059618386, 0.0697419494, 0.0049386155, 0.0372614525, -0.0448620655, 0.0166174788, -0.0275501441, -0.0020428149, -0.0375130251, 0.0288091768, 0.0476533659, 0.008433125, -0.0177379809, 0.0086061899, 0.0133726103, 0.0080742184, 0.001137358, 0.0532176979, 0.0050790044, -0.0328963995, 0.0126660783, 0.0490032658, -0.0475948788, -0.0001229867, 0.029066382, 0.0252402462, -0.0087073175, -0.0102193356, 0.0702398643, 0.0192827974, -0.069693841, -0.0104091922, -0.0337686054, -0.0069488301, -0.0467540063, -0.0034915146, 0.0030488828, 0.0271104109, 0.0279814377, 0.048674494, 0.0270241704, -0.019731354, -0.0643527433, -0.020177966, 0.0235990882, 0.0102250809, 0.0253076833, 0.0194842294, -0.0348274633, 0.0061815679, 0.0078528943, -0.0624014027, 0.0025005692, -0.0195753258, 2.35e-7, 0.0427087806, 0.0185253285, 0.0386531912, 0.0933188722, -0.0227140412, 0.0610424764, -0.0316829197, 0.0252667312, 0.0180704799, 0.032212574, -0.0010924883, 0.0298601054, 0.0150631526, 0.0246624164, -0.0145165278, 0.0435525924, -0.029855134, -0.0489299409, -0.030801218, 0.0020804256, 0.1165890917, 0.0835737139, 0.0312922932, -0.0075874496, 0.0169562437, -0.0456116349, 0.0649329126, -0.0070774886, -0.0110203512, -0.0253702775, -0.0032153344, 0.0288132243, 0.0089572417, 0.0131528825, -0.0167805273, 0.0071797674, 0.0251280367, 0.0423317924, -0.03344265, -0.0567811131, -0.0107933441, -0.0273298826, -0.015222528, -0.0184074491, 0.0500858389, -0.0193911716, 0.021261543, 0.0307212267, -0.0333035775, 0.0023091154, 0.0728846043, -0.0022750522, -0.0654725283, -0.0226564743, 0.0145241516, 0.0048348098, 0.0119350646, -0.0934177712, -0.0082608713, 0.027726192, -0.0261441786, -0.0237398539, -0.043131467, 0.062352404, 0.0065628542, -0.0498006307, -0.0142186852, 2.068238229e-34, 0.0398325361, -0.001146892, 0.0020567935, 0.0217613913, 0.0570678152, 0.0144678829, -0.0188169517, -0.007064491, 0.0325943455, -0.010799082, 0.002740819 ]
http://arxiv.org/abs/2406.17276v1
http://arxiv.org/pdf/2406.17276v1
OPT-Tree: Speculative Decoding with Adaptive Draft Tree Structure
"2024-06-25T04:45:53"
"2024-06-25T04:45:53"
Jikai Wang, Yi Su, Juntao Li, Qinrong Xia, Zi Ye, Xinyu Duan, Zhefeng Wang, Min Zhang
cs.CL
cs.CL
Autoregressive language models demonstrate excellent performance in various scenarios. However, the inference efficiency is limited by its one-step-one-word generation mode, which has become a pressing problem recently as the models become increasingly larger. Speculative decoding employs a "draft and then verify" mechanism to allow multiple tokens to be generated in one step, realizing lossless acceleration. Existing methods mainly adopt fixed heuristic draft structures, which fail to adapt to different situations to maximize the acceptance length during verification. To alleviate this dilemma, we proposed OPT-Tree, an algorithm to construct adaptive and scalable draft trees. It searches the optimal tree structure that maximizes the mathematical expectation of the acceptance length in each decoding step. Experimental results reveal that OPT-Tree outperforms the existing draft structures and achieves a speed-up ratio of up to 3.2 compared with autoregressive decoding. If the draft model is powerful enough and the node budget is sufficient, it can generate more than ten tokens in a single step. Our code is available at https://github.com/Jikai0Wang/OPT-Tree.
[ 0.042025324, 0.0690727457, 0.0131616537, -0.0296223089, -0.0361716561, -0.0114451889, -0.0514720157, 0.0299457163, -0.0485598296, -0.0138297845, 0.0396177806, -0.0763890743, 0.0208607428, 0.0369448662, -0.0144970343, -0.002756583, 0.0224788729, -0.0626922026, 0.0489640832, -0.0362900645, -0.0225249864, 0.0292522423, 0.021047987, 0.0394541025, 0.0022457843, -0.0180240143, -0.0704304054, 0.0223268475, -0.0500370711, -0.0521071292, -0.0269001238, 0.046573054, -0.0097068064, 0.0413077697, 0.0000024212, 0.0055168839, -0.0512490198, 0.0058205388, -0.0542224869, 0.0037613336, 0.0602462776, -0.0145429978, -0.0416964255, 0.039428141, -0.0107603259, -0.0687981397, 0.0443412513, -0.0216329806, -0.0150210876, 0.0684986562, -0.012756383, -0.0355183072, 0.0130979437, -0.0078138513, -0.0380415246, -0.0538811423, 0.0069283405, -0.0614782386, -0.0263542552, 0.0121399034, -0.0170429237, -0.0110514602, 0.0396944061, 0.0061048875, -0.0199134089, 0.0262266304, 0.0060382169, -0.0380279124, -0.0334723368, 0.0155508025, -0.0171749406, -0.081585221, 0.0073299832, -0.0028101192, -0.0440214463, -0.0246657822, -0.0236605927, 0.0333787277, -0.0555456989, 0.0118328109, 0.0584869348, 0.0101519777, 0.0416073538, 0.0027939365, -0.045068197, 0.1061672941, 0.0328966714, -0.0359078608, -0.0295283776, -0.0069771167, 0.0210291278, -0.0601424538, 0.0253651049, 0.0103269564, -0.0533697978, 0.0121187447, -0.0646020919, -0.0480142199, 0.0106199691, -0.0275352504, 0.0213856436, 0.044092983, 0.0230132006, -0.0048074457, -0.0355285294, -0.0154021187, 0.009112156, -0.0236752126, -0.0349246711, -0.0011423852, 0.0199103877, -0.0050965361, -0.0895068645, 0.0350846089, -0.0445978977, -0.0490277559, -0.0027145057, 0.0200169738, 0.0502519794, 0.0015754248, 0.0437852181, -0.0105100023, -0.017697705, -0.0152174514, 0.0644927919, -0.01793647, -0.0211777762, -0.0084578395, 0.0059693996, -0.0353231467, -0.0103079118, 0.0300322119, 0.0218345728, 0.0101311654, -0.0264514983, 0.0551856197, 0.0016340892, -0.0056872438, -0.0163024813, -0.0418120809, 0.0052125929, -0.0301048048, -0.0017824789, -0.0493737124, 0.0219640974, 0.0048117368, -0.0080905156, -0.0092952913, -0.0160064343, 0.0144820912, 0.0075335517, 0.0305068288, -0.0493040755, 0.0268087331, -0.0075134435, -0.0089994418, 0.0195584074, 0.0846391171, 0.0552280694, 0.0617907867, 0.0370973796, -0.0088411914, -0.02571618, 0.071239002, 0.0400732309, -0.0086157927, 0.0263927728, -0.0284903329, -0.0551677234, -0.0082283802, 0.0018435748, 0.0542246699, -0.0450700074, -0.0133416578, 0.0261672959, 0.0399313346, 0.0517764688, 0.0098899743, 0.0491745695, 0.0396736376, -0.0083082095, -0.009308367, -0.01225169, 0.0061085029, -0.0507599935, 0.0221093912, 0.0127437403, 0.015378884, -0.0073671686, 0.0189691186, -0.0212108772, -0.0147269461, 0.0165761672, -0.0247023087, 0.0524515174, 0.017054813, -0.0819568038, 0.0337391011, -0.0006620056, -0.0392158777, -0.0275664441, -0.0429809093, 0.0093632462, 0.0423445553, 0.0610743314, 0.0629386976, 0.0480482504, 0.0214093905, -0.0339138545, 0.0385132991, 0.0407886542, -0.0168888923, 0.0150539856, -0.0377009846, -0.0138407657, 0.0869439244, 0.0263254605, 0.057985846, 0.0501691625, 0.0160090663, 0.0230339933, -0.0224709138, -0.0274857022, 0.0097769229, -0.0080512157, -0.0033156993, 0.0300880596, -0.0013075219, 0.0375047922, 0.020133419, -0.0078248866, 0.0285418853, 0.0347466506, -0.0129619092, -0.0411753729, 0.0422068685, -0.0666194633, -0.0372526869, 0.0144795608, 0.0109530082, -0.0046344772, 0.0010826726, -0.0136364968, -0.0560752004, 0.0182693787, -0.0527703464, 0.0845696703, -0.0474142209, 0.0657759756, 0.0023602578, 0.0084482422, 0.0364089236, 0.0381607488, -0.0319519527, -0.0006272009, -0.0055698091, 0.0002164961, 0.0290903877, -0.0199868828, -0.0094960285, 0.0174315143, -0.038133841, -0.0104423994, 0.0289196633, 0.0286104921, -0.0107688867, -0.0065069743, -0.0768064931, -0.0045578959, -0.0460821949, 0.0496035889, -0.0089856992, 0.0179549959, -0.0120402901, -0.0026115982, -0.0065961755, 0.005989064, -0.0111622419, 0.0192054231, -0.0214540102, -0.0289685614, -0.032197006, 0.0112924315, -0.0132917874, 0.0065281843, 0.0547319427, -0.0172624402, -0.0334536247, -0.0494520292, 0.0030215904, 0.0354597941, -0.0015929486, 0.0296202954, -0.0317995995, 0.0062971096, -0.042166505, 0.0255811699, -0.0193646122, 0.0174885523, 0.0044768252, -0.013824923, 0.0153369969, -0.0357707404, -0.0193775576, -0.0034267223, 0.0233170446, -0.0202513561, -0.0496254675, 0.0174475387, 0.0610581413, 0.0232444461, 0.0105555663, -0.0791836157, -0.0157732274, -0.0028297405, -0.0212998595, -0.0055409661, -0.0249180198, -0.0241110306, 0.0290623698, -0.0383517854, -0.0482740849, 0.0758944005, -0.0722043961, -0.0226731952, -0.0369053222, 0.0079820706, -0.0258631799, 0.0468374193, 0.0143352896, 0.018260872, 0.0046911193, -0.0423994437, 0.0124979811, 0.0761170387, 0.0205095932, -0.0346626416, -0.0041307691, -0.0040125302, 0.0274749082, -0.0192299522, -0.0207991358, -0.0168951899, -0.0453378707, -0.0147132073, 0.0073007154, 0.0567776673, -0.0509016104, 0.0049073207, 0.0544071831, -0.0619554035, 0.0756604373, -0.0078476472, 0.0058416566, 0.0032924274, 0.0119667016, 0.0378910266, -0.028776072, 0.0230535511, -0.0471960083, 0.0534760393, 0.0731380507, 0.0753420442, 0.0349285901, -0.0444028601, -0.0017596076, 0.0395362824, -0.009750735, 0.0129934726, 0.0586924888, 0.0479000807, -0.0288006216, -0.0122638382, 0.1001675352, 0.0143394945, -0.0494185835, 0.0194869153, -0.0055410033, 0.092204757, -0.0274369828, -0.0088076405, -0.0882681534, -0.0345843732, 0.0405671783, 0.0499230959, -0.0113639217, -0.0276659448, -0.0313289277, -0.1062776595, 0.0266627409, 0.0195062812, -0.0160127189, 0.0143055562, -0.0209802072, -0.06245232, 0.0485689975, -0.0038067889, 0.069171302, 0.0247564502, 0.0026963167, 0.0066152634, -0.0555305108, -0.0069754017, -0.0027574443, 0.0030967281, 0.0598138086, 0.0548981577, 0.0067787687, 0.0417539105, 0.0119194929, 0.014416717, -0.0190114062, -0.0156871807, -0.0341005176, -0.0255121849, -0.0037298605, 0.0371546522, 0.0270801336, 0.0168615654, -0.064028129, 0.0062765498, 0.0022032997, 0.0392017514, 0.0081257457, -0.0614424832, -0.0194044001, -0.0076297745, 0.018050747, 0.0541218705, 0.0209368505, -0.0323390104, -0.0681407303, -0.0540320985, 0.0027802591, -0.1302249283, 0.0154092573, 0.0098144487, 0.0593361966, -0.0380162075, -0.0429055393, 0.011858915, 0.0144285057, 0.0440526195, -0.0287626889, 0.0380247049, -0.0107039474, -0.0359950252, -0.0529114828, -0.0504206941, -0.0010711724, 0.0122883329, -0.0458528996, -0.000687431, 0.0241523981, -0.006163965, -0.0174997598, 0.0421872474, -0.0855805799, -0.0529885031, 0.0127286231, 0.0189401638, 0.0253966674, 0.0003606994, -0.0600374788, -0.0328177437, 0.0347457305, 0.0225448143, -0.0754198059, 0.0107986489, 0.0076357243, -0.0049604322, 0.004335436, 0.0232571084, -0.0326648951, -0.0036884469, -0.0368045531, 0.0354836807, 0.0074019637, -0.0305724721, 0.0380663536, 0.0497130491, -0.0337919965, -0.0541042089, 0.0071516559, 0.0368296243, 0.0427829921, -0.0163446367, 0.0081689144, -0.0193646718, 0.0472398475, -0.0192411989, -0.0390481986, -0.0059692441, 0.0001434771, 0.0137878088, 0.0349855497, 0.0194496065, 0.0044479938, 0.0330514908, 0.0475949943, 0.0691717789, -0.0415695421, -0.0069873519, -0.0016585741, -0.0017742901, 0.0076879915, -0.0432742871, 0.0044050924, 0.0220743008, 0.0061564953, -0.0137946513, 0.0088940691, -0.0375522263, -0.0405828208, -0.0440106355, 0.0450092144, 0.0440553837, 0.0610229708, 0.0261281896, -0.0386071987, 0.0275158789, -0.0257767048, 0.0103229685, -0.0083206519, -0.0562651791, 0.0200697649, 0.014962391, -0.0299610533, 0.0271744486, 0.0521414429, 0.0577664562, 0.0279675592, -0.0012857722, 0.0165234804, -0.029230034, -0.025982134, -0.0690068528, 0.0631811395, -0.0476393402, 0.0153394006, -0.045156192, -0.0468374006, 0.0032814746, 0.0228174813, 0.050727658, 0.00791342, 0.0149682602, 0.045069702, -0.0245767329, -0.0166642312, -0.0411594957, -0.0081320079, 0.0081100408, -0.0252922997, -0.0038389701, -6.860330499e-33, -0.0049196607, -0.03029304, 0.0010716948, -0.0500692837, -0.0202088133, -0.0258514211, -0.0634708181, -0.0145814931, 0.0347070843, -0.0029592635, -0.0221639201, 0.024695877, 0.0295887198, 0.037822973, 0.0127578471, 0.042092558, 0.0856347382, -0.0316818058, -0.0270961132, 0.0029858896, 0.0309577323, 0.0297483858, -0.0147491004, 0.0190609563, -0.0019239986, -0.0444513671, -0.0204162747, -0.0209150705, 0.0048832549, 0.041311577, 0.0123406425, 0.0088314796, 0.0162503812, -0.004731833, -0.0442736931, 0.0040747635, -0.1026525497, 0.0120805837, 0.0390874445, 0.0280064959, -0.0302792136, -0.0045453911, 0.0026229373, 0.0084385294, -0.0149823185, 0.0212477222, -0.0527633764, 0.006422739, -0.0592929535, -0.0680894107, -0.0152301611, 0.0447131954, 0.038177222, 0.0266319793, 0.0479233824, 0.0475233831, -0.0235036202, -0.0074821413, -0.0449342355, 0.0475477129, -0.0350568071, 0.0460100137, 0.0259372331, -0.0396163575, -0.0256781299, 0.0077053988, 0.0466137938, -0.0556152128, -0.0456970148, 0.0027685193, 0.0216844548, -0.0158468205, -0.0054347944, 0.0135009624, 0.0823839083, -0.0523557961, -0.0190659724, 0.0088560889, 0.0524244122, 0.0261888243, 0.0529166907, 0.0098856715, -0.0249453019, -0.0444794968, -0.0581815429, -0.0468308106, -0.0403222144, -0.03113815, 0.0418927968, 0.0535394289, -0.0247147977, -0.0335743539, 0.0592273623, -0.0347839668, -0.0112120081, 0.0562004037, -0.0267479327, 0.0232778024, -0.0370125137, 0.0583687574, 0.0155842872, -0.0287672207, 0.0251023285, -0.0200135708, -0.0165808015, 0.0012574075, -0.0384695604, 0.0329589397, -0.068939507, 0.0047517335, -0.0103380783, 0.0399214514, -0.0087494757, 0.0166090466, 0.0562014431, -0.0037457475, 0.0161806978, 0.0224852432, -0.0113953892, 0.0337922946, -0.0276225731, 0.0198848844, 0.0171059761, 0.0532651022, 0.0050482568, 0.0280727744, -0.027513694, -0.0168623533, 0.0281364191, -0.0286007896, -0.0116528077, 0.0716817304, 3.014e-7, 0.0054769996, 0.0380997434, 0.084460631, -0.0250158701, 0.0430580825, 0.0099493871, 0.0019040536, -0.0010768089, -0.0240749344, -0.0002262322, -0.0249682385, -0.007607732, 0.0703633502, 0.0078459755, -0.1225661412, -0.010176369, -0.0611096509, 0.0158134699, -0.0317681767, -0.0244175587, -0.0031018434, 0.0675152689, -0.0318971537, -0.0118109398, 0.0195891671, 0.0099522313, 0.0126615427, 0.0219685491, -0.010685185, 0.0041710082, -0.0043827617, -0.0153259365, 0.0091754207, -0.0053234138, -0.0307242014, 0.0095408289, -0.034968175, 0.0704343468, -0.0038676569, -0.0188723914, 0.0432682224, -0.0287082791, -0.0329832025, 0.0083423555, 0.0315738358, -0.0122915572, -0.0104335286, -0.0261720568, -0.000252924, 0.0127954409, -0.0792725533, 0.0047039283, 0.018014282, 0.0510020144, 0.0257475432, 0.0082385391, 0.0143332453, -0.0726048425, -0.0226099137, -0.0322915949, -0.0557298288, -0.018316796, -0.048876144, 0.0442124791, 0.0409555323, -0.0442953743, -0.0075216088, 3.159695065e-34, 0.0801800862, -0.0135272015, -0.0166933406, 0.0806468427, 0.0001460084, -0.0271145999, 0.0743745714, 0.0482482165, 0.0211910959, -0.0268012136, -0.0561674759 ]
http://arxiv.org/abs/2406.17274v1
http://arxiv.org/pdf/2406.17274v1
Can We Trust the Performance Evaluation of Uncertainty Estimation Methods in Text Summarization?
"2024-06-25T04:41:17"
"2024-06-25T04:41:17"
Jianfeng He, Runing Yang, Linlin Yu, Changbin Li, Ruoxi Jia, Feng Chen, Ming Jin, Chang-Tien Lu
cs.CL
cs.CL, cs.LG
Text summarization, a key natural language generation (NLG) task, is vital in various domains. However, the high cost of inaccurate summaries in risk-critical applications, particularly those involving human-in-the-loop decision-making, raises concerns about the reliability of uncertainty estimation on text summarization (UE-TS) evaluation methods. This concern stems from the dependency of uncertainty model metrics on diverse and potentially conflicting NLG metrics. To address this issue, we introduce a comprehensive UE-TS benchmark incorporating 31 NLG metrics across four dimensions. The benchmark evaluates the uncertainty estimation capabilities of two large language models and one pre-trained language model on three datasets, with human-annotation analysis incorporated where applicable. We also assess the performance of 14 common uncertainty estimation methods within this benchmark. Our findings emphasize the importance of considering multiple uncorrelated NLG metrics and diverse uncertainty estimation methods to ensure reliable and efficient evaluation of UE-TS techniques.
[ 0.0439298265, 0.058448296, 0.034948986, -0.0153377121, -0.0019439372, 0.0073664887, -0.0174907539, -0.0353742242, -0.039831534, -0.056415651, -0.0049866717, -0.0723112226, 0.0548255034, -0.0102252532, 0.0200392809, -0.0878938884, 0.0096726101, -0.0251820609, 0.0077225571, 0.0179172438, 0.0174077377, 0.0075841695, 0.0096894251, 0.0502545945, -0.0107912701, 0.0485380627, 0.0163634233, 0.0435667858, 0.0773303285, -0.0497452356, 0.0103576882, 0.0483422205, 0.0063186539, 0.0136847729, 0.0000019264, -0.0479596853, -0.0305921063, -0.002042582, -0.0051307869, 0.0377164297, 0.0675152391, 0.0150574008, -0.0121276835, 0.0190758295, 0.0052562607, 0.0347445048, 0.0247889273, -0.0006060718, 0.036777366, 0.021714367, -0.001004866, 0.0148491571, -0.0018438562, -0.0376251899, -0.032575056, -0.0568104014, -0.014100695, -0.0009097862, -0.0100771459, -0.0115285497, 0.0275049917, 0.0132945506, -0.0102573382, 0.03589347, -0.0346078016, 0.0163240079, -0.0227368791, -0.0288203228, -0.019802412, 0.0442873091, 0.0210535526, 0.0317511372, -0.0209192354, -0.0069007496, 0.0084301019, 0.0165642481, -0.0152231706, 0.0747904629, -0.0192477088, 0.0031860571, -0.0379000939, 0.0676709786, -0.0140993837, 0.0233837608, -0.0004472557, 0.0605459623, 0.003949062, 0.0138559612, -0.0066730813, 0.0219371617, -0.0504850633, -0.0429794937, 0.017903775, 0.026431717, -0.0454226248, -0.0007769553, -0.0802593753, -0.047403615, 0.0243943501, -0.029423831, -0.015594759, 0.0207066871, 0.0288787782, 0.0011357929, 0.0082555301, 0.0353045985, 0.0529168695, -0.0144214928, -0.0588600896, 0.019280592, 0.0094806571, 0.0096920924, -0.0388331227, 0.0170481745, -0.0442118086, -0.043311961, -0.0919659659, -0.0199340824, -0.0056178565, -0.0058951401, -0.020484969, 0.0262014717, -0.0242260881, -0.0218746383, -0.0074164127, -0.0229097269, -0.0144061456, -0.0216930117, 0.0498543084, -0.0248537418, 0.0101532275, 0.0195031743, 0.0118583348, 0.0192677658, 0.0040124566, 0.0379970558, -0.0353644677, -0.0525422283, -0.0220572129, -0.0298013501, -0.0400264598, -0.0393291339, -0.051552169, -0.0581363142, -0.0297137145, -0.012339564, -0.0057428353, -0.0450642481, 0.0255882517, 0.0070883166, -0.040839415, 0.0291313864, -0.0436583944, 0.0016567794, 0.0532108508, 0.0102940425, 0.0049171923, 0.0426653065, 0.0798957646, 0.0584779717, 0.047926113, 0.0476583987, 0.010461852, 0.0100987479, -0.0102302907, -0.0052462886, 0.0004643167, -0.0360010527, -0.0660066679, 0.0012521191, 0.0081851622, 0.0979844034, -0.0366149284, 0.045730453, 0.0617657565, 0.0286494419, -0.0403335951, -0.0315307826, 0.0468103811, 0.0388959013, 0.0632197037, 0.0369353965, -0.0081819249, 0.0133912768, -0.062749207, 0.0610902719, 0.0877808109, 0.0459977686, 0.0146170128, -0.06575872, -0.0451238267, -0.0100541664, 0.0287168156, -0.0117780417, 0.0164697412, -0.0125707798, -0.06567128, 0.0143533889, -0.0011912915, -0.0633210242, 0.0146563733, -0.0159631893, -0.0010915739, 0.05591131, 0.0553613305, -0.0140904877, -0.0288519021, -0.0055489973, -0.0066846595, 0.0207220018, 0.0362933725, -0.004374532, -0.0001138349, -0.0497398749, -0.0284133498, 0.0122141717, 0.0245778151, -0.0055324859, 0.0109777628, 0.0003696252, 0.0558692217, -0.0145152407, -0.060712833, 0.0260841604, 0.0210014805, -0.0158716235, 0.0092871329, -0.0385641307, 0.0267741475, 0.0254242029, -0.0324807912, 0.0385991819, 0.0003574769, 0.002852102, -0.0264059938, 0.0096176052, -0.0201220531, 0.0021894781, 0.0181618594, -0.0364758447, -0.0174522139, -0.0082135135, -0.0337803699, -0.0497562103, 0.0020682921, -0.0549938455, -0.066872336, -0.0420199819, 0.0459074788, 0.015775308, 0.0106450999, -0.0565594621, 0.0574037097, -0.0083923321, -0.006782339, 0.0380999148, 0.0178038832, 0.0142481728, -0.0238328744, -0.0127982851, -0.0429499783, -0.0322946087, 0.0237693768, 0.0659784302, 0.032764636, -0.020002149, -0.0240166672, -0.0717509463, 0.0108375903, -0.0267672334, 0.0469143987, 0.0426039994, 0.0094727725, -0.0256128963, 0.0134373168, -0.0049253716, -0.0377036706, 0.003542138, -0.0050912229, 0.0318505317, 0.0174701121, 0.0512632765, -0.0811513886, -0.0006346718, 0.0141065158, 0.0434089676, 0.0354592092, -0.0303660948, -0.0521188937, 0.0749506876, -0.0395449549, -0.0448399447, 0.041432593, -0.0450661257, 0.0112563362, 0.0319218114, 0.067134656, -0.0054774885, 0.0700484514, 0.0375173576, 0.0298245773, -0.02150671, 0.0175092909, 0.0015608263, -0.0299809817, -0.0040193773, 0.0339723788, -0.0506620109, 0.0580571704, 0.0310472809, 0.0220309515, 0.0046213684, -0.0473783985, 0.0420240201, -0.0555740334, -0.0144814551, -0.0425220504, -0.041074954, 0.0012621968, 0.0599196926, -0.0112130037, -0.0132654132, 0.0430695005, -0.0344639085, 0.025445722, -0.0391673595, 0.0007691856, -0.0066070408, -0.0248782542, 0.0250062812, 0.0463260561, -0.0016797865, -0.0007309052, -0.0526345484, -0.0280429367, 0.0804586783, -0.0318980701, 0.0087651014, -0.0896123871, -0.0007372763, -0.0084592151, 0.0092084892, -0.0201270338, -0.0300162602, -0.0369224772, 0.0054369508, 0.0959190726, -0.035067331, 0.0119868414, 0.0275606066, 0.0294347461, 0.0421934426, -0.0303738173, -0.0349569246, -0.0057066549, 0.0489139892, 0.0360275134, -0.0089363707, 0.0847808495, -0.0380157754, -0.001174757, 0.0335281156, 0.0331977122, -0.0078656925, 0.0041967221, -0.0238475297, 0.0115010859, -0.0394257121, -0.0132626798, 0.0589592904, 0.0993764251, -0.0112266326, -0.0081287669, 0.1080163121, 0.0173130613, 0.0133630084, -0.0074655442, 0.0241457429, 0.0606500804, -0.0095411632, -0.0020438719, -0.0300552156, -0.0321552455, 0.0129415384, 0.0464991517, -0.0107907709, -0.0313105658, -0.0273086932, -0.0623083822, 0.0427648798, 0.0170483496, -0.0740973204, 0.0021012705, -0.0168422423, 0.0090609994, -0.0201255698, 0.0351094455, 0.0265889764, -0.0289351847, 0.0335655399, 0.0509952307, -0.1165476963, -0.051138334, -0.0709252805, -0.0217853561, 0.0147076985, 0.0336001627, 0.0237351563, -0.0007569975, 0.0521166697, 0.0340539888, -0.04194244, 0.0072997576, 0.0063745715, 0.0924007148, 0.0276059043, 0.0126199806, -0.0346253924, 0.0262304544, -0.0037225925, -0.0058206981, -0.0172578543, -0.0286410488, 0.0109357042, -0.0034835825, -0.0125424433, 0.0378816463, -0.0093182772, 0.0517884344, 0.0153886117, -0.028534431, -0.0321454294, -0.0534541346, 0.0456977747, -0.07116016, 0.0053009787, 0.0142383547, -0.0287451837, -0.0388570689, -0.0991370901, -0.0562410355, -0.0082028303, -0.0089614978, -0.0156845041, -0.0246614851, 0.0372171327, 0.0250669606, -0.0240872707, 0.0017169759, 0.018052768, 0.0201022997, -0.0394763909, 0.0276019536, 0.0030694217, -0.007161676, -0.0133729186, 0.0781874135, -0.0921970233, -0.0684688389, -0.0169319529, 0.0609265007, 0.0251570288, 0.0073473924, 0.0060367668, -0.0419272259, 0.0644806623, 0.0487645753, -0.0060215378, 0.0129037108, 0.0272095427, 0.0525066853, -0.0361719616, -0.000837493, -0.0509203747, 0.0076664817, -0.0238845572, 0.0393531285, -0.0164207947, -0.0831825063, -0.0032983576, 0.0502401888, 0.0080529228, -0.0911985412, 0.0254163258, -0.0121958256, -0.065278776, -0.0199832227, -0.0178533383, -0.0423805118, 0.0331078321, -0.0050251517, -0.0038888617, -0.022809431, 0.0405943021, 0.022319112, 0.0064341025, 0.0029291227, -0.0299008358, -0.0145525141, 0.0269771349, -0.0087635461, -0.0235438943, -0.0204861853, -0.0166004151, -0.0459161773, -0.008444801, 0.0276051424, 0.0158619508, 0.0132622533, -0.0208060071, 0.0252357963, 0.0442880467, -0.0677227229, -0.0220791195, -0.0801474005, 0.0065637138, 0.0410266183, 0.0139534958, 0.0860372111, -0.0276291464, 0.0064543206, -0.0312153064, 0.0366190709, 0.0279942639, 0.0142306006, -0.0207645427, -0.0030976443, 0.0030021481, 0.0014175937, 0.0765200928, -0.0047735586, 0.0046460684, -0.0264057554, -0.0696141347, -0.0336416587, -0.0304896086, -0.0520981662, 0.0231962372, 0.0000333833, -0.0137051828, -0.0642566457, -0.0243927203, 0.0352191329, 0.0405261368, 0.0386718698, -0.0331620015, 0.0365120359, 0.0009412076, -0.0178464018, 0.0396930389, -0.0366902128, -0.0503346398, -0.0236739554, 0.0537709519, -0.01930416, -6.200032547e-33, -0.0333863199, -0.056530945, -0.0468747243, -0.0512754284, -0.0152753498, 0.0071904478, -0.0413850956, 0.0326044038, 0.0629986003, 0.0259377155, 0.0071583064, -0.0254830979, 0.0163615942, 0.0319313742, 0.0023853644, 0.0209213961, 0.04156835, 0.0082582431, -0.0653969198, -0.0001758239, 0.0248583127, 0.018776238, 0.0399889909, -0.0417665467, 0.0444962643, 0.0031167141, -0.0738402903, -0.0026507617, 0.0450637937, 0.0088593215, -0.0047087846, 0.0149895241, -0.0162335727, -0.0273883864, -0.0464438386, -0.02986723, -0.047771547, -0.0429706722, -0.0105789965, 0.0045474367, -0.0332482457, -0.0002684744, 0.0154075762, -0.0160899945, -0.0446968339, 0.0010508659, 0.0183513686, -0.0403429084, -0.0269299876, -0.0972723067, -0.0144361202, 0.0544763096, -0.0190270171, -0.0328746289, 0.0142159797, 0.0598458685, -0.0329976752, -0.0355769247, -0.0165103562, 0.010016202, 0.0291951951, 0.0004680231, 0.0484907404, 0.0196311511, -0.031840574, 0.0453268811, -0.0403156802, -0.009442294, -0.0511172339, 0.0120084072, -0.0249997247, 0.0242393706, 0.0377299488, 0.0745622367, 0.0185748264, 0.0501533374, -0.0512204245, 0.1035989672, -0.0341660827, 0.0049139075, 0.0268623717, 0.0015232827, -0.0339912176, -0.0220053159, -0.0491265915, -0.0168261435, 0.0094999028, -0.0013391195, -0.0088333385, 0.0110581722, -0.0563234761, -0.0338194482, 0.0035116589, 0.0054556695, 0.0101371063, -0.006991731, -0.0388006046, 0.0040705982, 0.0080178054, 0.0048228609, 0.0001147522, 0.0134757254, 0.0460123569, 0.0466485135, -0.0211090837, -0.0240737367, 0.0280294083, 0.0097456407, -0.0421598852, 0.0456248894, 0.0117285708, 0.0652427673, -0.0147104152, -0.0254473761, 0.0115435682, -0.0465761237, -0.0133794872, 0.0443009473, 0.0021821589, 0.0198206715, 0.0125111574, 0.0189738963, 0.0203816816, 0.0043686698, -0.0179028716, 0.0038109533, 0.019823106, -0.0312644541, 0.0176838934, -0.008792297, -0.0391594283, -0.0027663086, 2.58e-7, 0.0665821284, 0.0465189554, 0.0588378794, 0.0309137683, -0.0232884753, 0.0430305786, 0.0191253666, -0.0157031268, 0.0040478562, 0.0202317461, 0.0460701548, 0.0063895495, 0.0562859923, 0.0352254324, -0.0110903233, -0.0602179244, -0.0617699958, 0.0190154836, 0.010129177, -0.0105506554, 0.0853846371, 0.0213738922, -0.0356251001, 0.0041452451, -0.0249331407, -0.0160235837, 0.0438400619, -0.0480294786, -0.0342985801, 0.0411485061, 0.0815223455, 0.0200493, -0.0195684023, -0.0095253447, -0.0172063112, -0.0473029986, 0.0626496971, 0.0156797953, 0.0416663587, 0.0158610828, 0.0171093177, 0.0004764405, 0.0470818281, -0.0039555319, 0.02101494, -0.0838571191, -0.0204208307, -0.0310621057, -0.0166067462, 0.0034712295, 0.0299959313, -0.0234510247, -0.023925269, 0.0232592467, -0.0102836229, 0.0508318543, -0.0074070166, -0.0308193099, -0.0536424033, 0.0253986754, 0.0101608401, -0.0199057888, -0.017701406, 0.0226918794, 0.0036774387, -0.0739274099, -0.0088272812, 2.089193712e-34, 0.0725988969, -0.0228706971, -0.0408999361, -0.0170196928, 0.0492101423, -0.0035411839, -0.0143439537, -0.0185061134, 0.0046615461, -0.0269588381, 0.0062258122 ]
http://arxiv.org/abs/2406.17271v1
http://arxiv.org/pdf/2406.17271v1
DARG: Dynamic Evaluation of Large Language Models via Adaptive Reasoning Graph
"2024-06-25T04:27:53"
"2024-06-25T04:27:53"
Zhehao Zhang, Jiaao Chen, Diyi Yang
cs.CL
cs.CL
The current paradigm of evaluating Large Language Models (LLMs) through static benchmarks comes with significant limitations, such as vulnerability to data contamination and a lack of adaptability to the evolving capabilities of LLMs. Therefore, evaluation methods that can adapt and generate evaluation data with controlled complexity are urgently needed. In this work, we introduce Dynamic Evaluation of LLMs via Adaptive Reasoning Graph Evolvement (DARG) to dynamically extend current benchmarks with controlled complexity and diversity. Specifically, we first extract the reasoning graphs of data points in current benchmarks and then perturb the reasoning graphs to generate novel testing data. Such newly generated test samples can have different levels of complexity while maintaining linguistic diversity similar to the original benchmarks. We further use a code-augmented LLM to ensure the label correctness of newly generated data. We apply our DARG framework to diverse reasoning tasks in four domains with 15 state-of-the-art LLMs. Experimental results show that almost all LLMs experience a performance decrease with increased complexity and certain LLMs exhibit significant drops. Additionally, we find that LLMs exhibit more biases when being evaluated via the data generated by DARG with higher complexity levels. These observations provide useful insights into how to dynamically and adaptively evaluate LLMs. The code is available at https://github.com/SALT-NLP/DARG.
[ 0.0165728051, 0.0455613248, -0.0132923396, 0.0446713157, -0.066158101, 0.0255581439, -0.0027454556, -0.0006654298, 0.0404326022, -0.0645404011, -0.0136287138, -0.0202584043, -0.0049890443, 0.0416585319, 0.018051764, 0.0033322906, 0.0657855123, -0.0598036535, 0.0212985408, -0.004532252, -0.0170336608, -0.0015809243, -0.0079835802, 0.0278961528, 0.010244607, -0.0125166895, -0.000900802, 0.0039561447, -0.0004941642, -0.0430121757, -0.0180695355, 0.0396827012, -0.0039258101, 0.0398343913, 0.0000022108, -0.0516081415, -0.0176849924, 0.0238235984, -0.0311522093, 0.005395751, 0.0477283671, 0.0288993828, -0.0027405911, 0.0295566339, -0.0396864749, -0.0410268009, 0.007902029, -0.0042767269, 0.0671434328, 0.0846604109, 0.0125192162, -0.017033508, 0.0072412002, -0.0251592062, -0.0209824443, -0.0630119666, 0.02692209, 0.0379736051, 0.0439086743, -0.0200774819, -0.0316092893, 0.023217693, 0.0194480028, -0.0004730411, -0.0144190248, 0.0214874092, -0.0042665526, -0.0010034648, 0.0030760458, 0.0725434273, -0.0395854041, -0.0143667385, -0.0083515123, -0.0086006941, 0.0068695219, -0.0052029043, -0.0481008328, 0.0086265597, -0.0162642878, 0.0097066304, 0.0316916555, -0.0487437062, 0.0634433627, 0.0197043829, -0.0544501208, 0.1457888484, 0.0225101169, -0.022064561, 0.0088230846, -0.0451211594, -0.0356043912, -0.0557980649, -0.0096526006, 0.0310934819, -0.0486468151, 0.0525001474, -0.0183816161, -0.0120751318, 0.0043649534, -0.0257883444, 0.0754645467, 0.0374763086, 0.0203022566, 0.0585318767, -0.0424647518, 0.1036815792, -0.0070470897, 0.03431274, -0.0535276122, -0.0136851314, -0.0702810809, 0.0040138266, -0.0270073004, 0.0490165576, -0.0001326217, -0.0148064019, -0.0402943119, 0.0376047976, -0.0296746809, 0.0134465247, 0.0337546244, -0.0293128379, 0.0131142111, -0.0039448701, -0.0410491154, -0.0070132925, -0.0295527969, 0.0057068602, 0.0200533886, -0.0435388684, 0.0084651764, -0.0037980035, 0.0021236059, -0.0127475429, 0.0152932005, 0.072551176, 0.0214395635, -0.0144637218, -0.0421748646, -0.0111451354, -0.0456941836, -0.0689259917, 0.0052622706, -0.0763211399, 0.0357204527, 0.0111519638, -0.014425491, -0.0724856034, 0.001040074, -0.0124569405, -0.0490389988, 0.0662458241, 0.0063552759, 0.0416650921, -0.0060650096, -0.0185768455, -0.031587366, 0.0860840455, 0.0442589037, -0.0251946952, 0.0529227331, -0.0036862893, -0.0297527723, 0.0501699932, 0.0085030692, 0.0211410224, -0.0279865675, 0.0156753175, -0.0049192519, 0.0232079048, -0.0385540873, 0.0655164719, -0.0166104287, -0.0286136065, 0.0180485193, 0.0191438291, 0.0282778051, -0.0240853988, 0.0474524647, -0.0153797241, -0.0068868967, -0.0022461992, -0.0721392632, -0.0272560604, -0.0435307585, 0.0234231707, 0.0070713335, 0.0134215746, 0.0054263561, -0.0468093455, -0.0589633845, 0.01738015, 0.0423590839, -0.0043610297, 0.0586537644, 0.0376379862, -0.0472032167, 0.0322546437, 0.0352330841, -0.0488381572, -0.0196988303, -0.0489535145, 0.0214689709, 0.0573384464, 0.050502874, -0.0099316621, -0.0560719296, 0.0406526439, -0.0035034053, 0.0009974046, 0.0475002602, -0.007296388, -0.0070221829, -0.0370890461, -0.0407445095, -0.0244178902, 0.0103614889, 0.0260437075, 0.0594999082, -0.0039790841, 0.0158178043, -0.1005315781, -0.0520798862, 0.0290425625, -0.0438392311, -0.0007486599, 0.007570399, -0.022005165, 0.0393349193, 0.0022771088, -0.0163278691, 0.0447318964, 0.028261859, -0.0172226541, -0.0260841511, 0.0062144939, -0.0378706083, -0.0507511422, 0.0615913719, 0.0048554922, -0.0151680112, 0.0053126505, -0.0540077239, -0.0307548083, 0.0697508901, -0.01618574, 0.0005057768, -0.0213530622, 0.0557250641, -0.0325326137, -0.0094034923, -0.0326669328, 0.0813334212, -0.0126568805, 0.0249415953, -0.0058276458, 0.0842307061, 0.0119451676, -0.0157283638, -0.025510639, 0.0273915976, -0.0172205791, -0.003329749, 0.0049763853, -0.0047536343, -0.0644874573, -0.0248306878, -0.0553223789, 0.0326887183, -0.0159493648, 0.0342088677, 0.0197195299, -0.0040804395, 0.0134090493, 0.0238579847, -0.021936005, 0.0200119372, 0.0403587185, 0.0344248861, 0.0070138113, 0.006505399, -0.0357157327, -0.0198607761, -0.0293332618, -0.0384327285, 0.0859257728, -0.0010832597, 0.0301252082, -0.0343172587, 0.0080033401, -0.0502603985, 0.0391680636, -0.0165450461, -0.005733348, 0.0100862039, -0.026426902, 0.0331613086, 0.0560172647, -0.0134549728, -0.0053759008, 0.0517501086, -0.0055844677, -0.0497512035, 0.014054657, -0.0272509288, -0.0106114838, -0.0328608006, -0.0349059887, -0.0170161147, 0.0643008947, -0.0048626619, -0.0205724649, -0.0639789551, 0.0185592361, -0.0567251146, -0.003949543, -0.0259773135, -0.0169377383, 0.0029156427, 0.0199888181, -0.0476075411, -0.0511711873, 0.0896592513, -0.017828621, 0.0095838001, -0.040139053, 0.0064050164, -0.0697387904, 0.0895105228, 0.0168565121, 0.0053254063, 0.0242323466, 0.005217493, -0.0486715101, -0.0392723382, 0.0319497101, -0.0551994331, 0.057593748, -0.0812252238, 0.0367687345, 0.0234532654, -0.0377221107, -0.0395319313, 0.0217713732, -0.029046474, 0.0520137958, 0.0168519933, -0.0163282286, -0.0229390673, 0.0209258553, -0.0141067589, 0.036846146, -0.0162149724, 0.012909661, -0.0094785253, -0.0018392242, 0.0181394052, 0.0075430395, 0.0197711419, -0.0137493415, 0.0391634516, 0.0293498673, 0.0501757599, -0.0098861568, -0.0626605004, 0.0293087121, -0.0056911157, -0.0150377462, -0.0054235561, -0.0014038904, 0.0025692445, -0.0703313574, -0.0181564111, 0.1083292291, 0.0370948352, -0.0091753248, 0.0248447526, 0.0001803926, 0.0371021517, 0.0596825555, 0.0244117696, -0.069290489, -0.0472890586, 0.0115055563, 0.0180033501, -0.0002158553, -0.055328317, -0.0081997095, -0.1595338434, 0.006629969, 0.0039613722, -0.0135091897, 0.0037388788, -0.0380878113, 0.0068231449, 0.002283975, 0.0058526243, 0.0406829044, 0.0160290021, -0.0010805191, 0.0215943698, -0.0371477418, -0.0468007624, 0.0338973366, -0.0189289376, 0.0381517224, 0.0347431935, 0.0234750062, 0.0014397132, -0.0271697547, 0.0922231898, -0.0074068201, 0.0166030675, -0.037333183, -0.0031824394, 0.0327627249, -0.0058220364, 0.0233624484, -0.006806701, -0.0291173309, -0.0065681734, 0.0149889188, 0.0853950232, 0.0073168664, -0.0255578738, -0.0015244297, -0.0128985979, -0.0350382961, 0.0576132424, 0.0224124771, -0.0206446741, -0.0276152659, -0.0478443801, -0.0387315564, -0.072037138, -0.0249489434, 0.0504690968, -0.0139587922, 0.0164654013, -0.0553798862, 0.0078515671, 0.0196292829, 0.0073912116, 0.0092083169, 0.0026176998, 0.0238903463, -0.0046327235, -0.0631873682, 0.0254244786, -0.0345767364, 0.0380205698, -0.0414607823, 0.0045263157, 0.0266798064, -0.0005328784, -0.0312203784, 0.0355857722, -0.0915041789, -0.0970297456, 0.0019890165, 0.012073053, 0.0193013996, 0.0708238333, -0.0326619409, -0.0512048602, 0.0113784606, -0.0115158809, 0.0205724984, 0.0257559195, 0.0124455057, -0.0109181711, 0.0110398177, 0.0392713696, -0.0607966743, 0.0104129286, 0.0267011523, 0.0710548759, 0.0054765819, -0.0217453837, 0.0134430137, 0.065046519, -0.003932558, -0.0084556052, -0.0458542779, -0.0164280161, 0.01404458, -0.0064572152, -0.0612288378, -0.0410625525, 0.016992433, 0.0199666228, -0.0361734442, -0.0030146292, -0.0108565856, 0.0198679473, 0.0239824522, -0.0325574279, 0.0056515131, 0.0069036139, -0.0008986488, 0.0279953238, -0.0205455329, -0.0117664142, 0.0164289996, -0.0227835216, 0.021769302, -0.0380024202, 0.0338201784, 0.0377737135, -0.0205752309, -0.0479599759, 0.0004938444, -0.056061212, -0.0489669964, 0.0151195312, 0.0373987742, 0.0433268622, 0.0320891626, 0.0420768969, -0.0208141916, -0.0118442532, -0.0355002135, 0.0079678325, 0.0174905714, -0.0491341166, 0.0484776124, 0.0363148339, -0.0065990747, 0.0193423945, 0.0502962805, 0.0279510934, 0.039211601, 0.0094754687, 0.0095461626, -0.0417859629, -0.0278813448, -0.0501406863, -0.0081818728, -0.0292892233, 0.0214353018, -0.0458953083, -0.0943033919, 0.0106090512, 0.0383446366, 0.0200367067, -0.009181371, 0.0213445146, 0.059209995, 0.0090622306, -0.0255918819, -0.0328384377, 0.0000401434, -0.018765375, -0.0273118299, -0.0162100941, -6.634761949e-33, -0.0044113481, -0.0412466452, 0.0208845399, -0.0515052825, -0.0156296603, -0.0010636004, -0.0368298665, 0.0223928671, -0.0287477374, 0.0002754815, -0.0034366164, 0.0212286524, -0.0052598412, 0.0195146333, -0.0199794266, -0.0319359675, -0.000384232, -0.0003904337, -0.0415912755, 0.0110830562, 0.0240245089, -0.0025571124, 0.0341762491, -0.0767749399, 0.0059721139, 0.0185662769, -0.0183761213, 0.0354591534, -0.0446111746, 0.0910855234, 0.0214786232, 0.0200209189, 0.0278924257, -0.0330514908, -0.0042824652, -0.0437489972, -0.0709863752, -0.0218104701, 0.0389428735, 0.0080547929, -0.0467563421, -0.0217207633, 0.0480669551, 0.013798384, -0.0323567577, -0.0138638727, 0.0036240064, -0.0228067599, -0.0254253894, 0.0113684768, -0.0376631878, 0.0538397133, -0.0069674845, -0.0081985258, -0.0013825247, 0.0146595836, -0.0225167777, 0.0341839641, -0.0107220402, 0.0109519139, 0.0154376626, 0.0139374267, 0.0809799731, 0.0354610644, 0.0087255379, 0.0323704891, 0.0019395045, 0.0269149821, 0.0030769859, -0.0278833676, 0.0470304973, 0.0766481757, 0.0514951423, 0.018306464, 0.0169067848, 0.0082265129, -0.0712323859, -0.0197272152, 0.0323217921, 0.0397732146, 0.0408681184, 0.0231397785, -0.0362495147, -0.0303636976, -0.0803003237, 0.0344355442, -0.0613342375, 0.001895164, 0.0458829701, -0.0044856882, -0.037730284, -0.0210743826, 0.0015767359, -0.0678980574, -0.0162067004, 0.027036896, -0.0313362181, 0.009154235, 0.0041545043, 0.0570100471, -0.0003177631, -0.0536975525, -0.002487974, 0.01616925, 0.0262352303, -0.0233671088, 0.0114422021, 0.0137015935, -0.0473269746, 0.0000052595, -0.0581187122, 0.0109803611, -0.0067746476, 0.0218149051, 0.0487923473, 0.0269725025, 0.004750404, 0.0349088013, 0.0612526573, 0.0047519132, -0.0290246531, 0.0205766149, 0.0152708422, 0.0442231558, -0.0334731489, -0.0077038174, -0.014743018, -0.0013789402, 0.0082371505, -0.0256397817, -0.0183100924, 0.0560286865, 2.931e-7, 0.0601480231, 0.0645638034, -0.0022596326, 0.0549496561, 0.0405767299, 0.0198302288, -0.056446977, -0.0402228497, 0.023530107, -0.0024482291, -0.0331237465, 0.0525117032, 0.0523187034, 0.0405611098, -0.0283585843, 0.0086334962, -0.0460452996, 0.0093363738, -0.0307131335, 0.0286881085, 0.0274976641, 0.0808558315, 0.0138867553, 0.0097354893, -0.0320674703, -0.104639098, 0.0309722107, -0.0009931045, 0.0065848022, 0.0312956385, -0.0162620544, 0.0257443432, 0.0334727243, 0.027772136, 0.0057667061, 0.0295335408, -0.0078319022, 0.0544985346, -0.0011554667, 0.0102786589, -0.001293765, -0.050489381, 0.0071760695, -0.0598710999, 0.0984437317, -0.035667982, -0.0450609587, -0.0415497087, -0.0005896305, -0.0011029689, -0.0041157422, -0.0109594986, -0.0186887011, 0.0290773492, 0.0383770689, -0.0186825693, -0.013335255, -0.0654527992, -0.0439223759, 0.0106992396, -0.0326341353, -0.0512974299, -0.0203966722, 0.0275707506, 0.0015738494, -0.0624082312, 0.0110454131, 3.165187058e-34, 0.0540205799, -0.0113034947, 0.0036465102, 0.0032974067, 0.0660181642, -0.0283886977, -0.0319375247, 0.0188279487, 0.0022581851, -0.0970484838, -0.0153854061 ]
http://arxiv.org/abs/2406.17266v1
http://arxiv.org/pdf/2406.17266v1
AG-LSEC: Audio Grounded Lexical Speaker Error Correction
"2024-06-25T04:20:49"
"2024-06-25T04:20:49"
Rohit Paturi, Xiang Li, Sundararajan Srinivasan
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
Speaker Diarization (SD) systems are typically audio-based and operate independently of the ASR system in traditional speech transcription pipelines and can have speaker errors due to SD and/or ASR reconciliation, especially around speaker turns and regions of speech overlap. To reduce these errors, a Lexical Speaker Error Correction (LSEC), in which an external language model provides lexical information to correct the speaker errors, was recently proposed. Though the approach achieves good Word Diarization error rate (WDER) improvements, it does not use any additional acoustic information and is prone to miscorrections. In this paper, we propose to enhance and acoustically ground the LSEC system with speaker scores directly derived from the existing SD pipeline. This approach achieves significant relative WDER reductions in the range of 25-40% over the audio-based SD, ASR system and beats the LSEC system by 15-25% relative on RT03-CTS, Callhome American English and Fisher datasets.
[ -0.014979043, 0.0397893861, 0.0233198088, 0.0147450566, -0.0067698611, -0.0057996241, 0.0331577957, -0.0208061635, -0.0223075673, -0.0218226146, -0.0526549332, -0.0131427869, 0.0793275759, 0.0009337022, 0.0137074068, -0.0155901518, 0.0342741162, -0.0449956283, -0.0273666922, -0.0495843217, -0.0058917948, 0.0040192157, -0.0560034811, 0.0052380669, -0.0089008622, 0.0097005209, 0.0386456698, 0.0353284851, 0.0408375449, -0.0039768429, 0.0312266424, 0.0396965481, 0.0236389283, 0.0650319755, 0.0000017698, -0.0382699408, -0.0018302499, 0.0019632215, -0.0294047203, 0.0141288405, -0.0016436211, 0.0284783076, -0.0222276449, 0.0445053764, 0.0125711812, -0.0697098076, 0.062575601, 0.0300535318, 0.0361182354, 0.0068228841, 0.0136878919, -0.0679069087, 0.0036307925, 0.0113002984, -0.0403682217, 0.0109397676, 0.0277726334, -0.0027466035, -0.064732708, -0.061552193, -0.0265605301, 0.0631901696, -0.0372537263, -0.0287703648, 0.0367726199, 0.0033234651, -0.0316729173, -0.0093110753, 0.0010827631, 0.0446575619, 0.0273912903, -0.0242277235, -0.0047465665, 0.0287843291, -0.0261864681, -0.0221340694, 0.0033807857, -0.0207732841, 0.0137875136, -0.014219041, -0.0388898216, 0.0092706345, 0.0067595611, -0.0513269305, -0.0316227004, 0.0232960489, 0.012778529, -0.0510058217, -0.0191301573, 0.0018193558, -0.0107715307, -0.0132067371, 0.0607634448, -0.0368584655, -0.0208956916, -0.0117489751, 0.0204670168, -0.0269368608, -0.0363032706, -0.0354591459, 0.0064094062, 0.0403759591, -0.0401283689, -0.0367130153, -0.0008183452, 0.0700384527, 0.0349039473, -0.0152505888, -0.0118243471, 0.0034977531, 0.0106884344, 0.0231235772, -0.0261634346, 0.0045562228, 0.0028515446, 0.0153328413, -0.0694156066, -0.0057930807, -0.0366884544, 0.0191337876, 0.0471714735, -0.0044131298, -0.0201952904, -0.0203807186, 0.0079236953, 0.0386709869, 0.0282416958, 0.0491855964, -0.0541125722, -0.0463313386, 0.0223960932, 0.0320088938, 0.0372005105, 0.0123555362, -0.0139678847, -0.0187263228, 0.0291533582, -0.0268087536, -0.0345288292, 0.0010068114, -0.0368205979, -0.0111799296, -0.0662789643, -0.055849079, 0.0416380167, 0.0131821949, 0.0043803635, -0.0407418422, -0.0071677351, -0.0100777755, 0.0105693135, 0.0739905685, -0.0064469939, 0.0525125377, 0.0741966218, -0.0041623656, 0.0410393588, 0.0184191056, 0.0340261571, -0.0950939357, 0.0356367417, -0.04040787, -0.0163959935, 0.0777559876, 0.0035228371, -0.0041056783, -0.0268022735, -0.0305918269, 0.0035729415, 0.0175313726, 0.0622890778, 0.0536217466, -0.0325593576, -0.0088786501, 0.0535264947, 0.0646262914, 0.0202843118, -0.0005830831, 0.0176780149, -0.0032150988, -0.0078908829, 0.0153876925, -0.041629158, -0.0418210439, -0.0290088896, -0.0205803849, 0.0663259774, 0.0276023392, -0.0247680582, -0.00130721, 0.0069460776, -0.0493952855, 0.0234224107, 0.0177613851, 0.0181261189, 0.0040996396, -0.0010885575, 0.1058167517, -0.0035408863, -0.089785777, 0.0274623595, -0.0036408498, -0.0627197474, 0.0304660685, 0.0409948938, 0.0097785834, 0.003448877, -0.0666273832, -0.0596468933, 0.0315326564, 0.000389437, -0.010478952, 0.0057775718, -0.0713310316, -0.0183255896, 0.0740325004, -0.0158653427, -0.0006588048, 0.0117491465, 0.0075788833, 0.026213346, -0.0471575335, 0.0292436704, -0.0111842323, -0.0519166924, -0.0037077123, -0.0078998171, 0.0081671057, 0.0352439024, 0.0640405267, -0.0512326956, -0.0141598806, -0.0017701642, 0.0004023778, -0.0117802462, 0.0184603482, -0.0676884651, -0.0209842958, 0.0760984793, -0.0155706201, -0.0026674999, 0.0574477054, 0.0219497383, -0.0732715353, 0.0273676198, -0.0296938755, 0.0265881121, -0.061766021, 0.0765476078, 0.004067013, 0.0260062441, -0.0039367927, -0.0172566473, -0.0150725674, 0.0285671577, -0.0359070823, 0.0095847668, -0.0039958949, -0.0801853836, -0.0024579766, -0.0018316898, 0.0053732716, 0.0491770171, 0.003463719, -0.0214016121, -0.0091402428, -0.0010562509, -0.0606147423, -0.0094042281, -0.033166416, 0.0104586417, -0.0031625617, 0.042496141, 0.0084430529, -0.032194484, -0.0207487773, -0.029880736, 0.0336764529, -0.0185295455, -0.0465679504, -0.0329718143, -0.0759365559, -0.0020621968, 0.0120676728, 0.0049678376, 0.0081567355, -0.026445888, -0.016241489, -0.086447373, 0.0376804583, -0.0135942316, 0.0420336537, 0.0360466018, 0.0228351243, -0.0589962043, 0.0367404819, 0.0329658985, -0.0378533974, -0.0164618548, -0.0257521551, -0.0055734627, -0.0397878103, -0.0264492761, -0.027321972, 0.040306855, 0.0195344184, -0.0127668213, -0.0015644199, -0.0216175076, 0.0278091803, 0.0352386832, 0.0197885055, -0.0049404688, -0.0447475463, -0.0250058305, -0.0048435619, 0.0046753236, -0.0736774951, -0.0319582485, -0.0203364268, -0.0467222035, -0.0093461666, 0.0180659164, -0.0859617069, -0.0445005372, -0.0795628354, -0.0269959588, -0.0090417098, -0.0689349025, -0.0033705973, 0.0068892939, -0.0323230661, -0.0638040453, -0.015149625, -0.0559955947, 0.0395495519, -0.0695919991, 0.0872462615, -0.0187469628, 0.0367511846, 0.0083814999, -0.0387699716, -0.0112614259, 0.0315582678, -0.0132948915, 0.0164779816, 0.0241017044, -0.0463512018, -0.0102117648, 0.0587885939, 0.0313413627, 0.0630708933, -0.0043725218, 0.0275984351, -0.0269104261, 0.0591425598, -0.0203310158, 0.0016251862, -0.0063263355, -0.021264188, 0.0530751906, -0.0133209806, 0.0366656557, 0.0085601043, -0.020274302, 0.0030090413, 0.0678928792, -0.0005675841, -0.0351148546, -0.005293204, 0.0273586195, 0.0349482708, -0.0204377733, 0.1332482845, 0.0070495191, -0.0462684743, -0.0276871137, -0.0529356599, -0.0329815447, 0.0260284897, -0.0258817822, -0.0040178932, 0.0168194212, 0.0612033233, 0.0500699058, 0.0543893538, 0.0121537847, -0.0080266781, -0.0754608214, 0.0677998364, 0.0428621918, -0.0557164326, -0.0800538287, -0.0448253565, -0.0007003153, 0.0077643525, 0.0695981979, 0.0381277129, 0.0031482975, -0.0639445633, 0.0373296961, -0.0907214507, -0.0355936624, -0.0032212839, -0.0557771027, 0.088205263, 0.0591396354, 0.0048568216, -0.0045307791, -0.0271388944, 0.0172674023, -0.0310844053, -0.0370842181, -0.0180463381, 0.0293309502, -0.0003888881, 0.0206929594, 0.0328972042, 0.0326422416, 0.0069891242, 0.0081360852, -0.0122963041, 0.0438750759, -0.0128960023, 0.0566260219, 0.0500579216, 0.0697825551, 0.0248798579, 0.0361030512, 0.0233188048, -0.0327348523, 0.0261364784, 0.021347506, 0.0558891483, 0.0080297794, -0.0072601419, 0.0401178971, -0.028320739, -0.0767000094, 0.0164179578, -0.0135594234, -0.0234555379, 0.0017749686, 0.0147589901, 0.0196659863, -0.0154053438, 0.0045208056, 0.0000586438, -0.0327605121, -0.0337734036, 0.0616370887, -0.0295553841, 0.0132635552, 0.023482956, -0.0091744028, 0.0046502226, 0.0221556127, -0.0183472447, -0.0359109752, 0.0645785183, -0.0500745326, 0.0218915846, 0.0366317295, -0.0358144492, -0.0688971207, 0.054848928, 0.0103701409, 0.0024884834, 0.0686614662, -0.0003960038, 0.0206845365, -0.0151622519, 0.0279284827, -0.0464137532, 0.0500304326, -0.0105674006, 0.0158788431, -0.0198440887, -0.1057607308, -0.0250923671, 0.0556602515, 0.051622089, -0.0073970063, 0.0346819647, -0.0300594233, 0.0428965166, -0.0274922419, 0.0224847514, 0.0136861727, -0.0034672425, 0.0141765578, 0.0080841668, -0.031715624, 0.0543844178, -0.0794153586, -0.0051067495, -0.0162721928, 0.0329078212, 0.0303569604, 0.0236036759, 0.0207077153, -0.0010399683, -0.0267119482, -0.0104330657, 0.0647856072, 0.0102346446, -0.0045249467, 0.038481541, -0.0421499461, 0.0162794292, -0.0203147922, 0.0147731556, -0.0312040765, 0.0030981661, -0.0252907481, 0.0213273056, 0.0248838868, 0.0493757538, 0.0650053471, 0.0303110387, 0.0273709595, -0.0439511612, -0.0084451651, -0.0089100087, 0.0033403088, 0.0287877545, -0.01409877, -0.003030756, 0.0367144495, -0.0004400238, -0.0112331854, 0.0286466815, -0.0735618919, 0.0024562369, -0.0191155206, -0.0443681888, -0.0244697277, -0.0302275009, -0.0474766865, -0.0500955209, -0.0086534349, -0.0868588462, 0.0374016464, 0.0243925173, 0.0301083587, 0.0006541279, -0.0294375047, -0.0063638501, -0.0325860232, 0.0097783748, 0.0347978324, -0.0454155691, -0.0038795243, -0.0397171639, -0.0115591679, -5.670348915e-33, -0.0494094864, 0.0229306482, 0.0062950091, -0.0183299426, -0.027120797, 0.0064830412, 0.0008527496, 0.0061863922, 0.0314589292, -0.0058258586, 0.0014570003, 0.0399535373, 0.0322390497, 0.0081380839, -0.028867336, 0.0186966881, 0.0965221673, -0.0435273349, -0.0164311472, -0.0020966034, 0.0569759533, 0.0358244441, 0.0039595473, -0.0665313005, -0.0030060101, 0.0108857863, -0.0205397196, 0.0150095858, 0.0255912114, 0.0125850923, 0.0155298281, 0.0589264669, -0.0204071086, -0.0041749282, -0.0256960187, 0.0228368696, -0.113014929, -0.0024343119, -0.0243106335, 0.0713000447, 0.0555260144, 0.0264042895, 0.038059976, 0.0077262539, -0.075375393, -0.0125550516, 0.029562721, -0.0133308414, -0.0115390411, -0.0181281399, 0.0161094833, 0.0102299005, 0.0170316864, -0.0186335426, 0.038385354, 0.0248186085, 0.0074330168, -0.0254155528, -0.0853514895, 0.0242225584, 0.0040575, -0.0067447252, 0.0416161641, 0.0518685728, -0.0394321233, -0.0037989733, 0.0324576497, -0.0818104148, 0.0236278903, -0.0961627066, 0.041510649, -0.0019777648, -0.0042960104, 0.0075921165, -0.0143782599, -0.0456151217, -0.0060368953, 0.0068674483, -0.0054448419, 0.0142775532, 0.0194531325, 0.0275060348, -0.0558409691, -0.0415557884, -0.070416905, -0.0299846046, -0.0243413057, 0.0053351698, 0.0416089259, -0.0064109168, 0.0052634478, -0.0384586118, 0.0379283987, -0.0307998564, -0.0012020625, 0.0182468463, 0.0283317044, 0.0014110388, -0.0346814767, 0.0101475986, 0.0043403585, -0.0386141762, 0.0749658197, 0.0569197536, 0.0121408636, -0.0606352426, -0.0227882303, 0.0444596112, -0.0799141154, 0.0192025024, 0.0352600962, 0.0133853052, 0.0002557958, -0.0033638249, -0.0049570929, -0.0004561915, 0.0300288554, 0.0357421003, 0.033378426, 0.0107096471, 0.0265494194, -0.0271436311, 0.0161245521, 0.0664730892, -0.0465245061, 0.0241165608, 0.0678791553, -0.0472858399, 0.0501078628, -0.0206300616, -0.0018166223, -0.0542519614, 2.523e-7, -0.0310283192, 0.0059822327, 0.0479426496, -0.0446619466, 0.0160367489, -0.0100668017, 0.0144705838, 0.0065288022, 0.019866718, 0.0245427322, 0.0260469727, -0.0271489862, 0.071717307, 0.0297042709, -0.0369168408, 0.0045092585, -0.0579999238, 0.0318718292, 0.0094216168, 0.0199214164, 0.0336830728, 0.0278659817, -0.0037977218, -0.0577992983, -0.0290905647, -0.0190500543, -0.0103803566, -0.0127073256, -0.0198669862, -0.0067639272, 0.0710931569, -0.0448362678, 0.0261542872, 0.0751865581, -0.0196018368, 0.057970684, 0.0191589165, 0.0113704056, -0.0312121473, -0.0119534992, -0.0516088344, 0.0263897702, -0.0377238318, 0.0027608976, 0.030752359, 0.0405209102, 0.0067908713, -0.0121007133, -0.0848649517, -0.0033422105, -0.004353547, 0.002078427, -0.0013249255, -0.0029377709, 0.0365241915, 0.0360574983, -0.0303516071, -0.0401596613, 0.0111633958, 0.0531825237, -0.0240945294, -0.0348998867, 0.0499975309, -0.0116080139, 0.0020050399, -0.0056365808, 0.0180131737, 2.179226936e-34, 0.0363121331, 0.0045727794, 0.0239575934, -0.0091224452, 0.0335098244, -0.0622117184, 0.0104259625, 0.0432112403, 0.0039618439, -0.0398963876, -0.0183658842 ]
http://arxiv.org/abs/2406.17262v1
http://arxiv.org/pdf/2406.17262v1
D2LLM: Decomposed and Distilled Large Language Models for Semantic Search
"2024-06-25T04:03:04"
"2024-06-25T04:03:04"
Zihan Liao, Hang Yu, Jianguo Li, Jun Wang, Wei Zhang
cs.CL
cs.CL
The key challenge in semantic search is to create models that are both accurate and efficient in pinpointing relevant sentences for queries. While BERT-style bi-encoders excel in efficiency with pre-computed embeddings, they often miss subtle nuances in search tasks. Conversely, GPT-style LLMs with cross-encoder designs capture these nuances but are computationally intensive, hindering real-time applications. In this paper, we present D2LLMs-Decomposed and Distilled LLMs for semantic search-that combines the best of both worlds. We decompose a cross-encoder into an efficient bi-encoder integrated with Pooling by Multihead Attention and an Interaction Emulation Module, achieving nuanced understanding and pre-computability. Knowledge from the LLM is distilled into this model using contrastive, rank, and feature imitation techniques. Our experiments show that D2LLM surpasses five leading baselines in terms of all metrics across three tasks, particularly improving NLI task performance by at least 6.45%. The source code is available at https://github.com/codefuse-ai/D2LLM.
[ 0.0170628484, 0.0142780058, -0.0109890252, 0.0626701415, -0.0032531288, 0.0051840935, -0.0365035348, -0.023612177, 0.020100411, -0.0497009717, -0.0316042081, -0.0021529889, -0.0154141802, 0.0040338053, 0.0092701185, -0.0246743318, 0.0438247062, -0.0057577081, -0.0272928979, 0.0048736753, 0.0149746714, 0.0364139192, 0.0105927512, 0.0372416228, 0.0113016292, 0.0098948823, -0.0426790677, 0.0251375306, 0.0011323965, -0.0095994007, 0.0161589105, 0.0447486341, 0.0974388868, 0.0256471671, 0.0000021033, -0.0250035319, 0.0088477638, -0.0306353942, -0.0159214996, 0.0026500574, -0.0176312495, -0.0164803155, 0.0475356355, 0.0092946757, -0.0294246674, -0.0031008911, 0.0015278563, 0.0191835556, 0.0832116902, 0.0557095148, 0.0013501226, -0.033525046, 0.0475630909, -0.0306592342, 0.01651619, -0.0373457447, -0.0015873868, -0.0014832361, 0.0219335966, 0.0281893481, -0.0065541421, 0.0402630307, 0.0282155424, -0.0021975073, 0.0244637225, 0.0346532725, -0.0507906228, -0.0070010703, -0.0046920539, 0.0845938474, -0.0735701323, -0.0163217373, -0.0077260337, -0.0021876579, -0.0277915914, -0.034175355, -0.0282274708, 0.0100473566, 0.0099074226, 0.0414398387, 0.0093404101, -0.0221751519, 0.0492928326, 0.0079531912, -0.0229382608, 0.0597361885, 0.0222575068, -0.0341146886, 0.0107324198, 0.0177294035, -0.0255344845, -0.0106686177, 0.0183817223, 0.0325972922, -0.0510214567, 0.0193325281, -0.0307525191, -0.0379466116, -0.0045404532, -0.0259979609, 0.0057328986, 0.0514905527, -0.0191373471, 0.0710690692, -0.0384506173, 0.0540888831, -0.0214732643, 0.0391992778, -0.066285722, -0.0582691431, -0.0126987575, -0.0199194737, -0.0698064119, 0.0536911823, -0.0417007618, -0.0629297197, 0.0087810811, 0.0310377646, 0.0281623323, -0.0165006202, 0.046113953, -0.0038267174, -0.0250959657, 0.0060582096, -0.0254152119, 0.0169400983, -0.0200843848, -0.001602842, -0.0056988602, -0.07137236, -0.0427986011, 0.0315193571, 0.0097791078, -0.0573408864, 0.0039724363, 0.0532992929, -0.0225179736, -0.0694762617, -0.0278675277, -0.0187194478, 0.0163055342, -0.0178448595, 0.0253357477, -0.0378024578, 0.0822066441, -0.0133208996, -0.007038638, -0.0421295837, 0.0316231064, 0.0325193219, -0.0297701489, 0.080922462, 0.0171498917, 0.023696512, 0.0250801146, 0.0042560217, 0.0232357811, 0.0877288803, 0.0438367091, 0.0461570956, 0.0183724184, 0.0187362786, -0.0184921566, 0.0342608579, 0.0434162952, 0.0289222933, -0.0159234386, 0.0298778489, 0.0006047044, 0.0848464444, 0.0713570938, 0.047262162, -0.031944599, -0.0171338879, 0.0414054245, 0.0546532311, 0.033002343, 0.0095578711, 0.0563061647, 0.0275069941, -0.0381244607, -0.0423467234, -0.0388994068, 0.0528281294, 0.0077576917, 0.0020307221, 0.0636146292, 0.0161606837, -0.043947842, -0.0007043406, 0.0003567533, 0.0181278624, -0.0125279827, 0.0245854836, 0.003511514, -0.0097057903, -0.0707886741, 0.1009756327, 0.004457877, -0.0326590724, 0.0378821902, -0.0425887182, 0.0106427455, 0.1068560556, 0.0651876479, -0.0212047622, -0.0020347214, -0.0079070954, -0.0235625878, 0.0686800703, 0.0137549592, 0.0076683597, 0.0235145036, -0.0643363297, -0.0470969155, -0.0555987097, -0.0072149741, 0.0147990901, 0.0240204874, 0.0187844969, 0.0207282249, -0.03798078, 0.0182572939, 0.0465524606, -0.0385720208, -0.02003452, -0.0180529263, 0.019616412, -0.0075494526, -0.0082557146, 0.0006558697, 0.0099506816, 0.035533417, -0.0409247726, -0.0265864879, -0.0263808779, -0.0162637774, -0.0764797777, 0.0201458577, -0.041603487, -0.0232013725, 0.0677137449, -0.0451728106, -0.0266069416, -0.0135239121, -0.0496539176, 0.0429175086, -0.0449954681, 0.001134836, 0.0118017299, 0.0178122912, -0.0346312933, 0.0542578958, -0.0637991279, 0.0040802895, 0.027971914, -0.0071695326, 0.0024475879, -0.0559236929, -0.0377432592, 0.0054760901, 0.0249226727, 0.0051799212, -0.0105823111, 0.0289778002, -0.0374944024, -0.0212102886, -0.0989920646, 0.0207658075, -0.047198981, -0.001959661, 0.0235415529, 0.0390886851, 0.0072520492, -0.0206006821, -0.0415071622, -0.0233708099, -0.0085560661, 0.0042368267, 0.0388529897, 0.0052373884, -0.0006728769, -0.0349377133, -0.0137552032, -0.0032162578, 0.0432245396, -0.0572279841, -0.001042501, -0.0306921843, 0.0261780005, -0.0257853772, 0.0264867768, -0.0066896467, -0.0156552773, 0.008445913, -0.043423444, 0.0055732252, 0.0646672994, 0.0175290965, 0.0394028276, 0.0403330997, -0.0019079759, -0.0831281468, 0.0599700809, -0.0147098145, 0.0056243278, -0.0225104634, -0.0070997463, 0.0191147551, 0.0500497036, -0.0030991926, 0.021145327, -0.0676529706, -0.0151720103, 0.0544119887, -0.0390789695, -0.0657938123, 0.0029188979, -0.0008116776, 0.0352747999, -0.0579426549, -0.030068703, 0.0760704651, -0.0282527115, -0.0141959833, -0.0427021608, 0.0027351961, -0.0578603074, 0.0700858235, -0.0208382439, 0.0227381214, -0.0557110831, -0.0268515851, -0.044216387, 0.0276287831, -0.007879734, -0.0386436693, 0.0726290345, -0.0135896523, 0.0195648298, -0.0075336592, -0.0494456738, -0.0204712152, -0.0471438952, -0.0406579748, 0.0494460128, 0.0089358008, -0.0138284732, -0.0703478232, 0.0117480075, 0.0200761072, 0.0519440956, 0.0305829998, -0.0088476781, -0.0297445655, 0.0337167978, 0.0671574324, 0.0336064175, -0.037835449, -0.0035620069, 0.0123888785, 0.0184605643, 0.0324569009, -0.0126170395, -0.0191184506, -0.0032952889, 0.0510349981, -0.0377463736, -0.0044287723, -0.0227763802, 0.0196160525, -0.042454388, -0.0403408296, 0.104544431, 0.0212525073, -0.0517170355, -0.0033186562, -0.0363152288, 0.0186853148, 0.0344779044, 0.0342684649, -0.061619252, -0.0750089735, 0.0014195141, 0.0063575967, 0.0498625152, -0.0040875175, -0.004121752, -0.1261463016, -0.001242246, -0.0170699097, -0.0172865056, -0.0393289812, -0.0186213702, 0.0075672506, -0.007216048, 0.0163806546, 0.0125467358, 0.0310869943, -0.0070189745, -0.025974866, 0.019491395, -0.0268032905, 0.0434327535, -0.0182095151, -0.0036995271, 0.0775729269, 0.0221461058, 0.0223857537, -0.0679645613, 0.0235463753, -0.0592731498, 0.00522578, -0.0262398906, 0.0277625117, -0.0746774822, -0.0085483873, -0.0141896931, 0.0015648904, -0.0489995815, 0.0063011982, -0.0223482084, 0.0930973291, -0.0274829101, 0.0151047558, -0.0360954367, -0.0201816801, 0.0041511515, 0.0787710622, 0.0396642163, -0.015681956, -0.028165821, -0.0259597711, -0.0114911078, -0.0366479903, -0.0520573743, 0.0084448224, 0.0244010761, 0.0219942778, -0.0164741781, -0.0381631926, 0.0259735435, -0.0070479247, -0.0046737487, 0.0021534869, -0.0112234652, -0.0161908083, -0.0496664904, 0.0304443259, -0.0277496446, 0.0233130194, -0.018964326, 0.0218608435, 0.0581816584, -0.0216243826, -0.0192156658, 0.0197567437, -0.0615677685, -0.0350122526, -0.0508362539, 0.0373381712, 0.0137241893, 0.0510939509, -0.0424741805, -0.0162349213, 0.0116646001, 0.0150590912, -0.0385681354, 0.0156771932, -0.0163383018, 0.0229832772, -0.0075184223, 0.0550571121, -0.0664184242, -0.0216210019, -0.0162412617, 0.0808136091, -0.0325271823, -0.0673537254, 0.0211217646, -0.0044823126, 0.076557979, 0.0118653467, 0.0430618376, -0.0302040521, 0.0507183, 0.0023656194, -0.0166684054, -0.0604279041, -0.0093744686, 0.0206151586, -0.0207869615, 0.0015474297, 0.0474667624, 0.0038748949, 0.0066657593, -0.0453792997, -0.0017634071, -0.0058093197, 0.0162950139, -0.0119266268, 0.0072564026, -0.0193358064, 0.0126710264, -0.0048953961, 0.0393583477, -0.0252745394, 0.0165861603, 0.0215294771, -0.0313541368, -0.012908075, 0.0328174531, -0.0487242676, -0.072779797, -0.0428494662, 0.0055632214, 0.0509468205, 0.0163328648, 0.0264313687, 0.0092805028, -0.0039483611, 0.0005336194, 0.0246106852, -0.0087296432, -0.0434597321, 0.0459915735, 0.0347466767, -0.009824858, -0.0309617892, 0.0578526296, -0.0206391905, 0.0538977385, -0.0065776682, -0.0155853909, -0.0313265622, -0.0631270558, 0.05809604, 0.0502848029, -0.0346583053, 0.0223951638, -0.0288405828, -0.0402337722, -0.0189340785, 0.0007327416, -0.0249534454, -0.0301084314, 0.0746031106, 0.0511468947, 0.025494948, -0.0301859025, -0.0177378934, 0.0175799858, -0.0371392295, -0.0534657985, -0.0221090969, -6.749949375e-33, -0.0356804878, -0.0142061533, 0.0281048566, -0.051345475, -0.0796780288, -0.0080946479, -0.0378937721, -0.0172022562, -0.0580018833, -0.0188192856, 0.000990945, 0.0487362146, -0.0074107544, 0.0303635728, 0.0001862332, -0.0428616442, 0.0287917703, -0.006765049, -0.0259447005, -0.0011406777, 0.0257621631, 0.0577793457, 0.0226904638, -0.0138475047, -0.0304810293, -0.0182443205, 0.0037734115, 0.0606606416, -0.0206667166, 0.0551666021, -0.0230022632, 0.0362739749, 0.0124369236, -0.0443842001, -0.0028773069, 0.0212346204, -0.0569336154, -0.0094094202, 0.0279191211, 0.0068778037, -0.0669560134, -0.0225098431, 0.0476033166, 0.0118620303, 0.0167261362, -0.0065914956, 0.0215795729, -0.0057523712, -0.0308470801, -0.0157914609, -0.0271383151, -0.0001044108, 0.0004665356, -0.0428263471, 0.0448662937, 0.0355706997, 0.0197466165, 0.0703254193, -0.0545751378, -0.0048473342, -0.0281580333, 0.0344001316, 0.0644810051, 0.0071031414, 0.024898354, 0.0791845173, 0.0000330088, -0.0267446619, -0.0076558916, -0.0195680484, 0.0247023422, 0.0608793013, -0.0022850099, 0.0177841522, 0.0037945353, 0.0277519543, -0.0519018397, 0.0211285483, -0.0048502954, 0.0620795712, 0.0102397995, 0.0476412959, -0.0132870357, -0.0148481326, -0.0472657233, 0.0285573117, -0.0568753667, -0.0220785849, 0.046848204, 0.0309480354, 0.0155783296, -0.0162904616, 0.0242107119, -0.0138963927, 0.0402180217, 0.0338704512, -0.0074386634, 0.0009771694, 0.0193900727, 0.0408545472, -0.0207147729, -0.0302540325, 0.010500893, -0.0028089008, -0.0110914623, 0.0287114121, 0.0019292994, 0.0207950082, -0.0268573426, -0.022877153, -0.0329525657, -0.0264191646, -0.0632781908, 0.0232891981, 0.0032536609, -0.003431313, -0.0165477619, 0.0333727114, 0.0142010367, 0.0035832133, -0.0343247727, -0.0270742215, 0.0344666392, 0.0124366237, 0.001078635, 0.0309808124, -0.0374205448, 0.0217783321, 0.0025327182, -0.061940372, -0.0316585973, 0.0374103338, 2.864e-7, 0.0541592799, 0.015912842, 0.0158229526, 0.0501812398, 0.0189604219, 0.0219420809, -0.0075968853, 0.0651406124, -0.0038874864, -0.0440134294, 0.0343610831, 0.0514336713, 0.0435812809, -0.0301495381, -0.1002170667, -0.0075915637, -0.0243541729, -0.0252314433, -0.0641511008, -0.0438583717, 0.0346677601, 0.1000598669, -0.0072421418, 0.0110988067, -0.0069396789, -0.0245840382, 0.0756063759, -0.0301731378, -0.0123041039, -0.0131750861, -0.0150228152, 0.0595777035, -0.0208161119, -0.014649475, -0.0068864394, 0.0648705587, 0.044736255, 0.0813323706, -0.0136299552, -0.0618197657, -0.0000701113, -0.0248529948, 0.0047761523, -0.0557495542, 0.0529547334, -0.028501831, -0.0080226576, 0.0067071896, -0.0091331387, 0.0128845917, 0.0247901827, -0.0337338261, -0.0332786627, -0.0218384359, 0.0229191445, 0.0017559082, 0.001140114, -0.1015566289, -0.0108031956, 0.0063850442, -0.0657595173, -0.0217652936, -0.0722133219, -0.0011146575, 0.0426705293, -0.0448417068, -0.016144691, 2.434965605e-34, 0.0448779315, -0.0009556091, 0.0000467651, 0.0583154671, 0.0214788225, -0.0230532251, -0.0116264289, -0.0091904346, 0.0337684825, -0.0884093344, -0.024477547 ]
http://arxiv.org/abs/2406.17261v1
http://arxiv.org/pdf/2406.17261v1
TRAWL: Tensor Reduced and Approximated Weights for Large Language Models
"2024-06-25T04:01:32"
"2024-06-25T04:01:32"
Yiran Luo, Het Patel, Yu Fu, Dawon Ahn, Jia Chen, Yue Dong, Evangelos E. Papalexakis
cs.CL
cs.CL, 68T50 (Primary), 65F55 (Secondary), I.2.7
Large language models (LLMs) have fundamentally transformed artificial intelligence, catalyzing recent advancements while imposing substantial environmental and computational burdens. We introduce TRAWL (Tensor Reduced and Approximated Weights for Large Language Models), a novel methodology for optimizing LLMs through tensor decomposition. TRAWL leverages diverse strategies to exploit matrices within transformer-based architectures, realizing notable performance enhancements without necessitating retraining. The most significant improvements were observed through a layer-by-layer intervention strategy, particularly when applied to fully connected weights of the final layers, yielding up to 16% enhancement in accuracy without the need for additional data or fine-tuning. These results underscore the importance of targeted and adaptive techniques in increasing the efficiency and effectiveness of large language model optimization, thereby promoting the development of more sustainable and accessible AI systems.
[ 0.0028313231, 0.0958791375, -0.0173683967, 0.0667391196, -0.0027337144, 0.0284766275, 0.0284532141, 0.0197619963, -0.0129462564, 0.0026502376, -0.051121708, -0.0338809788, 0.0222838819, -0.0151289003, -0.0061294534, -0.004389483, 0.0130752344, -0.0547344871, -0.0398955047, -0.0178358089, -0.0282520968, 0.0237124804, 0.0145911053, 0.0273589958, 0.0041125314, 0.0036521743, 0.0048367088, -0.0149783725, -0.0093895933, 0.0492845848, 0.0056559732, 0.0470913649, 0.0215584412, 0.073410362, 0.0000020625, 0.03365504, 0.0287684556, -0.0085355174, 0.0010740906, 0.0524525195, 0.0714014992, -0.0293102581, -0.0121182781, 0.0032429425, -0.013295291, -0.0307981167, 0.0488195159, 0.0432778634, 0.0628916696, 0.0519951098, -0.0123128584, -0.0358257182, 0.0240879543, -0.0149925351, -0.0507231131, -0.0269627143, 0.0139503162, -0.018562166, -0.0378890112, -0.0241160039, -0.0174058508, 0.0367838256, 0.014890519, 0.0083582681, 0.0023023572, 0.0362434238, -0.0508465953, -0.0456445254, -0.0113340197, 0.0576270223, -0.0430091582, -0.0261678156, -0.0179442819, 0.0026348801, -0.0195644777, -0.0153836319, -0.0267610122, 0.013261144, 0.0466407351, 0.0508442558, 0.0100567564, -0.044544667, 0.0341673829, 0.0323723741, -0.0592037626, 0.0432490669, 0.0546374954, -0.0143182296, -0.0241645202, 0.0051957425, -0.0011970069, -0.0028613487, 0.0332275592, 0.0154551342, -0.0221004896, -0.0157263484, -0.0350370184, -0.0951967612, -0.0276009403, -0.0563819595, 0.0906669497, 0.0503100194, 0.0094456626, 0.0452609062, -0.0429046825, 0.0450304784, -0.0401084907, -0.0403828286, -0.038261909, -0.0343302898, 0.0153491115, 0.0078872992, -0.0511474051, 0.0137460046, -0.0761984736, -0.0194448214, -0.016853679, 0.0160521492, -0.0142442454, -0.0358921923, 0.038725961, 0.0246040951, 0.0101056853, -0.0332545452, 0.0009975808, 0.0477452576, 0.0388513654, -0.0019160808, -0.0509662256, -0.0281600468, -0.0049380655, 0.0390995368, 0.008399467, -0.0294224508, 0.0502560511, 0.0789307132, -0.0271645095, -0.0740956441, 0.0029562877, 0.0380935259, -0.0095999613, -0.0444407649, 0.0190086141, -0.0241965018, 0.0438805558, -0.0310050361, -0.0008581014, -0.0496205129, 0.0068914206, 0.0129877618, -0.0753607526, 0.0374475531, 0.0025388428, 0.0213938393, 0.0279310755, -0.0080859372, 0.0326835364, 0.0361511037, 0.0367407352, 0.0469794422, -0.0034207469, -0.0455046892, -0.0042380746, 0.0497843996, 0.0122014992, 0.004165207, -0.0477424115, -0.0358488895, -0.0263848044, 0.0180758573, 0.0463796519, 0.106155619, -0.0395515598, 0.0007698974, 0.0847537816, 0.0347688049, 0.0361468568, 0.0749050751, 0.0239337031, -0.01447191, -0.0129430266, -0.0302348081, -0.050777778, 0.0185617041, -0.0164134521, -0.0372500382, 0.0089047365, 0.0752867162, -0.0188295301, -0.0220049582, -0.0067911088, -0.0304549504, 0.0407654867, 0.0113826776, 0.0529339649, -0.0215354227, -0.0435028002, 0.0916735753, 0.0247739553, -0.0410891138, -0.0081664957, -0.0672432557, 0.0016065123, 0.0263257008, 0.0260763094, 0.0189465638, -0.0063954093, 0.0137617057, -0.0033696941, 0.0189647209, 0.0191038344, 0.0191507228, 0.0476970896, -0.0637834817, 0.0063435668, 0.0204336699, 0.0044319229, -0.018899072, -0.0022051656, -0.004611989, 0.0093730642, -0.0040581245, -0.03001564, 0.0417302474, -0.0228865594, -0.0319939516, 0.0460862182, -0.0010281121, 0.0147116454, -0.002702381, -0.015765788, -0.03373456, 0.0381274, -0.0592708252, -0.0379714109, -0.033369761, -0.0340441689, 0.0165131781, 0.0456562005, 0.0041664657, 0.0112664467, 0.0594353788, -0.0277755056, -0.0324012041, 0.0668961778, -0.0451977886, 0.032211747, -0.0334437415, 0.0140828276, -0.0495137461, 0.0486209318, -0.0207397137, 0.0281916037, -0.0354787372, -0.00523559, 0.0195151214, -0.0610072985, 0.0026505932, -0.023953123, -0.0374191217, 0.0130280294, 0.0146466428, 0.02260812, 0.0285258088, 0.0302482564, 0.0499573164, -0.0501205213, -0.1050622463, 0.001296093, -0.0478516109, 0.0018293288, 0.0217237547, 0.0199563615, -0.0003347074, 0.0096487161, 0.0231335573, -0.0043065469, -0.0025084435, -0.0160680246, 0.0086844806, -0.0483198985, -0.0398584194, -0.0267351642, -0.0625067577, 0.0139349774, 0.0817065313, -0.0352962986, -0.0177618731, -0.0617576838, -0.0277911387, -0.0029160432, 0.0416743569, 0.0071809585, -0.036502149, -0.0208445955, 0.0054366989, 0.0579107963, 0.0476227701, 0.0240058731, 0.0427318141, 0.0761405006, 0.0295881126, -0.0104452539, 0.0137316845, -0.0243918225, -0.009875779, -0.0382809155, -0.0315234773, -0.0075308974, 0.0882766768, -0.0135655208, -0.0129361758, -0.0286775418, -0.018493535, -0.0220500343, -0.022601774, -0.0360735394, -0.0293125771, -0.0137896677, 0.0047369874, -0.004039357, -0.0232864507, 0.0444579795, -0.0376435295, -0.0290783774, -0.040596623, -0.0439765677, -0.0257035568, 0.0078468481, 0.0238571037, 0.0563092269, -0.0682926103, 0.0111876074, -0.0375313163, 0.0103017176, -0.0034464921, -0.0247795433, 0.0351466388, -0.0091592027, 0.0003865905, -0.0054809186, -0.0473926477, -0.0112392493, 0.0120048169, -0.0167231448, 0.0235327985, 0.0507693663, -0.0468347631, -0.0377590172, 0.010974315, 0.0273652524, 0.0448995493, 0.0019496371, 0.0030990352, -0.0110173644, 0.0631065592, 0.0417313501, 0.0092041744, 0.0731562302, 0.0036613068, 0.0303945225, 0.0492222495, 0.0306688696, 0.0080075571, -0.0714313462, 0.0074849576, 0.0562150069, -0.0037132893, -0.0130925151, -0.0272695646, -0.0015738233, -0.0371455662, 0.0084615462, 0.0751603544, 0.0133794053, -0.0575976223, 0.0185459517, 0.0267979782, 0.0041871271, 0.0082167825, 0.0434198231, -0.0610568784, -0.0187404267, 0.0040664184, 0.0027639035, 0.0405995883, -0.0348485783, 0.0242764931, -0.0632759184, 0.0533263423, 0.0110097639, 0.0173231456, -0.0319386497, -0.0736325532, -0.0295301545, -0.023393143, 0.0567865632, 0.0253541004, -0.0115380986, -0.04130942, 0.0028268648, 0.0129129104, -0.0457504354, 0.0016615011, 0.0104970671, 0.0265212655, -0.0108652851, 0.0228900537, -0.0318820849, -0.0609272048, 0.0571867526, 0.0105131213, -0.0031688449, 0.0053393105, -0.0056758286, 0.0320081897, -0.0332850032, -0.0323791467, 0.0201985445, -0.050928589, -0.0156241804, -0.063432008, 0.105843924, 0.0060347198, -0.0575306416, -0.0074091172, -0.040774554, -0.0280361734, 0.0585876368, 0.0269024931, -0.0693016648, -0.026285572, 0.0257344525, -0.0008533482, -0.0338620953, -0.0409604944, -0.0077219624, 0.0161850769, -0.0381774232, -0.0259088762, 0.0307411049, -0.0110875312, 0.0054247328, -0.0239014663, -0.0383202992, 0.0226789694, -0.0134797478, -0.0492717102, 0.0482901298, -0.0296267848, 0.0008094487, -0.050199464, 0.0262069255, 0.0304810945, -0.0177509356, -0.0179327428, 0.0053932746, -0.1135817394, -0.0514841378, 0.0082841096, 0.0544796549, 0.0140608642, -0.0107763028, 0.0294661243, -0.0582826249, 0.0809412897, 0.0076328819, -0.0499727763, 0.0709835365, -0.0003159247, -0.0818391666, -0.014496712, 0.0320717245, -0.0198799502, 0.0366958678, 0.0281232521, 0.0338542387, 0.0126686422, 0.009619805, 0.010501964, 0.0246056262, 0.0309051722, -0.0310111977, 0.0182230957, -0.0406685956, 0.0292636175, 0.0122924289, 0.0076350919, -0.0473788008, -0.0096386774, 0.0275782589, 0.0456205606, -0.0136063099, 0.0163111351, 0.0552288294, 0.0109635126, 0.0024982831, 0.0269351397, -0.0093397778, 0.0104629807, 0.0504267961, 0.0241979193, -0.0142962234, 0.017770132, -0.0138119888, 0.0245774761, -0.0318220742, -0.0024697562, 0.0058819489, -0.017543871, -0.0885187909, 0.0609458387, -0.0265489705, -0.0935679004, -0.0262216534, -0.0064743091, 0.0612443723, 0.0261220261, 0.028072102, -0.0137750274, -0.036057543, -0.0078454306, 0.0035567442, 0.0057784882, -0.0089147352, 0.0066950498, -0.0062428382, -0.0249059238, 0.0312922746, 0.0371780954, -0.0061925999, 0.0288600717, -0.0059935451, 0.001678698, -0.0150849037, -0.0474109203, -0.039796032, 0.0216982793, -0.0432549119, -0.0115846107, -0.0118449684, -0.0727924258, -0.0139634283, 0.0077191093, -0.0032573177, -0.0515390374, 0.0130667239, 0.026895538, 0.0137685193, 0.0096777631, 0.0010915878, -0.0293194707, -0.0108517846, -0.0499068424, -0.0283591785, -6.137466493e-33, 0.0106173111, 0.0316089876, 0.0222247373, -0.0061642565, -0.0282011777, 0.0347689241, -0.0313050523, -0.0074458439, -0.0149693824, 0.0232900809, -0.017661579, -0.0114547871, -0.0181967169, 0.0334003866, 0.0064015426, 0.0377423726, 0.0334296897, -0.0172416065, -0.011336918, 0.0358591899, 0.0140716871, 0.0337133259, 0.0403924137, -0.0353388861, -0.0700748488, 0.0161570422, -0.0025029958, 0.0263588671, 0.0271834694, 0.0424635075, -0.0856624991, 0.0310619585, 0.0286257695, -0.0215150416, 0.0026269434, -0.0030201657, -0.0568581074, 0.012862022, 0.01570048, 0.009428991, -0.0318200812, -0.0152663663, 0.0471826531, 0.0426812358, -0.0620671697, -0.011474343, 0.0110670319, -0.0016137902, -0.0249316264, -0.0210034568, -0.0643345565, -0.0024864327, -0.0151230386, 0.0098794689, 0.02988513, 0.0082637668, -0.0362610407, 0.0481196493, -0.0689924285, -0.0136839338, 0.0007773697, 0.0144347465, 0.069621861, 0.0243968144, -0.0012252528, 0.0338528678, 0.0599217936, 0.0017999068, -0.0445769839, -0.0291797332, 0.0840749964, 0.0211916585, 0.0624363124, 0.006107755, 0.0088751046, -0.0348969623, -0.0630187839, -0.0294688586, 0.0275818408, 0.0301422011, 0.0284823645, 0.0308377501, 0.0303405225, -0.0236408114, -0.04540319, -0.0021518094, -0.0465875641, 0.0151733262, -0.0173784364, 0.0241897292, -0.0618739948, -0.0347566418, 0.0351657569, -0.080945842, 0.0397651531, 0.0514992326, -0.0082289753, 0.0358887725, 0.0406306051, 0.0232039075, -0.0284211393, -0.0448990688, -0.0140499752, -0.0317895226, 0.0197395198, -0.0076166624, 0.0129115023, 0.0667913333, -0.0532245412, -0.0092199389, -0.0332854763, -0.0065326896, 0.0353193805, 0.0598253533, 0.0141481543, 0.0228644256, 0.0081016431, 0.0236603711, 0.0171112549, 0.0786213577, -0.0162655823, -0.0014774775, 0.0422917008, 0.0313447751, -0.0190009493, -0.0021789153, -0.0380708277, 0.0324301422, 0.0670112073, -0.0846607611, -0.0360375158, 0.0010745353, 2.691e-7, 0.0448220745, 0.0508449711, -0.0139786415, -0.0151340142, 0.025280416, 0.021325998, 0.0228420347, 0.00529633, 0.0159308836, 0.0619183928, 0.0297802296, 0.0327587873, 0.0296717919, -0.0067958888, -0.052681528, -0.0055915541, -0.083293885, -0.0072461818, -0.0571730509, -0.0143181607, -0.0329683311, 0.1082453877, 0.0433007814, -0.0574290343, -0.0076841079, -0.0147497971, 0.0557788722, -0.0563485846, 0.0375632234, 0.0119777936, 0.0232111271, 0.0051730857, -0.0184683967, -0.0238665268, -0.000183581, 0.0481967516, -0.0271697938, 0.0674413368, -0.0259660352, 0.0208148416, 0.0294419825, 0.0016470921, -0.0323098637, -0.0570229031, 0.0479209125, -0.0240485817, -0.010276706, -0.0682506189, -0.0235920884, -0.0128316209, 0.0068265516, -0.0402838513, 0.021982396, 0.0523284003, 0.0201375969, -0.0164613482, -0.0038633889, -0.0888976455, 0.0154035036, 0.0204317234, -0.0457689315, -0.0200354625, -0.0333833881, -0.0452432781, 0.0615644976, -0.0308556352, 0.0124348309, 2.530320696e-34, 0.020365838, -0.0001194096, 0.012267014, 0.0567356199, 0.033375062, -0.0430329107, -0.0003293993, 0.004225539, -0.0312865488, -0.1032721102, -0.0108317947 ]
http://arxiv.org/abs/2406.17260v1
http://arxiv.org/pdf/2406.17260v1
Mitigating Hallucination in Fictional Character Role-Play
"2024-06-25T03:56:33"
"2024-06-25T03:56:33"
Nafis Sadeq, Zhouhang Xie, Byungkyu Kang, Prarit Lamba, Xiang Gao, Julian McAuley
cs.CL
cs.CL
Role-playing has wide-ranging applications in customer support, embodied agents, computational social science, etc. The influence of parametric world knowledge of large language models (LLMs) often causes role-playing characters to act out of character and hallucinate about things outside the scope of their knowledge. In this work, we focus on the evaluation and mitigation of hallucination in fictional character role-play. We introduce a dataset with more than 2,000 characters and 72,000 interviews, including 18,000 adversarial questions. We propose RoleFact, a role-playing method that mitigates hallucination by modulating the influence of parametric knowledge using a pre-calibrated confidence threshold. Experiments show that the proposed method improves the factual precision of generated responses by 18% for adversarial questions with a 44% reduction in temporal hallucination for time-sensitive interviews. The code and the dataset will be available at https://github.com/NafisSadeq/rolefact.git.
[ 0.0312502012, 0.0617876388, -0.0466560759, 0.0460443906, -0.0166591238, -0.0067357449, -0.0087130917, 0.0034939416, 0.0078399582, 0.0039168466, 0.0068897842, -0.0679221228, 0.0197794251, 0.0220927615, 0.0535877272, -0.0462578423, 0.0296431947, -0.0266319606, 0.0300571974, -0.0244196206, -0.0294640604, 0.0407382324, -0.0233188067, 0.0456577055, 0.0285342596, -0.0553240851, 0.0061920169, 0.0074806078, 0.0598058924, -0.0016901877, 0.0498726517, 0.0152261313, 0.0048115994, 0.0277446192, 0.0000019494, -0.04170724, 0.0169383809, -0.0238479786, 0.0019948271, -0.0092269266, 0.0196841154, 0.0227916073, 0.017727131, 0.0250418559, -0.0464933254, 0.0074548572, 0.044861652, 0.0543579943, 0.0551524386, 0.0670911297, -0.0059649069, -0.0107140206, -0.0258837715, 0.0067850524, 0.0646922365, -0.0096184853, 0.009845241, 0.0220373813, 0.0275709424, -0.0540955961, -0.0229155496, 0.014302087, 0.0021619394, 0.0224649329, -0.033290185, 0.0317193195, -0.04577877, 0.0384489521, 0.0324965641, 0.0789250508, -0.014959651, -0.0560226478, -0.0110389953, 0.0079520913, 0.0480078049, 0.0631923974, -0.0204853434, -0.0005043703, -0.0094835153, -0.0323737785, -0.0336477421, 0.0355313271, 0.0380554684, 0.0060206098, -0.0034859977, 0.046768941, 0.0132681811, -0.0123269381, -0.0357180126, -0.0341066606, -0.0355731994, -0.0569335297, 0.009569671, 0.0182296392, -0.0443828069, 0.0074547864, -0.046749644, 0.0395691656, 0.0266013909, -0.0745738819, 0.0060174619, 0.0046042814, -0.0333757214, 0.0332015865, 0.0108687133, 0.0342494324, -0.009153991, 0.0450384729, 0.0102071157, 0.0209687147, -0.0225545298, -0.0245097801, -0.0363224596, -0.0051000565, -0.0041010599, 0.0191813689, -0.0015290588, 0.0060808188, -0.0451904461, 0.0550145917, -0.0320361406, 0.0529698282, -0.0197432488, -0.0226386599, -0.0386850722, 0.0215265565, -0.0614672489, -0.0023374166, -0.0096190227, -0.0769071132, -0.0071763527, -0.034275569, 0.0118765878, -0.0170208979, 0.0276992712, 0.0404847413, 0.0367830284, -0.0081682578, -0.0116914641, -0.0271481369, -0.0186198298, -0.0927612409, -0.0291569438, -0.03184608, 0.0212189704, -0.0342395343, 0.0161069334, -0.043205671, 0.0021750634, 0.0128141642, -0.0019230733, 0.10250175, 0.0302341674, 0.0002861614, 0.0439797826, 0.0519906469, -0.0063648429, 0.0569464713, 0.034892723, 0.0006868063, 0.0235956293, -0.0334959365, 0.0417679921, 0.0208199639, 0.0013651319, -0.0075606387, -0.0137828439, 0.013530816, 0.019060174, 0.0481341109, 0.0127815651, 0.0211571902, -0.0419245325, -0.0650139526, 0.0808665752, -0.0003733824, -0.0129353795, -0.0223166924, 0.0125079164, 0.025179984, 0.0263960678, 0.0356104523, -0.0360595174, 0.014751995, 0.0067392075, -0.0346985012, -0.0599252097, -0.0017154644, -0.0102334507, 0.004680871, 0.0161278956, 0.0056075179, 0.0201645549, 0.0322491676, -0.0073091728, 0.02643371, -0.0565482788, 0.0332194418, 0.0080116382, -0.0568061732, 0.0320661142, -0.0238363091, -0.0083467187, 0.0646120831, 0.0601150021, -0.0751325712, -0.0247640498, -0.0557798147, 0.0151506476, 0.0268990062, 0.0206634849, -0.0235990454, 0.0339298509, -0.0378498696, 0.0469062664, -0.0350625962, 0.031295564, 0.0542290434, -0.0419052839, 0.0343122184, -0.002041413, -0.0191961117, -0.0228817146, 0.013265131, -0.0515597872, -0.0526727587, -0.050083451, 0.0082052834, 0.0130453091, 0.0021678202, -0.029185215, -0.0063322554, 0.0178264473, -0.0238721482, -0.0263896678, 0.0532150641, -0.0493683331, -0.0187042654, 0.0499838889, -0.0672292113, -0.0325827226, 0.0477835797, 0.017317012, -0.000725439, 0.0071021095, -0.0328625217, 0.0535046421, -0.0209372658, -0.0017716537, -0.0193635579, 0.073392719, -0.0311047379, 0.0487936661, -0.0029195559, 0.0187959485, 0.0065300618, 0.0288672242, -0.0149794202, -0.0413266122, 0.0051538497, 0.0493076891, 0.000433105, 0.0015939971, 0.0111338906, -0.0825632587, -0.0529977642, -0.0198899247, -0.0521878526, -0.0106769232, 0.0010785564, -0.0159639791, 0.0228735507, -0.0196950957, -0.0382145457, 0.0087886686, -0.0593887419, -0.0236528441, -0.0030592016, -0.0005832812, 0.0010610378, 0.022428235, -0.0125757018, 0.0045839697, 0.0259920731, -0.021494396, 0.0530304126, -0.0128872013, 0.0198551528, -0.0354958214, 0.0144776879, -0.0541658141, 0.035008546, -0.0438778698, -0.0427565947, 0.0148022734, 0.0000615423, -0.0164482668, 0.0528011881, 0.0311864335, 0.0033577799, 0.0806997716, -0.0482214652, -0.0114909215, 0.0039575659, 0.0301544778, -0.0116725126, -0.0363296121, -0.0580180511, 0.0198877975, 0.0530648753, 0.030049907, 0.0129812956, -0.0680581406, 0.0548563935, -0.0013999273, -0.0748115927, 0.0391332805, -0.0237834509, -0.0403921194, 0.0188187677, -0.024412984, 0.0188125633, 0.070920907, -0.0212239865, -0.0350923799, 0.010739252, 0.0244150162, 0.0097340709, 0.0624417663, 0.020160282, 0.0308165923, 0.0124448556, -0.021210745, -0.0776415914, -0.0324520096, 0.0473348349, -0.0569408908, -0.0141095696, -0.0104050338, -0.0300862379, 0.0191273745, 0.0112825818, -0.0651195869, -0.0464449897, -0.0183033645, -0.0348703787, -0.0393493474, -0.0284781493, -0.0534927584, -0.0002066615, -0.0288924091, 0.0085176229, -0.0101830978, -0.0152497366, 0.000746679, -0.007591187, 0.0772585422, 0.0284940563, 0.0203678608, -0.0116151264, 0.0800710022, 0.0636241883, -0.034668494, 0.0210937057, -0.0053231167, -0.0187786408, 0.0147706335, -0.0414597914, 0.0181717277, 0.0006230581, 0.0300182588, -0.0634824485, -0.0084762927, 0.1008951962, 0.0291109346, -0.0114891045, 0.0381508134, -0.0427242629, 0.0426304266, 0.0206251815, -0.0084653366, -0.0632443503, 0.0099016456, 0.0027772048, 0.023863893, -0.0631952658, -0.0731424838, -0.0189251211, -0.1090875417, 0.0406084396, 0.0219898615, -0.0265325289, -0.0365907401, 0.0159191173, 0.0063052704, 0.0036697825, 0.0574677922, -0.008241483, 0.0219877791, -0.0051379413, -0.0116749946, -0.0367450155, -0.0011291311, 0.0455959737, -0.0224404726, 0.0822077319, 0.0265787933, 0.0983914807, -0.011979823, -0.0246311706, -0.0556512438, 0.0214486029, -0.0255616158, 0.028134834, 0.0718724951, -0.018697679, -0.0228739213, 0.0088933231, 0.0419788994, -0.0136415018, -0.0337307639, 0.0353127345, 0.0532290004, -0.0310885943, -0.0402042829, -0.0010682456, 0.0283346269, 0.0299786646, 0.074135147, -0.0015244074, -0.02528302, -0.0018838182, -0.0080407197, 0.0370221175, -0.0445670821, -0.0895525888, 0.0257695951, 0.0709684864, 0.0055558654, -0.076048784, -0.0514259301, 0.0166421495, 0.0212824754, -0.0056050452, 0.0161794852, -0.0364142433, 0.0103283133, -0.0431991331, -0.0086883456, -0.0525087602, 0.0374687575, 0.037862055, -0.0011730691, 0.0205287263, -0.0538645685, 0.0053592408, 0.0322663374, -0.0441377424, -0.0677016675, 0.0594674014, 0.0240832679, 0.0285433084, 0.0489589535, -0.0205300935, -0.0641820133, 0.0448244736, 0.0215132032, -0.0473538227, 0.0320531093, 0.0104096057, 0.0173242614, -0.0024652877, 0.0201662518, -0.0184480753, -0.0256577022, -0.012830846, 0.0067581222, -0.0318155698, -0.0188150406, 0.0187998395, 0.0084777353, 0.0120624006, -0.039634902, 0.022716891, -0.0263329707, -0.0051564807, -0.0674361289, -0.0032989562, -0.0007260918, -0.0029963525, 0.0502770059, -0.0082646385, 0.0092374459, -0.0482291542, -0.0568125919, -0.0263401214, -0.0211067218, 0.0016753006, 0.0587709807, 0.0163682066, 0.0327938572, 0.0007940851, -0.0092601059, 0.0198947508, -0.0185248442, 0.0581810139, 0.0549190007, 0.0296860244, 0.0082503669, -0.0226972271, -0.0337950513, 0.0135514224, -0.0482091494, -0.0715247616, 0.0071522845, 0.021935327, 0.0079250876, -0.0189243928, 0.0229849145, -0.0375292152, 0.0156758707, 0.0197085552, -0.0006943104, 0.0431789048, -0.0180546567, -0.0197819993, 0.0379070677, -0.0327853709, 0.0305038523, 0.0563268177, 0.0339050181, 0.0814802721, -0.0060047712, -0.0346177556, -0.02593592, -0.0609076023, -0.0262481477, 0.0182727929, -0.034413036, 0.0030766935, -0.100671038, -0.0700226799, -0.0107374312, 0.0141850496, -0.0011204606, -0.0180859882, -0.0143345147, 0.0164525807, 0.0039509912, 0.0226956233, -0.0470434912, 0.0347129442, 0.0111501571, -0.0054142233, 0.0124290828, -5.908621252e-33, -0.0160446726, -0.0218875464, -0.0216189902, -0.0260127485, -0.0502940454, 0.0079502854, -0.0099625075, -0.0025171684, -0.0003194656, 0.0162704941, 0.0053169876, 0.0400817804, -0.0001460375, -0.0141657917, -0.0253730919, -0.0600839593, 0.048871953, 0.0422685817, -0.0438889749, 0.0163120031, 0.0398681127, 0.0224464722, 0.0562032163, -0.0938663855, 0.0391014107, -0.0296570398, -0.0534283929, -0.0042279353, -0.0111524817, 0.0268842448, -0.0044991225, 0.0336881988, -0.0050565144, -0.009311636, 0.007382188, 0.0020680958, -0.0474896878, -0.0199927278, 0.015600984, 0.0522323698, 0.0027815413, -0.0218234751, -0.00464063, -0.0246848818, 0.0332009271, -0.0304688886, 0.0339829922, -0.0364827178, 0.019906139, 0.0404122248, -0.0650815964, -0.0158878881, -0.0417267121, -0.016389979, -0.001608561, 0.0845189244, 0.0227840561, -0.0231503509, -0.088668935, 0.0091343727, -0.0331147388, -0.023483837, 0.0102070142, 0.0495021902, 0.0112152649, 0.0831149966, 0.0648297668, 0.0478194766, -0.0466420539, -0.0010424756, 0.0293490887, 0.0192517489, 0.0391112901, 0.0816215426, 0.0445527993, -0.0186254326, -0.0346321017, -0.0062996405, -0.0141174262, 0.0357245393, 0.0628427714, -0.0104373731, -0.0449701771, -0.0270927008, -0.0257551484, 0.0006598835, 0.0022207624, -0.020733526, -0.0090677757, -0.044833377, -0.0512892902, 0.0024766347, 0.0217185169, -0.059645839, 0.025253661, 0.0173509773, -0.0281376243, 0.0064031053, -0.0040692659, 0.0200287756, 0.0308373775, 0.0229566284, 0.0367331728, -0.0119963782, 0.0573449433, 0.0106250867, -0.0014413784, 0.0307554398, -0.0302057769, -0.0127797099, -0.0130966539, 0.0319581777, 0.0037128993, 0.0507869869, 0.0187107064, -0.0204984173, -0.0198437236, -0.0573083013, 0.0194511898, -0.0180886202, -0.0165571179, 0.0387648903, -0.0319781192, -0.0077537242, -0.0536768734, -0.0232413914, -0.0247978661, -0.0164165627, 0.0493914336, -0.0725007206, -0.0114049073, -0.0711027682, 2.859e-7, -0.0250315927, 0.0237439238, -0.009803107, 0.024526298, 0.0147770541, 0.0319127329, 0.0177853648, 0.0482753813, 0.0397233367, -0.0961323902, 0.0304123759, 0.0099453628, 0.0500620455, 0.0664272383, -0.0914929584, -0.0468684584, -0.0224587135, -0.008577792, -0.0255348682, -0.0337728597, 0.0418607742, 0.0470058359, 0.0631343499, -0.0260708705, 0.0431157164, -0.0458273068, 0.0324262455, -0.0226428285, 0.0056295502, 0.0474670008, 0.0608882681, -0.0000224541, 0.0148459151, 0.0365120731, -0.0108310208, -0.0085166581, 0.0020814934, -0.0091544073, -0.0298131555, -0.0044542607, -0.0491308421, -0.0179856122, -0.0156679228, -0.0741104707, 0.0696894228, -0.0223215129, -0.0538361482, 0.00955135, -0.0354859419, -0.0207451135, 0.0618282594, 0.0025210977, -0.041056443, 0.0234006736, 0.0122690629, 0.0259713419, 0.0098477723, -0.0748652518, -0.03108114, 0.0037717107, -0.0270358957, -0.0375665613, 0.0382630453, -0.03625286, -0.0134686567, -0.0675171465, 0.0435698815, 2.562532915e-34, -0.0217369776, 0.0607163943, 0.0168574322, 0.0066548893, 0.0494875386, -0.0010686732, 0.0675528869, 0.0220716149, 0.0478476472, -0.0150236171, -0.0183689222 ]
http://arxiv.org/abs/2406.17257v1
http://arxiv.org/pdf/2406.17257v1
Leveraging Parameter-Efficient Transfer Learning for Multi-Lingual Text-to-Speech Adaptation
"2024-06-25T03:50:54"
"2024-06-25T03:50:54"
Yingting Li, Ambuj Mehrish, Bryan Chew, Bo Cheng, Soujanya Poria
cs.CL
cs.CL, cs.SD, eess.AS
Different languages have distinct phonetic systems and vary in their prosodic features making it challenging to develop a Text-to-Speech (TTS) model that can effectively synthesise speech in multilingual settings. Furthermore, TTS architecture needs to be both efficient enough to capture nuances in multiple languages and efficient enough to be practical for deployment. The standard approach is to build transformer based model such as SpeechT5 and train it on large multilingual dataset. As the size of these models grow the conventional fine-tuning for adapting these model becomes impractical due to heavy computational cost. In this paper, we proposes to integrate parameter-efficient transfer learning (PETL) methods such as adapters and hypernetwork with TTS architecture for multilingual speech synthesis. Notably, in our experiments PETL methods able to achieve comparable or even better performance compared to full fine-tuning with only $\sim$2.5\% tunable parameters.The code and samples are available at: https://anonymous.4open.science/r/multilingualTTS-BA4C.
[ -0.0055777212, 0.0317217745, 0.0014996903, 0.0026286819, 0.0106970891, -0.0260821097, 0.0387544446, -0.0323311128, -0.0327063985, 0.0234316923, -0.0820638984, -0.0188758876, 0.0352907442, 0.0305705927, 0.0367897376, -0.0925459042, 0.0315575078, -0.0359709896, -0.0428781882, -0.0032784669, -0.0147397658, 0.0509811528, -0.0265440997, 0.0199834425, 0.0207866821, 0.0344393179, -0.0180869419, 0.0141494209, 0.0384833552, 0.0393177606, -0.0298268516, 0.0035827837, 0.0071691042, 0.034862753, 0.0000020886, -0.0122952759, -0.0621084757, 0.0006760674, 0.0166582204, 0.0197100416, 0.079788141, -0.0208790153, -0.0269888788, 0.0247674938, 0.0187632889, -0.0159662347, 0.0925131664, 0.0446488038, 0.0363864861, 0.0974241719, -0.0283336136, -0.0054898765, 0.0044237282, -0.0014063256, -0.0423400775, -0.0217652805, -0.005984195, -0.0281962175, 0.0064896871, -0.0253084432, -0.0460888445, 0.0469429307, -0.0002559593, 0.0030542233, -0.050165657, -0.0322588645, -0.0275534093, -0.0282591507, -0.0201220904, 0.0654630363, -0.0504487231, -0.0164965913, 0.0208603311, -0.0000047566, -0.0110296961, -0.0120206708, -0.0094901696, -0.0224110913, 0.0345901661, 0.0016307924, -0.00289806, 0.0030032096, 0.016990656, -0.0293880906, -0.0405150466, 0.0050901542, 0.0394546203, 0.0065365112, 0.0142649086, -0.0025671828, 0.026770005, 0.031155806, 0.0549098924, 0.0089428397, -0.0203020703, -0.0023559863, -0.0491440259, -0.0783694535, -0.0404290371, -0.0111260274, 0.068358615, 0.0429885797, 0.0030563653, -0.029499637, -0.0652612746, 0.0022502297, -0.0483739339, -0.0101661868, -0.0482090078, -0.0546698831, -0.0408996977, 0.0473738499, -0.0803970844, 0.0128319161, -0.02287836, -0.0104125086, -0.0172560159, 0.0136346351, -0.0281517301, -0.0317756385, 0.0331384614, -0.0168666746, -0.0650033653, -0.0440250002, 0.0334077962, 0.0846113563, 0.0194029044, 0.017454017, -0.0194486529, -0.0781711861, -0.0052096406, 0.0346458368, 0.0476726219, -0.0098764636, 0.0213843938, 0.0502805933, -0.0415394306, -0.0101011163, -0.0270844623, 0.0174768157, -0.0072961994, -0.0379358903, 0.0303157289, -0.0456931479, 0.0472737998, -0.0344574377, 0.0059584472, -0.0270043276, -0.0409685895, -0.014020157, -0.0045667607, 0.0189059321, -0.0196223576, 0.0118914833, 0.0418964475, -0.0179115254, -0.0476714894, 0.0722987652, 0.0773231909, -0.0034992425, -0.0299798213, -0.0605159104, -0.0427429378, 0.0620829836, 0.02282409, 0.0239762645, -0.0052119363, -0.0340349041, 0.0109075895, 0.0303417575, 0.0682396814, 0.0154162953, -0.0069190431, 0.013460624, 0.0747339427, -0.000727677, 0.0756866783, 0.037291605, 0.0650792718, 0.008670765, -0.0039134431, -0.0402675271, 0.0000027885, 0.0418487899, 0.0103001343, 0.0061597633, -0.0117824655, 0.0688614249, -0.0371773653, 0.0076136715, 0.0441567041, -0.0156591795, -0.0073367837, -0.0140574798, 0.0394127965, 0.0501228422, -0.0728206187, 0.0957571268, 0.0271725766, -0.0697082505, 0.0498125367, -0.0058290903, -0.0032687765, 0.0219219588, -0.0187860988, 0.0097698187, -0.0207559578, -0.0273807328, 0.0054107248, 0.0404434875, 0.0408132896, 0.0260916892, 0.0796715766, -0.0722812265, 0.0101360064, 0.0212980937, -0.0133782048, 0.1052983329, -0.0739603937, 0.0601892397, -0.0003433148, 0.0048562982, 0.0255479142, -0.0031305468, -0.0489176027, 0.0068858555, 0.0513622984, 0.0102255139, 0.0380726941, 0.0179826394, -0.0118286777, -0.01404671, -0.019782275, -0.0271179397, 0.0056202882, 0.0012525127, -0.0553034283, -0.0117995096, -0.0000595071, -0.0460413806, 0.0497621782, 0.0519536398, 0.0236154385, -0.0934769735, 0.0735783204, 0.0113969557, 0.037542928, 0.0064157345, 0.0104865246, 0.0045912438, 0.0706058517, 0.038467519, -0.0449003838, 0.0701277405, -0.0194457006, 0.0191524047, 0.0169337206, -0.0023035035, -0.0434312448, -0.0025329664, 0.04622164, -0.0017806785, 0.0174924023, -0.0196418297, 0.0224013329, 0.0089061474, -0.0313595757, -0.0680872723, 0.0337492079, -0.0025188976, 0.0418613888, 0.0024710835, 0.0390466191, -0.0034218789, -0.0049316422, -0.0234133657, 0.0004643855, -0.0152331078, -0.0184264611, -0.0209254846, -0.0055084256, -0.0241334606, -0.0188155137, -0.0049477466, 0.0346880704, 0.0100285718, -0.0540826991, -0.0119364653, -0.0394767188, -0.0137280086, -0.0010995818, 0.0216556247, 0.030402096, -0.0277744122, -0.0320231989, 0.0058551366, 0.0367797948, 0.0085115079, -0.0202541985, -0.0440827906, 0.0328577086, -0.0231327694, -0.0389396884, 0.0084262965, -0.0209289957, 0.0042893109, -0.0338884704, 0.0052445671, 0.0011435915, 0.0396389291, 0.0085739521, -0.0223038793, -0.0795182213, -0.022050688, 0.0171272047, 0.003117376, 0.0271499902, 0.0189098641, -0.0272573549, -0.0182893164, 0.0085874163, -0.0064839222, 0.0107991192, -0.0619937517, -0.0557038561, -0.073297821, -0.0300706029, 0.0033853611, -0.0383623838, 0.0089007085, 0.0389016382, -0.0112897847, -0.0235114321, -0.0377828516, 0.0279979259, 0.0248526093, -0.0237253942, 0.0298843402, -0.0230167657, -0.0257454775, -0.0328271762, -0.02174142, -0.001776728, 0.0375498608, -0.0028978197, 0.0365815386, 0.0169471931, -0.0462808646, -0.0241206083, 0.0001895588, 0.0414996184, 0.0737852082, 0.016419813, 0.0003007037, -0.040924754, 0.0390909798, 0.010402089, 0.0209646672, 0.0029164767, 0.0131412316, 0.0003942335, -0.031321343, 0.0501112081, 0.0030281574, -0.0626384541, 0.0117634758, 0.0430973247, 0.0133228535, 0.0102445474, 0.0225538537, 0.0557090379, -0.0237238109, 0.0208314527, 0.0762568787, -0.0481379144, -0.0124226101, 0.0105607063, 0.0044805189, 0.0499870367, -0.017134618, 0.0224046409, -0.0270273387, -0.0196941905, 0.030912105, 0.0194854047, -0.0019903702, 0.0060010948, -0.0562704988, -0.1047614366, 0.0187988505, 0.0429418869, -0.0606793649, -0.0363214575, -0.0175470971, -0.0306110661, -0.0036477293, 0.0215855297, 0.007777947, -0.0001361424, -0.0402551852, 0.042367503, -0.0404026136, -0.0541152209, -0.0078466311, -0.0271352753, 0.0712806359, -0.0192336682, 0.0183755439, -0.0408677794, -0.0357975885, -0.0067423363, -0.0152573893, -0.034559194, 0.0097610392, 0.0007190282, 0.0279710088, -0.0309930127, 0.0437148884, 0.0410305858, -0.0561207831, 0.0313565917, 0.0211329199, 0.0817290172, 0.026853852, -0.0332116149, 0.0241107792, 0.0108632334, 0.0126772579, 0.0280251428, 0.0111726588, -0.0774717554, 0.0189154204, 0.0264738984, -0.0524387769, -0.0719628036, -0.0070458814, 0.0098012304, -0.0400700532, -0.060061641, -0.0551275089, 0.0390931256, -0.0135423429, 0.0543211177, 0.0486616157, -0.0014748932, 0.014938659, 0.0082982825, 0.0074714241, 0.0079935333, -0.019429585, 0.0158873107, -0.0338203348, -0.0192712229, 0.0195381977, -0.0524147749, -0.0044178558, 0.0080491491, -0.0314310454, -0.0429202355, -0.0084202448, 0.0172503125, 0.0053860447, 0.0601148568, -0.0019587397, -0.0153902592, 0.040147204, -0.0025983469, 0.0018235078, 0.0074947695, 0.0921527967, 0.000080677, 0.0050374917, 0.0181296784, -0.0441465639, 0.0397326164, 0.0150020998, -0.0070393179, 0.0393339135, -0.0528369136, -0.0284080543, -0.005277745, 0.0003578279, -0.0137746427, 0.0212105233, -0.0354180709, 0.0035814703, -0.0078176074, 0.0573287867, -0.0615237579, -0.0127341775, 0.0370800756, 0.0229253378, -0.0042927065, -0.0271897726, 0.0544832312, -0.0129557857, 0.0318075642, 0.0328747071, 0.0220615007, 0.0288627036, 0.0406675152, 0.0127339475, -0.0279006008, -0.0189410951, 0.0262730643, 0.0051110866, -0.0336149894, -0.0084957927, 0.0057966658, -0.0043064686, -0.0192102231, 0.0023801301, -0.0089514256, -0.017178975, -0.0311461575, -0.0223438814, 0.0329519063, 0.0003973839, 0.1432947367, -0.0275838152, 0.0192113947, -0.024599947, 0.0338618755, -0.0587327331, 0.0442402028, -0.0045950636, -0.0313860215, 0.0074451836, 0.0193699915, 0.0138705084, -0.0152309313, 0.0268720221, -0.023279462, 0.0514205433, -0.0074525662, -0.0194850117, -0.0157410763, -0.016066242, -0.0193150844, -0.021418564, 0.0064883428, -0.0422213264, 0.0355611853, -0.0326091312, 0.003910928, -0.0453461744, 0.0255217031, 0.0002495912, -0.0391990654, 0.0022514102, -0.0107301176, -0.0342680439, 0.0365846381, 0.0150602525, 0.0172259584, -5.942402389e-33, -0.0193458777, 0.0499091595, -0.00053807, 0.0317671299, -0.0434923656, -0.0414288864, -0.0407106206, -0.0065779323, -0.0315388255, -0.0031476927, 0.0049910676, -0.0402603522, 0.0263797175, 0.0499685295, -0.0033190434, 0.022960959, 0.0655288473, -0.0096757673, -0.011013452, 0.0737437382, 0.04479184, 0.0443725027, 0.0772000253, -0.0381558836, -0.0559820235, 0.0135818291, 0.0014646344, -0.0262501128, 0.0180379692, 0.0103917001, 0.0340984166, 0.0752613097, -0.0180310216, -0.0418209322, -0.0493606776, 0.02591406, -0.0575665645, -0.0110580502, -0.0087078335, 0.0636760592, -0.0022976801, -0.0458465777, 0.0298231151, 0.010209728, -0.0270311292, -0.035129901, 0.0034400786, -0.0474337265, -0.0287222676, -0.0775539652, -0.0661159307, 0.0239430778, -0.0158365704, -0.0047951741, 0.0366865322, 0.0690182, -0.0424005352, -0.0170013327, -0.0641518384, 0.0021271314, -0.020423336, 0.0301862136, 0.0464329496, 0.02480538, -0.0356386378, -0.0130792279, 0.0583650805, -0.0379756838, 0.0742295161, 0.0360753611, 0.0921078026, 0.0392864943, 0.057916712, 0.0394368432, -0.0099051828, -0.081215933, -0.0174419619, -0.0159836058, 0.0027108307, -0.0240879823, 0.0338772684, 0.0230641663, 0.0147548849, 0.0172358695, -0.0495916866, -0.0337510966, 0.0082242601, -0.0398065299, 0.0381154828, -0.0196536556, -0.0002675122, -0.0109364064, 0.09721113, -0.0225820467, 0.0063512274, 0.0069780839, -0.0762325153, -0.0037982808, -0.0067982012, 0.0149133811, -0.0517039485, -0.0868289024, 0.0236801766, 0.0146678034, 0.0238609202, -0.0174697116, -0.013617822, 0.0688768253, -0.0634401366, 0.0008594871, -0.0282783732, 0.0392057039, 0.0036691104, 0.081312567, 0.0032633874, -0.047523696, -0.0046163928, 0.024434479, -0.0296667833, -0.0256536845, 0.0424308255, 0.0327119306, 0.0209450163, 0.0169894472, -0.0538625158, 0.0276788622, -0.0246716253, -0.0157756805, 0.0488299988, -0.0278627388, -0.0260087494, 0.0111634247, 2.935e-7, -0.0176648386, 0.014071472, 0.0027875789, -0.0684472546, 0.0163057428, 0.0301878136, -0.0220479369, 0.0413831957, 0.0058284975, 0.0525199696, -0.006133758, -0.0094754044, 0.1027002335, 0.0166973956, -0.0729959458, -0.0665462911, -0.0338990539, 0.043153096, -0.0227066446, -0.0047822851, -0.0028243698, 0.0579333976, -0.0110612223, -0.0383085497, 0.0256104544, -0.0151477493, 0.0249609184, -0.033888761, 0.0070724268, -0.0073669227, 0.0130116874, -0.0183902495, -0.0448204614, -0.0135754263, -0.0526579805, 0.06018674, 0.0132262325, 0.0643498898, 0.0185664147, -0.0367109403, 0.0532993414, 0.0124038793, -0.0492790863, -0.022761384, 0.0558601841, -0.0371717177, -0.0171371549, -0.0140507817, 0.0045996257, 0.0085177477, -0.0075911079, -0.0506468639, -0.0052192044, 0.0204503965, 0.0437011681, 0.0090417191, -0.0552692302, -0.017594656, -0.0012739375, 0.0486992821, -0.0511826463, -0.045117721, -0.0309394374, -0.0401786491, 0.0344590098, -0.0265113004, 0.0108240405, 2.202517107e-34, -0.0068408288, -0.0560452379, 0.038096007, -0.0227689296, -0.0071790619, -0.0339654088, 0.0253393892, 0.024590414, -0.0072219064, -0.0550604463, -0.051362399 ]
http://arxiv.org/abs/2406.17255v1
http://arxiv.org/pdf/2406.17255v1
MPCODER: Multi-user Personalized Code Generator with Explicit and Implicit Style Representation Learning
"2024-06-25T03:45:28"
"2024-06-25T03:45:28"
Zhenlong Dai, Chang Yao, WenKang Han, Ying Yuan, Zhipeng Gao, Jingyuan Chen
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated great potential for assisting developers in their daily development. However, most research focuses on generating correct code, how to use LLMs to generate personalized code has seldom been investigated. To bridge this gap, we proposed MPCoder (Multi-user Personalized Code Generator) to generate personalized code for multiple users. To better learn coding style features, we utilize explicit coding style residual learning to capture the syntax code style standards and implicit style learning to capture the semantic code style conventions. We train a multi-user style adapter to better differentiate the implicit feature representations of different users through contrastive learning, ultimately enabling personalized code generation for multiple users. We further propose a novel evaluation metric for estimating similarities between codes of different coding styles. The experimental results show the effectiveness of our approach for this novel task.
[ -0.0007687935, 0.0591626577, -0.0335278437, 0.0096999509, -0.0016104935, -0.0076139634, 0.0012709559, 0.0165392458, -0.0089103933, 0.0150453821, -0.0614116602, 0.0055079437, -0.0197707545, 0.0143095208, 0.0392998271, -0.0462694205, -0.0149526317, 0.0078555224, 0.007173555, 0.0033798935, 0.0275044758, 0.0217669159, 0.0385865681, 0.0729927495, 0.0171643235, -0.0302546304, 0.0113185728, 0.021417113, -0.0152588794, -0.0057096411, 0.0350228325, 0.0648889318, -0.0023420227, 0.013478091, 0.0000018131, 0.0002481152, -0.0056705195, -0.0413603224, 0.0527499132, 0.0270411689, 0.0071247811, 0.02366364, -0.0045020762, -0.0008271154, -0.0583864599, -0.0673222989, 0.0617659613, -0.0029865368, 0.1055274904, 0.0300472137, -0.0045923074, -0.0369484723, -0.006523483, 0.0035470352, 0.0443275906, 0.0137976687, -0.0222350229, 0.015014166, -0.0247611813, -0.0055762818, 0.0028443388, 0.0002376425, 0.0112971859, -0.0219856314, 0.0383094773, 0.031081086, -0.0372770801, 0.0360284783, 0.0028524895, 0.0555544943, -0.0049980381, -0.0247477889, 0.0144751435, -0.0106050959, -0.0088530025, -0.0155366156, -0.04922406, -0.0169453546, -0.0152154258, 0.0226517413, -0.0146910744, 0.004515897, 0.0024648476, -0.0084213885, 0.0047496818, 0.0022560558, 0.0204879474, 0.005760096, -0.0560309961, -0.0032998829, -0.0148029644, -0.0657524019, 0.0021168969, 0.0194977392, -0.0151142031, -0.0307324901, -0.0591681525, -0.0615907535, 0.0126218116, -0.0394302234, 0.0867986232, 0.0539554097, -0.0015318039, -0.027384866, -0.0750167072, 0.0474301204, -0.0154209845, -0.0136813717, 0.0052930457, 0.003028617, -0.0780423507, -0.0054676854, -0.0347793736, 0.0221773703, 0.0221385229, 0.0239316747, -0.0170574896, 0.0707357153, -0.016262766, 0.0356357805, 0.006603471, -0.008726011, -0.0435200557, 0.001695462, 0.0416881219, -0.0248168465, -0.0441445671, -0.0429990441, -0.0114048822, -0.0382452495, 0.0100831641, 0.0202464499, -0.0108519476, -0.0181594249, -0.0166023076, 0.0444358103, -0.0186126456, 0.0446776114, -0.0499209948, -0.0296798125, 0.0392540097, 0.0258149039, -0.0267101657, -0.0961544439, -0.0653441623, 0.02161148, 0.0029724734, -0.1241846085, -0.0151260961, -0.0166109372, 0.0510044619, 0.0175910071, -0.0264140908, -0.0098502077, 0.0418486334, -0.0051393257, -0.0254825559, 0.0383079425, 0.0403400101, 0.0343824811, -0.0048667132, -0.0497847609, 0.003144868, 0.0222303346, -0.0068990113, 0.038106937, -0.0471330248, -0.0028238927, 0.0660214052, -0.009127304, 0.0548713878, 0.0471434668, -0.0279171448, -0.0282268915, 0.0101524442, -0.0224670321, 0.0539040156, 0.0873620734, 0.1128033474, 0.0191172566, -0.0018282204, -0.0080439011, 0.0265786853, 0.0332050174, 0.0045309626, 0.0042436346, 0.0157306697, 0.0137214577, -0.0295022037, -0.0345763713, 0.0163595248, -0.005642972, 0.003731129, -0.0221962091, -0.0016098676, -0.0111864218, -0.0390075259, 0.0140226223, -0.0040304014, -0.0825442523, -0.0294262189, -0.0219980702, 0.0153407808, 0.0825992674, -0.0014624242, 0.0128720626, 0.0025865869, -0.0166483168, -0.0243362747, -0.0327968895, 0.0497200228, -0.0336795747, 0.0225716922, -0.0830368251, -0.0237459093, -0.0191308949, -0.0308689829, 0.0332583673, 0.0140314605, -0.0134575749, 0.0453979447, 0.0225125607, -0.0201081447, 0.0365779139, -0.0229380932, -0.0161158815, 0.0407610014, -0.0193765759, 0.0016748416, -0.0262233745, -0.0312345214, -0.016930161, 0.0053734854, -0.0553344674, -0.0024258511, -0.0190180615, -0.0528076924, -0.032088615, 0.0093518514, -0.0326382518, 0.0008936556, 0.0025670445, -0.0176255126, -0.0072514955, 0.030674791, -0.0012031306, 0.0678510368, -0.0177313462, 0.0038487203, -0.0000230815, -0.0032694526, -0.0144736283, 0.0256086104, -0.0054070847, 0.0048457901, -0.0111260861, 0.0599318705, 0.0263631362, 0.0056528267, 0.0152232563, -0.0411573946, 0.0045231455, 0.0506180674, -0.0172715336, 0.0373073258, -0.0148195429, -0.0437856838, -0.0841743052, -0.0104344739, -0.016342517, -0.0001051719, 0.0119469883, 0.0553828701, 0.0081961779, -0.0231141169, -0.0523085594, 0.0091205928, -0.0533722267, 0.0145755066, 0.0242503863, -0.0094333272, -0.0785075054, -0.0363017768, -0.0119222803, -0.0293980427, 0.0522179343, -0.0090344157, 0.0220236927, -0.0668777004, 0.0173010491, -0.0022635863, 0.0049589584, 0.0103494041, -0.048818551, 0.0147993509, -0.0573223643, 0.0717445835, 0.0500588417, 0.0139308861, 0.002140319, 0.033426933, 0.0064453166, -0.0644421801, 0.0072493409, 0.0384680815, -0.0367552936, -0.0042259167, -0.032636527, 0.0521672405, 0.0672146082, 0.0369482078, 0.0031907051, -0.0688728467, 0.0376766101, 0.0481903777, -0.0057807374, 0.0513297208, -0.0068521025, 0.0164295994, 0.0449967571, 0.0095453747, -0.0899870768, 0.078588292, -0.0459831432, -0.0120956693, 0.0438186713, -0.0309852492, -0.0417539887, 0.0307595432, -0.0185503941, 0.0418039784, -0.0049728053, -0.0585372485, -0.0198244788, -0.0057176519, 0.031835299, -0.0028337459, 0.0461961553, -0.024438737, 0.010799096, 0.0145266708, -0.0491160266, -0.0241046622, -0.0517624915, -0.0095082289, 0.003911044, 0.0445503704, -0.0142592369, 0.0700886846, 0.0209785756, -0.0171316862, 0.0390970297, 0.01742764, -0.0482595563, 0.0045482418, -0.0245216712, -0.0361723937, -0.0463051461, -0.0770934969, -0.0332576782, -0.0444997326, 0.0083254091, 0.0333131552, 0.0331317261, -0.0781912208, 0.0326387659, 0.0723612532, -0.0263336524, -0.0425326824, 0.0383754857, 0.0874414966, -0.0203177612, -0.0038586382, 0.0959510952, 0.0393342376, -0.1003531367, 0.0061740526, -0.0386008285, 0.0884888247, 0.0605108999, 0.0540736318, -0.0467086956, -0.0381372347, -0.025274029, -0.0006885107, -0.0050212145, -0.0130015239, -0.0178114325, -0.030447023, -0.0240182523, 0.0307708755, -0.0481696017, 0.003303451, 0.011923233, -0.0090721929, 0.0105048558, -0.0674239695, 0.0187123809, -0.0251804255, 0.0194625184, 0.0052352962, -0.0228846967, -0.0142855216, -0.0062152725, -0.0517176054, 0.0332805701, 0.1155843884, -0.0172880776, 0.0304054171, -0.051923383, -0.0267299972, -0.0062319576, 0.019013796, -0.0388849713, 0.0104965605, -0.007655276, -0.0084721353, 0.005806407, 0.0189151913, -0.0211794656, 0.0202883538, 0.0281651076, 0.0259213429, -0.0295420811, -0.0051524835, -0.0143059324, -0.0211261958, 0.0277932789, 0.0015081137, 0.0761429295, -0.0347551182, -0.0448636077, -0.1112470925, 0.0026640347, -0.0261095483, -0.0092958026, -0.0244233925, 0.0053262408, -0.0235201381, -0.0651101843, 0.0056084529, 0.0027992488, 0.034938138, -0.0044228747, -0.0379191115, -0.0507944077, -0.0193977486, -0.0643666089, -0.0317481942, -0.0141733335, 0.0242474247, -0.0129896086, -0.0555372946, 0.0346754976, -0.0209443215, 0.0177310519, 0.0067303395, -0.0683286786, -0.0430254489, -0.0252173878, 0.0602900274, 0.0022476453, 0.0440112203, -0.0050632372, -0.09797059, -0.0204827916, 0.0337790139, -0.0159664713, -0.015438363, 0.0473639742, -0.0305961147, 0.042950172, 0.0132356184, -0.0466152132, 0.0058198581, 0.0294719748, -0.0000165003, -0.0338391215, -0.0097993091, 0.0279159229, -0.0062290896, -0.0127278166, 0.0160375386, -0.0035760568, 0.0266823135, -0.02438052, -0.0113390135, -0.0436076708, -0.0425094478, -0.0003800908, 0.0135079743, -0.011953447, 0.0254047699, 0.0034665023, -0.0120850271, 0.057743486, -0.0312319621, 0.0837038904, 0.004388758, 0.0657220334, 0.0388666987, 0.0092290444, -0.0366743244, 0.0185772907, 0.0201717131, 0.0334460884, -0.0154454587, 0.0530132204, 0.0083218878, 0.0484878123, 0.0049443417, 0.0138699887, -0.0175901353, -0.0595038459, -0.0426843837, -0.0194816962, 0.0162153058, 0.0449569821, 0.0131953349, -0.0019251691, 0.0312220231, -0.0172614232, 0.0761421472, -0.0278479308, -0.0324092545, -0.0174256917, -0.000435734, -0.0127999699, -0.0582041591, 0.0941984281, 0.0009522565, -0.0249893256, -0.0511100739, -0.0143732, -0.0304007158, 0.0549471453, 0.0748101175, -0.0041505415, 0.0254409797, -0.025963055, -0.0060663833, -0.0362300165, 0.0422005765, 0.0285204779, 0.0052361307, 0.0363623984, 0.0197094288, 0.088618286, -0.023369506, -0.05727439, -0.0450526252, 0.0156930294, 0.0105396882, -0.0335860327, -0.0500022471, -5.537734785e-33, -0.0537767895, -0.0165828969, -0.0158254094, 0.0410976708, -0.0031711753, -0.0414864756, -0.0349130481, -0.0060693272, 0.0265386607, -0.0493616089, 0.0221367609, -0.0084631564, -0.0133726625, -0.0167077407, 0.0744401813, 0.0329967327, 0.0891661867, 0.04140817, -0.036257688, 0.0457054563, -0.012540631, 0.0229859781, 0.0399448238, -0.0481609218, -0.0446150899, -0.0114527037, 0.0488644987, -0.0231468529, 0.0590127185, 0.0620470196, 0.0355402566, -0.0186621416, -0.0190966483, -0.0118352873, -0.0483165458, -0.0571619347, -0.0119024906, -0.0618701801, 0.0022349996, 0.0178172104, 0.0152250454, -0.0884542912, 0.1198026985, -0.0383743159, -0.029238889, -0.0036638458, 0.039865125, 0.0197777078, -0.0044431654, -0.0277242716, -0.0073274197, 0.0338813141, -0.0273880735, 0.0299821831, -0.0103664855, -0.0073902085, -0.0249960274, 0.0379521661, -0.0200216491, 0.0113137132, -0.0202264711, 0.0248709992, 0.0380990803, 0.0518178158, 0.0413994044, 0.0230971016, 0.0396613143, 0.0279127546, -0.0485815816, 0.0202456955, 0.0362551995, 0.0312543325, -0.0047977455, 0.0622790493, 0.0057811947, -0.0016739338, 0.034304522, 0.0452006646, 0.0223741494, 0.0163178053, 0.0187976416, 0.0757038742, 0.0000079559, -0.0202192161, -0.0407247841, -0.0399881303, 0.0008831852, -0.0721730888, -0.00348262, -0.0430070199, 0.010372295, 0.0084946863, 0.0370839983, -0.0207797345, -0.0131273232, -0.0001609665, -0.0515294857, 0.0550156087, -0.0023003784, -0.0211901646, 0.0026862198, 0.0048171571, 0.0179766919, -0.0366051272, 0.0576286428, 0.0280283429, 0.0226711538, 0.0206335168, -0.073152259, -0.0277159903, -0.0214280542, -0.0465660729, -0.0135898702, 0.004163689, 0.0228852164, 0.0118403286, -0.0229079723, 0.0314671323, -0.0117383283, -0.0258699134, -0.0403754301, -0.0474298745, 0.046028275, 0.0125336638, -0.0298027508, -0.0146566723, -0.0754025802, 0.0149863297, 0.0179264806, -0.0160013027, -0.0505662523, -0.0005150701, 2.534e-7, -0.0210667066, 0.0054276451, -0.0107507026, 0.0257008635, 0.0015317983, 0.0582270361, -0.0006808104, 0.0167499278, -0.0081238979, 0.0169304572, -0.0129106632, 0.0362412073, 0.0266127959, 0.0491919331, -0.0382737108, 0.0515667424, -0.0248332322, 0.0507085286, -0.041108802, 0.0149135636, 0.0693210512, 0.0335151404, 0.0290711876, 0.0320034064, 0.0777437165, 0.0044422825, 0.0558018498, -0.0114973979, 0.0220614392, 0.0324684829, -0.0244532283, -0.0286620893, -0.0026538393, -0.0066080447, 0.0096037546, -0.0389356613, 0.009133446, 0.0716026276, -0.0368225873, 0.0707693249, 0.0274521858, -0.0016396629, 0.000900567, -0.0387737751, 0.012721085, -0.0002036703, 0.0010407065, -0.0008201837, -0.0154582709, -0.0083585158, 0.0191614684, -0.0092231119, 0.0176597554, 0.0268614963, 0.0061719394, -0.0294635482, -0.0512178019, -0.0117998468, -0.0449763164, 0.004444323, -0.0103140194, -0.0151903266, -0.0510759838, 0.0139510809, 0.0023038052, 0.0285606924, 0.0384245589, 2.136249531e-34, 0.0162835903, -0.0050516557, 0.0255977642, 0.0340327024, 0.0467344411, -0.0101966327, 0.0168732256, 0.0332727022, 0.0460896343, -0.0538490377, -0.0165061858 ]
http://arxiv.org/abs/2406.17253v1
http://arxiv.org/pdf/2406.17253v1
How Well Can Knowledge Edit Methods Edit Perplexing Knowledge?
"2024-06-25T03:41:02"
"2024-06-25T03:41:02"
Huaizhi Ge, Frank Rudzicz, Zining Zhu
cs.CL
cs.CL
As large language models (LLMs) are widely deployed, targeted editing of their knowledge has become a critical challenge. Recently, advancements in model editing techniques, such as Rank-One Model Editing (ROME), have paved the way for updating LLMs with new knowledge. However, the efficacy of these methods varies across different types of knowledge. This study investigates the capability of knowledge editing methods to incorporate new knowledge with varying degrees of "perplexingness", a term we use to describe the initial difficulty LLMs have in understanding new concepts. We begin by quantifying the "perplexingness" of target knowledge using pre-edit conditional probabilities, and assess the efficacy of edits through post-edit conditional probabilities. Utilizing the widely-used CounterFact dataset, we find significant negative correlations between the "perplexingness" of the new knowledge and the edit efficacy across all 12 scenarios. To dive deeper into this phenomenon, we introduce a novel dataset, HierarchyData, consisting of 99 hyponym-hypernym pairs across diverse categories. Our analysis reveal that more abstract concepts (hypernyms) tend to be more perplexing than their specific counterparts (hyponyms). Further exploration into the influence of knowledge hierarchy on editing outcomes indicates that knowledge positioned at higher hierarchical levels is more challenging to modify in some scenarios. Our research highlights a previously overlooked aspect of LLM editing: the variable efficacy of editing methods in handling perplexing knowledge. By revealing how hierarchical relationships can influence editing outcomes, our findings offer new insights into the challenges of updating LLMs and pave the way for more nuanced approaches to model editing in the future.
[ 0.0949498713, 0.0515384264, -0.0509095825, 0.0331018716, -0.0353276841, 0.0095224734, -0.0244066324, 0.0011065981, -0.0232184529, -0.0546692982, -0.0310993772, -0.0233131107, 0.0236031357, 0.0129614277, 0.0218495373, -0.0585770793, 0.0589649156, -0.0115218582, -0.0093619665, 0.0056927018, -0.019163752, 0.0025813174, 0.011374482, 0.0243287887, 0.0293612219, -0.0326278992, -0.0190151148, 0.0205003526, -0.0042452728, -0.040928375, 0.0066708415, 0.1044955105, 0.0042565218, 0.083588846, 0.0000021105, -0.0722627193, -0.0368669778, 0.0018213291, -0.0537050143, 0.0368274786, 0.0256950893, -0.005285264, -0.0240103267, -0.0352307223, 0.001531468, 0.0394293852, 0.050241679, 0.0028007785, 0.0220909137, 0.0133311972, 0.0006178177, -0.0020360902, 0.0089130737, -0.0233982969, 0.0274496675, -0.0400079638, 0.0318496414, 0.047696501, -0.0630928203, 0.0212892964, -0.0128507875, 0.0442146026, -0.0110607371, -0.0212253779, 0.0235562678, -0.0226668194, -0.0047722398, -0.010949105, 0.0271805171, 0.0467485152, -0.0024348404, -0.0003787034, -0.0297273155, -0.0196065344, 0.042648077, 0.0684655979, -0.0352620967, -0.0050808964, 0.0065298029, -0.0418005735, 0.0058358852, -0.073346369, 0.0360209197, 0.0325694941, -0.013087485, 0.0655568168, 0.026697645, -0.0354559571, -0.0173312929, -0.0275054201, -0.0325603969, -0.0928513706, -0.0232497212, 0.0016581576, -0.0190125853, 0.0458305925, -0.0138944825, -0.0136531238, 0.0254553724, -0.069004938, 0.0421278849, 0.0290646609, 0.0319501385, 0.0638125613, 0.0218209978, 0.025716817, 0.0010158647, -0.0111101624, -0.0059401197, 0.0637791306, -0.0712920949, -0.0409762599, -0.0332622379, 0.0258067269, -0.0233042296, 0.0209865402, -0.0329524055, 0.0216488279, -0.0091155637, 0.0201789606, -0.0393948555, -0.0006617349, -0.0320105813, -0.0429467112, -0.0456173792, 0.0260908492, 0.0199071486, 0.0479872972, 0.0067457547, 0.0012482664, 0.0213861559, -0.0341755301, -0.0067023099, -0.0051129819, 0.0197908189, 0.0530820489, -0.0152966073, -0.0124426857, -0.0318242945, -0.0594402887, -0.0073301471, -0.02022098, 0.0067678904, -0.052927386, -0.0079954201, 0.01021362, -0.0074358643, -0.0569662265, -0.0135941282, -0.0261118934, -0.0766982436, 0.0754721761, -0.0480098277, 0.0414471403, 0.066457957, 0.0415408574, -0.0638580397, 0.0629894808, 0.0383161046, -0.0328650512, 0.0913938433, -0.0148967365, 0.0087886481, 0.0186374448, -0.0197808687, 0.0072871405, -0.0335808843, 0.0078764781, -0.04057822, 0.0194032397, 0.0127778035, -0.0090521472, -0.0198468678, 0.0391569585, 0.0916930735, 0.0112041533, -0.0120346714, 0.0307975225, 0.0060243891, -0.0080464389, -0.0055588484, 0.0115149133, -0.0281475633, 0.0142364297, -0.0358076692, 0.0277603343, -0.008697778, -0.0075374665, -0.0051266458, -0.0475833677, -0.0148588857, 0.0494102277, 0.0134106968, -0.0225686897, 0.0394165143, 0.0526095927, -0.0089494362, 0.028883189, 0.015680965, -0.0317946263, 0.0184997469, -0.0488764718, -0.0166375395, 0.0972667411, 0.0823826939, -0.0448563211, -0.0750410259, 0.0113768568, -0.0271739196, 0.0131675014, 0.0535940602, -0.0127417073, -0.0189667661, 0.0052257408, -0.0321482047, -0.0526375622, 0.0432308614, -0.00104487, 0.0350584127, -0.0143460836, 0.0067641013, -0.0576586127, -0.0341588259, 0.0047475519, -0.0491255186, 0.0226352774, -0.0413428023, 0.0033440047, -0.0116394423, -0.008265445, -0.0313548185, 0.0192375574, -0.0105903614, 0.0135062076, -0.0204750951, -0.0119543606, 0.0325433388, -0.0077876044, 0.0316714682, -0.0029320891, -0.0258259736, 0.0059556724, -0.0104109924, -0.0004446589, 0.0364441425, -0.0201450381, 0.0850753263, -0.0038795962, 0.0792195052, -0.030098537, -0.037807934, -0.0192242749, 0.0278667435, -0.0182808712, 0.0255253557, 0.0104981186, -0.032714352, -0.0057754125, 0.0162470788, -0.0366549082, -0.0038947742, -0.0143377064, -0.0281151719, -0.0012686569, -0.0091634328, -0.0464245863, -0.0220279377, -0.0708736777, -0.03397955, 0.0010155399, 0.0103145503, 0.0361018963, 0.0076358914, -0.0196646489, -0.0030116241, 0.0289159399, 0.0121557917, -0.0359031744, 0.0649465173, 0.0286559984, 0.0229329746, -0.0644961074, -0.0652957633, -0.0117069148, 0.0124661243, 0.0561390221, 0.0147611909, 0.0151549755, -0.0270035937, 0.0382990688, -0.0818555951, -0.0197037924, -0.0180682875, 0.0012791955, -0.0104380101, 0.03087762, 0.0627751723, -0.025845252, -0.0221370719, 0.0294570997, 0.0752930641, -0.0377998427, 0.0107886363, -0.0280089248, 0.0116446912, -0.0395284146, -0.0239152033, -0.0406423174, 0.0079261139, 0.0684908852, -0.001212423, -0.0304336771, -0.010309536, 0.0729789138, -0.0388432555, -0.0323692337, -0.0650703236, -0.049788978, -0.0051874015, 0.081385754, -0.0279716458, -0.0519015677, 0.0593869463, 0.0015625206, 0.0418705903, -0.0267326832, 0.0128786564, -0.0034916371, 0.0882284716, -0.0282881483, 0.037991479, 0.0147618204, -0.0203514099, -0.0999067873, -0.0114804646, 0.0405179597, -0.0283633284, 0.0510407388, -0.084330231, -0.0198385995, 0.0182067063, 0.0059924107, -0.0219187494, -0.0118539976, -0.022585718, 0.0137421153, 0.084731631, -0.0236782972, 0.0093977489, 0.0013701541, 0.0312056057, 0.0575855859, 0.0172741096, -0.0406964011, -0.0067397831, -0.0007384225, 0.035272494, 0.0120847728, 0.0470149741, -0.0405414067, 0.0541154929, 0.0324592441, 0.0228251703, -0.0635299608, 0.0298116077, -0.0052894712, -0.0106314747, -0.0700986609, -0.0516492985, 0.0042353263, -0.008783564, -0.0464727245, 0.0064669857, 0.089603059, 0.0512455851, -0.0191897955, 0.0487154126, -0.0746100843, 0.0205995999, 0.0503741615, 0.0180936456, -0.0832527503, 0.0150767416, 0.0279560816, -0.0067023253, -0.0486010499, -0.0604093634, -0.0240826495, -0.0626057088, 0.0283490475, -0.0102608586, -0.0301607773, -0.0331826769, 0.0043861656, 0.0165454093, 0.0427127443, -0.0037184134, 0.0443124361, -0.0157461502, 0.0082275318, -0.0244811885, -0.0505328476, -0.0450331978, 0.0197911523, -0.0206008814, 0.0211769678, 0.0231142268, 0.0114403963, -0.0213063117, -0.0083575221, 0.0230628308, 0.0432264581, 0.0154361445, -0.0054443087, 0.018765891, 0.0188916102, 0.0340377502, -0.0084649064, -0.0309006814, 0.0116568096, -0.0609626584, 0.021189658, 0.0767266229, -0.0105728786, 0.0047307201, -0.0087084342, -0.013220503, -0.0198588241, 0.0780262873, 0.0309315342, -0.0257087592, 0.0631508157, -0.0257528815, 0.0129120201, 0.0146566601, 0.011766756, -0.0106460359, -0.0421922244, 0.0126777673, -0.0610430352, -0.0309269316, 0.0449140035, -0.007885525, 0.0714627057, 0.0243752263, -0.0073377592, -0.0077352324, -0.0373215675, 0.0030633162, -0.0009699393, -0.0020791988, -0.0221197251, -0.025120249, -0.0015593347, -0.0154916728, -0.0334453881, -0.0220519379, -0.0006608153, -0.0468635112, -0.0056518335, -0.0017382746, 0.0371559039, 0.0164540615, 0.0449965447, -0.0725313947, -0.0230788421, -0.0145946881, 0.0049925018, 0.0389667228, 0.0259152073, 0.0483514294, -0.0119328257, 0.0499208942, -0.0532038696, -0.0288815945, 0.0431157202, 0.042108912, -0.0117552327, -0.0298740026, 0.023529375, -0.0002180056, 0.0334721617, -0.0296762735, 0.0170571152, -0.0514081568, 0.0369506888, -0.038652584, -0.0234455485, -0.0084601799, -0.0075873611, 0.0219210498, 0.0223476477, -0.0160814896, 0.0332820155, -0.0095552281, 0.0424665175, -0.0294663329, -0.0199682023, -0.0348165892, -0.0072054234, 0.044250112, 0.0037669195, -0.005621166, 0.0180454198, -0.0309591107, 0.0090851896, -0.0017646673, 0.0575845018, 0.003739469, -0.0349973552, -0.0735162124, 0.0341102146, -0.0344600268, -0.075574182, -0.0015092032, 0.0005225164, 0.0253213793, 0.0047206399, 0.023327481, -0.0611993149, -0.030644577, -0.0026070166, -0.0037312647, 0.0189691987, -0.0535811335, 0.0226584077, 0.0245625768, -0.0122281862, 0.0295594726, 0.0747828335, 0.00847892, 0.0944953412, -0.0387108587, -0.0524143502, -0.0195747018, -0.0163356587, 0.0498432778, 0.0589180067, -0.0401804782, -0.0035419997, -0.1246101037, -0.057246469, -0.0151028447, 0.0114259785, -0.0144676724, -0.0086401096, -0.008985729, 0.0950906649, -0.0167113822, -0.0467367843, -0.0364160053, 0.0135717867, -0.0131492028, 0.0117076486, -0.0142965904, -5.862656485e-33, -0.0102301827, -0.0131354798, 0.0045274207, -0.0035351939, -0.0222393814, -0.0055916705, -0.0399261005, 0.0646590963, 0.0025014116, 0.0315934308, -0.0250964221, 0.0049561514, -0.0088504339, -0.0228677373, 0.0392386019, 0.0359719992, 0.0516179167, 0.0263354778, -0.0354275294, 0.0008375298, 0.0116654607, 0.0077702007, 0.0789250806, -0.0270041991, 0.0762510374, 0.0086463848, 0.0143156657, 0.0056893202, -0.0451662093, 0.0297696888, 0.0060710912, 0.0069708237, 0.0362517759, -0.0294371899, -0.0218663551, -0.0371751897, 0.0311319213, 0.0004303535, 0.0555733368, 0.0211596303, 0.015032324, -0.0408346727, 0.0329395756, 0.0335705653, -0.0533431247, -0.0259936452, 0.0093181413, -0.042224925, 0.0026123538, 0.0168902185, -0.0880076885, 0.0295017306, -0.013560866, -0.015543378, -0.0207387283, 0.0026689456, 0.03344886, -0.0552867353, -0.0683860332, 0.0316213034, 0.0813641772, 0.0408464111, 0.088647306, 0.0099241324, -0.0056321817, 0.0439088382, 0.0085320864, 0.0744501576, 0.0233327709, 0.0169491358, 0.0006228652, 0.0444529206, 0.0200161356, 0.0393820181, 0.0288588069, -0.0041434905, -0.0200332087, -0.0166845191, -0.0748933703, 0.0127580455, 0.0195244867, 0.0492935553, -0.0365847014, -0.0207791924, -0.0528954677, 0.0115849525, -0.0452528968, -0.0382689051, 0.0299091171, -0.0019313541, -0.0018506845, -0.0020340432, -0.0007891693, -0.0194422211, -0.0417287163, -0.0080024218, -0.0276874788, 0.0611545257, -0.0017834562, -0.0072090873, -0.0268355515, 0.031342186, 0.0106275044, -0.0077393865, 0.0068787653, -0.0019953665, 0.0084777018, 0.0229173098, -0.0549061, -0.004850687, -0.0043717632, -0.0024589966, 0.0152649134, -0.0401053764, 0.0116446577, -0.006685989, -0.0078976303, -0.0195359457, 0.0823979005, -0.0231605135, -0.0622750707, 0.0655182675, -0.030106863, 0.004629612, -0.0007805141, -0.0279749166, -0.0118866246, -0.02665147, 0.0290689971, -0.026351884, -0.0457351804, -0.0090156319, 2.841e-7, 0.0653843209, 0.0818387493, -0.023472866, -0.0158312265, 0.0532422848, 0.025943974, -0.0353059024, -0.0017210627, 0.0165507626, -0.0223164521, 0.0112471618, -0.0140932659, -0.0029978466, 0.0028169956, -0.0229500178, -0.0308573563, -0.0389753953, 0.0205761846, -0.0608731844, -0.0100178057, 0.0465030521, 0.0177189689, 0.0286221374, -0.0030901255, -0.0590594076, -0.0155265955, 0.0363220014, -0.0279092714, 0.0160833076, 0.043527022, 0.0288322382, 0.0208831485, 0.0226908009, 0.070512414, -0.0498951748, 0.0067070434, 0.0037518335, 0.0226144381, -0.029834792, 0.0561148636, -0.0105956765, -0.0096698515, 0.008758842, -0.1097004935, 0.0482292846, -0.0483035706, -0.0143399173, 0.02891404, -0.0487229005, 0.0263648313, 0.0074758395, -0.0208405349, -0.0123494426, -0.0064118979, 0.0025476234, 0.052022554, -0.0253159329, -0.0114319641, -0.0066794488, 0.0443512537, -0.0236442946, -0.0903750956, -0.0322804973, -0.0497430637, 0.0060424139, -0.0409617573, -0.0035656523, 2.502124214e-34, 0.0166386776, 0.0144700082, 0.0235518292, 0.0190732442, 0.0403943211, -0.0135457236, 0.0178088583, 0.0033535804, -0.0084557626, -0.0699145496, -0.005369226 ]
http://arxiv.org/abs/2406.17245v1
http://arxiv.org/pdf/2406.17245v1
Unlocking Continual Learning Abilities in Language Models
"2024-06-25T03:24:06"
"2024-06-25T03:24:06"
Wenyu Du, Shuang Cheng, Tongxu Luo, Zihan Qiu, Zeyu Huang, Ka Chun Cheung, Reynold Cheng, Jie Fu
cs.LG
cs.LG, cs.AI, cs.CL
Language models (LMs) exhibit impressive performance and generalization capabilities. However, LMs struggle with the persistent challenge of catastrophic forgetting, which undermines their long-term sustainability in continual learning (CL). Existing approaches usually address the issue by incorporating old task data or task-wise inductive bias into LMs. However, old data and accurate task information are often unavailable or costly to collect, hindering the availability of current CL approaches for LMs. To address this limitation, we introduce $\textbf{MIGU}$ ($\textbf{M}$agn$\textbf{I}$tude-based $\textbf{G}$radient $\textbf{U}$pdating for continual learning), a rehearsal-free and task-label-free method that only updates the model parameters with large magnitudes of output in LMs' linear layers. MIGU is based on our observation that the L1-normalized magnitude distribution of the output in LMs' linear layers is different when the LM models deal with different task data. By imposing this simple constraint on the gradient update process, we can leverage the inherent behaviors of LMs, thereby unlocking their innate CL abilities. Our experiments demonstrate that MIGU is universally applicable to all three LM architectures (T5, RoBERTa, and Llama2), delivering state-of-the-art or on-par performance across continual finetuning and continual pre-training settings on four CL benchmarks. For example, MIGU brings a 15.2% average accuracy improvement over conventional parameter-efficient finetuning baselines in a 15-task CL benchmark. MIGU can also seamlessly integrate with all three existing CL types to further enhance performance. Code is available at \href{https://github.com/wenyudu/MIGU}{this https URL}.
[ 0.0090944469, 0.0664204359, -0.0069681192, 0.0364930741, -0.0031458582, 0.0195378792, -0.0151395239, -0.0703307763, -0.0546781458, 0.01011224, -0.0591544807, -0.0523914695, -0.002674906, -0.0021632542, 0.0343760289, -0.0043110009, 0.038882535, -0.0363949314, -0.0413287804, -0.0197346695, 0.0136429276, -0.0156434644, -0.0314255841, 0.0101533132, -0.0114706252, -0.0477961116, -0.0157075617, -0.0114319026, 0.0057789199, -0.0239575561, 0.0504919402, 0.0462055579, 0.0118553601, 0.0084935138, 0.0000023574, -0.0422553569, 0.0143648367, -0.0320558436, -0.0565272123, 0.0067696008, 0.0448361635, 0.0350440219, -0.0491841622, 0.0233311392, -0.0336800106, -0.024960788, 0.0470798612, 0.0123077435, 0.052238144, 0.0327440239, 0.0007047328, -0.0132882139, 0.0719470307, -0.0652196705, 0.0038064199, -0.036371883, 0.0344214514, -0.0264616981, -0.0356018618, -0.0260102544, -0.0152593451, 0.0611533411, 0.0321257152, -0.0131310076, 0.0137504321, 0.0669541955, 0.0171341114, -0.0420548692, -0.0081312386, 0.0456973612, -0.0395361744, -0.0180676095, -0.0141408741, 0.0214304235, -0.017160641, -0.0447292812, -0.0701542124, 0.0330177732, 0.0205610096, 0.0455480404, 0.0119608622, -0.0238111783, 0.0438948981, 0.025020469, -0.0372067168, 0.0179022215, 0.0224699546, -0.009893734, 0.0083078882, -0.0244309083, -0.051731877, -0.0221260469, 0.0004996187, 0.0489487685, -0.0219746232, 0.0056185992, -0.036982324, -0.0245481282, 0.0170777962, -0.0342471041, 0.0872332081, 0.0388189554, -0.0454011634, 0.0355831124, -0.0448553041, 0.0646679476, 0.0118828146, 0.0311584156, -0.0340363011, 0.0235890169, -0.0212833676, -0.0126326671, -0.0131680835, 0.0369947068, 0.0171214007, 0.0071891686, -0.0053833495, 0.0665666834, -0.0054689329, 0.0205700938, -0.0113430414, 0.005735225, -0.0782231092, 0.0088162161, -0.0169726647, 0.0412567891, -0.0132650333, 0.0344287865, 0.0234940462, -0.0472073108, -0.0386339054, 0.018794544, -0.0014425755, -0.0194265451, 0.0338156484, 0.0464650318, -0.0296711624, -0.0241490286, -0.0493849628, 0.037594419, -0.0133545138, -0.0816459954, 0.0306489561, -0.0225990918, 0.0316573046, -0.0232520178, 0.0181900319, -0.0671032071, 0.0172768869, 0.0057339366, -0.0201174691, 0.0730325803, 0.0247525573, 0.0006931971, 0.0224681739, -0.0024780829, 0.0046107387, 0.050456129, 0.028841475, 0.02469014, 0.008105265, 0.0178443585, 0.0051864898, 0.0415967815, 0.0307065193, 0.0342663303, -0.0472379029, -0.0202928018, 0.0374970622, 0.0149876475, 0.0650810823, 0.0442018025, -0.0096115312, 0.0073789381, 0.092385605, 0.0041165114, 0.0121086547, 0.0494312309, 0.0415623374, -0.0308535658, 0.0183316395, 0.0027867409, -0.0660194233, 0.0265655611, -0.0072432379, 0.0063648, 0.0258382577, 0.0180657282, -0.0499313325, -0.0404775292, 0.0156648867, -0.0166219268, -0.0297130458, 0.013221262, 0.045514904, 0.0263715275, -0.0405003205, 0.029649606, 0.0242914334, -0.0180236772, 0.0278750714, -0.0290565416, 0.0203713216, 0.0530016087, 0.0246724337, -0.0287120733, -0.0824010968, -0.0130188745, 0.029483458, 0.0151568213, 0.0160378646, -0.0049689822, 0.0527148619, -0.0620287992, 0.0128860753, -0.00124756, 0.0250306092, 0.0073777372, -0.0059588719, 0.0237659141, 0.0089844931, -0.0397961065, -0.0610457398, 0.0378001183, -0.0680029839, -0.0283922199, 0.0138143711, -0.0348722599, -0.0173376165, -0.0077457381, -0.0323677026, 0.0102348635, 0.0405412316, -0.0496620052, 0.0158729479, 0.0255945642, -0.0792440176, -0.0045256088, 0.0696177855, 0.0504141487, 0.0074459831, 0.012645754, -0.0370286442, -0.0403076969, 0.0046906653, 0.0240881946, 0.0217493102, -0.0544344448, 0.0258188248, -0.0181340333, 0.0312125962, -0.0298503097, 0.022172777, -0.0603140481, -0.0159354918, 0.0121682463, 0.0332999602, -0.0184140261, -0.0707896054, -0.0356318913, 0.0152535122, 0.0091781504, 0.0216118991, -0.0306252595, 0.0074474346, -0.0121242404, -0.0331119671, -0.0692805424, 0.010542742, -0.0321132354, 0.0097532012, 0.0253757723, -0.0009682846, -0.0128525458, -0.0116173243, 0.0211642589, 0.0050279298, -0.0315161757, 0.0096381707, 0.021177765, 0.0057437802, 0.0026883523, -0.0562389679, -0.0257094037, 0.0254267659, 0.029080417, -0.0600824058, -0.0054246956, -0.0500479341, 0.0109816575, -0.0304153133, 0.0392703451, -0.0362874046, -0.0359082296, -0.0017626948, -0.0372307412, 0.0662334114, 0.0649958029, -0.0020797257, 0.0319576934, 0.063623555, -0.0187742673, -0.0226753205, 0.0126834828, -0.0289973468, -0.0501574576, -0.0247431714, 0.0096568167, -0.0087419786, 0.0634675026, -0.0168701485, -0.0066102408, -0.02746181, -0.0002846413, -0.0312428158, 0.0034226931, -0.0200495534, 0.0280155353, -0.0615005083, -0.0105160046, -0.0234450735, -0.0634126291, 0.0233780798, -0.0176990218, -0.0182439741, -0.0211651791, -0.00430666, 0.0023720323, 0.0284258705, -0.0062272479, -0.0026485389, 0.0312466584, -0.028503038, -0.0411204323, 0.0201320387, 0.0439664237, -0.0207973644, 0.0621603206, -0.0144305462, 0.0006404836, -0.0172775574, -0.0335863605, -0.0689587668, -0.0016055342, 0.0000134989, 0.016312141, -0.0317189358, 0.0065787202, -0.0125620924, -0.0048783515, 0.0230518188, 0.0611175746, -0.02322804, -0.0069563272, -0.0101315798, 0.0228805076, 0.0269203875, 0.0561207198, 0.0159911737, -0.0249523167, 0.0212903693, 0.0325213298, 0.0512797534, 0.0068720109, -0.0425067283, 0.0156479198, 0.022493314, 0.0219410118, 0.0084553212, 0.0081564225, 0.0179269034, -0.0492901094, -0.0353401378, 0.0881354213, 0.0030246498, -0.0660652071, 0.0011609702, 0.0104819601, 0.0649428293, 0.032729622, 0.0264114402, -0.0422649793, -0.0003349051, 0.0521879867, 0.0492660329, 0.0342231654, -0.013933517, -0.0122896321, -0.0621305183, 0.0188120306, 0.0389446542, 0.0088325618, 0.0170044005, -0.0269194096, -0.0094050094, 0.0066605452, 0.0256550405, 0.0448755324, -0.0179184731, -0.0049574869, 0.0458098203, -0.0285194069, -0.09515623, 0.0200137272, -0.0348366052, 0.0610023476, 0.0640516356, 0.0035640071, -0.0079875169, -0.0489657819, 0.1361041218, -0.0086971717, 0.0077723982, -0.008439959, 0.0311699212, 0.0151971597, -0.0216117911, 0.0066263517, 0.0305999294, -0.0248338822, -0.0027202715, -0.0096905548, 0.0608211942, -0.01180097, 0.0116705811, 0.010238748, -0.060228996, -0.0262916051, 0.0333602801, 0.0222431626, -0.0487123616, -0.0175457783, -0.0285660047, -0.0057138638, -0.0433400683, -0.0051603238, 0.0192761347, -0.0205072667, -0.0573585816, -0.0321973413, -0.0304052569, -0.0074613485, 0.0449117869, 0.0237244647, -0.0138912164, 0.0008184535, -0.0116866697, -0.0700534955, 0.0120190373, -0.0347870775, 0.0147373248, -0.0644848719, 0.0009074935, 0.0663590431, -0.008835718, -0.0019925546, -0.0042959414, -0.118450582, -0.0700354949, 0.0217302125, 0.0690536574, 0.0128082884, 0.0706705824, -0.0032538241, -0.0469395593, 0.0360993035, 0.0103951003, 0.008115381, 0.0478956066, 0.0571833141, -0.0402084701, 0.0228793025, 0.0382087156, -0.0300971065, 0.014006664, 0.0464090519, 0.0707013607, 0.043546766, 0.038581755, 0.0297849067, -0.0425012447, 0.0191930775, -0.0079709357, -0.0111172237, -0.0629989728, 0.0339376517, 0.0371606611, -0.0055128308, -0.0348926634, 0.012540075, 0.0382998437, 0.036429856, -0.0069776345, -0.0038583637, 0.0655641183, 0.0448847711, -0.0315843783, -0.0168117378, -0.0174176209, 0.001943822, 0.0395767316, 0.0283697508, -0.0422849208, 0.0240396168, -0.0162945725, 0.0247991122, -0.027959859, 0.0347924866, 0.0395673886, -0.006320775, -0.0474232286, 0.0368653461, -0.0184259415, -0.0913945362, -0.0593657233, -0.0104181999, 0.1005552858, 0.0296239648, 0.0415157676, -0.0087062772, 0.008011695, -0.0335646681, -0.0159805845, -0.0125417123, -0.0280498601, 0.0173526723, 0.0057778708, 0.0082838014, 0.0336439051, 0.0666425228, -0.0140624354, 0.0295579247, -0.0222389698, 0.0474339612, -0.0389435813, 0.0071816286, -0.0325930193, 0.0007018686, -0.0249139927, 0.0004553362, 0.0139855379, -0.067399174, 0.0164698716, -0.0043851323, 0.0009074358, -0.0171809532, 0.0056056804, 0.0146783656, -0.0202341694, 0.0138260406, -0.0161316805, -0.0029717665, 0.0355264693, -0.0099143591, -0.0110822665, -7.220366786e-33, -0.0220401958, 0.0361939333, 0.0264207833, 0.0094626723, -0.0743275434, -0.01757106, -0.0624238253, 0.0167443845, -0.0136986701, -0.0106613366, -0.0243805107, -0.0031985007, 0.009007128, 0.0183866099, 0.0471676812, -0.0336530022, 0.0582513958, -0.0066530877, -0.0191553738, 0.0317357033, 0.0138456207, 0.0585785396, 0.0584980771, -0.0409527905, 0.012513618, 0.0062087565, -0.0201885998, 0.0477378443, -0.0032515347, 0.0356015973, -0.0563646257, 0.0314744599, 0.0111860828, -0.0385105908, -0.0611917004, -0.0591594838, -0.1331488192, -0.0343359858, -0.0271352865, 0.0049616066, -0.0475725047, -0.0097066835, 0.0425024368, 0.0237485506, -0.0341362096, 0.0061958004, 0.000944207, -0.0420700833, -0.044955425, -0.0118472371, -0.042500928, -0.0100244097, 0.0184049681, -0.0230071563, 0.0205835756, -0.0281439424, -0.0157297123, -0.0237898286, -0.1189244166, -0.0366647467, -0.0055651893, 0.050361786, 0.0308853388, 0.0558265336, 0.0362273455, 0.0464207269, 0.036244344, 0.0110565638, 0.0045765433, -0.0152867725, 0.0725001246, -0.0228872579, -0.0016661355, -0.0431093946, 0.0467074402, -0.0521620139, -0.0283292271, -0.0182171334, 0.0543729551, 0.0721262395, 0.0468368344, 0.0369142517, 0.0047296975, -0.0467858724, -0.0473089591, -0.0035714789, -0.0454789288, 0.0081322379, 0.056986127, 0.0534804538, 0.0059197559, -0.0307954717, 0.0167039204, -0.0109313279, -0.0235695634, 0.0099535994, -0.0112221595, 0.0252746642, 0.0158720147, 0.0067990711, -0.0472912975, -0.0002097428, -0.0352921076, -0.017360758, 0.0067159361, 0.0110304812, 0.0350862071, 0.0785421282, -0.0341860615, -0.0219081864, -0.0569377318, 0.0170541126, 0.0650036186, 0.0480830483, 0.0228439867, 0.0025066037, -0.0068770349, 0.0660961419, 0.0234464332, -0.0154005643, -0.0596815571, 0.0711564198, 0.0470916592, 0.0324406661, -0.0254620556, -0.0153777553, -0.0402264707, 0.0509992838, 0.0121661797, -0.0887649879, -0.0176506639, 0.009585104, 2.992e-7, -0.000597237, 0.0116782896, 0.0202792734, -0.0103535932, 0.0425919704, 0.0160243474, -0.0646159798, -0.0015847362, 0.0113422768, 0.0482040979, 0.0035701382, 0.0269710533, 0.0495497659, 0.0134787597, -0.0682824776, -0.0039598919, -0.0399759077, 0.0327869542, -0.0467684008, -0.0339141563, -0.0230781399, 0.0752979741, 0.0366375707, -0.0122987879, 0.0228527244, -0.0665664896, 0.0616223738, -0.0013319273, 0.0558353402, -0.0029125209, 0.0098239211, 0.0428949073, -0.0318131857, -0.0195448715, -0.0105278138, 0.0082626445, -0.0319839716, 0.0496115275, -0.0162271913, -0.0571386516, 0.0085308421, 0.0280813165, 0.0017979575, -0.0620880835, 0.0628267378, -0.0671616346, 0.0082497979, -0.0102226445, 0.0199680571, 0.0142417122, -0.0034781615, -0.0089006359, -0.0304985065, -0.0014005038, 0.0244659912, 0.031153556, -0.055544313, -0.0950964987, -0.0023190731, 0.0346884392, -0.0615430661, -0.0376105756, -0.0621709004, -0.0091543477, -0.0011525758, -0.0319994763, 0.0110197021, 2.782649513e-34, 0.0230602119, -0.0416676477, 0.0218796283, 0.0729315057, -0.0004125037, -0.0343969129, 0.0115257287, 0.0081971707, -0.0005390262, -0.0691291094, -0.0418834984 ]
http://arxiv.org/abs/2406.17241v1
http://arxiv.org/pdf/2406.17241v1
What Do the Circuits Mean? A Knowledge Edit View
"2024-06-25T03:09:53"
"2024-06-25T03:09:53"
Huaizhi Ge, Frank Rudzicz, Zining Zhu
cs.CL
cs.CL
In the field of language model interpretability, circuit discovery is gaining popularity. Despite this, the true meaning of these circuits remain largely unanswered. We introduce a novel method to learn their meanings as a holistic object through the lens of knowledge editing. We extract circuits in the GPT2-XL model using diverse text classification datasets, and use hierarchical relations datasets to explore knowledge editing in the circuits. Our findings indicate that these circuits contain entity knowledge but resist new knowledge more than complementary circuits during knowledge editing. Additionally, we examine the impact of circuit size, discovering that an ideal "theoretical circuit" where essential knowledge is concentrated likely incorporates more than 5% but less than 50% of the model's parameters. We also assess the overlap between circuits from different datasets, finding moderate similarities. What constitutes these circuits, then? We find that up to 60% of the circuits consist of layer normalization modules rather than attention or MLP modules, adding evidence to the ongoing debates regarding knowledge localization. In summary, our findings offer new insights into the functions of the circuits, and introduce research directions for further interpretability and safety research of language models.
[ 0.0535994619, 0.0347644575, -0.0340850763, 0.0655083433, -0.0177148543, 0.0195954312, 0.0008936296, -0.0087987781, 0.0280935168, -0.0277409572, -0.033139199, -0.0180667061, 0.0087192329, 0.0459881201, 0.0192268994, -0.0333000422, 0.0377295129, -0.0120938411, -0.0114151789, -0.0007910844, -0.0007987467, 0.014280715, 0.0322236121, 0.056351915, 0.0287764054, -0.0180385094, 0.0030373663, -0.0068046497, 0.0249392428, 0.0262985732, -0.0216604639, 0.0902488083, 0.0114687802, 0.0542812943, 0.0000021564, -0.0270441864, -0.028896803, 0.0002940366, -0.0658870712, 0.0269050859, 0.0093379607, -0.0455978252, -0.0017058732, -0.0285473056, -0.0172871947, 0.005934665, 0.07269869, 0.0567210019, 0.0089616328, 0.0542551167, -0.012317108, -0.0391332433, 0.0433040559, -0.0283853803, 0.0326542221, -0.0368093625, 0.060134206, 0.0116192559, -0.0402382202, -0.0112764314, -0.043479912, 0.0316171534, 0.0300461091, 0.0015755129, 0.0269572716, 0.031069994, -0.0056739547, -0.0204412155, 0.0273861401, 0.0711488649, 0.0238004588, -0.0276977587, -0.0075262822, 0.031913463, 0.0061163153, 0.0251500513, -0.0127310315, 0.0064798538, -0.0249468964, 0.0286769867, 0.0391187817, -0.0647841766, 0.0584988445, -0.010918797, -0.018922599, 0.1258034706, -0.0027567712, -0.0080040675, -0.0049365703, 0.0192740317, -0.0415684022, -0.0432893671, 0.0220101103, -0.0241487604, 0.0158974994, 0.0560778193, -0.0251116883, 0.0291009545, -0.0091436049, -0.0674727485, 0.0049130716, 0.0000686426, 0.0346809551, 0.043433018, 0.0206124857, 0.0123213343, -0.0229690354, 0.039861165, -0.0257142298, 0.0054460745, -0.0751578361, -0.0674081147, -0.0142117832, 0.0391953103, -0.0212463457, 0.0087135592, -0.0302986354, 0.0181692317, -0.0452171937, -0.019185489, -0.0225359686, 0.0114188138, -0.0032217058, -0.0038246948, -0.0277044345, 0.0362379365, -0.0172387287, 0.0185836051, -0.0339109749, -0.020991914, -0.0139317159, -0.0251553301, 0.0108959032, -0.0181811173, -0.0414313972, 0.0557089485, 0.0149569772, -0.0536954701, -0.0620514713, -0.0552702807, -0.0399121121, -0.0447626114, -0.0131256217, -0.0427964404, 0.0354696997, 0.0221909266, -0.0027555835, -0.0648755208, -0.0025665779, 0.0052008429, -0.0850786939, 0.0621598437, -0.0166114457, 0.028826233, -0.0018113226, 0.0312502868, -0.0019147004, 0.0650597736, 0.0476209335, -0.0312314164, 0.0432642661, -0.0167843271, -0.018445719, 0.0330367349, 0.0243326668, -0.0041839075, -0.0190175902, 0.0015971097, -0.020347571, -0.0186768249, 0.0108197164, 0.0154716112, -0.032947246, -0.0094128083, 0.0716547742, 0.0160250291, -0.0005845299, 0.0398742706, 0.0190311112, -0.0116678746, 0.0026364175, 0.0260460116, -0.0824909583, 0.0139100859, -0.0562282465, -0.0178865474, -0.010524503, -0.0272457488, 0.0002430147, -0.0135791469, 0.0022631781, 0.0416550264, 0.0228099525, -0.0100479564, 0.0229491666, 0.0096749691, -0.015239846, 0.0671663806, 0.033832185, -0.0339999348, 0.0236657877, -0.0390436538, -0.000148471, 0.0769796222, 0.0368026495, 0.0006079318, -0.0019064981, -0.0195798762, -0.0185283255, 0.0087912902, 0.0051160222, -0.02180361, 0.0408112369, 0.0078095221, -0.0262485463, -0.0248963255, 0.0531379767, 0.0284008458, -0.0012113823, -0.0215681605, -0.0009130189, -0.0653419197, -0.023931874, -0.0005068191, -0.0376410969, -0.0129985921, -0.0291928388, 0.0146350516, 0.011158118, 0.0201778673, -0.0058014328, -0.0198470615, -0.0018522458, 0.000589525, 0.0068954118, 0.0064003319, -0.0129107321, -0.0170123, 0.0251703449, -0.0518168621, -0.0374693684, 0.0172809269, -0.0155258309, -0.0383387655, 0.0364052504, -0.0560158864, 0.0683061704, -0.0220454708, -0.0006306764, -0.0290641021, -0.0208605155, -0.0185569339, 0.0908482, -0.0083667589, -0.0095888916, 0.0429105312, -0.0418629795, 0.0007047231, 0.0005918298, -0.0395185649, 0.005521093, 0.010536924, -0.0187021717, 0.0303656999, -0.0377908833, -0.0349565335, -0.0272344574, -0.0740002021, -0.0097750556, -0.0217536408, 0.0195100568, 0.0558266416, 0.0020788915, 0.0006279201, 0.0235688966, 0.0072220699, -0.0159172304, -0.0485947728, 0.0383042246, 0.0160867497, -0.0012618421, -0.0371985883, -0.0263998937, -0.0200974494, -0.0346886925, 0.0739396214, 0.0155218542, -0.022992583, -0.0468382351, 0.0257756729, -0.0253766999, 0.0084761307, -0.0081335157, -0.026895389, -0.006092947, 0.0382762738, 0.0593655594, 0.0315989256, -0.0101453206, 0.0909219161, 0.0628779754, -0.0294768419, -0.0066659027, -0.0044556595, -0.0220486186, -0.0073548481, -0.0690934509, -0.0716358051, -0.0145715456, 0.0996064097, 0.029791316, -0.0235703867, -0.07762409, 0.0135248201, -0.0377608202, -0.0444507115, -0.0533512272, -0.0275815446, -0.0066133221, 0.0437890887, -0.0392067842, -0.0442450345, 0.0799726173, 0.008055998, 0.0088195037, -0.0279973485, -0.0158000644, -0.0270403791, 0.0849340558, 0.0308288932, 0.0188832451, 0.0254468024, -0.0131888567, -0.0618390776, 0.0268856287, 0.0257678479, -0.0211048368, 0.0604189113, -0.0607185774, 0.0066803191, 0.0094053233, -0.0126590254, -0.0108292634, 0.0258901399, -0.0116209369, 0.0019935556, 0.0597946346, -0.036277134, -0.0429737866, 0.0209375639, 0.0488803834, 0.0373906493, -0.0234911554, -0.0131475031, -0.0325786136, -0.0089055384, 0.0643507764, -0.0194724891, 0.046742022, -0.0482397266, 0.0294344164, 0.0527282804, -0.020154763, -0.0116317226, 0.0109813698, 0.0175208542, 0.0007769736, -0.0450451262, -0.0331091918, -0.017614495, 0.046342887, -0.0648209155, -0.0206830595, 0.1207666472, 0.0291354712, -0.0645049289, 0.0245465226, -0.0021279696, 0.0049442654, 0.0364988856, -0.0091961194, -0.0807351768, 0.0012741055, 0.0094757359, 0.0075799916, -0.0076539847, -0.0471156165, -0.0224259719, -0.0412745699, 0.0109155206, 0.0045385067, -0.0978089869, -0.0702682212, -0.0393862724, 0.0066068694, -0.0259233601, 0.0024693736, 0.0251526572, -0.0126647959, 0.0230671503, -0.0112532703, -0.0312151257, -0.0527935401, 0.0350657925, 0.0016580737, 0.0475571007, 0.0484735928, 0.0216558874, -0.013436812, 0.0011963997, -0.0203265361, -0.0077531054, -0.0103207668, -0.0053215674, 0.0722050667, 0.0026441033, 0.0034172591, -0.0485752076, 0.0428052843, -0.0459099896, -0.0375000238, 0.0024707688, 0.078598775, -0.0211832877, -0.0747645721, -0.0281459223, 0.0073681301, -0.015057805, 0.0934279636, 0.0498540848, -0.0318568796, 0.0050578653, -0.056166634, 0.0312107522, -0.0401446596, -0.0480621606, 0.0010596578, 0.0261018071, -0.0203965567, -0.0187726021, -0.0522064231, 0.0368663371, -0.0097823897, 0.0384451635, -0.0002653131, 0.0235710107, -0.029939821, -0.0332852341, 0.0241444577, -0.0264107939, -0.0278002452, -0.0246402286, -0.0362197496, -0.017582966, -0.0343499295, -0.0495177992, 0.0032598726, -0.0662293732, -0.0676658005, 0.0095484145, 0.0052053225, 0.0344879478, 0.0457669459, 0.0169622041, -0.0487994328, -0.0059847902, 0.0152214859, -0.0269453116, 0.0437204465, 0.0077730073, -0.0150992265, 0.0119873732, 0.061861746, -0.0235259533, 0.0201311819, 0.034598235, 0.0251444336, -0.0574156307, -0.0255061258, 0.0392888673, -0.0055102562, 0.0302200783, 0.0317784734, 0.0147287492, -0.0663425252, 0.0242935587, -0.0171298049, -0.0132416645, -0.0494237915, -0.0069739018, 0.0343430564, -0.001584416, -0.0284668468, -0.0174939875, 0.010581526, 0.0306565277, -0.0434275605, -0.009333998, 0.007588814, -0.0044662845, 0.0261376295, 0.0010046483, -0.0149930399, 0.0382676348, -0.0233971234, 0.0234572794, 0.0088536832, 0.0310559254, 0.0232841, -0.0100844717, -0.009879359, -0.0010014734, -0.0734283254, -0.0440683998, 0.0064630979, 0.0316499695, 0.0348497033, -0.0082019446, 0.0713729113, -0.0528791957, -0.0101152277, -0.0211280547, 0.0304953717, 0.0219983421, -0.0487910509, 0.0155623117, 0.0228840262, -0.0258457772, -0.0249145795, 0.0961907879, 0.0253029447, 0.0754026994, -0.0200047288, -0.0220789239, -0.0358174443, -0.0387091711, -0.0007298957, 0.0426504388, -0.0357931964, 0.0347332135, -0.0845790803, -0.0712138787, 0.0095609967, -0.0429242179, -0.0030038408, -0.0249951351, 0.0084206415, 0.04521925, 0.0010128962, -0.0420013592, -0.0284526702, -0.0061022639, -0.001704563, 0.0055221352, -0.0009652284, -6.658177062e-33, -0.0272525586, -0.0358316526, 0.0133143924, 0.0286457073, -0.0030305909, 0.0420406982, -0.0709413439, 0.0360125415, -0.0237595141, 0.0457010157, 0.0159181934, 0.0413391069, -0.002953873, 0.0059959679, -0.0177017469, -0.0171545409, 0.0440749675, 0.0307268333, 0.0069891335, 0.038275823, 0.056442041, 0.0220990311, 0.1196788177, -0.0770150349, 0.0860813409, 0.0172761753, -0.0109169306, 0.0056185392, -0.063012287, 0.0494177453, -0.0171381198, 0.060846135, 0.0308133792, -0.0484484509, 0.0072458512, -0.0209591407, -0.0791128427, -0.0254074, 0.0551020987, 0.0214416571, -0.0312361214, -0.0534898117, 0.0597981811, 0.009845919, -0.0028577992, -0.0517816879, 0.0619545206, -0.0259403344, 0.0115419012, 0.0004127167, -0.0658696443, 0.0187575854, -0.0192234423, 0.0083471974, 0.0180255361, 0.0184672698, 0.0065831924, -0.0145928813, -0.0923059136, 0.0114911012, 0.0704982579, 0.0160349235, 0.0427724868, -0.0058469111, 0.0197935235, 0.0665672123, 0.0239679925, 0.0350637659, -0.0541411005, -0.0232576448, 0.0361874066, 0.0566403754, -0.0001631018, 0.0207473803, 0.0073916009, -0.009005026, -0.0647985563, -0.0282864645, -0.03361376, 0.0202766657, 0.0594586469, -0.004612952, -0.0213510785, -0.0346411914, -0.041615352, -0.0094401157, -0.0440517329, -0.0196611024, 0.0063031367, -0.0086938888, -0.0218475703, -0.0027906874, 0.003757108, -0.0619139597, -0.0146421138, 0.0591285266, 0.0264330842, 0.0206296109, 0.0320765227, 0.0077919178, -0.0526400693, -0.0046090675, -0.0129345441, -0.0312379133, 0.0025504264, 0.0347348899, 0.0194518119, 0.0255324859, -0.0137263527, -0.030516848, -0.0268430319, 0.0060697836, -0.0174435545, 0.0270637646, 0.0277315546, 0.0181770809, -0.0047528148, -0.0025139467, 0.0702805445, 0.0112672169, -0.0132562006, 0.0623808131, -0.0231400188, 0.0345885418, -0.010251008, -0.0364951566, -0.023734767, -0.023805704, 0.0483707599, -0.0368505903, -0.0157696698, -0.0014373917, 2.889e-7, 0.0974134058, 0.0578123592, 0.0054697944, 0.0370777212, 0.0409415588, 0.0239050295, 0.0240648761, 0.0428644828, 0.0126964105, -0.0324793085, -0.0015163297, 0.0195164755, 0.0161500201, 0.0300305393, -0.0647895709, -0.001012132, -0.0534476861, 0.0059538237, -0.0336368531, 0.0252818372, 0.0287121609, 0.0728217885, 0.038803108, 0.0116987452, -0.0090626599, -0.0213872921, 0.0463722795, -0.062321458, 0.0478217006, 0.0332266018, 0.0014302804, 0.0105381347, 0.0094417371, 0.0804091915, 0.0059713824, 0.0245439298, -0.0114478413, 0.0646670908, -0.0083916839, 0.0253423918, -0.0239181425, -0.0343378522, 0.0051552388, -0.1036976427, 0.060185086, -0.0523381047, -0.0469434112, -0.0027672627, 0.011272802, -0.0201797783, 0.0060786386, 0.0183130261, 0.0078696124, -0.0046503483, -0.0165610947, 0.0006251083, 0.0012930755, -0.0452135876, 0.0005021622, 0.0387803912, -0.0163137428, -0.0495092496, -0.0475653149, -0.03764119, 0.0210379735, -0.0513248444, 0.0102777416, 2.734793117e-34, -0.0045890682, -0.0208007228, 0.0184950177, 0.0272773784, 0.063480489, -0.0279024839, -0.0124149211, -0.0165862069, -0.0161019992, -0.0921102092, -0.0199891888 ]
http://arxiv.org/abs/2406.17233v1
http://arxiv.org/pdf/2406.17233v1
Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement
"2024-06-25T02:37:53"
"2024-06-25T02:37:53"
Yunlong Feng, Yang Xu, Dechuan Teng, Honglin Mu, Xiao Xu, Libo Qin, Wanxiang Che, Qingfu Zhu
cs.SE
cs.SE, cs.CL
Decompilation transforms compiled code back into a high-level programming language for analysis when source code is unavailable. Previous work has primarily focused on enhancing decompilation performance by increasing the scale of model parameters or training data for pre-training. Based on the characteristics of the decompilation task, we propose two methods: (1) Without fine-tuning, the Self-Constructed Context Decompilation (sc$^2$dec) method recompiles the LLM's decompilation results to construct pairs for in-context learning, helping the model improve decompilation performance. (2) Fine-grained Alignment Enhancement (FAE), which meticulously aligns assembly code with source code at the statement level by leveraging debugging information, is employed during the fine-tuning phase to achieve further improvements in decompilation. By integrating these two methods, we achieved a Re-Executability performance improvement of approximately 7.35\% on the Decompile-Eval benchmark, establishing a new state-of-the-art performance of 55.03\%.
[ -0.0614273213, 0.0559380092, -0.0033241403, 0.0784914121, -0.0131389145, 0.0414073952, -0.0392520763, -0.0173100922, -0.0227065831, -0.0111762909, -0.0376850963, 0.0898267105, -0.005679816, -0.0308276843, 0.0169917364, 0.0564664491, 0.0311965756, 0.0087753152, -0.0626045018, 0.0261970665, -0.0257561505, 0.0164936576, 0.0164255686, -0.0081375567, 0.0180006158, -0.0485027805, -0.0056405705, 0.0706338882, 0.0350919962, 0.0041394634, 0.0230316818, -0.0217224043, 0.0281158555, -0.0135985566, 0.0000023654, 0.0135554746, -0.0295936652, 0.0276282448, -0.0532409996, 0.0560931116, -0.0051168939, -0.0089528514, -0.0208697766, 0.0255748201, -0.0214710496, -0.012863283, 0.0205143262, -0.034139242, 0.0466746315, 0.0639106557, 0.022443397, -0.0572711863, 0.0045965221, 0.026929047, -0.0022875231, -0.0230951458, -0.0238404442, 0.0091596665, -0.0432653688, -0.0196558032, -0.002412519, 0.0224268697, 0.0273297839, 0.037814673, -0.0099877492, -0.011223861, -0.0421287864, 0.019569939, -0.0264569465, 0.0416029245, -0.0675050914, -0.0453143604, 0.0121882735, -0.0225424692, -0.0080475053, -0.0648758337, -0.0009324998, 0.0302090086, 0.0037333507, 0.0599704497, 0.0330017395, -0.0239203125, 0.0468570776, -0.0331923589, -0.033469893, 0.0707805231, -0.0050350823, -0.0026168255, -0.0170384571, -0.0380502306, 0.0257614031, -0.0064262571, 0.0033350266, 0.0153045487, 0.0184326954, 0.0210735369, -0.0463587232, 0.0133286836, 0.0108208898, -0.0283848643, 0.0023705096, 0.0611639358, -0.0312703028, -0.0055727144, -0.0651299432, 0.0401702821, -0.0131519353, 0.0041626971, -0.0375160761, 0.0369359404, -0.0001069693, 0.0131461853, -0.0496271066, 0.0406255908, -0.0572176836, 0.0773488358, -0.049820859, 0.0233059917, 0.0157387238, 0.0466540866, -0.0326743722, -0.0249038283, -0.0373879187, 0.0050110421, 0.0521135516, -0.0149443485, -0.0047814604, -0.044381991, -0.0244930498, -0.0658065453, -0.0287250336, 0.0053341417, -0.0498097613, -0.0507791564, 0.0353651308, 0.0562368296, -0.009359221, 0.0010216953, -0.0730126053, -0.0393823795, 0.0174103957, -0.0197407808, 0.0021557542, -0.0822141469, -0.0095303571, -0.0219235197, -0.0077041532, -0.0350766443, 0.0153689515, -0.0169796608, 0.0012460494, 0.0718898848, -0.0610200502, -0.0142445136, -0.006258016, 0.0369762667, 0.069834888, 0.0514543913, 0.0093330359, 0.0367486775, -0.0249025598, -0.0622059442, -0.009863588, 0.0306359231, 0.0123047177, -0.0068412977, -0.0334220007, 0.0407618172, 0.0174496006, -0.0248553902, 0.0882738829, -0.0083215451, -0.0104298629, -0.0125334896, -0.0628096536, 0.0255324319, 0.0323425829, 0.0360159725, 0.0103367558, 0.0331264623, -0.0092569152, 0.0322590098, -0.0576427504, 0.0140922274, -0.0260403473, 0.0110231359, -0.0010323745, 0.0620117635, -0.0101044644, -0.0673070997, 0.0082701407, -0.0248702634, 0.0046517253, -0.0016861628, 0.0023309821, 0.0004382278, -0.0429206975, 0.05751222, 0.0408754908, -0.0691312104, -0.0588709041, -0.0649660975, -0.007618723, 0.009134911, 0.0314586349, -0.0739041567, -0.0403075963, 0.0378155559, -0.0196619444, -0.0573239326, -0.0318246856, -0.0134804314, 0.0743049607, -0.0488054119, -0.0108462907, -0.0555175692, 0.0133828633, 0.0371081643, 0.0052738399, -0.0569314249, 0.0289580878, -0.0255207289, -0.0046076151, 0.035183832, 0.0211620703, -0.0473586842, 0.0312499087, 0.040124096, 0.0134537006, -0.0093284743, -0.0419058986, -0.0123913521, 0.0813664123, -0.0379341096, 0.0200755727, -0.0404332802, -0.0592032708, -0.0817361996, 0.0240409579, -0.023202192, -0.0244772136, -0.0045244703, -0.0771227032, -0.0171928722, 0.0277614053, -0.0100474562, 0.0291784629, -0.0045899781, 0.0388970822, 0.0065093078, 0.0233080443, -0.0757610351, 0.0841878355, -0.0003095523, -0.0357069634, -0.0035429089, 0.0316253081, 0.0411319509, 0.0285150465, 0.006336709, -0.0468299389, -0.0387342572, 0.0052662254, -0.0285027362, 0.0053054872, -0.0107780024, -0.0405334122, -0.0657665506, 0.0454600155, -0.0220620874, 0.0434122197, 0.0494470894, 0.0236106198, 0.0223559905, -0.0349698141, -0.0061844136, 0.0078414092, -0.024722036, -0.0362130478, 0.0397895649, -0.0185514484, -0.0579979271, -0.0311079267, -0.0142379496, -0.0235097036, 0.0066297282, -0.0597309954, -0.0147234779, -0.0676839352, 0.1048897058, 0.0403589569, 0.0233436376, -0.0214207117, -0.0189987924, -0.011875703, -0.0209729467, 0.0122199031, 0.0850372761, -0.0424376242, 0.0289543234, 0.0460266806, -0.0032420016, -0.0889340937, 0.0273769144, 0.0487262607, -0.0313531086, -0.0220328867, -0.0209184512, 0.0345659964, 0.0579251125, 0.0078933407, 0.0097097363, 0.0109026162, -0.0122036058, 0.0700843558, -0.0291057732, 0.0078970548, -0.0176135059, -0.0044585653, 0.0197206251, -0.0185367521, -0.0749870166, 0.012729886, -0.0266292803, -0.0000872346, 0.001384386, -0.033107359, -0.0590570197, 0.0414514132, -0.000912412, 0.0056109806, -0.0120095788, -0.0490290672, -0.0129991211, 0.0173962731, -0.0041281828, -0.0402442031, 0.0699348226, -0.0326041877, -0.0043171085, -0.0151741905, -0.0287912153, -0.01960955, 0.0086180447, 0.0254903585, -0.0040881145, 0.0255509242, 0.0141049838, 0.0285940673, -0.0133365253, -0.0054134871, 0.0052650226, 0.06562078, -0.0258323923, -0.0204805359, -0.0169231743, -0.0364885628, -0.01109883, -0.0080841016, -0.0035394265, -0.0158867612, 0.0291359276, 0.0348046422, 0.0104695028, -0.0773880705, -0.0156395938, 0.0461698845, 0.0100754146, -0.054992035, 0.0434476286, 0.0660611466, -0.0697052032, -0.0381928794, 0.0422778092, 0.0338249393, -0.0284104757, 0.0230013188, -0.0067349961, 0.0039896588, 0.0520401783, 0.0439523682, -0.0872107148, -0.056272652, 0.0029849152, 0.0191529468, 0.0546486825, 0.0235555731, -0.0089676296, -0.0685796589, 0.0501852892, 0.0454433858, -0.0107020307, -0.0629861802, -0.0474684499, -0.0326170176, 0.0013302269, -0.0018424678, 0.0391453467, -0.0113939308, 0.0148114255, -0.0052192425, -0.0470068157, -0.0023581081, 0.0156307202, -0.0056804586, 0.0678209811, 0.070570156, 0.0207532272, 0.0226072427, 0.0186145678, 0.0833545998, -0.0546917543, 0.0480598286, -0.0483035892, 0.041881416, 0.0176799651, 0.0011534384, 0.0439396091, 0.0063028028, -0.0261299293, -0.015808383, 0.0344564468, 0.0458985642, -0.0131899314, 0.0082703251, -0.0052975458, -0.050488323, -0.0168842208, 0.013936623, 0.0481938757, 0.0236273091, -0.057668712, -0.0311632473, -0.0143239331, -0.0355510339, 0.0322650634, -0.0032639049, -0.0344594195, 0.0058858162, 0.0035038344, 0.0403603241, -0.0186582245, 0.0085219033, -0.0036417146, -0.0464772731, -0.0203735903, -0.0170743093, -0.109051913, -0.0044930908, -0.0232403465, 0.0163448378, -0.0110254521, -0.0010298489, -0.0072257533, 0.0083854748, 0.0247366093, 0.0276329443, -0.0536392145, -0.042841021, -0.0064177061, 0.0747748166, 0.0054140212, 0.0693391338, -0.0207451656, -0.0155893415, -0.0129801352, 0.0536234155, -0.0182782169, 0.0617114231, 0.0324652158, 0.0094779748, 0.0213398524, -0.0128495386, -0.0174151789, 0.0108545832, 0.0805809423, -0.0221639946, -0.0368930958, -0.0234247968, 0.0174521301, 0.0565294102, 0.0119024748, 0.0434079766, 0.0182172861, 0.0349593684, 0.0382483266, 0.0073424014, -0.0054549156, -0.0476076864, 0.0375892743, 0.0183094945, -0.0431897901, 0.0365961567, 0.0140195563, -0.0056447349, 0.0452410802, -0.0312641263, 0.0425183922, -0.017046703, 0.0494396202, 0.031718757, 0.0228418857, -0.006804842, 0.0156103903, 0.0504626222, 0.0663254187, -0.0133667542, 0.0091334563, 0.005945046, 0.0776061863, -0.0253566727, 0.0375220738, 0.0048874966, 0.0174051858, -0.0451431349, -0.010112213, 0.0239153076, 0.0408749692, 0.0448901579, 0.0523653291, 0.0066561671, -0.0113189444, 0.0582949147, -0.0255797058, -0.0218309816, -0.0009560336, 0.0203767065, -0.0410936624, -0.0339707285, 0.0494469032, -0.0197489578, 0.0352627747, -0.0083073713, 0.0134359142, -0.0449521355, -0.041433055, 0.0037443959, -0.0394399315, -0.0114225727, -0.0133960349, -0.003356471, -0.0441472009, -0.0154696796, 0.0484950095, 0.0399351232, 0.0052480125, 0.0072832713, 0.0611813851, 0.0293129943, -0.0490718074, 0.0087944493, 0.0077979537, 0.01756474, -0.0463282615, -0.0054388042, -6.122690896e-33, -0.0453592129, -0.0019876177, -0.0039975657, -0.0036324554, -0.0267134774, -0.0207052678, -0.0393839777, -0.0073452354, 0.0255094282, -0.0339228101, 0.0061713499, 0.008885297, -0.0015633252, -0.0399681479, 0.0040276782, 0.0134720504, 0.0317832865, 0.0122865606, -0.0627821758, 0.0039500324, -0.0095702177, 0.0436717942, 0.0192674901, -0.0650644451, -0.0733107254, 0.0093820682, 0.0211506467, 0.0090965983, 0.0138395438, 0.0085455105, 0.006863479, -0.0563583821, 0.004809293, 0.020866489, -0.0380817279, -0.0136058638, -0.0817190856, -0.0115223415, 0.0247904193, 0.011234168, 0.0004579512, -0.0778317153, 0.0519888327, 0.0331707485, -0.0296898782, -0.0209953282, 0.0087826326, -0.0240741353, 0.0109378677, -0.046374917, -0.0491953455, 0.0096004745, -0.0342877954, 0.0171425231, 0.0370190479, -0.0154386964, -0.0025778005, 0.019252006, -0.0044584628, -0.0065394319, 0.0205285084, 0.058622539, 0.0964930207, 0.0221622754, 0.0067587746, 0.0098085273, 0.0594986118, -0.009916516, -0.0389367528, -0.0132070752, 0.034197282, 0.0817302391, -0.0377276354, 0.0085546365, 0.0734084249, 0.0132340342, -0.0795776919, 0.0227388181, 0.0063608787, 0.0141343344, -0.033062201, 0.0688836575, -0.0231405254, -0.0013600691, -0.0314156227, 0.0448749028, -0.0392406695, -0.0190904625, 0.0178654566, 0.0003871145, -0.0677069649, -0.0244198292, -0.0040700813, -0.02246641, 0.0343301073, -0.0084889466, -0.0124711208, -0.0304546133, -0.0052202805, 0.0043418733, -0.0032266804, -0.0484430641, -0.0168861151, -0.025840994, 0.119435139, -0.0160535015, 0.0244557746, 0.0398269705, -0.0565734021, 0.0163976699, -0.0407276303, -0.0461203791, -0.0188236684, 0.0168266371, -0.0263450816, 0.002816058, -0.0004856411, 0.009298618, 0.0016564205, 0.0078005567, -0.031224383, 0.014499221, 0.0470234938, 0.0356774442, -0.0253201928, -0.011810855, 0.0275034476, 0.0303937178, 0.0239560623, -0.0266791061, -0.0486395396, 0.0408327244, 2.929e-7, 0.035992045, 0.011531814, 0.0501733236, 0.0165331773, 0.001755645, 0.0343581438, -0.0080968924, 0.0156842936, 0.0018617634, -0.0080297561, 0.0071128886, 0.0287090838, 0.0528494194, 0.0027953333, 0.0077726771, 0.0985269472, 0.0367832109, -0.0224941, -0.0277721509, -0.0384121314, -0.000481101, 0.0592485219, -0.0214688592, -0.0270292256, 0.03371647, 0.0218898337, -0.0168666057, -0.036992237, -0.0051287343, 0.0199431367, -0.0795855224, 0.0326671377, -0.0552279279, -0.0378283784, -0.021542212, 0.0063481666, -0.037993297, 0.076303035, 0.0093578259, -0.0127385454, 0.0561359115, -0.0338362008, 0.0009800203, 0.0169278421, 0.0525491796, -0.0376071669, 0.0047915154, -0.0233031958, -0.059456829, 0.0245028622, -0.0316482075, 0.0050662463, 0.0468728766, 0.002176397, 0.0160628501, -0.0382096581, -0.0512976795, -0.0557864495, -0.0846292675, 0.0257242154, -0.0097573306, -0.0271094311, -0.0156904552, 0.0435984321, 0.0067706611, -0.0451909639, 0.014193303, 3.032895041e-34, 0.0212574489, -0.0332444571, 0.017952852, 0.0477116853, 0.0160756353, -0.0182001833, -0.0515374243, 0.0579135865, -0.0173859168, -0.004938053, -0.0003558492 ]
http://arxiv.org/abs/2406.17232v1
http://arxiv.org/pdf/2406.17232v1
Beyond Demographics: Aligning Role-playing LLM-based Agents Using Human Belief Networks
"2024-06-25T02:37:29"
"2024-06-25T02:37:29"
Yun-Shiuan Chuang, Zach Studdiford, Krirk Nirunwiroj, Agam Goyal, Vincent V. Frigo, Sijia Yang, Dhavan Shah, Junjie Hu, Timothy T. Rogers
cs.CL
cs.CL
Creating human-like large language model (LLM) agents is crucial for faithful social simulation. Having LLMs role-play based on demographic information sometimes improves human likeness but often does not. This study assessed whether LLM alignment with human behavior can be improved by integrating information from empirically-derived human belief networks. Using data from a human survey, we estimated a belief network encompassing 18 topics loading on two non-overlapping latent factors. We then seeded LLM-based agents with an opinion on one topic, and assessed the alignment of its expressed opinions on remaining test topics with corresponding human data. Role-playing based on demographic information alone did not align LLM and human opinions, but seeding the agent with a single belief greatly improved alignment for topics related in the belief network, and not for topics outside the network. These results suggest a novel path for human-LLM belief alignment in work seeking to simulate and understand patterns of belief distributions in society.
[ 0.0518994406, 0.0725319311, -0.017705759, 0.027034102, -0.0521214008, -0.0130634401, -0.0124615747, -0.0512206331, 0.0462245308, 0.0097254757, 0.0084542213, -0.0889441818, -0.0144979777, 0.0145885479, 0.0225894824, -0.0282768086, 0.0104736844, 0.0096943537, 0.0525287054, -0.0422321521, -0.0006393008, 0.0466002636, 0.0070146197, 0.0180811379, 0.0055361087, 0.0035856375, -0.0300687216, -0.0137327807, 0.0735059232, -0.0036744799, -0.0147499852, 0.0095795859, 0.0556420982, 0.0322245136, 0.0000017729, -0.0487305149, 0.046402622, -0.0210435912, -0.0007645977, 0.0064362204, 0.0635546148, 0.0423135795, -0.0188594609, -0.0062797354, -0.0671932623, 0.0257389657, 0.0271038003, 0.054018233, 0.0246355459, 0.0199088473, 0.0078606019, -0.0401072614, -0.0286935773, -0.0013197697, 0.038091477, -0.0118423691, 0.0538134128, 0.0612586513, 0.0244189166, -0.0154820038, -0.0096513638, -0.0075138714, -0.0152770039, -0.0185619667, -0.0018231962, 0.0289532319, -0.0134543125, -0.0474295765, 0.0346773788, 0.0608980581, 0.0722768083, -0.0487265661, 0.0107013127, -0.0082518626, 0.0264250692, 0.1006404757, 0.0113176396, 0.0272739027, -0.010035974, 0.0387012251, 0.017949285, -0.0045988141, 0.0287798438, 0.0196930207, -0.0288815722, 0.0926722661, 0.0098163579, -0.0294151735, -0.0250543226, -0.0108883968, -0.0399501324, -0.0613308325, -0.0102131581, -0.013795183, 0.0013210234, 0.0397939868, -0.0379960239, 0.0854015872, 0.023484569, -0.0382251255, -0.0133344578, 0.0289155077, 0.0243229587, 0.042593535, 0.0433881693, 0.0234318059, -0.0292933192, -0.0122772753, -0.014282126, -0.0077845999, -0.0282218307, -0.0028746061, 0.0059168134, 0.0025138729, 0.0462617613, -0.023541037, -0.0577472486, 0.0237466227, -0.0563550927, 0.0197914131, -0.0139376912, 0.0179286376, 0.0079082958, -0.0307764504, -0.0623539612, 0.042385973, -0.0394733548, 0.0381074399, -0.0140747111, -0.0530128479, 0.0383696705, -0.0017115405, 0.0015921071, 0.0032417702, 0.0111013865, 0.0127698658, 0.0231695436, 0.0077717514, -0.0048201475, -0.0065896199, -0.0051712361, -0.0769566745, -0.013382338, -0.0659807324, 0.0446255356, -0.0106925843, -0.0072185886, -0.0428094007, 0.0023046571, 0.0181709174, -0.05643427, 0.0642070919, 0.013033798, 0.0364901498, 0.0481920913, 0.0047764843, 0.0379142836, 0.0215773564, 0.0263230409, -0.0022556165, 0.0052824924, -0.0046076206, -0.0023137999, 0.0210326631, -0.0113554243, 0.0183890536, 0.005693045, 0.0024989175, -0.0053841132, 0.0613770336, 0.0424997248, 0.0382632762, -0.0295107272, -0.0385044217, 0.0713896006, 0.0880612954, -0.0060318015, -0.0003306308, 0.0199121814, 0.0718568712, 0.0316829123, 0.0176856462, -0.0583665296, 0.0344172455, -0.0125293909, -0.0141912, -0.0147038791, 0.052382201, -0.0213868041, 0.0433687679, 0.0034098523, 0.0042521576, 0.0456809178, -0.0013364428, 0.0009124612, -0.0534417853, 0.0019833636, 0.0069134072, 0.0434632748, -0.0312094968, -0.0170887224, -0.0244231746, 0.0262410343, 0.0664728358, 0.00931245, -0.0088438988, -0.0424226448, -0.0010982591, -0.0001113766, 0.0499050692, 0.0442447066, -0.0099587375, -0.0708134472, -0.040213529, 0.0010928826, 0.0336785056, -0.005002521, 0.0547013469, 0.014958865, -0.0183564425, -0.0027579374, -0.0170202367, 0.0210601017, 0.0114129679, -0.0543317981, 0.034417022, -0.0705476105, 0.0013901743, 0.0756641254, 0.0272222124, -0.0118056471, -0.0041332296, 0.005569757, 0.0336896703, -0.0235407781, 0.0546979494, -0.0427732877, 0.0249095727, 0.0445424877, -0.0723100454, -0.03489355, 0.0032292039, 0.0098442379, 0.006753752, 0.0256038066, -0.0186953153, 0.0252963342, -0.0272562504, -0.0139366286, -0.0322658159, 0.0276278444, -0.0121210506, 0.0318456031, -0.0028396733, -0.009604631, 0.0123521006, -0.0031128721, 0.0119730001, -0.0533736683, 0.0100447387, -0.0151429093, 0.030723026, 0.0143697606, 0.0551513508, -0.0399996974, -0.0336901546, -0.035489127, -0.0507846884, -0.0204228312, 0.0342738964, -0.0041565993, 0.0391697958, -0.0147637147, -0.0249417871, 0.0374132693, -0.0762510449, 0.0412059017, 0.0351757258, 0.0248185601, 0.0064956849, -0.0383662805, -0.0526577942, -0.0265094806, 0.0218086187, -0.0434598625, 0.0131721394, 0.0337604843, -0.0092724925, -0.0429715998, -0.0132037252, -0.0820119679, 0.0217527524, -0.0286227446, -0.0500598177, 0.0154368337, 0.0263425335, 0.0260557048, 0.0263751447, 0.0305577386, -0.0200878307, 0.0514119044, 0.0283548348, -0.0576269701, -0.0298516192, -0.0348034315, -0.0004946156, -0.0653738379, -0.0994023159, -0.0085532097, 0.0570087098, 0.0225297641, 0.0018453128, -0.057920821, 0.0436381735, 0.0161325056, -0.045857545, 0.0112858498, -0.0630906075, -0.0271162651, 0.0083166528, -0.0350714661, -0.00643116, 0.087765418, 0.0074192784, 0.0185317602, 0.0219842214, 0.001413819, -0.013436649, 0.0155011136, 0.0542760193, -0.0000905034, 0.0064360322, 0.0264515486, -0.0706226304, 0.0144596901, 0.0389135405, -0.0447720438, 0.0381207392, -0.0384551771, 0.0066869231, 0.020282913, 0.012139718, -0.0212568734, -0.0455976054, -0.0274447072, -0.0018825858, 0.0313041881, -0.0298039522, -0.0445701443, -0.0134499129, 0.0327971652, -0.0477263182, 0.0339130796, 0.0109422849, -0.0113250911, -0.0302725695, 0.0477216989, 0.0190511066, 0.030033486, -0.0310675837, 0.0346869454, 0.0066704545, -0.0195335913, -0.0084261689, -0.0307787806, -0.0105322748, 0.0254948679, 0.0116417501, 0.013353141, 0.0263538938, 0.0412429199, 0.0253979452, 0.054921452, 0.0974183977, 0.0207012594, -0.0215722173, 0.0044491799, -0.0027609421, 0.0301036965, 0.0269066505, 0.0243899859, -0.0831633583, 0.041970659, -0.0146219498, -0.005120913, -0.016101297, -0.0799181759, 0.0005978842, -0.0934040397, 0.0184911359, 0.0241811555, 0.0074887616, -0.0073134671, -0.0345490053, 0.0285978578, -0.0289759114, 0.0039954749, -0.0060887877, 0.0264361035, -0.0125512602, -0.0093059754, -0.044239141, -0.0254679434, 0.033937797, -0.0619697496, 0.115663901, 0.0161402356, 0.065767616, -0.0115902852, -0.0471003093, -0.0342805311, 0.0377351753, -0.0105985058, 0.0643261597, 0.0082892263, -0.0235214867, 0.016194405, -0.0588070564, 0.0327179953, -0.0166347045, -0.0448688604, -0.0106403353, 0.0801630318, -0.0164868962, -0.0689776838, -0.0039907983, 0.0332071632, 0.0049079256, 0.0740085021, -0.0066481535, -0.056986995, 0.0419349261, -0.0120452195, -0.0026425561, 0.0299353749, -0.0914014652, -0.0055957017, -0.0088387206, 0.0000108628, -0.0354381874, -0.0488654785, -0.0113998633, -0.0104586529, 0.0023804088, -0.0296114814, 0.0738513321, -0.0387281813, -0.0195985492, 0.0035867502, -0.0750785023, 0.0208204947, 0.0294247624, -0.0237470865, 0.0272271112, -0.0692318454, -0.0000718969, -0.0566150956, -0.0375418589, -0.0706061497, 0.0720508769, -0.0341242068, 0.0237161126, 0.0547131449, 0.0091582481, -0.0216424856, 0.0258321594, -0.0145229604, -0.0369888842, 0.0581153333, -0.0623208918, 0.0540637374, 0.0013680963, 0.0068875127, -0.0184371043, 0.0431904458, 0.0085088741, -0.0046911142, -0.0666558594, -0.121867232, 0.042684067, 0.031982217, -0.0059149237, -0.0140825817, 0.0047404873, -0.0382276773, -0.035019137, -0.0446090475, -0.0188071895, 0.0082287444, -0.0727822632, 0.0482548922, 0.0088461442, 0.0199778583, -0.0317507498, -0.028440576, 0.0235016197, -0.0025066012, 0.001723494, 0.0018969263, 0.0364568979, 0.0217084698, -0.0080591803, 0.005693987, 0.0411977842, -0.051506456, 0.0343224555, 0.0294797029, 0.0465545096, 0.0106316358, -0.0350592546, -0.0182120781, -0.0039315014, -0.0549616069, -0.0482799411, -0.0101866135, 0.0211293474, 0.0061368416, -0.0041001728, 0.0183376428, -0.0635217577, 0.0239490177, -0.0040887436, -0.0019846037, 0.0086084967, -0.0305723753, 0.0573431551, 0.0234573949, -0.0270461105, 0.0224304162, 0.0212766025, 0.0462868363, 0.0192957781, -0.036842104, -0.0474435054, -0.0122768218, -0.0103065912, 0.0021644183, 0.0105881887, -0.0687862709, -0.0151248593, -0.0796947256, -0.0392049849, -0.0148293497, 0.0484796986, -0.0137003502, -0.0307675805, 0.0148181291, 0.0444500707, -0.0292232502, 0.0226788502, -0.0237411223, 0.0130898673, -0.039121069, -0.0010170088, -0.0328255445, -5.93585011e-33, -0.0343015753, -0.0271189753, 0.0269146655, -0.0070167617, -0.0534299053, -0.0280888658, -0.0246451572, 0.0276823156, -0.0108073484, 0.0509546474, 0.0155432941, 0.0087332698, 0.014528078, -0.0395623222, 0.023020912, -0.0034517401, 0.0290366746, -0.0050176224, -0.0014954008, -0.0341336764, -0.0108309733, -0.0220591202, 0.010839927, -0.0996467024, 0.0342556834, -0.0222255606, -0.0202893596, -0.0132695595, -0.007771702, 0.0204789992, -0.0236925706, 0.0174379367, 0.0216447152, -0.0097503476, 0.0011799698, 0.0860242099, -0.0008126686, -0.0273795314, 0.0496285856, -0.0044994741, 0.0032682742, -0.0221816022, -0.0007340906, -0.0215152372, -0.056015674, 0.0304735769, 0.0608858652, -0.0146014709, 0.0399188548, 0.0254342165, -0.0582711697, -0.008323892, 0.0091000041, 0.0323545001, -0.0402971171, -0.0140203694, -0.0313745663, 0.0180360172, -0.0530756265, 0.0498840213, -0.0288145076, -0.0273840874, 0.0410401225, 0.0318483375, 0.0403376669, 0.0846382976, 0.0362672545, 0.0261012558, -0.1036287397, -0.047425095, 0.0306719076, 0.0016304499, 0.0187909491, 0.1200307384, -0.017062692, 0.0065588909, -0.0347805768, 0.0067278766, 0.0393928774, -0.0055774837, 0.0404205136, 0.0315124094, -0.0175379608, -0.0197053812, -0.0241764374, 0.0262688287, -0.003483962, -0.0504766069, -0.0275211465, -0.0213159025, -0.0156754516, -0.0049343747, 0.0167266056, -0.0522784293, -0.035435427, 0.0039729914, -0.0106752003, 0.0007133465, -0.0132550132, -0.0083395494, -0.0942009464, -0.0095272455, -0.001268295, -0.0014040758, 0.0175241288, 0.0531584844, -0.0402782708, 0.0036648724, -0.0386528224, -0.0179657862, 0.0006939732, -0.0556700826, 0.0155572761, -0.039938733, 0.0574942231, 0.0004242183, 0.0077255913, -0.0606440231, 0.0385409407, -0.0305437688, 0.002688779, 0.0179677512, -0.0345838629, 0.0067590326, -0.0187851302, 0.00985076, -0.0660090372, 0.0062939371, 0.0270188935, -0.0258911289, -0.0199759547, 0.0000626823, 2.704e-7, 0.0022875306, 0.0512789823, 0.0054710116, -0.0027288268, 0.0271990746, 0.031514965, -0.0009480719, 0.0142143257, 0.0604667738, -0.0973394364, 0.0451022647, 0.0303706899, 0.001266291, 0.0412367061, -0.0815346465, 0.0213124715, -0.0278546102, -0.0061570294, -0.0004620863, 0.0250904299, 0.0283906963, 0.0516726412, 0.0612734705, 0.0227524582, -0.0232963581, 0.006617255, 0.0392310768, -0.0490456484, -0.0463902652, 0.025846431, -0.0194763802, -0.0469781496, -0.0073899534, 0.0668028817, 0.0352941081, 0.0119035728, -0.0163936932, 0.0140098501, -0.0197927952, 0.0364451669, -0.050314825, -0.0357672162, -0.0179985147, -0.0281128883, 0.0198954865, -0.0675623715, -0.055881504, -0.0140958242, -0.0536056086, -0.0189318378, -0.0112273116, 0.0137544079, 0.0009337119, -0.0081669074, 0.0206613149, 0.0251351967, -0.0020022974, -0.029529294, 0.0158843473, -0.016390983, -0.0674376264, -0.0794510692, 0.009593972, 0.006656114, 0.0270705391, -0.0188065544, 0.0365477689, 2.112861326e-34, 0.0198552832, 0.0371798575, -0.0009343564, -0.0383985005, 0.0436286926, 0.0010985646, -0.0044107023, 0.0440752693, 0.0534723252, -0.0719488189, 0.0117038302 ]
http://arxiv.org/abs/2406.17231v1
http://arxiv.org/pdf/2406.17231v1
CogMG: Collaborative Augmentation Between Large Language Model and Knowledge Graph
"2024-06-25T02:37:12"
"2024-06-25T02:37:12"
Tong Zhou, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL
Large language models have become integral to question-answering applications despite their propensity for generating hallucinations and factually inaccurate content. Querying knowledge graphs to reduce hallucinations in LLM meets the challenge of incomplete knowledge coverage in knowledge graphs. On the other hand, updating knowledge graphs by information extraction and knowledge graph completion faces the knowledge update misalignment issue. In this work, we introduce a collaborative augmentation framework, CogMG, leveraging knowledge graphs to address the limitations of LLMs in QA scenarios, explicitly targeting the problems of incomplete knowledge coverage and knowledge update misalignment. The LLMs identify and decompose required knowledge triples that are not present in the KG, enriching them and aligning updates with real-world demands. We demonstrate the efficacy of this approach through a supervised fine-tuned LLM within an agent framework, showing significant improvements in reducing hallucinations and enhancing factual accuracy in QA responses. Our code and video are publicly available.
[ 0.0493960641, 0.0212399028, -0.0155193396, 0.0723815635, -0.0211349856, 0.0106620574, -0.0471639894, -0.0075678537, 0.0599286854, -0.0406312793, -0.0114429556, 0.0111985439, -0.0341638029, 0.0227849651, 0.0254303049, -0.020192232, 0.0506736636, -0.0275738109, -0.0080832103, -0.0449873097, -0.0042277128, 0.0330403782, -0.0226765387, -0.0042239297, -0.0018861479, -0.0460965335, -0.0077307485, -0.0038122605, 0.0067919074, -0.0048780884, -0.0149369715, 0.0241115522, -0.0004645178, 0.025787808, 0.0000019398, -0.0485680625, 0.0168829076, 0.0055763824, -0.0679648295, 0.0046615768, -0.012144004, 0.0081609292, 0.0331870951, 0.0035203309, -0.0872081742, 0.0160001609, 0.0066612544, 0.0324083678, 0.0588117912, 0.0715481639, 0.0124131264, 0.0082572578, 0.016379185, 0.0009148542, 0.0582725853, -0.0545154288, 0.0492495932, 0.0653522089, 0.0684418753, -0.0111795366, -0.0364065729, 0.0465667173, 0.0019760721, -0.0195609648, 0.0562606044, 0.019612249, -0.0519156568, 0.0108665712, 0.0081507126, 0.0950272009, 0.010159852, 0.0138365766, -0.0094423508, 0.0122192819, 0.0344513059, 0.0369419828, -0.0434586667, -0.0138078099, -0.0185787976, -0.0131034842, -0.0298048779, -0.0674163848, 0.043025557, 0.0183486231, -0.0282550473, 0.1146927997, 0.008997567, -0.0152377738, 0.0050949133, 0.0165418722, -0.0187198129, -0.0638317689, -0.0057369769, 0.0771468133, -0.0581089444, 0.0326109193, -0.0115981735, 0.0011432333, 0.045175612, -0.0491577052, -0.0130247353, -0.0071869814, -0.0131116901, 0.068067126, -0.0214155931, 0.0175682586, -0.0208370611, 0.0384073816, -0.0667821318, -0.0301392563, -0.0428200811, -0.0362759344, -0.0443644151, 0.0686430559, -0.0249918923, -0.0217066016, -0.0322423428, 0.0523767658, -0.0335601307, 0.0538992546, -0.0006235963, 0.0586145967, 0.0045571392, -0.0466678254, -0.0386830121, 0.0544055849, -0.0410861745, 0.0284017846, 0.0159183089, -0.0383870266, -0.0125472378, 0.005097216, 0.01214989, -0.0050883899, 0.0027761699, 0.0546532869, 0.0184466839, -0.0019777911, -0.0103247035, -0.0427789986, -0.0111138755, -0.0431224033, -0.0243911501, -0.0571994036, 0.0401493236, 0.0020243158, -0.0316323042, -0.0215804633, 0.0457774438, 0.0018585647, -0.0547079369, 0.0675321072, -0.0805313066, 0.0264309477, 0.0443716384, 0.0159795377, -0.0343806259, 0.0705897734, 0.0200585648, -0.0019038469, 0.0649922639, -0.0062718745, 0.0393834785, 0.0175107848, -0.0004402648, 0.0194816086, 0.0275413189, 0.0325308517, 0.0057275984, 0.0397531316, 0.0001388587, 0.0133451577, -0.0223448202, -0.022619402, 0.04420707, 0.0090211397, 0.0080563305, 0.0002775441, -0.0041953805, 0.0054987608, 0.0039804685, 0.0356833637, -0.0458304137, 0.0365366638, -0.0567392334, 0.0210345127, 0.0208076555, 0.0388112739, -0.0217378177, -0.0220063254, 0.0052891248, 0.000712473, 0.0485887118, 0.0384127274, 0.0311454535, 0.0120111657, -0.0089581953, 0.0342284068, 0.0252931491, -0.0091596376, 0.0346446075, -0.0195658412, 0.017074842, 0.0904867947, 0.0633630753, -0.0472432487, -0.1000469849, 0.0124624288, 0.002921249, 0.01567051, 0.024554994, -0.0295448601, -0.0061044553, -0.0430890098, -0.0310069583, -0.0278750341, -0.0019002623, -0.0046248054, 0.015717186, 0.0095603941, 0.011225543, -0.0731079206, -0.0256622415, 0.0144293914, -0.0339747928, -0.0074327029, -0.012087849, -0.0083436845, 0.0038359945, 0.0325755365, 0.0193653721, 0.0254910532, 0.0271625593, -0.034473259, -0.0589545295, 0.0072084684, 0.0102604544, -0.059126284, 0.0646321476, -0.0043433909, -0.0298554078, -0.0133048659, -0.0481558032, -0.0382753722, 0.020106459, -0.0145559926, 0.0522934236, -0.041793976, -0.0064350683, 0.0277053714, -0.0035081676, -0.0148207908, 0.0594716258, 0.012645375, -0.010763335, 0.0242087469, 0.006043727, -0.0139319096, -0.0084217787, 0.0222570021, 0.024521837, 0.0238747038, 0.0289179161, -0.0003246497, -0.0545267537, -0.0998183563, -0.0039726524, -0.0967458412, 0.0135197956, -0.008833711, 0.0138361361, 0.0230312422, 0.0143332751, -0.0085978368, -0.0248563085, -0.0644985884, 0.0461983792, 0.0325334854, 0.0257632639, 0.0059263962, 0.0338351801, 0.0107776159, -0.0245945323, 0.0188625026, -0.0046731168, 0.0213946868, 0.0273305569, -0.0260586143, -0.0860403255, 0.0128473882, -0.0735923797, 0.0315475427, -0.0060155871, 0.0017733277, -0.0115871485, -0.0203200206, -0.0067368783, 0.0338477567, -0.0013419221, -0.0076726018, 0.0507414341, -0.0191675201, -0.0468168631, 0.0184861794, -0.0252198465, -0.027568398, -0.0537001267, 0.0056418385, 0.0174700916, -0.0119142858, 0.0007615324, -0.0276567712, -0.0556047559, 0.0034382425, -0.0200637933, -0.0255433656, 0.0023301726, -0.0349524468, -0.0139600923, 0.0109976716, -0.0317628309, 0.0110370461, 0.0893170163, -0.0110031497, 0.0000507, -0.0201719068, 0.0013484631, -0.0426826514, 0.0457546189, 0.0047131944, 0.0237259418, -0.0528424159, -0.0220577791, -0.0502409935, -0.0249403436, -0.0123612387, -0.0550109744, 0.0270164125, -0.0325430296, 0.019819105, 0.0220331065, -0.0100092208, -0.0547009669, -0.0373212807, -0.0238655545, 0.0206307024, -0.0311057717, -0.0080079343, -0.0043409565, -0.0405051112, 0.0108137745, -0.0106524704, -0.0181921348, -0.005671409, -0.0319493823, 0.0257973578, 0.1029231399, 0.0409034118, 0.0159677248, -0.0176573023, 0.0231841505, 0.0861351639, 0.0374283083, -0.022362927, 0.0014786135, -0.0283100177, 0.0069349254, -0.058422707, -0.0001680621, -0.0211046338, 0.0502503775, -0.0479676761, 0.0144549189, 0.101598978, 0.0222933777, -0.0507945605, 0.0068527772, -0.0498889163, 0.0040808548, 0.0358807407, 0.0450264961, -0.1231695116, -0.0084149232, -0.03308345, 0.0296698045, 0.0298288278, -0.0513774753, 0.0131553663, -0.1155926809, 0.0250035282, 0.0295170005, 0.0179008245, -0.0535314903, -0.0113191335, 0.0490755923, 0.0344409496, 0.0077358433, 0.0094007971, -0.007852857, -0.0133857429, 0.032058984, -0.0082052611, -0.0107707232, 0.0170814153, -0.0222910922, 0.0695826411, 0.0451494232, 0.0173686557, -0.0100427307, -0.0342558995, -0.0044262419, 0.0094303237, 0.0260875318, 0.019665258, 0.0389309861, -0.0003682134, 0.002830554, 0.0134098977, 0.0258767679, -0.0431268439, -0.0133981304, 0.0442013629, 0.111883536, -0.0412202924, -0.0338757932, 0.0138347931, 0.0217877999, 0.0107392492, 0.0525706299, 0.0233205762, 0.0005958064, -0.011470844, -0.0244465973, 0.0040518665, -0.0244237967, 0.0026823769, 0.0538334027, 0.0006441211, 0.0473877005, -0.0746555775, -0.0740617439, 0.0892475471, -0.0034026394, 0.0079612667, 0.0633389056, 0.0170748681, -0.038704142, -0.0040460783, 0.0157121513, -0.0737773702, 0.0104695829, 0.0189966727, -0.0053578485, -0.0015788784, -0.0311710313, 0.0111714136, -0.0156478621, -0.0626605898, -0.0902077183, 0.0115562892, 0.0182199571, 0.0215345658, 0.0793512836, -0.0510062166, -0.0328408182, 0.0440884158, 0.0375570431, -0.036829032, 0.0382380933, -0.001978057, -0.0117669934, -0.0062612598, 0.0488799326, -0.0887327343, -0.0324995816, -0.0146980314, 0.074026987, -0.0582710765, -0.0653536543, 0.0232532192, 0.0385211334, -0.0262847394, 0.0194371417, 0.0401604511, -0.0231958143, 0.0328744575, -0.0146260476, -0.022741193, -0.0082715973, -0.0295752622, 0.0164050199, -0.068110168, 0.052088026, -0.0355623737, -0.0294574983, 0.0196855944, -0.050444141, -0.0359745137, 0.0006677943, -0.0459827408, 0.0651182309, 0.0117508462, -0.0174445938, 0.0245877057, 0.0220497753, 0.0403869376, 0.001986084, 0.0452252328, 0.0270722881, -0.0377078466, -0.0488363914, 0.0072417459, -0.0467692018, -0.1069346741, 0.0003818697, 0.0556464419, 0.0471864715, 0.005694312, 0.0523913354, -0.0341798216, -0.0236217324, -0.0032203489, -0.0102226483, 0.0100956662, -0.0315792412, 0.0268452503, 0.0303529799, -0.0188284367, 0.0192783903, 0.0829960778, -0.0446696728, 0.0864323378, -0.0046044067, -0.016698163, -0.0229434054, -0.0648822188, -0.005475265, 0.016734926, -0.0399761945, -0.0013577185, -0.0405961946, -0.0826275945, 0.0094406586, -0.013399126, -0.0500677489, -0.01666536, 0.0272497758, 0.0487241521, 0.0340398364, -0.0255603865, -0.0417155959, 0.0359042324, -0.0212026294, 0.0045269146, 0.0356179997, -6.555250042e-33, -0.0208192244, -0.0530632101, 0.0461663194, -0.0075628287, -0.0551190749, -0.0084040761, -0.002776739, 0.0146731781, -0.0341689028, 0.0328739993, -0.006786054, 0.0317683741, -0.0031766009, 0.0147205861, 0.0191014558, -0.0305030085, 0.0152777694, 0.0060537155, 0.0015733397, 0.0290721022, 0.008689357, 0.0323547833, 0.0454966351, -0.0639563054, 0.0417379811, -0.0211319625, 0.0041574887, 0.0340234376, -0.0243458692, 0.0414713584, -0.0167272501, 0.0734080449, 0.0202473886, -0.0046421639, -0.006466303, -0.0150709525, -0.0580635928, -0.0431823097, 0.0356560014, 0.0196146704, -0.0672382116, -0.0328757055, 0.0415317267, -0.0009124934, 0.0451748073, -0.0119253853, 0.0300907809, -0.0509988926, -0.040844176, 0.0083090831, -0.0397314541, 0.0021185293, 0.0092803314, 0.0010431703, -0.0184157714, 0.0123333661, 0.0003666852, -0.0202383623, -0.0583658777, -0.0016288275, -0.0007286437, 0.0081137754, 0.0570797436, -0.0025515223, 0.0097137457, 0.0522257388, -0.0109225735, 0.0352393948, -0.0645238534, 0.0079835923, -0.0364902429, 0.0569539852, 0.0033190332, 0.0258726142, -0.0212197807, -0.0083231898, -0.0370666459, 0.0083142454, -0.0225337092, 0.0461820737, 0.0079933871, 0.0051352489, -0.020538412, -0.0180140659, -0.0260587223, 0.0524489693, -0.0336848684, -0.0520022735, 0.0144378645, -0.0104396697, -0.020613838, 0.016362207, -0.0209174491, -0.0657073036, -0.0020088581, 0.0179548077, -0.0105234627, 0.0017720766, -0.0012034777, 0.0231011603, -0.0056765587, 0.003415629, 0.0177307334, -0.0250865053, 0.0012558108, 0.0480733626, 0.0092810737, -0.0119111165, -0.0364112705, 0.0079746656, -0.0372128561, 0.0124538532, -0.001729147, -0.0458760932, 0.0245792884, 0.0401573181, -0.0088766199, 0.0285490062, 0.0505211093, 0.0397826359, 0.0071330369, 0.0068392525, -0.0008273273, -0.0159883928, -0.0382854231, 0.0080673164, -0.0291636419, -0.0064054942, -0.0076147686, -0.0440481715, -0.014179376, -0.0083547747, 2.81e-7, 0.0492269695, 0.0462150238, 0.0197637659, 0.0297134351, 0.0110952966, 0.0190666076, -0.0101071578, 0.0062665944, 0.0379480273, -0.0487650521, 0.0281987134, 0.0514975823, 0.0068307435, 0.050820969, -0.0602567717, 0.0179881044, -0.0371499993, -0.0278603863, -0.0714563876, -0.0331326798, 0.0471806973, 0.0377971195, 0.0335477777, -0.0023208433, -0.0216079298, -0.0906502157, 0.0476546064, 0.0129545145, -0.0381557047, 0.0383670181, 0.0672170371, 0.0154321454, 0.0079264175, 0.0573680885, 0.0001624753, -0.0135073448, 0.0104471985, 0.0218917578, -0.0350462608, -0.0381781869, -0.0293494873, -0.0408455841, 0.0523329042, -0.0452163294, 0.0776378587, -0.0272187162, -0.0127081182, -0.0050648027, -0.064637132, -0.0285478123, -0.0012291139, -0.0280778762, 0.0127412025, 0.0019588505, 0.0127463713, 0.0230713952, -0.0238248892, -0.0393086597, 0.0042149848, 0.0036547827, -0.0402576216, -0.0431084707, 0.0119661232, -0.0001596255, -0.013194656, -0.0512944274, 0.0400893614, 2.29402521e-34, 0.0124423616, 0.0316314399, 0.0108137513, 0.0332390368, 0.0266615693, -0.0075098337, -0.0243332721, 0.0159395393, 0.0098971231, -0.1154351532, -0.0067610936 ]
http://arxiv.org/abs/2406.17224v1
http://arxiv.org/pdf/2406.17224v1
Large Language Models are Interpretable Learners
"2024-06-25T02:18:15"
"2024-06-25T02:18:15"
Ruochen Wang, Si Si, Felix Yu, Dorothea Wiesmann, Cho-Jui Hsieh, Inderjit Dhillon
cs.AI
cs.AI, cs.CL, cs.CV, cs.LG, cs.SC, 68T05
The trade-off between expressiveness and interpretability remains a core challenge when building human-centric predictive models for classification and decision-making. While symbolic rules offer interpretability, they often lack expressiveness, whereas neural networks excel in performance but are known for being black boxes. In this paper, we show a combination of Large Language Models (LLMs) and symbolic programs can bridge this gap. In the proposed LLM-based Symbolic Programs (LSPs), the pretrained LLM with natural language prompts provides a massive set of interpretable modules that can transform raw input into natural language concepts. Symbolic programs then integrate these modules into an interpretable decision rule. To train LSPs, we develop a divide-and-conquer approach to incrementally build the program from scratch, where the learning process of each step is guided by LLMs. To evaluate the effectiveness of LSPs in extracting interpretable and accurate knowledge from data, we introduce IL-Bench, a collection of diverse tasks, including both synthetic and real-world scenarios across different modalities. Empirical results demonstrate LSP's superior performance compared to traditional neurosymbolic programs and vanilla automatic prompt tuning methods. Moreover, as the knowledge learned by LSP is a combination of natural language descriptions and symbolic rules, it is easily transferable to humans (interpretable), and other LLMs, and generalizes well to out-of-distribution samples.
[ 0.0300083533, 0.0578305572, -0.0282202866, 0.0477545448, -0.0082585514, 0.0192544181, 0.0150894495, 0.0280768368, 0.0091356477, -0.0359922722, -0.022920128, 0.0102984058, -0.0414267965, 0.0690258667, 0.0147561431, -0.0320696644, 0.0387847498, -0.0310786758, 0.0338391364, 0.0290374607, -0.0340665728, 0.0127519676, 0.004812168, 0.0411955044, -0.0209729038, -0.0050681653, -0.0249316953, -0.0003968818, 0.006049287, -0.0233630054, -0.0290078893, 0.0174019039, 0.0773680508, 0.0290782414, 0.0000022751, -0.0443399623, -0.0000849185, -0.008472125, -0.0718814507, 0.0011853931, 0.0264581367, -0.0345674679, 0.0161084682, 0.0072555682, -0.0279890206, 0.0086089056, 0.0340758301, 0.0235090721, 0.0768978074, 0.0751673952, 0.0108968336, -0.008113713, 0.0300504565, 0.0167478081, 0.0190281663, -0.0006508764, 0.0214055926, -0.0069672582, -0.0274998061, -0.0162663441, -0.0183328241, 0.0110454606, 0.0470531508, 0.0107044624, 0.0088098701, 0.0280240308, -0.0076742657, -0.0117816553, -0.0400713533, 0.0905596763, -0.0462807938, -0.0169475675, 0.0018356984, -0.0316260643, 0.0099885752, -0.023606522, -0.0211531445, 0.0391274206, 0.0036612828, 0.0268468652, 0.0098437183, 0.0264455955, 0.0568399429, 0.0202210248, -0.0514519215, 0.0588102639, -0.0281598717, -0.0183281898, 0.0371764749, -0.0376086794, -0.0275270473, -0.0205807947, 0.0389443897, 0.0533457771, -0.0462760888, 0.0453960188, -0.0206224732, 0.006494801, 0.0027574026, -0.0557383671, 0.068125166, 0.041698169, -0.0010812668, 0.0460609868, -0.0334181488, 0.0449774414, 0.0158514027, 0.0620242804, -0.0454979651, -0.0056269336, -0.0762851536, -0.0196363088, -0.0165598188, 0.0286633894, -0.055520501, -0.0214592963, -0.0213549491, 0.0247822125, -0.0237230845, 0.0263001788, 0.0179966893, 0.0116150267, -0.0153300697, -0.0082011037, -0.0510841236, -0.0141588096, -0.0246676244, 0.0071781743, -0.0172430612, -0.0303510725, 0.0020774228, 0.001866994, -0.020360399, 0.0013749436, 0.0219828859, 0.1158153415, 0.0076246178, -0.0392673314, -0.0584520847, -0.037181031, 0.0285719242, -0.0444434173, -0.0069708461, -0.0294933338, 0.0458795018, -0.0048462222, -0.0062202602, -0.0719866306, 0.0062742536, 0.0069265594, 0.0236216951, 0.0760972351, -0.0011913349, -0.0110004116, -0.0003119515, -0.0047086659, -0.0362193324, 0.0353581049, 0.0380234458, 0.0665339977, 0.0009904391, -0.0211794898, 0.0065457206, 0.0282461252, 0.0037289213, -0.0020451713, -0.0729805008, 0.0057037203, -0.0108834347, 0.0548111871, 0.025265554, 0.0269247461, -0.0081479186, -0.027590178, 0.0560957715, 0.043458201, 0.0335498601, 0.0012335764, 0.0785047635, 0.0364710838, 0.0232616924, -0.0835241228, -0.0931359753, 0.0078031528, -0.0236098506, -0.0201886147, -0.0551298968, 0.007451334, 0.0113342945, -0.0688051954, 0.0138459364, -0.0180781428, 0.0313571133, 0.0351225734, 0.0690854639, -0.0294257663, -0.042302575, 0.0492248833, 0.0415210947, 0.0063315486, 0.0054204529, -0.0600854494, 0.0545766763, 0.0912289619, 0.0109444745, -0.056249354, 0.0342940465, -0.031539429, -0.0250488836, 0.0150594208, 0.0026806274, 0.0004773985, 0.03476125, -0.0418004729, -0.0312793031, 0.0086464612, 0.008016197, 0.0430050455, -0.0095780045, -0.0151627613, -0.0013700881, -0.0261709616, -0.046900861, 0.0654833838, -0.0229571927, -0.0573382527, 0.0164360013, -0.0006144361, 0.0496408641, 0.0068220901, 0.0073073814, -0.0050085899, 0.0241331626, -0.0465330705, -0.0445295833, -0.0161051527, -0.0561240353, -0.0192331113, 0.0302593987, -0.0173456669, -0.0032726668, 0.0284977797, -0.064482905, -0.0290910359, 0.0134491054, -0.0550498143, 0.0053129178, -0.0310829282, -0.0141263548, 0.010139714, 0.0050338195, -0.0459369309, 0.0398699082, -0.005328299, -0.0383948311, 0.0345486924, 0.0048742499, -0.0113294227, -0.0114588374, 0.0016985803, 0.0099736005, -0.0151662724, 0.0006323391, -0.0188741684, 0.0186582208, -0.0258821603, 0.0066783121, -0.0644588023, 0.0143832359, -0.0058997129, -0.0092575308, 0.0016588796, -0.0453918912, -0.0080685122, -0.0206376128, -0.0283612423, 0.0307565685, -0.0199574567, -0.0050870935, 0.040758457, 0.0248380266, -0.0495131016, -0.0164274275, -0.0198639464, -0.0371841192, 0.0714721009, 0.014612617, 0.0145662623, -0.0788256079, 0.0176564641, 0.0119993193, 0.0243742298, -0.0147938803, -0.0187654719, -0.0018460531, -0.0207116585, -0.0550649688, 0.0543762818, 0.004032799, 0.0528060161, 0.0375597849, 0.0026750132, -0.0899178162, 0.0141675882, -0.0046331696, 0.0105546014, -0.0374861807, -0.0466220751, 0.0378279909, 0.0820354447, 0.0393565744, 0.0048158891, -0.0580742434, 0.0452281758, -0.0093561169, -0.055034101, -0.0832314789, -0.0085746031, -0.0154939741, 0.0418540202, 0.0086345226, -0.0755775124, 0.0826443657, 0.009975276, 0.0024312269, -0.0142534934, -0.0719306991, -0.0576509275, 0.082572028, 0.0146456556, 0.0090933694, 0.0191259794, -0.0284547787, -0.0316515155, -0.0203756578, -0.0302588977, -0.0219995845, 0.0545076393, -0.0690826178, -0.0159968995, 0.0132984547, -0.0111741191, -0.0463776439, -0.048920691, -0.0333754346, 0.0064863185, 0.0080798026, -0.0222960152, 0.0029759342, -0.0241599567, 0.0087416889, 0.0271917228, -0.0020371387, -0.0281785559, -0.0341690816, -0.0289469119, 0.0141620617, 0.016419556, 0.0303260013, -0.0167013854, 0.0201415867, 0.0287070293, -0.0317343883, -0.0032540106, -0.0709419399, 0.0379747413, -0.0088475691, -0.0609042682, 0.0054802271, 0.0597356781, 0.0258896835, -0.1152704656, 0.0035093431, 0.1124260202, 0.0339210518, -0.0264891963, 0.0339146592, 0.0004761652, -0.0340407453, 0.026918713, 0.0310982931, -0.0797333792, -0.0555135459, 0.0028119811, 0.0170359351, -0.0214926433, -0.0407946818, -0.0213759765, -0.0862844661, 0.0126310205, 0.0030805594, -0.0816749632, -0.0088793319, -0.0461854823, -0.0461210869, -0.0311693791, 0.0047654761, 0.031720344, -0.0211990941, 0.0010850013, 0.0000294427, -0.0212374851, -0.0117021017, 0.0674191341, -0.0099740168, 0.0370997787, 0.0317051411, 0.0120690018, -0.0297315065, -0.0243632682, 0.0334542207, -0.0110275764, 0.0300591178, -0.0240039006, 0.0259067286, 0.0142793264, -0.0092517324, -0.0260058939, 0.0395081826, -0.0629963428, -0.0196492895, 0.0138829667, 0.0883515328, -0.026558565, -0.0245220251, -0.0193823371, -0.0136727924, 0.0244518947, 0.0812975541, 0.0249005836, -0.0539865643, -0.0507135876, -0.0351410843, -0.0263748057, -0.0094750402, -0.0412850343, 0.0132248597, -0.0147725744, -0.0091428552, -0.0473585613, -0.0326605402, 0.0342694782, 0.0090948371, 0.0261503328, -0.010838843, 0.0097270031, -0.0160847697, -0.0465845279, 0.0689985901, -0.026705442, 0.0317896754, -0.0246109199, -0.0098261004, 0.0132532753, -0.0507970341, -0.0463744849, 0.0214972459, -0.0368036926, -0.0259364191, -0.0093134716, 0.0864782631, 0.0263409391, 0.0199356712, 0.005429009, -0.0256456528, 0.0514177307, 0.0485194884, -0.0129699791, -0.0336595811, 0.0363578796, 0.0511324331, 0.0088387392, 0.0257266667, -0.0372825116, 0.0370404199, 0.0181495696, 0.0065888474, -0.037599273, 0.0128942812, 0.0353129469, 0.0228779223, 0.0149137694, -0.0102815572, -0.0619975254, -0.0309027676, 0.0046075094, -0.0128334723, -0.0011356168, -0.0532552786, 0.0145546161, 0.0278172418, -0.0083917631, -0.0030310568, -0.065310806, 0.0011962883, -0.0089411056, -0.0083058551, 0.0098400768, 0.034730006, 0.0376238413, 0.0167334247, 0.0053092157, -0.0279985443, 0.0355366059, -0.0224189125, 0.0330702886, 0.0142039638, 0.0647221729, 0.0195003115, 0.0047521521, -0.083386369, 0.013478823, -0.0320144147, -0.0666261315, 0.0131004471, 0.0184835065, 0.0151764862, 0.0299754217, -0.0189088229, -0.0363893807, 0.0218118057, -0.0013288958, 0.0261478983, -0.0055525866, -0.0130312229, 0.0471992493, 0.0353068449, -0.0245098323, -0.0352477171, 0.0509051532, 0.0008392938, 0.0416226313, -0.0012422582, -0.0027785557, -0.0597322509, 0.009766533, 0.0360839553, 0.0148423351, -0.0341596827, -0.0065732077, -0.0484094471, -0.043364279, 0.0301057454, 0.050200358, 0.0178688411, -0.0142927198, 0.036839135, 0.0182030741, -0.0099703465, -0.0403883494, -0.0270365719, 0.0112056099, 0.0084259463, -0.0296486467, -0.0399668925, -6.309443888e-33, -0.0040528565, -0.0157306138, 0.03123012, -0.0001231017, -0.0157261603, -0.0098358644, -0.0325279832, -0.0306601897, 0.0234320275, 0.0188152995, 0.0030814996, -0.0023920874, 0.0139573896, 0.0099599976, 0.0167048499, -0.0563857108, 0.0399777591, 0.0123432642, 0.009026506, 0.009777463, 0.0803813115, 0.0524344705, 0.0468901433, -0.0666302443, 0.0377390124, 0.0483042002, -0.0024193819, 0.0239499472, -0.0331054069, 0.0286694262, -0.0147904223, 0.0541484393, 0.0258159488, -0.0573107153, -0.0161337815, 0.0280817281, -0.0479271486, -0.0331438817, 0.0238888729, 0.0178749468, -0.0239879601, -0.0301824044, 0.0786305517, -0.0177673995, -0.0118283927, 0.0009427049, 0.0240539629, -0.0544013567, 0.003571491, -0.054287605, -0.0461047925, 0.0101599405, -0.019138325, -0.0024578532, -0.0069748671, 0.0415742137, -0.0306851305, 0.0464452542, -0.0568755828, -0.0209152568, 0.0281276535, -0.0118910372, 0.0452237874, 0.0173841808, 0.0104025519, 0.0595341213, 0.0506407693, -0.0510635488, -0.0239629317, 0.012509061, 0.0270566251, 0.063659057, 0.0538916811, 0.0246923696, 0.0632372275, 0.0025438999, -0.0770286471, 0.0158140603, 0.0214131661, 0.0397741646, 0.0218353383, 0.0299299713, -0.0544689037, 0.0028813907, -0.0457464494, -0.0073936302, -0.0322898068, -0.0272358917, 0.0491959453, -0.0102270423, -0.02115798, -0.0111010764, 0.0200233236, -0.0488269925, 0.0080791702, 0.0243895259, 0.0221555252, 0.0095384903, 0.0056102723, 0.0000143207, -0.040692728, -0.0626171157, 0.0189654585, -0.0526712015, 0.0578481071, 0.0019111125, 0.0259929132, 0.0399604626, -0.0276124608, -0.004376397, -0.0388129354, 0.0013112803, 0.0162126347, 0.0407892875, 0.0391228497, 0.0142865684, -0.0248230025, 0.0241571181, -0.0188108254, -0.0318687186, 0.0024323198, 0.0298303552, -0.0075195376, 0.0208480097, -0.0244432949, -0.0135115311, -0.0167574473, 0.0046219872, 0.0449722297, -0.0695321262, 0.0069240546, 0.0233526062, 2.91e-7, 0.0210988373, 0.0534656234, 0.0055666231, 0.0403097309, 0.023533931, 0.0458356254, -0.0133570172, 0.0264301877, -0.0061640907, -0.0393115543, 0.0235914774, 0.0451492816, 0.0301053748, 0.0122801736, -0.0714415833, 0.003613964, -0.027542565, -0.014804366, -0.0764572844, 0.0362268575, 0.0808896422, 0.1213050559, 0.0482900925, -0.0288221203, 0.0512044877, -0.0197275113, 0.024102034, -0.0895472765, 0.0227344837, -0.0124464519, 0.0285746865, -0.0183616672, 0.0216843206, 0.0537837408, 0.0001753318, 0.0362032838, -0.0327609666, 0.0869571269, 0.0015908459, 0.0059232498, -0.0161543954, -0.0262796767, -0.0007526515, -0.0365968943, 0.0613009818, -0.092072852, -0.0352881514, -0.0325836204, -0.0057419166, -0.0607508458, 0.0186330415, -0.0223396122, 0.0358080305, 0.0277186893, -0.0097230794, -0.0305145755, 0.0106098885, -0.0552001558, -0.0266790204, -0.0044524097, -0.0563040562, 0.0020799018, -0.0628976673, 0.0329748355, 0.0337846875, -0.0670824796, -0.00607133, 2.648846343e-34, 0.0265812352, -0.0151543859, 0.0145498393, 0.0333476551, 0.0356236622, 0.0281178448, -0.0609721467, 0.0282074362, 0.0385117456, -0.0661156848, -0.0012921931 ]
http://arxiv.org/abs/2406.17213v1
http://arxiv.org/pdf/2406.17213v1
Detecting Frames in News Headlines and Lead Images in U.S. Gun Violence Coverage
"2024-06-25T01:56:47"
"2024-06-25T01:56:47"
Isidora Chara Tourni, Lei Guo, Hengchang Hu, Edward Halim, Prakash Ishwar, Taufiq Daryanto, Mona Jalal, Boqi Chen, Margrit Betke, Fabian Zhafransyah, Sha Lai, Derry Tanti Wijaya
cs.CL
cs.CL
News media structure their reporting of events or issues using certain perspectives. When describing an incident involving gun violence, for example, some journalists may focus on mental health or gun regulation, while others may emphasize the discussion of gun rights. Such perspectives are called \say{frames} in communication research. We study, for the first time, the value of combining lead images and their contextual information with text to identify the frame of a given news article. We observe that using multiple modes of information(article- and image-derived features) improves prediction of news frames over any single mode of information when the images are relevant to the frames of the headlines. We also observe that frame image relevance is related to the ease of conveying frames via images, which we call frame concreteness. Additionally, we release the first multimodal news framing dataset related to gun violence in the U.S., curated and annotated by communication researchers. The dataset will allow researchers to further examine the use of multiple information modalities for studying media framing.
[ -0.0104271257, 0.0360665992, -0.0096445056, 0.0035464738, -0.0411866829, 0.0277061276, 0.01948121, 0.008579866, -0.0271997601, -0.0779227614, 0.0295252483, -0.0010455997, -0.0071551292, 0.0346088819, -0.0314890258, -0.0874440223, 0.0425752886, 0.0515437648, 0.0576773509, 0.0485951081, 0.0463205352, 0.0384751223, -0.0327499546, 0.0336734466, -0.0543854684, -0.0114668803, -0.0186589807, 0.0189485811, 0.036605835, -0.0510263517, -0.0370481424, 0.0281447563, 0.0601543449, -0.0214297473, 0.0000016235, -0.0041838768, 0.0268121678, -0.0380241685, 0.023173837, -0.0244372971, 0.0471947305, -0.1148287132, 0.0120576099, -0.022411583, -0.020117538, -0.0771509111, 0.0294289701, 0.0567363799, 0.0316811875, 0.0329601429, -0.0223322064, -0.0336724557, -0.017244814, -0.0029376666, -0.0082461173, -0.0008139576, 0.0132920379, -0.0009272072, -0.0267287288, 0.0250023603, -0.0240210332, -0.0013412337, -0.0070065251, -0.0027906038, -0.0773366764, 0.0107441489, -0.0042587877, -0.0308666639, 0.0312845632, 0.0511145853, 0.0577954017, -0.0275521073, 0.0111298738, -0.0234876238, 0.0031993822, 0.0441595651, -0.0448790416, 0.021865705, -0.0290212017, 0.0221353434, -0.0167534612, 0.0116124405, -0.010594137, 0.028220918, 0.027321605, 0.0012029817, -0.0139316199, 0.0237503331, -0.0154225184, 0.0083316118, -0.0042050541, -0.0242071375, -0.032644596, 0.0009366494, 0.009851872, 0.0399507619, -0.032270547, -0.0403921269, -0.001253925, -0.0686915144, -0.0607936569, -0.0023054995, -0.0171348043, 0.0282655712, 0.0237043165, -0.034986116, 0.0021912344, -0.003469473, -0.0013531628, 0.0461861752, -0.0784781128, 0.0152525399, 0.0030080208, 0.0013869938, -0.0132632442, -0.0388845503, -0.0179618746, -0.0190790985, -0.016168071, -0.0101109454, -0.0933528095, 0.0062509589, -0.0142556336, -0.0055157812, 0.010635064, 0.0430119708, -0.0523494333, 0.021320425, 0.0188823342, -0.0101318108, 0.0098578809, 0.0058527221, -0.0174217653, 0.0080617666, -0.0324104875, 0.0160160121, -0.0345286019, 0.0155257806, -0.0472122021, -0.0637465194, -0.0189682525, -0.0108935777, 0.0298857335, -0.0380443335, 0.0217201654, 0.0243194718, 0.0413493849, -0.0263710227, -0.0126509899, -0.0020875933, -0.0447508432, 0.0802175254, 0.0362089239, -0.0018654023, 0.0760074109, 0.0606279261, 0.0402951837, 0.1054903045, -0.0081965225, 0.0531590246, 0.0328970663, -0.0268396251, -0.0264965799, -0.0208239984, 0.0045926487, 0.0292300582, 0.0003453871, -0.0039210278, 0.0097849891, 0.0000364908, 0.0192255434, -0.0528537892, -0.0241037477, -0.0068731345, 0.0459435806, 0.0377917849, -0.0174738038, -0.0267365649, 0.036955066, 0.0553010292, -0.0076216208, 0.0332809128, 0.0067753913, 0.0187384244, -0.0169893391, -0.0186921842, -0.0181032345, 0.0110979425, -0.055009611, 0.0039395061, 0.0044286456, 0.0196936224, 0.0266846027, -0.0408250652, 0.0151700824, 0.0175339561, -0.038624391, 0.0966010019, 0.0370865017, 0.0134047195, -0.0028204217, -0.0256883986, -0.026610801, -0.0041837762, 0.0158811379, 0.002328051, -0.0225664712, -0.0292951837, 0.0870258287, 0.0252561737, 0.0087179532, 0.0208905805, -0.0201739371, -0.0018854244, -0.029074356, -0.0263703912, 0.0362827443, 0.0219462402, -0.017421281, 0.0370408557, 0.0009349239, 0.0740857273, -0.013072459, 0.0350903086, 0.0539658964, -0.0220648702, -0.0359914415, 0.0350830965, 0.0098139616, 0.0058861626, 0.0011035862, -0.0209031552, 0.0149632497, 0.0105607891, 0.0130762132, 0.0658829734, -0.0326164812, 0.024925258, -0.0307732914, -0.0826331228, 0.0223895498, -0.0224076305, -0.0418763794, -0.0045698583, 0.0490909256, -0.0269090291, -0.0319501683, -0.0183613729, -0.0200219657, 0.000949428, -0.0160015263, 0.012592108, 0.0858316123, 0.0080335326, 0.00528938, 0.0023780093, -0.0197702013, 0.0037879078, -0.0025674715, 0.0205242354, 0.0111988038, -0.0381688625, 0.0088866875, 0.0180239547, -0.0623445585, -0.0273895748, 0.0202210154, -0.084035106, -0.0008730862, -0.0255672652, -0.0345983319, 0.0522507653, -0.0294710994, -0.0268490817, -0.0145652192, 0.0297520943, -0.0319304876, -0.0060224356, 0.023447223, -0.0177306626, 0.0384606197, 0.0210062191, -0.0129203638, -0.0136876516, -0.0359330252, 0.0850110576, -0.00272916, -0.0749809593, -0.0357003249, 0.0212769993, -0.0031971599, -0.0134931877, -0.0234691352, -0.0157575179, 0.0350511745, 0.0150746386, -0.0816570297, 0.0631221831, 0.0509794541, 0.0986009762, 0.0312008914, 0.0118044652, -0.0128297228, 0.0020485269, -0.0260515548, 0.0015994391, -0.0168486629, -0.0683399513, 0.0382210314, 0.0096306838, 0.0246210974, 0.0320209339, -0.0322371013, 0.0099744694, -0.0020704989, -0.0360893942, -0.05072302, -0.0144498115, 0.0294279233, 0.0625625104, -0.0154832406, 0.0089113461, -0.0088338656, 0.0325805843, 0.0691952184, 0.0241168607, 0.015942134, -0.0477081798, 0.0294902138, 0.0112967435, 0.0272688176, 0.0076227067, -0.0384579152, 0.0179082677, -0.0661298856, 0.0600784197, -0.0059031984, 0.0394333042, -0.0158263277, -0.0002590918, 0.0051954659, -0.0462037362, -0.0108158858, -0.0839705095, -0.0090242736, -0.0208020862, -0.0461539775, 0.0093579106, -0.0615930036, 0.0164802223, 0.0398323424, -0.0237062853, 0.0146988099, 0.0028077944, 0.0085013388, 0.0857921615, 0.0291060377, -0.0427295528, -0.0237441044, -0.0149323456, 0.019733388, 0.0469834246, -0.0221893024, 0.0743004456, -0.0280699525, 0.0154448356, -0.0158545524, -0.001442853, -0.0340555646, -0.0083071161, 0.0471858233, -0.0009786832, 0.0308927968, 0.0669226721, 0.0425368212, -0.0110574318, -0.0204625688, 0.0121637546, -0.0275762249, 0.0298760626, 0.0066216951, -0.0582464747, 0.004117297, -0.0072971843, -0.0397304446, -0.0517921634, -0.0441777408, -0.0116120996, -0.0569773689, 0.0379812755, 0.0100857448, 0.014690185, -0.0021022253, -0.0506599881, 0.0062569105, -0.0053610788, -0.0287306402, -0.0069570737, -0.0271712057, -0.0413858294, -0.014240548, -0.0136005329, -0.0358236246, -0.0361796543, -0.0185196269, -0.0252182353, -0.0071681459, 0.041485019, -0.0518960655, 0.0034927735, -0.0534159057, 0.0208523273, 0.0079667503, -0.0088040549, 0.066024892, -0.0295548774, -0.0134008182, -0.0339983292, 0.0466197357, 0.0731125176, -0.0666510388, 0.009338256, -0.0058669746, -0.0388247631, -0.0167323109, -0.0348522589, 0.0492300764, 0.0389512368, 0.0250629187, 0.0578149818, -0.0102751171, 0.0237884074, -0.0357773937, 0.0426598899, -0.0283304043, -0.0306322426, 0.0007002742, -0.0310689956, 0.0061113741, -0.0351261273, -0.0165075194, 0.0074958303, 0.0186981708, 0.0041137231, -0.0081043057, -0.0030745459, 0.0006936255, -0.0921174958, 0.0237469189, 0.0330850035, -0.0283378065, 0.0368541777, 0.0358973257, 0.0158288144, 0.0178780183, -0.0394465886, 0.0737609565, -0.0372580141, -0.0110009694, 0.0124241542, -0.0423109606, 0.0105061485, 0.0124176061, 0.0392225198, -0.0226041395, 0.053552635, 0.0541984066, 0.0256902128, -0.00733764, -0.0157419182, -0.0195027776, -0.0004510601, -0.0255347677, 0.02465377, 0.0390502177, 0.0295817852, -0.0582618788, -0.0475386828, 0.0806066915, 0.0077497405, -0.0474950038, 0.0376978181, -0.0325929187, -0.0202038474, -0.0062626377, -0.0336892083, -0.0334342234, -0.0018142747, 0.0256903227, 0.0034851274, 0.0130952224, -0.0013980659, -0.051254075, 0.059372507, -0.0230195336, 0.0712822005, -0.0415767431, -0.0009111576, -0.0111942003, -0.0106732091, -0.037425857, -0.0065828236, 0.0051941713, 0.0581267923, -0.0197172835, 0.0165880378, 0.0010816228, 0.0835345089, 0.0376261771, 0.0330181941, 0.0018950839, 0.0126224989, -0.0387682281, 0.0002098304, -0.0387796275, 0.0527782291, 0.0450124182, -0.0563904047, -0.0210517328, -0.0036206322, -0.0317093171, 0.0152528109, 0.0249627735, 0.0269484557, -0.0471232422, 0.03660243, 0.049730245, 0.0053351196, 0.0116207963, 0.0300397724, 0.0008595817, 0.0332601778, 0.0700416714, -0.0515663587, -0.010918363, 0.0161854401, 0.0475807972, 0.0288319252, 0.0213488061, -0.0073743504, -0.0545344166, -0.0072904979, 0.0597210117, -0.0157440715, 0.0106981099, 0.0390887409, -0.0326267593, 0.0385461524, 0.0531266518, -0.0197278336, -0.0286067668, 0.0154153919, -0.0715279207, -0.0075791487, 0.0214741845, -5.729916724e-33, -0.0402396545, -0.0308065731, -0.0546369366, 0.0149641139, -0.0190237183, 0.0464565717, -0.0065608313, -0.0023934355, -0.0144639378, 0.0490408875, 0.0359756015, 0.0304615423, 0.0141392658, -0.0271265246, -0.0039808522, -0.0108161867, 0.0033666107, 0.0031869495, -0.0145314801, 0.0194754414, 0.0218103155, -0.0095762582, 0.0245890617, -0.0489052981, 0.0102810943, 0.0005028041, -0.0290456545, -0.0629825294, 0.0679486692, 0.0565619208, -0.0062861871, -0.0121476855, 0.0571011789, -0.0584191158, -0.0106124086, 0.1234230101, -0.0606260225, -0.0107600233, 0.0827711448, 0.0044336105, -0.0246913321, -0.012654826, 0.0096218865, -0.000253308, -0.0289589949, -0.0512454584, 0.0436151661, -0.0494560972, 0.0316197053, -0.0027380565, -0.05469881, -0.0100645516, -0.0480751134, 0.0477108583, -0.015612131, 0.0308138374, 0.0059196306, 0.0683713779, -0.0743559971, -0.0062631662, -0.0286646876, 0.0262617487, 0.029484123, -0.0022344422, -0.0181586351, 0.0617903545, -0.001403064, -0.000062557, -0.0682781637, 0.021011319, 0.0432428829, 0.0622926801, 0.0448597632, 0.1011314988, 0.0405814089, -0.0226737317, -0.1043035239, -0.0011061653, -0.0143342679, 0.0447262228, 0.0149507355, -0.0104663009, -0.0113538839, 0.0009755106, -0.0532945879, -0.0789413676, -0.0374099799, -0.0408320464, -0.0018478229, 0.0169594977, -0.0176850464, 0.043330159, 0.0410337336, 0.0021338968, 0.0056040175, 0.0288118534, -0.012746105, 0.0463310219, -0.0143947387, 0.0174386911, -0.0076495213, 0.0021149341, 0.0342145711, 0.0248605888, 0.0436436944, -0.0653497651, 0.0770300552, -0.0181094594, -0.03267809, -0.006580404, 0.0020239388, 0.0186004676, -0.0352170281, -0.0171728209, 0.0415629968, 0.0491649769, -0.014677817, -0.0282116551, 0.0161628556, -0.044784829, 0.0375753865, -0.0473498479, -0.0485880114, 0.0427328758, -0.017314041, -0.0299701504, 0.016047962, -0.0203075949, 0.0527053699, -0.0681159273, -0.0357563794, 0.002365265, 2.468e-7, 0.0306922588, 0.0345624872, -0.0147398775, 0.0319801942, 0.0334797241, 0.0358920321, 0.000115476, 0.0589080565, 0.020106649, -0.1177653894, 0.021610273, 0.0408788025, 0.0380946249, 0.0195369814, -0.0637373254, 0.0429063477, -0.0294958781, -0.0181874409, -0.0516593195, 0.0175420977, 0.0628008321, 0.0265714601, -0.0141657004, 0.0025496138, 0.005946578, -0.0123321544, 0.0405568369, -0.0349839553, -0.0685749874, -0.0184374917, 0.0114564244, 0.0313210189, -0.0373172909, 0.0058999737, -0.0283841677, -0.0159475729, -0.0052771224, 0.0178463385, 0.0271116253, -0.0208957382, -0.0490494147, 0.015738057, -0.0335364901, -0.0160292257, 0.0619150065, -0.0518867187, -0.03022727, -0.0890302062, -0.0783143267, -0.0069780708, 0.0274476055, -0.000305273, -0.0119995708, 0.0269360468, 0.0132348016, -0.0050757029, -0.0083033619, -0.0613035671, -0.0102410512, 0.0298071876, -0.0218581054, 0.051542405, -0.0100588631, -0.0356085449, 0.0332632251, -0.0349271595, 0.0045939344, 1.536318885e-34, 0.0203101765, 0.059344627, 0.0161000732, -0.0255773924, 0.0062007075, 0.0035051354, -0.1033104062, -0.0395619422, -0.0073290351, -0.0483623594, 0.0625534207 ]
http://arxiv.org/abs/2406.17186v2
http://arxiv.org/pdf/2406.17186v2
CLERC: A Dataset for Legal Case Retrieval and Retrieval-Augmented Analysis Generation
"2024-06-24T23:57:57"
"2024-06-27T15:55:57"
Abe Bohan Hou, Orion Weller, Guanghui Qin, Eugene Yang, Dawn Lawrie, Nils Holzenberger, Andrew Blair-Stanek, Benjamin Van Durme
cs.CL
cs.CL, cs.CY
Legal professionals need to write analyses that rely on citations to relevant precedents, i.e., previous case decisions. Intelligent systems assisting legal professionals in writing such documents provide great benefits but are challenging to design. Such systems need to help locate, summarize, and reason over salient precedents in order to be useful. To enable systems for such tasks, we work with legal professionals to transform a large open-source legal corpus into a dataset supporting two important backbone tasks: information retrieval (IR) and retrieval-augmented generation (RAG). This dataset CLERC (Case Law Evaluation Retrieval Corpus), is constructed for training and evaluating models on their ability to (1) find corresponding citations for a given piece of legal analysis and to (2) compile the text of these citations (as well as previous context) into a cogent analysis that supports a reasoning goal. We benchmark state-of-the-art models on CLERC, showing that current approaches still struggle: GPT-4o generates analyses with the highest ROUGE F-scores but hallucinates the most, while zero-shot IR models only achieve 48.3% recall@1000.
[ 0.036945764, 0.0048670038, 0.0052326699, -0.0166070573, -0.0602848902, 0.0051316209, -0.0004380615, 0.0038059007, -0.010577973, -0.0623946823, -0.0126536898, 0.0210755337, -0.0460863933, -0.0084013836, -0.0333086662, -0.0148425233, 0.0343183577, 0.0397883728, 0.0674763024, 0.033339899, 0.0093628708, 0.0206304621, -0.0003104198, 0.0264423881, -0.0076149977, -0.021638779, -0.0107838344, 0.0207614675, 0.0112425014, -0.0349790603, 0.016564209, 0.0521139167, 0.0284853373, 0.033455532, 0.0000016623, -0.0584016815, -0.0019624594, -0.0102022439, -0.0092122853, 0.0045620725, 0.0224955641, 0.0021228273, 0.017890092, 0.0060357624, -0.0449112952, 0.0207615718, -0.0252284892, 0.0197618436, 0.0413158014, 0.0763943866, 0.0045308792, -0.0603585541, 0.0586313829, -0.0365891382, 0.0261807814, -0.0206631348, 0.0099840816, 0.0278330725, 0.0300552752, 0.0003606578, 0.0559895262, 0.0073861554, 0.0232737232, -0.0375771709, 0.0053194552, -0.0133849699, -0.0503525063, 0.029622525, 0.0285943393, 0.0301668458, 0.0481346361, -0.0439398997, 0.0062188031, 0.0097222431, 0.0613533854, 0.0332177319, -0.032219857, 0.0675316304, -0.0399784558, -0.0259731822, 0.0235969219, 0.0184451845, -0.0134453848, 0.0191419162, -0.0034967347, 0.0365443081, -0.0104300184, -0.0471328236, 0.0220420249, 0.008816869, 0.0401547365, -0.0151571147, 0.0177761205, 0.0488001294, -0.0121199256, 0.0122288996, -0.0087509993, -0.0300415866, 0.0801148638, -0.0070609828, 0.014113429, 0.0089478241, -0.0195333753, 0.068358399, -0.0533204861, -0.0328426808, -0.0084856981, -0.0151060224, 0.0042410642, -0.0229860451, -0.0607244782, -0.0063680219, -0.0428274237, 0.0489342883, -0.1000471041, 0.0262526907, -0.0219780616, 0.0182860494, -0.0250149295, 0.0234694146, 0.0075703091, 0.0098759942, -0.0189139042, -0.0021303401, -0.0655631945, -0.0540278144, -0.0430721603, 0.046774298, 0.0138076507, -0.0230793878, -0.0075459005, 0.0006840061, 0.0185674801, -0.0318511799, 0.0190672465, 0.0692124665, -0.0060451538, -0.0431025401, -0.0542754754, -0.1095676199, 0.0004459838, -0.0760636181, -0.019453261, -0.0708089694, 0.0176117197, -0.0013991898, -0.0445765331, -0.0613253266, -0.0035197681, 0.0732013136, -0.0010950614, 0.0244708844, -0.0205853321, -0.039099887, 0.017810531, 0.0278221425, 0.0245609861, 0.0073226341, 0.0013317665, 0.0247524977, 0.019636089, 0.022604784, 0.0194110833, -0.0126838982, 0.0205513723, 0.0497646853, 0.0199449696, 0.0361862667, -0.0586675033, 0.0384412892, 0.0077695078, 0.0469663478, -0.0268811043, -0.0164372567, 0.0049001104, 0.0497313812, 0.0291256234, 0.0573224686, 0.0443428047, -0.0106310351, 0.025506163, -0.0156015037, -0.0110335331, 0.0211702511, -0.031092681, 0.0402976759, -0.0526615791, -0.0017340089, -0.0399234965, -0.0620347336, 0.0216717236, 0.0161949191, -0.0443124846, 0.0022717619, 0.0357295386, 0.0388557762, -0.0513915904, 0.0262624603, 0.0001231714, -0.091298759, -0.0238575507, -0.0010625134, 0.0347719342, -0.0049964092, 0.0771880001, -0.0561175011, -0.0034096201, -0.0328473262, -0.0143866949, 0.037717782, 0.0015530314, 0.0063982713, -0.0299784038, -0.0473271385, -0.0529048815, -0.0010386074, 0.0261694826, -0.0075039994, 0.0168489665, 0.0125009939, 0.0507472046, -0.0351478569, -0.029798463, 0.0423466377, -0.0168442, -0.0400525853, 0.0190942157, -0.0209792927, 0.0339182205, 0.0544927046, -0.0041535632, 0.0089414008, 0.0308721568, -0.0063076792, 0.0082615288, 0.0287041385, 0.013435021, 0.0136425765, 0.0395204574, -0.0591786057, -0.0085171945, -0.0061886343, -0.0519026518, -0.0224127807, -0.0019279816, -0.0067715733, 0.0101052783, -0.0507699847, -0.0331009701, 0.0173051059, -0.0305216108, -0.0231893491, 0.0815998763, 0.0089287832, -0.0060395487, 0.0206512883, -0.0012878336, 0.0671146959, -0.06548246, -0.0123262517, -0.0696653649, -0.0298177041, 0.0025388889, 0.0371679999, -0.0048172232, -0.0748599246, -0.0064846091, -0.0583575219, 0.0296594612, -0.0265598148, -0.0044514821, 0.0028344453, -0.0264124461, -0.0078344662, -0.0199488476, -0.0012115997, -0.015952386, -0.0028851179, -0.0042469408, 0.0333299339, 0.0122389551, 0.0244927872, -0.0402714051, -0.0283606667, -0.0129097542, 0.028083384, 0.0527124517, 0.0279290974, -0.024802167, 0.0882786661, -0.0312385876, -0.0115413638, -0.034408953, 0.0467088334, 0.0138611263, 0.0002467846, -0.0049745152, 0.0403898694, 0.0438821018, 0.0193065908, 0.0159844961, 0.000804543, -0.0566642694, 0.0059687849, -0.0025794401, -0.0013560696, -0.0000247335, 0.0035846084, 0.0215375498, -0.0091159465, -0.0039433446, 0.0029384056, -0.0099852867, 0.0042955247, 0.0176292527, 0.0139879761, -0.0475669429, -0.0242113359, 0.0004757507, 0.0564065203, 0.0076703909, -0.0524700657, 0.028142035, 0.0101198517, 0.0484973229, -0.0509828925, 0.0137379449, -0.0574895851, 0.0851897076, 0.0061936462, -0.0141706597, -0.0471334383, -0.0034475441, -0.0122093428, -0.0330103152, 0.0778310597, -0.061014235, 0.0913712606, -0.0174948741, 0.0512109399, -0.0344477557, -0.0491103306, -0.0247015562, -0.0212513003, -0.0201697908, 0.0198911484, 0.0154395169, 0.0059829908, -0.0532305576, -0.0207586959, 0.0413088687, 0.0377746411, 0.0086061489, -0.044468049, -0.0274975356, 0.0359507352, 0.0160923582, -0.0449341349, 0.0129339807, 0.0046532783, -0.0174703132, 0.0236864667, 0.0205379315, -0.0068030655, -0.0197784584, -0.0249930955, -0.0232690722, -0.0899152309, 0.0108052343, 0.0041089919, -0.0006033467, -0.0477841496, 0.0116898241, 0.0642781332, 0.0145388534, -0.0390020423, -0.0411786251, -0.036420241, 0.0261798222, 0.0228870008, 0.0390469618, -0.1193399429, -0.000133235, -0.0118844267, 0.0269192364, -0.0512410253, -0.0443880521, -0.019070467, -0.135813728, 0.0966390893, 0.02550954, 0.0396339484, -0.0352474973, -0.0269403514, 0.0020479553, -0.0319014862, -0.0351834595, 0.0416729487, -0.0417205021, 0.0067398939, 0.0002667559, -0.0184043758, 0.0078946715, 0.0251654219, -0.0364708602, 0.0138710868, -0.0136233903, 0.0394203775, -0.0007273029, -0.0302122161, -0.0070804805, -0.0551141873, 0.0215436183, 0.0099518048, 0.0485714935, 0.0128084915, 0.0453930646, -0.047863435, 0.0499605462, -0.0266495384, -0.0309262834, 0.0693409145, 0.0338547416, -0.0556726418, 0.0234332364, -0.0459782481, 0.0070019569, -0.0193736013, 0.0525282919, 0.0187724717, 0.0396839641, -0.0325409956, -0.0159386564, 0.000808975, -0.0734062567, -0.0102596562, -0.0215434507, -0.0395092629, 0.0349840298, -0.0352884494, -0.0414437689, -0.0090689706, 0.0361235738, 0.0006393821, 0.0320212431, -0.0107070506, -0.0093138209, -0.0894321427, 0.0438339859, -0.0394493118, -0.0187267177, 0.0049046879, 0.0101958178, 0.0112740695, -0.0191635024, -0.0165219381, 0.0496602021, 0.0576512106, 0.0083312495, -0.015835803, 0.0209114533, 0.0259706806, 0.0258164965, -0.0228764527, -0.0242536999, 0.0469544418, 0.0570904128, -0.0254561994, -0.0266771037, 0.0362335108, -0.0613255464, -0.0382776968, -0.0240587369, -0.0173929483, 0.0351453088, -0.0155777773, 0.0135712903, -0.0382505618, 0.0073987884, 0.0259913225, 0.0187271759, 0.0410404317, 0.0041522803, 0.0007708194, -0.0261082854, 0.0024034109, -0.0482564159, -0.0113525074, -0.0014483595, 0.0168193709, 0.0107954275, -0.028149005, -0.0203876887, 0.0609589592, -0.0445586145, 0.0457588583, -0.0473874845, 0.037824139, 0.0170187131, 0.0427867584, -0.0072553339, -0.0550623424, -0.0425443575, 0.0165354367, -0.0295775235, 0.0602286495, 0.0052519813, 0.0510135442, 0.0156241907, 0.0417453535, 0.0382897891, 0.0092322892, -0.0846075416, 0.0052156798, -0.0208468232, -0.0123446872, 0.0400170349, -0.0142868292, 0.0205168743, -0.0288554933, -0.0178891774, -0.0020984535, 0.0448555201, -0.0032239356, -0.0123565057, 0.012699944, 0.0421579406, -0.0173233952, 0.0141623635, 0.028289305, -0.0167453066, 0.0301529896, -0.0143777076, -0.0343382061, -0.0174889397, -0.0588985942, -0.0262053609, 0.042857185, 0.0075892578, -0.0747602656, -0.0926833004, -0.0143077439, 0.0070547597, 0.0295376908, 0.0057229232, 0.0288906787, 0.0179486535, 0.0375608504, 0.0138757797, -0.0376991592, -0.0634435117, 0.059004765, -0.0660471544, -0.0369820371, -0.0122491401, -5.157424894e-33, -0.0142517742, -0.0506389104, 0.0471406765, 0.0198524874, -0.0227076411, -0.0117700538, -0.0205208249, -0.02126237, -0.0435157716, 0.0242690556, -0.0378488488, 0.0386242494, 0.0169729646, 0.0121887811, 0.029012939, 0.0244743284, 0.0189027283, 0.0187630299, -0.0245275609, 0.0325872079, 0.0291423295, 0.0074925083, 0.0075893491, -0.1062527597, 0.0283437371, -0.0053959922, 0.0063249264, -0.0277349371, -0.0480280668, 0.053890992, 0.0074223829, 0.0417995341, 0.0231945515, -0.0339219831, 0.025413353, 0.0271279812, -0.1002584174, -0.0033070869, 0.0033828607, -0.0639058575, -0.02366421, -0.0222348273, 0.0454606228, 0.0041521462, -0.0235686507, -0.0089630615, 0.0414592363, -0.0506044626, -0.0377397463, -0.0815560669, -0.0578057803, 0.0523517132, -0.0133734252, 0.0316665173, -0.0130610792, 0.0356990211, 0.0165801905, 0.0612989366, -0.0734295473, 0.0016301554, -0.0409370959, -0.0034383878, 0.0132235391, -0.0597117543, -0.0073141363, 0.032952901, -0.0196450278, -0.0002852891, -0.0287229251, -0.0262508262, -0.0080013983, 0.077542372, 0.0463338122, 0.0774346888, 0.036931213, -0.0281428937, -0.0560285747, 0.0078485217, 0.0346840322, 0.0617446341, 0.0120396297, -0.0481784679, -0.0324361436, 0.0219671093, -0.0170568861, -0.0468200296, 0.0012488363, -0.0045794793, 0.0223774314, 0.013774151, 0.0502736159, -0.0093398429, 0.012579916, 0.0151560297, 0.0414808206, 0.0564386472, -0.0130128153, 0.0169537831, -0.0057491167, 0.0100990729, -0.0459600948, -0.0269499794, 0.0133566093, 0.0036151465, -0.0118700173, -0.0141207688, 0.066058889, -0.0224955678, -0.0340954289, -0.012539817, 0.0184650198, 0.0649879128, -0.0133231506, -0.0096708667, -0.0096122837, 0.0578851737, 0.0387836881, 0.0311337542, 0.0279035848, 0.026954595, -0.0249147806, -0.049760446, 0.0244943239, -0.0191636365, 0.03838313, 0.0115715163, 0.0234538019, 0.080370754, 0.028951196, -0.0060049896, 0.0310060307, 0.0691067502, 2.515e-7, 0.1000586301, -0.0057097473, -0.0001668648, -0.0003736648, -0.0303294491, 0.0100071402, 0.0214097649, 0.0398067348, 0.0434008427, -0.0127478559, 0.0276311971, 0.0032583638, 0.0251958091, 0.0409768932, -0.0614953898, -0.0721337199, -0.063617833, -0.0687373877, -0.0565645136, 0.0159292482, 0.0471751504, 0.0490342081, 0.0043397178, -0.0325315781, -0.0132003613, -0.0354822204, 0.0749241859, 0.0023710101, -0.012695876, -0.0111297201, 0.1013758108, -0.0047441348, -0.0009373199, 0.0283802673, -0.0124100428, 0.0476431064, -0.0578358546, 0.0209775008, 0.0180620626, 0.0084226904, 0.0111998934, -0.0324367806, 0.0123873707, -0.0337790549, 0.0377028212, -0.03030481, 0.0135086654, 0.00451467, -0.0718007609, -0.0004027117, 0.0015066315, 0.0268446766, -0.0016917688, -0.0230900571, 0.0028500811, 0.0052145072, 0.013921842, -0.0829938278, 0.0303689335, 0.0592397675, -0.0058840155, 0.014872781, 0.0102559766, -0.0297599025, 0.0440612584, -0.0849093795, 0.0296478644, 1.924953159e-34, 0.0512259975, -0.0030236698, 0.0178083163, -0.0120951347, 0.0522545427, 0.0396777168, -0.0362140574, 0.012998905, -0.0047892504, -0.0490300171, 0.0293425247 ]
http://arxiv.org/abs/2406.17185v1
http://arxiv.org/pdf/2406.17185v1
Vaporetto: Efficient Japanese Tokenization Based on Improved Pointwise Linear Classification
"2024-06-24T23:47:20"
"2024-06-24T23:47:20"
Koichi Akabe, Shunsuke Kanda, Yusuke Oda, Shinsuke Mori
cs.CL
cs.CL
This paper proposes an approach to improve the runtime efficiency of Japanese tokenization based on the pointwise linear classification (PLC) framework, which formulates the whole tokenization process as a sequence of linear classification problems. Our approach optimizes tokenization by leveraging the characteristics of the PLC framework and the task definition. Our approach involves (1) composing multiple classifications into array-based operations, (2) efficient feature lookup with memory-optimized automata, and (3) three orthogonal pre-processing methods for reducing actual score calculation. Thus, our approach makes the tokenization speed 5.7 times faster than the current approach based on the same model without decreasing tokenization accuracy. Our implementation is available at https://github.com/daac-tools/vaporetto under the MIT or Apache-2.0 license.
[ 0.0106941629, 0.0325395763, 0.0019342417, 0.0499071591, -0.0230919067, 0.0186649878, 0.0424654037, 0.0376727954, -0.0287301466, -0.026421221, -0.0116431583, 0.0133381607, 0.0465389602, 0.0568957739, 0.0024444021, -0.0888300687, 0.0657585487, -0.0110424608, 0.0328421406, 0.0029068093, 0.020599084, -0.0252948217, -0.0094759511, 0.0541045666, -0.0481294543, -0.0052382443, 0.0066366568, -0.0285431985, 0.001635209, -0.0110308304, -0.0352876671, 0.0236078575, -0.0508882515, 0.0159545578, 0.0000017847, -0.0391198061, -0.0463884845, -0.0166247524, 0.0439480841, 0.0139290448, 0.0259923451, -0.0343378149, -0.0337244086, 0.0251464862, 0.0090591423, -0.074399434, 0.0622294508, 0.0364234298, 0.048749648, 0.0608527213, -0.0333105549, -0.0694442391, 0.0153876012, 0.0201364625, -0.0491998978, -0.01735669, 0.0234780293, -0.0563740358, 0.0009016414, -0.0442359969, 0.0060264552, -0.0091645755, -0.0358951688, -0.019568406, -0.0048098792, 0.0113362353, -0.0384199768, 0.0026363314, -0.0162936617, 0.0261742622, -0.0467048138, 0.0041941423, 0.0043219663, 0.0228096824, 0.0015166819, -0.0565609448, -0.0148035269, -0.0056560165, -0.0360243022, 0.0030432388, 0.0044477056, 0.0245107915, -0.001297709, 0.0049123205, -0.051796414, 0.0429104306, 0.0271834247, -0.0300795399, -0.0162235275, -0.028715156, -0.0251050442, -0.0646334216, 0.052579321, 0.0403836854, -0.0206055678, 0.0090578385, -0.015255468, -0.0707391948, 0.016192507, -0.0741908103, -0.0068538105, 0.045717258, -0.0330722295, -0.0099608907, -0.0586422086, 0.0597083531, 0.0304390937, 0.0364698023, -0.025783848, -0.0032589226, -0.0413414016, -0.0249686148, -0.1175397635, 0.0760684535, 0.0123203639, -0.0042262576, -0.0548292361, 0.0062385937, -0.0263727959, -0.008828125, 0.0061036702, -0.0358107165, 0.0230610333, 0.0348098837, 0.0106798429, 0.0085564284, -0.0421370193, -0.0304186027, -0.0252353735, 0.0123871006, 0.0338367261, 0.0276158098, 0.0429583304, 0.018455578, 0.0352512114, 0.0506142639, -0.0102231223, -0.0359003656, -0.0273772161, 0.0012346247, -0.0306175705, 0.0004338057, -0.0268045738, -0.0427833796, 0.0305089522, 0.0076836799, 0.0127344402, 0.0200635046, -0.0117230155, 0.0104168169, 0.0129087912, 0.0766360611, 0.0189050511, -0.0007610616, 0.0293977521, -0.0328801312, -0.0118446629, 0.0121166231, 0.0498700663, 0.0575087033, 0.0337609015, -0.025927633, 0.0284842327, 0.1031564251, -0.0538245961, -0.0503051877, -0.0379989594, -0.0209167115, 0.0345427133, 0.011766877, 0.0639771745, 0.0639624149, -0.0114325983, 0.0634415373, -0.0259996727, 0.0602329187, 0.0088350568, 0.0265363697, 0.0689391419, -0.0211344026, -0.0038946976, -0.0339486189, -0.0037400632, -0.0043009464, -0.0252689533, 0.0218620654, 0.008530803, 0.0035326625, -0.0271301344, -0.0428689234, 0.0082746977, -0.0429460593, -0.0056135892, -0.0366099589, 0.0546849854, 0.0037207012, -0.0554674752, 0.0613078661, 0.0005338542, -0.0358711891, -0.0331970304, -0.0573226959, 0.0124572432, 0.0863616168, 0.0436843075, -0.0284594391, 0.0586213805, 0.0477410704, 0.0182535518, 0.0090627605, 0.0122283166, -0.0241620261, -0.0079068011, -0.0111063663, 0.002210405, 0.0613512956, -0.0213618483, 0.0679755211, 0.0045833234, 0.0369471014, 0.0114252232, -0.0200329293, -0.0133951018, 0.0332281664, 0.0713122264, 0.01720386, 0.0398549661, 0.0554241948, 0.015424272, 0.0354587659, -0.0102135241, 0.0345394462, 0.0118935267, -0.0845702961, 0.0246598218, 0.0276132822, -0.0010643218, -0.009371751, 0.065493457, 0.0388317704, -0.0380959362, 0.0052405219, -0.0090727545, -0.0312911607, -0.0009071337, -0.0166924242, 0.0247383751, -0.0589431375, 0.0585070737, -0.0028874248, 0.0127988253, -0.0150061063, 0.0556008965, 0.0223486684, -0.0054433942, -0.0354044773, -0.015800938, 0.0628083646, -0.0302391052, -0.0451056883, 0.0556353331, -0.0393633321, -0.0187437162, -0.0154339438, 0.0260271933, 0.0042455951, -0.0254148599, -0.1305234581, -0.0370317064, -0.0107863415, 0.0116130542, -0.0472983271, 0.0304862577, -0.0147027941, -0.0309989359, -0.0106367329, 0.0083391406, -0.0010546575, 0.012218209, 0.0311915223, -0.0007097248, -0.0526044667, -0.0049675126, -0.0070484127, 0.0218618698, 0.014216858, -0.0179041903, -0.0969553962, -0.063244164, 0.010679788, -0.0026102515, 0.0072588711, 0.0394975208, -0.0321599245, 0.0100453664, -0.0488232784, 0.0240490902, -0.0007870306, 0.0131168021, -0.0129458895, 0.0210445952, -0.0201117191, -0.0400159471, 0.0153689701, 0.0355460681, 0.0418069288, 0.0184421781, -0.018703118, 0.0550512373, 0.0180787761, -0.0102185924, 0.032519348, -0.0380586497, -0.0437411182, -0.0049555395, -0.0311667807, -0.0456730835, -0.0198488217, -0.049079936, -0.0274297353, -0.0262688398, -0.016929388, 0.0299965777, -0.0618949607, 0.0111329518, -0.0628895015, 0.0420078859, -0.0398688577, 0.0599748231, -0.0101325447, 0.0484666936, -0.0190233197, -0.1000503823, 0.0292415414, 0.0564265437, -0.0189391095, -0.0219001584, 0.0452646911, -0.0320726335, 0.0428951867, -0.0209365822, -0.0234016888, -0.0158299003, -0.0111535368, -0.0154431593, 0.017881183, 0.0223744381, -0.0318473093, 0.0100591378, 0.1017771438, -0.0273264702, 0.028720703, -0.0209050961, 0.0133156488, 0.0163127631, 0.0336112194, -0.0006898419, -0.0079076979, -0.0433765575, 0.0382331721, 0.0454269424, 0.0290062707, 0.0547332466, -0.0058374167, -0.0248021409, -0.0062983409, 0.0291143786, -0.082277596, -0.0008818083, -0.0054216809, 0.0169146601, -0.0015254492, -0.0242963489, 0.0928548723, 0.0377576463, -0.0423299111, -0.0254001264, 0.012835484, -0.0262943283, -0.0277123097, 0.0181723516, -0.0637336522, -0.0137502821, 0.0232647266, 0.0295234062, -0.0105729317, -0.00662287, 0.0192953981, -0.1095471829, 0.0227816291, -0.004664633, -0.0746038482, -0.053650979, -0.0588422455, -0.0165036563, 0.0138116367, 0.0409264863, -0.0038894496, 0.0111482292, -0.031774912, 0.0358981416, -0.0706720203, 0.0103577459, -0.0324042253, -0.0101662846, -0.0098455101, 0.0409340672, 0.0386785418, -0.0117508741, 0.0000539559, 0.002561114, 0.012606509, 0.0146776671, -0.0677888691, -0.009578472, 0.0250665303, -0.0496459566, 0.0491448119, -0.0259461273, 0.0326346718, -0.0124285445, 0.0118854837, 0.0154583175, 0.0309495777, 0.0343570337, -0.0276280213, -0.0452051088, 0.0024704726, 0.0326916464, 0.0233702455, -0.0442151576, -0.0224268641, -0.0424749479, -0.0200543758, -0.0840003788, 0.0250704233, -0.0574424565, -0.0429329835, -0.0314639024, -0.0734151602, 0.0043514045, 0.0471551232, 0.0391148925, -0.0288388003, -0.0237366706, -0.0573567487, 0.0437757224, -0.0533645786, -0.0311316121, -0.0204549674, 0.0349941142, -0.0804971531, -0.0037510246, -0.0166320708, 0.0302717574, -0.0141709214, 0.0044873143, 0.000126292, -0.0315160602, 0.0370951444, 0.06121004, 0.0062656384, -0.0374148153, -0.0206490345, -0.0136679783, 0.0483217053, 0.0216413531, -0.0153654963, -0.0041617574, 0.0170839448, 0.0117586888, -0.021085009, -0.0086858403, -0.0299209747, 0.0106955003, -0.0003051588, 0.0122457966, -0.0183067676, -0.0050174198, 0.0202099569, 0.0472596772, 0.0304401722, -0.0590060651, 0.0017113702, 0.0000871072, 0.0226091985, -0.0235110465, -0.0315833129, -0.0074208872, 0.00999106, -0.0018957034, -0.0110639725, -0.0258236062, -0.0131473718, -0.0108239055, -0.0083344262, 0.0648842081, -0.0048281485, -0.0000184659, 0.064403154, 0.00648143, -0.0123925433, -0.0184109118, -0.0342547446, 0.0528197251, -0.028689757, -0.0609348565, -0.0042390712, -0.0264146924, 0.0182630401, -0.059733808, 0.0545581616, 0.0287232455, 0.0157888457, -0.0099277422, 0.0464076549, 0.0332661644, 0.0060872822, 0.0012164133, -0.0421722084, -0.0137194376, -0.0094238808, -0.0199628342, 0.015288976, -0.020936057, -0.0252235532, -0.0038517576, 0.0104759652, -0.0792325735, 0.0623063669, -0.0218074191, 0.0097116046, -0.0248903278, -0.009823069, -0.0530698784, 0.0121214315, 0.0394884497, 0.0232069772, -0.0483082607, -0.0691522509, -0.0301414579, -0.0079251835, 0.0458703339, 0.0082995314, 0.0227998141, 0.0705988109, 0.0137409642, 0.0387877114, 0.0405347571, 0.0576015599, 0.0013689287, 0.0083150882, 0.0499945134, -0.0269704331, 0.0156670287, -5.007678301e-33, -0.0350093879, -0.0386232957, -0.0102456594, 0.0175355449, 0.003047883, -0.0104911616, -0.0059020328, 0.0320917144, 0.0448026806, -0.0532378666, -0.0294974726, -0.0070008277, 0.0497976691, -0.0039203437, 0.0354364254, 0.0111661283, 0.0506572388, 0.0020502785, -0.0018080551, 0.0035341708, 0.0614746772, 0.0344151817, -0.0168289226, -0.0235909317, 0.0203176476, 0.0342615321, -0.0442369655, 0.0096495906, 0.0311488621, 0.0375444144, -0.0151344743, 0.0618027598, 0.0193308163, -0.0027127648, -0.0012931169, 0.0601803325, -0.110036552, -0.0229916405, -0.0034109238, 0.0645281971, 0.0663879812, -0.0694985911, 0.0170722883, 0.0092753954, 0.0043106535, 0.0255748425, 0.0060110502, -0.0442807935, -0.0262230206, -0.034537755, -0.0836153477, 0.0121119916, 0.035967309, 0.0207014065, 0.0905955583, -0.0410948135, 0.0069819461, -0.0470473133, -0.0189356562, 0.054618232, -0.0183300972, 0.0004749213, 0.0316565745, 0.0413920097, -0.0182665251, 0.0225622673, 0.0730732158, -0.0307142232, 0.0195073802, 0.0512413494, 0.0243857615, -0.0276264977, 0.0429573543, 0.0146631952, 0.0405033492, -0.0417928845, -0.0502822623, 0.0455787703, 0.0209068116, 0.0028345932, -0.0313650519, 0.0182616357, -0.0363104381, -0.0326340497, 0.0354298651, 0.0148158222, -0.0438294336, -0.0568666942, 0.0078429533, 0.0088773705, -0.048600208, -0.0043896185, 0.0173575077, -0.0065865307, -0.0378218554, 0.0096301436, 0.0472207181, 0.051773455, -0.0362544172, -0.0237580296, 0.0116913719, -0.0893215686, -0.0110991756, -0.04630455, 0.018392887, -0.0124739567, 0.034814436, 0.0068254825, -0.0807599649, 0.029510729, 0.0349612832, 0.00911202, 0.0075094276, 0.0552363656, 0.0043384442, -0.0023834526, 0.0402389877, -0.0404185168, 0.0332295559, 0.0084532639, -0.0295457114, -0.0160120577, -0.0137388753, 0.0213011131, -0.018183399, 0.0345750675, -0.0164212827, 0.0376726314, 0.0109868348, -0.0214148462, -0.0161460117, -0.0183724128, 2.475e-7, 0.0401308052, 0.0277264602, 0.0487382971, -0.0290492773, -0.0117809316, 0.0042104847, 0.0044088629, 0.0058944151, 0.0184696186, 0.0446671434, 0.0223707594, -0.0093307039, 0.0301791355, 0.0220352635, -0.1487678587, 0.0498287603, 0.0186559819, 0.0267709251, -0.077140063, 0.0449727401, 0.0488187075, 0.0534355305, -0.0486595854, -0.0171840582, -0.0249930937, -0.0287569035, 0.0160966981, 0.053694699, -0.0126922, 0.0074309832, 0.0446247309, -0.0208644159, 0.0105585391, -0.0277726408, 0.0105541851, 0.0291597378, 0.0696237236, 0.0022732753, -0.030833045, -0.0146682858, 0.0251202434, -0.011280016, -0.0033725065, 0.0024414237, 0.0458892249, -0.0126548205, 0.0395313352, -0.0130918697, 0.0274142064, 0.0337257795, -0.0525249168, -0.0099306367, -0.0287847351, 0.0741636977, 0.0513860472, -0.0573481098, 0.00586467, -0.0300770476, -0.0424040891, -0.0245975684, -0.0001453954, -0.0165728629, -0.0323640592, 0.0428244695, 0.0174513664, 0.0016635968, 0.0019382323, 2.073506143e-34, 0.0028743146, -0.0176467523, -0.0115318866, 0.0574718453, -0.0190408509, -0.0348892808, 0.0051228805, 0.0401212536, -0.0314802788, -0.0269539859, -0.0103853168 ]
http://arxiv.org/abs/2406.17169v1
http://arxiv.org/pdf/2406.17169v1
Multi-LogiEval: Towards Evaluating Multi-Step Logical Reasoning Ability of Large Language Models
"2024-06-24T23:02:56"
"2024-06-24T23:02:56"
Nisarg Patel, Mohith Kulkarni, Mihir Parmar, Aashna Budhiraja, Mutsumi Nakamura, Neeraj Varshney, Chitta Baral
cs.CL
cs.CL, cs.AI
As Large Language Models (LLMs) continue to exhibit remarkable performance in natural language understanding tasks, there is a crucial need to measure their ability for human-like multi-step logical reasoning. Existing logical reasoning evaluation benchmarks often focus primarily on simplistic single-step or multi-step reasoning with a limited set of inference rules. Furthermore, the lack of datasets for evaluating non-monotonic reasoning represents a crucial gap since it aligns more closely with human-like reasoning. To address these limitations, we propose Multi-LogiEval, a comprehensive evaluation dataset encompassing multi-step logical reasoning with various inference rules and depths. Multi-LogiEval covers three logic types--propositional, first-order, and non-monotonic--consisting of more than 30 inference rules and more than 60 of their combinations with various depths. Leveraging this dataset, we conduct evaluations on a range of LLMs including GPT-4, ChatGPT, Gemini-Pro, Yi, Orca, and Mistral, employing a zero-shot chain-of-thought. Experimental results show that there is a significant drop in the performance of LLMs as the reasoning steps/depth increases (average accuracy of ~68% at depth-1 to ~43% at depth-5). We further conduct a thorough investigation of reasoning chains generated by LLMs which reveals several important findings. We believe that Multi-LogiEval facilitates future research for evaluating and enhancing the logical reasoning ability of LLMs. Data is available at https://github.com/Mihir3009/Multi-LogiEval.
[ 0.0249127522, 0.0584999286, 0.0115963202, 0.038737122, -0.0841524452, 0.0308271833, 0.0382661819, -0.0244827382, 0.0355808772, -0.0403419845, 0.0016216771, -0.0159764886, -0.0111998636, 0.0463317558, -0.0000615573, -0.0257373918, 0.0519344211, -0.0714881271, -0.0042912066, -0.0052189697, -0.0274318866, 0.0135160396, -0.0195481442, 0.036366757, 0.0182713978, -0.0343811661, -0.0358537957, 0.0039976202, 0.0371975936, -0.0425344296, -0.0281660073, 0.0455431417, 0.0331714712, 0.0598987862, 0.0000019031, -0.0690260455, 0.0094571039, 0.0060519562, -0.0588599853, -0.0094231404, -0.0053265756, -0.0077234409, 0.000593559, 0.031443093, -0.0210406706, -0.0129163424, 0.009262857, 0.0511707775, 0.0739504397, 0.061435204, -0.0014089475, -0.0818750039, -0.000290998, -0.0251493156, -0.0140074743, -0.0579306893, 0.0179626811, 0.0522023588, 0.0306780804, -0.0177967139, 0.0151531408, 0.0073503735, 0.0587464646, 0.002162145, -0.0725318864, 0.0385155976, -0.0477147512, -0.0363920033, 0.021341132, 0.0620837361, -0.0063673919, -0.0132819926, -0.0410866253, 0.0038233919, -0.0160075352, -0.027500404, -0.0179011598, 0.0372357927, -0.0520594232, 0.0151784848, 0.0423976146, -0.0093133403, 0.0412867256, 0.0137615493, -0.0594005585, 0.1332449764, -0.0017480531, -0.0361632295, 0.0496968776, -0.012991651, -0.0299573503, -0.04861404, -0.0038598832, 0.0370983034, -0.0232537426, 0.0382090807, 0.0035771292, 0.0354819074, 0.0412747078, -0.0336611345, 0.0044312556, 0.0605336837, 0.0073416694, 0.0882005766, -0.0261500888, 0.0418633297, -0.0009757152, 0.0442614481, -0.0019501774, -0.0434629954, -0.0430315547, -0.0053369496, -0.0082444474, 0.0181124248, -0.0056295735, -0.0036712994, -0.043593958, -0.0151259555, -0.0167465694, 0.0178231914, 0.0387133695, -0.0116751976, 0.0299837943, -0.0453662761, -0.0546703972, 0.0242112298, -0.0510891229, 0.0411103033, 0.0300223567, -0.0511964895, -0.0172299407, -0.0102944467, -0.0035424596, -0.0338484272, 0.0315144099, 0.0578478947, 0.0098149525, -0.0271413922, -0.0346872471, -0.0320422128, 0.0174500942, -0.1030041799, 0.0017217795, -0.0611151792, 0.023525143, 0.0148136765, -0.0092342161, -0.0100729009, 0.0056182188, 0.0285638832, -0.0263483599, 0.0831872225, -0.0086294189, 0.0013008419, -0.0213315766, 0.0158212781, -0.0427742861, 0.0713695884, 0.02479285, 0.0241976865, 0.0141346594, -0.0037647516, -0.0257362388, 0.0109254923, -0.0135922255, -0.0254709609, -0.0144380461, 0.0333386995, -0.0685026273, 0.02919521, 0.0065304479, 0.0326396152, -0.0329998136, -0.0282995179, 0.0096300999, 0.045081757, 0.0389890857, -0.0153747862, 0.0680534393, -0.0233545266, 0.0239016637, -0.0092305075, -0.0835450664, 0.0176886749, -0.0209262874, -0.0016121037, 0.0085524544, 0.025283426, -0.007415724, -0.0491097309, -0.0336400531, 0.0221511312, 0.0011657097, 0.006347877, 0.057186041, -0.0009143739, -0.0132652186, 0.0261444673, 0.0361373127, -0.0432705954, -0.0260250047, -0.0582555868, 0.0164437443, 0.054031577, 0.0308742318, -0.0157580581, -0.0227327924, 0.0091839703, -0.0044197901, 0.0255295616, 0.0211095568, 0.0131971519, 0.0228978395, -0.0377610922, -0.0165407993, -0.0039508501, 0.013873578, 0.0388706066, 0.0153069794, -0.0013367524, -0.004031986, -0.0275576711, 0.0417456925, 0.0153105753, -0.0237585884, 0.020439554, 0.002446678, -0.0038467145, 0.047441002, -0.0042962986, 0.0013017086, 0.0055256947, 0.0083122822, -0.0177791864, -0.0433677211, 0.0230632033, -0.0361537933, -0.0657925531, 0.0423179828, -0.0157678127, -0.051192943, 0.0139662782, -0.064016059, -0.0228892993, 0.023306502, 0.0081682028, 0.0218279213, -0.0490451492, -0.0003138887, 0.0268668644, 0.0016107539, -0.0055186423, 0.0983944833, -0.021763403, 0.0175280161, -0.0015981337, 0.028936049, 0.0281702336, -0.0253606755, 0.0147261005, 0.0221340917, -0.0253936611, -0.0108680511, -0.0324417837, 0.0100802928, -0.0644173697, -0.0178712197, -0.0710591078, 0.0106162969, -0.0154402955, 0.0334819406, -0.0044643674, -0.0127425753, -0.0029919439, 0.0005830496, -0.0314767361, 0.0093596447, 0.0146824839, 0.0234274101, 0.0119328825, -0.022572536, -0.00236257, -0.015612416, -0.0125072431, -0.0457221158, 0.0399070829, 0.0027224501, 0.040553499, -0.0219203997, 0.0058537666, -0.0513837263, 0.0135099832, -0.012664427, -0.0307902731, 0.0264471751, -0.010153261, 0.0268811751, 0.0894375667, -0.0106909173, 0.0031375596, 0.0539466478, -0.0207470097, -0.0194292292, 0.0500518978, 0.0007248106, -0.0038867581, -0.025753038, -0.0080707259, -0.0518514402, 0.0655716062, -0.0126595059, 0.0068355962, -0.0492455363, 0.0294565503, -0.0037051735, -0.0089819105, -0.0241570715, 0.0149641261, 0.0010874713, 0.0510029681, -0.0251248125, -0.0190817267, 0.07724116, -0.0089352047, -0.0063399714, -0.0369573981, -0.0027123732, -0.0476935692, 0.0865340084, 0.0108509017, -0.0104509732, -0.0037044981, -0.0088496357, -0.0272135213, -0.0146152629, 0.0319636837, -0.0170344654, 0.0526367128, -0.0606576912, 0.0213246066, -0.0196979977, -0.0431395508, -0.0295488313, -0.0182414148, -0.0701255351, 0.0197073519, -0.0353586897, -0.0043005082, -0.0516325273, 0.0057640029, 0.0066155349, 0.0308915898, 0.0101582985, -0.0097156549, -0.0131007507, 0.0101540787, 0.0241870657, 0.034701813, 0.034735743, -0.0139238928, 0.0602932125, 0.0434711017, -0.0009322157, 0.0051987288, -0.0270846989, 0.0421451963, -0.0184549764, 0.0012177021, -0.0006519216, -0.0028939904, 0.0394098125, -0.0690337047, -0.0027062031, 0.1185563132, 0.0179482903, -0.0084978221, 0.0009696638, -0.0379160754, 0.0561283529, 0.022001639, 0.0024659487, -0.0799610391, -0.0787099674, 0.0298271962, -0.0039043552, -0.010762943, -0.0502529144, -0.0153670367, -0.1137166619, 0.0331054367, -0.0296768472, -0.0219041668, -0.018002497, -0.0654083192, 0.0177195258, -0.0281309001, -0.0148931881, 0.0287862699, 0.0112413801, -0.009353945, -0.0057373489, -0.0253362805, -0.0219069216, 0.0978529677, -0.0295476839, 0.0258133132, 0.0169835035, 0.0207962338, 0.0059879646, -0.0328808241, 0.0165934581, -0.0123219863, -0.0110536721, -0.0092080189, 0.0194517244, 0.0104812849, 0.0062217363, -0.024968775, 0.0284119472, -0.0326047987, -0.0197786111, 0.0173710696, 0.0753288865, -0.0041869101, -0.0399618037, -0.0288631991, 0.0407934524, -0.052644413, 0.0716665089, 0.012645944, 0.0052607832, -0.0766350627, -0.0443268083, -0.050389532, -0.0190720893, -0.0105250645, 0.045896288, 0.031072516, -0.0269821417, -0.0144119672, -0.0318139084, 0.0191519596, 0.0434606858, -0.0438045152, 0.0076903775, 0.0201273989, 0.0324896611, -0.0072338576, 0.0169740189, -0.0237928871, 0.0360642299, -0.0278860573, 0.0407479741, 0.0086674448, -0.0005025804, -0.0490602404, 0.0534814447, -0.0771080032, -0.0435015522, -0.0193661377, 0.0263984054, 0.0313145071, 0.0174590889, -0.0343011916, -0.0124495132, -0.0195163954, -0.0021994682, 0.0233304296, 0.0070631145, 0.0474735796, 0.0249565542, 0.0163630638, 0.0477447547, -0.0031134493, 0.0235001314, -0.0152002722, 0.0579611287, -0.0180704966, -0.0272880401, 0.0129709123, 0.0112831965, 0.0315612741, 0.0235425513, -0.0067174062, -0.0086232862, 0.0434580892, -0.0531352572, -0.0234163124, -0.0296540372, 0.0275261011, 0.0186664555, -0.0416826196, -0.0201771706, -0.0701490045, -0.0020988504, 0.0001172546, 0.0067121023, 0.0009201191, 0.045599062, 0.0129766064, 0.0252301525, -0.0686231554, -0.0327244364, -0.0272809733, -0.0241365116, 0.0415014476, -0.0244364385, 0.0788527951, 0.0439382307, -0.0168371722, -0.0183226503, 0.0063014058, -0.075839445, -0.0483280271, 0.0412813053, -0.0034296585, 0.0691346526, 0.0291797202, 0.0355265923, -0.0278783832, -0.0117574809, 0.001624675, 0.024363542, 0.0279606525, -0.0502576716, 0.0341540426, 0.0363087468, -0.0205364153, 0.0033374967, 0.042157013, 0.0268386938, 0.0430407003, 0.0083120922, -0.0038458074, -0.0315244198, -0.0458450094, -0.0356825367, 0.030677963, 0.0005306813, 0.0230229851, -0.0897709206, -0.0976805612, -0.0230122395, 0.0489471629, 0.0099530397, 0.0142837772, 0.0184229352, 0.0703773648, 0.0061554895, -0.0678764582, -0.0351915509, -0.0248070527, -0.0151525494, -0.0054084118, -0.0138632944, -6.157725403e-33, -0.0113523407, -0.0128476154, 0.052715648, -0.0227517039, -0.0204269569, -0.0134633156, -0.0497898459, -0.0082967235, -0.0576237738, 0.0404185057, -0.0106818583, 0.020330254, 0.0127199767, 0.0085960552, 0.0010325272, -0.0285915285, -0.0013271358, 0.0319290794, -0.0069299433, 0.0074479184, 0.0432571433, -0.0114079248, 0.0439643227, -0.0246341471, -0.00706203, 0.0369952023, -0.0257965121, 0.0450413376, -0.088748239, 0.0509829223, -0.0001739995, 0.0016768427, 0.0321848467, -0.0231743399, 0.0337896459, -0.0157015715, -0.0859427378, -0.0197743513, 0.0315723456, -0.0204145517, -0.0639805868, -0.0105636884, 0.0286704767, 0.0258632414, 0.0140271252, -0.0562503785, 0.0068844799, -0.0238097031, 0.004225323, -0.0058199335, -0.0416640043, 0.0504117347, -0.010279499, -0.0350844301, -0.0291852914, 0.0616641343, -0.0069192904, -0.0022863082, -0.0430576317, 0.00265188, 0.0086686211, -0.0223290529, 0.0737113431, -0.0096072201, -0.003082175, 0.0691698119, 0.0229719933, -0.0140926577, -0.0538116619, 0.0035986584, 0.0080818525, 0.0700450018, 0.0431653224, -0.0004349083, 0.0386690721, 0.0378174819, -0.1144530624, -0.0004091629, 0.0260573421, 0.0834477395, 0.0262211543, -0.0018032282, -0.0325346999, 0.0096857855, -0.0507424176, -0.0016156132, -0.047862757, -0.018606687, 0.0407238454, -0.0242808145, 0.0042311954, -0.0306050386, 0.0418946408, -0.024160888, -0.0158987269, 0.0498656891, 0.0001740907, -0.0075351759, -0.0019070603, 0.0765651837, -0.0167719182, 0.0014820204, 0.0133600719, 0.0061854213, 0.0192101486, -0.0145891001, 0.0261499304, -0.0020022045, -0.0359363146, -0.017455779, -0.0579750724, 0.0125792287, -0.0388635099, 0.0428232588, 0.0539187938, 0.0201430582, 0.0081523219, 0.0415123701, 0.0042937621, -0.0121971322, -0.0447601862, 0.0235968493, 0.010305577, 0.014478446, -0.0177310985, -0.0062807314, -0.0523064919, -0.0323186181, 0.0147345942, -0.0448874123, -0.0003056009, 0.0540369004, 2.672e-7, 0.0265776534, 0.0452497937, -0.0089617139, 0.0633399338, 0.0350516737, 0.0458789803, -0.0313153341, -0.0137101244, 0.0144361947, -0.0382544436, -0.0234955233, 0.0487906374, 0.0461836644, 0.0593178011, -0.0490844734, -0.0033627092, -0.0437752567, -0.0689138919, -0.0453964658, 0.012512695, 0.1016422659, 0.096787475, 0.0209534839, -0.0241125226, 0.0307076965, -0.0371795483, 0.0289478395, 0.0188536961, -0.0019659493, -0.0163218696, 0.0446992666, 0.016522646, 0.0429287963, 0.0400999486, 0.0241586361, -0.0046524447, -0.0229783971, 0.0777599514, -0.0209934954, -0.0110543864, -0.0309777427, -0.0592024773, 0.0039392272, -0.0749770254, 0.1093933731, -0.0574855097, -0.0572401583, -0.0036756743, 0.0009241849, -0.0329802744, 0.0211069193, 0.0112799732, -0.0335316472, 0.0110716373, 0.011813879, -0.0428752638, -0.0132667683, -0.0789530948, -0.0258361213, 0.0112535395, -0.0414085202, -0.0147061199, -0.0198941622, 0.0067252782, 0.0595880076, -0.0557419658, -0.0153313847, 2.505183255e-34, 0.0481738858, -0.0431403667, 0.0177420788, -0.000856808, 0.0748464912, 0.0095079597, -0.0140585387, -0.0027562436, -0.0114440024, -0.0952380002, 0.0010916351 ]
http://arxiv.org/abs/2406.17163v1
http://arxiv.org/pdf/2406.17163v1
Paraphrase and Aggregate with Large Language Models for Minimizing Intent Classification Errors
"2024-06-24T22:30:26"
"2024-06-24T22:30:26"
Vikas Yadav, Zheng Tang, Vijay Srinivasan
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLM) have achieved remarkable success in natural language generation but lesser focus has been given to their applicability in decision making tasks such as classification. We show that LLMs like LLaMa can achieve high performance on large multi-class classification tasks but still make classification errors and worse, generate out-of-vocabulary class labels. To address these critical issues, we introduce Paraphrase and AGgregate (PAG)-LLM approach wherein an LLM generates multiple paraphrases of the input query (parallel queries), performs multi-class classification for the original query and each paraphrase, and at the end aggregate all the classification labels based on their confidence scores. We evaluate PAG-LLM on two large multi-class classication datasets: CLINC, and Banking and show 22.7% and 15.1% error reduction. We show that PAG-LLM is especially effective for hard examples where LLM is uncertain, and reduces the critical misclassification and hallucinated label generation errors
[ 0.0412707962, 0.0692061484, 0.001669302, 0.0254935939, -0.0328252465, 0.021335952, 0.0182002783, 0.0082510514, 0.0085261008, -0.1061692089, -0.0216864459, -0.0590206981, -0.0055498378, -0.0262268409, 0.0246133953, -0.0101340665, 0.0509760566, -0.0250255801, 0.0055108173, -0.0019812321, -0.0162965544, 0.0521466322, 0.0277754422, 0.0324021354, 0.0107543208, -0.0062604309, 0.0089230184, -0.0041111917, -0.0233191047, -0.0119329505, 0.0120448126, 0.0056922161, 0.0295277797, 0.0580164157, 0.0000015988, -0.0817338228, -0.0471119098, 0.0014951419, -0.0206438601, 0.0468781926, 0.0777407736, 0.0069701099, 0.0617656969, 0.0584419742, -0.0101403892, -0.0083122002, 0.0051839245, 0.0370380022, 0.0538671091, 0.0264950953, -0.0040616323, -0.0942136496, 0.0023961456, -0.0240581557, 0.0109134596, -0.065110445, 0.0606326871, 0.0168192219, -0.016323043, 0.0121520152, -0.0015248734, 0.0342507437, -0.0290196836, 0.0008205889, 0.0071338024, 0.0070699556, -0.005179924, 0.0133535499, 0.0053904294, 0.0446188189, -0.0351034962, -0.0185648594, 0.0081990995, -0.0092770532, 0.0079079242, 0.0099904528, -0.0262875985, 0.0451285504, -0.0062085958, 0.0296695847, 0.0220432691, -0.0012515936, 0.0283920448, 0.0495214425, -0.0611305609, -0.0096924771, 0.0292796604, -0.0145458402, 0.0081741828, 0.0126122963, -0.0467535704, -0.0135632651, 0.006430184, 0.0302412994, -0.0615680069, 0.0369272269, -0.0474766716, -0.0263648201, 0.0716236532, -0.0694447383, -0.0029099185, 0.0034226589, 0.037613783, 0.0592484623, -0.0247962363, 0.0397941098, -0.004785582, 0.0321594886, -0.0882750377, -0.0349366181, -0.0882174373, -0.0081618512, -0.0427794978, 0.0785567015, -0.0298184529, -0.0117813796, -0.0893613175, 0.0191781893, 0.0223866738, 0.0087573864, 0.0010959054, 0.0182300955, -0.0210930128, -0.0041051637, -0.029575618, 0.0079139881, 0.0301958807, 0.0546911992, -0.0160757136, -0.0545693785, 0.0124700433, 0.0286937319, 0.006281442, -0.0025335765, 0.0173466876, 0.0362965353, -0.033505924, -0.0649829358, -0.0620980188, -0.0710992068, -0.0325510092, -0.0342145115, -0.0351760834, -0.037507575, 0.0679633021, -0.0101343058, 0.0020908709, -0.0235957354, 0.0187660754, 0.0251775123, -0.0327979513, 0.06471131, 0.0061715818, 0.0094260676, 0.0527806841, -0.0092669791, 0.0216371622, 0.049589891, 0.0250612181, 0.0237843934, 0.0341359116, 0.0196042564, -0.0059815496, 0.0249033384, 0.0209578015, 0.0099857338, -0.0233530961, 0.0115114423, 0.0176825244, 0.0334310532, 0.0102728093, 0.0908773541, -0.0167238992, 0.0058701811, 0.0522349328, 0.0052865893, 0.0242565945, -0.014626205, 0.0365663581, 0.0141845634, -0.0101222107, -0.0189832281, 0.0021498126, -0.0403414965, -0.0305755753, 0.0448426083, 0.0448330231, 0.0274760574, -0.0440725423, -0.0426527895, -0.0092106601, -0.0226925313, -0.0409943461, 0.0289729293, 0.0350628681, 0.0145603744, -0.0470440425, 0.0705482364, 0.0050958898, -0.0115559176, 0.0145925069, -0.0657164678, 0.035894867, 0.0597541183, 0.0506013632, -0.0287050046, 0.0126725677, -0.0204932075, -0.0444494337, 0.0145380832, 0.052847404, -0.028022822, -0.0147403637, -0.0626339167, -0.0167240258, 0.0384701416, 0.0286773778, -0.0239486415, 0.0077435956, -0.0074775149, 0.043669492, -0.0339307375, -0.0603370965, 0.0368377417, 0.0208301693, -0.0519181006, 0.0442547239, -0.0121830376, 0.0424330905, 0.0223205537, -0.0104790851, 0.0342133604, 0.0229807515, -0.0325253606, -0.0631887168, -0.0149515094, -0.0032866597, -0.031522993, 0.0444169901, 0.006864043, -0.0116300303, -0.0218278188, -0.049941849, -0.0560846329, -0.055551298, -0.0558356643, 0.0566105209, -0.0881690457, 0.0604828373, -0.0142230177, 0.0111560542, -0.0518360622, 0.069568865, 0.0086181546, 0.0127124861, 0.0311195143, -0.0253969114, 0.0223483723, -0.0065203723, -0.012014756, -0.0005188209, 0.0197775532, 0.0428513139, -0.0186350346, 0.0089115612, -0.0465478189, -0.0194347966, -0.0760201588, 0.0002593308, 0.0009701288, 0.0024226664, 0.0104776016, 0.0258193891, 0.0193038136, -0.0009110723, -0.0191208124, 0.0173370317, 0.0218003411, 0.0370238498, 0.0471898243, 0.0390195101, -0.0534156039, -0.015700547, 0.0054963836, -0.0154410442, 0.0651620701, 0.03257218, -0.0183041841, -0.0536120199, 0.0343202762, -0.0224471372, -0.0048188651, 0.0202556625, -0.0042306562, -0.0573896579, -0.0411807001, -0.0231735669, 0.0009965965, 0.0296389908, -0.0514006317, 0.049712874, 0.0244472995, -0.049284026, -0.0176448785, -0.0290505998, -0.0553086549, -0.0093118036, -0.0440097377, 0.0208929107, 0.0222321637, 0.0224476717, -0.0120721357, -0.025469128, -0.0424797982, -0.0076108356, -0.0010369847, -0.0753466114, -0.0091237705, 0.0000853788, 0.0173795465, 0.0143981306, -0.0471644886, 0.0634804219, -0.0234526768, 0.0083507327, -0.0737383887, -0.0153739974, -0.0504647121, 0.0450962856, -0.0163006857, 0.0502714626, -0.0042784037, -0.050048463, -0.0276018977, -0.0652026832, 0.0070849075, -0.0328377783, 0.1015115455, -0.0567826405, 0.0292242691, 0.0092323003, -0.0244076606, -0.0486280136, -0.1077041402, -0.0393951535, 0.0242237262, 0.0204339381, 0.010657344, -0.0568285137, 0.0061803441, -0.0109907901, -0.0045624059, -0.0188737102, -0.035859257, -0.0085096648, 0.0385241397, 0.0591084994, 0.0078735836, -0.0041795182, -0.0287332162, 0.0172128547, 0.019615477, 0.0194601212, 0.0223831013, -0.010090109, -0.0332150459, 0.0183623638, -0.0486497506, -0.0196208972, 0.0178564303, -0.031476818, -0.0006501504, -0.0135162883, 0.1153290719, 0.0303476043, -0.02976292, -0.0100166881, 0.011460552, 0.0300872196, 0.0044503068, 0.0329615772, -0.0346954837, -0.0399791896, -0.0151189277, 0.0313113146, 0.0002798633, 0.0010829231, -0.0212904401, -0.1314488351, 0.0455145501, 0.0120414151, -0.0441045873, -0.0282883327, -0.0331704132, -0.0199388471, -0.0129394634, 0.0195745379, 0.0254335962, -0.0286951587, -0.0020846403, 0.0143363504, -0.0226577204, -0.0399907827, -0.0099498117, -0.0238752533, 0.0018592807, 0.019039711, 0.0189882554, 0.0040205005, -0.0392951667, 0.041745767, -0.0867094025, -0.010117162, -0.0045474945, 0.0578099824, -0.0021971604, -0.001892739, 0.0225260872, 0.003552964, -0.0499051735, 0.0171302669, 0.0043004914, 0.0391847678, -0.0223839264, 0.0236827545, 0.0033932498, 0.0018456483, 0.0074519902, 0.0824859366, -0.0048009083, -0.0123152072, -0.013332339, -0.0013025434, -0.029809555, -0.0242852699, 0.0219123755, 0.0428248979, -0.0480122454, -0.0295222551, -0.0436798334, -0.0263095535, 0.022677213, 0.0237546023, 0.0126927327, 0.0787772685, 0.0319805443, 0.0020925675, -0.0101085473, -0.0444674604, -0.0731665939, 0.0430920906, -0.0120678348, 0.0243536904, 0.0802455992, -0.0376011059, -0.0244355202, 0.0081275553, -0.0708098263, -0.0515842848, -0.017534079, -0.0017939531, 0.0199863464, -0.0043731476, 0.0005490263, -0.0283753593, 0.0553906821, 0.0708526596, -0.0249613915, 0.0114633217, -0.0045030401, 0.0300342198, -0.0215253867, 0.0347235911, -0.0806563944, -0.0131515367, -0.0223439392, 0.0049289493, -0.0583538748, -0.0511173941, 0.0501776449, 0.054967422, -0.0176964067, -0.0511778072, 0.0057504424, -0.0134688588, 0.0427090377, 0.0167468488, -0.0404417515, -0.0146230469, -0.0051411833, 0.0566435829, -0.0305527393, 0.0053071268, -0.0026831166, -0.0181866642, 0.0125185372, -0.0003121184, -0.0200913195, -0.0172452591, 0.0089147072, 0.0063066566, -0.0329302661, -0.0273700599, -0.0118944943, -0.0055301357, 0.0116324257, -0.0073846201, 0.0194693655, 0.0095820185, 0.0071707894, -0.085965082, -0.0021100671, -0.0609395579, -0.0403142497, -0.0182693545, 0.0427582003, 0.0724042207, -0.000262786, 0.0377330445, -0.0223668665, -0.020076016, -0.0283227749, 0.040372435, 0.0090980902, -0.0142488843, 0.0521610752, 0.0040265713, -0.0223475117, 0.0073646675, 0.0971393809, 0.000120013, 0.0455130301, -0.0118256547, -0.0521839894, -0.0498388559, -0.0264405254, 0.0569513887, 0.0300601851, -0.0276209395, -0.0444719642, -0.0429784618, -0.0359533317, 0.0632395372, -0.0071852831, 0.0088407416, -0.0128000854, 0.0591803715, 0.0659624487, 0.0137557043, -0.0235075504, -0.0748441368, 0.0220696311, -0.0081536481, 0.0099713737, -0.0444626771, -5.505349916e-33, -0.0142273223, -0.026587991, 0.0163016599, -0.0337925591, -0.0037281977, 0.0163967591, 0.0211976543, -0.0293699168, 0.0191105176, -0.0019455384, 0.0040705441, 0.0254403483, 0.0256964006, 0.0462212972, 0.0437269844, -0.0334767327, 0.0582049452, -0.0149918841, 0.0180748627, 0.0166818667, 0.0254014265, 0.0334147662, -0.00946349, -0.0930022448, -0.0032780748, -0.0195728038, -0.043505948, 0.0052128294, -0.0137798507, 0.0559674688, -0.0172297042, 0.0673529357, 0.0174248703, -0.0401939228, -0.0184123572, -0.0087308222, -0.0338772759, 0.005729387, 0.0277164411, 0.0085613774, 0.0089143347, -0.0281705055, 0.0415082388, -0.0119705629, -0.0043883515, 0.0150113618, 0.0175596271, -0.0350823551, -0.0175408144, -0.0319591537, -0.0171712879, 0.0158521291, 0.0187236425, 0.0154923238, 0.0079816598, 0.0320960954, -0.007258716, 0.077949062, -0.0511860251, 0.0452606343, -0.0036351359, -0.0030857564, 0.0291250739, 0.0513712801, -0.0153959151, 0.0192435924, -0.008128712, -0.0288368315, 0.0191967953, 0.0103431009, -0.0442281999, 0.0263415966, 0.0037096101, 0.0780729428, 0.003729434, 0.0036085469, -0.0596690476, 0.04664471, 0.0087110065, -0.0169405546, 0.0492422618, 0.0130102271, -0.0470828377, -0.0395237543, -0.0388349704, 0.0242888089, -0.0289596431, 0.036565505, 0.0266131032, 0.044339139, -0.0031261903, 0.0128562469, 0.009723424, -0.0485467017, -0.0621767193, -0.0124431988, -0.0195513368, 0.0042361338, -0.0154326316, 0.006995548, -0.0223928262, -0.0514894724, 0.0175070539, -0.0008756276, -0.0194919668, 0.0164826103, 0.0324139781, -0.0039320439, -0.0653241351, 0.0289955921, 0.006835598, -0.0461403579, -0.0253248382, -0.0173463002, 0.0111259585, 0.0224332791, 0.019892931, 0.008162518, 0.0293437969, 0.0013938406, 0.0197367668, -0.0387999639, 0.0171801448, 0.0458773896, -0.0036710699, 0.0238005705, 0.0232251957, -0.0075022248, 0.030554032, -0.0380639918, -0.0170787442, 0.0050855135, 2.42e-7, 0.0769094229, 0.0292623881, -0.0321057737, 0.0550467521, -0.0076662865, 0.0580468066, 0.0282190368, 0.0090259137, 0.010308994, -0.0055910167, 0.0458127446, 0.0033108036, 0.0088509433, 0.0087322202, -0.0895053521, -0.000485336, -0.0242177323, 0.0057062455, -0.0653297901, 0.004984403, 0.1172658429, 0.1277490109, -0.0007453215, -0.0578677095, -0.0166087113, -0.0878115296, 0.0505641736, 0.0094793262, -0.053764049, 0.0388779528, 0.0396397635, 0.030992398, 0.0088200578, 0.0686848313, -0.0079071559, -0.0072472198, 0.0223350972, 0.0399251096, -0.0027182759, 0.0010904417, -0.0265455972, -0.0097169317, 0.0051071765, -0.0490812249, 0.0677654296, -0.0184973534, 0.0068444605, 0.0095417807, -0.0021998149, 0.0157730114, 0.0319290981, 0.0084363138, 0.0028250956, 0.0019791424, 0.0214495026, 0.0196779985, -0.0440943092, -0.0622322485, 0.0239689201, -0.0108266566, -0.0466152951, -0.0205346383, 0.0037059202, 0.0313659534, 0.03136608, -0.0952280313, 0.0160824638, 2.3142281e-34, 0.0559231713, -0.0052644857, 0.0138816815, 0.0309535265, 0.0300773643, -0.0119885616, 0.0008863059, 0.0412703082, 0.0039549945, -0.0920558795, 0.0123658562 ]
http://arxiv.org/abs/2406.17158v1
http://arxiv.org/pdf/2406.17158v1
DEXTER: A Benchmark for open-domain Complex Question Answering using LLMs
"2024-06-24T22:09:50"
"2024-06-24T22:09:50"
Venktesh V. Deepali Prabhu, Avishek Anand
cs.CL
cs.CL, cs.IR
Open-domain complex Question Answering (QA) is a difficult task with challenges in evidence retrieval and reasoning. The complexity of such questions could stem from questions being compositional, hybrid evidence, or ambiguity in questions. While retrieval performance for classical QA tasks is well explored, their capabilities for heterogeneous complex retrieval tasks, especially in an open-domain setting, and the impact on downstream QA performance, are relatively unexplored. To address this, in this work, we propose a benchmark composing diverse complex QA tasks and provide a toolkit to evaluate state-of-the-art pre-trained dense and sparse retrieval models in an open-domain setting. We observe that late interaction models and surprisingly lexical models like BM25 perform well compared to other pre-trained dense retrieval models. In addition, since context-based reasoning is critical for solving complex QA tasks, we also evaluate the reasoning capabilities of LLMs and the impact of retrieval performance on their reasoning capabilities. Through experiments, we observe that much progress is to be made in retrieval for complex QA to improve downstream QA performance. Our software and related data can be accessed at https://github.com/VenkteshV/DEXTER
[ 0.0130938441, 0.0038322166, 0.0124393376, 0.0543343276, -0.0142599605, 0.0024534361, -0.0124494629, 0.0260863509, -0.0031449848, -0.036123544, -0.0321289934, -0.0498188548, -0.0427262485, 0.0311774239, -0.0204667281, -0.013750664, 0.0516529717, -0.0149210086, 0.0031404856, 0.0086186118, -0.0139430407, 0.0178622231, -0.005871302, 0.0078849709, 0.0168379936, -0.0151822455, -0.0196741894, 0.0163246561, 0.0247527324, -0.0254493989, 0.0316877998, 0.045951996, 0.0558792278, 0.0249819588, 0.0000016959, -0.0480752215, -0.0300081205, -0.0019939835, -0.0542411841, -0.0189357046, -0.0105670532, 0.0460125655, 0.049993556, 0.0109099485, -0.0620137043, -0.0053741029, 0.0027158407, 0.0518501252, 0.0175661352, 0.0703030825, 0.0184221752, -0.0340914242, 0.0263584778, -0.0023391061, 0.0101249451, -0.0462285317, 0.0284935832, 0.00736921, 0.0295132976, 0.0541200675, 0.0051711099, 0.0130044436, 0.0349776447, 0.0384630412, -0.0114817899, 0.0314016342, 0.0011924696, 0.0163676701, 0.0212003887, 0.1067032218, 0.0409889258, -0.0016173298, -0.020719165, 0.0100086629, 0.0050518615, 0.007834956, -0.0645864978, 0.0466647781, -0.0245113987, -0.0032690531, -0.0310984757, 0.0163504835, 0.0260772258, 0.0320105702, -0.0214253552, 0.0675454214, -0.0041144378, -0.0336793326, 0.0270809978, -0.0113029554, -0.0482657664, -0.0460660867, -0.0132462373, 0.0857801959, -0.036387369, -0.000391101, 0.0236513074, -0.0208519585, 0.0312400702, -0.0221555289, 0.023731323, 0.0461823829, -0.0327953026, 0.057316307, -0.0248030983, 0.0194056779, -0.0400115438, 0.0173803065, -0.038837038, -0.0378945917, -0.0242524873, -0.0312617831, -0.0091713946, 0.070945099, -0.055551488, -0.0140560288, -0.0085926503, 0.0173990037, 0.0077211661, -0.0331421793, -0.0051202429, 0.0539700203, -0.0094016232, -0.0118601779, -0.0780081451, 0.0138020068, -0.0676275715, 0.0552240349, 0.0393667482, -0.0428875796, -0.0436646268, 0.0161431581, -0.0060807499, -0.0379901156, 0.0112410514, 0.0247515459, -0.0228758957, -0.0335642174, -0.0252440721, -0.0510491729, 0.0070547969, -0.0597578548, -0.0025068966, -0.0794344023, 0.0049317013, 0.0173805729, -0.0278092157, -0.0444541387, 0.0079023382, 0.0512903221, -0.0228075124, 0.0358762033, 0.0006765974, -0.0357194878, 0.0148332007, 0.0549989082, -0.0070758113, 0.0505633727, -0.0310751181, 0.0256599821, 0.0474088937, 0.0462687053, 0.0023029605, -0.0148422755, 0.0265778117, 0.0103953462, 0.0259502009, 0.086742878, 0.0019064618, 0.0249021184, 0.0075868629, 0.0322227105, -0.0333380178, -0.0636696219, 0.0074019483, 0.0620381832, 0.0211062245, -0.0404879786, 0.0271816757, -0.0011306036, 0.0209209621, -0.0020291917, -0.0323057994, 0.0287685841, -0.0734819025, 0.0019525015, 0.0219812412, 0.0271253064, -0.0430950448, -0.0315640382, -0.0150835626, 0.0025059145, -0.0068362891, 0.0388480574, 0.0468649901, 0.0036821319, -0.0312814303, 0.0510617942, 0.0230002142, -0.0389657393, -0.0261716023, -0.0483303852, 0.0746703744, -0.0005309185, 0.0409725197, -0.0575750917, -0.0335587822, 0.0031788317, 0.0261212438, 0.0031300643, 0.0104279844, -0.0013116488, 0.0418816395, -0.0291421637, -0.0200370438, -0.0711568296, 0.0050727646, 0.0036628949, 0.0602070764, 0.0058435942, 0.0227433573, -0.0521275736, 0.0332761817, 0.023828961, -0.0244219434, -0.0288680624, -0.0203666929, -0.012872682, 0.0151486574, 0.0149986586, 0.0045983559, 0.0171964727, 0.06968759, 0.0021732491, -0.0496596321, -0.0299007967, -0.0502639785, -0.0431734622, 0.0303681307, 0.0075397636, -0.0373105332, 0.0121561941, -0.0426739007, -0.0292093214, 0.011527813, 0.0124089327, 0.0181239471, -0.050021708, -0.0350267366, 0.0333557166, 0.0125084408, -0.0570917428, 0.0878081843, -0.0288410969, 0.0202293377, 0.0244538076, 0.0112277213, 0.0157254357, -0.0354828127, 0.0097465981, -0.0303891487, -0.0161073003, -0.0045434115, -0.0045506638, -0.00911899, -0.0699018463, 0.0119788432, -0.0673251972, 0.0563725419, -0.0411822088, 0.0009515207, 0.0024693299, 0.0163574163, 0.002201943, -0.0140938619, -0.0411610678, 0.0380554125, 0.0256305095, 0.0191839337, 0.02484685, 0.0432014614, 0.0132688861, -0.0293887835, -0.00270231, 0.0059983605, 0.0446465462, -0.041215539, 0.0331842154, -0.0019188458, 0.0223373994, -0.0443611667, 0.0190015323, -0.0384624638, 0.0172538664, 0.0266854204, -0.0448524095, 0.0329798199, 0.06566751, -0.0155223003, 0.0217646491, 0.0161547344, -0.0171364471, -0.0728033781, 0.024348719, -0.0274784695, -0.0080815274, -0.0284207221, -0.0137213673, 0.0080858981, 0.0293283947, -0.0132926451, -0.0038571726, 0.007384703, -0.0004662638, 0.0442024507, -0.0027583078, -0.0513702333, 0.010282686, 0.0020564296, 0.0698372424, -0.0298477318, -0.0327424929, 0.067293264, -0.0079549924, 0.0017055802, -0.0052520186, -0.0227421653, -0.083916761, 0.0650578737, -0.0326574296, -0.0119970692, -0.0007306819, 0.0018078336, -0.0530029163, -0.027360389, 0.0062537831, -0.0388450772, 0.0395791791, -0.0287441202, 0.018213382, -0.026117241, -0.0359205268, -0.0391196273, -0.0315510668, -0.0179589354, 0.0419354215, -0.0055626929, -0.0142285712, -0.0254348591, 0.002761475, 0.0061739869, -0.0119123459, -0.0090359133, -0.0108970953, -0.005856385, 0.0586519875, 0.0372827761, 0.0686471537, 0.0306493305, -0.0232860483, 0.0202956591, 0.0845035613, -0.0087831318, -0.0571067035, -0.0272147339, -0.005995905, 0.0249961782, -0.0201358087, 0.0027256692, 0.0237768833, 0.0556920543, -0.0442289375, -0.0026963765, 0.0862880126, 0.0196673088, -0.0168717708, -0.035898231, -0.0509876087, 0.0179762971, 0.0295208916, 0.0188030787, -0.1034296378, -0.0476717167, -0.0087844599, 0.0192816351, 0.00416857, -0.0275445152, 0.0075584138, -0.1196984127, 0.0219879597, -0.035108123, -0.0103608286, -0.0168807954, -0.0543591306, 0.0281786676, -0.001350062, -0.005013248, 0.0207550656, -0.0127242561, -0.0106719611, -0.0042949817, 0.0299420878, -0.019055089, 0.0493946411, -0.0453802906, 0.0164386258, 0.0281408522, -0.0058942335, 0.0039167483, -0.0384293161, 0.0299206693, -0.016200887, 0.0158674829, -0.0359998271, 0.0322118476, 0.0048839995, 0.0197087787, -0.0462869294, 0.0171922743, -0.0397899263, -0.0420228206, 0.0042774579, 0.0679704994, -0.0269371495, 0.0078045535, -0.0503978059, 0.0093566552, -0.0198083483, 0.0882196203, 0.0137360571, 0.0319543332, -0.0547962524, -0.0097204698, -0.0464560129, -0.0309033878, -0.0245840643, -0.0066430033, 0.0198777728, 0.0497645624, -0.0400321223, -0.0202148836, 0.0277862363, 0.041941423, -0.0479634628, 0.0184139833, -0.0365467742, 0.0097768698, -0.0642857924, 0.079990536, -0.0477146097, 0.0287052765, -0.0590984896, 0.0202837791, 0.0188586731, -0.0580387227, -0.0174307618, -0.0192917697, -0.0622817315, -0.027203314, -0.0310156327, 0.0482655801, 0.0199740063, 0.0263873674, -0.002849974, -0.0281674564, 0.02409265, 0.0233221427, -0.0391448401, 0.020219041, 0.0326403379, 0.0012298797, -0.0062436108, 0.0258060358, -0.0613974668, 0.0103110587, 0.0235062316, 0.0538599566, -0.0335051827, -0.0506918058, 0.0283639356, -0.0241947584, 0.0379647762, 0.0450114943, -0.0396080762, -0.014298181, 0.0166225787, -0.0229774863, -0.0196482837, -0.0104660997, 0.0180999413, 0.018191237, -0.0288014933, -0.0117193591, 0.0417014137, -0.0184381567, 0.0687862784, -0.0346916132, 0.0001560285, 0.0640288368, -0.0224838145, 0.0105200494, -0.0000776384, -0.0435802862, 0.0162474979, -0.0297061205, 0.078040719, 0.0012941505, 0.0675132796, 0.002941442, -0.0133695276, -0.0467870049, 0.0050217109, -0.1103898808, -0.0266606119, -0.0022835508, 0.0099009471, 0.01548672, 0.0031208957, -0.0193613153, 0.0129850861, -0.0240805633, -0.0122845694, -0.0267127603, -0.0073446697, 0.0015001689, 0.083500132, 0.0442746729, -0.0090808282, 0.0493400358, 0.0689140409, -0.0188455638, 0.0224284176, -0.0077094212, 0.0020985664, 0.0003825008, -0.029035395, 0.0319942273, 0.0720910653, -0.0012476372, 0.0101353452, -0.0377409309, -0.0475862436, 0.0305908658, -0.0105644856, -0.0386720635, -0.0018652586, 0.0356483757, 0.0747781917, 0.0503874607, -0.0330602713, -0.0043958053, 0.0204249751, -0.0347516462, -0.014417694, -0.0030281534, -6.37060192e-33, -0.0253257789, -0.0473608151, 0.0341887623, -0.0283928476, -0.013847624, 0.023837585, -0.0264547598, 0.0077106007, -0.0583996736, 0.0002918236, -0.0055258228, 0.0267762858, -0.0040310281, 0.0205215774, -0.0296410155, -0.0299137477, -0.0096376631, -0.00906388, -0.0112678949, 0.000800807, 0.052321624, 0.0302285962, 0.009413464, -0.0265841931, 0.0298906378, -0.034639962, 0.0311208162, 0.0629840046, -0.0515366197, 0.0748812407, -0.0209872611, 0.0427532569, 0.0384445526, -0.0232942924, 0.0117672607, 0.0251675807, -0.1084486097, -0.0310067497, 0.038490314, -0.0429422706, -0.0703924969, -0.017794691, 0.0008065899, 0.0136238234, 0.0237084068, -0.0284723435, 0.0162395276, -0.0215468295, -0.0144339772, -0.0334511884, -0.0353631638, 0.0241127405, -0.0185983106, -0.0242521279, -0.0304009113, 0.0287789106, 0.0059984624, 0.0689983368, -0.0399283394, -0.0256763343, -0.02637982, 0.000212177, 0.0263540968, 0.0217698794, -0.0288263857, 0.0427050665, -0.0071687941, -0.0216993634, -0.085672915, -0.0389371663, -0.02241119, 0.0781177953, 0.0501818322, 0.0785968974, 0.0356434509, 0.0362200998, -0.075678803, 0.0413879007, 0.0116137452, 0.044998724, -0.0000435076, 0.0207438581, -0.0011845082, -0.0102479495, -0.0516750179, 0.0525575653, -0.0525992103, 0.0005135881, 0.042805139, 0.0156122455, 0.0121147735, -0.028928034, 0.047352951, -0.0432643518, 0.049040392, 0.0157441348, 0.0044240332, 0.0059730513, 0.0132711818, 0.0541459173, -0.0367369018, 0.006326023, 0.0584367774, -0.0388278924, -0.0371703357, 0.0151433535, 0.0223103184, -0.0284877252, -0.0273913592, -0.0258562397, -0.0244413838, 0.0043382659, -0.0150572443, 0.0242280681, 0.014484304, 0.0648323745, -0.0014854425, 0.072629109, 0.0068836901, 0.0242231525, -0.0454276949, -0.0547799058, -0.0006034392, -0.0157505237, -0.0077158762, 0.0408252366, -0.0093828384, 0.0044484418, -0.0427489989, -0.0429400094, -0.0061916672, 0.0682686865, 2.403e-7, 0.0764027461, -0.0192213878, 0.0120839616, 0.0470948517, -0.013600884, 0.00928804, 0.0011218986, -0.011655814, 0.0250567961, -0.0407490842, -0.0157586578, 0.0858110934, 0.0519855395, 0.0482598506, -0.0267831236, -0.0117386747, -0.03504939, -0.0812267736, -0.0563150458, -0.0232965928, 0.0736112297, 0.0784804076, -0.0118132168, -0.0014361423, -0.0125507675, -0.0454223603, 0.0775548592, -0.0249838717, 0.0217332412, -0.0160485916, 0.0312349144, 0.0153376749, 0.0293429624, 0.016856702, 0.0236241668, 0.0327886119, 0.0162539054, 0.0544043221, 0.0271292292, -0.081507355, 0.0040310416, -0.0575000346, 0.038487725, -0.0300436374, 0.1016483828, -0.0570752732, -0.0310173351, -0.00530391, -0.0305169597, -0.0122903707, 0.0280322358, -0.0060043726, 0.0255311988, 0.0029750757, 0.0049146209, -0.0174374115, -0.0061331494, -0.1089790687, 0.0146041363, 0.0001576577, -0.0433905423, -0.0258055609, -0.0094164666, -0.007506303, 0.0285032, -0.0115863159, -0.0253967829, 2.164512365e-34, 0.052899614, -0.0066096648, 0.0085062915, 0.0497096106, 0.0459578931, -0.0058813458, -0.0306721386, -0.0232225358, 0.0236582216, -0.1393121183, 0.010838029 ]
http://arxiv.org/abs/2406.17135v1
http://arxiv.org/pdf/2406.17135v1
Testing network clustering algorithms with Natural Language Processing
"2024-06-24T20:54:32"
"2024-06-24T20:54:32"
Ixandra Achitouv, David Chavalarias, Bruno Gaume
cs.SI
cs.SI, cs.CL, cs.CY, physics.soc-ph
The advent of online social networks has led to the development of an abundant literature on the study of online social groups and their relationship to individuals' personalities as revealed by their textual productions. Social structures are inferred from a wide range of social interactions. Those interactions form complex -- sometimes multi-layered -- networks, on which community detection algorithms are applied to extract higher order structures. The choice of the community detection algorithm is however hardily questioned in relation with the cultural production of the individual they classify. In this work, we assume the entangled nature of social networks and their cultural production to propose a definition of cultural based online social groups as sets of individuals whose online production can be categorized as social group-related. We take advantage of this apparently self-referential description of online social groups with a hybrid methodology that combines a community detection algorithm and a natural language processing classification algorithm. A key result of this analysis is the possibility to score community detection algorithms using their agreement with the natural language processing classification. A second result is that we can assign the opinion of a random user at >85% accuracy.
[ 0.0297250133, 0.0376635566, -0.0400357172, 0.060860958, -0.0316200443, 0.0038336816, 0.0056063188, 0.0013760646, 0.0795025676, -0.0202376731, -0.0104311705, -0.0460257158, 0.036783386, 0.0112568839, 0.0245806314, 0.0010098519, 0.0274150781, 0.0470677167, 0.0060641174, 0.0015663146, 0.0159333535, 0.0298843477, 0.0249492936, 0.0134669067, 0.0381961018, 0.0048545697, 0.0375931114, -0.0541611984, 0.0536153987, 0.0035542981, 0.0091741793, 0.0553994402, -0.0679791942, 0.0575972013, 0.0000020169, -0.0448029973, -0.0139421877, -0.0438937694, 0.0559517592, -0.0292348173, 0.0448940881, 0.0377466008, 0.0227830485, 0.0544142313, -0.0886003077, 0.0056832181, 0.0279603582, 0.0108602569, 0.0479968488, 0.0548427477, -0.013673123, -0.0823260695, -0.0348320231, 0.0089838458, -0.0338040479, 0.0477457605, 0.0476146489, 0.0058475318, 0.0051640738, -0.0066069718, 0.0134782717, -0.0059397654, -0.01681244, -0.0009599088, 0.0192905925, 0.0042422256, -0.0556251667, -0.0350896977, 0.0259234477, 0.0258990042, 0.044793129, -0.001720243, 0.0452358201, 0.0393984504, -0.0223599728, 0.0706951395, 0.0177839324, 0.0258995388, -0.0396282673, 0.0036187973, 0.0125130853, 0.0707019269, 0.0249783918, 0.0030680739, -0.0044454336, 0.1173132136, -0.0086041717, 0.0257176291, -0.040676564, 0.0057447944, -0.0219230093, -0.0119753415, 0.072203733, -0.0038109194, 0.0164088998, 0.0049108677, 0.0034206461, 0.0365884677, 0.017287828, -0.0488245152, -0.0210656729, -0.0298502594, 0.0360583663, 0.0207670238, 0.0241758749, -0.0353038609, -0.0130893448, -0.0252720714, 0.0099840034, 0.000309045, -0.0795475319, 0.0150078582, 0.014105103, 0.0119612357, -0.0098824035, 0.0158979874, -0.08640486, 0.0076904409, -0.0785429403, -0.0062086829, -0.031455148, -0.0013203981, 0.0679155663, -0.0059107933, -0.047387775, -0.0091442792, -0.0372471884, 0.0136633562, -0.0505505539, 0.0044523603, 0.0817659423, 0.0238971207, 0.052869577, 0.0019581218, 0.010321592, 0.0192765705, 0.0431119837, -0.0202202853, -0.0039390535, -0.0410961322, 0.0081967162, -0.0047177025, 0.003721361, -0.0759252757, 0.06104156, 0.036410518, -0.0010927881, -0.0078990739, -0.014875643, -0.0029253669, -0.0441579595, 0.0508127771, -0.0395575576, 0.0302341953, 0.0525778048, -0.0029867257, 0.0214253049, 0.0022295557, -0.0030614214, -0.0060686674, 0.094429329, -0.0090258643, 0.0240166392, 0.0147906085, -0.0418069661, -0.0457160845, 0.0247574802, -0.0085300021, -0.0074692639, -0.0576081388, -0.0233576428, 0.0637638345, -0.0285972264, -0.0146724181, -0.0091534834, 0.0501134023, -0.0161380377, 0.0547662824, -0.0222294573, 0.0470378324, 0.0143228294, 0.0317487493, -0.0202000663, -0.0293936413, -0.049404975, -0.0280713234, 0.0330793187, 0.0536113307, -0.004293316, -0.0486867577, 0.0038588827, 0.0029334889, 0.1016887277, -0.0145842489, 0.014408946, -0.0260054339, 0.0014495231, -0.0494959578, 0.0369055383, 0.0196649395, 0.0323287733, -0.0444526821, 0.0287702996, 0.0393731222, -0.003828885, -0.0060317158, 0.0447146557, 0.0085257823, -0.009253893, -0.024176864, -0.0074363137, -0.0185147617, -0.0506304204, -0.0063227098, 0.0132245021, 0.0486145243, -0.0089547085, -0.0062196432, 0.0352317616, -0.0048031849, -0.0096026026, 0.0409593694, -0.0229552239, -0.0058223489, 0.0165690556, 0.0679299682, 0.015938418, 0.0177209321, 0.043950621, 0.0569418631, -0.0065899435, -0.0409014262, -0.0006024634, -0.0265100263, -0.0442638099, -0.002920599, 0.021656068, -0.0199423302, 0.0071691633, -0.0605276823, -0.0307864435, 0.0217952486, 0.0210143942, -0.0083322283, 0.092131339, -0.0145299649, 0.0355565101, 0.0123207811, -0.0037726888, -0.045643799, 0.0214680582, -0.0366403162, 0.0614514574, -0.0349556282, 0.0423995145, -0.0594944805, -0.0451350808, 0.016640326, 0.0074158129, -0.0366224274, -0.0261730216, -0.0026603648, 0.0070242924, 0.0560823604, 0.0055803028, -0.0335449353, -0.0258201659, -0.0565140024, -0.0234149508, -0.0105223246, 0.0351938009, 0.009156513, -0.0081895553, 0.0004669798, 0.0047769677, -0.0049738614, 0.0373722874, 0.0301128086, -0.0046357028, 0.0530683547, -0.0325542502, -0.0307209343, -0.0119821262, -0.0535626858, -0.0264100023, 0.0475378372, 0.0357585438, -0.0799813271, -0.0270262528, -0.0144677162, -0.1006591842, -0.0367676914, -0.0067355246, -0.026358394, 0.008609416, 0.015570893, -0.0046987212, 0.000165995, 0.0507706888, 0.0090968022, 0.0207307879, 0.0771916807, 0.0559203215, -0.0485383384, -0.046043735, 0.0425426513, -0.007985563, -0.0496115945, 0.0252478868, 0.0334730521, 0.0356094539, -0.0091778226, -0.0124741122, 0.0182301383, -0.0547553599, 0.0068502501, -0.0043283449, -0.0366986282, 0.04724437, 0.0170872919, 0.0014142379, -0.016883539, 0.0227548182, 0.0220427513, 0.0144108199, 0.0061168345, -0.0827541575, -0.0121508045, -0.0020989787, 0.1016894504, 0.031306576, 0.0381258279, -0.0269598756, 0.0213572495, 0.0017974023, 0.0452180654, -0.0153102269, -0.0437631682, 0.0359441712, -0.0259947162, 0.0340408981, 0.001100329, -0.0241975691, 0.012554545, -0.0193617828, 0.002248063, 0.0918603837, -0.0177601725, 0.045071777, 0.0429809056, -0.0003458673, -0.0423694104, 0.0120419906, -0.0182619058, -0.0093768351, 0.0926420391, -0.0386398956, -0.0577010959, 0.0403983667, -0.015993908, -0.0473231748, 0.0180879831, -0.0151505908, -0.0106026912, -0.0075944909, -0.0362125598, 0.0094537875, -0.009144567, -0.0176727884, 0.019073192, 0.0097349351, 0.0137142939, 0.0284311716, 0.0921503529, 0.0612176582, -0.0364935771, 0.0077185975, 0.05455897, -0.0236952174, 0.0627564415, 0.0279965345, -0.0327735581, 0.0519102924, -0.0666425079, 0.0126994168, -0.0173460376, -0.0554605462, 0.0239861999, -0.0473821983, 0.0165290162, 0.0085160816, -0.0833680332, -0.0153760258, -0.0929251462, 0.0081252521, -0.0305563752, -0.0237067714, -0.0409060307, 0.0149241881, 0.0127703371, -0.0101182405, -0.131449461, -0.0275924951, 0.0063328492, -0.049863562, 0.0571992658, -0.0244157575, 0.0498274788, -0.0266312417, -0.0159040783, -0.0034759929, -0.0115454914, 0.0135258017, -0.0214143489, 0.0339701883, 0.036951229, -0.0003131079, -0.0634846985, -0.0051803999, -0.0163771808, 0.019209953, 0.0082950927, 0.0187682398, 0.016671, -0.0848888084, -0.0024535086, 0.0355725177, 0.0006151191, -0.0015401604, -0.0112726465, -0.0281457864, 0.0135870716, -0.0251398664, 0.0249462649, -0.0062858756, -0.0602120198, -0.0155866789, 0.0053160149, 0.0003873442, -0.0559165105, -0.0098012974, -0.0107629057, 0.0397981107, -0.0313919671, -0.0372232199, 0.1164935306, -0.0054622698, -0.0570748709, -0.0066990326, -0.0175803024, 0.0006370182, -0.0033110015, -0.0330008008, 0.0238468722, 0.0034369461, -0.0258184727, -0.0427580215, -0.0157295652, -0.0495063886, 0.016448468, -0.015201523, 0.0127596855, 0.0278535169, -0.0376691148, -0.0107182218, 0.0120318737, -0.0109682372, -0.0241570435, -0.0082588112, -0.0195291191, 0.025977958, -0.0124508403, 0.0067618494, 0.0187913813, 0.0193978958, -0.015458704, -0.0739499554, -0.1153717712, -0.012582792, -0.0173831079, 0.021686431, 0.0213228054, -0.0061901584, -0.0104760751, -0.0120966928, -0.0833862126, -0.0198633168, -0.0300489925, 0.0269978419, -0.0792625025, 0.0049314448, 0.0142166736, -0.0268966332, 0.0347992517, 0.0035590148, 0.0231386181, -0.0294513498, 0.0200997107, 0.0340253338, 0.0341495201, -0.0220397245, -0.0052954955, 0.0260545257, -0.0125122545, 0.0232520849, 0.0339495987, -0.0195668153, 0.0224989355, -0.0274980813, -0.0247209407, -0.0447734445, 0.0603752583, -0.0249495842, 0.0116749983, -0.0224471763, 0.0135408659, -0.0094085271, -0.0184890777, 0.0220571868, 0.0045696604, -0.0131990323, -0.0088262614, 0.0702672452, -0.0319347195, -0.0695311278, -0.0168081764, -0.0037643791, -0.0299160462, 0.0392796621, 0.0068360884, -0.0393763669, -0.1030514762, 0.0065050358, -0.0887033567, -0.0308862533, 0.0144831501, 0.0048187817, 0.044352375, -0.0101675317, 0.0201068632, -0.0220957194, -0.0435754396, 0.005640334, 0.0019422804, 0.0411496423, 0.0126909912, 0.0141458679, 0.0379290953, -0.0023080399, 0.0358057618, -0.048229035, -0.0248979721, -0.0302474927, 0.0052330927, 0.0055438974, -6.55951929e-33, -0.0090011507, -0.1443444341, -0.0219501648, 0.0120605221, 0.0028641846, -0.0154867442, -0.0143730296, 0.0415844284, 0.011740326, -0.0016055703, -0.0009636102, 0.0336097181, -0.007310221, -0.0043970244, -0.0013185674, 0.0229087174, 0.0013547296, -0.0223433077, 0.0112329517, 0.027525207, 0.0423928797, -0.0453935266, 0.0233666413, -0.0835136473, 0.0215729419, 0.012721166, 0.0020936206, 0.0149565712, 0.0710292459, 0.005379952, -0.030134812, 0.0334850959, 0.0285380501, 0.0106670354, 0.0284070484, 0.0170018896, -0.0567987971, -0.0347181261, -0.0237955917, 0.0079154326, -0.0139182089, 0.0173116401, 0.0260212589, -0.0159801319, -0.0154855167, 0.0338953957, 0.0817833394, 0.022746196, 0.0141070634, 0.0053375391, -0.0339015014, 0.044096902, -0.0079871062, 0.0511022732, -0.0387525037, 0.0019974713, -0.0187277142, -0.0110393409, -0.0673785135, 0.0431097858, -0.0663963258, -0.025723815, 0.0081087751, 0.0469725914, -0.0009635134, 0.0371927097, 0.0236157905, 0.0955209583, -0.0070678429, 0.0290996395, 0.0377020836, 0.0125112766, 0.0128979217, 0.050392516, -0.0359499864, -0.028113829, -0.0261240322, 0.0268193502, 0.0691691935, -0.0824723691, 0.0122463387, 0.0072931657, -0.0623322241, -0.0581377894, 0.0511428602, -0.0701276287, -0.0016572403, -0.0128480066, -0.0536234193, -0.0283645466, -0.0737389028, -0.0277925916, -0.010977176, -0.0751522928, -0.0091829961, -0.0041906475, -0.002577092, 0.0239304379, 0.0099135898, -0.0234144889, -0.0209881403, -0.0273758452, -0.0453649424, -0.0061067701, 0.02601826, -0.028167164, -0.0364289246, -0.0085362792, -0.0340960734, 0.0075813956, 0.0488289967, 0.0032628935, -0.0221780371, -0.0194854513, 0.0294778943, 0.0310381409, -0.0158578437, -0.0085575115, 0.0443168953, 0.041140642, 0.0367650315, -0.0022678571, -0.0373867191, -0.0136225726, -0.0264398791, -0.011474994, -0.026489079, 0.0741758272, 0.0235640015, -0.0134683978, -0.0289448127, -0.0787249878, 2.89e-7, 0.0396100543, 0.0506642647, 0.0053197062, 0.0067797969, 0.0414656699, 0.0102175837, 0.0447038598, 0.0080373352, 0.0063364832, -0.0462303385, 0.0073033124, 0.026446756, 0.007261618, 0.0568787605, -0.0188382231, 0.0182387307, -0.0006983929, -0.0240965113, -0.0215886142, 0.0220778044, -0.0148477843, 0.0293209143, 0.0084766084, 0.0111560617, -0.0712246895, -0.0353044495, -0.0020037051, -0.0132058468, -0.0522209704, 0.0133881057, -0.0078419372, -0.0258655418, 0.0019658075, 0.0525055788, 0.0040095095, 0.0249782782, 0.0346598886, -0.0234306399, 0.0062125763, 0.0533880219, 0.0122595504, -0.0059790662, 0.0109754084, -0.0097203143, 0.0472426899, -0.0333472714, -0.0432131477, -0.0034456493, -0.0089880489, -0.0435008556, 0.0455301479, 0.0164879449, -0.0193582997, 0.0598379225, -0.0100480821, -0.0356225781, 0.0041970145, -0.0422743112, 0.0192731619, 0.0123993466, -0.0217972398, -0.0618574657, 0.0527388044, 0.0066811866, 0.0647059605, 0.042798575, 0.0366420262, 2.302871264e-34, 0.0028595291, 0.022787014, -0.0127074374, -0.0422683731, 0.0537245944, -0.0121393306, -0.0746363774, -0.0066640414, 0.0357259549, -0.0384524837, 0.0091767088 ]
http://arxiv.org/abs/2406.17104v1
http://arxiv.org/pdf/2406.17104v1
Automated Adversarial Discovery for Safety Classifiers
"2024-06-24T19:45:12"
"2024-06-24T19:45:12"
Yash Kumar Lal, Preethi Lahoti, Aradhana Sinha, Yao Qin, Ananth Balashankar
cs.CL
cs.CL
Safety classifiers are critical in mitigating toxicity on online forums such as social media and in chatbots. Still, they continue to be vulnerable to emergent, and often innumerable, adversarial attacks. Traditional automated adversarial data generation methods, however, tend to produce attacks that are not diverse, but variations of previously observed harm types. We formalize the task of automated adversarial discovery for safety classifiers - to find new attacks along previously unseen harm dimensions that expose new weaknesses in the classifier. We measure progress on this task along two key axes (1) adversarial success: does the attack fool the classifier? and (2) dimensional diversity: does the attack represent a previously unseen harm type? Our evaluation of existing attack generation methods on the CivilComments toxicity task reveals their limitations: Word perturbation attacks fail to fool classifiers, while prompt-based LLM attacks have more adversarial success, but lack dimensional diversity. Even our best-performing prompt-based method finds new successful attacks on unseen harm dimensions of attacks only 5\% of the time. Automatically finding new harmful dimensions of attack is crucial and there is substantial headroom for future research on our new task.
[ 0.0411893837, 0.0582233518, -0.0169177167, 0.0175648984, -0.0054101814, 0.0031841595, 0.0024481225, 0.0219740029, 0.0608078688, -0.0387320742, -0.0091920607, -0.0082258759, -0.0104170274, 0.0089820931, 0.0619738847, -0.0156293213, 0.0471986271, 0.0079771979, -0.0238196626, -0.0041828165, 0.0224357657, -0.0141397547, -0.0148099139, 0.0298197549, -0.0475747138, -0.0277613513, 0.0090445941, 0.0062658316, 0.0658538043, -0.0587424785, 0.0265289657, 0.0249493588, 0.0040561357, 0.0693660676, 0.0000017284, -0.045427423, -0.0229070671, 0.0175156333, -0.0054871268, -0.0174508691, 0.0451787114, -0.0321587585, 0.0039311629, 0.0506902151, -0.0132586518, -0.0112245055, 0.0348059908, 0.0332822874, 0.0477423705, 0.1278704256, -0.0224882755, -0.0068743257, 0.035837993, -0.0274595693, 0.0124873845, -0.0362783074, 0.046246361, -0.0555550121, -0.0363094769, 0.0060681286, -0.0000706609, 0.0085909972, -0.0087178377, -0.0051264926, -0.0151612312, -0.0025192089, 0.0104300994, -0.0225027706, 0.0063002114, 0.0756654218, 0.0046701445, -0.0045384481, 0.0205214806, 0.0050151674, 0.0435047448, -0.001977036, -0.0286908541, -0.0134649286, -0.0078136716, -0.0265419744, -0.022965081, 0.0236166958, 0.0658277646, 0.0386590213, 0.0457304753, 0.0134023381, 0.0073724962, -0.0082228025, 0.0224044826, -0.027901195, 0.001988569, 0.009414318, 0.0346541628, 0.0181063432, -0.0175062921, 0.0119781224, -0.0638461336, -0.0641882941, 0.0566602387, -0.0772882625, 0.0435888059, -0.0091169681, -0.0333398767, 0.0165769868, 0.0256805737, -0.0082281213, -0.0360026807, 0.0490219481, -0.0005328193, 0.0252404753, -0.008628956, -0.0119871432, -0.0024988251, 0.0084614214, 0.0355643071, 0.0324089415, -0.050470829, 0.0570543632, -0.0700834021, 0.0106359264, -0.0087254746, 0.0104727577, -0.0091125974, 0.030193666, 0.0060667954, -0.0681320354, -0.0180189759, -0.0041381894, -0.0023514328, -0.0637830049, -0.0404016785, 0.044824481, -0.037050534, -0.0278029032, -0.0093820356, 0.1446098983, 0.0526906811, -0.0214111432, -0.0327018984, -0.07106971, -0.0520093255, -0.0098832222, 0.0398010723, -0.0254417155, -0.0080090603, -0.0381470323, -0.0328526087, -0.0715254471, -0.0018022956, 0.0011557816, -0.007752791, 0.0587258339, 0.0030338259, -0.0278590992, 0.0319214724, 0.0555503629, -0.0434726439, 0.0617694743, 0.0067876712, 0.0481601208, 0.0415693372, 0.0170722846, 0.0241241474, 0.0347368084, 0.0332053937, 0.0070840199, -0.0162091628, 0.0073978235, -0.0209438056, -0.0079824021, -0.0517696626, 0.0502195433, -0.0108197974, -0.0755435973, 0.0736649781, 0.0010174084, -0.0471997447, 0.024683468, 0.0247286335, -0.0063049244, -0.0112293698, -0.0206910465, -0.0523076802, -0.012269794, -0.0920868292, -0.0759967491, 0.0212364402, 0.0207496919, -0.0309452452, -0.0401621759, -0.0080209887, -0.0162604917, 0.0706548467, -0.0260922592, 0.0262537748, 0.0457083918, -0.0177182052, 0.0103663672, 0.030427536, -0.0221690163, -0.0221716091, -0.0421813875, -0.0158572346, 0.0325310677, 0.0483427681, -0.0592840798, 0.0134103214, -0.0515349209, 0.031658113, 0.0150632849, 0.041436024, -0.0038803974, 0.0125715593, -0.0112223011, 0.0058887219, -0.0200063176, 0.001305737, -0.0028903091, 0.056009464, 0.0134285176, -0.0165763982, -0.0034629419, -0.0561360791, 0.0609774217, 0.0326976515, -0.046566654, 0.031914629, 0.0355273187, 0.0649113208, 0.0162455607, -0.0055668307, 0.0097401412, 0.0464341789, -0.0079588853, -0.0742082745, -0.031115124, 0.0234538633, 0.0068577765, 0.0225303192, -0.0253474768, -0.0279075149, 0.0527378097, -0.0430767015, 0.0684457719, 0.0573975518, -0.0422237478, -0.0588773154, -0.0112567516, -0.022669971, -0.0116366446, 0.0268033706, -0.0036878374, 0.0825203657, -0.0360327885, -0.0257854331, -0.0187452957, -0.0085796984, -0.0036911389, -0.017925635, -0.0264557302, -0.0257060155, -0.0897587091, 0.025144361, 0.0036800622, -0.0178528987, -0.0334515907, -0.0200862605, 0.0000894413, -0.0312120076, -0.0204567667, 0.0080050854, -0.0059617087, -0.0411614105, 0.0177717712, -0.0193046033, 0.0068614217, 0.0017633667, -0.0142881842, 0.0567158908, 0.0115030287, -0.0087643247, -0.0225166231, -0.0217214525, -0.0021603361, -0.0214967914, 0.0678647906, 0.0043776697, -0.0455347896, 0.0064724856, 0.0184957329, -0.0280485209, 0.0190946646, -0.0261499081, -0.0516602658, 0.0587174743, 0.0445073545, -0.042891141, 0.0542098247, 0.078675136, 0.1098073348, 0.0520089455, 0.0651241168, 0.0000844603, 0.0033122578, -0.0163462758, -0.0155505687, -0.0059918999, -0.030927768, 0.0165373255, 0.0234446395, 0.0155417323, -0.0160983298, -0.0280110333, 0.0622883104, -0.0187594686, -0.0492259264, -0.0144776395, -0.0487923138, -0.0074746553, -0.0188818369, -0.0072770626, -0.0608860329, 0.0909835473, 0.0230648965, 0.0480551943, -0.0061943135, -0.0574082583, 0.0353451036, 0.0487505421, -0.0231864732, 0.0219272468, 0.0291941334, 0.0149633046, -0.0173345506, -0.0225441437, 0.0517212339, -0.0210370105, 0.0096077854, 0.0004657709, 0.0116245979, 0.040088065, -0.056071654, -0.0908495709, -0.063399978, -0.0138858045, -0.0086642085, -0.0261604954, 0.003189276, -0.034837395, -0.0176364183, -0.0167153291, -0.0544423461, 0.0022839783, -0.0184458345, 0.0059733223, 0.0106243184, 0.0368169583, -0.0356719084, 0.0292920526, -0.0318321995, 0.0419706255, 0.0814838037, -0.0298764613, 0.0028895531, -0.0203698557, -0.0383679196, -0.0333160423, 0.0000844921, 0.0284938272, 0.0213878583, 0.0008989507, -0.0152584771, 0.0098189889, 0.0020469187, -0.0042012534, 0.0087971454, 0.0741633028, 0.041659981, 0.0115596661, -0.0037615935, -0.0230340753, -0.0662451386, -0.0005790789, -0.0032521063, 0.0438685752, -0.0454930067, -0.0246367846, 0.007834278, -0.0643021315, 0.0150756417, 0.0007206109, -0.0572523661, -0.0220619962, -0.0168743581, -0.0309578162, -0.0326305777, 0.0317961276, -0.0194608532, 0.0205543172, -0.0293053053, -0.011894837, -0.040987853, -0.0523711927, -0.0260193963, -0.0306497663, 0.0282808784, 0.0291982424, 0.0216431357, -0.0409939773, -0.0113987513, 0.0451527312, 0.017110059, 0.0014642646, -0.0026879476, 0.1166631132, 0.0118640596, -0.0190769285, -0.0277733523, 0.0399112105, 0.0029138902, -0.0300938711, 0.0080475695, 0.0251869299, -0.0106119048, -0.0407677703, -0.0255820099, 0.056983646, 0.0564277768, 0.0609641671, 0.0062984782, -0.0484661832, 0.0033422841, -0.0747765675, 0.0107517662, -0.0480044708, -0.061534401, 0.0066086291, 0.0037360832, -0.0432023145, -0.0519341864, 0.0117790643, -0.0131171104, 0.0116967699, 0.0077774161, -0.0146674449, -0.0578072108, 0.0317959972, -0.0327061079, 0.0137607967, 0.0252393764, 0.0241521336, -0.0062921802, -0.0127505353, -0.0074672112, -0.002753715, -0.0291269384, 0.0363125876, -0.0831225291, -0.1043047532, 0.0147507032, 0.0714454949, 0.0091594011, 0.0195827521, -0.0390067138, -0.0684694871, 0.0802418441, 0.0770575032, 0.0212033074, -0.0083149904, 0.0680566207, 0.0011170252, 0.0176639501, 0.01808488, -0.0364255793, -0.0126884524, 0.054642912, -0.0162518378, -0.0410912484, 0.012031029, -0.0012072199, 0.0249476749, 0.0349714123, -0.0099065984, -0.0144229718, 0.0251641199, 0.0035676323, 0.0127568236, -0.0179026537, 0.0276879016, 0.0285260063, 0.0200577248, -0.0190163143, -0.0094384355, 0.014593496, -0.0225093942, 0.0588043779, -0.0596372001, 0.0173424892, 0.0230240673, 0.0309239756, 0.0384475067, 0.0211290419, -0.0217007417, 0.0538071319, 0.0071566487, 0.0122509608, 0.001917546, -0.0121863633, -0.0041000755, 0.0258598328, -0.0095802499, 0.0036718531, -0.0234778766, -0.0292807557, -0.0347711295, 0.0447330587, -0.0007678657, 0.0185665302, -0.0169143267, -0.0138548361, -0.0121208774, -0.0239754114, -0.0043546231, -0.0370413661, -0.0550377257, 0.0287875645, 0.0043984544, -0.0212676432, 0.0088491961, 0.0717376322, 0.0058453283, 0.0607275739, 0.0236247275, -0.0454103015, -0.0169188324, -0.0225229114, 0.0419910401, 0.0251842197, -0.0209746193, -0.0183702018, -0.0604756847, -0.0705170855, 0.0129737891, -0.0070996629, 0.0251796898, 0.0193600524, -0.0384936742, 0.0181706119, 0.0181495957, 0.0462461598, -0.0426576659, 0.0023665584, -0.010826014, -0.0596532412, 0.0303406361, -5.354155628e-33, 0.0383101329, -0.053718172, -0.0555843525, 0.0140723549, 0.0292868298, 0.0053703329, 0.0216709431, -0.0179155897, -0.0166344568, 0.0191495977, 0.0249668285, 0.0044922349, -0.026337212, -0.0112945875, -0.0131128374, -0.0871356726, 0.0077905152, -0.0307317078, -0.0171810277, 0.0174186826, 0.0416658632, 0.0140252262, 0.014533015, -0.1087094173, 0.0320607945, 0.0172156505, -0.0285498183, 0.0167130306, -0.0236036852, 0.0715169981, 0.0249429028, 0.0489384606, 0.007470611, 0.0155813303, 0.0294966586, 0.0148672033, 0.0065151867, -0.0050492124, -0.0327943563, -0.0182748083, -0.025266204, -0.0552034564, 0.0328053162, -0.0130647402, -0.015649233, -0.0342879742, -0.0064836033, -0.0068134167, 0.0060033584, -0.0516234413, -0.0416367538, 0.0022159172, -0.0388162881, -0.0268524997, -0.0235304628, 0.052491419, 0.0514556728, 0.0173772275, -0.0440269038, 0.0183485541, 0.000230715, -0.0327199511, 0.0166756418, -0.0260410607, 0.0004473964, 0.0680189952, 0.0073268339, 0.0580630153, -0.0156120015, -0.0201325174, -0.0075456193, 0.0329861417, 0.0729865879, 0.0751219392, 0.0246230029, -0.0545416549, -0.1297006309, -0.0042906841, 0.035373345, -0.0115597975, 0.0314223282, -0.0287823603, -0.0548561923, -0.0038480514, -0.0070391418, -0.0402997769, -0.0339365005, -0.0204701554, -0.0030670215, 0.0148070781, -0.0474275127, -0.0436746515, -0.0289890803, -0.0494792424, 0.0241398346, 0.0598794334, -0.0008498575, -0.0392374247, 0.0161755029, 0.0001453301, 0.0088411309, -0.0013389839, 0.0349510014, -0.0699677989, 0.0385035276, -0.0020909568, 0.08747188, 0.0395936519, -0.0177836828, -0.0223146882, -0.0077700224, 0.0534519963, 0.0096437335, 0.0268829539, 0.0209196527, 0.0170373246, -0.0182528701, -0.0020290611, 0.0646841154, 0.0309282951, 0.0003191398, 0.0484588258, -0.0439765528, 0.000392946, 0.004410882, -0.0264318679, 0.0110817086, -0.0036575657, 0.0486961603, -0.1040327549, 0.0177896507, -0.0636279881, 2.657e-7, -0.0024432593, 0.0392709561, -0.0039937696, 0.0036822869, 0.0494942516, 0.0515825525, 0.0160735827, 0.0793674216, -0.0417486653, -0.0415906832, 0.0135879042, 0.0190344881, 0.0736575723, 0.0372104049, -0.0396648906, -0.0140174218, -0.0855956748, 0.0016798757, -0.040839754, 0.0075584175, 0.0285358746, 0.0574465431, 0.0079575283, -0.016044911, -0.013286096, -0.0425299406, 0.026889544, -0.0366013311, 0.0202945601, 0.0027274971, 0.0686712861, 0.0135664232, 0.0258681271, 0.0240604039, -0.0516445152, -0.0271855872, -0.0166262202, 0.0234993268, 0.006834277, -0.0236609597, 0.0049962434, -0.0160974041, 0.0159031302, 0.0056251553, 0.0504389741, -0.0319766402, -0.0096616866, -0.0447171964, -0.0058899089, -0.0349827297, 0.0623684414, -0.0466877073, -0.0048235217, -0.0012804936, -0.002186435, -0.0027775101, 0.0425512269, -0.0551780947, 0.0056401459, 0.0048538647, -0.0273253489, -0.0491947047, 0.0101194112, 0.0262159836, 0.0467064753, 0.0182017256, 0.0197732877, 2.207945733e-34, 0.0108954739, -0.0143839736, -0.0235256385, -0.0277157556, 0.0421103947, 0.0115650529, 0.0106936926, -0.0168427695, -0.004595736, -0.0216474459, -0.0059198411 ]
http://arxiv.org/abs/2406.17095v1
http://arxiv.org/pdf/2406.17095v1
Attention Instruction: Amplifying Attention in the Middle via Prompting
"2024-06-24T19:35:11"
"2024-06-24T19:35:11"
Meiru Zhang, Zaiqiao Meng, Nigel Collier
cs.CL
cs.CL
The context window of large language models has been extended to 128k tokens or more. However, language models still suffer from position bias and have difficulty in accessing and using the middle part of the context due to the lack of attention. We examine the relative position awareness of LLMs and the feasibility of mitigating disproportional attention through prompting. We augment the original task instruction with $\texttt{attention instructions}$ that direct language models to allocate more attention towards a selected segment of the context. We conduct a comprehensive investigation on multi-document question answering task with both position-based and index-based instructions. We find that language models do not have relative position awareness of the context. Nevertheless, they demonstrate the capacity to adapt attention to a specific segment using matching indexes. Our analysis contributes to a deeper understanding of position bias in LLMs and provides a pathway to mitigate this bias by instruction, thus benefiting LLMs in locating and utilizing relevant information from retrieved documents in RAG applications.
[ 0.0475093685, -0.0016096801, -0.0077452157, 0.0284721907, 0.0038156861, 0.0120986532, 0.0136094308, -0.0006942565, -0.0075392793, -0.0490262061, -0.0363579616, -0.0421244875, -0.0344985537, -0.0557611845, 0.0316732265, -0.042164959, 0.0678030774, -0.053943038, 0.0189448837, -0.0266444907, -0.0200325064, -0.0001464062, -0.0005022911, 0.0147429053, 0.0227395445, -0.0219154637, -0.013756061, 0.0055564647, 0.0010899499, -0.0167331249, 0.0112121822, 0.0341589749, 0.0146412253, 0.0088295555, 0.0000018003, -0.0422910899, 0.0188020766, -0.0236307513, -0.0504617207, 0.0132061262, 0.013562372, 0.0249329992, 0.0149883674, 0.0084736478, -0.0166938659, 0.0338771679, 0.0182087962, 0.0236088857, 0.0272356011, 0.0564708747, 0.0179806016, 0.0106248613, 0.0232493635, -0.0100278473, 0.0894927457, -0.0778716803, 0.0013422859, 0.0067896391, 0.0521094352, 0.0527395085, -0.017733762, 0.0434644446, 0.0169018656, 0.0068736989, 0.0061933678, 0.0567511693, -0.0320987254, 0.0167737249, -0.0258097854, 0.0447170585, 0.0099913124, -0.0086829597, -0.0024927543, 0.0118069258, 0.0340947472, 0.0076476946, -0.1001095176, 0.0530441068, -0.0207335018, -0.0218168907, 0.042498704, -0.0113031929, 0.0179260746, 0.0268851947, -0.0279458854, 0.0835709199, 0.0158307981, -0.0479593948, 0.0123876883, 0.0012064066, -0.0118378419, -0.0517439805, 0.0081367688, 0.0734016672, -0.0378784835, 0.03540124, -0.0149069959, -0.0363745578, 0.047091227, -0.0442932807, 0.0199667104, 0.0426445715, -0.0309540611, 0.0652528331, -0.0270278901, 0.0436361507, -0.055205062, 0.0010115844, -0.0659279227, -0.0161672775, 0.0151728522, -0.0493593141, -0.0568746962, 0.0165084396, -0.051291272, -0.0346887559, 0.0034761934, 0.0723248795, 0.0310913902, -0.0274610184, -0.0030773506, 0.0290222764, -0.0256600045, -0.0097849658, -0.0140536996, 0.0385695845, -0.0528265238, 0.0139848283, 0.0218140706, -0.0611931533, -0.0282883719, 0.0169036891, -0.0165718626, -0.0566079207, 0.0205910485, 0.0406404622, -0.0025853729, -0.0267160982, -0.023624599, -0.0148950862, 0.0041632433, -0.0436349213, 0.015620891, -0.0559038259, 0.0176080111, 0.0487798676, -0.0202812087, 0.0193637554, 0.0120010097, 0.046371948, -0.0292080306, 0.0310791638, 0.0271538869, 0.0259397551, 0.0468301959, 0.0153116649, 0.0053823218, 0.0743568614, 0.0083722714, 0.0146750091, 0.0397868715, -0.0032945964, -0.013418505, 0.0253203101, 0.0153947556, 0.0220899414, 0.0137927346, 0.0448573232, 0.0023871723, 0.0251186714, 0.058878269, 0.0152195124, -0.0223715659, -0.0173120406, 0.039198827, 0.0902821273, -0.0050020446, -0.0064647915, -0.0103588253, -0.0156193404, -0.0152025381, 0.0330574624, -0.0640139952, 0.0614453815, -0.0126280999, 0.037929818, 0.0608306527, 0.007525418, -0.0439571142, -0.02111076, -0.0341645516, 0.0303709153, -0.0258213617, 0.0425085649, 0.0334775299, -0.0145585202, -0.0097530596, 0.0879273936, 0.0132701509, -0.0371896438, 0.0085554309, -0.033151716, 0.0192559808, 0.0549632199, 0.0394698866, -0.0570974089, -0.0459770039, 0.0048331842, 0.0714786202, 0.026463069, 0.0503992401, 0.0146562103, 0.0005624093, -0.0166674722, -0.0291754939, -0.0420712233, -0.0049460349, 0.0146515714, 0.0459409282, 0.0212440621, 0.0036091448, -0.0777940005, 0.002719945, 0.0317715555, -0.0208371747, -0.0497112125, -0.0346428752, 0.0085094906, -0.0041401894, 0.0031740901, -0.0007775924, 0.0240326747, 0.0515352786, -0.0155461337, 0.0415229872, -0.0357908309, -0.0489574373, 0.0220193043, 0.03445049, -0.0157328062, -0.0348836444, 0.0044122348, 0.0033043784, -0.0262223687, 0.0012046887, -0.0598821007, 0.0274888799, 0.0045562899, 0.0007390251, 0.032078281, -0.0021695965, -0.0684569776, 0.0731313527, -0.0126292147, 0.0599161312, 0.076931268, 0.004205754, 0.0013662131, -0.0654935092, 0.0287261307, -0.0151272891, 0.0064021032, -0.0083555607, 0.0204663798, 0.0014208002, -0.0484164841, -0.0494006947, -0.1088521034, 0.0143624693, -0.0428475887, 0.0371929705, 0.033877857, 0.0402608886, -0.0221613869, -0.0428468361, -0.0641508847, -0.01499533, 0.0210048631, 0.0575385243, 0.0243118182, 0.0073701111, 0.0146919349, -0.0475584269, -0.0347302668, -0.0056290431, 0.0181901287, 0.0210416783, -0.0183201674, -0.0746342465, 0.013223853, -0.0003707722, 0.0280857924, -0.0220543072, 0.0035113127, 0.0117059285, -0.0319522209, 0.0337270871, 0.1052581146, 0.0174910929, 0.0263047889, 0.0613266118, -0.0066420594, -0.0801409483, 0.0277444459, 0.0130109284, -0.0145850787, -0.0313399546, -0.016770415, 0.0157477446, 0.0400571339, -0.0062428429, -0.0020791267, -0.0048500635, -0.0104706576, 0.0160660855, -0.0330799334, -0.048510015, -0.0099759102, -0.040336296, 0.0404674932, -0.0230064858, -0.0436095297, 0.0448504053, -0.0089566326, -0.0260084756, -0.0493687764, 0.0162118357, -0.0481187291, 0.0429586023, -0.0150585799, 0.0229401682, -0.0576936007, -0.0547113493, -0.0623569451, 0.0121762957, -0.0233106315, -0.0241550375, 0.0669491738, -0.0065010544, 0.0301939379, -0.0332060345, -0.0345495269, -0.0601654649, -0.0476165377, -0.0000068747, 0.0230298713, 0.0021907662, -0.0010293372, -0.0434881635, 0.007339614, 0.0812644586, 0.0321209356, -0.0253534801, -0.0100612612, -0.0313046202, 0.0180811994, 0.0806696415, 0.0501868725, 0.0173504483, -0.038448371, -0.003479959, 0.0672566667, 0.0798668414, -0.0080740144, 0.0265195929, -0.0144059639, 0.0729333088, -0.0857937783, -0.0069292309, 0.0112272939, 0.0532671213, -0.0683448836, -0.0329301879, 0.1023518816, 0.0386830717, -0.0655506849, -0.0156462863, -0.0545209646, 0.0113681648, 0.0580456182, 0.0575325675, -0.07248009, -0.0073343618, 0.0145566836, 0.0200427175, 0.0105099799, 0.0050608581, -0.0040659471, -0.0977744907, 0.0157296415, -0.0144198323, -0.0274952874, -0.0086837457, -0.0338497907, 0.0080299927, 0.0667276606, 0.0278630182, 0.0512312502, -0.042102892, -0.0239937995, 0.0163378026, 0.0497573614, 0.0092407567, 0.0225006696, -0.0326848216, 0.0012329982, 0.0473819412, -0.0139314085, -0.0156160025, -0.0428981856, 0.0464042947, -0.0332841501, 0.0394742936, -0.0044513051, 0.0128722843, -0.0363706611, 0.0118090622, -0.0149639025, 0.0111456364, -0.0308670215, 0.0165774096, 0.0397757478, 0.0797951072, -0.0305507276, 0.0048920754, -0.0423352979, -0.01343715, -0.0096471077, 0.0716075599, 0.0397515707, -0.0362884067, -0.0388647467, -0.0374231227, -0.0197689477, -0.0179545339, 0.0112600354, 0.0084157139, -0.0193802454, 0.0264377389, -0.0432932526, -0.0478885397, 0.0399763286, 0.03600467, 0.0108280331, 0.0282493476, -0.0326753668, -0.0160852503, -0.0281505324, 0.0259584915, -0.025298629, 0.0240270868, -0.054752782, -0.0097419284, -0.0020501642, -0.056266211, 0.0003510685, -0.0015263165, -0.0563552454, -0.0446559936, -0.0066175573, 0.0197649319, 0.0257109571, 0.0190806612, -0.0167934299, -0.0583958477, 0.0197683647, -0.010141938, -0.0479793325, 0.0421931446, 0.0049374076, -0.0130567504, 0.0138435047, 0.0230779517, -0.102300629, -0.0120649524, 0.0178047568, 0.0378909484, -0.0303349923, -0.0459492616, 0.0131718954, 0.0103387134, 0.0121873599, -0.001608394, 0.0291014854, -0.0161296874, 0.0473727025, 0.0043075881, -0.0212449618, 0.0093054809, -0.0025388333, -0.0070336144, -0.0437675528, 0.0129235154, 0.0233078599, 0.0153078306, -0.000930241, -0.0518827699, 0.0279943142, 0.0009040124, -0.0004042654, 0.0151841678, 0.009180136, -0.0431912541, -0.0106095308, -0.0066725579, 0.0648593158, -0.0031450822, 0.0610643737, 0.0253987219, -0.0395965874, -0.0357448123, 0.0425956286, -0.1254876554, -0.0341761708, 0.0212751999, 0.0286349207, 0.0490628593, -0.0364576764, 0.0247295909, -0.0119146043, -0.0122323995, -0.0140110599, -0.0340431295, 0.0272295997, -0.0183774699, 0.0318148136, 0.0425914712, 0.0163727384, 0.0022245906, 0.0626529381, 0.0107291108, 0.0148511566, -0.0082773445, -0.0289505944, -0.0052159596, -0.0327109918, -0.0057022055, 0.0394149087, -0.0295334086, 0.025485212, -0.0354325473, -0.0452125445, -0.0079170046, 0.000451036, -0.0220022332, -0.0643652976, 0.038955193, 0.0834543332, 0.0284191631, -0.0574274622, -0.0381792039, 0.054636538, -0.0435941182, -0.0222201422, -0.0306322873, -6.082968738e-33, -0.03183892, -0.0424660742, 0.0372977071, -0.0143379029, -0.0230582301, 0.005588247, -0.033179041, 0.0066542542, -0.0293797702, -0.0276794303, -0.0525139868, 0.0274417419, 0.0177171901, -0.0088324174, 0.0280692484, -0.0301542729, 0.0041409661, -0.0048371027, -0.042128779, 0.0066499617, 0.0308845062, 0.0116384421, 0.0536983907, -0.0061425157, 0.0397113934, -0.0108781783, 0.060404975, 0.0049852696, -0.0297765266, 0.0744558647, -0.0065591792, 0.0548488349, 0.03830567, -0.0269837454, -0.0335398018, 0.0616685562, -0.0806697607, -0.0552802384, 0.0501845628, 0.0033763207, -0.0289821737, -0.0501246266, 0.0459424034, 0.0070475768, 0.0023835609, -0.008735205, 0.0273832474, -0.034174215, -0.0619629323, -0.0041508661, -0.042709291, -0.0035455495, -0.0082031963, -0.0023041831, -0.0137140406, 0.0479744114, -0.0068904203, 0.0349423215, -0.0195786227, 0.0000834176, 0.0118230395, 0.0635371283, 0.0689844862, 0.0377270319, -0.0029888966, 0.0312638171, 0.0152564384, 0.0112389596, -0.0224260688, -0.0540913567, -0.0039157053, 0.0029389302, 0.0169953015, -0.0255891234, 0.0294445455, 0.0283531677, -0.0395349525, 0.0191736296, 0.0367028527, 0.0646884143, 0.0414025001, 0.0020262783, -0.0498194061, -0.0168380775, -0.0303129591, 0.0303239245, -0.0539302602, -0.0171484184, 0.0591690987, 0.0118705705, 0.013510284, -0.0108789662, 0.0440700464, -0.0181347504, -0.0067292959, 0.0377409384, 0.0173047781, 0.0213387161, 0.0040118638, 0.0101054134, -0.0397901796, 0.0226687323, -0.0057251356, 0.0046260688, -0.0208013821, 0.0358144417, -0.0012442105, -0.0287169218, -0.0619385689, -0.0197045729, -0.0470838174, 0.0050239051, -0.0104862638, -0.0046550478, 0.0569483414, -0.0164450761, 0.0094803786, 0.0611627586, -0.0028046493, -0.0337353498, -0.0386071876, -0.0332626104, -0.0133100906, 0.0131542524, -0.0341446586, 0.0302959904, -0.0437011123, 0.0839840621, -0.0271377917, -0.0685493872, -0.0046985513, 0.0425107256, 2.549e-7, 0.0477704778, 0.019284917, 0.0412523709, 0.046285335, 0.0131687084, -0.0221677888, -0.0099226646, 0.0207569245, 0.0366102532, -0.0131690316, -0.0183829591, 0.0402925536, 0.0122054201, 0.0018651091, -0.1026331112, -0.0029642733, -0.0516778603, 0.026923053, -0.0411192812, -0.0170057304, -0.0010436377, 0.0619445145, -0.0398489088, 0.0005897916, -0.0076913405, -0.0626984164, 0.0322731584, -0.0161504671, 0.0100403586, -0.0107055539, 0.0521482043, 0.0081841229, 0.0083575463, -0.0050606886, 0.0080967452, 0.0262118112, -0.0039711078, 0.0528096668, -0.0021832129, -0.0565730296, -0.0200535413, -0.0615690649, 0.0124506941, -0.0594298691, 0.0735217482, -0.0042531742, 0.0197575465, -0.0269622933, 0.0063316617, -0.0248097703, -0.0294217486, -0.0117815882, -0.0009822629, -0.006882227, 0.0030198013, -0.0346838124, 0.0033749538, -0.0834024921, -0.037836466, 0.0109057315, -0.0452540852, -0.0469077788, -0.0354470387, 0.0080823787, 0.0146264974, -0.037179362, -0.0400368012, 2.152351738e-34, 0.020207854, -0.0210487135, 0.0391218551, 0.074170433, 0.0059163184, -0.0124098565, -0.0511958189, 0.01584097, 0.0425706245, -0.0934426785, -0.0318313465 ]
http://arxiv.org/abs/2406.17055v2
http://arxiv.org/pdf/2406.17055v2
Large Language Models Assume People are More Rational than We Really are
"2024-06-24T18:15:27"
"2024-07-01T17:29:54"
Ryan Liu, Jiayi Geng, Joshua C. Peterson, Ilia Sucholutsky, Thomas L. Griffiths
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
In order for AI systems to communicate effectively with people, they must understand how we make decisions. However, people's decisions are not always rational, so the implicit internal models of human decision-making in Large Language Models (LLMs) must account for this. Previous empirical evidence seems to suggest that these implicit models are accurate -- LLMs offer believable proxies of human behavior, acting how we expect humans would in everyday interactions. However, by comparing LLM behavior and predictions to a large dataset of human decisions, we find that this is actually not the case: when both simulating and predicting people's choices, a suite of cutting-edge LLMs (GPT-4o & 4-Turbo, Llama-3-8B & 70B, Claude 3 Opus) assume that people are more rational than we really are. Specifically, these models deviate from human behavior and align more closely with a classic model of rational choice -- expected value theory. Interestingly, people also tend to assume that other people are rational when interpreting their behavior. As a consequence, when we compare the inferences that LLMs and people draw from the decisions of others using another psychological dataset, we find that these inferences are highly correlated. Thus, the implicit decision-making models of LLMs appear to be aligned with the human expectation that other people will act rationally, rather than with how people actually act.
[ 0.0385977663, 0.0737768337, -0.0314031318, 0.0222869366, -0.0159362685, 0.0117931319, -0.0306586213, 0.0184936337, 0.0466151759, -0.0033445093, -0.0376134366, 0.0112262955, 0.025265893, 0.0272083562, 0.0355590694, -0.0258452296, 0.0126470597, -0.0399466194, 0.0830207169, -0.0421731882, -0.0240119975, -0.0043994128, 0.026051918, 0.0378216654, 0.0375001654, 0.0023203092, -0.0141560547, -0.0249347985, 0.0319423452, -0.0304499958, -0.0260413233, 0.0584567077, 0.0327387899, 0.0034343486, 0.0000021116, -0.0633159578, 0.0388985761, -0.0394587405, -0.0275199525, 0.059086334, -0.0025479223, 0.0270323586, 0.028029833, -0.0059122336, -0.0569892377, 0.052721709, 0.0000342245, 0.0519175939, -0.001642331, 0.0194379631, -0.0004162064, -0.0216800161, -0.0046297959, -0.0327879488, -0.0274976809, -0.0601102486, 0.0552486405, 0.0157102272, -0.0351619571, 0.0108643435, 0.0020659999, -0.0168630537, 0.0112160854, 0.0019311721, -0.0472114682, 0.0657700673, 0.0219730195, -0.0395174325, 0.0000249812, 0.0583923534, 0.0272452924, -0.0230801199, 0.0239307284, -0.0202572346, 0.0162466764, 0.0125966556, -0.0297109913, 0.0285857767, 0.0281447023, 0.0369763672, 0.0333767831, 0.0654920265, 0.0162133388, 0.04289129, -0.0051961574, 0.0523064323, -0.0193269998, 0.0020438056, 0.027665088, 0.0238174703, -0.0689695701, -0.0785885751, -0.0609462261, 0.0044298796, -0.0187791307, 0.0295213684, -0.0199821219, 0.0550037734, 0.0216950923, -0.0493211187, -0.0164980609, 0.0523404665, 0.0707202777, 0.0211163498, 0.0175854377, 0.047095757, -0.0177190267, 0.0102502974, 0.0011289564, 0.0355302021, -0.0169301722, -0.0105229411, -0.0004259058, 0.0064150067, -0.0242149308, -0.0206158217, -0.063772887, -0.0191160906, -0.0625255406, 0.029020166, -0.0114997448, 0.0132222595, -0.005213385, -0.0360191055, -0.0987323225, -0.0094649997, -0.0222871322, 0.0623785481, -0.0043631569, -0.0495484844, 0.0321039446, -0.0122708166, 0.0027017461, -0.0165256113, 0.0066818781, 0.082952328, -0.0201132521, -0.0106762573, -0.0370581597, -0.0166465305, 0.0070679942, -0.0706999823, -0.0243390761, -0.0216682162, 0.0117793111, 0.0101797963, -0.0042566392, -0.0591802225, 0.0141558228, -0.0005623174, -0.0559522025, 0.0653687343, 0.0205441173, 0.0265566278, 0.0403878614, 0.0160434283, -0.0095729819, 0.0342084579, 0.0446841121, 0.0433017574, 0.0269969199, -0.0064775418, 0.0296480302, 0.0378000438, -0.0162788983, -0.0023744623, -0.0440519527, 0.0245974399, -0.0464322083, 0.0223770626, 0.067521356, 0.0579096973, -0.0252872203, -0.023976082, 0.1024419442, 0.070776172, -0.0470251516, 0.0301614497, 0.0110830115, 0.0426756963, 0.0196327884, -0.0281769391, -0.0335215144, 0.0268066693, -0.0097389286, -0.0145153254, 0.0424843244, -0.004333246, -0.0276240557, -0.0218634829, 0.0018770217, -0.0330916904, 0.0539445579, 0.0243787766, 0.0211602952, -0.0731501803, -0.0247107279, -0.0366908573, 0.0177982096, 0.0078517199, -0.0386813171, -0.0760090426, 0.0870590433, 0.06278117, 0.0142815122, 0.0409060046, 0.0521362312, 0.0115402816, -0.0361864343, 0.0220225975, 0.081120491, -0.0147213303, -0.0274241976, -0.0392725356, -0.0017797136, 0.0268068742, 0.0154332062, 0.0295179673, 0.0313198753, 0.0306694061, -0.0057393527, -0.0216049328, -0.0084857754, 0.0041903392, -0.0537367836, -0.0284875128, -0.0534280464, -0.0091754692, 0.043661382, -0.018106686, 0.0258564893, 0.0152141573, -0.0079844538, 0.0282699466, -0.0456105582, 0.0332260877, -0.0448610298, 0.0285915509, -0.0087090069, -0.0139441686, -0.014848276, -0.0041894172, -0.012808932, 0.0117073245, 0.0315502845, -0.0279600043, 0.0247402638, -0.0154006155, 0.0226492472, -0.0130344545, 0.019675998, 0.0046407506, 0.058722727, -0.0180053934, -0.0247465819, 0.0064481208, -0.0045066318, 0.0099709183, -0.0685215369, 0.0194686037, -0.000200251, 0.0274413954, 0.0305042639, 0.0113667073, -0.0027977882, -0.0487690046, -0.0078290366, -0.0288770515, -0.0619589724, 0.0273978617, -0.0110011455, -0.0054190387, -0.0330246389, -0.0225955192, 0.0247914121, 0.0023702101, 0.0231962819, 0.0194633529, 0.0345166996, 0.0259064604, -0.0100284824, -0.0106138205, -0.0528819971, 0.003391464, -0.0106252152, 0.0223912802, 0.0039475607, 0.0202513393, -0.0232509337, 0.0166382696, -0.0373820961, 0.0257392544, -0.0376774855, -0.056751918, -0.0157997794, 0.0039028868, 0.0408966392, 0.0694292635, 0.0205881167, 0.0283915102, 0.040877901, 0.0347213149, -0.0904825479, -0.025986271, -0.0492414832, -0.0275364723, -0.054388769, -0.066942744, -0.0006840195, 0.0949123278, -0.0002491747, 0.0365127288, -0.0551079847, 0.0888325721, -0.0067815278, -0.060396567, -0.018856084, -0.0342636406, -0.009377243, 0.1083074808, 0.0066279932, -0.0398367755, 0.0801846981, 0.0111588053, 0.0278545823, 0.0081554251, 0.0030652427, -0.0014865696, 0.0447183028, -0.0005079532, -0.025135817, 0.0075020124, 0.0146632101, -0.0409300551, -0.0513575301, -0.0096004689, -0.050933253, 0.076082617, -0.0613903366, -0.006084363, 0.0263741501, -0.0275897719, -0.0147492466, -0.0377602503, -0.0966515988, -0.0245203767, 0.0298815388, -0.0665565506, -0.0056139152, -0.0340714343, 0.0372074619, -0.017141927, 0.0031419604, -0.0270065386, 0.0038637982, -0.0235780627, 0.0588989034, 0.024917284, 0.0386424325, -0.0586634502, 0.0643608421, 0.041142948, -0.0194093734, -0.002942543, -0.0124799553, -0.0133395446, 0.0120920409, 0.0321729518, -0.0043568541, 0.089002952, 0.039792832, -0.0061447276, 0.0068360711, 0.1008050516, 0.008207473, -0.025259532, 0.0176786091, -0.0507804044, 0.0371280462, 0.015729595, 0.0001631535, -0.0256123673, -0.0375580378, 0.0066069658, 0.019087838, -0.0448340885, -0.0406602919, 0.0146858227, -0.1182162762, 0.0377071314, -0.0072506792, 0.0409573354, 0.0111209042, -0.0085544214, 0.0155292423, -0.0447386876, -0.0067167059, -0.0055666976, 0.0151637439, 0.0118936216, -0.0138949715, -0.0556356981, 0.0048121004, 0.060424, -0.0178837813, 0.020042222, -0.0053063477, 0.0772586465, -0.0180036016, -0.0698893145, -0.0339870788, 0.0108329207, -0.008384279, 0.019562196, 0.0190866273, -0.0045119794, 0.0248692539, -0.0443896092, 0.0417214148, 0.0002898433, -0.0241973531, 0.0077061211, 0.0422713123, -0.0210548881, -0.0870435461, 0.0152441896, 0.0324802436, 0.0012629435, 0.0842971206, -0.0022769179, -0.0446511358, -0.0383339822, -0.0222047865, -0.0226996131, 0.0051646382, -0.0787266716, -0.0065946067, 0.0253435671, -0.0228422023, -0.0240572747, -0.0604538359, -0.0229797531, -0.0326988213, 0.0087918397, -0.0486549325, 0.0205337927, -0.0031498761, 0.0080899298, 0.0115059009, -0.043938566, 0.0001135622, 0.00772386, 0.0407630391, 0.0141777974, -0.0670901164, -0.0330196358, 0.0201773141, -0.0022407996, -0.0472044535, 0.0047391937, 0.0298716631, 0.0295566022, 0.0069561545, 0.0031069021, -0.0423449986, 0.0019410138, -0.02233213, -0.0167186614, 0.0575451553, 0.0068257097, 0.0849253684, 0.0117043201, 0.0496841483, -0.0048427391, 0.0453682356, -0.016230071, 0.001504825, -0.0587558858, -0.0789617598, 0.0173365287, -0.000534254, 0.0120744882, -0.0013652297, 0.0163367633, -0.014902981, -0.0393523313, -0.0161945429, -0.0061604171, -0.0045579569, -0.0530005991, 0.0355446227, 0.0468649007, -0.0237672515, -0.0495116822, -0.011583589, -0.0017504517, 0.0332489125, 0.0083040819, 0.0222082641, 0.0427112058, 0.0299207568, -0.0305055548, 0.0063614706, 0.0064900904, -0.0323767215, 0.0664549172, 0.0203799419, 0.0790194348, 0.0195953716, -0.0255535748, 0.0098191816, 0.0005226767, -0.0347625017, -0.120587863, 0.0461357906, -0.0200512055, -0.030210292, -0.0229614023, 0.0413165279, -0.0921607688, 0.0119497795, -0.0128105227, 0.0189689249, -0.0277064238, -0.0246952083, 0.026524175, -0.0022647758, -0.0602612905, 0.0255701188, 0.0555663891, -0.0052543106, 0.0143306097, -0.0548293032, -0.0379830338, -0.0275207032, -0.0301451646, 0.0081372866, -0.0151046338, -0.0332014151, -0.0124334916, -0.075397186, -0.0493524596, -0.027612621, 0.0319577977, -0.0248393938, -0.0718606189, -0.0023970602, 0.0488949679, -0.0149962632, 0.0184672978, -0.0286756717, 0.0360820852, -0.0717094466, 0.0071434584, -0.0755755231, -6.140591838e-33, 0.0022870491, -0.023614727, 0.0101002101, -0.0376796573, 0.0025094934, -0.0096631777, -0.0320084505, 0.0176097322, -0.022642605, 0.0315737687, -0.0128003424, -0.0001578484, 0.0114187058, -0.04222247, 0.054378923, -0.0072184247, 0.018902773, -0.0256428439, -0.0155817559, -0.0389413536, 0.0012079716, -0.0248874202, 0.0281573962, -0.0509471484, 0.029358184, 0.0097522847, -0.023917919, -0.0015381158, -0.0091243619, 0.0134534249, -0.0483935513, -0.001737452, 0.0081869652, -0.0392513201, -0.0156726241, 0.0621713623, 0.0015667151, 0.003486655, 0.0340031721, -0.0270241778, -0.0250671972, -0.0213703047, 0.0022399556, 0.0062785596, -0.0899538472, 0.0199434292, 0.0254554525, -0.0041099214, 0.038360171, 0.0437179543, -0.0233768579, 0.0046601142, -0.0262326188, 0.0290567856, -0.0140386699, 0.0637521371, -0.0315599702, 0.0524359792, -0.0729525611, 0.0826627016, -0.0025588444, -0.0217742864, 0.0332204439, -0.0314315185, 0.0396190882, 0.0695001334, 0.0532825068, 0.0001520849, -0.0607044175, -0.0036288435, 0.0274656899, 0.0647617579, 0.0220265146, 0.0588297322, 0.0013579418, -0.0369539447, -0.0257214624, 0.0177557077, 0.0161916092, 0.011763053, 0.0655514151, 0.0272814631, -0.0800292939, -0.0367920585, -0.0034494027, -0.0245244838, -0.0207807291, -0.0217367765, 0.0049352823, -0.0021853882, 0.0221947785, -0.015480726, 0.0374579057, -0.0399537496, -0.0146995895, -0.0129960869, -0.0132825021, 0.022180438, -0.0000234164, 0.0055564609, -0.0605192333, -0.037999142, -0.0198700856, -0.0008046618, 0.0146866664, 0.036729563, -0.0255452208, -0.0005163745, -0.0031763345, -0.0129112834, -0.0030154698, -0.0093320152, 0.0115491031, -0.0232099351, 0.0505156741, 0.0022863573, -0.0043916912, -0.0356135406, -0.0134362625, 0.0071547707, -0.005820787, -0.0458712615, 0.0109660234, 0.0187120438, -0.0211750083, -0.0128423302, -0.0589000434, -0.0116184391, 0.0148480162, -0.0178544372, -0.0197324101, -0.0005194434, 2.787e-7, -0.0100437868, 0.0499862656, -0.0220371708, 0.0055646817, 0.0186044797, 0.1043663323, -0.0019762176, -0.0033132825, 0.0316941254, -0.0257875323, 0.0441198684, 0.0186154172, 0.0409106389, -0.0126843583, -0.0306200106, -0.0118100736, -0.0568548068, -0.0296330955, -0.0061929398, -0.021764338, 0.0237018038, 0.0416769311, 0.0430844463, 0.0151567254, -0.0192078203, 0.0197603814, 0.0507317223, -0.0692238659, -0.0260741916, -0.000899496, 0.0146039417, 0.0072675985, -0.0075230626, 0.0143262241, 0.0007026748, 0.0163284969, 0.0013210415, 0.0805867165, -0.0063777147, -0.0296615139, -0.0159648862, -0.0110519463, 0.0122044999, -0.0467029773, 0.044770807, -0.0841292292, -0.0793844312, 0.0017856687, -0.0134988464, -0.0134013342, 0.0044838912, 0.0068273381, -0.00012879, -0.0005084254, 0.0160956252, 0.0082499646, 0.0262838919, -0.0290635489, -0.0138720525, -0.0045956769, -0.0625016093, -0.0732959509, -0.0476978496, 0.0678722858, 0.0258033574, -0.0264242701, 0.0074137296, 2.086683159e-34, 0.0435235687, 0.0475350246, 0.006445684, -0.0076841405, 0.0670491233, 0.026140444, 0.0447177067, 0.0418433063, 0.0731809288, -0.0532293245, -0.0136686089 ]
http://arxiv.org/abs/2406.17038v1
http://arxiv.org/pdf/2406.17038v1
modeLing: A Novel Dataset for Testing Linguistic Reasoning in Language Models
"2024-06-24T18:00:59"
"2024-06-24T18:00:59"
Nathan A. Chi, Teodor Malchev, Riley Kong, Ryan A. Chi, Lucas Huang, Ethan A. Chi, R. Thomas McCoy, Dragomir Radev
cs.CL
cs.CL
We introduce modeLing, a novel benchmark of Linguistics Olympiad-style puzzles which tests few-shot reasoning in AI systems. Solving these puzzles necessitates inferring aspects of a language's grammatical structure from a small number of examples. Such puzzles provide a natural testbed for language models, as they require compositional generalization and few-shot inductive reasoning. Consisting solely of new puzzles written specifically for this work, modeLing has no risk of appearing in the training data of existing AI systems: this ameliorates the risk of data leakage, a potential confounder for many prior evaluations of reasoning. Evaluating several large open source language models and GPT on our benchmark, we observe non-negligible accuracy, demonstrating few-shot emergent reasoning ability which cannot merely be attributed to shallow memorization. However, imperfect model performance suggests that modeLing can be used to measure further progress in linguistic reasoning.
[ 0.0173161905, 0.05699642, -0.028526498, 0.0563440956, -0.0802796185, 0.0398511887, 0.0283368118, -0.0015547896, -0.0163036603, -0.025317369, 0.03034712, -0.0090703396, -0.0032398757, 0.0062278723, 0.025686495, -0.0078941956, 0.0629426688, -0.0356086493, 0.0085168732, -0.0166437384, -0.0048142471, 0.0359886698, -0.0157578532, 0.0373144858, -0.0093704341, -0.0108006587, -0.0345088355, -0.0164600443, -0.0202246495, -0.0276040994, -0.0357779488, 0.0392280221, 0.0174667798, 0.0527460203, 0.0000020348, -0.0644717142, -0.0046839365, -0.0061708158, -0.0677513257, -0.0277875364, -0.022091981, -0.0057792673, -0.0109147849, -0.0138497427, -0.0466194414, -0.006587917, 0.0335899964, 0.020820491, 0.0497290529, 0.0689785108, 0.0057304972, -0.0489868037, 0.0100444295, 0.0035142531, 0.0354653522, -0.0752460584, 0.001563352, 0.0102276793, 0.0164089296, -0.0099443719, -0.0298717879, 0.0220291913, 0.057280276, 0.0284544285, -0.0527567156, 0.0367095284, -0.0600502789, -0.0346074626, -0.0025722201, 0.0549136549, 0.0026316168, -0.0494673923, -0.0179425851, -0.0102457516, 0.001826436, 0.000040016, -0.0433823578, 0.0368012227, -0.0008991598, 0.0259453394, 0.0535088256, -0.0202083141, 0.0164962541, 0.0111354506, -0.0278658513, 0.1081044972, 0.0012223906, -0.0339992642, -0.0017561662, -0.0114550889, -0.0264611673, -0.0531654656, -0.0282684695, 0.044493366, -0.0193704292, 0.0471652411, -0.0129551403, -0.0268219635, 0.0080839312, -0.0028619876, 0.0374394581, 0.0346329473, 0.0229137167, 0.0893279091, -0.0198331513, 0.0804033875, 0.0136731984, 0.0502760112, -0.0229824521, -0.0276428349, -0.0671496019, -0.0171066709, -0.0268636905, 0.0559462868, 0.0373662822, -0.006272098, -0.0226466004, -0.0301558636, -0.0027424502, 0.0532904826, 0.0065638549, -0.0054686982, -0.0198355094, -0.0449943505, -0.0347746909, -0.0121078156, -0.0759005323, 0.0170091055, 0.0189688243, -0.0603596233, -0.059902586, -0.0235721041, 0.02143557, -0.0416727439, 0.0189274829, 0.0203295834, 0.0152809164, -0.0421389937, -0.0265175886, -0.0326822549, -0.0161695201, -0.1044563651, 0.0088747274, -0.0784611776, 0.0495910607, -0.0093512842, -0.0233996883, -0.0615094565, -0.001020971, 0.0290802699, -0.0341384523, 0.0737931952, -0.0001234182, 0.010369244, -0.0183252208, 0.0054585943, 0.0152151985, 0.0832834393, 0.0495012254, 0.0072335429, 0.0243072901, 0.0087109292, 0.0110285012, 0.0232524779, 0.0245182831, -0.0193826351, 0.0003233794, 0.0169260222, -0.0130251693, 0.01980244, -0.0592261814, 0.0381539427, -0.0018337963, -0.0260198805, 0.0290790144, 0.0783098638, -0.0026932177, -0.021657845, 0.06059983, -0.0235924181, 0.0188546591, -0.0021660789, -0.0437420458, 0.0453205407, -0.0256615411, 0.0004310536, -0.0126720183, 0.0365992375, -0.0287631564, -0.0469349213, -0.0280347839, 0.009108915, -0.0054760873, 0.0128728719, 0.0884959772, 0.0432582311, -0.0221865624, 0.0122039793, 0.0386229157, -0.0415948257, -0.0295057688, -0.0547903292, 0.0434289314, 0.0144848777, 0.0592726097, -0.0221142415, -0.0424187183, 0.0045479708, 0.0324518941, 0.0382536501, 0.0368947349, 0.0098202107, 0.0161078162, -0.0409062617, 0.0029444052, -0.0232441723, 0.0280434601, 0.0209806152, 0.0075665964, 0.0087919123, -0.0147793526, -0.0292895455, 0.0138025023, 0.0474162772, -0.0476613939, -0.0192997884, -0.0145341875, 0.0178715084, 0.0093285227, 0.0004191928, 0.0095968619, 0.0057446915, 0.0060046627, -0.0114466157, -0.0251038857, 0.0310053378, -0.0300609544, -0.0540858954, 0.0246776193, -0.0350931138, -0.0202765726, 0.0135113969, -0.0492736474, -0.0374953896, 0.0685554743, -0.0147311194, 0.0080591189, -0.0319905281, 0.0223002397, -0.0126029598, -0.0078945141, -0.0182640571, 0.0752315819, -0.0083934311, 0.0194685943, -0.0309699904, 0.0137656042, 0.0418903045, -0.0627010837, -0.0307115521, 0.0250608232, -0.0280258209, -0.0254482273, 0.004461138, 0.0054101576, -0.0477811433, -0.0096621467, -0.0539175645, 0.0243236646, -0.0065756463, 0.0130903963, 0.0070532644, -0.0134383524, 0.0041192896, 0.006727274, -0.016552018, 0.0068323314, 0.0248429608, 0.0117752282, 0.0372399762, 0.0033685784, -0.0137214297, -0.0218569227, -0.0121790562, -0.0644388199, 0.0425946377, 0.0121476566, 0.0335990004, 0.001000742, 0.0242922083, -0.0403105207, 0.005034293, -0.0063827015, -0.0420166291, 0.042598892, -0.0278249681, -0.0124960244, 0.0963460058, -0.0432329178, 0.0309952796, 0.0351006687, -0.029586304, -0.0435835719, 0.0317488313, -0.0230346303, -0.0144870831, -0.018583864, -0.0413040482, -0.0341264531, 0.0797998011, 0.0093954867, 0.0004712254, -0.0767680705, 0.1013939902, -0.0225152709, -0.0228485428, -0.0483619906, 0.0235712044, 0.0037914901, 0.0458086394, -0.0497778952, 0.0024125869, 0.0941468477, -0.0219824724, 0.000618804, -0.0165401604, 0.0065483837, -0.0307758339, 0.0844092071, 0.0110097807, 0.0057278033, 0.0512169264, 0.0170170702, -0.0774970129, -0.0042429948, 0.0296069551, -0.0165872127, 0.0077065774, -0.0607440323, -0.0031591565, 0.0078221457, -0.0585673749, -0.0239880644, -0.0004501912, -0.0500277355, 0.0212595984, -0.0154207954, 0.0049890382, -0.0120527158, 0.0029265992, 0.0138016138, 0.0196956769, -0.0093620112, -0.012195305, -0.0346520171, 0.005490114, 0.0434838049, 0.0279611219, 0.0072372053, -0.0196086261, 0.0485108197, 0.0252946056, 0.0488090366, 0.0312408749, -0.0348335057, 0.0377319269, -0.0213025101, -0.005530355, -0.0020861209, 0.0116264001, 0.0277322643, -0.083836548, -0.0360202193, 0.1072540134, 0.0606615916, 0.0094003836, 0.0110264076, -0.000145099, 0.0285787489, 0.0416533947, 0.0381199345, -0.0956872553, -0.0458416529, 0.0421497934, -0.0176835638, -0.0260240287, -0.0590588637, -0.0280341543, -0.1329597682, 0.0399577543, -0.012442993, -0.0390968435, 0.0034993801, -0.033232186, -0.0198035054, -0.0313119851, -0.0227069892, 0.0153365163, 0.0402299277, 0.0005900057, -0.0285648778, -0.0059287697, -0.0390315205, 0.0582552627, -0.0254524704, 0.076413177, 0.0411894582, 0.0368586592, -0.0178433247, -0.0257016625, 0.0064883628, 0.0026942766, -0.010955615, 0.007725786, 0.039729394, 0.0204965938, -0.0256090946, 0.0016898726, 0.0180581305, -0.0418241248, -0.033682391, 0.0186771061, 0.0873860791, -0.0068191509, -0.0556048118, 0.0006419474, 0.0059299194, -0.0459426977, 0.0833718106, 0.0363275111, -0.0047090291, -0.0539915115, -0.0579460673, -0.0258631092, -0.0770661682, -0.0421844758, 0.0522501245, 0.0507980995, 0.0003123421, -0.0644298941, -0.0506878309, 0.0383531936, 0.0240597278, -0.0036258418, -0.0213789586, -0.0029255056, 0.0225089081, -0.0151304873, 0.0123698879, -0.0347789675, 0.0032165521, -0.0163778532, 0.0009015962, 0.0228664614, -0.0299660936, -0.0436453633, -0.0061013168, -0.0892454311, -0.0538321808, 0.0028899063, 0.0801568255, 0.0254827179, 0.0141036045, -0.0312263258, -0.0320849903, 0.0040377541, 0.0220257882, 0.0004561224, 0.0104587367, 0.0121227251, -0.0321283042, 0.0111771477, 0.041645024, -0.02307285, 0.0344236568, 0.0379741266, 0.0412410088, -0.0269977804, 0.0580842681, 0.0638571233, 0.0231237691, 0.0264881551, 0.0080192285, -0.0311419051, -0.0120814256, 0.0296049137, -0.0404381715, -0.0348059349, -0.0282873679, -0.0034315803, 0.0064375857, -0.010137436, -0.0021560714, -0.0172204711, 0.0085735861, 0.0438282043, -0.0045795036, -0.0299297981, 0.0586427636, 0.0177694745, -0.0217645876, -0.0013272116, -0.0018734728, 0.0522779226, -0.0462195799, 0.0523223691, -0.0358962044, 0.0426116362, 0.0286010671, -0.0138998162, -0.0006357239, 0.0060535809, -0.0639228076, -0.0251561832, 0.0243440755, 0.0093024811, 0.0720143616, -0.0170739591, -0.0004405355, -0.0270728711, 0.0096896077, 0.0045960839, 0.0010860139, 0.0217184089, -0.0399739705, 0.0192187801, 0.0492062829, 0.0050310385, -0.0084378226, 0.0569688343, 0.0026516451, 0.0540430807, 0.0104749007, 0.0377764478, -0.031386409, -0.0306447931, -0.0098898504, 0.0305559319, 0.0116189783, 0.0280766301, -0.0612188019, -0.0824810266, -0.0140942056, 0.0402154215, 0.0313540064, 0.0458749793, 0.0279856622, 0.0681780949, -0.0263364222, -0.0357797779, -0.0240483936, -0.0328422785, -0.0429507233, -0.0212522764, -0.0014360945, -6.297154829e-33, -0.0319825411, -0.0084973788, 0.043285694, -0.0046121036, 0.0430721231, -0.0400274768, -0.0491764359, -0.0085348096, -0.0595222227, 0.0249447189, -0.0323488675, 0.0237055495, 0.0012310898, 0.0151799265, 0.0027921617, -0.0234907046, -0.0162195191, -0.0108942324, -0.0361405984, -0.0085362401, 0.0228275973, 0.0000779225, 0.0606603026, -0.0108512659, -0.0051163733, 0.0124301482, -0.0376294777, 0.0316548683, -0.0766412318, 0.0518376008, 0.0066137523, 0.0015775588, 0.0322138742, -0.0312319286, 0.0227975752, -0.0310385432, -0.0418900996, -0.0375071242, 0.0197991412, 0.0063375221, -0.0362805463, -0.0449200384, 0.0153142186, -0.0267829895, -0.0169666559, -0.0090954853, 0.0226277299, -0.0112138037, 0.0327573344, 0.0256454106, -0.0495356619, 0.0027920867, -0.0443440787, -0.0224893782, 0.022324862, 0.0098532252, -0.0105520552, 0.0202361178, -0.0228362326, 0.0264607593, 0.0051043392, 0.0041278135, 0.079081744, -0.03169984, -0.0022810928, 0.0638863444, 0.0345185548, -0.0034870226, -0.0361752547, 0.0335762501, 0.0562729388, 0.0565586574, 0.0841102973, 0.0438038111, 0.0392251313, 0.0272461399, -0.0761724412, -0.0122268926, 0.0117590334, 0.0643361509, 0.0258826036, -0.0026991765, -0.044186119, -0.0050617033, -0.0569007248, -0.0064834468, -0.0509635806, -0.0213417951, 0.0432369411, -0.0118276188, -0.02333102, -0.0395542942, 0.0317478105, -0.0492444374, 0.0034206002, 0.0178199578, 0.0022066608, 0.0036170951, 0.0017944115, 0.0475949161, -0.0467154644, -0.0056012124, -0.0061083017, 0.0379553735, 0.0444845855, 0.0096912384, 0.0446468741, 0.0362404622, -0.0309433304, -0.0174170416, -0.0563530065, -0.017090207, 0.0023720597, -0.0197375659, 0.015811393, 0.0440153256, -0.0076864702, 0.0176922586, 0.038908124, -0.0125019336, -0.0461376756, 0.0284444038, -0.0260766633, 0.0106274178, -0.0123778069, -0.022366602, -0.0377988517, 0.0089564007, 0.014606948, -0.0279380698, 0.0017840427, 0.0481372885, 2.738e-7, 0.0231240671, 0.0860555843, -0.0087398281, 0.0602545552, 0.0147988768, 0.0293215197, -0.0558197871, -0.0237670951, -0.0135532115, -0.0318850838, -0.002710029, 0.0789315626, 0.0442049131, 0.0434442833, -0.0959612504, 0.0600249879, -0.0485908464, -0.0358314924, -0.0736272857, -0.0005757609, 0.0640295222, 0.1077617332, 0.045348268, 0.0083858119, -0.0004874094, -0.065090701, 0.0373675041, 0.0198928751, -0.0139613803, 0.0201147012, -0.0238273237, 0.0395377055, 0.0031611586, 0.0206020921, -0.0044627772, 0.018966727, 0.0096328259, 0.0282722358, -0.0338704437, -0.0227956232, -0.041927781, -0.0204026774, -0.0097954571, -0.0568355322, 0.1131417006, -0.0749365464, -0.0428262837, -0.0165495668, 0.0035621047, -0.0040836819, 0.0156257283, -0.0058375495, -0.0192195792, 0.0022039446, 0.0157007221, -0.0239493046, 0.019865267, -0.0738669261, -0.0116404891, 0.0122760991, -0.0056189811, -0.0231508091, -0.0186294802, -0.0183957517, 0.0045475545, -0.0498341359, -0.0278103407, 2.517040136e-34, 0.0270162262, -0.0104376813, 0.0320809856, 0.0291902125, 0.0459988303, -0.0088940067, -0.0169268437, 0.0097884024, 0.0094023151, -0.0685849562, -0.0207046289 ]
http://arxiv.org/abs/2406.16858v2
http://arxiv.org/pdf/2406.16858v2
EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees
"2024-06-24T17:59:11"
"2024-06-30T15:03:25"
Yuhui Li, Fangyun Wei, Chao Zhang, Hongyang Zhang
cs.CL
cs.CL, cs.LG
Inference with modern Large Language Models (LLMs) is expensive and time-consuming, and speculative sampling has proven to be an effective solution. Most speculative sampling methods such as EAGLE use a static draft tree, implicitly assuming that the acceptance rate of draft tokens depends only on their position. Interestingly, we found that the acceptance rate of draft tokens is also context-dependent. In this paper, building upon EAGLE, we propose EAGLE-2, which introduces a new technique of context-aware dynamic draft tree into drafting modeling. This improvement leverages the fact that the draft model of EAGLE is well-calibrated: the confidence scores from the draft model approximate acceptance rates with small errors. We conducted extensive evaluations on three series of LLMs and six tasks, with EAGLE-2 achieving speedup ratios 3.05x-4.26x, which is 20%-40% faster than EAGLE-1. EAGLE-2 also ensures that the distribution of the generated text remains unchanged, making it a lossless acceleration algorithm.
[ 0.03531982, 0.0390879437, -0.0232707486, 0.005360825, -0.0694986433, -0.0198682453, -0.0093342485, 0.025522612, -0.0310155954, -0.0655159503, 0.0008296489, -0.0994509682, 0.0209375098, 0.0180893186, 0.0007595746, -0.038273748, 0.0082124658, -0.0833779201, 0.0058900905, 0.0004042152, 0.0074257934, 0.027184587, -0.0106830215, 0.0499439202, 0.0061025983, -0.0440917462, -0.0471351929, 0.0025276404, -0.0221962389, -0.0185018722, -0.0308097433, 0.0809251294, 0.0010016377, 0.0523296781, 0.0000020924, -0.0401261933, -0.0310661439, -0.0086085862, -0.0229109395, 0.0041682818, 0.0981281176, 0.0114050601, -0.0394532196, 0.0347974151, 0.0017087082, 0.0110012805, 0.0300038736, -0.0111833988, 0.0024439767, 0.0398662239, -0.0127965501, 0.0161246117, -0.0195175093, -0.0065169912, -0.0455868617, -0.0269625168, 0.023450911, -0.0259768348, -0.0026723202, -0.0023170738, 0.0143043008, 0.0083448822, 0.0119198076, -0.0693097785, -0.0393645652, 0.0476434678, -0.0157325584, -0.0091687823, -0.0057399264, 0.0380675755, -0.0171103887, -0.0364424586, 0.0016938763, -0.0294120796, 0.0005736124, 0.0155642927, -0.0695574805, 0.0221088249, -0.0473448932, -0.004754418, 0.0166533254, -0.0132560926, 0.0072760875, -0.023236705, 0.0097528957, 0.0854371563, 0.0376602896, -0.0125096207, -0.0146237891, 0.0032759218, 0.0051019173, -0.0960954204, 0.025736928, 0.0154824266, -0.0259047803, 0.0248080902, -0.0757775679, -0.0707393214, 0.0300993193, -0.0276537593, 0.0528156981, 0.029131664, -0.0059796018, 0.0098095657, -0.0188174117, 0.0079492601, 0.0113168368, 0.0044061891, -0.0448772199, 0.0072810254, -0.0064765788, -0.0156154828, -0.0678809583, 0.026789099, -0.0405760631, -0.0408565961, -0.0439488739, 0.0465975441, 0.0158326998, -0.0104885809, 0.0414204486, -0.023811968, -0.044961039, -0.0026684641, 0.0351624973, -0.0165486075, 0.0155684687, 0.0268053897, 0.000025834, -0.0284966826, -0.0006509894, 0.016291162, 0.0155082494, -0.0178163461, -0.0349094458, 0.0743266866, -0.0160360262, -0.0055499878, -0.0368272513, -0.0229962319, -0.0256082676, -0.036249321, -0.0161122773, -0.1117853969, 0.0074725486, 0.023154337, -0.0179371219, -0.019870529, -0.013961439, 0.0353902057, -0.0115521671, 0.0254870299, -0.0216217078, 0.0337543562, 0.0037227524, -0.0238050576, -0.0312136579, 0.1093329713, 0.052096054, 0.0527156182, 0.0471460558, 0.0159945916, -0.0021203933, 0.1083205268, 0.0016723195, 0.0009510449, 0.0023771389, -0.0307999998, -0.0131984362, 0.012722387, 0.0437993594, 0.0296081919, -0.0332584903, -0.0184426606, 0.0571748242, 0.0647076741, 0.0510335453, -0.0056919074, 0.0687368512, 0.0242374483, 0.0218970012, -0.0063262014, -0.0465182327, -0.0093578342, -0.0287114158, 0.0469455831, -0.0192646123, 0.0265186951, 0.0241384823, 0.0057471017, -0.0340523347, 0.0123474449, -0.0370048098, -0.0038236356, 0.0598796755, 0.0082402527, -0.0321717486, 0.0570569001, 0.0065873191, -0.0344722904, -0.0308893975, -0.0262840167, 0.0128730563, 0.0350476727, 0.0455011576, -0.0040872237, -0.0300001483, -0.0000777641, 0.0163831543, 0.0481653772, 0.0370317809, -0.0430664904, 0.0218607839, -0.0154366158, -0.0173378214, 0.0389287025, 0.011374807, 0.033735767, 0.0528714471, -0.0008950309, 0.0147981513, -0.0806019604, -0.0288998298, 0.0326301344, -0.0108311102, 0.0136284167, -0.0082715582, -0.0040324731, 0.032980714, 0.0100469263, -0.0291621331, 0.0190833993, 0.0087331673, -0.0300740805, -0.0165594444, 0.0510429256, -0.024839025, -0.0243603066, 0.0459616482, 0.012900291, -0.0243960265, -0.0083856732, -0.0272119306, -0.0442107059, -0.0278807767, -0.0176726189, 0.0643286929, -0.0337829515, 0.0440868326, -0.0131232589, -0.0383567438, -0.0093948962, 0.0729914829, -0.0165422838, 0.0123101687, 0.0514350645, 0.0415949151, 0.0081510032, -0.0339020155, -0.0228071511, 0.004515904, -0.023243241, -0.0193762463, 0.0174203329, 0.0185436253, -0.0236883219, -0.013721277, -0.1075837389, 0.024901662, -0.0337672532, 0.0462352745, 0.0363062806, 0.0141205089, -0.0410146564, -0.00270274, -0.0049353591, -0.0284861494, 0.0023415589, 0.0375659727, 0.0106272073, -0.0240651574, -0.0018206876, -0.0383096188, 0.0012410012, -0.0234192889, 0.0235508773, 0.0236143526, -0.0346874036, -0.0423461236, 0.0617175624, 0.0086914953, 0.0082210461, 0.0018934822, -0.0152697666, -0.0015221158, -0.050912194, 0.0297411829, 0.0316264965, 0.0067342645, -0.0099187111, 0.0351748466, 0.005179388, -0.0467306562, -0.0221310779, 0.0116665298, 0.0362206288, -0.0101012476, -0.0397954285, 0.0005583867, 0.0850029588, 0.0179359671, 0.0015147044, -0.0295508802, 0.0081298454, -0.0276935119, 0.005877004, -0.0249179546, -0.0187604949, -0.0456165001, 0.0387480631, -0.0465441011, -0.0660660192, 0.0603055805, -0.0792304203, -0.0064928485, -0.0170962475, 0.0175705217, -0.0098199062, 0.0787046477, 0.0277420394, -0.0042407867, 0.0090829208, -0.0269063823, -0.052958101, 0.0578288175, 0.0383643471, -0.0290824063, 0.043387875, -0.0595675111, 0.0481459573, -0.0324439183, -0.0114132576, -0.0243689995, -0.0152471364, -0.0473588929, 0.0240373258, 0.0249719825, -0.047191646, 0.0194259044, 0.0454845428, -0.02681306, 0.0862902328, -0.0123282811, 0.0022748809, -0.0155760879, 0.0498515666, 0.0838098675, -0.030028956, 0.0048024575, -0.0448393933, 0.0393535197, 0.0595936738, 0.0829144269, 0.038135767, -0.0308356173, -0.0259540901, 0.0150269764, -0.0338070393, 0.0106255654, 0.0394430384, 0.0395632759, -0.0348886997, 0.003497195, 0.1211011782, 0.0212456379, -0.0585485399, -0.004393233, -0.019179726, 0.0639772415, 0.0092739919, 0.0318937637, -0.0742430463, -0.0335120857, 0.0508780442, 0.0326957665, -0.0196384359, -0.035973426, 0.0054526515, -0.1335404068, 0.0326202959, -0.0305728093, -0.0529342704, 0.0503843799, -0.0250973143, 0.0437484905, 0.0149496729, -0.0267910473, 0.0187227428, -0.020144457, 0.0063071307, -0.0027574569, -0.0718093961, -0.0235765483, -0.0015884632, -0.0256068744, 0.0287196003, 0.0199101754, 0.0315158702, 0.0179389287, 0.0389287658, 0.0551183186, -0.0246997923, -0.0122067863, -0.0148223694, 0.0323813409, 0.0147946179, 0.0354609005, -0.0112080146, 0.0303729717, -0.0174464025, -0.0120182224, -0.0072631352, 0.0356663354, -0.0159683973, -0.0172823668, -0.0203668606, -0.0011187027, 0.0204672292, 0.0557027906, 0.0490977094, -0.0249762926, -0.0373640805, -0.0477515087, -0.0094314255, -0.0940906703, -0.0131754121, 0.0124135222, 0.0133166723, -0.0092867259, -0.0696135089, -0.0102555016, 0.0493009835, 0.0660981983, 0.0112367887, 0.0553644337, -0.0066394443, -0.0324399211, -0.045946721, 0.022563098, -0.0224850383, 0.0316643789, -0.0403517075, -0.0103241578, 0.0226808377, 0.0022341604, -0.035562925, 0.039004799, -0.1296601593, -0.0817123204, 0.0135422722, 0.0419446342, 0.0285591595, 0.0380648077, -0.0328033343, -0.03056903, 0.0452586114, -0.0051802057, 0.0119284419, 0.0103956098, -0.0260326155, -0.0093826754, -0.0147691444, 0.0340362266, -0.0448296443, 0.0024836098, 0.0210454836, 0.0326128304, -0.0068972935, -0.052863434, -0.0006596296, 0.0267873909, -0.016857069, -0.0263185501, -0.007817667, -0.0311594959, 0.0228912253, -0.0297467243, -0.0121774003, -0.0515589416, 0.0204129908, -0.0439624824, -0.0282834265, 0.0003917477, 0.0146457311, -0.0203922838, 0.0619708411, -0.018451035, 0.0043804487, 0.0445672162, 0.0403385088, 0.0627578348, -0.0284060389, 0.009097795, -0.0016866436, -0.0353612155, 0.0365209021, -0.0098959897, 0.0416733399, 0.0305161048, -0.0196894668, 0.0148537727, 0.0229372717, -0.0646605641, -0.0555924699, -0.0570852123, 0.0542669222, 0.0541736633, -0.028875228, 0.0487430878, -0.0404608212, 0.0210681316, -0.0162388198, 0.0406464599, 0.0243225638, -0.0547199398, 0.0154432803, 0.0057529882, 0.0059540919, 0.0379405096, 0.0886391476, 0.0245333593, 0.0404721051, -0.007286936, -0.0159597583, -0.0086839097, -0.0145398239, -0.0015499485, 0.0342015997, -0.0303509291, -0.0097444411, -0.0713745281, -0.0608717687, 0.050855726, 0.0227923635, -0.0079659075, -0.0175422952, 0.0168460403, 0.0668506473, 0.0031836948, -0.0323039405, -0.0433701389, 0.0084810117, -0.01397835, -0.0279032625, -0.0466047935, -5.788718992e-33, -0.0476012267, -0.0584780611, 0.002310503, -0.0039511751, -0.048293259, -0.0064124586, -0.0461220443, -0.0083965659, 0.0468087271, -0.0120966956, -0.0342253745, 0.0195122492, 0.0232615359, 0.0261398312, 0.0178546757, 0.0407879464, 0.0516555943, -0.0200387053, -0.0580883622, -0.0096989218, 0.0225860663, 0.0227940381, 0.0235419739, -0.0125461109, 0.0183801893, -0.0355398059, 0.0068025053, 0.0067362124, 0.0073337778, 0.050317239, 0.0104908459, -0.0053850245, 0.0236314759, -0.0122599071, -0.0230979845, 0.021618586, -0.0405604988, -0.0126877325, 0.0345445275, 0.0209297761, 0.0159335136, -0.0033707612, 0.0210429244, -0.0151894372, 0.0153489346, -0.0045883018, 0.0133834286, -0.0006621717, -0.0573442467, -0.054779835, -0.063157998, 0.0488765389, 0.0253566317, -0.0074565094, 0.0070486963, 0.0569980517, 0.0173700098, -0.008858934, -0.0491613671, -0.0020146822, -0.013087594, 0.0439883024, 0.0533503927, 0.0162755195, 0.0055725104, 0.0388764068, -0.0190345421, 0.0006103135, -0.0280251876, -0.0192639492, 0.0435718559, -0.0010164566, 0.0014950366, 0.0216922779, 0.0377383679, 0.0152297653, -0.005979063, 0.0367244706, 0.0336782075, 0.0248656124, 0.0440552235, 0.0012214134, 0.0075760074, -0.0210132506, -0.0549381413, -0.0325710736, -0.0166999996, -0.0270657353, 0.0452426672, 0.0031024104, -0.027886739, -0.0300152395, 0.0610960647, -0.0155128269, -0.0243173297, -0.004780123, -0.0128694009, 0.0710919499, -0.0364105105, 0.0372085758, -0.0067997035, -0.0188765787, 0.0011145551, 0.0246245936, 0.0177578535, 0.0192078017, -0.0000051164, 0.0041144025, -0.049101565, 0.0170392245, -0.0295786466, 0.0239442494, -0.017533375, 0.0596041344, 0.0542312227, -0.0133929439, 0.0221164376, 0.0007671526, 0.0391349345, 0.0186206605, -0.0375278592, 0.0042108954, -0.0185966361, 0.0187885016, -0.0296294857, -0.000481797, -0.0149698341, -0.0010257091, 0.0037684173, -0.0348203368, 0.0066553117, 0.0299337842, 2.563e-7, 0.0612519085, 0.0065948623, 0.0277987234, 0.0199157167, 0.0274639428, 0.0032414433, -0.0215969719, -0.0120093068, 0.0493532196, 0.0083445301, -0.0048273401, -0.014610569, 0.0703401789, 0.04398866, -0.1463595331, -0.0047253724, -0.0602357686, 0.0121246148, -0.0384184271, -0.0023274631, -0.0109987548, 0.0683677942, -0.0350531749, -0.0344992429, -0.0193567146, -0.0534072332, 0.042716939, 0.0064341002, 0.0069675087, 0.0195504557, 0.0442842469, -0.0272854734, -0.0006366146, 0.0163530521, -0.0301537402, 0.0062467349, 0.0122531531, 0.0438939184, -0.0182977859, 0.0526513942, 0.0215478167, -0.0480030663, 0.0060801408, -0.0359020382, 0.0581999607, -0.0467166714, 0.026012551, -0.0881417766, 0.0247949213, -0.0205829106, -0.0582027137, -0.0109134121, 0.0213678386, 0.0674924999, 0.0225248318, -0.0475003347, 0.0034214954, -0.0596736595, -0.0656172857, -0.0184857585, -0.0362977646, -0.0293416884, -0.0484525822, -0.0101778442, 0.012181133, -0.0815319791, -0.0047216574, 2.696294529e-34, 0.0503477305, 0.0203346461, -0.02286347, 0.0870918706, 0.0109198987, -0.0079756416, 0.0868434906, 0.0152709335, -0.0133920591, -0.0701816902, -0.0399807096 ]
http://arxiv.org/abs/2406.16851v2
http://arxiv.org/pdf/2406.16851v2
Losing Visual Needles in Image Haystacks: Vision Language Models are Easily Distracted in Short and Long Contexts
"2024-06-24T17:58:03"
"2024-07-03T03:55:59"
Aditya Sharma, Michael Saxon, William Yang Wang
cs.CL
cs.CL, cs.AI, cs.CV
We present LoCoVQA, a dynamic benchmark generator for evaluating long-context extractive reasoning in vision language models (VLMs). LoCoVQA augments test examples for mathematical reasoning, VQA, and character recognition tasks with increasingly long visual contexts composed of both in-distribution and out-of-distribution distractor images. Across these tasks, a diverse set of VLMs rapidly lose performance as the visual context length grows, often exhibiting a striking logarithmic decay trend. This test assesses how well VLMs can ignore irrelevant information when answering queries -- a task that is quite easy for language models (LMs) in the text domain -- demonstrating that current state-of-the-art VLMs lack this essential capability for many long-context applications.
[ 0.0085156569, 0.0418966636, -0.008798413, 0.0775562897, -0.0531286374, 0.031231638, 0.036861632, 0.0129293604, -0.0088960035, -0.0505582839, 0.0034998574, -0.0429110564, 0.0194167662, 0.0182782039, 0.0208761729, -0.0693656057, 0.016988229, -0.0871280879, 0.0257566776, 0.0106404489, -0.0125420345, -0.0314321294, 0.0169218518, 0.000421759, 0.0019840114, -0.0515771918, 0.0135652944, -0.0039621615, 0.0048560691, -0.0025782101, -0.0351447873, 0.0027536745, 0.012078722, -0.0154115632, 0.000001966, -0.0398645587, 0.0204814579, 0.0091377832, -0.0135391103, -0.0012398625, 0.0084823584, -0.0055257436, 0.0121487547, 0.0124251675, -0.0267640892, 0.0048583946, 0.039472267, 0.032324858, 0.0070995158, 0.0234487094, -0.0084216231, 0.0021193735, -0.0021871177, -0.0345909186, 0.0753101408, -0.0736759976, 0.0243403092, 0.0152936196, 0.0173577815, -0.0225387253, -0.0424446836, 0.0702528507, 0.0463951714, -0.0033234786, -0.0258249212, 0.0715355203, -0.0421610512, -0.0151244029, -0.0046149641, 0.0605419725, -0.0219640434, -0.0054926332, 0.0093898149, 0.0015432164, -0.0025544933, -0.0112208193, -0.0571092181, 0.0455831885, -0.006302624, -0.0036016873, -0.0295771547, -0.0066796918, 0.0132825337, 0.0103251999, -0.051755026, 0.0157867484, 0.0172727145, 0.005536058, -0.0026561208, 0.0015248148, -0.04701823, -0.049765002, -0.0043917703, 0.0510997288, 0.00403941, 0.0171796307, -0.0317272879, -0.0330022238, -0.016162755, -0.0454687402, 0.0089639807, 0.0411231443, -0.0725312084, 0.0898991078, -0.041189488, 0.0819746926, -0.0152762439, 0.0446695909, 0.0135213332, -0.0198208671, -0.0000556801, 0.004104821, -0.0171248261, -0.0094239339, -0.0530129783, -0.0499574915, 0.0167082939, 0.0268640462, -0.0244984198, -0.009156812, -0.0125773009, 0.0146464771, -0.0175665114, -0.0348016061, -0.0370398574, 0.0303441938, -0.0004265048, 0.0002761042, -0.002181737, -0.0581293106, -0.0284490976, 0.0400403328, 0.004533886, -0.0613207035, -0.001743037, 0.0889824629, -0.0131175462, -0.0463885628, -0.0240073297, 0.009084736, -0.0261628069, -0.0685730651, 0.0254447144, -0.0729161352, 0.0220805835, 0.0105513735, -0.0369416885, -0.0318780653, 0.019564217, 0.0294833817, -0.0235499032, 0.0870950893, 0.0009385767, -0.006798794, 0.0142030297, 0.0155906528, 0.0091018369, 0.077966392, 0.014748415, 0.0385718346, 0.0392802507, -0.0016336694, 0.0226130225, 0.0350357257, -0.0150518762, -0.0048975782, -0.0797227398, 0.0341819488, 0.0204758942, -0.0120426016, 0.029780006, 0.0850577578, -0.0231893454, -0.0417940803, 0.0468820445, 0.0554708093, 0.0290172528, -0.0599284917, 0.0150990281, -0.035582412, -0.0055016684, -0.0009182401, -0.1030531228, 0.0477196649, 0.000951306, 0.0307348594, -0.0186758004, 0.0129093667, -0.0298052132, -0.0495511815, -0.0344476178, -0.0061160321, -0.0008666398, 0.0589506514, 0.0774867907, -0.0045636473, -0.0188410822, 0.0085498337, -0.0236068051, -0.0277742799, -0.00785603, -0.0324155465, 0.0438357368, 0.0462446809, 0.0314204618, -0.0219856594, -0.015458663, 0.0204169992, 0.0393027812, 0.0303369593, -0.0134129375, 0.0108067626, 0.0472740903, -0.0290690456, -0.0335056894, -0.0222209692, -0.0056879898, -0.0488443114, 0.0313763656, 0.0084915953, 0.0188851804, -0.061639268, 0.002323936, 0.0404667184, -0.0063705244, -0.0330226533, -0.0287677068, 0.0192913432, -0.0203088298, -0.0360077135, -0.0106395315, 0.0187782086, 0.0240647439, -0.0477070622, 0.0273156129, -0.0081061199, -0.0473072939, -0.0102781858, 0.0524736345, -0.0554922298, -0.0142249949, -0.0211096425, -0.0157658346, 0.0053377165, 0.0095610488, -0.0194473248, 0.0146385385, -0.0315139815, 0.0067186789, 0.0147590572, 0.0312007237, -0.0335558951, 0.0828559846, -0.0274498109, -0.0073162802, 0.0432267971, 0.0280640014, 0.0005353457, -0.0342676751, 0.0248631518, -0.0068753515, -0.0015308681, 0.0011096295, -0.0268410351, 0.0098255025, -0.0412874185, -0.0123409741, -0.0518761724, -0.022420859, -0.046219606, 0.0069735032, -0.0115429666, 0.0017674941, -0.0121451942, -0.0376486182, -0.0101530887, 0.0297621582, -0.0139910718, 0.0166473966, 0.0144273704, 0.0061085164, -0.0004354081, -0.0282819755, -0.0213852804, 0.0068348516, 0.0802611634, 0.0151795456, -0.0211239699, -0.0182622261, 0.0544932485, -0.0219118204, 0.0430710018, -0.0391817987, 0.0393675156, 0.0058415285, -0.0579064898, 0.0528252237, 0.1103964671, 0.0116185723, -0.0001671909, 0.0299139246, -0.0214930754, -0.0359366089, 0.0072365208, 0.0085475193, -0.02584056, -0.0078990199, -0.0086269947, -0.0468483828, 0.0231868681, -0.0420762636, 0.0132074608, -0.055770725, 0.0255960096, -0.0045021018, -0.0251038186, -0.0606203191, 0.0298661683, -0.0056851557, 0.0554241166, -0.0505097769, -0.0841905624, 0.036245022, -0.0187873598, 0.0044012042, 0.0260984916, 0.0214800797, -0.0311639737, 0.0900879949, 0.0087821456, -0.02376654, 0.0070191254, -0.0126768965, -0.0468434244, -0.0373141654, -0.0206256248, -0.0259238128, 0.1057351679, -0.0598353595, 0.0332333557, -0.0439674109, -0.0129112992, -0.0590203218, 0.0137851899, -0.0393541977, 0.0058933515, -0.0514856987, -0.0032643657, 0.0027480666, 0.0378412567, 0.059799742, 0.027094068, -0.0119615616, -0.0012128308, -0.0073693311, 0.030792024, 0.0724802092, 0.041553285, 0.0138541292, -0.0448120311, 0.0075186328, 0.0583939888, 0.0497330092, -0.0278262477, -0.033413738, 0.0151829338, 0.0076450678, 0.0402447209, -0.0018050823, 0.0547599606, 0.0326404795, -0.0794421658, -0.0275443289, 0.0718453825, 0.0259864237, -0.0341513604, -0.0194668565, -0.0161263533, 0.0478562899, 0.0474874079, 0.0139062703, -0.0900482386, -0.0373359285, 0.0167465825, 0.0097493436, 0.0294335447, -0.0067506307, -0.0250521954, -0.1031400785, 0.0513413101, -0.00923122, -0.0091438666, -0.0112821935, 0.0140338494, 0.0081599029, 0.0020464517, -0.0059831017, 0.021897329, -0.0245703943, 0.0163977519, -0.0116052534, 0.0096599627, -0.0110057062, 0.0470114239, -0.0426451825, -0.0247468837, 0.0251305401, -0.0137807513, 0.0113784866, -0.0871705115, 0.0319870859, -0.0381998867, 0.0104847336, 0.0047880276, 0.0571544878, -0.0216082539, -0.0494192131, 0.0249744076, 0.0285380837, -0.0458248146, -0.0361853316, 0.0136032244, 0.0438228771, -0.0048259664, -0.0258267317, -0.0109124025, -0.0180061199, -0.035223823, 0.0611389093, 0.0377431288, -0.0219572987, -0.0712846816, -0.0093117086, -0.0261792578, -0.0651149899, -0.0218883343, 0.0054437607, 0.0488443114, -0.0201550648, -0.0307377372, -0.0179369207, 0.0520710088, 0.0724994838, -0.034555126, -0.0167177115, 0.0016168058, 0.0264400374, -0.0769315213, 0.0609411113, -0.0166540965, 0.0444548465, -0.0358261988, 0.054126367, -0.0180449951, -0.0311748888, -0.0119445482, 0.0343996733, -0.1150114089, -0.053036429, 0.0114825638, 0.0487485006, 0.023229653, 0.0345856845, 0.0009628688, -0.0376197919, -0.0147118429, 0.0322950408, 0.0103548588, 0.0520882495, 0.0024776659, -0.032596156, 0.021862736, 0.0484461561, -0.047654219, 0.0007473658, 0.0517906062, 0.0172953177, -0.0278876089, 0.0195482168, -0.0078584105, 0.0114272386, 0.0337516405, 0.0138117662, -0.0080385916, -0.0132492306, 0.0230065379, -0.0109822499, 0.0043928577, -0.0519412607, 0.0107948231, -0.0114931455, 0.031466376, 0.0226765182, -0.0020759606, 0.0028162901, -0.0073020915, -0.0333460271, 0.0060017491, 0.0163258985, -0.0133296158, 0.0124638835, -0.0190063417, 0.0051823431, 0.0103656705, -0.0251723621, 0.0595843643, -0.0022192448, 0.0550698787, 0.0449711457, -0.009523239, -0.0228048451, 0.0040054047, -0.0500197858, -0.054125458, 0.0152941458, 0.0321405269, 0.0318630934, -0.0116327684, -0.00767361, -0.0096110785, -0.0119824745, -0.0321245007, 0.0302505102, 0.0191540141, -0.0238731727, 0.0560539663, 0.0545704998, -0.0175467469, -0.0173073988, 0.0550929122, 0.011635825, 0.005054676, 0.018779479, 0.0233139582, -0.0142216841, -0.0406193174, 0.000593108, -0.0078964308, -0.0040980144, 0.0306613352, -0.0488385372, -0.097295396, 0.0208946243, 0.0229632538, -0.0124195917, 0.0079720244, 0.0286994353, 0.077225551, 0.0239657126, -0.0352189206, 0.0008895167, 0.0009812171, -0.0158489794, 0.0113408575, -0.0222994238, -6.135337011e-33, -0.0054951343, -0.0244146604, 0.0652989969, -0.0033932377, -0.019849468, 0.0258328095, -0.0416592695, 0.0217535943, -0.0219891518, -0.0115589267, -0.0019016539, 0.032080628, 0.0062967292, 0.0550136417, -0.0325627513, -0.0134284925, 0.0022441726, 0.0195263121, -0.0103120692, -0.0139196115, 0.0294227712, 0.0129179722, 0.0121550476, -0.0619048104, -0.0063035875, 0.0354399495, 0.0146649834, 0.0112229558, 0.0035911144, 0.0827600509, -0.0285672508, 0.0114828171, 0.022427462, -0.0030172062, -0.0353740938, 0.038881246, -0.0797130242, -0.0093791736, 0.0184506159, 0.011344647, -0.0904545337, -0.0199136548, 0.057037212, 0.0022449901, -0.0098528778, -0.065646939, 0.0373921916, -0.0354778022, -0.044056125, 0.0222025067, -0.0427803919, 0.031417761, 0.0110822013, -0.0059955991, 0.0501417369, 0.0197553374, -0.0082830675, 0.0584939718, -0.0354504846, -0.014695527, 0.0014892981, 0.0176740326, 0.0805706382, 0.0665889904, 0.0267657787, 0.0459992066, 0.0236581825, -0.0271724798, -0.0258130282, -0.0696269944, 0.0386690907, 0.068913877, 0.060911689, 0.0142578222, 0.045377858, 0.0062368559, -0.0664757118, -0.0420912094, -0.0637252629, 0.0711479634, 0.0300130807, 0.0135434484, -0.015652027, -0.0049234629, -0.0349034593, 0.0209907554, -0.0572064631, 0.014620061, 0.0835521668, 0.0255004875, 0.0026244782, 0.0380896702, 0.0514921285, -0.037359789, 0.023613086, 0.0168182272, -0.0135073783, 0.0253791474, 0.0272750575, 0.0253949799, -0.056969244, 0.0081350459, 0.0272024535, 0.0454740487, -0.0076021166, -0.0090605756, 0.0209735967, -0.016116973, -0.0657380894, -0.0191343315, -0.0693474934, 0.0189576186, 0.0001339242, 0.075642474, 0.0533108599, 0.0185576621, -0.0284592304, 0.0345028006, -0.0162563156, -0.0570441373, -0.0248036087, 0.0044351956, -0.0015865506, 0.0261298399, -0.0088023581, -0.0155057572, -0.0323554017, 0.0372620299, 0.0259788521, -0.0604829527, -0.0054840394, 0.0561715551, 2.634e-7, 0.0493038744, 0.0304366574, 0.0205158796, 0.0232559815, 0.0059483559, 0.0248404648, -0.0108048562, -0.0062207305, 0.0036390673, -0.0501419008, -0.0390282683, 0.0795468763, 0.0239558108, -0.0149149066, 0.0093945907, 0.0447564311, -0.0127909752, -0.0291827042, -0.0407268852, -0.0026768958, 0.0509913713, 0.0719889775, -0.0300686844, -0.0046424121, 0.0467548259, -0.1001072824, 0.0685833767, -0.0264619514, 0.0198444575, -0.0272555295, -0.0211901292, 0.0188570824, 0.0086723678, 0.017157672, -0.001067995, -0.010689998, 0.0282909665, 0.0399431139, -0.0216745101, -0.0384538248, -0.0448197499, 0.0027490067, -0.0294907708, -0.0636836737, 0.1162561849, -0.0538892299, 0.0024711047, -0.019435063, -0.0211467054, 0.0037660394, 0.0096765133, 0.0275794379, -0.0101309363, -0.0095552513, 0.0464285351, -0.0384684615, -0.0461165197, -0.1164093241, -0.0227590576, -0.0060971719, -0.0322375, -0.0100644585, -0.0814061016, 0.012045932, 0.0304492936, -0.0018123831, -0.0457538888, 2.310486722e-34, 0.040888343, 0.0031884038, -0.0105852736, 0.0140397139, 0.0182519071, -0.0273300745, -0.0378200822, 0.0044492786, -0.0007790705, -0.0813581795, 0.0023611281 ]
http://arxiv.org/abs/2406.16845v1
http://arxiv.org/pdf/2406.16845v1
RaTEScore: A Metric for Radiology Report Generation
"2024-06-24T17:49:28"
"2024-06-24T17:49:28"
Weike Zhao, Chaoyi Wu, Xiaoman Zhang, Ya Zhang, Yanfeng Wang, Weidi Xie
cs.CL
cs.CL
This paper introduces a novel, entity-aware metric, termed as Radiological Report (Text) Evaluation (RaTEScore), to assess the quality of medical reports generated by AI models. RaTEScore emphasizes crucial medical entities such as diagnostic outcomes and anatomical details, and is robust against complex medical synonyms and sensitive to negation expressions. Technically, we developed a comprehensive medical NER dataset, RaTE-NER, and trained an NER model specifically for this purpose. This model enables the decomposition of complex radiological reports into constituent medical entities. The metric itself is derived by comparing the similarity of entity embeddings, obtained from a language model, based on their types and relevance to clinical significance. Our evaluations demonstrate that RaTEScore aligns more closely with human preference than existing metrics, validated both on established public benchmarks and our newly proposed RaTE-Eval benchmark.
[ 0.0374612547, 0.0631557032, 0.0267700348, -0.0253111348, -0.0034261255, 0.0445275158, -0.0265713986, 0.0599166714, -0.0138210189, 0.0106200809, -0.0115843434, -0.0532925799, 0.0230673347, 0.0626465678, 0.0188228562, -0.0587806217, 0.018186491, 0.051892899, 0.0146589009, 0.0313801058, -0.0002354869, 0.0241722837, -0.0028867978, 0.0615804903, -0.0364177488, 0.0121221775, 0.0227159411, 0.0118980352, 0.0399620198, -0.0634341314, -0.0413485728, 0.0304672606, -0.0085171442, 0.0070258179, 0.0000018629, -0.0276734903, -0.0157817975, 0.0459917113, -0.0067843604, -0.0350607857, 0.0830440223, -0.0806355476, -0.0077487803, 0.0051015313, -0.0127677405, -0.0414048061, 0.0433956608, 0.0347562395, 0.0555772223, 0.0733605474, -0.0225967076, 0.0276924428, 0.0149471667, -0.0331526957, -0.0019130129, -0.0266720075, 0.0021205381, 0.0163395256, -0.0029195866, 0.0052271597, -0.0122442544, 0.0234813336, 0.0190250464, 0.0038702919, 0.0253705494, 0.0870460197, -0.0085966168, -0.0085961381, 0.0283452962, 0.0601424649, -0.0233797487, -0.0014547745, 0.0178913176, -0.0131289139, -0.0227990765, -0.0282517131, -0.0317724347, 0.0051678685, -0.0154342484, 0.0082286391, 0.0231514778, 0.0039482196, 0.0254961792, 0.0201170128, 0.00679301, -0.0212965086, 0.0154314293, -0.0179582778, -0.0087361895, 0.0094413711, -0.0119343298, -0.0618189946, 0.0318247229, 0.0341109596, -0.0734939426, 0.0158924963, -0.0556097478, -0.0061705443, 0.0794495717, -0.0503913276, -0.0220683012, -0.0055111009, 0.0237913243, 0.0579126924, -0.0228654258, 0.0061940411, -0.0056117806, 0.019954823, -0.0243993923, -0.0040199407, -0.0398264453, -0.0079344753, -0.0060963412, 0.0412121341, 0.018615827, -0.0406973623, -0.0619890429, -0.0250228494, -0.023833992, 0.0400707051, 0.0529373065, 0.0576086417, -0.0634844974, 0.0065383371, -0.0357085913, 0.0166560058, -0.0383298472, -0.0129697975, -0.0031389345, 0.0078170374, 0.0217408389, 0.0174726471, 0.0058119781, 0.0230761431, 0.0008629474, 0.0145204756, 0.0129434373, -0.0204521958, 0.0232963581, -0.0730087534, 0.0088033099, -0.0230257753, -0.0317893811, -0.0609869212, 0.0585795902, 0.0006980311, 0.0006966203, -0.0565183014, 0.0079037743, 0.033140365, -0.0330035277, 0.0415919311, -0.0538808368, 0.0081642056, 0.0171857718, 0.0407279283, 0.021922797, 0.0024420545, 0.0310056191, -0.0013554605, -0.0019093887, 0.0219392218, -0.0112315211, -0.023960758, 0.0208333824, -0.0229508281, -0.0198101439, -0.0023129894, -0.0555509739, 0.0925273001, 0.0069196909, 0.0873008668, -0.0043248674, -0.0450437441, 0.0220332686, 0.0454377383, 0.0350360163, 0.0199013576, 0.0465345979, -0.0285256635, -0.0535447821, -0.0002435598, -0.0078857094, 0.0645139962, 0.0415695496, 0.0115440264, 0.0322284028, -0.0050432775, -0.0322439261, -0.0201831684, -0.0151911993, -0.0132010328, -0.0265589245, -0.0271649212, 0.0051179752, 0.0013659155, -0.0537802503, 0.0331877545, 0.0380764864, -0.031097861, 0.024630554, -0.046135813, 0.0025295108, 0.0806527436, 0.0942158252, -0.0242358409, -0.0488117635, -0.0066205226, -0.0129703898, 0.0638555214, 0.0406652056, -0.0297462568, 0.0267456919, -0.0388740525, -0.0318978615, 0.0128634656, 0.0246190894, -0.0161167886, 0.0100088557, 0.0484336279, 0.0131866047, -0.0480472296, -0.0617498457, 0.0549345762, -0.0546401627, 0.0087319314, 0.0144694187, 0.0075947791, 0.0005770048, 0.0290594287, -0.0308153555, 0.0446646623, 0.0263756979, -0.0160509553, -0.0539871864, -0.004578738, -0.0359050892, -0.033531785, 0.0138390008, -0.0708940029, 0.0139996819, -0.0048086783, -0.032818567, -0.0186172631, -0.0446837619, -0.0546889454, 0.011216321, -0.0145523502, 0.0335853882, 0.0599924624, -0.0157717839, -0.0006019995, 0.0436340682, -0.0432992056, 0.0323669985, 0.0404639952, -0.0088178432, 0.0310853049, -0.030538803, -0.0555650443, 0.0077094045, 0.020595124, 0.0152786141, 0.0145159429, 0.0090305265, -0.0239371527, -0.0340509266, -0.0895485803, 0.0047454135, 0.0040013101, -0.0062358025, 0.0522153676, 0.0048003253, 0.0237570629, -0.0052963817, -0.0551963486, -0.0414119102, 0.0479264259, 0.0266770255, 0.0564686581, 0.0296039991, 0.00496927, -0.044360429, -0.0155114038, -0.0282621924, 0.009609608, 0.0486421064, 0.0133336969, -0.0286263786, 0.0596862249, -0.0766248703, -0.0321541578, 0.026913235, -0.0324343368, 0.0439337529, -0.0182230752, -0.0326230675, 0.0639728978, 0.0085431766, 0.0308969039, 0.0475764088, 0.0165506341, -0.0255950596, -0.0148278149, -0.048948586, 0.0301249865, 0.0359998792, -0.1111958101, 0.0363327935, 0.0120499469, 0.0088121984, 0.0000710232, -0.0567314699, 0.0065828008, -0.0433412865, -0.0031203157, -0.0116186179, 0.0098684439, -0.0022529883, 0.02327195, -0.00342835, -0.0246190373, 0.1142688245, -0.0000032048, 0.0380006246, -0.0481838919, -0.0110130422, -0.0462301299, 0.0291106291, -0.0088609029, 0.044541236, 0.0120672826, -0.0066726082, -0.0157495141, 0.0467861928, 0.0286476165, -0.0648363829, 0.0208814386, 0.0179654174, 0.0001941192, 0.0086789476, -0.0360499211, -0.0413308963, -0.0198953152, 0.0407195874, 0.0107674431, 0.0217856374, -0.029039165, -0.06283544, 0.0577683076, -0.0137604717, 0.0317016989, 0.0060138148, -0.0414680056, 0.0132773835, 0.0605055653, 0.0503306836, 0.0143859386, -0.0060007628, -0.011333501, 0.0188449118, 0.0756238699, -0.0110187717, 0.0481561907, -0.0222855248, -0.0059853657, -0.0402685814, -0.0154387048, -0.0029735549, 0.0061883084, -0.0057461574, -0.0302446987, -0.0330071636, 0.1099431142, 0.0509829931, -0.0340007469, 0.0011127954, 0.0163022578, 0.020668881, 0.0048005194, -0.0003214361, -0.0106137767, 0.0142554054, -0.014002094, 0.0291032009, 0.0039092433, -0.0575493202, 0.0066293748, -0.0384900011, 0.0159205422, -0.0153241521, -0.0328739397, -0.0569794178, -0.0645612404, -0.0133414511, -0.0116474647, -0.0468766242, -0.0231554173, 0.0000685513, -0.0062966319, -0.0043477407, -0.0446632802, -0.0847452953, -0.0038003118, -0.0718162209, 0.045401495, 0.0425511077, 0.0676710308, -0.0211697537, -0.0122047802, -0.0544930696, 0.0252252091, -0.023974698, 0.0047818543, 0.1052058488, -0.0061266972, -0.0073702349, -0.0667820573, 0.0001407029, 0.0079779141, -0.0014646315, -0.0311549418, 0.0447728336, -0.0207678508, -0.015271225, -0.0786089972, 0.0412286669, 0.0350476392, 0.0744717419, 0.0118842768, 0.0110236891, -0.0164106935, 0.0115826186, 0.0901377201, -0.0399242081, -0.0113752764, 0.0211885683, -0.0699651167, -0.0747132748, -0.0874155089, -0.0502906963, 0.0259141698, 0.0110900011, 0.0006911106, 0.0022450634, 0.0092192618, -0.0538673513, -0.0574897379, 0.0263182223, 0.0485344902, 0.0029794101, -0.0416844301, -0.0307790712, 0.0479961745, 0.0508866608, -0.0253740381, 0.0186594445, -0.0297659263, 0.0069807176, -0.0492157228, 0.0261699352, 0.0132100442, -0.028832987, -0.0031082551, -0.0283760503, 0.0421314724, 0.0626676977, -0.0383969806, -0.0124366982, -0.0123892492, -0.0302591957, -0.0171896089, 0.0248923544, -0.0280537233, -0.000205285, -0.0170010999, 0.0694568753, -0.0233661793, -0.0318659246, 0.0351141356, 0.0240955763, -0.0151946535, -0.057342574, 0.0031146577, -0.0287319068, -0.0347861387, -0.0274926033, 0.0040845014, -0.0276610423, 0.0036255508, 0.0388191231, 0.0033622121, -0.0262577757, 0.0775229558, -0.046939116, 0.0070266789, -0.0296060797, 0.0073184059, 0.0132119227, -0.0011556579, 0.0292597581, -0.0026747892, -0.0319505669, -0.0554373302, 0.0044420306, 0.0122462353, -0.0327613242, 0.0196938328, 0.0208252594, 0.0619301796, -0.0013829309, 0.0556073487, 0.0058665336, -0.0230251234, -0.0472126119, 0.0010834142, 0.0208413228, 0.0344978496, 0.0301465169, -0.0473984517, -0.0063966103, -0.0168927256, 0.0370855294, -0.0109902155, 0.0084983278, 0.0400337689, 0.0074400953, 0.0285801254, -0.0056158677, 0.0940020531, -0.0185796488, 0.0262955036, -0.0205906741, -0.0718634874, -0.0483631492, -0.0037915988, 0.0216993466, 0.002172213, -0.0268527623, 0.0012369793, -0.0718501732, -0.0555192493, 0.0130604189, 0.0066997674, -0.0250465814, -0.0003983947, 0.0585456304, 0.0443955101, 0.0077047194, 0.0222853981, -0.0212763119, 0.0253795553, -0.045649264, -0.0489411764, 0.0019468137, -5.792786937e-33, -0.0082693053, -0.067084372, 0.0247079004, -0.0401417986, -0.0024476801, 0.0725621283, -0.0383185148, -0.0275867078, 0.0265359748, 0.0317774303, -0.0165415946, -0.0051603108, -0.0038039018, 0.0177755263, -0.016211316, -0.0006658928, 0.0369719788, 0.0005082552, -0.0446942523, 0.0242222827, -0.0186293498, 0.0291656721, 0.0220818948, -0.097058244, -0.0149717694, 0.0185934305, -0.0028165155, -0.0263580997, 0.0440228954, 0.0733039752, -0.0485978797, 0.0125368582, 0.0419357531, -0.0311779566, -0.0048059803, 0.0011292752, -0.0827587321, -0.0420271866, -0.0068409806, -0.0466253832, -0.0463385656, -0.003733519, 0.0368092433, -0.0128726745, 0.0210530069, -0.0182542112, 0.0374944024, 0.0008955284, -0.023259243, -0.024070859, -0.0468833111, 0.0681594238, 0.0006772595, -0.0264128018, 0.0047870451, -0.0181503203, -0.0202856343, 0.0401523747, -0.0453952402, 0.0073842118, 0.0171243902, 0.0314219445, 0.0155631918, -0.0636372417, -0.0460107252, 0.0580614395, 0.0575066842, -0.0235038567, -0.0193398632, 0.0176349767, -0.0305821355, 0.054113593, 0.0365308635, 0.0404899642, 0.0312328115, -0.0310511198, -0.0627775341, 0.1055815518, -0.0342767164, 0.0668657124, 0.0192932505, -0.0282293018, -0.0821996406, 0.0090920329, 0.0026785228, -0.0388759784, -0.0344001614, -0.0434764847, 0.0398660973, 0.0365956575, -0.0207442269, 0.0163248088, -0.0012800157, 0.0041643814, -0.0007379546, 0.0041378094, 0.016829446, 0.012176672, -0.035751991, -0.0062434403, -0.0348400995, -0.0015056592, 0.0466638617, 0.0045933733, 0.0337220766, -0.0121211726, 0.0380565822, 0.0085094105, -0.062972948, 0.0158692654, 0.0237133112, -0.0272235181, -0.0441234373, 0.0092870621, 0.0107938945, 0.0103018451, -0.0140448995, 0.0181774348, 0.0008180515, 0.0232764594, -0.0345919095, -0.0378373265, 0.0357328281, 0.0190536268, -0.0368950702, -0.0259218309, -0.0444267616, -0.0104532996, 0.0560337044, -0.035709776, -0.0388548672, 0.0021652235, 2.613e-7, 0.082529746, 0.0261158291, 0.0218792818, 0.0324216671, 0.0083737122, 0.0078825243, -0.0115787564, 0.0285095926, -0.0316504538, 0.0156135838, 0.0240771733, -0.0163609423, -0.007928336, 0.0583901033, -0.0632929876, 0.0033450774, -0.095759213, -0.0257444456, -0.0111844176, -0.0574452206, 0.0631371513, 0.0513133109, -0.0272725802, -0.042088937, -0.0104864025, 0.0033601981, 0.0336894356, -0.0231070518, 0.0024266182, 0.031061504, 0.0470079631, 0.036471907, 0.0241899882, 0.0272408724, -0.0265880544, -0.0269604903, 0.0429899991, 0.0751527324, -0.033844132, -0.0369879529, 0.0272388551, -0.0266183317, 0.0265550278, -0.045214273, 0.0536630824, -0.0136744585, -0.0171824079, -0.010902415, -0.0218029208, 0.0368260853, 0.0913420171, -0.0542438142, -0.076768674, 0.0390593857, 0.0302553978, 0.0216943938, -0.0389752239, -0.0640490949, -0.0050743031, 0.0137535939, -0.0013935199, -0.0345110595, 0.0162284039, -0.0193886161, -0.005908771, -0.0439726561, 0.002120516, 2.536561148e-34, 0.0362537056, 0.0275666844, 0.0040353644, 0.0083988374, 0.0380206406, -0.0130301323, -0.0159486402, -0.0001889616, 0.0127691114, -0.0385579616, -0.0102116093 ]
http://arxiv.org/abs/2406.16842v1
http://arxiv.org/pdf/2406.16842v1
Exploring Factual Entailment with NLI: A News Media Study
"2024-06-24T17:47:55"
"2024-06-24T17:47:55"
Guy Mor-Lan, Effi Levi
cs.CL
cs.CL
We explore the relationship between factuality and Natural Language Inference (NLI) by introducing FactRel -- a novel annotation scheme that models \textit{factual} rather than \textit{textual} entailment, and use it to annotate a dataset of naturally occurring sentences from news articles. Our analysis shows that 84\% of factually supporting pairs and 63\% of factually undermining pairs do not amount to NLI entailment or contradiction, respectively, suggesting that factual relationships are more apt for analyzing media discourse. We experiment with models for pairwise classification on the new dataset, and find that in some cases, generating synthetic data with GPT-4 on the basis of the annotated dataset can improve performance. Surprisingly, few-shot learning with GPT-4 yields strong results on par with medium LMs (DeBERTa) trained on the labelled dataset. We hypothesize that these results indicate the fundamental dependence of this task on both world knowledge and advanced reasoning abilities.
[ 0.0159623343, 0.0377493836, 0.0027570764, 0.0506551117, -0.035328988, 0.0622549392, 0.004778326, -0.0162011087, 0.0024165206, -0.062848635, 0.0285382848, 0.0313507132, -0.0145348664, -0.0069865296, 0.0012059096, -0.005582747, 0.0538972765, 0.0261342805, 0.0474366397, -0.0084672403, -0.002134599, 0.0567393452, -0.019659264, 0.0113863302, -0.0268900357, -0.0010441676, 0.0175505895, 0.0024303726, 0.0519757047, -0.0148667851, -0.0334387012, 0.057461746, 0.0746569335, 0.0457554683, 0.0000018283, -0.0659927502, 0.0328452773, 0.0031985517, -0.062012326, -0.0116823614, -0.0180921759, -0.0432218984, 0.0313169286, -0.0092491768, -0.0209586341, -0.0418803468, 0.0189950243, 0.0528846942, 0.0650025755, 0.0776228681, -0.0206932984, -0.0571171604, 0.0211455952, -0.0093659209, 0.0225366186, -0.0230030324, 0.0305037089, 0.0523696877, -0.0268076006, 0.0322909541, 0.0267963801, 0.0128979757, 0.0286128707, 0.0025415279, -0.0252984148, 0.0405019149, -0.0658739284, -0.0204049852, 0.0487751737, 0.0459994748, 0.0404748432, -0.0539271683, -0.0190730002, -0.0114906644, -0.0193129051, 0.047649391, 0.0016896711, 0.0375541486, -0.0560425073, 0.028312441, 0.0504102036, -0.0203965735, 0.0128374295, 0.0322401524, 0.0113557409, 0.042123083, -0.0069747572, -0.0233100466, 0.0197386649, 0.0460810959, -0.0601952858, -0.0339734741, -0.0196522996, -0.00573075, 0.0298020132, 0.0220835488, -0.0405517593, 0.0005528689, 0.0362608209, -0.0861721933, -0.0116167981, 0.0115365544, -0.0305633061, 0.0756199807, -0.0365904979, -0.0026889734, -0.0035756992, -0.0150009841, 0.0177643076, -0.0392806716, -0.0443858504, 0.0127696004, -0.0178018734, 0.0464498475, -0.0084271124, 0.0038665447, -0.0035145064, -0.0120895393, 0.0198046826, 0.0436697938, -0.0259693228, -0.0468791313, -0.0303138774, -0.0072130384, -0.0585528649, 0.0379040316, -0.0540375523, 0.062520422, -0.0364487395, -0.0292860679, -0.0151984766, 0.0184444226, 0.0132290199, -0.0202506315, 0.0241307039, 0.0104795471, -0.0027904951, -0.0179777537, -0.0628314093, -0.017516287, 0.0011896405, -0.0633129478, -0.0137701128, -0.0593511499, 0.0110463863, 0.0025302074, -0.0260285307, -0.0069761537, -0.0106673986, 0.0441849045, -0.048780676, 0.0832412392, -0.0056269034, -0.0049698325, 0.0500344224, -0.0013497424, -0.0070977025, 0.0891295299, 0.0269864518, 0.0125732813, 0.0425694734, 0.0431499109, -0.0028292709, -0.0171103366, 0.0215117671, 0.0301250815, 0.005792941, 0.007220244, -0.0200348888, 0.0023750835, 0.0184034836, -0.0112195276, -0.0314133093, -0.0140677188, 0.0630070493, -0.0052099586, 0.010285804, -0.0065158657, 0.054024484, 0.0049383226, 0.0244612284, 0.0260781497, -0.0481709056, 0.0673559457, -0.0450577736, -0.0069484832, 0.0206422452, 0.0367950313, -0.0312194861, -0.0273883287, 0.0030874778, -0.0280159116, -0.0061022826, -0.0013968304, 0.0388715826, 0.0173094347, -0.02207819, 0.0141245481, 0.0633124411, -0.0288340747, -0.027137462, -0.0242494363, 0.0285894051, -0.0190965738, 0.0090188915, -0.0055886619, -0.0531879403, -0.0264960509, 0.0170867387, 0.0550696515, 0.0186366048, 0.0093563758, 0.0067397649, -0.0207642913, -0.0066865329, -0.0594964288, 0.0435010344, 0.0222089607, -0.014515698, 0.0422262661, 0.005424994, -0.0250277482, 0.0196611974, 0.0451261736, -0.0143272355, -0.0194288194, 0.0155845191, 0.0337264948, 0.0074957754, 0.0185645949, -0.0061629871, -0.0413210057, 0.0107639506, -0.0054132361, -0.0250268225, 0.007438682, -0.0011014075, -0.111762628, -0.0033964799, -0.0539000928, -0.0677228943, 0.0009473948, -0.0596459098, -0.019116791, -0.0026555522, -0.0120112225, -0.0243727285, -0.0743618533, -0.0598284081, -0.0119491713, -0.0009981543, -0.0130615495, 0.1041960418, 0.0231782738, -0.006494307, -0.0301207732, -0.0055983881, 0.0409694351, -0.0158787202, -0.0027864685, 0.0065350877, 0.0283724032, -0.0122961933, 0.0456352308, -0.0112181762, -0.0190647803, -0.0079179024, -0.0727302656, 0.0334226638, -0.0237088539, 0.0025659583, 0.013327634, -0.0344441459, -0.0059172539, -0.000399045, -0.009659267, -0.0440710299, -0.0189430285, 0.0080127958, 0.0592204146, -0.0059984806, 0.0211163647, -0.0030323982, 0.0251272935, -0.0434076376, 0.0340522639, 0.0226999838, -0.0141635751, -0.0302503612, 0.0281119663, -0.077164188, 0.0036297909, -0.0135430321, -0.0241326969, 0.0266921353, 0.0241024997, -0.0004345594, 0.069870688, 0.0093973903, 0.0297861341, 0.0343657285, 0.0306473505, -0.0191585645, 0.0381716341, -0.0264257155, 0.0181418285, -0.0038729834, -0.0218458734, -0.0031838282, 0.0051596379, 0.0086716218, 0.0129626021, -0.0387579091, 0.0522019267, 0.0134346066, -0.0019397321, 0.0105097145, -0.0057052667, 0.0191210266, 0.053271722, -0.0157039519, 0.0107157817, 0.0782256797, -0.0098830014, 0.0153248189, -0.060319759, -0.0507086366, -0.0212189127, 0.050954897, -0.0153129892, -0.0029253655, -0.0001566205, 0.0153250201, -0.0423345342, -0.0305224266, 0.0744172484, -0.0069211889, 0.059000887, -0.0376918241, 0.0252102129, -0.0062208502, -0.0323484987, -0.0275693201, -0.0644743741, -0.0168969724, -0.0284480918, -0.0788889006, 0.007047642, -0.0433860868, -0.004520684, 0.0409149118, 0.0248073917, 0.0013392424, -0.0038012729, -0.0017427424, 0.0466842949, 0.055607561, 0.0141013768, 0.0005455131, 0.0177974179, 0.035815496, 0.024018826, -0.0611881576, 0.0285356883, -0.0456146747, -0.0074836458, -0.0380319357, 0.0034474446, -0.0500300974, -0.0410389937, 0.0454211682, -0.0314985923, -0.0005161639, 0.1037853658, 0.0104443338, -0.0124863032, -0.0321022272, 0.0299286302, -0.0135085182, 0.0171596538, -0.0076410035, -0.0918378979, -0.0436147042, -0.0137871839, -0.0289829504, -0.0301214755, -0.0317513496, -0.0361730196, -0.0954124182, 0.0375505462, -0.0342290737, -0.0289281663, -0.031058481, -0.1041716784, 0.0093539208, -0.0097386725, 0.0079551991, -0.0173186883, 0.0359445587, 0.0240321141, 0.0051298048, -0.0194916427, -0.0439302064, 0.0457618907, -0.0107469829, 0.0312098283, 0.0020164785, 0.0464131571, -0.0154549135, 0.0036189531, -0.0297854412, -0.016848404, -0.0330946073, -0.0095537193, 0.0725378171, -0.0608424768, -0.0117834881, -0.0361912921, 0.0296233147, 0.0269407872, -0.0354837254, 0.013453491, 0.0547197387, -0.0242267996, -0.0204619262, -0.0209640097, 0.0193321314, -0.0179685373, 0.0949026644, 0.0163430627, 0.0252501722, 0.0005348906, -0.0263288617, -0.01842333, -0.0201037675, -0.0315883197, 0.0211972017, -0.0212461557, -0.0124181099, -0.0368023999, -0.0450025648, 0.0209737122, 0.0320771635, -0.0435356721, 0.0097722886, 0.0410245396, 0.0190647058, -0.0125489086, 0.0019325315, -0.034596011, -0.0313687846, 0.0597513691, -0.0048640026, 0.0591890253, 0.0040689828, -0.0175208114, 0.0113108428, -0.064400129, -0.0386644565, -0.042511709, 0.0167633258, 0.0216710046, 0.0365768448, -0.0025850702, 0.0243134629, 0.0113228979, 0.1015615165, -0.0357898101, 0.0349004939, 0.0170598961, 0.0147918407, 0.0235558022, 0.0387050547, -0.0104289167, 0.0436240323, -0.0163795836, 0.0219012033, -0.0598820448, 0.0037328075, 0.0457034893, 0.0026494109, 0.0826381817, 0.0040100571, -0.0361644924, -0.0376888141, 0.0103898449, -0.066695556, -0.0162905958, -0.0218878463, 0.016810067, -0.0108935544, 0.0118991332, -0.04641103, -0.0230616834, -0.0285751913, 0.057577271, -0.0154183563, -0.0238683354, 0.0461183898, 0.0181604773, -0.0593999699, -0.0270189699, -0.0674147159, -0.00359508, -0.0092508085, 0.0253156647, -0.023968691, 0.0275910217, 0.0595325418, 0.0185119826, 0.0306378063, -0.0307606217, -0.0658276826, 0.0096921856, -0.0112820268, 0.0529978238, 0.0344067216, -0.0379766114, 0.0258495566, -0.019448854, -0.0159373879, 0.0322217569, 0.0303984806, -0.0003241928, -0.0238071252, 0.0334549956, 0.005351705, -0.0439978838, 0.0248302631, 0.0501159318, -0.0276192036, 0.0405020453, 0.0551740788, -0.0084999958, -0.0456753522, -0.0470984839, 0.0106211863, 0.0144891134, 0.019189924, 0.0249959901, -0.0678858384, -0.0536293276, -0.0240349602, -0.0276918132, 0.0061037689, 0.0151743162, -0.0031492638, 0.0723354667, 0.032382872, -0.0385698639, -0.0142374663, 0.0075894045, -0.0402374938, 0.0007835645, -0.0098454626, -6.551469358e-33, -0.0501252487, -0.0189230796, 0.0090490738, 0.0351917781, 0.0218785461, 0.0112274652, -0.0269684214, -0.0251377393, -0.0757776126, 0.0584240966, 0.0406642556, 0.0273079146, 0.0026538305, -0.0100572528, -0.007600938, -0.0393702276, 0.0091077229, 0.0068558725, -0.0544291399, 0.0003449898, 0.0585627519, -0.0300164074, 0.0768000111, -0.0575968027, -0.0010332335, -0.0224394072, -0.0299342982, 0.0264182482, -0.0184323136, 0.0257383753, -0.0009413151, 0.0323445126, 0.0418493859, -0.0443930067, 0.0392782614, 0.0138562592, -0.0740862414, -0.072093755, 0.0696668476, -0.0235284604, -0.013238498, 0.002520032, 0.0018001727, 0.0150324218, -0.0075533148, -0.0332594775, 0.0477715284, -0.022433484, 0.0157805663, -0.0202493574, -0.0646895617, 0.0108651165, -0.0010582492, -0.0149486009, -0.0399928614, 0.0088185752, 0.0135562345, 0.0048167882, -0.078700766, -0.0112030571, -0.0273639914, 0.0033931423, 0.0143696377, -0.0538249984, 0.0067015053, 0.0741733164, -0.0082666511, -0.0014920131, -0.0933970585, 0.0221469607, 0.0505689569, 0.0294097066, 0.0272835176, 0.1007557288, 0.0528989881, 0.0193364732, -0.1257744133, 0.0121937459, 0.0649105608, 0.0331708342, -0.004299676, -0.0304814912, -0.0202123411, -0.0028037976, -0.031905815, -0.0013583185, -0.0305943433, -0.0216384176, -0.0209244974, -0.0065027904, -0.0265351888, 0.03876701, 0.0306817442, -0.0070956857, 0.0145795168, 0.0182774682, -0.044593852, -0.0110305231, 0.0173967015, 0.0320389345, -0.0604710467, -0.0048895027, 0.0258462112, 0.043879196, 0.0341808125, -0.0002910745, 0.0826827958, -0.0227455962, -0.0366875604, -0.0111487349, -0.0230080578, 0.0100189652, -0.0435245074, -0.0309791863, 0.0234587565, 0.0427333713, 0.0052512372, 0.0098973606, -0.0030849639, -0.000145414, -0.0330419093, -0.0369452946, -0.0192003716, 0.0167905353, -0.0207832474, -0.0090870922, 0.0008486186, -0.0236986466, -0.012475593, -0.0652517676, -0.0014546425, 0.0152589362, 2.732e-7, 0.0339105763, 0.0787665173, 0.0079101939, 0.0425335728, -0.0042400383, 0.0536657386, -0.0089623528, 0.0351684801, 0.0326522626, -0.0959731489, 0.0185446087, 0.0547992066, 0.0225863904, 0.0709590539, -0.0599991344, 0.0354401879, -0.0654311031, -0.0454957783, -0.0725415125, -0.0171862841, 0.0864406675, 0.0741470754, 0.0721189231, -0.0078834174, 0.0021584418, -0.0472239479, 0.0733547583, 0.0250285156, -0.0517925173, -0.0284383018, 0.027353067, 0.0130889341, 0.0042251139, 0.0635503381, 0.0008760841, 0.0172854848, -0.0105193676, 0.0397328474, 0.0049219602, -0.0237755682, -0.0400467999, -0.0130049298, 0.0158108566, -0.0491947457, 0.0932867154, -0.0493919142, -0.0604537129, -0.0295763332, -0.0426651202, 0.0063008014, 0.0543232001, 0.0231042039, -0.0303074382, -0.0037258319, 0.0081432303, 0.0027701273, 0.0020400437, -0.028997248, -0.0094446307, 0.042682007, -0.0227068942, -0.0234707557, 0.020247167, -0.0165584162, 0.0746659115, -0.0437577181, 0.0233446229, 2.19841252e-34, 0.0359520949, -0.0260997321, 0.0198562704, -0.0273084547, 0.0447239652, 0.0295361821, -0.0615865439, -0.0124049252, 0.0276992545, -0.0310363956, 0.0259943083 ]
http://arxiv.org/abs/2406.16838v1
http://arxiv.org/pdf/2406.16838v1
From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Models
"2024-06-24T17:45:59"
"2024-06-24T17:45:59"
Sean Welleck, Amanda Bertsch, Matthew Finlayson, Hailey Schoelkopf, Alex Xie, Graham Neubig, Ilia Kulikov, Zaid Harchaoui
cs.CL
cs.CL, cs.LG
One of the most striking findings in modern research on large language models (LLMs) is that scaling up compute during training leads to better results. However, less attention has been given to the benefits of scaling compute during inference. This survey focuses on these inference-time approaches. We explore three areas under a unified mathematical formalism: token-level generation algorithms, meta-generation algorithms, and efficient generation. Token-level generation algorithms, often called decoding algorithms, operate by sampling a single token at a time or constructing a token-level search space and then selecting an output. These methods typically assume access to a language model's logits, next-token distributions, or probability scores. Meta-generation algorithms work on partial or full sequences, incorporating domain knowledge, enabling backtracking, and integrating external information. Efficient generation methods aim to reduce token costs and improve the speed of generation. Our survey unifies perspectives from three research communities: traditional natural language processing, modern LLMs, and machine learning systems.
[ 0.0377919748, 0.0603784919, -0.0092418604, 0.030587187, -0.0740080103, 0.0105717182, -0.0158216581, -0.0037299383, -0.0600019656, -0.0558650829, 0.0111655965, -0.0248054024, 0.0163634997, 0.0290006865, 0.0169911496, -0.0317164361, 0.0378735699, -0.0575877763, 0.0021742233, -0.0133001702, -0.0369051918, 0.009710121, 0.0097168954, 0.0701157823, -0.0032053646, -0.0102785816, -0.0085697956, 0.0015294561, -0.01537883, -0.0073003136, -0.0580157079, 0.0273603927, -0.0042648017, 0.0589624159, 0.0000018137, -0.0264358278, -0.0166308694, 0.0035588716, -0.0326924957, 0.0052859131, 0.0496512651, -0.0176620539, -0.000278801, 0.0472451933, -0.0141881434, -0.0705882907, 0.0733368546, -0.0180116985, 0.0055293622, 0.0574103296, 0.0051459214, -0.0362278447, 0.0029025017, -0.0131970868, -0.035324771, -0.0569206066, 0.0251846667, -0.031262394, -0.0301416777, -0.0057471008, -0.0351830646, 0.0167356208, 0.0122290179, 0.007412924, -0.0111953607, 0.053338442, -0.0407322459, -0.024089992, -0.0342646129, 0.0244687144, -0.0197592508, -0.0526314639, -0.0142383054, -0.0070259417, 0.0083176531, 0.0239449125, -0.0304457322, 0.0562705249, -0.0287423339, 0.0438910984, 0.0562418774, -0.0208720937, 0.0574887507, -0.0016590406, -0.0731118247, 0.0787675604, 0.0442485176, -0.0114718638, -0.019540254, -0.0118390946, -0.0350825489, -0.0759780332, -0.0016053193, 0.0161698852, -0.0369043685, 0.0177529622, -0.0482612886, -0.0506721027, -0.0039499509, 0.0204173867, 0.0282649454, 0.0368853696, 0.0180594344, 0.0288051013, -0.0115059875, 0.0133866491, -0.0002504176, -0.0002978196, -0.0684050247, -0.0371954367, -0.0161735453, -0.0264701638, -0.0667580888, 0.0399639308, -0.0390727855, -0.0149520198, -0.0539124981, 0.0161613524, 0.0411576182, -0.015096982, 0.0354779437, -0.0232522022, -0.0273482949, -0.0069158422, 0.0183712896, 0.0242029279, -0.0190010052, 0.0055121668, -0.0004416244, -0.0399429351, -0.0065068398, 0.0173893198, 0.0029960701, -0.0328538306, -0.0196902137, 0.0864501223, 0.0207165573, -0.0598273501, -0.0122850137, -0.010733163, -0.0270733852, -0.0741511732, -0.0045697843, -0.0669091269, 0.0244520642, 0.0301943105, 0.0037975318, -0.0013615265, -0.0007545642, -0.0042168503, -0.0134635465, 0.0540898964, -0.0156104304, 0.0378022194, -0.0119889313, -0.0236488972, -0.0178040117, 0.0865147933, 0.0212486573, 0.0413572602, 0.0249589048, -0.0067419079, -0.0157643892, 0.0575629622, 0.0303437244, -0.0134097496, -0.019423373, -0.0330281444, 0.0410671495, 0.0119953826, 0.0069197332, 0.0762522593, -0.0581242256, 0.0053377957, 0.0150552019, 0.0725940317, 0.0101796417, 0.0111501114, 0.0930372179, -0.0154499784, -0.0006691791, 0.0027452011, -0.0246093366, -0.020145895, 0.0155590689, -0.0075055729, 0.0523911566, 0.0617637672, -0.0158784445, -0.0168226194, -0.0152550656, -0.0026809378, -0.0246698726, -0.0064907935, 0.0861361548, 0.0230993517, -0.0272990949, 0.0379638523, 0.0203290563, -0.033224199, 0.0171542652, -0.087770544, 0.0112341298, 0.0680629462, 0.0565978363, 0.0062671294, 0.0109657431, 0.0226946883, 0.0287495665, 0.0513796061, -0.009289776, -0.0239606779, 0.0174778029, -0.0441078544, -0.0097652674, 0.0384069905, 0.0242108721, 0.0296993218, 0.0175693855, -0.0098712603, 0.0150789823, -0.0950397104, -0.0207614414, 0.0395904407, -0.0323184654, -0.0361730084, 0.0425993539, 0.007110564, 0.0472856648, 0.0198352188, -0.0048635164, 0.0381405801, 0.0253416579, -0.0534530431, -0.0131183714, 0.0577029027, -0.0153124221, -0.061039675, 0.0453178585, -0.0379557423, -0.0070303623, -0.0124923615, -0.0465452038, -0.0425816327, 0.0397657044, -0.039273683, 0.1041068658, -0.0466686487, 0.0285129752, 0.0050479504, -0.0045640152, -0.0226661786, 0.0520210825, -0.0424917676, 0.0062103476, 0.0468036905, -0.0039600474, -0.016566975, -0.0037026198, 0.000484466, 0.0359918922, -0.0225313548, 0.0005006777, 0.0150597729, -0.0061429171, -0.0068188854, -0.0260093268, -0.097118929, -0.0146176964, -0.0334272832, 0.0289546959, 0.0004090221, 0.0264776517, 0.0040112091, 0.0184608493, 0.0093314601, 0.0109722307, 0.0043367264, 0.0460418575, -0.0039486759, 0.0306676719, -0.044613082, -0.0151386075, -0.0397198163, 0.0044133463, 0.080460161, -0.015507875, -0.0020655086, -0.0696762279, -0.0008042509, 0.0058338894, 0.0098915743, -0.004112131, -0.0178837925, 0.0108535616, -0.0451907031, 0.0744376853, 0.0028015822, 0.0202915072, 0.0387579054, 0.0315292925, -0.0083837425, -0.0518727824, -0.0143993469, -0.0313912556, -0.0393394232, -0.0425330475, -0.0521105602, 0.0171338748, 0.0794161633, -0.0043762545, -0.0323618352, -0.0656886175, 0.0129693635, -0.0281180814, -0.0702292323, -0.0008527669, 0.0086897882, -0.0193275493, 0.0317112766, -0.0070707467, -0.0619414262, 0.0520109311, -0.0396246687, 0.0260897037, -0.030312825, 0.0141452877, -0.018017916, 0.0785766318, 0.0022028948, 0.0391450338, -0.0143699208, -0.0579462349, -0.0023917775, -0.0037471894, 0.0238094367, -0.0282233711, 0.0199707821, -0.0402032882, 0.030688908, -0.0024845672, -0.0414778441, -0.0408001728, -0.0178854838, -0.0327828899, -0.0041619483, 0.0164866969, -0.0143486401, -0.037884254, 0.0110688107, -0.0317577533, 0.0153065361, -0.0105263339, 0.0061986698, 0.0000318883, 0.0315342881, 0.0392745994, -0.0229732879, 0.005619172, -0.0451580174, 0.0110071125, 0.0606494248, 0.0592627563, 0.0424197465, -0.0278164428, -0.0303821657, 0.0464281291, -0.0268811751, 0.008622366, 0.0326606408, 0.0002921101, -0.0286126286, -0.0190558471, 0.1191293299, 0.0402754322, -0.0386408605, 0.0140171601, -0.0197755024, 0.0325780474, 0.0069224099, 0.0055245114, -0.0851932392, -0.0477784686, 0.0362586156, 0.0256754719, -0.0325124376, -0.0286237411, -0.0101839323, -0.1138213947, 0.0410979576, 0.0042442721, -0.047985822, -0.0554163083, -0.056128405, -0.0234644152, -0.0125128375, 0.0249688998, 0.0468695648, -0.0213781614, 0.0181529615, 0.0424815267, 0.0083529316, -0.0552488118, -0.0212391783, -0.0357702747, 0.0512702465, 0.0470319651, 0.0169729702, -0.0003177398, 0.0032839875, 0.0579312406, 0.0196906924, -0.0053729699, -0.0424320176, 0.0105283698, -0.0381402709, 0.0102209933, -0.0025801647, 0.0378522091, -0.0061395597, -0.018251121, 0.0136628784, 0.0705986768, 0.0004216188, -0.0302156974, -0.0191766657, -0.01928013, 0.0256612189, 0.0885016024, 0.0424067788, -0.0507165603, -0.0334473737, -0.0296402667, -0.0005178286, -0.0451717414, 0.0168446656, 0.0019467098, 0.0224872399, -0.0276091974, -0.0480351076, 0.0033242328, 0.0548485219, 0.0360013358, 0.0055621089, 0.0450212844, 0.0154984556, -0.0124879824, -0.0715790689, -0.01050309, -0.0574050844, 0.005537421, -0.0583171397, -0.003259595, 0.0414347053, -0.0334927365, -0.0157324281, 0.0498993509, -0.082660459, -0.0742745474, -0.0095145395, 0.041753944, 0.0230033994, 0.0276396666, 0.0018831347, -0.0252606813, 0.0477613173, 0.0733299777, -0.0081281466, 0.0064672078, 0.0188800544, -0.0020539016, -0.0083374931, 0.052879367, -0.0304403603, -0.0003082317, 0.0271405485, 0.0708532184, 0.0158347562, 0.0082183871, 0.0325247794, 0.0399843417, 0.0311192442, -0.0637077764, -0.0178071838, -0.0077071167, 0.015472685, -0.0263017863, -0.0103089167, -0.0450910665, 0.0355927981, 0.0354045443, -0.0097890161, -0.0151408771, -0.028273195, -0.0189589132, 0.022199437, 0.0131325843, 0.0051448136, -0.0427229367, 0.0322799534, 0.0680701062, -0.0404226556, -0.0062428555, -0.0180503111, 0.0280771535, 0.0027939861, -0.0339481682, -0.0042992402, 0.0408165939, 0.0099540185, -0.0682382211, 0.0099352375, -0.0278279223, -0.0319876336, -0.0137836458, 0.0380455218, 0.061484497, 0.0254669134, 0.0361276232, -0.0392310061, -0.0207474269, -0.03150649, 0.0397081375, 0.0275226235, -0.0254187807, 0.0168563761, 0.0007279874, -0.0419336557, -0.014215528, 0.0967633128, 0.0312230252, 0.0486659296, -0.0077271261, -0.0261090826, -0.0367068574, -0.0484173521, -0.0513678119, 0.0165257528, -0.0257957466, 0.0289283711, -0.0935495123, -0.0793759152, -0.0131859072, 0.0231641065, 0.0075175059, 0.0141666159, 0.0255244095, 0.0845665559, 0.0180550925, -0.0240625273, -0.0414740592, 0.0458810739, 0.0196288116, -0.0509133898, 0.0129929828, -6.204147512e-33, -0.0259497687, -0.0321665667, 0.0239523575, -0.0184088051, -0.0106049767, -0.0089126267, -0.0224327482, 0.0037804458, 0.0376846381, 0.0090422453, -0.0237657074, 0.0100350799, 0.0223646294, 0.0506005585, 0.0004627253, 0.0076883622, 0.0571570732, -0.0224147011, -0.0255824216, 0.01441749, 0.0505086184, 0.0240597073, 0.0109338155, 0.0132627338, -0.0255817212, 0.0125339199, 0.0138870701, 0.0219409876, -0.0105874594, 0.0403567329, -0.0235185884, 0.0397579148, 0.0245231651, -0.0314563662, -0.0197914876, 0.0047128955, -0.089659296, -0.0076662861, 0.0605310723, -0.0143037066, -0.043198932, -0.0507025905, 0.0150816403, 0.025322834, -0.0286583975, 0.0156630762, -0.010134913, -0.0242931023, -0.0331785493, -0.0130436877, -0.0546844453, 0.0399626605, 0.008154422, 0.0182367601, 0.0636525527, 0.022469487, -0.0102591291, 0.0158786029, 0.0218026508, 0.0527272858, 0.0172741376, 0.0564688928, 0.0467913188, 0.0627324432, 0.0177786425, 0.0422180071, 0.0550493672, -0.0269988403, -0.0112087894, 0.0265134107, 0.0210255347, 0.0090718009, -0.0301830955, 0.0560113899, 0.0494103916, -0.0139994472, -0.0776866823, 0.0010021543, 0.0026040184, 0.021435041, 0.0691396296, -0.0065957424, -0.014238352, -0.0316341966, -0.0728872195, -0.0475133657, -0.0299929455, 0.0069336905, 0.0275081396, 0.0488606095, -0.0584986396, -0.0306598451, 0.0713195205, -0.0364465378, -0.0247041378, 0.0332812667, 0.0115738986, -0.0046109976, -0.029302597, 0.0338173918, -0.0328142382, -0.0490867533, 0.0152289104, -0.0089344792, 0.0029115563, -0.013927348, -0.0051359893, 0.0115394192, -0.0538773313, -0.0035130037, -0.0419124663, 0.0210159887, -0.0338134654, -0.0016311426, 0.0682926327, 0.0291014407, 0.0101857344, 0.0005044111, 0.0137478616, -0.0077632791, -0.0089614121, 0.0022818004, 0.0252147019, 0.0243574586, -0.0316808559, 0.0139711546, -0.0410409532, -0.001886635, 0.0623540916, -0.0479367301, -0.0298469998, 0.0351973698, 2.551e-7, 0.0518841892, 0.0407208838, 0.0626640692, 0.0058609466, 0.0337760188, -0.0004339904, 0.0275478903, 0.0067754122, 0.0374174751, 0.0203092434, 0.0061621196, 0.0287904982, 0.0464043245, 0.0124890059, -0.0892367885, 0.0360040665, -0.0437927172, 0.0112075713, -0.0458951853, -0.0124312378, 0.0148963258, 0.1023669168, -0.0028224583, -0.0212947503, 0.0107710194, -0.0220131725, 0.0430089869, -0.0231349617, 0.0029265527, 0.0198506936, -0.0376268998, 0.0227505621, 0.0316635594, 0.013597263, -0.0045594131, 0.0050237817, 0.013938725, 0.0713720918, 0.0023121277, 0.0191958919, 0.0020696826, -0.0123780156, -0.0042517693, -0.0170382652, 0.0515666716, -0.0592332333, -0.0289151538, -0.0681489855, -0.0044803242, -0.0057070092, -0.0368008241, -0.0376826301, -0.0161084402, 0.0572818331, 0.0250812415, 0.0122200511, 0.0116634248, -0.063206777, -0.0108308373, -0.0362286679, -0.0604657233, -0.0699979886, -0.0219516847, 0.0116356602, 0.0325383842, -0.0804823041, 0.0002648332, 2.560857147e-34, 0.0573231168, -0.0154064959, 0.0038109543, 0.0347744562, 0.0011945134, -0.0318648145, -0.0237339027, 0.0201224498, -0.0051914956, -0.0946854278, -0.0393575169 ]
http://arxiv.org/abs/2406.16833v1
http://arxiv.org/pdf/2406.16833v1
USDC: A Dataset of $\underline{U}$ser $\underline{S}$tance and $\underline{D}$ogmatism in Long $\underline{C}$onversations
"2024-06-24T17:41:53"
"2024-06-24T17:41:53"
Mounika Marreddy, Subba Reddy Oota, Venkata Charan Chinni, Manish Gupta, Lucie Flek
cs.CL
cs.CL, cs.AI, cs.LG
Identifying user's opinions and stances in long conversation threads on various topics can be extremely critical for enhanced personalization, market research, political campaigns, customer service, conflict resolution, targeted advertising, and content moderation. Hence, training language models to automate this task is critical. However, to train such models, gathering manual annotations has multiple challenges: 1) It is time-consuming and costly; 2) Conversation threads could be very long, increasing chances of noisy annotations; and 3) Interpreting instances where a user changes their opinion within a conversation is difficult because often such transitions are subtle and not expressed explicitly. Inspired by the recent success of large language models (LLMs) for complex natural language processing (NLP) tasks, we leverage Mistral Large and GPT-4 to automate the human annotation process on the following two tasks while also providing reasoning: i) User Stance classification, which involves labeling a user's stance of a post in a conversation on a five-point scale; ii) User Dogmatism classification, which deals with labeling a user's overall opinion in the conversation on a four-point scale. The majority voting on zero-shot, one-shot, and few-shot annotations from these two LLMs on 764 multi-user Reddit conversations helps us curate the USDC dataset. USDC is then used to finetune and instruction-tune multiple deployable small language models for the 5-class stance and 4-class dogmatism classification tasks. We make the code and dataset publicly available [https://anonymous.4open.science/r/USDC-0F7F].
[ 0.0647407994, 0.0794606507, 0.0069404235, 0.0279410034, -0.0291643105, 0.0367705896, -0.0029623702, -0.0313751325, 0.0224649161, -0.0887630656, -0.0277256593, -0.0045098546, -0.0319502875, -0.0170106366, -0.0241800193, -0.0480425358, 0.0384095758, 0.0268438887, 0.0417550243, -0.0037881576, 0.0679545179, 0.031132292, -0.0255542099, 0.0304512046, -0.0254314411, -0.0455357693, -0.0019113448, -0.0151685523, 0.0428751707, -0.00576034, 0.041003678, 0.0799838752, 0.0035121993, 0.0696463808, 0.0000017131, -0.0249084439, -0.0094037745, -0.0202629715, 0.0213130265, -0.0076786242, 0.0458675995, -0.0114801554, -0.0079513723, 0.036645256, -0.0615358502, 0.0172666647, 0.0383655578, 0.0825765431, 0.0933792666, 0.0812508613, -0.0113211013, -0.0582127869, -0.0056056334, -0.036644455, -0.0318983309, -0.0517753549, 0.0342799239, 0.0116586732, -0.0585596934, 0.0672532991, 0.0149773424, -0.0047991932, -0.0061706188, -0.0371295698, -0.0426576063, -0.0103905099, -0.0200232267, -0.0271252207, 0.0046054097, 0.0763041824, 0.0177762862, -0.0331994817, 0.0104209799, 0.0121359043, 0.0069117658, -0.0135562215, -0.0403275564, 0.0022426441, -0.0087119788, 0.0483038723, 0.0275081862, -0.0028958027, 0.0217006467, 0.056564033, 0.008204394, 0.0210138429, -0.0352673307, -0.018139258, 0.0172108784, 0.0328290462, -0.0322056301, -0.0442821607, 0.0264373869, -0.001845923, 0.0019582915, 0.0196437258, -0.0321574844, 0.001116639, 0.0477673076, -0.0903269202, 0.0022977039, 0.0073163323, 0.0139513342, 0.0821573362, -0.0019684925, -0.0051566814, -0.0307563469, -0.0139861805, 0.0099691693, -0.008894342, -0.0809558704, 0.0091797467, -0.0337091908, 0.0115686376, -0.0223516673, -0.0014580144, -0.056985788, 0.0146938218, -0.0315297619, 0.0028677597, 0.0236842893, -0.0218589138, 0.0159774683, -0.0100676743, -0.0241152309, 0.0619426928, -0.0422512479, 0.0294413641, -0.0009952574, -0.0452800952, 0.0123773916, 0.0258772224, 0.0082805175, -0.0273631085, -0.0069005648, 0.011066881, 0.0351966321, 0.0096808737, -0.0108442437, -0.011530404, -0.0366322771, -0.0772677958, -0.0213035662, -0.0713057369, 0.0362453312, 0.0052413084, 0.0005338562, -0.0164478514, 0.0254909117, 0.0461548939, 0.00059353, 0.0942174196, -0.0120305419, -0.0198204555, 0.0359700508, 0.0197123997, 0.0156171285, 0.05803461, -0.0058867945, 0.0419614427, 0.0360384658, -0.0174532831, -0.0012788873, 0.012486957, -0.0057181921, -0.0210007094, -0.004642101, 0.0371537358, -0.0346176848, -0.001967734, 0.0082982043, 0.07147035, -0.0127221812, -0.0322646946, 0.0773613378, 0.0489368662, -0.0311628878, 0.0254931282, -0.0047997967, 0.0436577722, 0.0080398554, -0.0297743361, -0.0231397338, 0.0075484482, -0.0251145121, -0.0541195869, 0.0113921296, -0.007484992, -0.0149289863, -0.0594679751, -0.0313778892, -0.0313126035, 0.0291308518, -0.0030864533, 0.0222725291, -0.0008300962, -0.0167440958, 0.0272450447, 0.026865365, -0.0617884696, -0.0375979617, -0.0412662849, 0.0241772383, 0.0408730507, 0.0008701857, -0.0316651016, -0.0379051156, -0.0694429204, 0.0571582392, 0.0522297211, 0.087815173, -0.0284156669, -0.0489282608, -0.0390458591, 0.0000847441, 0.0066780904, 0.001697881, 0.0099187503, 0.0242317691, 0.0067287069, -0.0087699033, 0.0447277837, 0.0011580937, 0.0149082663, 0.056012325, -0.0098056598, 0.0010930008, 0.0052827718, 0.0732034668, 0.0325002074, 0.0005956311, -0.0286585875, 0.012402921, -0.0097884359, -0.0561291948, -0.0033892647, -0.0196942668, -0.0247878321, 0.0502155907, -0.0007934898, -0.0359649174, 0.0391567275, -0.0398984291, -0.0048232945, 0.0225665122, -0.0261393897, -0.0077563175, -0.0491559096, -0.0278763585, -0.0322816931, 0.0149692735, -0.0467501283, 0.0515650921, -0.0197339579, -0.0089147491, -0.0383386686, -0.0383259915, 0.0191014428, -0.0191456024, -0.0408744514, -0.012597423, 0.029925013, 0.0247390792, 0.0588698685, -0.0140581615, -0.0179276206, -0.0488040261, -0.1128662378, -0.0059961407, -0.0224260688, 0.0500950925, 0.0233382005, -0.0034404846, 0.0251498967, -0.0012226468, -0.0341747031, 0.015031972, -0.0080688512, 0.0353968516, 0.0562538132, -0.0219500437, 0.0132879326, -0.0491284765, -0.0037827671, -0.0163047705, -0.0057813958, 0.0330219492, -0.0396038964, -0.040370658, 0.0085354447, -0.0342993848, 0.018654814, -0.0205966327, -0.0765660256, 0.0253296141, -0.0003211288, 0.0348620303, 0.0547987446, 0.0401364565, 0.0821285918, 0.003223656, 0.0418661945, -0.0495165065, -0.0037961761, -0.0279528797, -0.0041275038, -0.0476478748, 0.0133530628, 0.0153848873, 0.0984136984, -0.013819335, -0.0023722677, -0.0473316833, 0.0411787815, -0.0204044301, -0.0063835736, 0.005421761, -0.0171562396, -0.0133241462, 0.0065288092, -0.0139661962, -0.0372392647, 0.070808813, 0.013202861, 0.014580939, -0.0521313734, -0.0425072126, -0.0375190414, 0.0536279045, 0.0085168406, 0.0012206152, -0.0323235467, 0.0096626068, 0.0304123294, -0.03591948, 0.0110571086, -0.0540864095, 0.0162916221, -0.0073023485, 0.0398739576, -0.0060316492, -0.051594954, -0.0083106905, -0.0559914857, -0.069472827, -0.0198964085, 0.0153974798, -0.0174968466, 0.0107325008, 0.0059719249, -0.0103126308, 0.0112656569, -0.0216538236, -0.0000453184, 0.004064851, 0.0134936869, 0.0491493754, -0.0032109509, 0.0135579379, -0.003525445, 0.0267626848, 0.0825692937, -0.0121143209, 0.0124141118, -0.0462039113, -0.0619540885, 0.0180605929, -0.032959789, 0.0030814765, -0.0609315, 0.0794013441, -0.0490583591, 0.0210020933, 0.1117444783, 0.0299033318, -0.0556044914, -0.0141485455, 0.0049272068, -0.0010083563, 0.0263803732, -0.006709469, -0.1129827127, -0.0508715101, -0.03003156, 0.025074739, -0.0285049435, -0.0377165228, 0.0033500034, -0.0899003968, 0.0005791792, -0.0233844854, -0.0423638076, 0.0032996463, -0.0628554001, 0.0220571309, -0.0442526639, 0.0074063614, -0.0239489693, 0.01955509, 0.0033341618, 0.0209388901, -0.0520989485, -0.0321371406, 0.0325038806, -0.0226671025, 0.0398781523, 0.0153988069, 0.0496849045, 0.0193495434, -0.0411402844, 0.0945716426, -0.0247864425, -0.021958014, -0.0290726069, 0.0529035255, -0.0317926705, -0.0189942811, -0.0510611311, 0.0507769845, -0.0360565633, -0.000800116, -0.0237341765, 0.060135249, -0.0056561017, -0.0076591391, -0.0125068631, 0.0301845595, 0.0578704402, 0.0674883723, 0.0275400653, -0.06229477, -0.0385775641, -0.0336224996, 0.0029256493, -0.0485658459, -0.0294107869, -0.0487235114, 0.0219342411, -0.0020114211, -0.0437578931, -0.0456617661, 0.0154869715, -0.0029992783, -0.0216264967, -0.010166483, 0.0239881277, 0.0173739288, -0.0300541762, 0.0555488877, -0.0181492139, 0.0184807796, -0.03393225, -0.038164977, 0.0665133297, 0.010455071, -0.024528781, 0.0367421061, -0.0878938958, -0.0562646538, -0.0108839832, 0.0570963696, 0.0213578008, 0.0258457437, -0.0191472378, -0.0554200672, -0.0390423685, 0.0504038557, 0.0114910137, -0.0345890298, 0.0430910252, 0.0836923271, 0.004388643, 0.0468867868, 0.0201315489, 0.034192238, 0.0057597049, -0.0053599817, -0.0862183347, -0.0177994389, 0.0119910585, -0.0111960983, 0.0246957839, 0.0335102901, -0.01725577, -0.0238462202, -0.0131704435, -0.0243027564, -0.0368665755, -0.0277266447, -0.0123274093, 0.0250076279, -0.0607063882, -0.0457446128, -0.0067855893, -0.0236218702, 0.0361069515, -0.0376714095, 0.0454598553, 0.0344066359, 0.015101891, 0.0034410825, -0.0192351062, -0.043300014, 0.0072321068, 0.009404608, 0.00768709, -0.0128385304, 0.0577565469, 0.0110726478, -0.009942485, 0.0390632451, 0.0204166677, -0.0086456034, -0.0169766452, 0.0115390206, 0.0397371165, 0.0258476939, -0.0260473732, 0.07050208, -0.0201811139, -0.0436902866, -0.0225248523, 0.0514669381, -0.0260519367, -0.0192054585, 0.0183296502, 0.0265922826, -0.04408288, 0.0016547573, 0.0525233224, -0.0426415019, 0.0132455043, 0.046887394, -0.0603858232, -0.0464185402, 0.0007551415, -0.0198587384, 0.0200259909, 0.0044561257, 0.0359438658, -0.0339039043, -0.0342871472, -0.0207002554, -0.0016097999, 0.0044741658, 0.0129388198, 0.0080828518, 0.0614376776, -0.0019786789, 0.0151466243, -0.0751004592, 0.0297779925, -0.006810918, -0.0349258259, -0.0338850096, -5.818147493e-33, 0.0184049997, -0.032744851, -0.0124049047, 0.041252479, -0.0013432379, -0.012703835, 0.0011437146, 0.0212668628, -0.0165205393, 0.0520966761, 0.0196420271, 0.0298404973, -0.0016983189, 0.0356575288, 0.0045119934, -0.0021809584, 0.0353288874, -0.0262611322, -0.0186316408, 0.0361997597, 0.0390325449, -0.0276043154, 0.0439649113, -0.073384352, 0.0354443416, 0.008893637, -0.0068308832, 0.042087432, 0.0030736215, 0.0605101287, -0.0184552241, 0.0486728698, 0.0553595498, -0.0183950886, 0.0200262479, 0.0689140782, -0.0651310459, -0.0002227548, -0.0002288665, 0.0247630738, -0.0138556873, -0.0242651701, 0.0377107039, -0.0203618705, -0.0356024541, 0.0039565065, 0.0166910216, -0.0073904744, 0.0336998589, -0.0267433412, -0.0434082784, 0.0316067524, -0.0252040289, -0.0481186397, -0.0144602004, -0.0059419018, 0.0112271849, 0.0639538392, -0.0718655959, 0.0071035838, -0.0437784232, 0.0178531874, 0.0012006835, -0.0312313642, 0.0101453559, 0.0740363747, 0.0108855693, 0.0610242896, -0.0446215086, 0.0093002776, -0.0332679376, 0.0120476326, 0.0585197136, 0.0277891774, 0.0226876438, -0.0327849388, -0.0709958449, -0.0181156825, 0.062967889, 0.0199568085, 0.0415893197, 0.0118452068, -0.0229359753, 0.0069567626, 0.0159762688, -0.0583601482, -0.0200943537, 0.0056089777, -0.0244140141, 0.0017173798, -0.029503094, 0.0251900107, 0.0238317214, -0.0393661633, -0.0495110974, 0.0413201563, 0.0017295007, 0.0081336107, 0.0199904926, 0.0185827129, -0.0387628749, 0.0325879604, -0.0142505746, -0.0184646714, 0.0191088524, -0.0105980616, 0.0905255601, -0.0035757355, -0.069104068, -0.0204886831, -0.018611582, 0.0425260849, -0.0593305081, 0.0755924061, 0.0470369607, 0.0352459587, 0.0041759061, 0.0663591176, 0.0173831452, 0.0410377868, -0.0058313217, -0.0192635413, -0.015802579, -0.010642129, -0.0021953562, -0.0315013714, -0.0038752267, 0.0367892012, -0.0353539772, -0.0621725023, 0.0137567092, -0.0088593774, 2.459e-7, 0.0376265272, 0.0744684711, 0.001226373, -0.0147091504, 0.0583873428, 0.0439556576, 0.0069027655, 0.0182336941, -0.0081455037, -0.0394720808, -0.0170366857, 0.05377803, 0.0518288016, 0.0265813768, -0.075849779, -0.0286397245, -0.0434987508, 0.0007833451, -0.032153111, 0.0216142256, 0.042457547, 0.0869055092, 0.0476275869, -0.0155718969, -0.017916223, 0.0087008355, 0.0622799434, -0.0024945049, -0.0276216678, 0.0089069167, 0.0454266779, -0.0427369289, -0.004363168, -0.0012581913, -0.0000088272, 0.0038760139, -0.0026803862, 0.081944786, 0.0033202881, -0.0137874829, -0.0020941882, -0.0186428092, 0.0051213196, -0.02974662, 0.0543841794, -0.0789026543, -0.0516841859, -0.0790756792, -0.0173949674, -0.0259920713, 0.045672223, -0.0035467828, -0.010378371, 0.0031601654, 0.004612308, -0.0171920843, -0.0153214531, -0.0566268414, 0.0024522792, 0.0004474267, -0.0631034598, -0.028969273, 0.0100668818, 0.0076826182, 0.038354449, -0.0200551171, 0.0230255071, 1.818376573e-34, 0.0441486984, -0.0269247573, -0.0051740119, 0.0037550055, 0.0489609726, 0.0406098962, -0.0078960089, 0.0057222485, 0.0413627923, -0.055812154, 0.0029007753 ]
http://arxiv.org/abs/2406.16829v1
http://arxiv.org/pdf/2406.16829v1
Understanding and Mitigating Tokenization Bias in Language Models
"2024-06-24T17:38:02"
"2024-06-24T17:38:02"
Buu Phan, Marton Havasi, Matthew Muckley, Karen Ullrich
cs.CL
cs.CL, cs.AI, cs.LG
State-of-the-art language models are autoregressive and operate on subword units known as tokens. Specifically, one must encode the conditioning string into a list of tokens before passing to the language models for next-token prediction. We show that, for encoding schemes such as maximum prefix matching, tokenization induces a sampling bias that cannot be mitigated with more training or data. To counter this universal problem, we propose a novel algorithm to obtain unbiased estimates from a model that was trained on tokenized data. Our method does not require finetuning the model, and its complexity, defined as the number of model runs, scales linearly with the sequence length. As a consequence, we show that one can simulate token-free behavior from a tokenized language model. We empirically verify the correctness of our method through a Markov-chain setup, where it accurately recovers the transition probabilities, as opposed to the conventional method of directly prompting tokens into the language model.
[ 0.0261591915, 0.0851395279, -0.0159367919, 0.0220312569, -0.0371136107, 0.0006552357, 0.0135159912, 0.0157818794, -0.0359830968, -0.0404724292, 0.0257656164, -0.0464766249, 0.0039720009, 0.0565061457, 0.0448524803, -0.0472590253, 0.0542426221, -0.0625373796, 0.014603721, -0.0123572713, 0.0052380925, 0.011671829, 0.0161248967, 0.0851682201, -0.0321664624, 0.0166734587, -0.0039109406, -0.005020767, -0.0390109532, -0.0259266999, -0.0059825038, 0.063496612, -0.0013420504, 0.0325903967, 0.0000018825, -0.035910897, -0.0352829285, -0.0290347319, -0.0007378435, -0.0098320022, 0.0554858483, -0.0127234049, 0.0021925915, 0.0474435948, -0.0048145596, -0.0166676566, 0.0472260155, 0.0157143194, 0.0146489572, 0.0380090214, -0.0007087055, 0.00846125, -0.0078980774, -0.0309926961, -0.0193496477, -0.0291334614, 0.0435362644, -0.0339066125, -0.0168472249, -0.0100249797, -0.0609431379, 0.0106173372, -0.0081516849, 0.0132971043, -0.0107561564, 0.0506758727, -0.003368499, -0.0232331362, -0.0216171071, 0.0140360026, -0.0491195358, -0.0529913493, 0.0272063594, -0.0073106191, -0.0031577116, -0.002633519, -0.0327615067, 0.0128053874, 0.0212145466, 0.0379876643, 0.0273508206, 0.0025872027, 0.0336317904, 0.005605611, -0.0544380806, 0.0935265347, 0.0383819081, -0.0273307525, -0.0241812244, -0.0113266185, 0.026249785, -0.0936922431, 0.0015458924, -0.0193213038, -0.0279186964, 0.0293661486, -0.0478547327, -0.0260751434, 0.0003573828, 0.0102910995, -0.0041903849, 0.0310257338, 0.013146772, 0.0062853056, -0.0238566697, 0.0264998693, 0.0191507656, 0.0087463921, -0.049180571, -0.0085850889, -0.0134655563, -0.0074199871, -0.0536191352, 0.0192496143, -0.0168497916, -0.0123045398, -0.033141911, 0.0008744411, 0.0252730791, -0.0312177408, -0.0289397445, 0.0011861448, -0.0487129092, 0.007269531, -0.0143713923, -0.0050224676, -0.0445266403, 0.0160667691, 0.0134083889, -0.0582602434, -0.0149677712, 0.0012204838, 0.0006309979, -0.0465483926, -0.0129494648, 0.0928605422, 0.0219907165, -0.0286571309, -0.0051857419, -0.0447993986, -0.017016748, -0.0007752651, -0.0014834824, -0.0684508011, 0.0104718218, 0.0273568165, 0.007747137, -0.020714093, -0.0146481926, -0.0026336764, -0.0607877374, 0.0577844493, -0.0217209049, 0.0003976675, -0.0203177501, -0.0221444536, 0.0129429027, 0.0762704536, 0.0235075559, 0.0316011496, 0.0598136447, 0.002050261, 0.0070149559, 0.0783998445, 0.0437705293, 0.0050354656, -0.0435973033, -0.0079379668, 0.0647468567, 0.0177086852, 0.0659129769, 0.0508236736, -0.0288866851, -0.0307793338, 0.0101349484, 0.0758172497, -0.0351225175, 0.0011050763, 0.050921686, -0.0190546028, -0.0242335126, 0.0357769653, -0.0278620217, -0.0233098157, 0.018563807, 0.0126054175, 0.0646181703, 0.0470284708, -0.0221154243, -0.0198485311, -0.0181670971, -0.021335816, 0.022725448, -0.0407981984, 0.0360507295, 0.0068180417, -0.0248806924, 0.0840474963, 0.0324304961, -0.0302093569, 0.015369487, -0.0684251264, 0.0033970177, 0.0468661562, 0.0487921871, 0.0087090442, 0.0040734275, -0.0104604568, 0.0317091793, 0.0411025025, 0.0212391708, -0.0058881775, 0.0256606005, -0.0361833833, -0.0296204463, 0.0677243173, 0.0143292602, 0.0397019796, -0.0028647636, 0.0187423509, 0.0148528581, -0.0728157684, -0.0251548234, 0.0556629822, -0.0439046286, -0.0423132814, -0.0047982284, -0.0026317562, 0.0530575588, -0.0030163124, -0.0060032462, 0.0332055315, 0.0170606561, -0.0008440032, -0.0023143434, 0.0117410878, -0.0522757359, -0.0095020076, 0.0602429509, -0.0090931989, 0.0069539715, 0.013709479, -0.0193993282, -0.0444686301, 0.0298238117, -0.0107626943, 0.1183802038, -0.0119875995, 0.0275951959, -0.0072130766, 0.027049955, -0.0185362343, 0.0158089846, -0.0254865531, 0.0304497872, -0.0024643424, -0.0232414976, 0.0090312455, -0.0247775931, -0.0336376242, -0.0051636994, -0.0160703678, -0.0046453332, 0.058287628, -0.0145719945, -0.0311181098, -0.0094505064, -0.0964425951, -0.0338387564, -0.0189037491, -0.00075803, -0.0179208871, 0.0401838906, -0.0315479971, -0.0249357112, -0.0224258695, -0.0595404729, -0.0032759504, 0.0464808382, 0.0185240358, 0.0059893546, -0.0468228832, -0.0636106953, -0.0297396816, -0.0399347357, 0.0617586188, -0.0080676964, -0.017716134, -0.0477858558, -0.0391570516, -0.0338361487, 0.0505899787, -0.0151951862, -0.0339523144, 0.0328688137, -0.0304849297, 0.0413613096, 0.0280649532, 0.0371011943, 0.0025029078, 0.0399023294, -0.0192392021, -0.0650745034, -0.0270266291, -0.0309018716, 0.0006447641, -0.0323032774, -0.0449916534, 0.0196862333, 0.0996269435, -0.0032030572, -0.0053551761, -0.0597757883, 0.009380308, -0.0076518343, -0.0336317234, -0.0007824178, -0.0212691687, -0.042044878, 0.041310329, -0.0183158647, -0.0652928352, 0.0699216351, -0.062474627, 0.0252814628, -0.0142120803, 0.0341703892, -0.003180821, 0.0303349327, 0.0299460478, 0.0185138844, 0.0190750882, -0.0319590904, -0.0290429536, -0.0024815428, -0.0097135464, -0.0215875097, 0.0036340514, -0.0208740272, 0.0165194683, 0.0330265574, -0.0241327379, -0.0370837711, -0.0363122746, -0.0330270976, 0.0120480033, 0.0490784571, -0.0191679858, -0.0169462338, 0.0342087559, -0.0190354548, 0.0487264767, -0.0152082536, 0.0128229102, -0.0130195878, 0.0115381554, 0.0798713267, -0.0461684093, 0.0196797941, -0.03131501, 0.0070048119, 0.0299136937, 0.1208282411, 0.0279858615, -0.0284650121, -0.0115919132, 0.0380577855, -0.0527680814, -0.0078665577, 0.0517261922, 0.0193623006, -0.0053289919, -0.0334149823, 0.1388955712, 0.0252221245, -0.0346309841, 0.0282317642, 0.0121043809, 0.0709896833, 0.0177185219, 0.0076757367, -0.0731921494, -0.0322632603, 0.0408121757, 0.0313411616, -0.0060406742, -0.0515365116, 0.0148229422, -0.1171470955, -0.0122332508, 0.0121891983, -0.0592128821, -0.0305103175, -0.0474150702, 0.0101785827, -0.0152018871, 0.0423429646, 0.0162044521, -0.0184811987, 0.0261776987, 0.052261088, -0.0436279736, -0.0220438633, 0.0036881999, -0.0719736218, 0.0750341937, 0.0614811033, 0.01457245, -0.0117279375, -0.0078620706, 0.0613850094, 0.0271631628, 0.0045627998, -0.0190363228, 0.0148945525, -0.037346188, 0.0007964986, 0.0209640879, 0.0165123045, 0.0094924457, 0.00106106, 0.0030381205, 0.0511510037, 0.0136211719, -0.0227079969, -0.0300728455, -0.037546888, 0.0250233486, 0.083573252, 0.0416545011, -0.0513787195, -0.0188442767, -0.0496837199, 0.0239571966, -0.0126684997, 0.0026766208, -0.055481866, -0.0133598363, -0.0057378444, -0.0732066184, -0.0198693629, 0.0361854285, 0.0564824753, 0.0071390625, 0.0115548419, -0.0176373348, -0.0217950772, -0.0244143661, -0.0097460253, -0.0420747213, 0.0250792075, -0.091861099, 0.017001709, -0.0086448966, -0.0030777915, -0.049698323, 0.0271793362, -0.0706868395, -0.0833829194, 0.0309477467, 0.0610958673, 0.024725683, 0.0686004683, -0.0032361362, -0.0458180569, 0.0534162484, 0.027403269, -0.0096782204, 0.0057076653, 0.0173447225, -0.0317180566, 0.0031678423, 0.0201805122, -0.0513486937, 0.0016375988, 0.0168119762, 0.0502161644, -0.0055085914, -0.0219796766, 0.0031231856, -0.0015543301, 0.1018199921, -0.0592573881, 0.0192473792, -0.0118079372, -0.0045459997, -0.0000489925, 0.0011083389, -0.0140857948, 0.0261961129, -0.003554655, 0.0309945829, -0.0062872348, -0.0438893363, -0.0494817086, 0.017097814, 0.0101051126, 0.0059770448, -0.0329401046, 0.0311907884, 0.0457304567, -0.0251562651, 0.0101904301, 0.0114969872, 0.0024740391, 0.0369027965, -0.0356050469, -0.0159532689, 0.0305791833, 0.0385871977, -0.0159324463, 0.0054166457, -0.0571571812, -0.0129436795, -0.0435414426, 0.0252251402, 0.018435929, -0.0523216911, 0.0168878175, -0.0325448215, 0.0235570483, -0.0229594689, 0.0044291359, 0.0145198675, -0.040562056, 0.0273409244, 0.0099248998, -0.0609046295, 0.0017486544, 0.0748666227, 0.0648945943, 0.050261531, -0.0159009714, -0.0400000177, -0.0066490015, -0.0033827082, 0.0105853006, 0.013548566, -0.0257915724, -0.0175839402, -0.0510490388, -0.0972272158, 0.0002869134, 0.0175815839, 0.0188982785, 0.0179033745, 0.0167699978, 0.0592290424, -0.0166773908, 0.0073646763, -0.0419305973, 0.018639233, 0.0417040624, -0.0524784923, -0.0031227432, -6.456469578e-33, -0.0138513101, -0.0013362328, -0.0304033887, -0.0159185249, 0.0048839827, 0.0004304365, -0.0223142989, -0.0038975715, -0.0028331263, -0.0131506454, -0.0422354937, -0.010339939, 0.0257217623, 0.013512806, 0.0417133048, 0.0205221251, 0.0483570993, -0.0271893069, -0.0334864669, -0.0030513019, 0.0297666546, 0.0356974229, 0.0407561623, 0.0058230506, 0.0198984537, -0.0225352533, 0.0012424813, -0.0050889752, 0.0380177349, 0.055794701, -0.0036004793, 0.0075693945, 0.0182612035, -0.0447810106, -0.0335359424, 0.0154893203, -0.0613587759, -0.0257163737, 0.0413639657, 0.0058765751, 0.0033278062, -0.0092657497, 0.0225169268, -0.0118667334, -0.0605626218, 0.0385579728, 0.0304602478, -0.0044456637, -0.0393792354, -0.0140933068, -0.0389127918, 0.0276837274, -0.0029679569, 0.0262767039, 0.0387510695, 0.0060299579, 0.0225665011, -0.0003154445, -0.0041991957, 0.0312395357, 0.0287742242, 0.0895039141, 0.0473661125, 0.0594152957, 0.0170606989, 0.0607332438, 0.0525388233, -0.0249240156, 0.0173563324, 0.0425285473, 0.0633570254, -0.0333183892, 0.0107685803, -0.0146282725, 0.0472531021, -0.0359525345, -0.026648175, 0.0093132276, 0.0502371639, 0.0445405655, 0.0307041258, 0.0081129475, -0.057938233, -0.0404951759, -0.053882733, -0.0683769882, -0.0100807417, -0.0366553962, 0.0402592085, 0.0202090368, -0.0127266115, -0.0116769588, 0.0617656447, -0.0206283815, -0.0903031155, 0.0170114711, 0.0034103289, -0.0245047361, -0.0137264058, 0.0441757403, -0.0472769476, -0.0413760245, 0.0164570399, -0.006669356, 0.022736432, -0.0054910681, 0.0066409111, 0.003571793, -0.0805941522, -0.0139810769, -0.0394034013, 0.0093283104, 0.0102344668, 0.0053549567, 0.0845767781, -0.0081451759, 0.0159103479, -0.0095857233, 0.0155323949, -0.035320133, -0.0129715549, 0.0105335703, -0.0025487132, 0.0184110235, -0.0454900861, -0.0151634561, -0.0541567057, 0.0350474119, 0.0358458348, -0.0313225836, -0.0293825641, 0.0390393622, 2.583e-7, 0.0234728791, 0.0612831302, 0.057266064, -0.0213422142, 0.0068765855, 0.0280617382, -0.0105895987, 0.0396896824, 0.014791253, 0.000370675, -0.0189216584, -0.0148458574, 0.0283738729, 0.0068326406, -0.1161478013, 0.0141471336, -0.0979926735, 0.0661100447, -0.0548217185, -0.0216556937, -0.0013969513, 0.1182954311, 0.0228382442, 0.0056697871, -0.0217449646, -0.0452567339, 0.0007489722, -0.0185744073, 0.0076297224, 0.0233790558, 0.0023096672, 0.0108011104, 0.0084691364, 0.0036474448, -0.0341172963, 0.0215297062, 0.0177952647, 0.0048493575, -0.0240337364, 0.0048051639, 0.0301355515, -0.0185629018, -0.009041626, -0.0554195531, 0.059844844, 0.0139817484, 0.028106939, -0.091665417, -0.0270133875, 0.0258092768, -0.0197532009, -0.007687584, -0.0388696529, 0.0654435605, 0.0372156911, 0.0162048675, 0.0071887965, -0.0686937943, -0.0329778083, -0.0540963002, -0.0383401588, -0.0375700817, -0.0492757931, 0.0328573547, 0.0026533713, -0.037367247, -0.0124303401, 2.604961833e-34, 0.0606337115, -0.018685976, 0.0100830207, 0.0139121227, 0.0351469629, -0.0331982747, 0.0223488528, 0.0555584617, 0.0121780634, -0.0638440475, -0.0501282252 ]
http://arxiv.org/abs/2406.16828v1
http://arxiv.org/pdf/2406.16828v1
Ragnarök: A Reusable RAG Framework and Baselines for TREC 2024 Retrieval-Augmented Generation Track
"2024-06-24T17:37:52"
"2024-06-24T17:37:52"
Ronak Pradeep, Nandan Thakur, Sahel Sharifymoghaddam, Eric Zhang, Ryan Nguyen, Daniel Campos, Nick Craswell, Jimmy Lin
cs.IR
cs.IR, cs.AI, cs.CL
Did you try out the new Bing Search? Or maybe you fiddled around with Google AI~Overviews? These might sound familiar because the modern-day search stack has recently evolved to include retrieval-augmented generation (RAG) systems. They allow searching and incorporating real-time data into large language models (LLMs) to provide a well-informed, attributed, concise summary in contrast to the traditional search paradigm that relies on displaying a ranked list of documents. Therefore, given these recent advancements, it is crucial to have an arena to build, test, visualize, and systematically evaluate RAG-based search systems. With this in mind, we propose the TREC 2024 RAG Track to foster innovation in evaluating RAG systems. In our work, we lay out the steps we've made towards making this track a reality -- we describe the details of our reusable framework, Ragnar\"ok, explain the curation of the new MS MARCO V2.1 collection choice, release the development topics for the track, and standardize the I/O definitions which assist the end user. Next, using Ragnar\"ok, we identify and provide key industrial baselines such as OpenAI's GPT-4o or Cohere's Command R+. Further, we introduce a web-based user interface for an interactive arena allowing benchmarking pairwise RAG systems by crowdsourcing. We open-source our Ragnar\"ok framework and baselines to achieve a unified standard for future RAG systems.
[ 0.0397682004, 0.0387439281, -0.0149081331, 0.0000248199, -0.0158518795, -0.0257741231, -0.0078825811, -0.0047045508, -0.0380847044, -0.021741394, -0.0475500189, -0.0068704477, -0.0171567947, 0.0374720246, 0.0002717378, -0.0365824699, 0.049333185, -0.0124526396, -0.0472281277, 0.0205212347, 0.0050244713, 0.0229391586, -0.0105987443, 0.0609613732, -0.0169835445, 0.0158936456, -0.0270170029, 0.0239838809, 0.028261628, -0.0324896239, -0.0009809103, 0.0454167537, 0.0406494737, 0.0947339237, 0.0000018414, -0.0618452206, -0.0100289835, -0.002327296, -0.0079037789, 0.0142427757, 0.0359801278, 0.0705041513, 0.0089784805, 0.0311946068, -0.0336556546, -0.0130699808, 0.0329203233, -0.0132621182, 0.0400226153, 0.0538911261, 0.0061934846, -0.0107227415, 0.0408460684, -0.0449294858, 0.0520310625, -0.0369528532, -0.025916243, 0.0089777624, 0.0715581328, 0.0142120095, 0.0148733463, 0.0433113761, 0.0122031672, -0.0314014927, 0.0342494398, 0.0329250246, -0.093832545, -0.0096499026, -0.006413728, 0.0529453382, 0.0499660075, -0.0492398031, -0.0009823607, 0.0287863687, -0.0224105287, 0.0083326474, -0.0425842553, 0.0146728503, -0.0179456603, 0.0331000723, -0.0188768879, 0.0195708703, 0.0178587604, 0.0294522122, 0.0066146939, 0.0817487538, 0.0337095037, -0.0239553154, 0.0146256573, 0.023972366, 0.0153093645, -0.011610589, 0.0222243089, 0.0247564372, -0.075035654, 0.0116909379, -0.0187605731, -0.04668843, 0.045983687, 0.0161841512, 0.0367509909, 0.0279563591, -0.0221373383, 0.0517994761, -0.0253542587, 0.0397957191, -0.0175466873, -0.0320090912, -0.0598076917, -0.0479183346, -0.0433366261, -0.0284843501, -0.0698602125, 0.0227572471, -0.0549644753, -0.0299643483, -0.024838455, 0.0385977924, -0.0006004743, -0.0185779519, 0.0086712269, 0.0096398126, -0.0886223167, 0.0138095878, -0.047819782, 0.0102950111, -0.0259918515, -0.0276878551, 0.0238117352, -0.0701956674, 0.0036039394, 0.0229068454, -0.0080572721, -0.0251484402, 0.0006542185, -0.0020950518, 0.001351821, -0.0290476345, 0.0139846951, -0.0510700047, -0.0008522377, -0.0449877344, 0.0114559093, -0.0545247197, 0.0155342864, -0.0215465371, -0.0076255929, -0.0069314949, 0.0028328227, 0.0514647625, 0.0005688668, 0.0194634777, -0.0261480175, 0.0168812331, 0.0301864035, 0.0029707882, 0.0548960939, 0.0646480918, 0.0098902062, 0.0790108219, 0.0365151539, 0.0128803039, 0.0009363414, 0.0433973335, 0.012814017, 0.0239659585, -0.0501097217, 0.0221533552, -0.0229559932, 0.0525516793, 0.0147119286, 0.0529642217, -0.0305344854, 0.0145497881, 0.0068105236, 0.0261846874, 0.0410126746, 0.0223507956, 0.0649535432, -0.002005598, 0.0082765501, -0.0354633778, 0.023227144, 0.0273542516, -0.0393953584, 0.0348147415, 0.0587834157, 0.0169678181, -0.0320129357, -0.0165492538, -0.0265774112, 0.0382217765, -0.04722929, -0.0047007138, 0.0481706448, 0.0131168319, -0.0411797501, -0.0109826596, -0.0090290476, -0.0808269233, 0.0345737934, -0.0767771751, 0.0285259597, 0.0891103372, 0.1189677641, -0.0405262187, -0.026877908, 0.0306515954, -0.011922935, 0.0719710067, 0.0681445748, -0.020584261, -0.0256217308, -0.0470774882, -0.0644355267, 0.0291477609, -0.0212592948, 0.0358206108, 0.026355546, 0.0165533274, 0.0267516747, -0.0281637609, -0.0301493909, 0.0314580724, -0.0109163672, 0.0019549052, -0.004963513, -0.0077394885, 0.0116567751, 0.0424256772, -0.0184846316, 0.030154448, 0.0609010719, -0.0023246405, -0.0023582815, -0.0080961185, -0.0012095922, 0.0116844559, 0.0141171273, -0.0487040356, 0.0055610798, 0.0742257982, -0.0355380289, -0.0333088562, -0.0032606293, -0.0461456925, -0.0051413449, -0.0648091212, -0.0067486158, -0.0062936898, 0.0134565476, -0.0469091907, 0.0513961129, 0.003190577, -0.0003019024, 0.0236888546, 0.0138737606, 0.0181698427, -0.0991862863, -0.0504065268, 0.000213754, 0.0080004577, 0.0126103265, 0.0523849763, 0.021315055, -0.0592529923, 0.00974405, -0.1192665026, 0.0384193994, -0.021901045, 0.0044057183, 0.0109889405, 0.0176596008, -0.0062543866, -0.0156425238, -0.0143350381, -0.0091143679, 0.0547746494, 0.0117550213, 0.0290506389, 0.0203890204, 0.0095054628, -0.0464242846, -0.039364472, -0.0073146573, 0.0257729143, 0.0254009925, 0.0097649721, -0.0505505726, 0.0254552327, -0.0563650616, 0.0297884792, 0.0090228729, -0.0049661854, 0.0496357158, -0.0502191707, 0.0337114446, 0.0093664266, 0.0279766005, 0.0305068847, 0.0451673977, -0.0162077826, -0.0700288787, 0.0355588757, -0.0178839099, -0.0270479023, 0.0276509207, -0.0293082632, 0.0364444181, 0.0057128579, -0.0256125312, -0.0138989529, -0.0406010672, -0.0135393906, -0.0098911934, -0.0350765288, -0.0423246808, -0.0148227941, -0.0020420041, 0.030516386, -0.0230248831, -0.0465571024, 0.0476112403, -0.0284527261, -0.0037117535, -0.0735779181, 0.0173183978, -0.0525490567, 0.0520378798, -0.026984049, 0.0133864731, -0.071685493, 0.0140421949, -0.0189788323, 0.0010226181, 0.0071075694, -0.0647572055, 0.0247307122, -0.0316727683, 0.0160696004, -0.0003289882, -0.0189479813, -0.0420620814, -0.0235230904, 0.0111669498, 0.026721552, 0.0066223582, -0.0112360986, -0.042351, 0.0114965169, 0.0222562142, 0.0374226011, -0.0137759494, -0.0332522467, 0.0095768617, 0.0263010561, 0.0885581672, -0.0089950124, 0.0130132437, 0.0446574949, -0.0084854551, 0.0320330597, 0.096647121, -0.0287624821, -0.0424022302, -0.0212157257, 0.0612460338, -0.0048952056, 0.0085690757, 0.0118773887, 0.0064778449, -0.0277758427, -0.0369350873, 0.0578333661, 0.0399722531, -0.0407710485, -0.019777745, -0.0126836533, 0.086428538, 0.0433802754, 0.0585068464, -0.048832383, 0.0061311573, 0.0056171683, 0.0486111343, -0.0106857009, -0.01728555, -0.0067136805, -0.132150352, 0.074128218, -0.0051613855, -0.0316563621, 0.0070264335, -0.0329358876, -0.007667345, 0.0200557299, -0.0062514539, 0.0574618392, -0.0227522273, 0.0188394655, 0.015890114, 0.0225004461, -0.0276395045, -0.0130863339, -0.042685464, 0.0304453634, 0.0973777473, 0.0340021886, 0.0144048091, -0.0568705648, 0.0312865786, -0.0255409088, 0.0445884168, -0.0397993736, 0.0321533903, 0.0022870051, -0.0050880797, -0.05608394, -0.0139213176, -0.0066404589, -0.0050930674, -0.0151167316, 0.0702255592, -0.028632246, 0.0303843543, -0.0648317859, -0.0122389542, 0.0022714834, 0.0690234378, -0.0051225573, 0.0005276193, -0.0363478512, -0.0104671149, 0.044937294, -0.0729279667, -0.040525414, 0.0138287786, -0.0469334573, -0.0474659614, -0.062002264, -0.0441317149, 0.0130066536, 0.0278213695, -0.0129412292, -0.0122370226, -0.0853197798, -0.0036253282, -0.0717546418, 0.0248569362, -0.0350320935, -0.0076608257, -0.0577919185, -0.0011858946, 0.0318046734, -0.0592107326, -0.0117023252, 0.0491767824, -0.0419636741, -0.0389508642, 0.0215597693, 0.0555357821, 0.0289380401, -0.0065391017, -0.0084336922, -0.0603943393, 0.0528645553, 0.0102808755, -0.0214938391, -0.0000348554, -0.0259316172, -0.0277383886, -0.038659133, -0.0011411136, -0.0840003192, 0.0127215497, -0.0318953209, 0.0521579683, 0.0311103202, -0.0043459418, 0.0378177725, 0.0431370847, 0.0787300244, -0.0242598932, -0.0080692619, -0.0257645547, 0.0149694765, -0.0421710275, -0.0001425528, -0.0252982881, 0.0368576199, 0.0102609377, -0.0261500403, 0.0293795988, 0.0486669242, -0.0247983225, 0.0565460399, -0.0424017049, -0.0044487012, 0.0108512565, 0.0386133641, 0.0061966334, 0.00250819, -0.0305783805, 0.010916247, -0.0292977821, 0.0545575619, -0.0104749482, 0.0349264294, 0.0195263531, -0.0167414602, 0.0330617093, 0.0563828833, -0.0797223523, -0.0366513096, -0.0263294503, 0.0381536111, 0.0392948724, 0.0544669516, 0.0352913924, -0.0244310517, 0.000066539, -0.0279011913, -0.0139494268, -0.0087091876, -0.0296666268, -0.0151411192, 0.0376249254, 0.0008553691, 0.0137171196, 0.0511276498, -0.0129461456, 0.0315255299, -0.0112223914, -0.041399654, -0.0186641794, -0.0399179235, 0.0082158586, 0.0163654685, -0.0410161093, -0.0309732463, -0.0471510366, -0.0319631286, 0.0081754467, 0.0596596114, -0.0143758543, 0.0011435164, 0.0635583773, 0.0567333438, -0.004469716, -0.0026518651, -0.0363182425, 0.0249281656, -0.1003864408, -0.0240923241, 0.0033152492, -6.342430463e-33, -0.0342723541, -0.0322269388, 0.0573797822, -0.057030756, -0.0506973788, -0.0048801256, -0.0158897676, -0.0149952406, 0.0036544118, -0.0177329369, -0.0338317715, 0.0166701488, 0.0180488024, 0.0123994546, -0.0081149582, 0.0065132487, 0.0675365031, -0.0019326797, -0.0337140299, 0.0256714802, 0.0500896499, 0.0120940199, 0.0143182026, -0.0239387844, -0.0061457539, -0.0176866893, -0.0257007349, 0.030516034, -0.0243456457, 0.0872049034, -0.0128539279, 0.0347073451, 0.008137906, -0.0104370313, -0.0011972948, -0.0035685501, -0.0671763644, -0.0332957059, -0.0163884908, -0.0007819347, -0.0512079895, -0.0098650698, 0.0279186051, -0.0224011112, -0.0336108021, 0.0238304213, 0.0185855515, -0.0069567212, -0.0295514483, -0.0468418524, -0.0268811714, 0.0064321612, 0.0077128229, -0.0209746063, 0.016198406, 0.0622532591, 0.0221640877, 0.0361231826, -0.0526950099, 0.0480786748, -0.0490853526, 0.0479144119, 0.0957161859, 0.0100082429, -0.0027227208, 0.0399116054, 0.0276469402, -0.0263311267, 0.0201274846, -0.0365027003, 0.0173809621, 0.0526743233, 0.0319223739, 0.0473048948, 0.0382503532, -0.0120937554, -0.013293718, 0.0899098441, -0.001345339, 0.0702747926, 0.0084326323, 0.0159427226, -0.0693884417, 0.0218959022, -0.0099748392, -0.0156420302, -0.0563376434, -0.0283275936, 0.0557618812, 0.0216156356, -0.0309908912, 0.0161772985, 0.030753538, 0.0038039917, 0.0153030204, 0.0246894173, -0.0252903942, 0.0109924814, -0.0310535282, 0.014144104, 0.0024045489, -0.0289436467, 0.0473034121, 0.0176301263, -0.005206049, -0.0039562583, -0.0104122646, 0.0425194241, -0.0384968966, 0.0258090217, -0.0252110176, 0.0357718952, -0.004809008, -0.044325877, 0.0181170013, -0.0100124665, 0.0057107504, 0.0319178663, 0.0447446369, -0.0056967391, -0.0347142965, -0.0352259688, 0.0331050567, -0.026198063, 0.0095102862, 0.0463456362, -0.0213144906, 0.0390877128, 0.0509034581, -0.0280419122, -0.025521582, 0.0507199839, 2.649e-7, 0.0255881939, 0.0321317427, 0.0795470029, 0.0044938806, -0.0184925944, -0.0171557087, -0.008214877, 0.0230704527, 0.0157687925, 0.0661765188, -0.0039432873, -0.0080147879, 0.0321146883, 0.034814056, -0.0583741181, -0.0321973711, -0.0569773652, -0.028374685, -0.0712273195, -0.0267361905, 0.0422684923, 0.0447224751, 0.0032796978, -0.0247363653, -0.0170226693, -0.0387393497, 0.0455506779, 0.0031594902, -0.0108789103, 0.0160731673, 0.0343962833, -0.0114034675, -0.0265193097, -0.0454067886, 0.0003897298, 0.0160369892, 0.0286642704, 0.0156955197, -0.0149095422, -0.058075767, 0.0040666466, -0.0145614985, -0.0023613523, -0.0561657473, 0.0520569123, 0.0315693729, 0.0256888159, -0.0151390759, -0.0073091667, 0.0108151194, 0.0018774803, -0.0508390181, -0.0297855567, -0.0125120357, -0.0107191792, 0.0176826473, -0.0322993211, -0.0546301976, 0.0041387202, -0.0232364107, -0.0552650653, -0.0549564362, -0.0655556992, 0.0101606231, -0.0292666946, -0.0441574454, -0.0038467422, 2.450524834e-34, 0.0368228331, 0.0181941111, -0.0000706217, -0.0163330883, 0.0375997201, -0.0131294942, -0.0423389487, 0.0445195735, 0.0005952964, -0.0917661265, -0.0452881008 ]
http://arxiv.org/abs/2406.16810v1
http://arxiv.org/pdf/2406.16810v1
PISTOL: Dataset Compilation Pipeline for Structural Unlearning of LLMs
"2024-06-24T17:22:36"
"2024-06-24T17:22:36"
Xinchi Qiu, William F. Shen, Yihong Chen, Nicola Cancedda, Pontus Stenetorp, Nicholas D. Lane
cs.LG
cs.LG, cs.AI, cs.CL
Recently, machine unlearning, which seeks to erase specific data stored in the pre-trained or fine-tuned models, has emerged as a crucial protective measure for LLMs. However, unlearning approaches for LLMs that have been considered thus far have focused on the removal of independent data points and have not taken into account that the stored facts are logically connected to one another and form an implicit knowledge graph. To facilitate the development of structural unlearning methods, which are essential for the practical application of unlearning, we propose PISTOL, a pipeline for compiling multi-scenario datasets for benchmarking structural LLM unlearning. Additionally, leveraging sample datasets synthesized using PISTOL, we conducted benchmarks with four distinct unlearning methods on both Llama2-7B and Mistral-7B models. This analysis helps to illustrate the prevailing challenges in effectively and robustly removing highly inter-connected data, batched data, or data skewed towards a specific domain. It also highlights the choice of pre-trained model can impact unlearning performance. This work not only advances our understandings on the limitation of current LLMs unlearning methods and proposes future research directions, but also provides a replicable framework for ongoing exploration and validation in the field.
[ -0.0627646223, 0.0537635498, 0.001751752, 0.0694605857, -0.0136501752, 0.0284737647, 0.0046718405, 0.0043223226, 0.0396302491, 0.0203267522, -0.0545543134, 0.0424804389, -0.0155623406, 0.0340984613, 0.0144884624, 0.0071337088, 0.0413772613, -0.0296226628, -0.0125748375, -0.0101967882, -0.0333737321, -0.022600079, -0.0077322889, -0.0305513479, 0.0111410134, -0.0347124562, -0.0284082405, 0.01664019, 0.0241364241, -0.027951749, 0.0116268145, -0.0027283684, 0.0414845757, 0.0059385095, 0.0000022396, -0.025509458, -0.0376743898, 0.0036516632, -0.0317965373, 0.0328108929, -0.0279551819, 0.0313310027, -0.0102822501, 0.0115843732, -0.0182935242, -0.0003465242, 0.014937778, 0.032075908, 0.03284958, 0.0823856294, 0.0020562855, -0.0263695884, 0.017872192, -0.0308715347, 0.0177361351, -0.006856686, 0.0391777232, -0.0208378844, -0.0726716295, -0.0743836015, 0.0088417036, 0.0115550971, 0.0295290221, 0.0401871651, -0.013362918, 0.0325772502, -0.0001025895, 0.0053778305, -0.0194129851, 0.0800239146, -0.0043057986, -0.016761411, 0.0525159426, -0.0321593434, -0.0113296667, 0.0144233517, -0.0269276071, -0.01657914, -0.0211703572, 0.0501410402, -0.0286847856, -0.0240320936, 0.0756769478, -0.0619123876, -0.0160004031, 0.0816866383, -0.0017895035, 0.0038554054, 0.0157450438, -0.0337325335, 0.0401290692, -0.0477910824, -0.0208342802, 0.020438863, -0.0200733058, -0.0018335632, -0.0003827593, 0.0348231494, 0.013636224, -0.016565755, 0.0899508297, -0.0114187105, -0.0200848319, 0.0573296174, -0.0399691164, 0.0163712893, -0.0149289137, 0.0441172607, -0.0378189646, 0.0278288554, -0.0384516679, -0.0027922057, 0.067659542, 0.0551421382, 0.0142850028, 0.0370017439, -0.0227551013, 0.0225675497, -0.0375286601, 0.022044288, 0.0038809387, 0.0061965669, -0.0034418975, 0.0000804375, -0.0802981183, -0.0037614682, 0.0065058596, 0.0403488167, 0.0109768603, -0.0584997162, -0.0241220873, 0.0049882303, -0.0005785699, -0.014220248, 0.0527105965, 0.0941674858, -0.0010919713, -0.0304919295, -0.1073448211, -0.0257174131, 0.0290205795, -0.0743507072, 0.0767502561, -0.0347738415, 0.0507897064, -0.0290724244, -0.0003249557, -0.0421414152, -0.0040395092, -0.0287495684, -0.044544898, 0.0688268393, -0.0356078781, -0.0191616267, 0.0032746282, 0.009860226, -0.0384078845, 0.0584570728, -0.0140377088, 0.0552437268, 0.0136194564, -0.0223594196, 0.0422612466, 0.04371107, 0.0298696067, 0.0063308822, -0.0492774658, 0.0172140542, 0.0071438421, -0.0196333509, 0.0342084616, -0.0318098888, -0.0255847201, 0.0067911884, 0.0290181171, -0.0117291808, 0.0362750292, 0.0174657777, -0.0093793189, -0.0379560702, 0.0399507843, 0.0568270087, -0.0741408169, 0.0326529667, -0.0757197812, 0.0261559859, -0.0277750194, 0.0317169614, -0.0389157236, -0.0810701698, 0.0011760126, -0.0342339091, -0.0158223361, 0.0185595397, 0.0558278598, 0.0179369431, -0.045176629, 0.1017358303, 0.0627106205, -0.0627752393, -0.0330506228, -0.036059197, 0.0209328793, 0.0176747087, 0.0336704887, -0.08252877, -0.0570389815, 0.0173341557, 0.004178761, -0.032746084, -0.028697269, -0.0115825702, 0.0767273903, -0.0393671282, -0.0466139205, -0.0225576125, 0.0242621452, 0.0104477005, 0.008727639, -0.0581360459, -0.0095823538, -0.0601360351, -0.0014114731, 0.0329277143, -0.0788763016, -0.0381107405, 0.0244712289, 0.0092024403, 0.0487562679, -0.0059470241, -0.0025164196, -0.0363120586, 0.0937310532, -0.0235563871, -0.0078361873, -0.028000135, -0.0286360979, -0.0046483972, 0.0436042324, -0.0180111974, 0.0149626359, 0.0218157638, -0.0788909048, -0.0252395384, -0.0167612936, 0.0455153063, 0.0247237645, -0.0241396539, 0.0339292288, -0.0194142759, 0.0017732664, 0.0149998059, 0.0519005544, -0.055600293, -0.035795182, -0.0038430057, -0.0183047689, 0.0098243607, -0.0123131424, 0.01549106, -0.001330044, -0.01872872, -0.0050235502, -0.0197986867, -0.0383803397, -0.0464136042, -0.0224949028, -0.0258371159, 0.0060955943, -0.0145410318, 0.0333670676, 0.0205541775, -0.0251222402, -0.0189160034, -0.018298367, 0.0143254511, 0.028008543, -0.0285527352, -0.0080644051, 0.040573284, -0.0168099981, -0.0523915552, -0.0281887967, 0.0019536696, 0.0023073449, 0.0396699533, -0.0228836127, -0.040744435, 0.0029351441, 0.0885274485, -0.0434375741, 0.005821194, -0.0445201583, -0.0197269488, -0.0047728424, -0.0198456217, -0.0273654405, 0.0500627346, -0.0501147881, 0.0477761328, 0.0883458778, -0.0187035222, -0.0147605669, 0.0114255343, -0.0295477994, -0.0124938944, -0.0236767828, -0.0047995844, 0.0087002609, 0.0125028538, 0.0185193159, 0.0320569761, 0.0200362969, 0.0206059515, 0.0424269326, -0.0613654144, -0.0377951786, 0.0170207825, -0.022971645, 0.0119073913, -0.0046618842, -0.0557365045, 0.0234647878, -0.0140998745, 0.0429007262, 0.0247501899, -0.0272124428, -0.0329654887, -0.0027354497, 0.0187945087, -0.0012407317, 0.0295050573, -0.0009426679, -0.0074727186, -0.029773429, 0.0234475825, -0.0154085318, 0.0094257006, -0.0685862675, -0.0035702393, 0.0225803535, -0.0427726321, -0.0090483604, 0.0295207016, 0.0141945733, 0.0115434965, -0.0243949033, -0.0263526943, -0.0310555585, -0.0821318477, 0.0227030441, 0.0049172346, 0.0127520738, 0.0085891578, -0.0487170964, 0.048255939, -0.0043692249, -0.0053650499, 0.0437863134, -0.0335953906, 0.0280118342, 0.0583726391, 0.0217846408, -0.0208394602, -0.048170615, 0.0162777845, 0.0037987579, -0.0051366691, -0.0013281828, 0.0222356077, 0.0327773094, -0.0133869648, 0.0072866939, 0.0674112514, 0.0000497014, -0.0200038739, 0.0031460884, 0.0316876248, -0.0019779226, 0.0305034239, 0.000769148, -0.0773339346, -0.0263870694, 0.009092642, 0.0309517477, 0.0090273004, -0.042926006, 0.0120728211, -0.0749160945, 0.0375020839, 0.0222588126, -0.0169987734, -0.0179973468, -0.059468206, 0.0002619098, -0.0593495257, 0.0054304572, 0.0037554603, -0.0377528742, -0.0309126452, 0.0130612943, -0.0556429252, -0.0738031343, 0.0023805154, -0.0419143662, 0.0124026202, 0.0098375808, 0.0101845926, -0.0466512479, -0.0207262021, 0.0522928983, 0.0071166884, 0.0436248109, -0.0233363882, 0.0550255142, 0.0570150912, 0.0070971325, -0.0125773232, 0.0696193203, -0.0195118971, -0.0417935066, 0.0098377094, 0.0712414756, -0.017585421, -0.0095026204, 0.0062006409, -0.0564979762, -0.0148137528, 0.0673814565, 0.0128049254, -0.0072308686, -0.031176988, -0.0019477166, -0.013978296, 0.0406868048, 0.0244783182, 0.0050001815, -0.0453660972, 0.0176949669, -0.0393005498, 0.0116810864, -0.006940654, -0.0000674365, -0.0045295749, 0.0191561356, 0.0024720167, -0.0052721705, -0.0586426519, 0.0058458606, -0.0154504869, -0.0143259866, -0.0340540297, 0.0177747067, 0.0225276835, -0.0280495677, -0.0144492108, 0.0134835504, -0.084664993, -0.0740251392, 0.0084262481, 0.0369623937, 0.0228158031, 0.064171195, 0.0314013697, -0.008338646, 0.1035072953, 0.0678174645, 0.0046575298, 0.0450397953, 0.0281025898, 0.0001363712, -0.0129189137, 0.0111172153, -0.0374192409, -0.0021284644, 0.0607712977, -0.0330013707, -0.0287088137, -0.0162159707, -0.0011752591, 0.0598178618, 0.0853981674, 0.0333791301, -0.0056284275, -0.0277648252, 0.0377203524, 0.0130136898, 0.0038749799, -0.0192617849, 0.0139108105, 0.0307145156, 0.0010908879, -0.0010348723, -0.0011210977, 0.0245934129, 0.0299566314, -0.0470655784, -0.0053319791, 0.0347241834, -0.0142238019, 0.011237096, -0.0045563774, 0.0052601937, 0.0374259949, 0.0088369111, 0.019857306, 0.0013013334, 0.0402744673, 0.0027959342, 0.0592955165, -0.0617149174, 0.0239463914, -0.0121740308, -0.0469106473, -0.0563434288, 0.0392636843, 0.0497350059, 0.0115920343, 0.0058691986, 0.0080966121, -0.0085083265, -0.0356337875, 0.015572032, -0.00445606, 0.0556310117, 0.0402944647, 0.0068170791, -0.0382288694, 0.0187129192, 0.0722292811, 0.0106108887, 0.0808541104, -0.0176522564, 0.0318552218, -0.058176212, -0.0335362926, 0.0358172953, -0.0065570124, 0.0227521751, -0.0757992566, -0.0254676249, -0.0390515104, 0.0520295762, 0.0232889019, -0.0025619296, -0.0134456111, 0.011759134, 0.0687103048, 0.0134533066, -0.0090993438, -0.0147656118, -0.0711314157, 0.0056355316, -0.0278947111, 0.0276876949, -6.585681387e-33, -0.0025198974, -0.0047906847, 0.009628932, 0.0430462994, 0.0036658181, -0.0094513968, -0.0021022349, -0.0545051359, 0.0048727714, 0.0057319859, -0.0306242146, 0.0005508421, 0.0206652358, -0.0318545401, -0.0086441692, -0.0254564807, 0.0523368977, -0.0255820435, -0.0259451997, 0.0168091636, 0.0617909878, 0.0347292535, 0.0407216884, -0.1010855138, -0.031241823, 0.0077883042, -0.0514925942, 0.0301133711, -0.0401961133, 0.0267050862, -0.0385314748, 0.008399046, 0.0054837, 0.0013272312, -0.0378123224, -0.0372862555, -0.0723364875, -0.0051195929, -0.0037906917, -0.0285222791, 0.003738672, -0.0670870617, 0.0421090461, 0.0149202403, -0.0291361399, -0.0612980276, 0.0275474489, -0.0335774794, -0.0100626554, -0.0489823222, 0.008940096, 0.0152363442, -0.0108674094, -0.0065380437, 0.0289310031, -0.002822015, -0.0186933372, 0.0226379074, -0.1078468859, 0.0149180666, 0.0585787557, 0.0146784689, 0.0990732312, 0.0294138156, 0.0117175626, 0.0842246339, 0.0636554286, -0.010763865, 0.0195012651, 0.0009839729, 0.0028377941, 0.113635987, 0.0117359925, 0.0172081143, 0.0383853465, -0.0192433428, -0.1067871824, 0.0512729026, -0.0164572317, 0.0336413942, -0.0389396399, 0.0542751364, 0.0269724671, -0.023803154, -0.0192635879, -0.0001682361, -0.0138703426, 0.0013343949, 0.0052222647, 0.0003453269, -0.017065363, -0.0127575584, -0.0065588513, -0.0361523964, 0.0099904742, 0.039999757, 0.0212835167, 0.0235067457, 0.0337806903, -0.0359388478, -0.0604836941, -0.0344657302, -0.0019008922, -0.0174657237, 0.061042048, -0.0094115399, 0.0095970454, 0.0738205239, -0.0118836258, 0.0033095267, -0.0395714603, -0.0086845877, 0.0502698682, -0.0047531058, 0.0129185198, -0.0254057422, -0.0023648441, 0.007596937, 0.0199523233, 0.0261145607, -0.0329485685, 0.0395351946, 0.0007728798, 0.0483848229, -0.0011962707, -0.0112741208, -0.0050498568, -0.0280661099, 0.0523560792, -0.0394993797, -0.0017708604, 0.0295423865, 2.849e-7, -0.0087043243, 0.0155782877, 0.0251643714, 0.0035684854, 0.0307296664, 0.0564146899, -0.0845296234, -0.0005130844, -0.0023828235, -0.0382860154, 0.0399811082, 0.0175936613, 0.0582565963, 0.0132818483, -0.0529525839, 0.0250900369, -0.0295491088, -0.0391387418, -0.0437381566, -0.0488849878, -0.0070752809, 0.0430142395, 0.0184675734, -0.0400565602, 0.0265512746, 0.0019956315, 0.0418707207, -0.0736307576, -0.0293670446, 0.0302881543, 0.0351823047, -0.0221005138, -0.0235285237, 0.0030602498, -0.0338657275, 0.0195718389, -0.0228036288, 0.0562062971, 0.0592194311, -0.0641956627, 0.0303293094, 0.0180772971, 0.030770326, 0.0246255808, 0.1037964523, -0.0289866645, -0.0336940885, -0.0029027192, -0.061658442, -0.0193343032, 0.0427642874, 0.0191606879, 0.0287349913, 0.0364603847, -0.0503506772, 0.001710862, -0.0427409746, -0.0238843951, -0.0131010767, 0.0156630166, -0.0713980347, -0.0531816445, 0.0166032612, 0.0090707224, 0.0012320471, -0.0832771584, 0.0152396914, 2.719158583e-34, -0.0300136898, -0.0359268114, -0.0031993445, 0.0179011244, 0.0112558743, -0.0331373513, -0.0428542234, 0.0163386017, -0.0397508256, -0.0641750246, 0.0389323235 ]
http://arxiv.org/abs/2406.16807v1
http://arxiv.org/pdf/2406.16807v1
Beyond Thumbs Up/Down: Untangling Challenges of Fine-Grained Feedback for Text-to-Image Generation
"2024-06-24T17:19:34"
"2024-06-24T17:19:34"
Katherine M. Collins, Najoung Kim, Yonatan Bitton, Verena Rieser, Shayegan Omidshafiei, Yushi Hu, Sherol Chen, Senjuti Dutta, Minsuk Chang, Kimin Lee, Youwei Liang, Georgina Evans, Sahil Singla, Gang Li, Adrian Weller, Junfeng He, Deepak Ramachandran, Krishnamurthy Dj Dvijotham
cs.LG
cs.LG, cs.CL, cs.CV
Human feedback plays a critical role in learning and refining reward models for text-to-image generation, but the optimal form the feedback should take for learning an accurate reward function has not been conclusively established. This paper investigates the effectiveness of fine-grained feedback which captures nuanced distinctions in image quality and prompt-alignment, compared to traditional coarse-grained feedback (for example, thumbs up/down or ranking between a set of options). While fine-grained feedback holds promise, particularly for systems catering to diverse societal preferences, we show that demonstrating its superiority to coarse-grained feedback is not automatic. Through experiments on real and synthetic preference data, we surface the complexities of building effective models due to the interplay of model choice, feedback type, and the alignment between human judgment and computational interpretation. We identify key challenges in eliciting and utilizing fine-grained feedback, prompting a reassessment of its assumed benefits and practicality. Our findings -- e.g., that fine-grained feedback can lead to worse models for a fixed budget, in some settings; however, in controlled settings with known attributes, fine grained rewards can indeed be more helpful -- call for careful consideration of feedback attributes and potentially beckon novel modeling approaches to appropriately unlock the potential value of fine-grained feedback in-the-wild.
[ 0.0229630824, 0.0478506014, 0.011615485, -0.0037842696, -0.0113826171, 0.0274465382, 0.0093762083, 0.0245636888, -0.0019725165, -0.0208298583, -0.0509589948, -0.0059984229, 0.0412322916, 0.0548414513, 0.0172220767, -0.1133362949, -0.0176295601, -0.0113224592, 0.0071067405, -0.0274441987, 0.0315591693, -0.0272348877, 0.0291535631, 0.0113483286, -0.0331158303, 0.0061870883, -0.0003056226, 0.019204421, 0.0308051817, -0.0166011956, -0.0191221815, 0.0603360794, -0.0055266274, 0.0059080999, 0.0000021894, -0.0306943152, 0.0342266634, -0.0224631391, 0.0119135017, 0.0339212306, 0.0853006691, -0.0036462615, -0.0031335694, -0.0273196008, -0.002162047, 0.0728159174, 0.0801895633, 0.0393513516, 0.0427919105, -0.0092500243, 0.0025339155, -0.0106890881, -0.061454691, -0.0280565433, 0.0403348505, 0.0495004021, -0.0247327052, -0.0032184771, 0.0116413105, 0.0051868111, -0.0169693567, 0.0208884384, 0.0152414981, -0.0149859516, 0.0462026596, 0.0747746229, 0.0288146697, -0.0400514267, -0.0124609638, 0.0538529307, -0.0243088566, 0.0000881037, -0.0281739607, -0.0734032691, 0.017550502, 0.0051970677, -0.0301154424, -0.0135933198, -0.0038048928, 0.0106389849, -0.0589824319, 0.0318584219, 0.0054246634, 0.0135450391, 0.0292772427, -0.0141788498, 0.0000185082, -0.0246051401, -0.0179502796, 0.0766858384, -0.0259038694, -0.0508314371, 0.0493929796, -0.0054649669, -0.0041637751, -0.0207640324, -0.0183949508, 0.0112380441, 0.0208659712, -0.0284029711, 0.0747799277, 0.0054667126, -0.0327405259, 0.0216822587, -0.0025191917, 0.0325658657, -0.0133751985, 0.044019673, -0.0372880101, 0.0704816431, 0.014267901, -0.0069481465, 0.0391275175, 0.0044031488, -0.0142316539, -0.0049458556, -0.04212429, -0.0047146706, -0.0439208858, 0.0431831926, 0.0148192449, 0.0690426454, -0.0560246781, 0.029272886, -0.1033591479, 0.0254642367, -0.0590971224, 0.0152762514, 0.032148663, 0.0569455884, 0.0274801552, -0.0037216407, 0.020672923, 0.0171483997, 0.0296609793, 0.0477937125, -0.0143213691, 0.0172678232, 0.0232831296, -0.0174538847, -0.0471227355, -0.0162051693, -0.0027589775, -0.0309586115, 0.021517437, -0.0114419395, -0.0078779729, 0.0161946993, -0.0133097004, 0.0002158271, -0.0267636944, 0.0568075962, 0.001059894, -0.0122992117, 0.0245533064, -0.0203746557, -0.0233227834, 0.0138843441, 0.038772054, 0.1251801401, 0.038587369, -0.0138582196, 0.0148814199, 0.0176977552, 0.0117942505, 0.0228387788, -0.0300767887, 0.0131554948, -0.0432104617, 0.0458622761, 0.0554548539, 0.0507569909, -0.0172619075, 0.0128924288, 0.1268012673, 0.0305297896, 0.0172435399, -0.0267879125, 0.0030195778, 0.0024604343, -0.017711157, 0.0329171382, -0.0289944988, 0.0912246704, -0.0089352271, 0.0262447763, 0.0123486826, 0.0093016513, -0.0263035037, -0.0675230473, 0.0117556956, -0.0149675403, 0.0214018039, 0.0121199545, 0.0341127403, 0.0102693643, -0.0358540341, -0.0710691363, 0.0177373216, -0.0327934735, 0.0475560464, -0.0449677259, 0.0663828105, 0.1255853176, 0.0256070253, 0.0261923224, 0.0532622933, -0.0233566668, -0.0318506509, 0.0413345248, 0.0365386792, -0.017224472, -0.0277641751, -0.029544631, -0.0432426259, 0.0027685019, 0.0049311407, 0.0269818194, -0.0401800722, -0.0135556599, -0.0303209759, 0.0374487005, -0.0524701662, 0.0194796361, 0.0826524645, -0.0290227756, 0.0057448088, 0.0209130682, 0.010907487, -0.0021227752, 0.0084503349, 0.0206333492, -0.0057883463, 0.0150344763, -0.0138642015, 0.0166653264, -0.0311906077, 0.0067342548, -0.0166280996, -0.0266952626, -0.004820908, 0.0241224971, -0.0269217808, 0.00634772, -0.0162090585, 0.0051840045, -0.0146435844, -0.0026852752, 0.0044990219, -0.005400205, -0.0528210215, -0.039948266, 0.041414585, -0.0396433696, -0.0024436668, -0.0226019248, -0.0178353954, -0.016342001, -0.03056743, -0.0203885604, 0.0291793123, 0.0315928236, 0.0361284912, 0.0463827513, 0.0475124419, -0.0642828122, -0.0181838702, -0.0277592074, -0.0411440879, 0.0222494528, -0.0065019615, 0.0127121294, -0.0350743718, 0.0128316833, -0.0124689806, -0.045850683, 0.0199637897, 0.0011895177, 0.0295005403, 0.0451242179, 0.0083155707, 0.0394012928, -0.060318049, -0.032397192, 0.0276547559, 0.004993733, 0.06790784, 0.0208739582, -0.0479342006, 0.0085285669, -0.0321786068, -0.0300711114, 0.0264833272, -0.0239566956, 0.0303407069, 0.0222955961, 0.0108907921, 0.0886193737, 0.0232265815, 0.0172986612, 0.0214637741, 0.0296592526, -0.0870516598, -0.0343902111, -0.0462181829, -0.028556468, 0.0377013609, -0.043287769, 0.0175093468, 0.0428918451, -0.0087691974, 0.0439540409, -0.0891489089, 0.061998982, -0.0246868301, -0.0275137704, -0.0505845249, 0.016196141, -0.0060346909, 0.0388582349, -0.0435223617, -0.0621205047, 0.083201915, 0.0080347396, 0.0179780293, 0.0364615098, 0.0412758067, 0.0162932258, 0.0120308874, 0.0006147519, 0.0238340907, 0.0342320092, 0.0340048149, -0.0701640844, -0.0118271643, 0.0764358565, -0.0414529629, 0.0310092326, -0.0079201097, -0.0326480195, -0.0449125804, -0.0861397833, -0.0116430921, -0.040780399, -0.0046851076, -0.0130084502, 0.0241271444, -0.0113335261, 0.0212162267, 0.0119279493, 0.025727246, -0.0168626923, -0.0224711839, -0.0428558104, 0.0137008904, 0.0162486956, 0.0340395048, -0.0200926587, -0.0095338272, -0.0630907193, -0.0492622294, 0.0417243391, 0.0086488435, 0.0100555345, -0.0204808991, 0.0212452486, 0.025241321, 0.038050998, -0.0033536945, 0.017501289, 0.0553536303, -0.0301319733, 0.0106107257, 0.0441872813, 0.0088265268, -0.0743580535, 0.001210293, 0.0297886655, 0.0646544695, -0.0080530737, 0.0152144115, -0.0628446937, -0.0258439314, -0.0302852746, 0.0514452457, -0.0322992057, 0.0004477853, 0.0338845737, -0.1074485481, 0.0358730778, 0.0072486722, 0.0095226886, -0.0107416827, -0.000195388, 0.0107014561, -0.0109115215, -0.0515730754, 0.0220178217, 0.0023315032, 0.0219194964, 0.0173757281, 0.037605688, -0.0250908732, -0.0027747075, -0.0406150147, 0.0199643932, 0.085959211, 0.0161836483, 0.0087693604, -0.0843986943, -0.0123042241, 0.0486030653, 0.0138170039, -0.0055727111, 0.0534961969, -0.0036831342, -0.0007240595, -0.0415368751, 0.0338556319, 0.0303213466, 0.0180880446, -0.0037835857, 0.0025963606, 0.0130264843, -0.0212190617, -0.0535277016, -0.0008597225, 0.0216261167, 0.0215358809, 0.0155584868, -0.0848662108, -0.036617808, -0.0370517112, -0.0066383462, -0.0747181773, -0.0479411334, -0.004371135, 0.0000781392, -0.0278417803, -0.0988422409, -0.0180116016, -0.0044693607, 0.009357349, 0.0180396698, -0.0497327261, -0.0478928648, -0.0066040009, -0.013810087, 0.0246757604, 0.0076120193, 0.0052953693, -0.0559669621, -0.0414831676, -0.0010384306, -0.0464441217, -0.020266328, -0.0012985847, -0.0326998085, -0.0131293135, -0.0283431895, 0.1259047091, 0.0176994391, 0.0192257296, 0.0222392101, -0.0474440083, 0.0327804834, 0.0620075464, 0.014100411, -0.0128114363, 0.0096517745, 0.053892754, -0.0142696919, 0.0016284056, -0.044607576, 0.0007292532, 0.0200648345, -0.0153800379, 0.0022097242, -0.0119566191, 0.0180493891, -0.0073830835, 0.013588015, -0.0723314658, -0.0149951279, -0.009925249, -0.0108779976, 0.0074892268, -0.0334037915, -0.046994824, -0.0500550456, 0.0103484457, -0.0059911185, -0.0058223088, -0.0158870034, -0.0080149388, 0.0556288622, -0.085089393, -0.009229321, 0.0012229154, 0.0263633654, 0.0142720379, 0.0165044498, -0.0172786228, 0.0249246694, -0.0216949191, 0.0304619595, -0.0071179788, 0.0374259129, 0.0188817456, 0.0002235659, 0.0134846065, 0.0717299655, 0.0060574412, -0.0169605017, -0.0762438253, -0.0152091794, 0.0221365392, -0.0077488474, 0.0323399603, -0.0023939894, -0.0183424056, -0.0130682904, 0.0143802268, 0.002210665, -0.0280621052, 0.0179383475, 0.0132440114, 0.0069756121, -0.0388338342, 0.0353980549, -0.0560379848, -0.0255729221, -0.061023064, -0.0236106049, -0.0157027915, 0.0101291817, 0.0061789686, -0.0053826906, 0.0147178182, 0.0017854776, -0.0851706639, -0.0212886166, -0.0286590327, 0.0660844743, 0.0268528648, -0.0080501251, 0.0623503402, 0.0088820094, -0.0339811221, 0.0365007371, -0.0005734548, -0.0145066613, -0.0704523474, -0.0002262694, -0.0466395095, -6.341461415e-33, -0.0158450641, -0.0280105788, -0.0160305873, 0.0125616975, 0.0055422741, -0.0200582258, 0.0025218155, 0.0121716252, 0.0499347448, -0.0042136661, -0.0015279542, -0.0668829083, -0.008205262, 0.0023285295, 0.0338159241, -0.0163213704, 0.0821860433, -0.0158046354, -0.0921804458, 0.0197376553, 0.0447028913, -0.0322380401, 0.0218851175, -0.0517120659, 0.0153236771, 0.0165915992, -0.0562790222, -0.0441097096, 0.0034808032, 0.0512371324, -0.0125064971, 0.0276883747, -0.0095527852, -0.0270404294, -0.0234806817, 0.0334687345, -0.0386648923, -0.0031379629, -0.0127743287, -0.0155427167, -0.0640114099, -0.0050207092, 0.0302961506, -0.0078574698, -0.0479751006, 0.0040852288, 0.0417744257, -0.0396580957, 0.0144603029, -0.0179763492, -0.0396385193, -0.0034625735, -0.0143269217, -0.0504979715, 0.0134656765, 0.0805489272, -0.006762228, 0.0402132161, -0.0359953456, 0.077932924, 0.0702246428, 0.0218564551, 0.0762590319, 0.0191330239, 0.0308858901, 0.0338539071, 0.006193093, 0.028275568, 0.0048246798, -0.0372634418, 0.0172019489, 0.0269645434, 0.060819827, 0.0635722056, 0.0651040301, -0.0383612365, 0.0299246944, 0.0598898195, -0.0387698226, -0.0020126635, 0.0368072502, 0.0342160277, -0.0242609624, -0.0048160404, -0.0402173623, -0.064668268, -0.0508061126, -0.0454990901, 0.017894838, 0.0221348293, -0.0252553504, 0.0104624163, 0.0197548028, 0.0044002514, -0.0256703254, -0.057270132, -0.0448361151, 0.0589705184, 0.007406516, -0.079776302, -0.0655303746, -0.0016127082, -0.004192065, 0.0246799141, -0.0023064993, 0.0331771672, 0.0261380263, 0.0009708794, -0.0146208061, -0.007190926, -0.0116829704, 0.0166259464, 0.0106488978, -0.0469050892, 0.0222575311, -0.0380919874, -0.0476563945, 0.0179851484, -0.0346515663, -0.0114295529, -0.0445108786, -0.0114793191, -0.0229506902, 0.0157324076, -0.0309184287, -0.0103501892, -0.0199655183, -0.0241968408, 0.0378463678, -0.0490256138, -0.0293033905, -0.0118256127, 2.728e-7, -0.0130517539, 0.053989213, -0.0044720322, -0.0415263325, 0.0175824631, 0.1022096649, 0.012696241, -0.0043699509, 0.0308593046, -0.0275173914, -0.0027964786, 0.0025518436, 0.0194422472, 0.0076080505, -0.0018625386, 0.0081074601, -0.025692964, 0.0684390962, 0.0079427324, -0.0099823251, 0.0455052182, -0.003431519, 0.0204294771, -0.0023554789, 0.0385811999, 0.02945593, 0.0833161548, -0.0698036402, 0.0172560178, -0.0647555292, -0.0080657098, -0.0365168713, -0.0245080143, -0.0005017818, -0.0198598672, -0.0491653979, 0.0123059349, 0.0364756659, -0.0161316805, -0.0298581142, -0.0268301964, 0.0237807501, 0.0244800244, -0.0664936975, 0.0411180519, -0.0618149675, -0.0281635858, -0.0572841354, 0.0140621252, 0.0071425494, 0.052018024, -0.0433106348, -0.0663444176, -0.0279085264, 0.0130163869, 0.0534782894, -0.0344344042, -0.0393029936, -0.0335135199, 0.0167342052, -0.0012395239, -0.0494395979, -0.0664142817, 0.0400260873, -0.0185787342, -0.0386726968, -0.0401504897, 2.293594042e-34, 0.0314320959, -0.0031372774, 0.0635523424, -0.0540652722, 0.0203100592, 0.0293644145, 0.0270718187, -0.0097155841, 0.0675199255, 0.0009732221, -0.0189047866 ]
http://arxiv.org/abs/2406.16801v2
http://arxiv.org/pdf/2406.16801v2
RES-Q: Evaluating Code-Editing Large Language Model Systems at the Repository Scale
"2024-06-24T17:08:17"
"2024-06-25T18:04:23"
Beck LaBash, August Rosedale, Alex Reents, Lucas Negritto, Colin Wiel
cs.CL
cs.CL
The instruction-following ability of Large Language Models (LLMs) has cultivated a class of LLM-based systems capable of approaching complex tasks such as making edits to large code repositories. Due to the high sensitivity and unpredictability of LLM behavior in response to changes in prompting, robust evaluation tools are needed to drive future iteration of these systems. We propose RES-Q, a natural language instruction-based benchmark for evaluating $\textbf{R}$epository $\textbf{E}$diting $\textbf{S}$ystems, which consists of 100 handcrafted repository editing tasks derived from real GitHub commits. Given an edit instruction and a code repository, RES-Q evaluates an LLM system's ability to interpret the instruction, navigate the repository to gather relevant information, and construct an appropriate edit that satisfies the specified criteria. We argue that evaluating LLMs in this way addresses issues with traditional benchmarks and provides a more holistic assessment of a model's abilities. We evaluate various state-of-the-art LLMs as language agents in a repository-editing system built on Qurrent OS, our language agent development software. Despite their 1% pass@1 performance difference on HumanEval, we find Claude Sonnet 3.5 outperforms GPT-4o by 12% pass@1 on RES-Q, indicating RES-Q's capacity to differentiate model capability as traditional benchmarks approach saturation. We further investigate token efficiency, performance relationships with existing benchmarks, and interesting disparities between closed and open-source LLMs. Code and dataset are available at https://github.com/Qurrent-AI/RES-Q.
[ 0.0484211035, 0.0770056322, -0.0308097433, 0.0254363772, -0.0273869243, -0.0005453913, -0.0210316088, -0.0159469172, -0.009410087, -0.0113276402, -0.0474510565, 0.021679325, -0.0069370302, 0.0028757185, 0.0070777941, -0.009153069, 0.052407112, -0.0318401456, -0.0006581419, 0.0304013453, -0.0025133488, 0.0186498538, 0.0079343934, 0.0569731109, 0.0311769564, -0.015147958, -0.0191683546, 0.0279699173, -0.001209264, 0.002747173, -0.0001072525, 0.0451936014, -0.0274858084, 0.0764183179, 0.0000022004, -0.0531661138, -0.0048707179, 0.0152713889, -0.0194843877, 0.0263138302, 0.0223392844, -0.0170626547, -0.0410288312, 0.0034248019, -0.0241608582, 0.0245548487, 0.0497406907, -0.0288951416, 0.0732681826, 0.071721904, 0.0164409988, 0.0248076078, 0.0088288626, -0.0005258729, 0.0513465367, -0.0128902737, -0.0090426262, 0.0169955194, 0.0566188246, 0.0463354066, 0.0205543321, 0.0227720011, 0.0371578783, -0.0318006687, 0.0085503235, 0.0259654373, -0.0421846621, -0.0225783587, -0.0021925049, 0.0195725001, -0.0152920242, 0.0075181015, -0.0010343236, -0.0147970002, -0.0289926101, -0.0086837159, -0.0170042533, 0.0216502063, 0.0140341865, -0.0184245873, -0.0095298318, -0.0707119852, 0.0020077964, 0.012030785, -0.0134808011, 0.0639994144, 0.0252059828, -0.0000697627, 0.0039132172, -0.0359459855, -0.0401802883, -0.0858309269, -0.0095293969, 0.0654012784, -0.0489790328, 0.011055191, -0.0152232107, -0.0075233169, 0.0506532528, -0.0331595168, -0.0151248276, 0.0507731512, -0.0307963621, 0.0432209298, -0.0004021758, 0.1138556153, -0.0058046053, 0.0337237455, 0.0074707526, 0.0072763893, -0.0687581524, 0.0160435475, -0.0629326701, 0.0250139143, -0.020076219, 0.0294213369, -0.0244590342, 0.0301432312, 0.032812953, 0.0603288785, 0.0102155535, -0.0441050418, -0.0540786497, -0.0015984568, -0.0258556083, -0.0021939008, -0.045535557, -0.0167580582, -0.0136549855, -0.0349960849, 0.0050204364, -0.0180962924, -0.0279258341, -0.0542554073, 0.0176840369, 0.072667025, 0.0499071814, 0.0136209112, -0.039761629, -0.0239779484, -0.0029041786, -0.0676893741, -0.0715467334, -0.0870546028, -0.0144512793, 0.0422338694, -0.0221835896, -0.1102035493, -0.0177347362, -0.0115227532, 0.0006180236, 0.0260675456, -0.0481740348, 0.018133888, 0.0472139567, 0.0135755101, -0.057959713, 0.0364426635, 0.0430877618, 0.0179861113, 0.0441093296, -0.0032685287, 0.0462661125, 0.0458001383, -0.0481063649, 0.0347881727, 0.0299360342, 0.040775273, 0.0260089245, 0.0124690076, 0.0363058746, 0.0640923455, 0.0100644846, -0.0197193716, 0.0561674461, 0.0449402295, 0.0055277459, 0.0007422987, 0.0294205043, 0.0456950665, 0.0262964536, -0.0398290418, -0.0530156009, 0.0531805083, 0.0285195224, 0.0036163256, -0.021830678, -0.0104405284, 0.0068544415, -0.0412214398, -0.0075499061, -0.0082631409, -0.04113755, -0.0271188505, 0.027524665, -0.0031310525, -0.0256430209, -0.0054252804, 0.0146144535, -0.0410032682, -0.0095299315, -0.0497880876, 0.022215426, 0.0712330788, 0.0830367059, -0.061986614, -0.0527758077, -0.0207588822, 0.0042520827, 0.0214868151, 0.0275375675, -0.0177051015, -0.0053809448, -0.0060872831, -0.0334876031, -0.0662817806, -0.0003257603, 0.0272139292, 0.0317629464, -0.0132798431, 0.0017842734, -0.0124053527, -0.0659930781, 0.0269543342, -0.0270827189, -0.013940718, -0.0274121296, -0.0028905706, 0.00389874, -0.0060418169, -0.0416095778, 0.0020660823, 0.0106632654, 0.0077224886, -0.0374487713, -0.0051682349, 0.0379829407, 0.0121212583, 0.0451090038, 0.0012271685, -0.031207826, 0.0008520902, -0.0420794077, 0.0014216785, 0.014316122, -0.0470531769, 0.0388674252, 0.0183754489, 0.0376853123, -0.0416429266, -0.0433076471, -0.0095581785, 0.0030838889, 0.0032293322, 0.0272160675, 0.03587671, 0.0686199218, 0.0252475869, -0.0184304193, -0.0354696698, 0.0113484794, 0.0001288936, 0.0108762588, 0.0138025181, 0.0527928174, -0.0390922874, -0.064288266, -0.0459004939, 0.0031132943, -0.0386769772, 0.0027687701, 0.0251684207, 0.0162323415, -0.0121381432, -0.0166546311, 0.0152759999, 0.0007151783, -0.0254857838, 0.0345571078, 0.0306170639, 0.0344481543, -0.0625438616, -0.0767231062, 0.0210319441, -0.013759301, 0.0135574667, 0.0254329443, 0.0046650497, -0.0689218715, 0.0307358596, -0.0245687384, 0.0068246759, -0.003456386, -0.0569354407, 0.0153973214, -0.0186743904, 0.081460692, 0.0172300581, -0.0243841428, -0.0205213111, 0.0494665951, 0.0013035339, -0.0336375162, 0.0026110495, 0.0406889468, -0.0801349357, -0.0306040831, -0.0383676626, 0.0159134641, 0.0475417264, -0.002639683, -0.0083600469, -0.0292454492, 0.0182074755, -0.032642141, -0.0135176098, 0.0303008575, -0.0094709834, -0.003836462, 0.0467994101, -0.0350015126, -0.1011966169, 0.0482106209, -0.0415970981, -0.0303963646, -0.0401630513, -0.0286549591, -0.0597924069, 0.0638649687, 0.0190050378, 0.0156144938, -0.0247140639, -0.0162357613, -0.0430145636, 0.0153595004, -0.0203027893, 0.0025715472, 0.0421819128, -0.0657427758, 0.0074724243, -0.0182163734, -0.0050755059, -0.010591073, 0.0090975948, -0.0484423786, 0.0107403658, 0.0480512492, -0.0289514307, 0.0294292159, 0.0123917488, 0.0298816133, 0.0802280605, 0.0385095663, -0.0456816889, -0.0250099655, -0.0660492554, 0.0075018909, -0.0148851285, -0.0003508933, 0.0025647299, 0.0376656502, 0.0175946448, 0.0827671885, -0.0181785505, -0.0614500903, -0.0136350058, 0.004393483, -0.0701402724, -0.0316178314, 0.0358965509, 0.0438924097, -0.0367135145, -0.0338597782, 0.1217034683, 0.0532991737, -0.0570277385, 0.0178763326, -0.0357198976, 0.0264288448, 0.0733481497, 0.0606233589, -0.0947685018, -0.0230069607, 0.002579405, 0.0244768728, 0.0130918352, -0.0371061638, -0.0200481247, -0.0700776801, 0.0332175791, -0.0173714869, -0.0292873438, -0.0074111768, -0.0555040725, 0.0161249936, -0.0219912454, -0.0382737182, 0.0465924628, -0.0009503288, 0.0072903014, -0.0294794738, -0.0154329967, 0.0455006957, 0.0606135391, -0.0582450107, 0.0248585008, 0.0698907003, 0.011773875, 0.0202348121, 0.007805774, 0.032368768, 0.0024389927, 0.005347529, -0.0262750201, 0.0342711881, -0.0007883633, -0.0098912669, 0.0388216451, 0.0085744001, -0.0173196848, -0.0130519904, 0.0480675772, 0.0720231533, -0.0348845646, 0.0153820207, -0.0020838829, -0.0315548293, -0.0071020126, 0.041187156, 0.034668956, -0.0442141071, -0.0294646267, -0.052639775, -0.0287583023, -0.0217012558, -0.0148854489, -0.026238054, -0.0138336224, 0.014841008, -0.0740993395, -0.0687880293, 0.0272015352, 0.0024701955, 0.0811010674, -0.0029176469, 0.0361340418, 0.0084280288, -0.0053121764, -0.0059719589, -0.0231392197, 0.0222530384, -0.0953774676, -0.0384776071, 0.0262766425, -0.0221753586, -0.032508444, -0.0390854552, -0.0364347957, -0.0348557457, -0.0054083453, 0.049692627, 0.0235036146, 0.0044432655, -0.028472092, -0.0808122084, -0.04865871, -0.0080936309, -0.0687214658, 0.0262473691, 0.0264691487, 0.0263842605, -0.0230505709, 0.0252936706, -0.0860600099, 0.0113055073, -0.0097877793, 0.0256857313, 0.0028099304, -0.0371548161, 0.0242847614, 0.0014870377, 0.0097286263, 0.0354212783, -0.001548596, -0.0296525825, 0.0365710333, 0.0070188614, -0.0073276935, -0.0221785065, -0.0210071225, 0.0078174649, -0.0263719838, 0.0096407132, 0.0412607044, -0.0401902832, 0.0287239365, -0.004955661, 0.0286075491, 0.0022515235, 0.0523383915, 0.0488716103, 0.0013914219, -0.0202357192, 0.0086068902, -0.0112150135, 0.0359463468, -0.0205851607, 0.0700891167, -0.0050242268, -0.0105681485, 0.0212668292, 0.0132828755, -0.0545218326, -0.052271273, 0.0278293565, 0.0172065515, 0.0443735607, 0.0331197158, 0.0478630625, -0.0445425697, -0.0071886228, -0.052818466, 0.0331559107, 0.0114818923, -0.0531806648, 0.0188937001, 0.0139184417, -0.0085056862, 0.0048943511, 0.055442106, -0.0251483563, 0.0602816381, -0.004739935, -0.0150535293, -0.0198110119, -0.0248882174, -0.0128167234, -0.0745834187, -0.0438037664, -0.0482452512, -0.038402006, -0.0384014919, -0.0204186309, 0.0439273901, -0.0042975522, -0.0196861178, 0.025010556, 0.0666095763, -0.0099815419, -0.0205696914, -0.0207915548, 0.0083110984, -0.0383365788, -0.0194220562, -0.0330379754, -5.063729178e-33, -0.0131009165, -0.0194341689, 0.0670351088, 0.0364040546, 0.0288968068, -0.0009762838, -0.0798381045, -0.0046084966, -0.0071175322, -0.0275409743, -0.0135677457, 0.0134523073, -0.005532119, -0.0546408594, 0.0683123097, 0.0372877158, 0.0862239823, 0.0443273075, -0.0445089452, 0.0381902084, -0.0309192352, 0.0136791971, 0.0135155516, -0.015968442, 0.0093027493, 0.00633559, 0.0457936488, 0.0071298168, 0.0100441454, 0.0621528402, 0.0085487096, -0.0033223133, -0.0121382512, -0.0388138629, -0.0276114289, -0.0592771582, 0.0024383354, -0.0102992542, -0.0159242079, 0.0323490277, 0.013156482, -0.0440315977, 0.0426745862, 0.0000743579, -0.0586770698, 0.0270702038, 0.0183742382, 0.0123189744, 0.0261679403, 0.0427719355, -0.0829208121, 0.0541762523, -0.0202037189, -0.0112125203, -0.0136752063, 0.006963951, 0.0263120029, 0.0338826999, 0.0008718619, -0.0131547889, 0.0090309037, 0.0463120006, 0.0698019117, -0.0373506732, -0.0378143638, 0.0101375571, 0.0385004245, 0.028785089, 0.0249734018, 0.0532927588, 0.0151915038, 0.0508818254, 0.0578272305, 0.0196287706, -0.0043501337, 0.0283573028, -0.0264975578, 0.0273280367, -0.0169902686, 0.0816036016, -0.0115685808, 0.063591592, -0.0237151384, 0.0287431646, -0.0478631966, 0.0244184639, -0.0290629826, -0.0446709953, 0.0545171015, -0.0202188361, 0.0111258216, -0.0110228034, 0.0172900427, -0.020872362, -0.0370967537, 0.043630667, -0.0783213302, 0.0597448647, -0.0141043458, 0.0256627835, -0.0331354737, 0.0348231271, 0.0303394329, 0.0252411496, 0.0721746534, 0.0051093958, 0.0286882725, 0.0422130562, -0.0642121583, 0.0178657994, -0.0567358658, 0.0134015502, -0.04757284, -0.0106621385, -0.0115894722, -0.0342574716, 0.0117970845, 0.0425223485, -0.0144494995, -0.0294217467, -0.0825066045, 0.0488935784, 0.0314771496, 0.0019333306, -0.03230327, -0.0029626936, -0.0264454149, 0.0722821057, -0.0004235831, -0.0344772898, -0.0230871681, 0.0140932519, 2.922e-7, 0.0139225041, 0.0631884113, 0.0316371247, 0.0259545967, 0.0027264068, 0.0170069057, -0.0768679678, 0.0005980621, 0.0242814552, 0.0153335342, -0.0272914972, 0.0223488845, 0.0179087184, 0.0617705584, -0.0414237604, -0.0222811364, -0.0057081548, 0.027076738, -0.1093287617, 0.0115153957, 0.0139197996, 0.0332943201, 0.01304885, 0.0060592075, -0.0037856614, -0.0461230241, -0.0126511818, -0.0047094086, 0.0333658867, 0.0518069528, -0.0428574756, 0.0597049966, 0.0064630248, -0.0471715964, -0.0116388071, -0.0263354219, -0.019066954, 0.0758234411, -0.0116672022, 0.0131473923, 0.0311007667, -0.0135954125, -0.0165998172, -0.0423425883, 0.0250305068, -0.0155439656, 0.0060597914, 0.0027219618, -0.0130251525, -0.0174802169, 0.0130077954, -0.0398411155, -0.0129672997, -0.0201573391, 0.0038804556, -0.0192133933, -0.0384097621, -0.0225961078, -0.0104980627, -0.0117851188, -0.0040746708, -0.0626917332, -0.0842446163, 0.0505221598, -0.0220519993, -0.0303755011, 0.0243308358, 2.553533725e-34, 0.004970999, -0.0342514627, 0.0241071414, 0.0169178229, 0.076958783, -0.0001598704, -0.0380397774, 0.0058708983, -0.013582929, -0.0319222733, -0.0431317911 ]
http://arxiv.org/abs/2406.16797v2
http://arxiv.org/pdf/2406.16797v2
Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMs
"2024-06-24T16:58:23"
"2024-06-25T13:46:41"
Ashwinee Panda, Berivan Isik, Xiangyu Qi, Sanmi Koyejo, Tsachy Weissman, Prateek Mittal
cs.CL
cs.CL, cs.AI
Existing methods for adapting large language models (LLMs) to new tasks are not suited to multi-task adaptation because they modify all the model weights -- causing destructive interference between tasks. The resulting effects, such as catastrophic forgetting of earlier tasks, make it challenging to obtain good performance on multiple tasks at the same time. To mitigate this, we propose Lottery Ticket Adaptation (LoTA), a sparse adaptation method that identifies and optimizes only a sparse subnetwork of the model. We evaluate LoTA on a wide range of challenging tasks such as instruction following, reasoning, math, and summarization. LoTA obtains better performance than full fine-tuning and low-rank adaptation (LoRA), and maintains good performance even after training on other tasks -- thus, avoiding catastrophic forgetting. By extracting and fine-tuning over lottery tickets (or sparse task vectors), LoTA also enables model merging over highly dissimilar tasks. Our code is made publicly available at https://github.com/kiddyboots216/lottery-ticket-adaptation.
[ 0.0098162713, 0.0609791093, 0.0041182181, 0.052350115, -0.0080608884, 0.0332431644, -0.0206234958, -0.0241234172, -0.0137134902, -0.0650380179, -0.0640409514, -0.0420317873, -0.0006309898, -0.0222556647, 0.0500851311, -0.0396322161, 0.0647386461, -0.0712037683, -0.0178440716, -0.0023020408, -0.0234143008, 0.0048235604, -0.0262445528, 0.016861679, 0.0527371392, -0.0024092086, 0.0137263732, 0.0114710415, 0.0274268575, -0.0114744287, 0.0152697759, 0.0526466034, 0.0216583516, 0.0126912212, 0.0000018606, -0.0370633639, -0.0044198767, -0.0328107588, -0.0275306944, 0.0137783894, 0.0204270072, 0.024056647, -0.0160069484, 0.0191795751, -0.0296090636, 0.0012957783, 0.0523528457, 0.0375385843, 0.0704046711, 0.0948800221, 0.0046261582, -0.0034545732, 0.0387347154, -0.0539529845, 0.0335584097, -0.0717025623, 0.0262476988, -0.0171599649, -0.0243406314, -0.0165416077, -0.0161890723, 0.0173197519, 0.0020782677, 0.0102624428, 0.0034535541, 0.0264780931, -0.037234053, 0.0095269829, -0.0199015941, 0.0584334619, -0.0442012884, -0.0128463991, -0.0011728607, 0.0050536352, 0.0117879361, -0.0398700498, -0.0685290247, 0.0120310094, 0.0424639806, 0.0250013713, 0.0386394449, -0.0470456965, 0.0351469927, 0.0074532661, -0.0404044278, 0.0266337115, 0.0369033329, -0.0258995481, -0.0135136126, 0.0152504919, -0.0430100299, -0.0456883498, -0.0039770305, 0.0380694605, -0.0471994132, 0.0151210446, -0.0941024646, -0.0476359241, -0.005894999, -0.0103479438, 0.1114996597, 0.0606025048, -0.013032903, 0.0411198586, -0.0486709736, 0.0296560545, -0.013324351, 0.0432326607, -0.0453768298, 0.023050366, -0.0428535827, 0.026539851, -0.0129536912, 0.051845964, -0.0300562251, 0.017625792, -0.0263961516, 0.0464659743, -0.0232283399, -0.0009063887, 0.0126887215, -0.0257335212, -0.0393949561, -0.0177618768, -0.017781999, 0.0440321416, -0.0151837291, 0.0190496463, 0.0358556658, -0.0087120486, -0.054360792, 0.0167190824, 0.0039563808, -0.0538272858, -0.0039866273, 0.0653638616, -0.0589911528, -0.0055286144, -0.0766855553, 0.0132628111, 0.0194224678, -0.0674525574, 0.0020872264, -0.0641226918, 0.0224369895, -0.0248095039, 0.0049189208, -0.0416373499, 0.001871106, 0.0064759599, -0.0325627513, 0.0415728018, 0.0100230416, -0.0275803506, 0.0227810182, 0.0213629287, -0.0155857094, 0.0623440593, 0.0160869919, -0.0030330406, 0.0076166843, -0.0003894035, -0.0292361826, 0.0422476232, 0.0164652131, 0.025861904, -0.0016431212, -0.0008069984, 0.0393647403, -0.0154956011, 0.0514772981, 0.0252210796, -0.0288498122, 0.018024249, 0.0615346842, 0.0510290861, 0.0223563351, 0.0135676712, 0.0069431635, -0.0106536252, -0.0154598057, 0.0467973836, -0.095108144, 0.0439163893, -0.058544796, 0.0116469646, 0.0474577099, 0.0332510807, -0.0357543081, -0.067505464, -0.0030433442, 0.0039710798, 0.0089920014, 0.0244093724, 0.0361058116, -0.0096773067, -0.0539759658, 0.0336037539, 0.0393321253, -0.0344449989, 0.0152521674, -0.0695815682, 0.0239126999, 0.0535391383, 0.0295654088, -0.0522989519, -0.0777770653, 0.0088041741, -0.0009449165, 0.0197700299, 0.0204177089, -0.0134880282, 0.0212773476, -0.0729709789, -0.0277165715, 0.0072212252, 0.0328040496, 0.012753428, 0.0235184059, -0.005468498, 0.0230935663, -0.0031239095, -0.0091787195, 0.0319366902, -0.0529467687, -0.0527793802, 0.0017150601, -0.0150814755, 0.0256769489, -0.0125979465, -0.005133918, -0.0015647664, 0.0221812408, -0.0324740596, 0.0116825271, -0.0453406796, -0.0576512143, -0.024771763, 0.0298513118, 0.0292403232, -0.014061626, 0.0774704292, -0.0466453172, -0.0468601994, 0.0174123347, -0.0209706314, -0.0043516043, -0.0164508652, 0.0331461988, 0.0281668212, 0.024687862, -0.0480808169, 0.0531528406, 0.0022617923, -0.0315151587, 0.0185382459, -0.0153072784, -0.0134325176, -0.0695163533, -0.0330527648, 0.0036686873, -0.0149113825, 0.0433939248, -0.0170041863, 0.0190933738, -0.0500637889, -0.0340988338, -0.0652941614, 0.0552290156, -0.0398800075, 0.0556408986, 0.0315401256, 0.0130148195, -0.0003086035, -0.0136718946, -0.0207797177, -0.0005603664, -0.0223365854, 0.0131876636, 0.0033002463, 0.0046115709, 0.0142893353, -0.0740684569, -0.0428210124, 0.0008658069, 0.0138994316, -0.0613354146, -0.0054903589, -0.0779533535, 0.0685890019, -0.0279958509, 0.0248187426, -0.0091757765, 0.0118316496, -0.0296062231, -0.0439585894, 0.0762954876, 0.089188315, -0.0116157988, 0.008734528, 0.0679229796, -0.0211137366, -0.0356328078, 0.0218396075, 0.0112470333, -0.0285144858, -0.0476371646, -0.0069483402, -0.0091435686, 0.0710133016, -0.0149092497, -0.0290011019, -0.044359643, -0.026881529, -0.0172498748, -0.0190051235, -0.050136447, 0.0395694748, -0.0193033628, 0.002502478, -0.0391247831, -0.0167322867, 0.0489363335, -0.0028946023, 0.0038739319, -0.070820488, -0.0273771603, -0.0442867503, 0.0121295284, -0.0036259941, -0.0206221957, -0.0060906652, -0.0221666247, -0.085094519, -0.0382507034, 0.0066097998, -0.0119212801, 0.1088453382, -0.0544426925, 0.017568171, -0.0534559228, -0.0304225683, -0.0327196755, -0.0267238859, 0.0037499627, 0.0188846216, 0.0088183144, -0.0171016082, -0.0674156398, -0.0255838055, 0.0239780173, 0.0739061013, -0.0319184065, -0.0002556491, -0.0397695899, 0.0519813672, 0.0704369769, 0.0680660754, 0.0275532324, -0.0679599568, -0.0101848617, 0.0362438336, 0.0761870593, -0.0330733284, 0.0000929431, 0.0341350287, 0.0618477613, -0.0447262824, -0.0025913396, 0.0378962904, 0.0694487318, -0.0584998615, 0.0111370981, 0.0972725451, 0.0031896892, -0.0492687561, -0.006042535, -0.0227732789, 0.0635625646, 0.0198582597, 0.0308006704, -0.0488804653, -0.0431219339, 0.0135961026, 0.0105364854, 0.0448428616, -0.0127590094, 0.0064892313, -0.1000436842, 0.0139524937, 0.0530681312, -0.0183313545, 0.000460308, -0.0012305626, 0.0290763341, -0.0090317912, 0.0523038246, 0.0112491706, -0.0272876844, -0.0162222981, 0.0197382737, 0.0173223224, -0.0387822911, -0.0021490848, -0.0108972089, 0.0636642352, 0.0219299197, -0.0200351011, -0.0113890972, -0.0218395609, 0.069287926, -0.010432696, -0.0316359438, -0.0160196517, 0.0276312679, 0.0052085049, 0.0043101148, 0.0293327514, 0.0235107914, -0.0432265885, -0.0319376513, 0.0379369408, 0.0841146186, 0.0064803488, -0.011745262, 0.0006335917, -0.0258201417, -0.002344613, 0.0502357893, 0.0233483054, -0.0425997488, -0.0091586169, -0.0188076422, -0.0420288257, -0.0838624239, -0.0108836628, 0.0068332264, -0.0210460462, 0.0095421905, -0.0490371548, -0.004262052, 0.0261181183, 0.0173645038, 0.0097917691, 0.0246678144, 0.0088900896, -0.027027797, -0.0252774823, 0.0408022813, -0.0660991967, -0.0131635377, -0.0628587678, -0.0265688132, -0.0021075455, -0.0117392316, -0.0074712858, -0.0044337315, -0.1265463382, -0.0663861483, -0.0176113341, 0.0430965424, 0.0144405458, 0.0575257279, 0.0259048808, -0.0591769069, 0.03742617, -0.0155923115, -0.0020681201, 0.0660838112, 0.0247005839, -0.0250868741, -0.0024517218, 0.0295182094, -0.0550029017, 0.011245843, 0.0374986306, 0.0636110902, -0.0192649476, 0.004194323, -0.0280566961, 0.0057674702, 0.0033635849, -0.0006370512, 0.0032188375, -0.0426692441, 0.0443404242, 0.0122860698, 0.0136247659, -0.0334860049, -0.0177670177, 0.0188739952, -0.0161334611, 0.0209532399, 0.014920624, 0.0338035487, 0.0399176516, -0.0527081564, -0.0001825695, -0.0184174236, -0.0225377679, 0.0234010033, 0.0196615197, -0.0284308325, 0.0134366872, 0.021523267, 0.0283312518, -0.0213283598, 0.0123209255, 0.0175900515, -0.0015515946, -0.0334484465, 0.042781435, -0.050929796, -0.0405232869, -0.0219527353, 0.0322082974, 0.0858503133, -0.0097021498, 0.047742825, 0.0113918921, -0.0046655908, -0.0359797552, -0.0147724692, 0.000191175, 0.0366159789, 0.0224826504, 0.0278739873, 0.0294113718, -0.0003987131, 0.0759003609, 0.0130840661, 0.0323392488, 0.0061565624, 0.0532406792, -0.0418607257, -0.0426200889, 0.0056302352, 0.0336244181, -0.0273328405, 0.001548731, 0.0115778446, -0.0638978854, 0.006511779, 0.0057864301, 0.0027803618, -0.0357568078, 0.0307002533, 0.0262891892, -0.0217956174, 0.0133900149, 0.000241441, -0.0184171982, 0.0153809953, -0.025583582, -0.0202903226, -6.388607555e-33, -0.0597683303, 0.0114826867, 0.0431401134, 0.0325057432, -0.0181607492, -0.0185970794, -0.0521370135, 0.0292484313, -0.0177848823, -0.023753589, -0.0079083825, 0.002929298, 0.0235837512, 0.0418386981, 0.0118273543, -0.015843261, 0.041699145, 0.0057665501, -0.0368440598, 0.022146035, 0.0070028603, 0.0200836398, 0.0514685586, -0.0368944108, 0.0154160531, 0.0099037476, 0.0218553953, 0.0216960609, -0.0076075215, 0.0620269291, -0.0106779533, 0.0588241331, 0.0311634559, -0.0332124792, -0.0564989336, 0.0158801191, -0.0704840049, -0.049529314, 0.0445679873, -0.0163439587, -0.0253886525, -0.0650147498, 0.0282884613, 0.0293007661, -0.013847962, -0.0689817593, 0.0353981145, -0.0392490178, -0.0464470126, 0.0187720302, -0.0678177699, 0.0038763301, 0.0039298618, -0.0240446515, 0.0297867935, -0.0212696269, -0.0078914817, 0.0059362655, -0.0465082824, 0.0008696961, -0.0201213136, 0.1131183729, 0.0667708293, 0.0328734741, -0.056320522, 0.0286639333, 0.0004398442, 0.0198131055, 0.0039771264, -0.0372035503, 0.0510295182, 0.0251567513, 0.0310754869, -0.0029609923, 0.0394166112, 0.0138499774, -0.0552480295, 0.0199233983, 0.0161187239, 0.0195618998, 0.0292869303, 0.048309084, 0.0224611145, -0.0024396293, -0.0313328765, 0.0565999299, -0.0441485904, 0.0183669403, 0.0261083618, 0.0116388947, 0.0132928668, -0.0010402505, 0.047810968, -0.0429147631, 0.0177466776, 0.0129208947, 0.0021821794, 0.0044952207, 0.0019786851, 0.0219212472, -0.0433438718, -0.0579186268, 0.0161853768, -0.0033993856, -0.0025936132, 0.004260336, 0.0527917743, 0.0161912367, -0.0527374223, -0.0088699572, -0.0168710686, 0.0284594689, 0.0256397873, 0.0937655568, 0.010479101, -0.0081257373, 0.0205775257, 0.0480453968, 0.0001647156, -0.0264101122, -0.0051834802, 0.0278541017, 0.0051265634, 0.03072902, -0.0040752748, 0.0285979956, -0.0419474691, 0.0098935729, 0.0121814786, -0.041749794, -0.0148425903, 0.0117546106, 2.574e-7, 0.0167853665, 0.0381042324, -0.019076081, -0.0075067347, 0.0069513679, 0.0523439609, -0.0507459976, 0.0251262169, 0.0421385951, 0.0273139328, 0.0041301432, 0.0653413683, 0.0468540676, 0.0057792696, -0.0690197274, -0.0020161653, -0.0283312574, 0.0480770618, -0.0256051067, 0.0011076262, 0.0423316695, 0.0891186595, 0.0092411917, -0.0280649737, -0.0006075469, -0.0353497043, 0.0444198139, -0.0217422917, -0.0244351104, 0.0320394672, 0.0011848052, 0.0236217193, -0.0215019993, 0.0094263554, -0.0340501033, 0.037075635, -0.0197363384, 0.0742020905, -0.0081791654, -0.0216336176, 0.0028870853, 0.0203074981, 0.0108644431, -0.0165717732, 0.0643088743, -0.0513439551, -0.0297425296, -0.019817885, -0.0057368339, -0.010413873, -0.0081873434, -0.0196267944, -0.0155475019, -0.006915207, 0.0365232788, 0.0119680073, -0.041847907, -0.0932923332, -0.006696716, 0.056092646, -0.0517768301, -0.0523162149, -0.0451945625, -0.0132838013, 0.0212978553, -0.0891635492, 0.0041225073, 2.575276008e-34, 0.0430395044, -0.0061484235, 0.024097532, 0.053373795, 0.0067384313, -0.0128728952, -0.0446890965, 0.0220092591, 0.004790768, -0.0845037326, -0.022967387 ]
http://arxiv.org/abs/2406.16783v2
http://arxiv.org/pdf/2406.16783v2
M2Lingual: Enhancing Multilingual, Multi-Turn Instruction Alignment in Large Language Models
"2024-06-24T16:45:13"
"2024-06-28T10:14:53"
Rishabh Maheshwary, Vikas Yadav, Hoang Nguyen, Khyati Mahajan, Sathwik Tejaswi Madhusudhan
cs.CL
cs.CL, cs.AI, cs.LG
Instruction finetuning (IFT) is critical for aligning Large Language Models (LLMs) to follow instructions. While many effective IFT datasets have been introduced recently, they predominantly focus on high-resource languages like English. To better align LLMs across a broad spectrum of languages and tasks, we propose a fully synthetic, novel taxonomy (Evol) guided Multilingual, Multi-turn instruction finetuning dataset, called M2Lingual. It is constructed by first selecting a diverse set of seed examples and then utilizing the proposed Evol taxonomy to convert these seeds into complex and challenging multi-turn instructions. We demonstrate the effectiveness of M2Lingual by training LLMs of varying sizes and showcasing the enhanced performance across a diverse set of languages. We contribute the 2 step Evol taxonomy with the guided generation code: https://github.com/ServiceNow/M2Lingual, as well as the first fully synthetic, general and task-oriented, multi-turn, multilingual dataset built with Evol - M2Lingual: https://huggingface.co/datasets/ServiceNow-AI/ M2Lingual - containing 182K total IFT pairs, covering 70 languages and 17+ NLP tasks.
[ 0.0084252385, 0.0237385705, -0.0020913025, 0.0457066521, -0.0379584208, 0.0299049895, -0.0011070069, -0.0483651571, -0.023241207, -0.0283736121, -0.0602094419, -0.011718832, -0.0116224289, -0.0304581597, 0.0469094329, -0.0311722755, 0.0642347857, -0.0287749674, -0.0556307808, -0.0026084504, 0.0215019472, 0.0597250424, -0.0255765785, 0.0359004065, 0.0029405619, -0.0523860753, -0.0166149214, 0.0152212419, 0.0346222892, -0.0378575996, 0.0430262797, 0.044454392, 0.0269394759, 0.0388754532, 0.0000019317, -0.0245986804, -0.0041239699, -0.0134203443, -0.0471022502, 0.0003396371, 0.0294157472, -0.0341322832, -0.0230701696, 0.0111609157, -0.0118297152, -0.0001958975, 0.0601362139, 0.0413095206, 0.0617438778, 0.0735992119, 0.0085919816, -0.0381445065, 0.0356906615, -0.0267406106, -0.0102040721, -0.038837947, -0.0028700703, -0.0071831918, -0.0215517469, 0.0284902547, -0.0329691581, 0.0286918059, 0.0465320535, 0.0173367988, -0.0443024896, 0.0198594499, -0.0421147011, -0.0271737613, -0.0229089558, 0.0884798765, -0.0401331224, -0.0103084212, -0.0335300304, -0.0110892579, -0.0094566001, -0.0462273359, -0.0348082632, 0.0329912603, -0.0044039236, 0.02659286, 0.0537409969, -0.0460592806, 0.0254999287, -0.0036274083, 0.0053737001, 0.0523343794, 0.0300145913, -0.0328614675, 0.0210531093, 0.0022805452, -0.03294532, -0.0249029547, -0.035259597, 0.010336793, -0.0579769984, 0.0239371471, -0.0664573237, 0.0060163243, 0.0386156291, -0.0007036016, 0.0734820962, 0.0393826552, -0.0111335581, 0.0098971324, -0.01444529, 0.0520160906, -0.0159398019, 0.041248031, -0.0496769212, -0.0097922329, -0.0342245214, 0.0195451397, -0.0353099145, -0.0074227317, -0.0450565666, 0.0064721624, -0.0290556848, 0.0158814732, -0.0295327157, 0.0300832763, 0.0343173407, -0.0258367024, -0.0636859685, -0.0000466404, 0.0194422789, 0.0339473672, -0.0428932868, 0.021460291, 0.0041246209, -0.065436855, -0.0173921604, 0.0268590562, -0.019790329, -0.042366866, 0.0165597852, 0.0609863661, -0.0247865971, -0.0259044338, -0.0316409059, -0.0023565844, -0.0055925474, -0.0673633814, -0.0023022648, -0.0712064654, 0.0647463053, -0.0174188204, 0.0142157441, -0.0005955645, 0.0181181822, 0.0207133088, -0.006983507, 0.0544273183, -0.0042184321, 0.0067285253, -0.0253831986, -0.0285959728, 0.0188730881, 0.0758479983, 0.0278980937, -0.0237241294, 0.0462043919, -0.0115406141, -0.0228993017, 0.0834529251, 0.0254536048, 0.022049604, 0.0429324508, -0.0044482509, 0.0126931481, 0.0375384055, 0.061127726, 0.0389805026, -0.0086781094, 0.0091424882, 0.0178660005, 0.0131683908, 0.011180155, 0.0133351265, 0.0949597061, 0.0136204334, -0.0420180596, 0.039897874, -0.0759833679, 0.0255822074, -0.0123033747, 0.0245532822, 0.0168686993, 0.0588081963, -0.0522587299, -0.0139135746, 0.0047678789, 0.0015311139, -0.0058305091, 0.0000628895, 0.0260780621, 0.0258990899, -0.0528776795, 0.0245618336, 0.0530148447, -0.0274775606, 0.0117869545, -0.0212794095, -0.0157081224, 0.0661148578, 0.0174830593, -0.0121124862, -0.0981796011, -0.0020983852, 0.0227589644, 0.0451326035, 0.0512517579, -0.0299198311, 0.0248773415, -0.0816174746, -0.0167340152, -0.0106330467, 0.0008113468, 0.0066776099, 0.0236488096, 0.000882432, -0.0107255494, -0.0080446564, -0.0575664975, 0.0503581651, -0.0478191376, -0.0604263321, -0.0225780141, 0.0207876973, 0.0233311299, -0.0047799218, -0.0004641815, -0.005049597, 0.0387831368, -0.0169137027, 0.0312297493, -0.0092010228, -0.0517189354, -0.0614089668, 0.0448113754, -0.0101729175, -0.0714150742, 0.0176857486, -0.0823525414, -0.0410169177, -0.0235455818, -0.0053798021, 0.0000907594, -0.0035321773, 0.0389047787, 0.0301554073, 0.010262874, -0.036802832, -0.0003968399, -0.0259530004, 0.0422997214, 0.0135476589, -0.0109296981, -0.0052190907, -0.0216898229, 0.0025467093, 0.012325854, -0.0157365464, 0.022331208, 0.0029137402, 0.0711947381, -0.0628473759, -0.0509468913, -0.0653104112, 0.0351074263, -0.0383755825, 0.0400665142, 0.0561827756, 0.0008347599, 0.0012155834, -0.0041788868, -0.0375942439, -0.0093387961, 0.0050447579, 0.0228010565, 0.0039604004, -0.0043206224, -0.0255371854, -0.0378357023, -0.0230165776, -0.0145568261, -0.0243716203, -0.0346692167, 0.0312823802, -0.0664863288, 0.0041789766, -0.0023942739, 0.0299703497, -0.0193220563, -0.0505877547, 0.0170719959, 0.0043636407, 0.0712464303, 0.0479617119, -0.0273453668, 0.0252743904, 0.026717376, -0.0289208852, -0.0522568822, 0.0307377223, -0.0245662499, -0.0535378829, -0.0605066791, -0.0428689457, -0.0179885682, 0.071852982, -0.0135011943, -0.0017006592, -0.0765694082, -0.0300879013, -0.0062425984, 0.0045459955, 0.0170354154, 0.0465626195, -0.0253520664, -0.0050874338, -0.0549414195, -0.051952377, 0.0467086434, -0.0369132496, -0.0383784361, -0.0699643195, 0.0122484164, 0.0024291275, 0.0177392513, 0.0158125386, 0.0247463044, -0.0133220078, -0.0265358072, -0.0702740401, 0.0224182289, 0.0225292426, -0.0142504266, 0.0719097182, -0.0488437712, -0.0159523971, -0.0284785312, -0.0301760938, -0.0190541167, -0.0157771111, 0.0252250526, 0.0267326385, 0.0463736206, -0.0313151106, -0.0472280458, -0.0330164209, 0.0311983954, 0.0497499034, -0.0302437488, 0.0111985663, -0.0459381714, -0.017695507, 0.0679519102, 0.0227503069, -0.0025593757, -0.0458105318, 0.0495788194, 0.0248874035, 0.0446379334, -0.0242881663, -0.0002067275, 0.0133969365, 0.0540595502, -0.0356274135, -0.0176391583, 0.0074480497, 0.0880055428, -0.0515308231, -0.020301396, 0.1072647423, 0.0109459814, -0.0445284545, 0.0094091399, -0.0028967501, 0.0356726907, 0.0436917692, 0.0216692239, -0.0662508383, -0.0300340634, 0.0040569617, 0.0179706533, 0.0218043327, -0.0094996179, -0.0108865155, -0.1214892194, 0.0375158079, 0.0228915457, -0.0716155767, -0.0658344254, -0.0118566146, -0.0062670182, 0.0030344061, 0.0540731959, -0.0033627446, -0.0262215715, -0.004088481, 0.0308153257, 0.0120986681, -0.0619113706, 0.0524956621, -0.0515438318, 0.0798072666, 0.0813591778, 0.014633094, 0.0059851743, -0.0262894928, 0.03748345, -0.0214668401, -0.0309631545, -0.0105188619, 0.0500420108, -0.0217230394, -0.0243051406, 0.020785626, 0.0451334082, -0.0313573033, 0.0086039724, 0.0177133586, 0.0833615065, -0.0066935858, 0.0160267465, 0.0145468665, -0.0073563857, 0.0143097714, 0.0456872918, 0.011992055, -0.0497378521, 0.0082530528, -0.0301782545, -0.0031983813, -0.0788171589, -0.0217485167, 0.0514130332, -0.0578062721, 0.0074459049, -0.0555891804, -0.0906263813, 0.0708374158, 0.020652391, 0.0243562292, -0.0134444069, 0.03459315, -0.0548785217, -0.0296733472, 0.032182727, -0.0268247873, 0.0328714103, -0.0984066948, -0.0690191537, 0.0045692809, 0.0172105711, 0.0096653374, 0.0190535467, -0.0520948991, -0.0633170456, -0.0074790046, 0.0727018043, 0.0024244264, 0.0621192902, -0.0064978725, -0.0018190651, -0.0238119159, 0.0146958111, -0.0270508695, -0.0134176193, 0.0584009029, 0.0192191452, -0.0030515643, 0.0563188381, -0.0261700358, 0.0290892702, 0.0090023698, 0.068167299, -0.022016285, -0.0160130002, 0.0241552759, 0.0070556379, 0.0348785333, -0.0399592109, 0.0113914851, -0.0432620384, 0.0105339503, -0.004023097, -0.0446733795, -0.0298682414, 0.0061842506, 0.0192925967, -0.0207373481, 0.0099578882, 0.0169966426, 0.0099446699, -0.0290690456, -0.0418922082, 0.0163166244, 0.0042557651, 0.0255970974, 0.0159962457, 0.04108233, -0.0226850063, 0.0008417872, 0.011444822, 0.0476907268, -0.0215319134, 0.0723758265, 0.0358382091, 0.0385110378, -0.023798665, 0.0346295647, 0.016230626, -0.0236398336, -0.0306837372, -0.0155609353, 0.0801145583, -0.0386581346, 0.0790570751, 0.0037567373, -0.0226604939, -0.0216917619, 0.0340253599, -0.0307005979, -0.0179245453, 0.0359594189, 0.0395990424, -0.0002963583, -0.0121609867, 0.0714120567, -0.0211565103, 0.0483163111, 0.0087775467, 0.0542730838, -0.0313099623, -0.0444737263, 0.0002048419, -0.0196504854, -0.0106348516, 0.0201216284, -0.0057594972, -0.0639848039, -0.0481934212, 0.0321893841, -0.0137840742, -0.0052179755, 0.0419550538, 0.0362859778, -0.039348837, -0.0201348048, -0.0423994809, -0.0138674201, 0.0191544276, -0.0393766426, -0.0402407125, -6.113250207e-33, -0.0406405032, 0.0129674217, 0.0521691665, 0.0104824612, -0.0262061711, -0.0079840049, -0.0174543727, -0.0074023441, -0.0336964875, 0.0233075973, 0.0075621288, -0.0125903264, 0.0084415972, 0.0465433709, 0.0469563194, 0.0081601348, 0.0445243157, -0.0183686204, -0.0078554852, 0.0498518981, 0.0166951492, -0.003266494, 0.0861473083, -0.037666887, 0.0272892565, -0.0107551636, -0.0063210842, 0.0248904414, -0.0561592579, 0.0689589232, 0.0066625527, 0.0208475403, 0.0162014142, -0.0238839313, -0.0389972739, -0.0091758091, -0.0745965913, -0.0280877165, 0.013630528, 0.0331017561, -0.050344497, -0.04044085, 0.0089210598, -0.0333477966, -0.0160173513, -0.0095733115, 0.026512932, -0.0159788467, -0.005379715, 0.0022244249, -0.0926148072, -0.0084374612, -0.002290633, -0.0681210309, 0.014138788, 0.0348671153, 0.020455841, -0.0111474302, -0.0484557413, -0.0013567072, -0.0176125448, 0.0697909296, 0.0818203539, 0.0142674977, 0.0063804984, 0.0175312124, -0.0116097387, -0.0129951574, 0.0434140526, 0.0244985037, 0.0331088603, 0.0449292101, 0.0174134504, 0.0181855094, 0.0245431457, 0.0200881492, -0.0127455639, 0.0275921375, 0.0124431131, 0.0499696061, 0.0019648275, -0.0171309318, -0.0056855329, -0.021764474, -0.031033136, -0.0117677115, -0.0165628027, -0.0047893459, 0.033599142, 0.0001988897, 0.0238400064, 0.0123359133, 0.0456759706, -0.0029507922, -0.0402551852, -0.0064998548, -0.016689375, 0.0124043738, -0.0133823166, 0.0315376595, -0.084622547, -0.0699692816, -0.0011507444, -0.0290903766, 0.0319427215, 0.0241085067, 0.073988907, 0.0148326354, -0.0664029047, 0.0201358236, -0.0520630553, 0.0504794866, -0.0060205087, 0.0210063122, 0.033018589, 0.0029730087, -0.0098078325, 0.0714332759, 0.0352296568, -0.0397618599, -0.0237316117, -0.039049685, -0.0037039013, 0.0420353003, -0.0252629183, 0.0257004444, -0.0669215173, 0.002864179, -0.0008111153, -0.0305830408, -0.0104378434, 0.023936294, 2.565e-7, 0.0410358831, 0.048222322, 0.0383154675, 0.0300953276, 0.0004515002, 0.016430717, -0.0343135782, -0.0063157966, -0.0217308812, 0.0250895526, 0.004431807, 0.0187230203, 0.0518621206, 0.0193083864, -0.059035603, 0.0130376164, -0.0420356691, 0.0427859873, -0.0534856059, 0.0200068504, 0.0192178804, 0.1160565466, 0.0048575364, 0.0124187218, 0.0147978906, 0.0105795339, 0.0269902535, -0.0260770638, 0.0192997009, 0.038897384, -0.0388032272, 0.0163122136, -0.0209221952, 0.0124614704, -0.0296145845, 0.0006147047, -0.0336955264, 0.0826367438, -0.0010385776, -0.0070054079, 0.0289409198, -0.0207073763, -0.0232338589, -0.0416957401, 0.030663047, -0.0491962843, -0.0028271745, -0.0048180791, -0.0162585862, 0.0361793377, 0.0069027077, -0.0349855609, -0.0199871827, 0.0412919335, 0.0462218523, -0.0275401622, -0.0518934876, -0.0631768033, 0.0061072581, 0.0513490774, -0.0253842119, -0.0271113403, -0.0136193372, -0.0156303495, -0.0176606756, -0.0326427147, -0.0140156457, 2.5842853e-34, 0.0123623833, -0.0237779226, 0.0614486076, 0.0317859873, 0.0107272817, -0.0406463966, -0.0468307473, 0.0418547131, -0.0042920178, -0.0555565991, -0.0290897544 ]
http://arxiv.org/abs/2406.16779v1
http://arxiv.org/pdf/2406.16779v1
It Is Not About What You Say, It Is About How You Say It: A Surprisingly Simple Approach for Improving Reading Comprehension
"2024-06-24T16:43:11"
"2024-06-24T16:43:11"
Sagi Shaier, Lawrence E Hunter, Katharina von der Wense
cs.CL
cs.CL
Natural language processing has seen rapid progress over the past decade. Due to the speed of developments, some practices get established without proper evaluation. Considering one such case and focusing on reading comprehension, we ask our first research question: 1) How does the order of inputs -- i.e., question and context -- affect model performance? Additionally, given recent advancements in input emphasis, we ask a second research question: 2) Does emphasizing either the question, the context, or both enhance performance? Experimenting with 9 large language models across 3 datasets, we find that presenting the context before the question improves model performance, with an accuracy increase of up to $31\%$. Furthermore, emphasizing the context yields superior results compared to question emphasis, and in general, emphasizing parts of the input is particularly effective for addressing questions that models lack the parametric knowledge to answer. Experimenting with both prompt-based and attention-based emphasis methods, we additionally find that the best method is surprisingly simple: it only requires concatenating a few tokens to the input and results in an accuracy improvement of up to $36\%$, allowing smaller models to outperform their significantly larger counterparts.
[ 0.0373918042, -0.008395168, -0.0230317749, 0.0157181695, -0.0578308105, 0.0269902945, 0.0389990248, -0.0291768964, -0.0185218584, -0.0418115333, 0.011592227, -0.0096503468, 0.0472947918, 0.0047335546, 0.0436995327, -0.0845856965, 0.0742117092, -0.0259207916, 0.0511708334, -0.0018328056, 0.0248975568, -0.0124336444, -0.0089009218, 0.0106440214, 0.027173603, -0.0147846686, -0.0126543269, 0.0067650699, 0.00876489, -0.0076524541, -0.019394476, 0.0269939024, -0.0396827608, -0.0086330352, 0.0000022354, -0.035714522, -0.0296868626, -0.0139935259, 0.0144028431, 0.0606241301, 0.040750403, -0.0394986309, 0.0126944026, 0.022253789, -0.0208084788, 0.0202017669, 0.0167628955, 0.0694475323, -0.0018410733, 0.040646404, 0.0130866505, -0.0264490955, 0.0068767844, 0.0197879113, 0.0160444323, -0.0438296534, 0.0121440068, 0.0040655392, 0.0227227136, 0.0433321409, -0.0511861369, 0.0794234574, 0.0184973367, 0.0394124649, 0.0465844199, 0.0428328216, 0.0384263322, -0.0031182072, -0.0219792612, 0.0466303006, 0.0042340434, -0.0049973554, -0.0475425236, -0.0235668533, 0.0169355702, 0.0187736601, -0.0354213007, 0.0068808156, -0.0260009207, 0.001520745, 0.0427960046, 0.0094975093, 0.0051643057, 0.0336617604, -0.0234359875, 0.0793767869, 0.0052693356, -0.0756581947, -0.0067565138, 0.0056609046, -0.0433269218, -0.0392873921, 0.0374187827, 0.0273935348, 0.0262403488, 0.0329226665, -0.0163847916, -0.0373968333, 0.0187777877, -0.0147983842, 0.0036125472, 0.0466286689, -0.0454343706, 0.023973383, -0.0423813537, 0.0524267145, -0.005728066, 0.02872587, -0.0543933138, 0.0091444133, -0.0015476581, -0.0159427542, -0.0477771163, 0.0164624583, -0.0430210829, -0.0276325438, -0.0248278119, 0.0046993415, 0.0261075664, -0.0351432525, -0.0638965219, -0.0164742991, -0.0294237174, 0.0228223074, -0.0055597969, 0.0357106365, -0.074288398, 0.0600200035, -0.0007117884, -0.0570138283, -0.0254853163, 0.0231702477, -0.0026103628, 0.003228643, -0.0443165638, -0.0026379291, -0.0192927197, -0.0457628369, -0.0180916861, -0.0306048598, -0.015141177, -0.0304684639, -0.0257743634, -0.0488347821, 0.0115149403, 0.0518525094, -0.0149853071, -0.0197578445, -0.0168879367, 0.0266905967, -0.0408420451, 0.0471924767, -0.0123857884, 0.01165553, 0.0370367654, 0.0325741805, -0.0006096148, 0.0211650766, 0.0172801241, -0.0145214656, 0.0456895493, -0.0068717031, -0.0120548233, 0.0225586891, -0.0265226439, -0.0115479864, 0.0209835283, 0.0206555538, -0.0563816689, 0.0342525169, 0.0441080965, 0.0452698097, -0.0418797135, 0.0216422491, 0.0958484635, 0.0504132658, 0.0030699875, 0.0053622583, -0.0042039719, 0.0495206043, 0.0161865894, 0.0395895578, 0.0109507311, -0.0363421217, -0.0400757827, 0.0566521958, 0.0386677347, -0.0555622093, 0.0046898732, -0.0607575476, -0.0295599569, 0.0328219086, 0.0345978029, 0.0507601574, 0.0101326285, 0.0313115083, -0.0678130984, 0.015690878, 0.0048483531, -0.0317517705, 0.0048852107, -0.0380915143, 0.0334139802, 0.0116306106, -0.0281976089, 0.0098644542, -0.0082519455, 0.0124040907, 0.0325265601, 0.0327827558, 0.0075028581, 0.0062662796, 0.0135623878, -0.026804477, 0.0182410814, 0.0049794437, 0.0161867961, 0.0146314865, -0.0208935253, 0.0080559459, 0.0250960439, 0.0010670787, -0.0138782421, 0.0164296106, -0.002645799, -0.0478103571, -0.0186143313, 0.0078943493, 0.0109537756, 0.009554985, 0.0224124193, 0.0119781774, -0.0036329415, -0.0125628477, 0.0215080567, 0.0029486094, -0.0848140195, -0.0287879407, -0.0254306085, -0.0096790949, -0.0091312733, 0.0273343194, 0.0129303206, -0.03246722, 0.0098355347, -0.0451358259, 0.0665854514, -0.0104644857, -0.0088962996, -0.0173057467, -0.0048401891, -0.0678913817, 0.038351763, -0.0022030936, 0.0250954144, 0.0278591346, 0.0413379036, -0.0055725528, -0.034070529, -0.0124427658, 0.0030031221, 0.0107360184, -0.0014679005, 0.0122270258, -0.0134209748, -0.0790044516, 0.015535566, -0.0674836338, -0.0195517056, -0.028828118, -0.0243893061, 0.0376844816, 0.0034857169, -0.0204094015, -0.029313894, 0.0043741059, 0.0089678075, -0.0282055829, 0.0278063007, 0.0500856675, 0.0664130226, -0.0056286473, -0.0228143819, -0.0302622411, -0.0154630886, 0.0278995819, 0.0647476837, -0.0024850047, -0.075713262, 0.0192016177, 0.0074266028, -0.0509527512, -0.0035258955, -0.0394460484, 0.0020804564, 0.0090527106, 0.006020749, 0.0758152008, 0.0129003152, 0.0038193653, 0.0076672547, -0.0047368035, -0.0449503772, -0.0036127272, -0.0241957903, 0.0108872419, 0.0018949267, -0.0450450033, -0.0030793299, 0.0473914035, 0.0682115108, -0.0041779717, -0.0433224104, 0.0222123601, -0.0539317541, -0.0349080265, -0.0749596059, -0.0804936215, -0.0421226062, 0.0562891662, -0.0328647345, -0.0331897587, 0.0654500872, -0.0268613584, -0.0262132846, -0.0744861737, 0.0158589073, -0.0307234433, 0.0230684727, -0.0198656302, 0.0088367071, 0.0019900028, -0.0784559771, -0.027025193, 0.0084734103, 0.0066248118, 0.0049440889, 0.0762099028, -0.0403687581, -0.015491209, 0.0120044183, -0.0437679142, -0.0590426549, -0.0236185119, -0.0349285863, -0.0088759223, 0.0307092648, 0.0100816051, -0.0405462086, 0.0236028042, 0.0567907393, 0.0237265769, -0.0580594502, -0.0158963278, -0.0386812799, 0.013633321, 0.0209364388, 0.0206678677, 0.0420030318, -0.0447488688, 0.0384960547, 0.0535942577, 0.014316625, 0.0080899224, -0.0139825484, 0.0133242719, 0.0576700382, -0.0681365058, -0.0259263366, 0.019106945, 0.0573357753, -0.0941266343, -0.011569012, 0.1170456931, 0.0139909862, 0.0170863383, 0.0065176841, -0.0193359535, 0.0250957161, -0.0119387703, 0.0020634199, -0.0383841246, -0.033799842, -0.0000390143, 0.0619112179, 0.0115866689, -0.0037970815, -0.0270227417, -0.0603195392, 0.0045634997, 0.0161744393, -0.0992542431, -0.0119585684, -0.0752616152, 0.0148970708, 0.0251509193, 0.0594620705, 0.065084666, -0.0257020555, 0.0125264712, 0.0231657941, -0.003642197, -0.0292929541, -0.0350449234, -0.0069898176, -0.0034584813, 0.0298770368, -0.0089293718, -0.0264297873, 0.0150040928, 0.0330833495, -0.0155341187, 0.0337398276, -0.0465287827, 0.0273305979, -0.0314454064, 0.027560655, -0.05634325, 0.0271667875, 0.0066094934, -0.0158644766, 0.0051235538, 0.0158048086, 0.0186234023, -0.0057569151, -0.0287502725, 0.0657793954, 0.0289309509, 0.0927201137, 0.0532859601, -0.0262515526, -0.0148841143, -0.018568052, 0.0067633246, -0.0204966702, -0.0504729524, 0.0113003552, 0.0090644984, -0.0277803615, -0.0537197888, -0.1244993284, 0.0124692768, 0.0207081828, 0.0255087595, 0.0572879687, 0.0223755967, -0.0196306817, -0.0157006308, 0.0555895902, 0.0357052162, -0.0158061478, -0.0657628849, -0.0064647468, -0.0220998581, -0.0169835817, -0.0470403284, 0.0289281216, -0.0373490751, -0.0258806888, 0.0376051925, 0.022517778, 0.0179822054, 0.035158135, 0.0105689401, -0.0637147725, 0.0201574173, -0.0304295924, -0.0112911724, 0.0284263976, 0.0208230168, -0.0400868133, 0.0207473394, 0.0374701768, -0.0013451232, 0.0320807397, 0.0154329054, 0.0356527381, -0.0620990135, -0.0472026169, 0.0103313429, 0.0346795619, 0.0842167363, 0.008444461, -0.0416384488, -0.0144870179, 0.0055204364, -0.0297560971, -0.0054687811, -0.0002447326, -0.0199371241, 0.006615642, -0.0068371771, -0.0530010089, 0.0005617682, -0.048967611, 0.0411013924, -0.0466447063, 0.0691862926, -0.0074933213, 0.0116358837, -0.0003820344, 0.0212461967, -0.0430767797, 0.0320091769, -0.0084671928, 0.0506574847, -0.0082708523, 0.0761728734, 0.0218535066, 0.004090575, -0.0153611861, 0.0035656504, -0.0943141207, -0.0167524982, 0.0312137045, 0.001777494, -0.0203506388, -0.0670965686, 0.0563264377, -0.0306133088, 0.0022229566, -0.012150215, 0.0287104584, 0.0011843441, -0.0506341085, 0.0389342159, 0.0035063133, 0.0076328781, -0.0175614543, 0.0315811187, -0.0127714472, -0.0275114272, 0.0244111419, -0.0102117565, -0.0180090051, -0.0032903161, 0.0232444182, 0.0653483793, -0.0289957821, 0.0409783572, -0.0911578238, -0.0065662796, 0.0193834603, -0.0006396397, 0.0389198959, -0.0259168334, 0.0497450307, 0.0506563149, -0.009354338, -0.0668728054, -0.0372963995, 0.0428349078, -0.0208882261, -0.0328798629, -0.0074730651, -6.753196678e-33, -0.0098057091, -0.0130054718, -0.0044282223, -0.0342302136, -0.0170754157, 0.0299983881, -0.0576894209, 0.0292519107, -0.0060046078, 0.0029537079, -0.041990146, 0.0282454472, 0.0222604237, 0.0316956267, -0.0142682381, 0.0069039399, 0.0285655931, 0.0169122312, -0.037723016, -0.0238363557, 0.0308159608, 0.0326314457, 0.0448334925, -0.0719687492, 0.0498746224, -0.0325947292, -0.0002328661, -0.0412674993, 0.0243458562, 0.0146186603, -0.0029764264, 0.08242964, 0.0188222472, -0.0666862875, -0.0120443767, 0.0812588558, -0.0347672515, -0.0406250022, 0.0738551244, 0.0366061553, -0.0857821032, -0.0027921603, 0.0303323008, -0.0185480192, 0.0142287062, -0.006239688, 0.0478253365, -0.0399578214, -0.0301498994, 0.0275666416, -0.0859677643, 0.0271260794, -0.0432222448, 0.006869622, 0.0296133552, 0.02702366, -0.0042066155, 0.0339167193, -0.0463744774, 0.0196955744, 0.0533918813, 0.0196453016, 0.0429123603, 0.025924664, -0.0135708181, 0.019490255, -0.0109177427, 0.018162176, -0.0108490605, -0.0266874358, 0.0341160744, 0.0013746235, 0.0320515856, 0.0312994048, 0.0493620373, 0.0038377969, -0.0624424368, -0.0069450457, -0.000426072, -0.014383737, 0.0273951255, -0.0275221113, -0.1199146584, -0.0286258776, -0.0490180925, -0.0135632325, -0.0260166563, -0.0240056384, 0.0306467321, -0.0388283692, -0.0582000501, 0.0123120816, 0.0115809701, -0.0095181037, -0.0082459925, 0.0097251236, -0.0408272222, 0.0143347429, -0.0118299872, 0.0731624067, -0.0579458661, 0.0401832201, -0.0260654818, 0.0194532089, 0.035138607, 0.0165254232, 0.0187289733, -0.0212136693, -0.0559525229, -0.0162497889, 0.0048968275, 0.0272411685, 0.0046546315, -0.0288214032, 0.0498179533, 0.0363366939, -0.0020890466, 0.0887564868, 0.0092226602, -0.025761636, -0.0398447588, -0.0140247829, -0.0445223078, 0.0211802833, -0.0530868582, 0.0022424089, 0.0119311213, 0.0284841191, 0.0236637648, -0.0571647361, -0.0204993971, 0.0713321716, 2.826e-7, 0.0426232181, 0.0696416125, 0.016299149, 0.0566310473, -0.0128747597, 0.0272416007, 0.0038334397, 0.0141606499, 0.0452768169, 0.0183104426, -0.0117784124, 0.0454868749, 0.0129911359, -0.0168165751, -0.0867074504, -0.0715165809, -0.051600039, 0.0838505849, -0.0297299549, 0.0201595984, 0.0640741363, 0.0727129877, -0.0218115784, 0.0024227083, -0.0040153484, -0.0113790985, 0.0196407847, -0.0247246083, 0.0449068211, 0.0282013211, 0.0270390324, 0.0218041074, 0.0286930501, 0.0548959188, -0.0039166771, -0.0236045793, 0.0325894989, 0.0657335892, 0.0370661654, -0.0449573584, -0.0311056394, 0.0185790714, -0.0005371641, -0.1059697643, 0.0634932742, -0.0388831869, -0.0182722732, 0.0236408692, -0.0464427769, -0.0107875615, 0.0082238317, 0.0146418633, -0.0572608337, 0.0037937085, 0.0241238363, -0.0714779124, 0.0116344597, -0.0730987862, -0.0032160524, 0.0121938428, -0.009464222, -0.0082683871, -0.0260164291, -0.0135814212, 0.0502882265, -0.0701742694, -0.043226283, 2.580759735e-34, -0.003185313, -0.0118649686, 0.055496823, 0.0257363748, 0.0010407894, -0.0074948976, 0.0113014467, -0.0008957321, 0.0555602387, -0.0713073388, -0.046006348 ]
http://arxiv.org/abs/2406.16778v1
http://arxiv.org/pdf/2406.16778v1
Finding Transformer Circuits with Edge Pruning
"2024-06-24T16:40:54"
"2024-06-24T16:40:54"
Adithya Bhaskar, Alexander Wettig, Dan Friedman, Danqi Chen
cs.CL
cs.CL
The path to interpreting a language model often proceeds via analysis of circuits -- sparse computational subgraphs of the model that capture specific aspects of its behavior. Recent work has automated the task of discovering circuits. Yet, these methods have practical limitations, as they rely either on inefficient search algorithms or inaccurate approximations. In this paper, we frame automated circuit discovery as an optimization problem and propose *Edge Pruning* as an effective and scalable solution. Edge Pruning leverages gradient-based pruning techniques, but instead of removing neurons or components, it prunes the \emph{edges} between components. Our method finds circuits in GPT-2 that use less than half the number of edges compared to circuits found by previous methods while being equally faithful to the full model predictions on standard circuit-finding tasks. Edge Pruning is efficient even with as many as 100K examples, outperforming previous methods in speed and producing substantially better circuits. It also perfectly recovers the ground-truth circuits in two models compiled with Tracr. Thanks to its efficiency, we scale Edge Pruning to CodeLlama-13B, a model over 100x the scale that prior methods operate on. We use this setting for a case study comparing the mechanisms behind instruction prompting and in-context learning. We find two circuits with more than 99.96% sparsity that match the performance of the full model and reveal that the mechanisms in the two settings overlap substantially. Our case study shows that Edge Pruning is a practical and scalable tool for interpretability and sheds light on behaviors that only emerge in large models.
[ -0.0008214287, 0.0498108491, -0.0287047289, 0.077528812, -0.0381899774, -0.0164294504, 0.0143303275, 0.0013190365, -0.014695676, 0.0175649635, -0.0364479646, 0.0046536662, 0.0081937294, 0.0465723984, 0.0169078391, 0.0114181787, 0.045265764, -0.0383555777, -0.0354292318, -0.0150813982, -0.0136421621, 0.0235394463, 0.0164288301, 0.0674451217, 0.0051698103, -0.0169196408, -0.0357578136, 0.0043893331, 0.0175278597, 0.0291232187, -0.0161438547, 0.0616322011, -0.0102701662, 0.0417217575, 0.0000022757, 0.0289288666, -0.0462946258, -0.0190496985, -0.0600026324, 0.0303453598, 0.0113154193, -0.0148898792, -0.0199944787, -0.0044187885, 0.0015838111, -0.0436258949, 0.0867203772, 0.0244649909, 0.0475286692, 0.0606393926, -0.0090188459, -0.0446107201, 0.0052522602, -0.0067510349, 0.0075487439, -0.0193428323, 0.0022509075, -0.0667653531, 0.0056766262, -0.0669992939, -0.0208224952, 0.0053635449, 0.0344033875, 0.013813369, -0.0213254895, 0.019628007, -0.0448304303, -0.0280256066, -0.0048800954, 0.0625599325, -0.053593345, -0.0503475815, 0.0148213236, 0.021255305, -0.0384262875, -0.0217344649, -0.0030926464, 0.0014304203, -0.0400044359, 0.0159160513, -0.0223505739, -0.0626929849, 0.0376809239, -0.0454486497, -0.0410832129, 0.0963309184, 0.0124819521, 0.0131084155, -0.0380647071, -0.0145729566, -0.048296079, -0.0195049122, 0.0374863856, 0.0143612688, -0.0154119665, 0.001416253, -0.0083270837, 0.0214546658, -0.0458837412, 0.0303426404, 0.0611666776, 0.0503899269, 0.0066818567, 0.0049460479, -0.0237308443, 0.0387165546, -0.0287355632, 0.0453495868, -0.0483445227, 0.0382763185, -0.0398810245, -0.0406138562, -0.0521624684, 0.0424253717, -0.0080097001, -0.0279212985, -0.0089075202, 0.0114471968, -0.0337888822, -0.0247926582, 0.0145701347, 0.0000840516, -0.0045264056, 0.0058183856, 0.0148094306, 0.0523392856, 0.0088474983, -0.0229843315, -0.0410447121, -0.0609635599, -0.0342910327, 0.0047557373, 0.0196145847, -0.0225057397, 0.0046685147, 0.0578238145, 0.0017054309, -0.0669274032, -0.0741737634, -0.0347757004, -0.0176724922, -0.0352776758, 0.0161244292, -0.0700908825, 0.0132567529, -0.0006891947, 0.0103016086, -0.0341839194, 0.0077091069, 0.0496170782, -0.0077229147, 0.0572644174, 0.0160771627, -0.0038320669, -0.0071142241, 0.0042805728, 0.0162012521, 0.0357066095, 0.0360018723, 0.0239509344, -0.0155233908, -0.0234662648, -0.0056843883, 0.0516804047, 0.048719883, -0.0308434516, -0.0112551739, -0.0665096417, -0.0006402012, -0.0293510091, 0.0186434723, 0.0656637475, -0.0137334876, -0.0154993376, 0.0551041216, 0.0201877318, 0.0420934372, 0.0516245104, 0.0385465994, -0.0021274504, -0.0086859642, 0.0378255136, -0.064830929, 0.0291994866, -0.0312620141, 0.0277114846, -0.0169071946, 0.0288394392, -0.0068905181, -0.0195875652, 0.0002322031, 0.0032049033, -0.005951649, 0.0037255143, 0.0360395163, 0.0065070591, -0.0954545587, 0.066914849, 0.0241595339, -0.0199237093, -0.0399013497, -0.0829938203, 0.0149625586, 0.0418341607, 0.045991268, -0.0118242316, 0.0159534048, 0.0231026374, -0.0257576331, 0.0020516906, -0.0289907716, -0.0226357672, 0.0322616622, -0.0038238592, -0.0108245853, -0.0269573107, 0.047901962, 0.0331734456, 0.0024914844, -0.0541050844, 0.0089141922, -0.0497055948, 0.0103669427, 0.0143501321, 0.0188149475, -0.005745105, 0.046887286, 0.0443450212, -0.0166746154, -0.0187545624, -0.0131624164, 0.0154927941, 0.0255177878, -0.0488888547, 0.0506903157, -0.0047812234, -0.063842319, -0.0192121211, 0.0527710952, -0.0399878398, 0.0003182063, 0.0595429167, -0.0141397472, -0.0349686407, 0.0307382178, -0.0922186524, 0.0582015589, -0.0071372553, 0.0103344051, -0.0151458699, 0.0032014046, 0.000630385, 0.084959574, 0.0377553999, -0.0132817226, 0.0509581529, -0.0170943439, 0.0155530171, -0.0197773464, -0.0360082574, -0.004208778, -0.0213265996, -0.0207201634, 0.0047136499, -0.0264269672, -0.0046561086, -0.0098060127, -0.0640210211, -0.0123147648, -0.0149009051, 0.0203402396, 0.0312149823, -0.0030132963, 0.0379977338, 0.0362347811, 0.0249307379, -0.0118346661, -0.0105381915, 0.031638477, 0.0064191143, 0.0159515943, -0.0832842886, -0.0350247957, -0.0511428528, -0.0346823335, 0.0759919956, -0.0247296169, -0.0018392943, -0.0508330613, 0.0397182852, 0.0625628456, 0.0415085144, -0.0158219878, -0.049092412, 0.0046100379, 0.0023128211, 0.0283001047, 0.0653329715, -0.000057261, 0.0611627102, 0.0735290721, -0.0171255898, -0.0003769771, 0.0055745565, -0.0243651252, -0.0121261841, -0.0231391098, -0.048720412, -0.0271224007, 0.1140600666, 0.0117202885, 0.0096194874, -0.0736244023, -0.0155012105, 0.0062104305, 0.0192404352, -0.0289681572, -0.0370911881, -0.0106384195, 0.0502918363, -0.0188790634, -0.0495320894, 0.0591665134, -0.0208859332, -0.0026760192, -0.0260308571, -0.0111508369, -0.0250386633, 0.0578041673, 0.0457741097, 0.0507130846, 0.0390328802, -0.0022114576, -0.063367404, 0.0399140231, 0.0265552588, -0.0121544264, 0.0529538244, -0.0347095728, 0.0208738614, 0.015857581, -0.0241523869, -0.0197251774, 0.0380319692, 0.0082577653, 0.0213124901, 0.0629777312, -0.0583831184, -0.0387875363, 0.0471944138, -0.0034894117, 0.0597163551, 0.0108497245, -0.0110770818, -0.0220412109, 0.0174872708, 0.0229969732, -0.0447256044, 0.0433388837, -0.0476079732, 0.0468576029, 0.0137011856, 0.022133803, 0.0246491432, -0.0581724942, 0.015320831, 0.0121300947, 0.0043643774, -0.0000016075, 0.0189367291, 0.0221129414, -0.0304088145, -0.0516264886, 0.0893411711, 0.0240777489, -0.0851650685, 0.0271197595, 0.0072105392, 0.0176696014, 0.0288203489, 0.0417934395, -0.0821145028, -0.00901483, 0.0098726079, 0.0169782564, -0.0058607794, 0.0218907334, 0.0060925805, -0.0875339881, 0.0369327143, 0.0087289549, -0.0322047137, -0.0417168662, -0.0506915711, -0.019547049, -0.0207923427, -0.0096718231, 0.0204329919, -0.0296608545, -0.0087674139, -0.0015484921, -0.0130119473, -0.0313782953, 0.037732102, 0.0395135917, -0.0116987694, 0.0435503647, -0.0088161388, 0.005980521, -0.0335011519, 0.0519570969, -0.0109653063, 0.0070978738, -0.0317502394, 0.0256930087, 0.0666923523, -0.0301022846, -0.0138203222, 0.0262194481, -0.0383818783, -0.0323606394, -0.0548513345, 0.0778226107, -0.0230484344, -0.0482605956, 0.0158446711, -0.0042937011, -0.02192761, 0.0301809702, 0.0347008035, -0.0099995639, -0.043548204, -0.0252224877, 0.0374871492, -0.046985697, -0.0977979451, 0.0179318562, 0.0467222966, -0.0569688082, 0.0082918638, 0.03869991, 0.0051654885, 0.0132767288, 0.0077078794, -0.072975643, 0.0173851084, -0.0005796329, -0.065857999, 0.0260587893, -0.0173889473, 0.0287217107, -0.0976140574, -0.0439272821, -0.0038350732, -0.0478830002, -0.0630078241, -0.00080516, -0.1006592959, -0.0678110868, 0.0050047799, 0.0514875911, 0.0234518815, 0.0293596946, 0.0035997042, 0.0243959744, -0.0133696785, 0.0581717342, -0.0264386535, 0.023182869, 0.0306602325, -0.0903252587, -0.0300886892, 0.0239442606, 0.022524856, 0.0503786132, 0.0387911499, 0.0214108191, -0.0409460962, -0.0085708853, 0.0816635862, 0.0010276608, 0.064939186, 0.060692098, 0.0192541089, -0.0518660545, 0.0240136851, 0.0417560861, 0.0116775222, -0.0497133918, -0.0377900451, 0.0060463804, -0.0003673613, 0.025352763, -0.0704040378, 0.0231419671, -0.005265173, -0.0301789101, 0.0543917492, 0.0066092815, -0.0047689388, 0.027396109, -0.023282811, 0.0009119378, 0.0165659375, 0.0143212592, 0.045347847, 0.0016903982, -0.002373141, 0.0252843294, 0.0133706294, -0.0391121432, 0.0211993773, -0.0354709402, -0.0576784238, -0.0512816831, 0.0068089822, 0.035285335, -0.0229482614, 0.0141677661, -0.0268046837, 0.0052520623, -0.0387675315, 0.0126791056, 0.0292490367, -0.0194917135, 0.0368602425, 0.0454526804, 0.0231762137, -0.0522870682, 0.0586447902, 0.0054249344, 0.0798780695, 0.0082254009, -0.0195538849, -0.0345504619, -0.0598453507, -0.0352456942, 0.0094417641, -0.0486235917, -0.0046711033, -0.0387065336, -0.0575423017, -0.018012831, 0.0009093948, 0.0353605375, -0.0206030551, 0.0499967299, 0.0435391963, 0.0297461469, -0.0246552676, 0.0235971771, -0.0255318414, 0.0070250514, -0.0005029459, -0.002985646, -6.457844907e-33, -0.0243424103, -0.0497250669, 0.0145084588, 0.0447026417, 0.0095715253, 0.0294253584, -0.1053716093, 0.0069845608, -0.0306177437, 0.0036627846, -0.0050277053, -0.0053106663, 0.0201215986, 0.0077497261, -0.0020089112, -0.0063734767, 0.0585510992, 0.0388621427, -0.0359491892, 0.0408975817, 0.0212972034, 0.0136171123, 0.0674081072, -0.0462460928, -0.0449382961, 0.0160540938, -0.0264514927, 0.0005190843, -0.0505086631, 0.0586027354, -0.0134323454, 0.0363480598, -0.0072644218, -0.0493677109, 0.0219925027, -0.0167919286, -0.0503608435, 0.0167152639, 0.0286956411, 0.0317983367, -0.0086146761, -0.0575416684, 0.0135546159, 0.0093609598, -0.0246615969, -0.0381386131, 0.0296401866, -0.0151274977, 0.0066795838, 0.0109622823, -0.0712050721, 0.0219895095, -0.0051074643, -0.0583509319, 0.0317666121, 0.0340180844, -0.0201209337, -0.0060283444, -0.0527629741, 0.035269402, 0.0416602269, 0.08272098, 0.0817452297, 0.0052113961, 0.0244647413, 0.016792072, 0.0144834211, 0.011166825, -0.0007391612, -0.0020929931, 0.0333167538, 0.0884698853, 0.0106994612, -0.069114089, 0.0469632372, -0.0208464712, -0.0496698059, -0.0193241909, 0.0195513014, 0.0720741823, 0.0418636501, 0.0121397153, -0.0108497674, -0.0181380846, 0.0043316423, -0.0156217497, -0.0638235211, -0.0321290344, 0.0006140318, 0.0244156811, -0.0431318581, 0.0068205749, 0.0215840321, -0.049586989, 0.0372939706, 0.0386529863, -0.0016396483, 0.0297825448, -0.0055689141, 0.0082301218, -0.0046912292, -0.0574207827, -0.0178102311, -0.0231911596, 0.0319500566, 0.0186533928, -0.0121453525, 0.0558767766, -0.0145086581, -0.0145821869, -0.0774331614, 0.003589825, -0.0412870757, 0.0512778386, 0.0118978079, 0.0191623904, -0.0169475898, -0.0052146446, -0.0007795016, -0.0082059642, -0.0248930138, 0.0454977341, -0.0077095316, 0.0453005508, -0.0356006585, -0.0507595651, -0.0632972196, 0.062598139, -0.000679734, -0.0284556858, -0.0369166136, 0.0196764059, 3.027e-7, 0.044053521, 0.0163497459, 0.018080797, 0.0641013533, 0.0115710255, 0.0027106458, 0.0157277063, -0.0271408968, -0.0092209019, -0.0336814262, 0.0058423914, 0.0144202132, 0.0345540382, 0.0160387103, -0.0500581563, 0.0415239111, -0.065752767, -0.0172571428, -0.0276544746, -0.0114267077, -0.0011199687, 0.0832795501, -0.0194004606, -0.0257143825, 0.0096333697, 0.0182771217, 0.0026017404, -0.0227355435, 0.0536296628, -0.0007493749, -0.0497877263, -0.0384314358, -0.0325848386, 0.0338837951, 0.0002641767, 0.0139189856, -0.0346091911, 0.0486905873, -0.0077509624, 0.0099250041, 0.0394107848, -0.0020058746, -0.0151488194, -0.0567587949, 0.0443903059, -0.0114645483, -0.0102721676, -0.0296068415, 0.0141472146, -0.0424465835, -0.0091812424, -0.0234600473, 0.0240107663, 0.0207299888, -0.0144473175, -0.0465757847, 0.0229273979, -0.0230416786, 0.0174327716, 0.0382616036, -0.0399185643, -0.0240150783, -0.0535655394, -0.0013103498, 0.0516932718, -0.0003467302, -0.0113069145, 3.128887471e-34, -0.0083110286, -0.0262424741, 0.0105553968, 0.0717003718, 0.059207201, -0.0094519537, 0.0148968296, -0.0058217132, -0.0298365168, -0.0850070864, -0.0506613404 ]
http://arxiv.org/abs/2406.16777v1
http://arxiv.org/pdf/2406.16777v1
Blending LLMs into Cascaded Speech Translation: KIT's Offline Speech Translation System for IWSLT 2024
"2024-06-24T16:38:17"
"2024-06-24T16:38:17"
Sai Koneru, Thai-Binh Nguyen, Ngoc-Quan Pham, Danni Liu, Zhaolin Li, Alexander Waibel, Jan Niehues
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are currently under exploration for various tasks, including Automatic Speech Recognition (ASR), Machine Translation (MT), and even End-to-End Speech Translation (ST). In this paper, we present KIT's offline submission in the constrained + LLM track by incorporating recently proposed techniques that can be added to any cascaded speech translation. Specifically, we integrate Mistral-7B\footnote{mistralai/Mistral-7B-Instruct-v0.1} into our system to enhance it in two ways. Firstly, we refine the ASR outputs by utilizing the N-best lists generated by our system and fine-tuning the LLM to predict the transcript accurately. Secondly, we refine the MT outputs at the document level by fine-tuning the LLM, leveraging both ASR and MT predictions to improve translation quality. We find that integrating the LLM into the ASR and MT systems results in an absolute improvement of $0.3\%$ in Word Error Rate and $0.65\%$ in COMET for tst2019 test set. In challenging test sets with overlapping speakers and background noise, we find that integrating LLM is not beneficial due to poor ASR performance. Here, we use ASR with chunked long-form decoding to improve context usage that may be unavailable when transcribing with Voice Activity Detection segmentation alone.
[ -0.0033597001, 0.0286113713, 0.0091867102, 0.0385226086, -0.0325202644, -0.0054324772, 0.0342978612, 0.0052935332, -0.0010691695, -0.0121833803, -0.0432608277, -0.0449987948, 0.0473226383, -0.0040237079, 0.0226713326, -0.0407271758, 0.0380770266, -0.0597817637, -0.034179043, 0.0142914876, -0.0182516202, 0.0244026929, -0.0136738745, 0.0201995838, 0.0128751546, -0.0035731962, 0.0162627734, 0.050727237, 0.0256322213, -0.0170720126, -0.0295590181, -0.0019933817, 0.0557625331, 0.0510389283, 0.0000021712, -0.0464351699, -0.0346796662, 0.0359230191, -0.0323553123, 0.0047315466, 0.0108835325, -0.0244788341, -0.0255792122, 0.0530740134, -0.0033249278, 0.0251149777, 0.0152551709, -0.0118620489, 0.0328244381, 0.0760865137, -0.0151276747, -0.0268859155, 0.0424216688, -0.0171032269, 0.0029690552, -0.0461608991, -0.0147346072, -0.0121574551, -0.0163847674, -0.0041315011, 0.0125942146, 0.0506083891, -0.0232922919, -0.0313830711, 0.0056982655, -0.0188763104, -0.0396365486, -0.0407514796, -0.0213728882, 0.0591896288, 0.0006626468, -0.0076293433, 0.0292335246, 0.0061339024, -0.0572180226, -0.0536393523, -0.0509178042, 0.015220291, -0.0154819312, -0.020398384, 0.0220257565, 0.0757239684, 0.0191428345, -0.0344269909, -0.054800652, 0.0092563545, 0.0187013745, -0.0456901118, 0.0023345386, -0.0174038336, 0.0144471657, -0.0030992138, 0.0672349855, -0.0071669174, -0.0094841952, 0.0238957014, -0.036970973, -0.0260511078, -0.0193093475, -0.0297481585, 0.0269402582, 0.0781492069, -0.0075134463, 0.0390159562, -0.0035464291, 0.0569955893, -0.0033790015, -0.0409483463, -0.0463757925, 0.0015943554, -0.01436467, 0.0463084988, -0.0356788859, -0.0251064971, -0.0729963332, -0.0410463512, 0.0015855908, 0.0180103015, 0.0376152769, 0.015474706, 0.0824521333, -0.0607071072, -0.0659455433, -0.0454270206, 0.0270199217, 0.0448620506, 0.0514488481, 0.0000132696, 0.0079062898, -0.060290426, -0.0235501751, 0.0465659648, 0.025281148, -0.0075595798, -0.0303873587, 0.0850290135, -0.0044503212, -0.0154158603, -0.0146280592, -0.0111428304, -0.0238630567, -0.047507219, -0.0137538165, -0.0510202348, 0.0550976656, 0.0033865047, 0.0257970393, 0.0040033706, 0.0150992284, -0.0076990579, 0.010822569, 0.0569372289, -0.0118468367, 0.0354898907, 0.0220804866, -0.0010313038, -0.0129276859, 0.0560411252, 0.0627004504, 0.0056305961, 0.0218388513, -0.0127625009, -0.028381709, 0.090436399, -0.0116790058, 0.0474111326, -0.0290669762, 0.0005807436, 0.0167277884, 0.0105323894, 0.0287416168, 0.0376387946, -0.0053602359, 0.0656136647, 0.0721942484, 0.0244702734, 0.0135711497, 0.0198444501, -0.0010139188, 0.0372589603, -0.020725742, -0.0193001647, 0.0042058527, -0.0167532191, 0.0029831098, 0.0052647516, 0.0473228879, 0.0317892171, 0.0208754037, -0.0093599083, -0.0393374301, -0.0208787527, -0.0134866247, 0.0189910848, 0.0327567346, -0.0170088802, -0.0818781704, 0.0655037537, -0.0081221974, -0.0631051585, 0.0301523767, -0.0464170612, -0.0114702908, 0.0782364234, 0.0574931726, -0.0006005336, -0.0199612621, -0.0605001375, -0.01991277, 0.067697607, 0.0088503463, 0.0276669152, 0.0319378451, -0.0915727094, -0.0175547935, 0.0651816949, 0.0163032152, 0.0228113756, -0.0187600423, 0.0282840561, 0.0248305947, -0.0232564043, -0.0284577645, -0.0014025876, -0.047440283, -0.0143224187, 0.0167332869, 0.0081463046, 0.0517300442, 0.0319143347, -0.0279214848, -0.0095086936, 0.0286148433, -0.0486728847, 0.0182717927, 0.0395160615, -0.0608439967, -0.0384054631, 0.0333306007, 0.0082320319, 0.0361211672, 0.0059892242, 0.0045465124, -0.0739599019, -0.0157485679, -0.0122807324, 0.0170242395, -0.0235193819, 0.0623480789, 0.0231846683, 0.0109045394, -0.0387218483, -0.0035205863, -0.0184632074, -0.0203944128, 0.0181717314, -0.0348291546, 0.0054263817, -0.042798657, 0.0100592505, 0.0549074113, 0.0008962064, 0.0306462459, -0.000736173, 0.0157253295, -0.005799877, -0.0445264131, -0.0937013105, 0.0265162606, -0.0339159928, 0.0409916155, 0.0089203361, 0.0416860171, -0.0096408306, 0.0136610819, -0.0035958774, -0.014180705, 0.0070877587, -0.0307029635, -0.0596521944, -0.006662658, -0.0180746894, -0.0109548755, 0.017764153, 0.0177019816, -0.008924976, -0.0256218147, -0.0749324188, -0.0787133351, 0.0406730101, 0.0200613383, -0.0077735316, -0.0248513985, -0.0200298633, -0.0206377599, -0.0385647044, 0.0310615618, 0.0341119692, -0.0066677337, -0.0093142791, -0.0016871111, -0.0423814915, -0.0749990866, 0.0099926703, 0.0416218564, -0.0104817413, -0.0237116683, -0.0122616608, 0.0066530956, 0.0332544036, 0.0326327421, 0.0280136224, -0.0406445786, -0.0507847145, -0.0278209597, -0.0122396937, -0.007277722, -0.0445772335, -0.0448286831, 0.0359604172, 0.0120597295, -0.0427052118, -0.0027315293, -0.0991651416, -0.0289203953, -0.0711090639, -0.0491525903, -0.0379971638, 0.0192461126, -0.0332768075, -0.0119720716, -0.0350839496, -0.032062456, -0.0035651389, 0.0039834906, -0.0163599439, -0.0525816679, 0.0234192479, -0.0461120233, 0.012321963, -0.0308807846, -0.0020196373, -0.0111965751, 0.0208492707, -0.0244381465, -0.0237268154, 0.0220458116, -0.041147422, -0.0144484239, 0.0635059625, -0.0170733221, 0.0804857537, -0.022788493, 0.0276711043, -0.0266255364, 0.0547903478, 0.0240434147, 0.0157043003, 0.0132346693, -0.0226620231, 0.0404210091, 0.0018823917, 0.0554049723, -0.0094282944, 0.0007482215, -0.0300642047, 0.0625971705, 0.0097739315, -0.0419713669, 0.0080664987, 0.0795590505, -0.0773125291, 0.0164235737, 0.119602263, 0.0014776046, -0.0456769802, -0.0345521942, -0.0282333158, 0.0336985216, -0.0064172316, 0.0090972977, -0.0576137565, -0.0219901316, 0.0558112711, 0.0725476071, 0.0230295137, 0.0246393662, -0.0417087562, -0.0707914904, 0.0715277866, 0.0689201429, -0.0280384328, -0.0005284632, 0.0068006399, -0.0581624992, -0.0186162014, 0.0561342686, 0.0152054317, 0.0052328468, -0.036411114, 0.0227767508, -0.051641468, -0.0486684069, -0.0033320361, -0.0118570197, 0.076745227, 0.0764188468, 0.0330726318, 0.0062627546, -0.0353587568, 0.0634536892, -0.0575325526, 0.0251974408, -0.0094658369, -0.0313132517, -0.0138345314, 0.0022898999, 0.0234187823, 0.0380842127, -0.0112376548, 0.0192675609, 0.0425230414, 0.0468443558, -0.0429643989, 0.0164015666, 0.0201988723, 0.0141911982, 0.029826466, 0.0666700602, 0.0008148073, -0.0200177208, 0.0227996428, -0.0005750911, 0.0166400857, -0.0171591938, 0.0112141427, -0.0158620365, -0.0393534936, -0.0242103562, -0.0697491467, -0.0220973957, 0.0157081112, 0.0560069457, 0.0055371202, 0.0400019772, -0.0070772981, 0.0311676562, -0.0138967456, 0.0167155694, -0.0356578901, 0.0272752941, -0.0724318698, 0.0124982474, 0.0372299515, -0.0402304381, -0.000497611, 0.0632596835, -0.0991527587, -0.0575764365, -0.013821885, 0.0027382185, 0.0315286331, 0.0860653147, -0.0308497008, -0.0256394241, 0.0320370384, -0.0105890203, -0.0158920679, -0.0019000118, 0.0386545882, 0.0174013935, -0.0292331148, 0.036046505, -0.0323992819, -0.0085597001, -0.0587090701, 0.0379536711, -0.0083847074, -0.0786923543, -0.0129076121, 0.0358015858, 0.034383554, -0.0206536055, -0.0357417278, 0.0009719608, 0.0784407482, -0.0017209847, 0.0288376603, -0.0695792809, -0.000664181, 0.0426405892, -0.004142365, -0.011918162, 0.0358854719, -0.0113305319, -0.041213084, -0.0075888727, 0.0546963364, -0.028649671, 0.0151331797, 0.0285701044, 0.0003446686, -0.0356586464, 0.031606663, 0.0126911858, 0.0089589357, -0.01806584, 0.0360177197, -0.0339121483, 0.0116854412, 0.0265524071, 0.043854665, -0.0440668948, -0.0101293717, -0.0298297964, 0.0419119224, 0.035017807, 0.0160754472, 0.1272226423, -0.0166353583, 0.0106102061, -0.0423086621, 0.0412927754, -0.0122383386, 0.0151507249, -0.0069942209, -0.0036050247, -0.0183366369, 0.0418139994, 0.0494811982, -0.0002754679, 0.0134003367, 0.0108241821, 0.0109647615, -0.0338810459, -0.0356718153, 0.0141179068, 0.0030184437, -0.0117038088, -0.0396094397, 0.0045922636, -0.0386351533, 0.0232116338, -0.0027843481, -0.0017286831, -0.0462537557, -0.0228791349, 0.0343164131, -0.0496553816, 0.0176536757, 0.0063994289, -0.0487119071, -0.0102773188, -0.0345971994, -0.0040634703, -6.722956352e-33, -0.0383794717, 0.0110319182, 0.0231729373, -0.0050013671, -0.0783465728, -0.011048493, -0.0234140866, -0.041036509, 0.0273623616, -0.0321139358, -0.0357049927, -0.0167992022, 0.0537141226, 0.0009561612, -0.0219194144, 0.01129949, 0.0770883262, 0.0007767016, -0.0206864923, 0.0204636063, 0.0119816652, 0.0182785019, 0.0351125598, -0.0588941313, -0.0046516969, -0.0136309033, -0.0117791723, 0.009040107, 0.00676717, 0.0068166242, 0.0186434165, 0.0179484189, -0.0136658633, -0.0099452408, -0.0427939408, 0.0188142341, -0.0822961628, 0.0460023694, 0.0229218118, 0.0620975569, 0.0418271013, -0.0379169434, 0.0397952348, -0.0166982915, -0.0222555753, -0.0274022389, -0.0135442158, -0.0566934943, -0.0474194847, -0.0646085739, -0.0358011909, 0.0429996289, -0.0035398197, -0.0161620714, 0.0479287282, 0.0596801862, -0.0033697982, -0.0056583988, -0.100284785, 0.0380361676, -0.0016704967, 0.0536111891, 0.071793437, -0.005827527, -0.0152180484, -0.0058689192, 0.0354611911, -0.0375580043, 0.0388079993, -0.0310699567, 0.0443101786, 0.0209537577, 0.0078270333, 0.0041328236, 0.0221034195, -0.0095610172, -0.0153973857, 0.019330075, 0.0208312906, 0.004939517, 0.0231585596, 0.0484847501, -0.0439537875, -0.0051341462, -0.0317386985, -0.0364418328, -0.0076277219, -0.0268774703, 0.0427977592, 0.0300407801, -0.0087926537, -0.0300083309, 0.0999578759, -0.0197787769, 0.0328063741, 0.0047405479, -0.0112630548, -0.0072788536, -0.0548001453, 0.0443937704, -0.0153859463, -0.0353472531, 0.0450955182, 0.0303572658, 0.0080447588, -0.0169726182, -0.0128033906, 0.0577090941, -0.0569643602, -0.0052021132, -0.0100166081, 0.00955527, -0.0227305871, 0.039767053, 0.0493869185, -0.0465172939, 0.0212396141, 0.0520268977, -0.0126223983, 0.0174440388, 0.0048809741, -0.0013364289, 0.0037433954, 0.0310818888, -0.0519846119, 0.0348733738, 0.0134311561, -0.0379413664, 0.0363285616, -0.0159344301, -0.0139362551, 0.0072949957, 2.976e-7, -0.0203296617, 0.0785233229, 0.0065889629, -0.0242403969, 0.0221091844, -0.0033593948, -0.0317406841, 0.0015724591, 0.0288675241, 0.0260925237, 0.0309192576, -0.0216771923, 0.1359444112, 0.0087096831, -0.101739496, -0.0466868542, -0.0388565771, 0.0132023916, -0.0475399531, -0.0097552231, 0.0496952645, 0.0958181322, -0.0331119336, -0.0135651818, 0.008277568, -0.0312913172, 0.0293974634, -0.0237123426, -0.0540492535, -0.020667918, 0.013138704, -0.0276903994, -0.0510757454, 0.0087839002, -0.0383805633, 0.0436723195, 0.003954859, 0.0900501311, 0.0091623338, -0.0342211761, 0.011655896, 0.0241013262, -0.0132565582, -0.0292872135, 0.069916971, 0.022616988, 0.018795073, -0.0092644058, -0.0548938699, -0.0119422916, -0.0097454945, -0.0075618019, 0.0214325264, 0.0301647428, 0.0251989178, -0.0130188391, -0.0254775509, -0.0249397755, -0.0150202336, -0.0255321153, -0.0470584705, -0.0695028827, -0.0203740951, -0.0006364822, -0.0013477618, -0.0312218517, -0.0097220615, 3.135198865e-34, 0.0531921759, -0.0074901278, 0.0173263792, 0.0075433361, 0.0273006577, -0.0287721455, 0.0091537545, 0.0447921231, -0.0216734838, -0.0659443513, -0.0263080578 ]
http://arxiv.org/abs/2406.16772v2
http://arxiv.org/pdf/2406.16772v2
OlympicArena Medal Ranks: Who Is the Most Intelligent AI So Far?
"2024-06-24T16:31:12"
"2024-06-26T15:00:04"
Zhen Huang, Zengzhi Wang, Shijie Xia, Pengfei Liu
cs.CL
cs.CL, cs.AI
In this report, we pose the following question: Who is the most intelligent AI model to date, as measured by the OlympicArena (an Olympic-level, multi-discipline, multi-modal benchmark for superintelligent AI)? We specifically focus on the most recently released models: Claude-3.5-Sonnet, Gemini-1.5-Pro, and GPT-4o. For the first time, we propose using an Olympic medal Table approach to rank AI models based on their comprehensive performance across various disciplines. Empirical results reveal: (1) Claude-3.5-Sonnet shows highly competitive overall performance over GPT-4o, even surpassing GPT-4o on a few subjects (i.e., Physics, Chemistry, and Biology). (2) Gemini-1.5-Pro and GPT-4V are ranked consecutively just behind GPT-4o and Claude-3.5-Sonnet, but with a clear performance gap between them. (3) The performance of AI models from the open-source community significantly lags behind these proprietary models. (4) The performance of these models on this benchmark has been less than satisfactory, indicating that we still have a long way to go before achieving superintelligence. We remain committed to continuously tracking and evaluating the performance of the latest powerful models on this benchmark (available at https://github.com/GAIR-NLP/OlympicArena).
[ 0.0044815638, 0.0685664341, -0.0104079144, 0.0412495658, -0.0294886418, -0.0047393376, 0.0753884166, -0.0022005923, 0.0201307852, 0.0065581286, -0.0432334095, 0.0320471115, -0.0501595996, 0.0605765395, -0.0024802873, -0.0084796008, 0.0495639481, -0.0388692096, 0.0171210542, -0.0348221734, -0.0602755435, -0.0526784025, -0.0437461734, 0.0182050504, 0.0415049382, -0.0020750216, 0.0023107682, -0.0304747485, 0.0157729611, -0.0317059159, -0.0249218177, 0.0284225401, -0.018216284, 0.0834818482, 0.000002229, 0.0002269293, 0.0056494917, 0.0323874876, 0.00985099, 0.0106608514, 0.0283550024, 0.0264045596, -0.0054955008, -0.0128876353, -0.0359051041, 0.0527342893, 0.0259204675, 0.0249737278, 0.0320397578, 0.0525626764, 0.0053140074, -0.013541705, 0.085596025, -0.0445046462, -0.0195620954, -0.0665436983, 0.001297485, 0.0128608635, 0.0055082566, 0.0184010323, -0.0032018553, 0.0331294723, 0.0184286814, 0.0136111369, -0.002231224, 0.034295924, 0.0022054631, 0.0140929595, 0.0005344069, 0.0479751751, 0.0152307358, 0.0074852356, -0.0049858694, 0.0191540662, 0.0258197449, -0.0145363621, -0.0497627147, 0.0000739647, 0.0373948514, -0.0496139266, 0.0298259221, 0.0453716666, 0.0083985664, 0.0207321271, -0.055588156, 0.0562080219, 0.0387334488, -0.0236565731, 0.0375400148, -0.0178647786, -0.0717257187, -0.0170594286, -0.015768962, -0.0011811525, -0.0275251754, -0.0362277552, 0.002259616, -0.0019595802, -0.0120790703, 0.0292614643, 0.0518885516, 0.0267000757, 0.0541072078, 0.0498449169, 0.0141284503, 0.0841936246, -0.0430422872, 0.0346701182, -0.029174054, -0.002671638, -0.0676796064, 0.0034310508, 0.0116229104, 0.0136235617, 0.0094063673, -0.0163240694, -0.0220140945, -0.0175159555, -0.0476928726, -0.0009576395, -0.0007979507, 0.0182322543, 0.0144019276, -0.0116124861, -0.0662860051, 0.0028573249, -0.0556469783, 0.0206074417, -0.0059033851, -0.0026090548, -0.00206212, -0.0015255394, -0.028197268, -0.0203067362, 0.0445765592, 0.0880655423, 0.0315742195, -0.05754577, 0.0618178472, -0.0063122204, 0.0020211309, -0.082292296, 0.0179315824, -0.0078919744, 0.0407422632, 0.0052828612, 0.0054542427, -0.0769973397, -0.017086396, -0.0288720913, -0.0294440612, 0.0006127694, -0.0206862874, -0.0160832144, 0.0134302238, -0.0133659132, -0.0532862954, 0.0144258291, 0.0348906852, 0.033614248, 0.0234889984, 0.0186427031, 0.0264097136, -0.0014142666, -0.001886887, 0.0031910955, 0.0211708099, -0.0065609319, -0.0289485287, 0.0564465523, 0.0006251365, 0.0066430862, -0.0058910539, -0.015260973, 0.0649137348, 0.0474184602, -0.0449603871, 0.0599803776, 0.0225421805, -0.0499216728, 0.0626747832, -0.0088397339, -0.0551147908, 0.0819357783, -0.0117882099, 0.0045451024, -0.0025425882, -0.0109944111, -0.0030517227, -0.0927419662, 0.0215723906, 0.0122502921, -0.0247237682, 0.0107317185, 0.0578888655, -0.0467034914, -0.0355236791, -0.0434270389, -0.0122252898, -0.0338779762, -0.0584541969, -0.0657278076, 0.0225862525, 0.0532179959, 0.0363725424, -0.0821534544, -0.0445138663, 0.03484191, -0.0024890834, 0.0298376754, 0.0419813059, 0.0012787948, 0.0147292167, -0.0022401351, 0.0009293425, -0.0379609056, 0.0303177238, 0.0297932047, -0.036448136, 0.0215724614, -0.0218987446, 0.0079786517, -0.0332395323, 0.0239866581, -0.0386090167, -0.0036108561, -0.0110661909, -0.0342655592, 0.0750211701, 0.0228390563, -0.029989535, 0.016863361, 0.0559352934, -0.0324707925, -0.0075600757, -0.0202422328, 0.0380689874, 0.0507468842, 0.0281364471, -0.0992901772, -0.0015939953, 0.0575647131, -0.0107080499, -0.0259402171, 0.0355201177, 0.009437413, 0.0182648525, 0.0216425359, 0.0178617314, -0.0536781661, -0.0122735389, 0.0007005646, 0.0688860267, -0.0236878544, 0.0026660396, 0.0516075045, -0.0099828765, 0.027831085, -0.0266751833, -0.0129407719, 0.0068518794, 0.0115945293, -0.0061265393, 0.0282211024, -0.0091402791, -0.0043970007, -0.057390362, -0.1155540943, 0.0179701131, -0.0164125282, -0.010819139, -0.0035851889, -0.0368346237, -0.0130106015, 0.0317514092, 0.0174018275, 0.0082930354, -0.0272780564, -0.0211780258, 0.0192214642, -0.0187197812, -0.009382545, -0.0783116445, -0.0254605077, -0.0310992077, 0.0478209294, 0.0343504064, 0.0529684611, -0.0130124353, 0.0272342768, -0.0605713539, 0.0293996185, -0.0495785028, -0.0364832543, 0.0272067208, -0.029460961, -0.0052959891, 0.1017917618, 0.0067215352, 0.0192716625, 0.073432669, 0.0184283424, -0.0145309195, 0.0387404971, 0.0052261581, -0.0159108061, -0.0165939257, -0.0144116487, 0.0318300426, 0.0515540205, -0.0211285036, -0.0100767678, -0.0106516397, 0.0663355738, -0.0182485059, -0.0532868393, 0.0002421493, 0.0312168114, 0.0108397445, 0.047429271, -0.012933285, -0.0178320818, 0.0259746369, -0.0052584368, 0.0334544778, -0.0255338028, -0.0136244148, -0.0115267877, 0.033437375, 0.0372714177, 0.0408422463, -0.0620183349, 0.03009337, -0.0534743816, 0.0160679687, 0.0003104524, -0.0269304253, 0.024015734, -0.0310142115, -0.0118800653, 0.0113696232, -0.0778558701, -0.003949963, 0.0149513418, -0.0446945205, 0.0164158326, 0.03996142, -0.0833242089, -0.0574059337, -0.0359912142, 0.0384669863, 0.010099222, -0.0283091664, -0.0009208937, -0.0220958851, 0.0051020184, 0.0532733239, 0.0061363182, 0.0491943769, -0.0348113216, 0.0516374372, 0.0468610339, 0.0222726092, 0.0227655377, -0.0387736373, 0.0139664998, 0.0238659866, -0.0273275934, -0.0314881951, 0.0249669962, 0.0299738646, -0.0160142928, 0.0224155467, 0.1182842851, 0.0069328011, -0.0419163443, 0.0121610817, 0.0271697585, -0.0237392057, 0.0236637294, 0.0094251474, -0.015590556, -0.0326537751, 0.0173973404, 0.0105169229, -0.0204862133, -0.0442567393, 0.0054837256, -0.0282295328, 0.034286838, 0.0002262445, -0.0407629944, -0.0647861809, -0.0346586965, -0.0232061129, -0.0480473712, -0.0350206867, 0.0064956108, 0.0193823595, 0.0057207276, -0.0335910134, -0.021263795, -0.0320723392, 0.0104829967, -0.0218881909, 0.0321568362, 0.0458551385, 0.0404280908, -0.0693185329, 0.0017617099, 0.0062864861, 0.0033016612, 0.0126542421, 0.0105709126, 0.0704103708, -0.0119333304, -0.0127205541, -0.0228856243, 0.0409867391, -0.0220442154, 0.0177244153, 0.0466417968, 0.0720422864, 0.0076936986, -0.0163728856, -0.0368830785, -0.0424606539, -0.0499222055, 0.0569047108, -0.000205459, -0.0113494527, -0.0471878573, -0.0406881496, 0.0243474524, -0.0404469222, -0.0204166956, -0.0049161706, 0.0497626066, -0.0615659617, -0.0317489617, -0.0425813124, -0.0012097288, 0.0216754284, 0.0271719713, -0.0142829306, -0.0051642843, -0.0043416759, -0.0403112471, -0.0098146321, 0.0175115392, -0.000744122, -0.0756200179, -0.0350581072, 0.0710332617, -0.0437770486, -0.0440307409, 0.0421335176, -0.0209367853, -0.022886727, 0.0159498286, 0.0773279369, 0.0278361142, -0.0229915809, 0.0047623785, -0.0206544325, 0.0224533584, -0.0010316392, -0.012937868, 0.0135673992, 0.0166845974, -0.0484314859, 0.0021593918, 0.0148246214, -0.0391807593, 0.051954221, 0.0293585658, -0.021108022, -0.0238604248, -0.0124519728, 0.0232981574, 0.0231343973, 0.0464683436, -0.0103937034, -0.0141075114, 0.0016275364, -0.0230533686, -0.0243813507, -0.0151991118, -0.0358485766, -0.0157766212, 0.0336704254, 0.0066666771, -0.0051698349, 0.0197359622, 0.0525827557, -0.0115562929, -0.041524753, 0.0087411143, -0.0256430935, 0.0625202879, -0.0153346909, -0.001953946, -0.0273494795, -0.0141872503, -0.0409001447, 0.0619206354, -0.0188062303, 0.0454096943, 0.0130275115, -0.0087900981, -0.0440909639, 0.0812527388, -0.1513212025, -0.0428396314, 0.0069551696, 0.0674665794, 0.1197714731, 0.0554178432, 0.0238940045, -0.029575197, -0.0134438667, -0.0245787241, 0.0223914757, 0.0394711234, -0.0071891844, -0.0316092931, 0.035559196, 0.008674087, 0.0002789746, 0.0514787622, 0.0241663996, 0.0275790114, 0.0156720467, 0.0045449524, -0.0263412818, -0.0236875527, -0.0445491858, 0.0213391241, 0.0020892925, -0.0257817749, -0.0543200634, -0.0365278795, -0.0001679871, 0.0581524223, -0.0011276738, -0.0075550685, 0.0081212642, 0.0454424955, -0.0146513144, -0.0578451864, 0.004952712, -0.0358358026, -0.0426222831, -0.0339619741, -0.034231659, -6.155923591e-33, -0.0200372785, -0.0006656668, 0.0228928812, 0.0055006049, -0.0155608393, 0.0081764786, -0.0613581203, -0.0082792975, -0.05991745, 0.0345521159, -0.036432717, 0.0036290062, -0.0180080831, -0.0446551815, 0.0451475568, -0.0147117963, 0.0406966954, -0.0007487088, -0.036042843, 0.0508202799, 0.0076534213, -0.0070579844, 0.0119566135, -0.0308806319, -0.0081436569, -0.0055815945, 0.0036089483, -0.0207863972, -0.0492008924, 0.0445132144, -0.0192842335, 0.0220425539, 0.0103591848, -0.002241452, 0.0208529811, -0.0691152364, -0.0033486628, -0.0230555478, -0.0690014809, -0.0255309101, -0.0182587896, -0.0804498494, 0.028567886, 0.0262256395, -0.0845694244, -0.0469374992, 0.0501302592, -0.0071960632, 0.0108702574, -0.0065371254, -0.04163526, 0.0023397815, -0.0454118736, 0.0261353031, 0.0095526204, -0.0261358451, 0.0175500754, -0.0013794187, -0.0134977279, 0.0736419633, -0.0348773152, 0.0150156785, 0.0419909246, -0.0458503589, 0.0200739168, 0.0425660051, 0.1109268144, 0.0148487166, 0.0331155322, -0.0256526712, 0.0019091796, 0.0844400451, 0.0927143991, 0.0151195433, 0.022691831, -0.0089614717, -0.0775719807, 0.0169934072, 0.0498283207, -0.025395507, -0.0253529698, -0.0064830789, -0.0857983157, 0.0143837053, -0.013363773, -0.0457143523, -0.0022332931, -0.01578678, 0.0283481926, -0.045516368, 0.0128683336, -0.0137797305, 0.033840701, -0.0704668611, 0.0448448434, 0.0521934479, 0.0129213203, 0.0677204207, 0.0053737317, 0.0507042408, -0.044688154, -0.0357107297, -0.0172798224, 0.0302317198, 0.0572257526, -0.0054815738, -0.01701032, 0.0407306552, 0.0053558587, 0.000662883, -0.0502991006, -0.0484254993, 0.0480866916, -0.0336954296, -0.0185359158, -0.0092926444, 0.0121220937, 0.0242160074, -0.0111740837, 0.0467594825, -0.0369648561, 0.0075519048, 0.0136451451, -0.0037988611, 0.0062150517, -0.0237605963, -0.0611770041, 0.0132068824, -0.0322654881, -0.0431478582, -0.0383847356, 0.0204133559, 2.916e-7, 0.0243450198, 0.0528191291, -0.0076293359, 0.0033364047, -0.0040600779, 0.0387537479, -0.0454170853, 0.0076074242, 0.0080492152, 0.0902912766, 0.0385468416, 0.0276531205, 0.0247041211, 0.0281981267, -0.0403434411, -0.0047602151, -0.016294159, -0.0101855937, -0.0738758892, 0.0213920865, 0.0502224453, 0.0459936857, 0.0058588181, 0.023185553, 0.018985061, -0.0721176043, 0.0286494214, -0.006175607, 0.0233646929, 0.0298906788, -0.0210851599, 0.0412662961, -0.0346415974, 0.0156799629, 0.007839581, 0.0080209207, 0.0201673303, 0.0262959879, -0.0136891389, 0.0058719721, 0.003090149, 0.0263983682, 0.0105900578, -0.0309151169, 0.0789606273, 0.0286327098, -0.0645517036, -0.0271492358, -0.0701127425, -0.0047193496, -0.0088612214, 0.0010543553, -0.0173186883, -0.0012237818, -0.0280193016, -0.0297149085, 0.0072538257, -0.0219979845, 0.0449653603, -0.0219305232, -0.0541234389, -0.0785190091, -0.0445405729, 0.0375156403, 0.0626786798, -0.0442813784, -0.0084779961, 2.703927896e-34, 0.0187672917, -0.0341483168, 0.0628933907, 0.0088000773, 0.0449957028, 0.0205377359, -0.0084921652, -0.0387459695, 0.0059991027, -0.037394207, -0.029735025 ]
http://arxiv.org/abs/2406.16767v1
http://arxiv.org/pdf/2406.16767v1
The GPT-WritingPrompts Dataset: A Comparative Analysis of Character Portrayal in Short Stories
"2024-06-24T16:24:18"
"2024-06-24T16:24:18"
Xi Yu Huang, Krishnapriya Vishnubhotla, Frank Rudzicz
cs.CL
cs.CL
The improved generative capabilities of large language models have made them a powerful tool for creative writing and storytelling. It is therefore important to quantitatively understand the nature of generated stories, and how they differ from human storytelling. We augment the Reddit WritingPrompts dataset with short stories generated by GPT-3.5, given the same prompts. We quantify and compare the emotional and descriptive features of storytelling from both generative processes, human and machine, along a set of six dimensions. We find that generated stories differ significantly from human stories along all six dimensions, and that human and machine generations display similar biases when grouped according to the narrative point-of-view and gender of the main protagonist. We release our dataset and code at https://github.com/KristinHuangg/gpt-writing-prompts.
[ 0.0130303465, 0.0679422617, -0.0377883539, -0.0128659103, -0.0150590315, 0.0209773015, 0.0288442615, 0.010165398, 0.0242783818, -0.0102672679, 0.0020450705, -0.0315852351, 0.0111766607, 0.0895699635, 0.0329809077, -0.0800447166, -0.0144975632, 0.0227904133, 0.0534848534, 0.0004962807, 0.0000436982, 0.0848390013, -0.0107704783, 0.0504389815, -0.0213056467, -0.0569396801, 0.0219095796, 0.024891749, 0.036512956, -0.012462982, 0.0096218437, 0.0439688042, 0.0232001338, 0.0220429655, 0.0000019093, -0.0232329816, 0.021277437, -0.0295564104, 0.0551407002, -0.0164305754, 0.0577652752, -0.0038546945, -0.0239016451, -0.0001001668, -0.0120828645, -0.0294238217, 0.0402675532, 0.0741842762, 0.0387005396, 0.0842424482, -0.0220300257, -0.0157101806, -0.0157400575, -0.0144554982, 0.0440054312, 0.0552207679, -0.024625428, -0.0266794376, 0.0204713773, -0.0563294776, -0.0367024206, -0.0236840472, 0.0165586248, -0.0000663086, -0.0303547624, 0.0730742514, 0.0243580416, -0.0073219603, 0.0013849924, 0.0411011875, 0.0235083047, -0.0025768231, -0.0107915103, -0.0186303444, 0.0118532516, -0.0032099206, -0.04537265, 0.0560141876, -0.0297138598, 0.0129408892, -0.0290865861, 0.0085521843, -0.0071457732, -0.0022523357, 0.0865484774, -0.0049269293, 0.0315630026, 0.009428259, -0.0282151643, 0.0020727324, 0.008343935, -0.0716955736, 0.0040266416, -0.0084830998, 0.0254303776, -0.0013343171, -0.0563372374, 0.0160386972, 0.0016412096, -0.0310325678, 0.0483022332, 0.0275556706, 0.0179789979, -0.0203758776, -0.0050655738, 0.046408955, 0.0231608078, -0.0291321669, -0.0174727514, 0.0378641821, -0.03637724, -0.0113703506, -0.032655634, -0.0175446793, 0.0031007063, -0.019325858, -0.0398051776, -0.0095243985, -0.0006384757, -0.0155224046, -0.0142832519, 0.0353052132, -0.0312836878, 0.018041905, -0.0291553233, 0.0269784778, -0.1035793051, -0.002358241, 0.0041377372, -0.0221225787, -0.007108252, 0.0063268715, 0.0272621792, -0.030660728, 0.0239896737, 0.0280846134, 0.0133581357, -0.0315476991, -0.0428465195, -0.0304505639, -0.0040248418, -0.0509423986, -0.0314963199, -0.0350626297, 0.0495454557, 0.0086712791, 0.0355454311, -0.0661843792, -0.0126672452, 0.0079118479, 0.0027660436, 0.0054993653, -0.0042982353, -0.0111453338, 0.0335543901, 0.0106888637, -0.0056748567, 0.007785195, 0.0610526577, 0.0669782087, 0.0207253639, -0.0066028694, 0.0582068563, -0.0099299047, -0.0289911944, 0.0095745176, -0.0123242764, -0.0346223675, 0.0058855372, 0.0763076767, 0.0555514693, 0.0315514132, -0.0316381417, 0.0023062236, 0.094239749, 0.1025483236, 0.0217084941, 0.0693110526, 0.0723609254, 0.0093135349, 0.0293084551, 0.0359590463, -0.0091433963, 0.0212008264, 0.032825321, -0.004319814, -0.0152363461, 0.0346367434, -0.0119600659, 0.0109169073, -0.0183871761, 0.0031842671, -0.0354363695, -0.0472729877, -0.0176832508, -0.0000141469, -0.0468970947, -0.0411076546, 0.0176793784, -0.1238179505, -0.0008978602, 0.0031641147, 0.0803890452, 0.0764686316, 0.0319245644, -0.0087719373, -0.0125914374, -0.0451013818, -0.010310513, 0.0219610203, 0.0178416017, 0.0050741467, 0.0214635003, -0.0133986436, 0.0298940502, -0.0359664224, 0.0212868135, 0.0276007243, -0.0129751125, 0.0124440975, -0.0132331559, 0.0004684023, -0.0413510017, 0.0410853028, -0.0585307702, -0.0194297787, -0.0338401794, 0.0012354186, -0.020672489, -0.0102183865, -0.0413097069, -0.0173044037, 0.0119774155, -0.0083638085, -0.0141181387, 0.0829840377, -0.0472660176, -0.0279982891, 0.0007287077, -0.0957543775, -0.016994115, 0.0015805764, 0.0129387053, -0.0225954521, 0.0479535908, -0.0442744903, 0.0278077312, -0.0215675868, -0.0218504779, 0.0044440473, 0.0117544392, 0.0057011554, 0.0497664958, 0.0091280015, 0.0237897132, -0.0274529047, -0.0015476315, 0.0016219622, -0.0240555834, 0.0276732109, 0.015481025, 0.0316886082, -0.0111034401, 0.0200060122, -0.0337530635, -0.0558929518, -0.0594608821, -0.0644602254, 0.0043916539, 0.0290097222, -0.0142428484, 0.0364340097, -0.0200460739, -0.0645159855, 0.033376772, -0.0686989054, -0.0117780315, 0.0092618633, -0.0202510152, 0.01380549, 0.0055363127, 0.0374685526, -0.0385866538, 0.0152118858, -0.0345445164, 0.0583899282, 0.0512600429, 0.0131985378, -0.0260464139, 0.0453152061, -0.02326441, -0.0268799663, -0.0149616851, -0.0504288115, 0.0206955243, -0.0144398212, 0.0840878561, 0.0369892269, 0.0115140872, 0.065328151, 0.0433872528, -0.0211598761, 0.0025532832, 0.0017041938, 0.0103461873, 0.0355929285, -0.0032510352, -0.1041575968, -0.0098408451, 0.0491812155, 0.0414357111, 0.0104148937, -0.0547427423, 0.0680720136, 0.0049832179, -0.0061675822, 0.0432732478, -0.0238982495, -0.0144553268, 0.0493477099, -0.022809403, -0.0561947152, 0.070874989, -0.0303866938, -0.0170147214, 0.01954473, 0.0037303693, -0.0247850977, 0.0978386253, 0.0161074828, 0.0458078831, 0.0085111028, 0.0020680439, -0.0344001837, 0.0087660523, 0.0361684337, -0.0001426168, -0.0062867356, -0.0193801299, -0.0345692039, 0.0069722538, -0.0117207179, -0.0019588324, -0.0420501493, -0.0038487439, -0.0251934789, 0.0229794346, -0.0671289265, -0.0073702387, -0.0097587025, 0.003350815, 0.0235601943, -0.0393785425, -0.0293230545, 0.0059422818, 0.0005653968, 0.0594411492, -0.0432988368, -0.0129091376, -0.0479541905, 0.0380630493, 0.0310891904, -0.02745446, 0.0314431116, 0.0168374274, 0.035393931, 0.0140624857, -0.02492043, -0.0090289153, -0.0207672752, 0.0487418175, -0.042909693, -0.0194861926, 0.1193176731, 0.0071536601, -0.0388670713, 0.019533176, -0.0014546751, 0.0274328031, 0.0279892888, 0.0277380291, -0.0587085411, 0.0016131407, 0.0150389904, 0.0566288829, -0.0175053626, -0.0668892264, -0.0355627425, -0.1002528444, 0.0543414056, 0.0028056472, -0.0302656107, -0.039450381, -0.0177688878, -0.0213258043, 0.0178797655, -0.0349135809, -0.0082918089, -0.008206496, 0.0259475615, -0.0394533165, -0.0100944731, -0.0016083436, -0.0019432089, -0.047928337, 0.0322910249, 0.0346192792, 0.1013802141, 0.0075222105, -0.0180582721, -0.0541183725, 0.0343445241, 0.0012534941, 0.0049888021, 0.0577151962, -0.0315227509, 0.0062050531, -0.0757781416, 0.0960195586, 0.020309601, -0.0340113901, -0.0003518793, 0.0395299159, -0.0046007051, -0.0747074783, -0.0209679455, 0.0263329428, 0.0152902175, 0.0733879358, 0.0441058092, -0.0475342646, -0.0461860746, -0.0522570498, 0.049021706, -0.0354332067, -0.0569622107, -0.0203001574, -0.0005297806, -0.0004362249, -0.0564077497, -0.0730789378, 0.0147786411, 0.0357652567, 0.0223860741, -0.0529540926, -0.0673832521, -0.0045979498, -0.0589559749, 0.035963133, 0.0018114696, 0.0078904592, -0.0069933822, -0.0203374848, 0.0096839406, -0.0569970123, 0.0084618293, 0.0490416475, -0.0606729947, -0.0266031977, 0.0013423639, -0.0003358002, 0.021499278, 0.0059654522, 0.0145858061, -0.0534685366, 0.0320100188, -0.0021309578, -0.0297499914, 0.0493119881, -0.0276907142, 0.0281738695, -0.0096259397, -0.004631266, 0.0000643217, 0.0123787019, -0.0122344019, -0.0196054354, 0.0281578023, -0.032291837, -0.002783136, -0.009464616, 0.0056908936, -0.0772549808, 0.0019373385, -0.0946520865, -0.0594562814, -0.0243929923, -0.0134037137, -0.0261286609, -0.0041087945, 0.0406270698, 0.0027487129, -0.0494734906, -0.0173171572, -0.0458817258, 0.0024631384, -0.0798254162, -0.0026904067, 0.0386477932, 0.0096837794, 0.0216453485, 0.0187775157, -0.0057526394, 0.0123755345, -0.0742540732, 0.0264247768, -0.0108274492, 0.0228526089, 0.0137959197, 0.0022834965, 0.0341362171, 0.0247449279, -0.0571070835, -0.0207158122, -0.0321211033, -0.0019326425, 0.0444968864, -0.0215136893, 0.0830205157, -0.0340460688, 0.0131709138, 0.003244671, 0.0278198477, 0.0197227448, 0.0015481408, -0.0593334995, 0.0108209727, -0.0202517752, -0.0096333437, 0.0713457987, -0.0345559083, 0.0772872791, 0.0200847089, -0.0413091704, -0.0118675567, -0.0089164739, 0.0181334279, 0.0103896689, 0.0338175967, -0.0205043163, -0.0773037151, -0.0412848443, 0.0257910285, -0.0026663672, 0.0148934545, -0.0368109383, 0.0105878888, 0.0155481054, -0.0364443511, 0.0066472888, -0.0409395508, 0.0457768887, -0.0318183377, -0.0061461315, -0.0159603097, -5.53031962e-33, -0.0298290346, -0.0214762613, -0.041709777, 0.0378652439, -0.0812189281, -0.0033647923, -0.0359595083, 0.0006552964, 0.0294003822, 0.0674508214, -0.0018705293, 0.0159936883, -0.0052140113, 0.0022075661, -0.0019759247, 0.0295831375, 0.0447978079, -0.0042468221, -0.06185342, 0.0388334841, 0.0237453543, 0.0392130278, 0.0321261771, -0.029351972, 0.0227109287, -0.0732901022, -0.0310080536, -0.0266143344, 0.0470187068, 0.0039673168, -0.0169045515, 0.0654049292, 0.0214910526, -0.0234315563, -0.0188760981, 0.0171126481, -0.0278494023, -0.0284904875, -0.0034745745, -0.0186639037, -0.0114437286, -0.0521740951, 0.0040725614, 0.0077491426, -0.0063523282, -0.0384063572, 0.0595638976, 0.0123117305, 0.0611571595, -0.0469332561, -0.0534465276, 0.000319302, -0.0234358031, -0.0464064516, -0.0151607906, 0.0465850718, 0.0364507549, 0.0129745742, -0.0191588011, 0.0367735177, -0.0256577563, 0.0324843489, -0.0092722718, 0.0009056738, -0.0038326688, 0.0827756822, 0.0468200892, 0.0271598287, -0.0732781813, 0.0394950807, -0.0039076279, 0.0136200283, 0.0339003615, 0.0739179328, 0.0059723724, -0.0347663872, -0.0142780188, 0.051605612, 0.0261524022, -0.0169497728, 0.0280644428, -0.0016437199, 0.0140862521, -0.0401316993, -0.0248301961, -0.0835771263, 0.0016058377, -0.0179852881, -0.0083209919, -0.0391410924, -0.0001452561, -0.016642591, -0.0279558636, -0.00805014, 0.0094615016, 0.0363939516, -0.0758841857, 0.0489299037, 0.0089527359, 0.0196066741, 0.0053040069, 0.0072016497, 0.0326375142, 0.0558383688, 0.0780909583, -0.0014680426, 0.0001391662, 0.0297565032, -0.0464242026, 0.0062694582, -0.0450627133, 0.0241588689, 0.0048636496, -0.0025163922, -0.0126178125, -0.0145674441, -0.0077751852, -0.0240895357, 0.0134018976, 0.0425585061, -0.0279161669, -0.0330601372, -0.0183804389, 0.0000371453, -0.0227094702, 0.0127311982, -0.0187388994, 0.0036001466, 0.066340223, -0.0378439501, -0.0159881394, -0.0440315194, 2.596e-7, -0.0018768598, 0.0239053052, 0.049666848, 0.010107832, 0.0333682336, 0.042853184, -0.0019814165, 0.0547697134, 0.0282570068, 0.0103098946, 0.0051966435, 0.0222134199, 0.049012959, 0.0466585346, -0.092593722, 0.0503815636, -0.0760937333, 0.0205590501, -0.0704281926, -0.0003594692, 0.0956053361, 0.00922105, 0.0575068258, -0.0232392233, 0.0488568954, -0.0172377434, 0.0409153737, -0.0399747342, 0.0080525521, 0.0138086705, -0.0410549641, -0.024840137, -0.0196880903, -0.0436309054, -0.0128306104, -0.02622669, 0.0142220147, 0.0416729264, -0.0126813194, -0.0033081267, 0.0659942329, 0.0257881172, -0.0208785348, -0.0367204659, 0.0497510433, 0.0202990547, -0.0314472541, -0.0223431103, 0.0299988296, -0.0118546244, 0.0399705842, -0.0491279811, -0.0250827726, 0.024402516, 0.0109162489, -0.0059091598, 0.0032019683, -0.0482957885, -0.0341815911, 0.0175535362, -0.039629519, -0.0414908044, -0.030128628, 0.0084785251, 0.0076896977, -0.0615163147, 0.0196069926, 2.123473377e-34, -0.0058761463, 0.0353404209, -0.0121235419, -0.0219994262, 0.0514870994, 0.0085262787, 0.0442588925, -0.0120729236, 0.0417997576, -0.0208411794, -0.043785084 ]
http://arxiv.org/abs/2406.16758v1
http://arxiv.org/pdf/2406.16758v1
Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
"2024-06-24T16:06:50"
"2024-06-24T16:06:50"
Euiin Yi, Taehyeon Kim, Hongseok Jeung, Du-Seong Chang, Se-Young Yun
cs.CL
cs.CL
Large language models (LLMs) have revolutionized natural language processing and broadened their applicability across diverse commercial applications. However, the deployment of these models is constrained by high inference time in multilingual settings. To mitigate this challenge, this paper explores a training recipe of an assistant model in speculative decoding, which are leveraged to draft and-then its future tokens are verified by the target LLM. We show that language-specific draft models, optimized through a targeted pretrain-and-finetune strategy, substantially brings a speedup of inference time compared to the previous methods. We validate these models across various languages in inference time, out-of-domain speedup, and GPT-4o evaluation.
[ 0.0334285907, 0.0925022364, 0.0008602802, 0.0373565555, -0.0357239395, 0.0111952564, 0.0013984387, 0.0085796062, -0.0181565825, -0.0167196766, -0.0155959791, -0.1089753434, -0.0128818015, 0.0057610385, 0.0166849401, -0.0055679535, 0.0319331847, -0.0658086613, -0.0041745789, -0.0120168328, -0.0168809164, 0.0393194631, 0.0115741817, 0.0579470657, 0.01714902, -0.0149975829, -0.0045916205, 0.0077700769, -0.0240606666, -0.0522271097, -0.0161921494, 0.052738294, 0.0028964509, 0.0290062632, 0.0000020402, -0.0385928638, -0.0148938978, 0.0209580678, -0.0324406177, 0.0276126172, 0.0340134837, -0.0569608621, -0.0335380584, 0.005569201, -0.0332508162, -0.0500726514, 0.0441657528, 0.0054012607, -0.0025591152, 0.0862228796, -0.0052248994, -0.0382068902, 0.0376949832, -0.0243748371, -0.0323914737, -0.082511507, 0.0165597592, -0.0367199965, -0.0339122452, -0.0094968583, -0.0083315661, 0.0373685062, 0.0422901511, 0.0354736373, -0.0606087819, 0.0348944403, 0.0000312133, -0.0182283949, -0.021133272, 0.0352746025, -0.0191537794, -0.044548586, -0.0301438253, 0.0107483491, -0.0228041187, -0.0281636454, -0.0066374829, 0.0549027584, -0.0472102128, 0.0128270127, 0.080225043, 0.0077212746, 0.0590989627, 0.0322009139, -0.0492351092, 0.0956133604, 0.0336007699, -0.0307753552, 0.0070300996, 0.0313307606, -0.0186302979, -0.0533888042, 0.0218752921, 0.0189216062, -0.0183902923, 0.0102507453, -0.0471801758, -0.05933851, 0.0072191926, -0.0246281587, 0.0351936296, 0.0533427596, -0.0236549713, 0.024118593, -0.0496527627, 0.002814864, -0.0523186587, 0.0188917462, -0.0444519073, -0.0431273021, 0.0038493432, -0.0029127311, -0.0595389493, 0.0225870237, -0.0381010845, -0.0129659595, -0.0197485089, 0.0170895159, 0.0189206861, 0.0069736196, 0.0447123982, -0.0153900115, -0.0344985984, -0.0415458828, -0.0009620425, 0.0219992734, -0.0143793197, 0.0214494597, -0.0239382666, -0.0781466439, -0.0371986926, 0.029166691, -0.0151595119, -0.0380516648, 0.0099092619, 0.0853988379, -0.0131399184, -0.0270290449, -0.0389232375, -0.0236159861, 0.0073011699, -0.1015042067, -0.0208165497, -0.0738897398, 0.0382115245, 0.0053326734, 0.0228378139, -0.0496451557, -0.001022284, 0.0015690095, 0.0017363356, 0.0659460649, -0.017868977, -0.0025233079, -0.0077519082, -0.0003270154, -0.0142815411, 0.1108790264, 0.0182451829, 0.0236157458, 0.0358268432, 0.0013709596, -0.0127286268, 0.1070698574, 0.0063475803, 0.0084494231, 0.0053780223, -0.0178477783, 0.008151738, 0.0056368322, 0.0392657146, 0.0315879099, -0.0480096899, -0.0063204076, 0.0455741547, 0.0584092289, 0.0197750442, 0.0308591798, 0.0877097175, 0.0151844583, 0.0075475327, 0.0074274605, -0.0447330661, 0.0095875636, -0.0114548979, 0.0078709796, -0.0019117699, 0.0687555075, -0.0176165327, -0.0062567913, 0.0054627932, -0.0231887624, -0.0098629771, 0.0108329067, 0.0654723942, 0.0229402203, -0.0710307658, 0.0652390867, 0.0199693795, -0.0264188331, -0.0047651036, -0.0369268209, 0.0094506452, 0.0630261824, 0.0315339863, 0.0315187648, -0.0221159477, 0.0063013085, -0.0104587376, 0.0616815872, 0.0443189293, 0.000869623, 0.0526387691, -0.0477661975, 0.0004679935, 0.0326993018, 0.0196924619, 0.0654454753, 0.0493819863, 0.0272310339, 0.0075794435, -0.0464222394, -0.0164981987, 0.0258950498, -0.0126546714, -0.032604225, 0.0309546478, 0.0114300484, 0.0290673189, 0.013719568, 0.0014344099, 0.0055733845, 0.0191479847, -0.0589767285, -0.0094813462, 0.0440768078, -0.0359043516, -0.0475427732, 0.0254571196, 0.0046313871, -0.0288436022, 0.0023759985, -0.0276002679, -0.0261439476, 0.001985657, 0.0056260899, 0.055760175, -0.0569986515, 0.0177363921, 0.0122244433, 0.0177276842, 0.0314954296, 0.0491439477, -0.0320946388, -0.0106676072, 0.0201096833, 0.0056459941, 0.004151552, -0.0279290732, -0.0290790331, 0.0478017628, -0.0166292097, -0.0121405385, -0.006905898, 0.0190120228, 0.0018647937, -0.0144639164, -0.0944448113, -0.0052423058, -0.0466572009, 0.0298221521, -0.0018103758, 0.0133743836, -0.0318806358, -0.0177011006, 0.0039882027, -0.0299353246, 0.0045308415, 0.0185621008, -0.0073861731, 0.0068514193, -0.0090211052, 0.0039115627, 0.0050228983, 0.0090275481, 0.0330685712, -0.0331093892, -0.0518109836, -0.0899190456, 0.0184458233, 0.0061423481, 0.0278868582, 0.0018774832, -0.0441737138, 0.0113479169, -0.0289121997, 0.0267524961, 0.0223294348, -0.0187320616, -0.0141046271, 0.0533825271, 0.0164463483, -0.0428639203, 0.0102369552, -0.005654668, -0.0267037917, -0.0749092624, -0.0378002971, 0.0099921608, 0.0563050099, 0.0035943282, 0.0017492201, -0.07513614, -0.0171738788, -0.0159055032, -0.0421154946, 0.0131528415, -0.013249658, 0.0000308481, 0.0447721891, -0.0199729223, -0.0403940342, 0.098018527, -0.0603705533, -0.0123565346, -0.0156331081, -0.0063650464, -0.0419575684, 0.0587275811, -0.015270262, 0.0023015107, -0.0254553352, -0.0417743251, -0.002768697, 0.0359140523, 0.0016790782, -0.011140354, 0.0555222854, -0.0473618135, 0.0103330808, -0.015030304, -0.0547437482, -0.0272324756, -0.0347372405, -0.0628355965, -0.011074109, 0.0228157528, -0.0224416759, -0.0019942434, 0.0243522115, -0.0580647886, 0.0537292063, -0.0233250372, 0.0186792463, -0.0131423566, 0.0044973455, 0.0296507198, -0.0430499651, -0.0023721005, -0.0594329201, 0.0508710593, 0.0702858865, 0.0185997225, -0.0135791544, -0.0483948179, 0.0069095478, 0.0474528633, -0.0029646519, 0.0155634787, 0.0225505307, 0.0596027076, -0.0734455734, 0.004451721, 0.1051375717, -0.0017581247, -0.0702067316, -0.0099741956, 0.0077780704, 0.0417942442, -0.0072886427, 0.0292797945, -0.1045463756, -0.0576107875, 0.0275564529, 0.0008801728, -0.0104672993, -0.0272545498, -0.0359022804, -0.1342600882, 0.0396344624, 0.0111828409, -0.0271052662, 0.0116913626, -0.0261441823, -0.0427637435, 0.015836671, 0.0112918355, 0.007452094, 0.0223014355, -0.0133255217, 0.011635364, -0.0228635594, -0.0343860574, 0.0173470229, -0.0336581878, 0.0220341738, 0.0403847545, -0.0034219618, 0.0115819173, -0.0054785255, 0.0224855505, -0.0345717221, 0.0022365917, -0.0189999938, 0.014123912, -0.040677391, 0.0107257552, 0.0306704957, 0.0212242771, -0.0358116627, -0.002427232, 0.0100097312, 0.05030559, -0.0057514184, -0.0378314666, 0.0067016119, -0.0062363371, 0.0159704089, 0.0621639304, 0.0127631333, -0.0229994524, -0.0519403554, -0.0363722853, -0.0202715807, -0.1048601568, -0.0063409884, -0.009075948, 0.0300982948, -0.0020246983, -0.0377477072, -0.0302791707, 0.036820583, 0.0184825417, 0.0072541526, 0.0591214821, -0.0147019522, -0.0191249456, -0.0472268574, 0.0422139056, -0.0176136363, 0.0184765924, -0.0631121695, 0.0063339295, 0.0454852395, -0.0214304645, -0.0020289652, 0.0442788154, -0.1092178375, -0.0648781806, -0.0144268572, 0.0602787137, 0.019749159, 0.0498854518, -0.0485107377, -0.0423266478, 0.0137238419, 0.0264421813, -0.0440788902, -0.0031060886, 0.0369033292, -0.0121006696, 0.0133792488, 0.0573853776, -0.0163106658, 0.0191224106, -0.0054562511, 0.0541058183, 0.0015039716, -0.0415981598, 0.0324410908, 0.0132019753, 0.0208697412, -0.0636293218, -0.0142545542, -0.0098566096, 0.0522962585, -0.0140494313, -0.0093212649, -0.0140039586, 0.0223696921, 0.0253685471, -0.035360802, -0.0044737714, 0.0118451593, 0.0217917208, 0.013254215, -0.0008403516, -0.00094402, 0.0243041944, -0.002225196, 0.0504248925, 0.0037059998, -0.018724557, 0.0193099752, -0.0062451353, 0.0243189242, -0.0446324125, 0.0066391812, 0.0224239305, 0.0126399584, -0.0236516576, 0.0067610894, -0.0402710885, -0.0558204241, -0.0171909891, 0.0177551694, 0.0723259374, -0.0075715506, 0.0567476526, -0.0444952287, -0.002339653, -0.0132081537, 0.0171390753, -0.0231460333, -0.0292904675, 0.0446180813, -0.0013345386, -0.0179723296, 0.0186640974, 0.0878154784, 0.0261636134, 0.070499979, 0.0173333324, -0.0036375085, -0.0077545419, -0.0622754879, -0.0284280665, 0.0302714985, -0.0383472405, -0.0078757694, -0.040841274, -0.0705409423, 0.0173424631, -0.0062095337, -0.0063999691, 0.0035245251, 0.0005401902, 0.0809057653, 0.0022342091, -0.0416228473, -0.0174907371, -0.0224760082, 0.038013421, -0.0262972508, -0.0252141841, -6.217155826e-33, 0.0020219882, -0.0287817959, 0.0378353447, -0.0302337538, -0.016815614, -0.0009979268, -0.0187024493, -0.0387467928, -0.0022000126, -0.0000912306, -0.0362566188, 0.0223532561, 0.0362092145, 0.0236922093, 0.0075998749, 0.0173288137, 0.066977933, 0.0027422521, -0.0136261778, -0.0167929716, 0.0235272609, 0.049688641, 0.0726164803, 0.0060549625, 0.0112878243, -0.0309340656, -0.0229814537, 0.0182986241, -0.0232917368, 0.0561379083, -0.0248932298, 0.014939975, 0.0228071082, -0.0001760322, -0.0205612183, 0.0028885256, -0.1062612459, -0.002824859, 0.0496306792, 0.0316138268, -0.00775962, -0.0396871343, -0.0040797861, 0.0026026596, -0.0114603909, 0.000845103, -0.0189654659, -0.0173601862, -0.0070164069, -0.063262932, -0.0666442737, 0.0511885285, 0.0181979444, 0.0208943672, 0.0951987654, 0.040554639, -0.0121037401, -0.0004774323, -0.067246303, 0.0055625038, -0.0418086164, 0.0395768918, 0.0580095202, -0.0109045375, -0.0228091367, 0.0284361485, 0.0009293062, -0.0261412542, -0.0587042309, -0.0025440478, 0.0317769907, 0.0243364647, -0.0011819992, 0.0555372573, 0.0792690143, -0.0213210639, -0.058580257, 0.015567923, 0.0212532096, 0.0415659174, 0.046046488, 0.0011844101, -0.0134637747, -0.0194125082, -0.0488745198, -0.0237493142, -0.034427885, -0.0239813719, 0.0381753445, 0.023462493, -0.0045489171, -0.003814125, 0.0688579082, -0.043884445, -0.0061494755, 0.029488232, -0.0109300492, 0.022973109, -0.010193374, 0.0611993112, -0.019085573, -0.0134434532, 0.0156367831, -0.0180142839, 0.0029421034, 0.0028723902, 0.0291151162, 0.0098332921, -0.0640677512, 0.0069026332, -0.0432573073, 0.0254362058, 0.0065165884, 0.0407818407, 0.0720451549, 0.0137392124, -0.0044072745, 0.0473407432, 0.005098559, 0.0501341484, -0.0312261861, 0.0061242268, 0.0294841174, 0.0544530712, 0.0028661694, 0.0100684017, -0.0177295078, -0.0125994189, 0.0311263558, -0.0578714833, -0.0152704697, 0.0630223677, 2.691e-7, 0.0389529355, 0.0257885549, 0.0384407938, 0.0236538406, -0.0092422245, 0.0075688446, -0.0192222241, 0.0047130994, 0.0184695814, 0.0020458791, 0.01169129, 0.0445989408, 0.0740355253, 0.0466977544, -0.0987842306, -0.0159800388, -0.015024405, 0.0151326759, -0.0669248104, -0.0492974222, 0.0120232338, 0.098784104, -0.01602499, -0.0314947441, 0.012185636, -0.0400125757, 0.0642248988, -0.0055588922, -0.0171476807, 0.0232215635, 0.0181152988, 0.0076459185, 0.0080416035, 0.0199591517, -0.0152728604, 0.0045104427, -0.0170290843, 0.0574820936, 0.0031479707, -0.0123746572, -0.0039389553, -0.0224364512, -0.036385823, -0.0310695264, 0.066575624, -0.0232857037, -0.021256309, -0.0280335881, -0.0097148027, -0.0134660732, -0.0130593562, -0.0312838815, 0.0131063238, 0.0788021982, 0.0486873686, -0.0148104103, -0.0310976859, -0.0796018913, -0.0363126844, -0.0124844955, -0.0363855921, -0.0071530943, -0.024886854, -0.0114651695, 0.0313171074, -0.102675125, 0.0142631559, 2.628500648e-34, 0.0470466502, 0.0065741511, 0.0075274329, 0.0795168579, 0.0214451179, -0.0170908459, 0.0387210697, 0.0384383909, -0.0252287742, -0.0639328361, -0.028838696 ]
http://arxiv.org/abs/2406.16751v2
http://arxiv.org/pdf/2406.16751v2
Towards Zero-Shot Text-To-Speech for Arabic Dialects
"2024-06-24T15:58:15"
"2024-06-25T14:18:21"
Khai Duy Doan, Abdul Waheed, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.SD, eess.AS
Zero-shot multi-speaker text-to-speech (ZS-TTS) systems have advanced for English, however, it still lags behind due to insufficient resources. We address this gap for Arabic, a language of more than 450 million native speakers, by first adapting a sizeable existing dataset to suit the needs of speech synthesis. Additionally, we employ a set of Arabic dialect identification models to explore the impact of pre-defined dialect labels on improving the ZS-TTS model in a multi-dialect setting. Subsequently, we fine-tune the XTTS\footnote{https://docs.coqui.ai/en/latest/models/xtts.html}\footnote{https://medium.com/machine-learns/xtts-v2-new-version-of-the-open-source-text-to-speech-model-af73914db81f}\footnote{https://medium.com/@erogol/xtts-v1-techincal-notes-eb83ff05bdc} model, an open-source architecture. We then evaluate our models on a dataset comprising 31 unseen speakers and an in-house dialectal dataset. Our automated and human evaluation results show convincing performance while capable of generating dialectal speech. Our study highlights significant potential for improvements in this emerging area of research in Arabic.
[ -0.0280356463, 0.0436385497, 0.0286396723, -0.0218496714, -0.0165423136, -0.0145878885, 0.0584243797, -0.0191748533, -0.0538326576, -0.0436588936, -0.0675021261, -0.07110551, 0.0673018247, 0.0050464123, 0.0337416045, -0.0416002199, 0.0044613322, -0.0712478086, -0.0052994927, 0.0042279982, 0.035614077, 0.0436462946, -0.0335700475, 0.0171402115, 0.0010734495, -0.0127702337, -0.0386116318, 0.0047887992, 0.02148588, 0.0337935835, -0.0296302773, 0.0400318429, 0.0025771474, 0.0506439283, 0.0000019593, -0.0394141376, -0.020913979, -0.0289184786, -0.0566839986, 0.0084602954, 0.0355632417, -0.0353321768, -0.05567687, 0.0001742887, 0.007871368, -0.0036049651, 0.0551264063, 0.0256504305, 0.0360472538, 0.0504980832, -0.0021032682, -0.0410878584, -0.0206154529, 0.005131118, -0.0057597226, 0.0057881614, -0.0489246659, -0.0549724996, 0.0289831217, -0.0155222816, -0.0267681666, 0.0322829038, -0.0158341751, 0.0065295864, -0.0231446847, -0.0138968797, -0.0521483123, -0.0218373053, 0.0131496014, 0.0724330917, 0.0034361449, -0.0204901323, 0.0054913932, 0.0295846201, -0.0146093098, -0.0298172534, -0.0064602825, 0.0444021299, 0.0007770543, -0.0176314209, 0.0116508752, 0.0228442345, -0.0027120071, -0.0362060964, -0.0498166457, 0.031475652, 0.0065115499, -0.0365418904, 0.0284179132, -0.0160193834, 0.0372474678, -0.044529397, 0.0021779758, 0.0206458364, -0.0252228864, -0.0309321303, -0.0291136578, -0.0324494503, -0.042586714, -0.0290191323, 0.0595971569, 0.058627706, -0.0162375756, -0.0218843408, -0.0155037399, 0.0021663266, 0.0416480117, 0.0138832238, -0.0510901287, -0.0202627834, -0.0547955856, 0.031048594, -0.0168727152, 0.0416529477, -0.0338177346, 0.0129770692, -0.0405693352, -0.0162741113, -0.0416718274, 0.0232143681, 0.0134119662, -0.0114301676, -0.0527612977, -0.0516614057, 0.0267392006, 0.044009842, 0.0172723066, 0.0283622555, -0.0452089198, -0.1044753343, -0.0156049561, 0.0250908583, 0.0309560169, 0.0528620183, -0.0109541817, 0.0258335043, -0.0274463892, -0.0463081896, -0.0460969731, -0.0202233214, -0.0483090803, -0.0516518876, -0.0229351278, -0.0576739386, 0.0292080138, -0.0146971326, -0.0177932214, -0.0030307467, -0.0292520896, -0.0038814542, 0.0518735349, 0.0310017634, 0.0225122534, 0.0239974633, 0.0659849867, 0.0045721997, 0.0321692973, 0.0733301491, 0.0447232313, -0.0118006142, -0.0388816595, 0.0000387936, 0.0161683857, 0.0694304407, 0.007044137, 0.0419941396, -0.0537392795, -0.0567234084, -0.0017504145, 0.0661572888, 0.0187694691, 0.0156364068, -0.0249064043, 0.0049306592, 0.0836713985, 0.0158589277, 0.0387113541, 0.0175040234, 0.0700014532, 0.0604331419, 0.0254427306, -0.0116122579, 0.0443963483, 0.0085718967, 0.0175627787, 0.0314658135, 0.0197729561, 0.0429958701, -0.0627171323, -0.0104418807, -0.0148294494, -0.0414491445, -0.030562738, -0.0050920649, 0.0682914555, 0.016281534, -0.0582067221, 0.0284127817, -0.0012451757, -0.0389854759, 0.0380378813, -0.0381096862, -0.0245688353, 0.0253801718, 0.0000534275, 0.0150007559, -0.0281701759, -0.0527799316, 0.0076678069, 0.0479451716, 0.0131477788, -0.0238977429, 0.06253241, -0.0675659478, 0.0063745412, 0.0262944158, 0.0132763889, 0.0195960104, -0.0512929112, 0.0615718961, -0.011288113, -0.0108015351, 0.04789754, -0.0045444188, -0.0605235249, -0.0109087033, 0.0420857444, 0.0235720593, 0.0162373874, 0.0562254637, -0.033667475, 0.0007159807, -0.0236349404, -0.0319415405, -0.0053274538, 0.0292375255, -0.0433255583, -0.0324440859, 0.0434799306, -0.0225994028, 0.0384941064, 0.0257182065, 0.0035168712, -0.0931375548, 0.1184329987, 0.0005559098, 0.0485993363, -0.0197924767, 0.0239838045, 0.0371345058, 0.0034040308, 0.0391298681, -0.0061895251, 0.0055925567, -0.0396519639, 0.0342022665, -0.0021589324, 0.0414140336, -0.0502094179, 0.0119942371, -0.0092901755, -0.024360152, 0.0372985192, 0.0005474087, -0.0164567009, -0.0045441543, -0.0192871764, -0.0732271224, 0.0034011556, 0.0019278168, 0.0447987579, -0.0214817915, 0.000057548, -0.0071880068, -0.0118672242, -0.0184637886, -0.0271161497, 0.0124298194, -0.0258335043, -0.0016156489, -0.0070582107, -0.0247737598, -0.0256247651, 0.0064410288, 0.001640128, 0.0247105993, -0.0121514509, -0.0294322558, 0.0319399126, -0.0314141065, 0.0057630651, 0.0008342704, 0.0352940895, -0.0130095193, 0.0203568488, -0.0003735282, 0.024088081, 0.0120634045, -0.0457102992, -0.0180300977, -0.0048887944, -0.0193885956, -0.0168552883, -0.0101140141, 0.0165594611, -0.0267301351, -0.0108812992, -0.0469680838, -0.0443889052, 0.0324454568, 0.0231241398, 0.0120739629, -0.0716063976, 0.0106699271, 0.0074643958, -0.0042566862, 0.0329565182, 0.0313471928, -0.0067267343, 0.0436833017, -0.0122234998, -0.0184958316, -0.0032316374, -0.0629300252, -0.0335621648, 0.0062367027, 0.0162829068, -0.0172950383, -0.0403598659, -0.0452835597, 0.0281101223, 0.0069193714, -0.013715433, -0.0638957247, -0.0116833132, -0.0033081148, -0.0208230373, 0.0087996488, -0.040558897, 0.0107442969, -0.0407624133, -0.0288191177, 0.0271882266, 0.0193398725, -0.0734211355, 0.0468579382, -0.0005116154, -0.0168013927, -0.0129572963, 0.0186235383, 0.0418084413, 0.053924378, -0.0021126976, 0.0177668259, -0.0115828142, 0.0092245564, 0.0225838833, 0.003964907, -0.0146470703, -0.0303873904, 0.0469084643, -0.0017774008, 0.0217393804, 0.0627024844, -0.0559347682, -0.0405533724, 0.0301781483, -0.0049615796, -0.0226690397, 0.000850216, -0.0138377789, -0.0000174301, 0.0300890002, 0.0912772641, -0.0160546564, -0.0162129868, -0.0125597995, -0.0023035221, 0.031515833, -0.0157301612, -0.0273302067, -0.1220497712, -0.0490868576, 0.060291592, 0.0353486277, 0.0094430307, 0.0241118018, 0.0028831132, -0.1151685715, 0.0160902124, 0.02907563, -0.0380447358, -0.0168693904, -0.0088428557, -0.0350214429, -0.0319311023, -0.0152415307, -0.0105300769, -0.001724177, 0.0027274108, 0.0537867136, -0.0101223597, -0.0855148509, 0.0262435004, -0.0333939269, 0.0966818929, 0.0046363426, -0.0025278002, -0.0132886535, -0.0226373971, -0.036966674, -0.0423065424, -0.0368256122, -0.0048511657, 0.0212880932, -0.0133525627, 0.0081808669, -0.0046726079, 0.0062881853, -0.0388412513, 0.0344407894, -0.030126797, 0.0216539316, -0.0037588649, 0.0246055964, 0.0286605153, 0.0442064367, 0.0077895266, 0.0374195538, -0.0000416697, -0.0694857314, -0.0423934087, 0.0069150738, -0.0117256371, -0.0923876911, -0.0288878158, 0.0115158046, 0.0279908609, -0.0445362441, -0.054551851, -0.0091358954, -0.0032235475, 0.0534268841, 0.0316570736, 0.0051559494, -0.0102130165, 0.0350841209, 0.0014621411, -0.0488713905, -0.0044460646, 0.0265636537, -0.0765015334, -0.0045277919, 0.0466315076, -0.074116908, 0.0214659683, 0.0026116883, -0.0671707913, -0.0410570279, 0.0057625682, 0.0111441649, 0.0177047309, 0.0328520983, 0.0131456228, -0.0396815352, 0.0777367353, -0.0034925954, 0.0441439711, 0.0466240682, 0.072049439, 0.0213661306, -0.0325056985, 0.0395658761, 0.0032457968, 0.0285254084, 0.0283423848, -0.0325882025, -0.0498152375, -0.0517324246, -0.0117467996, -0.0319209248, -0.0169797372, -0.0336650386, 0.0064362781, -0.0261646844, -0.0178065374, -0.0370485745, 0.0544773117, -0.0420526825, -0.0086889761, 0.0620790198, 0.039955955, 0.0330012329, 0.0168727506, -0.0329181291, 0.006921547, 0.0461960584, 0.022984257, 0.030628873, 0.0121795218, -0.0154927522, 0.001696449, -0.0138363596, 0.0035791995, -0.0327680483, 0.0482062027, -0.0355392732, 0.012974361, -0.0155220255, 0.0339912474, 0.0066247289, 0.0505466349, 0.0261850655, -0.0043735281, -0.0286177322, 0.0343624093, 0.0410444997, 0.0176593345, 0.0901952609, 0.0105619533, 0.0197157618, -0.0212730747, 0.0230567008, -0.0517835952, 0.0014925911, -0.0469380915, -0.0128995329, -0.0104079042, 0.0400863551, 0.0606262237, 0.0417909212, -0.0087778252, -0.0074974028, 0.0557857454, 0.0019596417, -0.0152394129, -0.0061750608, -0.0212053042, -0.0261931326, -0.0054288697, -0.0762515068, -0.0802844465, 0.0483357422, 0.0056069512, 0.0213389602, -0.0272257086, 0.0424650647, -0.0127295069, -0.0191273615, 0.0009957574, -0.0389916152, -0.0259748697, 0.0210219193, -0.0380185992, 0.006067073, -5.919083887e-33, -0.004904259, 0.0229507256, -0.0022082964, -0.0157555062, 0.0082273297, -0.0385029428, -0.0412337221, 0.0206383932, -0.023592256, -0.0151160518, -0.0228663366, -0.0117561296, 0.0242506657, 0.0385541096, 0.0355607048, -0.0040901224, 0.0424929857, -0.04671783, -0.0111426152, 0.037505392, 0.0511523448, 0.0300269052, 0.0768667087, -0.0219614748, -0.0247227754, -0.0465547778, -0.0289381407, -0.0132203726, 0.0106115174, 0.0564722717, -0.0022510129, 0.0612141304, -0.0024162701, -0.0513774641, -0.0025584796, 0.003051881, -0.0015595463, 0.0180327725, -0.0191228576, 0.0517776497, 0.0147868833, -0.0245110895, -0.0325370505, 0.0069999662, -0.1021375433, -0.0206442717, -0.0095626684, -0.0158299487, -0.006704946, 0.0051265503, -0.0900915936, 0.0367299207, -0.0190650299, -0.0602386929, 0.097447902, 0.1005822718, -0.0324280523, -0.0163175762, -0.0587412082, 0.0237702094, 0.0168290045, 0.0323310979, 0.083672896, 0.0432161465, -0.0625115857, 0.0045621567, 0.050186228, -0.0456437208, 0.0222863331, 0.0114308447, 0.0457269251, -0.03942772, 0.0364675373, 0.1115598008, 0.028971551, -0.0080375923, -0.0526883416, 0.0072074905, -0.0055588572, -0.0094838943, -0.0084864013, 0.0040774844, -0.0170267951, -0.0144395875, -0.0135723678, -0.0866418108, 0.0040837349, -0.0004177854, 0.0284732953, -0.0034718071, 0.0158369187, 0.0209087804, 0.0663184524, 0.0170540735, 0.0443908945, -0.0115425074, -0.0478920229, 0.0212670136, 0.0042592324, 0.0288546029, -0.0862276703, -0.0368394069, 0.0443758965, 0.0836287662, 0.0322172828, 0.0058043022, 0.0266618766, 0.0704268143, -0.0450225882, 0.0103243822, -0.0091282614, 0.048063539, -0.0109585421, 0.0654363707, 0.01876444, -0.0226862561, 0.0238647666, 0.0403156579, -0.0009237981, -0.0053099329, 0.0453312434, -0.0069542639, -0.0158312041, -0.0185237806, -0.0094886264, 0.0534038693, -0.0043133902, -0.0291735083, 0.0233694073, -0.0210571866, -0.0040822662, -0.003025688, 2.728e-7, -0.0275413487, -0.0155378561, 0.0313022137, -0.0354820229, 0.0207189824, 0.0620632246, 0.0045368145, 0.0172237046, -0.0040262123, 0.0251571611, 0.0002758822, -0.0155620594, 0.1133963689, -0.0198293049, -0.1176983118, -0.0089189634, -0.0372695923, 0.0588757508, -0.0466572791, 0.0066362862, 0.016486004, 0.1104966998, -0.054499764, -0.0182822179, 0.0122801978, -0.0139153302, 0.0475914814, 0.0193000939, -0.0092153884, 0.023635488, 0.0239793025, -0.0672942996, -0.0269828513, -0.0368350297, -0.0460605398, 0.0304399002, 0.0072437664, 0.0853383616, -0.0124727758, -0.0581200235, 0.0260419361, 0.0173732284, -0.0534037128, 0.0069557545, 0.0584080592, 0.0122991018, -0.0205512494, 0.0298481118, -0.0236849673, 0.06765908, 0.001552287, -0.0437438004, -0.0008552842, -0.0083224447, 0.0479785316, 0.000723955, -0.0023475387, 0.0011613335, 0.0203633159, 0.0127031794, -0.0242555309, -0.0117763067, 0.0209771451, -0.0211001337, 0.0200694818, -0.0334698595, 0.0038143308, 2.017231188e-34, 0.0294738151, -0.0245720856, 0.0351595879, -0.0142862983, -0.0101668118, -0.0161840469, -0.0501494929, 0.0052745114, 0.0340495519, -0.0001120074, -0.0311827492 ]
http://arxiv.org/abs/2406.16748v1
http://arxiv.org/pdf/2406.16748v1
OCALM: Object-Centric Assessment with Language Models
"2024-06-24T15:57:48"
"2024-06-24T15:57:48"
Timo Kaufmann, Jannis Blüml, Antonia Wüst, Quentin Delfosse, Kristian Kersting, Eyke Hüllermeier
cs.LG
cs.LG, cs.CL
Properly defining a reward signal to efficiently train a reinforcement learning (RL) agent is a challenging task. Designing balanced objective functions from which a desired behavior can emerge requires expert knowledge, especially for complex environments. Learning rewards from human feedback or using large language models (LLMs) to directly provide rewards are promising alternatives, allowing non-experts to specify goals for the agent. However, black-box reward models make it difficult to debug the reward. In this work, we propose Object-Centric Assessment with Language Models (OCALM) to derive inherently interpretable reward functions for RL agents from natural language task descriptions. OCALM uses the extensive world-knowledge of LLMs while leveraging the object-centric nature common to many environments to derive reward functions focused on relational concepts, providing RL agents with the ability to derive policies from task descriptions.
[ 0.0658393577, 0.0535705686, 0.0092936298, 0.0315505527, -0.0341109745, 0.0026659353, -0.0501907952, -0.0049599824, -0.0163782798, -0.0415105037, -0.0499994121, 0.0362884142, -0.0331299081, 0.0349511467, -0.0215895642, -0.0840996727, 0.0262574162, -0.0329094268, 0.028397074, 0.0229416713, 0.0015660237, -0.0023492128, -0.0098990668, 0.0447692126, 0.0104115857, -0.0150165325, -0.0452189893, -0.0448254831, 0.0119034005, -0.0484506562, 0.0120942928, 0.0259090159, 0.0627578348, 0.0043423558, 0.0000020401, -0.0586619712, -0.0340323113, -0.0075025507, -0.0136061013, -0.0828815997, 0.0568107702, -0.0053822584, 0.0153650837, -0.0038777341, -0.0414740629, 0.0010043146, 0.0480360165, 0.0563162155, 0.0358575955, 0.0537394919, 0.0123809362, -0.004326683, -0.0021374931, -0.0092643481, 0.0558381565, -0.0597456507, 0.0109608816, 0.0473910123, 0.0399893969, 0.0119250733, -0.0154050486, -0.0402095094, 0.0512124971, -0.0023873653, 0.0159641486, 0.0349907354, 0.0099415686, -0.0133962696, -0.0157401841, 0.0535310246, -0.0184982922, 0.025037555, -0.0165471286, 0.0081469612, 0.0227157306, -0.0005870869, -0.0120833693, 0.0643545911, 0.0087529775, 0.0209780131, 0.0197725501, 0.0422946028, 0.0188402403, 0.0271622464, -0.0251906477, 0.0996132717, -0.0398396216, -0.0095632952, 0.0133724781, 0.0281716324, -0.0101869665, -0.0423894413, -0.0213165041, 0.0729469657, -0.070902884, 0.01687981, -0.0045719342, 0.0273629837, -0.017612109, -0.0326877795, 0.0465726182, 0.0024040677, -0.0151463915, 0.0530901626, -0.0190165043, 0.0703352764, 0.0204690844, 0.0089593343, -0.0334611461, 0.0095800189, -0.0932549536, 0.0020064865, -0.0045512132, 0.0378576331, -0.0111549078, -0.005772314, -0.0309275426, 0.0495464876, -0.0796974152, -0.0008599584, 0.0045554163, 0.0285410061, -0.0282310564, 0.0200277623, -0.106208764, -0.019973211, -0.0262790807, 0.0223901756, -0.0025394976, 0.0056668445, 0.0069213337, 0.0067461967, 0.0059022694, -0.0097195217, 0.0199643485, 0.1446282119, -0.0028397948, -0.0341619961, 0.0063553583, -0.0603517704, -0.004679061, -0.0304561518, 0.0066671241, -0.0731166974, -0.0037910836, -0.0184925795, -0.0070884656, -0.0187494438, 0.0221410692, 0.0097819138, 0.0074616647, 0.0634197891, 0.0207343046, -0.0275554191, -0.0337102488, 0.0076424065, -0.0111009981, 0.0672073439, 0.0503966585, 0.0398980901, 0.0008140461, 0.0507407151, 0.0087655094, 0.0175661761, -0.0099332025, 0.0070626242, 0.0046565044, 0.0051539708, -0.0014950181, 0.0289660916, 0.0502176136, -0.0054228241, -0.0151554542, 0.0400326513, 0.0505467728, 0.0274353828, -0.0152808707, -0.0215409379, 0.0407983772, 0.0067198793, -0.0080119269, -0.0413579829, -0.0590613075, 0.0600742623, -0.0052008526, 0.0068808636, -0.0517681651, -0.0262147915, -0.0033346186, -0.058301229, 0.0438619368, -0.0228738356, 0.0690110624, 0.0526528917, 0.0649299398, 0.0119449897, -0.0382871106, -0.0180558078, 0.0319102108, -0.0055842642, 0.0293380842, -0.0848398954, 0.0355187543, 0.063636817, 0.0521267429, -0.064961955, -0.0083815651, -0.0289251301, -0.0235485006, 0.0505474247, 0.0123884706, -0.0431783721, -0.0145223662, 0.0264771115, -0.070184879, -0.0296544321, -0.0029061015, 0.0299402159, 0.0248582363, -0.0331773795, -0.0135380663, 0.0037045379, -0.0737645179, 0.0475160852, 0.0372900665, -0.0290733054, 0.0017427293, 0.0136871897, 0.0225971714, -0.0002309879, 0.0102868201, 0.0096864095, 0.036430385, -0.0134425918, -0.0282242, -0.0147695653, -0.0187000334, -0.0078846943, 0.0175534189, -0.0061092377, 0.0068421471, 0.0368918665, -0.015178632, 0.0092503736, 0.0185428206, -0.0232051797, 0.0428197347, -0.0013749815, 0.0102501269, -0.0161395855, -0.0512227677, -0.0546114817, 0.0618906282, 0.0115404278, -0.0014378568, -0.0338576213, -0.0147100044, -0.0177175254, -0.0478331707, -0.0263581425, 0.0019253826, 0.0155670308, 0.059494365, 0.0737461299, 0.0598550141, -0.0307574291, -0.0258045327, -0.0182193313, -0.0200827774, -0.0040922342, 0.0033228493, 0.0237064734, -0.032758452, 0.0178737137, -0.0078274701, -0.0383638218, -0.0056616645, 0.0062792785, 0.0027028846, 0.0396893583, 0.0198814478, -0.0257679205, -0.0174013358, 0.0108824475, -0.0326588526, 0.0012290825, 0.0392974354, 0.0581573471, -0.0559651367, 0.0405387171, -0.0305951405, 0.0370860882, -0.010881139, -0.0132662142, 0.0562591255, -0.016027078, -0.0002604156, 0.0948101059, -0.0143040512, 0.0892005637, 0.0692535341, -0.014215908, -0.0546874963, -0.0015192116, -0.0540756732, -0.0584956259, -0.0515763611, -0.0240431, 0.0130633153, 0.0761896968, -0.0289054886, 0.0020933691, -0.0450211428, 0.0422453098, -0.0340395607, -0.0427001752, -0.0721571967, 0.0029786087, -0.0122312056, 0.0151089113, -0.0276153442, -0.0270216092, 0.0815662742, 0.0282465909, 0.0083914585, -0.0362058543, -0.0278140921, -0.0422940589, 0.0760719106, 0.0050770193, 0.0302446354, -0.011416628, 0.0089990078, -0.0580835752, -0.0165494494, 0.0110168857, -0.0220652651, -0.0092504229, -0.0500245094, -0.005935661, 0.0209766701, -0.0344806574, -0.0513046384, 0.0237558465, -0.0298381094, 0.0562837534, -0.0366005301, -0.0104282778, -0.0509295352, 0.0067705931, 0.0374904461, -0.0186699182, -0.0287466049, -0.0217432156, -0.0463099033, -0.047110226, 0.0721583739, -0.0012869879, -0.0106669823, -0.0601559877, -0.0063998736, 0.0345008522, 0.0234492943, -0.0410354398, -0.0219145585, 0.0665813684, 0.0101877395, -0.0418435596, 0.0217950828, 0.0476552658, -0.0071984613, -0.0824494287, -0.0480173975, 0.1060411781, 0.0264404081, -0.034661863, 0.0162953306, -0.0406827778, -0.012382457, 0.0253355764, 0.0644601211, -0.0430981889, -0.0355748683, -0.0235626996, 0.0187165886, -0.014318049, -0.0451780744, 0.0214681756, -0.111369364, -0.0135304369, -0.017847063, -0.0765994862, -0.0353317671, -0.0037721426, -0.0187261235, -0.0505389161, -0.0400229245, 0.0233482569, 0.0075874883, -0.0132481055, 0.0209005419, 0.0344217978, -0.0045944774, 0.0837537944, -0.0665799379, 0.0347542576, 0.0878631473, 0.0095085315, -0.0210391544, -0.002388163, -0.0550011992, 0.0499764308, -0.0051948773, 0.0213376023, -0.0152993537, -0.0356481075, -0.0151680596, -0.0070330175, 0.0233236682, -0.0225323942, -0.0330372676, -0.0097830733, 0.0662275776, -0.0067784223, -0.0089530433, -0.0163401701, -0.0117354672, 0.0408205353, 0.0785488486, -0.0400913246, -0.0607666746, -0.050209105, -0.0362885296, -0.0661328435, -0.0183809325, -0.0449965596, 0.0083930567, -0.0468331985, -0.0256358422, -0.0508160666, -0.0467397645, 0.0320349559, -0.0056616417, 0.0279112104, -0.0540388301, 0.0280414354, 0.0165741146, -0.0488542579, 0.0285727903, -0.0292105675, 0.0217927583, -0.0350433141, -0.0131685482, 0.0125049036, -0.0371006429, -0.0402476266, -0.0060697696, -0.0090373373, -0.0171855185, -0.0145251555, 0.0924363732, 0.0165498778, 0.0205309093, 0.009420977, -0.0259781536, 0.0147490166, 0.0178018864, -0.0515203774, -0.0112632914, 0.0247531962, 0.041806262, 0.0214646775, 0.0149784433, -0.0885647684, 0.0288025532, -0.0181867443, 0.0373846516, -0.0083548296, 0.0099632172, 0.0457268506, -0.0623672381, 0.018727107, -0.0142938225, -0.0194412116, -0.0129801193, -0.0173329413, -0.0181351006, -0.0390008464, -0.0356684253, 0.0102780042, 0.0065349974, 0.0178251844, 0.0509613603, -0.0057843416, -0.0139637683, 0.010343547, 0.0120906085, -0.0014888516, 0.0484568365, -0.005891718, 0.0101000462, 0.0257094782, 0.0274971537, -0.0316737629, -0.0113024153, 0.0457534418, 0.0136250081, 0.0738647506, 0.0328837223, 0.0196659248, -0.0568112284, 0.0081993481, -0.0339236073, -0.0039417208, 0.0134321339, 0.0092896884, 0.0306925662, 0.0029311446, 0.0218805522, -0.079902567, 0.0130513385, 0.0196656361, 0.0093752425, -0.0330006219, -0.0429319143, 0.0414068066, 0.0450612642, 0.0317575932, -0.047374282, 0.0574030951, 0.0411632992, 0.0426863544, -0.0421805419, -0.0236245319, -0.0189602412, -0.0110848248, 0.0454717949, 0.0121948356, -0.0233854931, 0.006094384, -0.0401465893, -0.0540998392, -0.0399574712, 0.0805980265, 0.0132088307, -0.0195460059, 0.049804043, 0.0194365308, -0.0388385616, -0.0554119907, -0.0588046759, -0.0278496109, -0.003170908, -0.015145014, -0.0503174551, -5.390189305e-33, -0.0105800396, -0.050646577, 0.058935035, 0.0111872451, -0.0006809425, 0.0086653316, -0.0254372098, -0.0035497434, 0.0272302981, 0.0397320129, 0.0312182289, -0.0185201596, -0.0138891386, -0.005080774, 0.0265612975, -0.0253325421, 0.0063398904, -0.024489589, -0.0308102556, -0.0074422411, 0.0411320068, -0.0226046406, 0.0478660315, -0.0720850974, 0.0990059376, 0.0209720619, -0.0398987085, 0.0520704277, 0.024446344, 0.0554543771, 0.0070394627, 0.0147790946, 0.0183529705, -0.0320791006, -0.0041941251, 0.0160678588, -0.0758885741, -0.0477363057, 0.0182094071, 0.005369294, -0.0828514546, -0.0009829093, 0.0133700464, 0.001068906, -0.0197742712, 0.0187888481, 0.037339773, -0.0105349226, 0.0242886264, 0.0463820845, -0.0552166775, -0.0236642603, -0.0181230661, -0.0610965192, 0.0413039066, 0.0086113652, -0.0247352142, -0.0061991327, 0.0185382925, 0.0428075679, 0.0014593996, -0.0006030336, 0.0568547584, 0.0653774738, 0.015527362, 0.0677345023, 0.0010993313, 0.0200421512, -0.0151135754, 0.0065939617, 0.0253161509, 0.0631745979, 0.0352847464, 0.0267261174, 0.0081459191, 0.0684301779, -0.0515684336, 0.0312822014, -0.0176519416, 0.0636427552, 0.0265252646, 0.0117158713, -0.0226183422, -0.0234347302, -0.0466424078, 0.0036970905, -0.0174833182, -0.0253830831, 0.039932128, 0.0021086033, -0.0274310298, -0.0397084989, 0.0006265386, -0.0520304739, -0.0222353805, 0.0123579549, -0.0345255807, 0.0187256709, -0.0214239042, -0.0369278751, -0.0529416837, -0.0300189331, 0.0103425793, -0.0295435414, 0.0114981076, 0.0415280834, 0.0070416429, 0.0363670848, -0.0058100796, -0.0099326214, -0.0524348877, 0.0034629791, 0.0321385041, 0.023372991, 0.0395053662, -0.0005673954, -0.013056661, 0.0505993739, 0.0088712452, -0.0629965439, -0.0063290088, 0.0102900164, -0.0216379296, 0.0165492948, -0.0321689136, -0.0098269945, -0.0385154523, -0.0067699268, 0.002223759, -0.0289398488, 0.0126624266, 0.0035709161, 2.655e-7, 0.0230221674, 0.0439493395, -0.0095090913, 0.0801289156, 0.0247426014, 0.0641686395, 0.0049384432, 0.06034128, 0.008343501, -0.0003698491, 0.013613916, 0.0587183908, 0.0112907505, -0.0284114815, -0.0665815547, -0.0125333937, -0.0219696313, -0.024797501, -0.0193097275, -0.0063382308, 0.0366431326, 0.0331418887, 0.0370592177, 0.0003138931, 0.0100279767, -0.0288174972, 0.0307895374, -0.048673775, 0.0114007909, 0.0100297807, -0.0219011735, 0.0230778959, 0.0081481598, 0.0141485902, 0.0208318606, 0.0057200012, -0.0020193637, 0.0713860989, -0.0270840675, -0.0072051841, -0.0158310272, -0.0037382955, 0.0137221515, -0.0299539845, 0.0334943719, -0.0572585277, -0.025717197, -0.0315365717, 0.0275870897, -0.0418362543, -0.0374704525, -0.024337044, -0.0430310667, -0.0017436064, -0.0041891313, 0.0300150476, -0.017055409, -0.0318631753, -0.0178523306, 0.0329405181, 0.0117022581, -0.029890256, -0.0313290395, 0.0319168083, -0.021005746, -0.0687900484, -0.0200224239, 2.25611919e-34, -0.0252865236, 0.0109549267, -0.0189687572, 0.0177474841, 0.0404351242, 0.0413505435, -0.0441992246, 0.0254331287, 0.0589666888, -0.0229835622, -0.029459564 ]
http://arxiv.org/abs/2406.16747v1
http://arxiv.org/pdf/2406.16747v1
Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers
"2024-06-24T15:55:59"
"2024-06-24T15:55:59"
Chao Lou, Zixia Jia, Zilong Zheng, Kewei Tu
cs.CL
cs.CL, cs.LG
Accommodating long sequences efficiently in autoregressive Transformers, especially within an extended context window, poses significant challenges due to the quadratic computational complexity and substantial KV memory requirements inherent in self-attention mechanisms. In this work, we introduce SPARSEK Attention, a novel sparse attention mechanism designed to overcome these computational and memory obstacles while maintaining performance. Our approach integrates a scoring network and a differentiable top-k mask operator, SPARSEK, to select a constant number of KV pairs for each query, thereby enabling gradient-based optimization. As a result, SPARSEK Attention offers linear time complexity and constant memory footprint during generation. Experimental results reveal that SPARSEK Attention outperforms previous sparse attention methods and provides significant speed improvements during both training and inference, particularly in language modeling and downstream tasks. Furthermore, our method can be seamlessly integrated into pre-trained Large Language Models (LLMs) with minimal fine-tuning, offering a practical solution for effectively managing long-range dependencies in diverse applications.
[ 0.0192884672, 0.1007415876, 0.0162541158, 0.0349451005, -0.0134049971, -0.0048696185, 0.0126628028, -0.000850011, -0.0323501863, -0.0467521809, -0.0376353674, -0.0596997812, -0.0077177729, 0.0395668186, 0.0509640835, -0.0356952548, 0.0246765446, -0.0398786515, -0.0370805822, -0.0021377325, -0.010623103, -0.0005563881, 0.020497065, 0.0389784239, -0.0157062113, -0.0108619453, -0.0207056738, -0.0118002575, 0.019076217, -0.0304273237, 0.0275674183, 0.0753168613, 0.001898907, 0.0484467149, 0.0000022047, -0.0026858496, 0.0220213626, -0.0225833785, -0.0404065773, 0.034185227, 0.0112713473, -0.0049952306, 0.0317573361, -0.0113270972, -0.0178962145, -0.0405236743, 0.0531918369, 0.0288968794, 0.0635363087, 0.0659171119, 0.0028356635, -0.0390975997, 0.0067414995, -0.0778628215, 0.0304652248, -0.1008171514, 0.0071896757, -0.059238065, -0.0031574036, 0.0039814766, -0.0138919596, 0.0597476177, 0.0186142921, -0.0177193824, 0.0396232791, 0.0497623123, -0.0445646457, -0.0180305354, 0.0107185142, 0.0680527613, -0.0600363389, -0.0311850272, 0.0106768152, -0.0039666868, -0.037357986, -0.041107513, -0.0290598981, 0.0180756338, 0.0301902555, -0.0030935521, 0.0141178584, 0.0310781039, 0.0379563607, 0.0295837931, -0.0707214922, 0.008154152, 0.0355642326, -0.0021630798, -0.0249033086, -0.0017382741, -0.0517110936, -0.061170429, -0.0046255789, 0.0509071872, -0.0224806871, -0.0117418095, -0.0560947992, -0.0311823655, -0.0048150113, 0.0145695349, 0.0622441955, 0.032598678, -0.0108028436, 0.0395003296, -0.0176468659, 0.0341035612, -0.0324763171, -0.0107516926, -0.0142623428, 0.000731695, 0.0160551164, -0.0119404439, -0.034921702, 0.0065476131, -0.0267632492, -0.0193162728, -0.0157301798, 0.0265154466, -0.0021169272, -0.0554175414, 0.0346263759, 0.0280792527, -0.0665192455, -0.0266628396, 0.0171707645, 0.0316029564, -0.0315101892, -0.0029212546, 0.0108269285, -0.0169425718, -0.0580457523, 0.0450650156, 0.0232848488, -0.0427911878, -0.0146639599, 0.0605067052, -0.0057727913, -0.0300989915, -0.0169219747, 0.0063314862, -0.0311344359, -0.083185643, 0.0083982982, -0.0555357784, -0.0012455096, 0.0132191405, -0.008164838, -0.0278789457, 0.0185572729, 0.050083451, -0.0152007369, 0.0312916674, 0.051011268, -0.0057172612, -0.0096051591, 0.005436874, 0.0325271711, 0.0709041059, 0.0055457447, 0.0400234796, -0.0308165494, 0.0109884162, -0.0133770471, 0.014922522, 0.0660343245, -0.0166949593, -0.0196418799, -0.0002844028, -0.002678537, 0.0085441256, 0.0403110124, 0.0382113792, -0.0053915824, -0.0494685136, 0.0413194112, 0.0313662365, 0.0333730914, 0.042005226, 0.0529134125, -0.0029364491, -0.0525744297, -0.0146586876, -0.0366744585, 0.0771709979, 0.0070857615, 0.0025421218, 0.0328061208, 0.0405420884, -0.0469581895, -0.0170186181, 0.0039200154, 0.0263330769, -0.0270226933, 0.0333667621, 0.033247862, 0.0177516676, -0.0640820563, 0.085249573, 0.0131416991, -0.0391355567, 0.0053739226, -0.050121773, 0.0001092714, 0.0184366871, 0.0055986168, -0.0304656569, -0.0043912986, -0.0097023174, 0.0133595001, 0.0370642506, -0.0070325849, 0.0115960082, 0.012427317, -0.0420708098, -0.0108781047, -0.0162317213, 0.0088176392, 0.0243473407, 0.0142564513, 0.0345306881, 0.060934335, -0.0221909638, 0.0155090904, 0.0224745739, -0.0293496177, -0.0395575166, -0.0004442788, 0.0310415272, 0.0149329053, 0.0243480857, 0.0168553274, 0.0379812792, 0.0445989706, -0.0743959397, 0.0218253471, -0.0446011424, -0.0843594, -0.0588642433, 0.0051078345, -0.004228591, 0.0032023371, 0.0708139166, -0.0116529511, -0.0382603221, 0.0595343076, -0.0529500693, 0.0263658483, -0.0407925099, -0.0051151901, 0.0387191698, 0.0533637479, -0.0551012121, 0.0570122413, -0.0036233182, 0.0066732033, 0.0102496399, 0.004352909, -0.0218156558, -0.0174892973, -0.0565410703, -0.0032453702, -0.0211288668, -0.0016986086, 0.0202878136, -0.0042405277, -0.0107124373, -0.0295009892, -0.0581280068, 0.0042741043, -0.0739329532, 0.0024858683, -0.0194975343, 0.0414099768, 0.0224669222, -0.0060542701, -0.0404190645, -0.0006558246, 0.0261252243, 0.0125424229, -0.005834592, 0.0230761524, -0.0041839723, -0.0240554288, -0.0554014444, 0.0390506126, 0.077798754, -0.0191684831, -0.0298315734, -0.0140789319, 0.0364673547, -0.0156293623, 0.017225761, -0.0220448207, -0.0147244614, -0.0402173176, -0.058228761, 0.0523605719, 0.060266085, 0.0344684124, -0.0072035366, 0.0210143235, -0.0392686091, -0.0204505473, 0.0329601467, -0.0351030529, -0.0174685232, -0.0169128422, 0.0213569831, 0.0183180869, 0.1082936227, -0.0268145017, -0.0323724113, -0.0613217913, -0.0091128033, 0.0089059761, -0.040780697, -0.0213319324, 0.0342974663, -0.0185684096, 0.0276517961, -0.0246685613, -0.0139890518, 0.0562567413, -0.0096322466, -0.002842702, 0.0027813667, 0.0131649273, -0.0281409603, 0.0486527197, 0.032578066, 0.0085233347, -0.0264987294, -0.0295580439, -0.0358249061, 0.0158039797, -0.0151885934, -0.0035780193, 0.0867704675, 0.0006453608, 0.0442729332, -0.0214544535, -0.0273107272, -0.0513894148, -0.0475255847, 0.0000907865, 0.0119360052, 0.0407281481, 0.0195060931, -0.0598819703, 0.0540398508, -0.0001182437, 0.0583584793, -0.0230866447, 0.0250580702, -0.0015060544, 0.0215059798, 0.0650408119, 0.0202388298, 0.0080619855, -0.0221044179, -0.0127821695, 0.0420139395, 0.0412774011, 0.0041292864, -0.0035125341, -0.0039255787, 0.0378289111, -0.007893757, 0.0064320001, 0.0011985956, 0.040616136, -0.0704155415, -0.022295462, 0.0710269362, -0.0155142536, -0.0489506125, -0.004155512, -0.0046437848, 0.068999216, 0.0313480198, 0.0312246531, -0.0693612322, -0.025792703, -0.019097954, 0.0343540162, 0.0240151864, -0.0430153236, 0.0085485037, -0.1033415198, 0.0232034866, 0.0112425815, -0.028210111, -0.0215461142, -0.0171475541, 0.0273335408, -0.0084500602, -0.0029041634, 0.0341574177, -0.0188117139, -0.0221615992, 0.0335658453, 0.0207319241, -0.0451924354, 0.0372595936, -0.0244635306, 0.0124667799, 0.0339032225, 0.0081521338, 0.0344432667, -0.026472101, 0.0014040478, -0.0320795923, -0.0032750701, -0.0044580898, 0.0282419343, -0.0348192938, -0.0308926683, 0.0070254002, 0.0020940986, -0.0178674478, 0.0087252511, -0.0269930512, 0.0770944059, -0.0013148743, -0.0014413532, -0.0012015067, -0.0039138864, 0.0062988428, 0.0616851896, 0.0453201607, -0.0104687093, -0.0577615537, 0.0012262238, 0.0157031585, -0.0884509608, -0.054333657, 0.031359341, 0.0155937104, -0.0821525902, -0.0452220738, -0.0225535315, 0.0186380744, 0.0497730263, -0.0220535602, -0.0023962629, 0.0095923236, -0.0111722397, -0.0783890113, 0.0287714396, -0.0516103022, -0.0010533964, -0.0599868037, -0.0030301821, 0.0207522884, -0.0227441806, -0.021436302, 0.0287753139, -0.1290178299, -0.0537975207, 0.0191319548, 0.0639482588, 0.0040850653, 0.0372057036, 0.0059318496, -0.0417065546, 0.0608866923, 0.029103402, -0.0466354974, 0.0483949073, 0.0264939424, -0.0549052544, -0.0129937567, 0.063295275, -0.044003617, 0.0536161549, 0.0273067933, 0.0667602569, 0.0093653714, -0.0020231833, -0.0170429051, -0.0231910814, 0.035492532, -0.0062969038, 0.0443218797, -0.0206799489, 0.039504122, 0.0082766591, 0.0029483032, -0.0535569377, 0.0055926498, 0.0079893712, -0.0202647466, -0.0016180053, 0.0309411865, 0.0171857458, 0.0034947605, -0.0728842169, 0.042440109, -0.0179731846, -0.0084369835, 0.0283089839, 0.0179442186, -0.0351232961, -0.0230654795, 0.0183534641, 0.0176108144, -0.0140015287, 0.0056000743, 0.0122488691, 0.0198387112, -0.0345408879, -0.0040245564, -0.062566638, -0.0352684334, -0.0218147002, -0.0252415128, 0.0461668186, -0.0494096018, 0.0271099601, 0.0010284337, -0.0204837825, -0.0360725708, 0.0122268125, -0.0021241237, -0.0236637834, 0.0130456565, 0.0214834213, 0.0104062855, 0.0114948619, 0.0785118714, 0.0332058109, 0.0346899815, 0.0255251303, -0.0075218966, -0.0404565707, -0.0347189941, -0.0050933873, 0.014125539, 0.0082215322, 0.0349767804, -0.0077798893, -0.0756625161, 0.0200034715, -0.0549115092, -0.031104628, -0.0064116931, 0.0454870164, 0.047503192, 0.0265354943, -0.0100239394, -0.0273721702, 0.0469704121, 0.0068729152, -0.0143745989, -0.0093241744, -7.487366369e-33, -0.0276322197, -0.0185540318, 0.0040730909, -0.019545963, -0.0653512627, 0.020167293, -0.0588356331, -0.0240238812, -0.0119640296, -0.0021714948, -0.0226543732, -0.0044288207, -0.0013021842, 0.0585709326, 0.0004304681, -0.0405788086, 0.0593702123, 0.0278518032, 0.0003833247, 0.0681473836, 0.0106599005, 0.0415079594, 0.0629234314, -0.0300500989, -0.0459725223, -0.0009543901, 0.0219638422, -0.0225150976, -0.0009306019, 0.0418310203, -0.0310085714, 0.0464966297, 0.0234600492, -0.0574614443, -0.0365277193, 0.0142941764, -0.0841614604, -0.0159205012, -0.0168541372, -0.0185113028, -0.0083056102, -0.0361355431, 0.0309545659, 0.018738335, 0.0275704898, -0.0474454015, 0.0096975509, 0.0006976753, -0.0527481511, -0.0528038666, -0.0575381257, 0.0409395695, -0.0068987519, -0.0270303413, 0.0297714546, 0.025897976, -0.0027302322, 0.0203562062, -0.0533040836, 0.0064024027, 0.0082333256, 0.1105611399, 0.0625484809, 0.0674090832, 0.0269241948, 0.0284212735, -0.0150728403, 0.0013681898, -0.0323689021, -0.0295759216, 0.0310792401, 0.0265107937, 0.0200590976, -0.0214546658, 0.0335271284, -0.0061874366, -0.0814150944, -0.0354647152, -0.0473202169, 0.074089542, 0.0527277216, 0.0136439055, -0.0010098374, -0.0172110107, -0.0064316336, 0.0048104711, -0.0518845804, 0.0209081769, 0.0290153455, 0.0562599748, -0.0312741473, 0.0195751674, 0.0610121228, -0.0203707218, 0.0141510461, 0.0310041402, 0.0285147373, -0.0087667704, 0.0028346565, 0.0341133997, -0.0451097935, 0.0216315147, 0.0023440041, -0.008038993, -0.0141205713, -0.0184855331, -0.0004746247, 0.0289712939, -0.0574580394, -0.0546613894, -0.041040089, 0.0523081906, -0.0144770415, 0.0701816604, 0.0466386043, -0.0026934023, 0.0109187802, 0.106683746, -0.0193754509, -0.0136890849, -0.0055236104, -0.001096991, 0.0467914455, 0.0356047712, -0.0421951897, 0.0183273163, -0.0442295484, 0.0185182523, 0.0191833731, -0.0557799302, -0.0189456083, 0.0534209274, 2.943e-7, 0.0388553999, 0.010830651, 0.0035967312, 0.0204967037, 0.0039970018, -0.0032795663, 0.0327179283, 0.0331122912, -0.0041459845, -0.0039609228, -0.0013445872, 0.0359218828, 0.0463644676, 0.0000655783, -0.088754639, -0.0067637241, -0.0649091303, -0.0012613939, -0.0621513762, -0.0562845804, 0.0179339759, 0.1252665967, -0.0241984334, 0.0128898732, 0.028011322, -0.007384418, 0.0512510128, 0.0101330942, -0.0017586361, 0.0219267849, 0.0456430018, -0.028664358, -0.0024650828, -0.0065421299, -0.0236335751, 0.0267593209, 0.0210650098, 0.0736237168, -0.0081086224, -0.0597784519, 0.0082962597, 0.0210967008, 0.0127109969, -0.0509903505, 0.066116862, -0.0726210997, -0.0197052807, -0.0216829907, 0.0004563313, 0.0064831725, 0.0114518618, -0.0205273516, 0.0181925818, 0.0264273286, 0.0257546641, -0.0246107746, -0.0112670148, -0.1096556634, -0.006059445, -0.0073083006, -0.0718449205, 0.0011613299, -0.0793704093, -0.0396212265, 0.0301336367, 0.006917696, -0.0053092008, 2.792315199e-34, 0.0341378972, -0.0113669485, -0.0378150567, 0.0013266257, 0.0145111885, -0.0240454786, -0.0207695775, 0.0229694601, 0.0181884728, -0.1072988063, -0.0515356623 ]
http://arxiv.org/abs/2406.16746v2
http://arxiv.org/pdf/2406.16746v2
The Responsible Foundation Model Development Cheatsheet: A Review of Tools & Resources
"2024-06-24T15:55:49"
"2024-06-26T02:19:01"
Shayne Longpre, Stella Biderman, Alon Albalak, Hailey Schoelkopf, Daniel McDuff, Sayash Kapoor, Kevin Klyman, Kyle Lo, Gabriel Ilharco, Nay San, Maribeth Rauh, Aviya Skowron, Bertie Vidgen, Laura Weidinger, Arvind Narayanan, Victor Sanh, David Adelani, Percy Liang, Rishi Bommasani, Peter Henderson, Sasha Luccioni, Yacine Jernite, Luca Soldaini
cs.LG
cs.LG, cs.AI, cs.CL
Foundation model development attracts a rapidly expanding body of contributors, scientists, and applications. To help shape responsible development practices, we introduce the Foundation Model Development Cheatsheet: a growing collection of 250+ tools and resources spanning text, vision, and speech modalities. We draw on a large body of prior work to survey resources (e.g. software, documentation, frameworks, guides, and practical tools) that support informed data selection, processing, and understanding, precise and limitation-aware artifact documentation, efficient model training, advance awareness of the environmental impact from training, careful model evaluation of capabilities, risks, and claims, as well as responsible model release, licensing and deployment practices. We hope this curated collection of resources helps guide more responsible development. The process of curating this list, enabled us to review the AI development ecosystem, revealing what tools are critically missing, misused, or over-used in existing practices. We find that (i) tools for data sourcing, model evaluation, and monitoring are critically under-serving ethical and real-world needs, (ii) evaluations for model safety, capabilities, and environmental impact all lack reproducibility and transparency, (iii) text and particularly English-centric analyses continue to dominate over multilingual and multi-modal analyses, and (iv) evaluation of systems, rather than just models, is needed so that capabilities and impact are assessed in context.
[ -0.0015840266, 0.1112729013, -0.0334251486, -0.0025412091, -0.0325530134, -0.0106276507, 0.0350517444, -0.0492005721, 0.0024771201, -0.0058213687, 0.0206798557, 0.0225629956, 0.0074063223, 0.077196002, 0.0148067037, -0.0297429524, 0.0840224549, -0.0284827705, -0.0300918277, 0.0322107114, -0.0012231832, -0.0044017411, -0.0050004255, 0.0484941602, -0.04128436, -0.0081592211, -0.0117115807, 0.0359445326, 0.0181635562, -0.0368320234, 0.0225479081, 0.0387342833, 0.0224358831, 0.0143431891, 0.0000026878, -0.0340935811, -0.0314365849, 0.0556278713, -0.0308929607, 0.0104194339, 0.0882826075, -0.0009039235, 0.0008665306, 0.0174746346, 0.004821056, 0.0159650482, 0.0766848251, -0.0091836136, 0.0324070677, -0.0152782016, 0.0044805803, 0.0117485877, 0.0612984523, 0.0112076597, -0.0390845984, 0.0183514357, 0.0131794447, 0.0545749217, 0.0025465442, -0.0184721798, -0.0016897577, 0.0637976825, 0.043518357, -0.0182175152, 0.0437159389, -0.007024195, 0.0069423132, -0.0848079622, -0.0291946586, 0.0275574699, 0.0858022496, -0.0059615215, 0.0116691804, -0.0119859073, -0.0015094785, -0.006243208, -0.0338078961, 0.0218328368, 0.0104996543, -0.008501647, 0.0157007184, -0.0204941593, 0.0062056431, 0.0282269344, 0.0230508596, 0.056760326, -0.0362166464, -0.0017131589, 0.0069666835, -0.004701667, 0.0475218222, -0.0389298163, -0.0042867335, -0.0063682236, -0.0125293639, -0.0084394496, -0.0092377318, -0.0241757557, 0.0463531874, -0.0332012698, 0.0367087536, -0.0171335991, -0.0082871597, -0.0074793259, 0.0320252813, 0.0155414036, -0.0238647424, 0.0421056971, 0.0011185213, 0.0219041631, -0.0607402399, 0.0161837153, -0.0155186681, -0.0132226208, -0.0229727048, 0.0167731307, 0.0016785765, 0.0050935699, -0.0630119294, 0.0154394554, 0.0064978362, 0.0432948954, 0.0191791523, 0.0286077298, -0.006097524, -0.030157214, -0.0527651682, 0.0482272767, 0.0243154205, -0.0693735406, 0.0149190426, -0.0028023021, -0.0646910891, -0.0128142964, -0.0013295214, 0.0864534676, 0.0552293211, 0.0129099162, -0.0499356724, -0.0351542905, 0.0411572829, -0.0295449756, 0.0019303916, -0.0285052843, -0.0115136039, -0.0430129655, 0.0158936922, -0.0560401268, 0.000727676, -0.0261001606, -0.0071996162, 0.0082496926, -0.0808790028, 0.0231804047, 0.0329326279, 0.0535110757, -0.0146941803, 0.0810373724, 0.0290996153, 0.0218654051, 0.0209402442, -0.0145775443, -0.0143530564, -0.0069508199, 0.000450169, 0.0089521902, -0.0213877987, 0.0435877889, -0.0386970863, -0.0066519501, -0.0435586162, -0.0068058954, -0.0086049968, 0.0614487305, 0.064771235, 0.0163254589, 0.0060941349, 0.0418945849, 0.0250236001, 0.0161432717, 0.0189313013, -0.1087813005, -0.0549610592, 0.0173273906, -0.0371207371, -0.0149178365, -0.1207855567, 0.1049464568, -0.004408848, -0.0519822687, 0.0058573596, -0.0369747356, 0.0198621247, 0.0329821333, 0.0263447557, -0.0075208433, 0.0277846456, 0.0037362934, -0.0181259904, -0.0412903205, -0.0356907956, -0.0581844226, 0.0265489686, 0.0510268807, 0.0303880814, -0.0603106432, -0.0703621283, -0.0507192314, -0.0312855802, -0.0242106505, 0.0122783221, -0.0217925776, 0.0151616624, -0.0026185808, -0.0477390215, -0.0147953751, 0.0151719013, 0.0112322923, 0.00914698, 0.0251654759, 0.000968102, 0.0053762123, -0.0737624243, 0.0597840622, -0.0611738898, -0.0152363628, -0.0452574939, 0.000048591, 0.0394758955, 0.0432937816, -0.0212915782, 0.0107114026, 0.0290897284, 0.0606121086, -0.0187381785, 0.0087352144, 0.0408720151, 0.1327656657, 0.0148423249, -0.0233405791, 0.0061187181, 0.0589223579, -0.0252464227, -0.0011133988, -0.0256758444, 0.0045339176, -0.0168117601, 0.0029076764, 0.0254629981, -0.072348401, 0.0116033927, -0.0106192827, -0.0099516427, 0.0025843398, -0.0664935708, 0.0088597061, -0.027232606, 0.0316694006, -0.0008432477, -0.0079853553, 0.004979779, -0.0524516962, 0.0196931474, 0.0447508246, 0.0225714613, -0.0515793748, 0.0670011714, -0.086821802, -0.0035893163, 0.0068106097, -0.0010274112, -0.0083343489, -0.0499662198, -0.0291876886, 0.0252855569, 0.0524527244, -0.0143372286, -0.0215033889, -0.0029720829, -0.0130928773, -0.0254941676, -0.0363159515, -0.0402546301, 0.0096512726, -0.0254990943, 0.0422711782, 0.067770794, -0.0453671068, -0.036405053, 0.0361515395, -0.0223680492, -0.0086391168, 0.0238930248, -0.0195296407, 0.0124152927, 0.0424383245, -0.0732027292, 0.0055090636, -0.0142423082, 0.0610464141, 0.0377874896, -0.0063445675, -0.0207754523, 0.0025555913, 0.0413574427, 0.0240333099, -0.0024804496, -0.0225116387, -0.0010737898, 0.0025770112, -0.0399442576, 0.0159308836, 0.0411470868, 0.0523460992, -0.0429023094, -0.0816054195, 0.0198273212, -0.0363821499, 0.0049388544, 0.0457475819, -0.0312021598, -0.0720213428, 0.0483743958, -0.0203900635, 0.0259203091, -0.0239512175, -0.046058137, -0.0176024586, 0.0170304272, -0.0428639613, 0.0061393692, 0.0703190118, 0.0440132655, -0.0215550531, -0.026441006, 0.0201008189, -0.006451814, -0.0158336535, -0.0541899726, -0.0012618697, -0.0022050987, -0.0299535431, -0.0305119343, -0.0050695436, -0.0167938937, 0.04857108, 0.0067813639, -0.0276608784, -0.0234623924, 0.0036515954, 0.0809002668, -0.0189067721, 0.0031864792, -0.0103538651, 0.0167115927, -0.0413115397, 0.0120389974, -0.0126214772, 0.0712501407, -0.025031982, 0.0289650727, 0.0092031173, 0.0170392506, -0.0183614884, -0.0642364249, 0.011700266, 0.0032421462, 0.0272924099, 0.0139426244, 0.0356231704, 0.0267234091, -0.0426059626, -0.0212734751, 0.0358387642, 0.0044660368, 0.0039918865, 0.0305112675, -0.0266537908, -0.0207526926, 0.0131912241, 0.0029797773, -0.0460532904, 0.0116490889, 0.0297890846, 0.0411054231, -0.0607897565, -0.0394383855, 0.0450524054, -0.024072811, 0.0924934894, -0.0018683624, -0.0587376654, -0.0067369463, -0.0676082447, -0.0118444059, -0.0617831275, -0.0169877578, -0.0005091784, 0.0018451085, -0.01598919, 0.0368399546, -0.0365941077, -0.0673721209, 0.0006459097, -0.0552471429, 0.0587126203, 0.1154748872, -0.0072539817, -0.039282158, 0.0221465658, -0.0006067294, 0.0064591668, 0.0317565054, -0.0006151581, 0.0074309893, 0.0140143242, 0.0040758108, -0.0252883267, 0.0064768433, -0.0260893647, -0.0367139764, 0.0627814755, 0.0808560699, -0.0313428603, 0.0077387406, -0.0801453218, -0.0224878732, 0.0546218455, 0.0243317354, 0.0081146862, -0.0260562655, -0.0221209787, -0.0231880117, -0.0009514298, -0.0263322443, -0.0007630952, -0.0081188418, -0.0335937701, -0.0512661673, -0.0134798465, -0.0503850132, -0.0011670876, -0.0117176753, 0.0110426201, -0.0715759844, 0.0517517254, 0.0213677306, -0.0366250835, 0.0526524372, -0.0017611757, 0.0247500744, -0.030216841, -0.0186841618, 0.0178863723, -0.0042011011, -0.0095763002, 0.0645176843, -0.0169171449, -0.0164058208, 0.0544012412, 0.1083166301, 0.0281279609, -0.0500469767, -0.0060280166, 0.0116372937, 0.0189315677, 0.0348671265, -0.0508793592, -0.0094098914, 0.0401770361, -0.0525220707, -0.0136530055, -0.0287956633, -0.0107465116, 0.0402703881, 0.0133646345, 0.0056370692, -0.0184464883, 0.0055446103, -0.001432681, 0.0508742556, 0.0428392254, -0.0256986395, -0.0156609602, -0.0148903122, -0.015658332, 0.000103976, -0.0233015735, -0.0455138013, 0.04033833, 0.0120636895, 0.0100556491, 0.048845306, 0.034195222, -0.0023836065, -0.00174311, -0.017113857, 0.0803595558, 0.0143333711, 0.0817928016, -0.0215932, 0.0187733565, -0.0289846864, -0.03431198, -0.0525397398, 0.0105465623, 0.027506128, 0.0328469649, -0.0249331519, 0.0151869711, -0.0049387631, 0.0555624515, -0.0007838062, -0.0825833157, -0.0784935802, 0.0386311114, 0.0069649699, 0.0604304746, -0.0090337303, -0.057153143, -0.0072808131, -0.0465875082, 0.010726192, 0.0016317151, -0.0245600473, -0.0057687433, 0.0218654647, -0.0481639542, -0.067362763, 0.0160633698, 0.0438817404, 0.0427208841, -0.0547160953, -0.0340431593, -0.0072954083, -0.0487718582, 0.0147494888, -0.035061162, -0.0248660352, -0.037692938, -0.0976326913, -0.0708246827, 0.0292544831, 0.0358530879, 0.0014434238, -0.0002276174, 0.0077940342, 0.0129316244, 0.0080085797, -0.0676387176, -0.0021174047, -0.0611175448, -0.0929487571, -0.0044188253, -0.0090534315, -6.429748387e-33, -0.0196673721, 0.0008573643, 0.0222778935, -0.0319320187, -0.0360539146, 0.0158666763, -0.0140992664, 0.0051539601, -0.0578732044, 0.0271646213, 0.0239602011, -0.0048591942, -0.0041504856, -0.0176123176, 0.0524789616, 0.0048194258, 0.0285931658, -0.0156496484, -0.0008156559, 0.0004720396, 0.000603582, 0.0140423393, 0.0404755734, -0.1034015268, 0.0264975484, 0.0156047037, -0.0326804444, -0.00425416, -0.0427521132, 0.0392995961, 0.0404314399, 0.0316838026, 0.0111330058, -0.0306302533, -0.020902656, -0.0070195463, -0.0612557232, 0.0143391229, 0.0029708589, -0.0535749942, -0.0103407465, -0.0225390736, 0.0284922533, 0.0168225318, -0.0332349241, -0.0056092655, 0.038221363, -0.0600563362, 0.0127285067, -0.0143356863, -0.05992743, 0.0069696521, -0.0521710403, 0.0178321097, -0.0078296345, 0.0741854161, -0.0034946571, 0.0015226573, 0.0092108017, -0.0174501631, 0.0324472599, -0.0594518296, 0.0797070563, 0.0385027863, 0.0403195843, 0.0396916084, 0.0130707165, 0.0156182442, -0.015086907, -0.0420140326, 0.0305178985, 0.0931876153, 0.0524006784, 0.0627791807, -0.0513820834, -0.0360134467, -0.0736404508, 0.0268478226, 0.0071400614, 0.0716081262, -0.0179640185, -0.017080484, -0.0306981895, -0.0068051801, -0.0223022923, -0.0403873362, -0.0000352225, 0.00267268, 0.0539995916, -0.0183725115, -0.0826485977, 0.038652245, -0.0056021297, -0.0557879321, 0.0586905926, 0.0582437366, 0.0210491326, 0.0419249646, 0.0212395526, 0.035045933, -0.063199617, -0.0272381864, -0.0069603985, 0.0235457178, 0.0547259375, -0.016396502, -0.0152031304, 0.0167472325, 0.0221706387, 0.0129203666, -0.0219573993, 0.0468331352, 0.0361375883, -0.0296710208, 0.0016440065, -0.0146017633, 0.01535754, 0.0058908574, 0.0162343439, 0.000812674, -0.0230186675, 0.0132080438, -0.0288190972, 0.0090694875, 0.007082005, -0.0445922352, -0.0305394493, 0.0021335732, 0.0529127307, -0.046642378, -0.0119152013, 0.006768899, 3.247e-7, 0.0143984705, 0.033839941, 0.033804547, -0.0188323408, 0.0002653699, 0.0472289734, -0.0133560132, 0.0215316545, -0.0010278858, 0.0152585823, 0.0329243205, 0.0103153782, 0.0521858856, 0.0244883243, 0.0162035599, -0.0486900844, -0.0245253406, 0.0034701542, -0.0752970055, 0.0133709656, 0.0005385713, 0.0185327418, 0.015604727, -0.0210892353, 0.0284750257, -0.0172817353, -0.0264738575, -0.0594010465, 0.0577674732, 0.0233228616, -0.0233862698, 0.0314633325, 0.0205311757, -0.0103475517, 0.0008763543, -0.0291589387, -0.0061803306, 0.0715941861, -0.016172763, -0.000406517, 0.0106597012, -0.0488322452, 0.0199323762, -0.0699211508, 0.0390004627, -0.0038406248, 0.0049498468, -0.0308768041, -0.0554096512, -0.0055017136, 0.018087063, -0.0289845578, 0.0363413393, -0.0149834165, -0.0254215896, -0.0170573927, -0.0215037167, 0.0259944536, 0.0337224118, -0.0055402312, -0.0035718009, -0.0609261505, -0.0144017888, -0.008106159, -0.0012938081, -0.0335178412, 0.0416745842, 3.150464221e-34, -0.0148101328, -0.0423135459, 0.0042281416, 0.0084945951, 0.0475868434, 0.0274119303, -0.0057385759, -0.0207965076, -0.0330486149, 0.0188832656, -0.0092903925 ]
http://arxiv.org/abs/2406.16743v1
http://arxiv.org/pdf/2406.16743v1
Adversarial Contrastive Decoding: Boosting Safety Alignment of Large Language Models via Opposite Prompt Optimization
"2024-06-24T15:51:30"
"2024-06-24T15:51:30"
Zhengyue Zhao, Xiaoyun Zhang, Kaidi Xu, Xing Hu, Rui Zhang, Zidong Du, Qi Guo, Yunji Chen
cs.CL
cs.CL
With the widespread application of Large Language Models (LLMs), it has become a significant concern to ensure their safety and prevent harmful responses. While current safe-alignment methods based on instruction fine-tuning and Reinforcement Learning from Human Feedback (RLHF) can effectively reduce harmful responses from LLMs, they often require high-quality datasets and heavy computational overhead during model training. Another way to align language models is to modify the logit of tokens in model outputs without heavy training. Recent studies have shown that contrastive decoding can enhance the performance of language models by reducing the likelihood of confused tokens. However, these methods require the manual selection of contrastive models or instruction templates. To this end, we propose Adversarial Contrastive Decoding (ACD), an optimization-based framework to generate two opposite system prompts for prompt-based contrastive decoding. ACD only needs to apply a lightweight prompt tuning on a rather small anchor dataset (< 3 min for each model) without training the target model. Experiments conducted on extensive models and benchmarks demonstrate that the proposed method achieves much better safety performance than previous model training-free decoding methods without sacrificing its original generation ability.
[ -0.0052879006, 0.0765790865, 0.0067391312, 0.0477568656, -0.0185173955, 0.0267927907, -0.0000395909, -0.0397754535, -0.0245480575, 0.0101207169, -0.0646077842, -0.0503026955, 0.0121658174, 0.0068204566, 0.03448366, -0.0382584818, 0.0556282513, -0.060672719, -0.012543913, 0.0084186643, -0.0072383261, 0.0106721446, -0.0113258017, 0.0342603885, 0.0277675558, -0.0546523258, -0.0252616387, 0.0469509922, 0.0394215621, -0.0368263312, 0.0235528015, 0.0543377176, 0.0066009504, 0.0718156546, 0.0000019015, -0.0174378902, -0.01990306, 0.0130560184, -0.0566157028, 0.0086870734, 0.0552187301, -0.0537383184, -0.0334060863, 0.0355480276, -0.0025888558, -0.0482547618, 0.0662825927, 0.0329490714, 0.0729613975, 0.075581871, 0.01499377, -0.0298510697, 0.0315492302, -0.0222566184, -0.0582474135, -0.0417470373, 0.0178130176, -0.0208534431, -0.0411537439, 0.0123642571, -0.0397922248, 0.0457396097, 0.0237636287, 0.0081852293, -0.0286638383, 0.0219549704, 0.0120968008, -0.0342638083, -0.046455089, 0.0748454407, -0.023539627, -0.0326043591, -0.0203954205, -0.0297524817, 0.0013121113, -0.034372922, 0.0026465498, 0.0181038026, -0.0215376113, 0.0546458364, 0.061482992, 0.0084014125, 0.0312250927, -0.0053368299, 0.0035552485, 0.0145965023, 0.0333033465, -0.0326294601, 0.0059600188, 0.0062146364, -0.0099766133, -0.0379602015, 0.0003963774, -0.0135101918, -0.0754760429, 0.0189077482, -0.0708554015, -0.085681051, 0.0198177602, -0.0127028516, 0.0507030971, 0.0559622943, -0.0270399954, 0.0296316203, 0.0026473976, 0.0528631844, -0.0322380178, 0.0359131396, -0.0437254608, 0.0006154361, 0.0203080699, -0.0051562847, -0.0176944342, -0.0228447039, -0.0543877669, 0.0171181429, -0.0164140034, 0.0206284449, 0.0185996909, 0.0264435131, 0.0158321131, 0.0071053877, -0.0737728029, -0.0146403359, 0.031490773, 0.0234902054, -0.0211016461, 0.0013520992, 0.0059658685, -0.0649718121, -0.0322295353, 0.0153748868, -0.0324840881, -0.0382014103, -0.0221833196, 0.0958057195, -0.0398030244, 0.00462814, -0.0261894688, 0.0140744559, -0.0120687364, -0.0289198495, -0.0167468637, -0.0493867584, 0.02757922, 0.0118938247, -0.0132740317, -0.0653927922, 0.001951971, -0.0050112777, -0.0148231639, 0.0968771055, -0.0406667255, -0.0147466008, 0.0174448024, -0.0044999574, -0.0260258, 0.0796550363, 0.0230405349, 0.0384716094, 0.0067278915, 0.0039508324, -0.0042681824, 0.056833405, 0.0396554209, 0.0282698609, -0.0329162069, 0.0087686228, 0.0392056815, 0.0139597869, 0.0537607558, 0.0787028, -0.0174140073, -0.0353555493, 0.0620965362, -0.0023482658, -0.0248740446, 0.0235801823, 0.0138111543, 0.0255670194, -0.0170317646, 0.0089480383, -0.046044942, 0.0107477121, -0.0458410457, 0.0154041611, 0.0454806313, 0.0309058726, -0.0264325552, -0.0161971673, -0.0038635293, -0.0180245135, 0.0231219567, 0.0063235159, 0.0432054512, 0.0060198219, -0.0778311864, 0.0116683608, 0.0327035226, -0.0149218375, -0.0038150637, -0.0309229102, 0.0091573251, 0.0710011646, 0.030868791, 0.0110587385, -0.0344943739, -0.0103514241, 0.0074096252, 0.0550982468, 0.0393922254, 0.0049361303, 0.0403375663, -0.0626861304, -0.0361285992, 0.0228879713, -0.0053718584, 0.0259045959, 0.02589624, -0.0087320982, -0.0151325166, 0.015202553, -0.0571554527, 0.0467043146, -0.0517320558, -0.0499805324, -0.0039587994, 0.02988635, 0.0327921137, -0.0130033372, -0.0236915313, 0.0070265289, 0.0219830591, -0.0283620916, 0.0274441577, -0.0093158223, -0.0723852888, -0.0562295988, 0.0293305479, -0.006715083, -0.0523105301, 0.0655018389, -0.0533317551, -0.0211671237, -0.0005043146, -0.0202097837, 0.0233188216, 0.0017154174, 0.0242921337, 0.0157507453, -0.0043284837, -0.0396653935, 0.0409756005, -0.025770532, 0.0060520461, 0.0184099562, 0.028153494, -0.0048403637, -0.0386980772, -0.0355152488, -0.0004745948, -0.024386853, 0.0236665588, 0.0028695932, 0.0261885673, -0.0219737235, -0.0176216234, -0.030108802, 0.0123922387, -0.0357579067, 0.0275430027, 0.0390811972, -0.020542128, -0.0139440838, -0.019125564, -0.0125906691, -0.0104282023, -0.0252996124, 0.0006567551, 0.017347984, 0.0115720788, -0.022482533, -0.0507561564, -0.0104306145, -0.0014377937, 0.0214931909, -0.0094370227, -0.0080985669, -0.0887087733, 0.066414766, 0.0434186049, 0.0431721844, -0.0029474951, -0.0721185356, 0.0217446759, 0.0279299635, 0.0352746509, 0.0837211162, 0.0000999547, 0.0271107592, 0.0364692844, 0.0158791207, -0.0527994446, 0.0038956378, 0.0004429152, -0.0559581034, -0.0315534063, -0.0503579676, -0.0171132311, 0.0910454839, 0.0243600439, 0.0231072828, -0.0886686444, -0.0008574894, -0.0075629721, -0.0530548245, -0.0158055201, -0.0146382814, -0.0412498526, 0.0294721369, -0.0483045802, -0.0544015057, 0.0992524326, -0.037167266, -0.0036750473, -0.0219328087, -0.0066630915, 0.0107772527, 0.0248075556, -0.0275501627, 0.0281890277, 0.020826498, -0.0596928485, -0.0627300069, -0.0301086847, 0.0221893955, -0.0303038955, 0.0259267073, -0.036336489, -0.0083145667, -0.0378226563, -0.0727813318, -0.0677201226, -0.0422516093, -0.0065036733, 0.0097353887, 0.0420050994, -0.0278275609, -0.0370614678, 0.0021132526, 0.0081144376, 0.0305440221, -0.0283023007, 0.0212814994, -0.0438599437, 0.0152950855, 0.0713042468, -0.0253140982, 0.0209494513, -0.0627222434, 0.0502002351, 0.0535057075, 0.0356763788, 0.019601725, -0.0462351516, 0.0036877689, 0.0595700964, 0.0089184316, -0.0027935847, 0.038791284, 0.0384702869, -0.0333102234, -0.030672485, 0.0848548338, 0.0194856673, -0.0410160869, -0.0066937106, -0.0216022767, 0.0405929387, -0.0006679164, -0.0037829569, -0.038433224, -0.043030709, 0.027729366, 0.0724269003, 0.0270166621, 0.0126717044, -0.0017246861, -0.1094450578, 0.0050498401, 0.0453314148, -0.0577046312, -0.0622720756, -0.0024614036, -0.0102412747, -0.0314842686, 0.0703253821, 0.0459802002, 0.0105153117, -0.0076031755, 0.0397365987, 0.0284504611, -0.0525568277, -0.0069457148, -0.0557325482, 0.0905605108, 0.1032025442, -0.0117510986, -0.0002937454, -0.0420654938, 0.0123062031, -0.0233832095, -0.0182820167, 0.0033132348, 0.0258066244, -0.0312354881, -0.0172058716, 0.0008302011, 0.0376203693, -0.025220219, -0.0228774659, -0.0097488621, 0.0363600031, 0.0059334077, 0.0279647689, -0.0146067329, 0.0029539417, 0.046842806, 0.0885545909, 0.0210580863, -0.0482992604, -0.0133122094, -0.0356270932, 0.0154748727, -0.0662809461, -0.0046004178, 0.0195896216, -0.0025506401, -0.029131053, -0.0460679904, -0.0274145231, 0.0089030918, 0.0068251686, 0.006127554, 0.0012044011, -0.0283909496, 0.0049209786, -0.0391899794, 0.0285969302, -0.0157199297, 0.026670631, -0.0858306438, 0.000709918, 0.0141159808, -0.0272280108, -0.0166697595, 0.0598906241, -0.057729125, -0.090851061, 0.0175886881, 0.0370284617, 0.0143295005, 0.0730313361, -0.0356904119, -0.0465326495, 0.0440544039, 0.060571339, -0.0176351015, -0.016529562, 0.0460725129, -0.017676184, -0.0056134206, 0.0268688127, -0.0579663329, -0.0321061723, 0.0722357258, 0.0486987531, -0.0295943394, -0.0159661137, 0.0241464674, 0.0274717994, 0.0700174347, -0.0465330221, -0.0110989632, -0.0191815626, 0.0192564484, -0.0011204169, -0.0073216176, -0.0134300031, 0.0185060725, 0.036565952, -0.0365547724, 0.003033278, -0.0057205632, 0.0186014008, 0.0258856043, -0.01202852, 0.0122821461, -0.0158636533, 0.0699357986, 0.0561688505, 0.0081960447, -0.0345023535, 0.0271626003, 0.006991873, 0.025483191, -0.0103912726, 0.0225233529, 0.0381387696, 0.0275600608, -0.0182672199, 0.0432149507, -0.0268307589, -0.0300956592, -0.0692493021, -0.016581947, 0.0400709361, 0.0163112897, 0.0364258252, -0.0193803273, -0.0000390177, -0.0307972692, 0.0225723051, -0.0049356967, -0.0255103111, 0.0453569554, 0.014809466, -0.0112903463, -0.0239301119, 0.0639735833, 0.0107527785, 0.0377996564, -0.0169743691, 0.0078802211, -0.0367627405, -0.0077863671, 0.0325482637, -0.0204036161, -0.0506447516, 0.0055940049, -0.0261621531, -0.0725058019, -0.0133711491, 0.0532796569, -0.0041925954, 0.0187990461, 0.0440871827, 0.016650755, -0.0352074914, -0.0290439669, -0.00751743, 0.0196859408, 0.0329240113, -0.0461728685, -0.0386155285, -6.34630739e-33, -0.0287118927, 0.0132912351, -0.0036752096, -0.0627228394, -0.0072293631, -0.0213733278, -0.0272241589, -0.0123521583, -0.008424242, -0.0125163086, -0.0170283411, 0.0084428927, 0.0262442995, 0.031996388, -0.011445771, -0.0380203873, 0.0547181629, -0.0228811614, -0.0295566265, 0.0115393121, 0.0291144066, 0.0361639783, 0.0340539925, -0.0613996424, 0.0267354008, -0.0050000204, -0.0112875896, 0.0217665676, -0.0253816452, 0.0498301797, -0.0122154616, 0.0144336894, -0.0152574806, -0.0457871705, -0.0235051233, 0.0229395796, -0.071980156, 0.0007823271, 0.0304987915, 0.0282683522, -0.0538431369, -0.0601294376, 0.0227517709, -0.0080043077, -0.028789144, 0.000556071, 0.0018852525, -0.0296747759, 0.0033899043, 0.0090124588, -0.0484048612, 0.0113812201, -0.0050728535, -0.0383274816, 0.0356791317, 0.035230428, 0.011278416, 0.0189670399, -0.0586333275, -0.0026414294, 0.0451028645, 0.0366039015, 0.107844837, 0.0730807334, -0.009833998, 0.0543045253, 0.014384089, -0.0493062325, 0.0119942185, -0.0195160881, 0.0141208181, 0.0175113566, 0.0388127789, 0.0673662201, 0.0388711728, -0.0216512028, -0.0655159131, 0.0288734511, -0.0234702732, 0.0327905864, 0.0306923445, 0.0357196853, -0.0538638905, -0.0145035014, -0.042757038, -0.0753074437, -0.0290946364, -0.0191020723, 0.0390331782, 0.0103128701, -0.050361108, -0.0581423044, 0.0376425385, -0.0268100593, 0.0231151544, 0.038140364, 0.0099403858, -0.0125483936, -0.021610463, 0.0436363667, -0.0437828153, -0.0234700367, 0.0323828757, -0.015522561, 0.0281154197, 0.0121217519, 0.0189680997, 0.0155409127, -0.0778928772, 0.0203491803, -0.0345292017, 0.0343169868, 0.0277945474, -0.0106695453, 0.0759781003, -0.0143212397, -0.0003946336, 0.0209844429, 0.0216950905, -0.0112662809, -0.0281424448, -0.0088467747, -0.0255280156, 0.0266231056, -0.016495619, 0.01558284, -0.0080209868, 0.0233910661, 0.0409108698, -0.0537927523, -0.0153013431, 0.0278276261, 2.523e-7, 0.0248891469, 0.0365024507, 0.0657214224, 0.0360838957, 0.0061261947, 0.0592790917, -0.0380018428, 0.0436163396, 0.0122004403, -0.0123562422, 0.0031461501, 0.0144885387, 0.078634508, 0.0470384695, -0.0653311759, 0.0317218564, -0.0840106085, 0.0577413328, -0.0383938774, 0.0028848462, 0.0599834435, 0.1185130849, -0.0131726759, 0.0003012709, 0.0194059014, 0.0018885619, 0.0162508283, -0.0355734043, 0.0115738008, 0.0005477012, -0.0086077591, 0.00006485, -0.0006208275, 0.0149373617, -0.0013602099, -0.0161752813, -0.0130111519, 0.0511048138, 0.0062577208, -0.0488542505, -0.0256681927, -0.0045781904, -0.0162956566, -0.0291383807, 0.0455817468, -0.0520546101, -0.0055505945, -0.0286326334, -0.0334156454, 0.0010236437, 0.0070113977, -0.0476444848, -0.0163502041, 0.0217834655, 0.0342228748, 0.0281586759, -0.0301907491, -0.034388762, -0.0246540029, -0.0016549123, -0.0184914768, -0.0668431446, -0.0264138654, 0.0502611175, 0.0034602471, -0.0626146495, 0.0063060024, 2.34541245e-34, 0.0209460277, -0.025596438, 0.0135995848, 0.0110666323, 0.0247720592, -0.0176964272, -0.0285305679, 0.0306070168, 0.0234913193, -0.0543577857, -0.0381865092 ]
http://arxiv.org/abs/2406.16732v2
http://arxiv.org/pdf/2406.16732v2
CLIMATELI: Evaluating Entity Linking on Climate Change Data
"2024-06-24T15:36:00"
"2024-06-27T14:44:51"
Shijia Zhou, Siyao Peng, Barbara Plank
cs.CL
cs.CL
Climate Change (CC) is a pressing topic of global importance, attracting increasing attention across research fields, from social sciences to Natural Language Processing (NLP). CC is also discussed in various settings and communication platforms, from academic publications to social media forums. Understanding who and what is mentioned in such data is a first critical step to gaining new insights into CC. We present CLIMATELI (CLIMATe Entity LInking), the first manually annotated CC dataset that links 3,087 entity spans to Wikipedia. Using CLIMATELI (CLIMATe Entity LInking), we evaluate existing entity linking (EL) systems on the CC topic across various genres and propose automated filtering methods for CC entities. We find that the performance of EL models notably lags behind humans at both token and entity levels. Testing within the scope of retaining or excluding non-nominal and/or non-CC entities particularly impacts the models' performances.
[ 0.0337010473, 0.0562119298, -0.0127328895, 0.0112594813, 0.0042692474, 0.0315146074, -0.0198871959, 0.0231311787, 0.046565894, -0.0535716377, 0.0392724574, 0.0470942222, -0.0151490225, -0.0149447853, 0.025982175, -0.0647618249, 0.045537632, 0.0174549762, -0.0080006989, -0.0135437716, -0.0066489209, 0.0015521031, -0.0092367884, -0.0028673715, 0.0010375325, 0.0046933857, 0.0162398387, 0.0270547234, 0.0572067536, -0.021826392, 0.011386591, 0.052693896, -0.0168503635, 0.0356579982, 0.0000018149, -0.0573039278, -0.0166049525, -0.0184721909, -0.022049142, 0.0259289015, 0.0254173335, -0.0208502598, -0.0029276195, -0.0427555405, -0.030512657, 0.0117219156, 0.0375948846, 0.0033436948, 0.0521739125, 0.0323288515, 0.0117656281, -0.0257239193, 0.0137752881, 0.0021143898, -0.0207772087, 0.0437867083, 0.0663178712, -0.0355542637, -0.0182864573, 0.0126110474, -0.0025409341, 0.0820891187, -0.0055879201, 0.0144420527, 0.0282296836, 0.0207562614, -0.0608213134, -0.0321119353, 0.0406989232, 0.0620943271, 0.0515107736, -0.0293382946, 0.0375326537, 0.0406893343, 0.0036088214, 0.0403123833, -0.0268932972, -0.026249893, 0.000051913, -0.0084104389, 0.0108563518, -0.0018190205, 0.0163281392, 0.0598579831, -0.0242910702, 0.0863100439, 0.0020383941, -0.0372381397, 0.0214058962, 0.0073812935, 0.0311416667, -0.0491336063, 0.0312232841, -0.0099240448, -0.0251152068, 0.0168548394, -0.037317615, 0.0044935727, 0.0107002333, -0.0475771055, -0.0846405551, -0.0144697521, 0.047706116, 0.0276112333, 0.0374115072, -0.0263419244, 0.0040320107, 0.0160377212, 0.0368749164, -0.0432061516, -0.0564649627, -0.0165357534, -0.0027099305, -0.0045147529, -0.0284582004, 0.0377090201, -0.0342963152, -0.050129842, -0.0327699073, 0.0470153019, 0.0086147096, -0.0264249276, 0.0035496322, 0.0063731615, -0.0316572897, 0.0273048859, -0.0617083684, 0.0096684014, -0.0024614302, -0.0045243944, 0.0124553218, -0.0167911556, 0.0255566407, -0.028257424, 0.0022050072, 0.0550191328, 0.0741165727, -0.008400972, -0.02323406, -0.0422413126, 0.0307934824, -0.0308084097, -0.0137255965, -0.029898528, -0.0063735675, 0.009974475, 0.0110687409, -0.0950787738, -0.0179832745, -0.0063156872, -0.0834758058, 0.0917575583, -0.0708696768, -0.0327400416, 0.0394431464, 0.0144126201, 0.020584967, 0.0657148883, 0.0562525801, -0.0294826292, 0.0742109194, 0.0388338231, -0.0364987962, 0.0099811703, 0.0613834821, 0.0286057461, 0.0114806835, 0.0084006423, -0.0532810353, 0.0207465012, 0.0331278145, 0.0341020375, -0.0077168993, -0.0549836867, 0.0245560892, 0.0124912336, -0.0102580469, 0.0349061713, 0.022685986, 0.0167627949, 0.0075927526, -0.0027324695, -0.0245420299, 0.0133487554, -0.02703535, -0.0379333794, 0.0123658041, 0.0314666517, -0.0032207815, 0.0052342913, -0.0022906833, 0.0235137679, 0.0053663864, -0.0500828028, 0.0120537113, -0.0175213683, 0.0021040062, 0.0712959319, 0.0269538816, -0.0151267257, 0.0211810097, 0.028347332, -0.0280978885, 0.0648210943, -0.0091628134, 0.0326992869, -0.0409559458, -0.0269717257, 0.0187513009, 0.0277718846, 0.0126243811, -0.0369401388, -0.0416620746, 0.0012922152, -0.0159219969, 0.0228644013, 0.0013972974, -0.0124053573, 0.0325576179, 0.058141131, 0.0222870223, -0.0506361052, 0.02266456, 0.0441476852, -0.0097312909, 0.0068352725, -0.0553824343, 0.0259007476, -0.0046102046, 0.0268696584, 0.0205374993, -0.0119122006, 0.0542550795, -0.0185176805, -0.0529691242, 0.0437335186, 0.0517198816, -0.0145895192, 0.0470962264, -0.0403355621, -0.0288681015, 0.0304787681, -0.0065081455, -0.0353638045, 0.022059761, 0.0144299138, 0.0299816318, 0.0109722074, -0.0396186523, 0.0105394246, 0.0366631635, -0.0265721828, 0.0637679026, -0.0260879286, 0.0140377562, 0.0371309407, 0.0113191875, -0.0212833975, -0.0427845567, -0.0284671262, 0.0050063115, 0.0181779973, -0.0287263915, 0.0057281754, -0.0565364771, -0.0956647769, 0.0210398939, -0.0172815062, 0.0218788628, -0.0089651858, 0.0416555144, -0.006768038, -0.0329969861, -0.0395057537, 0.0401375256, 0.0560769252, -0.037338499, -0.0553847328, 0.0150722181, 0.0178737734, 0.0037034713, 0.0122882295, -0.0642517135, -0.0112633612, -0.0381459221, 0.0901041329, 0.0291640069, -0.101447247, -0.0124646584, 0.0264559705, -0.0440274812, -0.031298846, -0.0052335495, 0.0269893724, -0.0268704649, 0.005868488, 0.0176225379, 0.0039203628, 0.0214427281, 0.0221704766, -0.0325062126, -0.0460218452, -0.063634254, 0.029839417, 0.0258631874, 0.0318269022, 0.0012478109, 0.0055361865, 0.0265570432, -0.009706893, -0.0572764762, 0.0003227801, 0.0027067605, 0.0822445005, -0.0415099077, 0.0026387288, -0.025584314, -0.0214859005, -0.0209176447, 0.0311736669, -0.0033557629, -0.0092123533, 0.0168318283, 0.0294949412, 0.0482784659, -0.0394933857, -0.0046930253, 0.0170878824, 0.0211320836, 0.0229959227, -0.0059170863, 0.0338808633, 0.0139334705, 0.0001108396, 0.0203139763, 0.0020853041, -0.0046027862, 0.0005834782, -0.0073468382, 0.0572741479, 0.0228958279, 0.0195189491, -0.0042903316, 0.0118788686, -0.049370829, 0.0214843303, 0.0063450662, -0.0553670935, -0.0314041562, 0.0212431587, 0.0172168352, -0.0132226599, 0.0423476212, -0.0410119109, 0.0262414087, 0.0091025904, 0.0203407127, 0.0167523716, 0.0341228917, 0.0352665074, -0.0082088681, 0.0119093535, 0.0493397154, -0.0321180783, 0.0038922266, -0.0036353488, -0.0058839601, -0.0966287628, -0.0290321689, -0.0330323949, 0.0203532409, -0.0577588081, 0.0218803454, 0.0873854011, 0.0365500487, -0.0372725129, 0.0192670915, 0.0041263001, 0.0071370052, 0.0153645631, 0.0011206049, -0.0686353669, -0.0173707549, 0.0063790153, -0.0198180936, -0.0099282768, -0.1131696105, -0.005655922, -0.0589924939, 0.0166617129, -0.0248051248, -0.0554824211, -0.0167932883, -0.1141066253, 0.0178673025, -0.0475799516, -0.0649750307, -0.0151660629, -0.0035113266, 0.028935777, 0.0151904989, -0.0503119454, -0.0590030737, 0.0209295992, -0.0493727401, 0.0572995655, 0.0270750858, 0.0655569583, -0.0139351785, -0.0192239601, 0.0226689521, -0.0427294411, -0.0558557995, -0.0186362565, 0.0502268784, -0.0154052684, 0.0160065778, -0.0156893879, 0.0190944616, -0.0168486126, -0.0340878814, -0.0083408365, 0.0603750013, 0.0395799689, 0.0170315336, -0.0186407957, 0.0096786404, 0.0260788184, 0.0553454123, 0.0145290382, -0.00351981, -0.0091431774, -0.0632938147, -0.0076192459, -0.0286173206, -0.0554894842, -0.0036160885, -0.0527674444, -0.0288573764, -0.0741031393, -0.0616546795, 0.0369724222, 0.0262104627, -0.0312760249, 0.0195800159, 0.0717600584, 0.0012122799, -0.069974795, 0.0367308483, -0.0421334356, 0.0469629951, 0.0106922388, -0.0334789418, 0.0426277108, 0.0776620135, -0.0264345743, 0.0487848744, -0.0588613749, -0.0563858971, 0.0080718482, -0.0129124317, 0.0272656642, 0.0023565055, 0.0005305333, -0.0341135152, 0.0209458265, 0.1103751957, -0.0415544212, 0.0059964075, -0.0132128168, 0.04292842, 0.0007306781, 0.050541997, -0.0018942513, -0.0200114045, -0.0385614187, 0.0528738424, -0.0580963716, -0.0067558405, -0.0157892611, 0.0076220967, 0.0090899784, -0.0104501238, -0.0218240991, -0.014487531, -0.001300099, 0.042328652, -0.0156182339, 0.0174358077, 0.0083517302, -0.0159171447, 0.037441384, -0.056240283, 0.0450692996, -0.0045295814, 0.01225622, -0.0933637545, 0.0099736154, -0.0087692533, 0.0511790216, -0.0165257994, -0.0157989413, 0.0253493935, -0.0455413461, 0.0327318572, 0.0228312705, -0.0346461087, -0.0405595563, 0.0223769024, 0.0020130936, -0.0266471393, -0.0048804786, -0.0492374077, 0.0234063994, -0.006628233, 0.0464746393, 0.0190443899, 0.0327014625, 0.0640762597, -0.0216200445, -0.0525531657, 0.0284457933, -0.017147135, 0.0109238196, 0.0091580981, 0.0493350588, 0.000693035, -0.0440416411, 0.0428131372, 0.02019508, 0.0040349741, 0.0797571242, 0.009601716, -0.0439633057, -0.0285326224, -0.023406785, -0.0774186552, -0.0446774513, 0.003404425, -0.0072633633, -0.0605508164, -0.0486916564, 0.0543773137, -0.0210125521, -0.0208583418, 0.0007154772, 0.0191215482, 0.0005173204, 0.0362294316, -0.0433649831, 0.0161218718, -0.0009016768, -0.0030194444, -0.0419252589, -0.0240524709, -6.101811178e-33, -0.0573697425, -0.026306862, 0.015874913, 0.0223061629, -0.0276524592, 0.0107489787, 0.0105475169, 0.0038929759, -0.0506426357, 0.0185714923, 0.0050240345, 0.0125092752, 0.0130083356, -0.0409499221, 0.0032698591, -0.0244873967, 0.0423373096, 0.0171418581, -0.0148510747, -0.0156936049, 0.0579801351, 0.020969661, 0.052237127, -0.1143191531, 0.0701533481, 0.0238275882, -0.0231878292, -0.0094639184, 0.013852302, 0.0496897735, 0.0089811655, 0.0493904129, 0.0077300677, -0.0494495481, -0.0102904085, -0.0112463739, -0.1347111464, -0.0095162597, 0.0155513501, 0.0029939751, 0.0250125024, -0.0293733124, 0.0531582125, 0.053135857, 0.0197826792, 0.0304423254, 0.0480589569, 0.0063538118, -0.0328924432, -0.0605968051, -0.0214325525, 0.0619252287, -0.0265405923, 0.0845911652, -0.0396698564, 0.0078540286, -0.0045898594, 0.0870836452, -0.120209381, 0.0132625923, 0.0310897343, 0.0112146363, 0.006939678, -0.0550404489, 0.0155278752, 0.0642753318, -0.0139764585, 0.0220371448, -0.065218918, 0.001636095, 0.0494742244, -0.018719608, -0.0035491895, 0.0969944298, 0.0235484019, -0.040397495, -0.0937289894, 0.0553371795, 0.0104440907, 0.0503428839, -0.0232191924, 0.0019798521, 0.0175792407, -0.0048751743, -0.0488355905, -0.0119144786, -0.028460497, 0.0130163236, -0.0081044622, -0.0005231295, -0.0571911745, 0.0578100644, -0.0266104043, -0.0302907974, -0.0538864322, 0.033957202, -0.0213793293, 0.0135801854, 0.0201932304, 0.0070817601, -0.0683125183, -0.0043819472, -0.003902449, 0.0319500156, 0.011252299, -0.0449432395, 0.0431073532, 0.0015059049, -0.0369050875, -0.0084409928, 0.0103783263, -0.0256146435, -0.038544029, -0.0444355346, -0.0053526522, 0.0284361765, 0.0180453714, -0.0210118629, 0.079061918, 0.0154286306, 0.0212422274, 0.0119992997, -0.0035138321, 0.0094571412, 0.007369522, -0.0199066307, 0.001095933, 0.0153836673, -0.0162449908, -0.0792334452, 0.0050422647, -0.0307134558, 2.557e-7, 0.0649238676, 0.0546504408, -0.0213998333, -0.0050817132, -0.0113170268, -0.0106370468, 0.0469885059, 0.0375896841, -0.0192494746, -0.0221777782, -0.0488528349, -0.0129942847, 0.0053427205, 0.0363991559, -0.0584076643, -0.0577044636, -0.0076481625, -0.0282165632, -0.0656255782, -0.0221682191, 0.0064825602, 0.0066049374, 0.0496249758, 0.0208521746, -0.0152456909, -0.0004604974, 0.0563021004, -0.0590354465, -0.0121344067, -0.0033211487, 0.0274484027, 0.0027909288, 0.0114968186, 0.0592221543, -0.037182115, 0.0165143367, 0.0149926972, 0.0153998351, 0.0526590832, -0.0249629337, 0.0047498727, -0.0642867982, 0.0163811669, -0.0181158986, 0.0361367986, -0.0006383246, 0.0033839957, 0.0549199879, -0.0586851761, 0.050895188, 0.0147113195, -0.0406921804, -0.0346833542, 0.0203196909, -0.0088819172, 0.0029818884, -0.0081587667, -0.0713905916, -0.0070300666, -0.0215349458, -0.0099012526, -0.0291817561, -0.0018324381, -0.0302035864, 0.0259268451, -0.0003214586, 0.0088595636, 1.992509302e-34, -0.0019015864, 0.0270749405, -0.0443829671, -0.0195842329, 0.0382232964, -0.0144752134, -0.0159274451, 0.0099924048, -0.0033553026, -0.0512630828, 0.0179465208 ]
http://arxiv.org/abs/2406.16722v1
http://arxiv.org/pdf/2406.16722v1
Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mamba
"2024-06-24T15:27:21"
"2024-06-24T15:27:21"
Yuchen Zou, Yineng Chen, Zuchao Li, Lefei Zhang, Hai Zhao
cs.CL
cs.CL
Transformer, a deep neural network architecture, has long dominated the field of natural language processing and beyond. Nevertheless, the recent introduction of Mamba challenges its supremacy, sparks considerable interest among researchers, and gives rise to a series of Mamba-based models that have exhibited notable potential. This survey paper orchestrates a comprehensive discussion, diving into essential research dimensions, covering: (i) the functioning of the Mamba mechanism and its foundation on the principles of structured state space models; (ii) the proposed improvements and the integration of Mamba with various networks, exploring its potential as a substitute for Transformers; (iii) the combination of Transformers and Mamba to compensate for each other's shortcomings. We have also made efforts to interpret Mamba and Transformer in the framework of kernel functions, allowing for a comparison of their mathematical nature within a unified context. Our paper encompasses the vast majority of improvements related to Mamba to date.
[ 0.0576305687, 0.0456154905, -0.0170548651, 0.0223908499, -0.0365121663, -0.0099750347, -0.0332742035, -0.0293599516, -0.0186644923, -0.0363118686, -0.0384737104, -0.0013287582, 0.0224928893, 0.0717890635, 0.018443631, -0.0885403678, 0.032372091, -0.0189845264, -0.0252077896, 0.0212445017, -0.0202628281, -0.0150362607, -0.0293020867, 0.0785922855, -0.0358359404, -0.0141993696, -0.0230737869, -0.026055431, 0.021002125, -0.0296452828, 0.0151492385, -0.0014005144, -0.0105893053, 0.0240459982, 0.0000020063, -0.0054106703, 0.0174791403, -0.0109818438, -0.0074072056, -0.0167301465, -0.0187708717, -0.0476989821, -0.0260962322, 0.0185794346, -0.0413004085, -0.0330330767, 0.0391697139, 0.067011863, 0.0444658473, 0.1199663356, -0.0316436924, -0.1060922071, 0.0470743813, -0.0441288427, -0.071940057, -0.0165444985, 0.0441929512, -0.0134002371, -0.0079872245, 0.0021146783, -0.057869982, 0.0514902472, 0.035083361, -0.0099096429, -0.0053875279, 0.0426163413, -0.0040149027, -0.0176012684, -0.0174587443, 0.0606215596, -0.032347694, -0.0090163732, 0.0154447695, -0.0090162819, -0.0084826089, 0.0191913564, -0.0026430045, 0.0022779899, 0.0256793965, 0.0438883863, 0.0253176522, 0.0198371187, 0.0567726381, 0.0049172025, -0.0450762659, 0.0849635899, 0.0092901476, -0.0290390868, 0.004689306, -0.0176589806, -0.006236223, -0.0516675822, 0.0339541808, 0.0784179121, 0.0145847807, 0.0026786327, -0.0188689083, 0.0018468528, -0.0154571664, -0.0215339623, 0.025396606, 0.0238537267, -0.0280897412, 0.0228543058, 0.0167976804, 0.018939212, -0.0934919193, 0.033625517, -0.0273483116, 0.0243600104, -0.0691551715, -0.043525774, -0.0219521467, 0.0175772924, -0.0181830283, -0.0419381447, -0.0297580697, 0.0314945318, 0.0140913213, -0.0333689377, -0.0087629138, 0.0488567427, 0.0021833233, 0.0430238657, -0.0179375373, 0.0849672258, -0.0054239691, 0.0078021721, -0.0112093911, -0.0425969362, 0.0033670685, 0.0354841314, -0.0129934233, -0.0133486437, 0.0308237001, 0.0468255877, 0.0312101748, -0.0385288559, -0.0123755783, 0.0101915533, -0.0398394763, -0.0538384914, 0.0297178552, -0.0514385737, 0.0175647717, -0.0114040077, 0.0324264318, -0.0009222687, 0.0155486865, 0.005244527, -0.0226204842, 0.071257703, 0.0568608195, -0.0100013185, 0.0476703122, 0.0011656875, 0.0379053503, 0.0139905289, 0.0584327951, 0.0279697012, 0.0078190975, -0.0108345523, 0.0033018952, 0.0530353524, -0.0190315396, -0.0364639834, -0.0312877819, -0.0422962308, -0.0774778873, 0.0095820902, -0.0367674902, 0.0728751123, -0.0116032558, -0.002127138, 0.0467546731, 0.029278636, 0.0310742538, 0.049899172, 0.0585741065, -0.0347500667, 0.0255076289, 0.0112015437, -0.0021955466, 0.0041279807, -0.0261641815, -0.0360748582, -0.0362468325, 0.0400553718, -0.0273525957, -0.054245729, 0.0138565376, -0.0154067762, -0.0404923707, -0.0364055857, 0.0844551995, 0.010112416, -0.051913552, 0.0460295379, -0.0105006592, 0.0140402345, 0.0267709047, -0.0426315144, -0.0318817124, 0.0209259447, 0.0590973161, -0.0145812891, -0.0195590518, -0.0229786355, -0.05375164, 0.039292492, 0.0043187514, -0.0120819584, -0.0020374102, -0.0451176092, -0.0135153271, 0.0219226535, 0.0231947396, -0.0104708252, -0.0125882495, 0.0178961791, 0.0279351082, 0.0126772784, 0.0289205872, 0.0391376205, 0.05165077, 0.0009286255, 0.0114592295, 0.0140099218, 0.0798417628, 0.0113944728, -0.0060278638, 0.0178608187, 0.0375105813, -0.0582282506, -0.018896902, 0.0284645688, -0.0491149165, -0.0451644845, 0.0125842886, -0.0349763855, 0.0541267619, 0.1040147245, -0.025837075, -0.0720273703, -0.0146669559, -0.0504111201, 0.0340493396, -0.0286442433, 0.0067751752, 0.0288769919, 0.0403792188, -0.0405994579, 0.0731208771, -0.0277884994, -0.0174163599, -0.0079398211, -0.0168868192, 0.0104301935, -0.0153997168, -0.0501102917, 0.0165445823, -0.0251511633, -0.0099816369, -0.0047021308, -0.0348191783, -0.0058552721, -0.0435761288, -0.0409357771, 0.0040797982, -0.0353264101, 0.0054648952, 0.0076740799, 0.0171223767, 0.019416336, 0.0130200488, -0.0302713718, 0.0184085164, 0.0531295575, -0.0225797761, 0.0418698117, 0.0115789948, -0.0735844523, -0.0435041636, -0.0592455193, -0.0158649739, 0.0284434799, -0.0070717731, -0.0432585292, -0.0310604703, 0.0151355928, -0.0189308226, 0.0467437804, -0.0528943166, -0.0234457199, -0.0214441102, -0.0172886048, 0.0338540897, 0.0143732252, 0.0262187645, 0.0775480568, 0.0082123457, 0.009592942, 0.0275683273, 0.0247726291, -0.0713535771, 0.0077493843, -0.0642460734, -0.0049869064, 0.0457957238, 0.0896768719, 0.0028579214, 0.0027114681, -0.046250049, -0.0429922082, -0.0194758363, -0.0370993353, 0.0405156054, 0.0032626174, -0.0282376688, 0.0009864153, -0.0381789729, -0.0319851004, 0.0602597781, -0.0246224124, -0.0103755118, -0.0121824378, -0.0172286481, -0.0359618515, 0.0414715856, 0.0585413836, -0.015158318, -0.0370539799, -0.0232050736, 0.0013448884, -0.0234750193, -0.031526003, -0.0169906262, 0.0322887897, -0.002897785, 0.0202917196, 0.0040389504, -0.0187718086, -0.0341385454, -0.0047907275, -0.0198116191, 0.037792597, 0.0258930046, 0.0018551295, -0.0510687977, 0.054237999, -0.0139534064, 0.0146717811, 0.002346762, -0.0126189161, -0.0498903207, 0.0695924759, 0.0560457036, 0.0113738421, 0.0432224162, -0.0063947216, -0.0093035735, 0.0468490869, 0.0438011028, 0.0385233834, -0.0428022109, -0.0030673137, 0.0267859455, -0.0186226126, -0.04494844, 0.0048854072, -0.0166153423, -0.0588557646, -0.0247597732, 0.076835826, 0.0330541246, -0.0036615103, 0.0344288759, 0.0283167716, 0.0242049936, -0.0126704769, 0.0107504288, -0.0228872653, -0.0196994506, -0.003477392, -0.0283637587, -0.0230828188, -0.0111649875, 0.0405592918, -0.0647847727, -0.0064915782, -0.0121195652, -0.0475627556, -0.0340096615, -0.0459524058, 0.0015350551, -0.0181361809, -0.0293236431, 0.0032559887, 0.0023990294, -0.0303662252, 0.0586773269, -0.0062081837, -0.0552453771, -0.0065455218, -0.0350512676, 0.011582844, 0.0790394843, 0.0246087778, -0.0416530333, -0.0384857208, -0.0184549857, -0.0183113813, 0.001710696, -0.0177780073, -0.0186538398, -0.0139296344, -0.0599624775, -0.010563734, 0.0212965906, -0.0421746373, 0.000917402, -0.052145388, 0.0727228299, -0.0428636633, 0.0063183676, -0.0423133783, -0.0038837208, -0.0126867378, 0.0368606038, -0.0095542483, -0.0310178921, -0.0659630001, 0.0160187092, 0.029385075, -0.0014457474, -0.0386670269, 0.0030587106, 0.0207160767, -0.0426845662, -0.0607151948, -0.0661963895, -0.0087172631, 0.0272397473, 0.0243575349, -0.0000317978, 0.0422550216, -0.0204728656, -0.048058603, 0.0141017176, -0.0474781804, 0.0481586009, -0.0439121835, 0.0086574275, 0.0489830375, 0.0005347308, -0.059197817, -0.012517496, -0.0939242467, -0.0540197566, 0.0335067697, 0.0556709133, 0.0246624965, -0.0450434014, -0.0257575624, -0.0426089801, 0.0708627179, 0.0170163177, -0.0256299265, 0.0306034535, 0.0528426245, -0.0128961718, 0.0047798841, 0.0353704467, -0.0100246146, 0.0364979208, -0.0200582668, 0.0579486303, -0.0111141242, -0.0757679269, -0.0059018023, -0.0719685331, 0.0836617947, 0.0476971269, -0.0111343032, -0.0327873267, 0.008790588, 0.0222830344, 0.0156138511, -0.0309640076, -0.0254164506, 0.0610558577, 0.0811336786, -0.0241301265, -0.0014764693, 0.0137554929, -0.0111738453, 0.0403129719, 0.0145310154, 0.101726748, -0.0279464908, 0.0071694665, 0.0246719178, -0.0178630874, -0.0010994979, 0.0387219638, 0.0025540979, -0.0051293527, 0.0711020902, 0.0256762132, -0.0054102372, -0.0526624992, 0.0323423333, -0.0609892569, 0.0005087241, -0.0123522747, 0.047685165, 0.0491074175, -0.0392528102, 0.0472013243, -0.0170974024, 0.0040064892, -0.030136643, 0.0038122267, 0.0001568126, -0.0172276013, 0.0517059341, 0.0137613472, 0.0007813161, 0.0256559066, 0.0275291502, -0.0015800516, 0.0578350537, 0.0022970184, 0.0116260191, -0.0312903821, -0.012651098, 0.000679017, -0.0057266355, 0.0029133924, -0.0014463386, -0.0616548844, -0.0694218576, 0.0549781956, -0.0020711988, 0.0370639227, -0.0276129879, 0.0497649722, 0.0472056866, 0.0231084172, -0.0019887162, -0.0546861961, -0.0493329652, -0.0026858847, -0.0136780245, -0.0046154018, -6.309478418e-33, -0.0102721835, -0.0336650051, -0.0012441584, 0.042096626, -0.0417349376, -0.017855281, -0.0124232974, -0.0065225977, -0.0424954332, 0.0006199333, -0.0188071411, 0.0295912419, 0.0248456914, 0.0500173606, -0.0117676016, -0.0378956795, 0.0502557643, 0.0314691439, 0.0031054714, -0.0163160078, 0.0227871183, 0.0458418615, 0.0336257443, -0.035204336, 0.0188454259, -0.0143369455, 0.0025567019, 0.045661062, -0.0456251092, 0.0743493736, -0.0606216192, 0.0298489705, 0.0428210646, -0.0039242837, 0.021045683, 0.0143561335, -0.072478056, 0.0042665233, 0.0018503068, 0.0260052923, -0.0451162457, 0.0027378772, 0.0897123665, -0.0113908825, 0.013842877, 0.0093574496, 0.0553118363, -0.0034255004, -0.0144611429, -0.0050798119, -0.0453403406, 0.0204259567, -0.0156179303, -0.0353389159, 0.025710091, 0.053826984, -0.0085424585, -0.0290145501, -0.0428691842, -0.0007047812, 0.0102204531, 0.049551744, 0.0354234613, 0.066484496, -0.0038597009, 0.0322488658, 0.0401690342, -0.0701665133, -0.0328372978, -0.0386805981, 0.0259338357, 0.0284766126, 0.0350648239, -0.0290032905, 0.0062037045, -0.0481671244, -0.0800397322, -0.0050549838, -0.0106459698, 0.0695501715, -0.0169774964, 0.0006699042, -0.0551114045, -0.00814432, -0.0091451649, -0.0508214422, -0.0103902053, -0.010080969, 0.0203267746, 0.0373018272, -0.0298230629, 0.0676622987, 0.0267133955, -0.0420914032, 0.0378964357, -0.0219470952, 0.0238651969, 0.0625742078, 0.005810427, 0.0004502083, -0.0776261911, -0.0256611165, 0.0050962656, -0.0139524341, 0.0028323049, -0.0181695577, 0.0143979425, 0.0549522974, -0.0528627709, -0.027879471, -0.0275325477, -0.0046689175, -0.024480192, 0.0497450642, 0.060420543, 0.0158158988, -0.0152359735, 0.0141638117, 0.0254529864, 0.0098432489, -0.0071476912, 0.0326037034, 0.0161825698, 0.0273353532, -0.0276246704, -0.018511489, -0.0265923068, 0.0486482978, 0.0067876023, -0.1031325981, -0.0027076753, 0.0015752603, 2.811e-7, 0.0389650017, 0.0124900993, 0.0565072037, -0.028118534, 0.0503104217, 0.0216994453, -0.0002672329, 0.0255726818, -0.0150022209, 0.00401974, 0.0205818024, -0.0110964943, 0.0154996831, -0.0058231982, -0.0650276691, -0.0123390043, -0.0421842411, -0.0118135409, -0.0225457978, -0.0031611943, 0.0433521457, 0.1118906885, 0.0365905464, -0.048729416, -0.0256743282, -0.0220050253, 0.0759046823, 0.0196973421, 0.0187242068, 0.0142940646, 0.0310652517, 0.0369128436, -0.0206685513, -0.0106289564, 0.025071241, 0.0548056923, 0.0193719491, 0.0905690938, -0.0065913079, -0.0352672897, 0.0037014917, 0.0203163326, -0.0164740663, -0.0187692288, 0.078966707, -0.0688748062, -0.0329659805, -0.0313778371, -0.0095600039, 0.0400175638, 0.0050015226, 0.0220617354, -0.0452973023, 0.0062417905, 0.0119302087, -0.0015989384, -0.0116836242, -0.0678481013, 0.0012003302, -0.0301115047, -0.0545585752, 0.0110166837, -0.049215164, -0.0300100204, 0.0198147129, -0.0094697904, -0.04965882, 2.611192412e-34, 0.0033598095, -0.0252627879, 0.0110263079, 0.0152681572, -0.0281835031, 0.0062069632, -0.0150937298, -0.0060754218, -0.0052574882, -0.0898634568, -0.0295031574 ]
http://arxiv.org/abs/2406.16714v1
http://arxiv.org/pdf/2406.16714v1
AutoDetect: Towards a Unified Framework for Automated Weakness Detection in Large Language Models
"2024-06-24T15:16:45"
"2024-06-24T15:16:45"
Jiale Cheng, Yida Lu, Xiaotao Gu, Pei Ke, Xiao Liu, Yuxiao Dong, Hongning Wang, Jie Tang, Minlie Huang
cs.CL
cs.CL, cs.AI, cs.LG
Although Large Language Models (LLMs) are becoming increasingly powerful, they still exhibit significant but subtle weaknesses, such as mistakes in instruction-following or coding tasks. As these unexpected errors could lead to severe consequences in practical deployments, it is crucial to investigate the limitations within LLMs systematically. Traditional benchmarking approaches cannot thoroughly pinpoint specific model deficiencies, while manual inspections are costly and not scalable. In this paper, we introduce a unified framework, AutoDetect, to automatically expose weaknesses in LLMs across various tasks. Inspired by the educational assessment process that measures students' learning outcomes, AutoDetect consists of three LLM-powered agents: Examiner, Questioner, and Assessor. The collaboration among these three agents is designed to realize comprehensive and in-depth weakness identification. Our framework demonstrates significant success in uncovering flaws, with an identification success rate exceeding 30% in prominent models such as ChatGPT and Claude. More importantly, these identified weaknesses can guide specific model improvements, proving more effective than untargeted data augmentation methods like Self-Instruct. Our approach has led to substantial enhancements in popular LLMs, including the Llama series and Mistral-7b, boosting their performance by over 10% across several benchmarks. Code and data are publicly available at https://github.com/thu-coai/AutoDetect.
[ 0.0029885396, 0.0678001791, -0.0396132618, 0.0641787872, -0.0227628276, 0.0035690081, -0.0073356791, -0.01653721, 0.0355563685, -0.0430994108, -0.0003937699, -0.0073304218, -0.0122666247, 0.0185554475, 0.038521748, -0.0316481963, 0.0547717027, -0.0616350733, -0.0387843624, 0.0135104107, 0.0076786522, -0.0013935723, -0.014097672, 0.0465660132, 0.0368674695, -0.0436581448, -0.0264898222, -0.0263260566, -0.0067240479, -0.0615480207, 0.0114724357, 0.0654328763, -0.0187937487, 0.0465431549, 0.0000023695, -0.0469265543, -0.0210743379, -0.008326917, -0.0133963851, 0.0730732307, 0.0184812862, -0.0013135517, -0.0353436023, 0.0429048873, -0.0256329272, -0.0161964409, 0.0323109217, -0.0170783773, 0.0858861879, 0.0522960648, 0.0201594662, 0.0395693853, 0.0150664095, 0.0090576168, -0.0097404541, -0.0379798748, 0.0086667882, 0.0048291888, 0.0339554772, 0.0060587302, -0.0273338053, 0.0289536938, 0.0337591022, -0.0265744831, -0.0097303148, 0.0155868195, -0.0512778759, -0.0236121025, -0.0158844218, 0.0633667484, -0.0358317271, -0.0300622433, -0.0115581444, -0.0066923937, -0.0061306371, 0.0024448065, -0.0284118466, 0.0035132521, 0.0059035267, -0.0020477043, 0.0244495235, -0.0334242173, 0.0249075405, -0.0147470357, 0.0065232557, 0.0402981602, 0.0199369378, -0.0275774579, -0.0176423956, 0.0200991314, -0.0109894183, -0.0522938706, 0.0006974664, 0.0404244326, -0.0369628184, 0.0351730324, -0.0319847912, -0.0200625025, 0.0395370573, -0.0495538972, 0.0157929026, 0.050396841, -0.0439241864, 0.0489746965, -0.0234708954, 0.1056889147, 0.0196752772, 0.0172221977, -0.0205399748, 0.024619747, -0.0279948544, -0.0035722423, -0.0276897568, 0.0113409255, 0.038666293, 0.0024883742, -0.0245232005, 0.0511635058, -0.0272545759, 0.0414183252, -0.0167640243, -0.0362699479, 0.0023869833, 0.0167915802, -0.0029193501, 0.0386798047, -0.0079172719, -0.0275099128, 0.0004416099, -0.0886875242, -0.0069930791, 0.010506345, -0.0451132618, -0.0203959383, 0.0064545474, 0.0797204599, 0.0088403001, -0.0209738575, -0.0518474542, -0.017427668, -0.011290458, -0.0575063415, -0.0174483191, -0.085020721, -0.0324294493, 0.0256962385, -0.0009380122, -0.0265874248, 0.0230919626, 0.0048535704, 0.0222954396, 0.0507414863, -0.0378769152, 0.0174121521, 0.0076702009, 0.03761971, -0.0160926096, 0.0985311419, 0.0055093043, -0.0015722165, 0.0357008763, -0.0170717109, 0.0559167564, 0.0681938231, 0.0079052849, 0.0460402854, 0.0091262748, -0.021141706, 0.0125058126, 0.0118011879, 0.0037969449, 0.0497093983, 0.0064250808, 0.0089499438, 0.0536948852, 0.0231833644, -0.0230044257, -0.0046662255, 0.0126205413, 0.0182052646, 0.0361976139, -0.0041571544, -0.0473994091, 0.0073792264, -0.0346963592, -0.0048009502, -0.0183237791, 0.0408489816, -0.0083236024, -0.0778615922, -0.0470974557, -0.00512193, -0.0109109525, 0.0286447853, 0.0646398738, 0.0010976968, -0.0285706762, 0.034780059, 0.0181482155, -0.0553337932, -0.0080273477, -0.0998067558, 0.0309266374, 0.0769594759, 0.0852258354, -0.04478186, -0.066781044, 0.0070082815, 0.0140706347, -0.0001055544, 0.045409888, -0.0301421918, -0.0042574136, -0.0267916508, -0.0358036458, 0.010220632, 0.0348318182, 0.0234166086, -0.0013337597, 0.0089330235, 0.0028618816, -0.0395942591, -0.0599890351, 0.0410311073, -0.032981921, -0.0325727724, -0.0314181596, 0.0081827044, -0.0029252775, 0.003127258, -0.006621391, -0.0027861956, 0.026397489, -0.0036186718, 0.0227541421, 0.0075386479, -0.0378345922, -0.0239841565, 0.0622427911, -0.0042616944, -0.0400484502, 0.0686432943, -0.0424826443, -0.0391230546, 0.0378209837, -0.0399145, 0.0108451601, 0.0017240416, 0.0743970349, -0.0454912335, -0.0040725474, -0.0212276187, 0.0339672528, -0.0077497819, 0.0262362771, 0.0249915272, 0.0521072634, 0.0238304865, -0.0197648704, -0.0700481907, 0.0101148477, -0.0230220873, 0.0454801358, 0.014514708, 0.034625724, -0.0395772234, -0.0066099768, -0.0812922344, 0.0015424973, -0.0240173247, 0.0291666165, 0.0155861694, 0.0034458223, -0.0225724299, -0.0141976122, -0.0065072207, -0.0232713316, 0.0243847072, 0.0225108415, 0.0133873466, -0.0176992808, -0.0514890142, -0.070399709, -0.0152011057, -0.0408496857, 0.0208222438, 0.0071009421, 0.001582268, -0.0596560687, 0.058188796, 0.0142733064, 0.0320768729, -0.002759824, -0.0761976019, 0.0190724116, -0.0302111525, 0.0166457966, 0.0731176138, -0.0313080661, 0.0561759286, 0.0772985294, -0.0179478638, -0.0656776354, 0.0041914997, 0.0179852787, -0.027842015, -0.0218491703, -0.0291895475, -0.0255198274, 0.093141064, -0.0086668963, -0.0349711739, -0.0187218804, 0.0096297245, -0.0616258457, 0.0201815795, -0.0118891094, -0.0233435109, -0.0098349471, 0.0250844937, -0.0107552782, -0.0498219021, 0.0696112365, -0.0566156097, -0.000294137, -0.0532409772, -0.0260382406, -0.0428337082, 0.0528813787, 0.0103220195, 0.0031442421, 0.0152768884, -0.039377328, -0.0319455601, 0.0164801925, 0.0319107361, -0.0357104763, 0.0264667962, -0.0796276852, -0.0056879614, 0.0121528357, -0.043184679, -0.0610013306, 0.012709314, -0.0422575362, -0.0090976311, 0.0155578107, -0.0142450137, -0.0068333456, -0.0105134109, -0.0118135884, 0.0428956561, -0.0123995757, -0.0088441456, -0.0155634014, 0.0124787232, 0.0058251037, -0.0415020399, 0.0317970887, -0.0721112266, 0.0500672497, 0.0477109849, 0.0643942878, 0.0110558346, -0.0456327721, -0.0025131055, 0.0401392467, -0.027176464, -0.0018165376, 0.0184223801, 0.0602043942, -0.0928613394, -0.0343389586, 0.1145999655, 0.0335316435, -0.0420124382, 0.0090420023, -0.036615897, 0.0407148413, 0.0437946245, 0.0279373284, -0.0845826119, -0.0306072943, 0.0153522892, 0.0459672883, -0.0084884819, 0.0053199087, 0.0140065802, -0.1215549856, 0.029861968, 0.0056964578, -0.0124062793, 0.0022841746, -0.0472967513, -0.0036515372, -0.0333727039, 0.0590510629, 0.0107676312, 0.0016542089, 0.0085021909, 0.0293214992, -0.078134127, -0.0690627769, 0.0518099628, -0.0311600994, 0.0841707587, 0.0646052063, 0.0113697993, -0.0019565402, -0.0172355231, 0.0695333481, -0.0069476822, -0.0145295048, 0.0064678206, 0.046990037, 0.0200319886, -0.0276503284, 0.0089498926, 0.0081801163, -0.0146663301, 0.0236838702, 0.0428829417, 0.0821049511, -0.0000097025, 0.0005782764, -0.0262882635, -0.0336514376, 0.0169834811, 0.0629869998, 0.049185887, -0.0313321725, -0.0518919863, -0.0462857708, -0.017679587, -0.0506442077, -0.0407681428, 0.0222023744, 0.0119564021, -0.0263822954, -0.0362783261, -0.0490064695, 0.0418410338, 0.0062186285, 0.0206180848, -0.0160193872, -0.0051625287, 0.014116466, -0.024116762, 0.0256262161, -0.0020788915, 0.0212144572, -0.0985842049, -0.0064181462, -0.0009256387, 0.0072129122, -0.0143246623, 0.0235219374, -0.1173720509, -0.0941526592, 0.0248505417, 0.074333176, 0.0222006068, 0.0209340081, -0.0414891429, -0.0608895123, 0.0291797258, 0.0017859257, -0.0431513861, -0.0062656086, 0.029151177, -0.0510936789, -0.0057192063, 0.0129544418, -0.0360449702, 0.0110447193, -0.0141793685, 0.0203757863, -0.0324908979, 0.0088744964, 0.0150370002, 0.0339080729, 0.0308742151, -0.005673381, -0.0008191761, -0.0444762595, 0.0050132242, -0.0159259606, -0.0124646518, -0.0395577177, 0.042530641, 0.0207395237, -0.0254999325, 0.0245687105, -0.020559838, -0.0094764987, 0.0417932384, -0.0118474243, 0.06488242, 0.0136701912, 0.0224655401, 0.0647834167, -0.0045973491, -0.001692889, 0.012854333, 0.0103217419, 0.0564064272, -0.0045453282, 0.0455164872, -0.0158921499, -0.0118288966, 0.0408382751, 0.0347127765, -0.0274959095, -0.0642713159, -0.019281147, 0.055619847, 0.0467262603, 0.0217741691, 0.0590848699, -0.0359989703, 0.0050324085, -0.0229087435, 0.0035758037, -0.0352834426, -0.0296774376, 0.0224519204, 0.0331369266, 0.0076441402, -0.0048934957, 0.0685437024, 0.0200287905, 0.0475399531, 0.0167631954, 0.0048720445, -0.0350127891, 0.0029969281, 0.0319464132, 0.0003175226, -0.0427472368, -0.009172366, -0.0523026101, -0.0745307803, -0.0108172968, 0.0517594218, -0.0036851284, -0.0158009566, -0.0007969061, 0.0703056455, -0.0008818411, 0.0287613831, -0.0496970043, -0.0179909319, -0.005403915, -0.0205774009, -0.0003244231, -6.342065325e-33, -0.0352917761, -0.0433555208, 0.0173759535, -0.0107054384, 0.0101304669, 0.0164627209, -0.0726767182, 0.0331321098, -0.0124305263, -0.005335839, 0.0135923149, 0.0232082289, 0.004303596, -0.0090241991, 0.0453715138, 0.0219508037, 0.0579218827, 0.0248297825, -0.0405583903, 0.038046591, 0.0028049243, 0.0070203911, 0.0551983863, -0.0422436334, 0.0087281102, -0.0209166836, -0.011998455, 0.033896625, -0.0283339228, 0.0711301565, -0.0067661186, 0.0395865813, -0.000983978, -0.0292543694, -0.0291663278, -0.0397011787, -0.0327594765, -0.0503109954, -0.0105480803, 0.050058838, -0.026493242, -0.031481009, 0.0313508362, -0.0069865072, -0.0235793069, 0.0045669619, 0.043100439, -0.0052870791, -0.0061586807, 0.0172169395, -0.0582384393, 0.0447050221, -0.0439721569, -0.0407749824, 0.0010729368, 0.0492073335, 0.0012851771, -0.0220819879, -0.0397126824, 0.0251985285, 0.0544215851, 0.0603442453, 0.1085517555, 0.0129725691, -0.0366308056, 0.0600887462, 0.0403512903, 0.024260385, 0.035472203, -0.0047881026, 0.0667914748, 0.0201006308, 0.0765569434, 0.0245840196, 0.0144560337, -0.0048240968, -0.0286632944, 0.0283885878, 0.0490541123, 0.0262375306, 0.0082427682, 0.0096347919, -0.0822166204, -0.0288658962, -0.0315112919, -0.0079850741, -0.0284300726, -0.0342017785, 0.048847951, -0.0144173698, -0.0344689414, -0.0289685801, 0.0364997797, -0.0422574654, -0.0321295559, 0.0172993857, -0.0393409133, 0.035812825, -0.0415087305, 0.0565467663, -0.0324308313, -0.0285382643, -0.026003236, 0.0073183891, 0.0515886061, 0.0093956245, 0.0055391528, 0.0327175446, -0.0621398501, 0.0054202206, -0.0426720828, 0.0132691562, 0.0067321756, 0.0329354592, 0.0101272305, -0.0385135673, -0.0053239372, 0.0646822751, 0.0315371864, -0.0190457609, -0.0717094988, 0.0122467866, -0.0106205214, -0.0143762454, -0.0317947567, -0.033727061, -0.0679153129, 0.035644237, 0.0137995938, -0.0613868609, -0.0030995114, -0.0121563515, 2.915e-7, 0.0124231866, 0.059048228, 0.0052216328, -0.0029847601, -0.0140028456, 0.0438528396, -0.0504771881, -0.0142635796, 0.018350631, 0.0126863774, -0.0076525966, 0.0266782288, 0.0552453212, 0.0591886267, -0.0653409362, 0.040860191, -0.0498486198, -0.0061633866, -0.0660666227, -0.0115573192, 0.0254807696, 0.0784612224, 0.0045098891, -0.0063522379, -0.0038994052, -0.0477265045, -0.0041234642, 0.0051253298, -0.0237020031, 0.0455179326, 0.0217612162, 0.036083281, -0.0083443532, -0.0074465564, -0.0237762164, -0.0241413116, -0.0240549296, 0.0169092938, -0.0028958833, 0.0003851987, 0.0272896271, -0.028223535, -0.0090719732, -0.0446504503, 0.0625649691, -0.0062426049, 0.0033457628, -0.0232141539, 0.0020688102, -0.0520385727, 0.0168346185, -0.019155642, -0.0177967455, 0.0226918645, -0.0131445937, -0.0553239249, -0.0182575975, -0.0504332334, -0.0308671463, 0.0000962389, -0.0133033693, -0.0509792976, -0.0248449575, -0.00153921, -0.011010482, -0.0495814979, 0.0156324822, 3.041441023e-34, 0.0459571294, -0.0184021853, 0.0275159739, 0.0377497599, 0.0331449546, 0.0090365037, -0.0220803078, 0.0118843298, 0.0065035271, -0.0168566499, -0.0268959403 ]
http://arxiv.org/abs/2406.16694v1
http://arxiv.org/pdf/2406.16694v1
Task Oriented In-Domain Data Augmentation
"2024-06-24T14:58:11"
"2024-06-24T14:58:11"
Xiao Liang, Xinyu Hu, Simiao Zuo, Yeyun Gong, Qiang Lou, Yi Liu, Shao-Lun Huang, Jian Jiao
cs.CL
cs.CL
Large Language Models (LLMs) have shown superior performance in various applications and fields. To achieve better performance on specialized domains such as law and advertisement, LLMs are often continue pre-trained on in-domain data. However, existing approaches suffer from two major issues. First, in-domain data are scarce compared with general domain-agnostic data. Second, data used for continual pre-training are not task-aware, such that they may not be helpful to downstream applications. We propose TRAIT, a task-oriented in-domain data augmentation framework. Our framework is divided into two parts: in-domain data selection and task-oriented synthetic passage generation. The data selection strategy identifies and selects a large amount of in-domain data from general corpora, and thus significantly enriches domain knowledge in the continual pre-training data. The synthetic passages contain guidance on how to use domain knowledge to answer questions about downstream tasks. By training on such passages, the model aligns with the need of downstream applications. We adapt LLMs to two domains: advertisement and math. On average, TRAIT improves LLM performance by 8% in the advertisement domain and 7.5% in the math domain.
[ 0.0289611388, 0.061287161, -0.0143405441, 0.0417760387, -0.0141314706, 0.0243010111, 0.0296054482, -0.0253531579, 0.0257068705, -0.0769909322, -0.0581751578, -0.0515132807, -0.040456064, 0.0233627036, 0.0535249561, -0.0331182927, 0.030423319, -0.0427131355, -0.0011893162, 0.0044645183, 0.0005569405, 0.0094762677, 0.0112056173, 0.0055609122, 0.0159036089, -0.0435559601, 0.0168844424, -0.0140778245, 0.0009334654, -0.0123781301, 0.0672416389, 0.0636357591, 0.0565964878, -0.0027350029, 0.0000020774, -0.0541311502, 0.000867678, 0.0042324965, -0.0607383177, 0.0340055563, 0.0391386449, -0.0201710574, 0.0099406671, 0.0155223208, -0.0609108508, -0.0176757332, 0.0113839805, 0.032984782, 0.0482019186, 0.1026890352, -0.007354504, -0.0348404907, 0.0406332612, -0.0750009865, 0.0080385711, -0.052695144, 0.0386802331, 0.0136996452, 0.0170628615, 0.0341645069, -0.0282859113, 0.010997924, 0.046735622, -0.013997308, 0.0309356749, 0.0016698109, -0.003366044, 0.0305384062, -0.0045602978, 0.0677972957, -0.0213627368, -0.0174346454, -0.009474772, -0.0029433998, 0.033139877, -0.0015459175, -0.0400240794, 0.0078877499, 0.0240346827, 0.0014650265, 0.0149028478, -0.0056580505, 0.0293528456, 0.0281009544, -0.0426293612, 0.0317389965, 0.0181550048, -0.0343575813, 0.0158734042, 0.0330292769, -0.0658524334, -0.0594807975, 0.0078624263, -0.0006351296, -0.0346565843, 0.0264417008, -0.0891116485, -0.0756659061, -0.0150650954, -0.041738648, 0.0609834418, 0.0181685183, -0.0161370952, 0.0361863971, -0.0221131425, 0.0294216853, -0.0118504176, 0.0004451404, -0.0630852282, 0.00009335, -0.0352784656, -0.000743982, -0.0482422635, 0.0422213152, -0.0863820314, 0.0098689981, -0.0201034248, 0.0351801515, -0.0220159236, -0.0206011515, 0.0268365014, -0.0168904345, -0.0401501879, -0.0387707651, -0.0136021161, -0.0006689908, -0.0223280359, 0.0292993747, 0.0023500491, -0.0326611511, -0.0053777806, 0.0193717033, -0.0068411827, -0.0448967591, -0.0005714018, 0.0796493441, -0.0219405778, -0.0311320629, -0.0432457142, -0.0269176792, -0.0015856628, -0.0844060406, -0.0026633111, -0.0429306664, 0.0166449845, 0.0061516403, -0.015844943, -0.0664749444, 0.0126590729, 0.0203294083, -0.0063222605, 0.0480101854, 0.0022829918, -0.0050806417, -0.0115846274, 0.0052348324, 0.0265636314, 0.0930520147, 0.0195431672, 0.000978609, 0.0224441737, 0.0005322084, -0.0077972589, 0.0489261895, 0.030671604, 0.021005949, 0.0070233978, 0.033875037, 0.0403337553, 0.020126462, 0.0360667631, -0.004115168, -0.0331765898, 0.0149580883, 0.0616293922, 0.0156002222, 0.0427727886, 0.0018906239, 0.0517299138, 0.02072349, 0.0103991302, 0.01243944, -0.0669065788, -0.0002201049, 0.0039053536, 0.0073536676, 0.0019440333, 0.0343309492, -0.0280688629, -0.0543789342, 0.0088775689, -0.0070672478, 0.0129650142, 0.0463322215, 0.0597190745, 0.0439496487, -0.0347998962, 0.0399472825, 0.0224312637, -0.0251968596, 0.0185244735, 0.0019048001, -0.0042453287, 0.0595195293, 0.0432680547, -0.0430656075, -0.0563532189, -0.0255521759, 0.0595075302, 0.0497868434, 0.0515654236, -0.0288515314, -0.0028011922, -0.0712165982, -0.0414065905, -0.037376903, 0.0270995665, 0.0140921837, 0.0445650965, 0.0143483458, 0.0464605987, -0.0701105744, -0.0315764658, 0.0262319371, -0.0825907513, -0.0390377752, 0.0214367602, -0.0027169115, -0.0033280964, 0.0156511869, -0.0015452323, 0.0068192626, 0.0074629905, -0.0447840914, 0.0103464443, 0.0046752892, -0.0492899045, -0.0222568158, 0.041811116, -0.0146990232, -0.0359775685, 0.0287992992, -0.0465385988, -0.0207440183, -0.0102955764, -0.0452791154, 0.0284238365, -0.0406482033, 0.0191894397, 0.0093896398, 0.0083745895, -0.0313685946, 0.0503330231, 0.035717722, -0.0096909842, 0.0115664769, 0.0139139798, 0.0128500713, -0.008743708, 0.0028321517, -0.0381709822, -0.0050772568, 0.0187827945, 0.0077554546, 0.0102040395, -0.0385870785, 0.013023288, -0.062522456, 0.0237591378, -0.0329475291, 0.0355396867, -0.0011698559, 0.0263900179, -0.0219709799, -0.0208448879, -0.039483536, -0.0181009453, -0.0118248397, 0.004252946, 0.0077778921, 0.0057734945, 0.0156279672, -0.0168101285, -0.0006487872, 0.0131622488, 0.0161173344, 0.0109969871, -0.008645908, -0.0720886812, 0.0752226338, 0.0039742929, 0.025930671, -0.0104534207, 0.0064942841, -0.0540441163, -0.0061395355, 0.0656098425, 0.0422579944, -0.0055994331, -0.0066227438, 0.0144186839, 0.0059096408, -0.045277223, 0.0181449857, -0.0013369544, 0.0097759999, -0.0586736426, 0.013905325, 0.033139132, 0.0598603487, -0.0444773845, -0.0467158593, -0.0154254716, 0.0040085474, -0.0390461832, -0.0260831546, -0.021954583, 0.0141773336, -0.023078762, 0.0357408784, -0.0189605448, -0.0381203629, 0.0676932409, 0.0116523989, -0.0141888084, -0.0851696059, 0.0064109783, -0.0471320003, 0.0459451638, 0.0039110496, -0.0183847789, 0.027689781, -0.044984594, -0.0475176126, 0.022641927, 0.0377077758, -0.0274093822, 0.1045685261, -0.048351638, 0.0267188977, -0.0296260118, -0.0603709929, -0.0675400123, -0.0505462438, 0.0081835818, 0.002778962, 0.0094820177, 0.0063401279, -0.0340156965, -0.0194004513, -0.0037451035, 0.0728159323, -0.0416186415, 0.0028021296, -0.0277583394, 0.0358136147, 0.0679768026, 0.040107999, -0.0275208615, -0.0570818, -0.0108377729, 0.017581258, 0.0113460645, -0.0360431522, 0.0016735983, 0.0028280846, 0.0335759595, -0.0552730598, -0.0180516802, 0.0243937392, 0.0445529893, -0.0695700347, -0.0201853067, 0.1038294733, 0.0181375965, -0.0246523321, -0.01349492, 0.0021785763, 0.0040205303, 0.0318170264, 0.0415319018, -0.0976551548, -0.0285891425, 0.002249541, -0.0048418022, 0.0338158645, -0.0164860711, -0.0168902464, -0.144070223, 0.0560494252, 0.0094893873, 0.0100065358, -0.0367030129, -0.0250154939, 0.0144832768, -0.0080700899, 0.0274627358, -0.0185417011, -0.0289328787, 0.0002067079, 0.0327286683, 0.0259681437, -0.0648786053, -0.0093275951, -0.0316531472, 0.0194472857, 0.0395714715, 0.0137611106, 0.0006883724, -0.0127408495, 0.0422210284, 0.0045828577, -0.0112729557, 0.0084945252, 0.0672242716, 0.0027694691, -0.0048353323, 0.0033335013, 0.0581942275, -0.0449638329, -0.0176576953, 0.0402186401, 0.0933696181, -0.003478063, 0.0235879682, -0.0124916369, -0.0200395584, 0.0316962264, 0.0711805746, 0.0107036158, -0.0676536858, -0.0103111733, -0.0180487987, -0.0345223993, -0.0841433704, 0.0002280496, -0.010566053, -0.0290595312, 0.0071397363, -0.0588819571, -0.0581667945, 0.0374739245, 0.0396738201, 0.0285218861, 0.0205832198, 0.0037745463, -0.03850336, -0.0767929181, 0.0282615684, -0.0885416269, 0.0288744252, -0.0277210549, -0.0135111632, 0.0266214479, -0.0524410941, -0.0193421487, 0.0173878334, -0.0890343487, -0.0529398695, -0.0079866936, 0.0235537495, 0.0150269028, 0.0717696622, -0.0437310785, -0.0367776528, 0.0634010956, 0.0176137052, -0.0877043083, 0.0164925307, 0.0538230911, -0.0401431322, 0.0063311928, 0.0264426265, -0.0331131704, 0.0166263301, 0.0581792109, 0.012772439, 0.0193650518, -0.0040660729, 0.0126600293, 0.0036376938, 0.0168824177, 0.0108325304, 0.0188903082, -0.0603956543, 0.046602983, -0.0195427667, -0.0310657807, -0.0415796936, 0.0146409627, 0.0298033878, 0.0015844522, 0.0017200063, 0.0668812618, 0.0020290092, 0.0230852515, -0.0417941287, 0.0069960998, -0.0000442779, 0.0164331291, 0.046989128, -0.0007137731, 0.0040692189, -0.0016132327, 0.0222609341, 0.0457010977, -0.029329678, 0.0411968455, 0.0105109466, 0.0154167367, -0.00628804, 0.0118550919, -0.0441966876, -0.0074750148, -0.0381852612, 0.044945769, 0.0466492362, -0.0397454835, 0.051324144, -0.0385432541, -0.0182026438, -0.0289096422, 0.0261729136, 0.0065929666, -0.0174314287, 0.0083308099, 0.0100771021, -0.0214829762, -0.0067737605, 0.0980737656, 0.0265143141, 0.0479207374, -0.0093703158, 0.0111194868, -0.0408122018, -0.0385193489, 0.020544935, 0.009126639, -0.0204102844, 0.0151387798, -0.049167335, -0.0760498717, -0.0080473078, -0.0265624728, -0.045104757, -0.0042355973, 0.0468218885, 0.0457554162, -0.0388097949, -0.0127830487, -0.0338327214, 0.0479471385, 0.0129195424, -0.0236376412, -0.0206319764, -5.759457264e-33, -0.0227440409, -0.0096140625, 0.0319444686, -0.0128051713, -0.0458109528, 0.0037057893, -0.0243763905, -0.0185564365, 0.0169830453, 0.0145827541, 0.0004864165, 0.0128188347, 0.0168799274, 0.0550112166, 0.0091808755, -0.0377433114, 0.0616019964, -0.0072993487, -0.0074217063, 0.024330616, -0.001540921, 0.0372632332, 0.0469491668, -0.0567068756, 0.0292011313, -0.0087031517, 0.0239215363, 0.0024757723, 0.0134730563, 0.0576478168, 0.0108441431, 0.0377700962, 0.0194526128, -0.0904991627, -0.039349366, 0.0222317595, -0.085046269, -0.0087519484, 0.0382161774, 0.0238668099, -0.0128169246, -0.0458212495, 0.0343678221, -0.0147575662, 0.0106370486, -0.0319316983, 0.0381890498, -0.0607763231, -0.0109118605, -0.0338546261, -0.1098410413, 0.0151489666, 0.0030519434, -0.0217903499, 0.0312455334, 0.0464664251, 0.0175338127, -0.0184464138, -0.0137220966, 0.0141976764, 0.0086744092, 0.0351379737, 0.0398572348, 0.0051673446, -0.0067236484, 0.0272647869, -0.0222651586, 0.0259576254, 0.02586703, 0.0022245806, 0.029518798, 0.0160934888, 0.0031496801, 0.0610602722, 0.035648983, -0.0061767492, -0.0617203414, 0.0195418559, 0.0222135298, -0.0392922387, 0.0008930653, -0.0024867235, -0.0130064609, -0.0379195549, -0.0156764872, 0.0219872613, 0.0010948965, -0.0323864669, 0.0502416231, 0.0113453418, 0.0017133572, 0.0309323054, 0.0212351941, -0.0610169917, -0.0209290236, 0.0286411755, -0.0105192084, 0.0070139654, -0.0099194413, 0.0293546841, -0.0561188497, -0.0265834425, 0.0235002842, -0.0007200667, -0.0165954828, -0.0125158029, 0.0670108497, -0.0152080972, -0.0497343838, -0.0048893834, -0.0305916686, 0.0347832553, 0.044796221, 0.1049588323, 0.0339113548, 0.0364506356, -0.0036263717, 0.0806664377, 0.0215830207, -0.0455333516, -0.0395774879, 0.0125507647, 0.0131265959, 0.0173388161, -0.0092874886, -0.0069962125, -0.0161855929, -0.0072616329, 0.0191747751, -0.0610959716, -0.0055779512, -0.0014047615, 2.64e-7, 0.0366375484, 0.0282888431, -0.0089620641, 0.0140737491, 0.0187944453, 0.0250056051, -0.00709518, 0.0291681755, 0.0347047374, -0.0079353163, 0.0020541612, 0.0089655453, 0.0710007325, 0.0018362775, -0.1034298316, -0.0202652775, 0.0134589784, -0.0236504413, -0.0388105884, -0.001773379, -0.0034498489, 0.1069061309, 0.0321237035, -0.014106228, 0.0147855124, -0.0360631533, 0.0673732311, -0.0209652316, -0.040793024, 0.0507763736, -0.0393764749, 0.0461773761, -0.0258860085, 0.027597703, -0.0503527708, 0.0543356128, 0.0222460683, 0.0761070549, 0.0423773751, 0.0399329625, -0.0426451303, -0.0166210756, -0.0091399662, -0.0074782339, 0.0564999133, -0.0808297843, -0.0281965695, -0.0165996924, -0.0217107814, -0.0100036599, -0.0357304774, -0.000152774, 0.0158980954, 0.0035065257, 0.0576768853, -0.0126613425, -0.0253877845, -0.0524342693, -0.010491929, 0.0305421595, -0.0547419935, -0.0254514255, -0.035576947, 0.0031026588, 0.0538940728, -0.0895470679, 0.0174349323, 2.64925524e-34, 0.0366900079, 0.0007487091, 0.0253107399, 0.0183513612, 0.0103964871, -0.0076770955, 0.0016425443, 0.0005616868, 0.0291556008, -0.0770002902, -0.0039850678 ]
http://arxiv.org/abs/2406.16690v1
http://arxiv.org/pdf/2406.16690v1
Scaling Laws for Linear Complexity Language Models
"2024-06-24T14:51:31"
"2024-06-24T14:51:31"
Xuyang Shen, Dong Li, Ruitao Leng, Zhen Qin, Weigao Sun, Yiran Zhong
cs.CL
cs.CL
The interest in linear complexity models for large language models is on the rise, although their scaling capacity remains uncertain. In this study, we present the scaling laws for linear complexity language models to establish a foundation for their scalability. Specifically, we examine the scaling behaviors of three efficient linear architectures. These include TNL, a linear attention model with data-independent decay; HGRN2, a linear RNN with data-dependent decay; and cosFormer2, a linear attention model without decay. We also include LLaMA as a baseline architecture for softmax attention for comparison. These models were trained with six variants, ranging from 70M to 7B parameters on a 300B-token corpus, and evaluated with a total of 1,376 intermediate checkpoints on various downstream tasks. These tasks include validation loss, commonsense reasoning, and information retrieval and generation. The study reveals that existing linear complexity language models exhibit similar scaling capabilities as conventional transformer-based models while also demonstrating superior linguistic proficiency and knowledge retention.
[ 0.0197020117, 0.0343190096, -0.0040456969, 0.0128988167, -0.0078805853, 0.0006438015, 0.0027299577, 0.0124651967, -0.0050530834, -0.0187639035, -0.0209521614, -0.0503897779, 0.0117603671, 0.0428602062, 0.0342027731, -0.0403130427, 0.0129822129, -0.0584728457, 0.0046625733, -0.0046539693, -0.0171946008, -0.0199465342, 0.0352875628, 0.0212930609, 0.0287454128, 0.0189713109, 0.0046574655, 0.016134955, 0.0012798232, -0.0172571745, -0.0183675084, 0.0490710624, 0.0329033881, 0.0290641021, 0.000002087, -0.0431934074, 0.0342390724, -0.0076268702, -0.0253008083, 0.0604248643, 0.0251522232, -0.0023495925, -0.0112802032, 0.042363856, 0.0253706314, -0.0323428623, 0.0593678169, 0.0513752364, 0.0308238585, 0.0649836212, 0.0061427066, -0.0541089587, 0.0623654015, -0.0780411512, -0.0261166878, -0.0700920001, 0.044400651, -0.0041444185, -0.0133497138, 0.0308338311, -0.0320390165, 0.0558120646, 0.0433769114, 0.0031211779, 0.0181832183, 0.0584862195, 0.0113117369, 0.0083976379, -0.0008738937, 0.0573252141, -0.0278810598, -0.0397284143, -0.0082568284, 0.0040589604, 0.0124551412, -0.0401962847, -0.034025684, 0.0360144749, 0.0304936469, 0.0075287037, -0.0093756793, -0.0178735293, 0.0539923981, 0.0103159826, -0.0255788565, -0.0104605434, 0.0193865299, -0.0168225411, -0.0280013513, -0.033968389, -0.0404556207, -0.0138042103, 0.0039345548, 0.0531918071, 0.0102176955, 0.0151859056, -0.0028058134, 0.0021112345, 0.0219689831, -0.0865934417, 0.056766808, 0.0069387089, -0.0195537582, 0.0598872416, -0.0624865033, 0.0997336507, -0.0187767092, -0.0055605625, -0.0382683463, 0.0037269213, -0.0070951139, -0.0102992784, -0.044530645, 0.035909567, -0.0217798892, -0.0113503346, -0.0311053935, 0.0068779904, 0.0051278565, -0.0116785588, 0.0247109924, -0.0039551877, -0.0443380736, -0.0181936137, -0.0228041429, 0.0544979908, -0.0493282788, -0.0005851126, 0.0191753227, -0.080054611, -0.0260288641, 0.0138146831, 0.0068245381, -0.0035996938, 0.0260346252, 0.0582992472, -0.007193001, -0.0431133918, -0.0906689465, 0.0233442616, -0.0358974859, -0.0760262385, -0.0095809819, -0.0671040863, 0.0260659773, -0.0278738774, -0.0274187457, -0.0122501757, 0.005505702, 0.0290513765, -0.0278463103, 0.0339316577, 0.0412017144, 0.0149618899, 0.0256714318, -0.0102996444, 0.0079968544, 0.0520513318, 0.0373342633, 0.0117833428, 0.0114692328, -0.0278715957, -0.0130347209, 0.0285502747, 0.006178923, 0.002272021, -0.0165866222, -0.005956165, -0.0272098929, 0.0398763195, 0.030757241, 0.0988272354, -0.0492962375, -0.0083125671, 0.060676299, 0.0416498147, 0.0546972826, 0.0532487519, 0.0227686577, -0.0036158778, 0.0002025271, 0.0033552996, -0.0677157268, 0.05264939, 0.016946163, 0.0069094766, 0.048419144, 0.0270251557, -0.0626470074, -0.0559067614, -0.0185623448, -0.0054219533, 0.0088565769, -0.0421907492, 0.0671850368, -0.0041805473, -0.0684081614, 0.050865043, 0.0059208591, -0.0373058096, 0.016238058, -0.0355162062, -0.006994294, 0.0348341651, 0.0258885417, 0.0017681567, 0.0000742827, 0.0167275947, 0.0305998456, 0.0192075688, 0.055232469, 0.0252063293, -0.0198156349, -0.0853258595, 0.0233087819, 0.0142502021, -0.0009394713, 0.0170991682, 0.0176381879, 0.0228567757, 0.0221088454, -0.0403496809, -0.0481556579, 0.0171926171, -0.0460379198, -0.0303689167, 0.000683974, -0.012631706, 0.0415907204, -0.0009685351, -0.0168375187, 0.0275795367, 0.0387053527, -0.052789025, -0.0192826875, 0.0095909024, -0.0415630862, -0.0155073907, 0.0199696813, -0.0008960388, 0.0592986643, 0.0660282746, 0.0016207825, -0.0470784493, 0.0694225654, -0.0502071381, 0.0252072047, -0.0410267897, 0.0273613445, -0.0228424966, 0.0365374126, -0.0411177278, 0.0550839156, -0.0463544168, 0.0460617058, 0.0139104407, -0.0150388032, -0.0108026071, -0.0244814102, -0.0624762177, 0.012795506, -0.0093520815, 0.0114729526, -0.0106540918, -0.0319041535, 0.0100585101, -0.0481854826, -0.0224884618, -0.0119493613, -0.0411505885, 0.0448459461, 0.0186952651, 0.0073597608, 0.0248772465, 0.0132900309, -0.0118855415, 0.0418182239, 0.0079295579, 0.0284115206, 0.0380990878, -0.0023980362, -0.0576142818, -0.0470713265, -0.0492321588, 0.0254910532, 0.0455054902, 0.0006483294, -0.0195719097, -0.0337018818, 0.0246903636, -0.0000172882, 0.0273368917, -0.0310138464, -0.0552786924, -0.0019103615, -0.0241733305, 0.0515385121, 0.0776555911, 0.023262864, 0.0140796993, 0.0475393087, -0.0084194615, -0.031276051, 0.0230545662, -0.0080364654, -0.0360831581, -0.0090267146, -0.0345470309, 0.0156468581, 0.094247885, -0.0274509788, -0.008704572, -0.0759428665, -0.0546047688, -0.0136322398, -0.0053087212, 0.0332514197, 0.0084717153, -0.0414435826, 0.0217631795, -0.0278857853, -0.0511511378, 0.0413408987, -0.0340102203, 0.0003337233, -0.0070834481, -0.0053997091, -0.0403741226, 0.0596848056, 0.0387431905, 0.0202378798, 0.005968737, -0.0402948447, -0.024389891, -0.0239636917, -0.0022665502, -0.028293075, 0.0765560344, -0.0281371735, 0.0082967402, -0.0229293834, -0.0175887998, -0.0102243097, 0.0344345421, -0.0004894738, 0.0217962749, 0.0484403037, -0.0399153978, -0.0494021885, 0.0154240485, 0.0210719667, 0.0583338775, -0.0011492723, -0.0085008042, -0.0012556646, 0.0529219583, 0.0237885248, 0.0499685816, 0.0666490272, -0.0469757169, 0.013055752, 0.0674218833, 0.013103324, 0.0168295745, -0.035228692, -0.0424925052, 0.043883197, -0.0181719139, -0.0178739727, 0.0474304892, 0.0425921828, -0.0479656495, -0.0228609722, 0.0987472832, 0.0003584106, -0.0230621323, 0.0222655609, -0.021496404, 0.0603500642, 0.0025105658, 0.0175784938, -0.0466266386, -0.0145856831, 0.0164117627, 0.0285380278, 0.0092627145, -0.015701443, 0.0140975742, -0.0756961554, -0.0019098043, 0.0071482048, -0.0248745363, -0.0475886427, -0.0370502882, -0.0035011398, -0.0200716183, 0.0059529082, 0.0460397191, -0.0169368815, -0.0154039143, 0.0207260046, -0.023829747, -0.0431387573, 0.029504519, -0.0482616499, 0.078034237, 0.0208432693, 0.0086604487, -0.0151593983, -0.0726856887, 0.0736983493, -0.0011145055, 0.0234928764, 0.0004312553, 0.0084426692, 0.04576369, -0.017324172, -0.0429926626, 0.0257137232, -0.0321655683, 0.022891568, -0.0144515587, 0.0465046652, 0.0373559929, -0.068967402, -0.0138725601, -0.0032744005, -0.0579482317, 0.0818510428, 0.0650430545, -0.0224335026, -0.0749683902, -0.0019716348, 0.0206414778, -0.0521433875, -0.0480605662, -0.0100089516, 0.011917064, -0.0264997352, -0.0647320747, -0.007906043, -0.0154194031, 0.0471761078, -0.0124846203, -0.0522049479, -0.0028051031, 0.0042282096, -0.0356465206, 0.0405348502, -0.0319724269, 0.0056434493, -0.08990933, 0.0476152562, 0.0252945311, -0.01926139, -0.0178912766, 0.0377092808, -0.1179332137, -0.0530850962, -0.002598509, 0.0227435399, 0.0187926665, 0.0135807237, 0.0068913791, -0.0472241975, 0.033603102, -0.0203208067, -0.0114969229, 0.0657512173, 0.0339834616, -0.0321082212, -0.0014053058, 0.070117414, -0.0248748902, 0.0137733314, -0.0004187862, 0.0696266666, -0.0058435784, -0.0325984247, -0.0327793173, 0.0015602956, -0.0090192389, 0.0183906797, -0.0214428734, -0.0218077525, 0.0389156379, 0.0195677411, 0.0339180306, -0.0557701588, -0.015884297, 0.0459848307, 0.0306193363, 0.006511372, -0.0154667972, 0.0330516323, -0.0106714005, -0.01351301, 0.0130836051, -0.021920085, 0.0251296926, 0.027016975, -0.0130416574, -0.0341987982, -0.0267500449, -0.0186864194, 0.0164069571, -0.0106158806, 0.0398811363, -0.0014790748, 0.0062838471, -0.0339745097, 0.0196378957, -0.0448489189, -0.018890677, -0.0157337878, -0.0343389809, 0.0380757041, 0.0224411488, 0.0622137636, -0.0083950143, -0.0038380623, -0.0368677191, -0.0104782172, -0.0043063322, -0.0197348855, 0.0367857292, 0.0317794383, 0.0134570915, -0.0153819341, 0.0864905566, 0.0124400724, 0.0261333231, -0.0224618278, 0.021343274, -0.0089343097, -0.0314679816, -0.0688836351, 0.0293314867, -0.0071404246, -0.0133585678, -0.0356201343, -0.0609743223, 0.0212025661, -0.0132079143, 0.0114751812, -0.0215837918, 0.0249049924, 0.0431983247, 0.0265311394, 0.0019740784, -0.0114102988, 0.0074949074, 0.026439704, -0.0060679377, 0.0044984305, -7.178686695e-33, -0.0142994253, 0.0108632976, 0.0041102464, -0.0079178018, -0.0559550487, 0.0445888527, -0.0379149802, 0.0005791599, -0.0656066015, -0.013862351, 0.001574135, 0.0064365282, -0.0085842414, 0.0505389869, 0.0067587453, -0.0090673687, 0.0446866378, 0.011782431, -0.0186223071, 0.033845935, 0.0306130573, 0.0161816534, 0.0509237647, -0.0017801357, -0.0078953523, 0.0096234409, 0.0056229178, 0.0239643008, -0.0023265986, 0.0467871167, -0.0277998596, 0.0609271862, 0.0321272761, -0.1014811695, -0.0264269151, -0.0004713891, -0.1220535561, -0.0212152395, 0.0196838845, 0.0095691169, -0.0073206802, -0.0297102928, 0.0829645619, 0.0123494146, -0.0049781795, -0.035486538, 0.0091747083, -0.0201156344, -0.0390593521, 0.0048823655, -0.007856016, 0.0258344393, -0.0169626921, 0.0038987552, -0.0121125197, 0.0080426382, -0.0381904468, 0.037617214, -0.0709147602, 0.0220357627, 0.0218031909, 0.0683343858, 0.0378658995, 0.0396114215, 0.0060397382, 0.0383901, 0.025766978, 0.0075272615, -0.0921389163, -0.0208177343, 0.0415921509, 0.0163560957, 0.0522854775, 0.0015122277, 0.0249662939, -0.0138361873, -0.076802969, -0.0255521815, 0.0244706143, 0.1132645309, 0.0387610346, 0.0112112463, -0.0375878848, -0.0358216278, -0.0470459759, -0.0083842222, -0.0510296524, -0.0172296856, 0.0271956753, 0.0362817012, 0.0071383966, -0.0181330033, 0.0190374609, -0.0182155706, -0.0060121319, 0.0364857614, 0.0165029485, 0.0345552489, -0.0038716907, 0.0326826274, -0.0812665597, 0.0030974324, -0.0029772096, 0.0048071691, -0.0210130997, 0.0062223733, -0.0142159015, 0.0381081738, -0.0727909431, -0.0328277685, -0.0486369655, -0.0097732935, 0.0280476958, 0.0657001138, 0.0332339033, -0.0325917415, 0.0085580014, 0.0609728172, -0.0257401932, -0.009998803, -0.0070722289, 0.0685424432, 0.0191803519, 0.0307943262, -0.0458267555, 0.0015004491, -0.0590581559, 0.0598745309, 0.0426307581, -0.0678687543, -0.0342491828, 0.02923855, 2.962e-7, 0.0017415679, 0.0169342309, 0.0333776399, -0.0047403648, 0.0137143619, 0.0164204091, 0.0135643296, 0.0409810953, -0.0143009657, 0.03131219, -0.0006550595, 0.0341344364, 0.0132102519, -0.0205867682, -0.073541142, -0.0377131552, -0.0921644121, 0.0346066765, 0.0046047489, -0.0263164267, -0.0214930419, 0.0997531489, -0.0054960432, -0.012837152, 0.000229079, -0.0467932783, 0.0273233783, -0.0235794652, 0.024121793, 0.0071959933, 0.0317508914, 0.0155264931, -0.029449895, 0.0070099682, -0.0080367979, 0.0083328094, -0.0009935541, 0.0857321993, 0.022399893, -0.0374222323, 0.0470122546, -0.0025477728, -0.0333645679, -0.0443431549, 0.083055526, -0.0418915637, -0.0513147414, -0.0133406268, -0.0202306714, 0.0086980164, -0.0048382827, -0.0214942675, -0.0065995129, 0.0184617639, -0.0013445154, -0.0088097109, 0.0085288538, -0.0730733424, -0.0132669592, -0.0086799972, -0.0598702133, -0.0307167005, -0.1165747046, -0.03660376, 0.0159576535, -0.040235512, -0.0004099552, 2.642658237e-34, 0.0407464653, -0.0436641984, 0.0171778146, -0.0004784712, -0.0061464077, -0.0157494042, -0.0081174914, -0.0051955464, 0.0081925094, -0.1268044561, -0.0211846828 ]
http://arxiv.org/abs/2406.16678v1
http://arxiv.org/pdf/2406.16678v1
Segment Any Text: A Universal Approach for Robust, Efficient and Adaptable Sentence Segmentation
"2024-06-24T14:36:11"
"2024-06-24T14:36:11"
Markus Frohmann, Igor Sterner, Ivan Vulić, Benjamin Minixhofer, Markus Schedl
cs.CL
cs.CL, cs.AI, cs.LG
Segmenting text into sentences plays an early and crucial role in many NLP systems. This is commonly achieved by using rule-based or statistical methods relying on lexical features such as punctuation. Although some recent works no longer exclusively rely on punctuation, we find that no prior method achieves all of (i) robustness to missing punctuation, (ii) effective adaptability to new domains, and (iii) high efficiency. We introduce a new model - Segment any Text (SaT) - to solve this problem. To enhance robustness, we propose a new pretraining scheme that ensures less reliance on punctuation. To address adaptability, we introduce an extra stage of parameter-efficient fine-tuning, establishing state-of-the-art performance in distinct domains such as verses from lyrics and legal documents. Along the way, we introduce architectural modifications that result in a threefold gain in speed over the previous state of the art and solve spurious reliance on context far in the future. Finally, we introduce a variant of our model with fine-tuning on a diverse, multilingual mixture of sentence-segmented data, acting as a drop-in replacement and enhancement for existing segmentation tools. Overall, our contributions provide a universal approach for segmenting any text. Our method outperforms all baselines - including strong LLMs - across 8 corpora spanning diverse domains and languages, especially in practically relevant situations where text is poorly formatted. Our models and code, including documentation, are available at https://huggingface.co/segment-any-text under the MIT license.
[ 0.0200725943, 0.0316633135, -0.0024634993, 0.030301664, -0.0740907416, 0.0055349413, 0.0418867432, 0.0028878183, 0.0027529795, -0.0158657376, 0.0298205912, -0.004401892, -0.0190825332, -0.0145072192, 0.0192524921, -0.0722999647, 0.0368633196, -0.0105629843, 0.0368841738, 0.0408881716, 0.0177546889, -0.0089551164, -0.0068940572, -0.0071448795, -0.0423110984, -0.0175572913, -0.0205420982, 0.0257861055, 0.0137974927, -0.0312434677, 0.0290017985, 0.0387035981, -0.0639928132, -0.0086813271, 0.0000017567, -0.0386082456, -0.058647804, -0.0289926622, 0.0188548919, 0.0046731401, 0.0016852809, -0.0460658185, -0.0286939461, 0.0276664551, -0.0075095696, 0.044884637, -0.0156207671, 0.052608192, 0.0600156635, 0.1355630904, -0.0284733754, -0.0183532927, 0.0312167052, 0.0077715819, -0.0413681865, -0.0075184484, 0.0356701612, 0.0003767017, 0.0045041894, -0.0229929574, 0.0072166519, 0.0513263084, 0.0175061449, 0.0246831588, 0.0030450537, -0.0118742092, -0.0896025449, -0.0311692879, -0.0267257392, 0.0178260542, -0.0272166971, -0.0107593136, 0.0328852013, 0.019886082, 0.0003827097, -0.0721444041, -0.0342977978, 0.0065979422, -0.0000630054, 0.0409156084, 0.0144334426, 0.0099425316, 0.0143611068, 0.0134456679, -0.0322079882, 0.0448424183, -0.0050231172, -0.0733068362, 0.0557079762, 0.0374500975, -0.0508301333, -0.0326030105, 0.0607078448, -0.0166829173, 0.0193718504, -0.0137231508, -0.0738433227, -0.0507150739, -0.0026093782, -0.0189297348, 0.0058298986, -0.0078452919, 0.0009482379, 0.0479648337, -0.0038497418, -0.035339471, 0.0190393161, 0.0020880536, -0.0057120346, -0.0216965713, -0.018030528, 0.0045897178, -0.0601792, 0.0066340156, -0.0192763936, -0.0244221184, -0.0313565508, -0.0040841871, 0.0200789422, -0.0059994683, 0.0129905157, -0.0372611582, 0.0222881697, 0.0189247709, 0.0520818941, -0.0111093605, -0.0580633134, 0.0156034566, 0.0124746049, -0.0086627016, -0.0059485268, 0.0435627215, 0.0300545171, -0.0159279183, 0.035824731, 0.0209965128, -0.0253142919, -0.0777512342, -0.06285052, -0.0440401882, -0.0640907362, -0.0372873023, -0.0232659299, -0.0569946691, -0.020172717, -0.0266371872, 0.0096073337, -0.0096785966, -0.0039690263, 0.0309740975, -0.0133013474, 0.0682321638, -0.0202346202, 0.0146247577, -0.042827487, -0.0121111674, 0.0592218228, 0.0608822145, 0.0573843159, 0.0232654065, 0.083874844, 0.0492640287, 0.0262155756, 0.0862878263, -0.0377611332, -0.0010757354, -0.038721744, -0.03323723, -0.0235684011, 0.0258645043, -0.0249667428, 0.0462243073, 0.0179180447, -0.0058691818, 0.0256710947, 0.0137322703, 0.0132933082, 0.0605437756, 0.0108208712, 0.0136308055, 0.0215665977, 0.0110277357, -0.0349083953, -0.0370926298, 0.0139174564, 0.0387810618, 0.0520619228, 0.0143401101, 0.0143593457, -0.0343948379, -0.0392880775, -0.0168737862, -0.0089733414, -0.021075571, 0.026908515, 0.036645405, -0.0634612069, 0.0560274944, -0.0199869312, -0.0809126645, -0.0415856317, 0.0184044596, 0.0159184784, 0.0341278464, 0.0587175228, -0.0654604062, 0.0390811674, -0.0128635298, 0.0620610565, 0.0714102238, -0.0272263736, -0.0010853288, 0.0334650315, -0.0440183766, 0.0169012025, 0.0419792235, 0.0221932624, -0.0370681807, 0.0079305973, 0.0230596084, -0.0000319758, -0.0517241322, 0.0268653315, 0.0486472026, 0.0340710133, -0.0106789516, 0.0017391436, 0.0136891305, 0.007230347, 0.048646681, -0.0192804784, -0.0009441591, 0.0306599699, -0.0495211072, 0.0415176079, 0.005590118, -0.0514261313, -0.0883522555, 0.0135148289, -0.0451942533, -0.0147786206, 0.0315820724, -0.0097012697, -0.0434916168, -0.0343677364, 0.0172664933, 0.02188484, -0.0148684606, 0.0431278124, 0.0145612042, 0.0068402868, -0.010033044, 0.0142480331, 0.0133322719, -0.0026670373, -0.0470419191, -0.0328562111, 0.0349731594, -0.0136318495, -0.0348388255, 0.0018970997, -0.0284748171, -0.0054203151, 0.0012019946, 0.0107850963, -0.0356978178, -0.0506635606, -0.1144398898, 0.0346034393, -0.0540930182, 0.0111309253, 0.0115598319, 0.0129559273, -0.0638443083, -0.0291443057, -0.0015681473, -0.005924827, 0.0257736705, -0.0120179448, 0.0416532643, -0.0262160711, -0.0372443646, -0.0466825888, -0.0008744344, -0.0221990347, 0.0100166854, -0.0186904352, -0.0384016037, -0.0242939238, 0.0330947191, 0.0089994883, -0.0065885922, 0.0285807848, -0.0350305066, -0.0045301295, -0.0309578199, 0.0398711748, 0.0559542403, -0.0079926765, -0.0254187323, -0.0140933972, -0.0226233508, 0.0717142373, 0.0203478765, 0.0156894382, 0.0719907954, -0.0584397316, -0.0041449829, 0.0508207306, 0.0690532327, 0.007647845, -0.0184746794, -0.0011993886, -0.0208099522, -0.0125875408, 0.0011823452, -0.000849777, 0.0267252326, -0.0466054864, 0.018577192, -0.0154417651, -0.0085987095, 0.0276476759, -0.0404269658, -0.0161816515, -0.068673268, -0.0575535148, -0.0481854305, 0.0386059918, 0.0209078342, -0.0279181655, 0.0476974919, -0.036424309, -0.0195163414, 0.0362422243, -0.0136718843, 0.0197136644, 0.0559910983, -0.0232874025, 0.0000570982, 0.0054115499, -0.030517675, -0.0170854274, -0.0339651369, -0.035681136, 0.0082540764, 0.007093329, 0.0091731623, -0.0116717685, -0.0070544765, -0.0446451865, 0.0745745525, -0.0263293479, 0.0021636947, -0.0262911674, 0.0704650655, -0.0158678815, -0.0081886072, -0.0164986029, -0.0314062051, 0.0257834494, 0.0421318747, 0.0332570598, -0.009284134, 0.0264910664, 0.0068830531, -0.0029832255, -0.0449687503, -0.0000160056, 0.0061741066, 0.0484803766, -0.0642382652, -0.0239198469, 0.1252412945, 0.0651682615, -0.0003690792, -0.0174198877, 0.0231525004, 0.0375658944, 0.0149985952, -0.026677601, -0.0779899806, -0.0634379983, 0.0190526843, 0.0534084775, 0.0214133803, -0.0205694977, 0.0166896246, -0.0096501503, 0.004391449, 0.009919554, -0.0512535386, 0.0170284808, 0.010655432, -0.0061499793, -0.0281630158, -0.0015972164, -0.0218725111, -0.0399718881, 0.0172207877, -0.0062797642, -0.0540439002, 0.005725835, -0.0357195362, -0.0566455238, -0.003928897, 0.0407267138, 0.0569351353, -0.0159881935, 0.0232075565, 0.0624748729, -0.0565840825, -0.0220522732, -0.0038438318, 0.0642698035, -0.0156413447, 0.0024326732, -0.0084529268, 0.0147594335, -0.0364373066, -0.0113308262, 0.0804065093, 0.0290101804, 0.01252387, 0.0034596245, -0.0177209564, 0.0138600292, -0.0299654994, 0.0888282657, 0.0229164883, -0.031246705, -0.0683331117, -0.0303239916, 0.0043138233, -0.1091422364, -0.0415398367, -0.0135308038, -0.0223142803, -0.0028878017, -0.0722764134, -0.0705591962, 0.0397236682, 0.0251361188, 0.0130863143, -0.0112107703, -0.0005204933, -0.0263360348, -0.0468126982, -0.0216958113, -0.0198009871, -0.0079170074, -0.0649039, -0.0035579819, -0.0065753968, -0.0067585991, 0.0004919269, -0.0245556179, -0.0667428523, -0.0369829088, 0.0563760176, 0.0066205808, 0.0063357363, 0.047938697, -0.0284954235, 0.0090998085, 0.0418066382, 0.0615612678, 0.0074165403, 0.0332894176, 0.0597088411, 0.0229992568, 0.004619047, 0.0372165702, 0.0011882546, 0.0235999264, 0.0024217886, 0.0400479995, -0.042015139, -0.022995729, -0.0033735889, 0.0022680881, 0.064841792, -0.0031290513, -0.0506744273, -0.017559329, -0.0062153069, -0.0250244793, 0.0036457207, -0.0163105838, 0.0416025408, 0.00578553, 0.031572178, -0.060884621, 0.0359355547, -0.0180249233, 0.0118669039, -0.0579361618, 0.0310572069, 0.0467572473, -0.0273768809, -0.0253437497, -0.0056119654, 0.0192130357, 0.0114130061, 0.011623119, 0.0210504998, 0.0175311156, 0.043360021, -0.0086715445, -0.0496430956, -0.0601511635, 0.0441172905, -0.0755983144, 0.0645956397, 0.0064580371, 0.0733091161, 0.0567535087, -0.0433530919, 0.0512909964, -0.0227932315, -0.0152604226, 0.0086008115, 0.0419557169, 0.0135435238, 0.0020598313, -0.0578059368, 0.0096278396, -0.0379498303, -0.0146999815, 0.0344945602, -0.0272549521, -0.0018538717, 0.0547595993, -0.0229460839, -0.0499938577, 0.0190518573, -0.0190129466, 0.0220084954, -0.0015077333, 0.0146382973, -0.0346430466, -0.0302340649, 0.0443074405, 0.0022571653, 0.0278362874, 0.0027453478, 0.0015810149, 0.0601236224, 0.0026362923, -0.0054160971, -0.0102039371, -0.0223117862, 0.0274145976, -0.0472367182, 0.0370677598, -5.824696466e-33, 0.0011395704, -0.000727725, -0.0315705463, -0.0049651116, -0.0281859189, -0.0119672092, -0.0364568047, 0.0162416175, 0.046942059, -0.0105905337, -0.0250237975, 0.0135510368, 0.0326002464, 0.0403543152, 0.022874333, -0.0145879816, 0.0698013976, -0.0120730465, -0.0315192603, -0.0280390661, 0.0139620937, 0.0644178838, 0.0167596247, -0.017964866, 0.0282639768, -0.020558035, -0.021271944, 0.0299237147, 0.0408858359, 0.0421323776, 0.0167695526, 0.004554024, 0.0450340025, 0.0099894432, -0.0111481976, 0.0412478521, -0.0835912228, -0.0150829824, -0.0107513908, 0.0212112647, -0.0139037911, -0.0297622774, 0.0365734063, -0.0238603707, 0.0424208492, 0.0093180351, 0.0386257879, -0.0510733761, 0.0274686087, -0.0435313024, -0.0550653376, 0.0221925788, -0.0318878181, -0.0214705151, 0.0568073057, 0.0534466095, 0.0183070358, 0.0417218879, -0.0240122098, -0.0060165669, 0.0009600548, 0.0326808766, -0.0197626147, -0.0153633617, -0.0356341302, 0.0469458289, -0.0068800887, -0.0431303009, -0.0048836004, 0.0439609662, 0.0132106906, 0.0192903858, 0.067005612, 0.025559783, 0.029684402, -0.0101358341, -0.0418316722, -0.0031808827, 0.0364889279, -0.055028256, -0.0088447556, 0.0416215248, -0.0745396763, 0.0108911637, 0.0538213067, -0.0595964603, 0.0197674148, 0.0120259803, 0.0323648937, 0.0219631493, -0.0461172797, 0.025788229, 0.0050807809, -0.0143720787, -0.0203391891, -0.0088535156, -0.0328239016, 0.0430007689, -0.0291465931, 0.0069928039, -0.0572614893, -0.008528674, 0.0302595682, -0.0055422927, 0.0244789552, -0.0254354216, 0.0672805607, -0.0136990296, -0.090534173, -0.001650061, 0.0221406147, 0.0420903489, -0.0136367287, 0.0751001835, 0.011693133, 0.0505948626, 0.0200226866, 0.0779488459, 0.0414773524, -0.0186989177, -0.0431181863, -0.0114676179, -0.0229921099, 0.0362315141, -0.0184832886, -0.0196296573, 0.0171935186, 0.0103559624, -0.0174351446, -0.0676356331, 0.0061058267, 0.005836532, 2.411e-7, 0.0534201674, 0.0442264341, 0.0631667078, -0.0236941054, -0.0076116077, 0.0366008542, -0.0392341241, 0.0130917085, -0.0257042814, 0.0140763326, 0.0252972804, -0.0166250616, 0.090698339, -0.0024777176, -0.1723490655, 0.0061016213, -0.0108323218, -0.051413171, -0.0854155496, -0.025135193, 0.0663053691, 0.089990817, 0.0186548103, 0.0108479746, -0.0316207223, -0.0430773906, -0.0260854643, -0.0038756509, -0.0250974465, -0.0263798963, 0.0165627655, -0.007252221, -0.0323118046, 0.0151097551, -0.0125852786, 0.0282112695, 0.0280399323, 0.0710816011, 0.0496053696, 0.020758003, 0.0346326828, 0.0179603398, -0.008991532, 0.0180710088, 0.07769344, 0.0370073095, 0.0069282041, 0.0179652013, 0.0242979955, -0.016776653, 0.0127935763, -0.0096588684, -0.0426520407, 0.0181125645, 0.0335880406, -0.022008786, -0.0046407725, -0.0543099195, -0.0410391204, 0.0004883104, -0.0201294348, 0.0159252491, -0.0244002715, 0.030314561, -0.0263766032, -0.0860056877, -0.0202543903, 2.650423158e-34, 0.0371953212, -0.0519458055, 0.0032179293, 0.0435416885, 0.0179658104, -0.0061584264, 0.0042559621, -0.0114971073, -0.0440670177, -0.0475950241, -0.0059675109 ]
http://arxiv.org/abs/2406.16674v1
http://arxiv.org/pdf/2406.16674v1
Computational Approaches to the Detection of Lesser-Known Rhetorical Figures: A Systematic Survey and Research Challenges
"2024-06-24T14:31:34"
"2024-06-24T14:31:34"
Ramona Kühn, Jelena Mitrović, Michael Granitzer
cs.CL
cs.CL
Rhetorical figures play a major role in our everyday communication as they make text more interesting, more memorable, or more persuasive. Therefore, it is important to computationally detect rhetorical figures to fully understand the meaning of a text. We provide a comprehensive overview of computational approaches to lesser-known rhetorical figures. We explore the linguistic and computational perspectives on rhetorical figures, emphasizing their significance for the domain of Natural Language Processing. We present different figures in detail, delving into datasets, definitions, rhetorical functions, and detection approaches. We identified challenges such as dataset scarcity, language limitations, and reliance on rule-based methods.
[ 0.0719118416, 0.0457708426, -0.0377813727, 0.075932093, -0.0376449563, 0.0283437558, -0.0217247996, 0.032844007, -0.0064943554, -0.0262636021, 0.0400126353, -0.0109578483, 0.0486432761, -0.0021879966, -0.0038537539, -0.0651420802, 0.0214073826, 0.0124421334, 0.1013382375, 0.0116878459, 0.0330707356, 0.036032103, -0.0138586741, 0.0468938388, -0.066968441, -0.0278969891, 0.0249928273, 0.0402984954, 0.016133178, -0.0397974215, -0.0133174146, -0.0060344078, -0.0081684403, 0.0097340364, 0.0000015986, -0.0440388806, 0.0251938961, -0.0445791967, -0.0076430552, 0.0212643649, 0.1178841963, -0.0103657227, -0.0173359383, -0.0085341195, -0.021619739, 0.0326593108, 0.0767982453, 0.0868553594, 0.0089687984, 0.0765930414, -0.0107500907, -0.0269452576, -0.0135666085, 0.0374582633, -0.0216463543, 0.0201535486, 0.024160618, -0.0269743688, -0.0308675822, 0.0051681902, -0.0296697803, 0.0264706835, -0.0161376186, 0.0281770397, -0.0673845485, 0.0195976794, -0.0247511379, 0.0168226548, -0.0424618274, 0.0331136435, 0.010404164, -0.024413174, 0.0226581134, -0.0058104871, 0.0143078873, -0.0083698453, -0.0210159756, 0.002795924, -0.0053990972, 0.0187756456, 0.0336550139, 0.0101248752, -0.0234430432, 0.0419121198, 0.0169494525, 0.0304416735, -0.0113848811, -0.0181752201, 0.0037272878, -0.0263782032, -0.0798818469, -0.0077814572, 0.0490139015, 0.0163112506, 0.0209415555, 0.0403323546, -0.0329614654, -0.0497680716, 0.0502688475, -0.0557231493, 0.0297587551, -0.0296641681, -0.0118645607, 0.0402499028, -0.0180350114, 0.0062896027, -0.0299017336, 0.0113873985, -0.0011157305, 0.0130278403, -0.0128303543, -0.0334798582, -0.0492512919, 0.0230913591, -0.0092917802, -0.045862224, -0.0396674238, -0.0053079268, -0.011624652, -0.0096071986, -0.0403629355, 0.037463963, 0.0083429292, 0.001909537, -0.0279013086, 0.0070095505, -0.0454617254, 0.0164096244, -0.0601764694, -0.0113091385, 0.0136735486, 0.0450314581, 0.075788945, -0.0121478364, 0.0311485585, 0.066778779, 0.0229241513, -0.0249675456, 0.0064071491, -0.0349693224, -0.0591036826, -0.0210637767, -0.0169336684, -0.0294916239, -0.0151852621, -0.0205175169, 0.0302701835, -0.0295308046, 0.0296335705, 0.0403200053, 0.0022711421, 0.0463026725, -0.0124333482, -0.0149046155, 0.0106694177, -0.0141263967, 0.0104959188, 0.0377172194, 0.0385388508, 0.0120100603, 0.0706146806, 0.003739774, 0.0047203037, 0.0285262242, -0.0145934727, -0.0106584867, 0.0260210223, -0.0105311023, -0.0337130614, 0.0100897644, -0.0453826897, 0.0488230884, -0.0137760406, -0.0520540662, 0.0447366871, 0.0896511748, -0.0230545904, -0.0186139811, 0.0474976823, 0.0249457322, 0.0237049665, 0.0249420814, 0.0219332762, -0.0366930068, -0.0031883046, -0.0189648308, -0.0258583296, 0.0095541682, 0.0127188535, -0.062033806, -0.0072847311, 0.0092039639, -0.031379737, -0.0591779724, 0.0099665374, 0.0099401604, -0.0539060868, -0.0203646868, 0.0235709194, -0.0391711332, -0.0262977816, 0.0025744543, 0.0021968442, 0.0284813084, 0.0482619144, -0.0235604178, 0.0476602912, -0.0243740771, 0.0464900807, 0.057713937, -0.030539928, 0.0216161665, -0.0049680714, -0.0113232667, 0.0508203842, -0.0104121231, 0.0404436179, 0.015064314, -0.0013840926, 0.0399200283, -0.0100776404, 0.0038170204, -0.0408102907, 0.0318598412, 0.0740965605, -0.0142066758, 0.0050425665, 0.0359885842, 0.0162065122, 0.0007840333, -0.0194497481, -0.0056861322, -0.0166849233, -0.0475666858, -0.0082434919, 0.0437662266, -0.0253821034, 0.0055105533, 0.0408779122, -0.0977400169, -0.0352852531, -0.0047551622, 0.0087488908, -0.0029501987, 0.0303506944, -0.1071770713, 0.0512963571, -0.0305795055, -0.0014492156, -0.0222512484, 0.0517682582, 0.0031572494, 0.0590072833, 0.0374303646, -0.0003171683, 0.0131595731, 0.0024478137, 0.0411360078, 0.0132400068, 0.0008275563, -0.0563368164, -0.0178848505, 0.0202120245, -0.0058948239, -0.0264577884, -0.0504580513, -0.0465856865, -0.0833331719, -0.0380498134, -0.0095436098, -0.0145242633, 0.0256975349, -0.059302032, -0.017998701, 0.0081301061, 0.0020109916, -0.0432847105, -0.0248435363, 0.0083048726, 0.077011019, -0.0338031799, -0.0459398925, -0.0185967926, 0.0288134106, -0.0657770038, 0.058010336, 0.0589459278, -0.04662285, -0.0278558042, 0.0345303044, -0.0271389447, -0.0249546003, 0.0015630737, -0.0562230423, 0.0377084166, 0.0224805139, 0.0695095956, 0.0652183145, 0.0596134439, 0.0108766165, -0.0001671976, -0.0221824553, -0.042934861, -0.0324643888, -0.0450909026, 0.0260057095, -0.0240247007, -0.0440376066, 0.0598975308, 0.0084372722, 0.0384017341, 0.023319535, -0.0210739449, 0.0706166923, -0.0008888294, -0.0449361354, -0.0182972476, -0.0031760393, -0.0393560827, 0.0185553618, 0.0040173046, 0.0089301402, 0.0361721255, -0.0190077797, -0.0022625942, -0.0110270428, -0.0096440231, -0.0507358126, 0.0390069559, 0.0205100682, 0.01796587, 0.0512170978, -0.0612086579, 0.0486525558, -0.0137298545, -0.0077968864, -0.0303337462, 0.0196419731, 0.0039138626, -0.0198704414, 0.0370349139, -0.0307396408, -0.0041311746, -0.0409177579, -0.0326483101, -0.0552319735, -0.0205908511, -0.0219586641, -0.0241950415, -0.0321957394, -0.0117318416, -0.0063879597, 0.0104973633, 0.0019409567, -0.0246301908, 0.0190784056, 0.0378611311, 0.0147460178, 0.0140595641, -0.0104877492, -0.0279264618, 0.0438246615, -0.0251724664, -0.0207865387, -0.0248792507, -0.0054484345, -0.0027355039, -0.0128560169, 0.0302567035, 0.017687805, 0.0175896566, -0.0424706228, 0.0078884354, 0.0710277855, 0.0204465613, 0.0005907776, 0.0271846205, 0.0148237757, 0.0344926491, 0.0045420732, -0.0253120065, -0.0760054737, -0.0293724444, -0.008218877, -0.0471042208, -0.0736307204, -0.0056582945, -0.0373834595, -0.0775002241, 0.0443382785, -0.0004337326, 0.0102875028, -0.0077876761, 0.0022985514, 0.0026688888, 0.0208756775, -0.0529915281, -0.0354408063, -0.0354333259, 0.0041877031, -0.0137177138, -0.0586823933, 0.025690306, -0.0240390543, -0.0045983884, -0.0243620109, -0.0110180927, 0.0760146156, -0.008767914, -0.0162986927, -0.035569042, -0.0348274671, -0.0017841299, -0.0172670726, 0.0682275593, -0.0059146914, -0.0347060598, -0.0465030298, 0.0021383886, -0.016166199, -0.020605782, 0.0476322472, 0.0387129672, 0.0159526151, -0.0287336446, -0.0500867888, 0.0821224153, 0.0062951888, 0.0502871498, 0.0451935902, -0.0590656921, -0.037447352, -0.030997077, 0.0635403618, -0.087576814, -0.084440887, -0.0523981415, 0.0134303197, 0.0255161971, -0.0662200376, 0.0022739479, -0.0118746655, 0.0264968984, 0.0416032113, 0.0378482826, -0.0249633621, 0.0125903236, -0.0611710176, -0.0135505525, -0.0212911367, 0.0060449312, -0.0417206548, -0.0032781016, 0.0202936623, -0.0140217394, -0.0185359307, 0.0327802785, -0.0226813778, -0.0390761234, -0.000519673, -0.0012691541, 0.0128373569, -0.0187984519, 0.0204391368, -0.0234989375, 0.0639934987, 0.0785175934, -0.0217515901, 0.0390678346, 0.024424335, 0.043851085, 0.0189449284, 0.0177782774, 0.0375206918, 0.0374692827, 0.0052972073, -0.0166986007, -0.068834886, 0.0452670865, 0.0115475925, 0.025500508, 0.006668942, 0.0386140943, -0.0456312709, -0.0064550471, -0.0126136793, -0.0148410518, -0.0495240539, -0.0220626649, 0.0196391027, -0.0393677764, 0.0165125374, -0.0640009418, -0.0409161709, -0.0302304402, 0.0669354647, 0.0373609066, 0.0104714176, 0.0587792248, 0.0255072135, -0.0304727908, -0.0136753283, 0.005278707, 0.0514534861, -0.027021477, 0.0526881106, 0.0554486401, -0.0059869844, 0.0081150495, -0.0348784178, -0.0290042348, -0.0042601763, -0.0299514141, -0.0024887018, 0.0209595785, -0.028303979, 0.0296407137, -0.0065418514, 0.06044982, -0.0321708061, 0.0050376784, 0.0110976323, 0.0151561592, -0.0130790845, -0.0304633304, -0.0002321703, 0.0153295286, -0.0289263893, -0.0428059772, -0.0243374668, -0.0609382764, 0.027576942, 0.0684617236, -0.0233811438, -0.0256043635, -0.0625188351, -0.0193123799, 0.0038823427, 0.0677917898, 0.063014254, -0.0628196746, -0.0244992375, 0.0472559854, -0.0220594741, 0.0276433453, -0.0108887637, 0.0019779932, 0.0349663682, 0.0171320643, -0.0043639704, -0.0427944958, 0.0161227882, -0.056166824, -0.006096967, -0.0333559141, -5.370372307e-33, -0.0105589759, -0.0792350024, -0.0316288508, 0.0598872751, 0.013316717, 0.0257332139, -0.0107296538, 0.0211764835, 0.0176492315, 0.0574210323, -0.0014077784, 0.0150725925, 0.002208845, 0.0013039145, 0.0016674695, 0.0206535812, 0.0268721469, 0.0021993525, -0.0472224317, -0.0142392004, 0.0801157355, -0.0105253803, 0.0265029483, -0.1090958565, 0.0260041542, 0.0277858153, -0.0390279107, 0.006207101, 0.0296397917, 0.0571624301, 0.0127531672, 0.0873937607, 0.0190025046, 0.045988217, -0.0093817106, 0.0883776248, -0.0382215343, -0.029706778, 0.0598894991, 0.0112911249, -0.0073365504, -0.0659729615, 0.0387822799, -0.0491959192, -0.0426248461, -0.0008475706, 0.0745419264, -0.0375326388, 0.0590083934, 0.0017866928, -0.0502897315, 0.0184486844, -0.0327716731, 0.0453938991, 0.0189864188, 0.0391895622, 0.011595197, 0.044272542, -0.0312556773, 0.0702147633, -0.0294520874, 0.0101103634, -0.0627766624, -0.0255727787, 0.0133118797, 0.1078213006, 0.0217880476, 0.0109987818, -0.0147009669, 0.0428080447, -0.003614994, 0.0460790768, 0.0622300804, 0.0802536085, 0.0405962504, 0.001909734, -0.0217404123, -0.0596517697, 0.0166109223, -0.0145988008, 0.0435910411, -0.0414798297, -0.0677919611, -0.0072357818, -0.0072067636, -0.0203957651, -0.0213516094, -0.016224619, 0.0055928421, -0.0194542669, -0.037436951, 0.0020912846, -0.0124120601, -0.030318182, -0.0133169265, 0.0026038375, 0.0238252915, 0.0388354994, 0.0228579864, -0.0106833903, -0.0211765002, -0.0224467833, 0.0082067372, 0.0185913779, 0.0589446388, -0.0405773595, 0.0248323753, -0.0143197998, -0.0756660998, -0.0058240253, 0.0240638442, 0.0143789938, -0.0682315901, -0.0252326466, 0.0022615027, 0.0111864172, -0.0162616111, -0.0152861383, -0.0110752052, -0.017044466, -0.0312676653, -0.0040877396, -0.0679253638, 0.0437078029, -0.0675977692, -0.0452187881, -0.0086078485, -0.0144794835, 0.0533411577, -0.0756340921, 0.0188563876, -0.0350135751, 2.363e-7, 0.0379652828, 0.083454825, 0.0465866998, 0.0271661934, 0.0438993871, 0.0431205519, 0.0067113834, 0.0009926503, 0.016179014, -0.0211022664, -0.0059328764, 0.0256580487, 0.0073234914, -0.0214598943, -0.0953953117, -0.0029907818, -0.0489916392, 0.0013596892, -0.0558869094, 0.0163721051, 0.0507451408, 0.0212875959, 0.0247510411, -0.0329976156, -0.0132327583, -0.0228569638, 0.0300286394, -0.0838247165, 0.0183026996, 0.0173930675, -0.0473176688, -0.0221566502, 0.0100042308, 0.0188356005, 0.0289927535, 0.0129115097, 0.0093724765, 0.0587705187, 0.0478651561, -0.0198804978, -0.0306706578, 0.0321115702, -0.0405854881, 0.0111703873, 0.0387332998, -0.0204580333, -0.0517187901, -0.0268148966, -0.0075689219, -0.0273652878, 0.0332954898, -0.0037232384, -0.0515430681, -0.0096567869, 0.0225247033, -0.0238248631, 0.0160946194, -0.0549237058, 0.0151803279, -0.0173268486, -0.0121136764, -0.0129710408, -0.0189817231, 0.0226629879, -0.0052842246, -0.086889945, 0.0082220901, 1.897217921e-34, 0.0405598059, -0.043174766, 0.0412636846, 0.0184160676, 0.0470180549, 0.0361953191, 0.0445308685, -0.0255543701, 0.0421716496, -0.0340682603, 0.0117211202 ]
http://arxiv.org/abs/2406.16672v1
http://arxiv.org/pdf/2406.16672v1
CAVE: Controllable Authorship Verification Explanations
"2024-06-24T14:27:54"
"2024-06-24T14:27:54"
Sahana Ramnath, Kartik Pandey, Elizabeth Boschee, Xiang Ren
cs.CL
cs.CL, cs.AI
Authorship Verification (AV) (do two documents have the same author?) is essential for many sensitive real-life applications. AV is often used in proprietary domains that require a private, offline model, making SOTA online models like ChatGPT undesirable. Other SOTA systems use methods, e.g. Siamese Networks, that are uninterpretable, and hence cannot be trusted in high-stakes applications. In this work, we take the first step to address the above challenges with our model CAVE (Controllable Authorship Verification Explanations): CAVE generates free-text AV explanations that are controlled to be 1) structured (can be decomposed into sub-explanations with respect to relevant linguistic features), and 2) easily verified for explanation-label consistency (via intermediate labels in sub-explanations). In this work, we train a Llama-3-8B as CAVE; since there are no human-written corpora for AV explanations, we sample silver-standard explanations from GPT-4-TURBO and distill them into a pretrained Llama-3-8B. Results on three difficult AV datasets IMdB2, Blog-Auth, and FanFiction show that CAVE generates high quality explanations (as measured by automatic and human evaluation) as well as competitive task accuracies.
[ 0.0426590592, 0.0734949559, 0.004645708, 0.0647498593, -0.0362423025, 0.0292098373, 0.0783416107, -0.0134649836, -0.0068366369, 0.0142713189, -0.0168440975, -0.0238594227, 0.0106618786, 0.0346224271, 0.0451728143, -0.0184300151, -0.0166519862, -0.0056474623, 0.0710865855, -0.0050653061, 0.0241695363, 0.044535771, -0.0109133199, 0.0348440036, 0.0143804327, -0.0369553491, -0.0129173873, 0.0031284473, 0.0370800085, 0.0401245914, 0.0083348276, 0.0449821874, 0.0291943029, 0.0568132773, 0.0000018774, -0.0315512531, -0.0048857327, 0.0191409234, -0.0518129356, 0.0333738588, -0.0070791696, 0.0360250212, 0.0026470511, 0.0209783092, -0.0008129122, -0.0031031268, 0.0302115045, 0.0701481029, 0.0785628781, 0.1047277823, -0.0105116367, -0.0672790483, 0.013676147, -0.0430212393, 0.033774741, -0.041039262, -0.0001034339, -0.0153365247, -0.0153709138, 0.0244880598, 0.0008680657, 0.0245196223, 0.0178780165, -0.0457063504, 0.0057360688, 0.0359556489, -0.0336514823, -0.014710255, 0.045180764, 0.0499315038, 0.0167619996, -0.0493944623, 0.0322007798, 0.0096574966, -0.0324928127, 0.0204737037, -0.0389785171, 0.0462481193, -0.0380576104, -0.0168930069, 0.0154163232, 0.0193930343, 0.0372995138, 0.0342550538, 0.0256166328, 0.0266716145, -0.0135839498, -0.0059438623, -0.0514042415, -0.0076590697, -0.0091937324, -0.0707718879, 0.0469165295, 0.0483893864, -0.0010718646, -0.0101420488, -0.0178342368, -0.0404685512, -0.0029606663, -0.014499221, 0.0328663662, -0.0153970355, -0.057512816, 0.0658208355, 0.0058496813, 0.0850508586, -0.0225298014, 0.0437242649, -0.0002925578, -0.0144546116, -0.0531575084, -0.0131648183, -0.0215388946, -0.0145851867, -0.0161120053, 0.0033131742, -0.0199820176, -0.0072600478, -0.0089591285, 0.0233940408, 0.0015689284, 0.009855967, -0.0275446773, -0.0306637846, -0.0445810705, -0.0190348737, -0.0368106067, 0.0130930431, 0.0136906775, -0.0070700343, -0.0411734134, 0.0236189961, 0.042149432, -0.010006465, 0.0382531919, 0.0292528644, 0.0138824172, -0.0054225493, 0.0134107359, -0.0440096371, 0.0039713578, -0.0919225439, -0.0361786224, -0.0134854773, 0.0789756253, -0.0219492149, -0.0263815094, -0.0591890216, -0.0240546502, 0.0187325757, -0.0147811761, 0.078644298, -0.0248315092, -0.0035527984, 0.027121922, 0.0301308166, -0.0561428852, -0.0169947445, 0.042821493, 0.0545885265, 0.0530197062, -0.0106307287, 0.0728365704, -0.0098716747, 0.0372987129, -0.0050701168, 0.0520825572, 0.0102844276, -0.0259173643, 0.0326794721, 0.0206543114, 0.0304676127, -0.0322811753, -0.0397883952, 0.0484737828, 0.0531535037, 0.0219246224, 0.0230131075, 0.0611344054, 0.0069174608, 0.0419845879, 0.025062656, -0.0579137951, 0.0621817037, 0.0011573206, -0.0207895935, 0.0018950201, 0.0054129977, -0.0574971028, -0.0450339541, 0.0058922679, -0.0079679461, -0.016336076, 0.0174010266, 0.0297671743, 0.0074750991, -0.0363483727, -0.014445453, -0.0010637848, -0.0707014576, 0.0022689397, -0.0890822783, 0.0698215961, 0.0882408991, 0.0534217581, -0.0328307152, -0.0035769045, -0.059407182, 0.0339080878, 0.0545890592, -0.0157488547, -0.0145737631, 0.033191707, -0.0643169135, -0.0165688321, -0.0282598976, 0.0198469069, 0.0486660562, 0.0149553269, -0.0203656126, 0.0369594917, -0.0338544138, -0.0174333826, 0.0310671441, -0.0333771557, -0.0209635645, 0.0004877621, 0.0192834903, 0.0412245579, 0.0527001247, -0.0094582066, -0.0207177438, 0.0058269715, -0.0368147567, -0.0639495179, 0.0128727695, 0.0162696019, -0.0423640907, 0.0261157211, -0.0284531265, -0.0159666352, 0.029992098, -0.0452998318, -0.0570818, 0.0419353172, -0.0132161519, -0.0142132351, -0.0653338358, -0.0202079117, 0.0089494837, 0.0153565845, -0.0253529027, 0.0604095981, 0.011636097, 0.0085362382, -0.0426386371, -0.0217753705, 0.0276819225, -0.0331130028, 0.0184690785, -0.0029975318, -0.0237718634, 0.0311366413, 0.0054741949, -0.0028440575, 0.0007102748, -0.0557148792, -0.0450520627, 0.0016215593, -0.0255318917, 0.0499957129, 0.0190104637, -0.0410728939, 0.0034516663, -0.0083335442, -0.0652968735, -0.0153163401, -0.0253041014, -0.0142049277, 0.0547519475, 0.0092089167, -0.0571705885, -0.0487492271, -0.0023031621, -0.0205297954, 0.0507215448, 0.0361161977, 0.0027215993, -0.0434288569, -0.0220680144, -0.0336395763, -0.0105743045, -0.0430485904, -0.021110883, 0.0277506784, -0.0214466248, -0.0335917659, 0.0404675044, -0.0090156151, 0.0383091532, -0.0079298634, 0.0248158127, -0.0104061402, -0.0054269419, -0.00775901, 0.0064472058, -0.0043448475, -0.0279477518, -0.0019216202, 0.0496107191, -0.0098151956, -0.0203130413, -0.0639291927, 0.0166695211, 0.0487858281, 0.0000042193, 0.0288569238, -0.0765709877, 0.0222257413, 0.0152715771, -0.0424444228, -0.0487154983, 0.0732304081, -0.0775870308, -0.0186691266, -0.0135083646, -0.0340120085, -0.055698771, 0.0893032029, -0.0040077376, 0.0308049135, 0.0530296378, -0.0314389654, -0.0043847947, -0.0299682356, 0.0806589648, -0.0015245344, -0.0274223313, -0.0006321252, 0.0196034871, -0.0032948805, 0.0007464464, -0.0052654082, -0.0638038814, -0.0510324016, -0.0046872422, -0.0284931716, -0.0461513139, -0.000112584, -0.0199107137, 0.0377477482, 0.0417958312, -0.0186172761, -0.0033914302, -0.0234192368, 0.0275088344, 0.0093872622, 0.0198021568, 0.0171434544, -0.0475661904, 0.0007483464, 0.015346542, 0.0025330679, -0.0030122481, -0.0340335667, -0.0242186822, -0.031061912, -0.0448626652, -0.0276050214, -0.027726341, 0.0386314429, -0.0668597072, 0.0388801694, 0.1183322519, 0.0033376019, -0.0362310782, -0.0261681136, 0.0123810358, -0.0307816211, 0.001749562, 0.0122644743, -0.0719874874, -0.0126025649, -0.0042176498, 0.0333960801, 0.0243069325, -0.017407665, -0.0367910452, -0.0225753933, 0.0540114865, -0.0133620752, -0.0537746735, -0.0013019866, -0.0575733706, -0.0424430557, -0.0238692258, -0.0218977425, -0.0031726051, 0.0274553616, 0.0334160924, 0.0122763887, 0.0197771862, -0.0209804494, 0.0465743467, -0.0517928936, 0.052906651, 0.0529272333, 0.0739108697, -0.0145238219, -0.0248750318, -0.017581081, -0.0176995508, 0.0025165621, 0.0039084777, 0.1130617559, -0.0149091184, -0.013918018, -0.032198377, 0.069030039, -0.0524536036, -0.0144572519, -0.0054632253, 0.0520399697, -0.0119198179, -0.0368474983, -0.0037670336, 0.0029116615, 0.0153322788, 0.0760503784, 0.0409802273, -0.009536732, -0.0609208085, -0.010945715, 0.0071591856, -0.0330929607, 0.0027328876, -0.0382439122, -0.0002166773, -0.0421698578, -0.0417326093, -0.0225329157, -0.0307438243, 0.0235184412, -0.002676077, 0.0075105708, 0.002382196, -0.024963405, -0.0441155955, 0.0319452211, -0.0563123375, 0.0535164773, 0.0214374494, 0.0136940563, 0.0265569463, -0.0366621576, -0.0054693413, 0.0031675366, -0.0690317675, -0.0433982573, -0.0392802767, -0.0014511537, 0.0337813236, 0.0608961321, -0.0333925895, -0.1051329598, 0.0013417086, 0.0085192248, -0.0383676663, 0.0175470039, 0.0559911579, -0.0222437605, -0.0189038254, 0.0360343941, -0.0191005971, 0.0362049043, 0.0015767536, -0.0284381118, 0.0076730633, 0.0043087578, -0.0234330166, 0.0209194534, 0.0094081508, -0.0177744161, 0.0029394226, -0.0498416685, 0.0199867077, -0.0327682942, 0.0025433288, -0.0261363052, 0.0118177542, 0.0051356005, -0.0519584343, -0.0056772819, -0.0069502322, -0.0347812772, 0.0419522673, -0.0334790163, 0.0144104157, 0.0189022683, 0.0218478385, -0.0299986973, 0.0144181196, -0.0127342725, -0.0117388619, 0.0079095354, 0.0596118048, -0.0055619935, 0.0444643572, 0.0272255931, 0.0160507411, -0.0056934985, 0.0165816974, -0.1011015996, 0.0067204051, 0.0060571097, 0.0228890013, 0.0487453751, 0.0063249879, 0.0441049114, 0.0078197829, -0.0018974344, -0.0167329013, 0.0787863508, 0.0170071516, -0.0162015129, -0.013212299, 0.0167483781, -0.0356689468, 0.0271258596, 0.088308461, 0.0421088673, 0.0174139496, 0.0097768484, -0.0246095248, 0.0176413767, -0.0396218412, -0.0371212289, 0.0514878258, 0.0133382063, -0.0372455344, -0.0388358757, -0.0458441861, 0.0383102298, 0.0096270535, 0.008686088, 0.0084346728, -0.0090373261, 0.053046383, 0.0125669884, -0.0185054112, -0.0280390177, 0.0226525925, -0.0218767393, -0.0163843967, 0.0230247341, -5.981577575e-33, 0.0014742285, -0.0677446201, -0.0053182752, 0.0242672581, -0.0367941335, 0.0400994383, -0.0573267229, -0.0465034209, -0.016407026, 0.0518174209, -0.0097268922, 0.045711536, 0.0132462615, -0.0014246537, -0.0345892198, -0.0299782492, 0.0306155104, 0.0165161621, -0.0314594209, 0.0754876733, 0.0567132607, 0.0003527196, 0.0421553254, -0.1059623957, 0.0354087688, -0.0421957001, -0.0794087946, 0.0003163818, -0.0332036763, 0.0523363203, -0.0347221345, 0.0288396478, 0.0149638886, 0.0005632397, 0.0175968148, 0.0104295397, -0.1018564105, -0.0297646243, 0.0094568245, 0.0030970473, 0.0138190575, -0.0459149368, 0.0292139556, -0.025174655, 0.0258511398, -0.0215084665, 0.0615313537, 0.004278129, 0.0081324307, -0.0338798128, -0.027638115, 0.0237912871, -0.0358413346, -0.0411950089, 0.0378387272, 0.0002698174, 0.017658947, -0.0277199149, -0.056925226, -0.0019011282, -0.0131731303, -0.0141142905, 0.0287283957, 0.0096987272, -0.0320564657, 0.0364266485, 0.0302879047, 0.000777657, -0.0617807917, 0.0072198799, -0.0033516658, 0.0390475132, 0.0883651748, 0.0599605553, 0.0109591419, 0.006994579, -0.08435224, 0.0512747988, 0.0075867809, 0.0054416782, 0.0281001758, 0.0048835962, -0.0674356818, -0.0361857787, -0.0321040079, -0.0408948958, -0.039506983, -0.0198111497, 0.007270813, -0.0038929002, -0.0346282832, -0.0156875532, -0.0189602673, -0.0720999688, 0.010895215, 0.0311004985, -0.0349047892, 0.0169764217, 0.0119695794, -0.0130542982, -0.0222147461, -0.0128558455, 0.0102728307, 0.0404662117, 0.0547027327, -0.0068713939, 0.0889231414, 0.0594141297, -0.0423537642, -0.0029488071, -0.046928294, 0.0049212547, -0.0110031012, 0.0255033113, -0.0067205238, 0.0320984237, -0.0285264887, 0.0531688407, 0.0034187839, 0.0369272754, -0.0245003179, 0.0143445889, -0.021029992, 0.0184822921, -0.0220316779, -0.0037645986, 0.0253839456, -0.0456151813, 0.0265537351, -0.0588076971, 0.0096429763, -0.0102378549, 2.532e-7, 0.0091695618, 0.0125835733, 0.0803126469, -0.0299184937, 0.0334306993, 0.0524235964, 0.0287568457, 0.0233571958, -0.0440567099, -0.030529378, 0.0100734178, 0.0386744961, 0.0682628229, 0.0313149951, -0.0248158611, 0.0015312663, -0.0345932245, -0.0372970551, -0.0568305291, -0.0020202335, 0.078162916, 0.0403283164, 0.0833983347, -0.030724261, 0.0119280117, -0.0503384992, 0.0650535524, 0.0332619026, -0.0041483021, 0.0343165547, 0.0516380109, 0.0035881395, -0.0002839708, -0.0165625997, -0.0129545154, 0.0174670704, -0.0020900592, 0.0958981365, -0.0151660778, 0.0000711396, -0.0128157446, -0.054912813, 0.0124370465, -0.0418230109, 0.0835941434, 0.0316743143, -0.0289654825, -0.0216159914, -0.033811368, -0.0359425507, 0.0124599542, -0.0187346339, 0.0156953204, 0.0404948033, -0.0173143707, -0.0361302048, 0.0035680635, -0.1017862633, -0.0454734713, -0.0006576233, -0.0275033787, 0.027096523, -0.0109101273, 0.0128673194, 0.0553475581, -0.0666791052, 0.0171793476, 2.317960754e-34, 0.0327306651, -0.0058924295, -0.0021406556, 0.0038681212, 0.0329641961, 0.0326310769, -0.0162158646, 0.0137275485, 0.0231303647, -0.0300095864, -0.0103234956 ]
http://arxiv.org/abs/2406.16655v1
http://arxiv.org/pdf/2406.16655v1
Large Language Models Are Cross-Lingual Knowledge-Free Reasoners
"2024-06-24T14:03:04"
"2024-06-24T14:03:04"
Peng Hu, Sizhe Liu, Changjiang Gao, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang
cs.CL
cs.CL
Large Language Models have demonstrated impressive reasoning capabilities across multiple languages. However, the relationship between capabilities in different languages is less explored. In this work, we decompose the process of reasoning tasks into two separated parts: knowledge retrieval and knowledge-free reasoning, and analyze the cross-lingual transferability of them. With adapted and constructed knowledge-free reasoning datasets, we show that the knowledge-free reasoning capability can be nearly perfectly transferred across various source-target language directions despite the secondary impact of resource in some specific target languages, while cross-lingual knowledge retrieval significantly hinders the transfer. Moreover, by analyzing the hidden states and feed-forward network neuron activation during the reasoning tasks, we show that higher similarity of hidden representations and larger overlap of activated neurons could explain the better cross-lingual transferability of knowledge-free reasoning than knowledge retrieval. Thus, we hypothesize that knowledge-free reasoning embeds in some language-shared mechanism, while knowledge is stored separately in different languages.
[ -0.0113550387, 0.0292700417, -0.0205717869, 0.0753234774, -0.0298371669, 0.0369766578, 0.0593555719, 0.0032622034, 0.0034952306, -0.0129268123, -0.0737198666, -0.0115310447, -0.0003262022, 0.0069185356, 0.0334655009, 0.0050076586, 0.0627950579, -0.0609384552, 0.0216960553, -0.0292214323, -0.0221390706, 0.0069844178, -0.0048464192, 0.01549464, 0.0211175755, 0.0102769136, -0.0044442099, -0.0409269854, 0.002859418, 0.0174316987, -0.0373979174, 0.0102575673, 0.0155240474, 0.0587867312, 0.0000018433, -0.0228359196, 0.0131056868, -0.0097271306, -0.0225396119, 0.0017858034, -0.0207978822, -0.0072110551, -0.0110429255, -0.0254970267, 0.0005607481, -0.0355588011, 0.0625749826, 0.0573143363, 0.0003523942, 0.0687796623, -0.0076667122, -0.0304031335, 0.0182016343, -0.0421954356, 0.0437086746, -0.0277166516, 0.0205579512, 0.0182471331, -0.0252953656, -0.0021431413, -0.0192501117, 0.0619192831, 0.0397995897, -0.0165413581, -0.0516700856, 0.0360225886, 0.0119888894, -0.0083654309, 0.0254454128, 0.034564089, -0.039036762, -0.0426860452, -0.0031710828, -0.0022848779, -0.0049575814, 0.0327606015, -0.0756824389, 0.0592028722, 0.0109136505, 0.0387715138, 0.052910462, -0.0082935207, 0.0682181418, -0.0178227779, -0.0418140143, 0.0905441642, 0.0052833338, -0.0108040906, 0.035585627, -0.0021818066, -0.0113806855, -0.0660474598, 0.0027194228, 0.0312196333, 0.0183385257, 0.0326632187, 0.0209509488, 0.0075105526, -0.0189557895, -0.0378030315, 0.0307791103, 0.0604038276, -0.008546955, 0.0655844286, -0.1011980698, 0.0349535048, -0.0535596795, 0.0513924211, -0.020748565, -0.0509367548, -0.0598030537, -0.0563166291, 0.0148598049, 0.006106839, -0.0310612116, -0.0125451954, -0.0124684805, -0.0026577094, -0.0382555313, -0.0252745152, 0.0157912727, 0.0161319673, 0.0288410094, -0.0093637146, -0.0469269715, 0.0484625809, -0.0172565412, 0.0189691707, 0.0268131029, -0.0207755622, -0.0162220132, 0.0082293339, -0.0016401816, -0.0635534078, 0.0283876602, 0.0356924571, -0.0277317483, 0.0158278961, -0.0915519372, -0.0074149254, 0.0239869393, -0.056547042, 0.0580484457, -0.0506865904, 0.0428895205, 0.0185250938, -0.0009104504, -0.0528034754, -0.0009086674, -0.001531845, -0.0533493236, 0.0487201326, -0.006474846, 0.0242556985, 0.0139745576, 0.0023418185, -0.0195241477, 0.0211700536, -0.0032398754, -0.0100672273, 0.0204133019, -0.0210461989, -0.0442219488, -0.0024885146, 0.0509551726, -0.0208496451, -0.0435481854, -0.0086092893, 0.0276587848, -0.0069338614, 0.0338542908, 0.0179777965, -0.0370286964, -0.0287589505, 0.0202843938, 0.0681805611, 0.0291133504, 0.0296873413, 0.0527280159, -0.0521919392, 0.0043401946, -0.0181056373, -0.0609377921, 0.0816957653, -0.0181234032, -0.0206951536, 0.0162430834, 0.0175753683, -0.0624083206, -0.01614503, 0.0239294861, -0.0022925588, 0.018035708, 0.0260833595, 0.0616110861, 0.0173360892, -0.0096692741, 0.0592013933, 0.0506678894, -0.0373808965, -0.0110054109, -0.0468479469, 0.069407478, 0.0251320135, -0.0332200415, -0.0004822165, -0.0166298877, 0.02442321, 0.0230587125, 0.0274833422, 0.0302944109, 0.0096681435, 0.04341048, -0.0399165116, 0.0070082336, -0.0627040043, -0.0011507323, 0.0268746186, -0.044208046, 0.0229185671, 0.0135871377, -0.0269824564, -0.0010725277, -0.0025817882, -0.0615437776, 0.0000759273, -0.0099042589, 0.0287714228, 0.0006822285, -0.007484871, -0.0080087725, 0.0379834995, -0.010166971, -0.0536907129, -0.0261463393, 0.0476837829, -0.0515291169, -0.043424055, 0.0170860104, 0.0156118749, 0.0080477362, 0.0055183042, 0.0161517244, -0.0472801924, 0.0578774251, 0.0017137401, 0.0620002598, -0.056946788, 0.005423604, -0.003423742, 0.0197171364, 0.0354668833, 0.0978941843, 0.0235480722, 0.0378912501, 0.0088521065, -0.0037873506, 0.0639771968, -0.0055058668, -0.0120894406, 0.0284153204, -0.0252917595, -0.026898358, -0.0183722526, -0.0383693799, 0.0061689126, 0.0337227359, -0.0670250952, -0.008155142, 0.0114329271, 0.0129080862, 0.007269992, 0.00437601, 0.0250219647, 0.0267070588, -0.0632051677, 0.0387039296, 0.0371839255, 0.0570469312, 0.0033671348, -0.0124242716, 9.684e-7, -0.0375991873, -0.0475794747, -0.0080321999, 0.0844693929, 0.0002036495, 0.0042569139, -0.0238804575, 0.0556031317, -0.0772297829, 0.0239448119, -0.0455390401, -0.0475794263, 0.0121550616, -0.0337469839, -0.0365840755, 0.0786892474, -0.0644426718, -0.0381002538, 0.0784208328, -0.0361141339, -0.0385232158, 0.0131512946, -0.0218003336, 0.0325518735, -0.0411728919, 0.009215218, -0.0223547965, 0.0775294527, 0.0082005588, -0.0416397192, -0.0658397526, 0.0055009048, -0.0236644875, -0.0154501628, -0.0525026768, -0.0091162575, 0.0256869886, 0.0920426473, -0.039277669, -0.0079426738, 0.0599536635, -0.004323218, -0.0137908356, 0.0006870237, -0.0044713472, -0.0156691186, 0.0649194121, -0.0196264125, 0.0459737033, 0.0005525474, -0.0141503112, -0.0235975571, -0.0483917259, 0.0206510983, 0.0012899607, 0.0115591474, -0.0084491819, -0.0042328313, 0.0029215298, -0.014570375, -0.0153642725, 0.023835903, -0.0228900947, 0.0301415808, 0.0006444745, -0.0348990411, -0.0159972962, -0.003272583, 0.0720780492, 0.0257658809, -0.0217002109, 0.009871752, 0.0043295287, 0.026424855, -0.0121331187, 0.0009093549, 0.038658943, -0.0312819295, 0.0158838201, 0.0233503785, 0.0085163377, 0.0104367305, -0.0124978647, 0.0538643375, 0.0329474285, 0.0145054134, -0.0561461858, -0.0543682501, 0.0545374528, -0.0386249945, -0.0044739149, 0.091299586, 0.0122827366, -0.0312370639, -0.0058258981, -0.0841867998, -0.0164510831, 0.0529366359, 0.0438050032, -0.0288766958, -0.0192777142, 0.0185327046, -0.0239316039, 0.0065183183, -0.0135874422, -0.0102028539, -0.1279373765, 0.0113382088, 0.00652115, -0.0558048561, -0.0616834946, -0.0254105069, -0.0051142406, 0.0193796325, -0.0070671909, 0.0198703539, 0.0194748361, -0.0210441668, 0.0009484138, 0.0257860273, -0.0393779464, 0.0395207405, -0.0248293243, 0.044283282, 0.0203428455, 0.0390806608, -0.0046974397, -0.0795125663, 0.0361750312, -0.0287854038, 0.0155759156, -0.0189903434, 0.0255180784, 0.0572508425, -0.0387054011, -0.0128624318, 0.0023397568, -0.0408241004, -0.0283098146, -0.0257189777, 0.1030749306, -0.0077836243, -0.0433765985, 0.0431993306, 0.0076779509, -0.038128864, 0.0649310276, 0.0289462395, 0.0058107558, -0.0376358479, -0.0086042639, -0.0481134914, -0.032458216, -0.0492081717, 0.0420706756, 0.0379493348, -0.0488977432, -0.0436042361, -0.0279403795, 0.024198791, 0.0080384156, 0.02398251, 0.0164559949, -0.0053282273, -0.0460761227, -0.0253945496, 0.0440699048, -0.024257239, 0.0233793221, 0.0014507766, 0.0014671525, -0.010912287, -0.066536434, -0.0227385964, -0.0318803079, -0.0118283341, -0.0735090598, -0.0304038636, 0.0315428488, 0.023796007, 0.0141486879, -0.0097424844, -0.0320915617, 0.0201989319, -0.0138354795, -0.0333977975, 0.0058545009, 0.0341582783, -0.0131460009, 0.0292080548, 0.0607745498, -0.0318621919, -0.0258657001, 0.0618477538, 0.0238754991, -0.0031769369, 0.0453030989, 0.011016855, -0.002225861, -0.0112895425, 0.0538969897, -0.0084327264, -0.0735512301, -0.0041509084, -0.0193282478, -0.0010797089, -0.0398156159, -0.0138375089, 0.053936474, 0.0069778226, 0.019456571, -0.0311920159, 0.0488524698, -0.0206769034, 0.0141504863, -0.0145980222, 0.0352476276, 0.0280732904, 0.0002074046, 0.0172100943, 0.00281243, 0.0068791974, -0.0189089403, 0.0274551362, -0.0413873568, 0.0420942791, 0.0198241044, -0.0271798763, -0.0463769175, -0.0197593123, -0.0738923848, -0.0952060223, 0.0833395571, -0.0376546681, 0.0719411075, -0.0544177182, 0.0465055704, -0.0138648478, 0.0030389982, -0.0009645091, 0.0140147386, 0.0302090514, -0.0162062515, 0.0421934612, 0.0165933166, 0.0161228161, -0.0274016093, 0.0652268901, -0.0194025096, 0.035345953, -0.0153261442, -0.0243077632, 0.0065189395, -0.0056592966, 0.0248725414, 0.0170482118, -0.0404022448, 0.0174368117, -0.0251029078, -0.1159788668, -0.0266345199, 0.0205636136, -0.0190264545, 0.01380031, -0.0137743028, 0.0645395964, 0.0118201301, -0.0277948119, -0.020150952, 0.0348722264, -0.0197783802, 0.010613597, -0.011399813, -5.983075595e-33, 0.0071448605, 0.0049607176, 0.0192689244, -0.0146514475, 0.0096171713, -0.0210546739, -0.0803084895, 0.0068828217, -0.0394480042, 0.0470534563, -0.0190751739, 0.0091881435, 0.0088116433, 0.0193287749, 0.0166217759, -0.0096849874, -0.0051687751, 0.0323627926, -0.004361249, 0.0440771654, 0.0933569819, 0.0159504563, 0.0686809272, -0.0530903973, 0.0427673645, 0.0080597531, 0.0558439195, 0.0638752729, -0.0526384376, 0.046080146, -0.0123489546, 0.0216873139, 0.0328060985, -0.0421499349, -0.0064357854, -0.0153142652, -0.0695266947, -0.0544500649, 0.0788907781, -0.0163518973, 0.0036254765, -0.0513119139, 0.0358619317, -0.0249383207, 0.0340308212, -0.0042908695, 0.017884789, -0.0135446945, 0.0039808359, 0.0278040301, -0.0594865531, -0.0100443987, -0.0117310425, -0.0108791776, 0.0260379612, 0.0275823977, -0.0312392786, -0.0154497065, -0.071429126, 0.0158411022, -0.0606048033, 0.0442291684, 0.0773227289, -0.0043971688, 0.0300371908, 0.0367605016, 0.0518472344, -0.0008512374, -0.025934618, -0.0016567622, 0.0100782765, 0.0439449139, 0.0439928882, 0.0000628553, 0.0414947905, -0.0311361048, -0.0708022416, -0.0412372239, -0.0123924622, 0.0216183458, 0.0508059263, -0.0114193894, 0.0310237035, -0.0458384305, -0.0297020096, -0.0188990477, -0.0484924912, -0.0319237337, 0.0339541212, -0.0302260946, 0.0247513615, -0.0362732746, 0.0390662327, -0.0353500508, 0.0229130555, 0.080502145, 0.0306921825, -0.005328944, -0.0017420335, -0.0001853719, -0.0680142418, -0.018888399, -0.0375528522, -0.021463614, -0.0013408629, 0.0299334265, 0.0318104774, 0.0386136472, -0.0068851998, -0.0150621049, -0.0774395466, -0.0299813487, -0.0095097134, 0.0590809397, 0.0187064372, 0.0304764267, -0.0292054638, -0.0180278085, 0.0081171989, 0.0005283313, -0.0097011868, 0.0343795381, -0.0075650383, 0.0224099886, -0.0360921286, -0.0263868906, -0.0948368162, 0.0547865108, 0.022008149, -0.040167965, -0.0172697473, 0.0423446, 2.674e-7, 0.0284204949, -0.0134136407, -0.0216081664, 0.0208556298, 0.0353096128, 0.0163010359, -0.0346346647, -0.0543489009, 0.0342358761, -0.0435968749, -0.0562212728, 0.0748624206, 0.0388085544, 0.0559192151, -0.0297733434, -0.0086513394, -0.0091465823, -0.0345806442, -0.007932731, -0.0234754495, 0.0068217418, 0.0468333885, 0.0217284802, -0.0270776544, 0.0506262667, -0.0608917512, 0.0774520412, -0.0143559752, 0.0255736783, -0.0395537838, 0.0176300108, -0.0187956002, 0.0008391163, 0.0267053377, 0.0179255437, 0.0272948109, -0.0089880675, 0.0360974371, 0.0040570982, -0.0209015403, -0.0307871532, -0.0298227873, -0.0109060248, -0.0774323568, 0.0831443518, -0.0430097319, -0.0537150316, 0.0298099667, 0.0286433529, 0.0149349356, 0.0105118696, -0.0011900004, -0.0153222876, -0.0232883673, 0.0191998146, 0.0031503383, -0.0013051464, -0.0625752434, -0.0365853123, 0.0091902949, -0.0411544405, -0.0218705852, -0.0355591699, -0.0270315539, 0.0618776865, -0.014076788, 0.0079416372, 2.06229808e-34, -0.0201576818, 0.0066177892, 0.0364953764, -0.0200565215, 0.0141345626, -0.0199245214, -0.0071899681, -0.0237245392, -0.0028650078, -0.0598508492, -0.0412385538 ]
http://arxiv.org/abs/2406.16635v1
http://arxiv.org/pdf/2406.16635v1
ShadowLLM: Predictor-based Contextual Sparsity for Large Language Models
"2024-06-24T13:41:08"
"2024-06-24T13:41:08"
Yash Akhauri, Ahmed F AbouElhamayed, Jordan Dotzel, Zhiru Zhang, Alexander M Rush, Safeen Huda, Mohamed S Abdelfattah
cs.LG
cs.LG, cs.AI, cs.CL
The high power consumption and latency-sensitive deployments of large language models (LLMs) have motivated techniques like quantization and sparsity. Contextual sparsity, where the sparsity pattern is input-dependent, is crucial in LLMs because the permanent removal of attention heads or neurons from LLMs can significantly degrade accuracy. Prior work has attempted to model contextual sparsity using neural networks trained to predict activation magnitudes, which can be used to dynamically prune structures with low predicted activation magnitude. In this paper, we look beyond magnitude-based pruning criteria to assess attention head and neuron importance in LLMs. We developed a novel predictor called ShadowLLM, which can shadow the LLM behavior and enforce better sparsity patterns, resulting in over 15% improvement in end-to-end accuracy without increasing latency compared to previous methods. ShadowLLM achieves up to a 20\% speed-up over the state-of-the-art DejaVu framework. These enhancements are validated on models with up to 30 billion parameters. Our code is available at \href{https://github.com/abdelfattah-lab/shadow_llm/}{ShadowLLM}.
[ -0.0039187148, 0.0891858116, -0.0042310557, 0.049158372, -0.0035731802, -0.012864273, 0.0183339082, -0.0019499186, -0.0335988104, 0.0005214768, -0.0200428516, -0.0494949967, 0.0114261908, 0.0098287156, 0.0297016185, -0.0168095678, 0.0604931265, -0.0266702995, -0.022348078, -0.0052684685, 0.020990612, 0.004937809, 0.0265100244, 0.0551945679, 0.0043820054, -0.0167436004, -0.0218708646, 0.0125296284, 0.0080591673, -0.0201250892, 0.0126437843, 0.0690247715, -0.0025152571, 0.0475224704, 0.000002222, -0.0061996798, 0.0299461447, -0.0064735492, -0.0440550409, 0.0518792272, 0.008020794, -0.0042601726, -0.0107429391, -0.0064352248, 0.0057061329, -0.0071675349, 0.0676746443, 0.0071189869, 0.0403963104, 0.0719951019, 0.0021850169, 0.0218697116, 0.0338158756, -0.0538746044, 0.0328051895, -0.0164046362, 0.0075428612, -0.0301012993, -0.0579856485, -0.0022388271, -0.0185736138, 0.0464826822, 0.0432785973, 0.0183839351, 0.0019618084, 0.034427058, -0.0380987674, -0.0120517006, 0.0042509176, 0.0543059334, -0.0674250275, -0.0462115072, 0.0062388582, -0.00380091, -0.0263604075, -0.0547042489, -0.0706599727, -0.0050992277, 0.0364799611, 0.0342263766, -0.0000313439, -0.0084794825, 0.0725733936, 0.0173044037, -0.0177868195, 0.0215854906, 0.0134879006, -0.0136203207, -0.0320767947, -0.0088155968, -0.0354570374, -0.0500120148, -0.0050556483, 0.014871249, -0.0239700861, 0.0070480392, -0.0580381528, -0.0386799388, 0.0224466324, -0.0127785392, 0.0577748977, 0.0409374423, 0.0067858598, 0.0308985915, -0.0379654169, 0.049851723, -0.0244319625, 0.005087777, -0.0051482064, 0.0157255437, -0.000609944, 0.0098374728, 0.0125358375, 0.0427822582, -0.0140186017, -0.0267285462, -0.0219258852, 0.0119927516, -0.0270202402, -0.0471080802, -0.002725583, 0.0398185439, -0.0317363515, 0.0040946607, 0.0150949499, 0.0366696678, -0.0187252164, 0.0073086102, -0.0181038361, -0.0596019849, -0.0337887593, 0.0377901383, 0.0147523545, -0.0523933135, 0.0174931083, 0.0514274612, -0.0021296896, -0.0359659605, -0.0342641585, 0.0063307509, 0.0009189656, -0.0623280816, -0.0155261792, -0.0718204528, -0.0120347915, -0.0140913296, 0.0131350644, -0.0691637173, 0.0189661235, 0.0472942293, -0.0170243979, 0.0467941798, 0.0348535404, -0.009087868, -0.0276730843, -0.0032470175, 0.0230399556, 0.0625818148, 0.0264752712, 0.0511760898, -0.0135930572, 0.0017751093, -0.0301685762, 0.0323279165, 0.0521046147, 0.0197152831, -0.0673454404, -0.0317546763, -0.0234401394, 0.0043842094, 0.089702934, 0.0645041987, -0.0195011925, -0.0332423039, 0.0818337798, 0.03607646, 0.0187403075, 0.0344863944, 0.0260333288, -0.009151102, -0.0338956453, -0.0096337851, -0.0733270645, 0.0662666634, -0.0096847555, 0.0100315567, 0.0351000354, 0.0183038935, -0.0383478813, -0.0110867489, -0.0024168668, 0.0142119406, 0.0081603397, 0.0387940928, 0.0206176471, -0.0012848708, -0.0397068337, 0.1166618541, 0.0313142613, -0.029594576, -0.0201497823, -0.0478715003, -0.0064125378, 0.016940631, 0.0324431546, -0.0148213198, -0.0177671649, 0.0172341336, 0.0041799964, 0.0303687919, 0.0050530578, 0.0186816566, 0.0458767414, -0.037299037, 0.0073330072, -0.0262584407, 0.0246230587, 0.0030691097, 0.0370615236, 0.0183645785, 0.0294899009, 0.0038312494, -0.0211291388, 0.0412574075, -0.0175556261, -0.0461162739, 0.0077199996, -0.0016951218, 0.0406503491, -0.026970163, -0.0007190275, 0.0151214022, 0.0527339876, -0.0568509847, 0.0458981544, -0.0333384611, -0.0756204799, -0.0343026966, 0.0499668419, 0.0354010761, 0.0366438329, 0.0733416677, -0.0321274102, -0.0377074443, 0.0536136627, -0.0341906436, 0.035136804, -0.0450088717, 0.0108181061, -0.0194220189, 0.0530945398, -0.0140112685, 0.0272313226, -0.0420913883, 0.0290470812, 0.0711309016, 0.0210857745, -0.0156146558, -0.0429687612, -0.0357479118, -0.0471755937, -0.0319323093, 0.0236791801, -0.0076679564, 0.0054023867, 0.0114918714, -0.0022192237, -0.0736556277, 0.0074403794, -0.0431054719, 0.0056981277, 0.021465214, 0.0448922813, 0.0399679206, -0.0043185633, 0.006073337, 0.0136250481, -0.0190061312, 0.0273288954, -0.0162025485, -0.0148904026, -0.0375202149, -0.0535184741, -0.0519305058, 0.0242761876, 0.0510425605, -0.0430371463, -0.0387810171, -0.0192388184, 0.0530754961, 0.0080427816, 0.0465081371, -0.0141738839, -0.0424734019, 0.0081281038, -0.0156518016, -0.0017605992, 0.0662498549, -0.0193545576, 0.0248014312, 0.0889818892, 0.0073224385, -0.0381971374, 0.03168815, -0.0238208193, 0.0112664392, -0.0437511206, -0.0191833675, -0.0063887057, 0.0825670063, -0.0075774784, -0.0097029842, -0.0402596444, -0.0026470704, -0.0010431365, -0.0261753388, -0.0254720952, 0.0083031431, -0.0611204207, 0.0461339578, -0.0289974716, -0.055274751, 0.0373707749, -0.0420230068, -0.007599398, 0.0247938726, 0.0045115361, -0.0277819578, 0.0429687612, 0.0421948731, 0.0195254516, -0.0177624226, -0.0252154544, -0.061322514, 0.0065448117, -0.0470616519, 0.0043603894, 0.0426824801, -0.0185055658, 0.0146789039, -0.0068150377, -0.0273637716, -0.0238351747, 0.0020021775, -0.0256169755, 0.0393187255, 0.0324416235, -0.0276632067, -0.0446762666, 0.0248949025, 0.0018852992, 0.0748036429, -0.0106947022, 0.0037746558, -0.0220495034, 0.0266369171, 0.0483234338, 0.0339814052, 0.0361170806, -0.0202515051, -0.0238226764, 0.0517456979, 0.023042975, 0.0145378364, -0.0625005439, -0.0025780285, 0.0240772888, 0.0181159172, 0.0075613689, 0.021019375, 0.0452851765, -0.0882931799, -0.0218964461, 0.0845704749, -0.0006978253, -0.0693129599, 0.0229140781, -0.0061619366, 0.0794897527, 0.0521785989, 0.0206743311, -0.0377324708, -0.0509421378, 0.0176529102, 0.0123935519, 0.0115006957, -0.0104293684, 0.0014514778, -0.0785343274, 0.0128432922, 0.0027510561, -0.0468000025, 0.002229756, -0.033347901, 0.009736117, -0.0226847418, 0.0299386177, 0.0303874314, -0.005558026, -0.0282790679, 0.003726478, -0.0141894817, -0.0414723083, 0.0501059741, -0.0074267471, 0.0399472043, 0.0557956658, 0.0090656113, 0.003103435, -0.0194455311, 0.0420336239, -0.0404344797, 0.0067049772, -0.0082643349, 0.0224442817, 0.0298074819, -0.0157762077, -0.0045942483, -0.0018766326, -0.0240871664, -0.0083511034, -0.0352563336, 0.0759144872, -0.0136957066, -0.008224641, -0.0218059793, -0.0234313048, -0.0235478729, 0.055038292, 0.0754974559, -0.0232931823, -0.052144438, -0.0055303867, -0.0350567326, -0.0615572631, -0.0524842478, -0.0014164998, 0.0391319431, -0.0649676248, -0.028800467, 0.0001886388, 0.020040568, 0.0082055144, -0.0213877987, 0.019152537, -0.0057568536, -0.0055664489, -0.0511584617, 0.0468614735, -0.0169788413, 0.0192567874, -0.0740301087, 0.0180845764, -0.0130840465, -0.0097572245, -0.0139622288, -0.0008575171, -0.146027416, -0.0666654855, 0.0002108418, 0.0636116415, 0.0181757119, 0.0384299122, -0.0099836066, -0.0764801949, 0.0587610304, 0.026295118, -0.033042267, 0.0532048419, 0.0096245296, -0.0543904006, -0.0066366945, 0.0631745234, -0.0247569121, 0.0222609788, 0.0373996682, 0.0595013238, -0.0310608875, 0.0024700835, -0.0037517466, -0.0037548691, 0.0276700165, 0.0036986482, -0.0036638612, -0.0220973473, 0.023090506, 0.0274273362, 0.0179499108, -0.0433726311, -0.0079564312, 0.0035363149, 0.0062385011, -0.004129794, -0.0279577505, 0.023398133, -0.0348729864, -0.0154733071, 0.0389192551, 0.0103869503, -0.0119590778, 0.0663269982, 0.0207208525, -0.0252324771, 0.010628039, -0.0295445416, 0.0160254668, -0.0335964933, -0.0313990973, 0.0031337363, 0.000272191, -0.0746707097, 0.0177118033, -0.0476444438, -0.0425960198, -0.0417553671, -0.0136720082, 0.0345381759, -0.0057332288, 0.0652472228, -0.003249811, -0.0171067808, -0.0502180606, 0.0034424902, 0.0118262097, -0.0126919355, 0.0289346632, 0.0498406179, 0.003503701, 0.0138168093, 0.0786630884, 0.0321780033, 0.0120388139, 0.0233815759, -0.0113277733, -0.0148572316, -0.0118368333, -0.0281918794, 0.0480843857, -0.0386643745, 0.0082496461, -0.0244459826, -0.0930051953, 0.0062289126, -0.0331106707, 0.0020802801, -0.0500258841, 0.0084033208, 0.0139887305, 0.0220683645, 0.0053551323, -0.0120309312, -0.014123884, -0.0058237407, -0.040116705, -0.0335216783, -7.228199252e-33, -0.0045023123, -0.0345637538, 0.0068168743, -0.036771141, -0.0271188002, 0.0552710295, -0.076306507, -0.0069142138, -0.0290378351, 0.0059294896, -0.0254845675, 0.0052497587, 0.0041266005, 0.0448978618, -0.0026184621, 0.0194212887, 0.056525562, -0.0032492129, 0.0016331932, 0.0327444859, 0.0225629937, 0.0198329818, 0.0523667112, -0.0205555875, -0.0215644017, 0.0239423476, -0.0000130615, 0.0171881057, -0.0099991839, 0.0464548953, -0.0437339805, 0.0382537544, 0.023800116, -0.0355260447, -0.0255116262, -0.0199944917, -0.052765388, -0.0138779916, 0.0231598802, -0.0051375972, -0.0182757471, -0.0424635634, 0.0644705892, 0.0136401625, 0.0089830365, -0.0354346447, 0.0085888822, -0.0129521647, -0.0777975097, -0.0201476775, -0.067542702, 0.0300004017, 0.0050679245, -0.0165963452, 0.0471807085, -0.0029285818, -0.0443407372, 0.0411235504, -0.0669212788, -0.0392074101, -0.0224937908, 0.0945010409, 0.0671288446, 0.0554161072, 0.021768989, 0.0514888503, 0.0164360646, 0.0158046708, -0.0093573807, 0.0168038569, 0.0718252212, 0.0690055043, 0.0553156734, -0.0108479252, 0.0807254612, -0.0037665381, -0.0742723569, -0.028515948, -0.0038722726, 0.0962086469, 0.0663648918, 0.0435115471, -0.0037470118, -0.0293296706, 0.0038680863, -0.0172792897, -0.069025211, -0.0183410011, 0.0283598397, 0.0258423332, -0.0337634645, -0.0171365254, 0.0454261117, -0.024247678, 0.0011175293, 0.0554978997, -0.0049706409, 0.0245561469, 0.0256301388, 0.015415933, -0.0374614447, 0.0027359484, -0.0048477575, -0.0074809366, 0.035242822, -0.0059336913, 0.0269737914, 0.0343411751, -0.0518784784, -0.0486829802, -0.0525412634, 0.0063067479, 0.0049486994, 0.0911392644, 0.0365273729, -0.0227984861, 0.0029207291, 0.0478396118, -0.0079972399, -0.0171906427, -0.0219480414, 0.0055845538, 0.0197206512, 0.0295112282, -0.0549110882, -0.0355864353, -0.0629224181, 0.034281306, 0.0400497839, -0.0516108088, -0.0507430695, 0.0093045281, 2.896e-7, 0.0132845836, 0.0096206265, -0.0418814719, 0.0353980474, 0.0313511789, 0.013861225, 0.0030541986, -0.006409551, -0.0247451682, -0.0143585093, 0.0109085077, 0.0297165811, 0.0793068632, 0.0038209001, -0.0805106759, 0.0125312209, -0.0823243856, 0.0008375217, -0.0224788524, -0.0450998433, -0.0612478592, 0.106920287, 0.0038500605, -0.0357462205, 0.0406678952, -0.0078399628, 0.0068667256, -0.001409588, 0.0407741293, -0.0030343612, 0.0354795195, -0.0142253423, -0.0154018924, -0.0371120274, -0.0067158593, -0.0049108937, -0.0407886803, 0.0780425742, -0.0417507216, -0.0548583679, 0.0184025895, -0.0053275619, -0.0013794805, -0.0634840503, 0.0524953827, -0.0201083403, -0.0281532183, -0.0558865517, 0.0068082744, -0.0064252755, 0.005262502, -0.0051960568, -0.01449716, 0.0055378354, 0.0049493276, -0.0527720451, -0.0464228876, -0.0820474401, -0.0555907972, 0.0130132632, -0.063174516, -0.0218683239, -0.0832371488, -0.0298110377, 0.039553199, -0.0285175294, 0.0014842133, 3.185003091e-34, 0.0427838117, -0.0112175886, 0.0172370523, 0.0475540534, 0.0149328383, -0.0106953764, 0.0010054292, 0.0143711083, 0.0068137459, -0.0888299048, -0.0442035198 ]
http://arxiv.org/abs/2406.16620v2
http://arxiv.org/pdf/2406.16620v2
OmAgent: A Multi-modal Agent Framework for Complex Video Understanding with Task Divide-and-Conquer
"2024-06-24T13:05:39"
"2024-06-25T02:43:41"
Lu Zhang, Tiancheng Zhao, Heting Ying, Yibo Ma, Kyusong Lee
cs.CV
cs.CV, cs.CL
Recent advancements in Large Language Models (LLMs) have expanded their capabilities to multimodal contexts, including comprehensive video understanding. However, processing extensive videos such as 24-hour CCTV footage or full-length films presents significant challenges due to the vast data and processing demands. Traditional methods, like extracting key frames or converting frames to text, often result in substantial information loss. To address these shortcomings, we develop OmAgent, efficiently stores and retrieves relevant video frames for specific queries, preserving the detailed content of videos. Additionally, it features an Divide-and-Conquer Loop capable of autonomous reasoning, dynamically invoking APIs and tools to enhance query processing and accuracy. This approach ensures robust video understanding, significantly reducing information loss. Experimental results affirm OmAgent's efficacy in handling various types of videos and complex tasks. Moreover, we have endowed it with greater autonomy and a robust tool-calling system, enabling it to accomplish even more intricate tasks.
[ 0.0159140807, 0.0557661541, -0.0028687015, 0.0546290502, -0.0364985354, 0.005039216, 0.0154262697, 0.0259131305, 0.0017155557, -0.0841614753, -0.0010208673, -0.0400500931, -0.0494492352, 0.040662922, -0.0263976566, -0.0896272957, 0.0313224494, -0.0290970132, 0.0363168381, 0.0071633649, 0.0338082984, -0.0144105507, -0.0121537577, -0.0004783443, -0.0556640662, -0.0442661643, -0.0337947309, -0.0219503697, 0.0230862089, -0.0117437998, -0.0450620465, 0.0280465055, 0.1076411605, 0.0461157523, 0.0000020743, -0.0427865162, -0.0214023758, -0.0127462642, -0.0181820579, -0.0112213409, 0.047078412, -0.0072523472, 0.012709355, -0.0096670147, -0.040600419, 0.01444289, 0.0360167287, -0.0146285119, 0.0527144074, 0.0496362634, -0.0388891995, -0.0403430536, -0.0068127667, 0.0198883358, 0.0126759503, -0.0415108167, 0.0083530387, 0.0070792208, 0.0775991231, -0.0107377982, -0.0510449149, 0.0385009311, 0.0131829334, -0.0412930027, -0.0140723707, 0.0236558672, -0.0141272331, -0.0848730281, -0.0140609024, 0.0235195216, -0.0032472082, 0.0380636044, 0.0081289299, 0.0219707526, 0.0020507921, -0.0037758923, -0.0858282298, 0.0498668253, -0.0079788538, 0.0023779941, -0.0473537706, -0.004149036, 0.0072528566, 0.0135068996, -0.0095528802, 0.0095638195, 0.0221713465, 0.0344422124, -0.0512992442, -0.0221834891, -0.0056556892, -0.0522515327, 0.0284044575, 0.0753142983, -0.0138847986, 0.0158634726, -0.0165894479, -0.0095586404, -0.0284926258, -0.0703764781, 0.0085524786, 0.0058185607, -0.0413500071, 0.0755141452, 0.0008336897, 0.0504661351, -0.0304497648, 0.017239077, -0.0181390829, -0.0340191759, -0.0956396908, -0.0185850505, -0.0026579597, 0.0464926958, -0.0530519783, -0.0225101318, 0.0190072954, 0.0533722527, -0.0456467718, 0.0222202763, -0.0671958998, 0.0131031871, 0.0335434191, -0.0441856794, -0.0315449387, 0.0501622371, -0.0585323572, 0.0292678233, 0.0095531838, -0.0637679473, 0.000642448, 0.0018056958, 0.0264669321, -0.0105241789, 0.006151496, 0.0620243549, -0.0562461428, -0.0289527141, -0.0300993901, -0.0105012674, -0.005664411, -0.0436777957, 0.0102526862, -0.0786937624, 0.0563072003, 0.0017010099, -0.0197971705, -0.0137927514, 0.0140702687, -0.002027971, -0.0605365075, 0.0712824985, -0.0162686557, 0.0432860292, 0.0359788984, 0.0342180207, 0.0061271084, 0.0676576868, 0.0045834803, 0.0445640758, 0.0549278706, 0.0418718345, 0.0496702231, 0.0277605988, -0.061276067, -0.0090210298, -0.0577741824, 0.021165885, 0.0032296423, 0.0342015028, 0.0077857296, 0.0303922798, -0.0107474029, -0.0093435925, 0.052818615, 0.027755037, -0.0384409763, -0.0248579774, 0.0344411992, 0.0516598858, -0.0043291599, 0.0107444488, -0.038552247, 0.0903099328, 0.017244678, -0.0344677679, -0.0248138327, 0.0429789871, -0.0620166697, -0.0337405689, -0.0188707449, -0.0032888022, 0.0127326669, 0.0293491483, 0.0824556053, -0.0293806233, -0.0237053577, 0.035829328, -0.0040668664, -0.0123069612, 0.0314397663, -0.0578942709, 0.02234504, 0.0713020712, 0.0081657637, -0.0474987626, -0.0420385785, 0.0249094665, 0.0453589968, -0.0350730307, -0.0042334888, -0.0348401554, 0.0141379395, -0.0648758039, -0.0261954498, -0.0015394042, 0.0312895328, 0.0412936695, -0.0147896279, 0.0118492646, -0.009829903, -0.0228018053, -0.0038549209, 0.0387607999, 0.0675362125, -0.0234293733, -0.0269031096, 0.012691807, -0.0016023476, 0.0184338577, -0.0174988788, -0.0095992424, 0.0466510542, -0.0019100844, -0.0066435174, 0.0235478971, -0.004019137, -0.0033175761, 0.0401299894, -0.0301740803, -0.0041732593, 0.0351936743, -0.0435974896, -0.0499107316, 0.0255684108, -0.013503952, 0.0035113888, -0.0403543562, 0.0108729582, 0.0121490359, -0.0246637128, -0.0021333026, 0.0348196514, 0.0330895633, -0.0404106379, 0.0253192242, 0.02379377, -0.0032679541, -0.0118702417, -0.0013763246, 0.0195397716, -0.0089511778, 0.0122068012, 0.0229367949, -0.0228220932, -0.0428836085, -0.0383109413, -0.0885319933, -0.0031597263, -0.0111700445, -0.0101641733, -0.0080049345, 0.0217225999, -0.0070042405, -0.0429894812, 0.0187691078, 0.0347127281, 0.0096159149, 0.0442208014, -0.0073078154, 0.0569596589, -0.0345071629, -0.0033582356, -0.0130621055, 0.0062983152, 0.0217261855, 0.0152182244, -0.0453400761, 0.0164340883, -0.047435049, -0.0169348605, 0.0540966839, -0.0339839756, -0.0061564818, 0.0098303342, -0.0525222495, -0.0359722897, 0.0687902197, 0.0154514909, 0.0337029397, 0.0344229266, -0.0433012098, -0.0264786016, 0.0208094008, -0.0047562881, -0.0469640605, -0.0395534784, -0.0091117145, -0.0309524238, 0.014979016, -0.0295549277, 0.0445744917, -0.0553789511, -0.0209670383, 0.0102098836, -0.0213357117, -0.0477343611, 0.0035614562, -0.0208648033, 0.0298635177, -0.0119325928, -0.0286940541, 0.0445177965, -0.0049020904, -0.0243616793, 0.0179133043, -0.0071186461, -0.0274132807, 0.1354063004, 0.0426895879, 0.0371742584, -0.0301910602, -0.021560397, -0.0626802966, -0.015160827, 0.0304783229, -0.0099829948, 0.0485021099, -0.0818660781, 0.0006340401, -0.0055457405, -0.0064595728, -0.0245850775, -0.0034547481, -0.0464300737, -0.0196589455, -0.055920735, -0.0011647771, -0.0323752239, 0.0213678237, 0.0184707325, 0.0414919108, -0.0203238875, 0.0206306912, -0.0099983346, 0.0348969139, 0.0510331653, 0.0445806533, -0.0444505736, -0.0463126078, 0.0836363435, 0.0699059442, 0.0399585925, -0.052789934, -0.0188882481, 0.0461837016, 0.0357156321, -0.000847857, -0.0259366445, 0.0275957044, 0.0504407287, -0.0913761035, 0.016607238, 0.0970963761, 0.0240938514, -0.0887533128, -0.02200686, -0.0312756114, -0.0407349281, 0.0476500094, 0.0344728902, -0.0578725673, -0.0425924771, 0.0121999402, -0.0063088522, 0.0223714393, -0.0179111902, -0.0128840953, -0.0658553094, 0.0991449878, 0.0018015419, 0.0204825886, -0.0095218783, -0.0283286944, 0.0248331837, -0.026818309, -0.0227940883, 0.033027146, -0.0191758834, -0.0072900606, 0.0053104451, 0.023189595, -0.0156242382, 0.0392965339, -0.0616270863, 0.043190673, 0.035537485, 0.0334767513, -0.0155249443, -0.0360746719, 0.0017721425, -0.0027864298, 0.0062323026, -0.0126257362, 0.0226666573, -0.0288633779, 0.0074236323, 0.0035519463, 0.022072861, 0.0280916858, -0.0491528474, 0.0051733595, 0.0953679457, -0.0445528813, 0.0094553726, -0.0312035158, -0.025541896, -0.0037840183, 0.0655952021, -0.0366028398, -0.0037176553, -0.0226277262, 0.0294256825, -0.0708571151, -0.026881678, -0.0023076546, 0.0138383685, -0.0299000032, -0.0176324453, -0.0076936875, -0.0157315638, 0.0707840547, 0.0409730747, -0.0176135898, -0.0073901517, 0.037754029, 0.0514818653, -0.0774973109, 0.0289505739, 0.006440009, -0.0204205047, -0.0241126735, 0.0019566815, 0.0508551374, -0.0351457521, -0.0023843024, 0.0058574672, -0.0526425727, -0.0338837206, 0.0216813479, 0.0640166625, 0.0233258512, 0.0918707773, 0.0115085915, -0.0129704019, -0.0286029428, -0.0099691479, -0.0455350317, -0.01009952, 0.0002360942, -0.0282253623, -0.0215149485, 0.0584652275, -0.0698801801, 0.0203289613, -0.0220201127, 0.0038691014, -0.0655088276, 0.0172974933, 0.0156498719, -0.0118838241, 0.0113426764, -0.0005998707, -0.0151528083, -0.032985311, 0.0069793263, 0.0007738588, 0.0093077347, -0.0801612362, 0.0402582325, -0.007041296, 0.0113412933, 0.0230129622, 0.0345534459, -0.001583032, -0.0637596697, -0.0080544529, -0.0049729333, -0.0153510775, -0.0299311075, 0.0177344847, 0.0207704045, 0.0470087491, 0.0442735739, -0.0080056721, 0.043828629, -0.0113643715, 0.0746859163, 0.0131865637, -0.0128106102, -0.0289933756, 0.0351577774, -0.0365040079, -0.0590641052, 0.0063502584, 0.0555173047, 0.039645873, -0.0426367819, -0.0276180096, -0.033902403, -0.0025820276, -0.0299632866, 0.0324759856, 0.012159328, -0.0557949916, 0.0231054183, 0.0358300991, -0.0011654956, -0.0010449773, 0.0572761185, -0.0221389774, 0.0287953597, 0.0221988056, -0.0410936065, -0.026921764, -0.0095818797, 0.0100693665, -0.0060525411, -0.0285826605, 0.0066303802, -0.031232737, -0.0311843418, -0.032064274, -0.0167934969, -0.0195851196, 0.0102061797, 0.0372117274, 0.0573162585, 0.0045344243, -0.0190890338, -0.0294275433, -0.0161674116, -0.0576292649, -0.0072947005, 0.0336967781, -6.280531135e-33, -0.0194437038, -0.0187661648, 0.0515460633, -0.0107170083, -0.0193527415, 0.0045755301, -0.0050078458, 0.0013627416, -0.0189047065, 0.0214029793, -0.0031763786, 0.0399861895, 0.0157656278, 0.0431588776, 0.0380816199, -0.0471432693, 0.0421655402, -0.0417093262, -0.0043755993, -0.023812063, 0.0343352444, 0.0390866026, 0.0187334269, -0.0624270737, -0.0224728733, 0.0269004181, -0.020153394, 0.0594339222, 0.0215163957, 0.0564726032, 0.0121638989, -0.0054206587, 0.0282307416, -0.0206383597, -0.0302406084, 0.0324331298, -0.0760640129, 0.018058423, 0.0173370242, 0.0448357239, -0.0345703922, -0.0071941321, 0.0188098345, 0.0084719928, 0.0117144519, -0.0272132624, 0.0391671881, -0.032907337, 0.0385956541, 0.0393164717, -0.035454262, 0.0231088996, -0.0027203371, -0.0556697622, 0.0807987526, -0.0143374838, 0.0167814009, -0.03841969, -0.0314844772, 0.0090029631, -0.0327519774, 0.0290940702, 0.064645268, 0.0187180899, 0.0070165233, 0.0424667597, 0.0330056772, -0.0729874149, -0.0403771512, 0.0092490148, 0.0054659373, 0.0917896554, 0.0038357226, 0.0202833768, 0.0001221092, 0.0029718231, -0.0278772824, 0.0005693494, -0.0362932198, 0.0737874657, 0.006210323, 0.0505549461, 0.0306676421, 0.0203253366, -0.0136300288, -0.0112983203, -0.020373594, -0.0154943075, 0.0127654569, 0.0283512007, 0.0010086892, -0.0058895894, 0.0783443078, -0.0255646855, 0.0342394263, -0.0184283536, -0.0220642481, 0.0533236228, 0.0335364342, 0.0605158582, -0.0149708763, 0.0066588121, 0.0129178967, -0.0136019941, -0.0192946121, 0.0164767243, -0.0344138257, 0.0639674142, 0.003161977, -0.0200902652, -0.030223554, -0.0003039181, 0.0036211947, 0.0319134556, 0.0256654266, 0.0358141586, -0.0328282416, 0.0653376579, -0.0142243626, -0.0013150679, -0.0165264308, -0.0164931919, -0.0119734751, 0.0138910869, -0.0426939242, 0.0090501634, -0.0679801479, -0.0460386649, 0.0108647225, -0.0543152168, 0.0021688358, 0.0362565555, 2.856e-7, -0.0040884954, 0.0359229557, -0.0095478585, -0.0126595888, -0.0003999956, 0.0528880879, -0.014474012, 0.010245312, -0.0016156376, -0.0622317456, 0.0267295968, 0.064800486, 0.0220731851, 0.0206520837, -0.0393302292, -0.0159309451, 0.0133234439, -0.0406678468, -0.0628415048, 0.0059189782, 0.0407766886, 0.1067179739, 0.0319583751, 0.0075601269, 0.0338028297, -0.0807042271, 0.0437902287, 0.0080580693, -0.0372409485, 0.008550263, -0.0013769264, 0.009560802, -0.0192535706, 0.0080123423, -0.0049651661, -0.0027829742, 0.0258953851, 0.0819946676, -0.0394621603, -0.0344860516, -0.0341141783, -0.00317007, -0.0328775719, -0.0274214838, 0.0706133619, 0.0154801998, -0.0026775165, -0.0192181133, -0.0145845413, -0.0021917166, -0.0777660161, 0.0166499075, -0.0000112818, 0.0184670389, 0.0148862936, -0.0342857912, -0.0361819677, -0.1187845841, 0.0318826288, -0.0222567208, -0.0659728423, -0.0048424392, -0.0381465517, -0.009116455, 0.0729146376, -0.0304560959, -0.0588030517, 2.363837406e-34, 0.0124477027, 0.0233363826, -0.0350455195, 0.0187392216, 0.0174815543, 0.0240253881, -0.0556564778, 0.0247803591, -0.0082154656, -0.0576006696, -0.0133229932 ]
http://arxiv.org/abs/2406.16611v1
http://arxiv.org/pdf/2406.16611v1
Evaluation of Language Models in the Medical Context Under Resource-Constrained Settings
"2024-06-24T12:52:02"
"2024-06-24T12:52:02"
Andrea Posada, Daniel Rueckert, Felix Meissen, Philip Müller
cs.CL
cs.CL, cs.AI
Since the emergence of the Transformer architecture, language model development has increased, driven by their promising potential. However, releasing these models into production requires properly understanding their behavior, particularly in sensitive domains such as medicine. Despite this need, the medical literature still lacks technical assessments of pre-trained language models, which are especially valuable in resource-constrained settings in terms of computational power or limited budget. To address this gap, we provide a comprehensive survey of language models in the medical domain. In addition, we selected a subset of these models for thorough evaluation, focusing on classification and text generation tasks. Our subset encompasses 53 models, ranging from 110 million to 13 billion parameters, spanning the three families of Transformer-based models and from diverse knowledge domains. This study employs a series of approaches for text classification together with zero-shot prompting instead of model training or fine-tuning, which closely resembles the limited resource setting in which many users of language models find themselves. Encouragingly, our findings reveal remarkable performance across various tasks and datasets, underscoring the latent potential of certain models to contain medical knowledge, even without domain specialization. Consequently, our study advocates for further exploration of model applications in medical contexts, particularly in resource-constrained settings. The code is available on https://github.com/anpoc/Language-models-in-medicine.
[ 0.0461516269, 0.0864609331, 0.0247344319, -0.0245331507, -0.0103493398, 0.022646552, 0.0506499112, 0.0283388514, -0.0273250043, -0.0529455096, -0.0299291853, -0.0917978212, 0.0266541839, 0.0498051122, 0.0225360375, -0.031643413, 0.0232277066, 0.0026546163, 0.0068650106, 0.0050658672, -0.0327022858, 0.0188837945, -0.023220174, 0.0616315231, 0.0205966793, -0.0036841452, 0.0288664941, -0.0002026855, 0.01700099, -0.0457440019, 0.0058809272, 0.0802431852, -0.003899574, 0.0448505133, 0.0000017935, -0.0282321833, -0.0124565354, 0.0119375642, -0.0160358455, -0.018228747, 0.0759231225, -0.0917169303, -0.0035449071, 0.0201823357, -0.0282794069, -0.0655036643, 0.0644357055, 0.0304529071, 0.0209393203, 0.0724277943, -0.0156601463, 0.0008220952, 0.0440129526, -0.0498052835, 0.0134440335, -0.004693802, 0.0555526726, -0.0294098388, 0.015399931, 0.0117777744, 0.0047095753, 0.044455912, -0.0022000067, 0.0132830031, 0.0152506363, 0.0693533793, -0.0299668852, -0.0555203855, 0.0125514651, 0.0457765646, -0.0265483614, -0.0403222591, 0.0323103108, 0.0082909316, -0.0424304903, -0.0020173769, -0.0261743851, 0.0302094799, 0.0011477239, 0.0031439231, 0.014275955, 0.0079238415, 0.0436410159, 0.010625748, -0.0209861826, -0.0117748994, 0.0287287049, -0.0013735248, -0.0239299163, 0.0011273301, -0.0245835353, -0.0674007908, 0.0172397681, 0.0286876056, -0.0145692788, 0.0063890633, -0.0623875149, -0.0488899648, 0.0740583688, -0.0246028174, 0.0396161489, -0.0003379054, 0.0232691523, 0.0109751541, -0.0260359906, 0.0195054989, -0.02540561, 0.0238925107, -0.0155889001, 0.0130413435, -0.0295341089, -0.0190903302, -0.0217061564, -0.0066130161, -0.0110058738, -0.0169570874, -0.0787352249, 0.0065798783, 0.0094896359, -0.0187650733, 0.0223236643, 0.0510278791, -0.0425872393, -0.0197856966, 0.0282275602, 0.0193049945, 0.0335503034, 0.0102417497, -0.0048495936, -0.0516296364, -0.0010043961, 0.0244771391, -0.0042569567, -0.0154666603, 0.012484964, 0.0470336005, 0.0023726884, -0.0412039235, 0.0096944598, -0.020661423, -0.0483060628, -0.0432547443, -0.0055267564, -0.08755593, 0.0283155087, 0.0489584468, 0.0203239657, -0.0644853562, 0.0164471772, 0.0035546834, -0.0408399813, 0.0641149804, -0.0308500249, -0.0064539798, 0.0428265557, 0.0352715626, 0.0239803642, 0.0330602378, 0.0454146713, -0.0187158436, -0.0105211902, -0.0169660728, 0.0159532372, -0.0010129587, 0.0193425212, -0.0196896922, -0.0057288758, -0.0101232044, -0.00336298, 0.0712820664, -0.0093578193, 0.0649718791, -0.004726992, -0.0258838721, 0.0414022505, 0.051511135, 0.0463426709, 0.025914425, 0.0575397834, -0.0200592615, -0.0183209255, -0.0450397469, 0.0069565931, 0.0023821269, 0.0079345079, 0.0069410233, -0.0157293007, 0.032014966, -0.0409612805, -0.0376945026, -0.0294741057, -0.0505800396, -0.0189003702, -0.0230630189, 0.0511304103, 0.0138234179, -0.0465183444, 0.0900086835, 0.0483534299, -0.0590396933, 0.0061522024, -0.0647124499, 0.0031574329, 0.0389028937, 0.0674612299, -0.0353809036, -0.0215110946, -0.0189664569, 0.0147165051, 0.0337243751, 0.03582206, 0.007713784, 0.0219791234, -0.0503132455, 0.0070743919, 0.0249668546, 0.0322773233, -0.0139539465, 0.0081666941, 0.0196064822, 0.0232558604, -0.0285752621, -0.0344041027, 0.0376622677, -0.0929445326, -0.0222121887, 0.032370016, -0.0200279243, 0.0158822481, -0.0129645308, -0.0189688839, 0.0519244969, 0.0245730951, -0.0586518385, -0.0289178006, -0.0111935046, -0.0239602383, -0.0317370445, -0.0163873807, -0.0131090358, 0.0382172987, 0.0133839501, -0.0129163852, -0.0328082778, -0.0074855308, -0.0554651208, 0.0328886695, -0.0116168186, 0.0413621403, 0.0129421363, 0.010145098, -0.041219838, 0.0171823129, -0.0056591518, 0.0167719387, 0.0192480627, -0.0271766763, 0.0155189978, -0.0075541437, -0.0462726541, 0.0127402777, -0.0027922271, 0.0173409171, 0.001070478, 0.0207945593, 0.0150129087, -0.0534685664, -0.0923735946, -0.0042638709, -0.0013173695, 0.0046165287, 0.0166485645, 0.0323710293, 0.0132522201, 0.0075840228, -0.0398774408, -0.0110129723, 0.0315192826, 0.0154994754, 0.0208397117, 0.0091898516, 0.0023420169, -0.0321800932, -0.013010418, -0.0267645232, 0.0663627312, 0.0212669056, -0.0020012788, -0.012968176, 0.0167110357, -0.0295406375, -0.0165739954, 0.0195185486, -0.0287339613, 0.0230031926, 0.0117425472, 0.0339093767, 0.0168771669, 0.025392225, 0.0391067006, 0.0378077514, 0.0293444395, 0.0020879528, -0.0237535387, -0.0574253574, -0.01485785, -0.0022216195, -0.0509907566, 0.0060313814, 0.1163122654, 0.0227784943, -0.0099142492, -0.069268465, 0.0108221108, -0.0254636519, 0.0066707209, -0.0125296144, 0.0363151766, -0.0245217867, 0.0555522405, 0.0003109506, -0.0583248176, 0.0842719674, -0.0378497355, 0.0164041389, -0.0399648584, -0.0147398692, -0.0395529568, 0.0129279774, 0.0249273777, 0.0328523256, 0.0338434801, -0.0016650774, 0.0013108873, 0.0548362434, -0.027227046, -0.0600787476, 0.058004763, -0.0131532205, 0.0079234941, 0.0004734975, -0.045479469, -0.0403303653, -0.0397123098, -0.0112944851, -0.0011760568, 0.0280923173, -0.0203211885, -0.0635671988, 0.0632353649, -0.0190226696, 0.0864360929, -0.0043555354, -0.0205358025, -0.0148545206, 0.0298003517, 0.0543678328, -0.0179420002, 0.0127623314, -0.0327067338, 0.0323493816, 0.0574174896, 0.0111380927, 0.0613100603, -0.0217277016, -0.0117200054, 0.0238863491, -0.0259470567, -0.0151258782, 0.0095113814, 0.0380175151, -0.0284372531, -0.0406489335, 0.1313197911, 0.0309557002, -0.0696261004, 0.0320020355, 0.0149410805, 0.0296738409, -0.0182057582, 0.0113069499, -0.0696822852, -0.0197753571, -0.0179251451, 0.0405357182, -0.0310836099, -0.0191312302, 0.0098425429, -0.0506724492, 0.012068334, 0.0323442034, -0.0288243331, -0.0176071636, -0.039885547, -0.032199651, -0.0252679884, -0.0079475669, -0.0126195196, -0.0207413472, -0.0088224541, 0.0212938115, -0.0326448008, -0.0993488654, 0.0239856523, 0.0003984511, 0.0480163917, 0.0409857482, 0.0125303371, -0.0023264415, -0.0215966627, -0.0126165897, -0.0103065455, -0.0080609052, -0.0064003742, 0.0722238049, 0.0147405351, -0.0096355425, -0.0121219764, 0.0127071915, -0.065692991, -0.0364970565, -0.0408059247, 0.0652967319, -0.0368666649, -0.0483743772, -0.0256949738, 0.0369170122, 0.0123334574, 0.0612745807, 0.0200044941, -0.0346394368, -0.0305246357, 0.0055907103, 0.0488861091, -0.0412166901, -0.0364106074, 0.0148546956, -0.0051982417, -0.0598151274, -0.0689388737, 0.0096752709, 0.0270593334, 0.0006501714, 0.0001643673, -0.0117409658, 0.0078360802, -0.0241725948, -0.0628750175, 0.0463015549, 0.0285872743, 0.0056199422, -0.0840774253, -0.0523709767, 0.0669112504, -0.0178371351, -0.0193988103, 0.0208262652, -0.0790526047, -0.0467003547, -0.0091108121, 0.0612469986, 0.0246416014, 0.0002284583, -0.0031329303, -0.0382644907, 0.0597252734, 0.0506493524, -0.0379990451, -0.0094630886, 0.0113333929, -0.0375412256, -0.0240035206, 0.0318834223, -0.0117478948, 0.0412263982, 0.0057126461, 0.0160935167, -0.0271097198, -0.0394708142, 0.0096472437, -0.014946715, 0.0473687053, -0.0444035046, -0.0161094181, -0.0243690517, 0.0003186208, -0.0228282902, 0.0375971496, -0.0483199321, -0.0123386597, 0.0501878448, 0.0128694363, -0.0239079874, 0.0021542173, -0.0541776717, -0.0017374241, -0.028882945, 0.0433203615, 0.0036485174, 0.0025405129, 0.0697886199, -0.0162670054, -0.0208143722, 0.0111408895, -0.0283139516, -0.008282342, -0.0287247747, 0.0490456522, -0.010229541, 0.0570167266, -0.0057233535, 0.0715529621, -0.0550465547, -0.0070556449, -0.0302505586, 0.0070418199, 0.0153676914, 0.0030828912, 0.0623939298, -0.0299476944, 0.0073838667, -0.0525137894, 0.0625104234, -0.0254498031, 0.0126099139, 0.0390518382, 0.008784947, -0.0081077525, -0.014500984, 0.1157433316, 0.0448824391, 0.040606454, 0.0234305598, -0.0372645333, -0.0323414952, -0.0133468062, -0.0063078767, -0.0129761631, -0.0635253936, 0.0249029752, -0.056047488, -0.0535466708, 0.0423520058, -0.0266145766, -0.0105628548, -0.0245079249, 0.0370555967, 0.0414363481, -0.004971473, 0.0141738886, -0.0527378619, 0.0260742903, -0.0179872327, -0.0214293767, 0.0055682394, -5.815193329e-33, 0.0013091593, -0.0327741466, 0.0304748956, -0.010630792, -0.0004292943, 0.0451101325, -0.0540779084, 0.0207486264, 0.0188963134, 0.0223084688, -0.0057165059, -0.0178482514, 0.0021375592, 0.0683665499, -0.0126319239, -0.0068831062, 0.0369190089, -0.0092529645, -0.0262338612, 0.0626867563, 0.0064384323, 0.0458722748, 0.0341730677, -0.0486017466, -0.0130174318, -0.0125384666, 0.0142594539, -0.0173488278, 0.0048551774, 0.0742932335, -0.0577879101, 0.0463577472, 0.0335912853, -0.0254358333, -0.0097465953, 0.0106166266, -0.0611249432, 0.0229292065, -0.0162923764, -0.026064191, -0.0377377979, -0.0441930331, 0.0341231115, -0.0095085148, -0.027611848, -0.0308626574, 0.0233681519, -0.0345165953, -0.036150679, -0.0567330979, -0.0669527054, 0.054143738, 0.0135912718, -0.036732018, -0.0074034296, 0.0488066003, -0.0416566841, 0.060059201, -0.0316613875, 0.0018530233, 0.0427396372, 0.0369537026, 0.022637967, -0.0058348509, -0.0183205437, 0.0507192425, -0.0098746764, -0.0008039983, -0.035995651, 0.0364449434, -0.0102916015, 0.0349538177, 0.0566983558, 0.0186302736, 0.0112497797, -0.0425677672, -0.0801557899, 0.0203844123, -0.0496568456, 0.0101503776, 0.0434632674, -0.0403804034, -0.0205355939, -0.0166143011, -0.0149018187, -0.039274849, -0.0196870118, -0.0189018548, 0.0189339481, 0.0233766418, -0.0059177489, 0.0170403775, 0.0140936384, -0.0362222493, 0.0125642745, -0.0002257773, 0.0183041524, 0.0203270167, -0.0409684666, 0.0267606974, -0.0551802665, -0.0286300257, 0.045468919, -0.00051541, 0.0294557735, 0.0009227439, 0.0204041637, 0.0060712332, -0.0568008795, -0.0121613238, -0.0052353027, 0.0201867744, 0.0156019218, 0.0686543882, 0.0084735649, 0.0173151661, -0.0004657567, 0.0454988666, -0.0165097378, -0.017113883, -0.0171370935, -0.009082946, 0.0187817905, 0.0334227756, -0.0545576736, -0.0155573655, -0.0410312377, 0.0331278704, 0.0605786406, -0.057875216, -0.0278467406, -0.0230112262, 2.504e-7, 0.1009975076, 0.0506099947, -0.0066455053, -0.0304981712, 0.0359047502, 0.0085844891, 0.0124943182, 0.0319821984, -0.023193581, 0.0181870721, 0.0263085663, 0.0006632344, 0.0721019208, 0.0199922603, -0.0614614077, -0.0074736574, -0.1167287305, 0.0068994001, -0.0262603611, -0.0499971807, 0.0247482024, 0.0962384418, -0.0436293632, -0.0342784375, 0.0200148392, -0.019596586, 0.0842885301, -0.0307121631, 0.001258091, 0.0606720634, 0.0385251082, -0.003601779, 0.0318698622, 0.0008722083, -0.0379905142, -0.0129992897, 0.0005860736, 0.1042594835, -0.0327487923, -0.0088694831, 0.0726980194, 0.0132856863, 0.0071905395, -0.0667925626, 0.0569778085, -0.083219327, -0.0377792865, -0.03286862, 0.0194768962, 0.0128719052, 0.0632525235, -0.0568518378, -0.038833309, 0.0370784923, 0.0419234186, 0.0124497432, -0.0243307073, -0.0486629345, -0.0351016931, 0.0184096061, -0.0612791926, -0.0101059591, -0.0078688571, -0.0330306776, 0.0144720199, -0.0654871613, 0.0118392669, 2.563944197e-34, 0.0354472212, -0.0092445379, -0.025010094, -0.0080164298, 0.009621283, -0.0351369865, 0.0309196319, 0.0085836034, -0.0011768026, -0.0844530538, -0.0110565042 ]
http://arxiv.org/abs/2406.16605v1
http://arxiv.org/pdf/2406.16605v1
CLEAR: Can Language Models Really Understand Causal Graphs?
"2024-06-24T12:46:15"
"2024-06-24T12:46:15"
Sirui Chen, Mengying Xu, Kun Wang, Xingyu Zeng, Rui Zhao, Shengjie Zhao, Chaochao Lu
cs.CL
cs.CL, cs.AI, cs.LG, stat.ME
Causal reasoning is a cornerstone of how humans interpret the world. To model and reason about causality, causal graphs offer a concise yet effective solution. Given the impressive advancements in language models, a crucial question arises: can they really understand causal graphs? To this end, we pioneer an investigation into language models' understanding of causal graphs. Specifically, we develop a framework to define causal graph understanding, by assessing language models' behaviors through four practical criteria derived from diverse disciplines (e.g., philosophy and psychology). We then develop CLEAR, a novel benchmark that defines three complexity levels and encompasses 20 causal graph-based tasks across these levels. Finally, based on our framework and benchmark, we conduct extensive experiments on six leading language models and summarize five empirical findings. Our results indicate that while language models demonstrate a preliminary understanding of causal graphs, significant potential for improvement remains. Our project website is at https://github.com/OpenCausaLab/CLEAR.
[ 0.010703831, 0.05717659, -0.0436084606, 0.0247395728, -0.0448507667, 0.0079951631, -0.0023009873, 0.0070622982, 0.0320881233, -0.0362330079, 0.0555810966, 0.0068286681, 0.0133174565, 0.0425645895, 0.0121066747, -0.0347759314, 0.0451677442, -0.0232002754, 0.0492072664, -0.0123730842, -0.0201138537, -0.011271677, -0.0097598396, 0.02912586, -0.0038981796, -0.0123145049, -0.0115672424, 0.0128215542, -0.0076583815, -0.0311968103, -0.0387519486, 0.0120332846, -0.0182936005, 0.0663544908, 0.0000019765, -0.0413325317, 0.0144955739, 0.00439901, -0.0206545368, 0.0041925958, -0.0302377418, -0.0213333517, 0.0258298721, -0.007109697, -0.0214644261, -0.0235268548, 0.0374640711, 0.0184749365, 0.0035306921, 0.076494813, -0.0225178786, -0.05423804, 0.0213120934, -0.0079840422, 0.0068609067, -0.0096615274, 0.0257416964, 0.0396891162, 0.028538499, -0.0347975157, -0.0716671497, 0.0118498486, 0.0420301445, -0.0177976824, 0.0234781522, 0.0067996527, 0.0411605313, -0.0362710208, 0.0487875454, 0.0732447505, 0.0332140401, -0.0536401495, 0.0175872687, -0.0247178208, -0.0107115963, 0.0807321072, -0.0544933155, 0.0183821749, -0.0005793334, 0.0048512984, 0.0330331884, -0.0054205176, 0.0746935084, 0.0074550565, -0.0341879986, 0.1112205535, 0.0095445029, -0.0010583689, -0.000928984, 0.0078283334, 0.0059922431, -0.0673147216, -0.0147794355, 0.0360304341, -0.0678299963, 0.036018569, 0.0152969593, 0.0124867577, -0.0025611727, -0.0151027413, 0.045528885, 0.0157779101, 0.0329545885, 0.0410334878, 0.0062305438, 0.0439775474, -0.0270302761, 0.0572181158, -0.0069122221, 0.0237149093, -0.0348343141, -0.0125493752, -0.0151872411, -0.011377139, 0.007168191, -0.0109327566, -0.0159007758, 0.0292164311, -0.0190298054, -0.0036091998, -0.0081333425, -0.0340778418, 0.0054671797, -0.0089416075, -0.0177945979, 0.0271832738, -0.059421137, 0.0265837144, -0.0302051306, -0.025791686, -0.0013914059, -0.0085203927, -0.0133348973, -0.0293884985, -0.0315858424, 0.088542141, 0.0549768135, -0.0038542282, -0.0068671647, -0.0400828458, 0.0088544479, -0.0422876254, 0.0203779005, -0.0567703396, -0.0248882771, 0.0640017167, 0.0184057653, -0.0389954299, 0.004303874, -0.0220424477, -0.0718785748, 0.0432574563, -0.0172062367, 0.0418804474, -0.0201132447, -0.0236381274, 0.029058557, 0.0482682735, 0.0356124863, -0.0109846443, 0.0293418951, -0.0104717081, 0.0015648775, 0.0198180117, 0.0071793739, 0.0056980681, -0.0554216318, -0.0337259322, -0.0161497779, -0.0032158254, -0.0274876412, 0.0574569777, -0.0046158703, -0.0188393071, 0.0480790436, -0.0094064577, 0.0009091764, -0.042360004, 0.0544329509, -0.0373866037, -0.0002047872, 0.0355335996, -0.0640355498, 0.0009708633, 0.0048636738, -0.0019370323, -0.0199594237, -0.0594607219, 0.0092056692, -0.0506550111, -0.0429000482, 0.0074698497, 0.0469465889, -0.0121051557, 0.0743290856, 0.0341398232, -0.0168230012, -0.011188685, 0.0181327369, -0.0425803624, -0.0026386369, 0.0034230917, 0.009131155, 0.0466738418, 0.0713527948, -0.0258734953, -0.0075975955, 0.0173397064, 0.0182866007, 0.0004182023, 0.0805356055, -0.0030267695, -0.0221666787, -0.0131581472, -0.0191215239, 0.0030118804, 0.0260770153, 0.0051311511, -0.0052877017, -0.0178610217, -0.0168594848, -0.0567710251, -0.0439894609, 0.0223131645, -0.0300045814, 0.0263488051, -0.0542742945, 0.002298387, 0.0268842857, 0.0168529153, -0.0323686115, 0.0493211299, 0.0207081884, -0.0253076125, -0.0289362688, 0.0825849026, -0.0286199469, -0.0063787471, 0.0325328186, -0.0607401878, -0.023482943, 0.0549938343, 0.0017149682, -0.0549741611, 0.102738969, -0.049807217, 0.031579338, 0.0183850415, 0.0216170531, -0.0416039824, -0.0213404913, -0.0080211787, 0.0801521167, 0.0209269654, 0.0593183711, 0.0058015208, 0.0274680331, 0.0439599827, -0.0109767681, 0.006443609, 0.014463882, 0.0089157131, -0.0144983605, 0.0656187385, -0.044646129, -0.0409654044, 0.008766125, -0.0564391874, -0.0180102084, -0.0094635962, 0.0086806724, 0.0187642239, -0.0038911824, 0.0119819501, -0.0149627933, -0.0036923829, 0.0476513095, 0.0084280344, 0.028791029, 0.032395307, -0.0366104767, -0.0376333334, -0.034584526, -0.0285733864, -0.0751224235, 0.0582111962, 0.0567962788, -0.0420259684, 0.0129674962, -0.0043448242, -0.0186069421, 0.0099771041, -0.038506411, -0.0047742175, 0.04737968, -0.0171116758, 0.0151721006, 0.0466551259, -0.0195963476, 0.0332173295, 0.0424224176, -0.0311754253, -0.0361250974, -0.0145277595, -0.0341357626, 0.0242009908, -0.0612046868, -0.060346134, -0.0424987413, 0.100687474, 0.0005400717, -0.0274659451, -0.0469996855, -0.0022163717, -0.066930674, -0.0014636472, -0.0177078675, -0.0315099955, -0.0277495384, 0.0413915068, -0.0537296943, -0.0614606887, 0.0548679493, 0.0184673145, 0.0078947311, 0.0255998448, 0.0155822672, -0.0590358116, 0.0956993178, 0.0851670206, -0.000766982, 0.0177009348, -0.0379585177, -0.0620361716, -0.0064878482, 0.0569763444, 0.0191932563, 0.0014212163, -0.065063484, 0.0378991179, 0.0036812788, -0.0130317286, -0.0239089634, -0.0094948979, -0.0291026402, 0.0183128789, 0.0120536871, -0.022035649, -0.0048552291, -0.0046311435, -0.0045811059, 0.0054165805, -0.0210146885, 0.0137281679, -0.0533510931, -0.0196315385, 0.0430238731, -0.0441951305, 0.0390131585, -0.047618933, 0.0078508472, 0.0157589689, -0.0012067605, -0.0001638681, -0.0267385952, 0.0132071516, -0.014320109, -0.0223637242, -0.03696106, 0.0032811693, 0.044587709, -0.0412778705, 0.018985685, 0.0905955508, 0.0480117202, -0.0174969956, 0.0450715385, -0.0122768134, 0.0095496159, 0.0744096413, -0.0219764393, -0.0911397487, -0.0200532228, 0.0209323484, -0.0235038679, -0.0128960786, -0.0649867356, -0.0092035076, -0.0606899261, -0.0060401754, 0.0096379556, -0.010547583, 0.0133292014, -0.0492520221, -0.0043260856, 0.0086776596, -0.0342014469, -0.0173067674, -0.01716334, 0.0139674339, 0.0012039518, -0.0022706399, 0.005862671, -0.0024223051, 0.0075225472, 0.0419065543, -0.0102957357, 0.0382218286, -0.0300605632, 0.001914422, 0.0497077517, 0.028788412, -0.0129227014, -0.0125509202, 0.0093308836, 0.0697513297, -0.0162329189, -0.0181941036, -0.0106721753, -0.0350093879, -0.0361067355, -0.0190991517, 0.0842137262, -0.0195459276, -0.0888964534, -0.022072874, -0.0056561306, -0.0381927751, 0.0492773764, 0.0598832406, 0.0099092005, -0.0859320164, -0.0454609431, 0.0060861618, -0.0426277332, -0.0628218651, -0.0151874041, 0.0434474945, -0.0349639878, -0.0252327807, -0.0428998061, -0.014404906, -0.0147345578, 0.0237544738, 0.0028318316, 0.0369484164, -0.0558074936, -0.058090236, 0.0273249988, -0.0292608682, 0.0522612631, -0.03361018, -0.0216680784, -0.0381777138, 0.0028085308, -0.00913445, 0.0170733631, -0.033298824, -0.0809752345, 0.0109237228, -0.0086568641, 0.0303851143, 0.0189505797, -0.0212709289, -0.0501322262, -0.0427441075, -0.01443356, -0.0082091754, 0.0215361286, 0.0492244847, -0.0409387834, 0.0100788558, 0.0589686744, -0.0397303328, 0.0378437564, 0.0067814682, 0.0433931351, -0.0402542315, -0.0059970841, 0.0227343943, 0.0427189581, 0.0339391232, 0.0421211012, 0.0010060035, -0.037110094, -0.0220788531, -0.0445734933, -0.0479508378, -0.0125095211, -0.0076872702, 0.0058441758, 0.0257319137, -0.0190398116, -0.0500030555, -0.0316936597, -0.0116382008, 0.0020740146, 0.0262154639, -0.0033185864, 0.0168350767, 0.0475794785, 0.0071038697, 0.006551953, 0.0458908565, -0.0152923241, 0.0281785764, -0.0072487937, 0.0223413017, 0.0451477133, 0.0137864891, -0.030136304, -0.0628573522, -0.0929820463, -0.0359410271, 0.0797551498, -0.0323754586, 0.0751543343, -0.0062450143, 0.0725469887, -0.0462650172, 0.0118059926, -0.0057904259, 0.0345007256, 0.0635673478, -0.0305721238, 0.0184749402, 0.0279884879, -0.0172661804, 0.0178433489, 0.0672657043, 0.0415654667, 0.0462534167, 0.0083107734, -0.015810607, -0.0130876265, -0.0499777049, -0.0116654718, 0.0196213331, -0.0103730354, 0.0366412774, -0.0964932218, -0.0713716447, -0.0183167849, 0.0083147697, 0.0292035975, -0.0259693135, 0.0151932165, 0.0135975983, 0.0150779104, -0.020733159, -0.0355537087, 0.0474813953, -0.0402958021, -0.0000242118, 0.0171584468, -6.200176545e-33, -0.0131585505, -0.0587992221, 0.0220121965, 0.0131784426, 0.0106657017, 0.0090122027, -0.1036904007, 0.0218794309, -0.0478287004, 0.0646610931, 0.0052479049, 0.0468827747, 0.007327015, -0.0051084007, 0.0010775826, -0.0034715594, 0.0171283502, 0.0092551326, -0.0199006367, 0.0119148232, 0.0455236062, -0.0151933767, 0.0209093336, -0.0587804019, 0.0541497879, -0.0096802507, 0.0133916745, 0.0166697148, -0.0509739369, 0.0251257494, 0.0121328318, 0.023955876, 0.0459604822, -0.0317681506, -0.0149157653, 0.0136170397, -0.0469579212, -0.0658303872, 0.0747257024, 0.0372939892, -0.0945067257, -0.0419706516, 0.0538313277, -0.0072041997, -0.004804628, -0.0113100698, 0.043068964, -0.0017987405, -0.028908981, 0.0338827483, -0.0602066256, 0.0229649916, -0.0413524397, 0.0209224056, -0.0011723015, -0.0112003842, -0.0090454966, 0.0000807075, 0.0092357136, 0.0464665033, -0.0198634006, -0.0060542934, 0.0126112988, 0.0145967631, 0.0289945453, 0.0675656274, -0.0140327513, 0.032584358, -0.0092941392, 0.0400242545, 0.0225183722, 0.0490485691, 0.0418049768, 0.0050892979, 0.0139431367, -0.0057520852, -0.0929838717, -0.0398834758, 0.0401313566, 0.0141595434, 0.0060339808, 0.0027428837, -0.0307198483, -0.0493224189, -0.0587662496, -0.0267657395, -0.0314888544, -0.0022105325, 0.0049990029, -0.0249258205, 0.0119909598, -0.0325587615, 0.0000984573, -0.0749921203, -0.0231133141, 0.0746539086, -0.0254728869, 0.0250942335, 0.0148363439, 0.0182271954, -0.0409893095, -0.0196669754, -0.0307036731, 0.026899118, 0.0446261577, 0.0139363827, 0.0338982567, -0.0086623523, -0.0062749479, -0.0061753592, -0.0473666489, -0.0510931313, -0.0120753553, -0.0294626858, 0.0624881014, 0.0453133173, 0.0064946758, 0.0386661254, 0.0455241911, 0.0288830567, -0.0135241169, 0.029135434, -0.0348644666, 0.0224586278, -0.0255088452, -0.0552092493, -0.0482058525, 0.0815470666, 0.0686239824, -0.0470248014, -0.0298657566, -0.0063155475, 2.593e-7, 0.0856524408, 0.0641196594, 0.030973075, 0.0892652497, 0.0703870058, 0.0145001672, -0.0128268283, -0.0053730304, -0.0239478797, 0.0291985273, 0.0002495099, 0.0278240833, 0.0225337464, 0.0094966954, -0.0419230312, 0.0262150392, -0.0503868274, -0.0087293433, -0.0223373845, 0.0300140474, 0.0267973449, 0.0164996851, 0.0434805341, 0.0361126326, -0.0278255939, -0.0344051309, 0.03175864, -0.0195756294, 0.0235933941, 0.0044070892, -0.0245399587, -0.0173194744, 0.0065413811, 0.029605817, 0.0049795308, 0.0084725479, -0.017451115, 0.0195076931, -0.0162620395, 0.0146357678, -0.0296890642, -0.066105485, 0.015375074, -0.0423772372, 0.0739610791, -0.017621696, -0.0754995942, 0.0384462588, -0.0087390272, 0.0096370159, 0.0109340455, 0.0408162549, -0.0206106603, 0.0132011781, 0.0042676046, -0.0042283293, -0.0011884862, -0.0532733984, -0.0614311658, -0.0031599679, 0.0127960742, -0.0598422624, -0.0301070493, 0.0238079317, -0.0081522828, -0.0059276242, -0.0116740847, 2.582871722e-34, 0.0510280207, 0.0097404364, 0.0167990122, -0.0573525466, 0.0339734517, -0.0584866032, -0.0358219184, 0.051911816, 0.0522817783, -0.0804187655, -0.0284773167 ]
http://arxiv.org/abs/2406.16567v1
http://arxiv.org/pdf/2406.16567v1
Data Augmentation of Multi-turn Psychological Dialogue via Knowledge-driven Progressive Thought Prompting
"2024-06-24T12:02:56"
"2024-06-24T12:02:56"
Jiyue Jiang, Liheng Chen, Sheng Wang, Lingpeng Kong, Yu Li, Chuan Wu
cs.CL
cs.CL
Existing dialogue data augmentation (DA) techniques predominantly focus on augmenting utterance-level dialogues, which makes it difficult to take dialogue contextual information into account. The advent of large language models (LLMs) has simplified the implementation of multi-turn dialogues. Due to absence of professional understanding and knowledge, it remains challenging to deliver satisfactory performance in low-resource domain, like psychological dialogue dialogue. DA involves creating new training or prompting data based on the existing data, which help the model better understand and generate psychology-related responses. In this paper, we aim to address the issue of multi-turn dialogue data augmentation for boosted performance in the psychology domain. We propose a knowledge-driven progressive thought prompting method to guide LLM to generate multi-turn psychology-related dialogue. This method integrates a progressive thought generator, a psychology knowledge generator, and a multi-turn dialogue generator. The thought generated by the progressive thought generator serves as a prompt to prevent the generated dialogue from having significant semantic deviations, while the psychology knowledge generator produces psychological knowledge to serve as the dialogue history for the LLM, guiding the dialogue generator to create multi-turn psychological dialogue. To ensure the precision of multi-turn psychological dialogue generation by LLM, a meticulous professional evaluation is required. Extensive experiments conducted on three datasets related to psychological dialogue verify the effectiveness of the proposed method.
[ 0.0719346032, 0.0596352667, -0.0197616741, 0.0315832123, -0.041193679, 0.0074941618, 0.0211551376, -0.0401053615, 0.020204084, -0.0421119109, -0.0377275534, -0.0218656939, 0.0003004638, 0.0464774668, 0.0407917798, -0.0898854807, 0.0654594079, -0.0091315825, 0.0272326898, -0.0137726068, 0.0120475823, -0.0090593817, -0.0503739528, 0.0269248411, -0.0271866955, -0.0191900302, -0.0496715494, 0.0061359396, 0.0177167896, -0.0592747107, -0.0138455406, 0.0336154923, 0.0303861927, 0.0153842894, 0.0000019778, -0.0441241637, 0.0204058737, -0.0142152365, -0.041019205, -0.0146375187, 0.0349851921, -0.0114533892, 0.0188265759, 0.0199189819, -0.0416938439, -0.0130379964, 0.0252893157, 0.0981883854, 0.1112341434, 0.0810210705, -0.0082632676, -0.0161456671, 0.0262936521, -0.0055300528, 0.0038637156, 0.001249869, 0.0181792919, -0.0050526303, 0.0039944155, 0.0175760854, -0.0169158522, 0.0186802428, 0.0109703559, -0.0290048067, -0.0075378479, 0.0089343032, -0.0242650826, -0.011808712, -0.0279659443, 0.0891341567, 0.0462622792, 0.0357999317, -0.0001953983, -0.0190884899, -0.0123436572, -0.0382109731, -0.0394672342, 0.0182747394, 0.0083373087, -0.0077646603, 0.0158557892, 0.0240124613, -0.0291390568, 0.0228909086, -0.0422821902, 0.0555825047, -0.0096551757, -0.0559529476, -0.0034016573, 0.0059465533, 0.0008841458, -0.0736768916, -0.0012476173, 0.0139624644, -0.0509438217, 0.0352395438, -0.0262191091, -0.0136982035, 0.0190859791, 0.0084802201, 0.0125151556, 0.0420715995, -0.0330219865, 0.0115155131, 0.0163420122, 0.0440942869, -0.0269240588, 0.0124890562, -0.0482726097, 0.0025390289, -0.0323622935, 0.0017301467, -0.0340468735, 0.0324696265, -0.0303121787, -0.0456275903, -0.0404062271, 0.0630472302, -0.0159004666, 0.0187354144, -0.0203900728, -0.0002454734, -0.0098389331, 0.0023668574, -0.0377959237, 0.0452591032, -0.0286878776, 0.0209306087, 0.0505420454, -0.0541767888, -0.0143334083, 0.0309256744, 0.0061728014, -0.0003691891, -0.0024769818, 0.0245582461, -0.0327018537, -0.01037437, -0.032198891, -0.0501406565, -0.0334163532, -0.0450837798, -0.0095609557, -0.0099872481, 0.0537626669, -0.0122507308, -0.0350784212, 0.0200329404, 0.0430754013, 0.0042490931, -0.0362321325, 0.0470187403, -0.0549527258, 0.0091211526, 0.0359307677, 0.0125496881, -0.0445224121, 0.05720485, 0.0518112816, -0.0290795621, 0.0202762056, 0.0025161938, 0.0068098004, 0.0293828771, 0.0046355538, -0.0224016327, 0.0224529691, 0.0128381746, -0.0134247281, 0.0673152953, 0.0179025531, 0.0546928942, -0.0554090105, 0.0189158712, 0.0555759594, -0.0009078557, -0.001678183, 0.0253075808, 0.0377570912, 0.0316305757, 0.0105713774, 0.0434979126, -0.0304792374, 0.003409262, -0.0342141278, 0.0195835792, 0.0540664382, 0.0232456475, -0.0206840932, -0.037554957, 0.0435635485, -0.0004997726, 0.038049221, 0.0257158671, 0.009249337, 0.0079767583, -0.0364692062, 0.0023586063, 0.0145355379, -0.0463095531, -0.0302502476, -0.0359801278, 0.002041149, 0.0830144584, 0.0572125427, -0.0121607622, -0.0643838048, -0.0404554233, -0.0198983159, 0.0659568459, 0.0295093916, -0.0146243116, 0.0075385068, -0.0619291328, -0.0151671823, 0.0015131758, -0.0210188963, 0.0089115901, -0.017061647, 0.0097141936, 0.0124334125, 0.0543554351, 0.0396917425, 0.0122764027, -0.0135222171, 0.0086189769, 0.0220478959, -0.0086512035, 0.0387724563, 0.0472730398, -0.0216748957, 0.0132201742, 0.0408431515, -0.0202236157, -0.0330335982, 0.037010666, -0.082375586, -0.1227412224, 0.0247006323, 0.0103941057, 0.0165821146, -0.0259726215, -0.0211955514, -0.0786226913, -0.001851756, -0.0417768322, 0.0470487922, -0.0298170932, 0.0384550132, 0.0365016758, 0.0325521603, -0.0265658032, 0.035998635, -0.0046651149, 0.0228235833, 0.0687013492, 0.0469618924, 0.0132977823, -0.0640398562, 0.0073922658, 0.0195021033, 0.0078312168, -0.0159142073, 0.00363324, -0.0220680293, -0.0733698308, -0.0304821488, -0.1244290844, -0.0109098619, 0.013083322, -0.0205678362, 0.0098914038, 0.0083116069, -0.031019045, -0.0125632277, -0.0608645193, 0.0011583959, 0.0689856708, 0.0286198221, 0.0225714203, 0.0319795087, -0.0273201242, -0.021722395, 0.0301537253, 0.0022373807, 0.0285220686, -0.0150108002, -0.0198740587, -0.0567568317, 0.0308188815, -0.0506668687, 0.0307458173, -0.037050534, -0.0496391654, 0.0157853328, 0.017043611, 0.0838759616, 0.0382693149, 0.0632543564, -0.0432325266, 0.0035973391, -0.0465315618, -0.0583124608, 0.0293553248, -0.0064672395, 0.0120784594, -0.008302236, -0.0022158986, 0.0322401635, 0.0128461067, 0.0504284352, 0.0245466363, -0.0260507837, -0.0226495806, 0.036780905, -0.0479246154, 0.0126670599, -0.0325702056, -0.0472145192, 0.0273716152, -0.0043180343, -0.0066981236, 0.0748533309, -0.0401063338, -0.0410332456, -0.0473994203, -0.009718081, -0.0173246432, 0.0380260572, -0.0049113357, 0.0157767981, 0.0069949464, 0.0022209499, -0.0330367684, -0.001225248, -0.0095582576, -0.048664175, 0.0345486365, -0.0395951122, -0.0082094744, 0.0068280241, -0.0264064744, -0.0931492969, -0.0637673065, -0.004207362, -0.0249377172, 0.0330169126, -0.0076576164, 0.0039597941, -0.02099072, 0.0658015609, 0.0526138395, -0.021199625, -0.0103073679, -0.0256256461, 0.0231315214, 0.0517324805, -0.0008831508, 0.0076739038, -0.0233931616, 0.081766732, 0.022671992, 0.0000391664, -0.0057735066, -0.013881444, -0.0039207675, -0.0059730657, 0.0132803172, -0.0159520805, 0.0090718716, 0.0469248854, -0.0350280143, -0.0154172014, 0.115740709, 0.0327473283, -0.0532999374, -0.0043136543, -0.0201321226, 0.0050539519, 0.0114840092, 0.0175874755, -0.0951839089, -0.0014497858, -0.0144055793, 0.0160093252, -0.0577268675, -0.0317420848, -0.02305918, -0.1053927988, 0.042814672, 0.0027496556, 0.010439558, -0.0260003079, 0.0046780529, 0.0036718615, 0.0286264066, 0.0092396578, 0.0063429787, 0.0296717752, 0.0133518148, 0.0186475832, -0.0398316532, -0.0485781506, 0.0103016188, -0.0016780297, 0.0774581581, 0.0442900062, 0.0248546042, 0.0377940871, -0.0439553708, -0.0367241129, 0.0099968761, 0.0159477927, 0.0020239879, 0.0675681531, -0.0089736832, -0.001458653, -0.0259629041, 0.0481244326, -0.0092530428, -0.024304172, 0.0431593433, 0.0407896377, -0.0677103698, 0.02430664, -0.0066335318, 0.0646949634, 0.0410151891, 0.082629241, 0.0146242259, -0.0593058653, 0.0207914207, -0.0044461731, 0.0084530134, -0.0351591557, 0.0056494935, 0.0011129394, 0.0059761428, 0.0420289002, -0.0800325722, -0.0483079702, 0.025022503, 0.0180650819, -0.0257818047, 0.0025521596, -0.0034278505, -0.0178792998, -0.0180512946, -0.0124995047, -0.0143603459, 0.0066392072, -0.0315536447, -0.0507694297, 0.0703852624, -0.0511135124, -0.0002419465, 0.0322887562, -0.0588282123, -0.0579853579, 0.0096972771, 0.0348214731, 0.0164367631, 0.0768396929, 0.0331861004, 0.0051337588, 0.0210020468, 0.0145188356, -0.0412024148, 0.0005645118, 0.0147977443, 0.1136350855, -0.0092137624, 0.0073188255, -0.0043100812, 0.0234110896, -0.0129418885, 0.0260393899, -0.0625116229, -0.0939532816, 0.0202197954, 0.0188125446, 0.0343110487, -0.0129997125, 0.0128329042, -0.0155544905, 0.0218050666, -0.0531143695, -0.0355215333, -0.0684543177, -0.0089765033, 0.0122388955, -0.0353040248, 0.0129853785, -0.0696056336, -0.0568425059, 0.0006848566, -0.0432162434, -0.0203543138, 0.0051437342, -0.0091841575, 0.0055798911, -0.0013965731, -0.0310660079, -0.0060407845, -0.0056388555, 0.0171898883, -0.0029628, 0.1446856558, 0.0270562377, -0.0491177998, 0.0151440827, 0.0330792554, -0.0696137697, -0.0349629596, -0.005239401, 0.0158496872, 0.0218457077, 0.0486344807, 0.0443327501, -0.0230594166, 0.0230215993, 0.0045773084, 0.0535300635, 0.0064715841, -0.0598433502, 0.0481462926, 0.011022768, -0.0281107724, 0.014166778, 0.0585488379, -0.0606233515, 0.0274635162, -0.0098607037, 0.0055472204, -0.0744132102, -0.0135398926, 0.001847306, 0.0581739098, -0.0012426755, 0.032019075, -0.0506300777, -0.0214558467, 0.0152153857, -0.008943419, 0.0058232537, -0.0443899371, 0.0507060103, 0.0153375091, -0.0164864026, -0.0218321215, -0.0340630673, 0.0433344766, -0.0005250659, -0.0160717051, -0.0600628406, -5.827417368e-33, -0.0385927372, -0.0092964638, 0.0322284289, 0.0116204582, -0.0982316434, -0.024973372, -0.0408681445, 0.016694976, -0.005901176, 0.0021847575, -0.0124532385, 0.0009554559, 0.0048149452, 0.0629861951, 0.0074061798, -0.0110358987, 0.0420969203, -0.0158585943, -0.0201366283, 0.0328322127, 0.0218078718, 0.0166792944, 0.0199357495, -0.0932375863, 0.0066921641, -0.0293170009, -0.0265196916, 0.007225133, -0.0072073033, 0.0452580638, -0.0234617293, 0.0375945941, 0.009130897, -0.0460834987, -0.0329639167, 0.0355849527, -0.0089233033, -0.0235608537, 0.0391375944, 0.0186539572, -0.0491650701, 0.0007972977, -0.0092346407, -0.044827383, 0.0272606742, 0.0189383458, -0.0169389229, -0.0479587503, -0.0058924239, -0.0086172549, -0.03721039, 0.0017702252, -0.0178244691, -0.055232361, -0.0323908888, 0.0679092854, 0.0095549487, -0.0373550169, -0.0544638894, 0.0303575192, 0.0446302146, -0.0125422375, 0.0291413963, 0.0401485972, 0.0130529776, 0.0489867851, 0.0223079734, 0.0092774527, -0.0216579568, 0.026873894, -0.0077895317, 0.0204600897, 0.010625218, 0.0583713353, -0.0168468524, 0.0080566853, -0.0079416167, -0.0128381653, 0.0745175332, -0.0256594047, 0.0292671714, -0.000521175, -0.0068506715, -0.0400206298, -0.0328815877, -0.0039395662, -0.0017540555, -0.0277272593, 0.0347517505, 0.0492624268, 0.0041142311, -0.0070764762, 0.0402189456, -0.0183562469, 0.0171691366, 0.0168143958, -0.0556335002, 0.0423525423, -0.010903745, -0.0225625541, -0.0415616184, -0.0258222986, 0.0771425366, 0.0199842658, 0.0140753845, 0.0250249431, -0.0017016169, 0.0025988179, -0.058646623, 0.0022780516, -0.0106620844, 0.0659793839, -0.0431251116, -0.0201957989, -0.0111742588, 0.0198418275, -0.054101564, 0.0563397147, -0.0031649296, 0.0032424019, -0.0297092646, -0.0357032008, 0.0231690109, 0.0352959596, -0.0445869565, 0.0288621504, 0.0146631468, -0.0474930815, 0.0110489996, -0.0152292605, -0.0035829761, 0.0034563597, 2.698e-7, -0.010342584, 0.0411129855, 0.0176657382, 0.0234336369, 0.0352912471, 0.0256922133, -0.0145103037, -0.0046580015, 0.0535105616, -0.031947989, 0.0297304131, 0.0116955396, 0.0410212539, 0.0012840136, -0.0709907636, -0.0484803766, -0.0270834025, -0.0451911613, -0.0608581677, 0.0119519485, 0.1302087009, 0.0563397594, 0.0029672794, 0.0163865499, 0.0071320911, 0.0250054337, 0.0662117004, -0.0116162645, -0.0292557292, 0.0204948634, 0.0490103289, -0.0114636645, 0.0039241733, 0.0589328557, 0.0103707705, 0.0371047147, -0.027736906, 0.0409444682, 0.0000566442, -0.0300945807, 0.0068681608, 0.0229492281, -0.0085585564, -0.0404860489, 0.0538956709, -0.0592663586, -0.0210513473, -0.0164603759, -0.0449222401, -0.0106220711, 0.0284824912, -0.038033288, -0.0435303859, 0.0200057253, 0.0220215358, 0.0033439912, 0.011113503, -0.0659032241, -0.0047143055, -0.0056462744, -0.0746032223, -0.0358766541, -0.0154417222, -0.0230308808, 0.0084106717, -0.0534733012, 0.0042646294, 2.542764636e-34, 0.0226563793, -0.0080320816, 0.0305208713, 0.0084153758, 0.0240704566, -0.004973141, 0.0204298776, 0.0187731218, 0.022055883, -0.0928599909, -0.0193787944 ]
http://arxiv.org/abs/2406.16563v2
http://arxiv.org/pdf/2406.16563v2
Are there identifiable structural parts in the sentence embedding whole?
"2024-06-24T11:58:33"
"2024-07-02T14:14:48"
Vivi Nastase, Paola Merlo
cs.CL
cs.CL, 68T50, I.2.7
Sentence embeddings from transformer models encode in a fixed length vector much linguistic information. We explore the hypothesis that these embeddings consist of overlapping layers of information that can be separated, and on which specific types of information -- such as information about chunks and their structural and semantic properties -- can be detected. We show that this is the case using a dataset consisting of sentences with known chunk structure, and two linguistic intelligence datasets, solving which relies on detecting chunks and their grammatical number, and respectively, their semantic roles, and through analyses of the performance on the tasks and of the internal representations built during learning.
[ 0.0042067119, 0.0071805934, -0.0376779586, 0.0555286147, -0.0440059751, 0.0222668108, -0.012679182, -0.0325595737, -0.0356692895, -0.0541698262, -0.009510085, 0.0087258909, 0.0040889625, -0.0146134719, 0.030531114, -0.040276587, 0.0415088609, -0.0059243799, 0.0136564942, 0.0282580089, 0.0131196678, -0.0408051051, 0.0042856708, 0.0385275744, -0.0275463518, -0.0058739516, -0.0070586833, -0.0522850752, 0.006981716, 0.0083735185, 0.0200427175, 0.0203643832, -0.0005622286, 0.0137738418, 0.0000016225, -0.0014809063, -0.0025363967, -0.0324237831, -0.0352043584, -0.0097977621, 0.0053765373, -0.0618171059, 0.0006800204, -0.0069870036, -0.0251997467, -0.0012101654, 0.0242593084, 0.1042966843, 0.0371635072, 0.0604160167, -0.0151298335, -0.042692218, 0.0458022095, 0.0149814077, 0.018931916, 0.0123597588, 0.0232053772, -0.0199066997, -0.0195355099, 0.0332839154, -0.0630806237, 0.0199139006, 0.0512771271, 0.0050714361, -0.0144654587, 0.0364005603, -0.0263599902, -0.0223708544, -0.0057362113, 0.0259809848, -0.0054942574, -0.0006250983, -0.0174719524, 0.0108853588, 0.0361303128, 0.019124046, -0.0676946416, 0.0797515512, 0.0296990331, 0.0356355309, 0.0434420109, 0.018967852, -0.0150037427, -0.0426811725, -0.0496734306, 0.054676041, -0.0002822872, -0.0743345469, -0.0149129741, 0.0182249602, -0.0125345131, 0.0048638126, -0.005090659, -0.0004040256, 0.0088477684, 0.0239280406, -0.021924803, -0.0257736612, -0.0112077715, -0.033097893, 0.0176178869, 0.0326765962, -0.0072840867, 0.0271454062, -0.0646258444, 0.0906075463, -0.0222935472, 0.0546723045, -0.0436911583, 0.0158185363, -0.0653486699, -0.0603556931, -0.0354127176, 0.0743436888, -0.015156487, -0.0489357635, -0.0202689487, 0.0189134665, -0.0000973081, 0.002108627, -0.0219102856, -0.0000670065, -0.0109167323, 0.0373168811, -0.028505329, 0.013570182, -0.0323923752, 0.0186180584, -0.0009092028, -0.0162299573, -0.0275775827, 0.0197409615, 0.023464594, -0.014132008, -0.0453550108, 0.0131357173, -0.0295088999, -0.0482957587, -0.0181591399, -0.0505438782, -0.0380609445, -0.0431565419, 0.056464985, -0.053073559, 0.0255987607, -0.0018732214, -0.0014707496, -0.0081953658, 0.0005797906, 0.038205944, -0.0268780347, 0.0529524013, 0.0526212715, -0.0087773977, -0.0227555539, 0.0183384735, 0.0633335635, 0.0687865242, 0.0272830371, 0.0146939186, 0.0211398434, -0.0196701139, 0.0090011638, 0.0198659655, -0.0167679321, -0.0331190638, -0.009503684, -0.0209502857, 0.0508443005, -0.0013168068, -0.0074264514, 0.0429090075, -0.0157546774, -0.001210017, 0.0453280583, 0.0668692514, 0.0446608104, 0.0070658033, 0.0436303131, 0.0094143152, 0.0100180544, 0.0781167969, -0.0250143707, -0.0077017443, 0.0069245272, 0.0110088456, -0.0324625224, -0.0097927852, -0.0192634519, -0.0310075544, -0.0338786654, -0.0214504171, 0.0136160869, -0.0563627966, 0.0444772989, 0.0199227966, -0.041016683, 0.0706928447, 0.0055192919, -0.0570916496, -0.0232395399, 0.0237090904, 0.0026465673, -0.0094804233, 0.010700006, -0.0101807676, -0.0217039064, -0.0002714166, 0.0098937582, 0.0442648754, -0.0147743896, -0.0028412726, -0.0028248075, -0.0402204506, -0.0031495551, -0.0370529853, 0.0229065288, -0.0439861342, -0.0015907243, -0.0237258505, -0.009527293, -0.0063031591, 0.0178695153, 0.0530675873, -0.0231244229, -0.001720166, -0.0245057382, 0.0315616131, 0.0178255066, -0.0169222336, 0.011286336, 0.02093146, 0.0383961424, -0.0705116317, -0.0597209856, 0.0622611307, -0.0580040142, -0.0788709521, 0.0151487961, -0.0799111575, 0.0016240495, 0.0245471336, -0.0098796887, -0.0206267554, 0.0161057729, -0.0776156113, 0.0219616164, 0.002681995, 0.0246099569, 0.0141750695, 0.0510443896, -0.0284519773, 0.0738417208, -0.0254317857, 0.0558405966, -0.0400999412, -0.0261590444, 0.0322799794, -0.0221336521, -0.0187306181, -0.0053493613, -0.0344855338, -0.03249247, 0.0141246747, -0.040990375, -0.0350903571, -0.043425113, -0.0547565147, -0.007669175, 0.0094316946, 0.0245143175, 0.0203769393, -0.0134831527, 0.0093242908, -0.0059507401, -0.0122260479, -0.0249791816, 0.0064905249, 0.0110830339, 0.0465237722, -0.0016715958, -0.0399770103, -0.0176072177, -0.0161633659, -0.0756562799, 0.0774459913, -0.0049334988, -0.0263417158, -0.0616819113, 0.0092388121, 0.0028618469, -0.0174333081, -0.0209863875, -0.0920982286, 0.015571706, 0.0104285702, 0.0837135464, 0.0777129754, 0.002155009, 0.0688203573, 0.0437001921, -0.0155364117, 0.0063355523, 0.0123876557, -0.0634070709, 0.0639243051, -0.0465037487, -0.0369520746, 0.0192178898, 0.1138662919, 0.0271159094, 0.0077839354, -0.0399749801, 0.0295728724, -0.0359021574, 0.0033807058, 0.0006012396, -0.0056659654, -0.0333608314, 0.0131870881, -0.0302905552, -0.0115256757, 0.0578752719, -0.004583281, -0.0258589275, -0.0435437188, -0.0234854035, -0.0538633093, 0.0556296781, 0.0417500436, -0.0016106571, -0.0055601643, -0.0255236626, -0.060598366, 0.0442371033, -0.0029783011, 0.0183577668, 0.0224507209, 0.0009285137, -0.0332315937, -0.0272480715, -0.047821749, -0.0214496739, -0.0348998159, -0.0241593663, 0.0280368328, 0.0535572171, -0.0056176679, -0.0579224974, -0.0102400137, 0.0526189394, -0.0096298568, -0.0355901718, 0.0075475699, -0.0570722111, 0.0355903208, 0.0259964149, 0.0382558256, 0.000220852, -0.0503010601, 0.0558032356, 0.0354005806, -0.0028642181, 0.0438103117, -0.0260740519, 0.0067856167, 0.0199886654, -0.0264371764, -0.0105140042, 0.0007087256, 0.040179342, -0.0299414936, -0.0282249115, 0.101741299, 0.0439574756, 0.010422878, 0.0248422287, -0.0073980526, 0.007921394, 0.0350747295, 0.0114508271, -0.1004424766, -0.0254883058, 0.0203001462, -0.0654442534, -0.0122122625, -0.0185818076, 0.0069665415, -0.0995233059, 0.0330307595, -0.020141121, -0.0224210713, -0.009513706, -0.0010609288, -0.0167296324, 0.0330912508, -0.0262467936, -0.0385696366, -0.0426002033, -0.0124634225, 0.0192360636, -0.0540411063, -0.0101161972, -0.0335206315, -0.0271996018, 0.0129261138, -0.0094182361, 0.0306197796, -0.0211333409, -0.02827207, 0.0271382332, -0.0108582275, 0.0004009992, 0.0228367038, 0.0705236942, 0.0062450129, -0.0159563981, -0.0324213244, 0.0101781413, -0.0388193652, -0.0274720974, 0.0077718715, 0.0939298049, -0.0085909059, -0.0443718992, -0.0069975187, 0.0293419454, -0.058926627, 0.1002765298, 0.0619775392, -0.0301817078, -0.0275359508, -0.0390826017, 0.0354060829, 0.0034698988, -0.0369494893, 0.0717318431, 0.0301624909, 0.0282916203, -0.0827328041, -0.0612068735, 0.0430132449, 0.0215694346, 0.0226754341, 0.0002969918, -0.0009202232, -0.0214193221, -0.0350182578, -0.004052015, -0.0138390288, -0.01688198, -0.0622796044, 0.0276273489, 0.0044493261, -0.0130185168, -0.0418216921, -0.0428060032, -0.0525986739, -0.0424253382, 0.0272359252, 0.0161088482, 0.0096311113, 0.0214798748, 0.0131951626, -0.0398600921, 0.0574374348, 0.0135486042, -0.0896037444, 0.0255730376, 0.0367296189, -0.0157126188, 0.027718462, 0.0247114711, -0.0240333714, 0.0084405532, 0.0055584563, 0.0349562541, -0.0009178566, 0.0255927108, 0.0433591343, -0.0137185035, 0.0517235771, 0.0466075987, 0.0259458777, -0.0273382608, 0.0186737962, -0.0353620499, -0.0212878287, -0.0371965505, -0.0209132303, 0.0199744906, 0.0267943908, 0.0071399841, 0.0614568591, 0.0141984625, 0.0269877929, 0.002830653, 0.0016080972, 0.0306137037, -0.0267103948, -0.0233049579, 0.0546847954, 0.004225194, -0.0044487654, -0.021827966, 0.0185871851, 0.0059456271, 0.0283609033, 0.0279195867, 0.0044023525, -0.0372265428, 0.0045794435, -0.0697279647, 0.0244761035, 0.0198384691, -0.0366368368, 0.0087170647, -0.0432251059, 0.0030459634, -0.0285991449, -0.0038980385, -0.0017688184, 0.0183056481, -0.0363051258, -0.0157350004, 0.0708138794, 0.0282869618, -0.0323405713, -0.0392826758, 0.0719566718, 0.0051414436, 0.0272580013, -0.0095221056, -0.0004654227, -0.0524659678, -0.0011538547, 0.0210960787, 0.0272809099, -0.0007719416, 0.0252952185, -0.0364802778, -0.0436874069, 0.0086220978, 0.0084530311, 0.029288549, -0.0130285816, 0.0080521973, 0.0248864982, 0.0087942928, -0.0494305864, -0.0147633506, -0.0026569376, -0.0197443329, -0.0338996314, -0.0080048218, -5.503280678e-33, -0.0206405707, -0.0273290966, -0.0026554184, 0.0498309433, 0.0091647627, 0.0173788089, -0.0159345493, 0.0233245082, 0.0028169737, 0.057744123, 0.0087484512, 0.007069624, 0.0086325845, 0.0313811079, 0.013019843, -0.0193898883, 0.0498482212, -0.0268804561, -0.0306837093, -0.0314281955, 0.0334801525, 0.0265595149, 0.0883303061, -0.0022928163, -0.0024614022, -0.0119471829, 0.042405773, 0.028027216, 0.0121656852, 0.106076695, -0.0187670775, 0.0211899411, 0.0567622334, -0.0617061518, -0.0266504567, 0.0619991384, -0.0589827113, -0.0456505902, 0.0312331598, 0.0465875566, -0.053277187, -0.0800899044, 0.0417218879, -0.0575952381, 0.0035951806, -0.0419281349, 0.059470322, 0.0074365409, 0.024620004, 0.0101449518, -0.1002166197, -0.0179069042, -0.0234009326, -0.0111653842, 0.0439650714, 0.0275768172, 0.0158099364, 0.025898207, -0.0352841318, 0.0148745831, -0.0230128299, 0.0727636963, -0.0021024367, -0.0094187791, -0.0141627733, 0.0850225613, 0.0484093353, -0.0338138267, -0.0265325606, -0.0190786347, 0.0656128451, 0.0375985168, 0.0632125512, 0.013189869, 0.0339713432, 0.0249229949, -0.0633073822, -0.0238050912, 0.0380402766, 0.036029581, 0.0251729209, -0.0053340602, -0.0416218564, -0.0296034273, -0.0124426428, 0.0071675875, -0.0145590119, 0.0004368043, 0.0501343049, 0.0197811332, 0.027503971, -0.0198703762, 0.0459965952, -0.0684232637, 0.0275055524, -0.0036774583, -0.025527833, 0.0534067638, 0.0142477406, -0.0029489635, -0.0555569194, -0.0272018425, -0.009756282, 0.0065902406, 0.0312989801, 0.0087855849, 0.0943574309, 0.0175203197, -0.035583552, -0.0042606248, -0.0220959038, -0.0451561734, -0.0216685664, -0.015396161, 0.0467477515, 0.0415800437, -0.0441908017, 0.0074991644, 0.0196852088, 0.0181679763, -0.0288688671, 0.0205565672, -0.0039218203, 0.0451241806, -0.0133415526, -0.0274993014, -0.0482344031, 0.019158192, 0.0284769312, -0.0534575097, 0.0094528673, 0.0451734364, 2.435e-7, 0.0162589345, 0.06771373, 0.0519242845, -0.0231265966, 0.0426070988, 0.0134214116, -0.02581615, -0.0013562026, -0.0116902208, 0.0185774621, -0.0062786369, 0.0156885143, 0.0447649099, -0.0085499473, -0.1223963574, 0.0238334145, -0.0358924083, -0.034524709, -0.0501111448, 0.0164327528, 0.053312771, 0.104436107, 0.0143799456, 0.0343279131, -0.0533627942, -0.0481302626, 0.0544934645, -0.0293825474, -0.0042254413, 0.0131995548, 0.0042395685, 0.0226293355, 0.0081170555, 0.0148403337, 0.0124233142, 0.0636337176, 0.0136140762, 0.0127158007, 0.0475078076, 0.0191725772, 0.0066031073, -0.0089729764, -0.03391454, -0.0255295057, 0.0441271216, -0.1171047091, -0.0799680576, -0.0004880746, 0.000883689, -0.0056062345, 0.0195719413, 0.0347534157, -0.0146520892, -0.0103882449, 0.038258899, -0.0342672206, 0.0218980946, -0.0680795461, -0.0156979207, 0.0413603932, -0.0566463023, 0.0043306844, -0.0408491567, -0.0261847284, 0.0449500047, -0.0492865928, -0.0250585526, 2.255320221e-34, -0.0205033626, 0.010818216, 0.0379667953, 0.0453862809, 0.0337870121, -0.0598175339, 0.0023871162, 0.0127935307, 0.0035182445, -0.083814472, -0.0004246426 ]
http://arxiv.org/abs/2406.16562v2
http://arxiv.org/pdf/2406.16562v2
EVALALIGN: Supervised Fine-Tuning Multimodal LLMs with Human-Aligned Data for Evaluating Text-to-Image Models
"2024-06-24T11:56:15"
"2024-06-27T03:57:05"
Zhiyu Tan, Xiaomeng Yang, Luozheng Qin, Mengping Yang, Cheng Zhang, Hao Li
cs.CV
cs.CV, cs.CL
The recent advancements in text-to-image generative models have been remarkable. Yet, the field suffers from a lack of evaluation metrics that accurately reflect the performance of these models, particularly lacking fine-grained metrics that can guide the optimization of the models. In this paper, we propose EvalAlign, a metric characterized by its accuracy, stability, and fine granularity. Our approach leverages the capabilities of Multimodal Large Language Models (MLLMs) pre-trained on extensive datasets. We develop evaluation protocols that focus on two key dimensions: image faithfulness and text-image alignment. Each protocol comprises a set of detailed, fine-grained instructions linked to specific scoring options, enabling precise manual scoring of the generated images. We Supervised Fine-Tune (SFT) the MLLM to align closely with human evaluative judgments, resulting in a robust evaluation model. Our comprehensive tests across 24 text-to-image generation models demonstrate that EvalAlign not only provides superior metric stability but also aligns more closely with human preferences than existing metrics, confirming its effectiveness and utility in model assessment.
[ 0.0107755577, 0.0791027695, 0.0330690369, 0.0453355573, -0.0209600702, 0.0107440045, 0.0122986306, 0.0081947772, -0.0357288495, -0.0489744321, -0.0722650513, -0.0379228331, 0.0328247808, 0.0133037893, 0.0567207709, -0.0609358884, -0.0342253521, -0.0356044732, -0.0318928324, -0.0108671617, 0.0341639221, 0.0161213111, -0.0064880843, 0.0296720155, -0.0269668084, -0.0305159315, 0.0235265233, 0.0494981967, 0.0369224623, -0.0091456985, -0.0239376053, 0.0488007627, 0.0042811981, -0.0047502667, 0.0000019313, -0.0380611457, 0.0160082094, 0.0120670274, 0.0480179004, 0.013326915, 0.0706390217, -0.0255277772, -0.0206849128, -0.0395813361, -0.0183532331, 0.0310116336, 0.0770092532, 0.0333387554, 0.0908033401, 0.0516823828, -0.0166457631, -0.0280341674, -0.0060394234, -0.0264570378, 0.0113481069, -0.0173268523, -0.0000450652, 0.039548479, -0.0234705824, -0.0023976751, -0.0178117733, 0.0394127071, 0.0145055912, -0.0348610654, 0.0187144391, 0.0264060702, 0.0149011137, -0.042453222, -0.008049746, 0.0791337639, -0.0264383741, -0.0107407579, -0.0304634348, -0.0284806751, -0.0058720452, 0.0142169362, -0.0312629044, 0.0155449593, 0.0247879941, 0.0244833492, -0.0554676652, 0.0158790909, 0.0172111858, 0.0087051876, 0.01301907, -0.0082892859, 0.0423247553, 0.0043427972, -0.0357962884, 0.0328980647, -0.0441631526, -0.0438725688, 0.0279505458, 0.022433266, 0.0128606902, -0.0094247749, -0.0663480684, -0.0175301898, 0.0030037847, -0.0190800987, 0.0762139708, 0.0074246014, -0.0420037732, 0.0341954976, -0.0448329784, 0.0662471205, -0.0000551517, 0.0356470607, -0.0368755385, 0.0099675935, -0.0133091453, 0.0230686571, 0.005768002, -0.0285879523, -0.0258365646, -0.0287120827, -0.0547203086, -0.0013295636, -0.0070655411, 0.0121099483, 0.0139160827, 0.0290745944, -0.032978408, -0.026392702, -0.0300648566, 0.0131659498, -0.0069839489, 0.0299351048, 0.0112655144, -0.0129394252, 0.0197251514, 0.055726435, 0.0063054091, -0.0163492784, -0.0031145159, 0.0809317157, -0.0467244647, -0.0178744923, -0.0067543816, -0.0036122387, -0.0465390682, -0.074702844, 0.006221957, -0.0568500645, 0.026354691, -0.0159553289, 0.0129780071, -0.0355615579, -0.0203251112, -0.0113574043, 0.0209371131, 0.0696664751, 0.0302337203, 0.0187637191, 0.0210696477, -0.0010327228, 0.0073741521, 0.0366925634, 0.0584389418, 0.0857303441, 0.016580157, -0.0125951795, 0.0136404037, 0.0762373134, 0.0097859064, 0.0102830371, -0.0307358298, -0.0140567599, -0.0140270088, 0.0491342954, 0.0671966821, 0.0812445283, -0.0042613996, 0.0085309194, 0.137421906, 0.0282266065, 0.0309891067, -0.0001484219, 0.0390530303, -0.001277521, -0.0041413028, 0.0100466013, -0.0345765166, 0.0539555512, -0.0035481867, 0.0396525264, 0.0592698753, 0.063413702, -0.0173690934, -0.0324265249, -0.0101622343, -0.0159822199, -0.0151885785, -0.0171817075, 0.0298642274, 0.0155658396, -0.0654518157, 0.0041439207, -0.010014629, -0.0452167876, 0.0239420738, -0.0499133095, 0.0404627807, 0.0868787393, 0.0566966385, 0.0576577894, 0.0206528716, 0.0142462756, 0.0136803584, 0.0781650022, -0.0135462014, 0.0080911126, 0.0188028999, -0.0503032766, -0.0238060225, 0.006422204, -0.0064687002, 0.0124408565, 0.0019860591, 0.0070683411, 0.0083473949, -0.0529609509, -0.0460180677, 0.0506722406, 0.0068179299, -0.0123947216, -0.0309546012, 0.0290571991, 0.0095872916, -0.0157528743, -0.0431376807, 0.006990667, -0.0042408719, -0.0268752389, 0.0266050324, -0.0048314938, -0.0216541644, 0.0011174383, 0.0168717932, -0.0554111302, -0.0160400923, 0.0125695979, -0.0261995606, -0.0134842405, -0.0282700025, -0.0289967414, -0.0269136801, -0.0668262765, 0.0146971308, 0.0239228513, -0.0035437036, -0.0400466323, 0.0363962464, -0.0264856424, -0.0004272549, 0.002008074, 0.0103761936, -0.0197435711, -0.0272219814, -0.0330181159, -0.0009676271, 0.0209251251, 0.0427455083, 0.0112968115, 0.0635768324, -0.0439997427, -0.0463881306, -0.0731503069, -0.0204951558, -0.00608397, -0.0033056096, 0.0202407129, -0.0331524946, 0.0078407852, 0.0163399503, -0.0435237847, 0.0040449211, 0.0276617222, -0.0116016287, 0.0516087636, -0.0227473751, 0.0184874982, -0.0571654551, 0.0010155635, 0.0396956205, 0.0645639375, 0.0269721076, 0.0169664361, -0.05288665, 0.0242811218, -0.0489022508, -0.01652335, 0.0060798014, -0.0545435548, 0.0249629747, 0.0117700193, 0.0423150957, 0.0749888495, 0.0381168164, -0.0275277589, 0.0082002748, 0.017931195, -0.0488306843, -0.0397768393, -0.0039141416, -0.0429864116, 0.0033857159, -0.0405632444, -0.0091661615, 0.0364813618, 0.0116233509, 0.041825328, -0.0570870005, 0.0364331268, -0.0093002412, -0.0507792421, -0.0300635006, 0.0393815748, -0.0173105989, 0.0142331608, -0.0667658225, -0.0921049491, 0.050997261, -0.0808069408, -0.0137121193, 0.0398998074, 0.0122171994, 0.0121368449, 0.050885316, 0.0167762693, 0.0478279963, -0.0042573111, 0.035893362, -0.0587792993, -0.0111494157, 0.0285568517, -0.0424620956, 0.0508055985, -0.0377579406, 0.0197889246, -0.0192996506, -0.0213288628, -0.0281314403, -0.028054826, 0.0052393959, -0.0269756783, -0.003922137, -0.0342747383, -0.0014899067, 0.0399112478, 0.0109601039, -0.0109172994, -0.0200202614, -0.0267571975, -0.0113559831, 0.0515221544, 0.0568026192, 0.0049098926, -0.0299412478, -0.0505746566, -0.0144387893, 0.0268845931, -0.0092773028, 0.0281597599, -0.0731268674, 0.0230021309, 0.0190184116, 0.0747078508, 0.0291217826, 0.0223784763, 0.0800504088, -0.0298653487, 0.0048627649, 0.0754041597, -0.013301827, -0.0180311371, -0.0276588183, 0.02995486, 0.0618593134, -0.0105391443, -0.0118569667, -0.068205148, -0.0455553755, -0.0193736739, 0.0283997208, 0.0345623828, 0.0082684485, -0.012550001, -0.0762247145, 0.0440651774, 0.0438082516, -0.0160946697, -0.0274300016, 0.0096507976, 0.0117164003, -0.0208269488, 0.0070805019, 0.0114914468, -0.0004888411, 0.0075711757, 0.0240195561, 0.0258919876, -0.0718839169, 0.0066301287, -0.0447803922, 0.027463723, 0.0849273056, 0.0329899751, 0.0235761702, -0.0753997266, 0.0322518833, 0.0278198235, 0.0029442168, 0.006419498, 0.0223365538, -0.0147624817, -0.0208176803, -0.0107982, 0.0447945446, 0.0208042879, 0.0074198782, -0.0116343265, 0.0052933348, -0.0050442321, -0.0072213593, -0.0273737963, 0.0119833173, 0.0014640574, 0.0520989113, 0.0432154574, -0.0646232441, -0.0332101732, -0.0166327842, 0.0227093808, -0.0864149407, -0.0494269952, 0.0229033288, -0.038098149, -0.0160014816, -0.0871240795, -0.0059911339, 0.0141075486, 0.0430497378, -0.0064166524, -0.0389076434, -0.0326636545, 0.0075463154, -0.0232725311, 0.0749070197, -0.0379308313, 0.028488094, -0.0628030151, -0.0041793925, 0.0262467228, -0.0379591286, -0.009805616, 0.056921687, -0.0995219797, -0.034531869, -0.0325376615, 0.0823075622, 0.0130095799, 0.0136176702, 0.0091896942, -0.0667759776, 0.0441640802, 0.0502201058, -0.0038018913, 0.0192740336, -0.008057544, 0.0196262598, -0.0154060712, 0.0166119318, -0.0355361924, 0.0379540995, 0.0115848081, 0.0335920602, 0.0171661321, -0.0675968453, 0.0044739828, 0.0257692058, 0.003919553, -0.0838107094, -0.0178108644, -0.0361504816, -0.031597849, -0.0046102344, -0.0292833801, -0.0806955695, -0.0190168004, 0.031147996, 0.0377889276, -0.0133612147, -0.0039462661, 0.0118602132, 0.0639314801, -0.0602949262, 0.0038623004, 0.0031702656, 0.005769148, 0.006586262, 0.02294714, -0.020328423, 0.0302179325, -0.053899467, 0.0170134678, 0.0053623626, 0.0432765521, 0.0202533212, 0.0045409212, 0.0043847617, 0.0678423122, 0.0161832273, -0.0192243252, -0.0980329216, 0.0198266394, 0.0765862018, 0.0284140892, 0.0891202167, -0.0092852451, -0.0099924859, -0.0283675101, 0.0445796102, -0.0019037807, -0.0052657332, 0.0271721259, -0.009983398, 0.0205982104, -0.0145828342, 0.0392837077, -0.0038613244, 0.0001136691, -0.0502946228, 0.001953277, -0.0350081623, -0.0356496125, -0.0029540511, -0.0455635563, 0.0107727051, -0.0199963469, -0.0151681919, -0.0593455248, -0.0136133917, 0.0849587917, -0.0171792358, 0.015616768, 0.0423660502, 0.0422915183, -0.0308405273, 0.0224596765, -0.0173613708, -0.0223279167, 0.011787937, -0.000123037, -0.0177784786, -6.010005436e-33, -0.0460810177, -0.0483061746, 0.0255080964, -0.0399711914, -0.0443829633, -0.0069337599, -0.0283185709, 0.0177973807, 0.0250625778, -0.0069914213, 0.0312987044, -0.055831857, 0.0073202169, 0.0352539532, -0.0215203445, 0.0137307812, 0.0341649316, -0.0140906414, -0.050047718, -0.006304258, -0.0073956437, -0.0012079019, 0.0212809592, -0.0507294126, 0.0139248623, -0.0096135214, -0.0837208405, -0.0154161854, -0.0000562803, 0.0580774061, -0.0265337639, -0.0021474801, 0.0028763625, -0.0083656767, -0.0329910256, 0.0203770325, -0.032736823, 0.0229680426, 0.0175528154, 0.0010455338, -0.0788239539, -0.0142834103, 0.0643337369, -0.0356554948, -0.0446750596, -0.0224936325, 0.0527487844, -0.0501579307, 0.0127538946, -0.0316782966, -0.0418955907, 0.0085652638, -0.0226041172, -0.0531418622, 0.0145323928, 0.0566333681, -0.0048686825, 0.050177414, -0.0476757213, 0.034820281, -0.0024467539, 0.0297395885, 0.101049535, 0.0562022291, -0.0061690449, 0.0570858233, 0.0000362851, -0.0239802599, -0.0077917227, -0.0123836612, 0.025097806, 0.064851217, 0.0424367227, 0.0863655061, -0.0175138805, 0.0059296489, -0.0147037366, 0.0707232058, -0.06383688, 0.0034540242, 0.0405191146, 0.0270087924, 0.0087230932, 0.0250103045, -0.0545153953, -0.0257393289, -0.048586607, -0.0185025055, 0.0351684615, 0.0045942604, -0.0169711933, -0.0195142757, 0.0587407947, 0.0054578888, -0.020062929, -0.0326505564, -0.0538833886, 0.0516187921, -0.0269975737, -0.0049064015, -0.0124074426, -0.0283312779, 0.0549155176, 0.0311160944, 0.0265580583, 0.0044790329, 0.0166781377, 0.004103397, -0.0373184383, 0.0126717128, -0.0370736904, 0.0033026279, 0.0001573334, 0.0057715965, 0.019423401, -0.0412307642, -0.0636965781, 0.0403081365, -0.0148129743, 0.007056904, -0.0127270762, -0.0389180221, 0.019175861, 0.0105670244, -0.0551083051, 0.0418035351, -0.0130220391, -0.0450218916, 0.0188572239, -0.0288697109, -0.0159942098, 0.034346357, 2.487e-7, 0.0368751585, 0.0179946311, 0.0091283675, 0.0042815474, 0.0018351347, 0.0532982089, -0.0336107127, 0.0142908012, 0.0151864719, -0.0503816828, 0.001101371, 0.0288837124, 0.0852601752, -0.0040832637, -0.00177478, 0.0230733231, -0.0497468263, 0.0315212496, -0.0160757825, -0.0121178934, 0.0613646023, 0.0399036743, -0.0196798556, -0.0369069986, 0.0447014645, -0.0364167169, 0.0824242681, -0.0475274138, -0.0441711657, -0.0088846507, 0.0544118546, -0.0214884467, -0.0094043231, -0.0083985813, 0.006983608, -0.0500528552, 0.0629144683, 0.0585857034, -0.0152880987, -0.0259518791, -0.0223721303, 0.0051708487, -0.0067465403, -0.0592245497, 0.0424149148, -0.0341711193, -0.0039210366, -0.0226434935, -0.0137634007, -0.004420714, 0.0382445008, -0.0554230176, -0.0421415865, 0.0349392295, 0.0707259849, 0.0138647575, -0.0448539108, -0.0309610553, -0.057872165, -0.0069738827, -0.0473216511, -0.0491719209, -0.0531452447, -0.0077239904, 0.0096480744, -0.0510734916, -0.0344502367, 1.840183027e-34, 0.0090436079, -0.008074726, 0.0224191993, -0.0236678645, 0.0355195291, 0.0167878214, -0.0225814227, -0.0181415584, -0.0209823493, -0.0689271837, -0.015322255 ]
http://arxiv.org/abs/2406.16554v1
http://arxiv.org/pdf/2406.16554v1
LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training
"2024-06-24T11:43:07"
"2024-06-24T11:43:07"
Tong Zhu, Xiaoye Qu, Daize Dong, Jiacheng Ruan, Jingqi Tong, Conghui He, Yu Cheng
cs.CL
cs.CL
Mixture-of-Experts (MoE) has gained increasing popularity as a promising framework for scaling up large language models (LLMs). However, training MoE from scratch in a large-scale setting still suffers from data-hungry and instability problems. Motivated by this limit, we investigate building MoE models from existing dense large language models. Specifically, based on the well-known LLaMA-2 7B model, we obtain an MoE model by: (1) Expert Construction, which partitions the parameters of original Feed-Forward Networks (FFNs) into multiple experts; (2) Continual Pre-training, which further trains the transformed MoE model and additional gate networks. In this paper, we comprehensively explore different methods for expert construction and various data sampling strategies for continual pre-training. After these stages, our LLaMA-MoE models could maintain language abilities and route the input tokens to specific experts with part of the parameters activated. Empirically, by training 200B tokens, LLaMA-MoE-3.5B models significantly outperform dense models that contain similar activation parameters. The source codes and models are available at https://github.com/pjlab-sys4nlp/llama-moe .
[ 0.0341990553, 0.0933955386, 0.0085256277, 0.0014966102, 0.0080123534, -0.0199825335, 0.0396404415, -0.0109655354, -0.0246137064, -0.0086823599, -0.0854361728, -0.0241477918, -0.0111488895, 0.044053182, 0.0567601621, -0.0216059238, 0.0249564964, -0.0650050268, -0.0332551524, -0.0316562206, -0.008019248, 0.0144066187, 0.002842861, 0.0311970394, -0.0274841227, 0.0122826211, 0.0067441049, -0.037019968, -0.0023281225, 0.0093446448, -0.0180920232, 0.0450352579, 0.0238278247, 0.0224967767, 0.0000020201, -0.0194397215, 0.0094983289, -0.0142145539, -0.0369597971, 0.0479851998, 0.0229413956, 0.0289808027, -0.0294806752, 0.0344920345, 0.0020327463, -0.0504108183, 0.0330649093, 0.0231479891, 0.0578882918, 0.1063040942, 0.0185793303, -0.0475282334, 0.0887378082, -0.049353987, -0.0096136499, -0.0277423616, 0.0280581918, 0.0005810811, -0.0032157872, 0.008717468, -0.0038667026, 0.0456385054, 0.0484564677, 0.0043411721, 0.0282245297, 0.0464828685, 0.0221662093, -0.0292632096, -0.0174066015, 0.0611729771, -0.0621250235, -0.0124176443, -0.0130945724, -0.0048651677, -0.0244777668, -0.0050431076, -0.0433841459, 0.0137420427, 0.0416624732, 0.0343401358, 0.0264691934, -0.0047265957, 0.0688488632, 0.0256346334, -0.086567767, 0.0517493971, 0.0080715045, -0.0013698153, 0.0088567017, -0.0344309621, -0.0301599111, -0.0463642739, 0.0327936299, 0.0462375358, -0.0138221318, 0.0192396753, -0.0385898091, -0.0198996607, 0.0034984869, -0.0334764197, 0.012490971, 0.0380775817, -0.0415028594, 0.026046725, -0.0476404279, 0.0175657962, -0.022859592, 0.0170804821, -0.0561341308, 0.0022143638, -0.0394849479, -0.0113070207, -0.0276295207, 0.0349320769, -0.0258453395, -0.0379635543, -0.0451053865, 0.0023861581, -0.0081321634, -0.004034684, 0.0257833041, -0.006912794, -0.0223587044, -0.0193509664, -0.008611572, 0.0347422622, -0.0330023021, 0.0478072278, 0.0195328388, -0.0588494316, 0.0058883033, 0.0246621873, -0.0267832838, 0.0266675744, 0.0361023359, 0.0790150091, -0.020980468, -0.0246000122, -0.0729071051, 0.0108128143, -0.0082647996, -0.057056766, 0.0124315117, -0.0698397458, 0.0647680759, -0.030302234, 0.03630035, -0.0564679466, 0.0071676816, 0.0094770929, -0.013051453, 0.0352869481, -0.0495762117, 0.0215120614, 0.0312325079, -0.0052656098, -0.0065081711, 0.0726937726, 0.0346162096, 0.0231077764, 0.0111509897, 0.0153092127, -0.0059742248, 0.0526526198, 0.0231168363, -0.000536121, -0.0232796948, -0.020687947, -0.0128018372, 0.0508809015, 0.0595067926, 0.0709325969, -0.0447694063, 0.0190764628, 0.0465886258, 0.0445688814, 0.019243231, 0.0584528334, 0.0707794428, -0.0149953021, 0.0436617099, -0.0095855081, -0.0283316504, -0.0002204657, -0.0063978969, -0.0107355742, 0.0501077101, 0.0814340636, -0.0668024197, -0.0457146503, 0.0393234417, -0.0178185143, -0.0702354237, 0.0117951697, 0.0804978013, -0.0098463763, -0.0032994912, 0.0350634344, 0.0380126014, -0.0250421688, 0.0320109203, -0.0711220279, 0.0184963048, 0.0492034927, 0.015503332, -0.0272134338, -0.0269835405, 0.0056109987, -0.0147839542, -0.0192735288, 0.0177266616, -0.0152864074, 0.0015556636, -0.0800173804, 0.0029426664, 0.0042126356, 0.0333211422, 0.044114273, -0.0047992873, 0.0259614289, 0.0222936235, 0.0102569917, -0.032579992, 0.0388053693, -0.0621133, 0.0148194088, 0.0219454058, 0.0047835857, 0.0490332358, 0.0315865725, -0.0216369592, 0.025198387, 0.0104643721, -0.0532244816, -0.005297476, -0.0142179346, -0.0862155557, -0.0182110425, 0.0646541491, 0.0332279317, 0.040287517, -0.0247197058, -0.0360487215, -0.0699421093, 0.0011121358, -0.0135777649, 0.0460953228, -0.0579903722, 0.0279334988, 0.0168268159, 0.0282569844, -0.0054989508, 0.0404452421, -0.0354401842, -0.0112982141, -0.0041798628, 0.0119383316, 0.0228814203, -0.0432121418, -0.0175776165, -0.0065969946, 0.0074978103, 0.0455035903, -0.0538787991, 0.0147040663, -0.0224504992, -0.0733741, -0.078046836, 0.0042408719, -0.055192668, 0.003527655, 0.0260923393, -0.0004667899, -0.0159168784, 0.0330544338, -0.0289291926, 0.025474295, -0.0076704696, -0.0046505937, -0.029500965, 0.0228312146, -0.0522240847, -0.0323630422, -0.0477856025, 0.0029633185, 0.0388652682, -0.0355296209, -0.0349520296, -0.0428502001, -0.0182429496, -0.0104504693, 0.0233908352, -0.0181875005, -0.0305529721, -0.0003251664, -0.0332035311, 0.0662417188, 0.0360701978, -0.0166478846, 0.0085259862, 0.0451052152, -0.0167446192, -0.0383440033, 0.0115553066, 0.0024656248, -0.0027676942, -0.0388527401, -0.0116607966, 0.0127603095, 0.0330036916, -0.021816846, -0.0301369485, -0.0445762835, -0.0084258001, -0.008297571, -0.0451579951, -0.0170284417, -0.0167026855, -0.0188276842, 0.0177882053, -0.0049796845, -0.0484814979, 0.017967917, -0.0554478504, 0.0081625637, -0.0175743774, -0.0396749489, -0.0359939262, -0.0125966202, 0.0037710078, 0.0234905388, -0.0257818885, -0.0223629307, -0.047004208, 0.0236280523, -0.0412697457, -0.0100253997, 0.0268068798, -0.0236333366, 0.0128963254, 0.0128669608, -0.027569592, -0.0243758596, -0.0015893849, -0.0456074551, 0.0451750681, 0.0179426987, -0.0346954055, -0.0213780347, 0.0244589131, 0.0065557384, 0.0603478886, -0.031176623, 0.0212365594, -0.0301880371, 0.0275304224, 0.0062503023, 0.0100560049, 0.0269934572, -0.0648325235, 0.008546018, 0.0078914557, 0.0626396984, -0.0350484401, -0.0537983775, 0.0125195673, 0.0100080268, -0.0198338199, -0.0078391554, 0.0007392424, 0.0436260961, -0.0328959376, 0.0257835872, 0.0771392286, 0.0026221722, -0.0589040369, 0.0182705, 0.0208533108, 0.0166453384, 0.0082796682, 0.0509809852, -0.0395502709, 0.0004923525, 0.0213676989, 0.0145243127, 0.0206029043, 0.0080396207, -0.0123317325, -0.1013194919, 0.0084190052, 0.0216292664, -0.0443672501, -0.0366775058, -0.0107370783, -0.0119622163, -0.010136554, 0.0393020697, 0.0278381445, -0.015071041, -0.0319445133, 0.0366644412, 0.0224629045, -0.0528658591, 0.0236819647, -0.0306042079, 0.1020331904, 0.0299212262, -0.0252335146, 0.0042662863, -0.0272278339, 0.0600256436, -0.00152447, 0.0040220073, 0.0076632979, 0.0092193605, -0.0066703507, -0.0246594753, 0.0437647477, 0.0451767556, -0.0118714804, -0.0062797563, -0.0055599338, 0.0520679653, -0.0029878875, -0.0382808261, -0.0142879197, -0.0229273699, -0.0147225019, 0.0267509297, 0.044643525, -0.0544396415, 0.0136206569, 0.008331717, -0.0322982185, -0.0252417997, -0.0133117205, 0.0088683991, -0.0033673244, -0.0590573587, -0.0339049362, 0.0001872958, 0.035176523, 0.081453152, 0.0227434449, 0.0130306343, 0.0344853401, 0.0007815033, 0.0361034498, 0.0393094197, -0.0520328917, 0.0043021101, -0.0925544426, -0.0062067918, 0.0660633966, -0.0158350393, -0.0181779303, -0.0304324329, -0.0805585757, -0.0707406476, 0.007179155, 0.0607937053, 0.0202395469, 0.0181650873, -0.0141133526, -0.0961620137, 0.0930435732, 0.0175637472, -0.076565817, 0.0110184597, 0.0307789762, -0.0272960085, 0.0068253959, 0.0285318121, -0.0126520721, 0.0386366956, 0.0298757683, 0.0236083139, -0.0287611354, 0.0000244752, -0.0261286385, -0.0063741277, 0.0114873694, -0.0217284858, 0.0265564024, -0.0839635506, 0.0244293381, 0.0103284251, 0.0213724989, -0.0431836471, 0.0181032177, 0.0371892452, 0.0211043283, 0.0097267143, -0.0494483262, 0.04965185, 0.0112480428, 0.035985779, 0.0067357002, 0.0001666306, 0.0141598927, 0.0291544292, -0.0122957146, -0.0285272337, 0.0034516761, 0.0062322505, -0.0012234814, -0.0531288981, 0.0207295977, -0.0059060692, -0.0155914742, -0.0702167377, 0.0491465069, -0.0467439443, -0.0689487383, -0.0475992821, 0.0803444088, 0.0959733874, 0.0122006629, 0.0170051455, -0.0109758442, 0.0120360861, -0.0238931831, -0.0037184474, -0.0194771364, 0.0070947451, 0.01690205, 0.0161238648, -0.0107508674, 0.013105548, 0.0649868697, 0.0218312778, 0.0219142325, 0.0008578815, 0.0491092987, -0.0082950359, -0.0033043886, -0.0011592656, 0.0293395817, -0.0502802506, -0.0265259761, 0.000227384, -0.0709382817, -0.0134242028, 0.0117872078, -0.0253854189, 0.0188716501, 0.0344179124, 0.0362121239, -0.0152929034, 0.0547309965, -0.0083172116, -0.0186114367, 0.0537510552, -0.0125596961, 0.0372254401, -6.821315841e-33, -0.0048703528, 0.0355210975, 0.028079344, -0.0402010381, -0.0301150661, -0.0166521631, -0.0203073137, -0.001063708, -0.0270206388, -0.0127170356, -0.0653808117, -0.0004554931, 0.0251245312, 0.0184515994, 0.0138082393, 0.0290051252, 0.0755795985, -0.0366102383, 0.022037847, 0.0458029285, 0.0267767422, 0.020794984, 0.0396538228, -0.0402909443, -0.0488893539, 0.017315533, -0.0131000821, 0.0316496491, -0.0363153517, 0.0377949663, -0.0280364044, 0.0532723889, 0.0144942831, -0.0206165239, -0.0437472798, -0.027571423, -0.0726115331, -0.0355338417, 0.0134913223, 0.0021768613, -0.0097717317, -0.0339987651, 0.0840193257, 0.0116499914, 0.0019810414, 0.0249192137, 0.0116444789, -0.0062190304, -0.0204147957, -0.0089456709, -0.005436305, 0.0239506215, 0.0210361797, 0.0218339078, 0.0158838704, -0.019424133, -0.0159903113, -0.0517125279, -0.016644001, 0.0110618519, 0.0387730934, 0.0561745837, 0.0479452163, 0.0492977388, 0.0192642715, 0.0396410003, 0.0259583201, -0.0251442641, -0.0116098933, 0.0012609117, 0.0584593825, 0.0332132466, 0.0262741446, -0.013907454, 0.0323066302, -0.0684578046, -0.0752814785, -0.0122831846, 0.0447591171, 0.0511903167, 0.0428649858, 0.0004675606, 0.0022280652, -0.0119321235, -0.0394167937, -0.036467392, -0.0312203653, -0.0389664583, 0.0321690366, 0.0484352708, -0.0208735727, -0.0445994772, 0.0286410917, -0.0408284031, -0.0112160249, 0.0111022219, -0.0089105424, 0.0421575196, -0.0049543004, 0.0350940935, -0.1177902594, -0.0739723966, -0.0043194108, -0.0222063269, -0.006589904, 0.0007029282, 0.0166900139, 0.0367374383, -0.055108536, -0.0061008306, -0.0116196908, 0.0035961287, 0.0466791838, 0.074630402, 0.0535199903, -0.0013683331, 0.0034593316, -0.0092414171, -0.0113970358, -0.0034660446, -0.0004183658, 0.0068269079, 0.0312002804, 0.0577195249, -0.0361047685, 0.0117776683, -0.0665093884, -0.0147801377, 0.0301250145, -0.0514437072, -0.0265769325, 0.0257702153, 2.769e-7, 0.0143022826, 0.0193637945, -0.0036904397, -0.0148789575, 0.0207304899, -0.0172082726, -0.0324227735, 0.0053200033, 0.0232050549, 0.0014848538, 0.0272104628, 0.0325131491, 0.0006982032, 0.0169312507, -0.1068032756, -0.0148112262, -0.0460512936, 0.0726326779, -0.0538777746, -0.0624552853, 0.0007956596, 0.1414985508, 0.0266755316, -0.033921212, 0.0019790628, -0.036875505, 0.0268925782, 0.0168647487, 0.0041352711, 0.0519222282, 0.0498584732, 0.0519201681, -0.0380457304, 0.001190746, 0.0065748245, 0.0660947859, -0.0061860951, 0.0733549967, -0.0033118746, -0.0203429423, 0.0551322214, 0.0144822821, -0.0221396014, -0.0260477252, 0.0673963726, -0.051095318, 0.0028047222, -0.0242161844, -0.011568578, -0.0158725791, 0.0017647985, -0.0338753536, -0.0039170384, 0.0451235473, 0.0220888238, -0.0157308429, -0.0219263863, -0.0853453279, 0.0004244249, -0.0214173123, -0.066355817, -0.0568509027, -0.0578151606, -0.0062840264, 0.0226663258, -0.0090988735, 0.0098981429, 2.451796067e-34, 0.0471222959, -0.0297471993, 0.0171114169, 0.0493873656, -0.019998705, -0.0339172222, -0.0493127331, 0.0118743954, -0.0064828023, -0.0948727056, -0.0417092517 ]