id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
text
stringlengths
190
2.08k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2407.01300v1
http://arxiv.org/pdf/2407.01300v1
Collaborative Performance Prediction for Large Language Models
2024-07-01T13:56:42
2024-07-01T13:56:42
Qiyuan Zhang, Fuyuan Lyu, Xue Liu, Chen Ma
cs.CL
cs.CL, cs.AI, cs.LG
Comprehensively understanding and accurately predicting the performance of large language models across diverse downstream tasks has emerged as a pivotal challenge in NLP research. The pioneering scaling law on downstream works demonstrated intrinsic similarities within model families and utilized such similarities for performance prediction. However, they tend to overlook the similarities between model families and only consider design factors listed in the original scaling law. To overcome these limitations, we introduce a novel framework, Collaborative Performance Prediction (CPP), which significantly enhances prediction accuracy by leveraging the historical performance of various models on downstream tasks and other design factors for both model and task. We also collect a collaborative data sourced from online platforms containing both historical performance and additional design factors. With the support of the collaborative data, CPP not only surpasses traditional scaling laws in predicting the performance of scaled LLMs but also facilitates a detailed analysis of factor importance, an area previously overlooked.
Collaborative Performance Prediction for Large Language Models: Comprehensively understanding and accurately predicting the performance of large language models across diverse downstream tasks has emerged as a pivotal challenge in NLP research. The pioneering scaling law on downstream works demonstrated intrinsic similarities within model families and utilized such similarities for performance prediction. However, they tend to overlook the similarities between model families and only consider design factors listed in the original scaling law. To overcome these limitations, we introduce a novel framework, Collaborative Performance Prediction (CPP), which significantly enhances prediction accuracy by leveraging the historical performance of various models on downstream tasks and other design factors for both model and task. We also collect a collaborative data sourced from online platforms containing both historical performance and additional design factors. With the support of the collaborative data, CPP not only surpasses traditional scaling laws in predicting the performance of scaled LLMs but also facilitates a detailed analysis of factor importance, an area previously overlooked.
[ 0.0121283848, 0.0640256405, -0.0238627251, 0.0394208245, -0.0307083279, -0.0005707921, 0.0455298722, 0.0160560124, -0.0151985399, -0.0444427691, -0.0692465976, -0.0606517531, 0.016299367, 0.0371444933, 0.0194461104, -0.016537372, 0.0032381548, -0.0191372111, -0.0379404314, -0.0088272914, 0.0059984364, 0.0041216505, 0.024434302, 0.0575118996, 0.0111282999, -0.0114055546, 0.0298326127, 0.005710247, -0.0359341279, -0.0178050958, 0.0121790785, 0.060090661, -0.0021900516, 0.0358800739, 0.0000018074, -0.0428804345, -0.0168409087, 0.0060835709, -0.0130151575, 0.0433239974, 0.0337542184, 0.0049101952, 0.011722574, 0.0419575125, -0.035787601, -0.0099405171, 0.0152372671, 0.0198994428, 0.0050693899, 0.0443287194, 0.0014966044, -0.0007827854, 0.0220529903, -0.0288076121, -0.0586067773, -0.0331114233, -0.001077159, 0.0218985062, -0.0260807239, 0.0038602301, -0.0135022737, 0.0401878767, 0.0022274968, 0.0042779553, -0.0020942697, 0.0222366061, -0.004011895, -0.0094152009, -0.0038753033, 0.0542810224, -0.015114571, -0.0175151005, -0.0048068464, -0.0309944991, -0.0225796402, 0.0475085899, -0.0637991652, 0.0021567589, 0.0207902435, 0.0116083631, 0.0102193411, 0.012458628, 0.0634987801, 0.0190306026, 0.0078507885, 0.0987578183, 0.027480565, -0.0079960637, -0.0324209891, 0.0030078914, -0.0244306661, -0.0188893024, 0.0032187821, -0.0069219614, -0.0313006192, 0.0111960862, 0.0235720817, -0.0304209311, 0.0200005807, -0.0561808385, 0.1033391729, 0.0083046267, 0.0385301895, 0.0268125422, -0.0395001248, 0.0523489118, -0.0174744409, 0.0069118561, -0.0167900585, 0.0110730119, -0.0654032528, 0.0189965684, 0.0125813568, 0.0480426662, -0.0310487077, -0.0252598356, -0.0347874761, 0.0224502198, -0.0016511815, -0.0082578547, 0.1002355665, 0.0235708766, -0.0105857393, -0.020867791, -0.0188202243, 0.0588871464, -0.021178076, 0.0018103119, -0.0077590165, -0.0638269037, 0.0039179134, -0.026687488, -0.0182582345, -0.0294409748, 0.0118430648, 0.0940864384, 0.0296288412, -0.0291553494, -0.0000361953, -0.0241569951, -0.0030542368, -0.0806011334, -0.0089018233, -0.0472398698, 0.0141261453, 0.0335239023, 0.0239186939, -0.02505151, -0.0085892566, 0.008372372, -0.0229070839, 0.0823575407, 0.0133355716, 0.0192659255, -0.0011797589, 0.0007925906, -0.0215354748, 0.0775401294, 0.0333054997, 0.021478273, 0.0653948039, -0.0102881938, -0.0197399985, 0.0360689946, 0.0111153973, -0.0116673568, -0.0284404848, -0.0141396187, 0.023662772, 0.0198778976, 0.0011413282, 0.0361522846, 0.0037928575, -0.0041281227, 0.0859880373, 0.0510277487, 0.0561718941, 0.0479660481, 0.0097156875, -0.0044527887, -0.0144250458, -0.0207611695, -0.0553488322, 0.0115505196, 0.0187377799, 0.0006249109, 0.0597853065, 0.0635081157, -0.0104034171, -0.0371430144, -0.0358076133, -0.0003369581, -0.0296268128, -0.0011378949, 0.0378558971, -0.0283041932, -0.0356630608, 0.0746440589, 0.019606499, -0.0548464097, 0.0110314656, -0.0407592766, 0.0015629076, 0.053139843, 0.0587516204, -0.0019271525, -0.0023920906, 0.0111869099, -0.0148326373, -0.0221609343, 0.034257628, -0.0064189029, 0.0137733305, -0.0328913964, -0.0282008965, 0.0306263361, 0.0274839755, 0.0028393143, 0.0458628573, -0.0059762471, 0.0220160335, -0.0321749076, -0.0388071798, 0.0239078533, -0.0613532625, -0.0049971398, 0.0281050354, -0.022046458, 0.0379921608, 0.0096878931, -0.0119992346, 0.0150028113, 0.0211314894, -0.0324612185, -0.0300554037, 0.0117900064, -0.021809902, -0.0276039615, 0.0337010548, 0.0179970544, 0.0637962446, 0.0720196143, -0.0216963217, -0.0439916216, 0.0640200675, -0.0166938864, 0.046185907, -0.023844067, 0.0287272278, -0.0334291868, 0.0138638541, -0.0312820598, 0.0240513142, -0.0215155557, 0.0552885421, -0.0025397411, 0.0247266386, -0.0078414893, -0.0031244711, -0.0219323877, 0.0356499292, 0.0093720974, 0.0178615004, 0.022257397, -0.030859774, -0.0337405168, -0.0213451032, -0.0658194572, 0.0212771054, -0.0359221026, 0.0597950742, 0.0221784506, 0.0275023431, 0.0077472776, -0.0178542919, 0.0013491749, 0.0011407356, -0.0010557814, 0.0437884592, 0.0197969042, 0.0194517318, -0.0081874589, -0.0473060459, -0.0585749969, 0.0018803449, 0.0672396272, -0.0009508725, 0.0032996442, -0.0493197665, 0.0384491719, -0.0260830373, 0.0138805546, -0.019742975, -0.0085961223, -0.021467464, -0.0023251448, 0.0166186318, 0.0355691239, -0.0303380881, -0.0194557905, 0.0547354221, -0.0027884068, -0.0803963691, -0.0080191912, -0.0147939445, -0.0262101516, -0.0171018802, -0.017694328, -0.0294936951, 0.0680908561, -0.0083748763, -0.0287094284, -0.0507586822, -0.0132906483, -0.0476209149, -0.005959026, -0.0234415885, -0.0107847722, -0.0272645205, 0.03584373, -0.006733384, -0.0877484381, 0.0375750102, -0.0287371278, 0.0068712616, -0.0167901535, -0.0283906255, -0.0679039732, 0.0757010728, 0.0232131835, -0.0190160852, -0.0263697263, -0.0390663333, -0.0151244104, 0.0368141271, 0.018456893, -0.0468314067, 0.0535793602, -0.0402251966, 0.0122365486, 0.0024978837, -0.0484336317, -0.009986137, -0.0189503673, -0.045476824, 0.03851353, 0.0304119103, -0.0442804731, -0.0095435167, 0.0169610959, -0.0201337226, 0.0112214433, -0.0222093966, -0.0245219935, 0.0025924919, 0.0301601514, 0.0304898731, 0.0077066189, 0.0441998877, -0.0411423333, 0.0097760446, 0.0416485183, 0.0927316695, -0.0038318958, -0.0545269214, -0.0395543166, 0.0383385383, -0.0256864987, -0.0511038229, 0.0344884135, 0.0208307113, -0.0565177761, 0.0114119016, 0.1148801818, 0.0090139406, -0.052048862, 0.0128259016, 0.0162331313, 0.0526602492, 0.0401538275, 0.0189150926, -0.0266152993, -0.0220751259, 0.0250991322, 0.0210115816, 0.038012322, -0.0419631898, -0.008408824, -0.1195984781, 0.0217204858, -0.0157337487, 0.0241409987, 0.0187231824, -0.1176285297, 0.0180127267, -0.0693475828, 0.0170069113, 0.0007921696, -0.0346092619, 0.003794993, 0.0234557204, -0.0667141974, -0.0655022338, 0.0301955454, -0.0517236143, 0.0619244725, 0.0553393513, 0.0029786159, -0.0000651622, -0.0206672233, 0.0671956688, -0.0179167707, 0.0379752144, -0.0450391881, 0.074191086, -0.0141748916, 0.0129358638, -0.0082315123, -0.0240246654, -0.0520931743, 0.0093500018, -0.0143260462, 0.0805908442, 0.0110642519, -0.0397721827, -0.0018175999, -0.0186271314, -0.0101012662, 0.0677414685, 0.0254420806, -0.0175698474, -0.045127444, 0.003943013, -0.0098101785, -0.0205766205, -0.0500645116, -0.0267535858, 0.0149888545, 0.0129048023, -0.0587448291, -0.0175522082, 0.0185138248, 0.0191762988, 0.0042979056, 0.0525707677, -0.0167985782, 0.008387086, -0.0390603803, 0.0307558756, -0.0045370855, 0.0443902537, -0.0484716743, 0.0428795032, 0.0522685014, 0.0151697295, -0.0032872919, -0.0192559287, -0.135422796, -0.0694205761, -0.0393741839, 0.0553271808, 0.0211644229, 0.0187442582, 0.0000606177, -0.1097170189, 0.0321869627, 0.0131542739, -0.0541643947, 0.005555253, 0.0147957839, -0.019447241, -0.0032662386, 0.0585549399, -0.0129036941, -0.0060773981, 0.0040382179, 0.0416257493, -0.0044149314, -0.0630046874, -0.0238716416, 0.0228514876, 0.0527686812, -0.0338038355, -0.0194029864, -0.026504742, 0.0153934173, -0.010839466, 0.0042057307, -0.0465381928, 0.0227784608, 0.0053169946, -0.0013828308, -0.0268068723, 0.008422045, 0.0090633528, 0.0065449844, -0.0730349049, 0.0326943807, -0.0218104273, -0.0176733509, 0.0286618974, 0.028261058, -0.0086194305, -0.024448989, 0.0131694386, 0.0420456789, -0.0285533927, 0.0243421625, -0.0143600153, 0.0292671118, -0.0262030493, 0.0363606475, -0.0853285417, -0.0705511793, -0.0307665542, 0.0029567247, 0.0259725098, -0.0223096199, 0.0879386067, -0.0161368791, -0.0017021892, -0.0464024879, 0.0121642593, -0.0162156988, -0.0026214402, 0.0292782784, 0.0114189815, -0.0344204344, 0.013948082, 0.098968707, -0.0101509932, 0.0099432329, -0.0030781981, -0.0051268861, -0.0092515238, -0.0402698033, 0.0002885231, 0.0265378188, -0.0382286347, -0.0020807073, -0.0560616925, -0.081451647, -0.0166158974, -0.0087311091, 0.0090437718, -0.038926743, 0.018337341, 0.0679943785, 0.0138846468, 0.0002992185, -0.0535525344, -0.0205934718, 0.0028155947, -0.0024282292, -0.0167009719, -6.063131903e-33, 0.0090865651, -0.0052844291, 0.0016150356, 0.0135825276, 0.0040029525, 0.0447163396, -0.0083091725, 0.0172029864, -0.0148341032, -0.0086893514, -0.0470608622, 0.0223835446, 0.0097384639, 0.0239998903, 0.0348843485, -0.0077570933, 0.0560553931, -0.0272302739, -0.0177492145, 0.0128234411, 0.0103083458, 0.0457887724, 0.0424471572, -0.0568720289, 0.0214735344, 0.0065626027, -0.0169772059, 0.0185385346, -0.0002350843, 0.0636103749, -0.0173109397, 0.0359662138, 0.0486128144, -0.0904890895, -0.0438784584, -0.0324853919, -0.0286710728, 0.0084102424, 0.0177505948, -0.0087901503, -0.0455691107, 0.0272324439, 0.0392989255, 0.0151917189, -0.0433588922, -0.0657592714, 0.026688952, -0.0095804362, -0.0325555131, 0.0012853139, -0.0036699257, 0.0335437655, 0.0168822315, 0.0297686197, 0.0604098625, 0.0120934006, -0.0047659301, 0.0149793522, -0.0436478332, 0.0037281571, -0.0264321193, 0.0818897635, 0.1045157835, 0.0349509828, -0.0143028088, 0.0629320145, 0.0304543637, 0.0165690687, -0.0155015551, -0.0533143058, 0.0344531499, 0.0791517273, 0.0535995103, 0.0363807082, 0.0270679146, 0.0258012582, -0.0491844341, 0.0262713004, 0.0352207646, 0.0288407505, 0.0135564366, 0.0293986537, -0.0315516964, -0.0331280045, -0.04272696, 0.0264503751, -0.0336668305, -0.0375931859, 0.0174205713, 0.0165156107, -0.0130768381, 0.0012908954, 0.0257702451, -0.0773274153, -0.0449776128, 0.0143225733, 0.0061074095, 0.0055404399, 0.0058860518, 0.0316063762, -0.0767381266, -0.0082645901, -0.0487090759, -0.0028101255, 0.0018287119, -0.0301858075, -0.0073840674, 0.0178381931, -0.0905146226, -0.0243405402, -0.046185445, -0.0204083882, 0.0358191989, 0.0356560647, 0.0420518965, -0.0172588918, -0.0269735642, 0.043720182, 0.0288461056, 0.0265950095, -0.0151779409, 0.0010516205, 0.0262578204, -0.0043339101, -0.031135289, -0.0214444399, -0.0524196588, 0.0259655286, 0.0540307052, 0.0030371412, -0.0629993454, -0.0334577449, 2.504e-7, 0.078674525, 0.055044502, -0.020438984, 0.0252215322, 0.0155569585, 0.0282957703, -0.0335625075, 0.0267562047, 0.0146423047, 0.0120536126, -0.0054372456, 0.0015368208, 0.0789931267, 0.0121227754, -0.0597500317, -0.029393889, -0.0734402835, 0.0156641584, -0.0371801555, -0.0267711002, -0.0388957076, 0.1071417555, 0.0218258612, -0.0241614804, -0.0411040299, -0.0161218792, 0.045288384, -0.0620155521, -0.0206481833, 0.0277685262, 0.0197470132, -0.0104333125, -0.0095940651, 0.0313965231, -0.0400000252, 0.0079906704, 0.0006697945, 0.0566850901, 0.0163107533, 0.0023440185, 0.0195465777, -0.0184045732, -0.0006973592, -0.0586578399, 0.0602055825, 0.0028535423, -0.0281881411, -0.0052701258, 0.0043462859, -0.0147286039, 0.0344369262, 0.0004019515, 0.0097459266, 0.0505315624, 0.0000825887, -0.0193193387, -0.0412284993, -0.0739887804, -0.0555850342, -0.0108657032, -0.0547516532, -0.0751883909, -0.0517031513, -0.0226989631, 0.0124715352, -0.0552466959, 0.0115273921, 2.582881365e-34, 0.0306156185, 0.0218918938, 0.0299549811, 0.0556837991, 0.0230761971, -0.0237547401, -0.0109263035, 0.0121196965, 0.0166291948, -0.0870914534, -0.0005864169 ]
http://arxiv.org/abs/2407.01291v1
http://arxiv.org/pdf/2407.01291v1
Lightweight Zero-shot Text-to-Speech with Mixture of Adapters
2024-07-01T13:45:31
2024-07-01T13:45:31
Kenichi Fujita, Takanori Ashihara, Marc Delcroix, Yusuke Ijima
cs.SD
cs.SD, cs.CL, cs.LG, eess.AS
The advancements in zero-shot text-to-speech (TTS) methods, based on large-scale models, have demonstrated high fidelity in reproducing speaker characteristics. However, these models are too large for practical daily use. We propose a lightweight zero-shot TTS method using a mixture of adapters (MoA). Our proposed method incorporates MoA modules into the decoder and the variance adapter of a non-autoregressive TTS model. These modules enhance the ability to adapt a wide variety of speakers in a zero-shot manner by selecting appropriate adapters associated with speaker characteristics on the basis of speaker embeddings. Our method achieves high-quality speech synthesis with minimal additional parameters. Through objective and subjective evaluations, we confirmed that our method achieves better performance than the baseline with less than 40\% of parameters at 1.9 times faster inference speed. Audio samples are available on our demo page (https://ntt-hilab-gensp.github.io/is2024lightweightTTS/).
Lightweight Zero-shot Text-to-Speech with Mixture of Adapters: The advancements in zero-shot text-to-speech (TTS) methods, based on large-scale models, have demonstrated high fidelity in reproducing speaker characteristics. However, these models are too large for practical daily use. We propose a lightweight zero-shot TTS method using a mixture of adapters (MoA). Our proposed method incorporates MoA modules into the decoder and the variance adapter of a non-autoregressive TTS model. These modules enhance the ability to adapt a wide variety of speakers in a zero-shot manner by selecting appropriate adapters associated with speaker characteristics on the basis of speaker embeddings. Our method achieves high-quality speech synthesis with minimal additional parameters. Through objective and subjective evaluations, we confirmed that our method achieves better performance than the baseline with less than 40\% of parameters at 1.9 times faster inference speed. Audio samples are available on our demo page (https://ntt-hilab-gensp.github.io/is2024lightweightTTS/).
[ -0.0518837124, 0.0268138275, 0.0334852487, 0.0042270971, 0.0201159939, -0.0141592249, 0.0661305562, -0.0040190434, -0.0330619141, -0.017119702, -0.0196133107, -0.0063768132, 0.0447651036, 0.013553042, 0.0285904296, -0.0740428492, -0.0114110401, -0.0338580385, -0.0363524854, -0.0244874042, 0.0129595306, 0.0000201902, -0.0568755083, 0.0329220854, -0.0285144988, -0.004291188, -0.0366291776, 0.0050510615, 0.0272497274, 0.0266990494, -0.0591700822, 0.0174693689, 0.0427161008, 0.0492889434, 0.0000021455, 0.0160943456, -0.0041218973, 0.0171368606, -0.063273333, -0.0053627593, 0.022018861, 0.0161518939, -0.0422108099, 0.0311882924, 0.0011333757, -0.0446537286, 0.0717955083, 0.0172551982, 0.0196793918, 0.0494249277, -0.0019033926, -0.0487409234, 0.0160798598, 0.0185665581, 0.0532467663, 0.0142015144, -0.0336751193, -0.0304633565, 0.039164234, 0.002124225, -0.0411486886, 0.0362889171, 0.0032766957, -0.0041799252, 0.0591925606, 0.0045927376, -0.0417685099, -0.0377054475, -0.011357232, 0.0974043012, 0.0039657401, -0.0182262827, 0.0246860869, 0.013769595, -0.0484788232, -0.0206595212, -0.0019209341, -0.0084197987, 0.0278274212, -0.0104786595, -0.0693528652, 0.0417299643, 0.0070532844, -0.0601407997, -0.0651802495, -0.0152821569, 0.0081489421, -0.034568537, -0.0066432767, -0.0163648464, 0.0172254816, -0.0171121955, 0.0047335448, 0.0157954916, -0.0052627432, -0.0301789977, -0.0396782756, -0.0667780861, -0.0603667051, -0.0099043828, 0.0660967007, 0.0895404816, 0.0220602285, -0.0263112765, -0.027279228, 0.0090861311, 0.0003275239, -0.0598887503, -0.0428496078, -0.0427306369, -0.0453134738, 0.0204690062, -0.0300398096, 0.0408584103, -0.0458069742, -0.025148211, -0.0402170233, 0.0287077278, -0.0526225045, -0.0017169167, 0.0039560846, 0.0444722958, -0.0308290888, -0.0292772539, 0.0168784298, 0.0785888582, 0.0183902308, 0.0135718705, -0.0154519165, -0.0661574304, -0.0204118434, 0.0391118191, 0.0559624843, 0.0162321758, -0.0129568381, 0.0541176386, -0.0198744889, -0.0452931486, 0.0183994714, -0.0216322597, -0.0054113409, -0.026471151, -0.0071685519, -0.0525155552, 0.0222888682, 0.0012750376, 0.0018696159, 0.0025058014, -0.0058641639, -0.008113116, -0.0081495214, 0.0406933278, 0.0105209826, 0.0148266954, 0.013961792, -0.0158849079, 0.0022664485, 0.0407116227, 0.0413218848, -0.024574751, -0.0488967299, -0.0285203271, 0.0126449708, 0.0293734986, 0.0245548487, 0.0196305998, -0.0162001662, -0.0218470152, -0.0158979278, 0.0085904291, 0.0619954765, 0.0019965158, -0.0285944268, 0.0009515617, 0.0699432045, 0.0154970326, 0.0917112902, -0.0009209383, 0.0730067194, 0.0168109629, 0.0065238336, -0.0297769178, 0.0101162316, 0.036727801, -0.035417553, 0.0018722708, 0.0534210689, 0.0466981754, -0.0610974096, 0.0194727499, 0.0239631888, -0.0311717428, -0.0100783529, -0.0149116218, 0.0020557549, 0.0163811836, -0.0536817089, 0.035908483, -0.0131212715, -0.0733640715, 0.0120278858, -0.015548856, 0.0104649188, 0.0544456504, -0.0066636, 0.0245108306, -0.0083625885, -0.0519497395, -0.0052086194, 0.0323588103, -0.0489307493, 0.0152232489, 0.0577971488, -0.0561196208, -0.0178696867, 0.0395735838, 0.0131410537, 0.0598126054, -0.0369724035, 0.0493270084, 0.0452488214, -0.011250589, 0.0712506622, -0.0388292633, -0.0588153787, -0.0440502465, 0.0586957112, 0.0090819644, 0.0264373608, 0.0330394842, -0.0280485153, 0.001060236, -0.0090856003, -0.0297537055, 0.0136144385, 0.0489973314, -0.0523327738, -0.0290539805, 0.0290408097, -0.0534984767, 0.0352734923, 0.0005346098, 0.0349380225, -0.095730111, 0.0804274902, 0.0057550026, 0.0470155142, 0.0005028584, -0.000754931, 0.0318372175, 0.0247711595, 0.0682433695, -0.0245527048, 0.0342571214, -0.0148406485, 0.068680793, 0.0267715715, -0.015525056, -0.0558818839, -0.01233197, -0.0373474024, 0.0062537813, 0.0440097637, -0.0661854073, -0.0184686091, 0.0090110591, -0.0162737034, -0.0914567858, -0.0013963458, -0.0064893924, -0.0199580994, -0.0218644198, 0.0378581099, 0.0030244973, 0.0250543598, -0.0116292061, -0.007441605, -0.0034039121, -0.0199074019, -0.0456563197, -0.0337012149, -0.0118308803, -0.0005595686, 0.0233709961, 0.0025505691, 0.0152760511, -0.04965242, 0.0180304199, 0.0216202121, -0.014426738, 0.0212512128, -0.0039044963, 0.0230588242, -0.0279012118, 0.001692915, 0.0314031839, 0.0709487945, 0.001856453, -0.0027315009, -0.036553964, -0.0343112275, -0.0173866358, -0.0384096391, -0.0007988585, 0.0366686694, 0.0423947908, 0.0133311534, -0.0034122774, -0.0289912131, 0.0225836132, 0.0212122742, 0.0018265373, -0.0869576111, 0.030225005, 0.0096220365, -0.0287181567, 0.0345864818, 0.0166745726, -0.0288474858, -0.0233199466, -0.0022108706, -0.0188974049, -0.0054802722, -0.0741926581, -0.0645384043, -0.0114892973, -0.0265301242, -0.0145001598, -0.0669705123, 0.0051581012, 0.0166091956, 0.0053174612, 0.0366859622, 0.0015734814, 0.0048548658, 0.0247380249, -0.057015311, 0.0363148376, 0.0229049232, 0.0142378779, -0.0471999682, 0.01664, 0.0093208048, -0.0263564419, -0.0053236256, 0.0405051112, -0.0254924279, -0.0320146009, -0.0374973901, 0.0467612632, 0.0570723638, 0.0224896483, -0.0106257228, 0.0164956525, -0.0448079258, 0.0505060889, 0.0256140511, 0.0310312621, -0.0369402654, -0.0063114921, 0.0353772342, -0.0276298206, 0.0430445373, 0.0440165624, -0.0690242425, -0.0172654931, 0.0026645053, 0.0516665801, -0.0174252279, 0.0343758538, 0.0605616905, 0.0084814038, 0.0460374467, 0.1026887894, -0.0256426837, -0.0089649335, -0.0077303625, -0.0076059271, 0.0620311089, -0.0169729162, 0.0080748713, -0.0829993412, -0.0327834375, 0.0444690883, 0.0432475358, -0.0087156035, -0.0037594596, -0.0295538139, -0.0918851793, 0.044628039, 0.0577465147, -0.0291310046, -0.0160809271, -0.019920148, -0.0366468169, -0.0212649908, 0.0333020128, 0.036876034, -0.0237749126, -0.0250129793, 0.0319266766, -0.0562949814, -0.0559275784, -0.013280347, -0.0279566813, 0.1158384755, 0.0137427887, 0.0129119381, 0.0033868987, 0.0092344098, -0.0556195304, -0.0460804962, -0.0144398287, 0.0047315531, 0.0056993752, 0.0027368022, 0.003623757, 0.0084627708, 0.0549492985, 0.0020184938, 0.0335329771, -0.0325295776, 0.0653402209, 0.0045229988, 0.0075256368, -0.0243186075, 0.0230831485, 0.0114798816, 0.0434485599, 0.0165545717, -0.0563251823, -0.0037298151, -0.0133693311, 0.0174437761, -0.0561418608, -0.0199310482, -0.0090289051, 0.0112416353, -0.0894753635, -0.0053957463, -0.0004608285, 0.0139793744, 0.0696334913, -0.0106108952, -0.0135001699, -0.0268521737, -0.0166070201, -0.0027163296, -0.0300582889, -0.05157144, 0.0261336155, -0.0272545554, 0.011445649, 0.0187820308, -0.0298214089, 0.0126913227, -0.006881848, -0.052176103, -0.0499454513, -0.0341918916, 0.0331452526, 0.0165846851, 0.0512361005, -0.0045552575, -0.0351795666, 0.1247896403, 0.0265798271, 0.0158490855, 0.0669788718, 0.0781045109, 0.024174694, 0.0120861148, 0.0209879484, -0.028279623, 0.0353618227, -0.0145137599, -0.0026725659, -0.0181190968, -0.0323385336, -0.0101836361, -0.0067756148, -0.0370744877, 0.0106444228, 0.0540779941, 0.0055165398, 0.0164073948, -0.0536808595, 0.0419443473, -0.0365374275, -0.0449722558, 0.0352709107, 0.0355754495, -0.0021810182, -0.0019659821, -0.0522975251, 0.0675469786, 0.0404906683, 0.0504930317, 0.0273614936, -0.0483637601, 0.0106074587, -0.0129713435, -0.0045577744, 0.00008131, 0.0071669971, 0.0070242584, -0.0345827714, -0.0166900121, -0.0179627072, 0.0142862387, -0.0187348779, 0.0261745714, -0.000337214, 0.0286442153, -0.0140100652, 0.022407271, 0.0221555978, 0.0244283248, 0.0854337588, 0.0074868528, 0.055314742, -0.0291573666, 0.0363336615, -0.0506483205, 0.0268137176, -0.0043389043, -0.0120205395, 0.0027897516, 0.0016672682, 0.0252322592, -0.0083411792, 0.0018991625, -0.0276156887, 0.0736106485, -0.004983814, 0.0051552346, -0.0259233266, -0.0028270066, -0.007279254, -0.0307570957, -0.0387813672, -0.0301139299, 0.0666702688, -0.0553992167, -0.0061442619, -0.0487714373, 0.01130905, -0.0845643654, -0.0228024814, 0.0324513167, 0.0073407535, -0.0519000031, 0.0057624215, -0.04228938, 0.0235381294, -6.485261843e-33, -0.0407040156, 0.0148555422, 0.0209663678, -0.0424019434, -0.0300706457, -0.0078692567, -0.0378439352, 0.0222959258, -0.0530349649, -0.0318511091, -0.0338900313, -0.0162051208, 0.014622638, 0.0475863405, -0.0260690991, 0.0397049189, 0.071291782, -0.0172250196, 0.0013088982, 0.0117822466, 0.0349167064, 0.0259880666, -0.0393413194, -0.0015059749, -0.0692487359, -0.0090581151, 0.0153469052, -0.060503345, 0.0493705794, 0.0079744989, 0.0113328164, 0.0676452368, -0.0164010432, 0.0070503568, -0.0018347326, 0.0029997437, -0.0359596014, 0.0108043822, -0.0118017094, 0.0154078957, 0.0271623693, -0.0270199589, 0.0183639713, 0.030065842, -0.0602013692, -0.0688277483, 0.0043280232, -0.0073936889, -0.0306775253, -0.0024609314, -0.0492378175, 0.0319176018, -0.0248198137, -0.0370108113, 0.0631837398, 0.0812485367, -0.0271896794, -0.0086681005, -0.0767661482, 0.037851572, 0.021157803, 0.0154119655, 0.0329539068, 0.0287338477, 0.0156121338, -0.0039128647, 0.0333597027, -0.0740582943, -0.0443344861, 0.0040088296, 0.0430524498, 0.0201661289, 0.018218156, 0.0408108421, 0.0360568762, -0.0507370792, 0.0132798506, 0.0225425716, 0.0240860879, 0.0216154922, 0.0219824482, 0.0385537334, -0.0057299342, 0.0123473667, -0.042624373, -0.0613755099, -0.0290186182, -0.0632101074, 0.035431888, -0.0021513165, -0.0277019832, -0.0487393104, 0.0863686725, -0.0366288982, 0.0255429093, 0.0045225094, -0.0353456065, 0.0409994163, 0.0021595545, 0.0183923431, -0.052823741, -0.0369551815, 0.1082868502, 0.0448588394, 0.006603017, -0.005386583, -0.0288854297, 0.0789866447, -0.0517558753, -0.0330886208, 0.0070218239, 0.0168218333, 0.0000641258, 0.0409192331, 0.0128709814, -0.0058319066, 0.0045857034, 0.0026296892, -0.0316047594, -0.0045356411, 0.033553645, 0.0000068022, 0.0262018424, -0.0119601861, -0.054117348, 0.0553819314, -0.0033322126, 0.0009680572, 0.0583923012, -0.0266079307, -0.0094419559, 0.0028867412, 2.984e-7, -0.0639170408, 0.0035751446, 0.001114731, -0.0686694384, 0.0375324488, 0.0411362164, 0.0117202345, 0.0378329791, -0.0107686995, 0.0072837584, -0.0206270646, 0.0057212063, 0.0869689211, -0.0009305839, -0.0770564601, -0.0032766615, -0.0240472965, 0.0139016546, -0.0271138102, -0.0049954252, 0.0195376072, 0.0748611838, -0.0127506517, -0.011572211, 0.060506124, 0.0057986514, 0.0586483888, 0.0224562772, -0.0160398632, -0.0510291792, 0.0149222398, -0.0194635801, -0.0235752054, -0.021000471, -0.0187885053, 0.0438097492, -0.0166258365, 0.0454027727, -0.0247933064, -0.0694746152, -0.0005541193, 0.0176029392, -0.0645442307, 0.0454190038, 0.0745585337, -0.0035456433, -0.0254880302, -0.0046355394, -0.0801510215, 0.0528669469, -0.0343325473, -0.023620259, -0.0072933719, -0.0042427965, 0.0322555602, -0.0095567871, -0.0185689908, 0.0163684022, 0.0097807366, -0.0017826023, -0.0406336002, -0.0500509031, -0.0275263488, -0.0217321143, 0.0801110119, -0.0110123567, -0.029079292, 2.30623956e-34, 0.0049763243, -0.0298739634, 0.0612990335, 0.0003841006, -0.0279284045, -0.0256697554, 0.00157578, 0.0041173398, 0.0285894442, -0.0682889968, -0.054364901 ]
http://arxiv.org/abs/2407.01284v1
http://arxiv.org/pdf/2407.01284v1
We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning?
2024-07-01T13:39:08
2024-07-01T13:39:08
Runqi Qiao, Qiuna Tan, Guanting Dong, Minhui Wu, Chong Sun, Xiaoshuai Song, Zhuoma GongQue, Shanglin Lei, Zhe Wei, Miaoxuan Zhang, Runfeng Qiao, Yifan Zhang, Xiao Zong, Yida Xu, Muxi Diao, Zhimin Bao, Chen Li, Honggang Zhang
cs.AI
cs.AI, cs.CL, cs.CV, cs.LG, cs.SC
Visual mathematical reasoning, as a fundamental visual reasoning ability, has received widespread attention from the Large Multimodal Models (LMMs) community. Existing benchmarks, such as MathVista and MathVerse, focus more on the result-oriented performance but neglect the underlying principles in knowledge acquisition and generalization. Inspired by human-like mathematical reasoning, we introduce WE-MATH, the first benchmark specifically designed to explore the problem-solving principles beyond end-to-end performance. We meticulously collect and categorize 6.5K visual math problems, spanning 67 hierarchical knowledge concepts and five layers of knowledge granularity. We decompose composite problems into sub-problems according to the required knowledge concepts and introduce a novel four-dimensional metric, namely Insufficient Knowledge (IK), Inadequate Generalization (IG), Complete Mastery (CM), and Rote Memorization (RM), to hierarchically assess inherent issues in LMMs' reasoning process. With WE-MATH, we conduct a thorough evaluation of existing LMMs in visual mathematical reasoning and reveal a negative correlation between solving steps and problem-specific performance. We confirm the IK issue of LMMs can be effectively improved via knowledge augmentation strategies. More notably, the primary challenge of GPT-4o has significantly transitioned from IK to IG, establishing it as the first LMM advancing towards the knowledge generalization stage. In contrast, other LMMs exhibit a marked inclination towards Rote Memorization - they correctly solve composite problems involving multiple knowledge concepts yet fail to answer sub-problems. We anticipate that WE-MATH will open new pathways for advancements in visual mathematical reasoning for LMMs. The WE-MATH data and evaluation code are available at https://github.com/We-Math/We-Math.
We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning?: Visual mathematical reasoning, as a fundamental visual reasoning ability, has received widespread attention from the Large Multimodal Models (LMMs) community. Existing benchmarks, such as MathVista and MathVerse, focus more on the result-oriented performance but neglect the underlying principles in knowledge acquisition and generalization. Inspired by human-like mathematical reasoning, we introduce WE-MATH, the first benchmark specifically designed to explore the problem-solving principles beyond end-to-end performance. We meticulously collect and categorize 6.5K visual math problems, spanning 67 hierarchical knowledge concepts and five layers of knowledge granularity. We decompose composite problems into sub-problems according to the required knowledge concepts and introduce a novel four-dimensional metric, namely Insufficient Knowledge (IK), Inadequate Generalization (IG), Complete Mastery (CM), and Rote Memorization (RM), to hierarchically assess inherent issues in LMMs' reasoning process. With WE-MATH, we conduct a thorough evaluation of existing LMMs in visual mathematical reasoning and reveal a negative correlation between solving steps and problem-specific performance. We confirm the IK issue of LMMs can be effectively improved via knowledge augmentation strategies. More notably, the primary challenge of GPT-4o has significantly transitioned from IK to IG, establishing it as the first LMM advancing towards the knowledge generalization stage. In contrast, other LMMs exhibit a marked inclination towards Rote Memorization - they correctly solve composite problems involving multiple knowledge concepts yet fail to answer sub-problems. We anticipate that WE-MATH will open new pathways for advancements in visual mathematical reasoning for LMMs. The WE-MATH data and evaluation code are available at https://github.com/We-Math/We-Math.
[ -0.0448343605, 0.0869172066, -0.022621775, 0.0502950996, -0.037659917, 0.0190387722, 0.0279120728, 0.0243938211, -0.0360871032, -0.0089442506, -0.0449690595, 0.0133529035, 0.0015566397, 0.0108272377, 0.0489213355, -0.0986702666, -0.0022309066, -0.029734455, -0.033959046, -0.0191256553, -0.018361792, -0.033664085, -0.0592337437, -0.0100660985, -0.0760186687, -0.0667976961, 0.0000308778, -0.0397318527, 0.0351453014, -0.035660658, -0.0176996123, 0.0316396132, 0.0439368747, 0.0223169941, 0.0000023709, -0.008481524, 0.0096745854, 0.0017881922, -0.0044620531, 0.0216003507, -0.0331486948, -0.0438421406, 0.0368961096, -0.0190841425, -0.0644963533, 0.0132551091, 0.0144885993, 0.0085712587, 0.0518997088, 0.0073521142, -0.0071127713, -0.0051217042, 0.0490084179, 0.0064655775, 0.0774699077, -0.0657423586, -0.0263389535, 0.0856911018, 0.0251518246, -0.0116434153, -0.0885266811, 0.0522629358, 0.0909989774, 0.0167507641, 0.0083615873, 0.0120543186, 0.01145049, 0.0082464125, -0.0077261217, 0.0672233775, -0.0108598424, 0.0209479164, -0.0209079273, 0.0176612437, 0.0233453773, 0.0394140035, -0.1047552004, 0.03783511, -0.0488501601, -0.0382860005, -0.0966919884, -0.0028153665, -0.0025849582, 0.0037828421, -0.0183645524, 0.034924984, 0.025308691, 0.0270913877, 0.0109563963, -0.0029304617, -0.0774078146, -0.0130321058, 0.0291585028, 0.0355151035, 0.0027434051, -0.0008793268, 0.0005687248, -0.0404207818, -0.0347631946, -0.0170857813, 0.0695139617, 0.0717748553, -0.0151548414, 0.0182044338, -0.0425545648, 0.073906444, -0.045163516, 0.0403033532, -0.0103121577, 0.0234238934, -0.045426622, -0.0051298821, -0.0117537724, 0.0051905736, 0.0213055816, -0.0174825788, -0.0411824398, 0.0160951056, -0.0271515921, 0.0360785872, -0.0217960179, 0.0207073912, 0.0227384456, -0.0231804699, -0.06563586, 0.0319952369, -0.065894559, 0.031003112, -0.0153274396, 0.0015079172, -0.0093788989, 0.0143695436, -0.0203092936, -0.0336623825, 0.026837701, 0.0761538446, -0.0187432989, 0.0131767197, -0.0150648141, -0.0277151614, 0.0287080687, -0.0803665668, 0.0748118982, -0.0376976728, 0.0343402363, -0.0054527977, -0.0028324265, 0.0011660235, 0.0122116096, 0.0172837339, 0.0264968853, 0.0757720917, 0.0176959559, -0.0223023109, 0.0151707735, 0.0291372947, -0.0831380188, 0.032370504, 0.0572561473, 0.0117053995, 0.0165441204, -0.0333860293, 0.0180067439, 0.0388415419, 0.0269590449, -0.0007481924, 0.0034267914, 0.0040903105, 0.0054933066, 0.0554743968, 0.0110589163, 0.0324176438, -0.0553405844, -0.046519991, 0.0508696362, 0.0249441974, -0.0163231473, 0.0006461384, 0.0150508909, -0.0096120005, 0.0531414375, 0.0086533641, -0.0791020915, 0.0955942124, -0.0257421937, -0.0127115389, 0.0135421008, -0.0038685442, -0.0234973375, -0.0414493382, -0.0087507861, 0.0305585712, -0.0129453139, 0.0112569621, 0.0607881509, 0.0067550754, 0.0232873056, -0.0014374478, -0.0116921952, -0.0157954581, 0.0001990466, -0.0119158104, 0.0337831229, -0.0286509618, 0.0568778366, -0.0298394002, -0.0419877619, -0.0072333366, 0.0176445898, -0.0121771116, 0.0063833026, 0.0182019528, -0.0002311253, -0.028749669, -0.0196393486, -0.0344737247, 0.0006965847, 0.0134405093, 0.0306350663, -0.0211906936, -0.0111718299, -0.0744470805, 0.0624523051, -0.0027923915, 0.0017754615, -0.0179693997, -0.0358815677, -0.0087573854, 0.0155350128, -0.0247612186, 0.0491259396, 0.0061415504, -0.0045656334, -0.0232971255, 0.0039452221, 0.0054654749, -0.0569508374, -0.0370866619, 0.0310097989, -0.0911679044, -0.0375504121, 0.0116468314, -0.0416514538, -0.0075332806, 0.0757760927, -0.0040679914, -0.0314007923, 0.0135435415, -0.0337875485, 0.0399367251, -0.0214923676, 0.0180841982, 0.0583378822, -0.0277877077, 0.0084282644, 0.0007520515, -0.0114291171, 0.01970906, 0.0102303708, 0.0301850624, -0.0107370876, -0.0242153425, 0.0382139981, -0.0635501817, -0.0174677707, -0.0501589738, 0.0344514623, -0.0327940919, 0.0085375672, 0.0136065846, 0.0187460408, 0.006842602, -0.0471920557, -0.0118874265, -0.0377400592, -0.0169996955, 0.023099158, -0.0225909278, 0.0163525324, -0.0032832108, 0.0039379308, 0.033545848, 0.0016119442, -0.0043088775, -0.0350273624, 0.0601015761, 0.0361112095, 0.0878194198, 0.0129205612, -0.019408254, -0.0468821079, -0.0119956713, -0.0283310432, 0.0263035707, 0.0554266796, -0.021597987, 0.0231201276, 0.0580885597, -0.0084870867, 0.059256006, -0.0079407627, -0.0437050276, -0.032361459, 0.0244147424, 0.0037697651, -0.0107254554, 0.0087337345, -0.0149230249, -0.0330755934, 0.0332070962, -0.0175546035, -0.0029227128, -0.0356351137, 0.040314164, 0.0050487393, -0.0153670376, -0.0731744692, 0.0126094529, 0.0127844587, 0.0176829845, -0.021752039, -0.0297629647, 0.0285956971, -0.0107949702, -0.0140560605, 0.00703341, 0.0450199172, -0.0134606399, 0.0846462473, 0.0155637516, 0.0003241952, -0.0478554703, -0.0026551418, -0.0440529399, 0.0057441089, 0.0472418256, 0.0082795052, 0.053793449, -0.0617629439, -0.0129133947, -0.0368533544, -0.0380359069, -0.026999522, 0.0774773583, 0.0002593902, 0.0317459032, -0.0275333133, -0.0495876521, -0.016509641, -0.0240441784, 0.0733137429, -0.0204631276, -0.0313882008, -0.0353416726, -0.0021021923, 0.0063040252, -0.0080486871, 0.0465327874, 0.002426347, -0.1088711694, -0.0090317931, 0.0426919051, 0.0564587899, -0.0423943214, -0.0342979096, 0.0488763303, -0.0251891688, 0.0290750749, 0.0013283918, -0.0031231614, 0.0344630852, -0.0571613535, 0.0457367413, 0.035819158, 0.0000562174, -0.0242308453, 0.003084738, -0.0478428155, 0.016379565, 0.0299698934, 0.0050177453, -0.0786121413, -0.0321340226, 0.0263090339, 0.0017464067, 0.0536245666, -0.0424001813, 0.0213111211, -0.0502676368, 0.0337750688, -0.0000379966, -0.0566944703, -0.0338661186, 0.0191451963, 0.013101845, 0.0253783911, -0.0081973141, -0.0006316844, 0.0093183275, 0.0356505401, 0.0225414783, 0.0029736143, -0.0058758142, 0.008399548, -0.0209491011, -0.079220593, -0.0139724789, -0.025796013, -0.0142967207, -0.1099187583, 0.0215790868, 0.0727045536, 0.0058564465, -0.0058766082, 0.0556030013, -0.0161749646, -0.022239957, -0.0154489921, 0.0391065478, -0.0087072011, -0.0428606719, 0.0195431579, 0.0891477913, -0.0127962204, 0.0118276719, -0.0289538112, -0.0008792342, -0.0672002807, 0.0069627459, 0.0435146019, -0.0179891475, -0.0330256335, -0.0334588438, 0.0313834473, -0.0670280457, -0.0132067464, 0.0107265292, 0.0735086203, 0.0174158551, -0.0388988256, -0.0138266599, 0.0439721309, 0.065253675, -0.0138585521, -0.0685682967, 0.0025979679, -0.0025717975, -0.0275126696, 0.0637583286, -0.0197960287, 0.0301095992, -0.0247862469, 0.0224035811, -0.0319982208, -0.0454259515, -0.0312987007, 0.0100732399, -0.0779255629, 0.0104398299, -0.0425318964, 0.0551140159, 0.0161176827, -0.0183239412, 0.0440921634, -0.0112425778, 0.0241357461, 0.0129930666, -0.0158693865, 0.0227013621, 0.0262746532, -0.0074997181, 0.0127809132, -0.0062119793, -0.0023620361, -0.0026875348, 0.0044777542, 0.0486047119, 0.0090618487, 0.0562156439, -0.0041777496, 0.0075063016, 0.0125398627, 0.0101703554, 0.0283918399, -0.014308176, 0.0034909432, -0.00397, 0.0089546265, -0.0579951406, -0.0056048827, 0.0311574433, -0.0035437129, 0.0305209085, -0.0149000268, 0.0712935701, 0.0334629528, 0.018846225, 0.0137988525, 0.0209142808, -0.0109179718, 0.0131864706, 0.0267665293, 0.02700633, -0.0071333931, -0.0412539281, 0.0521747805, -0.0040364931, 0.0999934897, 0.018137021, -0.0229547545, -0.030458428, -0.0011291363, -0.0414414667, -0.0873057544, 0.0425398052, 0.0232576206, 0.063977994, 0.0285100043, -0.0364792831, -0.0629146174, 0.0125949224, 0.0135826245, 0.0134907104, 0.0010104136, -0.0007463921, 0.0591044873, 0.0429851823, 0.0483449921, -0.0608207919, 0.0381709635, -0.0395318046, 0.0371069536, -0.0475815982, 0.0176953096, -0.0282232221, -0.0348303355, 0.0498216711, 0.0137450472, 0.022776233, 0.0059526064, -0.0689058155, -0.0864159167, -0.0212396327, 0.0265668109, -0.0303663332, 0.0070027015, 0.0538541786, 0.0479676053, -0.0181767419, -0.0329628326, 0.0374653414, 0.0374593623, -0.0334049091, -0.0098692756, 0.014569723, -6.016933506e-33, -0.0277686976, -0.0151876817, 0.0520180874, 0.0044790255, 0.0088835806, -0.0266569294, -0.0242930371, 0.0521803498, -0.0166463088, 0.0145666273, 0.02032624, -0.025954159, -0.0112392986, 0.0363642462, 0.0166912321, 0.0102914236, 0.0006739358, -0.0121212024, -0.0396802872, 0.0027855176, -0.0040597934, 0.0069692037, 0.0494344383, -0.0281988159, -0.0265131146, 0.0352353789, -0.0148445386, 0.0176725462, -0.0701456815, 0.0462683775, -0.0387707241, -0.0096561434, 0.0277627539, -0.0008018761, -0.0350311846, -0.0134055046, -0.051246427, -0.0336255766, -0.0030328028, 0.0342488363, -0.1295011789, -0.0174445249, 0.0511119589, -0.0117027126, -0.0245224554, -0.0546149202, 0.0270855986, -0.0146402968, -0.0011424602, 0.0127272513, -0.0023344485, 0.0061134244, -0.0197153054, -0.0282476358, 0.0128238611, 0.0355221108, 0.0027101014, 0.0289495643, -0.0523663945, 0.0195830017, -0.0323515423, -0.0323470011, 0.068983838, 0.0148856062, 0.0225457083, 0.0414244048, 0.0237138588, -0.0487514324, -0.0290504489, -0.0084633883, 0.0284068082, 0.0826076195, 0.0711418465, 0.0110644959, 0.0444692187, 0.0384392478, -0.0121858949, 0.008220138, -0.0773798451, 0.0751320794, 0.0027886, 0.0225126185, -0.0141167771, 0.0053299516, -0.0243721716, 0.0037390434, -0.0598693714, -0.0069473842, 0.0405357257, -0.022317633, 0.0360859036, 0.0174005181, 0.0358023681, -0.0218357723, -0.0013622564, -0.0058327806, 0.0076737497, 0.0701247305, 0.0193505324, 0.0130884256, -0.0325850584, 0.0043048863, 0.0175322611, -0.0161409304, 0.0278297961, -0.0034439592, 0.0395468734, 0.025107123, -0.0045402544, -0.0320778303, -0.0462295972, -0.0324347652, 0.0519372225, 0.0078758914, 0.0370485224, 0.0180517845, -0.0488077216, 0.0096027171, -0.0535600483, -0.0071517578, -0.0445533805, -0.0253421124, -0.0631867647, 0.0172290541, 0.0015501305, -0.0055765901, -0.0478628688, -0.0730049461, 0.0016875261, -0.0744060054, 0.0069438065, 0.0220327694, 2.916e-7, 0.0308411755, 0.0381658822, 0.0020509949, -0.0113917775, 0.0433976166, 0.0507186875, -0.0468091369, -0.0309978891, -0.0170584824, -0.0459477082, -0.0087495502, 0.0890142545, 0.0353814885, 0.0474647544, 0.0161307603, -0.001899079, 0.0125507014, -0.0318333507, -0.0494915396, 0.0316357128, 0.0712586194, 0.0112057328, 0.0262956209, -0.0023909567, 0.0554792285, -0.0519122109, 0.0804942772, 0.0110475104, 0.0116276937, -0.0454250611, 0.0046537966, -0.0088043995, -0.000367819, 0.0148577699, 0.0095569752, -0.0366208814, 0.0293732993, 0.0187886301, 0.0152954236, 0.0099456627, -0.0276188739, -0.0059446245, -0.0103926091, -0.0435173139, 0.0475943685, -0.0391003862, -0.0280780755, 0.0360780954, -0.0209033322, -0.0153084276, 0.0159527715, -0.0103348996, 0.0002537626, -0.0189776458, 0.0010790959, -0.0093324892, -0.0253164545, -0.0428089388, 0.0023087633, 0.0233525783, -0.0823362321, -0.0129423505, -0.0595147051, -0.0316515155, 0.0367331095, 0.0224520415, -0.0805933699, 2.237601481e-34, 0.0331123471, -0.0121487556, 0.0493022762, -0.007246478, 0.0318362601, -0.033849597, -0.0607203841, -0.0006101293, 0.0075446931, -0.0480983704, -0.0189053919 ]
http://arxiv.org/abs/2407.01274v2
http://arxiv.org/pdf/2407.01274v2
Leveraging Large Language Models for Actionable Course Evaluation Student Feedback to Lecturers
2024-07-01T13:29:55
2024-07-02T08:47:45
Mike Zhang, Euan D Lindsay, Frederik Bode Thorbensen, Danny Bøgsted Poulsen, Johannes Bjerva
cs.CY
cs.CY, cs.CL
End of semester student evaluations of teaching are the dominant mechanism for providing feedback to academics on their teaching practice. For large classes, however, the volume of feedback makes these tools impractical for this purpose. This paper explores the use of open-source generative AI to synthesise factual, actionable and appropriate summaries of student feedback from these survey responses. In our setup, we have 742 student responses ranging over 75 courses in a Computer Science department. For each course, we synthesise a summary of the course evaluations and actionable items for the instructor. Our results reveal a promising avenue for enhancing teaching practices in the classroom setting. Our contribution lies in demonstrating the feasibility of using generative AI to produce insightful feedback for teachers, thus providing a cost-effective means to support educators' development. Overall, our work highlights the possibility of using generative AI to produce factual, actionable, and appropriate feedback for teachers in the classroom setting.
Leveraging Large Language Models for Actionable Course Evaluation Student Feedback to Lecturers: End of semester student evaluations of teaching are the dominant mechanism for providing feedback to academics on their teaching practice. For large classes, however, the volume of feedback makes these tools impractical for this purpose. This paper explores the use of open-source generative AI to synthesise factual, actionable and appropriate summaries of student feedback from these survey responses. In our setup, we have 742 student responses ranging over 75 courses in a Computer Science department. For each course, we synthesise a summary of the course evaluations and actionable items for the instructor. Our results reveal a promising avenue for enhancing teaching practices in the classroom setting. Our contribution lies in demonstrating the feasibility of using generative AI to produce insightful feedback for teachers, thus providing a cost-effective means to support educators' development. Overall, our work highlights the possibility of using generative AI to produce factual, actionable, and appropriate feedback for teachers in the classroom setting.
[ 0.0566674173, 0.0382871926, -0.0245070942, 0.0165467001, -0.0248288698, 0.0026292377, -0.0059574153, -0.0487709455, 0.0230954103, -0.0727796629, 0.0116146095, -0.03613187, -0.0222338364, 0.0302694365, 0.0126491804, -0.0803589448, -0.0156353395, -0.0221285, -0.0317399837, 0.0102066314, 0.0088607296, 0.0290351734, -0.0366806835, 0.0539529398, 0.0054252353, -0.0102403462, -0.0441018604, -0.0259346571, 0.0172155928, 0.0226531513, -0.0023420204, 0.0610084198, -0.0097401775, 0.0172672775, 0.0000017994, -0.041342292, 0.0123783071, 0.0027908166, -0.0035514375, 0.0551961735, 0.0758952796, 0.046894189, -0.0117477877, 0.0156726483, -0.0300672259, -0.0223191921, 0.0244977456, -0.0022641562, 0.090776369, 0.0237912256, 0.0091921519, -0.0432621464, 0.0094540389, 0.0192144085, 0.0415781587, 0.0235242918, -0.0010431693, 0.0105927065, 0.0239296313, 0.0257932469, -0.0201039743, -0.0090892315, 0.0125111192, -0.1020825878, 0.0330586657, 0.0317462385, -0.0286653545, 0.017759895, 0.0283976682, 0.0470921099, 0.0217460189, -0.0005815588, -0.0012817939, -0.0236593504, 0.0430008285, 0.0195158981, -0.0435586646, 0.0476398617, -0.0072025442, 0.0232922416, 0.006856441, 0.0040182369, -0.0363454781, 0.0149519257, 0.0110249585, -0.0394580141, 0.0118107488, -0.0364446081, -0.0251116753, 0.0692835003, -0.0154298656, -0.0475622192, -0.01684222, 0.0537633859, -0.0236841012, 0.0005141857, -0.0108032385, -0.0434072651, 0.0133212386, -0.0263684541, 0.0354585387, 0.0176989958, 0.0014534888, 0.0311818905, 0.0012557944, 0.059453316, 0.0169316567, 0.0030900904, -0.0570714772, -0.0047601582, -0.0941098034, 0.0004006966, 0.0041152197, 0.0711263493, 0.010742126, 0.0277605578, -0.0550809167, 0.0180917829, -0.0597302429, 0.0552701578, 0.0091355927, 0.0242027268, -0.0016398631, 0.0359900557, -0.0371279605, 0.0427644849, -0.0135872141, -0.0196710378, 0.0055640214, -0.0305592958, 0.016365692, 0.0407471284, 0.0077065569, 0.0360006467, -0.0210532621, 0.0293779429, 0.0035095764, 0.0318431519, -0.0206952225, -0.0290380586, 0.006499643, -0.0108986013, -0.0088758999, -0.0784123018, 0.0117446147, 0.0065085823, -0.004511707, -0.0045156502, 0.0203994904, 0.0249761678, 0.0298266392, 0.0283509512, -0.0032807998, 0.0125237256, 0.033864487, 0.0027233795, 0.0579243302, 0.0069644181, 0.023281958, 0.0594561026, 0.0219451785, -0.024802912, 0.078434214, 0.0128368679, 0.0111807212, 0.0197821949, -0.0044252155, 0.00605998, 0.0041597094, 0.0157773457, -0.0422966853, 0.0824228749, 0.0171380974, 0.0428850353, 0.0133425081, 0.0333353281, -0.0202002637, 0.0561407134, 0.0666158795, 0.0071710916, 0.0128098736, 0.0180107132, -0.0029893052, 0.0347623527, 0.000738232, 0.0175797325, 0.0394182168, -0.0217821412, -0.0002854212, -0.1097174287, -0.0150599033, -0.0182245653, -0.0150550529, 0.0228786897, 0.0471337028, 0.0149439219, -0.0193074588, -0.0154389627, 0.0283369478, -0.1139429286, 0.0678676069, -0.0962734222, 0.0709790215, 0.1131337732, 0.0454746559, -0.0394803099, -0.0225291885, -0.0284032319, -0.0278447494, 0.0364215001, 0.0581214763, -0.052531071, -0.046148777, -0.0337131955, -0.0188646298, 0.0052569034, -0.0022641202, 0.0228821915, -0.0140946871, -0.0086478218, 0.0198235679, -0.0233042799, -0.0858816728, 0.0195183437, 0.0101627363, -0.053943757, 0.0163866058, 0.009379115, 0.0199148227, 0.0607421696, -0.0264308024, 0.0134978881, 0.017546583, -0.0114734033, -0.0424410142, -0.0429468229, -0.0291299596, -0.0152998706, 0.0512733497, -0.0369323194, -0.0093605211, -0.0124880318, -0.0571184866, -0.0418426469, 0.0531505346, -0.030662531, 0.0160054155, -0.0271735936, 0.0075892257, 0.0047865873, -0.0210921001, -0.0273112878, 0.0309226085, 0.0369189233, 0.0159015041, 0.0404377691, 0.00106706, 0.0381670259, -0.0085015465, -0.0318202935, 0.0168852061, 0.0309313014, 0.0392553322, 0.0274462178, 0.0238927938, -0.0561613292, -0.0454472676, -0.0811383799, -0.0475019589, 0.0236199535, 0.0222628005, 0.0294827912, -0.006528859, 0.0216272343, 0.0134115927, -0.0750232711, -0.0475377217, 0.0149299763, -0.0389319547, 0.0137616619, 0.0180746466, 0.0144465761, -0.0633210465, -0.0286523812, -0.0316759609, 0.0245768446, 0.0846819356, 0.030317463, -0.0453632362, 0.05573662, -0.0143516511, 0.014099814, 0.0272120032, -0.0466368571, 0.0120524084, -0.0596685484, 0.0525825806, 0.0413594693, 0.0099318214, 0.0391773991, 0.0367002003, -0.0019512201, -0.0810525566, 0.0157596674, -0.0488208793, -0.0320018381, -0.0017378159, -0.0421829633, -0.002112916, 0.0131875323, 0.0574781559, -0.0530562475, -0.048092559, 0.0111819236, -0.0516651273, 0.0201317947, -0.0696778595, -0.0100577548, 0.0115543399, 0.0102824261, 0.0241574477, -0.002196651, 0.0760700703, -0.0093012135, 0.0062574027, -0.0372415371, 0.0120440163, -0.0503073223, 0.0505698994, 0.0068220482, 0.0173260979, -0.0236692, 0.0323349722, -0.0278513283, 0.0195616428, 0.0316930003, -0.0510919914, 0.0210808124, -0.0573707968, -0.0186042413, -0.0117173865, 0.0159460939, -0.0395398438, 0.0073216963, 0.0320636369, 0.0323112831, 0.0309736673, -0.0279021971, 0.0152628347, -0.0061014206, 0.025691539, 0.0046320804, -0.0104325097, -0.0459503233, 0.0189952236, 0.0294492412, 0.0185285062, -0.0179739147, -0.0414153598, -0.0133801159, -0.0141887171, 0.0365861319, 0.0472322628, 0.0275874101, -0.0194783174, -0.0395849347, 0.034088552, -0.0399146006, 0.0428421237, 0.0142253758, -0.0005594112, -0.0425882973, -0.0304381717, 0.1080465093, 0.0335593, -0.0455876179, -0.0324649885, -0.0055036917, -0.0069107888, 0.0114881471, 0.0569233857, -0.0585222542, 0.0231615789, -0.0495994948, 0.0401499309, -0.0206767954, -0.0035245903, 0.0252382662, -0.1538253129, 0.064883709, 0.0025264809, -0.0105726384, -0.027379496, -0.0176822841, -0.0124868723, -0.0167445559, -0.0384427346, -0.0274505801, 0.0238924809, 0.0457385369, 0.0678730085, -0.0093306508, -0.0427715518, 0.0098019121, 0.0144529734, 0.0547903068, 0.0849856511, 0.0324498489, -0.0203084517, -0.0479629189, 0.0200758837, -0.0153974434, -0.0128959361, 0.0207776297, 0.0348199569, 0.0030192519, -0.0187917203, -0.0040616663, 0.0210414156, -0.0469110757, 0.0033604987, 0.0713759661, 0.066770494, 0.0016484733, 0.005471515, -0.0851437747, 0.0354944654, 0.0384274609, 0.049044013, 0.043234311, -0.0734680295, 0.0274536218, -0.0741012841, 0.0081121475, -0.046472121, -0.0497245267, 0.0070553278, -0.0034233856, -0.0130729247, -0.0425294004, -0.0508311465, 0.0357968062, -0.0164873581, 0.018984478, -0.0296807811, 0.007346014, 0.0105876094, -0.0173504241, -0.0224828199, 0.0021940225, 0.0123011237, -0.0523097478, -0.076687634, 0.0185282864, -0.0291141234, -0.0382429473, 0.0149911428, -0.0593002513, -0.0504213236, 0.0061794524, 0.0704260841, 0.0108262347, -0.0149141066, 0.0013050413, 0.0008088773, 0.0171829555, 0.047847148, 0.022982534, -0.0086385738, 0.0133263674, 0.0551208444, 0.0063596843, -0.014587828, -0.036805544, 0.0266760346, 0.0325093418, 0.0059209736, -0.0050341799, -0.0332264192, 0.0209283121, 0.0352511033, 0.0122418143, -0.0186607763, -0.0061452026, -0.0407644138, -0.006078958, -0.0334643349, -0.0417463966, -0.0384596363, -0.0027682192, 0.0190769397, -0.0078407945, -0.0004587671, 0.0125786765, -0.0426117666, 0.0389806218, -0.0368326083, 0.0389430411, 0.021464454, -0.0036683755, 0.0296608787, -0.0029173456, -0.0480500013, -0.0316657089, 0.0132192671, 0.0154569019, 0.0061644553, 0.0697880313, 0.0185191762, 0.0277005769, 0.0545581691, 0.0162218381, -0.0204303041, 0.0057784631, -0.061593622, 0.0399118327, -0.0302345529, 0.0499725193, 0.006570288, -0.0247286949, 0.0018970766, 0.0053982427, 0.0521214679, -0.0057779974, -0.0470506325, -0.0113290073, 0.0032097897, 0.0424277969, -0.0346829556, 0.0469929539, -0.0545431077, 0.0126752872, -0.0102942074, 0.0017545759, -0.0423577055, -0.0112935221, -0.0253926925, -0.0216924082, 0.0266064573, 0.0099521643, -0.0341107138, -0.0373388678, -0.0390579179, 0.0827125907, 0.0497956797, -0.002449502, 0.0352805294, 0.022393411, -0.0302121937, 0.0266900063, -0.0648061931, 0.0492108874, -0.0368963405, -0.0400296748, -0.0398115665, -5.189412666e-33, -0.0622979626, -0.0332458243, -0.0232014731, 0.0568724014, 0.0138252303, -0.0104592871, -0.0358833037, 0.0272469092, 0.0088792872, 0.0121463565, -0.0002743188, 0.0111199301, -0.0075159902, 0.0613208674, 0.0518438369, 0.0276592989, 0.0541184358, -0.0010070505, -0.0050868872, 0.0671390966, 0.0017864216, -0.0426474176, 0.0559393615, -0.0932189375, 0.0595942177, -0.0665702224, -0.038152013, -0.0079666022, -0.0554526374, 0.0594999678, -0.0172736458, 0.0807835162, -0.0009481593, -0.0624483116, 0.0043239454, -0.0266003702, -0.0086555202, -0.0542379916, -0.0142468391, -0.0343403518, -0.0077753114, -0.0463515557, 0.0121957092, 0.0145141417, -0.0454863235, -0.0172524527, 0.0803554431, -0.0072661596, 0.0317658223, -0.0488546826, -0.0741035417, -0.0116644884, -0.0469755158, -0.0165826865, -0.0482759997, 0.0347853415, -0.0030788647, -0.0327769518, -0.0056049298, 0.0675103888, 0.1034052894, 0.0377630554, 0.0534248091, 0.004667866, -0.0069751237, 0.0178483818, 0.0422235765, 0.0191209931, -0.0356402993, -0.023439737, -0.0095163966, -0.0307479538, 0.0674309358, 0.0872543007, 0.0011509922, 0.0013017495, -0.0087082339, 0.063572593, 0.0034037617, -0.0107831545, 0.0289505459, -0.0409942605, -0.0366965644, -0.0061063664, -0.0339669548, -0.0455089957, -0.0250248276, -0.0151133453, 0.0290385336, -0.0168268289, -0.0151962005, -0.0288901329, -0.0159168784, -0.0418234095, -0.0224036798, -0.0103527233, -0.0326513574, 0.0350585654, -0.0518682487, -0.0492925756, -0.0263908636, -0.0168733634, 0.018246593, 0.0066037448, -0.0046262559, 0.0212416276, 0.0242699049, 0.0388039611, -0.0337893404, 0.0173715577, -0.0519826896, 0.0293685365, 0.0055972612, -0.0056477231, -0.0231661368, 0.0033465046, -0.0109897787, 0.0402418934, -0.0090228589, 0.0036651401, -0.0171364006, -0.0210435279, 0.0313028805, -0.046703808, -0.0592268109, -0.0259179045, -0.0040080831, 0.0127918702, 0.0255626384, -0.0036447968, 0.0075043174, -0.0039925254, 2.422e-7, 0.0318870395, 0.0134062329, 0.0053474596, -0.0339257605, -0.0208910741, 0.0260923542, 0.0236126073, -0.0071360185, 0.0437014699, 0.0548803955, 0.0082511855, 0.0141546559, 0.0132598607, 0.0493711531, -0.0851311982, 0.0071266457, -0.0110996366, -0.0474331118, -0.0207288321, 0.0544329956, 0.126105696, 0.0550946333, 0.0492149629, -0.0012146045, 0.0100745419, 0.0030809548, 0.001270885, -0.0140126059, -0.017759556, 0.036487326, 0.014429057, -0.0155122327, 0.0155993691, -0.0015782842, -0.0035249812, -0.0627956465, 0.0190461446, 0.0150076263, 0.0010869165, -0.0146390209, 0.0202119369, 0.0011045176, 0.023609465, -0.0361733548, -0.0209349785, -0.0353503488, 0.01224845, -0.0034028515, -0.0074513466, -0.0425953642, -0.0084860055, -0.0450196415, 0.016923964, -0.0102918427, -0.0124071669, -0.0185440686, -0.0065973774, -0.0168384053, -0.0034110583, -0.0374941342, -0.0161550455, -0.0535148233, 0.0226078127, -0.0214900728, -0.0094644437, -0.0123314243, 0.0057999846, 1.836155007e-34, 0.0450828411, 0.0107256966, 0.024697775, -0.0164975598, 0.0163735226, 0.0223417617, -0.0045094704, 0.0135752773, 0.0249595735, -0.0482795574, -0.0757149607 ]
http://arxiv.org/abs/2407.01272v2
http://arxiv.org/pdf/2407.01272v2
Show Less, Instruct More: Enriching Prompts with Definitions and Guidelines for Zero-Shot NER
2024-07-01T13:25:33
2024-07-02T07:55:24
Andrew Zamai, Andrea Zugarini, Leonardo Rigutini, Marco Ernandes, Marco Maggini
cs.CL
cs.CL
Recently, several specialized instruction-tuned Large Language Models (LLMs) for Named Entity Recognition (NER) have emerged. Compared to traditional NER approaches, these models have strong generalization capabilities. Existing LLMs mainly focus on zero-shot NER in out-of-domain distributions, being fine-tuned on an extensive number of entity classes that often highly or completely overlap with test sets. In this work instead, we propose SLIMER, an approach designed to tackle never-seen-before named entity tags by instructing the model on fewer examples, and by leveraging a prompt enriched with definition and guidelines. Experiments demonstrate that definition and guidelines yield better performance, faster and more robust learning, particularly when labelling unseen Named Entities. Furthermore, SLIMER performs comparably to state-of-the-art approaches in out-of-domain zero-shot NER, while being trained on a reduced tag set.
Show Less, Instruct More: Enriching Prompts with Definitions and Guidelines for Zero-Shot NER: Recently, several specialized instruction-tuned Large Language Models (LLMs) for Named Entity Recognition (NER) have emerged. Compared to traditional NER approaches, these models have strong generalization capabilities. Existing LLMs mainly focus on zero-shot NER in out-of-domain distributions, being fine-tuned on an extensive number of entity classes that often highly or completely overlap with test sets. In this work instead, we propose SLIMER, an approach designed to tackle never-seen-before named entity tags by instructing the model on fewer examples, and by leveraging a prompt enriched with definition and guidelines. Experiments demonstrate that definition and guidelines yield better performance, faster and more robust learning, particularly when labelling unseen Named Entities. Furthermore, SLIMER performs comparably to state-of-the-art approaches in out-of-domain zero-shot NER, while being trained on a reduced tag set.
[ 0.0332860127, 0.0262867436, 0.0270588472, 0.0082625216, 0.0225353893, 0.0502662361, 0.0234195292, 0.0240207426, 0.0216553919, -0.0610488839, -0.0335160196, -0.0245445333, -0.0292524993, 0.0080637932, 0.02979034, -0.0126310745, 0.0155587979, -0.0269824006, 0.0196730644, 0.0405411832, -0.0250767414, 0.0060160505, -0.007055087, 0.0155967819, 0.0020095112, -0.0003517475, -0.0252370853, 0.0426407941, 0.0249913707, -0.090710327, 0.0146990512, 0.0441429093, 0.00854336, 0.0546810478, 0.0000018697, -0.0655953959, -0.0537374467, 0.0248959642, -0.0464016274, -0.0007663604, 0.0203508846, -0.0334920511, -0.0127565516, 0.0121957399, 0.0074531669, -0.069927752, 0.0363846943, 0.080558531, 0.0252189115, 0.0894646794, -0.0097594569, -0.0222018547, 0.0157102719, -0.0365187749, 0.0287583433, -0.047976017, 0.0571766049, -0.0480405688, -0.0019089011, 0.029495338, -0.0102748657, 0.0103598246, 0.0098727094, -0.0025251803, 0.0085993791, 0.0538448878, 0.0051663937, 0.0095160035, -0.0047021653, 0.0809030682, -0.0264663808, 0.0228134207, 0.0398349017, -0.019356085, -0.0103090294, -0.0411054976, -0.0359622277, 0.0272597652, -0.0213884711, -0.0034853905, 0.0067214048, 0.0003102083, 0.0288117621, 0.0044354303, -0.0192980524, 0.0258390848, 0.022011565, -0.0348683149, 0.0224103238, 0.0117113162, -0.029128354, -0.0610143989, -0.0095518241, 0.0447285883, -0.0044989018, 0.0129810395, -0.0352282971, 0.0165125113, 0.0065300222, 0.0206359476, 0.0402608514, 0.0105909584, 0.0191359632, 0.0701733977, -0.0577701554, 0.0031790216, 0.0137619441, 0.0001295878, 0.0113038905, -0.0080704084, -0.0698216781, 0.0018265193, -0.0417006873, 0.0516113564, -0.0327875167, -0.0155610368, 0.0003309132, 0.0062787072, -0.0005052242, 0.0416012369, -0.0017569645, -0.0370426662, -0.0050896415, -0.0228816438, -0.0157665219, 0.0331434049, -0.018178951, -0.016875023, -0.0085751219, -0.0591819659, -0.0349695012, -0.0135393562, 0.0103630051, -0.0443359427, 0.0254297275, 0.0584750958, 0.0261493847, -0.1065390781, -0.06242235, 0.013182045, -0.0084071187, -0.0512789488, -0.0083860774, -0.0141660329, 0.0167191084, 0.0087181889, 0.0287628267, -0.0706542134, 0.0234803371, 0.0034455524, -0.0370187983, 0.0695549101, -0.0347723365, -0.0046579372, 0.0065069972, 0.0140772965, 0.0639506057, 0.0537350066, 0.0006207543, -0.000146479, 0.0235298183, 0.0038065789, 0.0014917614, 0.0388411507, 0.0159283001, 0.0027266541, -0.0151869161, 0.0090591609, 0.0384339355, 0.0089565273, 0.0382367373, 0.0324928313, -0.0076120617, -0.0092988862, 0.0249134861, 0.0124875614, 0.0067597916, -0.0336192101, 0.0586046055, 0.0185092874, -0.0069791283, -0.0225724839, -0.051644329, 0.0005686476, -0.0179835372, 0.0217328947, 0.0126897702, 0.046393238, -0.0460769497, 0.0170497913, -0.0133894272, -0.0040954319, -0.0110720433, 0.0184290204, 0.0608767122, 0.0265716445, -0.0814837664, 0.0513926111, 0.0498188138, 0.0056783617, 0.0051258821, -0.0153869092, 0.0511583537, 0.0388362892, 0.0541888513, -0.032325346, -0.0443183631, -0.0512912236, 0.0183294974, 0.0775187016, 0.0289271623, -0.025009837, 0.0325412452, -0.0501173586, -0.0070277089, -0.0074539338, 0.0411853977, 0.021734992, 0.0457686335, 0.0360775962, 0.0409938842, -0.0215040762, -0.0411597081, 0.0551502779, -0.0300677866, -0.0645187423, 0.0182264857, 0.0176902879, -0.032347776, 0.0501820296, -0.0156321879, -0.022495009, 0.0296530928, -0.0135977147, 0.0148405517, -0.0937415957, -0.0076541118, -0.0396328419, 0.0058603347, 0.0176778082, -0.0257726163, -0.0383079946, -0.0331224352, -0.0399890244, -0.0775327086, 0.017991608, 0.0321382619, -0.0172206163, 0.0319323167, 0.0104431864, 0.0032572548, -0.0359059609, 0.0577218719, 0.0143565917, 0.025819689, 0.0439775661, -0.0000779205, -0.0168461874, -0.0335045569, -0.0729906261, 0.0090240063, -0.0044841929, -0.0424882695, -0.0032190906, 0.0274042226, -0.0555611961, -0.0187620576, -0.0751400739, 0.0125782741, -0.0096810153, 0.051604934, -0.0077975583, 0.04443812, -0.0343998671, -0.024647247, -0.004634867, -0.0117169293, -0.0200096834, 0.0155414501, 0.0254107025, 0.0149733508, -0.0468798168, 0.017564334, 0.0026749927, -0.0219356418, 0.0279254802, 0.0184168816, -0.0362616926, -0.0623550788, 0.0555378348, -0.0211106595, -0.0161175895, 0.0149671659, 0.0279100239, -0.0139699103, 0.0166833084, -0.0032553193, 0.0651903301, -0.0147295278, 0.0128322523, -0.0238110814, -0.0056453422, -0.0553393513, 0.0159915909, -0.0253334623, -0.0031406537, -0.0195381436, -0.0168984663, 0.0249323379, 0.1128962338, -0.0598264262, 0.0218608286, -0.0395367891, 0.0283522606, -0.0075771734, -0.0136289438, -0.0106297815, 0.0227083173, 0.0060470994, -0.0011222591, -0.0230786894, -0.0162071735, 0.0613340177, -0.0583951585, -0.0330233797, 0.0222824886, -0.0115456833, -0.0642860532, 0.0395759568, 0.0062965932, -0.006359343, 0.0814534128, -0.082103461, 0.001863028, 0.0184692293, 0.0015954287, -0.0065886639, 0.0341018327, -0.0004258401, 0.0281842221, -0.0201624129, -0.0069430182, -0.0337615944, -0.0078806784, -0.0391667001, 0.0251864325, -0.0315352455, -0.0052185836, -0.0375578217, 0.0538155288, 0.0059830137, 0.0518092439, -0.005020529, -0.0052593816, -0.0247670654, 0.0263939686, 0.0382165648, -0.0043639941, 0.0072816671, -0.0268223397, 0.0250858646, 0.0127188778, -0.0108839227, -0.0070141801, 0.0126836225, -0.0064446703, 0.0150685925, -0.0681479275, 0.020090092, 0.0101227695, 0.0555433072, -0.0275765602, -0.0193527527, 0.1285375804, 0.0160469729, -0.0291835535, -0.0304457322, 0.0367807746, 0.0454583317, 0.0285246596, 0.0235471632, -0.0870271549, -0.0614670627, 0.0269552153, 0.0064031295, 0.0126189152, -0.0761659667, -0.0071840584, -0.1418728828, 0.0002268593, -0.0169360228, -0.0380184948, 0.0304943342, -0.0736040846, 0.0087284939, -0.0401451252, -0.0095361993, -0.0265240911, -0.0528250113, -0.01081309, 0.0155903446, 0.0550745875, -0.0663171411, 0.0115464227, -0.0453712903, 0.0663452446, 0.0343379639, 0.0043951506, -0.0056888852, 0.0056650778, 0.0419296697, -0.0509058051, -0.0070813717, -0.0245764703, 0.0392537899, -0.0712195039, -0.0022618838, -0.0108330855, -0.0036521626, -0.022040328, -0.0100746648, 0.0275043119, 0.0433427356, 0.0119238356, 0.0116376448, -0.0066381292, -0.0482735187, 0.0376724042, 0.0977520049, 0.0243981127, -0.0321339667, -0.0119453929, -0.0016600149, -0.0269576125, 0.0092143975, -0.0233888477, 0.0109034907, -0.0797591507, -0.0432383567, -0.018896291, -0.0508213341, 0.0717319623, 0.0679460913, 0.0335766226, -0.0051848558, -0.0100140916, 0.0057830866, -0.0557635166, 0.0476768874, -0.0514925122, 0.0245235227, -0.0822571591, -0.0167793222, 0.0250016823, 0.0285404995, -0.0396286733, 0.0179109201, -0.0600287095, -0.0487561822, -0.0304211155, 0.0168381892, 0.0190690532, 0.0280030239, -0.0204837844, -0.0233166795, 0.0303322952, 0.0630537495, -0.0514372215, -0.01362486, -0.0088490723, 0.0014779834, -0.0091717057, 0.033352904, -0.0304256938, 0.0394993089, 0.0527743027, 0.0714632124, -0.0265014078, -0.0511817709, -0.0071700299, 0.0054697981, 0.0319799446, -0.0020918443, -0.012670733, -0.0357917137, 0.0121375304, 0.00981839, 0.0004514393, -0.0188475773, -0.0145436972, 0.0287871212, -0.0034970704, -0.0095412098, 0.0758558437, -0.0274129864, 0.0671506897, -0.0662188828, 0.0162140168, 0.0126219401, 0.014630992, 0.0105049442, -0.0462739021, -0.0053574885, 0.0592997819, 0.0537781157, 0.033854425, -0.0151841491, 0.0521279126, 0.0211759619, 0.0234550685, -0.0321060531, -0.0074080094, -0.0152993947, 0.0057943068, -0.0381675139, 0.074462913, 0.0383439586, -0.0071869711, 0.0372542627, 0.0069052428, -0.0076971818, -0.0027674986, -0.0044234074, -0.009240699, -0.0391306914, 0.0285027362, 0.0413188674, -0.0166933909, -0.0017474862, 0.0618615486, 0.037594445, 0.0518154949, 0.0201070439, 0.0130848438, -0.0406080596, 0.0091660265, 0.0502027906, -0.0080255829, -0.0187660344, 0.0363244452, -0.0529638007, -0.0392980687, 0.0317393839, -0.0472872443, -0.0155041087, 0.008374935, 0.0233147945, -0.0005633816, 0.0004060112, -0.0409380309, -0.030851936, 0.0158164278, -0.0050445576, -0.049509678, -0.0248985756, -6.12678933e-33, -0.0487901904, -0.0430128649, 0.0245822836, -0.0342589803, -0.0164864697, 0.0340766944, -0.0276446659, -0.0218564216, 0.0079564089, -0.0274951011, -0.0182860009, -0.0108276494, 0.0272477921, 0.0184772834, -0.0122267054, -0.0403203778, 0.0700693578, 0.0352700502, -0.0425502546, 0.0181891099, 0.0001100486, 0.0662756115, 0.0485850126, -0.0426079296, 0.0408442542, -0.005196651, -0.0169780441, 0.0089397701, 0.089752309, 0.0621187277, -0.0283175427, -0.010646021, 0.0121840024, -0.0859833583, 0.012173635, 0.0175360013, -0.1486124396, 0.0129132969, -0.0265007094, 0.0018531926, 0.0124580339, -0.0450925007, -0.0052230996, -0.0221274588, 0.0297406986, 0.0209017377, 0.0221688859, -0.0059304442, -0.0154157933, -0.0182667356, -0.054870028, 0.0488890037, -0.0004768618, 0.0042661424, 0.0490072742, -0.0178899728, 0.0321177989, -0.0059131328, -0.0556537621, 0.0120645231, 0.045200713, -0.016991267, 0.0322235785, 0.0346521623, -0.0153356772, 0.0406681933, 0.0159017127, 0.0036294661, -0.034884382, 0.0029918002, 0.0121381953, 0.0011478607, -0.0529486611, 0.0512385853, 0.0379363969, -0.0344242416, -0.0644501671, 0.0270021092, -0.0123390881, 0.0201012362, -0.0007601457, -0.024489725, -0.0584236048, 0.0060678357, -0.0085368594, -0.0349419676, -0.0579309314, -0.0143600218, 0.0484410413, 0.0387056991, -0.0686809719, 0.0384074152, 0.0461143479, -0.0071383328, -0.0475013964, 0.0101377787, 0.0542989597, 0.0169120263, -0.0230097659, -0.0081053087, -0.0638968125, -0.0687109828, 0.0480015539, -0.0254862048, 0.0183639023, -0.0052437573, 0.063323006, -0.0190471075, -0.0805316046, -0.0170115773, -0.0106152073, 0.0384096578, -0.0288262106, 0.0589644425, 0.0171668865, 0.0043930132, -0.0051212534, 0.0366770998, 0.0538476147, -0.0329076797, -0.0071632434, 0.0341897905, 0.0337813124, 0.0227529146, -0.0175677259, -0.0025060829, 0.0256886147, -0.012062002, 0.0004493627, -0.0428636409, -0.000916433, -0.0055101523, 2.542e-7, -0.0174823236, 0.018117914, 0.0011108648, 0.0009081201, -0.0122452863, 0.0234816819, 0.0228896514, 0.0341345817, -0.039231535, -0.0160635617, -0.0178900715, -0.0099902833, 0.020883752, -0.0081547899, -0.1195853055, -0.0100005176, 0.0203476027, 0.0091395481, -0.0872732848, 0.0169095136, 0.0165044591, 0.076491259, 0.0007520928, -0.0127316909, -0.0170248207, -0.0199527908, 0.0472780876, 0.0173156615, 0.0142677613, 0.0422351472, 0.0052060513, 0.0712998137, -0.0201250762, 0.0350037031, 0.0030109196, 0.0403221585, 0.0133683849, 0.1034578905, 0.0082332026, 0.02344184, -0.0005056225, -0.0312368348, 0.0172253549, -0.0300659798, 0.0772081837, -0.0503494628, -0.0256083142, 0.0116336755, -0.0434089825, -0.034568131, 0.0148028117, 0.0042140018, 0.0013948274, 0.0225256477, 0.0326680727, -0.0327897482, -0.0088944146, -0.0559060685, 0.0321718976, 0.0018550876, 0.0042117666, -0.0222306866, -0.0235895868, -0.0122438185, 0.001687157, -0.0842354819, 0.0014443321, 2.498545615e-34, -0.0093580857, -0.0076281782, -0.0245715138, 0.0457000881, 0.0280136503, -0.0055898163, -0.0489691459, -0.0037514805, -0.0028286465, -0.0983713865, 0.0089523084 ]
http://arxiv.org/abs/2407.01271v1
http://arxiv.org/pdf/2407.01271v1
First Place Solution of 2023 Global Artificial Intelligence Technology Innovation Competition Track 1
2024-07-01T13:22:22
2024-07-01T13:22:22
Xiangyu Wu, Hailiang Zhang, Yang Yang, Jianfeng Lu
cs.CL
cs.CL
In this paper, we present our champion solution to the Global Artificial Intelligence Technology Innovation Competition Track 1: Medical Imaging Diagnosis Report Generation. We select CPT-BASE as our base model for the text generation task. During the pre-training stage, we delete the mask language modeling task of CPT-BASE and instead reconstruct the vocabulary, adopting a span mask strategy and gradually increasing the number of masking ratios to perform the denoising auto-encoder pre-training task. In the fine-tuning stage, we design iterative retrieval augmentation and noise-aware similarity bucket prompt strategies. The retrieval augmentation constructs a mini-knowledge base, enriching the input information of the model, while the similarity bucket further perceives the noise information within the mini-knowledge base, guiding the model to generate higher-quality diagnostic reports based on the similarity prompts. Surprisingly, our single model has achieved a score of 2.321 on leaderboard A, and the multiple model fusion scores are 2.362 and 2.320 on the A and B leaderboards respectively, securing first place in the rankings.
First Place Solution of 2023 Global Artificial Intelligence Technology Innovation Competition Track 1: In this paper, we present our champion solution to the Global Artificial Intelligence Technology Innovation Competition Track 1: Medical Imaging Diagnosis Report Generation. We select CPT-BASE as our base model for the text generation task. During the pre-training stage, we delete the mask language modeling task of CPT-BASE and instead reconstruct the vocabulary, adopting a span mask strategy and gradually increasing the number of masking ratios to perform the denoising auto-encoder pre-training task. In the fine-tuning stage, we design iterative retrieval augmentation and noise-aware similarity bucket prompt strategies. The retrieval augmentation constructs a mini-knowledge base, enriching the input information of the model, while the similarity bucket further perceives the noise information within the mini-knowledge base, guiding the model to generate higher-quality diagnostic reports based on the similarity prompts. Surprisingly, our single model has achieved a score of 2.321 on leaderboard A, and the multiple model fusion scores are 2.362 and 2.320 on the A and B leaderboards respectively, securing first place in the rankings.
[ 0.0385673568, 0.0264667813, 0.0015008481, -0.0086844238, -0.0400133394, -0.0121003166, 0.0275281891, 0.0588273779, -0.012348081, -0.0268437993, -0.003800848, -0.0714506954, -0.0181748774, 0.1169802174, 0.0401480757, -0.0570422038, 0.0201515406, 0.0345105529, -0.0002761068, -0.006435845, -0.0049924781, -0.0062930938, -0.0047631441, 0.0430272333, -0.022939695, 0.0309696328, 0.0220841244, -0.0116714044, 0.0408343226, -0.0846883133, 0.0043332432, 0.0289804656, 0.038190309, 0.0520324148, 0.0000024331, -0.0631736815, -0.0420554876, 0.0273718573, -0.018060118, -0.0408443771, 0.028743377, -0.0169566721, 0.0140791032, 0.0197112709, -0.0332276784, 0.0031335668, 0.0253676772, 0.0362190008, 0.0670633167, 0.0708336085, -0.0290571582, 0.0109946961, 0.0347073898, -0.0339020863, -0.0089313313, -0.0148850875, -0.0016228692, 0.0059564314, 0.0309674572, -0.0037926543, 0.0207350161, 0.059237171, -0.0057235127, 0.0200035181, 0.0708066747, 0.0764007047, 0.0080083627, -0.0382722057, 0.0075461357, 0.0379033536, -0.0355610102, -0.0270846039, -0.0078666769, -0.0006535381, -0.023550842, -0.0220688377, -0.0447774678, 0.0354088247, 0.016494697, -0.0005016639, 0.0072065974, 0.0304014627, 0.0038439664, 0.0156111596, -0.0360070132, 0.0082771648, 0.000848371, -0.0453311689, -0.0148003818, 0.0027389945, -0.0057232487, -0.0312317405, 0.0414996408, 0.0439081267, -0.0457546636, -0.0208890121, -0.038645234, -0.0758607984, 0.0353845693, -0.0362870656, 0.0013168113, 0.0006256314, -0.012931413, 0.0584420338, -0.0417292826, 0.0346954241, -0.0227186698, 0.03250359, -0.0607883893, -0.0048808949, -0.0092243459, -0.0045891549, -0.0347892158, 0.0641698912, -0.0254014377, -0.0377436355, -0.0557169728, -0.0284683388, -0.0133623872, 0.0281299297, 0.0170376711, 0.0617294088, -0.0690585002, -0.0215698164, -0.0032378433, 0.0157901682, -0.0000784867, -0.0089714732, 0.0136422692, -0.0160082038, -0.0105683031, 0.061132092, 0.0042611049, -0.0156482868, 0.0317145586, 0.0443704613, -0.0567726158, -0.0356044583, 0.0191353075, -0.0558116809, 0.0114171766, -0.0314367078, 0.0166072454, -0.041864749, 0.0487690978, -0.0092098359, -0.002369765, -0.0366865359, 0.0126009118, 0.0096076801, 0.0027082891, 0.0525470935, -0.0829986706, -0.0267215315, 0.0619094856, 0.0314531513, 0.0150411734, -0.015222555, 0.0225892812, 0.0133889373, -0.0037497736, 0.0033162124, -0.0017678945, -0.0024238601, 0.0563872419, -0.0432183221, -0.0276037641, -0.0240571927, -0.0323720984, 0.0541679636, 0.0040532253, 0.0521428473, -0.0137829315, 0.0105109168, 0.0453484468, 0.050431408, 0.0370952934, 0.0330363177, 0.0197376758, -0.0184462816, -0.0448719785, -0.0062608598, 0.0445907712, 0.0417054296, -0.0429885499, 0.0015483643, 0.0228470676, 0.0200970527, -0.0379512608, -0.0414778329, 0.0007051107, 0.0078019039, -0.0183500256, -0.0000145903, 0.0396251716, -0.0134862997, -0.0399794802, 0.0220786612, 0.0092476187, -0.0570271611, -0.0153398737, -0.0754272863, 0.0312692448, 0.0206222404, 0.0887676105, -0.0583696365, -0.0332447179, -0.0047579873, -0.0386697724, 0.0469335318, -0.008729998, 0.018814439, -0.00695254, -0.0616430044, -0.0420147777, 0.0077130017, -0.0226304289, 0.0007169332, -0.0156400893, 0.034188848, 0.0321541242, -0.0006942108, -0.0138126388, 0.0250216927, -0.0358006768, -0.0123685747, 0.0178464521, 0.0113195144, 0.0319977477, 0.0365644544, -0.0508014672, 0.0280576646, 0.0366490148, -0.0823745057, -0.0550818257, 0.0304398965, -0.0644338205, -0.0507666394, 0.0180815849, -0.061230734, 0.0314622112, 0.0105581032, -0.014374028, -0.0412997417, -0.0033895094, -0.0260251109, -0.0245889351, -0.0463659279, 0.0324829258, 0.0369201414, 0.0011036627, -0.0297995154, 0.071697861, -0.0160600264, 0.0056895479, 0.0291388053, 0.0078876251, 0.0555097386, -0.0349350087, -0.0552922189, 0.0283229109, 0.019565491, 0.0155916037, 0.0590205565, 0.0257608872, -0.0181510802, -0.0161188766, -0.0722665712, -0.0001190207, 0.0133238873, -0.0363538712, 0.0229514651, 0.032090012, 0.0219621733, -0.0274095442, -0.0763480291, -0.0077271913, 0.0625029802, -0.0139209637, 0.0652135983, 0.0568668433, 0.0128525542, -0.0373812914, -0.0177358892, 0.0000340652, 0.0156449452, 0.0466296822, -0.0608479716, -0.0141801275, 0.0661025196, -0.0491121486, 0.0447572283, -0.0071178088, -0.0292463396, 0.0137380622, -0.0532275811, -0.03289406, 0.0560250431, 0.0144516565, 0.0149322553, 0.0149216503, 0.0287534017, -0.0255717728, 0.0361297876, -0.0343582183, 0.0133833792, 0.059417937, -0.0369524024, 0.0374948122, 0.0306969527, 0.0220919345, 0.0149620669, -0.0550883599, -0.0186724346, -0.0099792751, -0.0424799807, -0.0713057443, -0.0159302969, -0.0070021888, 0.0481639765, -0.0281491596, -0.0359548926, 0.0860020295, -0.0078040017, 0.0217241086, -0.0670484379, -0.0256087817, -0.018055182, 0.0434677266, 0.0134325558, 0.0587762296, 0.0043975119, -0.0143712871, -0.0419127233, 0.027596077, 0.0279610511, -0.0800470114, -0.0201354027, 0.0078309011, 0.0236085262, -0.0119172353, -0.0517642349, -0.0500818938, -0.0293425247, 0.040932823, 0.0016310344, 0.0258276127, -0.0071973074, -0.0497012772, 0.049074892, 0.0364321694, 0.0709051564, 0.0247806795, -0.0030001507, -0.0122110834, 0.08101926, 0.0279240254, 0.0253084805, 0.0139569473, -0.0233353879, 0.0334684066, 0.0571257547, 0.0304595847, 0.0304186102, -0.0026407146, 0.0166533347, -0.0058927196, 0.0067028706, -0.033918675, 0.003364786, 0.0409466252, -0.0415777788, -0.0244062096, 0.1067672521, 0.0104052853, -0.0303628352, -0.0224939454, 0.0366670713, 0.0055728364, 0.0036917811, 0.0030867038, -0.0563926511, 0.0259324089, -0.0234539025, 0.0324665457, -0.0262377188, -0.0257842783, -0.0076983976, -0.0741985515, 0.0413386077, 0.0233968925, 0.0109358225, -0.0705284104, -0.008562359, -0.0228592176, 0.0173259303, -0.0157616548, -0.0185571816, 0.0327715427, -0.0052071172, 0.0106129237, -0.0348793417, -0.0726694986, -0.0178918075, -0.0445481725, 0.0145669095, 0.0925381333, 0.0155886998, -0.0306908377, -0.0587291941, -0.025872685, 0.0247289147, 0.0315604024, -0.0064308913, 0.0696195588, -0.0079658674, -0.0232284032, -0.01850258, 0.0161799695, -0.0231584832, -0.0070016789, -0.0119131841, 0.0659443736, -0.0317095183, 0.0187686402, -0.0544642694, 0.0225931648, 0.0014454711, 0.0510306172, 0.0063737095, -0.0058176978, 0.0021641257, 0.0279215388, 0.0950110406, -0.07322561, 0.02372545, 0.0302769281, -0.0166599955, -0.0476873331, -0.0815632194, -0.0307654683, 0.019387152, 0.0357582755, 0.005056133, -0.000315081, -0.0275619142, -0.0175948162, -0.0663683787, 0.0143790375, 0.0401095301, -0.0123596815, -0.0379781313, -0.0174939875, 0.0153747415, -0.0101009682, -0.0281331409, 0.0638368726, -0.032162182, -0.0056504151, -0.0292677227, 0.0561565123, 0.0210564248, 0.025042044, 0.0035239989, -0.0251236055, 0.0911084041, 0.0327915847, 0.0018198151, 0.0128171043, -0.0043162396, -0.0576994196, -0.0472120829, -0.0142336041, -0.0260158051, 0.0142286737, 0.0204987638, 0.026390275, -0.0015115025, -0.0444670543, 0.0541339219, 0.0434712358, 0.0381642617, -0.0498166271, 0.0200891495, -0.0536292978, -0.0188636128, -0.0029849233, -0.0156791117, -0.05583046, -0.0027137245, 0.0138950348, -0.0219740998, 0.0167682357, 0.0611847118, -0.0230571982, -0.0115161221, -0.0978623778, 0.0097787818, -0.042910073, 0.042873621, 0.0312234312, -0.0047868579, -0.021946134, -0.0022275969, 0.0151827596, 0.0032442203, -0.0237651765, 0.0617796257, 0.0304031745, 0.04535871, 0.0110582616, 0.0744546503, -0.0144147845, -0.035893973, -0.07443358, 0.0034168651, 0.0586955622, 0.0146023836, 0.0277281795, -0.0392365046, -0.0090191672, -0.0159950219, 0.0370815583, -0.0133096362, -0.0086082816, -0.0012135393, -0.0077497745, 0.019425936, -0.027411893, 0.1139334887, -0.0404612087, 0.0073373318, -0.0169636849, -0.0265731514, -0.0708007216, -0.003141342, 0.0369205996, 0.0617041886, -0.003788217, 0.0523814484, -0.0248260908, -0.0360122062, 0.0351490416, -0.0128652258, -0.0233732965, -0.0047557005, 0.0810475647, 0.0721697584, -0.0006914061, -0.0120946141, 0.0039740694, 0.0064780964, -0.007521397, -0.0354069509, 0.0108083962, -7.323937389e-33, -0.0209000707, -0.0179351643, 0.0257378854, -0.0419803113, -0.0327814221, 0.0427886546, -0.0489434004, -0.0142998863, 0.0112268757, 0.011989262, -0.0269619562, -0.0166514013, -0.0026572491, 0.0553995855, -0.0141492561, 0.0308694746, 0.0626351461, -0.0098638572, -0.0280399844, 0.0423122905, 0.0063280659, 0.0505831204, 0.0403681546, -0.0917141736, -0.0345368944, 0.0141810672, -0.0290966202, -0.0256700907, 0.0202021729, 0.0264726765, -0.0234131031, 0.0416803733, 0.0315481424, -0.0520750172, -0.0130018173, -0.0332810469, -0.0411601737, -0.0396222323, -0.0413791314, -0.0240952317, -0.0674492791, -0.0149768833, 0.0564941615, -0.0444440171, -0.0109781986, -0.0085396869, 0.0289026964, -0.0223950166, 0.0004494228, -0.0512177497, -0.02264091, 0.0378449298, -0.011605639, -0.0303325877, 0.0106602451, 0.0162657499, -0.0192576349, 0.0103832688, -0.0822267681, 0.0344971791, 0.055022344, 0.0673075989, 0.0427815318, -0.0037116564, -0.0094374586, 0.0476256534, 0.0086931363, -0.033619184, -0.0309852306, 0.0033677567, -0.0205651503, 0.0371969417, 0.0810833126, 0.0190591253, 0.0113641573, -0.0309072193, -0.069908753, 0.0779487491, -0.0313798971, 0.0489801727, 0.0181464218, 0.0003278831, -0.0507791229, -0.0113180177, 0.0271579232, -0.0193002112, -0.0225359201, -0.0303353444, 0.045602411, 0.0282553304, -0.0062015057, 0.0315285996, 0.0237578284, -0.0153476261, 0.0620723404, -0.0262402929, 0.0294364244, 0.0189796649, -0.0291941818, -0.0005038054, -0.0546913743, -0.0545449182, 0.0241714492, 0.0318918973, 0.0035708246, 0.0105525209, 0.0063891667, 0.0269131754, -0.0395865813, 0.002146838, -0.0202475805, 0.0067129927, 0.0086221499, 0.0262199435, -0.0221841373, 0.0078714015, 0.0013609211, 0.0412000008, -0.000196831, 0.0001047455, -0.0448338352, -0.0357606746, 0.018552646, -0.0037866994, -0.0378532074, -0.0003987575, -0.0529052541, -0.0062633483, 0.0498491079, -0.0212188065, -0.0348797515, -0.0051045995, 3.253e-7, 0.0482330807, 0.0149262259, 0.0195821393, -0.0072656688, -0.003027438, 0.0175382756, 0.0004878532, 0.0351659656, -0.0128027368, -0.0044404729, 0.0368014574, -0.0043509314, 0.0050911102, 0.0034514305, -0.0528488606, -0.0244514793, -0.0915356204, -0.0127398008, -0.031452518, 0.0067382604, 0.0965446457, 0.07060498, -0.0341804959, -0.0475410707, 0.0299897194, -0.0284612961, 0.0589290634, -0.0078328494, 0.0008538114, 0.0163578335, 0.0369110964, 0.0449680761, 0.0050319466, 0.0447115749, -0.0376682915, 0.0097056301, 0.0308591817, -0.0068646101, -0.0326635391, -0.0199586544, 0.04907405, 0.0456467457, 0.0131402202, -0.0861102641, 0.0544411428, -0.015915636, -0.0229013935, -0.0202100575, -0.0174329318, 0.0193223637, 0.0403163508, -0.0561086312, -0.0660094693, 0.0114008915, 0.0237921365, 0.0475891121, -0.024731243, -0.0817599669, -0.0019756891, -0.0192232821, -0.0375411995, -0.0282310434, -0.0074440865, -0.0413066968, -0.0031839148, -0.0256018639, 0.0081889229, 3.166620839e-34, 0.0041607963, -0.0040312139, 0.0079711014, -0.0002258064, 0.0183277521, -0.0215294529, -0.0052184369, 0.0133360419, -0.0044778492, -0.0534734651, -0.0349453278 ]
http://arxiv.org/abs/2407.01270v1
http://arxiv.org/pdf/2407.01270v1
The African Woman is Rhythmic and Soulful: Evaluation of Open-ended Generation for Implicit Biases
2024-07-01T13:21:33
2024-07-01T13:21:33
Serene Lim
cs.CL
cs.CL, cs.AI
This study investigates the subtle and often concealed biases present in Large Language Models (LLMs), which, despite passing explicit bias tests, can still exhibit implicit biases akin to those observed in humans who profess egalitarian beliefs yet demonstrate underlying prejudices. The challenge of measuring such biases is exacerbated as LLMs become increasingly proprietary, restricting access to their internal mechanisms such as embeddings, which are crucial for applying traditional bias measures. To tackle these issues, this study introduces innovative measures of bias inspired by psychological methodologies: the LLM Implicit Association Test (IAT) Bias and the LLM Decision Bias. The LLM IAT Bias is a prompt-based method designed to unearth implicit biases by simulating the well-known psychological IAT but adapted for use with LLMs. The LLM Decision Bias measure is developed to detect subtle discrimination in decision-making tasks, focusing on how LLMs choose between individuals in various scenarios. Open-ended generation is also utilised through thematic analysis of word generations and storytelling. The experiments revealed biases across gender and racial domains, from discriminatory categorisations to exoticisation. Our findings indicate that the prompt-based measure of implicit bias not only correlates with traditional embedding-based methods but also more effectively predicts downstream behaviors, which are crucially measured by the LLM Decision Bias. This relationship underscores the importance of relative, rather than absolute, evaluations in assessing implicit biases, reflecting psychological insights into human bias assessment. This research contributes to the broader understanding of AI ethics and provides suggestions for continually assessing and mitigating biases in advanced AI systems, emphasising the need for more qualitative and downstream focus.
The African Woman is Rhythmic and Soulful: Evaluation of Open-ended Generation for Implicit Biases: This study investigates the subtle and often concealed biases present in Large Language Models (LLMs), which, despite passing explicit bias tests, can still exhibit implicit biases akin to those observed in humans who profess egalitarian beliefs yet demonstrate underlying prejudices. The challenge of measuring such biases is exacerbated as LLMs become increasingly proprietary, restricting access to their internal mechanisms such as embeddings, which are crucial for applying traditional bias measures. To tackle these issues, this study introduces innovative measures of bias inspired by psychological methodologies: the LLM Implicit Association Test (IAT) Bias and the LLM Decision Bias. The LLM IAT Bias is a prompt-based method designed to unearth implicit biases by simulating the well-known psychological IAT but adapted for use with LLMs. The LLM Decision Bias measure is developed to detect subtle discrimination in decision-making tasks, focusing on how LLMs choose between individuals in various scenarios. Open-ended generation is also utilised through thematic analysis of word generations and storytelling. The experiments revealed biases across gender and racial domains, from discriminatory categorisations to exoticisation. Our findings indicate that the prompt-based measure of implicit bias not only correlates with traditional embedding-based methods but also more effectively predicts downstream behaviors, which are crucially measured by the LLM Decision Bias. This relationship underscores the importance of relative, rather than absolute, evaluations in assessing implicit biases, reflecting psychological insights into human bias assessment. This research contributes to the broader understanding of AI ethics and provides suggestions for continually assessing and mitigating biases in advanced AI systems, emphasising the need for more qualitative and downstream focus.
[ 0.0464289896, 0.0889431685, -0.0497772917, 0.0278775636, -0.0173632614, 0.037292596, 0.0514516532, -0.020009635, 0.0472729616, -0.0269374084, -0.0445598923, -0.0218288954, 0.0337128863, -0.0032544751, -0.001588696, 0.0144176986, 0.0275089424, 0.0631136224, 0.06876719, -0.0226563849, -0.0136790341, 0.0537492223, 0.0254174359, 0.0525788851, -0.0110929301, -0.0061120614, 0.0275818426, -0.0262830406, -0.0038584229, -0.0146109713, -0.0032000879, 0.0559672639, 0.0083899181, 0.0315261669, 0.0000020568, -0.08909899, 0.0183480103, -0.0201853588, 0.0064063906, -0.0028922798, 0.0246644113, 0.0258174911, 0.0184150115, -0.0100837592, -0.0509490594, 0.0366298035, 0.0333989523, 0.0131037924, 0.0095291687, 0.0174499266, -0.0006988344, 0.0123373922, -0.0201955996, -0.0150131071, -0.0001146747, -0.0125118857, 0.0530781411, -0.0575735942, -0.0648328364, -0.0328815244, -0.0387625247, -0.0079734148, 0.0158795081, 0.0115238857, 0.0163772609, -0.0013500096, 0.0090958187, -0.0851051062, -0.0060795331, 0.025972832, 0.0492540635, 0.016022129, -0.0132077308, -0.0089676054, 0.010310947, 0.0120612392, -0.0065704198, 0.0526469797, -0.0036390773, -0.0198751707, 0.0096485028, 0.0140351132, 0.0065733055, 0.0763281584, 0.0305227693, 0.0871805549, 0.003112962, -0.0084753474, 0.0352944396, 0.0157618616, 0.037622124, -0.0640418231, 0.0018104265, 0.0017212968, -0.0280226022, 0.0171568785, -0.0021822262, 0.0346120596, 0.0197757464, -0.0447287671, 0.0433478281, 0.0497978553, -0.0141912876, -0.0184799172, -0.0009548813, 0.0356596187, 0.0060548303, 0.0037207755, -0.0161878299, 0.0188113339, 0.0401255041, -0.0449785031, 0.0145758232, -0.0151352081, 0.0147417169, 0.0173867587, -0.0330816582, -0.0310793743, -0.0934045985, -0.0160409417, -0.0401859581, 0.0310145859, -0.0064831856, 0.0223599672, -0.0416083708, -0.042247612, -0.0615602508, 0.0528950319, -0.0301223099, -0.0677226484, 0.0154182073, -0.0141810374, -0.0178043768, -0.0196131971, 0.0026158991, 0.0638962984, 0.0023178326, -0.0218979493, -0.0394050032, -0.0346304141, -0.0201885644, -0.0660589263, -0.0246452577, -0.0095857559, 0.0165068228, 0.0117050074, 0.0149404993, -0.0557779819, 0.0036903557, 0.0200176146, -0.0371885635, 0.0405378789, 0.0497399494, 0.014723896, 0.0549520031, 0.0426342338, -0.0154158548, 0.0654776022, 0.0483486243, 0.037927296, 0.031336315, 0.0097546512, -0.0225364715, -0.0064031337, 0.0072361664, 0.0193906613, -0.0565372929, 0.0155990133, -0.0431580693, 0.0366305485, 0.0726708099, 0.0423474647, -0.00759556, -0.0287166983, 0.040346954, 0.0680590644, -0.0161027648, 0.0513843372, 0.0908859596, -0.0108606713, -0.0019363293, 0.0256238207, -0.0571658015, -0.0060680662, 0.0214030202, -0.0643123761, 0.0261723958, 0.0379169174, -0.0127224158, -0.0023776568, 0.0008954461, 0.0207924321, 0.0482607149, 0.0069074649, -0.0341542289, 0.0160981175, 0.003858713, -0.0182058755, 0.048572246, -0.0199920572, 0.006806023, -0.0765143558, 0.0546578579, 0.0454297997, -0.0209434479, 0.0160491094, 0.0315604322, -0.0225348808, -0.066082105, 0.0648426116, 0.0561189279, -0.0317692347, 0.0004290498, -0.0178485662, 0.0043605487, 0.006506457, 0.022856066, 0.0552290976, -0.0164275747, 0.0616948493, 0.0214115754, -0.0059570656, -0.03996877, 0.0405701324, -0.0372038148, -0.0353051461, -0.0105433892, 0.0032865182, 0.0491206162, 0.0296229329, -0.025965808, 0.0050977846, -0.0270090997, 0.0310639329, -0.0245291479, 0.0450961143, -0.0954187065, 0.0408176295, -0.0219812803, -0.0565574802, -0.0227258839, 0.0150376484, 0.0354244784, 0.0342913754, 0.0576957501, 0.0015463344, 0.019593602, -0.0488237366, 0.0000415992, -0.0635608584, 0.0177503098, -0.0173922814, 0.0008343675, -0.0172236394, -0.0094129397, 0.0315487683, -0.0269520413, 0.0401730426, -0.0017079023, -0.0196317881, 0.031753432, 0.0155542586, -0.0097265318, 0.0122103579, -0.0209698267, -0.0577608086, -0.0117077893, -0.123730354, -0.0102156484, 0.01936589, -0.0390668511, -0.0426170565, 0.0059320773, -0.0420732871, 0.0147749623, -0.0132552078, -0.0035198471, 0.0075326157, 0.0687379614, -0.0359815471, -0.017021101, -0.022624027, -0.017039746, 0.0022164711, -0.0367249399, 0.0596659593, 0.0456875898, 0.0540871657, -0.0351585895, -0.0314856954, -0.0670976564, -0.0235487297, 0.0049368059, -0.01794824, 0.0359360948, 0.0546333566, 0.0185589306, 0.0428174175, 0.0372192524, 0.0491439663, 0.0819267109, -0.0219005905, -0.0382308885, -0.024124492, 0.0062379399, 0.0238385685, 0.0145696001, -0.0755669847, -0.0360080637, 0.0507523976, 0.0655960441, -0.0272732601, -0.0467767343, 0.0942167267, -0.0676808506, -0.0890764967, 0.0122953001, -0.0891336426, -0.0219375808, 0.0439947098, -0.0336377732, -0.0779791996, 0.0575990081, 0.0264128838, 0.0366697349, 0.0047040484, 0.0167364348, -0.0386817791, 0.0470863469, -0.0294627473, 0.0419302322, 0.0162601508, 0.0116806505, -0.0571299121, -0.0281706061, 0.0071162544, -0.024883138, 0.0297145508, -0.0124222301, -0.0024898255, 0.0131202368, -0.0140296994, -0.0462682918, -0.0507493429, -0.026683297, -0.0061091441, 0.0083183758, 0.0006841383, 0.0283054113, -0.0059595401, 0.0080142822, -0.0118248304, -0.0166059081, -0.0139001021, 0.0336096957, -0.0331946462, 0.0309343822, -0.0093745049, 0.0591765232, -0.0012167377, 0.0263456069, -0.004271023, -0.0602758564, 0.0571689047, -0.0031199839, 0.052433446, 0.0171332043, -0.0229182877, 0.017052466, 0.013035642, 0.0143769616, -0.0040768073, 0.0212556198, 0.0906289443, 0.0238848925, -0.0779280439, 0.0537554733, -0.0346864536, -0.0087914234, 0.0327150896, -0.0094355633, -0.0844592154, 0.0200798027, 0.0220835935, -0.0005836059, -0.0812101066, -0.0786729828, -0.0229940824, -0.0961856768, 0.0314498618, -0.0050658979, -0.0054180855, -0.0096851029, -0.0183923524, 0.0227774307, 0.0134114577, 0.0187023133, 0.006651286, 0.0138961114, 0.0178335961, -0.0117365643, -0.0181852598, -0.0104471352, 0.0336050615, -0.039874617, 0.0448862761, 0.0044446806, 0.0654113069, -0.0051891538, -0.0106628602, 0.01156253, -0.0272230785, -0.0124296993, -0.0354730077, 0.0020115131, -0.0215119068, 0.0009303809, -0.0229675658, 0.0171434525, 0.046357125, -0.0046807439, 0.0168469772, 0.048840519, -0.0011459406, -0.0581249855, -0.0416144021, 0.0028543428, 0.009598962, 0.0847232193, 0.0237062499, -0.04872372, 0.0074074753, -0.0174440537, 0.0207696464, 0.0482491888, -0.0828716308, 0.0241413675, 0.0055741295, -0.016651867, -0.0300664045, -0.086169064, -0.0048667202, -0.0234327968, 0.0504216664, -0.0688065439, -0.0130687803, -0.0406748801, -0.0585943796, 0.019181326, 0.0171826463, 0.0451304205, 0.0677274242, -0.0176838208, -0.0137712313, -0.0517764203, 0.0035262234, 0.0220952276, -0.0022000098, -0.0312855765, 0.0791510865, 0.0087064896, 0.0190110132, 0.0369399562, 0.0249234028, -0.0325621478, 0.0526581705, -0.0101513797, -0.0184636153, 0.0693695396, -0.0135619035, 0.0502673946, -0.0093553076, 0.038815584, -0.0220364518, 0.058637023, 0.0329936855, -0.0115176272, 0.0246835724, -0.0417254306, 0.008633988, -0.0176685471, -0.0163043477, -0.0803066194, 0.0061301035, -0.0658003539, -0.0543207303, -0.0112969913, -0.0587079786, -0.0085246153, -0.0579804853, 0.0396266095, 0.0316168964, -0.0605685562, -0.0571776368, -0.0715681911, 0.0027368134, -0.0074887341, 0.0301599428, 0.0588852167, 0.0473486707, -0.0207243394, 0.0295875482, -0.0256288014, 0.0168176796, -0.0769688487, 0.0243820231, 0.0264454018, 0.0618562736, 0.0307200141, -0.0066200285, -0.0092656882, 0.0105129303, -0.0161887128, -0.014370705, 0.0077089393, -0.0315632708, -0.0038399594, -0.0659541562, 0.0167661179, 0.0010037067, 0.0095730359, 0.01453014, -0.0259580072, -0.0233505294, -0.0521132834, 0.0182862617, -0.0004402833, -0.0184766632, 0.0480971597, 0.0095107201, -0.0111517934, 0.0652110055, -0.0282775071, -0.0443931445, -0.0060276873, -0.0465082377, 0.065659456, -0.0329869427, -0.0032715872, -0.0107680243, -0.0945089236, -0.045512557, -0.007688493, -0.0342824049, 0.0361327305, -0.028534336, 0.0055100191, 0.0585010201, -0.0193516575, -0.0163089521, -0.0003300473, -0.0247485116, -0.0537739657, -0.0057616225, -0.0398110263, -6.070221236e-33, -0.0255714078, -0.0408583097, -0.0136408051, -0.0481475592, -0.083445929, 0.0126309283, -0.0213533156, 0.0071309591, -0.0067668636, 0.0252203997, 0.0022494441, 0.0115502626, 0.0035775614, -0.0426028818, 0.0396083333, 0.02151962, 0.0327538475, -0.0005910826, -0.0317437313, -0.030219974, -0.025733877, -0.0060356171, -0.0013682273, -0.0555679388, 0.0651124418, 0.0146687198, -0.0296629295, -0.0141253015, -0.0251654293, -0.0023776109, -0.0439985394, 0.0546650365, 0.0426546708, 0.0154448533, 0.0298326649, 0.0636122748, 0.0008510049, -0.0476240069, 0.0460872129, 0.0058785309, 0.0125142941, -0.0364753008, -0.0031013461, 0.0100712264, -0.0694747269, 0.0004861539, 0.0306033846, -0.0236460082, 0.0844608992, 0.0013564614, -0.0697923452, -0.0080503449, -0.0295018833, 0.0243517365, -0.015374911, 0.0044872942, -0.0132642277, -0.0245331246, -0.019550968, 0.0212458819, -0.0060214866, -0.0345523134, 0.0298574585, 0.0175317898, 0.008748956, 0.0660992563, 0.0667584613, 0.0157069396, -0.0321792997, -0.035454601, 0.0294385385, -0.0335886255, -0.0035322581, 0.0284131598, 0.0172562841, -0.0168250091, 0.015097185, -0.0293764155, 0.0552714504, 0.0181704275, 0.0390431806, -0.0135565074, -0.0358438678, -0.0617169589, -0.0468525551, -0.0981155783, -0.0304165669, -0.0365177542, 0.0511944741, -0.0260269344, 0.0010060008, 0.0091030523, 0.0162354205, -0.0245740116, 0.0125334281, -0.015097118, -0.0403996818, -0.0233915467, 0.0265356302, -0.004281994, -0.0299343672, 0.0160648189, 0.0257889517, 0.0349650383, 0.0531568155, 0.0124639766, -0.0377832241, 0.01518392, -0.0427587964, -0.0005932185, 0.0005555949, -0.013433286, 0.0184394568, -0.0126973316, 0.0228264965, 0.0485084951, -0.0215847827, -0.0047585256, 0.0461196899, 0.0260903183, -0.0352226011, 0.003485976, -0.0254635867, 0.0436089002, -0.0375952758, -0.0067343363, 0.0108565344, 0.0224035941, 0.0247943942, -0.0592963248, -0.0169227868, -0.0197004173, 2.701e-7, -0.0482526124, 0.0349849313, -0.0127418861, 0.0233370718, 0.0111009218, 0.0195856001, 0.0369461291, 0.0225201976, 0.0261066407, -0.0019591653, 0.004334101, 0.0340523832, 0.0205739047, 0.0646990538, -0.0214852598, 0.0259074364, -0.0725270361, 0.0173526797, -0.051203467, -0.002059771, -0.0061912131, 0.0286582187, 0.026873406, -0.0099540856, -0.0562668629, -0.005967373, 0.0115101142, -0.0245034881, 0.0395692438, 0.0090302629, -0.0038756414, 0.000741375, 0.0350243524, 0.0190263148, 0.0398168564, 0.0340525731, 0.0305977445, 0.018614782, -0.0236468613, 0.0213990137, -0.0036625681, 0.0240529831, -0.025880551, -0.0586604476, 0.0481305793, 0.0216844231, -0.0611646585, -0.0314184614, -0.0053719236, -0.0225263201, 0.0513378382, -0.0365955792, -0.0119443731, 0.0052963006, 0.0135697704, 0.0020930574, 0.0193030089, -0.0553908758, -0.0069560516, -0.0359002426, -0.0338215642, -0.0476818755, -0.0073257694, 0.0466930047, 0.0021262418, -0.050647933, 0.0548754856, 2.333166646e-34, 0.0107629197, 0.0088212024, 0.0323002338, -0.0145547986, 0.0281951334, 0.0251358319, 0.0262605473, -0.0012659431, 0.0741596818, -0.0282690562, -0.0174300186 ]
http://arxiv.org/abs/2407.01264v1
http://arxiv.org/pdf/2407.01264v1
SignCLIP: Connecting Text and Sign Language by Contrastive Learning
2024-07-01T13:17:35
2024-07-01T13:17:35
Zifan Jiang, Gerard Sant, Amit Moryossef, Mathias Müller, Rico Sennrich, Sarah Ebling
cs.CL
cs.CL
We present SignCLIP, which re-purposes CLIP (Contrastive Language-Image Pretraining) to project spoken language text and sign language videos, two classes of natural languages of distinct modalities, into the same space. SignCLIP is an efficient method of learning useful visual representations for sign language processing from large-scale, multilingual video-text pairs, without directly optimizing for a specific task or sign language which is often of limited size. We pretrain SignCLIP on Spreadthesign, a prominent sign language dictionary consisting of ~500 thousand video clips in up to 44 sign languages, and evaluate it with various downstream datasets. SignCLIP discerns in-domain signing with notable text-to-video/video-to-text retrieval accuracy. It also performs competitively for out-of-domain downstream tasks such as isolated sign language recognition upon essential few-shot prompting or fine-tuning. We analyze the latent space formed by the spoken language text and sign language poses, which provides additional linguistic insights. Our code and models are openly available.
SignCLIP: Connecting Text and Sign Language by Contrastive Learning: We present SignCLIP, which re-purposes CLIP (Contrastive Language-Image Pretraining) to project spoken language text and sign language videos, two classes of natural languages of distinct modalities, into the same space. SignCLIP is an efficient method of learning useful visual representations for sign language processing from large-scale, multilingual video-text pairs, without directly optimizing for a specific task or sign language which is often of limited size. We pretrain SignCLIP on Spreadthesign, a prominent sign language dictionary consisting of ~500 thousand video clips in up to 44 sign languages, and evaluate it with various downstream datasets. SignCLIP discerns in-domain signing with notable text-to-video/video-to-text retrieval accuracy. It also performs competitively for out-of-domain downstream tasks such as isolated sign language recognition upon essential few-shot prompting or fine-tuning. We analyze the latent space formed by the spoken language text and sign language poses, which provides additional linguistic insights. Our code and models are openly available.
[ -0.0442105234, 0.0456103086, -0.0050793295, 0.0444161296, -0.0112172943, 0.0304004382, 0.0037106462, -0.0006010652, 0.0407244489, -0.0501469672, -0.0427128598, -0.0408085026, 0.0147291468, 0.0346085057, 0.0325746648, -0.1027281433, 0.0188506562, -0.0371293873, -0.0285649616, -0.0091393981, 0.0576736517, 0.012563468, -0.0433736481, 0.0231541265, -0.0649409145, -0.0153599204, 0.0109510794, 0.0164247248, 0.0525513738, -0.0239443947, -0.0431289934, 0.0224287957, 0.0831861869, -0.0302461497, 0.0000019498, 0.0065825125, 0.02707888, 0.0137646236, 0.0407355465, 0.0115757268, 0.0406819433, -0.0812501609, -0.0112144314, 0.0412624218, -0.0328162573, -0.0949911401, 0.0480135195, 0.0470800772, 0.0159703568, 0.0125718592, -0.0331746638, 0.0077904272, 0.028175192, -0.0285167824, -0.0164551139, 0.0315319449, -0.0031690267, -0.0257540885, 0.0157969892, -0.0119400611, -0.0486135483, 0.0834811479, 0.0202197358, -0.0414943509, -0.0504324213, 0.0442547388, -0.0400808938, -0.0081173303, -0.0255861674, 0.0414564051, -0.0317094438, 0.011086355, -0.0002798772, -0.0454863533, 0.0059615141, 0.0428697877, 0.0060121045, 0.0282194316, 0.0331042819, 0.0046021189, -0.0087651946, 0.0292122699, 0.036168009, -0.0225003734, 0.0140238684, -0.0394933857, 0.0478051901, 0.0325256325, -0.0010740918, -0.0052765412, 0.0169977173, -0.040037591, 0.0229797419, -0.0287556089, -0.0119126067, -0.02119115, -0.0407684669, -0.0294274818, -0.0305400863, -0.0063587348, -0.0172564741, 0.0399486795, -0.0656311885, 0.0450831652, 0.0603884459, 0.0297575574, -0.0421518125, 0.0208804701, -0.0227033738, 0.0058098943, 0.0109359231, 0.0103068342, -0.0252371915, -0.0466192886, -0.0362659879, -0.0475192554, 0.0333155505, -0.0241410844, -0.012371419, -0.0486063845, 0.0340722725, 0.0308323167, 0.0164787266, -0.0082771853, 0.0145150265, 0.0486903824, -0.0066821282, 0.0707703456, -0.0460062362, -0.0570166931, -0.0077369553, 0.0411429107, 0.016643526, -0.0027256499, 0.0171606187, 0.0216193441, -0.0618700571, -0.0599293262, 0.0107105086, 0.044663161, -0.0255674534, -0.0250996221, 0.015820073, -0.058465261, 0.0197812784, -0.0045341309, -0.0149310492, -0.0749159828, -0.0016205293, -0.0382039659, 0.0086748712, 0.0864906311, 0.0012373463, -0.0128918355, 0.0262996946, 0.0015158902, -0.0434070639, 0.034025833, 0.0442196317, 0.0123014739, 0.0120186089, 0.0210467186, -0.002723169, 0.0742230266, -0.0104522705, 0.0249897856, -0.0328395106, -0.0051106042, 0.0188436154, -0.0120703429, -0.0101149436, 0.0490376689, -0.0334684886, -0.0288953967, 0.0213654302, 0.0898463055, 0.0351541303, -0.0612915419, 0.0029993679, 0.0558824204, -0.0093749529, -0.0444463938, -0.0164405033, 0.0599381067, 0.0461738668, -0.0436476357, -0.0078779804, 0.0361892171, -0.0744768456, 0.0143998051, 0.0011313605, -0.0192522202, 0.039042227, 0.0192714687, 0.0657718927, 0.0206014793, -0.0617961399, 0.0090349512, 0.0083987489, -0.0233344063, 0.0251474343, -0.0152477985, -0.0347360261, 0.006915079, -0.0343441553, -0.0087039564, 0.006828309, 0.0138358818, 0.0119578065, 0.0356794707, -0.0321727693, 0.0137518942, 0.0497882888, -0.0390377454, -0.0291897655, 0.0274127126, 0.0088415621, 0.0184471086, -0.0420653597, 0.067363143, -0.0020196242, 0.0316607766, 0.0244381763, 0.0468693487, 0.0012037344, -0.0195145886, 0.012969505, 0.016152218, 0.0355390646, 0.0218365211, -0.031866964, -0.028254481, 0.0176533666, -0.0390810445, -0.0035661412, 0.053277038, -0.0398492962, -0.0765376613, 0.042189464, -0.1108812317, -0.0043213717, 0.0319267474, 0.0031713238, -0.0543044955, 0.0442533344, -0.0051278118, 0.0497428626, -0.050170809, -0.0083497167, 0.023172576, -0.0144765899, 0.0121746259, 0.0075206556, -0.0184363071, -0.0648696721, -0.0219583977, 0.0180755127, 0.0226497743, -0.0194228925, -0.0044566873, -0.0143580632, 0.0007375905, 0.0454112068, 0.0167532377, 0.0320272185, -0.0285110325, 0.0035215099, -0.0561542399, 0.0069387858, -0.025280213, 0.0139604108, -0.0072444617, -0.0361288637, 0.0225274097, -0.0279821735, -0.0348588154, -0.0352601036, 0.0209545884, -0.0357708633, -0.0382322222, 0.0165072065, -0.0121300118, -0.0129841994, -0.0098064216, 0.0369026214, 0.0220162049, 0.0051989644, -0.0504493564, -0.0233021192, 0.015711952, 0.0551785044, 0.0301944725, -0.0366969928, -0.0230042133, 0.0393638201, -0.0072842264, -0.0240913182, -0.0241210125, 0.0004501298, 0.0205991492, 0.0151043199, -0.0208217595, -0.0022860661, -0.0137272272, 0.0148435086, 0.0352029465, -0.027063163, 0.0036581957, -0.036770761, 0.0298246928, 0.0156623423, 0.0166723989, -0.0929554179, -0.0462575667, -0.0126630384, -0.0273050927, 0.0068683475, 0.0143013867, -0.0319168828, -0.0310556944, -0.025070576, -0.0771129876, 0.0141732693, -0.0457117334, -0.0319921002, 0.0432101935, -0.0068200147, -0.0076854955, 0.0554214232, -0.0110895885, 0.0066192178, -0.0544680431, -0.044193767, -0.0547857396, 0.0142607316, 0.0088627199, -0.0031546259, 0.0296448208, -0.0241978392, 0.0216711499, -0.0129690366, -0.0285332259, -0.0023276545, 0.001584575, -0.0362082906, -0.0142998928, 0.0107385926, -0.057308007, -0.0191620309, -0.0266005676, 0.0100339931, 0.0351885259, 0.0266053341, 0.0262184497, 0.0005161862, -0.0264917072, 0.0093002841, 0.000229137, -0.0302488282, -0.0518763661, -0.0143858036, 0.0379161797, -0.0203961357, -0.0045665065, -0.0477683209, 0.0116782263, 0.0416694395, 0.067033425, -0.0371672176, 0.0319372229, 0.0449444242, -0.0173264854, 0.0286329444, 0.0351781771, -0.0005699882, -0.0521079153, -0.0043231864, 0.0458424129, -0.017396206, 0.0075480095, -0.0226807352, -0.0733585209, -0.08204633, -0.0171115007, 0.010629531, 0.050596416, 0.0164799988, -0.0458538607, -0.029033551, 0.0270093977, 0.0155906836, -0.0705127195, -0.0165026262, 0.0262914933, 0.0297797211, 0.0195064303, 0.0046787169, 0.0123129217, -0.0298111495, -0.0004216103, -0.0025846094, 0.0256640203, -0.0646884739, 0.0262528881, -0.0128105553, 0.0097730318, 0.0045938464, 0.0050997701, 0.0101403892, -0.0965508223, -0.0026643458, -0.0389483385, 0.013932378, -0.0236303471, 0.0583869256, -0.0023312054, -0.043782413, -0.0111151468, 0.0771363899, -0.0487482361, -0.0338786654, 0.0037895241, 0.0454039574, -0.0156901833, 0.0218925513, -0.0101972595, -0.0266024973, 0.0338904411, 0.0171239618, -0.0155549953, -0.0380631723, 0.0074975886, 0.0140513685, 0.014279265, 0.0816403031, -0.0447744243, -0.0158408359, -0.0211804993, -0.0079374351, -0.0174063742, 0.0036998917, 0.0565475784, 0.0472765304, -0.022528505, 0.0181576069, 0.037821386, 0.0129298642, -0.0667617247, 0.0852409601, -0.016142372, 0.0561172739, -0.0561932698, -0.04787682, 0.0000777984, -0.0334616713, 0.0005942963, 0.0014091861, -0.0764919445, -0.0615885071, -0.0226860754, 0.0571980849, 0.0115660494, 0.0389306173, 0.0179530364, -0.0224296544, -0.0006321574, 0.0548509993, -0.0047107693, 0.0234792512, 0.0395423733, -0.1010880992, -0.0177424047, 0.0034905185, 0.0065112668, 0.0131199071, 0.0076835989, -0.0065307813, -0.0920963585, -0.0037460586, -0.0466911942, -0.0136901867, 0.02291039, -0.0429173969, -0.0169712175, -0.0766900778, 0.0195862632, -0.0276727099, 0.0358271077, -0.1135595217, 0.0177734382, 0.0229644943, 0.0009223357, 0.0005468789, 0.0411226712, -0.0042771627, 0.0118258744, 0.0288826134, 0.0469422936, 0.0618778095, 0.0405779593, 0.0367657356, 0.0309836678, 0.0341889337, 0.0476776399, -0.0067588789, 0.0061940113, 0.0137482928, 0.0427879915, 0.0391391255, -0.0074161352, 0.0474757105, 0.0180493668, 0.0300181676, -0.0919942632, -0.0215990283, 0.0158697031, 0.0015901735, 0.0059830649, 0.0305780023, -0.0291209295, 0.0169413369, -0.0164376479, 0.0605775304, -0.0269428082, -0.0665801391, 0.0563435555, -0.0111270025, -0.0040661804, 0.0318335108, 0.0306819733, -0.0665284544, -0.0031902525, -0.0270832814, 0.045096416, -0.021027796, -0.0240261704, 0.0284580495, -0.0158748701, -0.0370364264, 0.0508180484, -0.0213707983, -0.0560157783, -0.007636799, 0.0101750763, -0.0534014553, 0.0413135849, 0.0215534326, -0.0413395241, -0.0018774945, -0.0036786492, 0.0055242372, -0.0706327856, 0.001863078, -0.0119377896, 0.000451488, -5.506637817e-33, -0.0228698421, -0.0450242236, 0.0152538102, -0.0053482647, 0.0049154032, 0.034957435, -0.0203316864, 0.0376004577, 0.015357377, 0.0448896736, -0.0032450175, 0.0257648323, -0.0029387497, 0.0320790745, -0.0034658245, -0.0148878964, 0.0329208858, -0.0159287993, 0.0214467794, 0.0284117125, 0.0300711803, 0.0080480548, 0.0704766065, -0.1186704636, -0.0152739901, -0.0314627178, -0.0698869228, 0.0199094918, 0.0175380539, 0.0083657652, -0.0256662462, -0.0256175306, -0.0223103166, -0.0105670439, -0.0062985625, 0.0390417539, -0.0180882011, -0.004716537, -0.0243502632, 0.0688181967, -0.0880741552, 0.0494276807, -0.0134096304, -0.0107513107, -0.0353569016, -0.0104961628, 0.029947672, -0.0178956632, 0.0317887738, -0.0090883058, -0.009284812, 0.0327125713, -0.006855607, -0.0367021263, 0.0415819474, -0.0075014783, 0.0084879538, -0.0403937958, -0.0567669012, 0.0214404743, 0.0060962853, -0.021468956, 0.0838100165, -0.0038573269, 0.0368375704, 0.0552980825, 0.0092323627, -0.0923251957, 0.0775895268, -0.0683020204, 0.0702230334, 0.0367783681, 0.0208645482, 0.0996892825, 0.0515549444, -0.0311983284, -0.0236590989, -0.0070041828, 0.0344905257, 0.0162918791, -0.0589567199, 0.0360889509, 0.0331646986, -0.0030404297, -0.0419995971, 0.0002082766, 0.0076932297, -0.032371074, 0.032505203, 0.0304701459, 0.012715051, 0.0240029376, 0.0997847915, -0.0153854499, -0.023276696, 0.0365090482, -0.0070008039, 0.0190343335, 0.0199122336, 0.0196502339, -0.0680920854, -0.0202062521, 0.0721912086, -0.0078959251, 0.0253345594, 0.0233483948, 0.0110964021, 0.0612069145, -0.0449406803, 0.0076203011, 0.0129668098, 0.0301241651, 0.0176736675, 0.0026361367, 0.0606185272, -0.0057744789, -0.0371416807, 0.0770285055, -0.003313618, -0.0059451708, -0.0047825528, 0.0186823532, -0.0155498395, 0.0257421583, -0.0387171693, 0.0276839938, -0.0257472713, -0.0494998395, 0.0753397271, -0.0717088804, 0.004455504, 0.0367698744, 2.631e-7, 0.0266002286, 0.0025958854, -0.0067225359, 0.0408025235, 0.0266912822, 0.0604053624, -0.0300800204, 0.017487701, 0.0327409469, -0.0006823902, 0.0059593944, 0.0074274861, 0.0388254225, 0.035636656, -0.0273225531, 0.0599535555, -0.0121385455, -0.0111499755, -0.0101270471, 0.0094489744, 0.0538461357, 0.0843196064, 0.019077599, -0.011899, 0.0254963879, -0.0695571527, 0.0757184252, -0.0403585956, 0.0252203196, -0.0598109402, -0.0007023094, -0.0292872991, -0.0392447449, -0.0005957062, -0.0148763098, 0.0135304863, 0.0166729651, 0.0250504017, -0.0499044545, -0.0026840873, -0.0108845932, 0.0250429045, -0.0725058466, 0.0243680291, 0.0677274987, -0.0549531728, 0.0094758207, -0.0540116504, -0.0429654792, -0.0066079772, 0.0179554597, 0.0052583367, 0.0304377917, 0.0650994629, 0.0174129885, -0.03929355, -0.0203407779, -0.0791168362, -0.0162524041, -0.0099422894, -0.006991575, 0.0436644331, -0.0306366608, 0.0254307911, -0.011401372, -0.0343035348, -0.0521686859, 1.655387394e-34, 0.0111765089, -0.0000187297, 0.0098248897, 0.0009259195, -0.0308455136, -0.0155745894, 0.0275139175, 0.0226685777, 0.0152173545, -0.0081566758, -0.0128011098 ]
http://arxiv.org/abs/2407.01257v2
http://arxiv.org/pdf/2407.01257v2
uDistil-Whisper: Label-Free Data Filtering for Knowledge Distillation via Large-Scale Pseudo Labelling
2024-07-01T13:07:01
2024-07-03T09:54:08
Abdul Waheed, Karima Kadaoui, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.SD, eess.AS
Recent work on distilling Whisper's knowledge into small models using pseudo-labels shows promising performance while reducing the size by up to 50\%. This results in small, efficient, and dedicated models. However, a critical step of distillation from pseudo-labels involves filtering high-quality predictions and using only those during training. This step requires ground truth to compare and filter bad examples making the whole process supervised. In addition to that, the distillation process requires a large amount of data thereby limiting the ability to distil models in low-resource settings. To address this challenge, we propose an unsupervised or label-free framework for distillation, thus eliminating the requirement for labeled data altogether. Through experimentation, we show that our best-distilled models outperform the teacher model by 5-7 points in terms of WER. Additionally, our models are on par with or better than similar supervised data filtering setup. When we scale the data, our models significantly outperform all zero-shot and supervised models. We demonstrate that it is possible to distill large Whisper models into relatively small models without using any labeled data. Our distilled models are 25-50\% more compute and memory efficient while maintaining performance equal to or better than the teacher model.
uDistil-Whisper: Label-Free Data Filtering for Knowledge Distillation via Large-Scale Pseudo Labelling: Recent work on distilling Whisper's knowledge into small models using pseudo-labels shows promising performance while reducing the size by up to 50\%. This results in small, efficient, and dedicated models. However, a critical step of distillation from pseudo-labels involves filtering high-quality predictions and using only those during training. This step requires ground truth to compare and filter bad examples making the whole process supervised. In addition to that, the distillation process requires a large amount of data thereby limiting the ability to distil models in low-resource settings. To address this challenge, we propose an unsupervised or label-free framework for distillation, thus eliminating the requirement for labeled data altogether. Through experimentation, we show that our best-distilled models outperform the teacher model by 5-7 points in terms of WER. Additionally, our models are on par with or better than similar supervised data filtering setup. When we scale the data, our models significantly outperform all zero-shot and supervised models. We demonstrate that it is possible to distill large Whisper models into relatively small models without using any labeled data. Our distilled models are 25-50\% more compute and memory efficient while maintaining performance equal to or better than the teacher model.
[ 0.0233004019, 0.0822441652, 0.0180330314, 0.015676884, 0.0230729431, 0.0175731853, 0.050398238, 0.0127790431, 0.0164540447, 0.0074031642, -0.038209334, 0.0351214223, -0.0617093854, 0.0361550041, 0.0245941598, -0.086758852, 0.0172439683, -0.0482928567, 0.0177723914, -0.0096810833, -0.0035071883, -0.0080439653, -0.0003677518, 0.0062191691, -0.0225448776, -0.0366797112, -0.0369529165, 0.019207105, 0.0170769002, 0.0233512856, 0.0159516614, 0.0187309589, 0.0217545517, 0.0431399234, 0.0000022298, -0.0068611191, -0.0234488193, 0.0111474954, -0.0494473055, 0.0162124541, -0.0139703993, 0.0179007165, 0.0361244902, -0.0034551092, -0.0284419321, -0.0420503579, 0.0287419278, 0.052385807, 0.0903108492, 0.0722046345, -0.0054590991, -0.0307465326, 0.0133060552, -0.0275425967, 0.0388681553, -0.0565106906, 0.0313893631, -0.0221026298, -0.0610318147, 0.0038382851, -0.0132030062, 0.0504563637, 0.0390454307, 0.0062043755, 0.0163784716, 0.0212453194, -0.0660093054, -0.0403875709, 0.0053838678, 0.0770047903, -0.0172823854, -0.0369209684, 0.0601767339, 0.0019550757, -0.0076236748, -0.0498126149, -0.0318050869, -0.0232031383, -0.0104132975, 0.0291026384, -0.0334013663, 0.0474945717, 0.0495136082, -0.0106440317, 0.0020910602, 0.0381939448, -0.0353787132, -0.0279680528, 0.0295428261, -0.0179674253, -0.0134411491, -0.0528150052, 0.0156957172, 0.0120989783, 0.0087811034, 0.0006189247, -0.044852078, -0.0110595813, -0.0241253674, 0.0016125594, 0.037139006, 0.000346103, -0.0003014252, 0.0561299548, 0.0104244202, 0.0053063161, 0.0169733241, 0.0657001436, -0.0523081496, 0.0059725344, -0.0817285776, 0.0238920171, -0.0422310717, 0.0763810128, -0.0417252369, 0.0131135201, -0.0193036906, -0.0377824828, -0.0641014948, 0.0050871959, 0.0645369589, 0.0365222804, -0.0300782453, -0.0016549526, 0.0214116648, 0.0446951874, -0.0260491651, -0.0088921441, 0.0210094266, -0.0125606041, -0.0085194493, 0.0028423357, 0.0053178389, 0.0135183604, 0.014522667, 0.0436609462, -0.0188373905, -0.0153799206, -0.0533031784, -0.0462010764, 0.0003260133, -0.0759843066, -0.0177661143, -0.0329581946, 0.051481057, -0.0399224721, 0.029314924, -0.0833010674, -0.002239855, -0.0174931325, -0.0460497178, 0.054625541, -0.0246162284, -0.0067257662, -0.0170664005, 0.0510248467, -0.0511371121, 0.056624528, 0.0092991013, 0.0291643254, 0.0235404037, -0.0008250248, -0.0047806678, 0.0064519173, 0.0770289972, 0.0186437573, -0.0279095601, 0.0036762119, 0.0006658883, -0.0147443805, 0.0217693951, 0.0461827032, -0.0356543735, -0.0273527037, 0.0512480028, -0.0182480756, 0.0254276525, 0.0148170348, 0.0305543505, 0.0317572281, 0.0101834955, 0.0094005195, -0.0510650128, -0.0037067842, -0.0177133214, -0.0049258042, 0.0443489403, 0.0082500605, -0.0758920908, -0.0737276152, 0.0288745407, -0.0038585437, -0.0075363573, 0.0553830341, 0.0440659411, 0.0342368819, 0.002130779, 0.0797410458, 0.0855278373, -0.0204096939, 0.000514766, -0.0534995385, 0.0227099247, 0.0294719078, 0.011976881, -0.0591613874, 0.0167563409, -0.0217184741, 0.0664037317, -0.0064740167, 0.0058714752, -0.0327370018, 0.0334821753, -0.0445725583, -0.0366323814, 0.0108766174, 0.0329732932, -0.0228424277, 0.0501686074, 0.0116033172, 0.0130926697, -0.0925118327, -0.0432428308, 0.0085123042, -0.0178801809, -0.0586172082, -0.0020684316, 0.0132035632, 0.0332124755, 0.000858605, -0.017432183, -0.0271386951, 0.0311234891, -0.0197138395, 0.005050391, -0.0784142762, -0.0234752987, -0.0495704301, 0.0299153961, -0.0162411071, 0.0079723662, 0.0208783895, -0.0739138797, -0.0342471153, -0.0200413521, 0.0256737806, 0.0698442236, -0.0118688354, -0.0004624345, 0.0161330979, -0.0358447954, -0.0020509316, 0.0300056953, -0.0177501105, -0.0277914833, -0.0546545573, -0.0157341883, -0.0097633796, 0.0217990447, -0.036687281, 0.0330850631, -0.0326595344, 0.023830153, -0.0087354574, -0.0109040104, -0.0288612805, -0.0086103724, -0.0450495332, -0.0031323454, -0.0322003663, -0.0209952239, 0.0086435499, 0.0192271359, 0.0304136034, -0.026137799, -0.0142902937, 0.0023734232, -0.0557614341, -0.0043178694, -0.0388126038, 0.0103495019, 0.0181345362, -0.019784335, -0.0268990584, 0.0188866984, 0.0360887423, -0.025526464, -0.0070223124, -0.0317363925, 0.0487248003, -0.0470492728, 0.0306351352, -0.0039112102, -0.0178662986, -0.0091629392, -0.0042656171, -0.0346566141, 0.0375975482, -0.0393472686, 0.037243288, 0.0297000855, 0.0095273564, -0.0611572117, 0.0257673692, -0.0108878175, 0.0110899527, -0.0229917634, 0.0071791722, -0.016460428, 0.0676973611, -0.0045344657, -0.0075815045, -0.0379949659, 0.0282922853, -0.0042465287, -0.0800344422, -0.0542336069, 0.0275105517, 0.010271823, -0.0039319182, -0.0360166505, -0.0231438018, 0.0637315363, 0.0190069899, -0.0088640116, -0.0299818292, -0.0678613409, 0.009287741, 0.0256561637, -0.0067962925, 0.02966417, 0.0227675419, 0.0152839851, -0.0311682709, -0.0478978492, 0.0069466266, -0.0221813899, 0.0099251382, -0.0589293055, 0.0059636198, 0.0189167764, -0.0272813346, -0.0545252413, -0.028010847, -0.0039579584, 0.0183594115, -0.0185015425, -0.0128996959, -0.0546000265, 0.0175464191, 0.0044618854, 0.071008049, 0.0215532482, -0.0089401342, -0.0217472166, 0.0165254809, 0.0364497267, -0.057798963, -0.0183575582, -0.0163396709, 0.0574463867, 0.0801971778, 0.0720999688, -0.0168466736, -0.01542415, 0.0128648672, 0.0000774046, -0.0117089832, -0.0133169806, 0.0276166014, 0.0518499911, -0.0468872748, -0.0291479081, 0.0796400532, 0.0078033144, -0.0157038569, -0.000226339, 0.0696172342, 0.0509968996, 0.0139527237, -0.0091213202, -0.0235511903, -0.0308342241, 0.013093615, 0.0347717665, 0.0335651785, -0.0469521172, 0.0046530673, -0.0580681227, 0.0344520174, 0.032931637, -0.0357642733, -0.0155892596, -0.0205962919, -0.0050372505, -0.0298376065, -0.0296403412, -0.0156743806, -0.0022473403, 0.0008269373, 0.0352351516, -0.0070062475, -0.0403440706, 0.0238797422, -0.0395171717, 0.0186017957, 0.0404253043, 0.0163480714, 0.0272867866, -0.0764456168, -0.0047087432, -0.0149783082, -0.0325908661, -0.0108294301, 0.1074810773, -0.0123077435, -0.0092225829, -0.0001358188, 0.0579580329, -0.036635492, -0.0163955223, 0.0213567801, 0.0549683943, 0.0120252129, -0.0664129555, -0.0032325473, -0.0195068829, 0.0205742139, 0.0951931104, 0.0221505668, -0.0218800586, -0.0064735333, -0.0066301441, -0.0146636488, 0.0104911933, -0.0106468899, 0.0211279374, -0.0443499684, -0.0328646079, -0.0290114544, -0.0065746997, 0.0388797559, 0.0617079288, -0.0116519602, -0.0121200886, 0.0556075089, 0.0009572461, -0.0577587709, -0.0149886273, -0.0401707701, -0.0151516162, -0.0097266212, -0.0706803128, 0.0370006412, 0.0344910137, -0.0310380906, 0.0056773308, -0.1149984524, -0.0647432059, 0.009325562, 0.051234059, 0.0239907969, 0.0749506727, -0.0044366042, -0.033040341, 0.1009470671, 0.0531979837, -0.0203176849, 0.009929155, 0.0597889125, -0.0370086692, 0.0364846401, 0.0483581163, -0.0409998521, 0.0270452481, 0.0565411672, -0.0049330597, -0.1034028009, 0.043161083, 0.0118699828, -0.0153520824, 0.061798811, 0.0277976003, -0.0005989851, -0.0135715716, 0.0095147621, 0.0238772668, -0.0199578926, -0.0525051504, 0.0249299593, 0.0355380811, 0.0181018226, -0.0050661312, 0.0294200126, 0.0144203212, -0.0003705029, -0.0313739181, -0.0335232392, -0.0250137597, -0.0170859173, 0.059874028, 0.004392724, -0.0063339667, 0.0332444757, 0.0392435864, 0.0246691629, 0.0031851341, -0.0237687714, 0.0339847207, 0.0536061265, -0.0208471771, -0.0030429545, -0.0787238404, -0.0629760101, -0.0574571155, 0.0601071864, 0.0017131633, 0.0095727146, 0.0200731251, 0.0111486847, -0.028017858, -0.0226168633, -0.0121202562, -0.0057572625, 0.0074108965, -0.0074711507, 0.0329464413, -0.0145132151, 0.0101058958, 0.0886537656, 0.0351652801, 0.0736755431, -0.0066236998, 0.0135669652, -0.0580021478, -0.0076219398, -0.0030369624, 0.0531902164, 0.0291109383, 0.0003839439, -0.0295831356, -0.0734596476, 0.0034717296, -0.016663326, 0.0034321526, 0.0037684431, 0.0508616641, 0.004634528, -0.0026167671, -0.0182797052, -0.0091300551, -0.0523779541, 0.0700909197, -0.0448481068, 0.0289074779, -6.871259658e-33, 0.0035045515, 0.0145173473, 0.0035494438, 0.0142784035, 0.0010914529, 0.0090024052, -0.0048560961, -0.0404705107, 0.016852174, 0.0543196723, 0.0078584636, 0.0340937935, 0.0232687742, 0.023592025, -0.003066428, -0.0317894965, 0.1009779871, -0.0117095616, 0.0072832755, 0.0695467889, 0.0225665197, 0.0480890274, 0.0374732502, -0.0960838273, -0.0213826261, -0.0111144241, 0.0052139293, -0.009038331, 0.0181160253, 0.0038599877, -0.0155224381, 0.0506450534, -0.005247355, -0.0127697205, -0.0258046389, -0.0208421424, -0.1069344655, -0.0074783815, -0.0147186909, -0.0066739428, -0.015451706, -0.0128629953, 0.0645344704, 0.0113656232, 0.0161985755, -0.0339397676, 0.0298009403, -0.0072620152, -0.0411529914, -0.0582921766, -0.0112402039, 0.0056660678, -0.0248370282, -0.0442383401, 0.0503871143, 0.0343161896, -0.0055036386, 0.0059973639, -0.1295088083, -0.0002811228, 0.032313522, 0.0245399121, 0.0285870861, 0.0161773246, -0.0238694362, 0.0546491109, 0.0556565039, -0.013136249, 0.0170765296, -0.0184396002, 0.0373014919, 0.0789050832, -0.0142971873, 0.0013518224, 0.070563525, -0.0321305618, -0.0586560108, -0.0101657817, -0.0414859243, -0.0088328468, -0.0200846996, 0.0309507661, -0.041956041, -0.0343077108, -0.0307412762, -0.0597905628, -0.0273880959, 0.0065874094, 0.0344793722, 0.036209777, -0.0453556143, 0.0298049934, -0.0017491786, -0.0685464442, 0.0078184586, -0.0119374208, 0.03641003, 0.0018521858, 0.0125286058, -0.0136048216, -0.0531523414, -0.0409538038, 0.0492807701, 0.0176178999, 0.0147040598, -0.0141633879, 0.0410440266, 0.0159434639, -0.0412899032, -0.0128113776, -0.0362779014, 0.0247759372, 0.0501080975, 0.0002103965, 0.0246403888, 0.0110135935, -0.0111012254, 0.0267303642, 0.0011144327, -0.0165138859, -0.00068988, 0.0371339768, 0.0058562378, 0.0299037211, -0.0094622793, -0.0327716544, -0.0294973105, -0.0287818518, 0.0506202392, -0.0466223881, -0.0050750426, 0.008463637, 2.891e-7, -0.0358004421, -0.0023726672, -0.0055289255, -0.0221513957, 0.0274442919, 0.043141555, -0.0037074494, 0.0099551966, -0.001470328, -0.1147991195, -0.0032128452, 0.0525677539, 0.0738259107, 0.0241055973, -0.1006052718, -0.0196252968, -0.0616345443, -0.0460683294, -0.0236661304, -0.0335175134, 0.0152301472, 0.0901482403, 0.0917210802, -0.0299901776, 0.0383989401, 0.0162838548, 0.0154717024, 0.0212064497, 0.0249932352, 0.0282482393, 0.0308529418, -0.0091672763, -0.0031029356, 0.0360028669, -0.0178063624, -0.0349259563, 0.0133677702, 0.0639993399, -0.0080757039, -0.0008824909, -0.0315925404, 0.0239118412, 0.0193763915, -0.0223166756, 0.0721559078, -0.041552972, -0.0072591323, 0.0219669212, -0.0215772633, -0.0180071015, 0.0208741296, 0.005772341, 0.0282761548, 0.0418361947, -0.0150795393, -0.013816026, -0.0154288774, -0.0466264077, -0.0069953306, -0.0041677286, -0.0382966995, -0.0691258982, -0.0052314722, -0.0250231568, -0.0067588626, -0.0338311344, 0.0192576218, 2.506046279e-34, 0.0360787101, 0.0132479332, 0.0146974595, -0.005367849, -0.0138840182, -0.0147873526, -0.0717787743, -0.0341274515, -0.0044461838, -0.043378599, -0.0101033999 ]
http://arxiv.org/abs/2407.01238v1
http://arxiv.org/pdf/2407.01238v1
Large Language Models are Zero-Shot Recognizers for Activities of Daily Living
2024-07-01T12:32:38
2024-07-01T12:32:38
Gabriele Civitarese, Michele Fiori, Priyankar Choudhary, Claudio Bettini
cs.AI
cs.AI, cs.CL, eess.SP
The sensor-based recognition of Activities of Daily Living (ADLs) in smart home environments enables several applications in the areas of energy management, safety, well-being, and healthcare. ADLs recognition is typically based on deep learning methods requiring large datasets to be trained. Recently, several studies proved that Large Language Models (LLMs) effectively capture common-sense knowledge about human activities. However, the effectiveness of LLMs for ADLs recognition in smart home environments still deserves to be investigated. In this work, we propose ADL-LLM, a novel LLM-based ADLs recognition system. ADLLLM transforms raw sensor data into textual representations, that are processed by an LLM to perform zero-shot ADLs recognition. Moreover, in the scenario where a small labeled dataset is available, ADL-LLM can also be empowered with few-shot prompting. We evaluated ADL-LLM on two public datasets, showing its effectiveness in this domain.
Large Language Models are Zero-Shot Recognizers for Activities of Daily Living: The sensor-based recognition of Activities of Daily Living (ADLs) in smart home environments enables several applications in the areas of energy management, safety, well-being, and healthcare. ADLs recognition is typically based on deep learning methods requiring large datasets to be trained. Recently, several studies proved that Large Language Models (LLMs) effectively capture common-sense knowledge about human activities. However, the effectiveness of LLMs for ADLs recognition in smart home environments still deserves to be investigated. In this work, we propose ADL-LLM, a novel LLM-based ADLs recognition system. ADLLLM transforms raw sensor data into textual representations, that are processed by an LLM to perform zero-shot ADLs recognition. Moreover, in the scenario where a small labeled dataset is available, ADL-LLM can also be empowered with few-shot prompting. We evaluated ADL-LLM on two public datasets, showing its effectiveness in this domain.
[ -0.051014442, 0.0277726799, 0.0087185064, 0.0251664575, -0.0342851207, 0.0291881375, 0.0563728362, -0.0187473278, 0.0402878597, -0.0789128765, 0.0059198951, 0.0107545666, 0.0005008822, -0.004860668, -0.0018362059, 0.0369234271, 0.0416830555, 0.0137219802, 0.0290321447, 0.0269782282, 0.0091796583, 0.0101457927, -0.013964436, 0.0445825048, -0.0146578187, -0.0127207432, -0.0012022346, -0.0241816677, 0.060342811, -0.0457019843, -0.0022060114, 0.0177474674, 0.0490577556, 0.0634143725, 0.0000018511, -0.0308871027, 0.0018478244, -0.005148611, -0.03825894, -0.0701080486, 0.0337495953, -0.0161871873, 0.0278551169, 0.0026074331, -0.0208164733, -0.0571758002, 0.0323725678, 0.038410008, -0.0086716292, 0.0619980842, -0.0077776844, -0.0260955188, 0.0021309946, 0.0086127957, 0.0590018481, -0.0027544226, 0.0407311954, -0.0292078517, 0.008727775, 0.0006057082, 0.0012420648, 0.0102743693, -0.0136236567, 0.0435988642, 0.0075312303, 0.0317892358, -0.0254318994, 0.029441772, -0.0091736717, 0.0766613632, -0.0370378159, -0.0231582299, 0.044106707, -0.0109624928, -0.0284387413, -0.0144642889, -0.0652143285, 0.0082251523, 0.0198332928, 0.0327328295, -0.0172346458, 0.0294777676, 0.0590384044, 0.0116959009, -0.0026081074, 0.0769425482, -0.0106448391, 0.0024352993, -0.0212551132, -0.0166298058, 0.0415839516, -0.0411293432, 0.0103111072, 0.0207545441, 0.0039547789, -0.0037083856, -0.057060767, -0.0031940558, 0.0151935006, -0.0241689812, 0.0200525895, 0.0252766069, 0.0109926555, 0.0671243221, -0.015743738, 0.0255293753, 0.0157388989, 0.0255499035, -0.0561435707, -0.0007115952, -0.0605691634, 0.0246338006, 0.0001720756, 0.0200969521, -0.0260786731, -0.0652917549, -0.03866506, 0.0161393862, 0.0041839154, 0.0004404153, -0.0057000681, 0.039047461, 0.0093895607, -0.0384800211, 0.0439330153, 0.0138852512, 0.0109745981, 0.0785283595, -0.0221434161, -0.0538290516, 0.0056718634, 0.0433323123, 0.0604753532, -0.0212991405, -0.0170989186, 0.011736298, 0.0234726686, -0.0450931787, -0.0111538628, -0.0115451338, -0.0029568463, -0.0077497768, 0.0130521776, -0.0794729814, 0.0051280069, -0.0238662977, 0.0195882265, -0.065635398, 0.0154451272, 0.0139671778, -0.0196924582, 0.0924913436, -0.0383108929, 0.0090740211, 0.0352962911, -0.0007464609, 0.0484086126, -0.0006949012, 0.0429645032, 0.0064908694, 0.0056257676, -0.0072222762, 0.0145732015, 0.036443077, -0.0082704527, -0.0185087379, 0.0035719851, -0.0004780007, -0.0001322824, 0.0125481151, -0.0095302016, 0.0305271484, 0.0175106041, 0.0152294785, 0.0826684684, 0.0817222819, -0.0032748715, -0.0133253066, -0.0001945483, 0.0179982167, -0.0300455466, -0.0797996521, -0.026724821, -0.0155982943, -0.0316339582, -0.0322886556, -0.0189612769, -0.0248473976, -0.0568622351, -0.0230005123, -0.0487221293, -0.0604441985, 0.0418813415, 0.0283272732, 0.0393573381, -0.0289487187, -0.000419738, 0.0592518821, 0.0195613336, -0.0144079737, 0.0005799336, -0.0433204211, 0.0251290891, 0.0826465413, 0.0058608735, -0.0378067084, 0.0146841481, -0.0371537432, 0.0768980235, -0.0428298451, 0.0021568125, 0.0114387525, 0.0294762105, -0.041907616, -0.0558232777, -0.0061964863, 0.0245707985, -0.0080236942, -0.0574667156, 0.0155557776, 0.0325266942, -0.009252456, -0.0370862819, 0.0340995379, 0.0095161088, -0.0464065112, 0.0480211973, 0.0373509303, -0.0105102882, 0.0327035896, 0.0138879716, 0.0007813572, 0.0524634756, -0.0963015556, -0.024822427, 0.0396503173, -0.0543504655, -0.0319856368, 0.0382236131, 0.0126282275, 0.0227036253, 0.0269583315, -0.0389235914, -0.0293556005, -0.0143362144, -0.029702967, -0.0066826791, -0.0348901674, -0.0406704582, 0.0150633808, 0.0059774704, -0.0262785982, 0.050701987, -0.0137566347, 0.0036978747, -0.0167811979, 0.0175565872, 0.0028120624, -0.0295547172, -0.0255170316, -0.0409359932, -0.0476704203, 0.0299292766, 0.0163553022, 0.068846941, -0.0179365296, 0.0562247597, -0.0995993763, -0.0131276315, -0.0458542332, 0.0022283515, 0.0028419474, 0.0053583654, 0.022449106, -0.0264623966, -0.0334039032, 0.0319790393, -0.024687428, -0.0010879405, 0.0398324877, -0.0063723312, -0.0354323722, -0.002150784, 0.0066292859, -0.0027135604, 0.026964847, 0.0022859657, 0.0040445649, -0.0016209407, -0.0281120315, 0.0354877152, -0.003913735, 0.0072586588, -0.0039377501, -0.0024018765, -0.0301488247, 0.0075067356, 0.0347672813, -0.013079986, -0.0048406511, 0.0450946242, -0.0103671448, -0.0379994102, -0.0196651295, -0.022906078, 0.0311184935, -0.0347237326, -0.011006047, -0.0034415978, 0.037782561, 0.0063684694, 0.0188882388, 0.0221961029, 0.0175755601, -0.0224541556, -0.0222158469, -0.0701250061, 0.0402637795, -0.0516201742, 0.0440184772, 0.0114879757, -0.0372842103, -0.0080234706, -0.0235635787, -0.0011327327, -0.0235936847, -0.0381956361, -0.0239011999, 0.0372168906, -0.0029236968, 0.0388344973, 0.0139800152, -0.0264125746, 0.003314629, -0.0394819342, -0.0422411375, -0.0246853065, 0.0509204939, -0.0613980256, 0.0315094404, -0.0287415534, -0.0513083972, -0.0443054661, -0.028757222, -0.0478575863, 0.0091237929, -0.0793434158, 0.0181135498, -0.0576655082, 0.0042887842, -0.0173963048, 0.0516477004, 0.0256327167, 0.0171403531, -0.0152133359, 0.042471379, 0.0819114819, 0.0048118834, -0.0726636723, 0.0332153402, -0.005203038, 0.0272943322, 0.0255752187, 0.0856051818, -0.0721208081, 0.0098531218, 0.0121268481, 0.0126495641, -0.0124488343, 0.0510336496, 0.0383569598, -0.0220339391, -0.0055599255, 0.1366689205, -0.0053434195, -0.0490634404, 0.0121393958, 0.0102174971, -0.0428307615, -0.0200720746, -0.0450227447, -0.0863185972, -0.0798740312, 0.0153692104, 0.0112587195, 0.0147997504, -0.0236527137, -0.0002885232, -0.0644119084, -0.0183213167, 0.0249565132, -0.0367813073, -0.0751802698, -0.0230749082, -0.0023841725, -0.0310019255, 0.0145931505, -0.0393443294, -0.0054627922, -0.0375670753, 0.0011894152, -0.0688353777, -0.0829527378, 0.057328146, -0.0370179452, 0.0662898496, 0.0472524315, 0.0444702059, 0.0165887084, -0.0188392662, -0.0055734864, -0.0025042456, 0.0027453566, -0.0393876061, -0.0274059568, -0.0035493865, 0.0040965434, 0.058795616, 0.097139746, -0.0971363857, -0.0247777607, 0.0150363371, 0.0659957454, -0.0329453386, -0.0064393003, -0.0388618857, -0.0393854976, 0.0749395713, 0.0914181024, 0.0033437456, -0.0336459093, -0.0265873596, -0.0044992897, -0.0524996705, 0.0344061926, -0.0385197997, -0.0112660024, -0.0183636621, -0.0308596715, -0.0284683388, -0.0359651968, 0.0612184368, 0.0120836729, 0.0045223231, 0.0166618638, 0.0211702622, 0.0426011905, -0.0679300129, 0.0149048436, -0.0554943532, 0.0769373775, -0.0256260484, 0.0025532776, 0.0570580736, -0.0022150239, -0.0122058252, 0.0245037116, -0.0765646473, -0.0088178953, 0.002076877, 0.0471859649, 0.0163554791, 0.0141744539, -0.0158628095, -0.0056147249, 0.0120055471, 0.0708713457, -0.0174163543, -0.0153354052, 0.0115371393, 0.0007752784, 0.0079703955, 0.0463735498, -0.0429080054, 0.0364531092, -0.008473332, 0.0317696705, -0.0736250728, -0.0338020809, 0.0151561983, -0.0261128619, 0.0566876531, 0.0189482179, -0.0085822307, -0.0218988247, 0.0042784074, 0.0023997023, -0.0174253173, -0.0477047749, 0.0240034293, 0.04171836, 0.0014644362, -0.0175935775, 0.0581943505, -0.000539986, -0.0004529367, -0.0484584868, 0.0136028156, 0.0216373894, 0.0599488467, 0.0282187182, -0.0199532043, -0.0279390048, 0.0156983174, -0.0087265931, -0.0343819223, -0.0046130223, -0.0032443397, -0.0104554007, 0.0162913315, -0.0938997716, 0.0477561913, 0.0044458089, -0.0149674686, 0.0190727822, 0.0288272575, 0.0475808792, 0.0138246613, 0.0175926052, -0.0015248025, -0.0071439794, -0.0732602328, 0.0450374857, -0.0020136053, -0.0030575995, 0.0190497711, 0.0103207128, -0.0421840549, 0.0083552841, 0.0720314085, 0.0289720502, 0.0133259995, 0.0229389854, -0.0234365165, -0.0502142198, -0.0004246335, 0.0330267251, 0.0361855738, -0.0355960988, -0.0197023079, -0.0106158601, -0.0423479863, 0.0058492431, -0.0454187952, 0.0280255396, 0.0294651184, 0.0571958423, 0.0305441227, -0.038869109, -0.0248755664, -0.0006919147, -0.0048398743, -0.0413486399, -0.0187116042, -0.039065633, -5.772805002e-33, 0.0185092986, -0.0349374525, 0.0130205285, -0.009813006, 0.020403685, 0.0214249697, -0.0083294306, 0.0092822565, -0.0213124808, -0.0266983155, 0.005738202, -0.0113382386, 0.0324592479, 0.0422241054, 0.0312337857, -0.030479677, 0.0696427524, -0.0392245948, 0.0162888374, 0.0147247715, 0.0393934995, 0.0306131914, 0.0270012654, -0.0659713298, 0.0014742661, -0.0017132375, 0.0007072656, -0.0167690795, 0.028475346, 0.0032517465, -0.044987902, 0.0499214344, 0.0280559734, 0.0436320901, -0.0344518162, 0.0892780572, -0.0694784224, -0.0106057692, -0.0149431936, 0.011158851, -0.0191748869, -0.0501181222, 0.0212888718, 0.0139356675, -0.0509473607, 0.0193062425, 0.0470030382, -0.0392086208, -0.0215618648, -0.0065382011, -0.0227897484, 0.0165331885, 0.0026514609, -0.0191858672, 0.0095863771, -0.0053114281, -0.0193867646, 0.0203990676, -0.0924644694, 0.0251148567, -0.0208739396, 0.0211884677, 0.0568031035, 0.013541894, 0.0066786208, 0.0687901229, 0.0134422304, -0.0309673343, -0.0159257781, 0.0412621461, 0.0147308242, 0.0733118355, 0.0001380145, 0.0426114984, 0.0641922429, -0.0117066251, -0.0688288361, 0.0124225523, 0.0289522503, 0.0294615887, 0.0264740251, 0.0345989168, -0.0056615942, -0.0063113566, -0.0038266771, 0.0296943057, -0.0424692445, 0.0061434135, 0.0412785895, 0.0261802711, -0.0421278737, 0.011110709, 0.0206960905, -0.0316412561, -0.0108872075, 0.0502424166, 0.0511664748, -0.0248737056, -0.0025656433, 0.0092288032, -0.0704673827, -0.0469216965, 0.0032962426, 0.049543988, 0.0060061901, -0.0027403447, 0.0340320244, 0.075295113, -0.0022090334, -0.0352218002, 0.0104099149, -0.047551319, -0.0062484234, 0.0620260127, 0.0344866626, -0.0204529539, 0.0015578724, 0.0820571259, -0.0584983863, -0.0277699027, 0.0086810766, -0.0114130927, -0.0007843819, -0.0100967251, -0.0210823826, -0.0134774847, -0.0909508392, -0.0171918944, 0.0606516711, -0.0236838441, 0.0166645776, -0.0135224927, 2.557e-7, -0.0150372935, 0.0220099483, -0.0293098632, -0.0148243355, 0.0222692043, 0.045475211, 0.0028480764, 0.0818575174, -0.0273856279, 0.0161592867, 0.038140934, 0.0010580313, 0.0595781356, -0.0092992773, -0.0769215971, 0.0073275147, -0.0420921333, 0.0320163183, -0.0675042421, 0.0100367852, 0.0527711399, 0.0846935511, 0.0140218167, -0.0240753442, 0.0588915572, -0.0989352018, 0.0384705439, -0.0432663076, 0.0460871123, -0.0303041879, 0.0078530563, 0.019537041, 0.00855863, -0.0396187641, -0.006767143, 0.010529195, 0.0028934171, 0.0811984465, -0.0417780839, -0.0383152701, -0.0237598605, -0.0301386844, -0.0109145157, -0.0114411116, 0.0973202437, -0.0850158036, -0.0072063375, -0.0081496928, 0.0191408079, 0.0002361827, 0.01265602, 0.0115903532, 0.0095856655, -0.0129047735, 0.019954117, -0.0475578308, -0.0367321633, -0.0703570247, -0.0153138572, -0.0182491411, -0.0701145455, -0.0001035813, -0.0285231564, -0.0021999639, -0.0065788133, -0.050067842, -0.0130892638, 2.044784591e-34, -0.0222509261, 0.0283885375, -0.036065232, 0.0106641473, -0.0315372497, -0.0109095052, 0.0077799046, 0.0341344997, 0.0031395101, -0.081376791, -0.0017530497 ]
http://arxiv.org/abs/2407.01231v1
http://arxiv.org/pdf/2407.01231v1
MIRAI: Evaluating LLM Agents for Event Forecasting
2024-07-01T12:22:46
2024-07-01T12:22:46
Chenchen Ye, Ziniu Hu, Yihe Deng, Zijie Huang, Mingyu Derek Ma, Yanqiao Zhu, Wei Wang
cs.CL
cs.CL, cs.AI
Recent advancements in Large Language Models (LLMs) have empowered LLM agents to autonomously collect world information, over which to conduct reasoning to solve complex problems. Given this capability, increasing interests have been put into employing LLM agents for predicting international events, which can influence decision-making and shape policy development on an international scale. Despite such a growing interest, there is a lack of a rigorous benchmark of LLM agents' forecasting capability and reliability. To address this gap, we introduce MIRAI, a novel benchmark designed to systematically evaluate LLM agents as temporal forecasters in the context of international events. Our benchmark features an agentic environment with tools for accessing an extensive database of historical, structured events and textual news articles. We refine the GDELT event database with careful cleaning and parsing to curate a series of relational prediction tasks with varying forecasting horizons, assessing LLM agents' abilities from short-term to long-term forecasting. We further implement APIs to enable LLM agents to utilize different tools via a code-based interface. In summary, MIRAI comprehensively evaluates the agents' capabilities in three dimensions: 1) autonomously source and integrate critical information from large global databases; 2) write codes using domain-specific APIs and libraries for tool-use; and 3) jointly reason over historical knowledge from diverse formats and time to accurately predict future events. Through comprehensive benchmarking, we aim to establish a reliable framework for assessing the capabilities of LLM agents in forecasting international events, thereby contributing to the development of more accurate and trustworthy models for international relation analysis.
MIRAI: Evaluating LLM Agents for Event Forecasting: Recent advancements in Large Language Models (LLMs) have empowered LLM agents to autonomously collect world information, over which to conduct reasoning to solve complex problems. Given this capability, increasing interests have been put into employing LLM agents for predicting international events, which can influence decision-making and shape policy development on an international scale. Despite such a growing interest, there is a lack of a rigorous benchmark of LLM agents' forecasting capability and reliability. To address this gap, we introduce MIRAI, a novel benchmark designed to systematically evaluate LLM agents as temporal forecasters in the context of international events. Our benchmark features an agentic environment with tools for accessing an extensive database of historical, structured events and textual news articles. We refine the GDELT event database with careful cleaning and parsing to curate a series of relational prediction tasks with varying forecasting horizons, assessing LLM agents' abilities from short-term to long-term forecasting. We further implement APIs to enable LLM agents to utilize different tools via a code-based interface. In summary, MIRAI comprehensively evaluates the agents' capabilities in three dimensions: 1) autonomously source and integrate critical information from large global databases; 2) write codes using domain-specific APIs and libraries for tool-use; and 3) jointly reason over historical knowledge from diverse formats and time to accurately predict future events. Through comprehensive benchmarking, we aim to establish a reliable framework for assessing the capabilities of LLM agents in forecasting international events, thereby contributing to the development of more accurate and trustworthy models for international relation analysis.
[ 0.01878394, 0.0758275315, -0.0128076468, 0.0027752954, -0.0426185057, -0.0046388009, 0.0177326407, -0.0162098929, 0.0748274326, -0.0000387124, 0.0400912017, -0.0329640061, -0.0444008224, 0.0520056263, -0.0415112711, -0.0525375754, 0.0490888134, -0.0244462248, 0.0248227771, 0.0032048777, -0.01233052, -0.0021274746, -0.0199266877, 0.0402366109, -0.012609004, 0.0068827434, -0.0556367561, -0.0222390871, -0.0074625774, -0.0552115068, -0.0097659342, 0.0072235614, 0.0329401866, 0.0115900906, 0.0000020416, -0.0479447246, -0.0251263492, -0.0170685817, -0.0041714269, -0.0106264269, 0.0392979681, -0.0196204036, 0.0077978033, 0.0038700679, -0.0995034575, -0.0098028239, 0.0000597129, -0.0023003859, 0.0572415628, 0.0687939152, -0.0109520415, 0.0172516722, 0.0561910272, -0.0102689303, -0.0234169774, -0.0754498541, 0.0110717062, -0.016656721, 0.007704284, -0.0138223795, 0.034178786, 0.010834204, -0.0042141257, 0.0006183583, -0.0390149914, 0.040225666, -0.0359881148, -0.0134806689, -0.0358149037, -0.0063175294, 0.0978890136, -0.0058474722, 0.0299576484, 0.0228816606, -0.0130263111, 0.0504193045, -0.0393009, 0.0085458718, -0.0138774859, 0.0419784077, 0.0704984218, 0.0121064661, 0.0037761142, 0.042604126, -0.0390570983, 0.1441454142, -0.0097649526, -0.0110048614, -0.0169663858, -0.0064269109, 0.0220375396, -0.0847615525, -0.0091011291, 0.0720065683, -0.0775472522, 0.004670776, -0.0058564674, 0.0363134146, -0.0232845712, -0.0834775791, -0.0233040266, 0.0601702593, 0.0448391326, 0.0630730391, 0.020365905, 0.0374021642, 0.0163585525, -0.0026199364, 0.0130170193, -0.0309738331, -0.0746085569, 0.0171563178, -0.0007646073, 0.0025485097, -0.0180709418, -0.0120411245, -0.030214455, 0.0394403823, -0.0357916132, 0.0723979026, 0.005398313, -0.0171485096, -0.0343194157, -0.0264996868, -0.1162081584, 0.0027799681, -0.0562260039, 0.0026562402, -0.0036411283, -0.0459242389, 0.0119320396, -0.0223911777, -0.0020021542, -0.0008528868, 0.0020749948, 0.1112292036, 0.0239185318, 0.0197944622, -0.0859785601, -0.030141592, 0.0437912866, -0.0683593899, -0.0015242471, -0.0525712781, 0.0154850436, 0.010054878, -0.004212162, -0.0405619554, 0.011825284, -0.0383166112, -0.014666847, 0.0325038135, -0.0180907585, 0.0176904723, -0.0021833139, -0.0050529516, -0.001821755, 0.0827571973, 0.027043419, 0.0524449721, 0.0508955754, 0.0347189233, 0.0102295186, 0.014111816, -0.0194218569, 0.0385614634, -0.0569992252, 0.0355549417, -0.0401405022, -0.0026008994, -0.0168885682, -0.0193480048, 0.0278180055, -0.0048361439, 0.0808085278, 0.0012397267, -0.0475304909, 0.0223585386, 0.0644354224, -0.020461306, 0.0025531987, -0.0094258254, -0.0237228554, 0.0409586206, -0.0124093518, 0.0181649607, -0.0003793763, 0.0450416766, -0.0215328895, -0.0340748951, 0.0115324687, -0.018474305, -0.0018486795, -0.0184526779, 0.0541109443, -0.041343756, -0.0385575481, 0.0569866635, 0.0263335332, -0.0336787179, 0.0043373019, -0.0307280589, 0.013936867, 0.0774199888, 0.0260384697, -0.0555525273, -0.0631998554, 0.0105480123, 0.0195247121, 0.0373349153, 0.0274784081, -0.0033578749, 0.0008309433, -0.0142942108, -0.049476888, 0.0377512909, 0.0258466043, 0.0417476334, 0.0425871126, 0.0577964224, -0.0050032996, -0.0235796236, -0.0147034917, 0.026016349, -0.0414691828, -0.0397139713, -0.0518147908, 0.0154766981, 0.0433294475, 0.0071384516, -0.0022258176, 0.0233348124, 0.0292686969, -0.002172672, -0.0397184305, 0.0293343086, 0.0054594488, 0.0322811715, 0.0208743867, 0.0098487539, 0.0173072405, 0.0104850987, -0.0182814449, -0.0433136597, 0.0555616356, 0.0451928899, 0.0520715863, -0.0231758412, 0.0113137309, -0.0351608247, -0.0127659217, 0.0190892015, 0.0465488061, -0.0017252376, -0.0272596981, -0.0068929195, -0.0032320737, -0.0067409375, 0.0100564472, -0.0161358397, 0.0375670977, 0.0118512549, 0.0145724332, 0.0277851839, -0.0175591614, -0.0381615497, -0.0396779515, -0.0876722187, 0.0118935583, -0.0184245463, 0.0216513239, 0.0219390187, -0.0157697722, -0.0068299482, 0.0335640609, -0.0040744259, 0.00284041, -0.019368533, 0.0233430211, 0.0139146959, 0.0313586891, -0.0164504815, -0.040464893, 0.0269875191, -0.039373599, 0.0470608845, 0.0237045977, -0.0139228506, -0.0008128567, -0.0069965883, -0.0894308165, 0.0356858335, -0.0437189564, -0.0386699103, 0.0065524708, -0.0437587276, -0.0010445787, 0.0181756001, -0.0014341992, 0.0345159546, 0.0526480451, -0.0583376884, -0.0419956632, 0.0303330235, -0.0490265079, 0.0096464129, -0.0547540933, -0.0273000728, -0.0055737682, 0.0497211292, -0.0049928618, 0.0454818495, -0.0326989256, 0.0260266047, -0.0289422926, -0.0146660004, -0.0043653157, -0.0188040212, 0.0111812297, 0.0769315958, -0.0039704624, -0.0498395711, 0.048225075, -0.0248433668, 0.0184378717, 0.0027058322, -0.0563941114, -0.0757103041, 0.0627683848, -0.0228855871, -0.0014379421, -0.0375137441, 0.0154875005, -0.0463504568, -0.0538151935, 0.0261704568, -0.0215884726, 0.0191372931, -0.0514527746, -0.0010554242, 0.0074343607, -0.0122944405, -0.0126875294, -0.0169200636, -0.0585678332, -0.0046301922, -0.0094193099, -0.0220474675, -0.0450785235, 0.0568140633, 0.0263367519, 0.010576589, -0.0199118666, -0.0324483886, 0.0191597901, -0.0243177637, 0.0007477466, -0.0361531451, -0.0227901395, 0.0051899236, 0.0267069284, -0.0032623727, 0.0422386602, -0.0189251211, -0.0591939054, 0.0149079366, 0.0153552741, -0.0143136345, -0.0030975707, 0.026951788, 0.0040148222, -0.0691804886, 0.0161924493, 0.1171986833, 0.0283936299, -0.0367193259, -0.0116988476, -0.0206189808, -0.0046854313, 0.0109281568, 0.0288232695, -0.0524486564, 0.0114005189, 0.029621169, -0.0167209283, -0.0367824361, -0.0880399048, -0.0158940759, -0.0844861567, 0.0426649041, 0.0009319285, 0.0055135787, 0.0196449086, -0.0779860914, 0.005556528, -0.0346008167, -0.0305622369, 0.0044811801, -0.0024285377, 0.0067780493, 0.0036502418, -0.1101776734, -0.026364658, 0.0280089881, -0.036880251, 0.0294390265, 0.048565384, 0.0771051347, -0.0034969652, 0.0155721093, -0.0348921642, 0.0301007982, 0.0326200575, -0.0131517164, 0.0489401706, 0.0202027895, -0.018601872, -0.0069213584, 0.0113588665, 0.0048352606, -0.0078606978, 0.0525448546, 0.098368831, -0.0303098131, 0.0024159977, 0.0068743099, -0.0002411917, 0.0377003923, 0.0482854582, -0.0233160201, 0.0022738075, -0.0759446397, -0.0131697385, -0.0071429163, -0.0526021011, -0.0032018705, 0.0281774253, -0.0245445762, -0.060367275, -0.0304575395, -0.0748925954, -0.0019828642, 0.0095233284, 0.0029383567, 0.0063812938, 0.0458122231, 0.0228892472, -0.0267048813, -0.0191709679, -0.0133757563, 0.0319264457, -0.0085583394, 0.0030196477, 0.0030381419, 0.0212672036, -0.0114823068, 0.0272552017, -0.0652807876, -0.0394307449, 0.0407610424, 0.0054554003, 0.0311767757, 0.0032237414, 0.0060926657, 0.0366607942, 0.0323975943, 0.044640664, -0.0331965201, -0.0005680461, 0.0309255272, 0.0335754454, 0.0241346434, 0.0462216027, -0.0402816683, 0.0082212947, -0.0361704789, -0.006451556, -0.0484103411, -0.0079020951, -0.0140590845, -0.0123661617, 0.0226100292, 0.0051483917, -0.0361759514, -0.0071183811, -0.000012639, -0.0145585164, -0.0028325391, -0.0168812089, 0.0064468682, 0.0103918817, 0.0178163685, -0.0009708554, 0.0740639418, 0.0028738559, -0.0390831903, -0.0077328612, 0.0578057766, 0.0028838939, 0.0333493166, 0.035680797, 0.0057052625, -0.0182792153, -0.0397187211, -0.0031876513, 0.0224529598, -0.0221095067, 0.0168292914, 0.0035322977, 0.0269700885, 0.0227997098, -0.0260631312, -0.1153087765, -0.0589117631, 0.0141828908, 0.0392505676, 0.0709113106, -0.0117276702, 0.0094315764, -0.0634726509, 0.0202584062, 0.0161222517, 0.00151761, 0.0007213935, -0.0302661769, -0.0000555052, -0.0026011753, -0.0581130013, 0.0321279541, 0.0749910548, -0.0113240918, 0.0728371218, 0.0599967465, -0.0686320588, -0.0301603451, -0.0704325065, 0.0188563131, -0.0262131058, -0.0101772882, -0.0307371654, -0.079873316, -0.0107262097, 0.0526493192, 0.0133849783, -0.0533544496, -0.0315198377, -0.0439899042, 0.0448014736, 0.0194743089, 0.0513680652, -0.0582810938, -0.0004187367, -0.0818767995, -0.0092196669, -0.0098923473, -6.229946674e-33, -0.0305330567, -0.0109860403, 0.0447189361, -0.0085194306, -0.0274999067, 0.0087219691, -0.0605362803, -0.0364952348, -0.0152535504, 0.0086520808, -0.0199848581, -0.0014555651, 0.0321427733, -0.0326595008, 0.0414593779, -0.0158791356, 0.0100545743, -0.0032355729, 0.000916279, -0.0040208106, 0.0607987456, 0.0218687132, 0.038135685, -0.0613213778, 0.0250132605, -0.0019128256, -0.0112978974, 0.0106259407, 0.0551495478, 0.0453643352, 0.002468318, 0.0063105263, 0.0220737718, -0.0361586846, -0.0021909708, -0.022411909, -0.016863266, -0.050938949, -0.0031088151, -0.0150029156, 0.0303707141, 0.033131171, -0.0367418565, 0.0224297326, -0.0172224641, 0.009755074, 0.0253600683, -0.036942929, -0.0115759252, -0.0188140571, -0.0282548256, 0.0373663977, -0.0246180389, 0.037374679, -0.0024102489, 0.0363452733, 0.0232886281, 0.0258253086, -0.038206432, 0.0428569689, -0.0205786265, 0.027880989, 0.0242809262, 0.0036028854, 0.020200368, 0.082971476, 0.0229517017, 0.0111933053, -0.0345844068, 0.0216009393, 0.0077080117, 0.0634944439, -0.0024821509, 0.0920339301, -0.0053161033, -0.0157177225, -0.0550694838, 0.065827392, 0.0553868599, 0.0533084087, 0.0293687433, 0.0080376016, -0.0104090953, -0.0254612397, -0.019512726, 0.0037058357, -0.0113431122, -0.0224828068, 0.0056343749, -0.0106090885, 0.0449733771, 0.0341465659, 0.0209691823, -0.0191510823, -0.0228858069, 0.0469244979, -0.021311406, -0.0066994731, 0.0073929206, 0.0489477701, -0.0403601676, -0.0144681204, -0.0287731625, 0.0005277104, 0.0341066569, 0.0167168695, -0.0325775482, 0.045784153, -0.0265954584, -0.0204447545, -0.0527990237, 0.0186298508, 0.0022976308, -0.0305349249, 0.0267939642, -0.0171974897, -0.001041515, 0.0146608725, 0.0126781305, -0.0003908498, 0.0399991311, -0.0050924923, 0.0138236014, 0.0041472786, 0.0029611264, -0.0334522463, -0.0597922206, 0.0262376815, 0.0058794147, -0.0234098565, -0.012085991, 0.0107508162, 2.833e-7, 0.0138147455, 0.0489009321, 0.0088236388, 0.079778403, -0.0080097476, 0.0322100818, -0.0533280894, 0.013167684, -0.020752186, 0.0021805214, 0.0420353413, 0.0281547848, 0.0658353418, 0.0996655896, -0.0696089342, -0.0372304954, -0.0774463788, -0.0332728401, -0.1063473523, 0.0042608413, 0.0579011776, 0.0325373374, 0.072093226, 0.0102326525, 0.0268290564, -0.0799173713, 0.0231135841, -0.0564427078, -0.0397390798, 0.0320172235, -0.0068687121, 0.0127975456, -0.0169334523, 0.0170743801, -0.0164416544, -0.020025501, -0.0629395694, 0.0485583209, 0.0189840235, 0.0092200516, 0.0074460655, -0.046765659, -0.0147189479, -0.0352498703, 0.0736514926, -0.0286276434, -0.0264526941, 0.0083682975, -0.0395933166, 0.027885925, 0.003084928, 0.0009040165, -0.0022328494, 0.0354554839, -0.0212833453, -0.0172099937, 0.0141497999, -0.0295627117, -0.0224454757, -0.0003773806, -0.0271766745, -0.059368711, -0.0464829728, 0.0054764966, 0.0228160154, -0.0402349308, 0.041746702, 2.598485823e-34, 0.0220842212, 0.0465942919, -0.0345253833, 0.012722495, 0.0792075694, 0.0114909206, -0.0311908834, 0.0233642627, 0.0121314842, -0.0306865387, -0.0031104081 ]
http://arxiv.org/abs/2407.01219v1
http://arxiv.org/pdf/2407.01219v1
Searching for Best Practices in Retrieval-Augmented Generation
2024-07-01T12:06:34
2024-07-01T12:06:34
Xiaohua Wang, Zhenghua Wang, Xuan Gao, Feiran Zhang, Yixin Wu, Zhibo Xu, Tianyuan Shi, Zhengyuan Wang, Shizheng Li, Qi Qian, Ruicheng Yin, Changze Lv, Xiaoqing Zheng, Xuanjing Huang
cs.CL
cs.CL
Retrieval-augmented generation (RAG) techniques have proven to be effective in integrating up-to-date information, mitigating hallucinations, and enhancing response quality, particularly in specialized domains. While many RAG approaches have been proposed to enhance large language models through query-dependent retrievals, these approaches still suffer from their complex implementation and prolonged response times. Typically, a RAG workflow involves multiple processing steps, each of which can be executed in various ways. Here, we investigate existing RAG approaches and their potential combinations to identify optimal RAG practices. Through extensive experiments, we suggest several strategies for deploying RAG that balance both performance and efficiency. Moreover, we demonstrate that multimodal retrieval techniques can significantly enhance question-answering capabilities about visual inputs and accelerate the generation of multimodal content using a "retrieval as generation" strategy.
Searching for Best Practices in Retrieval-Augmented Generation: Retrieval-augmented generation (RAG) techniques have proven to be effective in integrating up-to-date information, mitigating hallucinations, and enhancing response quality, particularly in specialized domains. While many RAG approaches have been proposed to enhance large language models through query-dependent retrievals, these approaches still suffer from their complex implementation and prolonged response times. Typically, a RAG workflow involves multiple processing steps, each of which can be executed in various ways. Here, we investigate existing RAG approaches and their potential combinations to identify optimal RAG practices. Through extensive experiments, we suggest several strategies for deploying RAG that balance both performance and efficiency. Moreover, we demonstrate that multimodal retrieval techniques can significantly enhance question-answering capabilities about visual inputs and accelerate the generation of multimodal content using a "retrieval as generation" strategy.
[ 0.0592332184, 0.0481168106, -0.0234538037, -0.0044384943, -0.0311622582, -0.0270036142, -0.009929562, 0.0219328627, -0.0027948637, -0.0701162964, -0.0096947812, -0.0412294678, -0.0294527616, 0.0142404959, 0.0370427184, -0.0518887527, 0.0547049716, -0.0035234168, -0.0385480113, 0.0174561571, 0.0181938969, 0.0123841679, -0.0191030409, 0.0491677858, -0.0498849861, -0.0221178457, -0.0274257325, 0.0359057598, -0.0022641283, -0.0355380513, 0.0055792374, 0.0341177024, 0.0376602747, 0.0189359374, 0.0000020035, -0.0327376127, 0.0051301592, 0.0021954684, 0.0249896161, -0.0197479166, 0.0532786772, 0.0395446047, 0.0445805192, 0.0215657391, -0.0604569912, -0.0144093903, 0.0645110458, 0.0068605212, 0.0655618832, 0.0196747966, -0.0169245433, -0.0100019136, 0.0098654907, 0.0043589841, 0.0518155135, -0.0071580671, -0.0317891464, 0.0160210449, 0.0711997673, 0.024293825, -0.0204928685, 0.0671010911, 0.0194699727, -0.0304988213, 0.0398688018, 0.0276410598, -0.0345111713, -0.0222346932, -0.02589803, 0.0729571506, 0.0473924465, 0.0063805864, -0.0163481738, 0.0254063923, 0.0048188367, 0.0815706924, -0.0819966197, 0.0026536896, -0.0199050047, -0.0240681674, -0.050850153, -0.0214720666, 0.0014637093, 0.0200844258, 0.0002335569, 0.0235990752, 0.0396738499, -0.0041570691, -0.031812869, 0.0125847692, 0.0019161886, -0.0265464634, -0.0184411891, 0.0353598632, -0.0391419232, 0.0238577221, -0.010396353, -0.065043591, 0.0437317155, 0.0066693714, 0.0567151494, 0.0391287692, -0.0617961176, 0.0129454304, -0.0228446759, 0.0278273001, -0.0241388511, -0.0237172879, -0.0574376471, 0.0110891536, -0.0628602877, -0.0553493612, -0.0606237128, 0.0418771654, -0.052773077, -0.0408320539, 0.0005940982, 0.0582188927, 0.0096323714, -0.0285718236, -0.017675072, 0.0571131781, -0.0434307754, 0.0213536825, -0.0558055565, 0.0463280492, -0.04215011, -0.0181769151, 0.0644379407, -0.0741091371, -0.0004565536, 0.0285828188, 0.0167439897, -0.0255856644, -0.0254531447, 0.0256369319, -0.032069467, -0.0107369507, -0.0128465975, -0.0880983099, -0.0339996554, -0.0232052095, 0.0404183082, -0.0531974733, 0.0316231288, 0.016510386, -0.035712909, 0.0032193051, 0.0081818169, 0.0678675398, -0.0158441309, 0.0298618935, -0.0071436954, 0.0135554066, 0.0491524488, 0.0224574618, 0.0315312818, 0.0693619475, -0.0000729453, 0.0177206118, 0.0521741919, 0.0047354554, 0.025657203, 0.0078108017, 0.0119231548, 0.0125039583, -0.044253692, 0.0240526292, 0.0025336656, 0.0072035231, 0.0064315223, 0.0335326381, -0.050646577, 0.0116563765, 0.0392080843, -0.0000891319, 0.0180534627, -0.0162878167, 0.050350409, 0.0004524495, 0.0002334599, 0.0304379612, 0.0015161263, 0.0851105526, -0.0274507888, 0.0071399109, 0.0549373664, 0.0455875881, -0.0285040159, -0.0398900211, -0.0209970567, 0.0229685549, 0.0066981083, 0.0369683951, 0.0136600574, 0.0402944461, -0.0429972857, 0.0246896632, 0.0035231733, -0.0726329833, 0.0307401754, -0.045454517, 0.0165988207, 0.0836696252, 0.1040970609, -0.0066887191, -0.0241152644, 0.0255971309, 0.0385028087, 0.0436218642, 0.0357395671, -0.0037703272, -0.0093805483, -0.0482368506, -0.0400887914, -0.0333300084, -0.01966835, 0.0117897801, 0.0303985421, -0.0131476782, 0.019966647, -0.0397990011, 0.0088730585, 0.0296514891, 0.0230275299, -0.01846998, -0.0060355035, 0.0088427756, -0.0110362554, 0.0101587111, -0.0041622301, 0.0400931723, 0.0113229295, -0.0187169015, -0.0218684133, 0.0166805685, -0.0300460346, -0.0363908969, -0.0100025134, -0.0015806614, 0.0223993324, -0.0019007393, 0.0011685739, -0.0309287291, 0.0112813525, -0.0704851598, 0.0237886868, -0.0671515018, -0.0275782198, 0.0531938076, 0.0213957857, -0.0604356639, 0.0518665239, 0.0019656585, -0.0168087557, 0.040182475, 0.0137473028, 0.0147819445, -0.0455690436, 0.0118841911, 0.0359607041, -0.0304123648, 0.0264462531, 0.0430273153, -0.0248415042, -0.0678493083, -0.0114067635, -0.0899750739, -0.0234368294, -0.0072002192, -0.0049823103, 0.0023946073, 0.0443217158, 0.0148621472, -0.0196793955, -0.0463406444, 0.020652635, 0.0435853489, 0.0611716621, 0.0113516236, 0.0318632014, 0.0195858311, -0.0321787111, -0.0109512024, 0.0192769244, 0.0672528222, 0.004369779, 0.0042871162, -0.0322786868, -0.0132175731, -0.090927951, 0.0114143351, 0.0077200904, -0.0244991183, 0.0478853881, -0.0480633266, 0.0517498888, 0.0088701826, 0.0307127461, 0.0069749132, 0.0296168514, -0.0455395319, -0.0817347541, 0.0279441327, -0.0255301259, -0.050952144, 0.0455998778, -0.0302198231, 0.0153567242, -0.0045179832, 0.0163804386, -0.0120448153, -0.044197008, 0.0355499536, 0.0047978503, -0.055409424, -0.0523716919, -0.0331248157, -0.0056830891, 0.0418780111, -0.0288799126, -0.0464681722, 0.0518725403, -0.010334393, -0.0113662248, -0.0278432164, 0.0382470824, -0.0085256072, 0.0568847917, 0.0000258317, 0.0314374939, -0.0353822224, -0.0069423956, -0.0611274987, 0.0036760017, 0.0242376067, -0.0622073337, 0.0255793016, -0.0367020182, 0.0196192004, 0.0089561306, -0.0151170827, -0.0680106729, -0.0120309247, 0.0350231938, -0.0231568012, -0.0489223897, -0.0017028137, -0.0198264048, 0.0184359569, 0.0459891781, 0.0000015221, -0.0249724705, -0.0365728587, -0.0050403466, 0.0726452023, 0.0675940663, 0.0286709387, -0.0254445765, -0.032222271, -0.0143279135, 0.0662195086, 0.0531874895, -0.0162948575, -0.0118187377, -0.0117433527, 0.0445741788, 0.0127628446, -0.0208672862, 0.0352005512, 0.031478364, -0.0622101091, -0.0274354722, 0.0384505764, 0.0551519468, -0.026581971, -0.0208741594, -0.0189363286, 0.0625951141, 0.0301666297, 0.0561672933, -0.0738076791, -0.0179413091, -0.0016519227, 0.033458706, -0.0090871658, 0.0089357598, -0.0124460617, -0.1226570159, 0.0678541586, -0.0159622412, -0.0071814782, 0.0032572902, -0.0212290809, 0.009111736, 0.0734404027, 0.0004509414, 0.0604465492, -0.0189135689, 0.0101430761, 0.0102800075, 0.0384122655, -0.0083453991, -0.0367105976, 0.0057184962, -0.0492555052, 0.0931764469, 0.0106084114, 0.0261049364, -0.0624032207, 0.0144471647, -0.0104539087, 0.0604449697, -0.0250888467, 0.0423661545, 0.0064550741, 0.0101397298, -0.0315042585, -0.0158610288, 0.019671984, -0.0434727743, -0.0179420281, 0.0467808992, -0.0491409339, 0.0220960677, -0.0836606845, 0.026577428, 0.0004704537, 0.0388251096, 0.0365188122, -0.03833488, -0.0109009249, 0.0126675665, 0.0598406121, -0.0737899095, -0.0070410795, 0.007727698, 0.0136983171, 0.0127537902, -0.1053272113, -0.0403363556, 0.0000847413, 0.0415394902, -0.017054433, 0.0081646917, -0.0564827733, 0.0078304755, -0.0685504377, 0.0365169942, -0.0245219413, -0.0166080929, -0.0056382944, -0.0322864987, 0.0108134653, -0.0548709407, -0.0033192923, 0.012463388, -0.0346774086, -0.0429871492, -0.025896199, 0.0348412506, 0.018029565, -0.0012078061, 0.0382147953, -0.0449888445, 0.0153297763, 0.0667327046, -0.0126356948, 0.0055214032, -0.0415648818, -0.0191812962, -0.0213378575, -0.0062822988, -0.0707717612, -0.008969265, -0.0246824361, 0.0753606483, 0.0181729123, -0.0455636457, 0.0364278965, 0.0150129376, 0.0112927537, -0.0118685346, 0.0107127018, -0.0107428143, -0.0021336393, -0.021413859, -0.0181570239, -0.0394206271, 0.0314260051, -0.039313633, -0.0201048199, 0.0343151391, 0.0215696059, -0.014728534, 0.0737024173, -0.0271216501, -0.0208752863, -0.0111800497, -0.0348300412, 0.0048940717, 0.024486376, -0.0220452398, 0.0179362986, -0.009166304, 0.0434158742, -0.0304700285, 0.0900229886, 0.0125935934, -0.0331833921, -0.0154759102, 0.0302852672, -0.0614461973, -0.0338416882, -0.0179038215, 0.0107309762, 0.0237592496, 0.014360195, 0.0319920518, -0.0125227841, -0.0154506033, 0.0019515384, 0.0187508166, 0.0314972512, -0.0431963317, 0.0166607425, 0.037233457, 0.010341825, -0.0187902972, 0.0425077341, -0.0550109409, 0.0198024828, -0.0478486307, -0.0277619753, -0.0302858707, -0.0527779795, 0.0199535303, 0.0412829742, 0.0036095807, -0.0058068908, -0.0500653312, -0.0423939526, -0.0004267908, 0.0123938126, -0.0376344286, 0.0028564399, 0.0722365305, 0.0828615502, 0.0288288724, -0.0468221605, -0.0430180356, 0.0328125507, -0.077936247, -0.0013021015, 0.0051995441, -6.641762753e-33, -0.0296602603, -0.0422626585, 0.0564769469, -0.0729982853, -0.0385684781, -0.0053694807, -0.0285666436, 0.0192766748, -0.0013796872, -0.0333862863, -0.0029357465, -0.015676165, -0.0001844945, 0.0344319493, -0.0052473214, 0.0023828747, 0.0338227004, 0.0043828879, -0.0477874205, 0.0340172648, 0.0622247644, 0.0081927963, 0.0096201515, -0.023992002, -0.0070976969, 0.0098241242, 0.0002653783, 0.0079815611, -0.0044700815, 0.0844547674, -0.0164992493, 0.0555940419, 0.0189036746, -0.0061071813, -0.0062833112, 0.0117150135, -0.0400341749, -0.0166130438, 0.0041257325, -0.0020294331, -0.0939516723, -0.0180065092, 0.0352609269, -0.0281766467, 0.0110061094, -0.0107324068, 0.0353679992, -0.0086915968, -0.0183607787, -0.0044882512, -0.0612014793, 0.006376307, 0.021304952, -0.0076102293, -0.0162419975, 0.1042739376, 0.0374936238, 0.0233007334, -0.0418232903, 0.0390717015, -0.0281040706, 0.0485627167, 0.0584970266, 0.0300166141, -0.0066865985, 0.0413557701, 0.0320415385, -0.0057290485, -0.0143885566, -0.0145918364, 0.0305315219, 0.0430824496, 0.0251586232, 0.0593540259, 0.0253903158, -0.0046100938, -0.0176052991, 0.0496155396, -0.0360348113, 0.0598408356, 0.0234595649, 0.0048218207, -0.0103007508, 0.020126069, -0.0406469032, 0.0480091237, -0.0660033599, -0.0379573144, 0.0582485609, 0.0431475416, -0.0325310975, 0.0057122689, 0.0727555677, 0.0103482474, 0.0008962477, 0.0069023971, -0.0494419299, 0.0518049188, -0.0207076669, 0.0129007502, 0.0393408611, 0.0036491961, 0.0661949739, -0.0141034108, -0.0246003773, 0.017629154, -0.0001864895, 0.0272423308, -0.0510594845, 0.0073599559, -0.0445007235, 0.0283382069, -0.0320221111, -0.0437494069, 0.024359649, 0.0273064561, -0.0334549472, 0.0191483069, 0.0181785207, -0.0040166876, -0.043411091, -0.061357677, 0.0178539678, 0.0053458638, -0.0151397642, 0.0632019863, -0.0323242359, 0.0030674771, 0.0030599835, -0.048135493, -0.0315868743, 0.052922111, 2.747e-7, 0.0382169001, 0.0244494416, 0.0153773418, 0.0297347587, 0.007231148, -0.0049512158, 0.0185716469, -0.0077846064, 0.0491284244, -0.0133369202, -0.0266280156, 0.0358223841, 0.0369184315, 0.0331830643, -0.0512983091, -0.0341113061, -0.0394754484, 0.0017841635, -0.0438578017, -0.0129644824, 0.0800341442, 0.012376111, -0.050044395, -0.0445368253, -0.0015159538, -0.0453994162, 0.0948142037, 0.0379184783, -0.0204451084, 0.0156947058, 0.0251714196, 0.0341673158, 0.0284095313, -0.0228496604, -0.0210923813, -0.040251065, 0.0108409412, -0.0160195231, -0.0171725322, -0.0841948763, -0.0117178177, 0.0152466809, -0.0062647308, -0.0430151187, 0.0698510632, -0.024009997, 0.0204824507, -0.0166016035, -0.0344749726, 0.0014164515, -0.0089856917, -0.0389874279, -0.0508330166, 0.040370781, 0.0010222093, 0.0096818591, -0.0225640591, -0.0497577004, -0.0283670891, 0.0070272721, -0.0475711934, -0.0500547588, -0.053095758, -0.005177632, -0.0321774557, -0.0305922739, -0.0500517115, 2.503651668e-34, 0.0054622595, 0.0261005778, 0.0331088305, 0.0232116971, 0.0054331101, -0.0032175404, -0.0187769886, 0.0024104584, 0.0179495737, -0.0840133876, -0.0409202762 ]
http://arxiv.org/abs/2407.01212v1
http://arxiv.org/pdf/2407.01212v1
EconNLI: Evaluating Large Language Models on Economics Reasoning
2024-07-01T11:58:24
2024-07-01T11:58:24
Yue Guo, Yi Yang
cs.CL
cs.CL
Large Language Models (LLMs) are widely used for writing economic analysis reports or providing financial advice, but their ability to understand economic knowledge and reason about potential results of specific economic events lacks systematic evaluation. To address this gap, we propose a new dataset, natural language inference on economic events (EconNLI), to evaluate LLMs' knowledge and reasoning abilities in the economic domain. We evaluate LLMs on (1) their ability to correctly classify whether a premise event will cause a hypothesis event and (2) their ability to generate reasonable events resulting from a given premise. Our experiments reveal that LLMs are not sophisticated in economic reasoning and may generate wrong or hallucinated answers. Our study raises awareness of the limitations of using LLMs for critical decision-making involving economic reasoning and analysis. The dataset and codes are available at https://github.com/Irenehere/EconNLI.
EconNLI: Evaluating Large Language Models on Economics Reasoning: Large Language Models (LLMs) are widely used for writing economic analysis reports or providing financial advice, but their ability to understand economic knowledge and reason about potential results of specific economic events lacks systematic evaluation. To address this gap, we propose a new dataset, natural language inference on economic events (EconNLI), to evaluate LLMs' knowledge and reasoning abilities in the economic domain. We evaluate LLMs on (1) their ability to correctly classify whether a premise event will cause a hypothesis event and (2) their ability to generate reasonable events resulting from a given premise. Our experiments reveal that LLMs are not sophisticated in economic reasoning and may generate wrong or hallucinated answers. Our study raises awareness of the limitations of using LLMs for critical decision-making involving economic reasoning and analysis. The dataset and codes are available at https://github.com/Irenehere/EconNLI.
[ -0.006425899, 0.1048446298, 0.0086758863, 0.0584643781, -0.0407534167, 0.0194796268, 0.0276616104, 0.0065297266, 0.0503212139, -0.021911297, 0.0158590917, 0.0137503864, -0.0026062266, 0.0387223661, 0.0475109443, -0.0315772519, 0.0156229604, -0.0176885556, 0.0630179048, -0.0182403345, -0.0096889399, 0.0153938048, -0.0109488107, 0.021780666, 0.0128801502, 0.002816207, -0.0085316654, -0.0361718722, 0.0082933558, -0.0394161902, -0.0130747622, 0.038983658, 0.0487989932, 0.029808348, 0.0000020779, -0.0942172781, -0.0164196976, -0.0394952074, -0.0294238962, 0.0278050061, 0.0409804098, -0.0061171991, 0.0406022556, 0.0236541927, -0.0556470826, 0.0055045197, 0.0466372594, 0.0815840065, 0.0358782187, 0.0566229932, -0.0011556783, -0.0736477599, -0.0101208091, -0.0479272492, -0.0012055258, -0.053417109, 0.0528056771, 0.0215588287, -0.0321062729, -0.0314734839, 0.0036495326, 0.0159444343, 0.0137352804, -0.0190175418, -0.0433393866, 0.060187947, -0.0551504381, -0.0048421407, -0.00691916, 0.0470786206, 0.0349940397, 0.0107919574, 0.0106007513, -0.0256236829, 0.0162352882, 0.0147052361, -0.04817174, 0.0401246957, -0.0110683944, 0.057827469, 0.0712454841, 0.0301698111, 0.0385535099, 0.0564305522, -0.0405797325, 0.0940358862, -0.033438243, -0.036092829, 0.0179681648, 0.0261699148, -0.0377987884, -0.0673962757, -0.0199938882, 0.0150235565, 0.0063178074, 0.031944491, 0.0157620162, 0.0247664973, -0.0121967299, -0.0736889541, 0.0062589021, 0.0225553662, 0.0144368876, 0.0589099713, -0.0312318336, -0.009317697, -0.0369014814, -0.0224798806, 0.0446356162, 0.0427983589, -0.0239242446, -0.0157724842, -0.015732225, 0.0267699007, -0.0127308434, -0.0067515839, -0.0314622298, -0.038033098, -0.0341663212, 0.0251823813, -0.0020467374, 0.0324200504, -0.0064793131, -0.0497256443, -0.1131899133, 0.0257925838, -0.0303742066, 0.0658223107, -0.0053879442, -0.0270885807, -0.0039359177, 0.0140318237, -0.001045057, -0.0165386256, 0.0338654928, 0.0922975466, 0.0331738628, 0.0232992489, -0.0869135484, -0.0365424119, 0.0079042651, -0.0586994812, -0.0505782813, -0.0678734556, 0.0086731305, 0.0073641213, -0.0108043486, -0.0379604213, 0.0044177193, 0.004367393, -0.0472017452, 0.0766139701, -0.0322886854, -0.0170387439, 0.0070575788, -0.017387962, 0.0033336522, 0.0664051846, 0.034065064, 0.0271226205, 0.0268204138, 0.0147369104, -0.0099582449, 0.0305287447, -0.0275538489, -0.0191800613, -0.028368609, 0.0130392518, -0.0566179231, 0.02691002, 0.0389969572, 0.0059806448, -0.0207443666, -0.0061817789, 0.0616156645, 0.0295993648, 0.0078893024, 0.0076194583, 0.0187976249, 0.0026918836, -0.0032150422, -0.0199451819, -0.0005825406, 0.0228996556, -0.0412157774, -0.0105908681, 0.0330829956, -0.0208646897, -0.0136137381, -0.0516509637, -0.0068244026, -0.0294401962, -0.0003775834, 0.0252812784, 0.0571177267, -0.0359616056, -0.0383746326, 0.0370272473, 0.0419760607, -0.0087304926, -0.0168787837, -0.018780347, 0.0787052363, 0.0591978617, 0.0231270213, -0.0155052571, 0.0155061856, -0.0182698704, -0.0000927101, 0.0670787767, 0.0723722577, 0.0009985932, -0.0134172263, -0.0345844962, -0.0003366353, -0.0187835153, 0.0329251997, 0.024093952, 0.0080426345, -0.0072759674, -0.0056189019, 0.0084171705, 0.0190054495, 0.0329454318, -0.0191907436, -0.0430883281, -0.0255658012, -0.0300053395, 0.0055973153, -0.0274827797, 0.0017856506, 0.0312026273, -0.0059322473, -0.0142610595, -0.0492972434, 0.0296276677, -0.0031423769, -0.004611887, 0.0180281345, -0.0497407541, -0.0455462262, -0.015267319, -0.0480921194, -0.0145403119, 0.0306862332, 0.0094067315, 0.020879427, -0.0375564247, -0.0391699523, -0.0050425143, 0.0098384973, 0.0094965231, 0.0934155285, 0.0206960421, 0.0145174693, 0.0137892701, 0.0092625087, -0.003133354, -0.0555461012, 0.0141026238, 0.0154139185, -0.0056611313, -0.009612998, 0.0320679173, -0.0018195376, -0.0278960038, 0.0134516144, -0.0475442633, -0.0007534695, 0.0090027209, 0.0375698768, 0.0124398451, -0.0661791041, -0.0219003074, 0.0126863373, -0.0047018747, -0.0024570844, 0.0132757267, 0.0134524805, 0.0589160845, -0.032976456, 0.0079172458, -0.0241704341, 0.0055940254, -0.0427200794, 0.038090203, 0.0774329677, 0.0149870031, -0.0603419021, 0.0154213188, -0.0172692277, -0.0006274327, -0.007083694, 0.0002719958, -0.0205549225, -0.0277929269, 0.0072084339, 0.0552586429, -0.0183223076, 0.0425315425, 0.0398190022, -0.0300810263, -0.0586817712, -0.0067693326, -0.0366342254, 0.0347337574, -0.0613483191, -0.0296569876, -0.0142881358, 0.0878316164, 0.0055031152, 0.0137364427, -0.0368863717, 0.0771557614, -0.0182943027, 0.0062348559, -0.0247403458, -0.0000707473, 0.0044323402, 0.0987109318, 0.022712037, -0.0451947637, 0.0754941255, -0.0005913092, -0.0086059375, -0.0328846723, 0.0063254028, -0.0665746108, 0.0371629372, -0.0196723808, -0.0299942251, -0.0083474517, -0.0069377259, -0.0337602757, -0.0308407359, 0.0375042893, 0.0236645639, 0.0420023203, -0.0924186334, 0.0215728935, -0.0099666705, 0.0001227282, -0.0183169041, -0.0709368959, -0.0570209548, -0.0026279928, 0.021587437, -0.0197646711, -0.057319928, -0.0101837721, 0.0225151461, -0.0175390523, -0.0133997686, -0.0333320536, 0.0201593935, 0.0264289193, 0.0180520844, 0.012288441, 0.0321991146, -0.0286252517, 0.0434188172, 0.0386986695, -0.0188742802, 0.0445496067, -0.0405463427, 0.0247236062, 0.0017680583, -0.0078848749, 0.0279731695, 0.0463931002, -0.0055436953, -0.0608032644, -0.0004943936, 0.1082359776, 0.0068895612, 0.0154421255, 0.0123733627, -0.0271138288, 0.0197028052, -0.0028151893, 0.0132193752, -0.0719024241, -0.0398396738, -0.0044632498, -0.0116312159, -0.0036153947, -0.0721164942, -0.0162276924, -0.1262242347, 0.0501762033, -0.0128825009, 0.0109430794, -0.0201180167, -0.0627434626, -0.017987242, -0.0802482143, -0.0122663826, -0.0026878528, -0.0058776145, 0.0173107591, 0.0178388916, -0.0729048625, -0.030414151, 0.049892053, -0.0018051431, 0.0038825998, 0.022294987, 0.0481555611, -0.0488245599, 0.0071680169, -0.0213243123, 0.0101303486, -0.0241968241, 0.007827444, 0.0330716521, 0.0181983169, -0.0145798214, -0.0271048844, 0.0474787802, -0.0310118254, -0.0257424992, 0.0288135912, 0.0374666788, -0.027449647, -0.0770917758, 0.0372183956, 0.0542510375, -0.0258467533, 0.0790416449, 0.0050686277, -0.0195329506, -0.0596635826, -0.0486031696, -0.0690211281, -0.0503650457, -0.0259317197, 0.0177257303, 0.0379287489, -0.0280816145, -0.0360655263, -0.0568003654, 0.0425194912, -0.0036446864, -0.0202261209, -0.0043928376, 0.0539130345, 0.0170701891, 0.000315366, 0.0533194989, -0.0531762168, 0.0194943231, 0.0141534423, 0.0365668647, 0.0188539438, 0.0038218631, -0.0335114859, 0.0348380096, -0.0762700066, -0.0685598105, -0.0015067998, 0.0159792509, 0.032320153, 0.0054698247, 0.0051236926, -0.0055705025, -0.0292126909, 0.0328892879, -0.0221253969, -0.0205606036, 0.0257796329, 0.0299649779, 0.0207186099, 0.0298007466, -0.0050860192, 0.0243633371, -0.015845973, 0.0442883298, -0.0627595186, -0.0245563984, 0.0055934633, 0.0027310397, 0.0291832108, -0.0181154311, -0.0119955251, -0.0362983011, 0.0004905938, -0.0196815021, -0.0139371231, -0.0101603419, -0.012419085, 0.0259153675, -0.002358838, -0.0243361127, 0.001158504, -0.0292037074, -0.0293533709, 0.0314336158, 0.0626099482, 0.0330005512, 0.0172422081, 0.0365609489, -0.0473877713, -0.0153229805, -0.0170778818, -0.0325421952, 0.0376678817, 0.0178914163, 0.0394800119, 0.0285431035, -0.0069606928, 0.0192450974, -0.0506691262, -0.0078779515, -0.0696142316, 0.0304087978, 0.0260175355, 0.0289840661, -0.0543913245, 0.0267796125, -0.0799972415, 0.0123653291, 0.0245065652, 0.0388395488, -0.0280113071, -0.0401059128, 0.0731271505, -0.0044708811, -0.0808334202, -0.0066920128, 0.0865782574, 0.0205662083, 0.0318198614, -0.0166334286, -0.0073792147, -0.015748689, -0.05303194, 0.022793062, -0.033228185, -0.0055588456, 0.010312913, -0.0699641481, -0.046876289, -0.0380437113, 0.0221436843, -0.0172065031, 0.0014601565, -0.0065430668, 0.0501126945, 0.0054186196, 0.0400410332, 0.0035151781, 0.0504502393, -0.0621358417, -0.0068494109, -0.0903122276, -6.42338382e-33, 0.0169235803, -0.0583642498, 0.0265459493, -0.0176570974, 0.0566156879, -0.0075500994, -0.0406020954, -0.0053578536, -0.0293630771, 0.0279447399, 0.0238328576, 0.0178624019, 0.0162598919, 0.0137518495, 0.0164618567, -0.0387724638, -0.0113403127, 0.0075902962, -0.0097625293, -0.0356203057, 0.0100566745, 0.0140338112, 0.0886710137, -0.0390071571, 0.0611645132, -0.0110811945, -0.0054416726, 0.0107763698, -0.0192187801, 0.0186630879, 0.0002208521, 0.0315021202, 0.0163421147, -0.0863445178, -0.0078479303, 0.0338397212, -0.0028480163, -0.0507859252, 0.029713165, -0.0018575212, -0.0193413142, -0.0160462074, 0.023670977, 0.0463400297, -0.0159997083, 0.0149716912, 0.048195526, -0.0274504013, 0.0366071574, 0.021023795, -0.0616365857, 0.0540892482, -0.0346260555, 0.0332372785, -0.0089824814, 0.0788096637, -0.0253350455, 0.0178121701, -0.0222019106, 0.0329424813, 0.0094758421, -0.0168722626, 0.029834345, -0.0530776158, 0.0122621534, 0.0719767958, -0.0183689017, -0.0120750107, -0.0594251528, 0.0110984389, 0.0070993165, 0.0517485142, 0.0392039344, 0.0345072895, 0.0234005433, 0.0272693858, -0.0853857249, 0.0072426749, 0.0477828979, 0.0502727591, 0.0445148461, 0.0037256004, -0.0027032818, -0.0505399257, -0.058239162, -0.0073111723, -0.0213050023, -0.0082022958, 0.0115330601, -0.0195476711, 0.0243141837, 0.020184679, 0.0152018927, -0.02866574, -0.0707677156, 0.0250736848, 0.0133101642, -0.0046976637, -0.0002388302, 0.0189325437, -0.0702293664, -0.0059947455, -0.0072780014, 0.0018252176, 0.0288793631, -0.0083957752, -0.0023964955, -0.0076429681, -0.0242078342, -0.0082127769, -0.046687115, -0.0162716992, 0.0241271779, 0.0254964437, 0.0247126557, 0.0192030389, 0.0098707657, -0.0191555098, -0.0033243094, -0.0007738936, -0.0065761874, -0.0109365424, -0.0183060169, 0.0303980596, -0.0228376444, -0.0004258176, -0.0311952326, 0.0208499543, 0.0135751925, -0.0294299144, -0.0159045551, 0.0252294987, 2.741e-7, 0.08171767, 0.0669314712, -0.0161299873, 0.0382436663, 0.0077002007, 0.0696333796, -0.0490120612, 0.0035573717, 0.0340915211, -0.0070093251, 0.0160795078, 0.0316588096, 0.0435123555, 0.0371254794, -0.0683931112, -0.0281561594, -0.0893599764, 0.0014439021, -0.0541323833, -0.0114223333, 0.0780704543, 0.0618624166, 0.0343289599, -0.0000638638, -0.0195529498, -0.0412542857, 0.0532485768, -0.0527178198, -0.0104607567, 0.006263739, 0.0032221505, 0.0174552649, 0.0048263613, 0.0164252613, -0.0051786178, -0.0096966224, -0.0327687003, 0.0553013198, 0.0134120248, 0.0059396978, -0.0132186385, -0.0459574796, -0.0174223408, -0.0547682755, 0.0721677989, -0.1004328728, -0.0767169371, -0.0196484998, -0.0006843779, 0.0062125162, 0.0249871034, -0.0097809834, 0.0117190396, 0.0175854638, 0.0008480739, -0.0204936974, 0.0074054934, -0.0341476314, -0.0360746495, 0.048783917, -0.0612437502, -0.0241003782, -0.0179348998, 0.0276709758, 0.0325049236, -0.0507291779, 0.0235921554, 2.367850617e-34, 0.0077568539, 0.0191512294, -0.0259980969, 0.0096116494, 0.0846268162, 0.0084152631, -0.0163223483, 0.0571979247, 0.0063529345, -0.08083269, 0.0020866781 ]
http://arxiv.org/abs/2407.01178v1
http://arxiv.org/pdf/2407.01178v1
$\text{Memory}^3$: Language Modeling with Explicit Memory
2024-07-01T11:07:23
2024-07-01T11:07:23
Hongkang Yang, Zehao Lin, Wenjin Wang, Hao Wu, Zhiyu Li, Bo Tang, Wenqiang Wei, Jinbo Wang, Zeyun Tang, Shichao Song, Chenyang Xi, Yu Yu, Kai Chen, Feiyu Xiong, Linpeng Tang, Weinan E
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
The training and inference of large language models (LLMs) are together a costly process that transports knowledge from raw data to meaningful computation. Inspired by the memory hierarchy of the human brain, we reduce this cost by equipping LLMs with explicit memory, a memory format cheaper than model parameters and text retrieval-augmented generation (RAG). Conceptually, with most of its knowledge externalized to explicit memories, the LLM can enjoy a smaller parameter size, training cost, and inference cost, all proportional to the amount of remaining "abstract knowledge". As a preliminary proof of concept, we train from scratch a 2.4B LLM, which achieves better performance than much larger LLMs as well as RAG models, and maintains higher decoding speed than RAG. The model is named $\text{Memory}^3$, since explicit memory is the third form of memory in LLMs after implicit memory (model parameters) and working memory (context key-values). We introduce a memory circuitry theory to support the externalization of knowledge, and present novel techniques including a memory sparsification mechanism that makes storage tractable and a two-stage pretraining scheme that facilitates memory formation.
$\text{Memory}^3$: Language Modeling with Explicit Memory: The training and inference of large language models (LLMs) are together a costly process that transports knowledge from raw data to meaningful computation. Inspired by the memory hierarchy of the human brain, we reduce this cost by equipping LLMs with explicit memory, a memory format cheaper than model parameters and text retrieval-augmented generation (RAG). Conceptually, with most of its knowledge externalized to explicit memories, the LLM can enjoy a smaller parameter size, training cost, and inference cost, all proportional to the amount of remaining "abstract knowledge". As a preliminary proof of concept, we train from scratch a 2.4B LLM, which achieves better performance than much larger LLMs as well as RAG models, and maintains higher decoding speed than RAG. The model is named $\text{Memory}^3$, since explicit memory is the third form of memory in LLMs after implicit memory (model parameters) and working memory (context key-values). We introduce a memory circuitry theory to support the externalization of knowledge, and present novel techniques including a memory sparsification mechanism that makes storage tractable and a two-stage pretraining scheme that facilitates memory formation.
[ 0.0354859941, 0.0500852242, -0.0118330196, 0.0180073697, -0.0133671314, 0.017009832, -0.0293240864, -0.0005076313, -0.0098100249, -0.0506724119, -0.0273788776, -0.0445059165, -0.018440567, 0.0102628525, 0.043840643, -0.0084122838, 0.0787968934, -0.0413580388, -0.0005319542, -0.0001524482, 0.0068715359, 0.0082380194, 0.0076634078, -0.0225096028, -0.0137855019, 0.0328889899, -0.059724886, 0.0002610268, -0.0381514132, -0.0396366417, -0.014955081, 0.0257788245, 0.0638949201, 0.0054333638, 0.0000023734, -0.0477540754, -0.0030180037, -0.0165415984, -0.0444285125, 0.0413648449, 0.0190548208, -0.0157083068, 0.006654155, 0.0157097969, -0.0238782, -0.0188616998, 0.081438072, 0.0276328586, 0.0114753516, 0.066499643, -0.0135116018, -0.0546866246, 0.0470100343, -0.03093848, 0.0456213392, -0.0282186307, 0.0169081148, 0.0068680211, -0.0376983657, 0.0181023628, -0.0105912574, 0.0406178534, 0.0148017332, 0.0571578257, 0.0188219603, 0.0463118441, -0.0110464962, -0.0123558873, -0.02682014, 0.0160604659, 0.0208341908, -0.0860657468, 0.0017133388, 0.0246748943, -0.0263370089, -0.0105341179, -0.0297568552, 0.0559607185, -0.0083879577, 0.0239132233, 0.0229540151, -0.0285024736, 0.047694698, 0.0155017059, -0.0473036841, 0.0121917119, 0.0177782476, -0.0229891594, 0.0033835198, 0.0049202507, -0.0098300511, -0.010411758, 0.0170439668, 0.0396133214, 0.0345852338, 0.0322260372, -0.0543449596, -0.0515561663, 0.0084769111, -0.0691067651, 0.0433284827, 0.0635592565, 0.0206605475, 0.0152774276, -0.0581262596, 0.0142756039, -0.0478733294, 0.0258386377, -0.0500805266, 0.0154960388, -0.0210107993, -0.0201860629, -0.0632420927, 0.0678048134, 0.005388617, -0.0105492258, -0.0177307352, 0.0203708131, 0.0199833289, -0.032070905, -0.0280778296, 0.0274293721, -0.0354824923, 0.0118390406, -0.0279731322, 0.0098366914, 0.0134289591, -0.0103115495, 0.0121973371, -0.0539355427, -0.0237013716, 0.0017642827, 0.0215545017, -0.0077446364, 0.038446378, 0.0570049621, -0.0400867611, -0.049135901, -0.0857180059, -0.0157152787, 0.0333234854, -0.0665314198, 0.0086578112, -0.0683485046, 0.0439619236, 0.0204731002, -0.0227304194, -0.0342731625, 0.027082799, 0.0400956124, -0.0520646311, 0.0614176616, -0.0071174232, -0.0198470354, 0.0485593788, 0.0081083439, 0.043832548, 0.0500040688, 0.0387468673, 0.0148524493, -0.0030095608, 0.0073961876, -0.044664856, 0.032498572, 0.0751652941, -0.0060711559, -0.0514273904, -0.0073528197, 0.0296779405, -0.0020153418, 0.044637274, 0.0629463121, -0.0276610665, -0.0186372604, 0.0507245623, 0.0465844013, -0.0051090922, 0.0287072081, 0.051106967, -0.0165644512, 0.0297514405, -0.0109821809, -0.0146092344, 0.0443044193, -0.0529678017, 0.0251887925, 0.0433044247, 0.002929992, -0.0359048881, -0.0234486051, -0.0174308512, -0.0299269594, 0.0307210796, 0.014360005, 0.057744015, 0.0133066066, -0.0647817627, 0.0985502228, 0.034230452, -0.0405408144, -0.0102304053, -0.0455603302, 0.047586035, 0.0484709367, 0.0280320365, 0.0008555896, 0.0177967101, 0.0194813535, -0.0047963182, 0.0311845355, 0.0381619185, 0.0097265085, -0.0055372207, -0.0732137561, 0.0248571858, -0.0050578602, 0.0171222687, 0.0421341397, 0.052490592, 0.0010724412, 0.0205665343, 0.024329355, -0.0191731304, 0.0114555787, -0.0511527881, -0.0353358537, -0.0214710105, -0.0105627729, 0.0215476304, -0.0063399109, -0.0106899394, 0.0390450135, 0.066809319, -0.055507984, 0.0063449447, -0.0156757347, -0.0878388733, -0.0114227151, 0.0125502395, 0.0404207297, 0.0436646529, 0.0163679738, -0.0032515638, -0.0670513585, 0.0394880697, -0.0546339415, 0.1055948809, -0.0672569275, 0.0320389643, 0.043139834, 0.0109935133, -0.0217628069, 0.0734873936, -0.0440810062, 0.0098542571, 0.0083123287, 0.0341329575, 0.0032297429, -0.0292648319, -0.0298250988, 0.00531903, 0.0025749267, 0.0329280049, -0.0055296416, -0.043301966, -0.0425647274, 0.0069669718, -0.050384935, 0.0204646997, -0.0051556537, 0.0038494631, 0.0062239971, 0.0202925913, 0.0270045865, -0.010879972, -0.0343570672, 0.0346190035, 0.0084470399, 0.0180205163, -0.0208572727, 0.0215133708, -0.0098158615, -0.0218536947, -0.0219818316, 0.00006334, 0.0442026816, -0.0010284286, -0.0316793919, -0.0547045209, 0.0789238364, -0.0261622444, 0.0514209419, -0.0137458108, -0.0500737727, 0.001251281, -0.0692502409, 0.0413004793, 0.0375041515, 0.0049258531, -0.0067315819, 0.0628996268, -0.0188863166, -0.0364555717, 0.0116443224, -0.0315109454, -0.0511062704, -0.0122426376, -0.0309957024, -0.0385106578, 0.0996207297, 0.0214785449, 0.0092171365, -0.0536229424, -0.0046150414, 0.0164516401, -0.0518122464, -0.0400101021, -0.0188074205, -0.0125723844, 0.0583345406, -0.0425587557, -0.0679628626, 0.0457251072, -0.056484323, 0.0061485991, -0.0116097741, -0.0099453432, -0.0102014262, 0.0716114566, 0.0085868482, 0.0423732288, -0.0236704834, 0.0029366568, -0.0206309222, -0.0148746846, 0.0030750169, -0.0471280552, 0.040500056, -0.0477868803, 0.0394594669, -0.0204524994, -0.0238092411, -0.0401250534, -0.0094596222, 0.0021062526, -0.0000911504, 0.0230841301, -0.0076900977, -0.0291813668, 0.0201667193, 0.0488690585, 0.0572014116, 0.0016766904, -0.0029134734, -0.0258645471, 0.0276674107, 0.0115689579, 0.0012986846, -0.0113463644, -0.0502186753, -0.0061753164, 0.0719886571, 0.0401453376, 0.0090363203, -0.024672363, 0.0218688846, 0.0266296063, 0.018823348, 0.0056808791, 0.0176117364, 0.0128474887, -0.0709315687, -0.0553502962, 0.1068435535, 0.0271766819, -0.0598616265, -0.0137558775, -0.0080173723, 0.029156087, 0.0205474049, 0.0278817099, -0.0572987422, -0.0019130729, 0.0107310247, -0.0038001626, -0.0104831178, -0.0074061668, -0.0315751173, -0.1309310645, 0.0025155311, 0.0219712537, -0.0304720681, -0.0304396879, -0.0528261326, -0.0647712722, 0.0429644957, 0.000147627, 0.0384191759, 0.0065791006, -0.0079881167, 0.0260820817, 0.0190616157, -0.0169107225, 0.0159198623, -0.005428324, 0.0297791436, 0.0363176912, -0.0012580276, -0.0057900166, -0.0192723311, 0.0197455883, -0.0207872633, 0.0303689614, -0.0432212241, 0.0459888056, 0.0088397646, -0.0230831057, -0.0372463651, -0.0021364796, 0.0002420011, -0.0284145959, -0.0327213928, 0.0465464182, -0.0205577575, 0.0234192591, 0.030588273, -0.0075074309, -0.0331966616, 0.0777470842, 0.0170498285, -0.0238789134, -0.0151758064, -0.016599847, -0.0073757111, -0.0472727232, -0.0392668247, 0.0264415387, 0.0017896607, -0.051130414, -0.0478909723, -0.0044679814, 0.0144105628, 0.03121626, 0.0172787625, 0.0020680851, 0.0187027752, -0.0386070348, -0.117343761, 0.0133877359, -0.0448736921, -0.0282453038, -0.0395118035, -0.0561423264, 0.031140212, -0.0444954634, 0.0060488358, 0.0295766704, -0.0735411346, -0.0615080483, -0.0024430819, 0.0734398663, 0.0207941569, 0.0592032932, 0.0388656221, -0.0216319207, 0.043501284, 0.0292793829, -0.0822710693, 0.0735303015, -0.0032840585, 0.02479228, 0.0107738581, 0.0138176652, -0.0202060211, 0.0079808161, 0.0088436082, 0.0345077738, -0.0164370928, 0.019778952, 0.0415496491, 0.0172827598, 0.0254339017, 0.015763158, 0.019176254, -0.0300069228, 0.0329288207, -0.0310859382, 0.0146389743, -0.0510197915, 0.003790963, 0.0333756879, 0.0016591136, -0.0102629568, -0.0590787083, 0.064563185, 0.0147141023, 0.0335432962, -0.0112254582, 0.0111167217, 0.0123170419, 0.0499723479, -0.0067753647, -0.0468045101, 0.0195791852, -0.0378878452, 0.0367716514, -0.0602863543, 0.0454126261, 0.0083123166, -0.0002264698, -0.0444992371, -0.0033972459, -0.0445181839, -0.0462049805, -0.0057575637, 0.0179897193, 0.0367300957, -0.0383233018, 0.0524129681, -0.0342407003, -0.0091010313, -0.0169638488, 0.0032458615, -0.0115548922, -0.0286777839, 0.0085394373, 0.0362443328, -0.011734385, 0.0079282755, 0.0394414254, 0.0321640372, 0.0533613116, -0.0071913307, -0.0165483728, -0.0133302277, -0.0023222554, 0.0112414863, 0.0460080057, -0.0074245129, 0.0100764884, -0.0255820528, -0.0722277239, -0.0158113949, 0.0079673445, -0.0069164112, -0.0300057959, 0.0412125699, 0.0592257343, -0.0043049259, -0.021519484, -0.0190345533, 0.0180301405, -0.0358280279, -0.0132320011, -0.0203949716, -7.252550352e-33, -0.0317341276, -0.0148581238, 0.0452193134, -0.0441605449, -0.0220133029, 0.0204972122, -0.0589178838, -0.0114152646, -0.023274079, -0.0322250351, -0.0170495436, 0.006201149, 0.0042468188, 0.0407652147, 0.0069116862, 0.0117220478, 0.0402923711, -0.0181472301, -0.0028523107, 0.037753012, 0.0661881268, 0.0589944646, 0.06020464, -0.0055073174, -0.0249618292, -0.0248712357, 0.0114334216, 0.0053724535, -0.0057534142, 0.0334618241, -0.0506820194, 0.0232363921, 0.0186302662, -0.0126123959, -0.0060399682, -0.0063901236, -0.1190437526, -0.0002217532, 0.0506336167, -0.0097824205, -0.0060463725, -0.0175845362, 0.0256685112, -0.0131998612, 0.0098195467, -0.0042534238, -0.0101272427, -0.0258283019, -0.0407294743, -0.0125963874, -0.0277958978, 0.0046030809, 0.0198170114, 0.0078070071, 0.0328017622, -0.0107490448, -0.0340060778, 0.0098411255, -0.0727092475, 0.0045108818, -0.0035739797, 0.0801536441, 0.0285021123, 0.0510475226, 0.0256766416, 0.0443791673, 0.0386012346, 0.0008875719, -0.0383881629, 0.0325739048, 0.0643695369, 0.0270037204, 0.0115897749, -0.001887542, 0.0793858394, -0.0264705494, -0.0779220164, -0.0215797685, 0.0230255965, 0.0486755669, 0.0636373237, 0.0261700004, -0.0387488864, -0.047908999, -0.0493785925, 0.0251072496, -0.0522841327, -0.0274362061, 0.0410284102, 0.0365129188, -0.0124322074, -0.0278038643, 0.03427995, -0.018458616, 0.0283092856, 0.0217690337, 0.012645022, 0.0060885777, -0.0495726503, 0.0210643001, -0.0670033097, -0.0437097475, -0.0242394861, -0.0028515724, -0.0136017743, 0.0221622717, 0.0012691121, 0.0407081805, -0.0722968951, -0.0117748538, -0.057245288, 0.0221321434, 0.0080007715, 0.0302374307, 0.0259824842, 0.0344818607, -0.0014520488, 0.0338497795, -0.0179541204, -0.0269197822, -0.0177851804, -0.0419113189, -0.0000318139, 0.0494963266, -0.0164758395, 0.0152020063, -0.061974071, 0.0112558817, 0.066160202, -0.0641343594, -0.0058009773, 0.0474408008, 3.009e-7, 0.0104502328, 0.0279387049, 0.0234668162, 0.0161067173, -0.005833494, -0.0068626571, 0.011538174, 0.0004038886, 0.0207657553, -0.0422705971, -0.0009200093, 0.087842606, 0.0334822424, 0.0039193416, -0.1085177213, -0.0057845372, -0.0623656288, -0.0146916164, -0.0209459644, -0.0143406317, 0.0265990812, 0.0960005075, -0.003488366, -0.0167439692, 0.0027470801, -0.0320492536, 0.0832575858, -0.018384546, 0.0078852419, -0.0028399162, -0.0070255995, 0.0505289845, -0.0401446149, 0.0167347342, -0.0260718577, -0.0007657888, -0.049914483, 0.0711351931, -0.0090057626, -0.0436796844, 0.0375045128, -0.0085654035, -0.0554120503, -0.0170620661, 0.0467535295, -0.0394086055, -0.0435947925, 0.0015823623, 0.0332390927, 0.0055508628, -0.044697132, 0.0050558778, 0.0011480014, 0.017405225, -0.0005934177, -0.000685066, 0.0037524852, -0.0909249932, -0.0176307783, 0.029005453, -0.0288930815, -0.048556298, -0.052490171, 0.0033152055, 0.026432218, -0.0760380998, 0.0071087931, 2.979196301e-34, 0.0479603186, -0.0266937334, 0.0125576146, 0.0432631075, 0.042030409, -0.0257164463, 0.018315373, 0.0312158912, -0.006980557, -0.1156754345, -0.0341223925 ]
http://arxiv.org/abs/2407.01158v1
http://arxiv.org/pdf/2407.01158v1
Learning to Explore and Select for Coverage-Conditioned Retrieval-Augmented Generation
2024-07-01T10:26:19
2024-07-01T10:26:19
Takyoung Kim, Kyungjae Lee, Young Rok Jang, Ji Yong Cho, Gangwoo Kim, Minseok Cho, Moontae Lee
cs.CL
cs.CL
Interactions with billion-scale large language models typically yield long-form responses due to their extensive parametric capacities, along with retrieval-augmented features. While detailed responses provide insightful viewpoint of a specific subject, they frequently generate redundant and less engaging content that does not meet user interests. In this work, we focus on the role of query outlining (i.e., selected sequence of queries) in scenarios that users request a specific range of information, namely coverage-conditioned ($C^2$) scenarios. For simulating $C^2$ scenarios, we construct QTree, 10K sets of information-seeking queries decomposed with various perspectives on certain topics. By utilizing QTree, we train QPlanner, a 7B language model generating customized query outlines that follow coverage-conditioned queries. We analyze the effectiveness of generated outlines through automatic and human evaluation, targeting on retrieval-augmented generation (RAG). Moreover, the experimental results demonstrate that QPlanner with alignment training can further provide outlines satisfying diverse user interests. Our resources are available at https://github.com/youngerous/qtree.
Learning to Explore and Select for Coverage-Conditioned Retrieval-Augmented Generation: Interactions with billion-scale large language models typically yield long-form responses due to their extensive parametric capacities, along with retrieval-augmented features. While detailed responses provide insightful viewpoint of a specific subject, they frequently generate redundant and less engaging content that does not meet user interests. In this work, we focus on the role of query outlining (i.e., selected sequence of queries) in scenarios that users request a specific range of information, namely coverage-conditioned ($C^2$) scenarios. For simulating $C^2$ scenarios, we construct QTree, 10K sets of information-seeking queries decomposed with various perspectives on certain topics. By utilizing QTree, we train QPlanner, a 7B language model generating customized query outlines that follow coverage-conditioned queries. We analyze the effectiveness of generated outlines through automatic and human evaluation, targeting on retrieval-augmented generation (RAG). Moreover, the experimental results demonstrate that QPlanner with alignment training can further provide outlines satisfying diverse user interests. Our resources are available at https://github.com/youngerous/qtree.
[ 0.0586101785, 0.0374189205, -0.0115135945, -0.0096373633, -0.0171159077, -0.0233151242, -0.0591949597, 0.0163097102, -0.0099306563, -0.0367177129, 0.0003918712, -0.0528969765, -0.0685780197, 0.0297610331, -0.0105988393, -0.0680566058, 0.0338875949, -0.0085305404, -0.0358511172, 0.0217013322, 0.0007581857, 0.0275493637, 0.0060556615, 0.0235302374, -0.0015364462, -0.0042397119, -0.0525353625, 0.0336417258, -0.0076158014, -0.0605279543, 0.0310642775, 0.0580862649, 0.0129803205, 0.0122482441, 0.0000019908, -0.0313813724, -0.026486421, -0.0238245521, -0.0132340938, 0.0223345552, 0.0508201718, 0.0351643451, 0.0511773191, 0.0049659335, -0.0277551115, 0.0483284928, 0.0201884322, 0.0745181888, 0.0552177057, 0.0532922037, 0.0047471989, -0.0312318597, -0.0202666428, -0.0120129501, 0.0666167885, -0.0473076329, -0.0016496571, -0.0175693519, 0.0485368744, 0.0317109153, 0.0251800977, 0.0093422346, 0.021645762, -0.0424009748, 0.0429641716, 0.0313486829, -0.0587500632, -0.0149263525, 0.0056193396, 0.0871161893, 0.0144750904, -0.0283698812, 0.0048559234, -0.0313107781, 0.0019232964, 0.0327378735, -0.0686012283, -0.0096028065, -0.0110934768, -0.02009896, -0.0152779659, 0.0189097039, 0.0248212237, 0.0065855561, -0.0363629125, 0.0262664538, 0.0128353406, -0.0490313731, -0.0114860674, -0.0031036527, -0.0073547419, -0.0560662225, -0.0244797133, 0.0269197021, -0.055875618, 0.015456521, -0.0265714247, -0.031385649, 0.047171656, -0.0067192693, 0.0362324715, 0.0159606561, -0.0166459493, 0.0352957658, -0.0004723792, 0.0254366621, -0.0354162753, -0.0376391299, -0.0602987632, 0.0176260769, -0.0487707593, -0.0439803116, -0.0524712913, 0.0381989107, -0.0473952331, -0.0202951301, -0.0104206773, 0.0579423867, 0.0317000672, -0.0112571288, -0.027631009, 0.0530085228, -0.0611181818, -0.0123001114, -0.0493873693, -0.0215059388, -0.0552457161, -0.0290324036, 0.0371517278, -0.0385510698, -0.0103688026, 0.0239526145, 0.0119561423, -0.0412649028, -0.0132291978, 0.0160216, -0.010580061, -0.0143680582, -0.0425627083, -0.0747117773, 0.0206191391, -0.0091747334, -0.0050095096, -0.0516884327, 0.0212137252, 0.0060180961, -0.0251608137, 0.0107994173, 0.0092600975, 0.0729824454, 0.0089557022, 0.0381052271, 0.0168759637, 0.0237094052, 0.0379248001, 0.0095815146, 0.0432086773, 0.0733299777, -0.0025304772, 0.063902244, 0.0263847243, 0.0056031994, 0.0451332591, 0.0003987589, 0.0068538799, 0.0323610641, -0.0045024259, 0.0505109951, 0.0047496562, 0.0371803828, 0.0091548767, 0.0441137664, -0.0604655482, -0.0004448179, 0.0219140332, 0.0331590772, 0.0500365272, 0.0271440782, 0.0691837966, 0.0217697099, 0.0015716999, 0.0228848159, -0.0068466645, 0.0267610457, -0.0219367947, 0.0102144852, 0.0275688972, -0.0205933116, -0.033101771, -0.0264009181, -0.003198765, 0.0191381555, 0.0070277145, -0.0064625125, 0.0273206104, 0.0484662764, -0.0333506241, 0.0452625789, 0.0059657032, -0.0594683364, 0.0284629166, -0.0253405944, 0.026666455, 0.0665107444, 0.0984664708, -0.0362144969, -0.0161834061, 0.0252002571, -0.0027001558, 0.0232395232, 0.0755572766, -0.0298121497, -0.0146892965, -0.0563805103, -0.0497756302, -0.0509032421, -0.0036426166, 0.0046054213, 0.0216755867, -0.0282436647, 0.038418185, -0.0773943812, -0.049795676, 0.025897311, -0.0256473534, -0.0496680811, 0.0201034956, 0.0066103511, 0.0004589137, 0.0275582131, 0.008624834, 0.0392477624, 0.0343710855, -0.0227664523, -0.0119866701, -0.0147685641, -0.0511294268, 0.0005027565, -0.0279935561, -0.026490787, 0.0222196262, -0.0046442761, -0.0198122282, -0.0574657023, -0.0264564697, -0.0493425168, 0.0349344239, -0.0360194184, 0.016903393, -0.0068672746, -0.0400965288, -0.062226627, 0.0954003111, 0.030696338, -0.0053649517, 0.0559400357, -0.0178053379, 0.0199329033, -0.0618955791, -0.0072800564, 0.0118658943, -0.0138965342, 0.0020733734, 0.0675630942, 0.0187581759, -0.0673159808, 0.0152308224, -0.1146648526, 0.0025176196, -0.0393300839, 0.0163126644, 0.0492597409, 0.0646694303, -0.0116654942, -0.0199104585, -0.0574795306, -0.0413828194, 0.0070566111, 0.0299209077, 0.03709637, 0.0157692097, 0.0015518545, -0.0248799548, -0.0180129707, -0.017113138, 0.0338927805, 0.0362767689, -0.0029940985, -0.0240790676, 0.0146976104, -0.021918213, -0.0171169024, -0.0226142928, -0.0102990279, 0.0110433288, -0.0559002422, -0.0095626581, 0.0269641709, 0.0473465435, -0.0049209124, 0.05342016, 0.0288743451, -0.068830058, 0.0255327262, -0.0389262326, -0.0240541995, -0.023800781, -0.0535639673, 0.084071517, 0.0244256724, -0.0053639063, 0.0263728052, -0.0707985014, -0.0223706197, 0.0046193814, -0.0231659524, -0.0464008562, -0.0136505831, -0.0000136225, 0.0889221206, -0.0085125538, -0.0291429088, 0.078192912, 0.0170865171, -0.0007576221, -0.0511980876, 0.0135485064, -0.043397326, 0.0837206617, 0.0127406362, 0.042954687, 0.0009420451, -0.038848497, -0.0671579614, 0.0019318504, 0.0102327606, -0.0407025889, 0.0319354609, -0.0364305638, 0.0155369174, 0.0211985055, -0.0490205884, -0.0490966626, -0.0619605519, 0.0332885087, -0.0010548809, 0.0185199007, -0.019206157, -0.004731826, -0.005343162, 0.0323157385, 0.0486202575, -0.0243317168, -0.0280403346, 0.0033907827, 0.0388817415, 0.0972923934, 0.0078703761, 0.0137497066, -0.0370137915, 0.0083048828, 0.0315067135, 0.0731679052, 0.0114688249, 0.0536850467, 0.0025533147, 0.029239526, -0.0440341011, -0.0127998423, 0.0428874567, 0.0436253324, -0.0261406433, -0.0434367061, 0.0710838288, 0.0616579056, -0.0509087481, 0.0007189119, -0.0542358011, 0.0593362525, 0.020748917, 0.0689602941, -0.0751867369, 0.0124229286, -0.0097751394, 0.060786318, -0.0214484986, -0.0118797738, -0.0155709479, -0.1222833395, 0.038997896, -0.0135782221, -0.0091184536, -0.0120460615, -0.0416805297, 0.0001729994, 0.0096025849, -0.0134585621, 0.0609862767, -0.0289710443, -0.0043803486, 0.0105920257, 0.0139965983, -0.0351013057, 0.0060449024, -0.0009989672, -0.0303451847, 0.0870511457, 0.0030473995, 0.0218939614, 0.0116552552, 0.0094714928, -0.0421295501, 0.0400246158, 0.0155467018, 0.0531538427, 0.0196615681, 0.030084867, -0.0228673182, 0.0239190664, -0.0088266209, -0.0047748289, 0.0108184908, 0.046942208, -0.0637074411, -0.007914518, -0.034177307, -0.0116342297, 0.0192275196, 0.0598179474, 0.045566339, -0.022749735, -0.0373956114, -0.0349777676, 0.0235758238, -0.0957115293, -0.0118582845, 0.0340620726, -0.0263307709, 0.0098332725, -0.0747624487, -0.0273958948, 0.0155266104, 0.0398090668, 0.0139520736, 0.0105065443, -0.0040215761, -0.0330069289, -0.0086857732, 0.0157134105, -0.0200315714, -0.0160419773, -0.0544470847, -0.0357550532, 0.0126536218, -0.0767362118, -0.004178883, 0.0051673693, -0.0260157511, -0.0567333922, -0.0056550945, 0.0272881296, 0.0211520661, 0.0483010411, -0.0186980162, -0.0440222621, 0.0397357121, 0.0495038405, -0.0480450206, -0.0263214391, -0.027860105, -0.0093567902, -0.0307730604, 0.0281634778, -0.0856697112, -0.0166313723, -0.0285117105, 0.0621602274, -0.0263310932, -0.0273690205, 0.0648627281, 0.0278065316, -0.0000961809, 0.0077112517, -0.0025555776, -0.0287920069, 0.0327832922, -0.0361363925, -0.0392156243, -0.0090089021, 0.0272669885, 0.0037897436, -0.0421170779, 0.0274254438, -0.0001314761, -0.039293766, 0.057953883, -0.0509606935, -0.0140956882, -0.0115277758, -0.0155378599, 0.0499044359, -0.0271626003, -0.0167946443, 0.0121839335, -0.0047833989, 0.0694412813, -0.0036294898, 0.0394448861, 0.0101741543, -0.0082982061, -0.0131429713, 0.0113873212, -0.0758650526, -0.0736825243, -0.0294249393, -0.0171701182, 0.002533626, -0.0110944118, 0.0133836949, -0.0382570885, -0.011595469, -0.0047654328, 0.0086165564, 0.0345353261, -0.0303767361, 0.0101337554, 0.0403932817, -0.0144113004, -0.0283004418, 0.0388134569, 0.0063081696, 0.0378349572, -0.0223192926, -0.0272430237, -0.0324884579, -0.0054499968, 0.0189839285, 0.0726343244, -0.0308058616, -0.008524023, -0.0342791751, -0.0049792491, 0.0340148285, -0.0031834452, -0.0101972362, -0.0245534405, 0.0838620961, 0.1028123945, -0.0157367997, -0.0307190176, -0.0563455373, 0.0251942519, -0.0790871307, -0.013759762, -0.0346322805, -6.510784029e-33, -0.0078966897, -0.0243279133, 0.0431231596, -0.0560969859, -0.0299958289, -0.0070865522, -0.0383764133, -0.01812369, -0.0107366275, -0.0304341931, -0.0222455636, 0.0033000812, 0.0054954188, 0.0368528813, 0.0162799377, -0.005835826, 0.0658436269, 0.0234371684, -0.0551344827, 0.0738310367, 0.0363980383, 0.0117654521, -0.0026088238, -0.0211766567, -0.009958378, -0.043331679, 0.0208699219, 0.0079853879, -0.0146356095, 0.0821136162, -0.0035118861, 0.0138052832, 0.0340270996, 0.0014504354, -0.0021423476, 0.0167613924, -0.0387845822, -0.0438329913, 0.0141122015, -0.0242626294, -0.0648104548, -0.0380020775, 0.0299922135, -0.0250640642, 0.0099870441, 0.0120899621, 0.0321833417, 0.0226674937, -0.015874913, -0.0388972647, -0.0222237464, 0.019358566, 0.0046739844, -0.0114978682, -0.0234778803, 0.1112961471, 0.0110388659, 0.0562734343, 0.0104735754, 0.0353094898, 0.0107655227, 0.0622946061, 0.0555546582, 0.0357477292, 0.0086516105, 0.0523513258, -0.0053398726, 0.0246189982, -0.0233223941, -0.0283780303, -0.0293861795, 0.0390722938, -0.0105072344, 0.0415880941, 0.0135746021, 0.015870614, -0.0231224783, 0.0688799471, 0.0064523625, 0.045515772, 0.0191836208, 0.0197289102, -0.0148547329, -0.0278050583, -0.0319519155, 0.0237844586, -0.0461064503, -0.0131083336, 0.0419383645, 0.0275262389, -0.0232215784, -0.012847865, 0.0119947344, 0.0115123019, 0.0020561062, 0.0323977433, -0.0428100117, 0.0089925453, -0.0105754957, 0.0267051905, 0.0031770084, -0.009040908, 0.012897809, -0.043516539, -0.0218395144, 0.0255826637, 0.0015720598, 0.0095754648, -0.0442007333, -0.0051716822, -0.011773793, 0.009314484, -0.0216969047, -0.0194067899, 0.0390011407, 0.038479872, -0.0075137429, 0.0410402827, 0.0187373459, -0.0039611412, -0.039722275, -0.061463099, 0.0044427868, 0.0281351302, 0.0054195682, 0.0240938179, -0.0534576066, 0.0382746123, 0.0302364938, -0.0458278395, -0.0273426585, 0.0603848733, 2.794e-7, 0.0465857051, 0.0257050395, 0.0063301018, 0.0536070168, -0.0069422899, 0.0145394541, 0.0367153063, 0.0043513249, 0.0041752849, -0.0126726748, 0.042481117, -0.0152732246, 0.035303764, 0.034957692, -0.1164556742, 0.0353828445, -0.0731394142, -0.0239307974, -0.0767464489, -0.0298674256, 0.0717557818, 0.0357209966, -0.034787599, 0.0017772159, 0.0137462374, -0.0359560177, 0.0461512804, 0.002395099, -0.0290710181, 0.0419114269, 0.0290838983, 0.015388364, 0.0266617592, 0.0035981506, -0.0423705839, 0.014883454, 0.009517774, 0.0299798045, 0.0091495374, -0.0417911224, 0.0064339191, -0.0091914954, 0.0112397624, -0.0818768144, 0.059104871, -0.0014114917, 0.0176458061, -0.0153644327, -0.005237205, -0.0046086204, 0.0077167582, -0.0296208505, -0.0212571695, -0.0064149629, 0.0001780185, 0.0104051037, -0.0034506926, -0.0570175722, -0.0089881057, 0.0197907276, -0.0382798836, -0.0305691529, -0.07655669, 0.0142358514, -0.0464602299, -0.0458685979, -0.0005278848, 2.685001289e-34, 0.0430577546, 0.0106235705, -0.0095560746, 0.0034641279, 0.037846189, -0.0024205898, 0.0075655952, 0.0313975736, 0.038246654, -0.0906516537, -0.0397741087 ]
http://arxiv.org/abs/2407.01157v1
http://arxiv.org/pdf/2407.01157v1
Unaligning Everything: Or Aligning Any Text to Any Image in Multimodal Models
2024-07-01T10:25:47
2024-07-01T10:25:47
Shaeke Salman, Md Montasir Bin Shams, Xiuwen Liu
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Utilizing a shared embedding space, emerging multimodal models exhibit unprecedented zero-shot capabilities. However, the shared embedding space could lead to new vulnerabilities if different modalities can be misaligned. In this paper, we extend and utilize a recently developed effective gradient-based procedure that allows us to match the embedding of a given text by minimally modifying an image. Using the procedure, we show that we can align the embeddings of distinguishable texts to any image through unnoticeable adversarial attacks in joint image-text models, revealing that semantically unrelated images can have embeddings of identical texts and at the same time visually indistinguishable images can be matched to the embeddings of very different texts. Our technique achieves 100\% success rate when it is applied to text datasets and images from multiple sources. Without overcoming the vulnerability, multimodal models cannot robustly align inputs from different modalities in a semantically meaningful way. \textbf{Warning: the text data used in this paper are toxic in nature and may be offensive to some readers.}
Unaligning Everything: Or Aligning Any Text to Any Image in Multimodal Models: Utilizing a shared embedding space, emerging multimodal models exhibit unprecedented zero-shot capabilities. However, the shared embedding space could lead to new vulnerabilities if different modalities can be misaligned. In this paper, we extend and utilize a recently developed effective gradient-based procedure that allows us to match the embedding of a given text by minimally modifying an image. Using the procedure, we show that we can align the embeddings of distinguishable texts to any image through unnoticeable adversarial attacks in joint image-text models, revealing that semantically unrelated images can have embeddings of identical texts and at the same time visually indistinguishable images can be matched to the embeddings of very different texts. Our technique achieves 100\% success rate when it is applied to text datasets and images from multiple sources. Without overcoming the vulnerability, multimodal models cannot robustly align inputs from different modalities in a semantically meaningful way. \textbf{Warning: the text data used in this paper are toxic in nature and may be offensive to some readers.}
[ 0.0050526448, 0.0723819733, 0.0036090924, 0.084056966, -0.0310789105, 0.0103694163, 0.036014881, 0.0083816824, -0.0335986763, -0.0532380678, -0.0371385813, 0.0076796217, 0.0115092946, 0.0076268115, 0.0507394895, -0.0481638424, -0.0001025532, 0.0202051271, -0.0345170312, 0.0013688341, 0.0600093678, -0.0070690722, -0.0078848535, 0.0265984628, -0.0303083044, -0.0432160608, -0.0352260806, 0.0600569509, 0.0444845483, -0.0096921958, 0.0074709728, 0.0198769048, 0.0025551619, 0.0744731799, 0.0000019179, 0.0196881481, -0.0248007849, 0.0245974213, 0.0456080176, -0.020016104, 0.037564978, -0.0657396466, -0.0109289568, -0.0242369156, -0.0162119213, 0.0131817451, 0.0693236664, 0.0672280863, 0.0655809566, 0.0688277707, -0.0276676007, -0.0300670061, 0.0016627336, -0.0277041346, 0.0249039903, -0.0326646231, 0.0062083611, -0.0285696201, -0.0363013931, 0.034222696, -0.0506230593, 0.0527915843, 0.0053222561, 0.0174954776, 0.005343697, 0.0310489517, 0.0033071067, -0.0382606536, -0.0049089212, 0.0919396505, -0.0754037276, 0.0016922439, -0.000686878, -0.0237288065, 0.0066569326, 0.0050262189, -0.0195215233, 0.018446276, 0.0137120085, 0.0325167403, -0.0800496787, 0.0042962455, 0.0439814553, -0.0144558009, 0.0084886365, -0.0301040895, 0.0272552986, -0.0051752017, -0.0564499274, -0.0062128911, -0.055524528, -0.0443461947, 0.0013098974, 0.0164975133, 0.0236042161, -0.0004862463, -0.1043755263, -0.0700549409, 0.0166693032, -0.0155555094, 0.0842038542, 0.0022668638, -0.0521822013, 0.0717208311, -0.0181120243, 0.0420517847, -0.0580154434, 0.0406956263, -0.0351150222, 0.003459835, -0.0101756183, -0.0513361096, 0.0376885645, -0.0270082168, -0.0616853051, -0.052440118, 0.0109619563, 0.0134955421, -0.0232893731, 0.0372135155, -0.0513303913, 0.033646822, -0.0587746091, -0.0184806399, 0.0329089239, 0.005841841, 0.0107120778, 0.0061909053, -0.0219905488, -0.0187124964, -0.0296850447, 0.0537211783, -0.0069927773, -0.0050169108, -0.0359945036, 0.1027697623, -0.0272477157, -0.0223310776, 0.0061451057, -0.0348805897, -0.0550022759, -0.0409065485, 0.0455607288, -0.0145407328, 0.0114124967, -0.0270297211, -0.003284662, -0.079070121, 0.000826025, 0.019226307, -0.0318492018, 0.1320197284, 0.0153651945, -0.046388194, 0.026266573, 0.0361859314, -0.0149832461, 0.0541294254, 0.0108212242, 0.0614008084, 0.0420928597, 0.0192421116, -0.0116539923, 0.0250426922, 0.0167059246, 0.0105129583, -0.0169908628, -0.0142268343, 0.0378361307, 0.0384506285, -0.0046176272, 0.0230222847, -0.0125846379, -0.0745633245, 0.0938778222, 0.0307208207, -0.0244910307, 0.0122766355, -0.0079364087, 0.0060578482, -0.0129015241, 0.0113861253, -0.0480767265, 0.0279815961, -0.0092104198, 0.0119763026, 0.0420431234, 0.0359219201, -0.0352687389, -0.0123426504, 0.0046365829, -0.0337062925, 0.0175492167, -0.0398156121, 0.016807247, 0.0285503622, -0.0496420562, -0.009294386, -0.0000049126, -0.0225135963, -0.0344409086, 0.0056868796, 0.0076572676, 0.0152999358, 0.0314396098, -0.0349505693, 0.0351362042, -0.0103738811, 0.0409349687, 0.0618441813, -0.0193083175, 0.0227318332, 0.0571748503, -0.0616800934, -0.0550554805, -0.0637599975, 0.0102691371, 0.0028314907, -0.0087701026, 0.0138743166, 0.00538558, 0.005421062, 0.052437894, 0.0399152786, 0.010155431, -0.0330705121, -0.0255959369, 0.0431369804, 0.0108038178, 0.0096461764, -0.0420797914, 0.0151898609, 0.0281816758, -0.0190825406, -0.0237567462, -0.003476256, 0.0005226076, -0.0328294002, 0.0098971622, -0.0731246993, -0.0136991916, 0.0299983639, -0.0395749919, 0.0123068094, 0.0310980249, 0.0153176896, -0.0015439844, -0.0102956137, -0.020120861, 0.0061031678, 0.033329647, -0.0207962096, 0.0330208018, -0.0321995802, -0.0102517484, -0.0088941595, 0.0036581717, 0.0170528814, -0.0215293411, -0.0654217899, -0.0074735461, 0.0057193819, 0.0359621644, -0.022685945, -0.0251694992, 0.0053476999, -0.023495812, -0.0618643425, -0.019817777, -0.0166825429, -0.0115617774, 0.0287755914, -0.0045482605, 0.019006392, -0.0466828495, -0.004701688, 0.0234176945, -0.0113625489, 0.014079486, 0.0381196328, -0.010795176, 0.0266606808, -0.0236338247, 0.0002142175, 0.0198410992, 0.0952144712, -0.0117718605, -0.0195147302, -0.0253985152, -0.0148107046, -0.020602772, 0.0318300091, -0.0149748884, -0.0278760958, 0.0278445594, 0.0369757414, 0.0026074769, 0.1122222543, -0.0063862088, 0.0418281667, -0.0191366207, 0.0090353107, -0.029236313, -0.0290742144, 0.0292742252, 0.0259531178, 0.0044698738, -0.0046311766, 0.0015326722, 0.0503056161, 0.0094657689, 0.0180882476, -0.0192561056, 0.0468882844, -0.0022347178, -0.0533693843, -0.0596060492, 0.0299180765, -0.0091242772, -0.0464433879, -0.0723163337, -0.0657898486, 0.0111700445, -0.0277935062, -0.0001297148, 0.0282557178, -0.0218448006, 0.0369149037, 0.0432624109, 0.0265116803, 0.0571190007, 0.0194979273, 0.0158967078, -0.0428023376, -0.0244353227, 0.0379160345, 0.0046862122, 0.0361384749, 0.0082896436, 0.0005314529, -0.0164083857, -0.0430692583, -0.019155493, -0.0912232623, 0.0143209798, -0.005190738, -0.0390465558, -0.0227143895, -0.0761595443, -0.0289099235, 0.0392882638, -0.0120079499, -0.0100926757, 0.0018071518, -0.0252292659, 0.0590687469, 0.017928604, -0.0393289812, -0.060315188, -0.0450178459, -0.0156146344, 0.0714934096, -0.0087618753, 0.0385379307, -0.0353535302, -0.0067683631, -0.0364143439, 0.0633225814, -0.0083785951, -0.0030161638, 0.0416785255, 0.0112524126, 0.02500703, 0.0173482019, -0.0112805385, -0.0090411203, 0.0055676936, 0.0219487231, 0.0257944278, -0.0061089112, -0.0154729094, -0.1064627171, -0.0572680645, 0.0005926173, -0.0117304968, 0.0347293019, 0.030098591, -0.0282676835, -0.0406819806, -0.0254717469, 0.0277927201, 0.0119377673, -0.0381253734, 0.0435139537, 0.0056596054, -0.0042074607, -0.0002655871, -0.0171918143, 0.0259997081, -0.0024163036, 0.0020445469, 0.0538781174, -0.0454620719, -0.0455850326, -0.0152070597, 0.0040417085, 0.0516017526, 0.0224302113, 0.0047197426, -0.0482210703, 0.0097487252, 0.0328997858, 0.0107530486, 0.034662351, 0.0850194842, -0.0391411446, -0.0295608174, 0.0033202339, 0.032406088, 0.0312909335, -0.0162766967, -0.0143160075, 0.0153916422, 0.0303628854, 0.0083379149, -0.0556574166, -0.0125558553, 0.0360381342, 0.0237398352, 0.011859172, -0.0551133044, -0.047517661, -0.0517073572, 0.0289308652, -0.0081879199, -0.030858973, 0.0353495032, -0.0023026257, -0.011014129, -0.0548083931, -0.0144421058, -0.0259114038, 0.0519897901, 0.021504743, -0.0073969029, -0.0566487685, 0.0135000423, -0.038425494, 0.0157723036, -0.0301907789, 0.0458108261, -0.0069210054, 0.0394813865, 0.0196452513, -0.0290546939, -0.0350631215, -0.0038090257, -0.0868770555, -0.0715138763, -0.0195680745, 0.0366353244, 0.0096674077, 0.0294599179, -0.0032547968, -0.0521749891, 0.0833984539, 0.0456610471, 0.006808117, 0.0362511352, 0.0481589064, -0.0302836075, 0.00430007, 0.0464414842, -0.0244343951, 0.0116860121, 0.0623965748, -0.024548905, -0.0136787156, 0.0210517403, -0.0231832284, -0.0532988757, 0.0340820849, -0.0063259816, 0.0181826428, 0.0020305221, 0.0065870211, 0.0107427193, -0.0275897533, -0.0448554941, 0.0078988476, 0.0053967428, 0.0074074324, -0.0040043835, 0.0256331787, 0.0363814756, 0.0593588129, -0.0366375782, -0.001305243, 0.0423809476, 0.0208669957, -0.0104324603, 0.0541845933, -0.0068354998, 0.0627043694, -0.0476521328, -0.0113402866, -0.0026315346, 0.0575832315, 0.0365370885, -0.0127658946, -0.0425110199, 0.0581951775, -0.027469825, 0.0264541116, -0.0458373725, 0.0297280867, 0.0575055778, 0.0089600123, 0.0008809421, 0.0218532179, -0.0268940106, -0.0273046196, 0.0175852701, 0.0079707876, -0.0229010135, 0.0321091302, -0.0051556267, 0.0103616929, 0.023700472, 0.0590558015, 0.0079194345, 0.0035577153, 0.0159752313, -0.0174294673, -0.0491272844, 0.0028137376, 0.0838239864, 0.0163818635, 0.0068794731, -0.0075364844, 0.0109730773, -0.0601194911, 0.0084200706, 0.026815813, -0.0093746623, 0.0425348282, 0.0021322295, 0.0323876254, 0.0152467843, 0.0154131595, 0.0006009707, 0.0182554871, 0.0008686113, -0.0219767541, 0.0158532523, -6.029514234e-33, 0.0205125026, -0.0225723721, -0.0534224622, -0.0608908869, -0.0015619468, 0.0442424193, -0.0241728388, 0.0028255454, -0.0038106078, 0.020836249, 0.0097904215, 0.0043299319, -0.0106927603, 0.0165427346, -0.0433784984, -0.0166204926, 0.0103835696, -0.0189191774, -0.0162487645, -0.0097592091, 0.0449891463, 0.0241546556, 0.033188425, -0.0736984611, 0.0297550298, -0.028368542, -0.0755841881, -0.0356251448, 0.0044022617, 0.0525576435, -0.0371133909, -0.0005892576, 0.0099885771, 0.0076099485, -0.0416680723, 0.0637190714, -0.039489571, -0.0118271029, -0.0151922666, 0.0242990144, -0.0649900287, -0.025824571, 0.0501839742, -0.0343761668, 0.0026080967, -0.0353384838, 0.0380342007, 0.0052965018, 0.0198140852, 0.0436355025, -0.0581462346, 0.017701719, -0.0226320997, -0.0283728894, 0.0405768864, 0.0069820019, 0.0743996128, 0.0242197663, -0.0973833576, -0.0096019823, -0.0309086833, 0.0026860028, 0.0528311133, 0.0132888099, 0.0064173937, 0.0852877796, 0.0238709766, -0.0393068902, -0.0271666553, -0.0283534788, -0.012212324, 0.0455890559, 0.0584896468, 0.1205954775, 0.0817068294, 0.011523976, -0.0594563968, 0.0050642435, -0.0542625114, -0.0337477028, 0.0487728417, 0.0578477755, -0.0310289916, 0.0260929111, -0.0207283758, -0.0787162185, -0.047277201, -0.0310584567, 0.0583448671, 0.029466344, -0.0166440327, 0.0397786759, 0.031330213, -0.0404275656, -0.0201341156, 0.0122271953, -0.009415959, 0.0310778022, -0.00829909, 0.0060938378, 0.0004599906, -0.0039728666, 0.0758650377, 0.0090212049, 0.0173365436, 0.0010186194, 0.0617554151, 0.0268702414, -0.0393387787, -0.0365661718, -0.024904225, -0.0075313374, 0.0064993687, 0.0187669694, 0.0418344066, -0.0072112186, -0.03215928, 0.0006402429, 0.0176329445, 0.0185852405, -0.0222714115, -0.012735446, -0.0549942851, 0.0045243357, -0.0109481318, -0.0001450561, 0.0000628745, -0.0084800273, 0.0574805178, -0.065455541, 0.001991489, 0.020504402, 2.558e-7, 0.0169939436, -0.0199128333, 0.0230966695, -0.0494014956, 0.0358374454, 0.0860233381, -0.0277894773, 0.0747381002, -0.0474989414, -0.0386986323, -0.0203092601, 0.0232821815, 0.045043312, 0.0012641849, -0.0143271927, 0.0194200147, -0.0657100603, 0.0161101669, -0.0429271311, 0.009573481, 0.0370347127, 0.0956306532, 0.0322017297, -0.0062783039, 0.0193780158, -0.0359114595, 0.0397215597, -0.0175244212, 0.0247484874, -0.0587264486, 0.0045567309, -0.0036458264, -0.0171242729, -0.0258493703, -0.0058014141, -0.018349858, 0.0747524425, 0.0333757624, -0.0359846577, -0.0275524948, -0.0478175171, 0.002816221, -0.0236895885, -0.0279890131, 0.0707678124, -0.0380780846, -0.0427559577, -0.0432111174, -0.0397698134, 0.0129028084, 0.0744158775, 0.0036986698, -0.0489589423, 0.004774435, 0.0415841788, 0.0093518933, -0.0269781388, -0.0767407492, -0.0391620882, -0.0099990685, -0.0591201559, 0.0106833568, -0.0580503792, -0.0072826701, 0.0629536211, -0.0783041641, -0.0234511085, 1.979554986e-34, -0.0150893247, -0.0373885334, 0.0138100144, -0.027924642, 0.0134653235, -0.0091638891, -0.0278772209, -0.0404416062, 0.0075949011, -0.0420398861, -0.0249289274 ]
http://arxiv.org/abs/2407.01149v1
http://arxiv.org/pdf/2407.01149v1
Sociocultural Considerations in Monitoring Anti-LGBTQ+ Content on Social Media
2024-07-01T10:17:13
2024-07-01T10:17:13
Sidney G. -J. Wong
cs.CL
cs.CL
The purpose of this paper is to ascertain the influence of sociocultural factors (i.e., social, cultural, and political) in the development of hate speech detection systems. We set out to investigate the suitability of using open-source training data to monitor levels of anti-LGBTQ+ content on social media across different national-varieties of English. Our findings suggests the social and cultural alignment of open-source hate speech data sets influences the predicted outputs. Furthermore, the keyword-search approach of anti-LGBTQ+ slurs in the development of open-source training data encourages detection models to overfit on slurs; therefore, anti-LGBTQ+ content may go undetected. We recommend combining empirical outputs with qualitative insights to ensure these systems are fit for purpose.
Sociocultural Considerations in Monitoring Anti-LGBTQ+ Content on Social Media: The purpose of this paper is to ascertain the influence of sociocultural factors (i.e., social, cultural, and political) in the development of hate speech detection systems. We set out to investigate the suitability of using open-source training data to monitor levels of anti-LGBTQ+ content on social media across different national-varieties of English. Our findings suggests the social and cultural alignment of open-source hate speech data sets influences the predicted outputs. Furthermore, the keyword-search approach of anti-LGBTQ+ slurs in the development of open-source training data encourages detection models to overfit on slurs; therefore, anti-LGBTQ+ content may go undetected. We recommend combining empirical outputs with qualitative insights to ensure these systems are fit for purpose.
[ 0.0536253378, 0.0567140616, -0.0087141851, 0.000320325, -0.0102963308, 0.0294346213, 0.04514746, 0.0233985297, 0.0512138307, -0.0454506837, 0.0063223159, -0.0391270891, -0.0203956943, 0.0333740376, -0.0045985631, -0.0056128595, 0.0255979318, 0.085356757, 0.0167475026, -0.0227598064, 0.0627360865, 0.0178648699, 0.0295683034, 0.0295708831, -0.0089071244, 0.0166832339, 0.0434623435, 0.0072983643, 0.0408187918, -0.0010981529, 0.0501901582, 0.0097070225, -0.0143012675, 0.0589239299, 0.0000015318, -0.0615980402, 0.023963036, 0.0095912078, 0.016846098, -0.0057187607, 0.045290716, -0.0466165654, -0.0284955166, 0.0561683401, -0.036394462, 0.0108974548, 0.0512796417, -0.0013446943, 0.0569352545, 0.046670381, -0.0170890708, -0.0427071638, -0.0483864024, -0.0024137706, -0.0170410741, 0.0261708368, 0.0364956036, -0.0360997282, -0.044139456, -0.0112611195, -0.0199859925, -0.0040886533, -0.0064842878, 0.0494371653, 0.0002957356, -0.0382524393, -0.0458702594, -0.0463554151, 0.0274342094, 0.0074666194, -0.0010733644, 0.0100954836, 0.0238071401, -0.0088532073, -0.0417321473, 0.0165123455, -0.0229462367, 0.0322845615, -0.0480083376, 0.0120642968, -0.0047075306, -0.023203209, 0.0434050336, 0.0831576511, 0.0173116364, 0.0625446439, -0.0097535141, -0.0445079878, 0.0127903521, -0.0526742227, -0.0018549332, 0.0078121936, 0.0542224795, -0.0124601908, 0.0527196936, 0.0520325564, -0.0079525365, -0.0457670577, 0.0332436338, -0.0672510266, 0.0112989191, 0.0699467063, -0.0177830625, -0.0106810434, 0.0291094799, 0.0394917689, 0.0043900483, 0.0110228416, 0.0381274074, -0.0058928826, -0.0219681263, 0.0373507515, 0.0239145141, -0.0570951253, 0.0207220782, 0.0633423552, -0.0567654707, -0.0094301924, -0.0339714475, 0.0003555574, -0.0223837402, 0.0009390067, 0.0060621011, 0.020452464, -0.0044087321, 0.0159788914, -0.0482217483, 0.0032676714, -0.0571982488, -0.051403027, 0.0579788014, 0.024329206, 0.023420807, -0.030151926, 0.0365338661, 0.0107529527, 0.0303202327, -0.0389087796, -0.0128705436, 0.0032938281, -0.0399636514, 0.0013765187, 0.028399054, -0.0371170714, 0.0007247782, 0.0284531526, -0.0255239941, -0.0650030747, -0.0003997508, 0.0236538537, -0.0489553064, 0.0537353531, 0.0224042851, 0.0125007723, 0.0682693124, 0.026179852, 0.0081864921, 0.0650930256, -0.007319327, 0.0186866727, 0.0519143604, -0.0116855437, 0.0081061665, 0.0508463904, 0.0349161439, 0.0334203243, -0.0355037712, 0.0275213588, -0.045331113, -0.0386583842, 0.0060980977, 0.008814997, 0.023479512, -0.0138609521, -0.0023646094, 0.0848550498, 0.0220967121, 0.0151535487, 0.0375218391, 0.0518428832, -0.0402884968, -0.0462328829, -0.046530623, -0.0600073785, -0.0216557682, -0.0391316228, 0.0092292158, 0.0588448755, -0.0328483023, -0.0286668427, -0.0696329251, 0.0263832733, 0.0624592416, -0.0501595549, 0.0451995917, -0.0200467501, 0.0025769083, 0.0023206826, 0.0363449529, -0.020858828, 0.0355858207, -0.0233885441, 0.0126613425, 0.0605195239, -0.0129441544, -0.0088794101, 0.0270746816, -0.0414635092, 0.0060667866, 0.0124779372, 0.0110279415, 0.0035434049, -0.0343408138, -0.0151729891, -0.0512918867, 0.0672363043, 0.0012108303, -0.0102657173, 0.111817956, 0.050716456, 0.0082163587, 0.0370578468, -0.0531710684, 0.0124432081, 0.0074578286, -0.0216725841, -0.025118595, 0.016412016, 0.0522424951, 0.0156072872, -0.0141279893, -0.0499414802, -0.0018862732, 0.0146981012, -0.033960849, 0.0319282562, 0.0205383431, 0.0521148555, 0.0187662039, -0.0483736582, 0.0020242133, 0.0570699424, 0.0088623296, 0.0461913086, 0.0939133242, -0.0135387359, 0.0203100722, -0.0252262931, -0.0673699826, -0.057990551, 0.0139564155, -0.0068085873, 0.0498330705, -0.0593551658, 0.012653769, -0.0091397222, -0.0609737448, 0.0419510864, 0.0460315347, -0.0340116322, -0.0344193913, -0.0628565177, 0.0330234021, 0.0090388115, 0.0108726081, -0.010029396, -0.007157492, -0.0733739808, -0.0140622258, -0.0134064667, -0.0250769444, -0.0130257821, -0.009214296, -0.0510627441, 0.0202201288, -0.0299375895, -0.0628857687, 0.0642053559, 0.0395745784, 0.0054563079, -0.0509620532, -0.0133584328, -0.0072686942, -0.01904561, -0.0215069856, 0.0020685922, 0.0151004614, -0.0656601712, 0.0460837558, -0.020166209, -0.0310371742, 0.0051568612, -0.0168718174, -0.0532628, 0.0346456803, 0.0507356636, -0.0000578918, 0.007032109, 0.0694625899, 0.0467151068, 0.0232336968, 0.0340422355, -0.0103010563, 0.0058549196, -0.0057507399, -0.0052827979, -0.0244335718, -0.0713723451, -0.0025309727, 0.0363690592, 0.0444096513, -0.0151625378, -0.0537923276, 0.0608259775, -0.0799289346, -0.0521918163, -0.0318010598, -0.050516203, -0.0123095112, 0.002441392, -0.0417617522, -0.0539701171, -0.0038713615, 0.0323497131, 0.0079391003, -0.0186703056, -0.028535869, -0.0058137351, 0.0246528219, -0.0320848823, 0.0625227317, -0.0706741586, -0.0023900571, 0.0217749737, -0.0482022092, 0.0478090011, -0.0338007621, 0.0196285024, -0.0074418271, 0.0173342284, -0.0112439664, -0.0362893455, -0.0721773505, -0.0724404082, -0.0667654499, -0.035222318, 0.0033984559, -0.0025361001, 0.0225859359, 0.0356931128, 0.0187019967, -0.0115121054, 0.0304091014, 0.0037529175, 0.0578511134, -0.0484505557, -0.0327859558, -0.0424055159, 0.0191463102, 0.0011300293, -0.0474285334, 0.0174362399, 0.0382747464, 0.0100034215, 0.0147246942, 0.0291377585, 0.0260317195, 0.0077020982, -0.010692575, -0.0306448098, 0.022948321, 0.013258202, 0.034683805, 0.0603640303, 0.0237878691, -0.0028217172, -0.0295613334, -0.0250725485, -0.0023817369, 0.021946352, 0.0057602981, -0.0802889019, 0.0200828202, -0.0252172202, 0.0282110292, -0.0766775534, -0.0139891459, -0.0257002898, -0.0387198105, 0.0060369438, -0.0120383119, -0.0302400999, -0.0425553173, 0.003844256, 0.0406890176, -0.0215133987, -0.0069476729, -0.0251071546, -0.0079085045, 0.0158106685, 0.0143260574, -0.1002146229, -0.0051240432, 0.0323465466, -0.0517331026, 0.0132915825, 0.0305614397, 0.0693904012, -0.0470196754, -0.0082751466, 0.0089838048, -0.0005822716, -0.0201002806, -0.047811795, 0.0041522803, 0.008130841, -0.0514458083, -0.0036382738, 0.0563570224, 0.0045815855, 0.010073944, 0.028226953, 0.0122411298, 0.0387537219, -0.014535781, -0.0550112985, 0.0465009101, -0.0203702785, 0.0718490407, -0.0006845852, -0.0515498295, 0.0523855053, -0.0579910576, 0.0043079657, 0.0125356568, -0.0997680798, -0.0209890492, -0.0200785939, -0.0308558736, 0.0071546044, -0.0336345807, 0.0242383275, 0.0085851895, 0.0459730439, -0.027111249, -0.019136982, -0.0121436194, -0.0589736253, 0.0026247334, 0.004643742, 0.0156301744, 0.0153176775, -0.0210078657, -0.0366818346, -0.0146520492, -0.0226165596, 0.019176824, -0.0062115449, -0.0287320279, 0.0967285261, 0.007774177, 0.0167084839, 0.0115683824, -0.0103481133, -0.0324660055, 0.0387453884, 0.0362258255, -0.0130174188, 0.0073039834, 0.0802985951, 0.0155870272, 0.0064528803, 0.0109851724, 0.0104128253, 0.0225769524, 0.041208569, -0.0613761619, -0.0764038861, -0.0380477719, -0.032268215, -0.0318226665, 0.0256990287, -0.0406721942, -0.0541219153, -0.0428390168, -0.0497382134, 0.0310898107, -0.0227651205, 0.0047107083, -0.024250539, 0.0112638492, -0.0281533934, -0.0536653884, 0.040337313, -0.0538742729, -0.0197388809, -0.0885491446, 0.0359797254, 0.0406451784, 0.037433967, 0.019727055, 0.0205143336, 0.0103152869, 0.0196198225, -0.0348677821, -0.0200306512, 0.0109308586, 0.0374403521, -0.0023053344, 0.0146067068, 0.0834218338, -0.0381241478, -0.0078180432, -0.0196642391, -0.0365517028, -0.035703972, -0.0337240063, -0.0489955135, 0.0077452785, 0.0144285364, -0.013923849, -0.0341126733, 0.016355481, -0.0261856914, -0.0404663756, 0.0197987743, 0.0067215166, -0.0474711396, -0.0156491902, 0.0125920363, 0.0308003183, 0.0160208475, 0.0578193478, -0.0408667028, -0.0157767106, -0.0043470627, 0.052376166, 0.0151900612, 0.002416176, 0.0080336016, -0.0879576653, -0.0265077502, 0.0083310949, -0.0635885224, 0.0147863533, -0.0260615274, 0.0170955807, 0.1046200544, -0.0309139546, -0.007330352, -0.0066228937, -0.0112323519, -0.0100228507, -0.0534791984, 0.0231003445, -5.106301542e-33, -0.0206021462, -0.0415535495, 0.0009795532, -0.0175585337, 0.0208666343, -0.0133601185, 0.0520891473, 0.0087865507, -0.0278458335, 0.0002367729, -0.0198572334, 0.0634629875, 0.0124063091, -0.0192174837, 0.0300423, -0.026036201, 0.0181447919, -0.0144049749, -0.0144433705, -0.0219588447, 0.0384474993, 0.0076158522, 0.0129702641, -0.0547478907, 0.0555463992, 0.0296381526, -0.0093854861, -0.0319541097, 0.0450011156, 0.0176606271, -0.0428165123, 0.0568522178, 0.0233460534, 0.0098744137, 0.0313146189, 0.0696269423, -0.0359596536, 0.0006441423, 0.0329773054, 0.0111707952, 0.0813158303, 0.0180517901, 0.0166452192, 0.0052397838, -0.0515026264, -0.0054822825, 0.042857334, -0.0341807306, 0.0078886673, -0.0290215202, -0.0253631324, 0.0329151899, -0.0132574122, 0.02776655, -0.0216253083, 0.0783535391, 0.0698650479, 0.0083745234, -0.0311245769, 0.021813944, -0.0032694857, -0.019839637, 0.0290307216, 0.0119610634, 0.0161599964, 0.0517990291, 0.0236837305, 0.011101963, -0.0494849235, -0.0043656877, 0.0810733959, 0.0053311079, 0.0285685975, 0.0485249832, 0.0006461525, -0.0779887214, -0.018257862, -0.0140825482, 0.0542115569, -0.0320032462, -0.0074178004, -0.0262396727, -0.0730775967, -0.056616392, -0.0179988202, -0.0577441305, -0.0059189512, -0.0136674503, 0.0210772324, -0.0030624939, -0.0515500866, -0.0076125506, -0.0079518873, -0.0023692199, -0.0014857632, 0.0353386328, -0.0152184013, -0.0493786074, 0.0247719251, 0.0504625365, -0.0359821096, 0.0078428481, -0.0372615606, 0.0132386265, 0.0176621117, -0.006031198, 0.0093216607, 0.054880932, -0.0813740045, 0.0107282745, 0.0007176216, 0.0580799505, -0.0229337998, 0.0072881496, 0.0175427459, 0.0603997633, 0.0020886862, -0.0111497566, 0.083657153, 0.0066233259, -0.0133406734, -0.0397113375, -0.0480230227, 0.0251622442, -0.0082147978, -0.0321155079, 0.0083231647, 0.0417647101, 0.0563629083, -0.0680186152, 0.0167918652, -0.050482396, 2.226e-7, 0.030158082, 0.0165742226, -0.0037241017, 0.0105911633, -0.0069761765, 0.0163129587, 0.045480106, 0.0282721631, 0.0072219139, -0.0019484265, -0.0235871188, 0.0372572653, -0.010693022, 0.0480476394, -0.0133444192, -0.0638202429, -0.0448730551, 0.0340031758, -0.0620723292, 0.0288683027, -0.0667213127, 0.053035982, 0.0944056064, -0.0468153507, -0.0720235556, -0.0401055217, 0.0001608135, -0.0437501259, -0.0011701876, -0.0261152741, 0.0527527966, 0.0390869603, 0.0456807613, -0.0180073231, -0.0140589634, 0.0266717765, 0.0275694784, 0.0134574166, 0.0209771376, 0.0239619333, 0.0016899105, -0.0355973132, -0.0454520248, -0.0424005575, 0.0727461651, 0.0032149486, 0.0191558581, -0.0422014147, -0.0202899873, -0.0247677099, 0.0310357939, -0.0212391671, -0.0236849636, -0.0211660322, 0.0258475039, -0.014712912, 0.0249446929, -0.0611803718, 0.0102914125, -0.0408919305, -0.0069173565, -0.0311331823, -0.0297850203, 0.0205794349, 0.0057537891, 0.0757239312, 0.0372324847, 1.533042424e-34, 0.0398149826, -0.0060953824, -0.0254885498, -0.0548289828, 0.0331974253, 0.0017307665, 0.0196328405, 0.0030974424, 0.0235589389, 0.0062215454, 0.0212895554 ]
http://arxiv.org/abs/2407.01137v1
http://arxiv.org/pdf/2407.01137v1
An Empirical Comparison of Generative Approaches for Product Attribute-Value Identification
2024-07-01T10:02:17
2024-07-01T10:02:17
Kassem Sabeh, Robert Litschko, Mouna Kacimi, Barbara Plank, Johann Gamper
cs.CL
cs.CL, cs.AI
Product attributes are crucial for e-commerce platforms, supporting applications like search, recommendation, and question answering. The task of Product Attribute and Value Identification (PAVI) involves identifying both attributes and their values from product information. In this paper, we formulate PAVI as a generation task and provide, to the best of our knowledge, the most comprehensive evaluation of PAVI so far. We compare three different attribute-value generation (AVG) strategies based on fine-tuning encoder-decoder models on three datasets. Experiments show that end-to-end AVG approach, which is computationally efficient, outperforms other strategies. However, there are differences depending on model sizes and the underlying language model. The code to reproduce all experiments is available at: https://github.com/kassemsabeh/pavi-avg
An Empirical Comparison of Generative Approaches for Product Attribute-Value Identification: Product attributes are crucial for e-commerce platforms, supporting applications like search, recommendation, and question answering. The task of Product Attribute and Value Identification (PAVI) involves identifying both attributes and their values from product information. In this paper, we formulate PAVI as a generation task and provide, to the best of our knowledge, the most comprehensive evaluation of PAVI so far. We compare three different attribute-value generation (AVG) strategies based on fine-tuning encoder-decoder models on three datasets. Experiments show that end-to-end AVG approach, which is computationally efficient, outperforms other strategies. However, there are differences depending on model sizes and the underlying language model. The code to reproduce all experiments is available at: https://github.com/kassemsabeh/pavi-avg
[ 0.002327271, 0.0374982841, -0.0117884837, 0.0379896052, -0.0073301839, 0.0011378606, 0.0139103914, -0.0353484564, -0.0776987821, -0.0439178981, 0.0330160521, -0.0140189659, 0.0019350597, 0.0760222301, 0.0032372137, 0.007957573, 0.0068840776, 0.0118459016, 0.020032756, -0.0083367601, 0.0156912562, 0.0221601576, 0.0023529264, 0.0221025459, 0.0447309986, -0.0017991508, -0.0245177299, -0.0039183521, 0.0367998518, -0.0279215407, 0.021016974, 0.0225110631, -0.0076892911, -0.0153301815, 0.000001941, -0.0297548957, -0.016295353, -0.0093961805, -0.0546195619, -0.0209616162, 0.0644806549, 0.0244677663, 0.0303077213, 0.0234696995, -0.0282074586, -0.0853329152, 0.0547862463, 0.0484338775, -0.0052060513, 0.0483078212, -0.0248866919, -0.0665770322, 0.0258741546, -0.0077786078, 0.0572137088, -0.0405242331, 0.0088316398, -0.0081589185, -0.0172607228, 0.0509561002, 0.0011046684, 0.0230777171, 0.0191276725, 0.063287288, 0.0428583659, 0.0491549075, 0.0025735332, 0.0034137943, -0.0272190068, 0.0962690562, -0.046231702, -0.0007403094, -0.0097110113, -0.0069427416, 0.0087440787, -0.0457179099, 0.0074284109, 0.0068598832, 0.0013887635, 0.0012613531, -0.0044617252, 0.0441938974, -0.017248584, -0.0172890779, 0.0133855175, -0.0091737937, 0.0219960753, -0.0009263839, -0.0302749444, -0.0021622549, -0.0523418598, -0.0415297672, -0.0172600765, 0.0067220032, 0.0219570212, -0.0012886744, -0.0410014391, -0.0045483415, -0.0302213542, -0.0103961099, 0.0267298352, -0.0070479335, -0.0301251598, 0.0352983512, -0.047667928, 0.0451472662, 0.0249677338, -0.010295189, -0.0403819904, 0.0015076911, -0.0503957309, -0.0194882806, -0.0178363919, 0.008613022, -0.0165754985, -0.0203573294, -0.0178907868, -0.0298950206, 0.0055595567, 0.0322983377, -0.0133075872, 0.0244880468, -0.0073180906, 0.0017386611, -0.0182181038, 0.0389216579, -0.056071274, 0.0105463052, 0.0138514461, -0.0458067581, 0.0188210066, 0.0080064321, 0.0824665055, -0.0514167398, 0.03198741, 0.0008744432, -0.0127734672, -0.01963971, -0.0238081701, -0.0735842213, 0.0172823202, -0.0414106399, 0.0003109972, -0.036738161, 0.0605463348, 0.009866843, -0.0090495339, -0.0677107647, -0.0038043, -0.004403682, 0.0186720677, 0.0903230608, 0.0093063768, -0.0189489294, -0.0154986214, -0.0354990512, 0.0432089046, -0.0142708169, 0.0026374278, 0.0994191319, 0.0220542885, -0.0423212871, 0.0283940881, 0.0063203075, 0.009027428, -0.0284573324, -0.0183566958, 0.004753287, 0.0068336851, -0.0091892686, -0.0088084778, 0.0359192081, -0.0458752364, -0.0198211446, 0.085865885, -0.0159903448, -0.025317451, 0.0418764763, 0.0379020609, 0.0188154206, -0.0067222966, -0.0656273738, 0.0446774103, 0.0375332236, -0.0232370272, 0.0094787683, -0.0400300957, 0.033374019, -0.0386426598, -0.0337813161, 0.0205173958, -0.0433432236, 0.0303584225, 0.0366795994, 0.0509634987, 0.0175480321, -0.0394722223, -0.0307116881, -0.0158034507, -0.0441515483, 0.0197096076, -0.006421668, 0.0398668312, 0.0926633328, 0.0684081391, 0.0481988229, -0.0105425194, -0.0118323937, -0.0050026616, 0.0046671755, 0.0017252802, -0.0464858599, 0.0042560357, -0.0735441893, -0.0530240387, -0.0700182244, -0.0094608748, 0.0208338983, 0.0057086302, 0.0165508948, 0.0432780832, -0.0273683202, 0.0163773708, -0.0076723159, 0.0143313929, -0.0504862815, 0.0684432611, 0.0241375696, -0.0292526074, 0.0355437212, 0.0260499418, -0.0017394611, 0.0090380125, -0.0512080155, -0.0076162745, 0.0401664488, 0.0328132659, -0.0566701926, 0.0245936997, -0.0499505736, 0.0167055912, -0.0103875007, -0.0512658246, -0.035170339, -0.0095147444, -0.0503983833, 0.0109519679, -0.0235425327, 0.0055739074, -0.035138756, 0.0594792105, 0.0005788784, 0.0728645697, 0.0307771638, -0.0065334835, -0.0377623029, 0.0266914088, 0.0120974649, -0.0323916487, 0.0028500645, 0.0113016609, -0.0117512681, 0.0384600572, 0.0282044541, -0.0032499838, -0.0087717222, -0.0033073542, -0.0165955666, 0.0067251241, 0.0207599234, 0.0330671258, -0.0142352367, 0.0247336235, 0.012027611, -0.0057693175, -0.0746141225, 0.0161897615, -0.0448476225, -0.003957896, 0.0161749572, 0.0136166774, -0.0517580546, 0.0403329879, -0.0070102001, 0.0304445177, 0.0417905413, 0.0192346051, 0.0344817266, -0.0672133788, -0.0284068044, -0.0227110498, -0.0130523285, 0.0202049445, -0.0174538232, -0.0641590357, 0.0029291401, 0.014279915, 0.0286390893, 0.0001628015, 0.0518479161, 0.0158019029, 0.0006730857, -0.0646760836, -0.0152849611, -0.0669020191, 0.0191539414, 0.0222856328, -0.0299958996, 0.0126441047, 0.0671628937, -0.0264100786, 0.0037078541, -0.0345762037, 0.0407093316, 0.0107835531, -0.0491107553, -0.0263792612, 0.0277233683, 0.016076535, 0.0504492, -0.0181779526, -0.008749214, 0.0562872551, -0.0133390278, -0.0218654331, -0.0443420708, 0.0184601936, -0.0306061152, 0.0242449082, 0.0165441465, 0.0371329859, 0.0129150515, -0.0666297823, -0.0059028091, 0.0746757761, 0.0572291613, -0.0557697564, -0.0004896174, -0.0169769004, 0.0114162164, -0.0259088073, -0.0328400806, -0.0358488075, -0.045045387, 0.0307428408, -0.0084078778, -0.0041932501, -0.0074389498, -0.0607992485, 0.0115152523, -0.0214213133, -0.0085385945, -0.0124975881, -0.0187191647, -0.0047735921, 0.0577747598, 0.0929556265, -0.038479086, -0.0121167172, -0.010998969, -0.0030167471, 0.0326579101, -0.0170309339, -0.0063420022, -0.0237442013, 0.0191984307, 0.0388632044, -0.0270409938, 0.0479634218, 0.0483200178, -0.0235560667, -0.0203648414, -0.0271517411, 0.0844768956, 0.0087554771, -0.0619129017, 0.0041397396, 0.0526581556, -0.000361241, 0.0040569641, 0.0059120199, -0.0973750055, -0.0369354486, -0.0148889469, 0.0502009951, 0.0023955121, 0.0057295836, -0.0063450998, -0.1249842122, 0.010877803, -0.0085104667, -0.0031514964, -0.0759548172, -0.0222563706, -0.0328440368, -0.0446857475, 0.0625363067, -0.0120781735, -0.0160907861, 0.0238893311, 0.012564511, 0.0384871103, -0.0843681321, 0.0336381011, 0.0006478955, 0.015075624, 0.0793090388, -0.0226678438, -0.0003435866, -0.0151044838, -0.0457613803, 0.0001501434, -0.0349850915, 0.0020852855, 0.0468829311, -0.0106984973, -0.0014248352, 0.0174049716, 0.0226910189, -0.0408882648, 0.0074191596, 0.0007335567, 0.0079501774, 0.003304265, -0.0472435318, 0.0073783351, -0.0826869234, -0.0140412785, 0.0673646927, 0.0200167689, -0.0328964554, -0.0428113341, -0.0412295349, 0.0165938586, -0.0576717779, -0.0330697261, 0.0282704327, 0.0311769638, -0.0757394657, -0.0542556755, -0.0335586034, 0.047248017, 0.0004487998, 0.0055781556, -0.028084049, 0.009389841, 0.0201933086, -0.0907936096, -0.0323261246, -0.0251350235, 0.0364138559, -0.0159636661, 0.0118837785, 0.063648589, -0.0917787105, -0.0084015867, -0.0048805936, -0.0367277712, -0.0268430337, -0.0226023737, 0.0381108299, 0.0114536742, 0.0490363911, -0.0392997973, -0.0654416457, -0.0026840633, 0.0531096943, -0.0223711729, -0.0365137458, -0.0084057385, 0.0207534116, -0.0071595758, 0.0065108696, -0.048638355, 0.0246634446, 0.0122630149, 0.0589280613, 0.0363578647, -0.0439909361, 0.0576130599, 0.0321686342, -0.0073065935, -0.0270640906, 0.0327780321, -0.0150186624, 0.0078295199, 0.0114182476, -0.0233305842, -0.0501377396, -0.0238315649, 0.035835132, 0.011703399, 0.0083367648, 0.0339007117, 0.0449518822, 0.0392372198, -0.0410991609, 0.0215570573, -0.0508746877, 0.0444253758, 0.0190155413, -0.013961398, -0.0075930324, -0.0050185262, 0.0435479023, 0.0533968098, -0.0333718993, 0.0340976827, 0.0091950595, 0.0063964669, -0.072807312, 0.0447738357, 0.0416985676, 0.0135186622, -0.0793127045, 0.004609751, 0.0004185895, 0.0098097585, 0.0291277654, -0.0245824512, -0.015127575, -0.0299280137, 0.0609513037, -0.0014520824, -0.0256324299, 0.0135755083, 0.0175916143, -0.0325489976, -0.0771274343, 0.0873456895, 0.0208137445, 0.0566619001, -0.0423942469, -0.0271758121, -0.0630428866, 0.0094113676, -0.0437287763, -0.0308714956, -0.028744394, 0.0337283984, -0.0306099672, -0.0453650877, -0.0419054665, -0.0318823941, 0.0710054711, 0.0597990453, 0.0287695769, 0.047475487, 0.0041255034, -0.0055098315, -0.0133902309, -0.0023981873, -0.0570303574, 0.0211525764, -0.0214308091, -5.566524111e-33, 0.0150756212, -0.0209159143, -0.0070827734, 0.0081325443, 0.0203026757, -0.0146520315, -0.034094315, -0.008207269, 0.0126454262, 0.0071703736, 0.0401363522, -0.0299634971, 0.0159847774, 0.0557120703, 0.0416289233, -0.0437626205, 0.0432382375, 0.0398747735, -0.0186703727, 0.0600940213, 0.0263497923, -0.0023260515, 0.0557099134, -0.035106957, -0.0079189064, -0.022625871, -0.0225976054, 0.0085706152, 0.046412427, 0.085279271, -0.0068869758, 0.0657592565, 0.0181217175, -0.0724321082, 0.002606584, -0.0284108631, -0.1169275045, -0.0067015532, -0.0527633317, 0.0405942425, -0.0098271472, -0.0365371332, -0.0036741165, -0.0105895149, -0.00243426, 0.01618113, 0.0620804057, -0.0344377868, -0.0242243465, -0.1032748446, -0.0468778014, 0.0202053953, -0.0160814505, -0.0107916128, 0.1140365228, 0.023977749, 0.0160006937, 0.0062367204, -0.0120377671, 0.0640066192, -0.0062636235, -0.0176514052, 0.0529155657, 0.0273456108, 0.008477876, 0.0115871243, 0.0662702024, -0.0245576855, -0.0256682243, 0.0825247541, -0.0321542136, 0.0697106495, 0.0267282873, 0.0532044843, 0.0395867452, 0.0013135873, -0.016704252, 0.0732156187, 0.0480975397, 0.0085938862, -0.0051805875, 0.008545843, -0.0392888188, -0.0197296888, -0.0145331593, 0.0118175671, -0.0579505935, -0.0308312587, 0.0345329233, 0.0371061042, -0.0893559307, 0.0614692084, 0.0504560396, -0.0401121676, -0.0195382312, 0.0328207463, -0.0135394204, 0.0534268841, -0.0009770907, -0.0416461639, -0.0033609062, -0.0403146222, 0.0381467678, -0.0491551422, -0.0232774168, 0.0005285851, 0.0291058794, 0.0091901487, -0.0066345134, 0.0212208331, -0.0142284613, 0.0146432724, -0.0029323816, 0.0053344532, 0.0201493781, 0.029811183, -0.065289259, 0.0394473039, 0.0272820909, 0.0571915768, -0.0357949436, -0.0441222228, 0.0474451892, 0.0031826894, -0.0316501074, 0.0233151503, -0.0496242084, -0.0497255437, 0.0132405479, -0.0082069607, -0.0044659255, 0.0327461995, 2.608e-7, 0.0098945461, 0.0124041932, 0.0522062555, 0.021893695, -0.0017345543, 0.0518768914, 0.0527826063, 0.0207234286, -0.0034260056, -0.0477833264, 0.0331157595, 0.0141957346, 0.0485313982, 0.0030988122, -0.0335935429, 0.0545687415, -0.0102333333, 0.0136065874, -0.0219437834, 0.0149479993, 0.0541893952, 0.0573914088, -0.0031007985, 0.0030927621, 0.0314685479, 0.0452154689, 0.0633776486, 0.0082149776, 0.0309030972, 0.0337962173, 0.0026318559, 0.0068014488, -0.0297420379, -0.0231347699, -0.040580228, 0.0102260299, 0.0298538134, 0.0330316871, 0.0032844828, -0.0327196233, -0.021762915, -0.0326049216, 0.0082769748, -0.044406116, 0.0747401118, -0.0508821346, -0.0380544439, -0.0081180725, -0.0665004998, 0.0337489955, -0.0563100874, -0.0333287306, -0.0237071924, 0.0004656255, 0.0140256993, -0.0128072789, -0.018892318, -0.049307622, -0.001452223, -0.0189558174, -0.0230999589, -0.0233188961, 0.0040002661, 0.0575409457, 0.0209131017, -0.041860532, -0.0083091967, 2.070032006e-34, 0.0263213255, 0.0097520845, -0.0223776475, 0.0409858637, 0.018485887, -0.024067305, 0.0018130083, -0.0090468284, 0.0021908393, -0.0553026199, -0.0488163009 ]
http://arxiv.org/abs/2407.01130v1
http://arxiv.org/pdf/2407.01130v1
Cross-Lingual Transfer Learning for Speech Translation
2024-07-01T09:51:48
2024-07-01T09:51:48
Rao Ma, Yassir Fathullah, Mengjie Qian, Siyuan Tang, Mark Gales, Kate Knill
cs.CL
cs.CL
There has been increasing interest in building multilingual foundation models for NLP and speech research. Zero-shot cross-lingual transfer has been demonstrated on a range of NLP tasks where a model fine-tuned on task-specific data in one language yields performance gains in other languages. Here, we explore whether speech-based models exhibit the same transfer capability. Using Whisper as an example of a multilingual speech foundation model, we examine the utterance representation generated by the speech encoder. Despite some language-sensitive information being preserved in the audio embedding, words from different languages are mapped to a similar semantic space, as evidenced by a high recall rate in a speech-to-speech retrieval task. Leveraging this shared embedding space, zero-shot cross-lingual transfer is demonstrated in speech translation. When the Whisper model is fine-tuned solely on English-to-Chinese translation data, performance improvements are observed for input utterances in other languages. Additionally, experiments on low-resource languages show that Whisper can perform speech translation for utterances from languages unseen during pre-training by utilizing cross-lingual representations.
Cross-Lingual Transfer Learning for Speech Translation: There has been increasing interest in building multilingual foundation models for NLP and speech research. Zero-shot cross-lingual transfer has been demonstrated on a range of NLP tasks where a model fine-tuned on task-specific data in one language yields performance gains in other languages. Here, we explore whether speech-based models exhibit the same transfer capability. Using Whisper as an example of a multilingual speech foundation model, we examine the utterance representation generated by the speech encoder. Despite some language-sensitive information being preserved in the audio embedding, words from different languages are mapped to a similar semantic space, as evidenced by a high recall rate in a speech-to-speech retrieval task. Leveraging this shared embedding space, zero-shot cross-lingual transfer is demonstrated in speech translation. When the Whisper model is fine-tuned solely on English-to-Chinese translation data, performance improvements are observed for input utterances in other languages. Additionally, experiments on low-resource languages show that Whisper can perform speech translation for utterances from languages unseen during pre-training by utilizing cross-lingual representations.
[ -0.0327687822, 0.0293795802, -0.0180625245, 0.050833784, -0.0304217897, -0.0241801515, 0.0484008156, -0.0011795264, -0.0534178168, -0.0237792153, -0.1029111072, -0.0256789401, 0.0185087062, -0.0183354095, 0.037954811, -0.0563253537, 0.0492058545, -0.0227275155, -0.0169156808, 0.0019730066, -0.0124828275, -0.0089019919, -0.0089333476, 0.0225330926, -0.006920781, -0.0058772247, 0.0155205037, 0.0266761258, 0.0116701769, 0.0038274352, -0.048374936, -0.0063036252, 0.0371833704, 0.0328823552, 0.000001771, -0.0280314349, -0.0281304978, 0.0055571278, -0.0175502989, -0.0105099622, 0.0309554301, -0.0438594371, -0.0256069656, 0.0368598849, -0.0053160209, -0.0570316836, 0.0635274649, 0.0401887335, 0.0196091831, 0.0821524784, -0.040694043, -0.0070473179, 0.0185234062, -0.0274199918, 0.0156924203, -0.0483956635, -0.0179184284, -0.0077006752, -0.0539408028, 0.0010909679, -0.055155348, 0.0610558577, -0.0310609993, 0.0070453831, -0.0088498928, 0.0119677503, -0.0387071334, -0.0280277319, -0.0300579611, 0.0634051487, -0.0554702394, 0.0003228151, -0.0153044332, 0.0225969162, -0.0205452144, -0.019243598, -0.0700151771, 0.0106764631, 0.0450779535, 0.0033581147, 0.0091997171, 0.054987289, 0.0242342595, -0.0580949932, 0.0050521344, 0.0142032979, 0.0314839333, -0.0301052202, 0.0082868179, -0.0068506254, 0.0481924377, -0.0184728503, 0.0384786166, 0.0065761446, 0.0064249928, 0.0189315695, -0.018561719, -0.0248558577, -0.0178823154, -0.0201840885, 0.026462283, 0.0897376314, -0.0437197648, 0.0453263447, -0.0621907935, 0.0675357953, -0.0192578807, 0.0109117301, -0.057943549, -0.063199155, -0.0381558053, 0.0192883052, -0.0524446368, 0.0196192451, -0.020499099, -0.0410039648, -0.0290247984, -0.01047095, -0.011409549, 0.0091940342, -0.0091124866, -0.0260026101, -0.0629914626, 0.0096435416, 0.0097680045, 0.0698199868, 0.0094293039, 0.0383165441, -0.0022713218, -0.0559672192, -0.033996053, 0.0280095227, 0.0249385107, -0.0257680509, -0.0042311507, 0.1057864651, -0.029458873, -0.0012256231, -0.0358585604, 0.0058456883, -0.0044176341, -0.0485050492, 0.0314188823, -0.0376866832, 0.0644766837, 0.0047915471, 0.0328629464, -0.0497883037, -0.0019978245, -0.0118675288, -0.0150104715, 0.0498927534, 0.0271618459, 0.0141684823, 0.0364506915, -0.0238428265, -0.0584159866, 0.0733167157, 0.0583482571, -0.001787373, 0.0368830785, -0.0348249301, -0.0387101024, 0.0629432499, 0.0247719549, 0.0296680331, -0.0169111248, -0.0225973837, 0.0416619889, 0.0058614006, 0.0210089926, 0.034515094, -0.0372741036, -0.0111095384, 0.0416738987, 0.0820291787, 0.0273911115, 0.0265930071, 0.0518633202, -0.0067447224, -0.0470548347, 0.0083466126, -0.0019372855, 0.0402375385, -0.0012932591, -0.0030207385, 0.0387839749, 0.0220068879, -0.0527063385, 0.0225225147, 0.0004309968, -0.0210067388, 0.0349561684, -0.0128565105, 0.039088726, 0.0402446613, -0.0597277768, 0.0735308826, 0.0249336082, -0.0671437532, 0.0504354015, -0.0004783619, -0.0186906438, 0.0366020389, -0.0125988629, 0.0142230727, 0.0154656945, -0.0266761668, 0.0033104366, 0.030567674, 0.0511484258, 0.0167732891, 0.0709783137, -0.0522867925, 0.012342901, -0.009359967, -0.0059146252, 0.0708381683, -0.0321906246, 0.0710340068, 0.0105452025, -0.0176176243, -0.0100589711, -0.0228759628, -0.070063211, 0.0098606991, 0.0504627787, 0.0270096101, 0.0487808473, 0.0296679065, -0.0259291735, 0.0157205276, 0.0186682809, -0.0510905683, -0.0031228655, 0.0281592328, -0.0600346066, -0.0382800438, 0.0057293479, -0.0289549436, 0.0616594292, -0.0139778173, 0.0099147279, -0.0751233995, 0.0442496203, 0.017804889, 0.0753990039, -0.0439372249, 0.0329709351, -0.0113779083, 0.0510668457, 0.0338941589, -0.0334790722, 0.0559845343, 0.0045327293, -0.0088197291, 0.0154217295, 0.0372177288, -0.0495793, -0.0325596929, 0.0639378875, -0.0081857285, 0.0233919844, 0.0183686577, -0.0195348784, 0.0073305778, -0.0095405011, -0.0852181613, 0.0471346006, -0.0060822889, 0.0148912547, 0.0073745963, 0.0428649299, 0.009757407, 0.005300161, -0.0437027328, 0.0208148062, 0.0119229946, 0.0292365476, -0.0263619311, -0.0232179333, 0.0289307535, -0.0240936782, -0.0013582307, 0.0512397103, 0.0202284046, -0.0437829681, -0.0306243505, -0.0307769254, 0.0535264388, -0.0236907806, -0.0066224416, 0.0008773779, -0.051907219, -0.0220620893, 0.0130338455, 0.0322250538, 0.0315665007, -0.035317041, -0.0004622358, 0.0242373664, -0.0402758718, -0.060387712, 0.0011572021, 0.0252807923, 0.0041238624, -0.0270276796, 0.0234572776, -0.0307712257, 0.047546085, 0.0256055985, 0.0027261483, -0.0627382547, -0.0416227616, -0.0129949292, -0.0225670822, -0.0137785701, -0.0016486857, -0.0009932646, 0.0347804204, -0.0269323811, -0.0028147944, 0.0293423049, -0.0784485266, -0.0448591821, -0.0058551249, -0.0120305596, -0.0214991141, 0.0113506103, -0.053203363, 0.0306556206, 0.0019477643, -0.0384679325, -0.0089467065, 0.0101899952, 0.0096034845, -0.0384725928, 0.0031302013, -0.0051284907, -0.0227976684, -0.0341403484, -0.0230090171, -0.0224621315, 0.0119228885, -0.001424127, 0.0418132693, -0.0158915557, 0.0000495259, -0.0603643842, 0.0503576137, 0.0449919589, 0.038582921, 0.000287037, 0.0366349779, -0.0171498414, 0.0120588122, -0.0208576769, 0.0028203528, -0.0071857157, -0.0368249156, 0.0447954945, -0.0197320022, 0.0644443855, 0.0182880647, -0.0118692676, 0.0069872332, 0.0411185101, 0.0386785902, -0.0508300103, 0.001516324, 0.0832132399, -0.0174533445, -0.0073998254, 0.0815756246, -0.0390599743, -0.0140108867, -0.0263299923, -0.0129152369, 0.0037199822, 0.0104832593, 0.0020028425, -0.0494004823, -0.0300190058, 0.0371820293, -0.0117064659, 0.0425271727, 0.0267749168, -0.0221082065, -0.1296048611, 0.026555568, 0.0413346514, -0.0976776108, -0.0431239605, -0.0557987913, -0.0227408689, -0.0221292712, 0.0614660084, -0.0490995683, -3.692e-7, -0.0370944254, 0.0187212937, 0.0245307665, -0.0325428918, 0.0163143761, -0.0454534404, 0.0552755147, 0.0299701728, 0.0394143574, -0.0093612159, -0.0305076744, -0.0046260594, -0.0074377647, -0.0161319952, 0.0059183771, 0.0369025804, 0.0074512498, -0.0117329052, 0.0767113417, -0.004889857, -0.0225437917, 0.0112891616, 0.0273140967, 0.0568529628, 0.0216664243, 0.0073584411, 0.0424309596, 0.017603498, 0.0009344617, 0.0828536898, 0.0116186617, -0.0299035218, 0.0110100918, -0.0030960252, -0.0054201735, -0.0327907242, -0.0204037447, 0.0037660557, -0.0431514494, -0.0178686325, -0.0688010827, -0.0273113567, -0.008145839, 0.0306033678, 0.0482733026, 0.0082301348, 0.0330377296, -0.0118205994, 0.0035181451, -0.0323708951, -0.0277707111, 0.0270505697, -0.0205259472, -0.0128049962, 0.0453059673, -0.0446523465, 0.0222926755, -0.0287102591, -0.0495516546, -0.0372808725, -0.0446237549, 0.0143240262, 0.0105641223, 0.0508171208, -0.0246396139, 0.0122910887, 0.0528878942, -0.0431954935, -0.0835840926, -0.0053916117, 0.0679905638, -0.0175639354, -0.003147861, 0.0377498642, -0.0428045653, 0.0025834793, 0.0143973408, 0.0263211373, 0.0051218518, -0.0352763347, -0.0179839134, 0.0006706028, 0.0292743742, 0.0044217734, 0.011722588, -0.0423416682, 0.0298611466, -0.0375870541, 0.0276450831, -0.0437539741, -0.0491420627, 0.0538991839, -0.0064339656, 0.0095988568, 0.0034983149, -0.0149851404, -0.0209550858, -0.0144512365, 0.0100487769, 0.0220784452, 0.008931323, -0.0120198047, 0.039019037, -0.0023726381, 0.0267460402, 0.0196609683, 0.015798172, -0.0519924387, 0.0071135396, -0.0264545586, 0.0376551524, 0.0230359454, -0.0236123111, -0.0292638093, -0.031837713, 0.0106372163, 0.0121812904, 0.0542800799, -0.0318538658, 0.1075751409, 0.0121120848, 0.0134270722, -0.0246274564, 0.03753566, -0.0459689312, -0.0073722601, -0.009549032, -0.021328371, -0.0012795981, 0.0391646661, 0.0493645109, 0.0067137713, 0.0411466248, -0.0338530727, 0.0300297607, -0.0091925152, -0.0211338121, 0.0481256768, -0.0056838212, 0.0027135478, 0.0100504411, -0.0178948585, -0.0747206807, 0.0418956988, -0.0422907509, 0.0057227523, 0.005267648, -0.0013600988, 0.0636516064, -0.0401389189, 0.015072478, -0.027825661, -0.0576495826, 0.0124225346, 0.0011491554, 0.0115457149, -5.729720563e-33, -0.0441960543, 0.0393941328, 0.0254472848, 0.0202390887, -0.0256536026, -0.0134578757, -0.0602217615, -0.0094486112, -0.0313852206, -0.0094387624, -0.0146557009, -0.0093282126, 0.0259824395, 0.0347986035, 0.0003309551, 0.0001021305, 0.0587450936, -0.002882981, -0.0124562504, 0.0407264978, 0.0615749918, 0.0502549522, 0.0599438176, -0.044123169, -0.0198559966, 0.0062971939, 0.0114476969, -0.0043638563, 0.0636210516, 0.0423860215, -0.003873422, 0.0270109978, -0.0004453256, -0.0580764487, -0.0296811052, -0.0008147049, -0.0852321386, -0.0098296134, 0.0254907422, 0.0347068943, 0.0249020662, -0.0323274843, 0.0199554656, -0.0229113214, 0.0109210284, -0.0290294066, -0.006491296, -0.0389296152, -0.0351715498, -0.0152010545, -0.0864701197, -0.0035140454, -0.0191351157, -0.0239827484, 0.0950220004, 0.0621315427, -0.0186199881, -0.0337147079, -0.0653804615, 0.0277590305, -0.0586994775, 0.0487640053, 0.0428411737, 0.0295057297, -0.0332030319, 0.0233857818, 0.0503808409, -0.0526208691, 0.0735488907, 0.0042423285, 0.0528435782, 0.019393811, -0.0012229518, 0.0484171249, -0.0029260309, -0.0666689277, -0.0534084924, -0.0018745952, 0.0069422764, -0.0142674195, 0.0432815552, 0.0410746671, 0.0218693018, -0.0103068482, -0.0633733794, -0.0525668189, -0.024551345, -0.0432234332, 0.0282551609, 0.0026117088, -0.000942734, -0.0095516993, 0.1268623918, -0.0184645597, -0.0123389596, 0.0046901172, -0.0185710564, -0.021041641, -0.0400963388, 0.0542515628, -0.0468081683, -0.0823591426, 0.0404335968, 0.0186775383, 0.0181797817, -0.0189732518, 0.0374289267, 0.027336387, -0.0436789505, 0.0014307293, -0.0453415401, -0.0074933092, -0.0001104881, 0.0331232324, -0.0039148605, 0.0261281841, -0.014900893, 0.0489797443, -0.0130307181, -0.0005783052, -0.0126836989, -0.0241804309, -0.0106162196, 0.0261740815, -0.0833804458, 0.0259756595, -0.0318659879, -0.0003237756, 0.0394929387, -0.0185398981, -0.0312844589, 0.0112763541, 2.604e-7, -0.0134431859, 0.0006017266, -0.0059105717, -0.024741387, 0.0319685154, 0.0218715072, -0.0767434761, 0.0456896648, 0.0244267378, -0.0013386128, -0.019266054, 0.0280361716, 0.1212718487, 0.0330399945, -0.0798882917, -0.0441411026, -0.0270350892, 0.0131844915, -0.0175295603, 0.0092059877, 0.0006292176, 0.09040007, -0.0231344961, 0.0079101212, -0.0125279939, -0.0035514517, 0.0782576874, -0.0317728445, -0.0399817489, -0.0120685156, -0.0401599333, 0.0444522128, -0.0541798919, 0.0042995918, -0.049805712, 0.0560426712, 0.0733008534, 0.0575204678, 0.0153555525, -0.0656977519, -0.008462836, 0.0272440873, -0.0475877225, 0.000289915, 0.0429056212, -0.013469656, -0.0379735641, 0.0134794852, -0.0223691296, 0.0572666004, 0.0418967269, -0.0235446766, -0.0279435478, 0.0262763016, 0.0503861383, 0.0441118069, -0.0571162663, -0.0080591999, -0.0116054164, 0.0090632457, -0.0347200148, -0.0214359686, 0.0049388665, -0.0536535569, -0.0095527582, -0.0137466826, 0.0055568125, 1.787955377e-34, 0.0084854802, -0.0120627452, 0.0148111451, -0.0071065086, 0.020547308, -0.0522149727, 0.0207644049, 0.0095734503, -0.0395114645, -0.0221770648, -0.0389329791 ]
http://arxiv.org/abs/2407.01126v1
http://arxiv.org/pdf/2407.01126v1
Investigating the potential of Sparse Mixtures-of-Experts for multi-domain neural machine translation
2024-07-01T09:45:22
2024-07-01T09:45:22
Nadezhda Chirkova, Vassilina Nikoulina, Jean-Luc Meunier, Alexandre Bérard
cs.CL
cs.CL, cs.AI
We focus on multi-domain Neural Machine Translation, with the goal of developing efficient models which can handle data from various domains seen during training and are robust to domains unseen during training. We hypothesize that Sparse Mixture-of-Experts (SMoE) models are a good fit for this task, as they enable efficient model scaling, which helps to accommodate a variety of multi-domain data, and allow flexible sharing of parameters between domains, potentially enabling knowledge transfer between similar domains and limiting negative transfer. We conduct a series of experiments aimed at validating the utility of SMoE for the multi-domain scenario, and find that a straightforward width scaling of Transformer is a simpler and surprisingly more efficient approach in practice, and reaches the same performance level as SMoE. We also search for a better recipe for robustness of multi-domain systems, highlighting the importance of mixing-in a generic domain, i.e. Paracrawl, and introducing a simple technique, domain randomization.
Investigating the potential of Sparse Mixtures-of-Experts for multi-domain neural machine translation: We focus on multi-domain Neural Machine Translation, with the goal of developing efficient models which can handle data from various domains seen during training and are robust to domains unseen during training. We hypothesize that Sparse Mixture-of-Experts (SMoE) models are a good fit for this task, as they enable efficient model scaling, which helps to accommodate a variety of multi-domain data, and allow flexible sharing of parameters between domains, potentially enabling knowledge transfer between similar domains and limiting negative transfer. We conduct a series of experiments aimed at validating the utility of SMoE for the multi-domain scenario, and find that a straightforward width scaling of Transformer is a simpler and surprisingly more efficient approach in practice, and reaches the same performance level as SMoE. We also search for a better recipe for robustness of multi-domain systems, highlighting the importance of mixing-in a generic domain, i.e. Paracrawl, and introducing a simple technique, domain randomization.
[ 0.0067391549, 0.0263269525, 0.010732579, 0.0140068624, 0.0162520986, -0.0198186543, 0.0741310194, -0.0133042149, -0.0499875546, -0.0177459605, -0.0674297065, -0.0567800514, 0.0268426575, -0.0026902775, 0.0427825078, -0.0468451865, -0.0285036229, -0.016901236, -0.0649437681, -0.0068744277, -0.0228209794, -0.0074590067, 0.0059194723, 0.057416752, -0.0211058725, 0.024325503, -0.0244516544, 0.0424544699, 0.0385465659, 0.0080848327, -0.002043019, 0.0596643351, 0.0343212299, 0.0374180228, 0.0000020574, -0.0005020312, -0.0331340022, 0.0204333309, 0.0233991072, -0.0270656347, 0.0378868692, -0.045013465, 0.0035735574, 0.0074962359, -0.0234719403, -0.0259103719, 0.0882050619, 0.028806461, 0.0569229722, 0.1040218547, -0.016865762, -0.0181932151, 0.0091383718, -0.0694702119, -0.0181622766, -0.0598469302, 0.0009167323, -0.0189150181, -0.0471782498, 0.0105694057, -0.0111163044, 0.0372835062, 0.0261017773, 0.0115192253, -0.0076431995, 0.0090860547, 0.0206894763, -0.0278072208, -0.013949546, 0.0590215847, -0.0525738485, 0.0267685894, -0.0170559492, 0.0122497063, 0.0083727352, 0.0217929259, -0.0384314097, 0.0177285671, -0.0058747302, -0.0004654213, -0.0531593412, 0.0753354356, 0.0494180433, 0.0093681542, -0.0748243481, -0.0014405416, 0.0247993246, -0.0100038126, -0.034173239, 0.0431484878, -0.0421349108, -0.0090857456, 0.0382289328, 0.0136301192, 0.0041864538, 0.00022206, -0.0839071274, -0.0682955757, -0.0290260818, 0.0129652498, 0.0458410345, 0.0526297353, -0.0074179242, 0.0445927531, -0.0042050751, 0.0066805026, -0.0610403456, 0.0113111418, -0.0367847569, -0.0294035878, -0.0557128266, 0.0137563357, -0.0206205528, 0.0458600186, -0.0177752692, -0.0021404293, -0.0019385162, -0.0167991966, -0.0306270011, -0.042506177, 0.0335245915, -0.0068864767, -0.0958516747, -0.0279365107, -0.0158497412, 0.0759307221, -0.0157875679, 0.027553698, 0.0616409145, -0.0294689592, -0.0370219424, 0.0025119332, -0.0312572606, -0.0358911976, -0.0191856995, 0.09908171, -0.0382546186, -0.0218370445, -0.0321714841, -0.0195047613, -0.015489826, -0.0568136014, 0.0358554572, -0.0568389297, 0.0662279874, 0.0029332661, 0.0322263911, -0.1154788062, -0.0125088124, -0.006773768, -0.0147169791, 0.0307625402, 0.004898991, -0.031778805, 0.0104819676, 0.035092894, -0.067697823, 0.0600637272, 0.0148222176, 0.0140080983, -0.0323625244, 0.0141214682, 0.0001865372, 0.0139804501, 0.0052232132, 0.0238591582, -0.0095401872, -0.0363534577, 0.0086726276, 0.0174204558, 0.0414566807, 0.0642850921, -0.0420129262, -0.0193447005, 0.0728202164, 0.0055139158, 0.0044663637, 0.0695938691, 0.0889538452, -0.0146530503, -0.0064995522, 0.0387561694, -0.0291616898, 0.0202301629, -0.0171955526, -0.0387698598, 0.0345245264, 0.1008024067, -0.0410332046, -0.0289642587, 0.0342244953, -0.0068825823, -0.0257417504, -0.0322632194, 0.0581649616, 0.0271794721, -0.0333962888, 0.051327195, 0.0048457235, -0.0449366942, 0.0307791866, -0.0119648976, -0.0651628897, 0.0093006119, -0.0005349574, -0.006797662, -0.0260754712, -0.0477862097, 0.0197735894, 0.0277711395, 0.0536948144, 0.0487352684, 0.041857712, -0.0384352729, -0.0569948405, -0.006150607, 0.0202406831, 0.0340987258, 0.0319055431, 0.0293698795, 0.0563240647, -0.0090289712, 0.019500602, 0.020529639, -0.0231978446, 0.0302519519, 0.0367931724, 0.0119093005, 0.0249976702, 0.0235065408, -0.0415508822, 0.0040583839, 0.0011558487, -0.0340072438, -0.0620003492, -0.0147214476, -0.0706858709, -0.0012317324, 0.0089758225, -0.0496314131, 0.010590516, -0.002857401, -0.028135879, -0.0345926583, -0.0081875157, -0.0051059867, -0.0189916193, -0.0050357273, 0.0118203545, 0.0239292439, 0.0291354097, -0.0289075114, 0.033726465, -0.0039095529, -0.0488558188, 0.0026021895, -0.0348754227, 0.0021945189, -0.0412695184, -0.0391232409, -0.0271979552, 0.0083058123, 0.0647191554, 0.0116736079, 0.0046647312, 0.0013684717, -0.07318151, -0.0312393494, 0.0088978242, -0.0274769831, 0.0111651933, 0.0239919126, 0.0560928397, 0.0186329503, 0.0245984886, -0.024878297, 0.0102265915, -0.0364398807, 0.0118914284, -0.0190643221, 0.0139878243, 0.013808446, -0.0021337268, -0.0274752043, 0.0132862329, 0.086045377, -0.0236838292, 0.0035275726, -0.07187628, 0.0522733852, -0.0216947831, 0.0221784152, 0.0020876899, -0.0264378842, -0.0074925511, -0.0338113084, 0.042891454, 0.025690997, -0.0158334132, -0.0088295871, 0.0525295958, 0.0113891112, -0.0468235984, 0.0205048956, -0.0419684015, -0.0072357045, -0.0379901156, 0.0322051197, -0.0031979927, 0.0602804869, -0.0144188637, -0.0390457623, -0.0570710935, 0.0124705359, 0.0198696442, -0.0417398661, 0.0025487607, 0.043305818, 0.0483223982, 0.0203524567, -0.0123744681, -0.0127572212, 0.101079002, -0.0178400148, 0.0138441687, -0.027462719, -0.0333009437, -0.0172370765, -0.0264307652, -0.0539390966, 0.0343462452, 0.0037248835, 0.0110511892, -0.0683455095, 0.0098896697, -0.0159635935, 0.0224660821, 0.0635772496, -0.0499962941, 0.003880528, -0.0055904295, -0.0345899686, -0.015719993, -0.0115820607, -0.0123609938, 0.0249164961, 0.0289106853, -0.0436323136, -0.0861903355, 0.0162694082, 0.0229033735, 0.0741931051, -0.025066901, -0.0278697237, -0.0092484839, 0.0399347953, -0.0232222416, 0.0425014608, 0.0138568366, -0.0423833244, -0.0094722984, 0.0127724241, 0.0027003428, -0.0404150859, -0.0673701018, -0.007902327, 0.0035610956, 0.022451289, -0.0207299851, 0.0074979961, 0.0516799912, -0.0396773405, 0.0026669749, 0.0692127794, -0.028207615, -0.0579889677, -0.0186830368, 0.0167324208, 0.0380359776, 0.0254650842, 0.0310645159, -0.0438146777, -0.0329445712, -0.0009013657, 0.006144207, 0.0459348634, -0.0034414786, -0.0061267796, -0.0667451173, -0.0203350149, 0.0447887145, -0.0470456481, -0.073038958, -0.0065782806, -0.0219513588, -0.0309765302, 0.0066537182, -0.0488599688, 0.0059524104, -0.0246578697, 0.0194756016, 0.0954444706, -0.0903082937, -0.0142525472, -0.0720647946, 0.029244313, 0.0428429618, -0.0329516791, -0.0119255129, -0.0260789264, -0.0128362775, 0.045808468, 0.0246540345, 0.0145829832, 0.0160154216, -0.0065694931, -0.0251042787, 0.03830925, 0.0059572677, -0.0331571624, 0.0327382497, 0.005610493, 0.0818724856, -0.0132015059, -0.0147868255, -0.0018043551, -0.0351943821, 0.0068789697, 0.039158497, 0.0085991202, -0.036518313, 0.022041209, -0.0161308553, -0.0326369181, -0.0094311042, -0.0518554412, 0.0141553571, -0.0022021744, -0.0613335744, -0.0498070046, -0.0135211721, 0.0259893145, 0.0807793662, 0.0269116368, -0.0244517848, 0.0350612141, 0.027977176, 0.003846077, 0.0362032577, -0.047756508, 0.0116673484, -0.0714398474, 0.0117675317, 0.0470681526, -0.0485647917, -0.0043173884, -0.0006576506, -0.1195848659, -0.0556159876, -0.0107242595, 0.0793233141, 0.0241287798, 0.0134514859, -0.013325504, -0.0377879515, 0.0607079156, 0.0339318179, -0.058744669, 0.000475482, 0.0388238505, -0.0524081774, -0.0042996379, 0.0214804746, -0.0358233638, 0.0185909756, 0.0248010438, 0.0210876949, -0.0077928896, -0.0383176543, 0.0053510214, -0.051121477, 0.0349636786, -0.0045854859, 0.0050039473, -0.0006355934, 0.0181090273, 0.0182694513, 0.0037899904, -0.0728613436, -0.0276483987, 0.0285335612, 0.0189408772, 0.0437884517, 0.020235477, 0.042584151, 0.0375791155, 0.0099924011, -0.0155323055, -0.0160123315, 0.0003155666, 0.0154838618, 0.0338748284, 0.0221784431, 0.0003922264, 0.0162768904, -0.012738727, -0.027908871, 0.0461871773, 0.0038863597, 0.0123085249, 0.0003249851, 0.0433563814, -0.0685276091, -0.0343869403, -0.0115021123, -0.0161873493, 0.0642090812, 0.0182033125, 0.0518594645, 0.0071286354, -0.0034672767, -0.0381826386, 0.0397579968, 0.0101624075, 0.0229922719, 0.0288146809, -0.0006181074, 0.0349738561, 0.0304934513, 0.0885278657, 0.0141200125, 0.00988016, 0.0107381539, 0.0136544192, -0.0132928845, -0.0168446433, 0.0151296807, -0.0066676736, 0.0001372448, -0.0316308439, -0.029773768, -0.0465177409, 0.0145953819, -0.0523075052, 0.0114829922, 0.0089853127, 0.0407024324, 0.050355643, -0.0779038593, 0.0385855772, 0.0060609058, -0.0096188253, 0.0613844618, -0.0059254048, -0.0298121255, -6.379820734e-33, -0.0174730122, -0.001420235, 0.0385328978, -0.0385857038, 0.0121288989, -0.0121560451, -0.0173332766, 0.0046595358, -0.0135154473, 0.0251284428, -0.011292221, 0.0093898242, 0.0153301926, 0.0275817662, -0.0076774815, -0.0172491372, 0.0975828171, 0.0003952214, -0.0038091007, 0.0104154674, 0.0089773256, 0.0107819773, 0.0668060556, -0.1070585325, -0.0104943486, 0.0342690423, -0.0080429222, 0.0148103563, 0.0169920605, 0.0165064782, 0.0122071849, 0.0117872152, 0.0074284673, -0.0682633221, -0.0477280021, -0.0675025731, -0.0642039329, -0.028749587, -0.0253436994, -0.0073970538, 0.0223596096, -0.0661618337, 0.0764158592, -0.0023665533, 0.0177087765, -0.0654285178, 0.0213442128, -0.0177940466, -0.023892032, -0.0545966104, -0.0166495368, 0.0120274471, 0.0124333948, -0.0282676592, 0.0194465555, 0.021167323, -0.007760698, -0.0085840877, -0.0612701252, 0.0046042884, -0.0082533108, 0.0436638333, 0.0766574442, 0.0028646679, -0.0403255448, 0.000721796, -0.0084916297, 0.0337798074, 0.0019102026, -0.0092443246, 0.036626, 0.0184473265, 0.0491942391, 0.0354116745, 0.0245338902, 0.0128027201, -0.0585687086, 0.0630376786, -0.0395246074, -0.004278617, 0.0301369131, 0.001257259, 0.0053510768, 0.0029095626, -0.0323397145, -0.0122448327, -0.0245323721, -0.0316686258, -0.0135217812, 0.032364957, -0.0203039572, 0.0103048841, 0.0718414411, -0.0436102115, 0.0183103047, 0.0257128254, 0.0027240925, 0.0171214752, -0.0113294329, 0.0014233905, -0.0041756658, -0.0439831279, 0.0326639228, 0.0380545221, -0.0001529465, 0.0026561862, 0.0371092483, 0.0397915244, -0.0370983928, -0.0400335751, -0.0331714936, -0.000856331, 0.0363425687, 0.0702352673, 0.0262831021, 0.014323852, -0.0215425249, 0.0352420919, -0.0064985254, -0.0269911941, 0.00358651, 0.0524297208, 0.0531202704, 0.0387324132, -0.0356335118, -0.008846377, -0.0505564809, -0.0299800988, 0.0599207915, -0.0483477302, -0.050644882, -0.0168105196, 2.735e-7, 0.0267100222, 0.021128593, -0.0207181666, -0.0408695042, 0.0041034389, 0.0483067743, -0.0289074574, 0.042094972, -0.014057124, -0.0028307687, 0.0249837898, 0.0472816639, 0.0396344848, 0.0304538179, -0.1236354336, -0.0739415288, 0.036914885, 0.0268349517, -0.0299188718, -0.0392749012, 0.0112983994, 0.106869258, 0.0317480937, -0.0007732813, 0.0257025305, 0.0059638731, 0.0671251863, 0.0077853194, 0.0296725724, 0.0082330946, 0.0512239635, 0.0123413792, -0.0069855046, 0.0342364572, 0.0000883258, 0.0327363648, 0.0515419766, 0.0723724142, -0.01441071, 0.0260200426, 0.0237431303, -0.0078715608, -0.0283558946, 0.0078916857, 0.0130799962, -0.0853709504, -0.0055987826, 0.0285341833, -0.0164744668, -0.0079851914, 0.0186721124, -0.009422428, -0.0097490959, 0.0084329676, 0.0131016662, 0.0098948656, -0.0036085763, -0.0340488628, -0.008663211, -0.0166754331, -0.0508864447, -0.0385800079, -0.0229627322, -0.0411868989, 0.0595918745, -0.0238260087, -0.0027056746, 2.455892159e-34, 0.0233241357, -0.0022177096, 0.0173877217, 0.0041430993, 0.0164659079, -0.0405909866, -0.0586475916, -0.0375224389, -0.0162184574, -0.045459196, -0.0236966144 ]
http://arxiv.org/abs/2407.01122v1
http://arxiv.org/pdf/2407.01122v1
Calibrated Large Language Models for Binary Question Answering
2024-07-01T09:31:03
2024-07-01T09:31:03
Patrizio Giovannotti, Alexander Gammerman
cs.CL
cs.CL, cs.LG
Quantifying the uncertainty of predictions made by large language models (LLMs) in binary text classification tasks remains a challenge. Calibration, in the context of LLMs, refers to the alignment between the model's predicted probabilities and the actual correctness of its predictions. A well-calibrated model should produce probabilities that accurately reflect the likelihood of its predictions being correct. We propose a novel approach that utilizes the inductive Venn--Abers predictor (IVAP) to calibrate the probabilities associated with the output tokens corresponding to the binary labels. Our experiments on the BoolQ dataset using the Llama 2 model demonstrate that IVAP consistently outperforms the commonly used temperature scaling method for various label token choices, achieving well-calibrated probabilities while maintaining high predictive quality. Our findings contribute to the understanding of calibration techniques for LLMs and provide a practical solution for obtaining reliable uncertainty estimates in binary question answering tasks, enhancing the interpretability and trustworthiness of LLM predictions.
Calibrated Large Language Models for Binary Question Answering: Quantifying the uncertainty of predictions made by large language models (LLMs) in binary text classification tasks remains a challenge. Calibration, in the context of LLMs, refers to the alignment between the model's predicted probabilities and the actual correctness of its predictions. A well-calibrated model should produce probabilities that accurately reflect the likelihood of its predictions being correct. We propose a novel approach that utilizes the inductive Venn--Abers predictor (IVAP) to calibrate the probabilities associated with the output tokens corresponding to the binary labels. Our experiments on the BoolQ dataset using the Llama 2 model demonstrate that IVAP consistently outperforms the commonly used temperature scaling method for various label token choices, achieving well-calibrated probabilities while maintaining high predictive quality. Our findings contribute to the understanding of calibration techniques for LLMs and provide a practical solution for obtaining reliable uncertainty estimates in binary question answering tasks, enhancing the interpretability and trustworthiness of LLM predictions.
[ 0.0343783572, 0.0454672985, 0.0152229294, 0.0404699743, -0.03441488, 0.0201469995, 0.0240998827, -0.0150324414, 0.0251969602, -0.0756301358, -0.0104748644, -0.0620058626, 0.019918615, 0.0146031547, 0.0149508892, 0.0046358127, 0.0270656049, -0.0335571393, 0.0263968613, -0.0262617394, 0.0153349144, 0.0152919553, -0.004204093, 0.0168894511, -0.0021083227, -0.0063070478, 0.0167666152, 0.0029692543, 0.0052226447, 0.0123281609, 0.0320149958, 0.0724105909, -0.0193192456, 0.0540821403, 0.0000016871, -0.0552473143, 0.004714835, 0.0042702728, -0.0492361896, -0.0043650414, -0.0078601409, 0.044724483, 0.0386434458, 0.0618010424, -0.0158206988, -0.0283993073, 0.0771376491, 0.0232092962, 0.0128437318, 0.0152751049, 0.0200868361, -0.033641316, 0.0277939476, 0.0232612826, 0.015963994, -0.0531724431, 0.0371231958, -0.0184119251, -0.0564311333, 0.0358062461, -0.0030956573, 0.0053980453, 0.0351938419, 0.0289469659, 0.0011522023, 0.0292535722, -0.033980079, -0.0184968561, 0.0029445486, 0.0178903211, 0.0217754375, -0.085167937, -0.0659153685, -0.0114856791, -0.0044874619, -0.0042333431, -0.0427251905, 0.0195349511, 0.0004942264, 0.0143940812, 0.0304557811, -0.0023375398, 0.0239309762, 0.0557139479, -0.013339269, 0.0999961197, 0.0148662655, -0.0302941948, 0.0104871774, 0.0265192818, -0.0352712311, -0.0678460672, -0.0015281751, 0.0564831421, -0.0346455202, 0.0268193316, -0.0198377576, -0.0033468213, 0.043564897, -0.0337159373, -0.0005900415, -0.0043389387, -0.0329250954, 0.0498268157, -0.0151544223, 0.0630811825, 0.0201497208, 0.026667105, -0.0458979867, -0.0409705378, -0.0071676178, -0.0122000249, -0.0414977334, 0.0003863902, 0.020590283, -0.0107058259, -0.0566285551, -0.0309488568, 0.0243542362, -0.0013595355, 0.0190728679, 0.0364904255, -0.0110419532, -0.0093075121, -0.0462658703, 0.0504439324, -0.0288721062, 0.0670592412, 0.0052413088, -0.0477802493, -0.0188498925, 0.017670529, -0.00281582, -0.0421853364, 0.0303862989, 0.02126332, -0.0032500275, -0.039635282, -0.0072881347, -0.0106525812, -0.012800185, -0.0610216185, -0.0292076878, -0.0620240383, 0.0080021694, 0.02977979, -0.0003442151, -0.0157159735, 0.0168850776, 0.0163235273, 0.0016155646, 0.0853402913, -0.0071707824, -0.0152972564, 0.0172163453, -0.010673617, 0.0279861037, 0.0892464817, 0.0414941311, 0.0337709263, 0.0571477413, 0.0020400693, -0.0042720023, 0.0441930741, -0.0055901888, -0.0119382162, -0.0302709918, 0.0331198461, 0.0261903051, 0.0387365408, -0.0219871327, 0.0602120683, -0.0116198696, -0.0217741989, 0.0624764301, 0.0106554152, -0.0143122487, -0.0035819171, -0.0253238082, -0.0386696421, 0.0296142921, -0.0148227615, -0.0417879522, 0.0211642068, -0.0505237617, 0.0143431872, 0.0625840127, 0.0109699331, -0.0065053999, -0.0881236941, -0.0423160158, 0.0055060773, -0.0202517956, 0.060467504, 0.0558273941, 0.0031284057, -0.0406562127, 0.0432814173, 0.0009361892, -0.0051662894, 0.0299131759, -0.0625249371, 0.0313889086, 0.026737513, 0.0045082541, -0.0138761764, -0.0451019406, -0.0081217214, 0.0127674844, -0.0042672059, 0.0109969638, -0.0111941481, 0.0001830239, -0.058957655, -0.0234132279, -0.0038450062, 0.0016415775, -0.0339940079, 0.0508896075, 0.0304379445, 0.0013242927, -0.0418415256, -0.0085688336, 0.031063227, -0.0022786355, -0.0497966371, 0.0422632471, -0.006627304, 0.0421459451, -0.012845736, 0.0061067501, 0.012305133, 0.0383383073, -0.0148073472, -0.0301228669, -0.0223804843, 0.0083556613, 0.0013006225, 0.0788411349, 0.0042545046, -0.008900403, 0.001860944, -0.0583000593, -0.0368183888, -0.0241243392, -0.0444878116, -0.0070443526, -0.0360876955, -0.0195955001, 0.0019449847, 0.0096134152, -0.0650519952, 0.0146839283, -0.0182595551, 0.0427758731, -0.0642065704, -0.0201113019, 0.026623318, 0.0003275215, -0.0391742997, -0.0079587149, 0.0053908154, 0.0229050852, 0.0252280328, -0.000432665, -0.0347103886, -0.0341957845, -0.1081814691, 0.0151645252, -0.03001385, 0.0171697009, 0.0105781835, -0.0007449807, 0.0065129828, 0.0003507066, -0.0706312805, -0.0209006853, 0.0069443919, 0.0431288965, 0.0438071191, -0.0076014302, -0.0148785049, -0.0378981084, -0.028892966, -0.0257268716, 0.0596169047, 0.0112576308, 0.0308436267, -0.0618304014, 0.0085849147, -0.0464216061, -0.0000458715, -0.0091861365, -0.0208821539, 0.0079304725, -0.0106580621, -0.0272600166, 0.0504795276, 0.0278087463, -0.0124498522, 0.0631420612, 0.0305073243, -0.0482712537, -0.0151270563, -0.0380837023, -0.0556390546, -0.0071514314, -0.0566264465, -0.0229670051, 0.0290330313, 0.0072826827, -0.0189392436, -0.0094393715, 0.0263520721, -0.021478489, -0.022351861, -0.0693009198, 0.0072061988, -0.0138570555, 0.0865149796, -0.006433941, -0.0636433214, 0.0784836486, -0.0518307574, 0.0160467532, -0.0610621721, -0.0098264776, -0.0637184381, 0.0347511061, 0.0264205988, 0.0110512841, 0.0224527624, 0.0085665835, -0.0645509735, -0.043264322, 0.0042305258, -0.0523223095, 0.0363068357, -0.0376928784, 0.0254494995, 0.0161944143, -0.0188084003, -0.0283201728, -0.030799767, -0.0587732792, 0.0244848188, -0.0040981025, -0.0054261289, -0.0630904734, 0.0219105221, 0.0093623148, -0.010589567, -0.0556262173, -0.00426772, -0.0185564812, 0.0508801825, 0.1056872904, 0.0425238125, 0.0345289409, -0.0059620175, -0.0464743227, 0.055535838, 0.0152492458, 0.0576532558, -0.0438933372, -0.0256369468, 0.0699264854, -0.0172670353, -0.0051278239, 0.0223335791, 0.0605583973, -0.0169244278, -0.0226469468, 0.1403428316, 0.0355984978, -0.0125551494, -0.0203501265, -0.0187151432, 0.0150358751, 0.0199011136, 0.0169389024, -0.111720562, -0.0517383888, -0.0123427594, 0.0163356997, -0.0129489526, -0.0202327929, 0.0267418381, -0.0909212902, 0.0026682224, -0.0110194329, -0.017865805, -0.0468073413, -0.0954838172, -0.0057232529, -0.0502607562, 0.0370900109, -0.0185874328, 0.0046309819, 0.0120176263, 0.0516787358, -0.0091600046, -0.0228945147, 0.0229299255, -0.028983783, 0.0672742873, 0.0742049366, 0.009817142, -0.0454719216, 0.0130129559, -0.0092539284, -0.0531551726, -0.0428373478, 0.002094191, 0.0271395128, 0.008626678, 0.0164347254, -0.0199859794, -0.0054407092, -0.0250008255, 0.0094984537, 0.0269170813, 0.0432837941, 0.0214141607, -0.0263302736, -0.0175639484, 0.00198082, -0.0046451073, 0.0740899742, 0.0391033292, -0.0129707055, -0.0459273383, -0.0445461348, 0.0067442339, -0.009529789, -0.0110508762, 0.0176437609, 0.0028398682, 0.0046475101, -0.016073782, -0.011409902, 0.0594084337, -0.0130637689, -0.0165035427, 0.0220799632, 0.0023838985, 0.0261921193, -0.0126800844, 0.0136110345, -0.0238805376, 0.0590309836, -0.0466681942, 0.0075149499, 0.0289939567, -0.0165677872, -0.03442204, 0.0646220222, -0.0941940919, -0.067294389, -0.0132084126, 0.0491886325, 0.0216750316, -0.0176666416, -0.0097882971, -0.0881655812, 0.0339560956, 0.0511023849, 0.0293489564, -0.0098064644, -0.0214594528, 0.023433743, 0.0009199808, 0.0178336687, -0.0360514037, 0.0087126149, 0.004167309, 0.0411616527, -0.0484646559, -0.1171316281, 0.0096900649, 0.0302043632, 0.0336006582, -0.0253718495, -0.0417214222, 0.0076634688, 0.0351312011, 0.0181401819, -0.0232230667, 0.0075953449, 0.017641861, 0.0470058396, -0.0261198487, -0.0432610102, -0.0200305246, 0.0028174974, 0.008796405, -0.0229258668, 0.0155221326, 0.0368738212, 0.032850977, 0.0325381123, -0.0224608034, -0.0480761528, -0.0023649205, 0.048257485, 0.0648886263, 0.0247701239, 0.0246668961, 0.0175409876, 0.0083581759, -0.0501326807, 0.0085883662, -0.0617721118, -0.0465418175, -0.042084638, 0.0491211377, 0.0089356713, 0.023623582, 0.0020495341, -0.0014932997, -0.0267074574, -0.035563942, -0.007092027, 0.0243494865, 0.020364223, 0.083347857, 0.0213549063, -0.0220455099, 0.0146867679, 0.0557494387, 0.0429553986, 0.0548954681, 0.016674554, -0.0391194075, -0.0018320845, -0.0215313137, -0.0386722572, -0.0001519901, 0.0113693224, 0.0008721578, -0.0398923941, -0.0875875577, 0.0308341384, 0.027967399, 0.0366064422, -0.013289148, 0.0074080997, 0.0714267343, 0.0316959806, -0.0400806516, -0.0047313483, 0.0161054116, -0.0151022719, -0.0275147278, -0.0710699409, -6.035554806e-33, -0.0118803987, -0.031859953, -0.0104934191, -0.0369897857, 0.0090564098, 0.020421451, 0.000115116, 0.0062612863, -0.0382529534, 0.0185276214, -0.005163399, -0.0103198178, 0.0235112123, 0.0203931369, 0.0091083068, -0.0768088326, 0.0133576952, -0.0127070146, -0.0220563486, 0.0029354205, 0.0143597471, -0.0105087925, 0.038719967, -0.0415444039, 0.0376745984, -0.0084172105, -0.0201582853, 0.0618212186, -0.0363352522, 0.0850113332, 0.0103159957, 0.1014965475, 0.0113366581, -0.0208712853, 0.0210223757, 0.0119404942, -0.0704675615, -0.0340474956, 0.0328666531, 0.0403477214, -0.0039487043, -0.0123037603, 0.0216329917, 0.0120474212, -0.0331754647, -0.028876096, 0.0472344719, -0.0076285391, -0.0155074652, -0.0449484847, -0.0133670131, 0.0107998848, 0.0084770322, -0.0094870804, 0.0016029148, 0.0100158984, 0.0043407562, 0.0049270694, -0.0758158714, -0.0108235376, 0.033199966, 0.053124059, 0.0342748389, 0.0386377424, -0.0289491564, 0.0204233304, 0.0061867507, -0.0261767283, -0.0496513806, -0.0159533136, -0.0047821547, -0.0149894757, 0.0596601963, 0.046841573, 0.0688952431, 0.0147703951, -0.0893775374, 0.0249769874, 0.0306830052, 0.0293973144, 0.024964992, -0.0193969309, -0.0329174176, -0.0337345824, -0.0781355426, 0.0098128207, -0.0483734645, -0.0046781306, 0.0248789079, -0.0173372775, 0.0026851185, -0.0086689722, 0.0080188885, -0.0420305692, -0.0454424806, 0.0327708274, 0.0471033268, 0.0313840285, 0.0033883839, 0.0729061142, -0.0521757007, 0.0146702221, 0.0102815721, -0.0145356292, -0.0073897876, 0.0103462748, 0.0265515707, -0.0116834743, -0.0519541539, -0.0005636069, -0.0384714492, -0.0099944975, 0.0055050412, 0.0089651728, -0.0005177469, 0.0111441379, 0.0093165543, 0.0089581339, 0.0003673183, 0.0364975668, -0.00858445, -0.0130759198, -0.0099136885, 0.0028083776, -0.0423646569, -0.0010652969, -0.0156888049, -0.0346076116, -0.0467214882, -0.0464284234, -0.003703844, 0.0229646061, 2.381e-7, 0.0850168765, 0.0604053028, -0.0022257224, 0.0415559597, -0.0116232485, 0.0402101725, 0.0333088189, 0.010657534, 0.0906351209, -0.025232492, -0.0278117526, 0.028747322, 0.0254239347, 0.0514391474, -0.0482271314, -0.0362907127, -0.0429581888, 0.0260893758, -0.009089252, 0.0109238531, 0.0707532167, 0.117393963, 0.050822936, -0.0069196005, -0.0185197052, -0.0367778204, 0.0329164639, -0.0064117447, 0.0028367883, 0.0399007201, 0.0630139932, -0.0187946483, 0.0322469994, 0.0396205559, 0.0047278991, -0.007397261, 0.0031753837, 0.0237531457, -0.0191940106, -0.0242767744, -0.0341677591, -0.0084585752, 0.0268681813, -0.0950070769, 0.0957003683, -0.038834814, -0.0155401174, -0.0303282533, -0.0209929291, -0.0135301491, 0.0727074891, -0.018079143, -0.0108712437, 0.0176931005, 0.0173177272, -0.0013107313, -0.0139381047, -0.0725513622, -0.0332061462, 0.0040520569, -0.033118885, -0.0457507446, 0.0064201714, -0.0034427671, -0.0115661724, -0.0638963431, 0.036070209, 1.986114796e-34, 0.0242160428, 0.0023382618, 0.0077544451, 0.0524635687, 0.055524759, -0.0040409835, 0.019957155, 0.0201668069, 0.0208174679, -0.0995738283, -0.0013885866 ]
http://arxiv.org/abs/2407.01119v1
http://arxiv.org/pdf/2407.01119v1
Pron vs Prompt: Can Large Language Models already Challenge a World-Class Fiction Author at Creative Text Writing?
2024-07-01T09:28:58
2024-07-01T09:28:58
Guillermo Marco, Julio Gonzalo, Ramón del Castillo, María Teresa Mateo Girona
cs.CL
cs.CL, cs.AI
It has become routine to report research results where Large Language Models (LLMs) outperform average humans in a wide range of language-related tasks, and creative text writing is no exception. It seems natural, then, to raise the bid: Are LLMs ready to compete in creative writing skills with a top (rather than average) novelist? To provide an initial answer for this question, we have carried out a contest between Patricio Pron (an awarded novelist, considered one of the best of his generation) and GPT-4 (one of the top performing LLMs), in the spirit of AI-human duels such as DeepBlue vs Kasparov and AlphaGo vs Lee Sidol. We asked Pron and GPT-4 to provide thirty titles each, and then to write short stories for both their titles and their opponent's. Then, we prepared an evaluation rubric inspired by Boden's definition of creativity, and we collected 5,400 manual assessments provided by literature critics and scholars. The results of our experimentation indicate that LLMs are still far from challenging a top human creative writer, and that reaching such level of autonomous creative writing skills probably cannot be reached simply with larger language models.
Pron vs Prompt: Can Large Language Models already Challenge a World-Class Fiction Author at Creative Text Writing?: It has become routine to report research results where Large Language Models (LLMs) outperform average humans in a wide range of language-related tasks, and creative text writing is no exception. It seems natural, then, to raise the bid: Are LLMs ready to compete in creative writing skills with a top (rather than average) novelist? To provide an initial answer for this question, we have carried out a contest between Patricio Pron (an awarded novelist, considered one of the best of his generation) and GPT-4 (one of the top performing LLMs), in the spirit of AI-human duels such as DeepBlue vs Kasparov and AlphaGo vs Lee Sidol. We asked Pron and GPT-4 to provide thirty titles each, and then to write short stories for both their titles and their opponent's. Then, we prepared an evaluation rubric inspired by Boden's definition of creativity, and we collected 5,400 manual assessments provided by literature critics and scholars. The results of our experimentation indicate that LLMs are still far from challenging a top human creative writer, and that reaching such level of autonomous creative writing skills probably cannot be reached simply with larger language models.
[ 0.0455776416, 0.0252674296, -0.0280740634, 0.0196159091, -0.0600828715, 0.0063549043, 0.0289991796, -0.0132356035, -0.0252903327, -0.0109759457, -0.037943922, -0.0451706052, 0.0112189567, 0.0703982711, 0.0214615371, -0.0169589631, -0.0289639365, -0.0387868136, 0.081102252, -0.0032363327, -0.036548242, 0.0115080494, -0.0034350981, 0.0561293066, 0.0560767837, -0.0350197144, 0.0143361399, -0.0033636931, -0.0042026443, -0.0125395386, -0.0336897112, 0.0494945608, 0.0141534973, 0.0754939169, 0.0000016742, -0.0518184192, 0.0517999865, -0.021581525, 0.0286379103, 0.0200547948, 0.0382947251, 0.0300292075, -0.0246263687, -0.0133733861, -0.0267803632, 0.0184518974, 0.025107991, 0.0396727733, 0.0188011695, 0.0523002632, 0.0045111282, -0.0277588014, 0.0690800771, -0.0309778973, -0.0293507408, 0.0002775582, 0.0083181458, -0.0366979279, 0.0394133702, -0.0311708804, -0.0333728381, 0.0251711439, 0.0540285297, -0.0238500796, 0.0099759279, 0.0574701652, -0.0200630482, 0.0164414402, 0.0031380702, -0.0080226753, -0.0153195178, -0.01420072, -0.0128490701, -0.0070044394, 0.0005739927, -0.0235956311, -0.0314343572, 0.0500185452, -0.0137279602, -0.0066310023, 0.025687689, -0.0074619036, 0.0043573072, 0.0117233908, 0.0390253365, 0.0304139145, 0.0432496257, -0.0075873821, 0.021560153, 0.0104321241, -0.0172916427, -0.0837285146, -0.0007948023, 0.0210862737, -0.0114528742, -0.0163217653, -0.030789312, 0.0013301567, -0.0147150289, -0.0583787896, 0.0924777016, 0.0061394256, 0.0423212834, 0.0244939737, 0.0118454564, 0.0575657934, 0.0101798614, 0.0380638652, -0.0433077589, 0.0479757376, -0.0238322448, -0.0356512256, -0.0310307387, -0.0117791956, -0.0150065105, -0.0234746616, -0.038676329, -0.010750209, 0.0136289587, 0.0021004113, -0.0238907952, 0.0403683558, -0.0431066155, -0.0036016605, -0.0392264873, -0.0027427275, -0.0049254512, 0.0144403083, 0.0051640267, 0.0034282256, 0.0269481428, 0.0116615389, -0.0173988082, -0.0503365919, 0.0403752811, 0.0486120097, -0.0177848376, -0.0286104903, -0.0104306992, 0.0191236101, 0.0042736796, -0.0697159395, 0.0040926593, -0.0613870695, 0.0229178499, -0.0096256994, -0.0188435018, -0.0374072827, -0.0302927792, 0.0186262913, 0.0075653843, -0.0047582919, -0.0040804502, 0.0065199644, 0.0449224487, -0.0002095164, -0.0254991576, -0.0090383105, 0.1016420946, 0.0657980144, 0.0033608868, 0.0121471062, 0.0427378714, 0.0184700284, -0.053487435, 0.0037097847, -0.0254144147, -0.0117068412, -0.0072612716, 0.0844374225, 0.0187371206, 0.0847883373, 0.0071912492, 0.02576546, 0.1225127205, 0.0586091056, 0.0130752884, 0.0720604658, 0.0961027741, -0.0256155003, 0.0785401911, 0.040410243, -0.0213826522, 0.0055479677, 0.0200369321, 0.0220955908, -0.0025560104, 0.0093970066, 0.0097706467, -0.0334192514, 0.0044013034, 0.0267598368, 0.0012522847, -0.0140777379, 0.0228215102, -0.0026828824, -0.0290532131, -0.068091616, -0.020477334, -0.0342042968, 0.0151222935, -0.0356961414, 0.033927191, 0.0551191829, 0.0518274605, -0.0168169867, 0.0138001246, -0.0167127587, 0.0005787486, 0.0736095905, 0.0276427642, 0.0010722682, -0.006250666, 0.0178728141, 0.0335211083, -0.0658767745, 0.0009526585, 0.0209138282, -0.0716238916, 0.0321745463, -0.0160907097, 0.016456848, -0.0862256959, 0.043583788, -0.0633308068, -0.0405976549, -0.0181367937, -0.0114765391, -0.0036685842, 0.0284528565, -0.079847388, 0.0345495865, 0.0213850457, -0.0578223653, -0.044900611, 0.0183547679, -0.0045741918, -0.0064823772, 0.0387269668, -0.0809679478, 0.0268147271, 0.0275145974, 0.0316381752, -0.0256794598, 0.027231941, -0.0308274031, 0.0390015692, -0.0121222148, 0.0241029374, -0.0273006968, -0.0307931863, -0.017065743, 0.0429196693, 0.0181665327, 0.0433543995, 0.0033698834, 0.0086062308, 0.0127159655, -0.0155482339, -0.0350421146, 0.0412915945, 0.0568523742, 0.0254484285, 0.0120998239, 0.0053542084, -0.0363114849, -0.0561128557, -0.0669668093, 0.0086265709, -0.0015446326, -0.0019010912, 0.0239787791, -0.0492297672, -0.0455199108, 0.0524949729, -0.0514752679, -0.0515837148, 0.0183241647, -0.0108502805, 0.0352251492, 0.0152292633, -0.0069130897, -0.0172723662, -0.0020534801, -0.0046127611, 0.0429700017, 0.0676929206, 0.0351593122, -0.0028402612, 0.039233245, -0.0442654043, -0.0313125439, -0.0244688317, -0.0600064099, 0.0160492044, -0.0243371539, 0.0270666257, 0.0685030073, -0.0023186994, 0.013326914, 0.0917824134, -0.0189044885, 0.0459565185, 0.0012596645, 0.0362756699, 0.0014454008, -0.0201696306, -0.0419989973, 0.0189001933, 0.0362717472, 0.0292663332, -0.0036853524, -0.0069546672, 0.0760044307, -0.0265060011, -0.0541634299, 0.0012429896, -0.0204849448, -0.0180729274, 0.0512319729, -0.0564475954, -0.040392641, 0.0575231314, -0.0459079631, -0.0108976029, -0.0171772297, -0.0169320181, -0.0480314456, 0.0923116803, 0.0312544294, 0.0420913585, -0.03023508, 0.0086268606, -0.09335123, -0.0067481739, 0.0288751442, 0.001837933, 0.0227401927, -0.0238938723, -0.0110349879, -0.0176806916, -0.0548586585, -0.0163030941, -0.0153434249, -0.0302621014, 0.0262419805, 0.0703318492, -0.0299900249, 0.0036353022, -0.0185242593, 0.0392785296, 0.0306496229, -0.0108722327, -0.0083769802, -0.0006486534, 0.0071520926, 0.0641570911, -0.0078721913, -0.0095956083, -0.0725212246, 0.0201929417, 0.0099516148, -0.0272722617, 0.0308848917, -0.0310422573, 0.0379513018, 0.0253909975, -0.0355610624, -0.0298113469, -0.0050068968, 0.0654596612, -0.0610934943, -0.015966272, 0.107520476, 0.0200013425, -0.0215109773, 0.0046452777, -0.0134454137, -0.0134909069, 0.0125496015, 0.0618465655, -0.0152106825, 0.0303965341, 0.007762217, 0.0309697203, -0.0235606879, -0.0234408695, -0.0359011739, -0.0772179514, 0.0500958636, 0.0169913583, -0.0259250198, 0.0076741073, 0.0016926749, -0.0464808643, 0.0308231488, -0.0298321322, 0.0270235762, -0.0126783149, 0.0073191617, -0.0344017632, -0.011219101, -0.0226102695, -0.0013057379, -0.0643581748, 0.0494240746, 0.0533568375, 0.0661001652, -0.0495192893, -0.0247816667, -0.0413793065, 0.0077914479, 0.0134139182, 0.0043842271, 0.0276392344, -0.0069137183, 0.0177820548, -0.0540297702, 0.0323758386, -0.0037641402, -0.0260472763, 0.0153570324, 0.0473460108, -0.0057845269, -0.0507374778, -0.0165744182, 0.0194219407, -0.0152875567, 0.0429398045, 0.0369590372, -0.0848984644, -0.059907902, -0.0494147129, -0.0263895188, -0.0432130508, -0.0484096371, -0.0088221859, 0.0066380971, -0.0276195928, -0.070186466, -0.0562064052, 0.0029624994, 0.0796189979, 0.0601213947, 0.0331094489, -0.0490724854, -0.0214754213, -0.026644079, 0.0047136093, 0.0159937833, 0.0316496044, -0.0478216298, -0.000061121, -0.0046898946, -0.0751983896, -0.003521726, -0.0141622256, -0.0815662593, -0.0454911776, 0.0079692276, 0.0068429545, 0.0235463921, -0.0432788134, 0.0158938207, -0.0956631973, 0.0354568139, 0.0083694588, -0.0053786691, 0.0627064407, -0.0160617195, 0.0108850934, -0.0004782316, 0.0205415245, -0.0088301683, 0.0199642554, 0.0527684949, 0.0154264178, 0.0615569316, -0.0265282784, 0.0057232664, 0.0197993461, 0.0040313904, -0.0666190237, -0.0102042928, -0.0672791377, -0.0340274796, -0.0302614961, -0.0325385965, -0.0392126366, -0.0100957807, 0.027591791, 0.0007125761, -0.0345880091, 0.0142657757, -0.002560576, 0.0062910197, -0.0705517009, 0.0221792012, 0.0363133214, 0.0409935452, 0.0090211462, 0.0012481654, -0.0155062238, 0.0137160122, -0.0536431633, 0.0637854561, 0.0277570132, 0.0260087065, 0.0259590466, -0.0018990383, -0.016448155, 0.0437239334, -0.0999325886, -0.0445057489, 0.0185845271, 0.0162400771, 0.107187584, -0.0028205712, 0.0229735989, -0.0121522509, 0.0139593044, -0.0355256833, 0.003941041, 0.0037958266, -0.009607872, -0.0454627611, 0.0076282155, -0.0136621175, -0.006677269, 0.0732391253, 0.0259470977, 0.0137503203, 0.0267661791, -0.0336300246, 0.0025123998, -0.0406388156, -0.0021039683, 0.0196979642, 0.0331562832, -0.0115070129, -0.0682744309, -0.0476319864, 0.0314456448, 0.0505486131, 0.0152704529, -0.0483359247, 0.0023409768, 0.0400633626, -0.0113517307, 0.003562466, -0.0522066467, 0.0153916255, 0.0002225801, -0.0107787605, -0.0165503733, -5.056380501e-33, -0.0211924557, -0.034571249, 0.0311865322, 0.0048095095, -0.0606762059, -0.019291684, -0.0445577092, 0.0100778779, 0.0277986322, 0.0373445749, -0.0521279238, -0.0183102489, -0.0250260495, -0.0255881939, 0.0184045136, -0.0158637408, 0.0495768748, -0.0242192894, -0.0626478791, -0.0054043401, -0.0172248501, 0.0198749155, -0.0110588884, -0.0016494396, 0.0307084825, -0.0693387017, -0.0117189232, -0.0258475859, 0.0014089104, 0.0309118889, 0.001620496, 0.0405294932, 0.0441296361, 0.0059808171, -0.0045830286, -0.0308526754, 0.0117539121, -0.0199978426, -0.0031828731, -0.0149293952, 0.01491783, -0.0482473709, 0.0562715344, 0.0057532769, -0.0343737975, 0.0022788218, 0.0479561463, -0.0310040154, -0.0062766178, -0.0599534586, -0.0672688559, -0.0100869853, -0.0051444075, -0.0086262329, -0.0234704856, -0.0360743031, -0.0021321769, -0.0220044609, -0.0533173308, 0.0303912666, -0.0079620741, 0.0415120199, 0.0464911684, 0.0189713426, -0.0011892365, 0.064720273, 0.0475997701, 0.0504978821, -0.0193639267, 0.0286942944, 0.0175996255, 0.0342584439, 0.0461653322, 0.0701074451, 0.0142473998, -0.0028480145, -0.0056074467, 0.0316402502, 0.0056556552, -0.0431103334, 0.0080431905, -0.0117379446, -0.0351124853, -0.0691639185, -0.0154367527, -0.0259233583, -0.0068263565, -0.0119449543, 0.0324370489, -0.0361597016, 0.0307302605, -0.0360389687, -0.0058702524, -0.0450428091, 0.0133133521, -0.0192108527, -0.0629914626, 0.0897396281, -0.009585279, 0.0304769222, -0.0285055377, -0.0006980952, 0.003518149, 0.0673315153, 0.0376683697, 0.0069047026, -0.0165976882, 0.0431889147, -0.0341327786, 0.0011507632, -0.0389812067, -0.0029979104, 0.0558297411, 0.0240257811, 0.0048290528, -0.0288426708, 0.0142155942, 0.0033654191, -0.0085831769, -0.013375083, -0.0258506909, -0.0001270882, 0.0032319904, -0.0096788947, -0.0245604776, 0.0282540414, -0.0192615818, 0.0292337891, 0.0331829153, -0.0521267727, -0.0165096279, -0.0338518657, 2.494e-7, 0.0185936689, 0.0212920681, 0.0158808436, 0.0302547012, 0.0217409413, 0.0367356688, -0.0576347969, 0.0223694853, -0.0162832476, 0.0454135798, 0.0343903564, 0.0312409904, 0.0371706598, 0.0488036163, -0.0837010369, 0.0296156313, -0.0915740505, 0.018377658, -0.0924469158, -0.0242225304, 0.0678930879, -0.0017545389, 0.0386892408, -0.0482821949, 0.0022131831, -0.0922164544, 0.0335680172, -0.0126440767, -0.0015648279, 0.0100757927, 0.0524002798, 0.0058815847, -0.0272717662, -0.0012387392, -0.0221272074, 0.0132935457, 0.0232296456, 0.0569292456, -0.0107743321, 0.0112391748, 0.0541764945, 0.0152384052, -0.0113045806, -0.0498056486, 0.0722157806, 0.0249848478, -0.038932234, -0.0122440225, 0.0214103963, -0.0194949787, 0.0080312341, -0.0538573824, -0.0066202013, 0.0143957231, 0.0138586536, -0.0168710034, 0.0296511203, 0.0005623895, -0.0106987562, 0.0267168861, -0.0343256332, -0.036143411, -0.0707743391, 0.0064558368, 0.0035275558, -0.0975858346, 0.0094914893, 2.29486826e-34, 0.0448002517, -0.0305271409, 0.0100549897, -0.0070421086, 0.0388865024, 0.049573604, 0.018771382, -0.0055794595, 0.0028201856, -0.044338122, -0.0345643945 ]
http://arxiv.org/abs/2407.01102v1
http://arxiv.org/pdf/2407.01102v1
BERGEN: A Benchmarking Library for Retrieval-Augmented Generation
2024-07-01T09:09:27
2024-07-01T09:09:27
David Rau, Hervé Déjean, Nadezhda Chirkova, Thibault Formal, Shuai Wang, Vassilina Nikoulina, Stéphane Clinchant
cs.CL
cs.CL, cs.IR
Retrieval-Augmented Generation allows to enhance Large Language Models with external knowledge. In response to the recent popularity of generative LLMs, many RAG approaches have been proposed, which involve an intricate number of different configurations such as evaluation datasets, collections, metrics, retrievers, and LLMs. Inconsistent benchmarking poses a major challenge in comparing approaches and understanding the impact of each component in the pipeline. In this work, we study best practices that lay the groundwork for a systematic evaluation of RAG and present BERGEN, an end-to-end library for reproducible research standardizing RAG experiments. In an extensive study focusing on QA, we benchmark different state-of-the-art retrievers, rerankers, and LLMs. Additionally, we analyze existing RAG metrics and datasets. Our open-source library BERGEN is available under \url{https://github.com/naver/bergen}.
BERGEN: A Benchmarking Library for Retrieval-Augmented Generation: Retrieval-Augmented Generation allows to enhance Large Language Models with external knowledge. In response to the recent popularity of generative LLMs, many RAG approaches have been proposed, which involve an intricate number of different configurations such as evaluation datasets, collections, metrics, retrievers, and LLMs. Inconsistent benchmarking poses a major challenge in comparing approaches and understanding the impact of each component in the pipeline. In this work, we study best practices that lay the groundwork for a systematic evaluation of RAG and present BERGEN, an end-to-end library for reproducible research standardizing RAG experiments. In an extensive study focusing on QA, we benchmark different state-of-the-art retrievers, rerankers, and LLMs. Additionally, we analyze existing RAG metrics and datasets. Our open-source library BERGEN is available under \url{https://github.com/naver/bergen}.
[ 0.0347341746, 0.0755747184, -0.013108708, 0.033645276, -0.0162519645, -0.0327717997, -0.0396146812, 0.0022361134, -0.0306689199, -0.0320759676, -0.0320375264, -0.0269705933, -0.0199475531, -0.0136606554, 0.0507536046, -0.0020987731, 0.0578228272, -0.0044709491, -0.040510308, 0.010098272, -0.0046042879, 0.0138101606, -0.008101901, 0.0479991287, -0.0003810361, 0.0103858616, 0.00785843, 0.0333242565, 0.0273356363, -0.0239352901, 0.0096671693, 0.0178448465, 0.0058219028, 0.0579216927, 0.0000016946, -0.0618245341, -0.0263611898, -0.0111568095, 0.0078926152, 0.0263366494, 0.0501596034, 0.0316428281, -0.017019948, 0.0317584425, -0.0284047741, -0.0118287643, 0.0465608276, -0.0079452926, 0.038798131, 0.0753454566, 0.0066007115, -0.014647956, 0.0328914858, -0.0556133091, 0.0404911973, -0.0341277272, -0.0081769591, 0.0167013425, 0.0428021178, 0.011798271, -0.0084652137, 0.0476529226, 0.0155038647, -0.0290945582, 0.0147441039, 0.011133519, -0.0778489038, 0.01283924, -0.0153937014, 0.0752800405, 0.0321665034, -0.028103359, -0.0006923179, 0.0182238705, 0.0022470802, 0.0326116122, -0.0416937321, 0.0420903601, 0.0052806372, 0.0234581865, 0.0043592253, 0.0122459456, 0.0344590656, 0.0062560481, 0.0038618168, 0.0460242592, 0.0623232611, -0.0136637781, -0.0087832278, 0.038838543, 0.0024322574, -0.0169145651, -0.029036006, 0.0057264883, -0.0288079865, 0.026374815, -0.0178363919, -0.034909416, 0.0477477238, 0.0557777844, 0.0712385848, 0.0352276117, -0.0379459783, -0.0094493032, -0.0284733232, 0.0541693419, -0.0123796854, -0.0071752975, -0.0545313992, 0.0155837853, -0.0216987971, -0.0217682458, -0.0349930301, 0.0237204768, -0.0456186645, -0.0056473156, -0.0566266626, 0.0029725544, 0.0004492651, -0.0107169589, 0.0166014507, 0.0277510136, -0.0715069547, 0.0343417488, -0.0296016503, 0.0180771966, -0.0221492369, 0.0049599977, 0.0511393249, -0.0829332471, -0.0290535744, 0.0242715497, -0.0008065213, -0.0279568247, -0.0099676261, 0.0314903669, -0.0158013254, -0.0408918932, -0.017993506, -0.0367697179, -0.0246821679, -0.0632817224, 0.0159130376, -0.0699896142, 0.0184924826, -0.0042355005, 0.0012352349, -0.0409898162, 0.0027382709, 0.032996878, 0.0045529911, -0.0052799038, -0.0183037482, -0.0021727765, -0.0059368866, 0.0317731053, 0.0488252565, 0.0501303002, 0.0064780926, 0.0386157669, 0.0415430032, 0.004656076, 0.0330469199, 0.040341489, 0.0252659041, -0.0039301151, -0.060589008, 0.0144191161, -0.0144399842, 0.0321446024, 0.0420688763, 0.0810334533, -0.0679877475, -0.0111785578, 0.0105580073, 0.0115483524, 0.0770336166, 0.0048027379, 0.0669692233, -0.0050071231, 0.0274558216, 0.0063612713, 0.0063870265, 0.0376397111, -0.0277805179, 0.0513070375, 0.0469434075, 0.0532339066, -0.0202647988, -0.0306614768, -0.0295567997, 0.0141796945, -0.0687465742, -0.0131785786, 0.0062598446, 0.0615150817, -0.0425721519, 0.0425949246, 0.0134641007, -0.1139783859, 0.0165919252, -0.0537481532, 0.0405780748, 0.0535987876, 0.1121869758, -0.0120118223, -0.0361492075, 0.029907275, -0.033122085, 0.0416555703, 0.0197616648, -0.0194783285, 0.0162723847, -0.0613839626, -0.0018805421, -0.0379132517, 0.012762554, 0.0405397043, 0.0479567051, -0.0208850075, 0.0367312506, -0.0745907798, -0.0190870538, 0.0425528698, -0.0552326031, -0.0141105074, 0.0064162021, -0.0290096942, 0.0218973029, 0.0237797033, -0.0280593093, 0.0320499204, 0.0494190045, -0.0247128215, 0.0261713099, 0.0221427139, -0.0196673814, -0.0591718629, 0.0116125308, -0.0196382757, 0.0092109647, 0.039992705, -0.033315707, -0.0438553132, 0.0216413178, -0.0486893468, 0.0237151776, -0.0792402327, 0.0065550925, 0.0348690934, 0.0221798774, -0.0512806289, 0.0624957271, -0.0147634363, 0.0282296333, 0.0397375375, 0.025966607, 0.0119012222, -0.064212665, -0.0332458429, 0.0093652848, -0.0233146138, 0.0185594093, 0.0237593334, 0.0122933835, -0.0638738722, -0.0269559231, -0.0584257841, 0.0291589852, -0.0206829812, 0.0146911545, 0.0239985771, 0.0361216962, -0.0105691347, 0.0016685765, -0.0416012481, -0.0161530115, 0.0373962708, 0.0317812562, 0.0289732292, 0.0046653687, -0.0062262993, -0.0744607598, -0.0177268013, 0.0241708122, 0.0414308533, -0.0086418018, 0.0396971405, -0.0335847586, 0.0476620905, -0.0792747959, -0.0064932541, -0.0220487043, -0.0285894927, 0.0277834274, -0.0333322771, 0.0788444355, 0.0043215766, 0.019544391, 0.0049086343, 0.0567348115, -0.0242758002, -0.0791652128, 0.0080826115, -0.0211426001, -0.0606693663, 0.0131029235, -0.0256450344, 0.0118968002, 0.0448837578, 0.0010695099, -0.0314175449, -0.0185603108, 0.0202598032, 0.0128300041, -0.0406674109, -0.0132164303, 0.0001227662, -0.0308483206, 0.0329855345, -0.0165386591, -0.0573765673, 0.0484858304, -0.0501039438, -0.0224516913, -0.0386108831, 0.0307143051, -0.0627520829, 0.0385020003, -0.0153000597, 0.0062899678, -0.0650053769, -0.0166210029, -0.0317847244, -0.0005041181, 0.0126139103, -0.0609622747, 0.039861165, -0.0274190046, 0.0386957601, -0.0150436377, -0.0200011861, -0.0690276474, 0.0011772881, 0.0361140594, -0.0073987273, 0.0085591739, -0.0082362369, -0.0096373027, -0.032629896, 0.0346208401, 0.0187170804, -0.0183108207, -0.0197660122, -0.0010882395, 0.0615937077, 0.0570177138, -0.0053125159, 0.0148155428, 0.0030362171, -0.0161314365, 0.0375981405, 0.0602084212, -0.0163176805, -0.0230884068, 0.0082894145, 0.0669592395, -0.0194782801, -0.0032049534, 0.0401335061, 0.0584062338, -0.0232202765, -0.0373431705, 0.0572808534, 0.03885426, -0.0147363842, 0.0052020922, -0.0173813067, 0.0969517976, 0.0361229703, 0.039360784, -0.0882104486, -0.0076584076, 0.0011960677, 0.0486401506, -0.0027965554, -0.0183450226, -0.0135861617, -0.1502078325, 0.0610007495, 0.0143807596, -0.0049884589, 0.017516328, -0.0105540901, -0.0017211027, -0.005232275, 0.0293853227, 0.0686002821, -0.0405176468, 0.0368258543, 0.0112901572, 0.0137324473, -0.0445033871, -0.0207253434, -0.0283076447, 0.0252088849, 0.0727597177, 0.0168977734, 0.0147481188, -0.0466828011, 0.0039653778, -0.0369688384, 0.0107119707, -0.0039206133, 0.0293362513, 0.0131711904, -0.0133195566, -0.0351848826, 0.0068933289, -0.0068460964, -0.0161876027, -0.0211220887, 0.029924918, 0.0023496558, 0.0188162792, -0.0577807017, 0.0074210609, 0.0049319486, 0.0583521426, 0.043536637, 0.0111592477, -0.0306749437, -0.0317657404, 0.0414360277, -0.0862805545, -0.0277523845, 0.0173457675, -0.0146293752, -0.0063547576, -0.1041158587, -0.044871103, -0.0228076167, 0.032402195, -0.0154138599, 0.0153268622, -0.0818146542, -0.0267757997, -0.0620114245, 0.0256440043, -0.032680966, -0.0048025404, -0.0192820039, -0.0072332136, 0.0483909845, -0.0276996028, 0.0006532845, 0.0353473499, -0.0559875779, -0.066968739, 0.0031093345, 0.0748559311, 0.0262125656, 0.0169200636, 0.0057698865, -0.0271585099, 0.005098334, 0.0479260422, -0.0430135131, 0.0316509269, -0.0070972778, -0.0219355132, -0.0222063977, 0.0212728307, -0.0508874357, 0.0140586682, -0.0018409193, 0.105349943, 0.0307552293, -0.0136725856, 0.0301005114, 0.0382414386, 0.0214111079, -0.043748796, 0.0006378221, -0.0302618407, -0.0033217331, -0.0681489632, -0.0119954115, -0.0345935822, 0.0467481948, 0.0345896073, -0.0217288136, 0.0044224672, 0.0184629168, -0.0362236761, 0.1053999811, -0.0168104805, 0.0167707894, 0.0085104443, 0.002867728, 0.0091776028, 0.0090209311, -0.0142487725, 0.0115862153, -0.0251805447, 0.0744212121, -0.0071436786, 0.0139036076, -0.0087707052, -0.0016987916, 0.0063730539, 0.0279210843, -0.0509679653, 0.0013550471, -0.0269415304, 0.0191832408, 0.0492817275, 0.0200422611, 0.0986433029, 0.0177786201, 0.001602054, -0.0183561835, 0.0127136447, -0.0121606523, -0.0404463336, -0.0045149946, 0.027235873, -0.0207754485, 0.0228462964, 0.0681004375, -0.0167987701, 0.0315786153, -0.0303885899, 0.0158809461, -0.0354129076, -0.0505069494, 0.0117677264, 0.0059746457, -0.0006093641, -0.0283840057, -0.0633020326, -0.069386594, 0.0061556161, 0.0358988084, 0.0000481429, -0.0033257764, 0.0379938632, 0.0637621284, 0.0105617139, 0.0134797143, -0.0548268557, -0.0052901269, -0.0852176324, -0.0404414609, -0.0039427802, -5.803214307e-33, -0.0400782004, -0.0153802391, 0.0405221991, -0.0804112703, -0.042550154, -0.0095236348, -0.0341691598, -0.0026685917, -0.0012064542, -0.0241166241, -0.0271347463, -0.0078200707, 0.0073105171, 0.0287969559, -0.0146818534, 0.0315111689, 0.0215999316, 0.0193861574, -0.0493295826, 0.0239980854, 0.0267203227, 0.0252348706, 0.0462484583, 0.0105906483, -0.0140672885, -0.0094325468, -0.0145993968, -0.0045284284, -0.0165074263, 0.0763009265, -0.0153521635, 0.0409550257, 0.0032409036, -0.0149780111, -0.0097426791, -0.0269916449, -0.0547469556, -0.0329839364, 0.0223412979, -0.0350415446, -0.069539994, -0.0279456805, 0.0201849826, -0.0384663939, -0.0439919941, 0.0071019987, 0.000764935, -0.0235942472, -0.0417077169, -0.0448498689, -0.0499483533, 0.011019839, -0.0017053947, -0.0075388043, 0.0018597695, 0.0445569158, 0.0086286524, 0.0114260977, -0.0352516323, 0.0224829465, -0.0164499134, 0.083127737, 0.0679044574, 0.0117931049, -0.0151609853, 0.0522664338, 0.0234481283, -0.023728136, 0.0115964767, -0.0001799326, 0.0098395906, 0.0647077113, 0.0232754387, 0.0786519423, 0.0183624569, 0.0009963384, -0.0507205203, 0.0675143003, 0.0106600709, 0.0421539359, 0.0036137772, 0.0113575822, -0.0181711074, 0.0087711085, -0.0389119834, -0.0009520064, -0.0209348388, -0.0290258769, 0.0711571276, 0.0298165474, -0.0327432565, -0.0090838168, 0.031513527, -0.0175879858, -0.0074334932, 0.0342087746, -0.0549215488, 0.0043405732, -0.0341238268, 0.0346198417, -0.0228959303, -0.0085435091, 0.0507274941, 0.0054524108, -0.0132870879, -0.0097213034, 0.0206231046, 0.0126769748, -0.0459883995, 0.0322647393, -0.0496695489, 0.0483126566, -0.0435013846, -0.0202841796, 0.000825885, 0.0010727139, -0.0089429365, 0.0256482046, 0.0292791072, 0.0171970539, -0.0379627421, -0.0217309948, 0.0224193595, 0.0068705478, -0.0277447458, 0.0466370918, -0.0198018551, 0.0488112643, 0.0439490005, 0.003575115, -0.0119931251, 0.0141856093, 2.432e-7, 0.0445655175, 0.0098583018, 0.0861063004, 0.033824265, -0.0114757838, -0.0404690765, -0.0107680028, 0.0205566436, 0.0233373307, 0.0243293624, -0.0231316239, 0.0023690013, 0.0508322045, 0.0125457989, -0.0594568551, 0.0162743572, -0.07492733, -0.0038853907, -0.040514797, -0.0734659359, 0.0291844252, 0.0381945372, -0.0341953635, -0.025903333, -0.0345046446, -0.0234636255, 0.0703542456, 0.0001547592, -0.032749936, 0.0392363034, 0.0622034557, 0.0257812068, 0.0154681755, -0.0837414563, -0.0071015772, 0.0220667459, -0.0030562275, 0.0211620405, 0.0220173914, -0.0843551904, 0.0123578534, 0.0204330925, 0.0092669986, -0.0338116512, 0.0321965329, 0.0154319499, -0.007804879, -0.0124326237, -0.0543484651, 0.0202270299, -0.0026874344, -0.0345439576, -0.0123485746, 0.017809188, 0.0156799871, 0.0184716322, -0.0466220118, -0.0551340692, -0.0417202786, 0.0103573846, -0.0234267432, -0.0533574931, -0.0419762209, 0.0001818176, -0.0578475855, -0.0625608638, -0.023119146, 2.255221957e-34, 0.037243247, -0.0196919013, 0.0354122072, 0.0203212108, 0.0453018062, -0.0285544712, -0.0380948111, 0.0233968943, -0.0262525901, -0.0826878697, -0.0295101106 ]
http://arxiv.org/abs/2407.01100v1
http://arxiv.org/pdf/2407.01100v1
Eliminating Position Bias of Language Models: A Mechanistic Approach
2024-07-01T09:06:57
2024-07-01T09:06:57
Ziqi Wang, Hanlin Zhang, Xiner Li, Kuan-Hao Huang, Chi Han, Shuiwang Ji, Sham M. Kakade, Hao Peng, Heng Ji
cs.CL
cs.CL, cs.LG
Position bias has proven to be a prevalent issue of modern language models (LMs), where the models prioritize content based on its position within the given context. This bias often leads to unexpected model failures and hurts performance, robustness, and reliability across various applications. Our mechanistic analysis attributes the position bias to two components employed in nearly all state-of-the-art LMs: causal attention and relative positional encodings. Specifically, we find that causal attention generally causes models to favor distant content, while relative positional encodings like RoPE prefer nearby ones based on the analysis of retrieval-augmented question answering (QA). Further, our empirical study on object detection reveals that position bias is also present in vision-language models (VLMs). Based on the above analyses, we propose to ELIMINATE position bias caused by different input segment orders (e.g., options in LM-as-a-judge, retrieved documents in QA) in a TRAINING-FREE ZERO-SHOT manner. Our method changes the causal attention to bidirectional attention between segments and utilizes model attention values to decide the relative orders of segments instead of using the order provided in input prompts, therefore enabling Position-INvariant inferencE (PINE) at the segment level. By eliminating position bias, models achieve better performance and reliability in downstream tasks where position bias widely exists, such as LM-as-a-judge and retrieval-augmented QA. Notably, PINE is especially useful when adapting LMs for evaluating reasoning pairs: it consistently provides 8 to 10 percentage points performance gains in most cases, and makes Llama-3-70B-Instruct perform even better than GPT-4-0125-preview on the RewardBench reasoning subset.
Eliminating Position Bias of Language Models: A Mechanistic Approach: Position bias has proven to be a prevalent issue of modern language models (LMs), where the models prioritize content based on its position within the given context. This bias often leads to unexpected model failures and hurts performance, robustness, and reliability across various applications. Our mechanistic analysis attributes the position bias to two components employed in nearly all state-of-the-art LMs: causal attention and relative positional encodings. Specifically, we find that causal attention generally causes models to favor distant content, while relative positional encodings like RoPE prefer nearby ones based on the analysis of retrieval-augmented question answering (QA). Further, our empirical study on object detection reveals that position bias is also present in vision-language models (VLMs). Based on the above analyses, we propose to ELIMINATE position bias caused by different input segment orders (e.g., options in LM-as-a-judge, retrieved documents in QA) in a TRAINING-FREE ZERO-SHOT manner. Our method changes the causal attention to bidirectional attention between segments and utilizes model attention values to decide the relative orders of segments instead of using the order provided in input prompts, therefore enabling Position-INvariant inferencE (PINE) at the segment level. By eliminating position bias, models achieve better performance and reliability in downstream tasks where position bias widely exists, such as LM-as-a-judge and retrieval-augmented QA. Notably, PINE is especially useful when adapting LMs for evaluating reasoning pairs: it consistently provides 8 to 10 percentage points performance gains in most cases, and makes Llama-3-70B-Instruct perform even better than GPT-4-0125-preview on the RewardBench reasoning subset.
[ 0.0611386485, 0.0381347463, 0.0002899861, 0.0734368861, -0.0044756439, 0.004018717, -0.0210769251, -0.0036977646, 0.0090946276, -0.0761262923, -0.027059406, -0.0202287212, -0.0000834352, 0.0151205389, 0.0315769203, -0.0520066656, 0.0566309914, -0.0531293154, 0.0416391715, 0.0079496205, 0.017684266, 0.0044579953, -0.0001593554, 0.0118427472, 0.0072881714, -0.0337979347, -0.0162522122, 0.0122363195, 0.0189029444, -0.017348364, 0.0063813366, 0.0259060618, 0.0114095388, -0.0021663485, 0.0000019805, -0.0331648625, 0.0153428093, -0.0100189978, -0.0064148419, -0.0094383173, -0.0371026359, -0.0309249032, 0.0167984907, 0.019056784, -0.0281043053, 0.002958372, 0.0502517372, 0.0234320201, 0.0412985235, 0.0680295527, -0.0015348191, 0.0044723595, 0.0081057437, -0.0452116542, 0.0524389371, -0.0276768543, 0.0102539221, 0.017711211, 0.0101662138, 0.0529487953, -0.0562047623, 0.0347645804, 0.0406730361, 0.0072800862, 0.0080213184, 0.0469427779, 0.0046787765, -0.0121151097, -0.0265117306, 0.0764785334, -0.02108985, -0.0428510457, -0.0191420652, -0.0093015134, 0.0388618447, -0.0264472123, -0.0568212569, 0.0736757368, 0.0038626639, -0.007113758, 0.0082501713, 0.0135333147, -0.0030284941, 0.036255382, -0.0002207302, 0.0718032122, 0.0084959418, -0.0394046679, -0.0197661575, 0.0308299623, -0.0335960798, -0.0354489796, -0.011819127, 0.0409507826, -0.0084701413, 0.0417159088, -0.0295646116, 0.0137408767, 0.0103887348, -0.0304219071, 0.0266519841, 0.0328468382, -0.0343474671, 0.0684920624, -0.0370818973, 0.0836043581, -0.0240869485, 0.0377087221, -0.0620775521, -0.0114952112, 0.0421884693, -0.0309380703, -0.0230426397, 0.0031086509, -0.0505283363, -0.0381376371, -0.0038732612, 0.0614773296, -0.0162271466, -0.0329854265, 0.0024449283, 0.0579991825, -0.0133269057, -0.015279077, -0.0399407595, 0.0471847244, -0.0205727909, 0.0461844243, -0.0131324846, -0.055138927, -0.04915848, 0.0372589119, -0.0002790906, -0.0311149359, -0.0043832413, 0.0464077294, -0.0182910673, -0.0389207378, 0.0049413717, -0.0136057884, -0.0194259081, -0.0332162157, 0.0301409625, -0.0545060486, 0.0363539532, 0.0115346098, -0.0243764333, -0.0165940579, 0.0065082987, 0.0484517328, -0.0613454357, 0.0700225234, 0.0342247076, 0.0083309598, -0.0085041253, 0.0185369458, -0.0021996705, 0.0677754432, 0.0170116629, 0.0521854423, 0.0335155502, 0.0164412241, 0.0096136192, 0.0174484625, 0.0145039968, 0.0012810981, -0.0228278283, 0.0442589298, -0.0155098094, -0.0041421591, 0.077358529, 0.0241010059, -0.0231329501, -0.0413250327, 0.0626844689, 0.0372759812, 0.0000014873, -0.0413836315, 0.0034765601, -0.0056908941, -0.0130896503, -0.0141344694, -0.0839176103, 0.0548460893, -0.0245910604, 0.0293907281, 0.0143685117, 0.0063106883, -0.034694884, -0.0413822345, -0.0302203801, 0.0018897777, -0.0196984224, 0.0641813204, 0.0278942138, 0.0254833549, -0.0400974415, 0.0429036021, -0.0082849972, -0.0384976715, -0.0285446458, -0.0365778916, 0.0548362285, 0.028160084, 0.0233900174, -0.0082719252, -0.0479199626, 0.0384744219, 0.0206049439, 0.0401089191, 0.0243215784, 0.0006006927, 0.016854737, -0.0157265719, -0.0194933955, -0.0169314817, 0.0048263548, 0.0114976065, 0.0578839108, 0.0147343185, 0.0313102081, -0.0608924776, 0.0368056335, 0.0351614356, 0.0450318195, -0.0216661841, -0.0374221727, 0.0046142708, 0.0040232781, -0.014416093, 0.0159507897, 0.0311933272, 0.0404630192, -0.015853202, 0.0203759614, 0.0104778372, -0.0581464022, -0.0492919683, 0.0243271943, -0.0146165323, -0.0170094501, 0.0483979881, -0.0449295826, -0.0101105841, 0.027339872, -0.0397748388, 0.0090892492, -0.0449752249, -0.0029672582, 0.0304700043, 0.0087374644, -0.0557931699, 0.0671826154, -0.0251646098, 0.0253799595, 0.016371835, 0.0262311194, 0.0134285521, -0.0603822954, -0.0137014426, -0.0059023062, -0.0096127419, 0.0054454636, 0.0153047834, -0.0017415734, -0.0402572155, -0.0264381636, -0.0789096504, -0.015139278, -0.0238942076, 0.0161166415, 0.018973304, 0.0100116953, -0.0192635469, -0.0721997619, -0.0392062962, -0.0089761056, 0.0311146323, 0.0410969108, 0.0211679377, -0.0169896539, 0.0109546501, -0.0524442829, -0.0129388589, -0.0125319567, 0.0483348891, -0.0041634454, -0.0044813408, -0.0632559434, 0.0250875149, -0.0450624377, 0.0444812514, -0.0234717764, -0.0200964622, 0.0158237889, -0.010613936, 0.0182973444, 0.1307796389, -0.0146450093, 0.0006502125, 0.0492871217, 0.0031903661, -0.0625591725, 0.0166378915, 0.0086542014, 0.0002179821, 0.0120753413, -0.0300293211, -0.0223350748, 0.0522647016, -0.0018222242, -0.0136856372, -0.0502376109, 0.0343116485, 0.0148784611, -0.0262558162, -0.041510582, -0.0386187658, -0.0121233538, 0.0444989242, -0.0611887984, -0.0707767382, 0.0544223078, -0.0391825102, -0.0134290941, -0.0361763164, 0.02262084, -0.0709779859, 0.0730390102, 0.0449949168, -0.0050698793, -0.0206684563, -0.0125172976, -0.077748023, -0.0164972711, -0.0138476519, -0.0351124741, 0.0313138887, -0.0298442785, 0.0301361736, -0.0451105833, -0.0284907166, -0.0728612542, -0.0206105113, -0.0144792097, 0.0024863845, -0.0551533811, 0.0163937397, 0.0064285621, 0.0444038361, 0.0308585372, 0.0245331246, -0.0343090259, 0.0314323306, -0.0260235462, 0.0413688384, 0.0795225352, 0.0304730516, 0.0065616569, -0.0283332113, -0.0119728651, 0.0818034187, 0.0225092396, 0.0055371141, -0.0372344516, 0.007861726, 0.0487011485, -0.0096828993, -0.0000526943, 0.0152853746, 0.046200674, -0.0564306565, -0.0173389539, 0.0893472284, 0.0431339145, -0.0511893518, -0.0134083852, -0.004578473, 0.0459489785, 0.0414069034, 0.0473228917, -0.0680904314, -0.0326288454, 0.0077996626, 0.0163231939, 0.0232062899, 0.0241924915, -0.0216705464, -0.1282940954, 0.0235478655, -0.0267293621, -0.0278411023, -0.0513639599, -0.0125268642, 0.0142471651, 0.0231548119, -0.02398533, 0.0360591412, -0.0273531638, 0.008123395, 0.0004383597, 0.0078482097, 0.0153657608, 0.0147698522, -0.0462146811, -0.0055257645, 0.069259584, -0.0066134608, 0.0162784569, -0.0554768741, 0.0334782004, -0.0466574058, 0.0153566655, 0.0060067815, 0.0181351732, -0.04879345, -0.0058849673, 0.0050757374, 0.0177138243, -0.0221341308, -0.0212355535, -0.0171369109, 0.0602232143, -0.0136027271, -0.0056444532, -0.0697247609, 0.0248115454, -0.028620936, 0.0737795532, 0.0498737246, -0.0140635651, -0.0745878667, -0.0271167606, -0.010389125, -0.0295921937, -0.0114508094, -0.015105864, 0.0391806439, -0.0028723693, -0.07122913, -0.0530875809, 0.0252305679, 0.0441612266, -0.0244406257, -0.0189666245, -0.0457278341, -0.0077376175, -0.0458589122, 0.0849527344, -0.0285346732, 0.0197620373, -0.0389467999, 0.0320001282, 0.0154898753, -0.0584917255, -0.0306261815, 0.0014055468, -0.0857022554, -0.0506489463, -0.0258361269, 0.0680602565, 0.021701904, 0.0496974029, -0.0257982537, -0.0497859567, 0.0180585571, -0.0010474056, 0.006612815, 0.0588212349, 0.0018269977, -0.0203015227, 0.0068088626, 0.0264973287, -0.0699427426, 0.0160062257, 0.0145679191, 0.0545455813, -0.0149374632, -0.0391083509, 0.0132569894, -0.0127882902, 0.0367705002, 0.0293912385, 0.0315859094, -0.0207362212, 0.0348276421, 0.0027574801, -0.0197664294, -0.0408471376, 0.0003953724, 0.0030382266, -0.0083383387, -0.0093805594, -0.0091761546, -0.0026589872, 0.0234529208, -0.0353451781, 0.0002750065, 0.0349127911, -0.0153836953, -0.0237495024, 0.0064258627, -0.0304010212, 0.0058996435, -0.0351918414, 0.0783998221, 0.0089658266, 0.0674731582, 0.0264330972, -0.0463749766, -0.0500351787, 0.0447262712, -0.0823195055, -0.0262125563, -0.0112891356, 0.022023553, 0.0440796204, -0.0407935269, 0.0292236507, 0.0052107698, -0.0068137599, 0.0088234795, -0.0129070049, 0.0132924886, -0.0392102972, 0.0814349502, 0.0455673225, 0.0044591604, 0.0156285223, 0.0537092723, 0.0308935437, 0.0047265803, -0.0175863653, -0.0233740471, 0.0134874796, -0.0295335911, 0.0264577754, -0.0011473338, -0.0239033662, 0.0215966161, -0.0409656093, -0.0718202069, 0.0012490972, 0.0207251702, -0.0221463572, -0.0160546619, 0.0345264412, 0.07771191, 0.0343218558, -0.0488345772, -0.0187676158, -0.0176887624, -0.0303680114, -0.029373413, -0.0352763273, -6.367237067e-33, -0.0267066788, -0.0255853683, 0.017148627, -0.0243905298, -0.0302198026, 0.0382052064, -0.0219383743, -0.0034498521, -0.0527303033, -0.0071335193, -0.004128674, 0.0264052544, 0.011703033, 0.0199624524, -0.0117687574, -0.0169691853, -0.0117040509, 0.0045246892, -0.0301508624, -0.0310900435, 0.003073558, 0.0032953881, 0.0439341217, -0.0058446191, 0.036371503, 0.0104505904, 0.0147947343, 0.0317670479, -0.0462069362, 0.0813857019, -0.0151943918, 0.0207846574, 0.0357717723, -0.004480348, -0.0129000256, 0.0787147507, -0.0738031194, -0.0257945061, 0.0576359928, 0.0121726096, -0.0585807264, -0.0169385076, 0.0494437926, -0.007648929, 0.0157145225, -0.0201482121, 0.0210625436, -0.0288085695, -0.0176687017, 0.0227080584, -0.0337158106, -0.0084705465, 0.0084391013, -0.0409613885, 0.0012649276, 0.0657051057, 0.0224039219, 0.0571816079, -0.0433776155, 0.0069079814, 0.0122594582, 0.0497700535, 0.065342702, 0.0402046852, -0.029095104, 0.036310304, 0.0149519388, -0.0314484164, -0.0364194103, -0.0549698286, 0.0096103614, 0.0125459209, 0.0615614913, -0.0134053258, 0.0285026245, 0.0569300503, -0.0654553771, -0.005530484, -0.0157856196, 0.0671440437, 0.0385574773, 0.0008785161, -0.0552582331, -0.0254914928, -0.0429597311, 0.0011245612, -0.0695352405, -0.0127195464, 0.0733114854, 0.0316295326, -0.0116605908, 0.0167277679, 0.0591915809, -0.0404920168, 0.0216692016, 0.0332867578, -0.0224677417, 0.0305217877, 0.0122177182, 0.0588958114, -0.0545675606, 0.0418065712, 0.0355005898, -0.0125908367, -0.0395242423, 0.0118234297, 0.0314911604, -0.015986694, -0.0418315828, -0.0057792626, -0.0404709391, -0.0116185909, -0.0373784676, 0.0407209285, 0.0385370851, 0.0389052033, -0.0217836704, 0.0698832721, 0.0011053383, -0.0076807262, -0.0486002713, -0.0139363166, -0.0351510942, 0.0185819063, -0.0326098613, 0.0182443336, -0.0290515833, 0.0471619554, -0.04804793, -0.0680846646, -0.0104142958, 0.0767905712, 2.713e-7, 0.0689669773, 0.0042947694, 0.0388830751, 0.0503642038, 0.0186417736, 0.0140051981, 0.0126171606, 0.0366865657, 0.0508858487, 0.0085489629, -0.0144010959, 0.0524906069, 0.0131685548, -0.0265359748, -0.0757235959, 0.027319625, -0.0483653471, -0.0118749067, -0.0304170232, -0.038547121, 0.0288356617, 0.0822649002, -0.0378029197, 0.0055936235, -0.0099389954, -0.0373286381, 0.0586566329, -0.0021759241, -0.0031665356, -0.0132395113, 0.0331663303, -0.0111998543, -0.0007134872, 0.0008098046, 0.0246408731, 0.0186939463, 0.0163021851, 0.0285901781, -0.0213680994, -0.0671811774, -0.0488655381, -0.0025851487, 0.0116167832, -0.0861663967, 0.115048714, -0.0424693078, -0.0039117173, -0.0275464021, -0.0382417664, 0.0135471625, -0.0047899056, -0.0036845091, -0.0195947066, 0.0009081927, 0.0296843164, -0.032512065, -0.0280820914, -0.100033991, -0.0596183464, -0.0317462124, -0.0202611499, -0.0180079099, -0.0394590944, 0.0057203071, 0.0322897732, -0.0609143227, -0.0566348955, 2.520670163e-34, 0.0237831958, -0.0250204541, 0.0317950696, 0.0303726047, 0.0103532281, -0.0011701827, -0.0004937631, -0.0028465465, 0.028119795, -0.0668002442, -0.0253129192 ]
http://arxiv.org/abs/2407.01093v1
http://arxiv.org/pdf/2407.01093v1
IBSEN: Director-Actor Agent Collaboration for Controllable and Interactive Drama Script Generation
2024-07-01T08:49:57
2024-07-01T08:49:57
Senyu Han, Lu Chen, Li-Min Lin, Zhengshan Xu, Kai Yu
cs.CL
cs.CL, cs.AI, cs.MA
Large language models have demonstrated their capabilities in storyline creation and human-like character role-playing. Current language model agents mainly focus on reasonable behaviors from the level of individuals, and their behaviors might be hard to constraint on the level of the whole storyline. In this paper we introduce IBSEN, a director-actor coordinate agent framework that generates drama scripts and makes the plot played by agents more controllable. The director agent writes plot outlines that the user desires to see, instructs the actor agents to role-play their characters, and reschedules the plot when human players participate in the scenario to ensure the plot is progressing towards the objective. To evaluate the framework, we create a novel drama plot that involves several actor agents and check the interactions between them under the instruction of the director agent. Evaluation results show that our framework could generate complete, diverse drama scripts from only a rough outline of plot objectives, meanwhile maintaining the characteristics of characters in the drama. Our codes and prompts are available at https://github.com/OpenDFM/ibsen.
IBSEN: Director-Actor Agent Collaboration for Controllable and Interactive Drama Script Generation: Large language models have demonstrated their capabilities in storyline creation and human-like character role-playing. Current language model agents mainly focus on reasonable behaviors from the level of individuals, and their behaviors might be hard to constraint on the level of the whole storyline. In this paper we introduce IBSEN, a director-actor coordinate agent framework that generates drama scripts and makes the plot played by agents more controllable. The director agent writes plot outlines that the user desires to see, instructs the actor agents to role-play their characters, and reschedules the plot when human players participate in the scenario to ensure the plot is progressing towards the objective. To evaluate the framework, we create a novel drama plot that involves several actor agents and check the interactions between them under the instruction of the director agent. Evaluation results show that our framework could generate complete, diverse drama scripts from only a rough outline of plot objectives, meanwhile maintaining the characteristics of characters in the drama. Our codes and prompts are available at https://github.com/OpenDFM/ibsen.
[ 0.0333429016, 0.0076675229, -0.0140045984, 0.0157386009, -0.0269884542, -0.0065185959, 0.0199726336, 0.0027826573, 0.031905748, 0.0083067175, -0.0190426651, -0.0211150777, -0.0141766565, 0.0909755975, -0.0249210298, -0.0899754986, -0.0108316438, -0.0472215787, 0.0713505074, 0.0098219076, -0.0119395899, 0.0043103835, -0.0182189029, 0.0327210389, -0.0324779898, -0.0328860916, -0.0331482366, -0.0023076278, 0.0553718321, -0.0126951076, 0.0169838406, -0.0106346132, 0.0275932215, 0.0049420916, 0.0000018061, -0.0748848617, 0.0207028706, -0.0295866821, 0.0254811626, -0.0194818955, 0.0370686688, 0.0398371257, -0.0188426357, -0.0108506726, -0.0146395816, 0.0207162295, 0.0399092808, 0.0497243181, 0.0986465663, 0.0555557944, -0.0155383479, -0.0159686115, -0.0645969659, 0.0180073325, -0.0290444624, -0.0101687033, -0.0219431035, 0.0141316932, 0.132477507, -0.0086020203, -0.0095878569, -0.0098927915, -0.0048530432, -0.0425056368, -0.0440226533, 0.0542274006, -0.0162261426, -0.0217893738, -0.0034589511, 0.0611409247, 0.0415428989, 0.0090653151, 0.006661457, -0.0192968845, 0.0488394909, 0.0687843636, -0.0298001524, 0.0463000238, -0.000493304, 0.003061299, 0.0110391164, 0.0310825817, 0.015388987, -0.0357000269, 0.0268088039, 0.0301885493, 0.0033688471, -0.0030554386, -0.0791761056, -0.0125893299, 0.0058230483, -0.0837658569, -0.0016151125, 0.0591096878, -0.025675064, 0.0017123383, -0.0494411513, 0.021906253, -0.0241547022, -0.0612414777, 0.0627677813, 0.032178022, 0.006722651, 0.0271626245, 0.0415810943, 0.0618811436, 0.0388141386, -0.0230137575, 0.039970953, 0.0446430854, -0.0191135015, -0.0151878474, -0.0658694282, -0.0089312242, -0.046673499, -0.0062118885, 0.0180757847, 0.0508413948, -0.0439136811, 0.0557484366, -0.0151167717, 0.0087110763, -0.0172982775, 0.0072484529, -0.0555825122, 0.0197450984, -0.0514870994, -0.0248677582, 0.0171679314, 0.0108270124, 0.0013396661, -0.0294982567, 0.0228702594, 0.0097425478, 0.0121338749, 0.0820251703, -0.016523404, 0.0177393686, 0.0230643656, -0.0310474187, 0.0100429673, -0.0427311175, -0.0913832113, -0.0335792899, 0.0298499186, -0.0360969417, 0.0023666027, -0.0380346552, 0.0206719898, 0.0094664795, 0.0295442883, 0.0247903988, -0.0008772739, 0.0444637872, 0.0205306523, 0.0189317949, -0.0404359326, 0.0279018003, 0.0671686307, 0.0577872917, -0.0016115481, 0.0133255385, 0.0690726638, 0.0296701547, -0.0514384173, 0.0228806771, 0.0148444278, -0.0069531128, 0.0403401554, 0.0666308776, -0.0295174513, 0.0419513956, -0.0315700732, 0.0038720067, 0.036072202, 0.026528962, 0.0520335995, -0.018223552, 0.0738466308, 0.0377862677, -0.0068358351, -0.002541913, -0.0080227451, 0.0438552573, 0.0748075992, -0.0189051758, -0.1059460714, -0.0090171797, 0.001572928, -0.0283359345, 0.0190662723, -0.008668174, -0.0070298398, -0.0189504493, 0.0102148559, 0.0136685725, -0.0481886156, -0.007786016, 0.0101722348, -0.0922620669, 0.0672919527, -0.01260815, 0.0049482137, 0.1290562451, 0.0364097916, -0.04139667, -0.0632050782, -0.0088401344, 0.0004382067, 0.0136452513, 0.0033266339, -0.0673518851, 0.0241423212, -0.0160732698, 0.044037696, -0.0061347419, -0.0063825124, 0.0591653921, -0.0489790142, -0.0212068278, -0.0367498994, 0.0400060788, -0.0151866097, 0.005549862, -0.0943745449, -0.021448914, -0.0522083119, 0.0035798806, 0.0159998499, -0.0056161857, -0.0494910702, -0.0174667239, 0.0207190514, -0.012964054, -0.0383443236, 0.0575283393, 0.0044524223, 0.0175290219, 0.0109611284, -0.015951097, -0.0164397024, -0.0207025465, 0.0105616329, -0.0413351394, 0.0588885285, -0.0112886103, -0.0266207624, 0.0043752124, -0.0022335555, -0.0090030804, -0.0063408148, -0.0171269774, 0.0187532846, 0.0087082107, -0.0120914783, 0.0326159, 0.0518855974, -0.0003139202, -0.0145825464, 0.0432691276, 0.0552789047, 0.0262041725, 0.0023156367, 0.0375685655, -0.0038208233, -0.0054327589, -0.0703450516, -0.055462651, -0.0203720629, 0.0108401254, -0.0437089428, 0.0200719535, 0.0294860248, -0.0427688994, 0.0063473284, -0.0425087847, 0.0000215014, 0.0539994724, -0.0477359109, 0.0087272683, 0.0342938192, -0.0382834971, -0.0192807429, 0.0231705159, -0.0142285964, 0.0169207361, 0.0516877025, 0.0117991995, -0.0330897383, -0.0137190716, -0.0151836378, 0.0196013376, -0.054747466, -0.0342213698, 0.0283465777, -0.0304306932, 0.0024434065, 0.0024329859, -0.032265991, 0.0414046422, 0.0807019621, -0.0704075769, -0.0279690921, 0.0283482168, 0.0084174098, 0.0181914475, -0.0559913889, -0.0428402871, 0.033612784, 0.0732038319, 0.0041392087, 0.0360004455, -0.0646240264, 0.002630125, 0.0225045271, -0.0226058979, 0.0611511804, -0.0684956387, -0.0418752767, 0.0382548831, -0.0178735498, 0.0398734771, 0.068394497, -0.0473535694, -0.03998743, -0.0025696687, 0.0039609466, -0.0570004992, 0.0898638889, -0.0086920932, 0.0337162428, -0.0308531635, -0.0014076025, -0.0192039963, -0.0220975187, 0.067728363, -0.0131311631, 0.0133390659, -0.0525109693, -0.0218266714, -0.0009037828, 0.0189109985, -0.0268566553, -0.0167824123, -0.0295218527, -0.0078898752, 0.0264174324, -0.0362810008, -0.0286158305, 0.0283871591, -0.012200065, 0.0426700599, 0.0190445557, -0.0072515588, -0.0370011702, -0.0242374334, 0.00208851, 0.0133017823, -0.075578481, -0.0338770524, 0.084773235, 0.0199355129, -0.0630706474, -0.0289487615, -0.016469283, 0.0154407667, 0.0310070161, -0.0066847797, 0.0092739221, -0.016773466, 0.0522054806, -0.0615420565, -0.0090126786, 0.0976612121, 0.0243939329, -0.0055769579, 0.0188854281, -0.0323901139, 0.0356028229, 0.0127378479, 0.0180536248, -0.0097977519, 0.0387388095, 0.0219212566, 0.0267293639, 0.0201500747, -0.0412095748, -0.0148823289, -0.0476698726, 0.0835025981, 0.0095640011, 0.0139769148, 0.0274352357, -0.0234280974, 0.0405836068, 0.0105486093, -0.0195051637, 0.0264817607, 0.0047851228, -0.0172137022, -0.0239020977, -0.0202763025, -0.004086534, 0.0063567357, -0.0597838536, 0.0936373174, 0.0449325517, 0.0596530735, -0.0004612218, 0.0325495265, -0.0292552523, 0.0313725397, 0.0479121096, -0.0004440506, 0.0278352126, -0.0115032131, -0.0342991352, -0.0224712603, 0.0164799187, 0.0239692349, -0.0528208092, 0.0172870532, 0.0605969839, -0.0407952666, -0.0427819677, -0.0398381464, 0.0389523394, 0.0195934903, 0.0276651233, -0.0031767969, -0.0681403726, -0.0332207903, -0.0205137897, -0.010220401, -0.0700024739, -0.0300463103, -0.0000202741, -0.0110376105, -0.0500251539, -0.0643271878, -0.0651706383, 0.0478403084, 0.0653492659, 0.0184595566, -0.0317782126, 0.006082675, 0.0014802983, -0.0132829528, -0.0398803428, 0.0004774506, 0.0096342349, -0.0217239521, -0.0387263447, -0.0149189439, -0.058817815, 0.0210923254, 0.0239653364, -0.00038567, -0.064609006, 0.0226335488, 0.0281305276, 0.0221211649, 0.0372351483, 0.0017260927, -0.0324616693, -0.0179437194, -0.0473264456, -0.0323778056, 0.0313271396, -0.0304769482, 0.0261747129, -0.0086248927, 0.0042759371, -0.0358902216, 0.0061240522, -0.014613959, 0.0413385704, -0.0591163188, -0.0364008546, 0.0166888256, 0.0190780852, -0.0590025671, -0.048123911, 0.0176046137, -0.0450203232, -0.0393268466, -0.0739913136, -0.0229093507, -0.0214775391, 0.001228722, 0.0036396938, -0.0272808019, 0.0318412594, 0.0001739749, -0.0458640642, -0.0411922634, 0.0084566167, 0.0348685347, 0.0482942611, -0.0148918806, 0.0559036247, 0.0451928861, -0.0038746325, 0.0317627378, -0.0482822955, 0.0296622962, 0.021431189, 0.003809897, 0.015920667, -0.0346179307, 0.0068391599, 0.0183022078, -0.0180507321, -0.0405434407, 0.0569675118, 0.0033016771, 0.0261194892, 0.017494658, 0.0304192044, -0.0650112182, 0.0324423946, 0.0041420297, -0.006425607, 0.026222134, -0.0674029365, -0.0384008251, 0.025563594, -0.0041844114, -0.0026307569, 0.0444698036, 0.0159590393, 0.025292486, -0.0271126255, -0.0402865484, -0.0386507437, -0.0135364579, -0.0008059007, -0.0061316211, -0.0183741301, 0.0124892388, -0.0773364976, -0.022894131, 0.0044229161, 0.0339690857, -0.0084985727, -0.0442270935, 0.014603355, -0.0067074941, 0.0281716641, 0.0462555028, -0.0470985062, 0.0385514535, -0.0167416725, -0.0167755466, -0.0114621064, -4.86042596e-33, -0.0584397539, -0.0210810993, 0.0403855219, 0.0281965621, -0.0403998643, -0.0171845034, -0.0594951026, -0.0142887691, 0.0240769517, 0.0298102144, 0.0284279063, -0.0071604392, -0.0187810324, -0.0179141778, 0.0132152848, -0.025537692, 0.0732780546, 0.032630913, -0.0527522489, 0.0032846506, 0.0545278192, 0.0313035697, -0.0159454998, -0.0616837218, -0.0074007493, -0.066082634, -0.0493609756, 0.0085507948, 0.0241809916, -0.0131594557, 0.0282588881, -0.0145615917, 0.0094203372, 0.0245682932, -0.0010060379, 0.0326855667, -0.0046149334, -0.0403242633, 0.0065385178, 0.0083519286, -0.0186428577, -0.0327512324, -0.0363023989, -0.0178465396, -0.0119415838, -0.0119973458, 0.0413430519, -0.0045253285, 0.0270654764, 0.0366500504, -0.0901845023, -0.0022272537, -0.0401647054, -0.0515265502, 0.0143075669, 0.0361988209, 0.0094118854, -0.0534055084, -0.0537649393, 0.0547770187, -0.0292325933, -0.0117519582, -0.0002846628, 0.0505111478, -0.003460862, 0.0825314522, -0.0029109537, 0.0429205112, -0.0648962632, 0.047860831, -0.0305525437, 0.0701235682, 0.0260449629, 0.0550838597, -0.0866010785, -0.0154964561, -0.0011912683, 0.0576949641, 0.0032252348, 0.0366073176, 0.0253091771, 0.0509326458, -0.0418477356, -0.0154946605, 0.0008801838, 0.0093961442, 0.0122535927, -0.0561282225, -0.0007486442, -0.0245216228, 0.0230292864, -0.0377088264, 0.0146427769, -0.0123143252, 0.025646098, 0.0160177555, -0.036144603, 0.0414983593, 0.0019002676, 0.0160767306, 0.0276712645, -0.0039403061, 0.026341252, 0.0008903417, 0.0624018312, 0.0540899336, -0.0268852729, 0.0709459707, 0.0066710063, -0.0180101823, -0.0057096602, 0.0292268507, 0.0169414673, -0.0243164152, -0.0287227686, -0.0405171476, -0.018240789, -0.0096645262, 0.0022232577, -0.0483337678, 0.0204016846, 0.0383133441, -0.0348151363, -0.0059785116, -0.0594360456, 0.0292369779, -0.0607277639, 0.0465430394, 0.040490903, -0.0442753807, 0.0037025581, -0.0318137221, 2.747e-7, -0.0245179292, 0.0111978892, 0.0184754077, 0.0495270044, 0.0324764363, 0.0610740036, -0.0482316799, 0.0384986773, 0.0218245406, -0.0221687313, 0.0384016447, 0.017159557, 0.0076562474, 0.0523586757, -0.06393525, -0.0200075395, -0.0297582783, -0.0371768773, -0.0384050645, -0.0195367411, 0.0766056627, -0.0119042834, 0.0655516759, -0.0016437138, 0.0151862912, -0.0434861444, 0.0237563346, -0.0538963787, -0.0365744308, 0.0385243706, -0.0409316868, -0.0439019836, -0.0096022105, -0.0068569286, -0.005194454, 0.015941862, -0.0218429007, 0.0397323333, -0.0379339941, 0.0487715229, 0.0159129184, -0.0235979725, -0.0129096666, -0.0240786076, 0.0117272288, -0.0000997599, -0.0326074548, 0.0260622986, -0.0269496199, -0.0163309146, -0.0505351387, -0.0222887993, -0.0309092514, 0.0196681302, -0.0154812783, 0.0285234097, 0.0159152914, -0.0104701258, -0.0050319145, 0.0218428932, -0.0519136079, -0.0158182122, -0.0008327413, 0.0093484623, -0.0092881219, -0.0152521301, 0.0223526321, 2.204552411e-34, -0.0131392991, 0.0200881902, -0.0197558571, 0.0022368692, 0.0626747161, 0.016482966, 0.0013012455, 0.0467071421, 0.0677395165, -0.0142425643, -0.0397929028 ]
http://arxiv.org/abs/2407.01091v1
http://arxiv.org/pdf/2407.01091v1
M2QA: Multi-domain Multilingual Question Answering
2024-07-01T08:48:49
2024-07-01T08:48:49
Leon Engländer, Hannah Sterz, Clifton Poth, Jonas Pfeiffer, Ilia Kuznetsov, Iryna Gurevych
cs.CL
cs.CL
Generalization and robustness to input variation are core desiderata of machine learning research. Language varies along several axes, most importantly, language instance (e.g. French) and domain (e.g. news). While adapting NLP models to new languages within a single domain, or to new domains within a single language, is widely studied, research in joint adaptation is hampered by the lack of evaluation datasets. This prevents the transfer of NLP systems from well-resourced languages and domains to non-dominant language-domain combinations. To address this gap, we introduce M2QA, a multi-domain multilingual question answering benchmark. M2QA includes 13,500 SQuAD 2.0-style question-answer instances in German, Turkish, and Chinese for the domains of product reviews, news, and creative writing. We use M2QA to explore cross-lingual cross-domain performance of fine-tuned models and state-of-the-art LLMs and investigate modular approaches to domain and language adaptation. We witness 1) considerable performance variations across domain-language combinations within model classes and 2) considerable performance drops between source and target language-domain combinations across all model sizes. We demonstrate that M2QA is far from solved, and new methods to effectively transfer both linguistic and domain-specific information are necessary. We make M2QA publicly available at https://github.com/UKPLab/m2qa.
M2QA: Multi-domain Multilingual Question Answering: Generalization and robustness to input variation are core desiderata of machine learning research. Language varies along several axes, most importantly, language instance (e.g. French) and domain (e.g. news). While adapting NLP models to new languages within a single domain, or to new domains within a single language, is widely studied, research in joint adaptation is hampered by the lack of evaluation datasets. This prevents the transfer of NLP systems from well-resourced languages and domains to non-dominant language-domain combinations. To address this gap, we introduce M2QA, a multi-domain multilingual question answering benchmark. M2QA includes 13,500 SQuAD 2.0-style question-answer instances in German, Turkish, and Chinese for the domains of product reviews, news, and creative writing. We use M2QA to explore cross-lingual cross-domain performance of fine-tuned models and state-of-the-art LLMs and investigate modular approaches to domain and language adaptation. We witness 1) considerable performance variations across domain-language combinations within model classes and 2) considerable performance drops between source and target language-domain combinations across all model sizes. We demonstrate that M2QA is far from solved, and new methods to effectively transfer both linguistic and domain-specific information are necessary. We make M2QA publicly available at https://github.com/UKPLab/m2qa.
[ 0.0411648899, 0.0335087106, -0.00636693, 0.0580861941, -0.0189624541, 0.014109958, 0.0306981355, -0.0235207062, -0.0449168049, -0.0625593662, -0.0697412416, -0.0510267615, -0.0471277758, 0.0027473271, 0.0043936875, -0.0138282552, 0.0527024381, -0.0393379219, -0.0247123111, -0.0304714236, 0.0011547763, 0.0438154638, -0.0035959457, 0.0081520211, 0.0260907561, -0.0200631022, 0.0274149179, -0.0026401887, 0.0222902708, 0.0120257204, 0.0408738405, 0.0470457152, 0.0093747992, 0.0140287597, 0.0000016906, -0.0673827454, -0.0200404767, -0.0150171155, 0.0285880882, -0.0036374484, 0.0134283053, -0.0396626107, 0.0130794281, 0.0077950917, -0.045428399, -0.0213362016, 0.0347217731, 0.0315896198, 0.0672586784, 0.0877224281, 0.0084207365, -0.027984865, -0.0108780889, -0.0160712302, -0.0310401674, -0.0837841928, 0.0165811628, 0.0099365273, 0.0215394255, 0.0044746506, -0.0195647758, 0.0181832183, 0.0334981978, 0.0164156463, -0.0466732718, -0.0164156687, -0.0147237889, 0.0471690558, -0.0180995297, 0.0702731311, 0.0112382732, -0.0172049291, -0.0362233967, 0.0211502649, 0.0199859645, 0.0031283237, -0.0595698506, -0.0142170526, 0.0068594408, -0.0288034528, 0.0152658913, -0.01735783, 0.0200307611, 0.0026114529, -0.0166316666, 0.0875245705, 0.0287231673, -0.0026806688, 0.0261210389, 0.0486484282, -0.0429168642, -0.0433204807, -0.0085750604, 0.0724512115, -0.0326648951, 0.0139267063, -0.0311139207, -0.0397912487, 0.0271753892, -0.0613018386, 0.0419804528, 0.0105601056, 0.0005420828, 0.0658529997, -0.0295241326, 0.0265005492, -0.0426600762, -0.0085826218, -0.0797021315, -0.072140187, -0.0548460148, -0.0245270729, -0.0175852645, 0.0386861302, -0.0312544927, 0.0123355212, -0.0200351868, 0.0281564426, 0.0066495794, -0.0421859697, 0.0090043591, 0.0072744777, -0.0114187412, -0.0081926752, -0.0434717424, 0.0599590242, -0.0836402625, 0.0284138341, 0.0030300186, -0.0433452018, -0.0124227861, 0.012330981, -0.0236247219, -0.0594370142, 0.0233266857, 0.0872189477, -0.0281431191, 0.0018464241, -0.0137189459, 0.0162635017, -0.0104224617, -0.0808937773, 0.0211327579, -0.0931296423, 0.0483075269, 0.013254079, -0.0103647085, -0.0482795648, -0.0044995821, 0.0125152394, -0.017041795, 0.0371468104, 0.0136412, -0.0036460622, 0.0299562681, 0.0123277521, -0.0039978963, 0.1021246091, 0.0002681489, -0.0505299456, 0.0493630059, -0.008514218, 0.0148178842, 0.0366643406, 0.015012769, 0.0423331559, 0.0111514516, 0.0496833995, 0.0146646928, -0.0016770092, 0.0406526066, 0.0104410192, 0.0003256548, -0.0466887951, 0.0272071175, -0.0045907274, 0.0157494079, 0.0327257328, 0.0323365517, -0.0370017961, 0.0145532032, 0.0064593148, -0.0260606389, 0.0463891663, -0.0103325164, -0.0080892537, -0.0144122643, 0.0539012589, -0.0605618581, -0.0186107792, 0.0069312388, -0.0080418624, 0.0186781604, 0.0114467302, 0.0391349271, 0.0392830186, -0.0040596062, 0.0797629058, 0.030713642, -0.0104848268, 0.0132580418, -0.0248311944, 0.0325401649, 0.0155058512, 0.0103460085, -0.0232316591, -0.0384576879, -0.0028726666, 0.0268224869, 0.0316597298, 0.0564356484, -0.0312536396, 0.0654053316, -0.016825255, -0.0224682875, -0.0587211028, -0.0038903186, 0.0581660643, 0.031497553, 0.0500182025, -0.0023311172, -0.0659376457, 0.0113565782, 0.0072990954, -0.0678941309, -0.0105707757, 0.0459228493, -0.009912936, 0.0015042075, 0.0391909853, -0.0051038582, -0.0076094856, 0.0215036515, -0.0640647784, -0.0433603935, -0.0097334897, -0.0156259388, -0.0390459523, 0.0414668806, -0.0326070711, -0.0225286204, 0.054162465, -0.0473304018, -0.0316870399, 0.0152963419, 0.0120385755, -0.0069640102, -0.0395483859, -0.0230065547, 0.0020095364, 0.0405626521, -0.037557587, 0.0471060388, 0.0146222673, 0.0159059316, -0.0099014388, 0.0176260583, 0.0187755506, -0.0100826854, -0.0074260156, 0.0385629982, -0.0078830384, 0.0240258891, 0.029695183, 0.0467541963, -0.0272243116, -0.0106809326, -0.0699504688, 0.0216747876, -0.0296834242, 0.0388475619, 0.0519950427, 0.0369947106, -0.0007852557, -0.0232196413, -0.0796445608, -0.0075092451, 0.0475577898, 0.0544725806, 0.0544769689, 0.0174744688, 0.0468788296, -0.0215076301, -0.0149661088, 0.0156376697, 0.0381382518, -0.0400538035, 0.0106115714, -0.0680398941, 0.0121885138, -0.0740284175, 0.0317309201, 0.0030832416, -0.029901877, -0.0340924375, -0.00459573, 0.0155470474, 0.0415249132, -0.0147350449, -0.039620582, 0.0535966456, 0.0273327511, -0.0367411189, 0.0400355272, -0.0095079662, -0.0242561754, -0.0649297386, 0.0065457709, 0.0199897829, 0.0448739119, -0.0271188598, -0.0376822762, -0.0281538889, 0.0187284555, -0.0162460357, -0.0232149046, -0.016738439, 0.037642125, 0.0025070298, 0.0462089591, -0.0083080381, 0.0174782574, 0.0734275281, 0.009247683, -0.0091605345, -0.091983214, -0.0228976458, -0.0843563899, 0.0264059305, -0.0412684195, 0.0314597562, -0.0268488713, -0.0080358749, -0.0613362156, -0.0241709743, 0.0149178132, -0.0037614978, 0.069659926, -0.0158196669, 0.0021683767, -0.0304732788, -0.0681470558, -0.0322881043, -0.0036219878, -0.0329010338, 0.0114903729, -0.0187861603, -0.0231718402, -0.0440001786, -0.0045693233, 0.0410751663, 0.0034205313, -0.0339037478, -0.0055353874, 0.0062572472, 0.0694091469, 0.0688552707, 0.0767906904, 0.0193090923, -0.0310771205, 0.0330215655, 0.0409977883, -0.0000489228, 0.0112373587, -0.0050030262, -0.0073483959, 0.0588135831, -0.0180889424, 0.0056187329, -0.0180752929, 0.0980413184, -0.0145444199, -0.0164803267, 0.0906605646, 0.0072323959, -0.0314432569, 0.0046689222, -0.0243092235, 0.0241978951, 0.039729353, 0.076078482, -0.0711096823, -0.0428807177, -0.0370415002, 0.0061415602, 0.0271755084, 0.0078236498, -0.0167976487, -0.1277992874, -0.002277784, -0.040512789, -0.0941234007, -0.0362714119, -0.0512035005, 0.0088078249, -0.0070251515, 0.0381211601, -0.0335626826, 0.0016762834, -0.0000222092, 0.0230445974, 0.0039708298, -0.0312158372, 0.038136825, -0.0272034872, -0.0005169649, 0.0536773577, 0.014461752, -0.0383738503, 0.0256102029, 0.0562994555, -0.0424513631, -0.000642855, -0.0208893195, 0.0429455228, 0.0089013996, -0.0069197263, 0.0301168934, 0.0084503526, -0.0686677769, 0.027738912, 0.0685475394, 0.0566569716, 0.0316501819, -0.0186131075, -0.0325770378, 0.0057911775, -0.0138946623, 0.0730582178, 0.0106343366, -0.0633673519, -0.015036948, -0.024421744, -0.0715697408, -0.0738125145, -0.0676537678, 0.0177330449, -0.0042573097, 0.0266693868, -0.0791883767, -0.0663434565, 0.0045012045, 0.0240880344, -0.0060258573, 0.0316398591, -0.0520795062, 0.01144672, -0.022802813, -0.0009960545, -0.0226822067, 0.0082844924, -0.0489206277, 0.0182472523, 0.0280848164, -0.0432618, -0.0293557364, -0.0164745227, -0.0877885148, -0.04688197, -0.0240375027, 0.0464817733, 0.0078299716, 0.0318232253, -0.0428883731, -0.0300577618, 0.0226985477, -0.0043979799, 0.0004923812, 0.0234012753, 0.0287689157, 0.004048747, -0.0082734926, 0.0486419797, -0.0737403333, 0.0345910154, 0.0453118309, 0.0419609658, -0.0041210679, -0.0367971845, 0.0076343571, 0.0044779121, -0.023974115, 0.0300552901, -0.0187141877, 0.0084389383, 0.0412090681, -0.0077912458, -0.0277873855, -0.0437252261, -0.0101045193, 0.0215325113, -0.050997436, -0.0103468336, 0.0192248784, 0.020899374, 0.042599, -0.0577283055, 0.0159363039, 0.0806646571, 0.0051334314, -0.0258522872, 0.0174370836, -0.0138218747, -0.0042360169, 0.0246054586, 0.0485952608, -0.0308972448, 0.0207400899, 0.0264329929, -0.0173610225, 0.0135579389, 0.007938141, -0.0885860696, -0.031805113, 0.0001057203, 0.0192845203, 0.0650356933, -0.0121057937, 0.0690098852, -0.0025357648, -0.0228874628, -0.0419513173, -0.0115797017, 0.0196119901, 0.0355032124, 0.0408108234, 0.0088889347, -0.0120575121, 0.0257980563, 0.0709279105, 0.0032815223, 0.0457847714, 0.0082071591, 0.0108848782, -0.0155376391, -0.0123271961, -0.0094285589, -0.0152489804, -0.0190763883, 0.0317955725, -0.0439082459, -0.0479069762, -0.0135590872, -0.0187895633, -0.0052741822, -0.0111055169, 0.0150854932, 0.0839548036, 0.0316450745, -0.0102690235, -0.0480519384, 0.0096977381, -0.0116904825, -0.0146072367, 0.012952677, -5.881294682e-33, -0.005450448, 0.0089022359, 0.019447647, -0.0339543968, 0.0104677109, -0.0039609671, -0.0092192497, -0.0099293934, -0.0713687539, -0.0002496578, -0.0191314649, 0.008699134, -0.0033251089, 0.0341722593, 0.0002983997, -0.0515561551, 0.0122661758, 0.0045885686, -0.0366376527, -0.000948594, 0.0279580522, 0.0388580672, 0.0821955875, -0.0405079797, 0.0129491054, -0.0168420598, 0.0073314128, 0.0458500832, -0.0141157936, 0.0919033363, 0.0150897764, 0.0530937724, 0.0532819331, -0.071794346, -0.0026983859, -0.0165966023, -0.0834938064, -0.0459814034, 0.0088052033, 0.0116261346, -0.0311443433, -0.041445151, -0.0071107154, 0.009933644, 0.0393228047, -0.0351088457, 0.02468873, -0.0446369983, 0.0131607288, -0.0348484516, -0.0629501641, -0.002161257, 0.019469751, 0.0091464315, -0.024417378, 0.0916821882, -0.0135878492, 0.0339462683, -0.0275200475, -0.0030697943, -0.0338323303, 0.0672860816, 0.0568536073, -0.0144111104, -0.060574457, 0.0110158678, -0.0190103594, 0.0169792324, 0.0222717989, -0.0023703098, -0.01231826, 0.0014487135, 0.0470300876, 0.0894378573, 0.0180833433, 0.0072955536, -0.0972177908, 0.0397128612, 0.0210916158, 0.0045602303, 0.0049827076, -0.0102784242, 0.0099534038, 0.0031288455, -0.0327815562, 0.0500147715, -0.0287199374, -0.035906814, 0.0309387427, -0.0292127654, -0.0342637077, -0.0231463537, 0.0436015762, -0.0481632203, -0.0042314567, 0.0430846997, -0.0253929626, 0.0000840489, 0.0231981557, 0.0555840246, -0.010358599, -0.009306306, -0.009518547, 0.0007477421, -0.0017633856, 0.0048706848, 0.0464729816, -0.0187649764, -0.063811101, 0.0024955245, -0.0248708073, 0.0278514549, -0.0218398403, 0.0641657487, -0.0254903175, 0.0056396625, -0.0140562374, 0.0450761653, 0.0322087705, -0.0350832529, -0.0159638263, -0.0117218802, -0.0017050526, 0.022655515, -0.0264836531, 0.0084781945, -0.0315584764, 0.0245031659, -0.0209211688, -0.0450401939, -0.0317425467, 0.0242860951, 2.349e-7, 0.0740341917, 0.0116998069, -0.0167824086, 0.0508204997, 0.0246688444, 0.034994375, -0.0251110606, 0.048710227, 0.019755315, 0.0145197008, -0.0297905076, 0.055445224, 0.0498882718, 0.0477688201, -0.0726215318, -0.0011230377, -0.021545805, 0.0139976339, -0.0139903268, -0.0003723146, 0.0272408463, 0.0832529142, -0.0051419935, -0.0120971557, -0.0393250734, -0.057925541, 0.0688557923, 0.002342901, -0.0119789336, 0.0044151302, -0.0045268126, -0.0051628011, 0.0164181571, 0.0048468527, -0.0287526883, 0.0251935832, 0.0488686524, 0.0701798722, 0.0256686974, -0.0536331944, 0.0014725057, -0.0091055781, 0.0131608266, -0.0315214396, 0.0974927247, -0.0117200799, -0.008280674, -0.0554190725, -0.0143145472, -0.0081122806, 0.0468962304, -0.0207538698, -0.0061546052, 0.0303371903, 0.0256383382, 0.0053137164, -0.0183077436, -0.0301460773, -0.0176734813, 0.0198773276, -0.0170456041, -0.0257496983, 0.0099866018, -0.0071789068, 0.0016439491, -0.061466109, 0.0123857101, 1.863985066e-34, 0.0149677312, -0.003836374, -0.0007359249, 0.0520013012, 0.0080695609, -0.0313675366, -0.0516602285, -0.0315988436, 0.0217356924, -0.0502836592, 0.0151514048 ]
http://arxiv.org/abs/2407.01085v1
http://arxiv.org/pdf/2407.01085v1
Rethinking LLM-based Preference Evaluation
2024-07-01T08:37:41
2024-07-01T08:37:41
Zhengyu Hu, Linxin Song, Jieyu Zhang, Zheyuan Xiao, Jingang Wang, Zhenyu Chen, Jieyu Zhao, Hui Xiong
cs.LG
cs.LG, cs.CL
Recently, large language model (LLM)-based preference evaluation has been widely adopted to compare pairs of model responses. However, a severe bias towards lengthy responses has been observed, raising concerns about the reliability of this evaluation method. In this work, we designed a series of controlled experiments to study the major impacting factors of the metric of LLM-based preference evaluation, i.e., win rate, and conclude that the win rate is affected by two axes of model response: desirability and information mass, where the former is length-independent and related to trustworthiness, and the latter is length-dependent and can be represented by conditional entropy. We find that length impacts the existing evaluations by influencing information mass. However, a reliable evaluation metric should not only assess content quality but also ensure that the assessment is not confounded by extraneous factors such as response length. Therefore, we propose a simple yet effective adjustment, AdapAlpaca, to the existing practice of win rate measurement. Specifically, by adjusting the lengths of reference answers to match the test model's answers within the same interval, we debias information mass relative to length, ensuring a fair model evaluation.
Rethinking LLM-based Preference Evaluation: Recently, large language model (LLM)-based preference evaluation has been widely adopted to compare pairs of model responses. However, a severe bias towards lengthy responses has been observed, raising concerns about the reliability of this evaluation method. In this work, we designed a series of controlled experiments to study the major impacting factors of the metric of LLM-based preference evaluation, i.e., win rate, and conclude that the win rate is affected by two axes of model response: desirability and information mass, where the former is length-independent and related to trustworthiness, and the latter is length-dependent and can be represented by conditional entropy. We find that length impacts the existing evaluations by influencing information mass. However, a reliable evaluation metric should not only assess content quality but also ensure that the assessment is not confounded by extraneous factors such as response length. Therefore, we propose a simple yet effective adjustment, AdapAlpaca, to the existing practice of win rate measurement. Specifically, by adjusting the lengths of reference answers to match the test model's answers within the same interval, we debias information mass relative to length, ensuring a fair model evaluation.
[ 0.0634111091, 0.0605203956, -0.0030277523, 0.037527144, -0.0614435449, -0.0026092511, -0.0044622938, -0.0000168917, 0.0032086486, -0.0357030891, -0.0533285774, -0.0877865404, 0.0177885238, 0.0199676994, 0.0085001821, -0.0305003598, 0.0018413856, -0.0138674825, 0.0493862554, -0.0289963484, 0.0031169967, -0.0234428942, 0.0296686869, 0.0149386907, 0.0808424428, 0.0045436881, 0.0085213091, -0.0329867229, 0.0124555919, -0.0594485551, -0.0099239843, 0.0646033064, -0.0144517412, -0.008559336, 0.0000021628, -0.0788705125, 0.0043707923, 0.008011044, -0.0218138173, 0.0667232051, 0.0262265597, 0.0846994817, 0.0083582383, 0.0191218145, -0.0288971122, 0.0089148758, 0.0173244569, 0.0124984449, -0.003196008, 0.0125476737, 0.0067306668, -0.0077012186, 0.0098821595, -0.0453215502, 0.0367441215, -0.0053978348, 0.0273199789, -0.027000431, -0.0037073623, 0.0237180982, -0.0072700782, 0.0004594635, 0.0095218131, -0.0156746823, 0.0331504233, 0.0130663868, 0.0348133743, -0.023209719, -0.0007192332, 0.05699699, 0.0415778048, 0.0114450296, -0.0404269807, -0.0314837545, 0.0492021777, 0.0155170839, -0.0467515774, 0.0134646539, 0.0251307506, 0.0050694467, -0.0001077871, 0.0291372538, 0.0210184958, 0.0099255173, -0.0048548635, 0.0979148522, 0.0031712558, -0.0533698834, 0.0181363765, -0.0070131407, 0.001348279, -0.0755729005, -0.0243348852, 0.0008384687, 0.0151855852, 0.0327301696, 0.0322124623, 0.0515208729, 0.0595878214, -0.0625404045, 0.0109982714, 0.0052168067, 0.0033048221, 0.0168007892, 0.0111945253, 0.0591193959, 0.0178227015, -0.0018487948, -0.0460973978, 0.0473089628, 0.0007779552, 0.0078181168, 0.0645516217, 0.0252183396, 0.0138806514, -0.003567304, -0.0686806887, 0.0023023484, 0.0069959909, 0.0303781759, 0.0241240021, 0.0137839187, 0.033719521, 0.0053654253, -0.086374402, 0.0686103031, -0.0258954, 0.032965634, 0.0118100774, -0.0344865173, 0.0469353944, 0.0073995041, -0.0156382117, -0.0442372747, 0.0281016584, 0.0495745242, 0.0115981437, -0.0433390662, 0.009488292, -0.0003845882, -0.0572553948, -0.061438337, -0.0135848625, -0.0915551037, -0.0046790638, 0.0204474833, -0.0074615004, -0.0277468972, -0.0022047595, 0.0052637076, -0.0515949056, 0.00976949, 0.0108341491, 0.032686688, -0.0129114641, 0.0262623206, 0.0340070464, 0.0454714037, 0.0435351469, 0.0543600693, 0.0547157004, -0.0235048421, -0.0128856646, 0.0220318902, -0.0216630213, 0.05057941, 0.0031801644, 0.0433571674, 0.0038821064, -0.0009529875, 0.0084981518, 0.0638413131, -0.0167887751, -0.0350571387, 0.1248478591, 0.0346629359, 0.0299238916, -0.0260573737, -0.0180037878, 0.0403070599, 0.0149786174, 0.0468786769, -0.0131077627, 0.0122950459, -0.0312119257, 0.0244465843, 0.0844919682, 0.0266343262, -0.0032247349, -0.0689107105, -0.020307593, 0.0054555261, 0.0289903153, 0.0601767264, 0.0361382477, -0.0428793691, -0.0136718787, -0.0052812672, 0.0309827533, -0.0321877226, 0.0159735754, -0.0515854657, 0.0755749419, 0.0719064921, 0.0136191836, 0.0223960709, 0.0305395629, -0.027187746, -0.0565320887, 0.021504933, 0.05642768, 0.0069547221, -0.0004070709, -0.0201604534, -0.0176530592, -0.0079257516, 0.0087989643, 0.0229713637, -0.0069776359, 0.0299309604, 0.0023153897, -0.0221958198, -0.0185280852, -0.0015786502, 0.0187429674, -0.0274757966, -0.0117355678, -0.0036386736, 0.0967671946, 0.0176584516, -0.0167385489, 0.029719431, 0.0097988555, 0.0051306076, -0.0203828365, -0.0262370016, -0.0156365968, 0.0300062448, 0.0265646223, -0.0181725249, 0.0100463284, 0.0185610205, 0.0310092699, 0.0009826705, -0.0285196993, -0.0138075883, 0.0505003445, 0.0058719809, 0.0253701694, -0.0441786759, -0.0249434002, -0.0843369141, 0.0243397616, -0.0312919877, 0.0561692826, -0.0178405624, -0.0486833677, 0.0166137125, -0.0329695903, -0.0472745709, 0.0533557199, 0.0012888912, 0.0097430842, 0.0554099716, -0.0128883868, -0.0491111465, -0.0535684898, -0.0672264099, -0.0016264033, 0.020208016, 0.0131786289, 0.0115327379, -0.0160340443, -0.0142909596, 0.0493152663, -0.092746824, -0.0330323949, 0.0115141366, 0.0429859273, -0.0080793174, 0.0061486452, -0.0188592672, -0.0493936837, -0.03130899, 0.0137726283, 0.0486978702, 0.042154517, 0.0350033976, -0.0361265987, 0.0701586157, -0.0731706768, -0.0315232575, -0.0031830787, -0.0620802902, 0.008689899, 0.0116089405, 0.0138704805, 0.0293259099, 0.0640231445, -0.0284484271, 0.1017070636, -0.0091850944, -0.0792622492, -0.0552839488, -0.0378168561, -0.0226359628, -0.0510833301, -0.0992192551, 0.0267616622, 0.0308071598, 0.0195210353, 0.0021232758, -0.0089463098, -0.0104148397, -0.0225484315, -0.035409417, -0.0023788833, -0.017739946, -0.0105094872, 0.0714570284, 0.020403903, -0.0618579537, 0.069152385, -0.0550276674, 0.0337599665, -0.0227789488, -0.0164620206, -0.0262871459, 0.0246706121, 0.0015277499, 0.0112941852, 0.0152595164, 0.0195770245, -0.0397284366, -0.0568489842, 0.0194083508, -0.0487365089, 0.0366451964, -0.0225633383, -0.0274720117, 0.0109067736, -0.0299991667, -0.007261334, -0.0661548302, -0.0109410156, -0.0302507505, 0.0570546538, -0.0315839164, 0.0034962909, -0.0149941305, 0.072380051, -0.0309279133, -0.0298983008, 0.0038808042, 0.0294654258, 0.0487256087, 0.0886203349, 0.0265376307, 0.0708662868, -0.0293129422, 0.0081861559, 0.0473722927, 0.0059579597, 0.0367675647, 0.0000627128, -0.0376024395, 0.0455400683, 0.0087264031, -0.0420509204, 0.053582143, 0.0445975102, -0.0221149847, 0.048545856, 0.0862310231, 0.0030411873, -0.0399969146, -0.0021706987, -0.0223152805, 0.0422317795, 0.0001141772, 0.0041029905, -0.0329362527, 0.0075034481, -0.0046356018, 0.0196178313, -0.0467281975, -0.0034762309, -0.0157280415, -0.0984895304, -0.0042958376, -0.012665242, 0.0072590923, 0.0053310292, -0.090816915, 0.0152392536, -0.0115527548, 0.0078900941, 0.0206173733, -0.0121642211, -0.0011489546, -0.0180182885, -0.0468593985, -0.0172347799, 0.0447546802, -0.0228117891, 0.0533729121, 0.0546770394, 0.0116433827, -0.050284449, -0.0513380468, -0.0059786011, -0.0166511275, -0.0559904836, 0.018488545, 0.0394054949, -0.0080422889, 0.0293468069, -0.0508537814, -0.0013788944, 0.0358469896, 0.024426071, 0.0212044846, 0.0264883973, 0.0252011325, -0.0463730432, -0.0111589665, -0.0153521774, 0.0111109894, 0.095776096, 0.0337735973, -0.0735608265, 0.0191636235, -0.0427704416, -0.0510687903, 0.0146384491, -0.0531268902, -0.0032235065, 0.0161581598, -0.0051320069, -0.0660374388, -0.0247837193, -0.0239089634, 0.0087057007, -0.0048437589, 0.0362922065, 0.0118942456, -0.0047866935, -0.0104192151, 0.0097299507, -0.0047355071, 0.0151752271, -0.0968195274, 0.0411377326, 0.0112894429, -0.0606993102, -0.0118175838, -0.0027144356, -0.0167111978, -0.0390313864, -0.0051907855, 0.038887918, 0.0283189043, -0.0194936786, 0.0173611622, -0.0357772261, 0.0304595921, -0.0183365475, -0.022729231, 0.0318155065, 0.012078735, 0.0528928153, 0.0230376665, 0.0096783657, -0.0374783203, -0.0027025416, 0.0521680936, -0.0010990931, 0.0128704021, -0.0975061804, 0.0053231348, 0.0721511692, -0.0030289812, 0.0107179526, 0.038035471, 0.0015793537, -0.0173532814, -0.0353764854, 0.001567735, -0.0156985559, -0.0412225127, 0.0382831171, -0.0178880617, 0.0098216636, -0.0065225749, -0.0408174545, 0.0064469669, -0.0375288986, 0.0378791876, -0.0199238826, -0.00401311, 0.0311340839, 0.001936081, -0.033393532, -0.0312118381, -0.0138117168, 0.0241561849, 0.0525878146, 0.0354566611, -0.0112591283, -0.066539973, 0.0298564788, 0.0532543026, -0.0409924872, -0.0441370197, -0.0172819905, -0.0111472458, -0.0191963818, 0.0025416911, 0.0501129143, -0.0117099714, 0.0217272118, -0.0566489063, -0.0064932066, -0.016728675, -0.0369123966, 0.047225073, 0.0214966722, -0.0184572432, 0.0183061045, 0.04464164, 0.0365473963, -0.0201039258, -0.0322521403, -0.0273659173, -0.0277432781, -0.0218182392, -0.0223477464, 0.037602596, -0.0392648242, -0.030441815, -0.084618777, -0.0361432768, -0.0326398425, 0.0198166873, 0.0358495675, -0.0112632867, 0.0023441801, 0.0543030277, -0.0234101694, -0.0030357377, -0.0408910513, -0.0203905962, -0.0156554841, 0.001292804, -0.0162686836, -6.735373245e-33, 0.0247245003, -0.0305782948, -0.016259972, -0.0318384729, -0.0191475768, -0.0097631514, 0.0033514327, 0.036396917, -0.0403485224, -0.0255726147, 0.0026639546, -0.0369342566, 0.0036386554, -0.0015936262, 0.0210816506, -0.0136912121, 0.023869779, 0.0225553438, -0.0528695136, -0.0135332784, 0.0264342912, -0.0508704893, 0.0345073231, -0.0578844137, 0.0841763839, 0.0236490704, -0.0071686045, -0.0237028226, -0.0222925581, 0.0592173524, -0.0127856135, 0.0423616618, 0.021631036, -0.0685783625, -0.0033906074, 0.0346247591, -0.0024118416, -0.0078213476, 0.0474551059, -0.0256507508, 0.0171048548, -0.0246720463, 0.0288278479, 0.0122126741, -0.0488433912, -0.0361157544, 0.0276913308, -0.0414011851, -0.0014856812, 0.0040588332, -0.0047316724, 0.0049243583, 0.0045455527, 0.0080794375, -0.0377710238, 0.0737475529, -0.0275410675, 0.0639153123, -0.0269650239, 0.0625522509, 0.0361500867, 0.0460784175, 0.0331181437, -0.0442365557, 0.0210454501, 0.0669250414, 0.0021080594, -0.0042211013, -0.0175029989, -0.0630975366, 0.0074448823, -0.0227859542, 0.0695626065, 0.0499450527, 0.0461943857, -0.0317160673, -0.044411432, 0.0216039363, 0.0360981338, 0.002909349, 0.0458579138, 0.0311354715, -0.0523851402, -0.0299119763, -0.0505882427, -0.0144895315, -0.0457751267, -0.0686677843, 0.0407923386, -0.0048067882, -0.0063524833, -0.0278126914, 0.0496429466, -0.0328801125, -0.0668031201, 0.0208203215, -0.0197738763, 0.0629154518, 0.0244587027, -0.0140721602, -0.0457740724, 0.0574804731, -0.0026983432, 0.014258408, -0.0269030631, 0.0113977287, -0.0113186585, -0.0102785248, -0.0427439697, -0.0119674308, -0.001135439, -0.0333703607, 0.0553633794, -0.0323217288, 0.0077101765, -0.0258532539, -0.0111838849, 0.0343053713, -0.0278722644, -0.0176029596, -0.0512478352, -0.029400548, -0.0006797891, 0.0243564565, -0.0130355638, -0.0305417031, -0.0099962782, 0.0075622876, 0.0131820505, 0.0190451425, -0.0085182833, -0.0413293056, 2.876e-7, 0.0061552282, 0.0456299521, -0.0612989441, 0.0095712924, -0.0193381105, 0.0439318754, 0.0105001582, -0.0133129256, 0.0557917096, -0.0312589593, -0.0194973126, -0.0159313101, 0.0325950272, 0.0326828137, -0.0544816405, -0.0273320414, -0.0457223132, -0.0127898045, -0.0113498308, 0.0267006289, 0.0474785008, 0.0723857731, 0.0286931358, 0.0101274261, -0.0341363922, 0.0071259495, 0.0207984447, -0.0872004554, -0.0141386986, 0.0266782138, 0.0469602123, -0.0230524521, 0.0207820814, 0.008694943, 0.0132448012, 0.0011733435, -0.0120652709, 0.0483078063, 0.0513711125, -0.0301779862, 0.0058550835, -0.0279850774, 0.0061727813, -0.097495012, 0.0629432499, -0.0311878454, -0.0388068855, -0.0276640803, -0.0362499878, -0.0291072037, 0.0530316569, -0.0359565169, 0.0071269986, 0.0004424426, -0.0106616346, -0.0096438024, -0.0047147907, -0.0010814782, -0.0255602598, -0.0142901205, -0.0190769061, -0.0959364325, -0.0530566238, 0.0116058672, -0.028710695, -0.0805939436, 0.0236757118, 2.648645223e-34, 0.0386017263, -0.0113241691, 0.0101506803, -0.0165975448, 0.040795587, 0.0221351217, -0.0015746632, 0.002399706, 0.0245719049, -0.099617146, 0.0011742646 ]
http://arxiv.org/abs/2407.01082v1
http://arxiv.org/pdf/2407.01082v1
Min P Sampling: Balancing Creativity and Coherence at High Temperature
2024-07-01T08:37:25
2024-07-01T08:37:25
Minh Nguyen, Andrew Baker, Andreas Kirsch, Clement Neo
cs.CL
cs.CL
Large Language Models (LLMs) generate longform text by successively sampling the next token based on the probability distribution of the token vocabulary at each decoding step. Current popular truncation sampling methods such as top-$p$ sampling, also known as nucleus sampling, often struggle to balance coherence and creativity in generating text, particularly when using higher temperatures. To address this issue, we propose min-$p$, a dynamic truncation sampling method, that establishes a minimum base percentage threshold for tokens, which the scales according to the probability of the top candidate token. Through experiments on several benchmarks, such as GPQA, GSM8K and AlpacaEval Creative Writing, we demonstrate that min-$p$ improves the coherence and quality of generated text even at high temperatures, while also facilitating more creative and diverse outputs compared to top-$p$ and other sampling methods. As of writing, min-$p$ has been adopted by multiple open-source LLM implementations, and have been independently assessed by members of the open-source LLM community, further validating its practical utility and potential.
Min P Sampling: Balancing Creativity and Coherence at High Temperature: Large Language Models (LLMs) generate longform text by successively sampling the next token based on the probability distribution of the token vocabulary at each decoding step. Current popular truncation sampling methods such as top-$p$ sampling, also known as nucleus sampling, often struggle to balance coherence and creativity in generating text, particularly when using higher temperatures. To address this issue, we propose min-$p$, a dynamic truncation sampling method, that establishes a minimum base percentage threshold for tokens, which the scales according to the probability of the top candidate token. Through experiments on several benchmarks, such as GPQA, GSM8K and AlpacaEval Creative Writing, we demonstrate that min-$p$ improves the coherence and quality of generated text even at high temperatures, while also facilitating more creative and diverse outputs compared to top-$p$ and other sampling methods. As of writing, min-$p$ has been adopted by multiple open-source LLM implementations, and have been independently assessed by members of the open-source LLM community, further validating its practical utility and potential.
[ 0.0047016442, 0.0112232082, -0.0162016861, -0.0121091511, -0.0651282892, -0.0270763244, -0.0217646472, 0.0325817764, -0.0620404333, -0.0038394532, -0.0160772242, -0.0563759767, 0.0143243624, 0.0554602258, 0.0122122318, -0.0629836544, -0.0090454537, -0.0663514137, 0.0433240905, -0.0097196233, 0.00514034, 0.0324806049, 0.0080995355, 0.0355581641, 0.0056170253, -0.0446137115, -0.0167484973, 0.0481899679, -0.0001848878, -0.026804246, -0.0642549843, 0.0620057508, -0.0163135882, 0.0140326731, 0.0000020397, -0.0354256891, -0.0149011211, -0.0054900697, 0.0292222295, 0.0086440993, 0.0836682245, -0.0026754718, -0.0389524736, 0.0269635972, 0.0027242496, 0.0516903959, 0.0527366623, 0.0513680056, 0.0170521196, 0.0406131372, 0.0032753425, -0.0224296506, 0.0163586698, -0.0166826397, -0.0122835087, 0.0219914876, 0.0061654882, -0.0123810312, 0.0394405387, -0.0085654678, -0.0138383405, -0.0080060288, 0.0194407683, -0.0390333496, -0.0054766671, 0.07009691, -0.0210443996, -0.005235272, -0.004924769, 0.0204115752, -0.0327508375, -0.022736093, 0.0158446208, -0.0108328098, -0.0257018618, -0.058145795, -0.0631080493, 0.0281986762, -0.0212125517, 0.0500236824, 0.0087891631, 0.0154940039, -0.0042461846, -0.0167342536, 0.0080669476, 0.0741718635, 0.0411954634, -0.0360407159, -0.0278124418, 0.0423822291, 0.0061389529, -0.0677391738, 0.0290438309, -0.0113103194, -0.0044005024, 0.0056463955, -0.0869186595, -0.03053106, 0.0278550591, -0.0002092084, 0.0731016025, 0.0082272105, 0.047055237, 0.0247518644, 0.0073397141, -0.0370570421, 0.0136440042, 0.0141032841, -0.0417990126, 0.0049346918, -0.0116786063, -0.0184414163, -0.0334726945, 0.0086849295, -0.0373880081, -0.0438753627, -0.0580085516, 0.0105936686, 0.0420702919, -0.058822155, 0.0065193321, 0.0092902994, -0.0535538755, 0.0171564724, 0.0406391844, 0.0013996341, -0.0646330714, -0.0023071556, 0.0385557078, -0.0297746323, -0.018849941, 0.0223661549, 0.0030241602, -0.0343925357, -0.0060166693, 0.0495100282, -0.0084631108, -0.0173526481, -0.0224337801, -0.0372510292, -0.0311081391, -0.0534281135, 0.0197229274, -0.089430593, -0.0014665261, 0.0007308082, 0.0005767866, -0.0012656569, -0.0001126921, 0.0354563482, -0.029128531, -0.0015807118, 0.0058228518, 0.0162798073, -0.0103289215, -0.0067614592, 0.0249548145, 0.0591300502, 0.1012974903, 0.0494803526, 0.0205698721, 0.0093314648, 0.0031737299, 0.026194647, 0.0221596695, 0.0341074057, -0.053838294, -0.0436777323, -0.0032045466, 0.0716854185, 0.0758997351, 0.0980962738, -0.0331416726, 0.0177818947, 0.1038875505, 0.0648931116, 0.0008838657, 0.0240622498, 0.0310547221, 0.0131157208, 0.0060046758, 0.0230654683, -0.0128793679, 0.0501681529, 0.0137056718, 0.0607116856, 0.0757781118, 0.0649196282, -0.0071983347, -0.0069561121, -0.0211086944, 0.0056338259, 0.0090500573, -0.0395316295, 0.0377653725, 0.0213788953, -0.0422233194, 0.005953236, 0.0161087755, -0.0483430997, 0.0339656472, -0.0188924, 0.0434018895, 0.1069058925, 0.0601941124, 0.0134407878, 0.0289078765, -0.0188777577, -0.0030363912, 0.0551109426, -0.0144643933, 0.0165265072, 0.0306666661, -0.0217661075, -0.000009967, -0.0275551286, -0.0065601026, 0.0150356386, -0.008564542, 0.0364885293, -0.0136682289, -0.0468424819, 0.0079938639, 0.0197163559, -0.0446037389, 0.014447486, -0.0002828941, -0.0368549116, 0.0183649473, 0.021198906, -0.0655982643, 0.0247644447, 0.0350875668, -0.067496255, -0.0192329716, 0.0181667339, -0.0332430564, -0.0403538793, 0.021453321, -0.0494553521, 0.0337486006, -0.0220056381, -0.0013411385, -0.0478620529, 0.0602738, -0.0201798044, 0.0220891032, -0.0489564687, 0.0069385697, -0.0074411645, 0.0272504278, -0.0175196342, 0.0477387011, -0.0195331406, 0.0014239438, 0.0187975094, -0.010692846, -0.0290718954, -0.0565004461, 0.0119557651, 0.0074847774, 0.0222848561, 0.0008026683, 0.0141770914, 0.0390138924, -0.0272680297, -0.0725363046, -0.0755947009, 0.0316574238, -0.0066091507, -0.0194062423, 0.0201942008, 0.0097408118, -0.0423370637, 0.0455955304, -0.0273280777, -0.0711954609, 0.0109911598, 0.0130310114, 0.0306134094, -0.0227154605, -0.0020129464, 0.0077057234, -0.0237083063, 0.0278436486, 0.0495975539, 0.0206339657, 0.001790342, -0.0369489715, 0.023720162, -0.0187127907, -0.0663893446, 0.0293617379, -0.0253823791, 0.017677404, -0.012339239, 0.0537728593, 0.0465557985, 0.0336089134, -0.0050210776, 0.0409550369, -0.0162457973, 0.0067111677, -0.0227565449, -0.0187157393, 0.0739459619, 0.0218715537, -0.0611327998, 0.0147946877, 0.0427067354, 0.0321255066, 0.0160611365, -0.037878193, 0.0650336519, -0.0219744574, -0.0485908203, 0.0104149692, 0.0289456565, -0.0548877977, 0.0296400543, -0.0195464194, -0.0440570004, 0.0571652688, -0.0569496937, 0.0098477956, -0.0354138985, 0.0157966521, -0.0246518012, 0.0271241684, -0.0306613874, 0.0320513919, 0.0103835352, -0.0108929574, -0.0362607874, -0.0022801731, 0.0213982575, -0.0341304205, 0.0062989923, -0.0105059026, -0.0249848142, -0.0049610538, -0.0281125661, 0.0079311943, 0.0095323846, -0.0006913988, 0.0241177119, 0.0733921677, -0.0287980437, 0.0093509695, 0.0082769012, 0.0321163759, 0.0151903201, -0.0259273611, -0.0057483432, -0.0120683061, 0.0377199203, 0.0710490793, -0.0356102064, -0.0028955683, -0.0574880652, -0.017446002, 0.041134309, 0.0238830298, 0.0355175398, 0.0090179462, -0.0059485398, 0.0157790519, 0.008302317, -0.0190244056, 0.0151969008, 0.0737182349, -0.0157079492, -0.0275156368, 0.0899300948, 0.0054748156, 0.0068351259, 0.0190276727, -0.0037624859, 0.0856979489, -0.0061028185, 0.021165859, -0.045275297, 0.0020007554, 0.0350433737, 0.0677680522, -0.023151869, -0.0291853771, -0.0100516342, -0.0962019265, 0.0550482646, 0.0191017482, -0.0219473615, 0.0091232825, -0.0448699445, -0.0209324211, 0.019090971, -0.0038968713, 0.0093835155, -0.0141819408, 0.0320990235, 0.0145420358, -0.0280548912, -0.037451867, -0.0137864761, -0.0506466106, 0.0514129549, 0.0885445327, 0.0449579135, -0.0234470479, -0.000758244, -0.0173733775, -0.0065490529, -0.0038579556, -0.0120968213, -0.0107600251, 0.0303344689, 0.013426031, -0.0401521474, 0.0407977477, -0.0048913928, -0.024482945, -0.0232106857, 0.0444571823, -0.011344349, -0.0454673283, -0.0293235853, 0.0291448385, 0.0167804658, 0.0741927922, 0.0666374639, -0.0534806438, -0.0946188048, -0.0548332632, 0.0168085769, -0.111881353, -0.0049824174, -0.0359407216, -0.0135870529, -0.0173689649, -0.0855083838, 0.0143405562, 0.0253237728, 0.0918368101, 0.0039605931, 0.0523548275, -0.0306239314, -0.0326248929, -0.0176361259, -0.0525819957, -0.0578714088, 0.0252355356, -0.0669086128, -0.0083704917, -0.0373525731, -0.0450449474, -0.0178918187, 0.0401293151, -0.0801235586, -0.0693543255, 0.0091023538, 0.0366148166, 0.0272173733, 0.0246130936, 0.0008212366, -0.0541415028, 0.0424277596, 0.0507080592, 0.0150909387, 0.0822665021, -0.0330603495, 0.0186880101, 0.0198657941, 0.0236700624, -0.054563459, 0.0251591858, 0.018154541, 0.084416315, 0.0444436222, -0.0256297775, 0.0057303701, 0.0067686592, -0.0144146727, -0.0516251251, 0.0048577362, -0.0420610793, -0.0151012959, -0.0214700084, 0.0123263197, -0.059856303, 0.0206280034, 0.0372564942, -0.0227639433, -0.0043853484, 0.0108335391, -0.0123975379, 0.0560061, -0.0319540054, 0.0028553391, -0.021349147, 0.0262138527, 0.0371534154, -0.0220233407, -0.0242787655, 0.02830882, -0.0727001503, 0.0408420302, 0.0038020385, -0.025439607, 0.0153941549, 0.0044749277, -0.0175214149, 0.0439391993, -0.0588391609, -0.0197207183, -0.0401735231, 0.0234174766, 0.0588537715, 0.0462211259, 0.0480027534, -0.0328523591, 0.0191556998, -0.0423474982, 0.0550067909, 0.0399522148, -0.062525019, -0.0445172861, -0.001356845, -0.0217627659, -0.0208853241, 0.0774215758, -0.0256180353, -0.0070453002, 0.0280128475, -0.0058809118, -0.0009251395, 0.0062668109, -0.0464648232, 0.0041822111, 0.0100443251, -0.0180756468, -0.0635293946, -0.0119992169, 0.0790670365, 0.0105263544, 0.0273757279, -0.0263143685, 0.0169613715, 0.047239732, -0.0264731217, 0.0018762936, -0.0283934306, 0.0163899232, 0.0188389625, -0.0352965705, 0.00333199, -6.499308266e-33, -0.0269574672, 0.009385216, -0.0224194359, -0.0110026849, -0.0647322014, -0.0132527128, -0.0590628684, -0.0173606351, 0.050996311, 0.0112344138, -0.0287586525, -0.017960446, 0.0132083669, 0.0192228295, -0.0180257019, 0.0081350645, 0.0798263997, -0.0193994325, -0.0540814474, 0.0481997654, 0.0650081187, 0.0381731503, 0.0317248441, -0.0049369922, -0.0145582985, -0.031188963, 0.0006932915, -0.031731192, 0.04058557, 0.0324910581, 0.0001624976, 0.020149745, 0.0068818564, -0.0312268883, -0.034680292, -0.0132121732, -0.0342784673, -0.0239760056, -0.0110042654, -0.0383249894, 0.0048441542, -0.0482141934, 0.0184622146, 0.0133711128, -0.0164348539, 0.0010546279, 0.0028457541, -0.0099608572, -0.0775362775, -0.0884374306, -0.0480047427, 0.0344600007, 0.005066698, -0.0031311782, -0.0411557145, -0.0453617685, -0.0078885797, 0.0063771578, -0.0226787888, 0.0260073133, 0.0361443907, 0.0488873124, 0.0261235368, 0.0151121821, 0.0171805546, 0.0775147751, 0.0130825033, 0.0301471297, -0.0131884683, 0.0223787148, 0.034994442, 0.0174672566, 0.0141126951, 0.0373063758, 0.0379110388, -0.0328680798, -0.0293371715, 0.0149790151, 0.030443266, -0.0313312225, 0.0630012974, 0.0134207709, -0.0114366654, -0.0371104777, -0.0277148094, -0.0452678241, -0.0045399223, -0.0249592587, 0.038096007, 0.0080395713, -0.0521692783, -0.0304615106, 0.0247228909, -0.0097144656, -0.0130742425, 0.0033402888, -0.0365002118, 0.0594445616, -0.0260777753, 0.005885554, -0.0325062461, -0.0334061496, 0.0317132957, -0.0000472204, -0.0084773796, 0.0061068535, 0.0255743545, 0.0302730147, -0.0369452126, 0.0072384351, -0.0109438049, 0.0499179438, 0.0411614329, -0.0264617, 0.0218825005, -0.0371567346, 0.0282606035, -0.0061802869, 0.0371766388, 0.0143411001, -0.0080273496, -0.0143426172, -0.0226684678, 0.0079585323, -0.021911744, 0.0267292019, -0.0422287993, -0.0315276273, 0.0365147963, -0.0477837622, -0.0433500707, 0.0404186398, 2.762e-7, 0.0318263918, 0.0500615053, 0.0326786712, 0.002826805, 0.006555655, -0.0044395793, -0.0156555101, 0.0578327924, -0.0293842684, 0.0033849371, -0.0400732793, 0.0002521374, 0.0451789573, 0.0535715967, -0.1342007965, 0.0658728406, -0.0766628906, 0.0419450738, -0.0544782653, -0.0220255479, 0.0112145944, 0.0268281754, 0.0008884346, -0.016640136, 0.0233038589, -0.0543368198, 0.0519560799, -0.0199965835, 0.015369446, 0.0059767026, 0.0484750345, -0.0469367243, 0.0283373985, -0.0386188291, -0.0168926883, -0.0050382875, 0.0124705071, 0.0417646766, 0.0081771398, -0.0220163446, 0.0590449981, -0.0207843129, -0.0124895815, -0.0531357788, 0.0402417369, 0.0063071442, -0.0124885337, -0.0322116315, -0.0067122048, -0.0226139426, 0.0057615922, -0.0385654867, -0.0138179548, 0.0214671325, 0.0144914351, 0.004865367, -0.0054000919, -0.0233900901, -0.0404799394, -0.0522617362, -0.0277733989, -0.0504763015, -0.0602282882, 0.0075217998, 0.0209066197, -0.0785981417, -0.0148913274, 3.052679621e-34, 0.0719529614, -0.0386701711, -0.0206038542, 0.0272759274, -0.0007697891, 0.0122464169, 0.0656398907, 0.0103459619, -0.0135939885, -0.0629790425, -0.033813078 ]
http://arxiv.org/abs/2407.01081v1
http://arxiv.org/pdf/2407.01081v1
CVLUE: A New Benchmark Dataset for Chinese Vision-Language Understanding Evaluation
2024-07-01T08:35:37
2024-07-01T08:35:37
Yuxuan Wang, Yijun Liu, Fei Yu, Chen Huang, Kexin Li, Zhiguo Wan, Wanxiang Che
cs.CV
cs.CV, cs.CL
Despite the rapid development of Chinese vision-language models (VLMs), most existing Chinese vision-language (VL) datasets are constructed on Western-centric images from existing English VL datasets. The cultural bias in the images makes these datasets unsuitable for evaluating VLMs in Chinese culture. To remedy this issue, we present a new Chinese Vision- Language Understanding Evaluation (CVLUE) benchmark dataset, where the selection of object categories and images is entirely driven by Chinese native speakers, ensuring that the source images are representative of Chinese culture. The benchmark contains four distinct VL tasks ranging from image-text retrieval to visual question answering, visual grounding and visual dialogue. We present a detailed statistical analysis of CVLUE and provide a baseline performance analysis with several open-source multilingual VLMs on CVLUE and its English counterparts to reveal their performance gap between English and Chinese. Our in-depth category-level analysis reveals a lack of Chinese cultural knowledge in existing VLMs. We also find that fine-tuning on Chinese culture-related VL datasets effectively enhances VLMs' understanding of Chinese culture.
CVLUE: A New Benchmark Dataset for Chinese Vision-Language Understanding Evaluation: Despite the rapid development of Chinese vision-language models (VLMs), most existing Chinese vision-language (VL) datasets are constructed on Western-centric images from existing English VL datasets. The cultural bias in the images makes these datasets unsuitable for evaluating VLMs in Chinese culture. To remedy this issue, we present a new Chinese Vision- Language Understanding Evaluation (CVLUE) benchmark dataset, where the selection of object categories and images is entirely driven by Chinese native speakers, ensuring that the source images are representative of Chinese culture. The benchmark contains four distinct VL tasks ranging from image-text retrieval to visual question answering, visual grounding and visual dialogue. We present a detailed statistical analysis of CVLUE and provide a baseline performance analysis with several open-source multilingual VLMs on CVLUE and its English counterparts to reveal their performance gap between English and Chinese. Our in-depth category-level analysis reveals a lack of Chinese cultural knowledge in existing VLMs. We also find that fine-tuning on Chinese culture-related VL datasets effectively enhances VLMs' understanding of Chinese culture.
[ 0.0123209106, 0.0637925714, 0.0018578969, 0.0693915188, 0.0064317882, 0.0458338112, 0.0452792905, -0.0219555069, 0.0208381414, -0.0275575165, -0.0730744377, -0.0671127737, 0.0331340469, 0.0158367828, 0.0026193638, -0.0651512966, 0.0349365026, 0.0138164414, -0.0250362121, -0.0039974847, 0.0246593729, -0.0096821217, 0.041257631, 0.0172629505, -0.0065007182, -0.0286384337, 0.0303331893, 0.0158841349, 0.0399103835, -0.01671586, -0.0022155542, 0.0332265832, 0.043065045, 0.011108974, 0.0000020269, -0.0213912893, 0.019055374, -0.0293698143, 0.0062563806, 0.023677744, 0.0347368605, -0.0525568612, 0.0036340803, -0.0284087118, -0.0365252756, -0.0577011257, 0.064535059, 0.074535735, 0.0290414989, 0.0237188656, -0.0060836319, -0.0301718451, -0.0324880406, -0.0217620488, 0.0091938106, -0.0594254918, 0.0191452075, 0.0787720382, -0.0308778286, -0.0201493707, -0.0697591379, 0.0343433507, 0.0418597907, 0.0082716439, -0.0374580361, 0.0418086983, -0.0715377927, -0.02365035, -0.0012953083, 0.1056727469, 0.0050677052, -0.0146296527, -0.0326457694, 0.0051946696, -0.0238710307, -0.0114204539, -0.058810845, 0.0538105965, -0.0184407625, 0.0113535356, -0.0318329632, -0.0121023683, 0.0092562111, 0.01272937, 0.0014119461, -0.0127466843, -0.0048708064, -0.0027051447, -0.0023040054, -0.0112161469, -0.0122749237, -0.0148013327, -0.03479366, -0.011003877, -0.0078211352, 0.0044165119, -0.0032603641, 0.0293165576, -0.0189944282, -0.0473584458, 0.0128344912, 0.0129435332, -0.0906475186, 0.0820436925, -0.0254099276, 0.092071183, -0.0109643554, 0.0301066861, -0.0504268818, -0.055192247, -0.0193143934, 0.0051491489, -0.0070808716, -0.0111994268, -0.0265383869, -0.046304509, -0.0256127529, -0.0066009881, -0.0309469383, -0.0080767786, -0.0003759114, 0.0196031705, -0.0126190484, 0.0039274287, -0.0141836144, 0.0409026369, -0.0159220975, -0.0072721811, -0.0545409843, -0.0805000961, 0.0140392138, 0.0415349565, -0.0060214265, -0.0366433412, -0.0005587862, 0.0425006412, -0.0328859612, -0.0300616547, -0.0335859731, 0.021264147, -0.0029040396, -0.0276001766, 0.0454359055, -0.0589970946, 0.0030355556, -0.0135000767, 0.0467840247, -0.0205978826, 0.0046449145, -0.0018445001, 0.0018699766, 0.0544685908, -0.0030742106, -0.0014734527, 0.0017672965, 0.01838273, 0.0090816077, 0.0931493044, -0.0170872454, -0.0036248527, 0.077614218, -0.0082864147, -0.015898427, 0.0147975665, -0.0149850203, 0.0013924448, -0.0592547879, 0.0304635875, -0.0044203368, -0.0198836215, 0.0250452515, 0.0141903404, -0.0164696071, -0.0399889871, 0.0439577885, 0.0473407805, -0.0040643797, -0.0092746746, 0.0038349198, -0.0040188483, -0.0095969792, 0.0063639483, -0.0481169634, 0.0684933886, -0.0049578678, -0.002544814, -0.0360364094, 0.0269623492, -0.0684791133, -0.0456936285, -0.0251603387, 0.0056169643, 0.0347478352, 0.0545351207, 0.0311824474, -0.0154201686, 0.034737017, 0.0130764907, 0.0161367692, -0.0340734795, -0.0226988494, -0.0205696747, 0.0304057673, 0.0545319021, 0.0053200796, 0.014155752, 0.0028371029, 0.023101287, 0.0620033257, 0.0654629022, 0.0113670509, -0.0017128102, 0.0359367579, -0.0435362458, -0.0441096909, 0.0144451959, -0.0226022061, 0.0009229825, 0.0184706114, 0.0059713605, 0.0315302759, -0.0537021086, -0.0284215529, 0.0274619292, -0.0045759971, 0.0050837332, -0.0113025811, 0.0378350057, -0.0097740078, -0.0088874428, -0.0499945767, -0.0182822589, -0.0049486319, -0.0315208919, 0.0115224803, 0.0383917093, -0.0455262624, -0.0182712916, 0.0539279655, -0.0787029639, -0.0260508824, 0.0423751511, -0.052069582, -0.0187864546, 0.0115111182, 0.0052512605, -0.0293274168, -0.0842575133, -0.0116354311, -0.0281963814, 0.050739605, -0.0020652651, 0.0616549626, -0.0224283934, 0.0295166969, 0.0076575517, 0.0183173474, 0.0506097414, -0.0299935117, -0.044131469, 0.0308021456, 0.0049296799, 0.0201179683, 0.0349531546, 0.0422258377, -0.0391600206, 0.0257378966, -0.0844932944, -0.0162089188, -0.0738551021, -0.0454788022, 0.0059765591, -0.0229018182, -0.0192855578, -0.0464831106, -0.0564954169, 0.0266332794, -0.0318922289, 0.02355529, 0.0166597124, -0.0167647507, 0.0138809001, 0.0006814023, -0.0152851669, 0.0384038389, 0.0376826413, 0.0036505982, -0.0295625087, -0.0219465792, -0.0025380775, -0.0412439555, 0.0270446129, -0.0398779325, -0.0428668484, -0.0039275745, -0.0011517201, -0.0068623843, 0.0810423195, -0.0066604568, 0.0229510069, 0.0208309181, -0.0120948516, -0.0209378414, -0.0114145456, 0.0286887418, -0.0375199467, -0.0164010692, -0.0441360511, -0.0434494056, 0.0336762108, 0.004151925, 0.0013073878, -0.0557558239, -0.0107101323, -0.0210359786, -0.0376364589, -0.0731838271, 0.0547320656, 0.0039279773, 0.0660706758, -0.0701798722, -0.0499423482, 0.0594151542, -0.0243589766, -0.0541695878, -0.0164450016, 0.0035872911, -0.0487525649, 0.0701426193, 0.0060776765, 0.0341215134, -0.0153038139, -0.0050802045, -0.0543589965, -0.008505797, -0.0057948609, -0.0122230286, 0.0648055151, -0.02623, 0.0018280882, -0.0545348786, 0.0015256777, -0.0373215415, 0.0080413818, -0.0147443255, 0.0487194024, -0.0365601964, 0.0083195325, 0.0134833623, 0.029786896, 0.0277028214, 0.0009918709, -0.0015976183, 0.0306069553, 0.0248492248, -0.0147907184, 0.0634449944, 0.0394283086, -0.0206722766, -0.039549496, 0.0491431355, 0.0489490181, 0.0593839213, -0.0074301143, -0.0150996596, 0.0443901159, 0.0295258313, 0.050161384, -0.0356100537, -0.0088259559, 0.0616935082, -0.0334518626, 0.0151784187, 0.0897526816, 0.0030142902, -0.0337054543, -0.0253838841, -0.0026772502, -0.0099382829, 0.0596171878, -0.013813396, -0.1087417156, -0.0204081144, -0.0273011997, 0.0048214425, 0.0362721421, 0.0028244506, -0.0109000793, -0.1021910235, 0.072550565, 0.0045465333, -0.0563326366, -0.0582783036, 0.0034065042, -0.0073528481, -0.0246087313, 0.0409742296, -0.0217974726, 0.0027800628, -0.040232297, -0.0101553071, -0.0049133296, -0.0474116467, 0.0606363192, -0.036889337, -0.0059108408, 0.0407661423, 0.0089175086, 0.0072925985, -0.0529865511, 0.008532621, -0.0322519355, -0.0101569332, -0.0032114859, 0.0411978625, -0.0021276786, -0.0641097426, 0.0336469933, 0.0175772551, -0.0150234904, -0.0057523828, 0.0009137215, -0.0177268423, -0.0037651777, -0.0072985399, -0.0066476921, 0.0275319889, -0.0216944162, 0.0723465979, 0.0346013606, -0.0376522914, 0.0028101131, -0.0095859561, -0.0568264201, -0.0342383236, -0.0328708552, 0.0601553805, -0.0264673717, -0.0175252128, -0.0783643052, -0.0367272533, 0.0051360531, -0.0046362914, -0.007458176, -0.0213686712, -0.022958044, 0.0325331949, -0.0736912116, 0.0694907457, -0.0024179812, 0.0243913401, -0.0210771821, -0.0147940842, 0.0205891505, -0.0539523475, 0.0065123634, 0.0120824054, -0.0596078224, -0.0131366951, -0.0236726906, 0.0300576407, -0.0028507188, 0.0235971734, 0.0320484973, -0.0210888088, 0.0028567377, 0.0046757516, 0.0536040179, 0.0098095685, -0.0133694084, -0.0347362012, -0.0005652883, 0.0258053653, -0.0457635522, 0.0318755507, 0.0390383676, 0.0215998478, -0.0365540981, 0.0175013468, 0.0059460592, 0.0198261682, 0.0347123481, -0.0102085685, 0.0233420916, -0.0402344912, 0.0396919772, 0.0083521269, -0.0335755944, -0.0486589298, -0.0341130607, 0.0338374041, -0.0059246072, 0.0107687945, 0.0457440093, -0.0018729641, 0.0008933159, -0.0431142487, 0.0045723221, 0.029820336, 0.008878733, -0.0440985933, 0.029647151, -0.0178695992, 0.0135378027, 0.0014761459, 0.0633829981, 0.0190952923, 0.1017087474, 0.0137668569, 0.0040943911, 0.0010717965, 0.0183227211, -0.0268104449, -0.0703803152, 0.0097985966, 0.0197639782, 0.0678624585, -0.0425114296, 0.0187444836, -0.0067644669, -0.0003798526, -0.0429855958, 0.0145892687, 0.0181897506, -0.0605843887, 0.0519666374, 0.0218171161, -0.006309812, -0.0340182893, 0.0752927437, 0.0348168053, 0.0119852619, 0.0034449578, 0.0212429967, -0.0272617098, -0.0224026721, 0.068883568, -0.0101202093, -0.0011238809, 0.0538562462, -0.0449145809, -0.0803091675, -0.0221715067, 0.0109197479, -0.0080922861, 0.0637537614, 0.0366249606, 0.0764605701, 0.0148196993, -0.0030676734, -0.0498229638, -0.0289816633, -0.0270842668, 0.0198748335, 0.0153070083, -6.256838311e-33, -0.0384235643, 0.0101156626, 0.0069632512, 0.0027790854, 0.0120865805, 0.0271420907, -0.037840914, 0.0091700694, -0.074109979, 0.0104598766, 0.0178953148, 0.02601883, 0.0050725201, 0.061943233, -0.0303464551, -0.0178378522, -0.0001154552, 0.0022273115, 0.010785399, -0.0189767368, 0.037308, 0.0260839406, 0.0738186613, -0.0721568763, 0.0035618562, 0.0386330299, 0.0245722327, 0.0254741646, 0.0327169262, 0.088954702, -0.0094114374, 0.0729547217, 0.039358288, -0.0086716013, -0.0460953042, -0.0188310575, -0.1119456589, -0.0026353882, 0.0241780449, 0.0852765292, -0.0268267374, 0.029671777, -0.009688843, -0.0331994444, 0.0288276039, -0.0355009697, 0.0582303703, -0.0418057367, -0.0219080821, 0.0133000985, 0.0089529371, 0.0179620963, 0.0019477872, 0.0039396416, 0.0565726794, 0.025907319, -0.0069745057, 0.052940771, -0.0481549464, 0.0029187493, -0.0110937543, 0.03018835, 0.0866863802, 0.0688837394, 0.029576648, 0.0661632642, 0.0533296205, -0.0261919629, -0.0121476408, -0.0528815277, 0.0569877252, 0.0318068676, 0.0190907083, 0.088652879, 0.0130490996, 0.0204877183, -0.063071169, 0.0078944312, -0.0202935264, 0.0474167839, -0.0140970098, 0.0103125833, 0.0049832156, -0.0113344872, -0.0369584113, 0.0169819687, -0.0563886017, -0.0075507909, 0.0475209802, 0.0053564222, -0.0391069129, 0.0022162218, 0.0565224402, -0.0611863472, 0.0036385381, 0.0661743432, 0.0181031059, -0.0037757505, 0.0247700363, 0.0109043177, -0.0606329441, -0.0300020818, 0.0241638832, 0.0140377674, -0.0223259795, 0.0078727547, 0.0472446606, 0.0067242305, -0.0337092355, -0.0064336304, -0.0340764672, -0.043688383, -0.0107831452, 0.0547205023, 0.0074802702, 0.015306145, -0.0614930727, 0.0281040277, 0.0096165035, -0.0169790871, -0.0344411656, -0.0694837868, -0.018672552, 0.0311366674, -0.0394058637, 0.0079306914, -0.0400423966, -0.0082892515, 0.0387264825, -0.0326740034, -0.0023269616, 0.0390167944, 2.533e-7, 0.0522777662, -0.0227972288, 0.0341725014, 0.0689925402, 0.0161772575, 0.0223673135, -0.0371450298, 0.0168593675, -0.0063229501, -0.0477423109, 0.0086842608, 0.0657239482, 0.0752817914, 0.0018525968, -0.0345344096, 0.0425393656, -0.0183761213, 0.0038773513, -0.0168400388, 0.0118975341, 0.0098187132, 0.0979282036, -0.0602099337, 0.0006148083, 0.0309305172, -0.0763303339, 0.0744099021, -0.0378275774, 0.0199066438, 0.0063497387, -0.0249560308, 0.0348129906, -0.0118242232, 0.0160979666, 0.0029822304, 0.0024992069, 0.0642543733, 0.0210845489, -0.0077118189, -0.0371360853, -0.0397502854, 0.0393780097, -0.0176391453, -0.0773573369, 0.0762071908, -0.0062243459, -0.0116493804, -0.0066258069, -0.0019930953, 0.000103769, 0.0493796356, -0.0070250989, -0.023963064, 0.0335261002, 0.0177482665, -0.0368708111, -0.0079005715, -0.0587270595, -0.0282740891, -0.029465545, -0.0273952726, -0.0272748936, -0.0109317936, -0.0313485339, -0.0203843862, 0.0400958434, -0.047887776, 1.555978339e-34, 0.0159702897, -0.0097694006, 0.003009042, 0.0267437566, -0.0048971758, -0.0577937178, -0.0228556041, -0.0242996234, -0.0381750651, -0.01771155, 0.0061224555 ]
http://arxiv.org/abs/2407.01080v2
http://arxiv.org/pdf/2407.01080v2
Face4RAG: Factual Consistency Evaluation for Retrieval Augmented Generation in Chinese
2024-07-01T08:35:04
2024-07-03T12:49:34
Yunqi Xu, Tianchi Cai, Jiyan Jiang, Xierui Song
cs.CL
cs.CL, cs.AI
The prevailing issue of factual inconsistency errors in conventional Retrieval Augmented Generation (RAG) motivates the study of Factual Consistency Evaluation (FCE). Despite the various FCE methods proposed earlier, these methods are evaluated on datasets generated by specific Large Language Models (LLMs). Without a comprehensive benchmark, it remains unexplored how these FCE methods perform on other LLMs with different error distributions or even unseen error types, as these methods may fail to detect the error types generated by other LLMs. To fill this gap, in this paper, we propose the first comprehensive FCE benchmark \emph{Face4RAG} for RAG independent of the underlying LLM. Our benchmark consists of a synthetic dataset built upon a carefully designed typology for factuality inconsistency error and a real-world dataset constructed from six commonly used LLMs, enabling evaluation of FCE methods on specific error types or real-world error distributions. On the proposed benchmark, we discover the failure of existing FCE methods to detect the logical fallacy, which refers to a mismatch of logic structures between the answer and the retrieved reference. To fix this issue, we further propose a new method called \emph{L-Face4RAG} with two novel designs of logic-preserving answer decomposition and fact-logic FCE. Extensive experiments show L-Face4RAG substantially outperforms previous methods for factual inconsistency detection on a wide range of tasks, notably beyond the RAG task from which it is originally motivated. Both the benchmark and our proposed method are publicly available.\footnote{\url{https://huggingface.co/datasets/yq27/Face4RAG}\label{link_face4rag}}
Face4RAG: Factual Consistency Evaluation for Retrieval Augmented Generation in Chinese: The prevailing issue of factual inconsistency errors in conventional Retrieval Augmented Generation (RAG) motivates the study of Factual Consistency Evaluation (FCE). Despite the various FCE methods proposed earlier, these methods are evaluated on datasets generated by specific Large Language Models (LLMs). Without a comprehensive benchmark, it remains unexplored how these FCE methods perform on other LLMs with different error distributions or even unseen error types, as these methods may fail to detect the error types generated by other LLMs. To fill this gap, in this paper, we propose the first comprehensive FCE benchmark \emph{Face4RAG} for RAG independent of the underlying LLM. Our benchmark consists of a synthetic dataset built upon a carefully designed typology for factuality inconsistency error and a real-world dataset constructed from six commonly used LLMs, enabling evaluation of FCE methods on specific error types or real-world error distributions. On the proposed benchmark, we discover the failure of existing FCE methods to detect the logical fallacy, which refers to a mismatch of logic structures between the answer and the retrieved reference. To fix this issue, we further propose a new method called \emph{L-Face4RAG} with two novel designs of logic-preserving answer decomposition and fact-logic FCE. Extensive experiments show L-Face4RAG substantially outperforms previous methods for factual inconsistency detection on a wide range of tasks, notably beyond the RAG task from which it is originally motivated. Both the benchmark and our proposed method are publicly available.\footnote{\url{https://huggingface.co/datasets/yq27/Face4RAG}\label{link_face4rag}}
[ 0.0438135639, 0.044620771, 0.00684739, 0.0407396629, -0.023905728, -0.0096820937, 0.0049545132, 0.0036101779, 0.0125143938, -0.0555725358, 0.0308667533, -0.0451815538, 0.036194779, 0.0072070286, 0.012840217, 0.0018352357, 0.0847528353, 0.0458117463, 0.018612599, -0.0120508559, 0.0249932129, 0.0090565104, 0.0022753417, 0.0116999503, -0.0414547287, -0.0149400672, -0.0156024443, 0.0350538902, 0.0372255221, -0.0094199441, 0.0172493272, 0.0383431055, -0.0126382811, 0.0817965642, 0.0000020967, -0.052362293, -0.0444832817, -0.0003585078, -0.030297257, 0.0454690866, 0.0309903417, 0.0323481783, -0.023828052, 0.0277690385, -0.0253805723, -0.0675452948, 0.0238012057, 0.0858620852, 0.0882033706, 0.0824216828, 0.0151620433, -0.0191798285, 0.010341255, -0.0074370163, 0.0077606067, -0.0189196225, 0.0157015864, 0.0398861133, -0.0397331864, 0.0105983596, -0.0161216855, 0.0227674432, 0.0205482636, 0.0126207154, -0.0131038204, 0.0191262476, -0.101874575, 0.0084834425, 0.0177800395, 0.0574530885, 0.0324019529, -0.0370671637, -0.0122057861, 0.018664768, 0.011632842, 0.0303079616, 0.0156411678, 0.01140342, -0.0559201427, 0.0119083179, 0.03278419, -0.0424268357, 0.0148998536, 0.0084955571, -0.0285995323, 0.0533212833, 0.0176853873, -0.0547740422, -0.0172405355, 0.0047358233, -0.0131075215, -0.0329193473, 0.0005301583, 0.0000350294, -0.0450533815, 0.0023071759, -0.0569165535, -0.0152165657, 0.0311948396, -0.0422764346, 0.0076573952, 0.0131070232, -0.0633633435, 0.0187879559, -0.0388419926, 0.0795995891, 0.0057624793, -0.0068121888, -0.0507156812, -0.0065248781, -0.0009475301, -0.009013922, -0.0266902521, 0.0442046188, -0.0261295084, -0.0024445534, -0.0527629443, -0.0200109873, -0.037363328, 0.0361282639, -0.0145799099, 0.0050955596, -0.0436028689, 0.0186115149, -0.0643505156, 0.0548293665, -0.0143835517, 0.0205700118, 0.020453779, -0.0729276761, -0.0170735493, 0.005959596, -0.0040923613, -0.0023303921, 0.0071261856, -0.0025182748, -0.0246515293, 0.0052918382, -0.0520259775, -0.0401454866, -0.0343743712, -0.0658896789, -0.0183041841, -0.1006995887, 0.0211959966, -0.0289891716, -0.0154518746, -0.0159331001, 0.0178660434, 0.0439473316, 0.0005908831, 0.0406112298, -0.004823836, -0.0111775929, 0.0344317146, 0.0113626197, 0.0129938209, 0.0232749842, -0.0077683423, 0.0005709816, 0.0752346516, 0.035450045, 0.0018603666, -0.0148878647, 0.04220419, 0.0034212652, 0.0156669617, 0.0065221293, -0.0094478801, 0.0028499491, 0.0180390105, 0.0728047341, -0.0362840183, -0.0266220309, 0.011752082, -0.0469447635, 0.0481947958, -0.011448361, 0.0195364822, -0.0084374174, 0.0258860942, 0.0549922399, -0.0326041579, -0.0078903083, -0.0589860901, 0.0525456145, 0.0578693449, 0.0492614247, -0.0189368613, -0.0599326156, -0.0251541305, 0.037527319, -0.0199384075, -0.003483146, 0.0034326219, 0.003497611, -0.0165793523, 0.0557879433, 0.0123825632, -0.0890322253, 0.0128420228, -0.0284699537, 0.0284788162, 0.0397168323, 0.0691831633, -0.0107296268, -0.0344716534, 0.0182552692, -0.0067172949, 0.0471641906, 0.0577890202, -0.0153775988, -0.0242456477, -0.0451076739, -0.0082228482, 0.0107501885, 0.0237976816, -0.0272983611, 0.0396212488, 0.0188274961, 0.0403184444, -0.0419832766, -0.0178910289, 0.0210907254, 0.0011120228, -0.0125703802, 0.0009455894, -0.0013440319, 0.0115984604, 0.0349845663, -0.0371882804, 0.0167396124, 0.0282641202, 0.0068590012, -0.0366748907, -0.0205951817, -0.02467319, -0.0655670464, 0.0736301094, -0.0189441014, -0.0074118851, 0.0188406557, -0.0653116107, -0.0441198647, -0.0174911842, -0.0521479435, -0.0191831924, -0.0802421421, 0.0557825491, 0.0147583261, 0.0017749741, -0.0168103203, 0.1042034626, -0.0193266887, 0.0246884525, 0.0034748861, 0.0241207909, 0.0305199549, -0.0716153085, -0.0285856314, 0.0227518883, 0.0060830368, 0.0390349366, 0.0425983034, 0.0088986885, -0.0552895106, -0.0111809094, -0.0638089553, 0.011781496, -0.0527330972, 0.0121617857, 0.0265089385, -0.0040286677, -0.0032205898, -0.0046113115, -0.0386310443, -0.009680517, 0.0240936726, 0.0143043576, 0.038172394, -0.0143250544, 0.0148026878, -0.0349148698, -0.0178876966, -0.0114363451, 0.0068651377, 0.0094638159, 0.0209336597, -0.0650312677, 0.0100380341, -0.0895596147, 0.0198019817, -0.0085286712, -0.0127100581, 0.0175167341, -0.0116094379, 0.0302791297, 0.0173864122, 0.046493493, -0.0123564331, 0.0456703082, -0.0239037145, -0.0536175258, 0.032696642, -0.0197153911, -0.0220310483, 0.0134782447, -0.0787802115, -0.014251437, -0.0370826684, 0.0466428883, -0.017037278, -0.0339361243, 0.0160159264, -0.0034550654, -0.0142769283, -0.0044663409, 0.016907651, -0.0214246493, 0.0235238504, -0.0230894908, -0.0010624463, 0.0792320222, -0.0539614744, 0.0207047276, -0.0788039342, 0.0271863807, -0.0291666463, 0.0239299182, -0.0203564614, 0.0145608857, 0.0019274739, 0.0021867878, -0.0434621125, 0.0035252322, 0.0300499462, -0.0753949583, 0.0745671988, -0.0377583094, 0.0186213758, -0.0131054642, -0.0177139565, -0.0680858493, -0.0518192351, 0.0279306471, -0.0095223179, -0.0579243936, -0.0304719117, -0.0125188408, -0.0420115292, 0.0456987098, 0.0321455635, -0.0124242855, -0.009386546, -0.0093531478, 0.025274707, 0.0723287165, 0.0562235713, 0.0446516722, 0.0078752358, -0.0000670773, 0.0830459446, 0.044211477, 0.0118607469, 0.011385615, -0.0167426821, 0.0113271913, -0.0113941412, -0.031999927, 0.0017581943, 0.0261137001, -0.0694362, -0.0190301444, 0.0833795369, 0.0396219306, 0.0359844118, -0.0209525898, -0.0318619944, 0.018206099, 0.0094197448, 0.0060020811, -0.080732435, -0.0251041707, -0.0024424859, 0.0529222973, -0.0169757009, 0.0073649515, 0.0022644696, -0.1391215771, 0.0518135391, 0.0281553231, -0.0049412944, -0.0501782894, -0.0180562064, 0.0185753275, 0.0109510385, 0.0472711362, 0.0657899007, -0.005509221, 0.0066062859, -0.0155624961, 0.0316157863, -0.0424329154, 0.0052716415, -0.0329446495, 0.0162782706, 0.0406381376, 0.0267009269, 0.0049857246, -0.0414442942, -0.0083512487, -0.0251320042, -0.0426625609, -0.0270198081, 0.0542310253, 0.0058052954, 0.0091308048, -0.0222034678, 0.0026002033, 0.020259127, 0.0081019429, 0.0141777061, 0.0392587148, -0.0203331318, 0.0022508935, -0.02074489, 0.0251135062, -0.0230134465, 0.0861458108, 0.0063119428, 0.0261660386, -0.0251415353, -0.0282486565, 0.0290889721, -0.0404508263, 0.0001123478, 0.0455578417, -0.0297070239, -0.0023389342, -0.104670465, -0.0445244573, -0.0459140278, 0.013734838, -0.0389742032, -0.0077631562, 0.0107353721, -0.0091302935, -0.0395546816, -0.0116758356, -0.0183802024, 0.0147775235, -0.0129518621, 0.0271498878, -0.0111750625, -0.0357864313, 0.0098286113, 0.0201916825, -0.0109665105, -0.0444671884, 0.0154901519, -0.0045501939, 0.0097717848, 0.056395527, -0.0090545956, 0.0290032607, 0.033768449, 0.0510344766, 0.0018369807, 0.0611014888, 0.0217314046, -0.0604202189, -0.0195556507, 0.0052816486, -0.0528488196, -0.0205158908, -0.0197368748, 0.0941724479, -0.0059317066, -0.0244083814, 0.0453367382, 0.073315531, 0.03201399, -0.0004654199, 0.0114230728, -0.031069858, 0.0358903557, -0.040336784, -0.0598311871, -0.0137684075, 0.0184669159, -0.0012070986, 0.0008159009, 0.0144630745, 0.0078360355, -0.0463446043, 0.0765714273, 0.0041859937, -0.0377263874, -0.0010266409, 0.0381795727, -0.0036648605, -0.0370352715, -0.0324415863, -0.0164135974, 0.0194333047, 0.0560602471, -0.0191166569, 0.0801333264, 0.0384896472, -0.0148216281, -0.0070695239, -0.0154495733, -0.0707509965, 0.0155416019, -0.0339492932, -0.0117823351, 0.0391999409, 0.0104610194, 0.0766801536, -0.0202939883, -0.0186585747, -0.0569422506, -0.0007938266, 0.0410007238, -0.0461123399, 0.0073008197, 0.0140307928, -0.0147788953, 0.0042639547, 0.0461563878, -0.0191914476, 0.0319218412, -0.0351789407, -0.037624862, -0.0212240126, -0.0824888572, -0.0491185337, -0.0030248405, -0.0308977962, -0.0269016791, -0.0988350213, -0.0521989316, 0.0313953757, 0.0456792042, 0.0230299253, -0.0082711251, -0.0003878966, 0.0855460092, 0.0268861372, -0.0235129334, -0.0452300496, 0.0290981662, -0.047699362, -0.0030810072, -0.0331767835, -6.490638995e-33, -0.0526640192, -0.0322681479, 0.0201177076, -0.0646686926, -0.0302541349, 0.0382024273, -0.0301953517, -0.0022261171, -0.0472038686, 0.0070642801, 0.0064871693, 0.0303014759, 0.0109470338, 0.0281294547, -0.0348604955, -0.0100602033, 0.0495712012, 0.0231227838, -0.0453974679, 0.0029016717, 0.0768748522, -0.0235656332, 0.036984127, -0.0611638203, 0.0256151408, -0.0083908802, -0.011659828, 0.0335877463, -0.0598494671, 0.0796267837, 0.0294377748, 0.0709515065, 0.0146433022, 0.0080113849, -0.0069264579, -0.0402957164, -0.0948571563, -0.0554745533, 0.0262100268, 0.0024417255, -0.0254223384, 0.020758817, 0.0136518721, -0.0270271637, -0.0099681858, -0.0255302731, 0.0222450234, -0.0362078324, 0.0007360428, 0.0047100894, -0.0227124393, 0.0280859899, 0.0546998382, 0.0299646351, -0.0586832128, 0.0568157732, 0.0188249815, -0.0084400158, -0.0954632238, -0.0128014488, 0.0056445105, 0.0389278941, 0.045038376, 0.0028317093, -0.0175429303, 0.0566349998, 0.007746432, -0.0183863509, -0.0646499842, -0.011572768, 0.0211725254, 0.0089484416, 0.0370170772, 0.1048571169, 0.028181592, -0.000065254, -0.0523485728, 0.0503648967, 0.0046748361, 0.0601074882, -0.0041315951, -0.0273136348, -0.0586434864, -0.0110692214, -0.0343816131, 0.0570476763, -0.0431036502, -0.0174444932, 0.0356647894, 0.0309206247, -0.0395360962, -0.0161946807, 0.0255696457, -0.0168106724, -0.0052241627, 0.0493793003, -0.0556554683, -0.0184076391, -0.0176741201, 0.0469235145, -0.0177692771, 0.0071954331, 0.0283762924, 0.015055282, -0.0430287644, 0.0050146291, 0.039118167, 0.0060729221, -0.0405288152, 0.041524332, -0.0001730294, 0.0063257827, -0.0467726775, -0.0530308411, 0.0308187138, 0.0124397501, -0.0120916087, -0.006054454, 0.0429347605, 0.0410379171, -0.0721328482, -0.027749341, 0.0082298899, 0.0359320082, -0.0072628977, 0.0616068356, -0.0254405104, 0.0200407989, 0.01183319, -0.0331067033, -0.0024137436, 0.0273455717, 2.707e-7, 0.0159064457, -0.0100713726, 0.0497111455, 0.0528166033, -0.0147359772, 0.0456242487, -0.0026422339, 0.0191823691, 0.0096864626, 0.0093652699, -0.0100128613, 0.0361694731, 0.0524485707, 0.0388963558, -0.0192669425, 0.0109331822, -0.0471815616, -0.047226768, -0.0289166756, -0.0128830448, 0.0594692752, 0.060096927, 0.0061861333, -0.0303393751, 0.0029122881, -0.0150618749, 0.0404737107, 0.0609209687, -0.0467915237, 0.0306169167, 0.0582873486, 0.0233866405, 0.0314802974, -0.0085164858, -0.01553779, 0.0047993697, 0.0208766367, 0.0247747637, 0.0280071609, -0.0378417931, -0.0408083126, -0.0096461903, 0.0006606167, -0.0229861215, 0.0469952151, 0.0482517667, 0.0266837738, -0.0233239196, -0.0587705187, 0.0419195443, 0.0047990503, -0.0087301983, -0.0538786687, 0.029966753, -0.0000925724, 0.0247736927, -0.0079101846, -0.0212364681, -0.0446354151, 0.0154546676, -0.0259914082, -0.0739909858, 0.0263603963, 0.0313023627, -0.0098658614, -0.0511120185, -0.006109253, 2.793726251e-34, 0.0307802241, -0.0126369903, 0.0015908026, -0.0180784892, 0.050275065, -0.0032591771, -0.0468979664, -0.0068743108, -0.0229137018, -0.0317461677, -0.0370832942 ]
http://arxiv.org/abs/2407.01067v1
http://arxiv.org/pdf/2407.01067v1
Human-like object concept representations emerge naturally in multimodal large language models
2024-07-01T08:17:19
2024-07-01T08:17:19
Changde Du, Kaicheng Fu, Bincheng Wen, Yi Sun, Jie Peng, Wei Wei, Ying Gao, Shengpei Wang, Chuncheng Zhang, Jinpeng Li, Shuang Qiu, Le Chang, Huiguang He
cs.AI
cs.AI, cs.CL, cs.CV, cs.HC, cs.LG
The conceptualization and categorization of natural objects in the human mind have long intrigued cognitive scientists and neuroscientists, offering crucial insights into human perception and cognition. Recently, the rapid development of Large Language Models (LLMs) has raised the attractive question of whether these models can also develop human-like object representations through exposure to vast amounts of linguistic and multimodal data. In this study, we combined behavioral and neuroimaging analysis methods to uncover how the object concept representations in LLMs correlate with those of humans. By collecting large-scale datasets of 4.7 million triplet judgments from LLM and Multimodal LLM (MLLM), we were able to derive low-dimensional embeddings that capture the underlying similarity structure of 1,854 natural objects. The resulting 66-dimensional embeddings were found to be highly stable and predictive, and exhibited semantic clustering akin to human mental representations. Interestingly, the interpretability of the dimensions underlying these embeddings suggests that LLM and MLLM have developed human-like conceptual representations of natural objects. Further analysis demonstrated strong alignment between the identified model embeddings and neural activity patterns in many functionally defined brain ROIs (e.g., EBA, PPA, RSC and FFA). This provides compelling evidence that the object representations in LLMs, while not identical to those in the human, share fundamental commonalities that reflect key schemas of human conceptual knowledge. This study advances our understanding of machine intelligence and informs the development of more human-like artificial cognitive systems.
Human-like object concept representations emerge naturally in multimodal large language models: The conceptualization and categorization of natural objects in the human mind have long intrigued cognitive scientists and neuroscientists, offering crucial insights into human perception and cognition. Recently, the rapid development of Large Language Models (LLMs) has raised the attractive question of whether these models can also develop human-like object representations through exposure to vast amounts of linguistic and multimodal data. In this study, we combined behavioral and neuroimaging analysis methods to uncover how the object concept representations in LLMs correlate with those of humans. By collecting large-scale datasets of 4.7 million triplet judgments from LLM and Multimodal LLM (MLLM), we were able to derive low-dimensional embeddings that capture the underlying similarity structure of 1,854 natural objects. The resulting 66-dimensional embeddings were found to be highly stable and predictive, and exhibited semantic clustering akin to human mental representations. Interestingly, the interpretability of the dimensions underlying these embeddings suggests that LLM and MLLM have developed human-like conceptual representations of natural objects. Further analysis demonstrated strong alignment between the identified model embeddings and neural activity patterns in many functionally defined brain ROIs (e.g., EBA, PPA, RSC and FFA). This provides compelling evidence that the object representations in LLMs, while not identical to those in the human, share fundamental commonalities that reflect key schemas of human conceptual knowledge. This study advances our understanding of machine intelligence and informs the development of more human-like artificial cognitive systems.
[ 0.0258043278, 0.0688139871, -0.0468487442, 0.0615870357, -0.0024308546, 0.0267887581, -0.0153251616, 0.0194976199, -0.010228198, -0.0549963452, -0.0618379638, -0.0256603621, 0.0006628076, 0.0526395254, 0.0747093633, -0.0258593541, 0.0182751995, -0.0055590956, -0.0101741236, 0.0127267437, -0.0102444282, -0.0114878835, 0.0087703718, 0.0237533189, -0.0077129519, -0.0168493018, -0.0039142552, -0.0613699704, -0.0121585885, -0.0240717903, -0.0506500863, 0.0504020043, 0.0746342987, 0.0042529535, 0.0000016893, -0.0606295541, 0.059986867, -0.0077000819, -0.0036990799, 0.0156034753, 0.0356099606, -0.0025231268, 0.0170747247, -0.0622624755, -0.0109485751, 0.0049916673, 0.0517950878, 0.0758419409, -0.0000094736, 0.0119578056, -0.019503573, -0.0336152725, 0.0479803234, -0.0075259572, 0.0277940948, 0.0084015066, 0.0176328272, 0.0345615074, -0.0091597503, 0.0146516068, -0.039270848, -0.0174802262, 0.0090347389, 0.0391843356, 0.0032629077, 0.0725991726, 0.0037174535, -0.0345893577, 0.0207850505, 0.0749094933, -0.01959146, -0.0380989201, -0.0159626585, 0.0262249094, 0.004827919, -0.0054560914, -0.068531096, 0.051981207, 0.021412475, 0.0356533751, -0.0113452924, -0.0407724157, 0.022723306, 0.01114331, 0.0122325271, -0.0153170908, 0.0010144422, 0.0043579633, 0.0140372925, 0.0069468487, -0.0634390265, -0.0101324059, -0.0154478699, -0.0093423612, 0.0108504854, -0.0116936043, -0.0016217489, 0.0122342212, 0.0246792324, -0.0241881981, 0.0497736782, 0.0381792895, -0.0540861636, 0.0200815387, -0.0333558768, 0.0691492334, -0.0615382865, 0.041948799, -0.0431774519, 0.0156775285, -0.0705823004, -0.0227860827, 0.0445052236, 0.0343304239, -0.0187598132, -0.0587374158, -0.0115836672, 0.0139910253, -0.0212379154, -0.0339365005, -0.028045537, 0.0532229431, 0.0244686473, 0.0450156182, -0.0584953092, -0.0033178427, -0.0111756884, 0.0385512561, -0.0449159294, -0.0326123796, 0.0041652173, 0.0330050215, -0.0178700909, -0.0298322476, -0.0219867192, 0.0806915462, -0.028155826, -0.0513423756, -0.0058496036, -0.0216566157, 0.0165896639, -0.0140410364, 0.0603686571, -0.0326178297, 0.0189399272, 0.0137518104, 0.0044570249, -0.0519593246, -0.0266231503, -0.0066571059, -0.0163586829, 0.0638557225, 0.0057701636, -0.0016532007, 0.0357757546, 0.021695517, 0.0001494846, -0.0078619095, 0.0245900452, 0.0079772463, -0.026309371, 0.0035883565, -0.0380138084, 0.0178477634, -0.0128867393, -0.0403853767, -0.0571786314, -0.0259515494, 0.0047872588, 0.0521341637, 0.0884809792, 0.0318001993, -0.0365388729, -0.0533008501, 0.0673638731, 0.0770397261, -0.0669136047, 0.0289775468, 0.0222539436, -0.0132648703, 0.0102342162, -0.0284588467, -0.0724003464, 0.0644745454, 0.0048278803, -0.0160005465, 0.0067052636, 0.0289712474, -0.0223887656, 0.0465559475, 0.0002192214, -0.0193756223, 0.0048565292, -0.0110533489, 0.0335492268, -0.0440879762, 0.0087616239, 0.0138889104, 0.0206512008, 0.0126914615, -0.010638997, -0.0495516844, 0.0403644443, -0.0076741008, -0.0089275036, 0.0001264908, 0.0149928853, 0.0131945899, -0.0026086888, 0.0532998182, 0.0135222729, 0.0008669288, 0.0082188202, 0.0257020202, 0.00330105, -0.0321684778, -0.0078483596, 0.0107071465, -0.0313498341, -0.0442696027, -0.0219315719, -0.0305191614, 0.0083198361, 0.0434427597, -0.0084048938, 0.0226498973, -0.0637813881, 0.0012059109, 0.0390775353, -0.0365975276, 0.0010427936, 0.0260140635, 0.0070839715, -0.0189108942, 0.0002427836, -0.0016483157, 0.0069870865, 0.0085521275, 0.0398662798, -0.0006244371, -0.040313378, 0.0268800482, 0.0028805139, 0.0189789142, 0.0328601412, -0.0546265021, 0.0372433513, -0.0623466112, -0.0149303125, -0.0342990719, 0.0409620479, -0.0157294143, 0.0582633391, -0.0126321344, -0.0078977775, -0.0005032282, -0.0284254663, 0.0398707092, -0.0282065291, -0.0219232626, 0.0071551702, -0.0142940283, -0.0058689578, -0.0252107345, -0.0275710691, -0.0535108484, 0.0239712149, -0.0522978082, -0.0211464856, 0.0864849761, -0.0263018273, -0.0014782444, -0.0513719991, 0.0107890656, 0.0126925735, 0.0001298782, 0.0142610492, 0.0041277669, 0.0703937188, 0.016140312, -0.0500316843, -0.0302273314, -0.0171181746, 0.0097131105, -0.042433776, 0.0918263569, -0.0128473649, -0.0163265374, -0.0411544032, 0.0442743376, -0.0531506538, 0.021912735, -0.0034576615, -0.0344090909, 0.0474113822, 0.0086090947, 0.0581367947, 0.0902703926, -0.0116349673, 0.056921415, 0.0937846228, 0.0060323174, -0.0337021723, -0.060810715, 0.0037833326, -0.0042284881, -0.0028694402, 0.0028415401, 0.0035207935, 0.0578015707, 0.0437519848, -0.0113343, -0.0080721201, 0.0513397194, 0.0051077898, -0.0650805756, -0.0411880054, -0.0310333185, -0.031976454, 0.0523829311, -0.0450233519, -0.0317206793, 0.0461692028, -0.0002236879, 0.0111157307, 0.0386016965, 0.0021940421, 0.0004993318, 0.0416333601, 0.0675716177, 0.0336589515, -0.039074257, 0.0078283986, -0.0691569075, 0.0201670006, -0.0448153168, 0.0035361364, 0.0067556645, -0.0127387596, -0.007335769, 0.0112378281, -0.0009825201, -0.0128028551, 0.00155894, -0.0410640128, 0.0044707432, -0.0367293768, 0.0189697668, -0.0425232984, 0.0018394284, 0.0346868895, -0.0371774063, -0.0090496074, -0.0300582703, -0.0137999402, 0.0492990911, 0.0339866951, 0.0102552585, 0.0157950092, -0.0306679513, 0.0077870144, 0.0450668335, -0.0197033435, 0.0266439151, -0.0878636017, 0.0736959279, 0.005617782, 0.0227093101, -0.0278650951, 0.0247268006, 0.0079220477, 0.0155177573, -0.0226910226, 0.0730644986, 0.0237675533, -0.0555806793, 0.0411859155, -0.0207746513, 0.0020958991, 0.0507087149, 0.0120737758, -0.0148864901, -0.0285231471, -0.0222495515, -0.0464439839, 0.0061005298, -0.0408377573, 0.002523351, -0.0841712952, 0.031733755, -0.02807381, -0.0588610508, -0.0474684723, -0.0337513722, 0.0174076464, 0.0235265736, -0.0005771103, 0.0052910042, 0.0083737681, -0.0031637314, 0.0058199372, 0.0231774952, -0.0044583855, 0.0543549806, -0.0620362312, 0.0415406674, 0.0346835963, 0.0467533059, -0.0043651825, -0.0354538746, 0.0017541124, 0.0191033315, 0.0185070671, 0.0111745708, 0.0064520785, 0.015330201, -0.0028847053, -0.0505399257, 0.0214174334, -0.0134456195, -0.0904144123, -0.0676266849, 0.1139066964, -0.0224201959, -0.0173132252, -0.0156746414, 0.0181190129, -0.0604750998, 0.0569317751, 0.0395743139, -0.0539165847, 0.0169823132, 0.025952585, 0.0173316449, 0.0500971526, -0.0489808097, 0.0309338011, -0.004702128, 0.0012772807, -0.048892729, 0.0110085867, 0.0019645928, -0.0224710573, 0.0297547057, -0.0166180097, 0.0148695474, -0.0456597395, -0.0604333617, 0.0738797486, -0.01559042, -0.0456391722, -0.002078257, -0.0104067232, 0.0258858167, -0.0436582156, -0.0312758721, 0.002911092, -0.0582177304, -0.0382664725, 0.0154876849, -0.0038892089, 0.013981347, -0.033999607, 0.0591293797, -0.0567681454, 0.0214794222, 0.0176932979, -0.004187773, 0.0509982742, -0.1045567766, 0.0473802686, 0.0105867423, 0.0044109412, -0.0332206525, 0.0118266232, 0.0082157319, -0.0140593015, 0.002385108, -0.0354728103, 0.0123576298, 0.0044081351, 0.0522452183, -0.0018825344, 0.0008646328, -0.050354749, -0.0859147087, 0.0283014756, 0.0155266011, -0.0143232597, -0.0535425395, 0.0420386046, 0.0320232995, -0.0333296731, -0.0335394181, 0.0286901835, 0.0499062091, 0.0126064951, -0.0738643706, -0.004122721, -0.0295670405, -0.0592599735, 0.0613954589, 0.0184573289, -0.0025046566, -0.0916757286, -0.0052731405, -0.013037445, 0.0729820132, 0.0180616751, -0.0015044964, -0.0622520559, 0.0392934792, -0.0168278199, -0.0526787564, 0.0249415357, -0.0223181974, 0.0318848528, -0.0308342725, 0.009399795, -0.0461874828, 0.0162275471, 0.0018505222, 0.0392874256, -0.0483530387, -0.0323373601, 0.071709685, 0.0268470384, 0.0160269551, -0.0337951891, 0.0410497785, 0.0025853268, 0.018984573, -0.017536791, -0.0402033702, -0.0152457291, -0.0064503248, 0.0441946909, 0.0052416483, -0.0168602373, 0.0283962246, -0.0259175748, -0.0533105619, -0.0089959428, 0.031475395, -0.0037926151, 0.0043443427, 0.0246467572, 0.036750827, 0.0080207074, -0.0264536794, 0.0268540923, -0.0019923691, -0.0270886198, -0.0307626482, -0.0058763516, -5.262257316e-33, -0.0198136717, -0.0263915788, -0.0003281046, -0.0013210166, -0.0361283645, -0.0157813728, -0.0298896432, 0.0117180841, 0.0055249739, 0.0139798122, 0.0225562733, -0.0182930324, -0.0114887543, -0.0059945709, 0.0623936243, 0.0163052492, -0.0347222462, -0.0329776667, 0.0092390673, -0.0200890917, 0.0581765808, -0.003537222, 0.0696392208, -0.0681729019, 0.0020870562, 0.067616865, 0.0235312711, 0.051941175, -0.0024904164, 0.0502640121, -0.0816559941, 0.0368789732, 0.0718675181, 0.0034273656, -0.0147981066, 0.0406179354, -0.0118914898, -0.0276824646, 0.0379461609, 0.0062471624, -0.0114568649, -0.0065827616, 0.0582726784, -0.0488329157, 0.0187561456, 0.0106675616, 0.0520019755, -0.0168675426, 0.0125349127, 0.0460503511, -0.0645379424, -0.0542310923, -0.0067427862, 0.01997656, 0.0290303603, -0.0219709184, -0.0331374034, 0.0524012744, -0.0608583391, 0.0199939534, -0.0792144388, 0.0007235436, 0.0529194437, 0.0188151691, 0.0388562568, 0.1029915735, 0.081819199, -0.0148862973, -0.0375583805, -0.0090060662, 0.0597392283, 0.0538889542, -0.0058275093, 0.0458318219, 0.0356870331, 0.0050888741, -0.028510347, 0.0254071057, -0.0398020297, 0.0541678146, 0.0492274761, -0.0010999473, 0.0465958901, 0.0093372166, -0.0185903218, -0.0186578687, -0.0601104237, -0.0111290291, 0.0322423577, -0.0639331266, 0.0256896745, -0.0131311892, 0.0683546439, -0.0243833493, -0.001963458, -0.0191780385, -0.005287189, 0.0331428684, 0.0209310669, -0.0121343471, -0.0185194034, -0.0716703162, 0.0252507087, -0.0480173007, 0.0517368168, 0.0188912991, -0.0150570581, -0.0222963989, 0.0125845671, -0.0199679602, -0.0319742635, -0.0989609882, 0.0380435288, 0.0022257678, 0.0133558912, 0.0006985462, -0.0326531269, -0.0365803503, 0.0249706767, -0.0252827387, -0.022576645, -0.0052779443, -0.0153021608, 0.020691758, -0.0279106088, -0.0091130454, -0.0583932512, -0.0404363759, 0.049589701, -0.0495262332, -0.0099717248, -0.002701981, 2.606e-7, 0.0387322269, 0.0704349205, -0.0205059871, 0.0439988002, 0.0412447043, 0.0451189429, -0.0024371196, 0.0365931876, 0.0246192142, -0.0586431213, -0.0416239314, 0.0625230148, -0.0159225166, -0.0015282315, -0.018534014, 0.002032679, 0.0050108288, 0.0194016937, -0.0508202575, -0.0018558616, 0.0286774971, 0.0425140299, 0.0113145495, -0.0503264256, 0.0037149864, -0.0054822192, 0.0856855437, -0.0574985109, 0.0260776822, -0.0406803377, -0.0030640119, -0.0191701017, 0.0253396202, 0.0576077513, 0.0594066009, -0.0042365422, 0.0464025401, -0.0098078353, -0.0222923718, 0.0025466611, 0.0002221676, -0.009086919, -0.0239719264, -0.0408993736, 0.0280236863, -0.0604268163, -0.0689602271, 0.0097121419, -0.0199829843, -0.032541737, 0.0215683971, -0.0035739569, 0.0005849081, -0.0047361986, -0.0140486564, 0.0199777447, 0.0008476364, -0.0152080208, -0.0130045582, 0.0385777429, -0.0987025574, 0.0013053481, -0.0298065189, -0.0494493842, 0.0595659874, -0.0491676927, -0.0182713736, 1.822970759e-34, -0.0534938164, 0.0148711298, 0.0335979015, 0.0199693069, 0.0408743806, -0.0336228013, 0.0360764861, 0.0122849569, -0.0065295673, -0.0763802007, 0.0046006488 ]
http://arxiv.org/abs/2407.01047v1
http://arxiv.org/pdf/2407.01047v1
Development of Cognitive Intelligence in Pre-trained Language Models
2024-07-01T07:56:36
2024-07-01T07:56:36
Raj Sanjay Shah, Khushi Bhardwaj, Sashank Varma
cs.CL
cs.CL
Recent studies show evidence for emergent cognitive abilities in Large Pre-trained Language Models (PLMs). The increasing cognitive alignment of these models has made them candidates for cognitive science theories. Prior research into the emergent cognitive abilities of PLMs has largely been path-independent to model training, i.e., has focused on the final model weights and not the intermediate steps. However, building plausible models of human cognition using PLMs would benefit from considering the developmental alignment of their performance during training to the trajectories of children's thinking. Guided by psychometric tests of human intelligence, we choose four sets of tasks to investigate the alignment of ten popular families of PLMs and evaluate their available intermediate and final training steps. These tasks are Numerical ability, Linguistic abilities, Conceptual understanding, and Fluid reasoning. We find a striking regularity: regardless of model size, the developmental trajectories of PLMs consistently exhibit a window of maximal alignment to human cognitive development. Before that window, training appears to endow "blank slate" models with the requisite structure to be poised to rapidly learn from experience. After that window, training appears to serve the engineering goal of reducing loss but not the scientific goal of increasing alignment with human cognition.
Development of Cognitive Intelligence in Pre-trained Language Models: Recent studies show evidence for emergent cognitive abilities in Large Pre-trained Language Models (PLMs). The increasing cognitive alignment of these models has made them candidates for cognitive science theories. Prior research into the emergent cognitive abilities of PLMs has largely been path-independent to model training, i.e., has focused on the final model weights and not the intermediate steps. However, building plausible models of human cognition using PLMs would benefit from considering the developmental alignment of their performance during training to the trajectories of children's thinking. Guided by psychometric tests of human intelligence, we choose four sets of tasks to investigate the alignment of ten popular families of PLMs and evaluate their available intermediate and final training steps. These tasks are Numerical ability, Linguistic abilities, Conceptual understanding, and Fluid reasoning. We find a striking regularity: regardless of model size, the developmental trajectories of PLMs consistently exhibit a window of maximal alignment to human cognitive development. Before that window, training appears to endow "blank slate" models with the requisite structure to be poised to rapidly learn from experience. After that window, training appears to serve the engineering goal of reducing loss but not the scientific goal of increasing alignment with human cognition.
[ 0.0099311555, 0.0489988364, -0.0456243418, -0.0204499587, -0.0159335174, 0.0198851638, 0.0245169327, -0.0156641528, -0.0203258786, -0.0075502596, -0.017883379, -0.0313923061, 0.0065794061, 0.0104494235, 0.0377781428, -0.0234806035, 0.0579138026, -0.0720451325, 0.0486883819, -0.0057359245, -0.048380807, -0.0116652222, -0.0397630073, 0.0068555363, -0.0052411687, -0.0247991998, 0.0081453351, -0.0442417078, -0.0374639146, -0.0355085731, -0.0341655724, 0.063422963, 0.0499815606, 0.0344669521, 0.0000020774, -0.0904577076, 0.0548164696, -0.0212714449, -0.0442661718, 0.0246781353, 0.0228220802, 0.0215541087, -0.0014166806, 0.0131447176, -0.0361625291, 0.0191224236, 0.0243095588, 0.0120672109, -0.0070972843, 0.0105325151, 0.0004251995, -0.0174179971, 0.0614331998, 0.0062217177, -0.0006948667, -0.0157427955, 0.0258543324, 0.036002174, 0.0030802533, -0.0351203978, -0.00146002, 0.0055183447, 0.0144351851, 0.0172166992, -0.027005475, 0.0208533928, 0.007797021, -0.0400975198, -0.0312936492, 0.0076557603, 0.0040065493, -0.0436858907, -0.0342314504, 0.0034030494, 0.0169249177, 0.0069737262, -0.0538935736, 0.0405142903, 0.0579669736, 0.0172267221, 0.0360679477, -0.0295696743, 0.0184015576, -0.0000115635, -0.0073172227, 0.0761749297, 0.009008972, -0.0399815217, 0.0249878224, 0.0377815329, -0.0254581552, -0.0195392612, -0.035688933, 0.0215825103, 0.0065604686, 0.0224742573, -0.0387000293, 0.0062264586, 0.0042187041, -0.0364454128, 0.0819241703, 0.0387234092, 0.0104767429, 0.0113965198, -0.0166128557, 0.0704500079, 0.0303761754, 0.0570684187, -0.0264168847, 0.0351520143, -0.0293345489, -0.0555843413, -0.0228289254, 0.0196061451, 0.0138228303, -0.005262759, -0.046050474, 0.0160493068, 0.0180188771, -0.0441100076, -0.0152235292, -0.0292740595, 0.0055591404, -0.0109070381, -0.0771906897, -0.0016012242, -0.0032997413, 0.0709330589, -0.0174748376, -0.011981572, -0.0141016254, 0.0064698565, -0.0245065987, 0.0036900081, 0.0161825642, 0.0220684614, -0.0297743529, -0.0214115474, -0.0419655107, -0.0065573589, 0.030179292, -0.0706514195, 0.0220028497, -0.0386236086, 0.0134363165, 0.0401803926, -0.0187061485, -0.0769354627, -0.0147566497, -0.001259582, -0.0404427126, -0.0065272241, -0.024333233, 0.0636263788, 0.0143293999, -0.0199799165, 0.0103724375, 0.0665156469, 0.0484563336, -0.0700243413, -0.0312728956, -0.0315782055, -0.0484289601, 0.0339449421, -0.0013729045, -0.0134905213, -0.0213007554, -0.0184773766, 0.0072605028, 0.0135021722, 0.0365525261, 0.0032107839, -0.0027316317, 0.0291665494, 0.0935251713, 0.0911661461, -0.0117633538, 0.0297714956, 0.0450010672, -0.0178201236, 0.0859354585, -0.0132136354, -0.071679756, 0.0024989322, -0.0820035264, 0.012134999, -0.0181575976, 0.0572686493, -0.044667922, -0.005420228, -0.0131133925, -0.0065932465, 0.0279171523, 0.0059417011, 0.0434297696, -0.0178740006, -0.0237714443, 0.0370812789, 0.0187866837, -0.018230537, -0.0189809557, -0.0398210883, 0.0137749193, 0.029572947, -0.0348140821, -0.0029597031, -0.0214835219, 0.044906117, 0.0072484459, 0.0334486291, 0.0375495963, 0.0206315108, -0.0123867188, 0.0043304134, 0.0072525605, 0.0064085536, 0.0062951068, -0.0175463688, -0.0158436652, -0.0212823767, -0.0197243616, 0.0051165293, -0.0550124198, 0.0445720889, -0.1078284904, 0.0094301952, -0.0846165046, -0.0127193723, 0.0406912714, -0.007861658, 0.0103108082, 0.0511360355, 0.0316352919, 0.0220803358, 0.0224849544, 0.0553218052, -0.0516892783, 0.0395004079, 0.0377449691, 0.0279566869, -0.0022481512, 0.0152011085, 0.0358565822, -0.0165332835, 0.0629399195, -0.0307591911, 0.0701606497, 0.0049944674, 0.0960131958, -0.0520018861, -0.0033756907, -0.0086556906, 0.0859840065, 0.0027413091, 0.0130824791, -0.0010945057, -0.01177778, 0.0054350784, -0.0275517292, -0.0143757388, -0.0422780737, -0.0307630356, 0.0103848409, -0.015859589, 0.0017193365, -0.0591186881, 0.016311748, -0.074892506, -0.0103100752, 0.0288237967, 0.0177460276, 0.0044580288, -0.0579182431, -0.0375166275, 0.0144274225, -0.000963555, 0.0181982983, 0.0398504958, 0.0242191982, 0.004058715, -0.0315234624, -0.0324618071, -0.044408381, -0.0079954462, -0.0542595759, 0.0372765362, 0.0350747779, 0.0202061981, -0.0336724184, 0.0388318188, -0.0345696732, 0.0451925136, -0.0024496191, -0.0236499775, 0.0712482408, 0.0443424471, 0.0813662633, 0.0701719299, 0.0135815879, 0.0337732993, 0.0455929078, 0.0048048617, -0.0246984474, -0.0027575933, -0.0369267911, -0.0228410698, -0.0605800152, -0.0206720475, -0.0318192989, 0.122984156, -0.009374476, 0.0028848606, -0.0295091961, 0.078487061, -0.0096413558, -0.0182195567, -0.0140135475, -0.0541749708, -0.0330003835, 0.0729250908, -0.0348751359, -0.0502937511, 0.0061290157, -0.0205506068, 0.0249107946, -0.037102621, 0.0034951225, 0.0235579386, 0.0390790328, 0.0251994748, -0.0046088137, 0.0013352005, 0.0054511661, -0.1074016839, 0.0306766331, 0.0221604835, -0.0180512778, 0.0251108408, -0.0852905735, 0.0170210395, 0.0126542225, -0.0086411312, -0.0522270203, -0.002559148, -0.0284562185, 0.0437531918, 0.0447888337, -0.013002933, -0.084403649, -0.014064502, 0.0453783162, -0.0001958235, 0.0042359061, 0.0146096498, 0.0030177855, -0.0556668229, 0.023680279, 0.0183119662, 0.0382316746, -0.0710310861, 0.0394870378, 0.0071509853, -0.016686704, -0.0003292447, -0.0087277815, 0.0464647822, 0.0577826686, -0.0002508675, -0.0087580131, 0.0506703891, 0.0587351061, 0.0035287458, -0.0059679272, 0.0942721292, 0.0545799434, 0.0057594692, 0.0223341435, 0.0099723944, -0.0132621769, 0.0469927564, -0.0061951349, -0.0142660756, 0.0265139882, -0.0098091559, -0.0244193226, -0.039019011, -0.0394176953, -0.01311439, -0.0950270668, -0.019490771, 0.0226351377, -0.0540788285, -0.0017775596, -0.021792382, 0.0017512639, 0.0544646196, 0.0105723282, 0.0324494131, -0.0234948341, 0.0064233593, 0.006132768, -0.0316765048, -0.0577952266, 0.0361743048, -0.0184580442, 0.0712467805, 0.0088104196, -0.01949884, -0.0312089734, -0.0396774039, 0.0431308448, 0.0011642511, -0.0034026492, 0.0179200489, -0.0026484632, 0.0112901228, 0.0171725284, -0.0438282788, 0.0038529742, -0.0065412275, -0.034486182, 0.0012946884, 0.0788681954, -0.0007133786, -0.0292944554, 0.0017632797, 0.0383245163, -0.0465357341, 0.0751195401, 0.0034372043, -0.0635996684, 0.010163758, -0.0001764955, -0.0234057307, 0.0209098682, -0.0785950646, 0.0582457185, 0.021296544, 0.0200723913, -0.0351114534, -0.0051817787, 0.0218697898, 0.0206153113, 0.0271854997, -0.0097821709, 0.0153284306, -0.0334136412, -0.0374403708, 0.0593027435, -0.0000970816, -0.0440336391, -0.0913499668, -0.0728108436, 0.0123369684, -0.0778581277, -0.0219857339, -0.0235545579, -0.0380952284, -0.0608167946, 0.020935934, 0.0253865104, 0.0336450599, -0.0197760891, 0.029035693, -0.0551916324, 0.0430751517, -0.0326065384, -0.0415884294, 0.0214561652, -0.0422058925, -0.0055509247, 0.0302664936, -0.0057464452, -0.0093628047, 0.0498460419, 0.0271709524, 0.0221920852, -0.0310286731, -0.050594788, 0.0240300409, 0.0220625028, 0.0771909878, 0.0007658206, -0.007294124, -0.064251259, -0.0290717687, -0.0446215123, 0.0107157901, 0.0218615495, -0.0457124747, 0.0100782057, 0.0535204299, 0.015227031, -0.0326017439, -0.0207656883, 0.0264088307, -0.0134216538, 0.0151601899, -0.0351847224, 0.0534266941, 0.0046238163, 0.0323340967, 0.0076734493, 0.0014942975, -0.077302523, 0.0357843749, 0.0315528288, 0.0740388408, -0.0302223563, 0.0369044617, -0.0257537868, -0.0144918952, -0.0456336141, -0.0638104305, -0.0242062416, 0.0148363598, 0.0236113928, -0.0223646127, 0.0031756375, -0.0566359796, 0.0120715583, -0.0292807464, -0.0223391503, -0.006831598, -0.0292748157, 0.0356561281, 0.0068788119, -0.0093319258, -0.0000691868, 0.0429896787, 0.0225742348, 0.0147072067, -0.0390961617, -0.0192798823, -0.0000205192, -0.0258212294, 0.0334946215, 0.0282448493, -0.0507334955, 0.0344897583, -0.0546320751, -0.0610103235, -0.0238676723, 0.0287993569, -0.0070112511, 0.0072223507, 0.0251919068, 0.0460726693, -0.063332662, -0.0238306951, 0.0183768254, -0.004099594, -0.0230466016, 0.0005745237, -0.015504607, -6.379832489e-33, -0.0286699645, 0.0038791476, 0.0707779378, -0.0071695796, -0.0055523664, -0.0351932943, -0.0212135445, 0.0965502188, -0.0604987517, -0.0115123168, 0.0305139069, -0.0306181908, 0.0035073585, -0.007029146, 0.0098648118, 0.0395705849, -0.0326415077, -0.0395376571, -0.0024332101, -0.0452906676, -0.0005331556, -0.0236973614, 0.0643325821, -0.0341474265, 0.0063978923, -0.0112674199, 0.0311362613, -0.0006538794, -0.026061086, 0.0292744469, -0.0139361173, 0.0248608943, 0.04041446, -0.0079516433, -0.0131915323, 0.0005455915, -0.0124564124, -0.0274087209, 0.0849013329, -0.0028792284, -0.0326328464, -0.0194056891, 0.0276565384, -0.0144034717, -0.043834012, -0.0200316757, 0.0184852798, -0.0279517844, 0.0219112318, 0.0126701323, -0.107569322, -0.0256341305, -0.0213630982, 0.0032445872, -0.0080507919, -0.0060761515, -0.0427684411, -0.0122997556, -0.0540121458, 0.0237238389, 0.0227813832, 0.0180196054, 0.0677052587, 0.016542241, 0.0473899879, 0.0568457693, 0.0630191714, 0.0197592545, -0.0044858539, 0.0153946746, 0.1046033427, 0.0117136026, 0.0398434289, -0.0261808354, 0.0166729279, -0.0217029322, -0.0568325073, -0.0236961488, 0.0276940912, 0.0205025394, 0.0361143798, -0.0101856636, -0.0121517414, -0.0068488247, -0.038043648, -0.0131121399, -0.0152548691, -0.0188338235, 0.0253532082, -0.0340343602, 0.0246297661, -0.0343513824, 0.0306574646, -0.0010682637, 0.0051491149, -0.0228742752, -0.014131695, 0.0076351096, -0.0182287097, 0.0276735611, -0.1007311195, -0.0624526329, -0.0029362824, 0.0212013349, 0.0340832882, 0.0449880622, 0.0112355277, -0.001561007, -0.0284248888, -0.0115192439, -0.0175128561, -0.0038321163, 0.0785711482, -0.0398700796, 0.0467524901, 0.0137870936, -0.0055491086, -0.0565742105, -0.0029247727, -0.074745968, -0.0501638651, 0.0124895303, -0.0254508778, 0.0179617107, 0.001364773, 0.0036423479, -0.032040026, 0.0535585284, 0.0207797494, -0.0311450977, -0.0063979761, 0.0435410552, 2.884e-7, 0.0186555367, 0.0555559322, -0.0155216511, -0.0000401927, 0.0314707384, -0.025023587, -0.0416072682, -0.038879782, 0.0623007305, 0.0092571257, -0.0092501976, 0.0381577313, 0.0362588391, -0.0142911598, -0.0299577303, -0.035463132, -0.0247937236, 0.0270170067, -0.047911495, 0.0406545959, 0.0406773649, 0.033565104, 0.0023410539, -0.0170091745, -0.0391057096, -0.0150011657, 0.0418482311, -0.0285080113, 0.0288017839, -0.0040464867, -0.012509184, 0.0085120443, 0.00809462, 0.0960691199, 0.0004338988, 0.0591543987, -0.0103866784, 0.0170903355, -0.0172729641, 0.0196720269, -0.0130701261, 0.0201127995, -0.0320517235, -0.0451870561, 0.057980027, -0.0831593573, -0.0576943159, 0.0378902964, -0.0266958792, -0.0105767762, -0.0090641733, 0.0140691772, 0.0193626005, 0.0193033237, 0.0337951854, -0.0114218639, 0.0172224212, -0.0205772351, 0.0032451681, 0.06118403, -0.0424630903, -0.0716502964, -0.0342226066, -0.0151003962, 0.0282219462, -0.0066970773, 0.0434003584, 2.422063177e-34, -0.0063815322, -0.016035784, 0.0774096698, -0.0400057882, 0.0227607451, -0.0177142434, 0.0405546315, 0.0294558909, 0.0264926124, -0.0703342855, 0.0165163614 ]
http://arxiv.org/abs/2407.01046v2
http://arxiv.org/pdf/2407.01046v2
FRoG: Evaluating Fuzzy Reasoning of Generalized Quantifiers in Large Language Models
2024-07-01T07:56:14
2024-07-03T03:37:53
Yiyuan Li, Shichao Sun, Pengfei Liu
cs.AI
cs.AI, cs.CL
Fuzzy reasoning is vital due to the frequent use of imprecise information in daily contexts. However, the ability of current large language models (LLMs) to handle such reasoning remains largely uncharted. In this paper, we introduce a new benchmark, FRoG, for fuzzy reasoning, featuring real-world mathematical word problems that incorporate generalized quantifiers. Our experimental findings reveal that fuzzy reasoning continues to pose significant challenges for LLMs. Moreover, we find that existing methods designed to enhance reasoning do not consistently improve performance in tasks involving fuzzy logic. Additionally, our results show an inverse scaling effect in the performance of LLMs on FRoG. Interestingly, we also demonstrate that strong mathematical reasoning skills are not necessarily indicative of success on our benchmark.
FRoG: Evaluating Fuzzy Reasoning of Generalized Quantifiers in Large Language Models: Fuzzy reasoning is vital due to the frequent use of imprecise information in daily contexts. However, the ability of current large language models (LLMs) to handle such reasoning remains largely uncharted. In this paper, we introduce a new benchmark, FRoG, for fuzzy reasoning, featuring real-world mathematical word problems that incorporate generalized quantifiers. Our experimental findings reveal that fuzzy reasoning continues to pose significant challenges for LLMs. Moreover, we find that existing methods designed to enhance reasoning do not consistently improve performance in tasks involving fuzzy logic. Additionally, our results show an inverse scaling effect in the performance of LLMs on FRoG. Interestingly, we also demonstrate that strong mathematical reasoning skills are not necessarily indicative of success on our benchmark.
[ -0.0004963665, 0.0947062373, -0.0161121972, 0.0506314971, -0.052979961, 0.0032048421, 0.0183632448, 0.0516194776, -0.0320888236, -0.0462753065, 0.0229401141, -0.0554934144, -0.0083290003, -0.0082778353, 0.0341995284, -0.0051821535, 0.0638691634, -0.0193581339, 0.0705911517, -0.0367275029, -0.0031745927, -0.004178449, -0.0374329202, 0.0007047437, -0.0441196412, -0.0155583732, 0.034098506, -0.0271202438, 0.0227360558, -0.0210558418, -0.0189153515, 0.0282307658, 0.0127165699, 0.0265540499, 0.0000021404, -0.0424546972, -0.0102966474, -0.0044463621, -0.0373665914, 0.042457249, 0.0126142735, 0.0346330889, -0.0231417548, 0.0343784727, -0.0302232485, 0.0438748263, 0.020351408, 0.0285968501, 0.0656900108, 0.0263096057, -0.0162609834, -0.0280587766, -0.0020783732, 0.0309215002, 0.059655834, -0.0616762824, 0.0094173234, 0.0648619458, 0.0719338804, -0.0410461351, -0.0078643849, 0.0651926845, 0.0312506333, 0.0470836647, -0.0391641855, 0.017413782, -0.0708574802, 0.0140793966, 0.0175735503, 0.0387713648, -0.0520236418, -0.0184877925, -0.0238591954, -0.0034081386, -0.0294033941, -0.0034344126, -0.0360938497, 0.0304781441, -0.0211828295, 0.0206216928, -0.0359376408, 0.0070976811, 0.0253325831, 0.0552944355, -0.0977197215, 0.1417561769, -0.0186068676, -0.0422972701, 0.0121275093, -0.0314181112, -0.1088228673, -0.0086807581, 0.0465334766, 0.042578686, -0.0154023245, 0.0302520115, -0.0298109539, 0.0080226678, 0.022545917, -0.0220400412, 0.0081465011, 0.0821188912, 0.0824030042, 0.0298681147, -0.0399541706, 0.0790151134, -0.0102640428, 0.0201010369, -0.0129230432, 0.0030863434, -0.0325616449, -0.0167826097, -0.0316265859, 0.0267670136, 0.0165364332, -0.0313514695, -0.0589371622, 0.0092272451, 0.0021368377, 0.0696459487, -0.0164819509, -0.0053893789, 0.0271881763, -0.0468720607, -0.0589509904, 0.0021630195, -0.0573795773, 0.0446461663, 0.0038828086, -0.0322497301, 0.007069183, -0.0251825843, 0.0113816252, -0.0440980904, 0.0211342145, 0.0571327172, -0.0016782426, 0.0117526166, -0.004525078, -0.0162347965, -0.0033412632, -0.0978470072, -0.0501706228, -0.0773690939, 0.0004544039, 0.0390623957, 0.0045241411, -0.0238786284, 0.0449412689, 0.0067972951, 0.0047002127, 0.0941299945, -0.0080615282, 0.0101679871, 0.006709537, 0.0303190537, -0.0034095182, 0.0645533353, 0.055869095, 0.0018216013, 0.0237560831, 0.0197729506, 0.0149690518, 0.0530913323, 0.0265816525, -0.040375568, -0.0137141198, 0.01056132, -0.0383280404, 0.0525016636, -0.0205768738, 0.080932878, -0.0412639752, 0.0178283248, 0.0605995692, 0.0667995587, 0.0344716683, -0.0060452498, -0.0170770977, 0.0278260596, 0.0313416906, -0.0123725533, -0.0651845634, 0.0097081475, -0.0171824899, 0.0407654345, -0.012776521, 0.0270680021, -0.0078558819, -0.0528607629, -0.0615968034, -0.0070082373, -0.0053318464, 0.0049968553, 0.0484067462, -0.0395424217, -0.0259218495, 0.0761719719, 0.0099517843, -0.0561408699, 0.0052232444, -0.0336160809, -0.0026535671, 0.0425127558, 0.0499312244, -0.059237469, -0.0443168022, 0.0167661887, -0.0378926881, -0.0075377948, 0.0260948036, 0.0353849232, -0.0287747569, -0.0671135858, 0.0032254318, -0.0116451802, 0.0249319132, -0.0373485908, 0.0686420873, 0.0368911624, 0.021463709, -0.0396064408, 0.0022838116, 0.018821843, 0.0156052327, -0.0110517796, -0.0243805163, -0.0024535481, -0.0022803864, -0.0277791601, -0.0251026582, 0.0469230004, -0.0140542034, 0.0000323121, -0.0369369984, -0.0452054776, -0.0313750692, -0.0200250093, 0.0485039912, 0.0001899622, -0.0256149527, -0.0180474315, -0.0319587775, 0.0164273065, 0.0208274014, -0.0388380289, -0.000629271, -0.0159005448, 0.0408258587, -0.0313208438, -0.023246089, -0.0243146718, 0.0713152438, 0.0147778224, 0.0199279618, -0.0366997309, 0.0305941962, 0.002857862, -0.057688918, 0.0265867095, -0.0036854181, -0.039615538, 0.0336699076, -0.0135388719, -0.0170647204, -0.0356180742, -0.0390533805, -0.0233520996, 0.0086187664, 0.0132694496, 0.0253320318, -0.0101791397, -0.0212179385, -0.0038275698, 0.0369916186, -0.023124937, -0.0115019837, 0.0033613141, 0.0008935484, 0.0243165791, -0.0110652028, 0.0185398534, -0.031249309, 0.0057511139, -0.0358484276, 0.0321360454, 0.0068045836, -0.0104679875, -0.0049816575, 0.0371168889, -0.0921916217, -0.0097451899, 0.0120044202, -0.0106820213, -0.000283366, -0.0001265649, 0.0037700681, 0.0664683357, 0.0002228243, -0.0219098423, 0.0441911258, -0.0411230028, -0.0690509751, 0.0286749694, 0.0024520913, 0.0006737814, -0.0118171833, -0.0318536386, -0.0289047975, 0.0398092605, -0.0123559656, -0.009847126, -0.035000138, 0.0936079845, -0.0629708767, 0.0242319014, -0.0776410103, 0.007878989, 0.012710127, 0.1000407487, -0.0145096527, -0.0203035362, 0.0588291436, -0.0131302075, 0.0019303475, -0.0493478216, 0.0062538385, -0.0282173473, 0.0094013596, -0.0395667665, 0.0184892658, -0.0246215761, 0.0155535629, -0.0456195697, -0.0289034098, 0.0307200663, -0.0485811979, 0.0374588184, -0.0465996489, 0.0169424471, -0.0028581398, -0.0466205068, -0.0311767682, 0.0027666928, -0.0499456823, 0.0127002997, -0.011629127, -0.0241184942, -0.0122119719, 0.0377728343, 0.0187724028, 0.001418379, -0.043475464, -0.0077954819, -0.0116171474, 0.0043567354, 0.0274000987, -0.0127205392, 0.0743840858, -0.0257136282, -0.0029821421, 0.0233815424, 0.0683760941, -0.0084542902, -0.0143724447, -0.0028452675, -0.014302846, -0.0207558647, -0.0208627153, 0.0192312766, 0.0359430201, -0.0540870428, 0.0239706039, 0.1199058592, 0.0649337992, 0.0372121111, 0.0091690803, -0.0492659062, 0.0074596349, -0.0072593628, 0.025114106, -0.0897076279, -0.0568415299, 0.0266406909, -0.0298197605, -0.0051974109, -0.0270487443, -0.0227601659, -0.0700772926, 0.0258453414, 0.0272264611, -0.0075304853, -0.0067573534, 0.0004010578, 0.0143914977, 0.0007769659, 0.0039654244, 0.0231707655, -0.0083374344, -0.0010117855, -0.0156479795, 0.0208286922, -0.0145490216, 0.0520219021, -0.0465940982, -0.0074433973, -0.0024561542, 0.0401565507, 0.0016046753, -0.0383262113, 0.0307533331, 0.0204526037, -0.0179917905, -0.0249564499, -0.0088120271, 0.0265747346, 0.0013326587, 0.0002242119, 0.0009953334, -0.0162476413, -0.017212512, 0.016855238, 0.0896327347, -0.0072052544, -0.0338576287, 0.0113514513, 0.026663037, -0.0416053273, 0.0541012734, 0.0094882101, 0.0077325534, -0.0689306557, -0.0341273248, -0.0435503125, 0.0111129992, -0.0645259023, -0.0158071052, -0.000100542, -0.0205674469, -0.0467828512, 0.0140595948, 0.0515651815, 0.0280727968, -0.0258904137, -0.0175813641, 0.087980181, -0.0018715899, -0.0548590869, 0.021934811, -0.0272427034, 0.0793064833, -0.0148240551, 0.0454300418, -0.0095215263, 0.0115055339, -0.0282900129, 0.0350669585, -0.0398902372, -0.0591303222, 0.0075069806, -0.0145629225, 0.0280513819, -0.035401389, -0.036022637, -0.0297935754, 0.0436489508, 0.0644008145, -0.087375164, 0.0020805602, 0.0515618511, 0.0126088988, 0.0288010519, 0.0222916603, -0.0064917677, 0.0187899284, 0.0039041073, 0.0650752112, -0.0563566536, -0.0100639192, 0.0085563343, 0.0386492424, 0.0028827025, 0.0279605333, -0.0032600819, 0.0141856046, 0.0106257778, -0.0115324035, -0.0417526737, -0.0128051145, -0.0101600969, 0.0211668946, -0.0027868294, 0.0043073823, -0.0374796763, 0.0301421713, 0.0163828526, 0.0543867089, -0.0076904302, -0.0412857533, 0.0102788908, 0.0404445045, -0.0423237197, -0.0067752036, 0.0060132048, -0.0086389668, 0.0481238179, -0.0225394219, 0.0610491447, 0.0147652654, -0.0238975249, -0.0744660944, -0.0155587886, -0.0344052464, -0.0836399049, 0.0111671099, 0.022444915, 0.0287321936, 0.0128038106, -0.0157269929, -0.058806289, -0.0199303236, -0.0022457498, -0.004713241, 0.0293286555, 0.0231265333, 0.0296370201, 0.0269936882, -0.0124543365, -0.0249395873, 0.0292362105, -0.0527300388, 0.0023787797, 0.0053379657, -0.0363039486, -0.018894719, -0.0332765579, -0.0238251183, 0.0093484428, 0.0009468516, 0.0371202342, -0.0811862275, -0.0582693182, -0.0125361681, -0.0117454939, -0.0208095424, -0.0236016717, 0.0223482344, 0.0609964542, -0.0208275877, -0.0157954246, -0.0189628955, -0.0193238091, -0.0096206116, 0.0187046565, -0.0243116803, -6.420528838e-33, -0.0288375113, -0.0372345112, 0.0478924699, -0.0105741406, 0.0095694708, -0.0094860243, 0.0063767741, 0.0137120951, -0.0183325596, -0.0027162877, -0.0330432355, 0.0263853893, 0.0140409861, -0.0258126818, -0.0237811375, 0.0033918195, -0.007162055, 0.0333938971, -0.0531407706, -0.0466692895, -0.0022724234, -0.011111252, 0.0349198729, -0.0285032801, -0.0098039061, 0.0349140763, -0.0187746454, 0.029201638, -0.051169131, 0.0351678208, -0.0224005468, 0.0130726304, 0.000049098, -0.0063509191, -0.0055251787, -0.0083786799, -0.036269255, -0.0149596464, 0.0061641065, -0.0009855577, 0.0124349762, -0.0073992522, -0.0012830021, 0.004888745, -0.0406978242, -0.0270216279, 0.014080354, -0.03769904, -0.0028730845, -0.005122296, -0.0523231253, 0.0592564903, -0.0071541523, 0.0110146832, 0.0092771463, 0.0303347874, -0.044854857, 0.0165326521, -0.0176966619, 0.0184065476, 0.0272032674, 0.0249138828, 0.0463306122, -0.0436046086, -0.012679236, 0.0444504954, -0.0182318725, -0.0436717309, -0.0512972437, 0.0119288396, 0.0348827653, 0.0456405394, 0.0847426131, 0.015078228, 0.061320696, -0.0015520895, -0.0245103724, -0.0007289159, 0.0143678458, 0.0659491569, 0.0406269245, 0.0208334625, -0.0441496447, -0.0102322605, -0.044487603, 0.0669490695, -0.0713635013, -0.0097331414, -0.0248113144, -0.037588533, -0.0342960618, 0.0053173467, 0.0144808693, -0.02994789, -0.029771179, -0.0229838677, -0.0012908392, 0.0048385914, 0.0021956863, 0.0574584752, -0.0067446493, -0.0031758605, -0.0069693998, 0.0368862748, 0.0140441479, 0.0155334324, 0.0141406478, 0.0136196883, -0.0554632358, 0.0009472519, -0.0408204943, -0.0295376442, 0.0123926476, -0.0448834114, 0.0154663688, 0.019192595, 0.0175544098, 0.0323199779, -0.0085976524, -0.0108677521, -0.0092832297, 0.0445210598, -0.0045261327, 0.0228989907, -0.0132210227, -0.0276139472, -0.0903247148, 0.0187427774, -0.0048691095, -0.0449598879, -0.0205145963, 0.0042252722, 3.007e-7, 0.0521991365, 0.0851179138, -0.0356871337, 0.064969182, 0.0001964749, 0.0364314057, -0.0441774614, -0.0675425753, 0.0080299433, 0.0377905257, 0.0204312131, 0.0681699589, 0.0104667479, 0.0536335185, -0.001172005, -0.0099445144, -0.0613854006, -0.0327581242, -0.0623783655, 0.0248066355, 0.0493262894, 0.0938672796, 0.0457433164, -0.0069878679, 0.0312914141, -0.1075306684, 0.0459445529, -0.0050279978, -0.0019413972, 0.0623245239, 0.0132295284, 0.0062494311, 0.0376928858, 0.0180298183, 0.0259506777, 0.0269652698, 0.008577764, 0.0822500139, 0.006385094, 0.0086187543, -0.0038952588, -0.0538645796, -0.0186241865, -0.1066496968, 0.0722717345, -0.0753503442, -0.0226607658, -0.004352604, 0.0160642713, -0.0517909415, 0.0399549417, 0.0001679978, 0.0079689613, 0.0074162669, 0.0093658874, -0.0021629937, -0.0231620967, -0.0634226575, -0.0353025682, -0.0055216532, -0.0264026187, -0.0635327771, -0.0203802511, 0.0219140202, 0.0501416624, -0.0380966105, -0.0009184476, 2.821819189e-34, 0.0556767471, 0.0205980055, 0.0089518717, 0.0294205006, 0.0896238163, 0.0058789044, -0.0367707014, 0.032727547, 0.0174647868, -0.0406382009, 0.0111774262 ]
http://arxiv.org/abs/2407.01031v1
http://arxiv.org/pdf/2407.01031v1
PocketLLM: Enabling On-Device Fine-Tuning for Personalized LLMs
2024-07-01T07:26:56
2024-07-01T07:26:56
Dan Peng, Zhihui Fu, Jun Wang
cs.LG
cs.LG, cs.CL
Recent advancements in large language models (LLMs) have indeed showcased their impressive capabilities. On mobile devices, the wealth of valuable, non-public data generated daily holds great promise for locally fine-tuning personalized LLMs, while maintaining privacy through on-device processing. However, the constraints of mobile device resources pose challenges to direct on-device LLM fine-tuning, mainly due to the memory-intensive nature of derivative-based optimization required for saving gradients and optimizer states. To tackle this, we propose employing derivative-free optimization techniques to enable on-device fine-tuning of LLM, even on memory-limited mobile devices. Empirical results demonstrate that the RoBERTa-large model and OPT-1.3B can be fine-tuned locally on the OPPO Reno 6 smartphone using around 4GB and 6.5GB of memory respectively, using derivative-free optimization techniques. This highlights the feasibility of on-device LLM fine-tuning on mobile devices, paving the way for personalized LLMs on resource-constrained devices while safeguarding data privacy.
PocketLLM: Enabling On-Device Fine-Tuning for Personalized LLMs: Recent advancements in large language models (LLMs) have indeed showcased their impressive capabilities. On mobile devices, the wealth of valuable, non-public data generated daily holds great promise for locally fine-tuning personalized LLMs, while maintaining privacy through on-device processing. However, the constraints of mobile device resources pose challenges to direct on-device LLM fine-tuning, mainly due to the memory-intensive nature of derivative-based optimization required for saving gradients and optimizer states. To tackle this, we propose employing derivative-free optimization techniques to enable on-device fine-tuning of LLM, even on memory-limited mobile devices. Empirical results demonstrate that the RoBERTa-large model and OPT-1.3B can be fine-tuned locally on the OPPO Reno 6 smartphone using around 4GB and 6.5GB of memory respectively, using derivative-free optimization techniques. This highlights the feasibility of on-device LLM fine-tuning on mobile devices, paving the way for personalized LLMs on resource-constrained devices while safeguarding data privacy.
[ 0.0283675827, 0.0613320246, -0.0264156815, 0.0730843171, -0.0060089487, -0.0250020027, 0.0672593266, 0.0026185587, -0.03152062, -0.0117495246, -0.0291047487, -0.0363599882, 0.0077748341, -0.0554588623, 0.0070546945, 0.0083679426, 0.0213502385, -0.0279007982, -0.0333731994, -0.0169830918, 0.0029167847, 0.0087768044, 0.0453023054, 0.0146229537, -0.0004287174, -0.0156427529, -0.021291038, 0.0637144372, 0.0121920761, -0.0263178777, 0.004469038, 0.0696026906, 0.0050022365, 0.038714461, 0.0000021491, 0.0097955139, -0.0258621424, 0.0169226378, 0.0129726063, 0.0297887344, 0.0953454375, 0.0156232975, -0.026851004, 0.0296343677, -0.0367262252, -0.003663013, 0.0281080548, -0.0448073745, 0.0364953987, 0.0876824111, 0.005817472, 0.0148213282, -0.0136878639, -0.042884741, 0.0091806948, -0.0518419519, 0.0068727653, -0.0692074224, -0.0394488312, -0.0355333239, -0.0043484, 0.0086058592, 0.0273957327, 0.0281455629, 0.0085872347, -0.0122409966, -0.0114753144, -0.0323347114, -0.0181301348, 0.0636425391, -0.0328509212, -0.0321262665, 0.0416647717, -0.012445949, -0.0217110347, -0.0246395413, 0.011593529, 0.0039707324, -0.0204996914, 0.0162097681, -0.0203039572, -0.0613893196, 0.0373637117, -0.0044236882, -0.0165212955, 0.0381968282, 0.0262712613, -0.0125067048, -0.0351499729, 0.0008642945, -0.0246013403, -0.0323327519, 0.0575752407, 0.0108513916, -0.0013311548, -0.0067305444, -0.0649360567, -0.0725352392, -0.0131443376, -0.0376441851, 0.0790069029, 0.0294091124, 0.0358405672, -0.0038192447, -0.0122643448, -0.0024204014, -0.0274889115, -0.016278496, -0.0218385682, 0.023929324, 0.0124349194, 0.028973747, -0.0035424158, 0.0207711365, -0.1111585274, -0.0057554403, -0.0281795077, 0.0154365916, 0.0149608133, -0.0195510089, -0.0010536987, 0.0258700959, -0.0214107744, -0.0248043779, 0.033853326, -0.0275211465, -0.0200048517, 0.009941401, 0.0023948865, -0.0535152107, 0.0048058424, -0.0041177706, 0.0086088162, 0.000419196, -0.0145418905, 0.0600828603, 0.0082860468, -0.0285736062, -0.009200071, -0.0272310749, 0.0067368434, -0.0712309927, 0.0197731908, -0.0553294122, 0.0212639868, -0.0058508934, 0.0098339189, -0.0634589717, 0.0074862959, 0.0199498441, 0.0038015081, 0.0085789701, -0.0053614541, 0.0007215997, 0.0056929346, 0.0209888294, 0.0230721235, 0.0651282296, 0.0390350558, 0.0401048549, 0.0339866355, -0.0193984844, -0.0170528218, 0.0489995256, 0.0492109396, 0.0198351424, -0.0309523214, -0.0108772703, 0.0002937171, 0.0087098014, 0.0105464188, 0.0444477163, -0.0201268885, -0.0118656354, 0.0751178786, 0.0622736253, 0.0597400106, 0.0428018719, -0.057811603, 0.0180138294, 0.0076335091, -0.0416191667, -0.0476122722, 0.002249538, -0.0347071625, 0.0126586081, 0.0426189303, 0.060639672, 0.0049974136, -0.0003933038, -0.0288034733, -0.0374170281, -0.0198782887, 0.0474078953, -0.0051637017, -0.026333835, 0.0039688065, 0.0496267378, 0.0324856602, -0.0450926237, -0.040482752, -0.0525675118, 0.0393957272, 0.0824920684, 0.0059048031, 0.0092181889, -0.0134782968, 0.0017203671, -0.0127127031, 0.0501733012, 0.0187382717, 0.0180746447, 0.0817534998, -0.0399273261, -0.0093664443, -0.0002556592, 0.0231584236, 0.0114442427, 0.0577957481, 0.0305824038, 0.028260855, -0.0077402904, -0.0085437, -0.0041194162, -0.0025559738, -0.0340083539, 0.0671774894, 0.0117357392, -0.0029370766, 0.008365918, 0.0051572779, -0.0219444018, 0.0271270666, -0.0430644117, 0.0747152269, -0.0571125522, -0.015297465, 0.0040717302, 0.0153669845, 0.0051447474, 0.0287328567, 0.0347901732, -0.0129842628, -0.0233730134, 0.0185822174, 0.0237231776, 0.0899308398, -0.0115411729, 0.0309194718, -0.011695303, 0.0655028895, -0.0106088063, 0.023670001, -0.0267912354, -0.0022726441, 0.021161519, 0.0353735201, -0.0214042868, -0.016737299, -0.0193311851, 0.0026888188, 0.012756642, 0.0602087006, 0.0000305577, 0.0368757471, -0.0063018855, -0.0382130928, -0.0664849058, 0.033319287, -0.0384719968, 0.0392640866, 0.0285077058, 0.0523694754, -0.0209564399, 0.0017970545, 0.010773534, 0.0211216547, -0.049722895, 0.0295702107, -0.0207445752, -0.0121866101, -0.0263933055, -0.0201480277, -0.0342856683, 0.0495669656, 0.0061066323, -0.0630572736, 0.0391061008, -0.0189483296, -0.0195595101, -0.0307248216, 0.0250697732, -0.0001831703, -0.0166858695, 0.0137051838, -0.0046604448, 0.027632067, 0.1060069129, -0.0140849184, -0.0155640775, 0.034614671, 0.0012401241, -0.0501556285, 0.0003274156, 0.0063174232, -0.0526102707, -0.0303521436, -0.0095223505, -0.0259437654, 0.0932275504, -0.0324603543, 0.0070684454, -0.0055330745, 0.0091419378, -0.0263041556, -0.0495687351, 0.0140514215, 0.0910421461, -0.0392564386, 0.0189924892, -0.0255453456, -0.0635867789, 0.059917856, -0.0153091094, 0.0177163202, -0.0050895442, -0.0345233381, -0.0143301105, 0.0250935871, -0.0311152227, 0.0280759744, -0.0242814068, -0.012256721, 0.0132587915, -0.0176616814, 0.0365730636, -0.0386380516, 0.0192930158, -0.0222102534, -0.0106256856, -0.0271454882, -0.0593695976, 0.0186633691, -0.0587424897, -0.0266546998, -0.0515364408, 0.0339776315, -0.0507517308, 0.0085326405, 0.0148133244, 0.0096024498, 0.0428115986, -0.032254722, 0.0216613971, -0.0270440578, -0.0173947569, 0.0193127412, 0.0036159048, -0.0050374577, -0.0341723748, -0.0021993611, 0.0195940211, 0.0635355636, -0.007160543, -0.0145006636, 0.0204232223, 0.0709226355, 0.032663703, -0.057213556, 0.0748822093, 0.0500137955, -0.0710347816, -0.0116549693, 0.033627294, -0.0108379666, -0.0909148529, -0.0078593278, 0.0026902196, 0.0642287433, -0.0062150043, 0.0327452421, -0.064394474, -0.0462895669, 0.0137353474, 0.051701948, 0.0160762612, 0.0116443252, -0.0375895016, -0.0571042635, -0.022649657, 0.047999464, 0.0035074563, 0.0474921018, -0.0323059782, -0.0098573826, 0.0066748192, 0.0215160809, 0.0033666419, -0.0187671352, -0.0197275877, 0.0061784647, -0.036281541, -0.0373964459, -0.0096364059, -0.0062457952, -0.0155954668, 0.0719678402, 0.0067075766, 0.0369825549, -0.0328710377, 0.0488693342, 0.0324044786, 0.0112356627, -0.0283083562, -0.0532623529, 0.0017501669, 0.0173173919, -0.0349684954, 0.0312506892, -0.0127777811, 0.0080565233, 0.0042466926, 0.0275668167, 0.0131263481, -0.0095030032, -0.0163997989, -0.0429322869, 0.0095354961, 0.0141423829, 0.0078342017, -0.0549422763, -0.0544673726, -0.04991493, -0.0125706941, -0.0440241136, 0.0351506136, -0.0229162164, 0.0267914664, -0.0436014012, -0.0101365531, 0.0395555496, -0.0330550708, 0.0335234664, 0.013454102, 0.0004489674, 0.0269147139, 0.0089116907, -0.0878529251, 0.0136744808, -0.042342592, 0.0089323558, -0.0537977368, -0.0068910322, 0.0448893905, -0.0226390958, 0.0255136155, 0.0329639576, -0.1240528077, -0.0923560858, 0.0199526958, 0.0257712752, 0.0257558431, 0.0599295869, -0.0000206468, -0.0915253013, 0.0643871576, 0.0661586523, -0.0677780956, 0.0633925498, 0.0459739193, -0.0256090835, 0.0004456131, 0.0416352265, -0.0490843132, -0.0266626328, 0.0631676987, 0.0126372762, -0.012617073, -0.0735146105, -0.0335778669, -0.0139862662, 0.0317098498, -0.0148075651, -0.0446236171, -0.0128202382, 0.0635342225, 0.0137318661, 0.0257574469, -0.0206965096, -0.0399609059, -0.0114479763, -0.0179756116, -0.0096109621, 0.0035582765, 0.0734756812, -0.0324255116, -0.0375071429, 0.0320973136, -0.0162549615, -0.0005790846, 0.0542463623, 0.0256792121, -0.0192312635, 0.0917130783, -0.0129088433, 0.0227392055, -0.0292697381, 0.0024168752, -0.0260471758, 0.0058169086, -0.047253944, 0.0492492318, -0.002122147, -0.0614932068, -0.053107582, 0.034824945, 0.0606333725, 0.0252519734, 0.0355848931, -0.0067096711, -0.0211429857, -0.0266195815, 0.0161550902, -0.0373350047, -0.0127782319, -0.0279386789, -0.0140940733, -0.0174598899, 0.0372696072, 0.0419196747, 0.0518546551, -0.0057296008, 0.0059448304, 0.0047084661, -0.0462860838, 0.0041629001, 0.0120549621, 0.048476804, -0.0137589294, -0.0231247544, -0.0350388773, -0.0645516068, 0.0010930233, -0.0047521768, -0.0094055282, -0.0376248248, 0.0075532226, 0.0094549749, -0.0258899741, -0.0382497273, -0.0545915179, -0.0085185338, -0.0195578672, -0.0040753954, 0.0249488857, -6.604782435e-33, -0.0108797187, 0.0305747427, -0.0136118317, 0.0011135755, -0.0157726239, 0.0088879522, -0.0109162694, 0.0079015959, 0.0022383837, -0.0376525037, -0.0740263537, 0.0043642647, 0.0185607336, 0.0214322638, -0.0299938824, 0.0058493759, 0.0358998217, 0.0049830195, -0.0360356197, 0.0546856225, 0.0280097853, 0.0599039048, 0.0117488578, -0.0053410269, -0.0092264628, -0.0295080002, -0.0325417593, -0.0174902473, -0.046326112, 0.0452887341, -0.0321413241, -0.0112706367, -0.0262022819, 0.0004440278, -0.0171757396, -0.0018734781, -0.0573284626, -0.0028349741, 0.0103051607, 0.0104371961, -0.0132077467, -0.0684393495, 0.0734535009, 0.0365490094, -0.0700530037, 0.0112358667, -0.0186877958, -0.0011006267, -0.0678495839, -0.0399794169, 0.0212384965, 0.0134953093, 0.0392959006, 0.0083661163, 0.0548019111, -0.0938566327, -0.0649182871, -0.0167999882, -0.0600640737, 0.0138444835, -0.0082882261, 0.0378924049, 0.0694926754, 0.0452893712, 0.0537433885, 0.0363653451, 0.0719007328, 0.015031307, 0.0239002015, -0.0137929739, 0.0157436542, 0.0359168835, -0.0423561819, 0.0293400846, 0.048815988, -0.0431010313, -0.0182378106, -0.0470274277, -0.0021437565, -0.0254763402, 0.0583828129, 0.0307752844, -0.0073950719, -0.0254749358, -0.0445435382, 0.0128770731, -0.0346172489, -0.0141052781, 0.0152439037, 0.0305908341, -0.0441524312, -0.0259298142, 0.0379269794, -0.0393842421, 0.0335442051, -0.0369402878, 0.0277996231, -0.0005055342, 0.0181621127, 0.0020928108, -0.0412731506, -0.0288013034, -0.0516976938, -0.0396963097, 0.0311874375, -0.001676347, -0.024376655, 0.0134341074, -0.0715198219, -0.0102829561, -0.0496471822, 0.0360215046, 0.0186397471, 0.0378939696, 0.0473991334, -0.0248333681, -0.0057874639, 0.092123352, -0.0093658017, 0.0389141329, -0.0117950514, -0.0037507217, 0.0331994668, 0.0153757278, 0.0002092959, 0.0151570216, -0.0276054237, 0.0458087139, 0.0615277402, -0.0242656954, -0.0209511388, 0.0103146732, 2.85e-7, -0.042410288, 0.0188197065, -0.036479488, -0.0220937505, 0.0268744547, 0.0370320566, 0.0205599032, 0.0217549019, -0.0009549232, 0.0008195048, -0.0368975177, 0.0322125666, 0.0817954242, 0.0089037335, -0.0542224236, 0.0290103517, -0.0323266461, 0.079641521, -0.0381006636, -0.0061615878, -0.0762784407, 0.082120128, 0.0485013723, -0.0160323139, 0.0224408489, 0.0011512177, 0.0310950112, -0.0315748639, -0.0045423205, 0.005163352, 0.0181432422, 0.02985489, -0.0454091094, -0.0443955101, -0.0209612027, 0.0052330918, -0.0539289601, 0.1145881638, 0.0146525921, -0.0215449221, 0.0206399672, -0.0412761346, -0.051550597, -0.0212440249, 0.0280138496, 0.0429632179, -0.008153379, -0.0481823608, 0.0515931994, -0.0712775141, 0.0230054893, -0.0486414693, 0.0392114744, 0.0128246685, -0.0022598011, -0.0038075796, -0.0273989849, -0.0558121279, -0.053904999, 0.0134816822, -0.0072195851, -0.0670233443, -0.0666009784, 0.0602332018, 0.028264476, -0.0493737422, 0.0509115234, 2.63131311e-34, 0.0146263065, -0.0196781233, 0.003271143, 0.033984445, 0.0216590315, 0.0068844599, 0.0372102819, 0.02261452, 0.025565749, -0.0870986134, -0.0277623255 ]
http://arxiv.org/abs/2407.01026v1
http://arxiv.org/pdf/2407.01026v1
Augmenting Document-level Relation Extraction with Efficient Multi-Supervision
2024-07-01T07:22:32
2024-07-01T07:22:32
Xiangyu Lin, Weijia Jia, Zhiguo Gong
cs.CL
cs.CL, cs.AI
Despite its popularity in sentence-level relation extraction, distantly supervised data is rarely utilized by existing work in document-level relation extraction due to its noisy nature and low information density. Among its current applications, distantly supervised data is mostly used as a whole for pertaining, which is of low time efficiency. To fill in the gap of efficient and robust utilization of distantly supervised training data, we propose Efficient Multi-Supervision for document-level relation extraction, in which we first select a subset of informative documents from the massive dataset by combining distant supervision with expert supervision, then train the model with Multi-Supervision Ranking Loss that integrates the knowledge from multiple sources of supervision to alleviate the effects of noise. The experiments demonstrate the effectiveness of our method in improving the model performance with higher time efficiency than existing baselines.
Augmenting Document-level Relation Extraction with Efficient Multi-Supervision: Despite its popularity in sentence-level relation extraction, distantly supervised data is rarely utilized by existing work in document-level relation extraction due to its noisy nature and low information density. Among its current applications, distantly supervised data is mostly used as a whole for pertaining, which is of low time efficiency. To fill in the gap of efficient and robust utilization of distantly supervised training data, we propose Efficient Multi-Supervision for document-level relation extraction, in which we first select a subset of informative documents from the massive dataset by combining distant supervision with expert supervision, then train the model with Multi-Supervision Ranking Loss that integrates the knowledge from multiple sources of supervision to alleviate the effects of noise. The experiments demonstrate the effectiveness of our method in improving the model performance with higher time efficiency than existing baselines.
[ 0.0743283406, 0.0452681147, 0.0285685621, 0.0581951328, 0.0005735271, 0.0089500453, 0.0165918004, 0.018221274, 0.0267552827, -0.0290493816, -0.0503187701, -0.0024636795, -0.0349123068, -0.0285655763, -0.0005830597, -0.0375479348, 0.0153003065, -0.0140711404, 0.0451471098, 0.0171489492, 0.0027428456, 0.0249198154, -0.0020529828, -0.0370470993, -0.0712102205, -0.0041512172, 0.0308456756, -0.0118245464, 0.035269931, -0.0359525606, 0.0634099469, 0.0316246115, 0.0344442837, -0.0438710898, 0.0000016872, -0.0242096297, -0.0497739129, 0.0090169301, -0.0074963383, -0.0195477549, -0.0097610839, -0.0692085028, 0.0479376614, -0.0211693719, -0.0382006578, -0.0127281258, 0.010960713, 0.0801259652, 0.0264266152, 0.0855203271, -0.0343784019, -0.0485730767, 0.057574179, -0.041550681, 0.0150836101, -0.0603359379, 0.031987004, 0.0240249708, -0.0122727351, 0.034145426, -0.0082283001, -0.0116307372, 0.0133103468, -0.0347963795, 0.0654637441, 0.0154982414, 0.0005585906, 0.0037527115, -0.0144650666, 0.1018613204, 0.0050892038, 0.0332637168, 0.0335952081, 0.0254404452, -0.02238377, 0.0484601818, 0.0026882552, -0.0081753973, -0.0352733321, 0.0098471344, 0.0230385102, 0.0398011915, 0.0195772331, 0.0380858369, 0.0063266503, 0.0308654029, -0.0216142703, -0.067941539, 0.0585331842, 0.0558870472, -0.0218825825, 0.0355587751, 0.055821605, 0.0099893939, -0.0299411975, 0.0196404159, -0.0237626899, -0.052775491, -0.0010859985, -0.0473739356, -0.0246981494, -0.0241501387, -0.021338677, 0.0921305567, -0.0414762571, -0.0142560797, -0.0116286548, -0.0432878472, 0.0047602924, -0.0300942566, -0.0600983202, 0.0055061807, -0.0184898842, 0.0627375916, -0.0512779616, -0.0116849123, -0.0251277555, -0.0210542064, -0.0209690761, 0.0317822322, 0.0081449496, 0.0137933958, -0.0533447936, -0.023060713, 0.0170531813, 0.0033845096, -0.065820545, 0.0293839183, -0.0145394616, 0.0077324063, -0.0099473903, -0.0069369012, 0.0356319398, -0.032437291, 0.0124171963, 0.0909083784, -0.0243927632, -0.0399769507, -0.0150893107, -0.0469267331, 0.0106061529, -0.0586222596, 0.0134072537, -0.0085946415, 0.0777558833, 0.0077543468, -0.004289194, -0.0065946509, 0.0488072969, -0.0210273005, -0.0722815841, 0.0404454358, -0.0406521112, -0.0257941969, 0.0017808567, 0.0374562219, -0.0007046926, 0.0681855753, 0.0071059172, 0.0006029031, 0.0550401807, 0.0242791176, -0.0098982835, -0.0180324856, 0.0076891812, -0.0165705066, 0.0135100167, 0.0099312495, 0.0172531828, 0.0137573779, 0.0473659933, 0.0177273862, -0.0417919271, -0.0075702486, 0.0285911337, -0.018358143, -0.0073654926, 0.0255754683, 0.020241037, 0.0068641636, -0.0068033212, 0.0178087037, -0.048370257, 0.0063712341, -0.0082995426, 0.0170736201, -0.0319373868, 0.0176499132, 0.0028202096, 0.0014177742, 0.0212706737, -0.0313455015, -0.0594002455, 0.0016492105, 0.0843059421, 0.0266324468, -0.0081857452, 0.0465925448, 0.0810319856, -0.0262614489, -0.0254106335, 0.0470557176, 0.0079967268, 0.0166158378, 0.026713768, -0.0715649948, -0.0409615375, -0.0174376015, 0.0266313609, 0.0154153947, 0.0235044956, -0.0324796289, 0.0675736293, -0.0380993411, -0.0569900237, 0.0102743246, 0.0084124301, 0.0100333709, 0.0738345534, 0.0178372916, 0.0463422984, -0.0234883428, 0.0072133499, 0.0335685425, -0.0179702155, -0.0361928605, 0.0010407334, 0.0132125914, 0.0054416517, 0.0065336325, -0.0350601077, -0.0447804816, 0.0560366623, -0.0477386303, 0.0158350561, -0.0462409928, -0.0656216443, -0.0446815714, 0.0167796798, -0.021406617, -0.0467167944, -0.0102377925, -0.0309453215, -0.0267181136, -0.0375859328, 0.0272829086, 0.029732991, -0.0057535088, -0.0324814096, 0.0535130575, 0.0146845896, -0.0053972211, 0.1100780442, 0.0018780257, -0.0004429523, 0.0295673497, -0.0496144108, -0.0367759243, 0.0337881446, 0.0034812188, -0.0113028679, 0.0123549402, -0.0168927815, 0.0212012716, 0.0332213715, -0.0742629468, -0.0634053275, -0.0684087574, 0.0020322034, -0.0003445545, 0.0420742072, -0.0057480014, 0.0266560223, -0.0018146639, -0.0395844989, -0.0362502001, -0.0225805566, -0.0838649198, -0.0105568618, 0.0605113953, 0.0292803142, 0.0031517695, -0.0351376459, -0.0211774707, 0.0100133959, 0.0454502888, -0.0131311212, -0.0389387943, 0.006979581, 0.0191751812, -0.0295008589, 0.0327561349, -0.0128152017, 0.0251111072, -0.0198972858, -0.0348364748, 0.0352289006, 0.0265980456, -0.0044178213, 0.061009407, 0.0070140697, -0.0037332363, -0.0202588625, 0.0412373133, -0.0147546781, 0.0386781394, -0.0277223215, 0.0261386335, -0.0622347929, 0.0248558018, -0.0097105168, 0.0065152757, 0.023469951, -0.0024607498, 0.0351049341, -0.0174875259, -0.0383631587, 0.038663961, 0.0234931447, -0.0157176182, -0.0641493425, -0.0022441023, 0.0620501935, 0.0069420291, -0.0340633579, -0.0013332274, -0.0216972288, -0.0298834071, 0.0694209412, -0.0120936986, 0.0184859317, -0.0204455834, -0.0204506349, -0.0286371373, -0.0304560736, 0.0462019332, 0.0213833973, -0.0270670541, -0.0708689094, 0.024725277, -0.0086932415, -0.0298356824, -0.0084022311, -0.0392627604, 0.0029470513, 0.0018934625, 0.0041733701, -0.0092500206, 0.0059306216, -0.0233750772, 0.0229412839, 0.0413053744, -0.0178004578, -0.0460983552, -0.0082967551, 0.0961028561, 0.0469744503, -0.0345275179, -0.0505995825, -0.0345530696, 0.0263912436, 0.0738704354, 0.0339984745, -0.0384963937, -0.0015837878, 0.0308307521, -0.0250186864, -0.0272770245, -0.0056489105, -0.0388802625, 0.0271956716, -0.0686407983, 0.0077062105, 0.072525911, 0.0167716071, -0.0189989395, -0.0061309454, 0.0439293124, 0.0028088635, 0.0077707209, 0.0269831065, -0.0393431075, -0.0177828781, -0.0340178944, -0.0143852234, 0.0370367505, -0.0472363569, 0.0094606439, -0.0404566266, -0.0131673915, -0.0142651023, -0.0338728018, -0.0269401725, -0.0350860655, 0.0169242453, 0.0051836963, -0.0146565726, -0.0015671109, -0.020797655, -0.0204299148, 0.0097594867, 0.0058033899, -0.0390053801, 0.0089929998, -0.0182290897, 0.0318997167, 0.0087550161, 0.0275938399, -0.006336675, 0.0345920287, -0.0087307896, -0.009100263, -0.009486502, -0.0339958742, 0.0931188613, -0.0550354719, -0.004070193, 0.0052676364, 0.0101751545, -0.0517536998, 0.0416819155, 0.030543495, 0.0185198933, 0.0230276156, -0.0141725829, 0.0094372164, -0.0355573036, 0.0108063854, 0.0285358131, -0.0099951178, -0.011301592, -0.0282885004, 0.0364243016, 0.0112802377, -0.0068274555, 0.0331815518, -0.0191139728, -0.0758260638, -0.0251633264, -0.0496522635, -0.075246416, 0.0293748658, 0.0389258079, -0.0047534932, 0.0108147757, 0.0169325713, 0.0042917016, -0.0092555936, 0.0183457769, -0.0139474412, -0.0236347765, 0.0327517688, -0.0086721824, 0.0576343611, 0.0004184433, -0.0134687582, -0.0540366098, -0.0257080384, -0.028195668, -0.0341756716, 0.005402653, 0.0080046197, 0.0672128871, -0.0006949201, -0.0031267221, 0.0262299441, 0.0542344116, -0.0981528461, -0.0058783544, 0.0740550831, -0.0354109704, 0.0067251599, 0.0398682393, -0.0421291515, 0.0404797271, 0.0224279091, 0.0206707269, -0.0538833663, 0.0022360198, -0.0093674157, -0.0172718279, 0.0679369941, 0.0076781884, 0.0433934815, -0.0305997506, 0.0446350724, -0.0485958382, -0.0305214878, -0.0318635851, 0.0602464937, 0.005451919, 0.0245827697, -0.008681356, -0.0009671195, 0.0392500274, 0.0200447571, -0.0142178591, -0.0246662889, -0.003749751, -0.013318181, 0.0130348941, 0.0004850267, -0.0381152853, 0.0028148175, 0.0248749312, 0.0031178512, -0.0309674647, 0.0099853361, 0.0246555861, -0.0104668764, 0.008731219, -0.0155308526, -0.0589109249, 0.0260594562, -0.0262124669, 0.0539724715, 0.0633164048, -0.0540415533, 0.0366446972, -0.0276901759, -0.0003808106, 0.0243791603, 0.0371982083, -0.0046351841, 0.0222348105, -0.008734379, 0.0141046764, -0.0029265392, 0.0783995613, 0.0967576355, 0.0199650973, 0.036196582, 0.0330311172, -0.0302038305, -0.0562279001, 0.0052651265, 0.0384824872, 0.0367838368, -0.0053599542, 0.027459152, 0.0097560603, -0.013275208, 0.0068058884, -0.0656158105, -0.0405299179, 0.0179761276, 0.0397670977, 0.0299322251, 0.0055590835, -0.0340258889, -0.0500106998, -0.0030987724, 0.0262260344, -0.0148260333, -0.023516614, -6.158418577e-33, -0.0328423716, -0.0454098508, -0.012184687, -0.013563904, -0.0317945927, 0.0623902529, -0.0283191446, -0.0416857414, -0.0045028566, 0.054811772, -0.03540764, 0.0198201146, 0.0049652685, 0.0250179656, 0.0113445967, -0.0192402676, 0.0168213621, 0.0069571217, 0.063828297, 0.0310564116, 0.0279617757, 0.0622648224, 0.078205198, -0.113007769, 0.0370145179, -0.0070454925, -0.0263584387, 0.0097830575, 0.037318062, 0.0240870435, -0.0142172575, 0.013402245, 0.0300910026, -0.0160635635, 0.0214634165, -0.0134581309, -0.1399946213, -0.0297525935, -0.0492115207, -0.0386360437, -0.0334367752, 0.0007742544, -0.0033585811, 0.0132949734, 0.1123439223, -0.0553109385, 0.0453624278, -0.0423424318, -0.0692077354, -0.1053945348, -0.0378054678, 0.0394718237, 0.0079066027, 0.025653502, 0.0233122259, 0.0171950534, 0.0214747582, -0.0260872319, 0.0132760089, -0.0466504879, 0.0031126384, 0.024754744, -0.0231857542, -0.0186295193, -0.0395436659, 0.0379738621, -0.011205704, -0.0086467322, 0.0076896506, -0.0132530415, -0.0175875742, 0.0734959692, -0.0228996631, -0.0081611602, 0.0277391709, 0.0081147421, -0.1007881835, 0.0015168734, 0.0603927784, 0.0360965952, -0.0279607698, 0.0034572307, -0.0414794497, -0.0101607451, 0.0328323729, 0.0164929964, 0.0022905637, -0.0211600326, -0.0125622274, 0.0314977728, -0.0152783664, 0.0152418483, -0.0407909714, -0.040122129, -0.0135728791, 0.0412837267, -0.0087510878, 0.0052649882, 0.0062088617, -0.0455927104, -0.0616108701, -0.0619436465, -0.0129900631, -0.0230041202, 0.0010961927, -0.0002273663, 0.087040551, -0.0355546512, -0.0632128119, -0.0339560919, -0.0037890412, -0.0024027077, -0.0006195591, 0.0347980075, -0.0202974249, -0.0059309257, -0.0220672991, 0.0791994259, 0.0516031682, 0.0614277162, -0.0349498577, 0.0042014909, -0.0008006112, 0.0210514627, 0.0200194009, -0.017243633, -0.0171077233, -0.0171642732, 0.0296302456, -0.0237374734, -0.0032232744, -0.0243634954, 2.412e-7, 0.0132999644, 0.0373112746, 0.0267292019, -0.024953397, 0.0043402025, 0.0224158559, 0.0134068951, 0.0575663336, -0.0473611727, -0.0087369662, 0.0552639738, 0.0022361779, 0.0312875547, 0.0403239764, -0.0822874084, -0.0636958331, -0.0878010467, -0.0749776512, -0.0624521859, -0.0245171841, 0.0543665104, 0.0477887169, 0.031765271, 0.0038550675, -0.0478184521, -0.0463992395, 0.0666216388, -0.0311888233, -0.0089455713, 0.0315413289, 0.0733796582, 0.0159457773, -0.0389931947, 0.0469717607, -0.0367106982, 0.039715182, 0.015771877, 0.0711715892, -0.0142436633, 0.040305946, 0.021924004, 0.005461223, 0.0134418821, 0.0491818823, 0.0515878312, -0.0296798907, 0.0272956863, 0.0165735893, -0.0163925141, -0.0124467695, -0.0208039507, 0.0109246755, -0.0153900068, 0.0350028723, 0.0224815141, -0.0239933114, -0.0432449318, -0.0695542023, 0.0321501568, 0.0728645995, 0.0167317912, -0.0398021676, 0.038518548, -0.0177598707, -0.0003370886, -0.0266396459, -0.0047763442, 2.009461675e-34, 0.001013372, -0.0028828802, -0.0137622897, 0.0472772606, 0.0335204564, -0.0302274954, -0.0695908442, -0.0162067898, -0.0119126374, -0.0414243452, 0.0247772597 ]
http://arxiv.org/abs/2407.01009v1
http://arxiv.org/pdf/2407.01009v1
DynaThink: Fast or Slow? A Dynamic Decision-Making Framework for Large Language Models
2024-07-01T06:45:13
2024-07-01T06:45:13
Jiabao Pan, Yan Zhang, Chen Zhang, Zuozhu Liu, Hongwei Wang, Haizhou Li
cs.CL
cs.CL
Large language models (LLMs) have demonstrated emergent capabilities across diverse reasoning tasks via popular Chains-of-Thought (COT) prompting. However, such a simple and fast COT approach often encounters limitations in dealing with complicated problems, while a thorough method, which considers multiple reasoning pathways and verifies each step carefully, results in slower inference. This paper addresses the challenge of enabling LLMs to autonomously select between fast and slow inference methods, thereby optimizing both efficiency and effectiveness. We introduce a dynamic decision-making framework that categorizes tasks into two distinct pathways: 'Fast', designated for tasks where the LLM quickly identifies a high-confidence solution, and 'Slow', allocated for tasks that the LLM perceives as complex and for which it has low confidence in immediate solutions as well as requiring more reasoning paths to verify. Experiments on five popular reasoning benchmarks demonstrated the superiority of the DynaThink over baselines.
DynaThink: Fast or Slow? A Dynamic Decision-Making Framework for Large Language Models: Large language models (LLMs) have demonstrated emergent capabilities across diverse reasoning tasks via popular Chains-of-Thought (COT) prompting. However, such a simple and fast COT approach often encounters limitations in dealing with complicated problems, while a thorough method, which considers multiple reasoning pathways and verifies each step carefully, results in slower inference. This paper addresses the challenge of enabling LLMs to autonomously select between fast and slow inference methods, thereby optimizing both efficiency and effectiveness. We introduce a dynamic decision-making framework that categorizes tasks into two distinct pathways: 'Fast', designated for tasks where the LLM quickly identifies a high-confidence solution, and 'Slow', allocated for tasks that the LLM perceives as complex and for which it has low confidence in immediate solutions as well as requiring more reasoning paths to verify. Experiments on five popular reasoning benchmarks demonstrated the superiority of the DynaThink over baselines.
[ 0.0422875248, 0.0526607819, -0.021602625, 0.0355815813, -0.090971306, 0.0273831598, -0.0001575207, -0.0253082532, 0.0129261259, -0.0455559082, 0.0112954462, -0.0239695571, 0.0028540194, 0.015407484, -0.0084397588, -0.0354177281, 0.0296955612, -0.0953328833, 0.0216400977, -0.0257187113, -0.0206297748, 0.0045006, -0.0313499197, 0.0351940095, 0.000824336, -0.0263036564, -0.0143623482, -0.0017900892, 0.018508032, -0.0347101651, -0.0172168277, 0.0742776319, 0.0048218369, 0.0650759265, 0.000002305, -0.0640805289, -0.0172497854, -0.0214874856, -0.0431958139, 0.004239114, 0.0028046749, 0.0208004378, 0.0114584565, 0.042916555, -0.0311403591, -0.0095790224, 0.0049731378, -0.0161241349, 0.0179699697, 0.0239134599, 0.0046025151, -0.0156382676, -0.0403022207, -0.0405309387, -0.0477045774, -0.0667870492, 0.0364088602, 0.021022927, 0.0434372351, -0.0202959087, -0.0149255991, 0.0231787823, 0.0243554227, -0.0032340696, -0.0279853046, 0.0341211259, -0.033453878, -0.0254172385, -0.0007009195, 0.0685502142, -0.0457874276, -0.0120289838, 0.0001448577, -0.0202169027, -0.0036302153, 0.0216590725, -0.0387557037, 0.0252176877, -0.0293031689, 0.0070494553, 0.0267538, 0.0086424183, 0.0414347425, 0.0402721316, -0.0717521384, 0.096697174, 0.0051246835, 0.009174712, 0.0341284201, 0.0296862721, 0.0077076722, -0.1049046144, 0.0005881116, 0.0425043814, -0.0576027483, 0.0212441925, -0.0106986314, 0.0187278669, -0.0002001015, -0.0297429319, 0.0212641396, 0.0396899991, 0.026652215, 0.0479490124, -0.0472895652, 0.0113514969, -0.0624276139, -0.0123403538, -0.0121780671, -0.0134260291, -0.0420884006, 0.0058245813, -0.0283249095, 0.0320351981, -0.0026430825, -0.0260077156, -0.0490531437, 0.0326880626, -0.0192428362, 0.0069995439, 0.0025638519, -0.0082609262, 0.0441386178, -0.0504022688, -0.0736141801, 0.036121197, -0.0407572165, 0.0355781801, 0.0147375623, -0.0175625309, 0.0094445301, 0.0031865526, -0.001564452, -0.0290915724, 0.0226373971, 0.0918004811, -0.0145043517, -0.0026948352, -0.0533968806, -0.0424718708, -0.0239209961, -0.0968878493, -0.0130196661, -0.0901678503, -0.0280893166, 0.0489264391, 0.0032521926, -0.0117433388, 0.0236004684, -0.0019827972, -0.0299701393, 0.0535003617, 0.0280311089, 0.0323802419, 0.0071045021, 0.0204953104, -0.0436056778, 0.0829005912, 0.0324401297, 0.0570776202, 0.0051210378, 0.0450382233, 0.0304518826, 0.0378961973, 0.0015237849, 0.0042067994, -0.0468074381, 0.0113733197, -0.023249818, 0.0276207123, -0.0134727079, 0.0558515191, -0.0214354284, 0.0557287671, 0.0630934909, 0.0424418189, 0.0245510228, -0.0026186272, 0.0552012473, -0.0233120285, -0.0095126573, -0.0035773925, -0.0453954004, 0.036099229, -0.0189345218, 0.0042914627, 0.0048147789, 0.0649656579, -0.0056662047, -0.0239944793, -0.0224133171, 0.0116510699, 0.0051428098, 0.0539539605, 0.0518449247, -0.0180174466, -0.003698431, 0.0313555337, 0.0185641255, 0.0028621706, -0.0426245406, -0.0748086944, 0.0319777094, 0.0537041984, 0.0538368635, 0.0110294372, -0.0421745852, 0.0108070178, 0.0180843472, 0.0210484546, 0.0079762032, -0.0155085018, -0.0289066788, -0.0440374278, -0.0451630279, 0.0065279691, 0.0068324315, 0.0118059618, 0.0437216423, 0.0242589079, 0.0023404018, -0.001704872, 0.0084942654, 0.0064761662, -0.0054545426, 0.0061450712, 0.0052854721, 0.0331339985, 0.0200857576, -0.0136620626, -0.0052060746, 0.0177935418, -0.0225819349, -0.0198432263, -0.0399961025, 0.020866951, -0.0298532173, -0.0063420185, 0.0405047722, -0.0027907514, -0.0347787514, -0.0251554865, -0.021909846, -0.038337376, 0.0323781557, -0.0304159913, -0.0203631837, -0.0189886969, 0.0325341485, -0.0327573307, -0.0059238798, -0.0238649826, 0.1089831218, -0.0085716192, 0.0020795157, 0.0627242103, 0.0202136971, 0.0113399271, -0.0133538479, -0.0056844465, 0.0448033735, 0.002308731, -0.0140811587, 0.0248322655, -0.001699032, -0.0445830934, -0.0345496088, -0.0333232395, -0.0259540938, -0.0016856539, 0.0178898927, -0.0273083653, 0.0011473867, -0.0198433604, 0.0088825999, -0.0238181818, 0.0214213375, 0.0111942906, 0.0344448984, -0.0031100591, 0.0027254343, -0.0439790487, -0.0027701848, -0.0034729592, -0.0133800963, 0.0538925603, 0.0021486017, -0.033053834, -0.0210403483, 0.0077218092, -0.0413296819, 0.0275002755, 0.0032043518, -0.031326592, 0.0185764898, -0.024448188, 0.066926226, 0.0616323128, -0.0174378622, -0.0316519663, 0.0970215052, -0.0405723713, -0.0526210554, 0.0213367492, -0.0202157311, 0.0105960062, -0.023983499, 0.0007381114, -0.0545065776, 0.0673541501, -0.002250893, -0.0229257774, -0.0466285907, 0.0177121889, -0.0144500881, -0.0284790918, -0.0282077212, -0.031032376, 0.0210863575, 0.0980142951, 0.0025280111, -0.0338260382, 0.0994369984, -0.0141441207, 0.0274626706, -0.0209376607, -0.0113227321, -0.0392729491, 0.0841439739, -0.0267541818, 0.0052536344, 0.005294099, -0.0206139479, -0.0478968732, 0.000123798, 0.0353624448, -0.0354219377, 0.0732547715, -0.079428032, 0.0223401599, -0.0074637914, -0.0582294837, -0.0584878772, 0.0191670153, -0.0876383036, 0.0000061874, 0.010954353, -0.0386940725, -0.0252153836, 0.0049209958, 0.039679382, 0.0506629869, -0.0094737522, -0.0011771232, -0.0205097068, 0.03079696, 0.0400920138, -0.0126809478, 0.04838809, -0.0154608535, 0.0629917607, 0.0551507175, 0.0461536273, 0.0017763183, -0.0467745103, -0.0073179817, 0.0110460762, -0.0117396824, -0.0098846788, 0.0232417546, -0.0000751445, -0.0579156987, -0.0238950904, 0.121318534, 0.0267987307, -0.0638072342, 0.0107192956, -0.0379627943, 0.0316024572, 0.0322141573, 0.0349724405, -0.1035901308, -0.0537289865, 0.0352538712, -0.0068436372, -0.036970973, -0.0583657175, 0.000903917, -0.1150215939, 0.0325744264, -0.0136090172, 0.0292203762, 0.0166342575, -0.0148348287, 0.0135871246, 0.0156969931, -0.0267026722, 0.014528566, 0.0170599762, -0.0064981906, 0.0190059617, 0.0005685295, -0.0272826273, 0.0531266183, -0.03268205, 0.0242001358, 0.0107632959, 0.0088328896, 0.0357603393, -0.0447350629, 0.0523632914, -0.0080175847, 0.0077896984, -0.022654742, -0.0245052185, 0.0233544353, 0.0012593684, -0.0264824834, 0.0316334367, -0.0297961924, -0.026179295, 0.0067952871, 0.1167608649, -0.0276815929, -0.0184194315, -0.0219528619, 0.0074503189, -0.0049207602, 0.0585518964, 0.013543847, -0.0340794958, -0.0536093265, 0.0026232901, -0.0681450069, -0.0125587927, -0.0469294451, 0.0133903502, 0.0266368072, 0.0087420121, -0.0483641401, 0.0152157461, 0.0346038081, 0.0747495815, -0.0112508312, 0.0302974042, 0.0227402654, 0.0403237976, -0.0289741568, 0.0135854911, -0.0323658735, 0.0397188477, -0.0545846075, 0.0268871002, 0.019276781, -0.0107547231, -0.0263414551, 0.0729661882, -0.0935107842, -0.0842151791, -0.0269066319, 0.0209689159, 0.044421982, 0.018050354, -0.0512081534, -0.0585582517, 0.0468759798, 0.0038591167, 0.0075440924, -0.0038536016, -0.0025355511, 0.0263768043, 0.0106478846, 0.0597067662, -0.0198638067, 0.0216671862, 0.0240460783, 0.0488045402, -0.0118683754, -0.0350012258, -0.000909109, 0.0083348025, 0.0067486484, -0.0367029049, -0.0171368588, -0.0233703367, 0.0402601399, -0.0100498255, -0.0554503165, -0.026258925, 0.0210568663, 0.0221128054, -0.0047069434, 0.0100943157, -0.0496333577, 0.0238846038, 0.0040110103, -0.0135210082, -0.0138195017, 0.0315525047, 0.0452409089, 0.0569023676, -0.0319761746, -0.0011219026, -0.0003972064, 0.0060641714, 0.04091857, -0.0294474754, 0.0643720254, 0.0306031592, -0.0466149226, -0.0653528422, -0.0023908447, -0.0687678754, -0.0998448506, 0.021660028, 0.0248695686, 0.0600859895, 0.027111752, 0.0046119196, -0.0595723204, -0.0237646662, 0.0138861164, 0.0160985012, 0.014975192, -0.0288954768, 0.0158805251, 0.0252689514, -0.0141610317, 0.0084579876, 0.0577593595, -0.0158394631, 0.0144952843, 0.0205004271, -0.0587383248, -0.0266855154, -0.0647182316, -0.0654085279, 0.0080242353, -0.0262796246, 0.0488904491, -0.0923653245, -0.0777739361, -0.0184210483, 0.009402913, 0.0000108232, -0.0128007717, 0.0136692729, 0.0584422536, 0.0332597606, -0.0397994705, -0.0245506652, 0.0102417255, -0.0052254191, -0.0156819243, -0.0168519393, -6.809568245e-33, 0.0287714768, -0.0443881527, 0.0440502279, -0.0335248671, -0.0185889117, 0.0152915558, -0.0363078862, 0.0365831777, -0.0168437529, 0.0258028619, -0.0178449489, 0.0156863462, 0.0132423453, 0.0065269344, 0.0194297805, 0.0133971255, -0.0077004079, 0.0142870219, -0.0333460085, 0.0114388112, 0.0556254946, -0.0050428752, 0.006995101, -0.0418831185, -0.0248826351, 0.0217563137, -0.0041087014, 0.0406651646, -0.0495537817, 0.0403538868, -0.0111440439, 0.0009455439, 0.0264667161, -0.0385094918, 0.0017460139, 0.0297553558, -0.0396305248, -0.0044041891, 0.0249891467, -0.0174805243, -0.0302845854, -0.0228308924, -0.0074001057, 0.0374667197, -0.0091295037, -0.0064230133, -0.0110542336, -0.0436167754, -0.0100846486, -0.0191794652, -0.0525838919, 0.0326132514, 0.0135470815, -0.0250087343, 0.018112544, 0.0525515564, -0.0254820623, 0.0018740974, -0.0272136591, 0.0065263147, 0.0288443696, 0.0090392837, 0.0941369832, 0.001484688, -0.0130277928, 0.0367925093, 0.000437302, -0.0165586565, -0.0267398227, -0.0077551603, 0.0087083206, 0.0773480684, 0.0496702008, 0.0204809867, -0.0024054404, 0.0465773642, -0.0908022001, -0.0247495603, 0.0582806617, 0.0465295799, 0.0828878433, 0.0158135928, -0.0380165353, -0.0249210559, -0.0461086966, 0.0026629071, -0.054689765, 0.0016124569, 0.0130490484, 0.0130902631, -0.0206848327, 0.0068097874, 0.0423043035, -0.0286550652, -0.0353816487, 0.0431562662, -0.0050594709, 0.0484787077, 0.0102515072, 0.0464903526, -0.0132594556, -0.0047557461, -0.0018815454, 0.016999742, -0.0128289806, -0.0035602206, -0.0216643028, 0.006243329, -0.0370563753, -0.0078152288, -0.0721898824, 0.0360244177, -0.0055507715, 0.0116977589, 0.0469420515, 0.0068469993, -0.0022909923, 0.0111891022, 0.0129182916, -0.0167027377, 0.0019205556, 0.0582922138, 0.0088886796, 0.023896113, -0.0109728994, -0.0229246207, -0.0445912071, -0.0162631907, 0.0294990707, -0.0402712189, 0.0002468948, 0.0435391553, 3.058e-7, 0.0020073785, 0.0541860387, -0.009856048, 0.0318193808, 0.0344678797, 0.0285521802, -0.0076918616, -0.0267919153, 0.0145759825, -0.045972053, 0.0021350384, 0.0452468731, 0.0508347191, 0.0577444024, -0.050953228, -0.0288538504, -0.0348840244, -0.0049884194, -0.0579865724, -0.0323895104, 0.0023473985, 0.0637155324, 0.0131034637, -0.0231655855, 0.0064723599, -0.043191921, 0.044275023, -0.0047963946, 0.0377886444, 0.0198583808, 0.0372839421, -0.0128913363, 0.0294876378, 0.0462518185, 0.0154757621, 0.036703866, -0.0349755734, 0.0471083336, 0.0294575877, 0.0036325892, -0.0283419415, -0.0426513329, 0.0304114055, -0.081856437, 0.0803245008, -0.0776201487, -0.036299061, -0.0139487199, 0.0467361882, -0.0386088826, 0.0003440912, 0.0124989813, 0.0018307851, 0.0399235263, 0.0148930931, -0.0005384335, -0.0110649858, -0.1146194562, -0.015253921, 0.0064773429, -0.0629067495, -0.0282988474, -0.0339401998, -0.0116599211, 0.0290655829, -0.0500903353, 0.0142209157, 3.064053218e-34, 0.0124390936, -0.0093884459, -0.0066080107, 0.0468169004, 0.0300402753, 0.0053676283, -0.0377390012, 0.0170606486, 0.0251743235, -0.1130150035, -0.0349935889 ]
http://arxiv.org/abs/2407.00997v1
http://arxiv.org/pdf/2407.00997v1
Engineering Conversational Search Systems: A Review of Applications, Architectures, and Functional Components
2024-07-01T06:24:11
2024-07-01T06:24:11
Phillip Schneider, Wessel Poelman, Michael Rovatsos, Florian Matthes
cs.CL
cs.CL
Conversational search systems enable information retrieval via natural language interactions, with the goal of maximizing users' information gain over multiple dialogue turns. The increasing prevalence of conversational interfaces adopting this search paradigm challenges traditional information retrieval approaches, stressing the importance of better understanding the engineering process of developing these systems. We undertook a systematic literature review to investigate the links between theoretical studies and technical implementations of conversational search systems. Our review identifies real-world application scenarios, system architectures, and functional components. We consolidate our results by presenting a layered architecture framework and explaining the core functions of conversational search systems. Furthermore, we reflect on our findings in light of the rapid progress in large language models, discussing their capabilities, limitations, and directions for future research.
Engineering Conversational Search Systems: A Review of Applications, Architectures, and Functional Components: Conversational search systems enable information retrieval via natural language interactions, with the goal of maximizing users' information gain over multiple dialogue turns. The increasing prevalence of conversational interfaces adopting this search paradigm challenges traditional information retrieval approaches, stressing the importance of better understanding the engineering process of developing these systems. We undertook a systematic literature review to investigate the links between theoretical studies and technical implementations of conversational search systems. Our review identifies real-world application scenarios, system architectures, and functional components. We consolidate our results by presenting a layered architecture framework and explaining the core functions of conversational search systems. Furthermore, we reflect on our findings in light of the rapid progress in large language models, discussing their capabilities, limitations, and directions for future research.
[ 0.1029319838, -0.0063677635, -0.0402861647, 0.0443121977, -0.0379930325, -0.0517568886, 0.0125273913, 0.0185487978, 0.0294415746, -0.0490621328, -0.0475716852, -0.0156389512, -0.0109757315, 0.0334079601, -0.0154016847, -0.0459441468, 0.0513239652, -0.0100786174, 0.0224207044, 0.0449930876, 0.0390670002, -0.0106109558, -0.002840952, 0.0541654229, -0.0014450097, 0.0207080636, -0.0551271029, 0.0163831096, -0.0417371243, -0.0192400087, 0.0081036659, 0.0115660196, -0.0127430176, 0.0786330998, 0.0000017284, -0.032881964, -0.0277058426, 0.00868956, -0.0293271206, -0.0208638776, 0.0544954203, 0.0630660281, 0.0093282815, 0.0289196447, -0.0355875231, -0.0165440012, 0.064694196, 0.0449117646, 0.0234846622, 0.0164582916, -0.0002696741, 0.0006260179, -0.0081194146, -0.0004039617, 0.0067807962, -0.0616255812, 0.0003312083, 0.0038986888, 0.0790628344, 0.0495900773, 0.0321828276, 0.0526646711, -0.0550101064, -0.0500214472, 0.0245319288, 0.0086711058, -0.0509536043, -0.0375417136, -0.0127770361, 0.0150174871, 0.0294011794, 0.0022223694, -0.0020994726, 0.0106009645, 0.0040553571, 0.0072372062, -0.0346827023, -0.0232292153, -0.0492938608, -0.0290568527, -0.0515896715, 0.0101862662, 0.0107929045, 0.0130798882, -0.0235710498, 0.0495088696, 0.0192866921, -0.02990878, -0.0082906336, -0.0449894443, 0.038924925, -0.054927744, 0.0621613674, 0.0399139524, -0.090069212, 0.0382342152, 0.0275156181, -0.0039587906, 0.0216911566, -0.049314633, -0.0281110909, 0.031483274, 0.0076054609, 0.0373283587, 0.0639950559, 0.0179093741, 0.0084103914, -0.0493331142, -0.026421342, -0.0519344099, -0.0226751715, -0.0423463508, -0.0554925837, 0.032604441, -0.0793205276, -0.0607645623, 0.0004937373, 0.0564426892, 0.0403715, -0.0225548167, -0.0032107173, 0.0219147522, -0.0235871673, 0.0123921307, -0.0664458647, 0.0237523671, -0.0122713102, -0.0258503295, 0.0097216712, -0.0795727372, 0.0266677104, -0.0030024636, 0.0317866057, -0.0074279066, -0.0320110098, 0.0221770313, 0.0002179919, -0.0757496506, 0.0074378937, -0.0128617929, -0.0197447501, -0.0112493159, -0.0234549604, -0.0216828622, 0.0413680263, 0.0095859589, -0.0121527463, 0.0149186747, 0.0267955083, 0.0829596296, -0.0042311046, 0.0664710104, -0.0243765656, -0.002208912, 0.0675145835, 0.0217326209, 0.0283444691, 0.0661713108, 0.0094838599, 0.0214776732, 0.0594320595, 0.0058979867, 0.0239394736, 0.0044218558, -0.030530991, -0.0532235466, 0.0542128645, 0.0647569746, -0.0386235602, 0.0472344235, -0.0335242562, 0.0472397394, -0.0452609435, 0.0058309678, 0.0331340842, 0.1003483981, 0.0137155307, -0.0046939119, 0.0022149389, 0.0325374827, -0.0003041426, -0.0092966892, -0.0099977022, 0.0202925839, -0.0382983834, -0.0520358346, 0.035676755, -0.0163097996, -0.0121610546, -0.0405840985, 0.0104199713, 0.0477879532, -0.0001173484, 0.0140814632, 0.0221414007, -0.0073874583, -0.0001175912, 0.0201243926, -0.0100114681, -0.047735095, -0.0141234556, -0.0373108461, -0.0041494458, 0.1235052422, 0.0950575992, -0.0111744935, -0.0030842752, 0.0678889751, -0.0121860243, 0.0511804372, 0.0338869765, -0.0026224921, 0.0056973021, -0.0118354615, -0.019738093, 0.0411470272, -0.0206457917, -0.0032933038, -0.0238534696, 0.0020714609, 0.0039772987, 0.0106765162, 0.0107141938, -0.0065298043, -0.0100098187, 0.0166526735, -0.0255819038, 0.0315847173, -0.016427651, 0.0163687468, 0.0010829966, 0.0208100528, 0.0245096106, 0.0493482612, -0.0199651867, 0.0097196102, -0.0021827065, 0.0093163094, -0.0242784377, -0.0346039906, 0.0275678411, -0.0171879418, 0.0463832431, -0.0467091091, -0.0127045363, -0.0823103711, 0.0711576194, -0.0168429073, 0.0362402536, 0.0038854564, -0.0149613479, -0.0478389189, 0.0267402586, 0.0405570753, 0.0015783531, 0.0048091002, 0.0060764728, 0.0237249602, -0.0950217843, -0.0279443953, 0.0324369296, 0.0124766538, -0.0118255029, 0.0351594649, -0.0336879194, -0.0272299387, -0.0213739872, -0.1300209314, 0.0085499026, -0.0074330592, -0.012323577, -0.0215538032, 0.0800691471, 0.0086323293, -0.0354622714, 0.0046325922, 0.0026697754, 0.0351009779, 0.023556741, 0.0183660295, 0.0629724711, -0.0434180796, -0.0826969594, -0.0190594308, 0.0146137336, 0.0136015993, 0.0247889049, -0.0353336409, -0.0533105545, -0.0053904303, -0.0606694147, 0.0553928614, -0.010606166, -0.0094383918, 0.0456112474, -0.0157038085, 0.0118880132, 0.0244506039, 0.0449735373, 0.0501992255, -0.0010302436, -0.059894558, -0.0908442363, 0.0401329882, -0.0318276472, 0.0031353855, -0.021736335, -0.0101730963, 0.0439919084, -0.0289532095, -0.0247779116, 0.0247742515, -0.0258092228, 0.010187936, 0.045553647, -0.0282227378, -0.0432004966, -0.0296090171, -0.0185703021, 0.0522986986, -0.0182839744, -0.0205711313, 0.0227659903, -0.0290092193, -0.0258736573, -0.0600658469, -0.0117360838, -0.0112863043, 0.0488206111, -0.0347581767, -0.0018661254, 0.0418285392, -0.0449973717, 0.0000663077, 0.011878524, 0.0269602891, -0.0632243454, 0.0334922299, -0.0144045167, 0.023809582, 0.0606794134, -0.0553601682, -0.0191463009, -0.0164061934, -0.0326807313, -0.0187955201, 0.0487863459, -0.0544907823, -0.0710537806, 0.0335429199, 0.0325603522, 0.02438768, 0.0131887542, -0.0457181744, -0.0218664538, 0.0108417487, 0.0295000412, 0.0010061442, 0.0179439094, 0.0577577427, 0.0396327972, 0.0485279709, 0.0470327213, -0.0495908, -0.0024261835, -0.0675541684, 0.0854560658, -0.0399255343, -0.0460864194, 0.009949713, 0.0023970476, -0.0111201433, -0.028295638, 0.0789003745, 0.062517859, -0.06211311, -0.0280302204, -0.0412480943, 0.0136900041, 0.019386515, 0.057027664, -0.0187824052, -0.0101313181, 0.0123512223, 0.0365498737, -0.0177664366, -0.0097931968, -0.0271816514, -0.0792770907, 0.0345155522, -0.0286795795, 0.0078664105, -0.0132864676, -0.0463666283, 0.0251704324, 0.0114396466, -0.0065415688, 0.0244935006, -0.0330910869, -0.0199895296, -0.0345085375, -0.0269535929, -0.000770706, 0.0268798582, -0.022889372, 0.0048884125, 0.0609999523, 0.0575674586, 0.0349881835, -0.0016080022, 0.0162258986, -0.0105887167, 0.0287411697, -0.0451231264, 0.0275768526, -0.0357821807, 0.0249321684, -0.0885567591, -0.0431987233, 0.0302122813, 0.0164847765, 0.0025890081, 0.020143481, -0.0539753325, 0.065233998, -0.0429988429, 0.0142466789, 0.0367385447, 0.0543290302, -0.001735723, -0.0239876173, -0.0269078128, -0.0241095033, 0.010659026, -0.0007792743, -0.0315589532, -0.0229382552, 0.0041134041, 0.0164811183, -0.0335743651, -0.0498706438, -0.0266027469, 0.0049556736, -0.0110570397, 0.016743619, 0.0309437718, 0.0452517383, 0.0262441151, -0.0003250744, -0.0206217244, 0.0201257095, -0.0205418635, 0.0170753524, 0.0346601382, -0.0589975454, -0.0022090818, -0.0081581883, 0.0020757923, -0.0311841834, -0.022387607, 0.027575139, 0.0237798616, 0.0151513657, -0.0427788384, -0.0806240439, -0.0318467021, 0.0131100118, -0.0194339436, -0.0179615077, -0.0044010626, 0.0220972281, 0.0213697366, 0.0259078536, -0.0559540205, 0.0057297465, -0.0503799915, 0.0132214781, -0.031397637, -0.0935472697, 0.0172042921, 0.0237346217, 0.0388434306, 0.0277076177, 0.0014778066, 0.0095805041, 0.0547453649, -0.0549446009, -0.0325485244, -0.0485587381, 0.0103833228, -0.0458726585, -0.0119150197, 0.032290332, 0.0268712956, -0.0499145575, 0.0564740971, -0.013932528, 0.0424955115, 0.0030015428, -0.035174638, 0.0213879328, 0.0103423418, 0.0160991754, 0.0338359326, 0.0186606813, 0.0638130382, -0.0337260067, 0.0694326609, 0.0094343573, -0.0806517377, -0.0030081626, 0.0448269993, -0.124939017, -0.0399295352, 0.016301332, 0.0196323488, -0.000221075, 0.0230790786, -0.0111416765, -0.0494489633, 0.0274136942, -0.0095550837, -0.0091624428, 0.0072517949, -0.0251438804, -0.0043473332, 0.0351750404, 0.0080218054, -0.0334489867, 0.0146347536, -0.0279830247, -0.0139986165, -0.0201084297, -0.0852940157, -0.0249898937, -0.0325285941, 0.0040071476, 0.070805043, -0.0304312985, -0.0229310989, -0.0502486676, 0.0067453398, -0.0257129893, -0.0008238332, -0.0170468539, -0.0568587333, 0.0865374878, 0.1086114347, 0.0471170172, -0.0271918066, -0.0281352233, 0.0224774983, -0.066982232, 0.0182664879, -0.0324441455, -5.606013742e-33, -0.0234322399, -0.0409329496, 0.0465917177, 0.0014591336, 0.0074688038, -0.0262267869, -0.0201446433, 0.0177935846, -0.0332701579, -0.028546758, -0.0406427644, 0.0447304659, 0.0129178884, 0.0233515967, -0.0257333815, 0.0192255806, 0.0431137942, 0.005223854, -0.0272881426, -0.0034729145, 0.0615992695, 0.0045390246, -0.0321724825, -0.0654923245, 0.0279082786, -0.0025205852, 0.0130282957, 0.0620221943, -0.0031748235, 0.0351330489, -0.0038330387, 0.0710013062, 0.0106419902, 0.0007836067, 0.0121995509, 0.0319021828, -0.0592529848, -0.0185060874, 0.0468495004, 0.0367477983, 0.0091785956, 0.0293572489, 0.0207462143, -0.0078411466, -0.0223644469, 0.0728900805, 0.0095773581, 0.0098813288, -0.051801119, 0.0120598786, -0.0177775603, 0.0138208522, 0.0048802514, -0.0092368703, 0.0120568853, 0.0596584082, 0.0322350301, -0.0134931859, -0.0167308133, 0.0395713821, -0.0263878033, 0.0330752693, -0.0116185602, 0.0496641621, 0.0058852024, 0.0424484201, 0.0651041642, 0.0147604877, -0.0033666533, -0.060872484, -0.015309887, 0.0272561498, 0.0283917952, 0.0168413762, -0.0147831459, -0.0029605038, 0.0175151192, 0.0053799278, 0.0146106435, 0.0256890468, -0.0013216186, 0.0550477132, -0.0776457936, -0.001220468, -0.0298454128, 0.0290961731, -0.0567498766, -0.02365648, 0.0387216285, 0.0432794355, 0.0319343992, -0.004736125, -0.0006920497, 0.0231404584, -0.0164844505, 0.0180762112, 0.0297570936, -0.0046034791, 0.0013216332, -0.0000612826, -0.0236388501, 0.0086208936, 0.005289996, 0.0108036883, -0.0378122851, 0.0005978574, -0.0554343276, 0.0186697617, -0.0368841887, -0.0111159179, -0.0055837934, -0.0088678412, -0.0517052487, -0.0402166806, 0.0195100904, 0.01182942, -0.016461648, 0.0273834802, 0.0072420575, 0.0295759905, -0.0538527519, -0.0780505687, 0.0055250726, -0.0199594628, -0.0025853084, 0.0239760466, -0.0280065909, 0.0070548155, 0.0240893792, -0.0301230159, 0.0054022316, 0.007583417, 2.536e-7, 0.0204521306, 0.0403374732, -0.0026399393, 0.0364241786, 0.0170939229, 0.0058012786, 0.0413793251, 0.0038966967, 0.0545315556, 0.0035977729, 0.0124785248, 0.0063556456, 0.0063164434, 0.0004543278, -0.0920851678, -0.0684108138, -0.0128036914, -0.029344853, -0.0392284244, -0.0242175274, 0.0362543203, 0.0507464036, -0.0087209139, 0.0283418447, -0.0574741736, -0.0556611829, 0.0242861845, -0.0072828839, 0.021064166, -0.0007418958, 0.0324490406, 0.0132896286, 0.0096918447, 0.0083825383, 0.0013969817, 0.0339548253, 0.0090260683, -0.0086780181, -0.0162295047, -0.0280870534, -0.0150472065, -0.0248450898, -0.0248792637, -0.0365666151, 0.0383211859, -0.0179621745, 0.0307925604, 0.010110735, 0.0198197048, -0.0085660694, -0.0263706632, -0.017463373, -0.0587742329, 0.0097084837, -0.0283704009, 0.0360825695, 0.0201868881, -0.0880736634, -0.0040611066, -0.0236637369, -0.0363016129, -0.0452559069, -0.0880376548, -0.0304806102, 0.0062266686, -0.0329288058, -0.0020067589, 1.97885543e-34, 0.0182807241, 0.0187919922, -0.0038017493, 0.0331256948, 0.0479700379, 0.0351793282, 0.0015255264, 0.0383149162, 0.0672713518, -0.0995260775, -0.025963923 ]
http://arxiv.org/abs/2407.00996v1
http://arxiv.org/pdf/2407.00996v1
Can Small Language Models Learn, Unlearn, and Retain Noise Patterns?
2024-07-01T06:22:38
2024-07-01T06:22:38
Nicy Scaria, Silvester John Joseph Kennedy, Deepak Subramani
cs.CL
cs.CL, cs.LG
Small Language Models (SLMs) are generally considered to be more compact versions of large language models (LLMs), typically having fewer than 7 billion parameters. This study investigates the ability of small language models to learn, retain, and subsequently eliminate noise that is typically not found on the internet, where most pretraining datasets are sourced. For this, four pre-trained SLMs were utilized: Olmo 1B, Qwen1.5 1.8B, Gemma 2B, and Phi2 2.7B. The models were instruction-tuned without noise and tested for task execution with in-context learning. Afterward, noise patterns were introduced to evaluate the models' learning and unlearning capabilities. We evaluated the models' performance at various training levels. Phi consistently excelled with word-level noise but performed the worst with character-level noise. Despite being the smallest with approximately 1 billion parameters, Olmo performed consistently well on tasks.
Can Small Language Models Learn, Unlearn, and Retain Noise Patterns?: Small Language Models (SLMs) are generally considered to be more compact versions of large language models (LLMs), typically having fewer than 7 billion parameters. This study investigates the ability of small language models to learn, retain, and subsequently eliminate noise that is typically not found on the internet, where most pretraining datasets are sourced. For this, four pre-trained SLMs were utilized: Olmo 1B, Qwen1.5 1.8B, Gemma 2B, and Phi2 2.7B. The models were instruction-tuned without noise and tested for task execution with in-context learning. Afterward, noise patterns were introduced to evaluate the models' learning and unlearning capabilities. We evaluated the models' performance at various training levels. Phi consistently excelled with word-level noise but performed the worst with character-level noise. Despite being the smallest with approximately 1 billion parameters, Olmo performed consistently well on tasks.
[ 0.0307991188, 0.0521366708, -0.0077862558, 0.0264764279, 0.0243818965, 0.0060583502, 0.0243088659, 0.0218063965, -0.0405661017, -0.0420892052, -0.0750632808, -0.0335290208, 0.0129361255, -0.0025265662, 0.0364471525, -0.0445999429, 0.055456724, -0.0636601225, 0.0049151424, -0.0206351951, -0.0014929491, -0.007630107, 0.0018300489, 0.0393741205, 0.0196975134, 0.004749292, -0.0194687173, 0.0060694059, -0.0350696743, 0.003805049, 0.0174478982, 0.0544433631, 0.0231082365, 0.0369502343, 0.0000018486, -0.0467354022, 0.0186965875, -0.0211361367, -0.0479171574, 0.0415032208, 0.0643721819, 0.0155930109, -0.0508252606, 0.0348219015, -0.0026856074, -0.0447823554, 0.0731718391, 0.0272413995, 0.0265834387, 0.0935089737, -0.002666815, -0.031407401, 0.0050360961, -0.0330782235, 0.0242063701, -0.0107858302, 0.0135254646, -0.0174376499, -0.0235683564, -0.0075513171, -0.0021645946, 0.0077517293, -0.0319978222, 0.035348732, -0.0332611129, 0.0375016443, -0.0091441805, -0.0262119062, -0.0203482881, 0.046939075, -0.0563590601, -0.0277261641, -0.0175360963, -0.0052558151, -0.0053584091, -0.0131682893, -0.0379791744, 0.0240158979, 0.0139878951, 0.0167943239, -0.0074588782, -0.0295127071, 0.0435527377, -0.009009433, -0.0202928856, 0.0281693414, 0.005262583, -0.0229382627, 0.010068845, -0.0283888597, -0.0085594701, -0.049533084, -0.0188192278, 0.0493783131, 0.0012217998, 0.0320865549, -0.0616148114, -0.0101321395, 0.0217780694, -0.0848883539, 0.0791501924, 0.017639149, -0.0224447083, 0.0195292067, -0.0356297158, 0.0185690597, 0.0184025038, 0.0190117694, -0.0373108834, 0.0261885654, -0.024865672, 0.012820093, -0.0418386236, 0.0305764042, -0.0295987148, -0.005732209, -0.0229834598, 0.0269547328, 0.0231402777, 0.0125384387, 0.0078534847, -0.0059848661, -0.0413432419, -0.0050431248, -0.0229624324, 0.0164103601, 0.0165669899, 0.0373204648, 0.0013321796, -0.0738158226, 0.0040222285, -0.0007661997, 0.0298049264, -0.0097086942, 0.0494720899, 0.077750355, 0.0140901571, -0.0359237194, -0.0701238662, 0.0239505507, -0.000625113, -0.0944250301, -0.0003893364, -0.0451543964, -0.0358840339, 0.0000050683, 0.0208753031, -0.0518075041, 0.0161808692, 0.0213058572, -0.0369153805, 0.0572788231, -0.0151828649, 0.0114287501, 0.0086428178, -0.0152222374, 0.052982524, 0.0774208382, 0.0356117263, -0.0011299815, 0.0339879431, -0.0366933607, -0.0173359849, 0.0370096639, 0.0302204639, -0.0010404167, -0.0175859705, -0.0337080732, 0.0240436848, 0.002910285, 0.0339787304, 0.066328004, -0.0001104205, 0.0007584519, 0.1023434103, 0.0467770249, 0.0326323994, 0.0311146695, 0.0275691245, 0.0054092114, 0.0400918424, -0.0018591486, -0.0618216954, -0.0061102742, -0.0448735654, 0.0273690727, -0.0023688697, 0.0225704052, -0.058663208, -0.0498454757, -0.0529128574, -0.0324350111, 0.0009056153, 0.0231547616, 0.0728012323, 0.0118016126, -0.0573562011, 0.0404123925, 0.0532089695, -0.0439391769, -0.0315215625, -0.0655115396, 0.0524813719, 0.0551510863, 0.026244767, -0.0195307769, -0.0365013257, -0.0103300558, 0.0129994322, 0.02261745, 0.0679510161, 0.0050949818, 0.0456383117, -0.0539710373, -0.0095298979, 0.0055151638, 0.0183506776, -0.001422575, 0.0202458352, -0.0049713757, 0.0001371029, -0.0110362992, -0.0848606974, 0.0435831361, -0.0309886783, -0.0304963514, 0.0074862526, 0.0093306797, 0.0284751337, -0.0085819233, -0.0255540907, -0.0064012348, 0.0460762307, -0.0360759683, 0.0520969145, 0.0205111858, -0.0610335805, 0.0151587082, 0.0423930548, 0.0391591787, 0.0454851426, 0.0166815501, -0.0079475427, -0.0358367078, 0.0118095344, -0.0471962467, 0.0550269224, -0.0449843183, 0.0398113839, -0.0280496646, 0.0250172876, -0.0266672764, 0.035142947, -0.0079151224, 0.0163014084, -0.0037663379, 0.0364670008, 0.0145677812, -0.0310657956, -0.0490797497, -0.0128050102, -0.0184082817, 0.0257027764, -0.0132711921, 0.0161670316, -0.0182935614, -0.0299023017, -0.0553572923, -0.0202840734, -0.0180108715, -0.0046990579, 0.0147566535, -0.0041229632, -0.009961579, -0.0290342253, -0.0135987569, 0.0422063246, 0.0007934668, 0.0085555185, 0.0171721615, 0.0033798565, -0.048414249, -0.0553372949, -0.0233627651, 0.0128643122, 0.0227373634, -0.0301736277, -0.0089770751, -0.0683748126, 0.0997092873, -0.0067039141, 0.0742656812, 0.0088391975, -0.071349591, 0.0196917243, -0.0213232487, 0.0628110841, 0.0751050562, -0.0243755914, 0.0328462608, 0.0914832279, -0.0132249361, -0.016151825, 0.0112869786, -0.0042018937, -0.0251427051, -0.0682317168, -0.0098857535, -0.0418990552, 0.0920335725, -0.0253286175, 0.007958998, -0.0446633063, 0.0046821516, -0.0077176476, -0.0390288979, -0.0369300321, 0.0058691362, -0.0307446625, 0.0444998853, -0.0330350213, -0.0755153447, 0.0179083794, -0.0244332906, -0.0138330394, -0.0427182652, -0.0222958308, 0.007710143, 0.0567990504, 0.0083805397, 0.0289905872, 0.0141359987, -0.0411540233, -0.0655297786, -0.0043637678, 0.0270443913, -0.040121913, 0.0257195309, -0.0259506647, 0.0011800767, -0.0119190402, -0.0067602308, -0.052478943, -0.0105036823, -0.0295683313, 0.0075234789, 0.0144009246, -0.0362770893, -0.0255958494, 0.0298272949, 0.0163116902, 0.0375425965, 0.0059469836, 0.0127133159, -0.0204191282, -0.0034285288, 0.0458565876, 0.0235012118, 0.0153781911, -0.0647293702, 0.0305844955, 0.0052210046, 0.0445143729, -0.0321446769, -0.0259275381, 0.0107056098, 0.0366711505, -0.0130529189, -0.0213246811, 0.0620013066, 0.0645641834, -0.0716652423, -0.0449801832, 0.1014946103, 0.0042911028, -0.0289750025, 0.0026175554, 0.005176716, 0.0351388045, 0.0307758115, 0.0117689874, -0.0315556005, -0.0119100492, 0.0233316459, 0.0104402779, 0.0005167552, 0.0378491841, -0.0308075435, -0.0996255875, 0.0137248673, 0.024947824, -0.0828481764, -0.0253214221, -0.0340532213, -0.0119952699, -0.0116000082, 0.0544013269, 0.0298259817, -0.0527075641, -0.0289093591, 0.0457588769, -0.0396558046, -0.0903683752, 0.0056666872, -0.0292127207, 0.09237165, 0.0564069487, -0.026925629, -0.0222193673, -0.0369814523, 0.0581963062, 0.0206112303, 0.0202943813, -0.0133292703, 0.0433012396, 0.0256515294, -0.0278506372, 0.012429513, -0.0006339235, -0.0233218521, 0.0050452333, -0.0358255543, 0.0218999851, -0.0113509791, -0.0179398954, 0.0213461164, -0.0167103801, -0.0090286955, 0.0644018352, 0.0491523519, -0.0519333407, -0.0481151119, -0.009744321, -0.0095503228, -0.042064257, -0.0191714764, 0.0435333736, -0.0333597697, -0.0759562552, -0.0397752114, -0.0345340632, 0.0329562463, 0.0489878356, 0.0378474258, 0.0217604134, 0.0237981956, 0.035882704, -0.0557260811, 0.005618881, -0.0125779277, 0.0144211762, -0.0734896585, -0.0349515118, 0.0374670625, -0.008312989, -0.0104192374, -0.015755605, -0.1137895584, -0.053578116, 0.0463699736, 0.0550156198, 0.0279804505, 0.0252834875, -0.0069182664, -0.087442562, 0.0418987609, 0.0060151699, -0.0291229058, 0.0318767652, 0.0593071692, -0.0264849812, 0.0178988781, 0.0412136503, -0.0272176843, 0.0315246806, 0.0396534316, -0.0148962568, -0.0346748754, -0.0198432114, 0.0209221952, -0.0038387291, 0.0264076069, -0.0072282888, -0.0198875964, -0.0471225306, 0.0529986881, -0.0103529831, 0.0406707637, -0.0391542614, -0.0331872813, 0.0074828933, 0.0200512391, 0.0024131534, -0.0044007399, -0.0088449279, 0.035087835, -0.0051060468, 0.0210777633, 0.0186982229, 0.0731123015, 0.0415841937, 0.0400444381, -0.0317531638, 0.0398939773, -0.0040347734, 0.0175187383, 0.0123935807, -0.009625975, -0.0125142951, 0.0110961534, -0.0383441932, 0.0250084922, -0.0445107818, -0.0393102132, -0.054695446, -0.0019456185, 0.071239613, -0.0053924927, 0.0469623394, -0.0133258328, 0.0039565377, -0.0377384089, 0.0176563319, -0.0176696666, 0.0216235444, 0.0179459564, 0.0008611598, -0.0132167935, 0.0111317076, 0.0996655971, 0.0435995311, 0.0688054413, -0.002224369, 0.0432499275, -0.0426559746, -0.0009667099, 0.00262463, 0.0513006262, -0.0391429216, 0.015031754, 0.0043649576, -0.0819090083, -0.0323884934, -0.0107494658, 0.0221960079, -0.0306115337, 0.0298500378, 0.0422733389, -0.0009469317, 0.0118124885, -0.0178963002, -0.0367360264, 0.0250693597, -0.0242044292, 0.0218443479, -6.201836196e-33, -0.0243566856, 0.0200401563, 0.0230354331, -0.0086250957, -0.0009823336, 0.0016704639, -0.0478803068, 0.0221544933, -0.0383191891, -0.0012732439, -0.0239948705, 0.0111563271, 0.0194440726, 0.0120250164, 0.024382798, 0.0338435322, 0.086493887, -0.0495215058, 0.0141172865, 0.0055805128, 0.0396802351, 0.0348133408, 0.05945158, -0.0392254405, 0.0063032657, 0.0056116804, -0.0364732072, -0.0178908315, 0.005822232, 0.065654248, -0.038355045, 0.0392168462, 0.0040623853, 0.0277123731, -0.0633220822, -0.0153044248, -0.060796164, -0.0191202704, 0.0205067731, 0.0227537453, -0.006174617, -0.0346967205, 0.0846356079, -0.0193127114, -0.0450905748, 0.0261354987, 0.0193742961, -0.0344212614, -0.0285847858, 0.0127436491, -0.0478609204, 0.0077807717, 0.015326404, -0.0315941125, 0.0295603909, -0.0017157103, -0.0467162766, -0.0423713662, -0.0401811339, 0.0503842421, 0.0473384187, 0.0889489353, 0.0142253907, 0.0434793755, -0.0058385171, 0.0400296114, 0.0630713031, 0.0180660114, 0.036774721, -0.0095924195, 0.0870476365, 0.0529056415, 0.0375436991, 0.0068149744, 0.033983171, -0.0409156643, -0.0804285184, 0.0007924611, 0.0269990731, 0.0495055877, 0.0279682148, 0.0009533532, -0.0407655537, -0.0071339891, -0.0240938254, -0.0207683314, -0.027913807, -0.0404809006, 0.0304664411, 0.0224060044, -0.0113715967, -0.0336466469, 0.0338970236, -0.0542553738, 0.0012333773, -0.0192001741, -0.0008571326, 0.0037270109, -0.0081885112, 0.0045528701, -0.0925789922, -0.0704226047, 0.002133861, 0.0215825718, -0.0020715515, 0.0076563116, 0.0186720211, 0.0551432222, -0.0881056562, -0.0015909314, -0.0278208703, 0.0124057671, 0.0442687199, 0.0378239267, 0.0336322784, -0.0223796666, -0.0057725506, 0.0477506109, -0.0105536375, -0.0429007895, -0.0270127486, -0.0301856678, 0.0202318523, 0.045492243, -0.0292402413, -0.0396756902, -0.053523235, 0.0150092728, 0.033855889, -0.0049458765, -0.0102317296, 0.0171433911, 2.541e-7, 0.0104339803, 0.049417872, -0.0114808334, 0.02600329, 0.0311744958, 0.0103411581, -0.0466786362, -0.0098975115, -0.006171023, 0.0110528506, 0.0061383364, 0.0260748658, 0.0582325384, 0.0070884619, -0.0439402424, -0.0221431833, -0.0495531745, 0.0202309582, -0.0289844014, 0.0026786244, -0.0164187495, 0.1196518987, 0.0125069907, -0.0385946147, 0.0025286414, -0.0342445746, 0.0340011902, -0.0508928671, 0.0030893739, 0.0190891158, 0.0055767871, 0.0362107679, -0.0085977409, -0.0001514605, -0.0241973102, 0.0261458401, -0.055265855, 0.053417962, -0.0402496979, -0.0337613076, 0.0362731926, 0.0338517427, -0.0260553863, -0.0402305089, 0.0549753681, -0.0212152097, -0.0241330881, -0.0204838626, 0.0130383447, -0.0278716087, -0.0005001186, -0.0293004215, -0.0390794761, -0.0095082335, 0.0085490718, -0.0294498838, -0.0283180997, -0.0433688611, -0.0082397526, 0.0313216746, -0.0213199537, -0.0812241286, -0.0342021473, -0.0350706838, 0.025928976, -0.0171498135, 0.0018618982, 2.233691355e-34, 0.0368622541, -0.0370700136, 0.0115552982, 0.0700984076, -0.0183450729, -0.0114478758, -0.0175724924, 0.0031430675, 0.0157581586, -0.0667524412, -0.0250973646 ]
http://arxiv.org/abs/2407.00994v1
http://arxiv.org/pdf/2407.00994v1
LLM Uncertainty Quantification through Directional Entailment Graph and Claim Level Response Augmentation
2024-07-01T06:11:30
2024-07-01T06:11:30
Longchao Da, Tiejin Chen, Lu Cheng, Hua Wei
cs.CL
cs.CL, I.2.7
The Large language models (LLMs) have showcased superior capabilities in sophisticated tasks across various domains, stemming from basic question-answer (QA), they are nowadays used as decision assistants or explainers for unfamiliar content. However, they are not always correct due to the data sparsity in specific domain corpus, or the model's hallucination problems. Given this, how much should we trust the responses from LLMs? This paper presents a novel way to evaluate the uncertainty that captures the directional instability, by constructing a directional graph from entailment probabilities, and we innovatively conduct Random Walk Laplacian given the asymmetric property of a constructed directed graph, then the uncertainty is aggregated by the derived eigenvalues from the Laplacian process. We also provide a way to incorporate the existing work's semantics uncertainty with our proposed layer. Besides, this paper identifies the vagueness issues in the raw response set and proposes an augmentation approach to mitigate such a problem, we conducted extensive empirical experiments and demonstrated the superiority of our proposed solutions.
LLM Uncertainty Quantification through Directional Entailment Graph and Claim Level Response Augmentation: The Large language models (LLMs) have showcased superior capabilities in sophisticated tasks across various domains, stemming from basic question-answer (QA), they are nowadays used as decision assistants or explainers for unfamiliar content. However, they are not always correct due to the data sparsity in specific domain corpus, or the model's hallucination problems. Given this, how much should we trust the responses from LLMs? This paper presents a novel way to evaluate the uncertainty that captures the directional instability, by constructing a directional graph from entailment probabilities, and we innovatively conduct Random Walk Laplacian given the asymmetric property of a constructed directed graph, then the uncertainty is aggregated by the derived eigenvalues from the Laplacian process. We also provide a way to incorporate the existing work's semantics uncertainty with our proposed layer. Besides, this paper identifies the vagueness issues in the raw response set and proposes an augmentation approach to mitigate such a problem, we conducted extensive empirical experiments and demonstrated the superiority of our proposed solutions.
[ 0.0261622686, 0.0447223336, -0.0085988892, 0.0670136362, -0.0464816242, -0.0001722809, -0.0690810606, -0.0195962526, 0.0126479389, -0.0458994098, 0.0137369791, -0.049333971, -0.0074603343, 0.0157405213, -0.0066047865, -0.0078850081, 0.010787569, -0.0506050326, 0.0489646979, -0.0508572459, -0.0158140454, -0.0040458273, 0.0123909414, 0.029807657, 0.0045010261, -0.0034592624, -0.0256985798, 0.0358546712, 0.0222103633, -0.0461987555, -0.0180671345, 0.0320997052, 0.0288348496, 0.0382109247, 0.0000019539, -0.0839135125, -0.0175121501, 0.0067267586, -0.0150679694, -0.0387342013, -0.0180637874, 0.0093993898, 0.0076964782, 0.0075337994, -0.0135827959, 0.0128127327, 0.0242783912, 0.0476161316, 0.0455407873, 0.0590631217, 0.0062696552, -0.0617465861, 0.0190697368, 0.0036076356, 0.0088361045, -0.0520037897, 0.0473993868, -0.0086892685, 0.0174059458, -0.0373348817, -0.0485750511, 0.0207781401, 0.016801402, 0.0014219112, 0.0198366139, -0.000731963, -0.0049611735, -0.0261036213, 0.0151335457, 0.0751591623, 0.0180077404, -0.0251685847, -0.0367191732, -0.0279003307, 0.0249529611, 0.0982633606, -0.0352974348, 0.0261821374, 0.0005662878, 0.026832303, 0.0129061118, 0.0023119482, 0.0538160913, -0.0032976314, -0.0341695324, 0.1220967174, 0.0039247437, -0.0459006391, 0.0184588488, 0.0296090823, 0.0044915071, -0.0413120948, 0.0056168102, 0.0637069866, -0.0325865187, 0.0397214666, -0.0058971453, 0.0094234776, 0.0205668546, -0.0572080836, 0.0390987359, -0.0211494863, -0.0071308701, 0.030342482, -0.0309121162, 0.0019889311, -0.0097855395, 0.0131664071, -0.051349517, -0.0422433764, -0.0012134589, -0.0102502974, -0.0145540601, 0.0567257702, -0.022741545, -0.0214799643, -0.0609229021, 0.0351941176, -0.0272477791, 0.0222921688, 0.0001254421, 0.0157704186, 0.0582770146, -0.0226865765, -0.0514476895, -0.0079258429, -0.0067073386, 0.0367657952, -0.0084912991, -0.026322078, 0.0130473003, 0.0250328276, 0.0116381841, -0.0095807752, -0.020136591, 0.0899235085, 0.0313433968, -0.0270344857, -0.0203005951, -0.0388917588, -0.0479733646, -0.0572810434, -0.0032611045, -0.0802608803, -0.0326561555, 0.0109004155, -0.0115059223, -0.0068104593, 0.0394328535, -0.0140464576, -0.0518775508, 0.0732046664, -0.0201959033, 0.0361727141, 0.0175421387, -0.0155337602, 0.0004218875, 0.0360343568, 0.0475036018, 0.003053532, 0.0629517436, 0.0155886635, 0.0204419009, -0.0157069173, 0.0339193307, 0.0099235922, -0.010699451, 0.0070931795, -0.0427097902, -0.0015865772, -0.0311966352, 0.0442312546, -0.0141583197, -0.0223237295, 0.0196644068, 0.0222286545, 0.0082140435, -0.0436245129, 0.0001628385, 0.0068786005, 0.0029018414, 0.0255268738, -0.0240944251, 0.0014224517, -0.0589520186, 0.0159410257, 0.039288085, -0.0326046273, -0.0176486783, -0.0620999075, -0.0353036523, -0.0233647786, 0.0475326255, 0.020030411, 0.0588703789, 0.0007880291, -0.0176789686, 0.0096417023, 0.0209707934, -0.0328838043, 0.004216596, -0.0653940141, 0.0337058753, 0.0470734499, 0.034508612, -0.0143546779, -0.0444955379, 0.0118021118, -0.017305417, 0.0296628438, 0.0102041895, 0.014521976, 0.0038870212, -0.0343426652, -0.0383539796, 0.009837389, 0.0251412708, 0.0082400106, -0.0011069532, 0.0155207077, 0.0150725376, -0.0683723092, -0.0284205992, 0.0194321405, 0.0421779677, 0.0038326939, 0.0512360819, -0.0294279102, 0.0523716807, 0.020451352, -0.0062967469, 0.0476596616, 0.0453406163, -0.0208963864, -0.1144345179, -0.0041584331, 0.018667005, -0.0227499809, 0.0477945805, -0.0276870951, -0.0267528147, 0.0067331959, -0.0298139155, -0.0743301287, 0.0393278636, -0.0222462285, -0.0056493487, -0.039157968, 0.0133812083, 0.0067299171, 0.0318310745, -0.0484358221, 0.0708961412, 0.0134572377, 0.059224017, -0.0255629309, 0.0542038977, -0.0003570104, -0.0471049733, -0.0107174022, -0.0040514003, -0.0066793584, 0.0044092517, 0.0435518585, -0.0143852951, -0.0105676688, -0.0181120578, -0.0629214793, -0.0271976478, -0.0040272106, 0.0201191008, -0.0224369112, -0.0147578847, -0.0150898639, -0.0200008545, -0.0394391827, 0.0038584264, 0.0385304429, 0.0209434833, 0.0222972352, -0.0320524648, -0.0213032644, -0.0204299334, -0.0106660444, 0.0047998573, 0.0270866919, 0.0268361028, -0.0459593572, -0.0729355738, 0.0295764469, -0.0620469935, 0.0062144045, 0.003684537, 0.0037268349, 0.001495195, -0.0129320472, -0.0037163792, 0.0112576727, 0.0226607602, 0.0442428477, 0.0497394279, -0.0163066015, -0.0086874822, 0.0007105827, -0.0793010369, -0.0134429382, -0.0315801054, -0.0372064188, 0.0049100011, 0.0190887749, 0.0184962302, -0.0285888314, -0.0566533878, -0.0349002853, -0.0211154688, -0.0133607937, -0.0046598576, -0.0160948448, -0.0246249177, 0.0624798685, 0.0130249858, -0.0374248885, 0.1027380154, -0.0091762412, 0.0354080349, -0.0161162857, -0.0541911274, -0.0405154116, 0.0332371704, -0.0078234738, -0.0021146075, -0.0267578736, -0.0150039643, -0.0221206993, -0.0426650941, 0.0518449657, -0.0439682379, 0.0399784893, -0.0439469554, 0.0429077893, -0.0008064476, -0.0032705553, -0.0386671349, -0.0588400811, -0.0189214218, -0.0143355904, -0.044836387, -0.022093989, 0.0375876948, -0.008617905, -0.007882894, -0.0113959564, -0.0529318042, -0.0018556629, -0.0150628053, 0.0578345396, 0.0702344626, 0.0366314352, 0.0813927501, -0.0513403825, 0.0244435295, 0.0487425104, -0.0157862473, 0.0209621917, -0.0314403735, -0.0373419374, 0.0010762675, -0.0086004818, -0.0341832563, 0.0201170407, 0.0710697249, -0.0295355842, 0.0166940857, 0.1113369241, 0.0136912707, 0.0088492753, 0.0106621431, -0.0191056095, 0.0343377814, 0.0225418974, -0.0016471726, -0.0766762048, -0.0206597336, -0.0222376361, 0.0342833251, 0.0019262577, -0.0186438859, 0.032895375, -0.1034477726, 0.0622322075, 7.56e-7, -0.0147657972, -0.0434005111, -0.0592494421, 0.0147739369, 0.0381994955, 0.0063498705, -0.0288214348, 0.0131054642, -0.0051366878, 0.0265432727, -0.0256273001, -0.0545127131, 0.0116188824, -0.0007876145, 0.0327891856, 0.0084521966, 0.0242348239, -0.0229273885, -0.0206010621, 0.0349127427, -0.0624045171, -0.0253397785, 0.0024160007, 0.0153174158, 0.0409026295, 0.0210819636, -0.0274052285, 0.0106504746, -0.0577667914, -0.0096228765, -0.0076783109, 0.1067730561, -0.0701798126, -0.0517641455, -0.0225230437, -0.0142324083, 0.0096110459, 0.0586140379, -0.0086354297, -0.0042116567, -0.053655751, -0.0298658162, 0.0230323877, 0.0220440365, -0.0096976086, 0.0219402909, 0.0005929509, -0.0099369911, -0.0777959898, -0.0274440758, -0.0267124977, 0.0208064988, -0.0386387743, 0.0339920521, 0.0461360812, -0.0315282047, -0.0488078147, -0.005138569, -0.0276836939, 0.0469980203, 0.023588609, 0.03802564, 0.0278314352, 0.0145897968, -0.0210725795, 0.0276736803, -0.0517455675, -0.1085393727, -0.0311481133, 0.0011622627, 0.0313794836, 0.0276524853, -0.058725331, -0.0279173926, 0.0528911762, 0.0322037786, 0.0136737302, 0.0129030608, 0.0349001884, 0.0588664375, -0.0362359546, 0.0510363616, -0.0742239505, 0.012221043, 0.0061513428, 0.044796247, -0.0395422466, -0.1193742156, 0.004165282, 0.0446132608, 0.0480878055, 0.0190169606, -0.023861751, -0.0210817195, 0.031064935, -0.0430124626, -0.0204276759, -0.0157198999, 0.006280018, 0.0286248177, -0.0526902452, -0.005239577, -0.0313537903, -0.0134195406, 0.0172815081, -0.0424084142, -0.005950388, 0.0042150589, -0.0129672019, 0.0159809794, 0.0096219303, -0.0202655215, 0.0168268476, 0.0364125334, 0.0272624884, 0.0638890788, 0.0149844177, 0.0274008829, -0.0025225787, -0.0115596382, -0.033747755, -0.0970569775, -0.0840931609, 0.0072592478, 0.0242185369, 0.0347749181, 0.0325825103, 0.0377475843, -0.0054180236, 0.0006407757, -0.0243787542, 0.0604253672, 0.0172870103, -0.0328172594, 0.1041878909, 0.014028145, -0.0356388316, 0.0386334918, 0.0372019634, 0.0193431247, 0.0183278192, -0.0223185159, -0.0357808545, -0.0352223963, -0.0690039992, -0.0105809262, 0.0495490432, -0.0229395013, 0.035159938, -0.0869138092, -0.0887021646, 0.0032064288, 0.0148564326, 0.0078806747, -0.0202650018, 0.019894775, 0.0377206802, 0.0314962678, -0.0140562048, -0.0643516332, 0.010578108, -0.0460558087, 0.0015007926, -0.0283013117, -6.491971712e-33, -0.0069410028, -0.0759479702, -0.0258314461, 0.0145807983, 0.0004426718, -0.0239858236, -0.0022341742, 0.0145823509, -0.0166222155, 0.0499061495, 0.0205054823, 0.0489849076, 0.0199451819, 0.0403246582, 0.0109293209, -0.0618804432, 0.0055251792, 0.014099597, 0.0064796102, 0.0198179632, 0.047574129, 0.0000730434, 0.0374426022, -0.0962810889, 0.0542357974, -0.0251769982, -0.0065898034, 0.0493593253, -0.0391753577, 0.0284926575, -0.0007518501, 0.0576956123, 0.0095502092, 0.011989343, -0.0002475017, -0.0303219706, -0.0389037356, -0.0730895251, 0.015503807, 0.0259522218, -0.0614964887, -0.0032171342, 0.0448162965, 0.0357343554, -0.0286017619, -0.0010657355, 0.0459843688, -0.0161495935, -0.0260828491, -0.0607766472, -0.0216228832, 0.0499625541, 0.0173008535, -0.0198755581, -0.0074598142, 0.0260102376, -0.0056672599, -0.0022753356, -0.0460283905, -0.0199028943, -0.0392392054, -0.0135535663, 0.0403739549, 0.0206220727, -0.014794617, 0.0484809801, -0.0297462065, -0.0062202839, -0.0271527898, 0.0051853345, -0.026095435, 0.0316391364, 0.0307941139, 0.0102626625, -0.00052176, 0.0392211638, -0.0872151926, 0.0139758913, -0.0076987715, 0.0421983339, 0.033919204, 0.0337734781, -0.0318906084, -0.0396536812, -0.0374724716, -0.0104462709, -0.010449484, 0.0147715406, -0.0074204169, -0.0203448758, -0.004873964, 0.0080659138, -0.0009609309, -0.0455928184, -0.0469656624, 0.0045648925, 0.0112813925, 0.004602022, 0.0275033079, 0.0445184112, -0.0027968921, 0.0014067703, -0.0155810798, -0.0019519539, -0.0211774204, 0.0252917949, 0.0039103269, -0.0039077783, -0.0614502393, 0.0150945261, -0.0139526511, 0.0005750765, -0.0312147066, 0.0030948627, 0.0494427755, 0.0100997305, 0.0019816828, 0.0829302445, -0.0056362194, 0.0790945888, 0.0046112062, 0.0419953391, -0.0274709929, 0.0135711739, -0.0237735026, -0.0126390113, -0.0027342273, 0.0451820046, 0.0200352129, -0.0696818009, -0.0067276428, 0.0240127295, 2.807e-7, 0.0575802699, 0.0296628848, 0.0314788856, 0.0839988813, 0.03950838, 0.0413948298, -0.0159529708, -0.0228113718, 0.0425788648, -0.0542566478, -0.0065404526, 0.0272768084, 0.032921277, 0.0458544157, -0.0458435342, 0.0011008692, -0.0379091315, -0.006457468, 0.0094593624, 0.0342426822, 0.1151878089, 0.0856813267, 0.0375647396, -0.0000738469, -0.0208054129, -0.0175106842, 0.0813524351, 0.0157956704, -0.0200246461, 0.0163474549, 0.0229442231, -0.0303145759, 0.0134498086, 0.0536297448, -0.006152858, 0.0320710689, -0.0177152678, 0.016038578, -0.0021402703, -0.0074936687, -0.0234873816, -0.0227532852, 0.0332237557, -0.0376933776, 0.0637023598, -0.0287316982, -0.0645587221, -0.0356290936, -0.0223096143, -0.0142475795, 0.0575041175, 0.0050738929, -0.0139499782, 0.00528388, 0.002289416, 0.0060856757, 0.0241431072, -0.0790305734, -0.0007512518, -0.0131631065, -0.0323217213, -0.0364082903, 0.0276683196, 0.0433676913, 0.0679902807, -0.0734390318, 0.0108905258, 2.71919968e-34, 0.0798650905, 0.007605629, -0.0344604142, 0.0129402373, 0.0210335422, -0.0057416372, -0.0118026845, 0.0293185972, 0.0455703437, -0.0707264245, -0.0075705289 ]
http://arxiv.org/abs/2407.00993v1
http://arxiv.org/pdf/2407.00993v1
Mobile-Bench: An Evaluation Benchmark for LLM-based Mobile Agents
2024-07-01T06:10:01
2024-07-01T06:10:01
Shihan Deng, Weikai Xu, Hongda Sun, Wei Liu, Tao Tan, Jianfeng Liu, Ang Li, Jian Luan, Bin Wang, Rui Yan, Shuo Shang
cs.AI
cs.AI, cs.CL
With the remarkable advancements of large language models (LLMs), LLM-based agents have become a research hotspot in human-computer interaction. However, there is a scarcity of benchmarks available for LLM-based mobile agents. Benchmarking these agents generally faces three main challenges: (1) The inefficiency of UI-only operations imposes limitations to task evaluation. (2) Specific instructions within a singular application lack adequacy for assessing the multi-dimensional reasoning and decision-making capacities of LLM mobile agents. (3) Current evaluation metrics are insufficient to accurately assess the process of sequential actions. To this end, we propose Mobile-Bench, a novel benchmark for evaluating the capabilities of LLM-based mobile agents. First, we expand conventional UI operations by incorporating 103 collected APIs to accelerate the efficiency of task completion. Subsequently, we collect evaluation data by combining real user queries with augmentation from LLMs. To better evaluate different levels of planning capabilities for mobile agents, our data is categorized into three distinct groups: SAST, SAMT, and MAMT, reflecting varying levels of task complexity. Mobile-Bench comprises 832 data entries, with more than 200 tasks specifically designed to evaluate multi-APP collaboration scenarios. Furthermore, we introduce a more accurate evaluation metric, named CheckPoint, to assess whether LLM-based mobile agents reach essential points during their planning and reasoning steps.
Mobile-Bench: An Evaluation Benchmark for LLM-based Mobile Agents: With the remarkable advancements of large language models (LLMs), LLM-based agents have become a research hotspot in human-computer interaction. However, there is a scarcity of benchmarks available for LLM-based mobile agents. Benchmarking these agents generally faces three main challenges: (1) The inefficiency of UI-only operations imposes limitations to task evaluation. (2) Specific instructions within a singular application lack adequacy for assessing the multi-dimensional reasoning and decision-making capacities of LLM mobile agents. (3) Current evaluation metrics are insufficient to accurately assess the process of sequential actions. To this end, we propose Mobile-Bench, a novel benchmark for evaluating the capabilities of LLM-based mobile agents. First, we expand conventional UI operations by incorporating 103 collected APIs to accelerate the efficiency of task completion. Subsequently, we collect evaluation data by combining real user queries with augmentation from LLMs. To better evaluate different levels of planning capabilities for mobile agents, our data is categorized into three distinct groups: SAST, SAMT, and MAMT, reflecting varying levels of task complexity. Mobile-Bench comprises 832 data entries, with more than 200 tasks specifically designed to evaluate multi-APP collaboration scenarios. Furthermore, we introduce a more accurate evaluation metric, named CheckPoint, to assess whether LLM-based mobile agents reach essential points during their planning and reasoning steps.
[ 0.0231564045, 0.0004117066, -0.0307853594, -0.0046719583, -0.050021898, 0.0085118078, 0.023778785, -0.0074910023, 0.0402196199, -0.02895982, -0.0402508378, -0.0479005724, 0.0146874841, -0.0229895245, -0.0312577598, -0.0135383364, 0.0212078597, -0.0254906379, -0.0074747242, 0.0135778608, -0.0116657978, -0.0113462964, -0.011725137, 0.0809652731, -0.0093798302, -0.0222975072, -0.022559071, 0.0151617713, -0.0006464649, -0.0663108155, -0.0453608781, 0.0444769822, 0.0141675724, 0.0085757039, 0.0000021505, -0.0457775891, 0.0145140579, -0.0175160263, -0.0166799538, -0.0182895306, 0.0293821301, 0.039698083, -0.0189910475, 0.0461063422, -0.0478068925, 0.0345791243, 0.003126933, 0.0024021247, 0.0256902929, 0.0432481617, -0.0004917656, 0.055483792, -0.0160927139, -0.0041011022, 0.0219037347, -0.0865674093, -0.0210843347, -0.0155546991, 0.0598154739, -0.0216533057, 0.0371514857, 0.0017635575, 0.0563878343, 0.0137876887, -0.0518178865, 0.0147362007, -0.0439744107, -0.0513508096, -0.0177528895, 0.0581183359, 0.008890355, 0.0145530077, 0.0279044751, 0.0150987422, -0.0205568392, 0.0077759945, -0.0285660382, -0.002826937, -0.0317977667, -0.0238676406, -0.0167047475, 0.0080062384, 0.0551941581, 0.0011246407, -0.0292827561, 0.088085033, -0.0065326053, -0.0196425226, 0.0137912938, -0.0093620094, 0.0077283452, -0.0652934536, 0.0397168696, 0.0478049815, -0.1039388031, 0.0129325716, -0.0074636252, 0.0083271973, -0.0070768176, -0.0427740365, 0.0478138775, 0.0383241475, 0.0016581285, 0.0352581181, 0.0185190924, 0.07510297, 0.0174436904, -0.002640188, -0.0259537678, 0.0104743298, -0.0615601577, 0.0170367546, -0.0041660806, 0.0214248858, -0.0521757677, -0.0389145538, -0.0120628309, 0.054454159, -0.0113273831, 0.0358186476, 0.0061161993, 0.0042922227, 0.003103364, -0.0171228368, -0.041348584, -0.0276494659, -0.065353483, 0.0322762616, 0.0260819495, -0.0998205841, 0.0332949124, -0.0254540127, -0.0100267669, -0.0147293815, -0.0223704968, 0.0685759783, -0.0082241185, -0.037884634, -0.0276393015, -0.0312841535, 0.0194770843, -0.0936618075, -0.0444943942, -0.0647821724, 0.0543844625, -0.0017212314, -0.0273323115, -0.0278946962, 0.0339294821, 0.0103784315, 0.0007351057, 0.0596194342, 0.0314631499, 0.0490840785, 0.0264448747, 0.0475537218, -0.0571119487, 0.0500409231, 0.0437225662, 0.0845814049, 0.036764428, 0.0204500984, 0.0358659886, 0.0472728945, -0.0340879075, 0.0084185787, 0.0363405421, 0.0129813245, -0.0177767295, 0.0434545688, -0.0642667636, 0.0473423563, -0.0143418331, 0.0185662247, 0.0934697688, 0.0936192125, 0.0087342048, -0.0409765765, 0.0011927615, 0.035940405, 0.0102981012, -0.0373998843, -0.0662687495, 0.036388427, -0.0317879245, -0.0169760007, 0.0385295823, 0.0241919179, -0.0262045264, -0.039484527, -0.0042788126, 0.0021043294, 0.0175673552, 0.0013699852, 0.0184309538, -0.0192218944, -0.0400141776, 0.0188835021, -0.0198049694, -0.0259213671, -0.032125406, -0.0648799166, 0.0273102596, 0.0759759545, 0.0590781346, -0.0164005309, -0.0519079044, 0.0321042873, 0.0049822577, 0.0021361122, 0.0422019772, -0.0129292849, 0.0450198948, -0.0220376011, -0.0402924269, 0.0171554219, 0.0207639188, 0.0270424336, 0.0375007689, 0.0329995081, 0.0083130961, -0.0525582656, 0.009249893, 0.0125728045, -0.0082085775, -0.0218204707, 0.0012338246, 0.0314569958, 0.0403476171, 0.0173452515, 0.0045791534, -0.0079925433, 0.0350830518, -0.0127222734, 0.0196668729, 0.0294472557, -0.0079049524, 0.0095207104, 0.0207008012, 0.0185662191, 0.0009148882, 0.0544313863, 0.0046149567, -0.029544754, 0.0058887852, 0.0040591802, 0.0093389768, 0.0093994197, 0.072594136, -0.0062957574, -0.0269089267, 0.0228994638, 0.0380199738, -0.0060639745, -0.0018059987, 0.0427160859, 0.0397051796, 0.0141007779, -0.008109469, 0.0074021379, 0.0246013384, -0.005821845, 0.0166634452, 0.0143537326, 0.0038089755, -0.0394794606, -0.0400185771, -0.1206264198, 0.0248897038, -0.0403448232, 0.0137963276, 0.018225126, 0.0444259569, 0.0084723122, -0.0101256892, 0.0109688193, 0.0300701428, 0.0151337096, 0.0629484206, -0.0154053373, 0.0055089239, -0.0536768809, -0.0569945313, 0.0409275331, 0.0094665242, -0.0073786117, -0.0092515135, -0.0103979567, 0.0054882849, -0.0286894143, -0.0371946134, 0.0043232399, -0.0295339935, -0.0386384241, 0.08886417, -0.0293368865, -0.0024026141, 0.0397059247, 0.0023489799, 0.0316193476, 0.0365773663, -0.0474043265, -0.0632809177, 0.0284425337, 0.0019989028, -0.0116703007, -0.063077271, -0.0332600065, 0.0297725741, 0.0589070618, -0.0387047306, 0.0472424552, -0.028314678, -0.0192347169, -0.0111000407, -0.0548974313, -0.0131018469, 0.0385274626, -0.0472874306, 0.0608335696, -0.0375208147, -0.0430493206, 0.039472051, -0.042481821, 0.0114459051, 0.0057668434, -0.0173225086, -0.0201524962, 0.1282410622, -0.0108507909, -0.0046936963, -0.0619041733, -0.0266586281, -0.0129237808, 0.0020403268, -0.0240449402, -0.0507662185, 0.0235571004, -0.0956587419, -0.0063341619, 0.0044896877, -0.0450107306, -0.003205478, -0.0037661497, -0.0552580729, -0.0079018101, 0.0074118413, -0.0424002148, -0.045241151, 0.0075466083, 0.0260626804, 0.0614195578, -0.0077479254, -0.0145488642, -0.0127185173, -0.0393017381, 0.0075124465, 0.0466342941, -0.0260059386, -0.0136089902, 0.0612661913, 0.0308721829, 0.068402499, -0.0212892499, -0.0276518278, 0.0083966423, 0.0203075744, -0.0121417819, -0.0285595879, 0.0831373408, 0.0617930219, -0.0635587499, 0.0097658224, 0.1036838964, 0.0420926586, -0.0237234253, 0.0205839016, -0.0417285301, -0.0001454667, 0.0151212737, 0.0248005912, -0.0417424142, -0.060733553, 0.0212703738, 0.0005403289, 0.00990739, -0.0416365452, 0.0006987543, -0.0878216252, 0.0159719046, -0.0131614134, -0.0098903654, 0.0371928662, -0.0492570363, 0.0224213991, 0.0128134787, 0.0070178295, 0.0086448696, 0.0393478088, -0.0236161668, -0.0326801538, -0.067940034, -0.0345440321, 0.0731349885, -0.0319805443, 0.0265690349, 0.0725046992, 0.0538336262, 0.029252246, -0.0367104188, 0.0192996692, 0.0324400812, 0.0420750305, -0.00675603, -0.0121189579, 0.0054078978, 0.0240578279, -0.0025362696, -0.0000116625, -0.0426425487, -0.021872472, 0.0416094437, 0.0785544142, -0.0419322886, 0.005759499, -0.0237153526, -0.0089750793, 0.0350472815, 0.0404763445, -0.0042289067, -0.0380861536, -0.0704434589, -0.0191398431, -0.0389085077, -0.0496882536, 0.006741059, 0.0068730484, 0.0084893303, -0.0037813629, -0.0465977415, -0.0590331964, 0.0563939102, 0.0244194157, 0.0103235701, 0.0356105976, 0.0088082943, 0.0348525234, 0.0005053269, -0.0054236143, 0.0046795262, 0.06406679, -0.0304497946, 0.0219887774, 0.0046331426, -0.0410636514, 0.031934876, -0.0080362651, -0.0793386698, -0.0550781302, 0.0042216699, 0.0342847854, 0.0295184031, 0.0039860401, -0.0376056805, -0.0482951328, 0.0071830475, 0.0324884616, -0.070529215, 0.0319860503, -0.0018172732, 0.0064096479, -0.0036424105, 0.0395792499, -0.0811040103, 0.0243576448, -0.0341157727, 0.0752084777, -0.0686620325, -0.0422731116, 0.0031009438, 0.0077417823, 0.0109924963, 0.0165471472, -0.0262800325, 0.0145386867, 0.0313649997, -0.0047461623, -0.007862363, -0.0504597127, -0.0184683185, -0.0099815167, 0.0071319384, 0.0412111133, 0.0299934912, 0.0060493178, -0.0080168601, 0.009065765, 0.0181481969, 0.0008595114, 0.0081175882, 0.0311381966, 0.0144161778, -0.0230490193, 0.015997991, 0.0024265067, 0.0385575891, -0.0165933464, 0.0437217876, -0.0245644767, -0.0098877084, -0.0076752868, 0.0597055294, -0.0757076889, -0.0778633058, 0.057026159, 0.0391841754, 0.0408533625, 0.0118257552, 0.0481330864, -0.0494236015, 0.0325193517, -0.066233255, -0.0158983357, -0.0072975392, -0.0333662145, 0.0031783299, 0.0295773353, -0.0018877243, 0.0069220811, 0.0539442375, -0.034284845, 0.0208941326, -0.0145140579, -0.0444936864, -0.04383827, -0.0416347794, 0.0029476844, 0.0279524568, -0.0155627402, -0.0338601731, -0.058254689, -0.0158292148, -0.0035653657, 0.0362523049, 0.0061077457, -0.0743273422, 0.0042768787, 0.0582045503, 0.0173970368, -0.0067983819, -0.0658144653, -0.0761691779, -0.0625135973, 0.0203677323, -0.0161627382, -6.021209367e-33, -0.0269588381, -0.0383501574, 0.0600778908, -0.0477595218, -0.0176135115, -0.0236936249, -0.0557976998, 0.0104371971, -0.0130147664, -0.0146623431, -0.0612345487, 0.011132461, 0.0132741043, -0.02362106, -0.0051150173, 0.0212480761, 0.0264530368, 0.0057841521, -0.0741972178, -0.015631577, 0.0045668422, -0.0004476234, -0.0218037944, -0.0324973874, -0.0126882503, -0.0023989589, -0.0101754824, -0.0005364203, -0.0096611278, 0.0487342291, 0.0140145794, -0.0035380372, 0.0430075005, -0.0223865155, -0.0112110944, 0.0157258604, -0.009848576, -0.0442401506, 0.0102801239, 0.0256161094, -0.0579138547, -0.0061079515, -0.0113927564, 0.0425961912, -0.057425756, 0.0168618076, -0.0001850873, -0.0214330703, -0.0460671857, 0.0295891762, -0.0353758149, 0.0167066064, 0.0263720434, -0.0405501835, 0.0112069603, 0.0386193134, -0.0543756299, -0.0221724827, -0.0492224619, 0.0135864234, -0.043891523, 0.0113772126, 0.0689176545, 0.0320303291, 0.0250858162, 0.0700967312, 0.0339349806, 0.054567121, -0.0469448119, -0.0078815622, -0.0123939924, 0.1152413487, -0.0078190314, 0.0230733063, -0.0016725837, -0.0039151772, 0.000484215, 0.0604134202, 0.052050475, 0.023908006, 0.0235984493, 0.0238219369, -0.0349565819, -0.0017310833, -0.0510141402, 0.0681279302, -0.0323457159, -0.0346957073, 0.0645585433, 0.0339694284, 0.0204984378, -0.0205059778, 0.0367549583, 0.0085191624, 0.0028673129, -0.0276482422, -0.009704574, 0.0311784111, 0.0006872575, 0.0111785093, -0.0677332208, -0.0140044438, -0.0141686145, 0.0206569918, 0.0566186048, 0.0136349695, -0.035951443, 0.0358333662, -0.0236567669, -0.0186593384, -0.0463665947, 0.005583039, -0.0107681202, -0.0097714094, 0.0780698881, -0.0528091565, -0.0200898107, 0.0653909221, -0.0481511392, -0.0531590246, -0.0202589575, -0.0303277988, 0.0161039289, -0.0246658362, -0.0232813619, -0.0109523889, -0.0938727185, 0.0148690967, 0.0276100691, -0.0050973487, -0.0231670514, 0.0098514929, 2.977e-7, -0.0479412042, 0.0040106387, -0.0157769341, 0.0551618524, 0.0106158108, 0.0533188693, -0.0364287384, 0.0101360362, -0.0168659221, -0.0148470132, 0.0338214673, 0.0427453555, 0.0733411759, 0.0502695777, -0.0369430296, -0.0172617063, -0.0301588997, 0.0186002608, -0.0542711653, -0.0018631831, 0.0291161519, 0.0249693412, 0.015161504, -0.0013209326, 0.0148360133, -0.0477778912, 0.0179326423, -0.0589103624, 0.0039792475, 0.0044647744, 0.0177528001, 0.0066928072, -0.0251225252, -0.0017160953, -0.0155225117, -0.0125940386, -0.0182330161, 0.0633843914, -0.0008430827, -0.0303491373, -0.0014768483, -0.0464370437, -0.0091123627, 0.0031148377, 0.0605075806, 0.0084585315, -0.0165179465, 0.0301804505, 0.0155862421, -0.0147443116, -0.0352544747, 0.0270261765, 0.0024425408, 0.0046045184, -0.0051773395, -0.0100900652, -0.010678065, -0.0663236156, -0.0091924593, -0.0091632782, -0.01538538, -0.0792730227, -0.094034113, 0.0401860923, -0.0106814671, -0.0320642665, -0.0057407436, 2.335261184e-34, 0.0053610834, -0.0124381529, 0.0256276391, 0.0226705875, 0.0496496893, 0.0202489309, 0.0042120665, 0.025273798, 0.0311253779, -0.0540330671, 0.0061880876 ]
http://arxiv.org/abs/2407.00981v1
http://arxiv.org/pdf/2407.00981v1
VisEval: A Benchmark for Data Visualization in the Era of Large Language Models
2024-07-01T05:35:30
2024-07-01T05:35:30
Nan Chen, Yuge Zhang, Jiahang Xu, Kan Ren, Yuqing Yang
cs.HC
cs.HC, cs.CL
Translating natural language to visualization (NL2VIS) has shown great promise for visual data analysis, but it remains a challenging task that requires multiple low-level implementations, such as natural language processing and visualization design. Recent advancements in pre-trained large language models (LLMs) are opening new avenues for generating visualizations from natural language. However, the lack of a comprehensive and reliable benchmark hinders our understanding of LLMs' capabilities in visualization generation. In this paper, we address this gap by proposing a new NL2VIS benchmark called VisEval. Firstly, we introduce a high-quality and large-scale dataset. This dataset includes 2,524 representative queries covering 146 databases, paired with accurately labeled ground truths. Secondly, we advocate for a comprehensive automated evaluation methodology covering multiple dimensions, including validity, legality, and readability. By systematically scanning for potential issues with a number of heterogeneous checkers, VisEval provides reliable and trustworthy evaluation outcomes. We run VisEval on a series of state-of-the-art LLMs. Our evaluation reveals prevalent challenges and delivers essential insights for future advancements.
VisEval: A Benchmark for Data Visualization in the Era of Large Language Models: Translating natural language to visualization (NL2VIS) has shown great promise for visual data analysis, but it remains a challenging task that requires multiple low-level implementations, such as natural language processing and visualization design. Recent advancements in pre-trained large language models (LLMs) are opening new avenues for generating visualizations from natural language. However, the lack of a comprehensive and reliable benchmark hinders our understanding of LLMs' capabilities in visualization generation. In this paper, we address this gap by proposing a new NL2VIS benchmark called VisEval. Firstly, we introduce a high-quality and large-scale dataset. This dataset includes 2,524 representative queries covering 146 databases, paired with accurately labeled ground truths. Secondly, we advocate for a comprehensive automated evaluation methodology covering multiple dimensions, including validity, legality, and readability. By systematically scanning for potential issues with a number of heterogeneous checkers, VisEval provides reliable and trustworthy evaluation outcomes. We run VisEval on a series of state-of-the-art LLMs. Our evaluation reveals prevalent challenges and delivers essential insights for future advancements.
[ -0.0044863559, 0.0741500556, -0.0195968971, 0.0532815345, -0.027711207, 0.0077438857, -0.0153345903, 0.0220320169, 0.0246453304, -0.0163843427, 0.0013247028, -0.0002583045, -0.0037980101, 0.047530584, 0.0002086419, -0.0525580943, 0.0238035601, -0.0167625882, -0.0097193457, 0.0368389785, -0.0077541019, 0.0006292729, 0.0029841608, 0.0243073907, -0.0446617194, -0.0460329913, -0.0075491788, -0.0002541056, 0.0139420666, -0.0691783205, -0.0576103255, 0.0408876725, 0.0358923711, 0.0492639616, 0.0000024923, -0.045199398, -0.0061507705, 0.0083946073, -0.006353566, 0.0622988231, 0.0335703343, -0.0506182685, 0.0231370386, -0.0047347965, -0.0444838293, -0.0492880046, 0.0187980719, 0.0593370013, 0.1019375026, 0.0255990718, -0.0223170556, -0.0342796445, -0.0043153483, -0.0114138285, -0.0185282044, -0.0509379506, -0.0116629424, 0.0380384438, -0.0160524007, 0.0155442702, -0.036228843, 0.0465716943, 0.0052434695, -0.0376473553, 0.0069882534, 0.0092716431, -0.0326701142, -0.0134691494, -0.0162575506, 0.0963529199, -0.0466141142, 0.0061943857, -0.0271243155, -0.0307628475, -0.0171880629, 0.0035108773, -0.0353276059, 0.0125299813, 0.0140828881, 0.0324562974, -0.0290672164, 0.0216764137, 0.0434006564, -0.0246545896, -0.0372495502, 0.0228986815, -0.0019390862, 0.0033636731, 0.0312265418, 0.0014957949, -0.041161634, -0.0209448338, -0.0022570419, 0.0115081901, -0.0659436509, 0.0137866484, -0.0127670188, -0.0447229184, 0.0252793785, -0.0422113463, 0.0856694877, -0.0071626636, -0.037697956, 0.0703094825, -0.0180248059, 0.0435239375, -0.0054326062, 0.0238718074, -0.0020203139, -0.0150089683, -0.0192896873, -0.0016846228, -0.0458512306, -0.0294601861, -0.059417434, -0.0292009413, -0.0259921569, -0.0113322195, -0.027331138, 0.0234718565, 0.0075603588, 0.0234626736, 0.023305364, 0.0084676016, -0.0796771571, -0.0008890957, -0.0421344154, 0.0292293485, -0.0268613398, -0.0507576391, 0.0095168622, 0.0249354076, 0.0255502369, -0.0189247429, -0.0043529291, 0.0638171285, 0.0128330942, -0.0034063575, -0.0530786552, -0.02937489, -0.0293472894, -0.0348801278, 0.009235736, -0.0593976341, 0.0446178503, -0.0128411688, 0.0230971966, -0.0275598876, 0.0048614936, 0.0266729612, -0.0347418115, 0.0957438946, -0.048653353, 0.0022726823, -0.050654307, -0.019652063, 0.0434377417, 0.0557366572, 0.0461055003, 0.0301330835, 0.0269740894, -0.0525860302, -0.0023339998, 0.0442698188, 0.009698296, -0.0018831611, -0.0557601042, 0.0176197477, -0.0087863328, 0.045136895, -0.0025249319, 0.0571319535, -0.0179932714, -0.0151082315, 0.0313548371, 0.0631271303, 0.0495659076, -0.0027406225, 0.0318050049, 0.0544158965, 0.0235414375, -0.0499678291, -0.0086436048, 0.0059137573, -0.0129003264, -0.0074893325, 0.0044029071, 0.0222395621, 0.0151613671, -0.04686689, -0.0247395597, 0.0159421023, 0.0034801597, -0.0222265795, 0.0324625149, 0.0376969948, -0.0291915275, 0.0174667314, 0.0286777429, -0.062685132, -0.0056325379, 0.0106801586, 0.0134056052, 0.0632750392, 0.0536160246, -0.0079482971, 0.0256634559, 0.0043187612, 0.0302040894, 0.0626448095, 0.0458915457, 0.0194654111, 0.0086596292, -0.0361628495, -0.0553781465, -0.0134691624, 0.0133876549, 0.0015713931, 0.0156611651, 0.0193236023, 0.0170046091, -0.083040297, -0.0820391402, 0.0377274789, 0.0161913391, -0.0113324756, 0.0238120481, 0.0012928479, -0.0053380136, 0.0235910267, -0.0359463319, 0.0231908578, 0.059556067, -0.013432364, 0.0117715746, 0.0185935628, 0.0081154732, -0.041142378, 0.0089265285, -0.0826847479, -0.0234086644, -0.0013670018, -0.0529980771, -0.0213605352, -0.0229966678, -0.0470368639, 0.0001839578, 0.0041629607, 0.0130712241, -0.0097397333, 0.0133293439, -0.0351223908, 0.0472894013, -0.0083317757, 0.0202205647, 0.0000840782, 0.0046849754, 0.0179901849, 0.0000059769, -0.0055272612, -0.0016618993, 0.0088339811, 0.0197016597, -0.0038109438, 0.0161054879, -0.0589446686, 0.018660387, -0.0799288005, 0.0044629346, 0.0056912703, 0.0030910356, 0.017907992, -0.0227687191, -0.0274465922, -0.0239846855, -0.0366105027, 0.0210468601, 0.0267001651, -0.0093547627, 0.0584469102, -0.0302253682, 0.0254222471, -0.0310734361, -0.0056767776, -0.015099097, 0.054860197, 0.0442456715, -0.0030457161, -0.0076705404, 0.017908385, 0.0036034428, 0.0122758485, 0.0076911431, 0.0265135784, 0.0358947888, -0.0092628151, 0.0219177343, -0.0029773281, 0.0158350766, 0.0317354575, 0.0501006022, -0.0284116529, -0.056161765, 0.0224443041, -0.0146854362, 0.0256059393, -0.0264418349, -0.0439577214, 0.0339204036, 0.0299178045, 0.0143585689, 0.0161573067, -0.0388654135, 0.0276294779, -0.0122357858, -0.0066196946, -0.0837814137, 0.0048950049, 0.0167169459, 0.0479925424, -0.018159939, -0.0587182902, 0.019658884, -0.0530141369, 0.0335303172, -0.0135487961, 0.0103374114, -0.0571133755, 0.1044058129, 0.0362898931, 0.0044132797, -0.0327268131, -0.0118612228, 0.0071626497, -0.0005140031, 0.0177902617, -0.0379816741, 0.0462602265, -0.0687940866, -0.0171155781, -0.0030874577, 0.0137363588, -0.0278686713, -0.0278579947, -0.0378191471, -0.0330422632, 0.0774271712, -0.0305737872, -0.0339679196, 0.0102939429, -0.0000726883, -0.0039128442, 0.0091719562, -0.0286250189, -0.028688686, 0.0096793231, 0.0250215661, 0.0268710516, 0.0130379889, -0.0217472166, 0.0170908235, 0.0275523532, -0.0287315771, 0.0178061128, -0.0547913313, 0.0181288756, -0.0032400177, 0.0175199453, 0.0136752706, 0.0032872166, 0.0394598134, -0.0501672365, 0.0067792688, 0.1052917615, 0.0388842449, -0.0178883709, 0.0249048248, 0.0135549111, 0.0283098165, 0.0195895694, 0.0103085842, -0.1134283468, -0.0298897587, -0.0304731987, 0.0089611504, 0.0411311276, -0.0590962954, -0.0099632749, -0.1404935718, 0.0764830261, 0.0006280674, -0.0212423839, -0.0071700853, -0.0767446086, -0.0205261875, -0.0499547906, 0.0222103652, -0.0272691809, -0.0134593127, -0.0000761254, -0.0011276198, -0.0376632176, -0.0199862402, 0.0310855247, -0.0660102367, -0.0011152842, 0.0210702959, 0.0743187666, -0.0215472467, -0.0371073149, 0.0057133697, 0.0314983465, 0.0253854375, -0.0105084265, 0.1036717892, 0.0430776775, -0.0388393179, -0.0469616093, -0.0329526626, 0.0046882997, -0.00789895, 0.0243893657, 0.0597282648, -0.0204844158, -0.0288720112, -0.0353774801, 0.0088679232, -0.01603131, 0.0733344853, 0.0463678539, -0.0279400256, -0.058423534, -0.0294860434, 0.015718516, -0.0527302437, -0.098030597, 0.0195551645, -0.0123256063, -0.018205706, -0.0516911149, -0.009463137, 0.0484554209, 0.0380418301, 0.0227115452, 0.0139115099, 0.0209805556, -0.0349085666, -0.0348325931, 0.0566628948, -0.058178734, 0.0259395353, -0.0267914496, 0.0114932433, 0.0069954055, 0.0107962135, -0.0035949436, 0.0276713334, -0.0567918718, -0.0150791015, -0.0142352469, -0.0043005664, 0.0092988806, 0.0265464205, -0.025823731, -0.0542809777, 0.0530856289, 0.0690703765, -0.0286564473, -0.0578411967, -0.0416952595, -0.009040202, 0.0051506818, -0.0015933121, 0.0093994662, -0.0020703836, -0.0208117776, 0.0427629538, -0.0154243885, -0.0183075592, 0.0347016342, 0.0424430817, 0.047410246, 0.0138817644, -0.0273872521, -0.0111015709, -0.0249556154, -0.0656130984, -0.0470764562, -0.0303360336, 0.016967874, 0.0517269596, -0.038011387, -0.0050669457, 0.052438356, 0.0064189699, 0.0060586524, -0.0580593832, 0.0231923591, 0.017717341, -0.0179124717, 0.0262885466, 0.0142815523, 0.0110916421, 0.0178667977, -0.0219510812, 0.0559521988, 0.0363021903, 0.009689494, 0.0056480048, -0.0082716467, -0.0140095027, 0.0284195412, -0.0305151213, -0.0644219518, 0.0186100248, 0.0223963149, 0.0419103317, -0.035699781, 0.0863610432, -0.0215505753, 0.0008702528, -0.0186390541, 0.0256593395, 0.0038995901, -0.0097785378, 0.0347289629, 0.0043110792, -0.0375779346, -0.0396740623, 0.0501407497, 0.0120108491, 0.0267170016, -0.009272038, -0.0329281576, -0.0503421314, -0.0039443481, 0.0190104004, 0.0005494104, -0.0260615405, -0.0095022246, -0.0679466724, -0.0784777701, 0.0053069568, 0.0089046024, -0.0033397733, 0.0279418584, 0.0241262224, 0.0480738431, 0.0361225903, 0.0022704385, -0.0246030893, 0.0270489473, -0.0266570374, -0.0592741817, -0.0248569716, -7.011871557e-33, -0.0210407302, -0.0737223923, 0.0271531604, -0.0674137846, -0.0011600457, -0.0031274876, -0.0320465825, 0.0098969778, -0.029240001, 0.033457458, -0.0066729598, 0.0152276279, 0.0110954139, 0.0324032791, -0.0031473371, -0.0169948377, 0.046317149, 0.0093699154, -0.0394956693, -0.0035926944, 0.0118564209, 0.0113532897, 0.0281524006, -0.0878193229, 0.0242661666, 0.0543263145, -0.0294086877, 0.019666465, -0.009088628, 0.0312853269, -0.0369751118, 0.0495045893, 0.0131746167, 0.0033652568, -0.0477392897, -0.006408358, -0.0434230901, -0.0315761082, 0.0149542317, 0.036978025, -0.0669139698, -0.0040918128, 0.0613100082, -0.0006446228, -0.0331167132, -0.0153255332, 0.0499839261, -0.0278089624, -0.0252856296, -0.0084831323, -0.0356126614, 0.0483191907, -0.0446392745, 0.0019842992, 0.021016119, 0.0434405357, -0.0028854585, 0.0544300228, -0.0914976001, 0.0585365631, 0.0644698367, -0.031321425, 0.0701814219, -0.0080429902, 0.0345624872, 0.0898923874, 0.0301271062, -0.0049956432, -0.0309637059, 0.0453056581, 0.0242898818, 0.102820918, 0.0670751482, 0.0250041597, 0.013708666, 0.0074815289, -0.0618336201, 0.0390870348, -0.0540689491, 0.0308434553, -0.0075217937, -0.0065917103, -0.048831895, -0.0333218239, -0.0720306784, -0.0035006891, -0.0301647503, 0.0093329353, 0.0386225209, -0.0347191282, 0.0020131203, 0.00082285, -0.0138819739, -0.0343725346, -0.0543573797, 0.0258271042, -0.0082668187, 0.0111460695, -0.000146572, 0.0066438066, -0.0071588713, 0.0050233393, 0.0126798991, -0.0001113763, 0.0227270089, 0.0114100724, 0.0379902832, -0.0154873356, -0.0907349065, 0.0166763905, -0.0127575314, -0.0360578485, 0.0149448048, -0.0016054343, 0.0498718768, -0.0336006768, -0.0235219393, 0.0679115355, 0.0211837478, 0.0183641855, 0.0129573429, -0.0294973254, -0.0153713459, 0.0041434774, 0.0083229952, -0.0084147379, -0.052456513, -0.0198894013, 0.0751066431, -0.0565021969, -0.0266740527, -0.0112033132, 2.984e-7, 0.0864494964, 0.080966197, 0.0391330644, 0.0672424361, -0.0074690096, 0.0329946056, -0.0110107241, 0.0100061558, -0.0105648171, -0.0010864324, -0.0223300382, 0.0359861925, 0.0487338379, 0.0571910404, -0.0263063591, -0.0048044538, -0.0698710009, -0.047409445, -0.0705294982, 0.0072576026, 0.1068421975, 0.0652967021, -0.0086012958, -0.0261891261, 0.0158706624, -0.0593619868, 0.0346138291, -0.06669911, -0.0253426675, 0.0165371522, 0.0263570044, 0.0314030536, 0.0176252201, 0.0112250587, 0.0027462591, -0.001570829, 0.0028068416, 0.0300442372, 0.0247997325, 0.0371857285, -0.0095994426, -0.0370348059, 0.0042927279, -0.0371012054, 0.0847374052, -0.0399098769, -0.0401836522, -0.0257643536, -0.0029264137, -0.0168629158, 0.0850145891, -0.0187161323, -0.0104859788, 0.0048514232, 0.0119461324, -0.0043996489, -0.0260108579, -0.0019438918, -0.0377501696, 0.0147010554, -0.0017880048, -0.0101723252, -0.0392772555, 0.0315936394, 0.0092235459, -0.0185124464, 0.0158877075, 2.825354396e-34, 0.0552730598, 0.0089552216, 0.0460938364, -0.0260118227, 0.0840310976, -0.0055506723, -0.0000709174, 0.0018626215, -0.0174567532, -0.104237847, 0.0071980497 ]
http://arxiv.org/abs/2407.00958v1
http://arxiv.org/pdf/2407.00958v1
Universal Approximation Theory: The basic theory for large language models
2024-07-01T04:29:35
2024-07-01T04:29:35
Wei Wang, Qing Li
cs.AI
cs.AI, cs.CL, cs.LG
Language models have emerged as a critical area of focus in artificial intelligence, particularly with the introduction of groundbreaking innovations like ChatGPT. Large-scale Transformer networks have quickly become the leading approach for advancing natural language processing algorithms. Built on the Transformer architecture, these models enable interactions that closely mimic human communication and, equipped with extensive knowledge, can even assist in guiding human tasks. Despite their impressive capabilities and growing complexity, a key question remains-the theoretical foundations of large language models (LLMs). What makes Transformer so effective for powering intelligent language applications, such as translation and coding? What underlies LLMs' ability for In-Context Learning (ICL)? How does the LoRA scheme enhance the fine-tuning of LLMs? And what supports the practicality of pruning LLMs? To address these critical questions and explore the technological strategies within LLMs, we leverage the Universal Approximation Theory (UAT) to offer a theoretical backdrop, shedding light on the mechanisms that underpin these advancements.
Universal Approximation Theory: The basic theory for large language models: Language models have emerged as a critical area of focus in artificial intelligence, particularly with the introduction of groundbreaking innovations like ChatGPT. Large-scale Transformer networks have quickly become the leading approach for advancing natural language processing algorithms. Built on the Transformer architecture, these models enable interactions that closely mimic human communication and, equipped with extensive knowledge, can even assist in guiding human tasks. Despite their impressive capabilities and growing complexity, a key question remains-the theoretical foundations of large language models (LLMs). What makes Transformer so effective for powering intelligent language applications, such as translation and coding? What underlies LLMs' ability for In-Context Learning (ICL)? How does the LoRA scheme enhance the fine-tuning of LLMs? And what supports the practicality of pruning LLMs? To address these critical questions and explore the technological strategies within LLMs, we leverage the Universal Approximation Theory (UAT) to offer a theoretical backdrop, shedding light on the mechanisms that underpin these advancements.
[ 0.0239421986, 0.0249793548, -0.0301658511, 0.0507250316, -0.0506455675, 0.0270246733, -0.0018986656, 0.0255357567, -0.0257214494, 0.0062586349, -0.0591088459, -0.0841888934, 0.0269373301, -0.0072811972, 0.0031278026, -0.0200446025, 0.0274155326, -0.0311239976, -0.0460966788, -0.0321247391, -0.0111099929, -0.0236579217, 0.0126559194, 0.0706635639, 0.0116475774, -0.0044324095, -0.002369653, -0.0425882488, -0.0164602362, 0.0274322424, -0.0153165972, 0.0142837139, 0.0359088778, 0.0393738821, 0.0000020834, -0.0319424979, -0.0058868956, 0.0005662065, 0.0038100488, -0.0423188917, 0.0500750802, -0.0382299088, -0.0132309264, 0.0148809683, -0.0404087305, -0.0235061534, 0.0743539631, 0.0348798968, 0.0068781921, 0.0674707592, 0.0048472527, -0.0635232031, 0.050957825, -0.0207280908, -0.0227227975, -0.0472520031, 0.023390457, 0.0063359579, 0.0167005826, -0.0100977132, -0.0434422679, 0.0297263023, 0.0275854021, -0.0087328497, -0.0170772895, 0.0281128064, -0.0270302221, -0.0353221335, 0.0068626213, 0.0425588861, -0.0453021452, -0.0150436452, -0.0348551199, 0.0183078013, -0.0489478894, 0.0060881209, -0.0468216464, 0.0140849371, 0.0097362855, 0.0492231436, -0.0040471866, -0.0096890666, 0.0257512201, -0.0139214583, -0.0524302796, 0.0674286112, -0.009364414, -0.0035392933, -0.0007165871, 0.0088484138, -0.0290575307, -0.0276221484, 0.0278936923, 0.0539106093, -0.0118147498, -0.0354730561, -0.0276380908, 0.0220107306, 0.0002127176, -0.0389647074, 0.0233275276, 0.0494756252, 0.0108940834, 0.0209559239, 0.0014251631, 0.0738974735, -0.0514396243, -0.0216618758, -0.0381688438, -0.0144442106, -0.0382296965, -0.0152226677, -0.0275447499, 0.0494508073, -0.0554181524, -0.0303951111, -0.0178229026, 0.0285405107, 0.0130431699, -0.0050284513, 0.0124613605, -0.0012321912, -0.0375752449, -0.018668402, -0.0174568482, 0.0498911627, 0.0176683106, 0.0212160833, -0.0385172665, -0.0728304833, -0.0021763013, 0.0161782745, 0.0004715172, -0.0233691111, 0.011588484, 0.0872822776, -0.0013427932, -0.0381276831, -0.0202706289, 0.0084723812, -0.0273037665, -0.0513580143, -0.0139137832, -0.0734896734, 0.0239721108, 0.0166182518, -0.0004872541, -0.0136422906, -0.0138707999, 0.0040777242, -0.0457966067, 0.0557515547, 0.0012085497, 0.0257791113, 0.008430521, -0.0058178664, 0.0287769716, 0.0202634875, 0.0260990392, -0.0109264655, -0.0005824374, -0.0182797741, 0.0053852708, 0.0652184784, -0.0245064758, 0.0009720126, -0.0158748627, -0.0221462436, 0.0058556953, 0.021676017, 0.0402962565, 0.0617289767, -0.0488005504, -0.0344778709, 0.0968883187, 0.0570757017, 0.0590005219, 0.1148347408, 0.0266792569, 0.0206263103, -0.0077208932, 0.0192971621, -0.0343131684, 0.0250135045, -0.0265268236, 0.0023869264, -0.007279533, 0.0347056538, -0.0538429916, -0.0408418439, -0.0057331244, -0.0209940188, -0.000611843, -0.0244397279, 0.0340453573, 0.0139103159, -0.0133350985, 0.082746543, 0.0314558372, -0.0042605801, 0.0282565095, -0.0628656, -0.0001019083, 0.0258643404, 0.0461813956, -0.0305070989, -0.0078103174, -0.0032922926, 0.0070652142, 0.0670914128, 0.0105652064, 0.0102781979, -0.0198311415, -0.0226111375, 0.0164623, 0.0262233727, -0.0018061532, -0.0316451304, -0.008909028, 0.0129077472, -0.0390276834, -0.0032031236, -0.01244999, 0.0127665037, -0.0539285317, -0.0099208644, 0.0141191296, 0.0065644295, 0.0212520268, 0.01766132, -0.0370079093, 0.006509562, 0.0272873901, -0.0424354114, -0.0319940522, 0.0062996028, -0.0690293312, 0.0094621945, 0.041602686, -0.0215180181, 0.0571517311, 0.0360428467, -0.011853829, -0.0100888321, 0.0246702358, -0.0513394699, 0.084256202, -0.0331061296, 0.0424972661, -0.0290766768, 0.0406945348, -0.0178512745, 0.0421674773, -0.0148861967, 0.0272692982, 0.0123316823, 0.0042847507, -0.0052656578, -0.0340475067, -0.0432415977, 0.0342120714, -0.0034118309, 0.0215623789, 0.0410271063, 0.0173155963, 0.0063845213, -0.0556302629, -0.0623619743, -0.0201841928, 0.0084647387, 0.0333036296, 0.0082605518, 0.0383574478, -0.0020047557, 0.0007136088, -0.0058074151, 0.0350172222, 0.0238465071, 0.0095368354, 0.043968033, 0.0135274809, -0.0763614476, -0.0347086564, -0.0279151481, 0.0095871398, 0.0724468231, -0.0089143598, -0.0308885686, -0.0883649215, 0.0160292033, 0.0018924049, 0.0751246884, -0.0322668366, -0.0499427058, 0.0126032932, 0.0069256569, 0.0303633455, 0.052411031, 0.0096461615, 0.0203884337, 0.029908957, 0.0189017858, -0.0336819403, -0.0043700314, -0.1014372036, -0.0579142459, -0.0722912028, 0.0177873597, -0.0183591805, 0.113561146, -0.0034543648, -0.0114649748, -0.0316533186, 0.0307870414, 0.0034557304, -0.0228257328, 0.009121689, -0.0321964659, -0.0179035217, -0.0010550165, -0.0438392237, -0.0356371552, 0.0495448895, -0.0358618461, -0.0025006905, -0.0224229824, -0.022424804, -0.055759728, 0.0463397093, 0.0328282826, 0.0381677821, -0.0179133322, -0.0338171273, -0.0377834179, 0.0230597723, -0.0232757684, -0.0237786379, 0.078062512, -0.038544368, 0.0243615303, -0.0154042877, -0.0617101677, -0.0072575118, -0.0013028448, -0.0008846509, 0.0284522269, 0.0252580438, -0.0187562276, -0.0463790707, 0.0320216902, 0.0465578772, 0.0482415743, 0.0068222634, -0.0285498183, -0.0482879654, 0.06650161, -0.0098098703, 0.0248455368, 0.0436241552, 0.0227852985, 0.0731621534, 0.0390738174, 0.0152674485, 0.0347300991, -0.02401039, 0.0225104224, 0.0585593767, -0.0238271523, -0.0399267338, 0.0198827069, 0.0558465011, -0.0195675958, -0.0320891291, 0.1076605543, 0.0044839876, -0.0710089952, 0.032182727, -0.0336230807, 0.0074556558, 0.0357115306, 0.0188361779, -0.0756612942, -0.0056370464, 0.0032078635, -0.0095492937, 0.0002552584, -0.0481318794, 0.0165590998, -0.0858186334, 0.0123380125, 0.0360052288, -0.084443219, -0.0498923995, -0.0098043624, 0.0218886063, -0.0252225548, 0.0588556603, 0.0018914406, -0.0103589986, -0.0430565141, 0.0230154768, -0.0046454249, -0.0506174453, 0.0255361497, -0.0360751897, 0.0304358434, 0.0488421358, 0.025035385, -0.0231512096, -0.0399718098, 0.0299717132, 0.0266219117, 0.0227363426, -0.0116525739, 0.0035301214, 0.0356552489, -0.0151475295, 0.003975709, 0.0230942816, -0.0418945141, -0.0023220177, -0.0487139225, 0.0779139549, -0.0301094465, -0.0333106704, 0.0288398713, -0.0178430304, -0.000069056, 0.0361647084, 0.022472566, -0.0656357557, -0.0225172527, -0.0025189691, 0.0068580774, 0.0457785837, -0.0995986387, 0.0210859925, 0.0138357859, -0.0694805384, -0.0352897868, 0.0107746841, -0.0011985104, -0.0117724575, 0.0042456971, -0.0390509628, 0.0547449775, -0.0084351785, 0.0028148054, 0.0041044909, -0.053514652, -0.0098465187, -0.0412168019, 0.0394188203, 0.0423567705, -0.0627734214, -0.0357539617, -0.0084353136, -0.0804843977, -0.0415939987, 0.0235591345, 0.0214478523, 0.0309658833, 0.0421776101, -0.0137244891, -0.0917472839, 0.0416760072, 0.0799182057, -0.0568439737, 0.0487657562, 0.0064732078, -0.0107810255, 0.0182042345, 0.0467002578, -0.007423569, 0.0418651365, 0.0170680787, 0.0495198481, -0.0125203924, -0.0643844455, 0.0744132698, -0.0103123626, 0.0275634546, 0.0490767397, 0.0144542754, -0.0066739377, 0.0119704362, 0.0411432832, 0.0158595275, -0.0500755645, -0.0499833412, 0.0302531179, 0.0527458303, -0.0012471473, -0.0267256685, 0.0090303328, 0.0151940072, -0.0007295849, 0.003952886, 0.0546516813, 0.0298136044, 0.0388974547, 0.0258990806, -0.0285421424, 0.0004408138, -0.0158182532, 0.0277818274, -0.0244632177, 0.0405481495, -0.0062018107, -0.0136923976, -0.0382263213, 0.0144341737, -0.0598678477, -0.1097958237, -0.0297530554, 0.043552395, 0.0512155592, 0.0097017987, 0.0022691686, -0.0217518657, 0.0002867756, -0.0151469242, -0.0075027877, -0.0088235587, -0.019163426, 0.0186656769, 0.018476896, -0.013488167, 0.0080749216, 0.0623846725, -0.0374851525, 0.035001196, -0.0089710047, -0.0018825915, -0.0140320323, -0.0518980026, 0.012449408, 0.0000249949, -0.002281277, -0.0103370044, -0.0467242822, -0.04433579, 0.0103117749, 0.0167467296, 0.0042768377, -0.0532951429, 0.0245294776, 0.0551320016, 0.0009421231, -0.0187571235, -0.0040338589, -0.0051032603, -0.0038237919, 0.0049761306, 0.0100066578, -6.619061018e-33, -0.018626608, -0.0252773594, 0.0330246463, 0.0459678844, -0.0366680734, -0.0233963039, -0.006813922, 0.0021136662, -0.0424285233, -0.0265578907, -0.027510915, 0.0020717359, 0.006738551, 0.0267773103, -0.0158874784, -0.0074801515, 0.0294884983, -0.0025041464, 0.0036899066, 0.0069776331, 0.0033949453, 0.0041693179, 0.0659325272, -0.0373402499, 0.0045155799, -0.0139356125, 0.006882627, 0.0651529208, 0.0307233371, 0.060234841, -0.0781240836, 0.0543365218, 0.0319014266, -0.0703225285, -0.0040398254, 0.0438651964, -0.0767025128, 0.0011943849, 0.0160822757, 0.0306501426, 0.0161234289, -0.0185855702, 0.0807087645, -0.0090038059, -0.0471538529, -0.0130420132, 0.0194581784, -0.0490336008, -0.0300507117, -0.0205064174, -0.063257359, 0.002058801, 0.0122051891, 0.0095837489, 0.0062797451, 0.0189897362, -0.0393619314, 0.0358995534, -0.0852873251, 0.0176505223, 0.0060527474, 0.0724540353, 0.0431602672, -0.0255578756, 0.0148234926, 0.0468508191, 0.0310558081, -0.0306249689, -0.0211661961, -0.0230415687, 0.0113507174, 0.0329706259, 0.025011519, 0.0465188287, 0.0128588229, -0.0167768411, -0.0708036497, -0.0393463485, 0.0081546977, 0.0657527298, 0.0456279032, 0.0123943556, -0.0294829793, -0.0112475734, -0.0319017358, -0.0222604144, -0.0421002209, -0.0412134156, -0.0077175046, -0.0051999171, -0.0029161174, 0.0104099587, 0.0069488119, -0.0854673386, -0.0022438562, -0.0126575846, 0.0162989572, 0.034952417, -0.014423687, 0.018262621, -0.0506255515, -0.0848541856, -0.0586121678, -0.0081765065, -0.001566681, -0.0191288777, 0.0196934845, 0.0693564191, -0.0490505807, -0.0190712139, -0.0317220911, 0.0060719256, 0.0288529675, -0.0024840881, 0.0403136276, 0.0001559051, -0.0113341054, 0.0370662659, 0.0166582186, -0.0048592952, 0.0027693729, 0.0216544066, -0.0013942083, 0.0294613745, -0.0312833935, -0.0222618636, -0.0587738268, 0.048484236, 0.0179516766, -0.0756749213, -0.0364316553, 0.0083627049, 2.947e-7, 0.0167629737, 0.0377777591, 0.0253830142, -0.0014521091, 0.0428700261, 0.0051428364, 0.0238412581, 0.037937507, 0.0218670052, 0.0004504115, 0.0382667631, 0.0284691527, 0.0072683031, 0.002568301, -0.0898683593, 0.0053301821, -0.0889442638, 0.0019248028, -0.0047016288, -0.0076488624, -0.0034579497, 0.0939277411, 0.0076492396, -0.01577916, -0.0266801398, -0.0646895394, 0.0822617412, -0.0443279222, 0.0087183276, 0.0481683649, 0.0026571469, -0.0070547801, -0.0052728006, 0.0022631374, 0.0541259944, 0.0818426982, -0.0065260301, 0.0448506251, 0.0125994766, -0.0055332822, 0.0398207195, -0.0164324455, -0.0123301502, -0.078149721, 0.0634635985, -0.0937564224, -0.036503572, 0.0077869482, 0.0276076645, -0.0311769042, -0.0329249352, -0.0344433486, 0.0016456991, -0.0048576579, 0.0394932814, -0.0009669302, 0.0178468134, -0.0403141081, -0.0058828695, 0.0462505147, -0.0607902929, -0.0453036539, -0.0099296272, 0.0087220566, 0.0435421728, -0.0130974343, 0.0097161308, 2.660776462e-34, 0.0233543999, 0.0238214526, 0.0278220586, 0.0304823332, -0.0015739255, -0.0003442806, 0.0152304107, 0.0144254155, 0.0192896836, -0.104788065, -0.0283868704 ]
http://arxiv.org/abs/2407.00952v1
http://arxiv.org/pdf/2407.00952v1
SplitLoRA: A Split Parameter-Efficient Fine-Tuning Framework for Large Language Models
2024-07-01T04:13:25
2024-07-01T04:13:25
Zheng Lin, Xuanjie Hu, Yuxin Zhang, Zhe Chen, Zihan Fang, Xianhao Chen, Ang Li, Praneeth Vepakomma, Yue Gao
cs.LG
cs.LG, cs.CL, cs.DC
The scalability of large language models (LLMs) in handling high-complexity models and large-scale datasets has led to tremendous successes in pivotal domains. While there is an urgent need to acquire more training data for LLMs, a concerning reality is the depletion of high-quality public datasets within a few years. In view of this, the federated learning (FL) LLM fine-tuning paradigm recently has been proposed to facilitate collaborative LLM fine-tuning on distributed private data, where multiple data owners collaboratively fine-tune a shared LLM without sharing raw data. However, the staggering model size of LLMs imposes heavy computing and communication burdens on clients, posing significant barriers to the democratization of the FL LLM fine-tuning paradigm. To address this issue, split learning (SL) has emerged as a promising solution by offloading the primary training workload to a server via model partitioning while exchanging activation/activation's gradients with smaller data sizes rather than the entire LLM. Unfortunately, research on the SL LLM fine-tuning paradigm is still in its nascent stage. To fill this gap, in this paper, we propose the first SL LLM fine-tuning framework, named SplitLoRA. SplitLoRA is built on the split federated learning (SFL) framework, amalgamating the advantages of parallel training from FL and model splitting from SL and thus greatly enhancing the training efficiency. It is worth noting that SplitLoRA is the inaugural open-source benchmark for SL LLM fine-tuning, providing a foundation for research efforts dedicated to advancing SL LLM fine-tuning. Extensive simulations validate that SplitLoRA achieves target accuracy in significantly less time than state-of-the-art LLM fine-tuning frameworks, demonstrating the superior training performance of SplitLoRA. The project page is available at https://fduinc.github.io/splitlora/.
SplitLoRA: A Split Parameter-Efficient Fine-Tuning Framework for Large Language Models: The scalability of large language models (LLMs) in handling high-complexity models and large-scale datasets has led to tremendous successes in pivotal domains. While there is an urgent need to acquire more training data for LLMs, a concerning reality is the depletion of high-quality public datasets within a few years. In view of this, the federated learning (FL) LLM fine-tuning paradigm recently has been proposed to facilitate collaborative LLM fine-tuning on distributed private data, where multiple data owners collaboratively fine-tune a shared LLM without sharing raw data. However, the staggering model size of LLMs imposes heavy computing and communication burdens on clients, posing significant barriers to the democratization of the FL LLM fine-tuning paradigm. To address this issue, split learning (SL) has emerged as a promising solution by offloading the primary training workload to a server via model partitioning while exchanging activation/activation's gradients with smaller data sizes rather than the entire LLM. Unfortunately, research on the SL LLM fine-tuning paradigm is still in its nascent stage. To fill this gap, in this paper, we propose the first SL LLM fine-tuning framework, named SplitLoRA. SplitLoRA is built on the split federated learning (SFL) framework, amalgamating the advantages of parallel training from FL and model splitting from SL and thus greatly enhancing the training efficiency. It is worth noting that SplitLoRA is the inaugural open-source benchmark for SL LLM fine-tuning, providing a foundation for research efforts dedicated to advancing SL LLM fine-tuning. Extensive simulations validate that SplitLoRA achieves target accuracy in significantly less time than state-of-the-art LLM fine-tuning frameworks, demonstrating the superior training performance of SplitLoRA. The project page is available at https://fduinc.github.io/splitlora/.
[ 0.0237330403, 0.0657346994, -0.0095975744, 0.0717091635, -0.0399768092, 0.0023320992, 0.0814810768, 0.0023681063, 0.0013207097, -0.0262796991, -0.0916502178, -0.0476872362, -0.006827943, 0.0391741656, -0.0141146313, -0.0244014394, 0.0285179, -0.0147026237, -0.0052677854, -0.030249076, -0.0217128284, 0.0174274426, 0.0167866498, 0.0070137912, 0.0391609669, -0.0290795881, -0.0120375501, 0.0196817555, -0.0065448051, 0.025476709, 0.036784362, 0.0587051362, 0.0217799619, 0.098779209, 0.0000020447, -0.0345130116, -0.0509633496, 0.0167002715, -0.00206963, 0.0943977684, 0.0139074828, 0.0017754377, 0.0100591285, 0.038077265, -0.0368173718, -0.0113819744, 0.0107124951, -0.0035829549, 0.0589027591, 0.0856109113, 0.0078581925, -0.0470706448, 0.0004084463, -0.0560322739, -0.1151304096, -0.0417018309, 0.0202387962, -0.0278221089, -0.0396045968, -0.0182577185, -0.0013452852, 0.0213138498, 0.0251295771, 0.0479043499, -0.0256215874, 0.0189820081, -0.0783503428, -0.0220204946, -0.0322942846, 0.0476086587, -0.026151536, 0.0083805053, 0.032273706, -0.0365283936, -0.0126991151, 0.0038814938, 0.0040318547, 0.0185351521, 0.0168302618, 0.044092644, 0.0134728802, -0.0647300109, 0.0311065279, 0.0028482017, -0.0119759543, 0.0560881458, -0.0098832743, 0.0048506251, -0.0472752266, -0.0135875121, -0.0197585337, -0.0308221746, 0.0300642047, 0.0208352003, -0.0178722404, -0.0158813186, -0.0712233931, -0.0668655187, 0.0177161265, 0.0055723116, 0.0613017902, -0.0316515863, -0.0019991889, 0.0428398885, 0.0035515502, -0.0275249071, 0.0044345651, 0.0700714737, -0.0085494891, 0.0146829691, -0.0369333327, 0.0221385509, -0.0039732121, 0.0199608356, -0.0573512428, 0.0039433925, -0.0221018791, -0.0008581865, -0.0082602715, -0.0041027642, 0.0497454293, -0.0094559705, 0.0041559222, -0.0167759899, 0.0434688069, 0.0264484473, -0.0457886681, 0.0233146604, 0.0282409899, -0.0678839833, -0.0082047256, -0.0089474041, 0.0235231239, 0.0081801927, 0.0363676064, 0.0021984803, 0.0107130669, -0.0424206965, -0.0254794713, -0.0437895171, 0.0321716815, -0.0860603377, 0.004325124, -0.0544313826, 0.033671312, 0.001308627, 0.0277852956, -0.0392749645, -0.0267589986, -0.03498853, -0.0328295529, 0.0466418862, -0.0542017259, 0.0243272651, 0.0031929794, 0.019079309, -0.0115202684, 0.0933213979, 0.0241063666, 0.0187538695, 0.058584433, -0.0127412686, -0.0260161757, 0.033311259, 0.0398712792, 0.0282454323, -0.0197852124, 0.0044300831, -0.0092785703, 0.0032672852, -0.021777479, 0.0364426821, -0.0157279111, -0.0236368719, 0.0542389192, 0.0544859804, 0.0568629242, 0.047844585, -0.0251571089, 0.0369831882, 0.02037194, -0.0036539191, -0.0427602865, -0.0207980145, 0.0109419702, -0.0311919712, 0.003093452, 0.0874356702, -0.0239364449, -0.0009624259, 0.0055486197, -0.0408679098, -0.0302544422, 0.0300385486, 0.0386278816, -0.0421618409, -0.0035573202, 0.0705827102, 0.0487634763, -0.0364789106, -0.0239249729, -0.0582937747, -0.0075170998, 0.064295873, 0.0419818498, -0.0233229101, -0.0342758819, -0.0274791103, 0.0395544991, -0.0148053085, 0.008414764, 0.0345172994, 0.0448230207, -0.0625150725, -0.032545045, 0.0017799372, 0.0168155525, 0.0247130562, 0.0158346724, 0.0115517471, -0.017640464, 0.0235440079, -0.0124068446, 0.0240682103, -0.0060675894, -0.0009350769, 0.0087822629, 0.0153023191, 0.0455427207, -0.004897167, -0.0431930944, -0.0238614772, 0.0229385924, -0.0039728545, 0.0000052807, -0.0399891883, 0.018813638, 0.002239187, 0.0146003151, 0.0152927227, 0.0154144987, 0.0504071862, -0.0691880435, -0.0331858657, 0.00628665, 0.0251000263, 0.0038167094, -0.0378172807, 0.011782025, -0.0410783291, 0.0558862388, -0.0008256736, 0.0004470714, -0.0393767618, -0.0111370757, -0.0427041166, -0.0114160087, 0.0088304635, -0.0202040412, 0.0178517159, 0.0211492162, 0.0151319047, 0.0308872517, -0.0306430552, 0.0371754058, -0.0231091827, -0.0075833811, -0.0305008199, 0.0136322137, -0.0761730596, 0.0433599465, 0.0153326271, -0.0018849357, -0.0367696621, -0.0039013994, -0.0003768085, 0.0617279783, -0.0297744423, 0.0150359273, -0.0157128703, 0.0004186029, -0.0436527021, -0.0033246838, -0.05191461, 0.0450559258, 0.018235974, -0.0319158435, 0.0120428065, -0.0681341738, -0.002924341, -0.0324888565, 0.0359989926, 0.0035139939, -0.0376007333, -0.0139343226, -0.0018918986, -0.0278060138, 0.0714929029, -0.0141777778, -0.0069869738, 0.0482443608, 0.0157702304, -0.0420715176, 0.0080021666, -0.0125155635, -0.0316541791, -0.0415956043, 0.0102309724, -0.0009793448, 0.0604649708, -0.0366129354, -0.0216471441, -0.0323089808, 0.0020670539, -0.0085656941, -0.0593699254, -0.0101042939, 0.0319529437, -0.0279370975, 0.0168323107, 0.0183317661, -0.0601020269, 0.0587423034, -0.015899552, -0.0098283272, -0.0254066642, -0.059320312, -0.0754157156, 0.0468001999, -0.0343349092, 0.0133147044, -0.0132942637, -0.0276200101, -0.0191439111, 0.0149813695, 0.013519262, -0.0307021048, 0.0335817747, 0.0134726996, -0.0272066817, -0.0370526128, -0.0472164974, 0.0147472862, -0.0595310219, -0.0665477142, 0.016907664, 0.0098309731, -0.0412965491, -0.0066690119, 0.0160091482, -0.0321996994, 0.0371181592, -0.0296105631, 0.0383678153, -0.0217111669, -0.0073116315, 0.033014968, -0.0206634589, 0.0169260744, -0.0319165476, -0.0101088956, 0.0409320928, 0.0659275055, -0.0181047507, 0.0019110902, -0.0477290452, 0.0348119996, -0.0129729593, -0.0234159678, -0.0250093993, 0.063484095, -0.0569834821, 0.0108156744, 0.0959638059, 0.0128217731, -0.0776892081, -0.0088782376, -0.0134758726, 0.0620598234, 0.0216840152, 0.0043341378, -0.0592639334, -0.0326500088, 0.0250403751, 0.0405576229, 0.0248037614, -0.0354925953, -0.0179849025, -0.0864334852, 0.0481032506, 0.0090843374, -0.0160102658, -0.0115458686, -0.0422472358, 0.0103972834, 0.0071047959, 0.0179426521, 0.0067634899, -0.0116487434, -0.0207309518, 0.0346777886, -0.0042275959, -0.0593210161, 0.0112635372, -0.0607585534, 0.0470291264, 0.0002590094, 0.0033934272, 0.0088778222, -0.0322494842, 0.0435363688, 0.0152245481, -0.0026387165, -0.023925079, 0.0199920442, -0.0199073292, -0.0122457696, 0.0388046205, 0.0310239736, -0.0108925421, 0.0037848244, 0.0264153928, 0.0757706314, 0.0025199875, -0.01904363, 0.024595445, -0.0257642083, 0.0119616026, 0.0516667068, 0.0585061647, -0.0246317983, -0.0249663182, 0.0252674446, 0.0028939093, 0.0008116837, 0.0185337085, 0.0100092534, -0.0306178499, -0.0120664323, -0.004602191, -0.0105600348, 0.0313984528, 0.0340168141, 0.0039307415, 0.0344839059, 0.014191567, 0.0135952206, -0.0485748425, 0.0254669059, -0.0630558729, 0.0264888518, -0.0680784136, -0.0327379145, 0.0284279827, 0.0176014565, -0.0037884088, 0.019621579, -0.1093747839, -0.0875773951, 0.0345413983, 0.0138709517, 0.0179921966, 0.0409871414, -0.0179337561, -0.1050262675, 0.0481284633, 0.0524598733, -0.0712849274, 0.0386447571, 0.0405357517, -0.0647049919, 0.0026958268, 0.055469349, -0.0426336341, -0.0062944507, 0.0469425917, -0.0208288953, -0.0199746229, -0.0306353047, -0.059323553, 0.0492269546, 0.0765703171, -0.0125453705, -0.0087781418, -0.0373532325, 0.0676249042, -0.0073032244, 0.0178719349, -0.0369745791, -0.0205295607, 0.0216946583, -0.0407448933, -0.026067039, 0.0281844232, 0.0565344468, -0.0132746473, -0.0489602536, 0.061765071, 0.0055670962, -0.0082469601, 0.0589218326, -0.00218849, 0.0085732024, 0.0404878855, 0.0191650074, 0.0330406278, -0.0138691934, 0.0220625829, -0.0017361866, 0.0348729044, -0.0791722089, 0.0433949791, -0.0336326063, -0.1220284849, 0.0094340043, 0.0491185933, 0.0491189584, 0.0392636023, 0.0536387973, 0.0031404553, -0.0382154174, -0.0196711365, -0.0002450818, -0.0511632338, -0.0110628456, 0.00730481, -0.0124915643, -0.0307924673, 0.0442689508, 0.0832257494, 0.0183337852, 0.0182449985, 0.0016184755, 0.0088420017, -0.0384963676, -0.0009248707, -0.00979493, 0.016867904, -0.0281739421, -0.011263459, -0.0299534369, -0.0587577708, -0.0018625426, -0.00299342, 0.0069850353, -0.0025491668, 0.0095760282, 0.0603379272, 0.0071357614, -0.0034066099, -0.0633332282, -0.000718197, 0.0350147523, -0.0246983711, 0.0386142172, -6.780896468e-33, 0.0188907366, 0.0408133343, -0.0074775978, 0.0484066755, -0.013489061, 0.0276697092, 0.0039604893, -0.0028409967, -0.000200944, -0.0189316589, -0.0574148707, 0.0189922526, 0.0338553488, 0.0195548646, -0.0078578228, -0.0347013324, 0.0496740602, -0.0622379668, -0.0387389921, 0.0213292502, 0.0277542286, 0.0698184446, 0.0558156408, -0.0305932965, -0.0350491554, -0.0274252929, -0.0226300731, 0.0193697084, -0.0456876084, 0.0255575571, -0.0026187112, 0.0196577515, 0.0222594254, -0.0293902587, -0.0179256741, -0.0108092288, -0.0599595979, 0.0051628575, 0.0075986376, 0.0194011852, -0.0483502261, 0.0035555472, 0.0589311793, 0.0127748856, -0.0063811275, -0.0263925046, -0.0198756065, -0.0019051492, -0.022117611, -0.0217093937, -0.0020301261, 0.007202046, 0.0246290639, -0.0094815325, 0.06996537, -0.0160085056, -0.0088395821, 0.0134449145, -0.060718596, -0.0127018532, 0.0682773963, 0.0216845181, 0.0490555093, 0.0551003627, -0.013930981, 0.0441510901, 0.0623813644, 0.0105309552, -0.0057304348, -0.0015596153, 0.0630631968, 0.0719214678, 0.003230717, 0.0318227038, 0.0175051875, -0.0467053838, -0.0659228116, -0.0304413121, 0.0482617952, -0.0321728364, 0.0360188931, 0.0383975618, -0.008918223, -0.0025665278, -0.0440789945, -0.0135093145, -0.0401006266, 0.0081771445, 0.0141311074, 0.0391726866, -0.039008487, -0.0061014858, 0.046833057, -0.0515053496, -0.0172046591, 0.0123096202, 0.0362646282, 0.0175144617, 0.0027159711, 0.0078970809, -0.0862253159, -0.0317479074, -0.0200071763, -0.0301378518, 0.0116192279, -0.0208626259, 0.0854290351, 0.0274366252, -0.0421237834, -0.0040142713, -0.0296496358, 0.0380758718, 0.0118612042, 0.057791017, 0.0414129831, -0.0243308768, 0.0206507333, 0.0423635393, 0.0305934288, 0.0182470996, -0.0153092742, -0.0059336163, -0.0004394595, 0.0103143314, 0.0132694431, 0.0056495429, -0.0378034264, -0.0114012742, 0.0586979799, -0.029025102, 0.0044876826, -0.0323445536, 2.749e-7, 0.0107051907, 0.0577546023, -0.0320865028, -0.0315951779, 0.0513936616, 0.0302463099, -0.0283685625, 0.0239885617, 0.0236146078, -0.0006232169, 0.0097192563, 0.0377313606, 0.0588432997, -0.0023648608, -0.0428287052, 0.0085453382, -0.0656068474, 0.0638595745, -0.0475000963, -0.044804763, -0.0436973348, 0.109737888, 0.0675552189, -0.0498371385, 0.0068686274, 0.0035829674, 0.0180959553, -0.0555744357, -0.0443812013, 0.0217712875, 0.035318654, 0.0570847318, -0.0015206226, -0.0369367898, -0.0044209501, 0.0431490988, -0.0493673049, 0.0768634528, 0.0101250624, 0.030678615, 0.0144807175, -0.0381434746, -0.0429362878, -0.0258977152, 0.0665559918, -0.0212258026, -0.0285103135, -0.029249154, 0.0187302716, -0.0588982254, 0.0396307483, -0.0381674506, 0.0246606469, 0.0538159609, -0.0186262373, -0.0562924072, -0.0356445648, -0.0804632977, -0.0046207472, -0.0128100766, -0.0461532995, -0.0224320609, -0.0376081467, 0.0121583305, -0.0020138719, -0.0420237146, 0.002979405, 2.621406815e-34, 0.0310586654, -0.0222831238, -0.0005175179, 0.0362405106, 0.0113500729, -0.0279889274, -0.0239402503, 0.0277255997, -0.0337350145, -0.0571995638, 0.0058459267 ]
http://arxiv.org/abs/2407.00948v1
http://arxiv.org/pdf/2407.00948v1
The House Always Wins: A Framework for Evaluating Strategic Deception in LLMs
2024-07-01T04:07:49
2024-07-01T04:07:49
Tanush Chopra, Michael Li
cs.CL
cs.CL, cs.AI, cs.LG
We propose a framework for evaluating strategic deception in large language models (LLMs). In this framework, an LLM acts as a game master in two scenarios: one with random game mechanics and another where it can choose between random or deliberate actions. As an example, we use blackjack because the action space nor strategies involve deception. We benchmark Llama3-70B, GPT-4-Turbo, and Mixtral in blackjack, comparing outcomes against expected distributions in fair play to determine if LLMs develop strategies favoring the "house." Our findings reveal that the LLMs exhibit significant deviations from fair play when given implicit randomness instructions, suggesting a tendency towards strategic manipulation in ambiguous scenarios. However, when presented with an explicit choice, the LLMs largely adhere to fair play, indicating that the framing of instructions plays a crucial role in eliciting or mitigating potentially deceptive behaviors in AI systems.
The House Always Wins: A Framework for Evaluating Strategic Deception in LLMs: We propose a framework for evaluating strategic deception in large language models (LLMs). In this framework, an LLM acts as a game master in two scenarios: one with random game mechanics and another where it can choose between random or deliberate actions. As an example, we use blackjack because the action space nor strategies involve deception. We benchmark Llama3-70B, GPT-4-Turbo, and Mixtral in blackjack, comparing outcomes against expected distributions in fair play to determine if LLMs develop strategies favoring the "house." Our findings reveal that the LLMs exhibit significant deviations from fair play when given implicit randomness instructions, suggesting a tendency towards strategic manipulation in ambiguous scenarios. However, when presented with an explicit choice, the LLMs largely adhere to fair play, indicating that the framing of instructions plays a crucial role in eliciting or mitigating potentially deceptive behaviors in AI systems.
[ 0.0439870432, 0.0404643565, -0.0826138183, 0.061634317, -0.0871531218, -0.0124844108, -0.0063782246, 0.0225675665, 0.0004180367, -0.0193666555, -0.0615090504, -0.0339486226, 0.0434708185, 0.0546909608, 0.0454094708, 0.05398684, 0.0302033331, -0.0377493575, 0.0556160733, -0.0285045672, -0.0130125023, -0.0218782853, 0.02625986, 0.0405077487, 0.0040872786, 0.013048254, -0.0306201447, -0.0082200561, -0.0151143204, -0.0025199554, -0.0118456353, 0.0373622328, 0.0101679945, 0.0955139622, 0.0000019888, -0.0430278853, -0.0089244563, -0.0204568338, -0.032392662, 0.0331863947, 0.0278508831, -0.0146228941, 0.0044703055, 0.0062810262, -0.0747693405, 0.0074844011, 0.0458051376, 0.0098724179, 0.0185450744, 0.0808254182, 0.0216127727, 0.0150557961, 0.0070236917, -0.0466482081, -0.0019221051, -0.0493840165, 0.0273378063, -0.0511087775, -0.0385529362, -0.0167568345, 0.0117577771, -0.0214340296, 0.0102778673, 0.0046688849, -0.0684706867, 0.038527485, 0.0073320507, 0.0176232345, -0.0070671635, 0.0309863575, -0.0188331157, -0.0166547373, 0.0201898161, -0.0287253782, 0.0353642255, -0.0073178047, 0.0180752538, 0.0535990372, 0.012282026, -0.0096586943, 0.0303871278, 0.012828052, 0.052669514, -0.0109260678, 0.0278467517, 0.062328849, -0.026392037, -0.021663066, -0.0094246054, -0.0105632199, 0.0031276012, -0.1135727689, -0.0593631603, 0.0249833185, -0.06506937, 0.0330793746, -0.0480033867, 0.0458323695, 0.0443956405, -0.0546476133, 0.0349313729, 0.0237254575, 0.0371610038, 0.0167033244, 0.0203838591, 0.055681888, -0.0118953381, 0.0781423822, -0.0332436785, 0.0148562258, 0.0536560602, -0.0323571898, -0.0025380543, 0.023678707, -0.0140550416, -0.0161430389, -0.0474357754, -0.0069226697, -0.0720070601, 0.0454333946, 0.0004255904, -0.0086717792, -0.0237106029, -0.0034228696, -0.0462244675, -0.0345867164, -0.0165706053, 0.0485455319, -0.0004286858, -0.0807664767, -0.0343029499, -0.0091962917, -0.0552856997, -0.0107249832, 0.0075811991, 0.0936736465, -0.0103111761, -0.0304568801, -0.019980507, -0.0219636373, -0.0173616447, -0.0837895125, -0.0066198632, -0.0390085913, 0.0301067568, -0.0201212298, -0.0239154696, -0.0196584612, -0.0078550847, -0.0150281098, -0.0356035568, 0.0702432096, 0.0523787513, 0.034986902, 0.0090713985, 0.0291892756, -0.0740032718, 0.0832406506, 0.0292317793, 0.0413731933, 0.0332226194, -0.0016035708, 0.0521215461, 0.0582441203, 0.0017807815, 0.0354545116, 0.0127757862, -0.0048033786, 0.0224254858, 0.0271272808, 0.015797032, 0.0272422917, -0.0266817752, -0.0329134278, 0.0775659308, 0.0041682944, -0.015473905, -0.0136820795, 0.0462535471, -0.0104477778, -0.0087569356, 0.0632571131, -0.0540607199, 0.0119889621, -0.0373175777, 0.005544899, -0.0043103797, 0.0015008461, 0.0230817907, -0.0203192551, -0.0067029027, -0.0209642686, 0.0127086332, 0.0505125374, -0.0075920322, -0.0095889252, -0.0478349514, 0.0178680271, 0.0260335281, 0.0056100348, -0.019024739, -0.0994475037, 0.0184233636, 0.0532906838, 0.0402561687, 0.0035165825, 0.0225812886, -0.0072142119, -0.0571537092, 0.0468151085, 0.0442876033, -0.0026909919, 0.0253568459, -0.005645073, -0.0117463218, -0.050518807, 0.0408288725, 0.0632928908, -0.0449273959, 0.0202880409, -0.0189052224, -0.0373770073, 0.0413349569, 0.03524068, 0.0040602633, -0.0475458503, -0.0243783351, -0.0070880745, 0.048963584, -0.0402052961, -0.0392673239, 0.0252988338, 0.0334648676, -0.0012476107, -0.0021337778, -0.0316943116, -0.0241649393, 0.0398131683, 0.014038397, -0.0127425734, 0.0073048281, 0.024409866, -0.00938664, 0.0146202063, 0.034175586, -0.0232853033, 0.0283308551, 0.0067443643, 0.0288524907, -0.0310975686, 0.0370268822, -0.0056334082, 0.0415060371, -0.0387736224, -0.0050643561, -0.0068406225, -0.0429322124, -0.0057852063, -0.023429215, 0.0401267521, 0.0330440998, 0.0033672978, -0.0196993016, 0.0425590202, 0.0329544097, -0.0038552554, -0.0712808818, -0.0769760832, -0.0300107077, -0.0157551896, -0.0183857717, 0.0252729636, -0.0297816675, -0.0200875606, 0.0447155088, -0.0058193998, -0.0048273555, 0.0065899719, 0.0305392053, 0.0172683969, 0.0160447862, -0.0471174233, -0.0149956821, -0.0092702135, -0.0119416621, 0.0383707173, -0.0294178482, 0.0360992551, -0.0546813458, -0.014155183, -0.0093859211, 0.0410325974, -0.0440059565, -0.0585589074, 0.0128287077, -0.0106269624, -0.0219124276, 0.072761409, 0.0022318284, 0.061456278, 0.0833585635, -0.0197790228, -0.0682564303, -0.0032734897, 0.0207955372, -0.0134437429, -0.0867541879, -0.0985753611, 0.0097006951, 0.0696969256, 0.029826859, 0.004797894, -0.0194086637, 0.0434170142, -0.0045838812, -0.0809024051, 0.0171163585, -0.0522539876, -0.030412063, 0.0298369806, 0.0064418325, -0.0547094718, 0.0817188993, -0.0523053296, 0.0046073142, 0.031893976, 0.0233767908, -0.0113135083, 0.067282185, 0.0002613827, -0.0156909246, 0.0130444327, 0.0101395538, -0.0656143278, -0.0756441504, 0.0641362816, -0.0369741656, 0.0261225626, -0.0630582049, -0.014180501, 0.0132513354, -0.0223137047, -0.040941909, -0.071045652, -0.0351273082, -0.0064659505, 0.0622735135, -0.023278961, -0.0363739729, -0.0513463095, 0.0120013254, -0.0138223618, 0.0068296851, -0.0053218217, -0.028154267, -0.0102137383, 0.0681072846, 0.0099811498, 0.0691829324, -0.0115743261, -0.0001339044, 0.0148408469, -0.0300782192, 0.0219659228, 0.014198564, -0.0119112972, 0.0463312641, 0.008459188, -0.0032212925, 0.0570023134, -0.0304219294, -0.019499924, 0.0031740603, 0.062310867, 0.0094340984, 0.0170420781, 0.0201759618, -0.0178003144, 0.0541053712, -0.0047352575, 0.0080785351, -0.1023076251, -0.0239852257, 0.0206518508, -0.0067352215, -0.0511590019, -0.024711594, -0.0302473158, -0.1396489441, 0.0086624855, 0.0058500348, -0.039184574, -0.0173379146, -0.0060421801, -0.0299840979, -0.0275558922, 0.0768951029, 0.0003044465, 0.0183898024, -0.0192841012, -0.0275760014, 0.0028543163, 0.0116432449, -0.005110852, -0.0128749236, 0.068771556, 0.0368537083, 0.0262530968, -0.0327703021, -0.0596380234, 0.0166792702, 0.0098694535, -0.0066790921, 0.0072113695, 0.0041308179, -0.0168133229, 0.0111584077, 0.0268364176, -0.0227971543, 0.0431208983, 0.0126781072, 0.0118489936, 0.0016943713, -0.0124561489, -0.1144654378, 0.0382601433, -0.0097442633, 0.056655664, 0.0627104193, -0.0052315327, -0.0070124744, -0.0298370421, -0.0308470596, 0.0069932812, 0.0087455334, -0.0268025175, 0.0100158816, 0.0717635602, -0.0114218583, -0.0509248562, -0.0557928421, -0.0307477098, -0.0141974809, 0.0283194296, 0.0311689787, -0.0225883052, 0.0165576804, -0.0091659073, -0.0393769741, -0.0442977808, 0.0395331234, 0.0093043996, -0.026067378, -0.0283721425, -0.0811346471, 0.0108862091, 0.0350313522, -0.0246898513, -0.0302490406, 0.0518758968, 0.0665028766, 0.0265309047, 0.0314035751, 0.0086834664, -0.0047783246, 0.0174553134, -0.0363646597, -0.0488899387, 0.0732350796, 0.0541167259, -0.0016394585, 0.0292487554, 0.0444072559, -0.0400917679, -0.008538451, 0.0544865802, 0.0382678173, -0.0347884819, 0.0097020715, 0.0271925386, -0.0048276801, 0.0315548852, -0.0343329608, 0.0419594608, 0.0097388253, 0.0327735879, -0.0437632091, -0.0006888884, 0.0023785152, -0.0491750352, 0.0334638022, 0.0494585447, 0.0121183358, 0.0004013215, -0.0282948706, -0.021900503, 0.0316584595, -0.0154715292, 0.0316371545, 0.0048540197, 0.0277645588, 0.0031136968, 0.0090566073, 0.0889651701, -0.0167703126, 0.0360995755, 0.0439782254, 0.0174496267, 0.0280178264, -0.0710326582, -0.0200364068, 0.0381110758, -0.0295839533, -0.0269310921, 0.0682452992, 0.0416378938, 0.0440395586, -0.0244431235, 0.0111925863, -0.0345105305, 0.0325103626, 0.0134945661, -0.0351514928, 0.007897798, -0.0469518639, 0.0105947359, -0.0026390408, -0.038632296, 0.0267928578, 0.0454238206, 0.0229993053, 0.0589511693, -0.0442763269, 0.0247356445, -0.0038956096, -0.0553765371, 0.0492183045, 0.0495525412, -0.0225655138, -0.0555711314, -0.0986574888, -0.045110099, -0.0108027011, 0.0319174901, 0.0235259272, -0.0282369629, -0.0189827867, 0.0646192655, 0.0126483142, 0.0035266527, -0.0538995229, 0.0081764497, 0.0245999601, -0.0169016421, -0.0312614515, -6.242111571e-33, 0.0156029416, -0.0529934838, -0.005031243, -0.0228904821, 0.0058534918, 0.0099050831, -0.0147677399, -0.0023986595, -0.0516321808, 0.0078550288, -0.0362192616, 0.001196128, 0.0143640833, -0.0250865798, 0.0059874486, -0.0264281556, 0.0053397613, -0.0097667752, -0.0443512201, -0.0192146972, -0.0091307079, -0.0229145605, 0.0376319773, -0.0295259971, 0.0162742268, -0.0171871111, -0.0734164566, 0.0244477931, -0.0838637799, 0.0043898965, -0.0082005942, -0.0033782905, 0.0068830014, -0.0306959897, 0.0093986411, 0.0032373883, 0.0529043078, -0.0187022425, 0.0732853189, -0.0068910015, -0.0111927642, -0.048290696, 0.0206348263, 0.006579583, -0.0785165131, 0.0051112133, -0.0072178654, 0.0001006037, -0.0000891654, 0.0267975368, -0.0352475494, -0.0205569398, -0.0131192468, 0.0021419278, -0.0093698362, -0.0367264748, 0.0191479269, -0.0136500662, -0.061514508, 0.0544370897, 0.0091778943, 0.0022256495, 0.0698839575, 0.0223001204, 0.0321133025, 0.0631493032, 0.0554815531, 0.0512172021, -0.0295995716, -0.0333287381, 0.0221856851, 0.0321200006, 0.0420799181, 0.0442965962, 0.0170412343, -0.0358200036, -0.0171682555, -0.0091552399, 0.0512261689, 0.0064959209, 0.0315865912, -0.0066963905, -0.0618380792, -0.0031467951, -0.0305351224, 0.0063671637, -0.0319834501, -0.0092067467, 0.0131262103, 0.0250285864, 0.0217542015, -0.0348635465, 0.0449269935, -0.0376685522, -0.0206211526, 0.0147578372, 0.0142979966, -0.0016918274, -0.0119830091, 0.0014524988, 0.013996155, -0.020350948, 0.0312924869, 0.0014231432, 0.0273726471, 0.0217627399, 0.0075863535, 0.0200551581, -0.0096631963, 0.0192997307, -0.0184117779, 0.0456230119, 0.0134835448, -0.0873415545, 0.0379884914, -0.0204190407, -0.0215296727, -0.0468294546, -0.0049891821, -0.0143217295, -0.0463045165, 0.0714790598, -0.0359397791, 0.0051151477, -0.0244818758, 0.0178721529, -0.0280107819, 0.0465301797, 0.0160206277, -0.0051569701, -0.0159317441, -0.053641919, 2.797e-7, -0.0220580641, 0.0413439609, -0.0544560701, 0.0630052015, 0.0034756539, 0.0864058658, -0.0303931125, 0.0188958086, 0.015941089, -0.0351691879, 0.0114170136, 0.0077290805, 0.0322910994, 0.0143548446, -0.0614337847, 0.0318569653, -0.0425785147, -0.0222926494, -0.0215537641, -0.0116193127, 0.0333793052, 0.072568208, 0.0375629403, -0.0133100552, -0.0096284486, -0.0425066985, -0.0066942293, -0.0416263938, 0.0192343146, 0.0276111998, -0.032823123, -0.0364246555, -0.0243451335, 0.0171920452, -0.0148728816, 0.0110265398, -0.0560831428, 0.0457959659, -0.0059072324, -0.0486796014, -0.0476192199, -0.048302725, -0.0155481175, -0.0590495057, 0.0449391343, 0.0055103344, -0.0265273843, -0.0310054962, 0.0228986125, -0.0204566363, 0.0046352884, -0.0285885446, -0.00824745, 0.028584769, -0.0018531318, 0.0313630104, 0.0075070993, -0.0252403822, -0.0347232223, -0.0082359156, -0.0101408763, -0.0398242362, -0.0090645906, 0.0277936496, 0.026313724, -0.0508050211, 0.0244479477, 2.458725284e-34, 0.0087289764, -0.0301733296, 0.0269853566, 0.0130351558, 0.0670072213, 0.0266035702, 0.0132850483, 0.0284493472, 0.0326039456, -0.0158232115, -0.0086812517 ]
http://arxiv.org/abs/2407.00942v1
http://arxiv.org/pdf/2407.00942v1
ProductAgent: Benchmarking Conversational Product Search Agent with Asking Clarification Questions
2024-07-01T03:50:23
2024-07-01T03:50:23
Jingheng Ye, Yong Jiang, Xiaobin Wang, Yinghui Li, Yangning Li, Hai-Tao Zheng, Pengjun Xie, Fei Huang
cs.IR
cs.IR, cs.AI, cs.CL
This paper introduces the task of product demand clarification within an e-commercial scenario, where the user commences the conversation with ambiguous queries and the task-oriented agent is designed to achieve more accurate and tailored product searching by asking clarification questions. To address this task, we propose ProductAgent, a conversational information seeking agent equipped with abilities of strategic clarification question generation and dynamic product retrieval. Specifically, we develop the agent with strategies for product feature summarization, query generation, and product retrieval. Furthermore, we propose the benchmark called PROCLARE to evaluate the agent's performance both automatically and qualitatively with the aid of a LLM-driven user simulator. Experiments show that ProductAgent interacts positively with the user and enhances retrieval performance with increasing dialogue turns, where user demands become gradually more explicit and detailed. All the source codes will be released after the review anonymity period.
ProductAgent: Benchmarking Conversational Product Search Agent with Asking Clarification Questions: This paper introduces the task of product demand clarification within an e-commercial scenario, where the user commences the conversation with ambiguous queries and the task-oriented agent is designed to achieve more accurate and tailored product searching by asking clarification questions. To address this task, we propose ProductAgent, a conversational information seeking agent equipped with abilities of strategic clarification question generation and dynamic product retrieval. Specifically, we develop the agent with strategies for product feature summarization, query generation, and product retrieval. Furthermore, we propose the benchmark called PROCLARE to evaluate the agent's performance both automatically and qualitatively with the aid of a LLM-driven user simulator. Experiments show that ProductAgent interacts positively with the user and enhances retrieval performance with increasing dialogue turns, where user demands become gradually more explicit and detailed. All the source codes will be released after the review anonymity period.
[ 0.0794524774, -0.045121152, -0.0134471711, 0.0297346935, -0.0446422249, -0.0443224311, 0.0208256654, -0.0166401919, -0.0104422942, -0.0413110182, 0.008765541, -0.0280956179, -0.034467645, 0.0693826973, -0.0094659207, -0.0487899147, 0.0188972801, 0.0210803002, 0.0203771349, 0.0189494658, 0.0416875035, -0.0023326229, -0.0236279275, 0.0394362994, 0.0097747855, -0.0140618607, -0.076031208, 0.0420864224, -0.0023225462, -0.0158525538, 0.0340407304, 0.0132260201, 0.0310643148, -0.0171361268, 0.000001926, -0.0670776814, -0.0398918726, -0.0148810325, -0.0510284379, -0.0409530401, 0.0565692522, 0.0776960626, 0.0368060209, 0.0392530039, -0.0571714975, 0.0387438424, 0.024934167, 0.0707716867, 0.0328762345, 0.0792157799, -0.0157663617, 0.0004397348, -0.0017806315, 0.0244150348, 0.0521676615, -0.0578758046, -0.0105765825, -0.0377050526, 0.0663522407, 0.0206212513, 0.052207239, 0.0241704825, -0.0368807465, 0.001883848, 0.0254109185, 0.0287997499, -0.0169549156, -0.0362357162, -0.029858103, 0.077303119, 0.037286777, 0.0118772183, 0.0116998916, 0.0151208285, 0.0327966623, 0.0051333895, -0.0200345535, -0.0164585188, -0.0287519675, -0.0308298022, -0.0469802953, 0.0190328043, -0.0224567186, -0.0383156575, -0.0060165133, 0.052650664, -0.0105565265, -0.0451499969, -0.0181614514, -0.0670441091, 0.0039341697, -0.0493914373, 0.0055856104, 0.0662869513, -0.0820170566, 0.0198544748, 0.0376316905, 0.0115040289, 0.0035056761, -0.0875893459, -0.0179272369, 0.0112334704, 0.0034001141, 0.0313061327, 0.024745252, 0.0479464196, 0.0434227064, -0.04204797, -0.0688473806, 0.0158483014, -0.0428027399, -0.0276079178, -0.0695170909, 0.059150435, -0.037062563, -0.0272202976, -0.0033071558, 0.0353058167, 0.01111071, 0.0115040308, -0.0352328345, 0.0412174277, -0.0113363089, 0.0118896263, -0.0983154327, -0.0231988039, -0.089975886, 0.0061984709, 0.0169685744, -0.0676605105, 0.0256317314, 0.0363665558, 0.0149571784, -0.0019586219, -0.0116456971, 0.0483710878, -0.0193091705, -0.0667163879, -0.0538078658, -0.0601775125, 0.0161691234, -0.0271610953, -0.051420819, -0.0174844582, 0.0437511466, -0.0136879124, -0.0532024838, -0.0057077827, 0.0054112701, 0.0300371367, 0.032080695, 0.0578124374, -0.0101537127, 0.0172643438, 0.0233512949, 0.0048408178, -0.0113701886, 0.0213578623, 0.0039645261, 0.0445805006, 0.0642470047, 0.0227683391, 0.0191410724, -0.0163186993, -0.0405863412, -0.0519250073, 0.0181430709, 0.0750290081, -0.0413597114, 0.0302894246, -0.0196547769, 0.0258169454, -0.0157109611, 0.0225674734, 0.0608376078, 0.0676603466, 0.0208872594, -0.0043174806, 0.0116309896, 0.0990744531, -0.01252928, -0.0004482668, 0.0290279929, 0.0320321023, -0.0355503, 0.0024774366, 0.0074250395, -0.0372341797, -0.0471270345, -0.0552055351, 0.0347606502, 0.0040863282, 0.0301166978, 0.0461025126, 0.0030359733, -0.0166719556, -0.0466181897, 0.0507331118, -0.0114045199, -0.0578587055, -0.0452536345, -0.0295934249, 0.0802021176, 0.1236038879, 0.0396455713, -0.0278867036, -0.0528250225, 0.0237614326, -0.0337545685, 0.0405334085, 0.0284939017, -0.0227478407, -0.0070666689, -0.0278610159, -0.0406786203, -0.0597688369, 0.0028792804, 0.0248503517, -0.0090021854, -0.0105495667, 0.0375549197, 0.000902793, 0.0350089446, -0.0009702544, 0.0085483706, -0.027962571, -0.00540645, 0.0169474389, -0.019369211, 0.0360142551, 0.0112819141, 0.0209409371, 0.0537438914, -0.0177305844, -0.0268445816, 0.0307746455, 0.0461707711, 0.0165767968, 0.0165352784, -0.0167949274, 0.0310129151, -0.0135217663, 0.0248880889, -0.0646019727, -0.0002696062, -0.0457100645, 0.0421631858, -0.0467193387, 0.008755995, -0.0330529511, -0.0104934387, -0.0172578357, 0.056787394, 0.063681826, -0.0188854635, 0.0148778111, -0.0067763017, -0.0171119776, -0.0406028628, 0.0306035336, 0.0026017625, 0.0056634066, 0.0230687317, 0.0090446742, -0.0172234047, -0.0319907218, 0.0033485321, -0.0870732144, 0.0296843965, -0.0075997477, -0.0094747422, -0.0096644759, 0.0460973531, 0.0235515013, -0.0289199706, -0.0631606877, 0.0104588009, -0.0120930634, 0.0080583198, 0.042416878, 0.0654611588, -0.0606959425, -0.0455014035, 0.0330159962, 0.0296055377, -0.0093289828, 0.0390130579, 0.0089905439, -0.0578258447, 0.0343485847, -0.0800103918, -0.0050787725, -0.0201724675, 0.0375169963, 0.0219475925, -0.039268475, 0.0155353732, 0.0208987836, 0.0431774221, 0.0128240678, 0.038817171, -0.0217470415, -0.0870634913, 0.02969441, -0.0264218654, 0.0059809042, -0.0223022997, -0.0194412842, 0.0505932346, -0.0023203872, -0.049295716, 0.0288617741, -0.0310147796, 0.0066893259, 0.0444779433, -0.0338314883, -0.0324635208, 0.0140164457, -0.0277832523, 0.0749581605, -0.0173925012, -0.0171436798, 0.0596892573, -0.0007942675, 0.0066624549, -0.0296295751, -0.0487205014, -0.0428889468, 0.0324214511, -0.021140473, 0.0171183273, -0.0058799279, -0.0224006213, -0.0297075622, 0.0085659996, 0.0544791669, -0.0514579862, 0.0575268976, -0.0478617586, 0.0275737569, 0.0075286813, -0.0283595119, -0.0382298008, -0.042270761, 0.020611044, -0.0332003534, 0.0293905716, -0.0069027753, -0.0680849329, 0.016007686, 0.0154206045, 0.0222814698, -0.0036097858, -0.0512211025, -0.0038639652, -0.0090321358, 0.0467415042, 0.0665299892, 0.0125167035, 0.0248046946, 0.0393784419, 0.0362871177, 0.0138882138, -0.074950546, -0.0238247663, -0.0252467785, 0.0140544241, -0.0380789526, 0.0104083503, 0.0345709249, 0.0112006022, 0.0050986004, 0.011430311, 0.0879500061, 0.0396311842, -0.0440977588, 0.0048346356, -0.0121822115, -0.0074572908, 0.0191581566, 0.0575411171, -0.020649476, -0.0168526135, -0.0142707443, 0.061718747, -0.0234240647, -0.0010709716, -0.0477460176, -0.0844281465, 0.0126822237, -0.0418770947, 0.0302018635, -0.001949641, -0.0467534773, -0.0148911159, 0.0052240593, 0.0671586841, 0.038490992, -0.0259641744, -0.0167167392, -0.0080139618, -0.009143766, -0.0119023565, 0.0008157435, -0.0113947671, -0.0208143108, 0.0842828378, 0.0146079417, 0.0128409052, -0.0009520979, 0.0029307471, 0.0299486201, 0.0058592428, 0.0167409237, 0.0333943851, -0.0163419675, 0.0193037391, -0.0130405501, -0.0011391499, -0.0043439809, 0.0482777953, 0.0184718911, -0.0236957744, -0.0065452796, 0.0197818074, -0.0245767292, 0.0221675709, -0.0135657247, 0.0597750396, 0.0122994343, -0.0186621603, -0.0461195484, -0.0222426951, -0.0234781299, -0.010063218, 0.004735468, -0.0227004346, -0.0141157452, 0.0193777829, -0.0681061968, -0.0554609932, 0.0054769693, 0.0100937756, 0.0055391882, -0.0099691823, 0.0044769356, 0.0573880263, -0.017134469, -0.0169029571, 0.0391896814, 0.0166191161, -0.0031457443, 0.0299690533, 0.0404686332, -0.0770591125, -0.0031733948, -0.0266787019, -0.0345090218, -0.0473269038, -0.0557700619, 0.0206250455, 0.0320190638, 0.0368092023, -0.0236846115, -0.0351955518, -0.0411025845, 0.0758433044, -0.0497748032, -0.0058753495, -0.0145975444, 0.040036615, -0.0043700417, 0.0341271311, -0.0867980495, -0.0030243772, -0.061452888, 0.0422194637, -0.0228556376, -0.0774062425, 0.0434203595, 0.0283077825, 0.0013721524, 0.0491754673, 0.0313362442, -0.0027576054, 0.0637222379, -0.0041266084, -0.0206384696, -0.0433491729, 0.0181376636, -0.0713670179, -0.0286380891, 0.0415928736, 0.0411760323, -0.0454421304, 0.0191246495, -0.0075397315, -0.0113153597, -0.0423506834, -0.0306446124, 0.0058721662, -0.0038717701, -0.0135354437, 0.0554269254, 0.0096198143, 0.0546835512, 0.005621729, 0.0328394771, 0.003627883, -0.0304409899, -0.022795368, 0.0228257086, -0.0481709912, -0.0905014724, 0.0013344806, 0.0182886217, -0.0162639264, 0.0105871689, 0.0271617696, -0.0204131678, 0.0189982001, -0.0216032416, 0.0036986212, -0.017598398, -0.0302169044, 0.023787573, 0.0355062373, -0.0114955967, -0.0330401808, 0.0445852764, -0.030892916, -0.0025821805, -0.0338412412, -0.0345241018, -0.0640060678, -0.0474746749, 0.0088336933, 0.0167215355, -0.0271781478, -0.0334345251, -0.0509537607, -0.0028977317, 0.0127092935, -0.0145582072, 0.016721867, -0.0285596959, 0.0699171051, 0.0944369584, 0.0287341289, -0.0229270104, -0.0184193887, -0.0229983982, -0.0890868306, 0.029198017, -0.015705334, -5.574799591e-33, -0.0002444666, -0.0338961817, 0.0245908629, 0.032383509, -0.0100476621, -0.0250260122, -0.0459633768, 0.0136759151, -0.0119319521, -0.0087378388, -0.0067670606, 0.024575701, 0.0121002095, -0.0091622649, 0.006082498, -0.0653269589, 0.0365477391, 0.020326253, -0.0129794339, 0.0456832759, 0.0265694503, 0.0346773677, -0.0332241841, -0.0047100368, 0.0494302474, -0.0591362864, -0.0099388352, 0.0762649626, 0.0135340523, 0.0438288003, 0.0047988077, 0.0487058535, 0.0275806468, 0.0102173565, 0.0093435384, -0.0034456353, -0.0211883672, -0.0043404116, 0.0092839701, -0.0030965391, -0.0565891825, 0.0125079285, 0.0264262687, 0.0001356042, 0.0031425413, 0.0651606321, 0.0547909588, -0.0094714761, -0.044789657, -0.0326770209, -0.0242682137, -0.0223880541, -0.0181349218, -0.0160035398, 0.0248347521, 0.0988632664, 0.0138259828, -0.0263819974, 0.0077645099, 0.0370343626, -0.0174324587, -0.0167095754, 0.012109234, 0.0438243784, -0.0043008989, 0.0188719388, 0.0455264673, 0.0378890485, -0.0097141322, 0.0106648291, -0.0400309786, 0.0780584216, 0.0160680301, 0.0325164907, 0.0057273582, 0.044956062, 0.0415860489, 0.0622119717, 0.0610926375, 0.0054958859, 0.0077166669, 0.025130257, -0.0512675196, -0.0110590206, -0.0030826668, 0.0873961076, -0.0737359896, -0.0545536242, 0.0231727865, 0.0432589091, -0.0025334263, -0.0297317449, -0.0279501751, -0.0163654778, -0.0072239758, -0.0599291325, -0.0091124931, -0.0206355453, -0.0015523066, -0.0269758031, -0.0019370718, 0.0202097874, 0.0175345037, -0.0139511684, -0.0394294932, 0.0189147256, -0.0450798534, 0.0015155463, -0.0049976739, 0.0084224306, -0.0040334174, 0.0112348329, -0.0455251932, -0.0170743726, 0.001806536, 0.0230008475, -0.0392020419, 0.0650842041, -0.0208375342, 0.0023175692, -0.0548898205, -0.0093241716, 0.0188137218, -0.0011589524, -0.0124146342, 0.0087695476, -0.0331777371, 0.0466255322, 0.0116517879, -0.0781909227, -0.0254155658, 0.0037294521, 2.714e-7, -0.0242188424, 0.011686462, 0.0019701074, 0.0582249314, 0.0080938255, 0.053348206, 0.006208383, 0.0304822363, 0.0203761552, -0.0714672804, 0.0590541847, 0.030084176, 0.0146714747, 0.0188227817, -0.079340212, -0.0605288707, -0.0042551318, -0.0342136845, -0.0551543012, -0.0091231326, 0.0860578194, 0.0208913572, -0.0043247612, 0.0085886577, -0.0107171889, -0.0476619117, 0.037580587, -0.0383347794, -0.0056362031, 0.0224855468, 0.0521628447, 0.0138565758, -0.0192664433, -0.0344473422, -0.0083175721, 0.0285168365, -0.0049367663, 0.0346507989, 0.0324402675, -0.0927887708, -0.00983111, -0.037125852, 0.0065600392, 0.0029773051, 0.0324062221, -0.0125865173, 0.0149494, 0.0056754057, -0.0336670987, 0.0013792445, -0.0560489781, -0.0395405702, 0.0038727417, 0.0016925621, -0.0217946079, -0.0456523299, 0.035374999, -0.0414042287, 0.015517666, 0.0031429667, -0.0422187112, -0.0325844623, -0.0322259925, 0.0116031598, 0.0112845562, -0.0062089157, 0.0312458668, 1.872835482e-34, 0.0560929812, 0.0319609046, -0.0168200284, 0.0572449677, 0.0182328206, 0.0218933001, -0.0152049903, -0.0297707617, 0.0353840329, -0.0588830858, -0.021145789 ]
http://arxiv.org/abs/2407.00938v1
http://arxiv.org/pdf/2407.00938v1
MalAlgoQA: A Pedagogical Approach for Evaluating Counterfactual Reasoning Abilities
2024-07-01T03:39:13
2024-07-01T03:39:13
Naiming Liu, Shashank Sonkar, Myco Le, Richard Baraniuk
cs.CL
cs.CL, cs.CY
This paper introduces MalAlgoQA, a novel dataset designed to evaluate the counterfactual reasoning capabilities of Large Language Models (LLMs) through a pedagogical approach. The dataset comprises mathematics and reading comprehension questions, each accompanied by four answer choices and their corresponding rationales. We focus on the incorrect answer rationales, termed "malgorithms", which highlights flawed reasoning steps leading to incorrect answers and offers valuable insights into erroneous thought processes. We also propose the Malgorithm Identification task, where LLMs are assessed based on their ability to identify corresponding malgorithm given an incorrect answer choice. To evaluate the model performance, we introduce two metrics: Algorithm Identification Accuracy (AIA) for correct answer rationale identification, and Malgorithm Identification Accuracy (MIA) for incorrect answer rationale identification. The task is challenging since state-of-the-art LLMs exhibit significant drops in MIA as compared to AIA. Moreover, we find that the chain-of-thought prompting technique not only fails to consistently enhance MIA, but can also lead to underperformance compared to simple prompting. These findings hold significant implications for the development of more cognitively-inspired LLMs to improve their counterfactual reasoning abilities, particularly through a pedagogical perspective where understanding and rectifying student misconceptions are crucial.
MalAlgoQA: A Pedagogical Approach for Evaluating Counterfactual Reasoning Abilities: This paper introduces MalAlgoQA, a novel dataset designed to evaluate the counterfactual reasoning capabilities of Large Language Models (LLMs) through a pedagogical approach. The dataset comprises mathematics and reading comprehension questions, each accompanied by four answer choices and their corresponding rationales. We focus on the incorrect answer rationales, termed "malgorithms", which highlights flawed reasoning steps leading to incorrect answers and offers valuable insights into erroneous thought processes. We also propose the Malgorithm Identification task, where LLMs are assessed based on their ability to identify corresponding malgorithm given an incorrect answer choice. To evaluate the model performance, we introduce two metrics: Algorithm Identification Accuracy (AIA) for correct answer rationale identification, and Malgorithm Identification Accuracy (MIA) for incorrect answer rationale identification. The task is challenging since state-of-the-art LLMs exhibit significant drops in MIA as compared to AIA. Moreover, we find that the chain-of-thought prompting technique not only fails to consistently enhance MIA, but can also lead to underperformance compared to simple prompting. These findings hold significant implications for the development of more cognitively-inspired LLMs to improve their counterfactual reasoning abilities, particularly through a pedagogical perspective where understanding and rectifying student misconceptions are crucial.
[ 0.04100997, 0.035568323, -0.0335983187, 0.0463955812, -0.0859662294, 0.0357508622, 0.0283955578, -0.0324056521, -0.0016069089, -0.0471203811, -0.0023538517, -0.0158035196, -0.0206106864, -0.0076167746, 0.0311761573, 0.0005724962, 0.0520082861, -0.0618776083, 0.0251986217, -0.0315660723, -0.0390944891, 0.0173019841, -0.0430060066, 0.0084470129, 0.0499089658, -0.0746351629, -0.0008765879, -0.018337395, 0.0029173479, -0.0380615592, 0.0021400491, 0.0342880748, -0.0099472534, 0.0507225916, 0.0000024261, -0.0804750621, -0.0197046269, -0.0277254619, -0.078450948, 0.0230744146, -0.0116558261, 0.044374451, 0.013641322, 0.017205447, -0.0206745267, 0.0785364658, 0.0193693601, 0.0259927399, 0.0561040863, 0.0452256426, 0.0368958823, -0.0455556214, 0.0227337983, 0.0182998758, 0.043814633, -0.02246443, 0.0068967603, 0.0651685148, 0.0089705009, 0.0193774328, -0.0269863997, 0.0210021064, 0.0438184924, 0.0050891517, -0.0341138132, 0.0055524926, -0.0134350192, -0.0084278379, 0.004138235, 0.0586286671, 0.0318888053, -0.0682195425, -0.0386322029, -0.013192961, 0.011336606, 0.06602332, -0.0607242882, 0.0382197946, -0.0259009115, -0.0037280032, 0.0242792144, -0.0089791575, 0.0177326072, 0.0273907091, -0.0092625003, 0.0731914192, -0.0061070579, -0.0288008731, -0.0051502092, 0.0058963089, -0.0451094471, -0.0187203307, 0.0166284405, 0.0543190762, -0.0007807636, 0.0181288235, 0.0065249754, -0.0509891436, 0.0048717964, -0.0498856865, 0.0191800911, 0.0569130108, 0.0208150204, 0.0396694168, -0.0378309973, 0.0575410463, -0.0261724908, 0.0553210005, -0.0304916017, 0.0057663433, -0.0296549853, -0.057660453, 0.0044010491, 0.0283569861, 0.0100871995, 0.0111356201, -0.0155009683, -0.0251411516, -0.0727205575, 0.0185087658, -0.0321261995, -0.0033733943, 0.0189234465, -0.0471758321, -0.057158418, 0.0331569761, -0.0229217354, 0.0451169796, 0.0048540412, -0.0090874555, -0.0064236778, 0.0030927334, -0.0360980555, -0.0189246107, 0.0345411152, 0.0785192922, -0.0420114137, 0.0209227558, -0.0596993007, -0.0178915448, 0.0248950981, -0.0640241057, 0.0262471326, -0.0871764198, -0.0270702057, 0.0340594053, -0.0169888642, -0.0101199495, 0.0229799896, 0.0151843, 0.0036158424, 0.0569031388, 0.0166939311, 0.010418158, 0.0519772805, 0.0190541353, -0.0267053768, 0.0502083041, 0.0409166366, -0.0425264649, 0.0254848413, -0.0284092445, -0.0056591141, -0.011468987, 0.018459443, -0.0118970852, -0.030091092, 0.0222690012, 0.0020671084, 0.0244574994, -0.0191799924, 0.0246119071, -0.0026346755, 0.0043842085, 0.0441779606, 0.0321816131, -0.0404309891, 0.0036800066, 0.0196530968, -0.0142845167, 0.0071296399, 0.0327662267, -0.0493263081, 0.0354322232, -0.0811183602, 0.0124378819, 0.0078523047, 0.003043496, 0.0095095402, -0.059339568, -0.0066904379, 0.0255868006, 0.0107321097, 0.0590902939, 0.0608303063, -0.0046414561, -0.0230584051, -0.0150295142, -0.0297195856, -0.0212554429, 0.0142961554, -0.0695981383, 0.0390199944, 0.0241619535, 0.0485646203, -0.025845794, -0.0446003154, -0.004192153, -0.0010638528, 0.0138654765, 0.0300171319, -0.0109637771, -0.0297683664, -0.0260235351, 0.0135714049, -0.006247797, 0.0166356079, -0.0115470095, 0.0042950795, 0.016408816, 0.0092721302, -0.0160109047, 0.0105751306, 0.0291925389, -0.0667590797, -0.0547179282, -0.0485749729, -0.0060459636, 0.0091856215, 0.001876577, 0.0135319429, 0.0304438118, 0.0198246911, -0.0028744093, 0.0027090695, -0.0005702045, -0.062372271, -0.0183029063, 0.0491693802, -0.034826763, -0.0361268595, 0.0506869182, -0.0140218129, -0.0175850298, 0.0622418188, -0.0162843876, 0.0465238728, 0.0014537235, 0.0516374558, -0.0152332038, -0.0359404869, -0.02237509, 0.0553193651, -0.0081675956, 0.0597408824, 0.0019206487, 0.0089351647, 0.0109616127, -0.0048308237, -0.0007675402, 0.0065880748, -0.0073324903, -0.0110441502, -0.0175509583, 0.010849013, -0.0537646227, 0.001658459, -0.0106892735, -0.0098479781, 0.0079463515, 0.0315594748, 0.0102528501, -0.0768639669, -0.0196933411, 0.0030195937, 0.0012534987, -0.0112837665, 0.0030007304, 0.0068425112, 0.0028189982, -0.0277357791, -0.0068343459, -0.0158780161, -0.0125988284, -0.070789516, 0.0489448011, 0.022785712, 0.0381715633, -0.0278956555, 0.0017073558, -0.0343050025, -0.0096835904, -0.013643872, -0.0113107515, 0.0419031195, 0.0260224976, 0.0219358206, 0.0721902028, -0.0060904305, 0.0117181642, 0.0506461188, -0.0180472843, -0.0511982068, 0.0136336712, 0.0017804912, -0.0063224076, -0.0188139733, -0.0714729428, -0.0738419071, 0.0293473396, 0.0069691092, -0.010641518, -0.0237804055, 0.0741920248, -0.0288204476, -0.0176847558, -0.0555721596, -0.0636474639, -0.0140560996, 0.0676919073, -0.0014962115, -0.0161036365, 0.0799019709, 0.0046990789, 0.0090214154, -0.052057147, 0.0407185853, -0.0010308385, 0.0669276118, -0.017972976, -0.0011688289, 0.0148120727, 0.0247458164, -0.0616592169, -0.0166817941, 0.0351962857, -0.0398492552, 0.0474232174, -0.0965394303, -0.03320916, -0.0001603937, 0.0124894818, -0.0538015291, 0.017561648, -0.0225047953, -0.0203645639, -0.0446549915, -0.0166019052, -0.0349396169, -0.0142495846, 0.0410953946, -0.0021533889, -0.0157420449, -0.0164220799, 0.0050606364, -0.0082423091, 0.0235944018, 0.0382926837, 0.091454491, -0.048886627, 0.0595639795, 0.0350955017, 0.0201194528, -0.0214925464, 0.0227498896, 0.0119521311, 0.0194945838, 0.0034994013, 0.0070977425, 0.0341320261, 0.0350617692, -0.058848165, -0.005141397, 0.0797279254, 0.0680640116, -0.0046330253, 0.0088111749, -0.0547789, 0.0332050361, 0.0329910591, -0.0183256641, -0.0602468923, -0.0395290703, 0.0202308241, 0.0213521644, -0.0549067669, -0.0403603204, -0.0120972898, -0.1344032437, 0.006562137, 0.0272860471, 0.0150555037, -0.0249981657, -0.0401020497, -0.012180821, 0.0093345242, -0.021573998, 0.0389749072, 0.0058916281, 0.0209149905, 0.0230126772, -0.0161244627, -0.0303096119, 0.033679571, 0.035039179, 0.0296189487, -0.005186535, -0.0143374149, -0.0273308381, -0.0366359055, 0.0412671529, -0.0234124027, -0.0386815555, -0.0171917528, 0.007776204, -0.0075244582, 0.0178092737, -0.0659563765, 0.0366659611, -0.0346799642, -0.0788904652, 0.0438450351, 0.1137546971, 0.0016698556, -0.017546162, -0.0387969203, 0.0236059427, -0.0363057405, 0.090670377, 0.0263269674, -0.0369633175, -0.0051611061, -0.0585795231, -0.036392048, -0.0049871244, -0.0363118388, 0.0102543235, 0.0716753751, 0.0282793492, 0.0066494225, -0.057530418, 0.0301551092, 0.0014620563, -0.00083553, 0.0107794125, -0.002308496, 0.0109652514, -0.0393916108, 0.0016036802, -0.0162266362, 0.0348967724, -0.035058789, 0.0093927979, -0.029833192, -0.0393694341, -0.046590209, 0.0145471422, -0.0763573423, -0.0547926202, 0.0012084496, 0.0129278852, 0.0332475863, -0.0108965263, 0.0303662717, -0.0138087524, -0.0254645366, -0.018342318, -0.0083083585, 0.0059970049, 0.0382226445, 0.0170370825, 0.028556101, 0.0180855207, 0.0152697815, -0.0086456472, 0.0274119005, 0.0604738519, -0.0413461402, 0.0189082045, 0.0466030911, 0.0254653972, 0.0091093341, 0.0146902734, 0.025670873, -0.0362110846, 0.0394541994, -0.025419306, -0.0304607078, 0.0263476558, -0.0215836484, 0.0285234991, -0.0311233476, 0.0013844348, -0.0637897253, -0.0206352323, 0.0249419566, 0.0149599146, 0.0768102109, 0.0210126843, 0.0381736681, 0.0065715252, -0.0307809468, -0.0077962819, -0.0200617686, -0.0115890959, 0.0627851188, 0.0209324453, 0.0911833718, 0.0138878254, -0.0201322753, -0.0073866812, -0.0345180146, -0.0629881099, -0.0371032692, 0.0163349863, 0.0285500493, 0.0014385701, -0.0147492727, -0.0020763495, -0.0315017812, 0.0122813564, -0.0174248144, 0.024135042, 0.0227253679, -0.0309434049, 0.0436395183, 0.0233873557, 0.0197204947, -0.0041953432, 0.0329304039, -0.0365042537, 0.0183035266, -0.0015217138, -0.0055985744, -0.0141846994, -0.0531387553, -0.002409047, 0.046080377, 0.0065444857, 0.0302860737, -0.1096027866, -0.0874904767, -0.0205447972, 0.0297811385, 0.0256998464, -0.0328008085, -0.0045463019, 0.0731489062, -0.0224015955, -0.0381903127, -0.0036239035, 0.0607327409, -0.0300609898, 0.0148560107, -0.063360922, -6.355943505e-33, -0.0175175685, -0.055732388, 0.0323418528, -0.0149082812, 0.0288793426, -0.0450921915, -0.039584063, 0.0462077819, -0.0411819145, 0.005463528, 0.0212276857, 0.0175140314, -0.0081991246, 0.0154998098, -0.0114791095, 0.0038046755, -0.0185722057, 0.0211979505, -0.0208560955, -0.0163984764, 0.0131995156, -0.0346021056, 0.0734614059, -0.0749780536, 0.0589014441, -0.0330551714, 0.0194637123, 0.0259104054, -0.1054765806, 0.0328064077, -0.00899061, 0.0321074426, 0.0108981542, 0.0043936437, 0.0175815001, 0.0008000009, 0.0185535103, -0.0556837395, 0.0722661689, 0.013938589, -0.0109552667, -0.054697454, 0.0079285866, 0.0153548829, -0.0570577048, -0.0077671367, 0.0235996991, -0.0315093137, 0.0240251012, 0.0797604695, -0.0757061541, 0.0257733092, -0.0574085899, -0.0244227555, -0.0168337319, 0.0952369869, -0.0132841524, 0.0074779014, -0.0614512004, 0.0317729563, 0.0756129399, -0.0218558796, 0.1035618708, 0.0139473472, 0.010746208, 0.0514182411, 0.0398551933, 0.0030890526, -0.0308694225, -0.0134249208, 0.0052334797, 0.0134806335, 0.1189186275, 0.0522365719, 0.0496549495, -0.0132868942, -0.0920276269, -0.0149428602, -0.0283126663, 0.0054302174, 0.0466463417, -0.0233222563, -0.0367877409, -0.0083539616, -0.083311595, -0.0175027568, -0.026961932, 0.0068791704, 0.0452716611, -0.0661503598, -0.0365132652, -0.0163662191, 0.0135764554, -0.0144316424, -0.0076501747, 0.0207934678, -0.0061499993, 0.021776909, 0.0112160807, 0.0517141074, -0.0570595227, 0.007834563, -0.0058746981, -0.0121937701, 0.0509549677, 0.0021351108, 0.015821185, -0.0116165718, -0.0144157177, -0.016577905, -0.0553701147, -0.0175018664, 0.0258120075, -0.0241989791, 0.0530668758, 0.040183004, -0.0240749959, -0.0059354911, 0.006492673, -0.0471298397, -0.0287141986, 0.0107220095, -0.0555229411, 0.0114370286, -0.013152522, -0.0144997528, -0.0159034561, 0.0234438814, -0.0126033723, -0.0615804009, -0.000160114, 0.0389691368, 2.949e-7, 0.0405691229, 0.0442995578, -0.0041155629, 0.0160063542, 0.0092919897, 0.0456892624, -0.0621827953, -0.0539960526, 0.0741102695, -0.0130067924, -0.0174231585, 0.0560366437, 0.0383498408, 0.0217583459, -0.0132990303, 0.0168674234, -0.0450212732, -0.0008651345, -0.0389021449, 0.0498819426, 0.0984281078, 0.0293017346, 0.0120962141, -0.0009329225, -0.0144867711, -0.0074111423, 0.0136870882, -0.049924057, 0.0152570987, -0.0063807769, -0.0122153768, -0.0376586355, 0.0362438969, 0.04192397, 0.0135027403, -0.0218861755, -0.0288703665, 0.0289791394, -0.0154985394, -0.033419814, -0.0442181714, -0.0131263267, 0.0079090651, -0.0968598351, 0.0665820315, -0.008399047, -0.0227716714, 0.02918946, -0.0428473428, -0.0113426978, 0.0221632626, 0.0117524518, -0.0306674298, -0.0078040813, 0.0222636368, -0.0145058623, 0.0360701047, -0.013147125, -0.012421173, 0.0271311048, -0.0106504401, -0.0343748629, -0.0686253756, -0.013153553, 0.0421358272, -0.0368954577, 0.0047325534, 2.656057955e-34, 0.0228878818, -0.0052361931, 0.0342476703, 0.0155384745, 0.0380344018, 0.0132907908, -0.0006906671, 0.0196710769, 0.0370276719, -0.0336118266, -0.021526441 ]
http://arxiv.org/abs/2407.00936v1
http://arxiv.org/pdf/2407.00936v1
Large Language Model Enhanced Knowledge Representation Learning: A Survey
2024-07-01T03:37:35
2024-07-01T03:37:35
Xin Wang, Zirui Chen, Haofen Wang, Leong Hou U, Zhao Li, Wenbin Guo
cs.CL
cs.CL, cs.AI
The integration of Large Language Models (LLMs) with Knowledge Representation Learning (KRL) signifies a pivotal advancement in the field of artificial intelligence, enhancing the ability to capture and utilize complex knowledge structures. This synergy leverages the advanced linguistic and contextual understanding capabilities of LLMs to improve the accuracy, adaptability, and efficacy of KRL, thereby expanding its applications and potential. Despite the increasing volume of research focused on embedding LLMs within the domain of knowledge representation, a thorough review that examines the fundamental components and processes of these enhanced models is conspicuously absent. Our survey addresses this by categorizing these models based on three distinct Transformer architectures, and by analyzing experimental data from various KRL downstream tasks to evaluate the strengths and weaknesses of each approach. Finally, we identify and explore potential future research directions in this emerging yet underexplored domain, proposing pathways for continued progress.
Large Language Model Enhanced Knowledge Representation Learning: A Survey: The integration of Large Language Models (LLMs) with Knowledge Representation Learning (KRL) signifies a pivotal advancement in the field of artificial intelligence, enhancing the ability to capture and utilize complex knowledge structures. This synergy leverages the advanced linguistic and contextual understanding capabilities of LLMs to improve the accuracy, adaptability, and efficacy of KRL, thereby expanding its applications and potential. Despite the increasing volume of research focused on embedding LLMs within the domain of knowledge representation, a thorough review that examines the fundamental components and processes of these enhanced models is conspicuously absent. Our survey addresses this by categorizing these models based on three distinct Transformer architectures, and by analyzing experimental data from various KRL downstream tasks to evaluate the strengths and weaknesses of each approach. Finally, we identify and explore potential future research directions in this emerging yet underexplored domain, proposing pathways for continued progress.
[ 0.0325499177, 0.0049529118, -0.0278486572, 0.0547427349, -0.0334706753, 0.0101511125, -0.022838559, -0.0173731111, 0.0113895033, -0.0812402815, -0.0479911715, -0.0065848273, -0.0160578061, 0.0090200435, 0.0251530204, -0.0049501136, 0.016203111, -0.0108576789, -0.0162619203, 0.0123462165, -0.0173882619, 0.0224473812, 0.02836008, 0.0326568484, -0.0038254301, -0.0178070199, 0.0039047389, -0.0427798033, 0.0210113544, 0.0025760108, -0.0314519182, 0.0034200167, 0.043602217, 0.044310689, 0.0000019233, -0.0508582182, -0.054127831, -0.0060853828, -0.0213915091, -0.0294146799, 0.0401299112, -0.0604288317, 0.0141314454, -0.0136325872, -0.0518119186, -0.0053857975, 0.0197048876, 0.0943081975, 0.0371602811, 0.0367608517, -0.0144969905, -0.0368800424, 0.0448851176, -0.0240970682, -0.0381518006, -0.0178205818, 0.0515864976, 0.052905567, -0.0099598635, 0.0303910915, -0.0251670852, 0.0380478911, -0.0118755214, -0.0006017128, 0.0055780397, 0.0352937989, -0.0243868418, 0.0156744551, 0.0169888604, 0.0691308156, -0.0148831792, 0.0033079041, -0.0300960299, 0.0116249518, -0.0014525985, 0.0373985022, -0.0336707644, 0.0312827192, 0.0080740973, 0.0310378578, 0.0164997745, -0.0004124264, 0.0613992773, -0.0026096785, -0.0702481419, 0.0424608029, 0.0164765976, -0.0493265018, -0.0204526801, -0.0109080197, -0.0281132143, -0.0294872336, -0.0102754487, 0.041019503, 0.018911643, 0.0398964919, 0.0203661397, -0.0014148291, 0.0135384202, -0.0351870842, 0.0215714425, 0.0063962326, -0.0081142578, 0.0710557997, -0.0975679085, 0.0597790219, -0.0337662064, 0.0128673865, -0.0715308934, -0.0613591596, -0.087415278, -0.0320956446, -0.0070094117, 0.0617871694, -0.0135852313, -0.0348701924, -0.02310827, 0.0547648519, -0.0279538017, 0.0464207903, 0.0123320799, -0.0031794608, 0.0167357456, -0.0192164183, -0.0373147875, 0.070823051, 0.0018381467, 0.0263348073, -0.0386670679, -0.0168819744, 0.0176416617, 0.0118530104, 0.0056152027, -0.0355297811, -0.0102088787, 0.0532409921, 0.0273595545, -0.0294481553, -0.0275452193, -0.0186073743, -0.0258497503, -0.0473467521, 0.009023698, -0.04827087, 0.0449901484, 0.0180339757, -0.0003655771, -0.0373680107, 0.0093649793, -0.0136125898, -0.036746785, 0.0962787792, 0.0058617033, -0.0098183881, -0.0027367685, 0.0109530389, -0.0165115166, 0.051289469, 0.0195995457, 0.0072587468, 0.0012805009, -0.0234136302, -0.0338580236, 0.0144357346, 0.0031539192, -0.0171464887, 0.009308028, 0.0016376454, 0.0371903256, 0.0171806887, 0.0263993088, 0.0459995717, -0.0117525887, 0.0088657048, 0.0649079382, 0.0351158045, 0.0466532931, 0.0372459069, 0.0514888093, -0.0031035184, -0.0048781871, -0.0314111412, -0.0545881316, 0.0039544543, -0.0453634895, 0.006624517, -0.045181945, 0.0591014512, -0.0253408644, 0.0026644594, -0.0073017501, -0.0300623868, 0.0073811593, 0.0117128883, 0.080365859, 0.0012705817, -0.010930609, 0.0975149795, 0.0471377932, -0.0038922818, 0.0311102569, -0.0335288569, 0.0059760683, 0.0470458008, 0.0300086495, -0.057942979, -0.0156142106, -0.0250962079, -0.0330714583, 0.0114534488, 0.0327127315, -0.0239329264, -0.0514731407, -0.0315976366, -0.0404476449, -0.0199210923, -0.0042580832, 0.0080574183, 0.0056713135, 0.0094167376, 0.0433657877, -0.0378328376, 0.0239009224, 0.0297433399, -0.0474549308, 0.0032856371, -0.0169338379, 0.0282725003, 0.0308419783, 0.0159783307, 0.0175100919, -0.0103808707, 0.0496965833, -0.0593878292, -0.0523137599, 0.0205414686, -0.0593628399, -0.029117763, 0.0379619896, 0.0015221124, 0.0155590968, 0.0020763546, -0.0244668424, -0.0234035272, -0.0257527847, -0.0020686185, 0.0975882784, -0.0475807115, -0.0075148079, -0.0120532196, 0.0062348549, -0.041361928, 0.0970456675, -0.0053115329, -0.0091880914, 0.012375596, -0.0188358296, 0.003698024, 0.0220415406, -0.0435460843, -0.0259116963, -0.0085443929, 0.0052138283, 0.0119090257, -0.0506188646, -0.0183042195, -0.0517712533, -0.0982944369, -0.0108381156, 0.0070930379, -0.0145659475, 0.0014115301, -0.0052897604, 0.0353579521, 0.0309320968, -0.0355292149, -0.0118021714, -0.0002207787, 0.0196417682, -0.0009236368, -0.0066472162, -0.0366245806, 0.0044251648, 0.0085948184, -0.0385069028, 0.0700224712, -0.0083667487, 0.0021178233, -0.0747135356, 0.0101671992, -0.016837569, 0.0053221006, -0.0446970463, -0.0049082451, -0.0216277689, -0.0177193768, 0.0457772464, 0.0243713744, -0.0172785036, 0.022245042, 0.0753081217, -0.0166599788, -0.0362317935, -0.0089787487, -0.0450386927, -0.0005169264, -0.0713755935, -0.0046594655, -0.0101801688, 0.0469114482, 0.0000132437, -0.0194439627, -0.059336178, -0.0034488151, -0.0290698595, -0.0181165095, -0.013737767, -0.0047568218, 0.0131781762, 0.0018621838, -0.0127150714, -0.0088434024, 0.0520358235, -0.0323468894, 0.0142106451, -0.0035119276, -0.0114326868, -0.052529797, 0.0542561077, -0.0137336943, 0.0300799571, 0.0089589041, 0.0032955275, -0.0414882042, 0.011834247, -0.0162974447, -0.0263269246, 0.0770597681, -0.0009558382, 0.0099440124, 0.0009563643, -0.0140075339, -0.0408740304, -0.0207740813, -0.0330649503, 0.0692946985, 0.0367255211, 0.006597036, -0.0352950022, 0.0455821827, 0.021513829, -0.0314537361, 0.018321773, -0.02468016, -0.0367887281, 0.0389430784, 0.0492301509, 0.0221129227, 0.0702434555, 0.0240176599, 0.0344849639, 0.0379660204, -0.0019036144, -0.0227738749, -0.0380204469, 0.0043179104, 0.0213278029, -0.063239485, -0.0135366218, -0.0177833606, 0.0199623182, -0.017303504, 0.006750708, 0.1374291033, 0.0177246444, -0.0399683192, 0.0027541984, -0.0165297911, -0.0265523084, 0.0337772109, 0.0249828324, -0.0667795241, -0.0061014993, -0.0101557486, -0.017291585, 0.0336881429, -0.0391594209, 0.0093579637, -0.104727149, 0.0090897121, 0.0088596698, -0.0084940698, -0.0568347983, -0.0366907679, 0.0025165887, -0.0069021224, 0.0151739772, -0.0287527125, -0.0367582329, -0.0464570001, -0.0009074929, -0.0239211991, -0.0708445907, 0.0485732071, -0.0497058518, 0.0531653054, 0.0337467417, 0.0197377373, -0.0160678644, -0.0023205362, -0.0585173629, 0.0040382161, 0.0042670341, 0.0001320732, -0.0143750189, -0.0010102593, -0.0112663386, -0.0119897565, -0.0101670092, -0.0655780807, -0.0172309428, -0.0230203513, 0.1437713355, -0.0181301069, -0.0009791591, 0.0097902557, -0.0219868775, -0.0022778837, 0.1111140475, -0.0084463554, -0.0217634365, 0.0112559143, 0.0284465756, -0.010058919, 0.0425262898, -0.0303112511, 0.0528638065, -0.0050083525, 0.022921171, -0.0667240396, -0.0287003331, 0.0208612438, -0.0062530828, 0.0410065353, 0.0277233738, 0.0507352799, -0.0309129171, -0.0464261584, 0.0087274183, -0.0633976683, 0.0048818956, -0.0053863288, -0.0021323676, 0.0641153753, -0.0480566472, -0.0246108118, -0.0092738839, -0.0790270418, -0.0434492752, 0.0081040906, 0.0435325988, 0.0094713429, 0.0615024976, -0.0084886439, -0.0045427564, 0.0835395157, 0.0186573025, -0.0301563311, 0.0128586208, -0.0007257938, 0.0158945322, 0.0041538128, 0.0487912595, -0.0793317854, 0.0141725028, 0.0226977114, 0.0385207906, -0.0439362265, -0.0354865193, 0.0343700387, 0.0096273692, 0.0107107265, 0.0118799126, 0.0013886864, -0.0207702834, -0.003545136, -0.0486618094, -0.0225915778, -0.0393478908, -0.0376398526, 0.0334062986, -0.0187797695, 0.0174942259, 0.0107110618, 0.0318376161, 0.0299259834, -0.0225656833, 0.0035277861, 0.0167691875, -0.0145858899, 0.021928573, 0.0344383791, -0.0210353564, 0.006171999, -0.011416926, 0.015856076, -0.0436449461, 0.0503038876, 0.0001214645, -0.0131099252, -0.0744954199, 0.0223341193, -0.0366677716, -0.0605523363, 0.0391979441, 0.0015305005, 0.0841197595, -0.0365736373, 0.0337432288, -0.0382458754, -0.0142110894, 0.0002306024, 0.0097886641, 0.0043521645, -0.0080450876, 0.0463680401, 0.0200791601, -0.0098590422, -0.004279051, 0.0486500338, -0.0073042409, 0.0447919816, -0.0270925574, -0.0425544269, -0.047850024, -0.0274403654, 0.0308119506, -0.0090761147, -0.0431505479, 0.0151930237, -0.0697088018, -0.0565600805, 0.0482951105, -0.0444715321, -0.0480665565, -0.0092327762, 0.0307133216, 0.0542740226, 0.0203314535, -0.0246714298, -0.0289070457, 0.001626121, -0.0192572828, 0.0147579527, 0.0287396777, -5.913925303e-33, -0.0305174813, 0.0025853699, 0.0177616775, -0.0239296276, -0.0185731612, 0.0224850383, 0.0031750523, -0.0397671722, -0.0306302831, 0.01563395, 0.0193452109, -0.0306653455, -0.0127494801, 0.0119420541, 0.0005340613, 0.0042517646, 0.0419973508, 0.0419761874, 0.0134425852, 0.0316925384, 0.0594586954, 0.0307275578, 0.0422966778, -0.0723708868, 0.0089789415, 0.010010601, 0.0268063322, 0.0262163021, 0.0070654564, 0.0921411216, -0.0426262431, 0.0588433258, 0.040526107, -0.044701349, -0.0059561739, 0.0153777031, -0.0921770856, -0.0103324577, 0.0229702871, 0.007779981, 0.0213792454, -0.030948462, 0.0648210868, -0.0171463825, 0.0505815186, -0.028271649, 0.0440827943, -0.0349077657, -0.0374621786, -0.0309140943, -0.068796441, -0.0154548883, 0.0119329197, -0.0026361316, 0.0281553734, 0.005108072, 0.0315400325, 0.0417846553, -0.0851459503, -0.0034363756, 0.0037223708, 0.0159733705, 0.0678045452, 0.0321422927, 0.0083892969, 0.0495087653, -0.0316185057, 0.002101873, -0.0479454398, -0.0131185204, 0.01765275, 0.0505941249, 0.0266514253, 0.0372380242, -0.052734796, 0.00780119, -0.0570424758, -0.0168770831, 0.0101491595, 0.0631611273, 0.0498652235, 0.0030851786, -0.0063387319, -0.0076682069, -0.0520843491, 0.0244738609, -0.0233538859, -0.0178556442, 0.0169229321, 0.0078736627, -0.0086109489, 0.0282635614, 0.0426636264, -0.0863200054, -0.0118606091, 0.044225309, 0.0116555393, 0.0107183559, -0.0194143765, 0.0200950541, -0.063774474, -0.0505383387, 0.0144515252, -0.0350695699, -0.0254010428, 0.0029273655, 0.0475151055, 0.011884612, -0.0198648833, 0.0119821532, -0.0235155057, -0.0552309044, -0.0020392493, -0.0136096412, 0.0288775619, 0.0585284084, 0.0039879042, -0.0108790323, 0.056939844, -0.005581724, 0.0208334476, 0.0211281851, 0.0290444791, 0.0126139512, -0.0110872686, -0.0069326633, -0.0500999093, 0.005976574, 0.0229209308, -0.0369994678, -0.0161861368, -0.0087083904, 2.68e-7, 0.0583047159, 0.0421597175, -0.0042488906, 0.0062305913, 0.0206482541, 0.0263557509, -0.0060348832, 0.0187439825, -0.0030683379, -0.0100992471, 0.0374642834, 0.0410604961, -0.0064882552, 0.0205687135, -0.0881240293, 0.0078715859, -0.0130648771, -0.015007711, -0.0386775769, 0.0153526533, 0.0802166089, 0.1022353917, 0.0204510763, -0.0138400728, -0.0138039682, -0.0461019389, 0.0957013294, -0.0372387059, 0.0081370566, 0.0391968004, 0.0063077034, 0.0412818789, 0.0042796372, 0.0550082363, 0.0187298376, 0.0345001295, -0.0109989773, 0.037319757, 0.0036630663, -0.0111025507, -0.0052390331, -0.0164039861, 0.0050359699, -0.0805066228, 0.0691325516, -0.1191392243, -0.0161340963, 0.0038123343, -0.0317823179, -0.0192283653, -0.0370519906, 0.0031104768, 0.0176843293, 0.012480529, -0.0046018572, 0.0168443173, -0.0094593195, -0.1151903346, 0.0275204573, 0.037697535, -0.0487050153, -0.0275002848, -0.0139579792, -0.0598473921, 0.0562550277, -0.0509738773, 0.0391719565, 2.679516873e-34, 0.0016318483, 0.0228476115, -0.0076882238, 0.0509453043, 0.0366599746, -0.0211629197, -0.0205981359, 0.0211794917, 0.0091814129, -0.1299156547, 0.027900042 ]
http://arxiv.org/abs/2407.00935v1
http://arxiv.org/pdf/2407.00935v1
Look Ahead or Look Around? A Theoretical Comparison Between Autoregressive and Masked Pretraining
2024-07-01T03:35:59
2024-07-01T03:35:59
Qi Zhang, Tianqi Du, Haotian Huang, Yifei Wang, Yisen Wang
cs.LG
cs.LG, cs.CL
In recent years, the rise of generative self-supervised learning (SSL) paradigms has exhibited impressive performance across visual, language, and multi-modal domains. While the varied designs of generative SSL objectives lead to distinct properties in downstream tasks, a theoretical understanding of these differences remains largely unexplored. In this paper, we establish the first theoretical comparisons between two leading generative SSL paradigms: autoregressive SSL and masked SSL. Through establishing theoretical frameworks, we elucidate the strengths and limitations of autoregressive and masked SSL within the primary evaluation tasks of classification and content generation. Our findings demonstrate that in classification tasks, the flexibility of targeted tokens in masked SSL fosters more inter-sample connections compared to the fixed position of target tokens in autoregressive SSL, which yields superior clustering performance. In content generation tasks, the misalignment between the flexible lengths of test samples and the fixed length of unmasked texts in masked SSL (vs. flexible lengths of conditional texts in autoregressive SSL) hinders its generation performance. To leverage each other's strengths and mitigate weaknesses, we propose diversity-enhanced autoregressive and variable-length masked objectives, which substantially improve the classification performance of autoregressive SSL and the generation performance of masked SSL. Code is available at https://github.com/PKU-ML/LookAheadLookAround.
Look Ahead or Look Around? A Theoretical Comparison Between Autoregressive and Masked Pretraining: In recent years, the rise of generative self-supervised learning (SSL) paradigms has exhibited impressive performance across visual, language, and multi-modal domains. While the varied designs of generative SSL objectives lead to distinct properties in downstream tasks, a theoretical understanding of these differences remains largely unexplored. In this paper, we establish the first theoretical comparisons between two leading generative SSL paradigms: autoregressive SSL and masked SSL. Through establishing theoretical frameworks, we elucidate the strengths and limitations of autoregressive and masked SSL within the primary evaluation tasks of classification and content generation. Our findings demonstrate that in classification tasks, the flexibility of targeted tokens in masked SSL fosters more inter-sample connections compared to the fixed position of target tokens in autoregressive SSL, which yields superior clustering performance. In content generation tasks, the misalignment between the flexible lengths of test samples and the fixed length of unmasked texts in masked SSL (vs. flexible lengths of conditional texts in autoregressive SSL) hinders its generation performance. To leverage each other's strengths and mitigate weaknesses, we propose diversity-enhanced autoregressive and variable-length masked objectives, which substantially improve the classification performance of autoregressive SSL and the generation performance of masked SSL. Code is available at https://github.com/PKU-ML/LookAheadLookAround.
[ 0.0149815138, 0.0474347025, -0.0063550062, -0.0250101667, -0.0165095702, 0.0056749675, 0.0916831791, -0.0026921185, -0.0017560116, -0.0210847519, -0.0024451751, -0.0331416763, -0.0157711487, 0.0587312914, 0.0359038636, -0.0420592986, 0.0257096607, -0.0249549989, -0.0119539555, -0.0216477606, -0.0262104534, -0.018781133, 0.0010204188, -0.0018513442, -0.0796036497, -0.0131777572, -0.0122564863, -0.0056586387, 0.0082638301, -0.0443832986, -0.012360096, 0.0767888278, 0.0144187119, 0.0360136814, 0.0000022329, -0.0266878363, 0.0010286042, -0.001252329, -0.0080095986, 0.0013101797, 0.0267298613, -0.0141798509, 0.0017435827, 0.0059315087, -0.0311024413, -0.0498119518, 0.0324063897, 0.0582821332, 0.0417926274, 0.0604949892, -0.034574125, -0.03084426, 0.0002737688, -0.0612621903, 0.0258516632, 0.0043257843, -0.0064342003, -0.0310646296, -0.0273618922, 0.0211750753, -0.027485257, 0.0479214005, 0.049040243, -0.0240059961, 0.0553705096, 0.0852799341, 0.0077245603, -0.004655533, 0.0157562904, 0.0317045823, -0.0327663906, -0.0209131762, 0.0254002046, -0.0456258357, 0.027601013, 0.0144047486, -0.0082704211, 0.0260047819, 0.0134650916, 0.0086990809, -0.0135898385, 0.07426209, 0.0096991258, -0.0233443007, -0.0102053089, -0.0019230421, 0.0092281755, -0.0229367372, -0.0357807688, 0.0216755513, 0.0135625284, -0.043109566, 0.0123259593, 0.0320292488, 0.0478375219, -0.0316342302, -0.0368054844, -0.0556396469, 0.0116211222, 0.0396064073, 0.0363348387, 0.0051859519, -0.0439674444, 0.0065811262, -0.0473018289, 0.0235948116, 0.0000381178, -0.0123399198, -0.0368140042, 0.0342345834, -0.0020859765, -0.0395783521, -0.0346712433, 0.0421483889, -0.0453149714, -0.0180460662, -0.0585026406, 0.0464570709, -0.0084479358, -0.0325213373, -0.0374711677, 0.0354059748, -0.0521554761, -0.0065354896, -0.009459557, -0.0373727307, -0.0450129658, 0.0092669539, 0.0289331488, -0.0217168033, -0.0004469863, 0.050969217, 0.017805431, -0.0095069548, -0.0028653184, 0.0614567883, -0.0446618535, 0.0081534805, -0.0361697786, -0.0402732342, -0.0540707633, -0.0277743004, 0.0348677859, -0.0601184256, 0.0089021092, 0.0100509599, -0.0366745628, -0.0219961293, -0.0305570215, -0.0237196516, 0.0394414924, 0.021301154, 0.013334943, -0.0011014869, 0.051878918, 0.0064000003, 0.0139398109, 0.0619448349, -0.0255777854, 0.0691141561, -0.0020816736, -0.0025105583, 0.0444182158, -0.0143137472, 0.0576400049, -0.0067090387, 0.0052731936, -0.0265901219, 0.0102215745, 0.0181704555, 0.0631717369, 0.0202428084, -0.0492926538, -0.0404683053, 0.0458226912, 0.0502102599, 0.0455703698, 0.0622983165, 0.0676818341, -0.0152343856, -0.0063628615, 0.04744884, 0.0036470466, 0.0507512987, -0.0197413694, -0.0005189177, 0.0160597581, 0.0494351499, -0.0555211231, -0.0747217387, 0.0339267887, -0.0013219577, 0.004497142, -0.0236316063, 0.0425780937, 0.0442369208, -0.0242526196, -0.0328795388, -0.0123072099, -0.0495251119, 0.0398943163, -0.065925695, 0.0341679789, 0.0084164552, 0.0236298013, 0.0014313635, -0.009203718, 0.0146777118, 0.0001936143, 0.0425263606, -0.0058807852, -0.0005546494, 0.0177104585, -0.0223760661, -0.048573494, -0.0739490315, -0.0103585906, 0.048079744, -0.0297248997, 0.0213962905, 0.0377751552, 0.0008401523, 0.0186252613, 0.0355851091, 0.0054228101, -0.0617836379, 0.0479019023, 0.0314361341, -0.004348746, -0.0083574634, -0.0070099696, 0.0104481643, 0.0043508471, -0.0538515076, -0.0299582891, 0.0149269439, -0.1102286428, -0.0602405146, -0.0059859292, -0.0614378303, -0.0025041325, 0.006651321, -0.0207336843, -0.0509521961, 0.0500067882, -0.0114751775, -0.0093862638, -0.0547651052, -0.0149498507, 0.0450433977, 0.058597859, -0.0194680989, 0.067895472, 0.0299248341, -0.0281398371, -0.0188699644, 0.0461964607, 0.0374003127, -0.0181774665, 0.0188113339, -0.0296707526, -0.0220764354, -0.0076999697, 0.0371336155, 0.0075787078, -0.0414497852, -0.0406211242, -0.0654883906, -0.0275466256, -0.0449316986, -0.0298572537, 0.0128131425, 0.0033412359, -0.0300177429, -0.029358685, -0.044108279, -0.0311881788, 0.0418993086, 0.0154342419, 0.0404691286, 0.0170617122, 0.0272300504, 0.0054485309, -0.0286148004, 0.0271426979, 0.0562548749, 0.0380814746, 0.0136233065, -0.0121401353, 0.0154101532, -0.0341683105, -0.0053104083, -0.0050288155, -0.0109221675, 0.0021493894, -0.0230765678, 0.1055279821, 0.0219143331, 0.0434459858, 0.0383146219, -0.0003296418, -0.0030241266, -0.008665923, 0.0104766544, -0.069670774, 0.0537323095, 0.0172265451, 0.0163053777, 0.0361571163, 0.0405738354, 0.0431481488, -0.0311663281, -0.0551125444, 0.0205046367, -0.0203958265, -0.0627020523, -0.0316493288, -0.0119940192, 0.0236817449, 0.0286281127, -0.0157199856, -0.0541438647, 0.0444005281, 0.004980356, 0.0086807394, -0.0065078102, -0.0061434978, -0.0064506889, 0.0519425161, 0.0203945003, 0.024361575, 0.0142678311, -0.0251527987, -0.0490825251, 0.0490882173, 0.0270825718, 0.0173527133, 0.0088523971, -0.0212835614, 0.0064330231, -0.0015940535, -0.0326245278, -0.0570939369, -0.0618578605, 0.1002470851, -0.0166838933, 0.0594947115, 0.0367927514, -0.0149134835, 0.0164062064, -0.0064398996, 0.0583463013, -0.0551882163, -0.0335886106, 0.017380964, 0.0644607097, 0.0024690111, -0.0423066951, 0.0143828141, -0.0360040441, -0.0031621808, 0.0336189792, 0.0393807776, -0.0045524915, -0.0125490054, 0.0439055264, -0.0007660931, -0.0283168908, -0.0076926607, 0.0196596775, 0.0562540554, -0.0131294308, -0.0267551839, 0.0870632753, -0.0048687123, -0.0130505888, -0.0112337489, 0.0116997408, 0.0482938699, 0.0109757157, 0.0165915098, -0.0045745117, 0.04315494, -0.0487230644, 0.0076843183, -0.013688067, 0.0007580383, 0.010140649, -0.0829834864, 0.0801346973, 0.0076478915, -0.0889745876, -0.001882364, -0.0227856301, -0.0294037871, -0.0076897568, -0.0231251959, 0.0004011425, -0.0355898179, 0.0036414824, 0.0488620549, -0.0385165848, -0.0284048133, -0.0495342836, 0.0052303472, 0.0139269466, 0.0495166704, 0.010827166, 0.0053489539, -0.0255521387, 0.0253958646, -0.0260639172, 0.0403800085, -0.030858269, 0.0534443185, 0.0033299765, 0.0022490572, -0.0099569857, 0.0406455323, 0.0189053398, -0.0160526745, -0.0257245377, 0.0077867471, 0.0059669707, -0.0508242622, -0.0516012833, 0.017256204, 0.0040992405, 0.0311590936, 0.0329727791, -0.0102820471, -0.0527370274, -0.0034958159, 0.0605625063, -0.066218257, 0.0025826506, 0.0062509109, 0.0296666585, -0.0497298241, -0.0661405772, -0.0557270087, -0.014724561, 0.0850404799, -0.0250130109, 0.0050134785, -0.0742306188, -0.0432501249, -0.0394839421, -0.0081320805, -0.0005957255, -0.0520120636, -0.0393382534, -0.0567916557, 0.0085240779, -0.0931021348, -0.0229698662, -0.0184457041, -0.0770381242, -0.0621003024, 0.0186037719, 0.0383624211, 0.0073627094, 0.0572825409, 0.0270008929, -0.0564167276, 0.1593479663, 0.0805422887, -0.038239561, 0.0186163578, 0.012938696, -0.0108743226, -0.0207705107, 0.0040124133, -0.0158601142, 0.0823649094, 0.0106618404, -0.020129852, 0.0114237554, 0.0241658986, 0.0153911896, -0.0116845248, 0.0646776333, -0.057337869, 0.0374272913, -0.0493637025, -0.0332930461, -0.023226317, -0.0040011257, -0.0164407771, 0.0107312063, 0.0453906693, 0.0300998595, -0.012616802, 0.0968854353, 0.0113221286, 0.0535891168, -0.0541754216, -0.0089653647, -0.0188445076, 0.0327757597, -0.0244397894, 0.036456231, 0.0026467373, 0.0055448846, 0.0079603847, 0.0172332078, -0.0105948653, 0.0242650863, 0.0243802052, 0.0607317165, -0.0280010533, 0.0504006557, -0.0767834187, 0.0190043878, -0.0564056896, 0.0144421747, -0.0015566918, -0.0305711795, 0.0257831085, -0.0274581779, -0.0162639227, -0.0108907791, 0.0463906936, -0.004036718, -0.0243160017, -0.0060104048, -0.0035096454, -0.0318251364, -0.0318124183, 0.0605498627, -0.0026451014, -0.0083051063, 0.0300639942, 0.0064809029, -0.0618339106, -0.0040412433, 0.0213160161, -0.0055487156, 0.0085739028, 0.0030955037, -0.002971086, -0.0452348366, 0.0291369855, -0.0002972108, 0.0318058506, 0.0239637922, 0.0597873591, 0.0622928962, 0.0121427374, -0.0053943042, -0.0374205373, 0.0227238107, 0.0370232537, 0.0052881399, 0.0205793753, -7.270506028e-33, -0.0175814014, -0.049014423, 0.0300191622, -0.065987654, -0.0055600284, 0.0095218504, -0.0223306287, 0.0102777053, 0.0531171486, 0.0135686733, -0.0072159199, -0.0204434618, 0.001711159, 0.0500534736, -0.0109637389, 0.0149497185, 0.0771607608, -0.0106220553, -0.0347287916, 0.0666848272, 0.0271779858, 0.010873219, -0.0132739814, -0.0375267193, -0.0414907932, -0.0145001467, 0.012923236, -0.0498647243, 0.0213496592, 0.0418591388, -0.0411184393, -0.0026996899, 0.0273702648, -0.0024001924, -0.0231062472, -0.0077124438, -0.076503925, -0.0704766437, -0.0502820835, -0.0234939232, -0.0823777989, -0.0288689043, 0.0463009998, -0.0035392256, -0.0367904529, -0.0276484452, 0.0597022176, 0.0446459129, -0.0199416298, -0.0517563187, -0.0675068647, 0.0176061839, -0.037847925, -0.0247133523, 0.0357051864, 0.0310397279, 0.0362431966, 0.0063366941, -0.0374981239, 0.041895844, -0.0030589425, 0.0196277238, 0.0624715574, 0.0490147024, 0.0248235539, 0.0205586646, 0.0578575842, 0.0073650195, -0.0573630929, 0.0202127453, 0.0340502113, 0.0020124491, -0.0069310274, 0.0148166791, 0.051689025, -0.03389607, -0.0850813314, 0.0589419082, -0.0633142814, -0.0449578352, -0.0065558259, 0.0255429856, -0.0112347044, -0.0054105762, -0.0169450343, -0.0340809934, -0.017274078, -0.017565744, 0.0279960819, 0.0568912625, -0.0425019786, 0.0073983548, 0.0258564446, 0.021142548, -0.0142958304, -0.0131048635, -0.0547836721, 0.0244006477, 0.0402733274, -0.0172485653, -0.0456046537, -0.0007936224, 0.0660144165, 0.0276152883, -0.0084141651, -0.0120854024, 0.0247547422, 0.0481410213, -0.0627367273, 0.0002266559, -0.0190080982, 0.0547143035, 0.0419037268, -0.0376593508, 0.0019125337, -0.0129914498, -0.0292881504, 0.0491724163, 0.0252583586, 0.0048733773, -0.0300531983, 0.0103872847, -0.0076121222, 0.0092570968, -0.0070150704, 0.0150910402, -0.0352632143, -0.0064502116, 0.068777211, -0.0789602473, -0.0401164368, 0.0208032355, 2.872e-7, 0.0246843919, 0.0252275858, 0.0519754104, -0.0005452937, 0.017139094, 0.0207473245, -0.0050804233, 0.0112919016, -0.0076969061, 0.0357797705, 0.0032412254, 0.0508442298, 0.006438782, 0.0156418961, 0.024157742, 0.0866118371, -0.035016939, 0.0365000106, -0.0442892164, 0.0022548444, 0.0224067681, 0.0141981291, -0.0301294811, -0.0131327938, 0.0379102677, -0.0006067292, 0.0982925519, 0.0169934668, 0.010224008, 0.0268347319, 0.0197423231, 0.0121436287, 0.0065595498, 0.0042822096, -0.015322607, 0.0014563111, 0.0031324818, -0.0242988653, 0.006466629, -0.0508125164, 0.0416354761, 0.056739524, 0.0172693301, -0.0346816778, 0.0625161901, -0.0634401515, -0.0136920391, -0.0238447096, -0.0554657914, 0.0336233862, 0.0445011295, -0.0137547748, -0.0397483706, 0.0260861646, 0.0038152346, 0.0051174052, -0.0191816818, -0.0595346354, -0.0042538238, -0.0221510474, -0.050947167, 0.0097556785, -0.0674546435, 0.0549850687, 0.0404785462, -0.0024740156, -0.017162675, 2.468563851e-34, 0.0007460031, -0.0304446891, -0.0350220762, -0.0725875571, -0.018539736, -0.0187173951, -0.0311008785, -0.0028013841, 0.0035237204, -0.0249278136, -0.0370329842 ]
http://arxiv.org/abs/2407.00934v1
http://arxiv.org/pdf/2407.00934v1
CLEME2.0: Towards More Interpretable Evaluation by Disentangling Edits for Grammatical Error Correction
2024-07-01T03:35:58
2024-07-01T03:35:58
Jingheng Ye, Zishan Xu, Yinghui Li, Xuxin Cheng, Linlin Song, Qingyu Zhou, Hai-Tao Zheng, Ying Shen, Xin Su
cs.CL
cs.CL
The paper focuses on improving the interpretability of Grammatical Error Correction (GEC) metrics, which receives little attention in previous studies. To bridge the gap, we propose CLEME2.0, a reference-based evaluation strategy that can describe four elementary dimensions of GEC systems, namely hit-correction, error-correction, under-correction, and over-correction. They collectively contribute to revealing the critical characteristics and locating drawbacks of GEC systems. Evaluating systems by Combining these dimensions leads to high human consistency over other reference-based and reference-less metrics. Extensive experiments on 2 human judgement datasets and 6 reference datasets demonstrate the effectiveness and robustness of our method. All the codes will be released after the peer review.
CLEME2.0: Towards More Interpretable Evaluation by Disentangling Edits for Grammatical Error Correction: The paper focuses on improving the interpretability of Grammatical Error Correction (GEC) metrics, which receives little attention in previous studies. To bridge the gap, we propose CLEME2.0, a reference-based evaluation strategy that can describe four elementary dimensions of GEC systems, namely hit-correction, error-correction, under-correction, and over-correction. They collectively contribute to revealing the critical characteristics and locating drawbacks of GEC systems. Evaluating systems by Combining these dimensions leads to high human consistency over other reference-based and reference-less metrics. Extensive experiments on 2 human judgement datasets and 6 reference datasets demonstrate the effectiveness and robustness of our method. All the codes will be released after the peer review.
[ 0.0741177276, -0.0000567626, -0.0157867577, 0.0139184156, -0.0042665387, 0.0239986759, -0.0426550582, 0.0114576407, -0.020437846, -0.0621123537, -0.0674512386, -0.0247639176, 0.0603669845, -0.0299285911, 0.0211077016, -0.0623021908, 0.0723707825, 0.00912036, -0.0091270646, 0.017208606, 0.0320189893, -0.0125522632, -0.0292446055, 0.0612520725, -0.017745452, -0.0452688187, -0.0034319765, 0.0383758955, 0.0232282411, 0.0125489449, 0.0251384303, 0.0632902756, -0.0551034622, 0.0532850251, 0.0000018984, -0.0462971888, -0.0016679714, -0.0212491043, -0.0328486226, 0.0704325736, 0.0390583873, -0.0074038194, -0.0660482198, -0.0167162064, 0.0157331545, 0.0061210482, 0.0357875861, 0.0228881929, 0.076723583, 0.0502695888, 0.0036374687, 0.0035126915, -0.0108584631, 0.0179352257, -0.030244587, -0.0025126401, 0.0113341352, 0.0077122785, -0.0245560538, -0.0247055646, -0.0064143138, 0.019915333, 0.0003898974, -0.0804706886, 0.0027582098, -0.0244184434, -0.0317012295, -0.0166750569, -0.0108000506, 0.0049425559, 0.039467752, -0.0294946879, -0.027043432, 0.0125496425, 0.0301266424, -0.0028693546, -0.0122643774, -0.0240899101, 0.0049203755, -0.0072179637, 0.0024048639, -0.0499434397, 0.0011026755, 0.0161945391, 0.0650693625, 0.0672549754, 0.0108543225, -0.0568620488, -0.0294395201, 0.0556417853, 0.0052601667, -0.0481338277, 0.0442368053, -0.0186785422, -0.0673604533, -0.0207124203, -0.0224420913, -0.057088457, 0.0223879591, -0.0607913136, 0.0401681773, -0.0149468388, -0.0318340063, 0.0136236334, -0.0178921148, 0.0798777193, 0.0377137773, 0.0129265785, 0.0074273506, 0.0010359922, -0.0439022705, -0.0105417082, -0.0323549919, -0.0005589231, -0.0359499939, 0.0685040131, -0.0862493888, -0.0241876468, -0.0439138561, 0.0206235312, 0.0249812957, 0.0104048923, -0.0311002191, -0.0404633917, -0.0176366381, 0.0028070994, -0.0071576564, 0.0534020737, -0.021545209, -0.0280471779, -0.0159352981, 0.0012892775, 0.035187766, -0.0087769562, -0.0453664735, 0.0115824491, -0.0075944108, -0.0029118923, -0.0140710576, -0.0273217112, -0.0376250148, -0.0163264275, -0.0856025964, -0.0502777025, -0.0403516181, 0.0012997206, 0.0126370229, -0.0594669506, -0.020564355, -0.0031493227, -0.0054291375, 0.0408726782, -0.0344300196, 0.0133129591, 0.0035130091, 0.0090774586, -0.0030787343, 0.006109667, 0.0295293014, -0.0270558614, 0.0631408766, -0.0011536437, 0.0596728139, 0.0118042594, -0.0503165089, -0.0209785644, 0.0211608279, -0.0229936037, -0.0223201849, 0.038252566, 0.047966253, 0.0509716682, -0.0153300073, 0.0192839522, 0.0598014072, -0.0026378962, 0.0476072393, -0.0113366554, 0.0329276733, -0.0312461499, 0.0376757793, 0.022050688, -0.0298078377, -0.0038441189, -0.0312775075, -0.0118210316, 0.0194008257, -0.0373345129, 0.0122083835, -0.0608938523, 0.0028342633, 0.0296472907, -0.0168461781, -0.0498332195, 0.0092582712, 0.0356599614, -0.0064821499, 0.0486221053, 0.0115237581, -0.0934802741, 0.0250987075, -0.026655985, -0.0041391011, 0.0797673985, 0.0759725124, 0.0220845174, -0.0133552821, -0.0216939896, -0.0171649288, 0.015219382, 0.0304037016, -0.0327787809, 0.0142283533, -0.0232257489, -0.0060189157, 0.0186316725, 0.0432895347, -0.03011146, 0.0060010832, -0.023094127, 0.0138675561, -0.0468932502, -0.0639668331, 0.0188586805, 0.0814491138, 0.0000161055, -0.0319437124, 0.0013929711, 0.0120876282, 0.0234232619, -0.029163409, -0.0087507106, -0.0402848385, 0.0141034201, -0.0025885422, 0.0194985382, -0.0092661604, -0.0442319773, 0.0240528006, -0.0507022031, -0.0692483261, 0.0232730135, -0.0110511491, -0.0432910956, -0.0189349577, -0.0702770203, 0.0122540072, -0.0495041534, 0.0529271513, -0.0287363436, -0.0513065457, -0.0231597107, -0.0044275485, 0.0018249251, 0.0271369759, -0.0016180066, 0.0012375205, 0.0277078263, -0.053449098, -0.0500715896, -0.0044311238, 0.0106520569, 0.0149789955, 0.0123462966, 0.0247039851, -0.0458510891, -0.0216620173, -0.0573765896, -0.0379776843, -0.0468516126, 0.0416915044, 0.0604413301, -0.027095288, -0.0059146164, -0.0310746897, 0.0531017967, 0.0148982704, -0.0103509305, 0.0076854429, 0.0756583586, -0.025382746, -0.0025307403, -0.0831889883, 0.0049239662, -0.0243691523, 0.0059441146, 0.0258418135, -0.0045679803, -0.0747528747, 0.0662280023, -0.0078212162, -0.0353148021, 0.0704573914, -0.0901585668, 0.0120714772, 0.0447445996, 0.0599594265, 0.0271144584, -0.0184370279, 0.0180974659, 0.0022725668, -0.036642272, -0.033569552, -0.0359507203, 0.0362329446, -0.0165495742, -0.0162621234, -0.0422408283, 0.0165783409, 0.0533246547, 0.009740266, -0.0128743844, -0.0176986828, 0.0116791474, -0.0606245361, -0.0399509817, -0.0514451154, -0.0123202195, -0.0240543112, 0.0261580534, -0.0533373207, -0.0088864071, 0.0848383829, 0.0118977074, -0.0054946886, -0.0295020528, 0.0121623855, -0.0141060064, -0.0057028262, -0.0219566002, 0.0148916515, -0.0318490267, -0.0579582788, -0.0436353981, 0.0164996758, 0.0728991106, -0.001923655, 0.0560001843, -0.0842575058, -0.003141355, 0.0176931843, -0.0483060181, 0.0047724135, -0.0219198428, -0.011377993, -0.0198941287, 0.0295806266, -0.0290514268, -0.0168753359, -0.0019490358, 0.0238635652, 0.0319550596, -0.010037302, -0.0185629781, -0.0012919176, 0.0046075433, -0.0074815014, 0.0103151361, 0.0197411142, -0.0101915402, -0.00651976, 0.0704049766, -0.0055868723, 0.0057366877, -0.0215053596, 0.0142707638, 0.0346466713, -0.0451715142, -0.0474433489, -0.0060597621, 0.0956390053, -0.0599182025, -0.0358995311, 0.0897443593, 0.0268570781, -0.0202300344, -0.0074927001, -0.0427463762, -0.0124723827, 0.0043567624, 0.0189478584, 0.0005384244, -0.0399492271, 0.0471921936, 0.0484334454, -0.0135584231, -0.0292212926, 0.0371394418, -0.0838247836, 0.0513911098, 0.014639399, -0.0076647201, -0.0666353703, -0.0171353053, 0.0274340715, -0.0051889033, 0.0186344348, 0.0709369853, -0.0076324693, 0.0028056449, 0.0003145246, -0.0624239184, -0.0420626923, -0.0038692798, -0.0373947322, 0.0448735841, 0.0499491692, 0.0335426591, 0.0185734443, -0.0328405574, 0.0258664098, -0.024141822, 0.0125485621, -0.0076000318, 0.0334605537, 0.0238465481, -0.0011945963, -0.0610008575, 0.0161252283, 0.0220147353, -0.0143458284, -0.0198772773, 0.0577470027, -0.0278337412, 0.0210531186, 0.0203757472, -0.0171126071, 0.0230986588, 0.0370703377, 0.0689389557, -0.0382595882, -0.0359218679, -0.0736226216, -0.0067378618, -0.0637390241, -0.0011441996, 0.0353167243, -0.0365931541, -0.0470013991, -0.0657725781, -0.0698022991, -0.0112058129, -0.0215529446, 0.029441135, -0.0398912467, -0.0202788264, -0.0005213717, 0.023200715, -0.0091417339, 0.0113959927, 0.0261650756, -0.0824685097, 0.0182773173, -0.0231669527, 0.0516976938, -0.0264369529, 0.0036556236, 0.0123461848, -0.0084245084, 0.053897813, 0.0503460914, 0.0140643986, -0.0003410771, -0.0070801759, -0.1228812337, -0.0389193073, 0.0139737576, -0.0132781044, 0.0383460037, 0.0433820188, -0.0217233691, 0.0119424583, 0.0367947742, -0.0192543473, 0.0247526485, 0.00608597, 0.0503523462, -0.0274063032, -0.0126623027, 0.0297628846, 0.0259951111, 0.0706071034, -0.0160944425, -0.0041222847, -0.0703142434, 0.0151809575, -0.0438411236, -0.0126552396, -0.0036526213, 0.0081618801, -0.009124429, -0.0288635716, -0.0492215604, 0.0193522964, -0.0601667091, -0.0020607638, -0.0388982706, 0.0260602552, 0.0700282976, 0.0567065068, 0.0042016711, 0.012014755, -0.010695463, 0.0010321737, 0.0138442917, 0.0277042855, 0.0269776583, 0.0212539434, 0.020879278, 0.0078768069, 0.0122808069, 0.016848186, -0.0411148705, 0.0803909749, -0.0119360294, 0.008219718, 0.0686989129, 0.0227385294, 0.1062602848, -0.0091732591, -0.0171809439, -0.0188782215, 0.0468013473, 0.0172103979, -0.0115806935, -0.0142633244, -0.0000642735, 0.0056732493, -0.0097788246, 0.0287647918, -0.0710479617, 0.0206490569, -0.0505799204, -0.0645651966, -0.0030564549, -0.0107499734, -0.0431732349, -0.026877949, -0.0048385835, -0.0241548494, -0.0576872304, -0.0257018618, 0.0045120036, 0.0835207552, 0.0311039947, -0.0027218401, 0.002347725, 0.0360113084, -0.0072134524, -0.04912927, -0.0482629091, -0.0116544655, 0.0053906557, -0.0038148807, -0.0587941706, -5.764710989e-33, -0.0436059423, -0.0216604825, -0.0443470851, 0.0011496579, -0.0027302857, -0.0016889101, -0.0551929325, 0.0239017364, 0.0407240689, 0.0689040273, -0.0197848976, 0.0498338453, 0.0132941995, -0.0246398095, 0.0710188299, 0.0237988066, 0.0791806802, 0.0350168608, -0.0355938934, -0.0371216089, 0.040489547, 0.0400324501, 0.0948829427, -0.0430891402, 0.0943039581, 0.0402586646, -0.0125321923, 0.0188459065, -0.0015712532, 0.0538627543, 0.0585886091, 0.0739826635, 0.0158496946, 0.0039391522, -0.0350546651, -0.0210717358, -0.0572579503, -0.0442554094, 0.0136974948, 0.0637734234, -0.0110983355, -0.0295041017, 0.0678619742, -0.0159760397, -0.0649519786, 0.0099777244, 0.0190962777, -0.0093708588, 0.0382606909, 0.0331158414, -0.0070437961, 0.0289452877, 0.002923266, 0.0000216022, -0.019159412, 0.0369917713, -0.0205545835, -0.0512987971, -0.1029703096, -0.0180377197, 0.0204343963, 0.0305433329, 0.0352074392, -0.0410016924, -0.0504366271, 0.0255625881, 0.014188448, 0.0038801148, -0.0286272541, 0.0063411095, -0.010141761, 0.0177075956, 0.0534241535, 0.0827733278, 0.0202905666, -0.0212490335, -0.0187522247, 0.0299422517, -0.0419847928, 0.0812502727, -0.0318312012, 0.0047005867, -0.0631781146, -0.0452671498, -0.0204963312, -0.0081137121, -0.0157741457, 0.0032924158, 0.0414005369, -0.0517633036, 0.0074064899, -0.0157614835, -0.0148413768, 0.0095498562, 0.0028217337, -0.0180996694, -0.0064001689, 0.0445335954, -0.0016726212, -0.0071434667, 0.0057160486, 0.0215463452, 0.0142040197, 0.0545800291, 0.0497734733, -0.0088611022, 0.0581151396, 0.0181617048, -0.0311429761, 0.0215727258, 0.0142567493, -0.0050893268, -0.0291816164, -0.050992392, 0.0248681009, -0.0131964516, -0.0017587923, -0.0138798067, 0.0229124688, 0.0433731377, -0.012831701, -0.0278690681, 0.0307093877, 0.0112187788, 0.0011282157, 0.018301256, -0.0163393989, 0.0005775143, 0.0233964399, -0.0100526027, 0.0041274838, 0.0098446188, 2.499e-7, 0.0576491393, 0.0717468709, 0.0169702936, -0.013566372, 0.0218450688, 0.0292380005, -0.0042270469, 0.0014099786, 0.0284339879, 0.0555132292, 0.0256986637, -0.020329155, 0.0387637988, 0.0137023758, -0.0077267429, -0.028080605, -0.0414522141, 0.0230952352, -0.016614357, -0.0040001431, 0.0573204905, -0.0259259641, 0.0279641245, 0.0032339271, -0.020350527, -0.0306628477, 0.0157379732, -0.0081938384, 0.0155369816, 0.0153839486, 0.117828913, 0.0092679514, 0.0548621453, 0.0416411795, -0.029982429, -0.0351007804, 0.0247906707, 0.0261359066, -0.0583981611, 0.0541555993, -0.0166686755, -0.0193078183, -0.0020593058, -0.0431579985, 0.0324659534, -0.0125108967, 0.0173763055, 0.0191746019, -0.0207810439, 0.0016586084, 0.0007188357, -0.0138510736, -0.0306107849, 0.0004136106, 0.0372644998, 0.0186552871, -0.0308748819, -0.0102716042, -0.0502103418, 0.0486124977, 0.0595640168, -0.0191842671, 0.0056549604, -0.0093555618, -0.010216495, -0.0721522346, -0.0156880785, 1.55189694e-34, 0.0255645514, -0.0014514854, 0.0799941793, -0.0107733849, 0.0295152906, 0.0112297041, -0.0106706526, -0.0169126689, 0.000250027, -0.0274769403, -0.0364084914 ]
http://arxiv.org/abs/2407.00928v1
http://arxiv.org/pdf/2407.00928v1
FoldGPT: Simple and Effective Large Language Model Compression Scheme
2024-07-01T03:17:53
2024-07-01T03:17:53
Songwei Liu, Chao Zeng, Lianqiang Li, Chenqian Yan, Lean Fu, Xing Mei, Fangmin Chen
cs.LG
cs.LG, cs.CL
The demand for deploying large language models(LLMs) on mobile devices continues to increase, driven by escalating data security concerns and cloud costs. However, network bandwidth and memory limitations pose challenges for deploying billion-level models on mobile devices. In this study, we investigate the outputs of different layers across various scales of LLMs and found that the outputs of most layers exhibit significant similarity. Moreover, this similarity becomes more pronounced as the model size increases, indicating substantial redundancy in the depth direction of the LLMs. Based on this observation, we propose an efficient model volume compression strategy, termed FoldGPT, which combines block removal and block parameter sharing.This strategy consists of three parts: (1) Based on the learnable gating parameters, we determine the block importance ranking while modeling the coupling effect between blocks. Then we delete some redundant layers based on the given removal rate. (2) For the retained blocks, we apply a specially designed group parameter sharing strategy, where blocks within the same group share identical weights, significantly compressing the number of parameters and slightly reducing latency overhead. (3) After sharing these Blocks, we "cure" the mismatch caused by sparsity with a minor amount of fine-tuning and introduce a tail-layer distillation strategy to improve the performance. Experiments demonstrate that FoldGPT outperforms previous state-of-the-art(SOTA) methods in efficient model compression, demonstrating the feasibility of achieving model lightweighting through straightforward block removal and parameter sharing.
FoldGPT: Simple and Effective Large Language Model Compression Scheme: The demand for deploying large language models(LLMs) on mobile devices continues to increase, driven by escalating data security concerns and cloud costs. However, network bandwidth and memory limitations pose challenges for deploying billion-level models on mobile devices. In this study, we investigate the outputs of different layers across various scales of LLMs and found that the outputs of most layers exhibit significant similarity. Moreover, this similarity becomes more pronounced as the model size increases, indicating substantial redundancy in the depth direction of the LLMs. Based on this observation, we propose an efficient model volume compression strategy, termed FoldGPT, which combines block removal and block parameter sharing.This strategy consists of three parts: (1) Based on the learnable gating parameters, we determine the block importance ranking while modeling the coupling effect between blocks. Then we delete some redundant layers based on the given removal rate. (2) For the retained blocks, we apply a specially designed group parameter sharing strategy, where blocks within the same group share identical weights, significantly compressing the number of parameters and slightly reducing latency overhead. (3) After sharing these Blocks, we "cure" the mismatch caused by sparsity with a minor amount of fine-tuning and introduce a tail-layer distillation strategy to improve the performance. Experiments demonstrate that FoldGPT outperforms previous state-of-the-art(SOTA) methods in efficient model compression, demonstrating the feasibility of achieving model lightweighting through straightforward block removal and parameter sharing.
[ -0.0022305793, 0.0403986983, -0.0196371637, 0.0215551779, -0.0413582623, 0.0027941149, 0.0522491671, 0.002798344, -0.0115248049, -0.0017593045, 0.0100433072, -0.0450082943, 0.0104294, 0.0174168535, 0.0021068242, -0.0189038403, 0.0147449169, -0.0284113064, -0.015560708, -0.0327614956, 0.0069664116, 0.0146380784, 0.0702357516, 0.0183884893, 0.0286686644, -0.0051656594, -0.0391332395, 0.0194983929, -0.0016214642, -0.0159074701, 0.0056366548, 0.0603291728, 0.0361921415, 0.0593289956, 0.0000024626, 0.002486438, -0.0407309942, 0.0361260213, -0.0643815398, 0.0616151765, 0.0585262664, 0.0014236519, -0.0432338491, 0.0288851727, -0.0058508213, -0.0167771578, 0.0676244721, 0.0176551677, 0.0859193429, 0.0034540435, 0.002580425, -0.0289236996, -0.0193175599, -0.0180081874, -0.0351040885, -0.0323298275, -0.0131374644, 0.029925419, -0.014256346, 0.0108282976, -0.0018040744, 0.0173315834, 0.0392863639, 0.0245172642, -0.0303930547, 0.0035806894, -0.0348683111, -0.0069861109, 0.0035558611, 0.0350969285, -0.0384314731, -0.0514431968, 0.0024537304, -0.0040833498, -0.0209881011, 0.0099142892, -0.0573735498, 0.0409393162, 0.0209705736, 0.0298213959, -0.0337584205, -0.0241046902, 0.041831024, -0.0249150489, -0.0415482037, 0.0223468002, 0.0238194801, -0.0073142326, -0.039954897, -0.0216040798, -0.0101856934, -0.0553901196, 0.0227094106, -0.0336485021, 0.0232506394, -0.0274841227, -0.0646773353, -0.0466048829, -0.0003750263, -0.0616629682, 0.0660619512, 0.0221066941, 0.0300982874, 0.0120610874, -0.0266303122, 0.0403704979, -0.0274083633, -0.0096570207, -0.004285045, -0.0188197028, -0.0202352088, -0.0014265918, -0.0292108599, 0.0554156899, -0.0557263047, -0.0170478132, -0.0373495258, 0.00663205, -0.0001617583, -0.0123391915, 0.0189554524, 0.004968605, 0.0038828768, -0.0205600671, 0.0606755987, -0.0001957672, -0.0116440356, 0.013693016, 0.0077310256, -0.0686498731, -0.0127533609, -0.0009359756, -0.0015443939, -0.0012997432, -0.0009565451, 0.0277342778, 0.0083419466, -0.009757611, -0.0313738212, -0.0293165874, 0.0382826142, -0.0490914993, -0.0329140164, -0.0705920458, 0.0199419726, -0.0141772833, 0.0065059811, -0.0515492447, -0.0089934021, 0.0161229707, -0.0546151251, 0.02824012, 0.0028303883, 0.0101324907, 0.0124327345, 0.0393331945, 0.0014160415, 0.0670096874, 0.0229064301, 0.0422009788, 0.0226214305, -0.0616006032, -0.0115769347, 0.0339905806, 0.0537636839, 0.0361294188, -0.0621405318, -0.026976442, 0.0246792529, -0.0148026226, 0.0352090038, 0.0586809106, -0.0301186964, -0.0435104296, 0.0931570232, 0.0533962213, 0.0101092784, 0.0711786598, -0.018886067, 0.0561811291, 0.0043672509, -0.0186012872, -0.0534268394, 0.0207808465, -0.0370408222, 0.0054476387, 0.0723476857, 0.1019612402, -0.0260544978, 0.0205405485, -0.0390694216, -0.0397132933, 0.0166124515, 0.0250660479, -0.0033698885, -0.0152678927, -0.0171271469, 0.1126991659, 0.0220421609, -0.1039918512, -0.0753805786, -0.0532862321, -0.0059565143, 0.0006133106, 0.0249814559, 0.0566151179, -0.0259776078, 0.0259009004, 0.0097178007, -0.0092190355, 0.004894394, 0.0076899729, 0.0612521134, -0.068001695, -0.0185867399, 0.0709226504, 0.0302275065, 0.0130536351, 0.0395119861, 0.0330794454, 0.0389515832, -0.0411210395, -0.0448851325, -0.0033237555, -0.022555761, 0.0266484898, 0.0530964248, -0.0050806869, 0.0488126315, -0.00973495, -0.015159118, -0.0373126268, 0.0453061089, -0.0120934583, 0.0109135909, -0.0310929138, -0.0355445035, 0.0252785385, -0.0014148601, 0.0274762735, 0.0824793577, 0.0716095194, -0.0296731833, -0.0387363471, 0.0377615839, -0.0197813399, 0.0446067415, -0.0232224204, 0.0409385525, -0.0326607823, 0.0629640669, -0.0015290121, 0.0036001813, -0.0199292749, -0.0196353011, 0.0037540458, 0.0035962488, 0.0173709877, 0.0153908143, -0.0277178995, 0.0339343585, -0.0161048677, 0.0333777368, 0.012118509, 0.0018640694, 0.0069325948, -0.0037203578, -0.0710570216, 0.0224740617, -0.0126896128, 0.0428218059, 0.0375496224, 0.0740831345, -0.0073592369, -0.0199546758, -0.0194817092, 0.0207190141, -0.0032174774, 0.0331701189, -0.0451837368, -0.0388648659, -0.0427423827, -0.0084863538, -0.045503363, 0.0508552454, 0.0599862486, -0.056564685, -0.0084178308, -0.0302496571, 0.0054681753, -0.027189618, 0.0254136529, 0.0169571899, -0.0833622143, -0.0150554301, -0.0114265261, -0.0179171097, 0.0637441725, -0.0126523515, 0.0065744496, 0.071802333, 0.0075662108, -0.0503252372, -0.0034941991, -0.0169901606, -0.0274131782, -0.036705479, -0.0416406319, -0.0652004406, 0.0955294371, -0.0096052699, -0.0237014405, -0.0472086892, -0.029888032, -0.0146447774, 0.0064930166, -0.0065640314, 0.0166270137, -0.0174867585, 0.0399602205, -0.0056034606, -0.0814357251, 0.023261888, -0.0588532984, -0.0081017232, -0.0110544804, -0.0560722426, -0.0271028727, 0.05384041, -0.0066591538, 0.0452621058, -0.007225303, -0.0117900986, -0.0325400345, 0.0302901287, 0.0183260739, -0.0349942073, -0.0383523256, -0.0323784463, -0.0081448182, -0.0297246855, -0.0409212485, 0.0316477939, 0.0006818703, -0.0209506154, -0.0039025443, 0.0325950123, -0.0557624437, -0.0261806455, 0.0371047966, 0.0308935586, 0.0353434309, -0.0089137796, 0.0333619267, -0.0009800391, -0.0091882572, -0.0096255494, 0.0410275087, 0.0360379517, 0.0110388678, 0.0385383144, 0.0598240905, 0.0569636077, 0.0140503654, -0.0526987538, -0.0115196053, 0.0654860586, 0.0283693485, -0.0633196235, 0.0567235984, 0.0647282675, -0.0701147839, 0.0146294571, 0.0764197409, -0.0047853715, -0.0415686332, 0.0027008965, 0.0065853912, 0.1116855592, -0.0027094446, 0.0319680348, -0.0434286892, -0.0247211345, 0.0271147043, 0.0071562426, 0.0174290426, 0.000794752, -0.0048780199, -0.0825538635, 0.0491149463, 0.0447915196, 0.0270120818, 0.000574448, -0.0657981038, -0.0138845332, -0.0123708704, -0.0047993725, -0.020908678, 0.001498154, 0.0004088017, -0.0013953756, -0.0651798621, -0.060292583, 0.0276373662, -0.0153761329, 0.0302238762, 0.0426389202, -0.0136408191, 0.0165911373, -0.0191488396, 0.0638069585, 0.0311003085, -0.0438714623, -0.0120600099, -0.0063509452, 0.0635962561, 0.0112482384, 0.0063169817, 0.0021705348, -0.0003401655, -0.0117454641, -0.0378335007, 0.0922253355, 0.0005826178, -0.0088606784, -0.0235544778, -0.0197398588, -0.006802992, 0.0466003381, 0.0319529474, -0.0093748281, -0.0433790162, -0.0188645683, -0.0219693519, -0.0158314258, -0.0172380302, 0.0389688201, -0.0023957877, -0.03049629, 0.001967909, 0.0322363228, -0.0218890309, 0.0232950822, 0.0167789925, 0.0275617354, 0.0219531115, 0.0301532093, -0.0666535422, -0.0380857922, -0.0340752266, -0.002025553, -0.0599130243, 0.0195881203, -0.001563505, -0.0189104807, -0.0282175224, 0.0142180678, -0.1156916171, -0.0757325888, 0.0228392463, 0.0152114993, 0.0270696301, 0.0526541136, 0.0112476051, -0.0975634158, 0.0440386869, 0.0319002718, -0.0615763701, 0.0561793558, 0.0149835674, -0.0792162791, 0.0142333461, 0.0454572402, -0.0414191782, 0.0148264943, 0.0042057335, -0.0055502229, -0.0293423645, -0.0241464432, -0.0084614046, 0.0313901044, -0.0005845806, 0.0197523907, -0.0235451218, 0.0226766206, 0.0590764582, -0.0135352444, 0.0050534406, -0.0312780477, 0.0169211924, -0.0108859753, 0.0017231359, 0.0268186983, 0.0185813028, 0.0865803733, -0.002138122, 0.0116577381, 0.0048134639, -0.045576226, -0.0075016036, 0.0731652677, 0.0024470869, -0.012315074, -0.0133188423, 0.0226474702, 0.020683324, -0.0627698228, 0.0134400688, -0.0121761709, 0.0412525423, -0.0439005457, 0.0611415952, -0.0391371287, -0.0946581736, -0.0501724966, -0.020343123, 0.0234911758, 0.0326491073, 0.0538865291, -0.031596344, -0.0101895221, -0.0516211465, 0.0143660922, -0.0251145866, -0.010108782, 0.0112247514, -0.0099567166, -0.0190394185, 0.0346997082, 0.0625168607, 0.0755542964, 0.0240273885, -0.0215856805, -0.0281531941, -0.0178889558, -0.0303376615, 0.0071552549, 0.0552379824, -0.0163081549, -0.0227392651, -0.033816725, -0.0556562953, -0.0152380709, -0.0112818731, 0.0203971025, -0.0416935645, 0.0172304343, 0.0429043882, 0.0083782114, 0.0116065005, -0.0507662706, -0.0508456416, -0.0097095082, -0.0178987104, 0.0450600311, -7.278333351e-33, 0.0154800136, 0.0414089039, -0.0014736488, -0.0600099228, -0.0361439548, 0.00803346, -0.0228571594, -0.0050596232, -0.0300688706, -0.0081065306, -0.0395716801, 0.0183848143, 0.0308738928, 0.0420253836, 0.0043388386, 0.0400837064, 0.0406983756, -0.0093947621, -0.0249755383, 0.0855136737, 0.0284552891, 0.013288701, 0.018345803, -0.0523495674, -0.0496721081, -0.0021601473, 0.001074826, -0.0430271663, -0.0134376995, 0.0490362532, -0.0209868271, -0.0243279394, -0.0136453062, -0.0635969937, -0.03907381, -0.0035333503, -0.0188786406, -0.0039637643, 0.0151624745, -0.0012258429, -0.0174982417, -0.0427972302, 0.0179426633, 0.0095819216, -0.0246269442, -0.0397429615, -0.0207378715, -0.0010386235, -0.0642691702, 0.0021949504, 0.0054573324, 0.0120757353, 0.0005570787, 0.0138232913, 0.0626832768, -0.0340636, -0.071433492, 0.0234169979, -0.0418041795, 0.0182847381, 0.0191807523, 0.0826707259, 0.0539508946, 0.0015255075, 0.0010698084, 0.0339058563, 0.0075942902, -0.0199193694, -0.0388799235, 0.013335024, 0.0152835846, 0.0487685651, 0.0240212008, 0.0277583469, 0.0699452683, -0.0225924421, -0.03351577, -0.0162325799, -0.0138065061, 0.0163716134, 0.0196456853, 0.0173370205, -0.0089429365, -0.0347757265, -0.0388656594, -0.0366665795, -0.0226002187, -0.0362057425, 0.0213059373, -0.0105785467, -0.0318726338, -0.0202631727, 0.0652778894, -0.0312489346, -0.0170061775, 0.0073050475, -0.0104379877, 0.0109454924, 0.0265582204, 0.0206990093, -0.0234493092, -0.0089491503, -0.0373412743, -0.0372148231, 0.0317605138, 0.0014146965, 0.0048683425, 0.0435722582, -0.0666153431, 0.0056385114, -0.0295965932, 0.0065690167, 0.013181176, 0.0317659341, 0.0344332792, -0.0161415767, 0.0322759897, 0.0209697634, 0.0052612913, -0.0070329304, -0.0122205317, -0.0064394013, 0.0244252756, 0.0197777897, -0.0079638008, 0.0102879163, -0.0929611474, -0.0015343677, 0.0661558062, -0.0213156734, -0.0421629697, 0.0423797779, 3.18e-7, -0.0259972364, 0.0095460312, -0.0217981469, -0.0273900758, 0.0352301449, 0.0447048992, 0.0064227176, 0.019616751, -0.0062525691, 0.0065194964, -0.0290909335, 0.0124381324, 0.0818000063, 0.0179222915, -0.0639761016, 0.0209442321, -0.0870655477, -0.0045214901, -0.0300113596, -0.0231598672, -0.0130662024, 0.1302373707, 0.0170055479, -0.0280886572, 0.0059140683, 0.0212231111, -0.0104689151, -0.0081151333, 0.0385373905, 0.0045485087, -0.0057922103, 0.0128887203, -0.0532049276, -0.0021941236, -0.0242118854, -0.0128506301, -0.0396470055, 0.0699413344, 0.0082092611, 0.0420411639, 0.0311875399, -0.0452028587, -0.0467673913, -0.0603121817, 0.0402672626, 0.0321323313, -0.022206381, -0.0487019941, 0.0144367274, -0.0555493236, 0.0057558753, 0.0064207711, 0.0484995432, 0.0106358463, -0.0045191455, -0.0234203115, -0.0013971996, -0.0639601275, -0.0091120526, -0.0201843549, -0.0187351685, -0.0331259631, -0.0579041429, 0.0099669779, 0.0708474293, 0.004554308, 0.0391781814, 3.505219003e-34, 0.0188184977, -0.0241249148, 0.0540291108, 0.0585404821, 0.0029962354, -0.0220434852, 0.0344251506, 0.0184397176, -0.0380469523, -0.078927137, -0.0237898342 ]
http://arxiv.org/abs/2407.00924v1
http://arxiv.org/pdf/2407.00924v1
EXCGEC: A Benchmark of Edit-wise Explainable Chinese Grammatical Error Correction
2024-07-01T03:06:41
2024-07-01T03:06:41
Jingheng Ye, Shang Qin, Yinghui Li, Xuxin Cheng, Libo Qin, Hai-Tao Zheng, Peng Xing, Zishan Xu, Guo Cheng, Zhao Wei
cs.CL
cs.CL
Existing studies explore the explainability of Grammatical Error Correction (GEC) in a limited scenario, where they ignore the interaction between corrections and explanations. To bridge the gap, this paper introduces the task of EXplainable GEC (EXGEC), which focuses on the integral role of both correction and explanation tasks. To facilitate the task, we propose EXCGEC, a tailored benchmark for Chinese EXGEC consisting of 8,216 explanation-augmented samples featuring the design of hybrid edit-wise explanations. We benchmark several series of LLMs in multiple settings, covering post-explaining and pre-explaining. To promote the development of the task, we introduce a comprehensive suite of automatic metrics and conduct human evaluation experiments to demonstrate the human consistency of the automatic metrics for free-text explanations. All the codes and data will be released after the review.
EXCGEC: A Benchmark of Edit-wise Explainable Chinese Grammatical Error Correction: Existing studies explore the explainability of Grammatical Error Correction (GEC) in a limited scenario, where they ignore the interaction between corrections and explanations. To bridge the gap, this paper introduces the task of EXplainable GEC (EXGEC), which focuses on the integral role of both correction and explanation tasks. To facilitate the task, we propose EXCGEC, a tailored benchmark for Chinese EXGEC consisting of 8,216 explanation-augmented samples featuring the design of hybrid edit-wise explanations. We benchmark several series of LLMs in multiple settings, covering post-explaining and pre-explaining. To promote the development of the task, we introduce a comprehensive suite of automatic metrics and conduct human evaluation experiments to demonstrate the human consistency of the automatic metrics for free-text explanations. All the codes and data will be released after the review.
[ 0.0361385345, -0.0006777939, -0.0094836438, 0.0176095795, 0.0358328559, 0.0326710604, -0.0187033135, -0.0039286055, -0.048446361, -0.0221957136, -0.0119936951, -0.0281479396, 0.0386887342, -0.0204257723, 0.0360653438, -0.058896862, 0.0358638465, -0.0012156395, -0.0199634712, 0.02906169, 0.0407073461, 0.0127530666, -0.0256066751, 0.0658862367, 0.0084331259, -0.0329354517, -0.0500259511, 0.0445240885, 0.0073128729, -0.0028769597, 0.0069297636, 0.0163563993, -0.0200961791, 0.0105860792, 0.0000021496, -0.0378203802, -0.0359299891, -0.0066203219, -0.0752099678, 0.0841119066, -0.0183178335, -0.0235488284, -0.0318485796, 0.010650875, 0.0307305176, 0.0270454157, 0.0556003973, 0.080366604, 0.0660006553, 0.086238414, 0.0099130431, -0.0055413274, -0.0217403583, -0.0000565996, 0.0055428511, -0.0112530468, -0.0263127387, -0.005690915, -0.041041173, -0.0283739846, -0.0188377574, -0.0063243583, 0.0207678154, -0.0917202607, 0.0018174837, -0.0015515481, 0.008717211, 0.0008602067, -0.0182712357, 0.031273406, 0.0222979039, -0.0393796526, -0.0086412765, -0.0261433329, 0.0183121525, 0.0071512382, -0.0464393198, -0.0061724405, 0.0059886314, 0.0007570504, 0.0350055546, -0.0755305886, 0.0493849032, 0.0245357007, 0.0334454551, 0.0623992272, -0.002466389, -0.0351845659, -0.0646322593, -0.000668634, -0.0187367313, -0.0731128231, -0.0041395691, 0.0480140187, -0.0589332432, 0.004416314, 0.017678678, -0.0360722579, -0.0088643385, -0.0162994005, 0.0352968462, 0.015887361, -0.0233933106, 0.019764943, -0.0056765326, 0.1051532328, 0.016009327, 0.0187978521, -0.0127341188, 0.0084381811, -0.059859585, -0.0344168544, -0.043866232, 0.0143913208, -0.0431444272, 0.0401109457, -0.054466486, 0.0099718524, -0.0286223385, 0.0184278321, 0.0463604406, -0.0110385353, -0.0402866416, -0.0500536077, -0.0356791243, 0.0000637382, -0.0447774678, 0.0209809989, 0.0220921747, -0.0255226716, -0.0536955036, 0.0270864721, 0.0144215496, -0.0026292501, -0.0498370454, 0.0201247223, -0.0140450839, 0.0002596315, -0.0365009718, -0.0189995114, -0.0238032099, -0.0248808507, -0.0713947415, -0.0085052913, -0.0255814232, -0.02054267, 0.0138219949, -0.0329349488, 0.0087231984, -0.0366651937, -0.0068565793, 0.0562841706, -0.0532358587, 0.024489319, -0.0111545296, 0.0029107227, -0.0348905288, 0.0266189463, 0.0443224534, -0.044595357, 0.0613035038, -0.036118798, 0.0567948893, -0.0191287845, -0.0219210256, -0.0241272077, 0.0385023355, -0.0123175457, -0.0391869135, 0.0664480105, 0.044006329, 0.0069080167, -0.0216494314, 0.0506022759, 0.03161598, 0.0070447661, 0.0303545147, 0.0118449451, 0.0300757643, -0.0271445271, 0.0050422638, 0.0631231666, -0.0513949692, 0.0430403426, -0.038035173, 0.0207560342, 0.0311105736, -0.0532739349, -0.0235133059, -0.1120187566, -0.0144213988, 0.0129310125, -0.009457455, -0.0427289568, 0.0260107238, 0.021213064, -0.0295415707, 0.0448090248, 0.0253136307, -0.0944487751, -0.0031441906, -0.0413731635, 0.028844133, 0.1102514863, 0.0445489138, -0.0071562184, -0.0305304602, -0.0296941269, 0.0066444823, 0.0443414226, 0.0355325639, -0.0061901761, 0.0261880793, -0.0253253542, 0.000647774, -0.0463346653, 0.0511003546, -0.0265974812, 0.0158264637, -0.0373893715, 0.0269251876, -0.0783218667, -0.0744855255, 0.0430852547, 0.0068867463, -0.0231753029, -0.0155643504, 0.0045492989, 0.0102956584, 0.0312404297, -0.0266472436, 0.0160680655, -0.0266492739, -0.0156834219, -0.0175315272, 0.0464761145, -0.0075338949, -0.0667702183, 0.0236128569, -0.0407280326, -0.0508926958, 0.0181550551, -0.0537551865, -0.0721413642, -0.0201687422, -0.0308865234, 0.0377096422, -0.0622197613, 0.0540949553, -0.0066636042, -0.0158696696, 0.0034102227, 0.0102854306, 0.0222240947, 0.0382964462, -0.00560909, -0.0003861024, 0.0001306238, -0.0390375406, -0.0012749521, -0.0067135543, 0.0027368451, -0.00977113, -0.016637465, 0.0180458277, -0.0228790436, -0.0206285678, -0.048986081, -0.0077606598, -0.0686381459, 0.0152854295, 0.0754196346, -0.0228423383, -0.0075104511, -0.0090130651, 0.0045274505, 0.0441124216, -0.0145598343, -0.0038357768, 0.0842044204, -0.0258814692, -0.0467238091, -0.0650123805, 0.0331195518, -0.0118179107, 0.0202109087, 0.0318966359, 0.0122260749, -0.0830068961, 0.0316757187, -0.02484213, -0.0576104298, 0.0036200201, -0.1012581289, 0.0150953587, 0.0236871801, 0.0372456387, 0.0161164906, 0.0132125635, 0.0608011894, -0.0008577561, 0.0078627327, -0.0234070532, -0.0151171433, 0.0051343893, -0.0234017428, -0.0279363822, -0.0484534875, 0.0029295818, 0.0997281596, -0.0033804036, -0.0081237303, -0.0553784519, -0.0178894103, -0.0140646389, -0.0242526978, -0.0250715148, -0.0334235765, -0.0341691263, 0.0386287011, -0.0500707701, -0.0384389423, 0.0907763764, -0.0276203491, -0.0225207806, 0.0094176745, -0.0035053906, -0.0218081921, 0.0309943501, -0.0258881357, 0.0181288086, -0.0057241423, -0.0315570384, -0.0250960141, -0.004056314, 0.0610094555, 0.0086473506, 0.0545348637, -0.0694891736, -0.0063684871, 0.0169471707, -0.0028818671, -0.0026097745, -0.0344435014, -0.0021179963, -0.0072452817, 0.043701455, -0.029503243, 0.0259632245, 0.0260845311, 0.0370240062, 0.0255463216, -0.0254625492, 0.0026794542, -0.0110359443, -0.0358970463, -0.0049531544, 0.06043569, 0.041593086, -0.0559286848, 0.0670187324, 0.0451642983, 0.0247906633, 0.0107565168, 0.0002624012, 0.0055295588, -0.0217391234, -0.0582048446, -0.0388840288, 0.0022283483, 0.1162792221, -0.0685380474, 0.0011209173, 0.1224934831, 0.0314193591, -0.0119429268, 0.0093461908, -0.0197210032, -0.001468622, 0.0105358232, -0.0003990109, -0.0342613123, -0.0140067413, 0.0421752632, 0.0549848005, 0.0042265202, 0.0055241566, 0.0195046682, -0.0854462236, 0.0718233883, 0.0187759679, 0.0091656158, -0.0394448265, -0.0541650578, 0.0154414279, 0.0195810329, 0.0276221167, 0.0423527658, 0.0146441609, 0.0011611263, 0.0296291467, -0.0624933355, -0.0275263358, -0.0060526207, -0.0318688303, 0.0388169028, 0.046621453, 0.0478628613, 0.0213635843, -0.019181164, 0.0343618095, 0.0175853167, 0.0184596162, -0.0127574122, 0.0517302155, 0.0474883392, -0.0095976787, -0.0352610759, 0.049734544, -0.0106075229, -0.0095648989, -0.0020117876, 0.0415193476, -0.0305204149, 0.0098449951, 0.0452121869, -0.0119146751, -0.0167158004, 0.0815980956, 0.0785421655, -0.0188927576, -0.0325801075, -0.0693001226, -0.0296231266, -0.086384736, 0.0223315414, 0.0310894735, -0.0161407981, -0.0082888212, -0.0577067919, -0.0616583824, -0.0067884875, -0.0069756298, 0.0248637311, -0.0133959372, -0.0456414931, -0.0242402032, 0.0008341874, -0.012756669, 0.0304952562, 0.0226534437, -0.0505038723, -0.0222034026, -0.0336259231, -0.0064298841, 0.0174549725, -0.0125575475, 0.0134560214, -0.015244388, 0.0143383406, 0.0102886511, 0.0115454271, 0.0487532765, -0.0043782382, -0.0764418244, -0.0538645647, -0.0172541272, 0.003943908, 0.0349161588, 0.0441539697, 0.0003801079, 0.0220493283, 0.0551278144, -0.0237741284, -0.0177561268, 0.0069427174, 0.0686742812, -0.0080588842, -0.0139598493, 0.0441712365, 0.0307651274, 0.02641383, -0.0240036342, -0.0160620417, -0.0769707337, 0.0495331772, -0.0560452677, -0.0128747849, -0.0315962024, 0.0266173054, 0.0114440918, -0.0523873679, -0.0038619456, 0.0331850983, -0.0496752374, -0.017981939, -0.0279942285, 0.0303416178, 0.001014117, 0.0307513922, -0.0133319646, 0.0313555263, 0.0029504905, -0.0065415506, 0.0058589964, 0.0197415184, 0.0216708668, 0.076155819, 0.0267107878, 0.0406346172, -0.0003711819, -0.0081876423, -0.0493579358, 0.0258649755, 0.0081599215, 0.0029238896, 0.069283329, -0.005506862, 0.1326164752, 0.000198427, -0.0172956176, -0.0010273642, 0.0966651365, 0.0344231986, -0.0128398994, -0.0134552922, 0.0189834796, -0.0154765956, -0.0309828781, 0.0594656765, -0.0162572451, 0.0255564973, -0.006714223, -0.0167757496, 0.0056465445, -0.0048372098, -0.0103363805, 0.0074606813, 0.0153791085, -0.0223939717, -0.042537678, -0.045919124, -0.0304346047, 0.0429585353, -0.0214146581, -0.0224958919, -0.0138997305, 0.0575508773, -0.0230118185, -0.0352244712, -0.0407258719, -0.0117876297, -0.0219120327, 0.0305062216, -0.0254650675, -6.505024842e-33, -0.0426432565, -0.0410547554, -0.0190436728, -0.021091152, -0.0008867382, -0.0034452998, -0.0922843665, 0.0085373251, 0.0268012024, 0.0634187385, -0.0238134414, 0.0586759336, -0.0034972951, -0.0003595125, 0.0205914713, 0.0012835393, 0.0588414483, 0.0257648639, -0.0289385729, -0.01868595, 0.0424476862, 0.0217752699, 0.0786010027, -0.036894545, 0.0988664776, 0.0345320106, -0.0405735336, 0.031782534, -0.0133158294, 0.0612133145, 0.0424979068, 0.0286110044, 0.0301791821, -0.0181857962, -0.0264233891, -0.0182409454, -0.0645984784, -0.0335181542, 0.0475111641, 0.0162205007, -0.0425785407, -0.0457571223, 0.0353394076, -0.0044696671, -0.0100625642, -0.0153223034, 0.0280580558, -0.0271307155, 0.0240453724, 0.040518444, 0.0226555187, 0.032561861, -0.0469195731, -0.0215813387, -0.0108805373, -0.0082849404, -0.0207428057, -0.0219699461, -0.0398608968, -0.0421347618, 0.0559054948, 0.0454601794, 0.0478848331, -0.0283071399, -0.0233612061, 0.0171676036, 0.0252689105, 0.0226696152, -0.0645964444, 0.0206001587, -0.042828016, 0.0211132094, 0.0731947124, 0.0576869659, 0.0311295837, -0.0076420996, -0.0381673165, 0.0368747376, -0.048982013, 0.0333152711, -0.026453713, 0.0224253368, -0.0499908291, -0.0361412391, -0.0360091887, 0.0307968371, -0.0236356221, -0.0213010013, 0.039326258, -0.0209597629, -0.0338361822, -0.0605797209, -0.0344542041, -0.0144642824, 0.0250771958, -0.0093193678, -0.0049846666, 0.0159896407, -0.0033879115, -0.0170398653, 0.0089588165, 0.0110695362, -0.0083246985, 0.0431915298, 0.0468909815, -0.0034562121, 0.0454573706, 0.0124511532, -0.0325418077, 0.0270286258, -0.0314441659, -0.0327675417, -0.051300738, -0.037185587, 0.000559463, 0.0121031441, -0.0315952376, -0.008535726, 0.0234729219, 0.0263049547, -0.0192959234, -0.0227248129, -0.0119500998, 0.0297298748, -0.0100593548, 0.0144943083, -0.0183198657, -0.0288583357, 0.0551345535, -0.0421370491, -0.0036180892, 0.0172968283, 2.658e-7, 0.0439545065, 0.0344340317, 0.0532597676, 0.0147375725, 0.0187037811, -0.0026765144, -0.0076072798, -0.0534250401, -0.0236393325, 0.017568266, 0.0368413031, 0.0343213789, 0.0861600637, 0.0067927805, -0.0025429139, -0.0096858125, -0.0372802578, -0.0063733011, -0.0148712993, 0.0143691115, 0.0417619683, -0.0134030646, 0.0004551681, 0.0312245544, 0.0047653434, -0.0296509862, 0.0143882949, -0.0195330121, 0.0103309043, 0.0481742211, 0.0834736079, 0.0209408905, 0.0356868878, -0.0158065725, -0.03979031, -0.0119222617, -0.0063945027, 0.0472016111, -0.0408571288, -0.0005283149, -0.0128251156, -0.0218193736, 0.0214472804, -0.0567678623, 0.0409565158, 0.0245791599, 0.0092409495, 0.0459530987, -0.0163775235, -0.0208209902, -0.0391561463, -0.0030967353, -0.0044503529, 0.029688634, 0.0050402689, -0.0049888496, 0.0057207062, -0.041078072, -0.0854216069, 0.0172739457, 0.0460658483, 0.0102045452, -0.0060610897, -0.0041286577, 0.0171424113, -0.0542201884, -0.0393650457, 1.92348712e-34, 0.0089626173, -0.0027102646, 0.0513855368, 0.0252124108, 0.0526501946, 0.0077455142, -0.0232462082, -0.0284317043, 0.0165627971, -0.034803208, -0.0316185541 ]
http://arxiv.org/abs/2407.00923v1
http://arxiv.org/pdf/2407.00923v1
Preserving Multilingual Quality While Tuning Query Encoder on English Only
2024-07-01T03:03:18
2024-07-01T03:03:18
Oleg Vasilyev, Randy Sawaya, John Bohannon
cs.CL
cs.CL
A dense passage retrieval system can serve as the initial stages of information retrieval, selecting the most relevant text passages for downstream tasks. In this work we conducted experiments with the goal of finding how much the quality of a multilingual retrieval could be degraded if the query part of a dual encoder is tuned on an English-only dataset (assuming scarcity of cross-lingual samples for the targeted domain or task). Specifically, starting with a high quality multilingual embedding model, we observe that an English-only tuning may not only preserve the original quality of the multilingual retrieval, but even improve it.
Preserving Multilingual Quality While Tuning Query Encoder on English Only: A dense passage retrieval system can serve as the initial stages of information retrieval, selecting the most relevant text passages for downstream tasks. In this work we conducted experiments with the goal of finding how much the quality of a multilingual retrieval could be degraded if the query part of a dual encoder is tuned on an English-only dataset (assuming scarcity of cross-lingual samples for the targeted domain or task). Specifically, starting with a high quality multilingual embedding model, we observe that an English-only tuning may not only preserve the original quality of the multilingual retrieval, but even improve it.
[ 0.0006959647, 0.0446347445, -0.025362825, 0.0613435805, -0.0152370101, 0.0052365526, 0.0049430472, 0.050157804, -0.0229744539, 0.0001929966, -0.032910835, -0.0656513423, -0.0284358654, 0.012770649, 0.0260325018, -0.022206543, 0.040710777, -0.0154141039, -0.0174710918, -0.0194813851, 0.0019472316, 0.0026147764, 0.0637068525, 0.0008256726, 0.0408439226, 0.0521066785, -0.0030398474, 0.02283605, -0.0082054436, 0.0088738129, 0.02326129, 0.0163317211, 0.0485197306, 0.000104953, 0.0000016627, -0.0292501785, -0.0221953597, 0.0131745972, 0.0091514941, -0.0066188583, 0.0431476571, -0.0273199044, 0.0476980098, -0.010553834, 0.0100603541, 0.0060948664, 0.0262896232, 0.0085111046, 0.0322818197, 0.0450122058, -0.0084454902, -0.0279000178, -0.011275758, -0.0212365724, 0.0076098749, -0.0452689715, -0.0003887983, -0.0090138698, 0.0090095447, 0.05321192, -0.0231151301, 0.042078279, 0.0164697915, -0.0019968993, 0.0118896347, -0.0039271228, -0.0318677612, -0.0177018438, 0.0535014346, 0.0210219119, -0.0344714746, 0.0039894208, -0.0396410823, 0.0310348403, -0.02051723, 0.0139542548, -0.024427101, -0.0229139943, 0.0068010604, 0.0121571347, -0.0060927845, -0.0145250019, 0.0136386948, -0.0033425586, -0.0232906733, 0.0295735523, 0.0271069799, -0.0503899455, 0.0339993313, 0.0514909141, -0.0064828107, 0.0341811888, 0.0574655756, -0.0344773494, -0.0152327381, -0.0069097946, -0.0052111675, -0.0539335161, -0.0148179447, -0.0498635024, -0.0200916044, 0.0508231446, -0.012232244, 0.042503722, -0.0032914358, 0.0477326103, 0.0228669513, 0.0759527162, -0.0769566149, -0.0543708727, -0.0041246018, 0.0001138235, -0.0385860577, 0.032501474, -0.0376794524, 0.0165678076, -0.0260854047, -0.0015517124, 0.0351969711, -0.0136522111, -0.007359847, -0.0237598829, -0.0548869558, -0.018538449, -0.0096180215, 0.0557135269, -0.0432687365, -0.0182977263, 0.0108936848, -0.0313088782, -0.0266917422, 0.0188545082, 0.0159695987, -0.0607926473, 0.004383164, 0.0017560455, -0.0340172239, -0.025024198, -0.0502372347, 0.0047434461, 0.0223365165, -0.0059923888, 0.0062676193, -0.0172984395, 0.0672293231, 0.0127351554, 0.0189180169, -0.0614948533, -0.0153583623, 0.0154211512, -0.0301715117, 0.0532440059, 0.0111426376, -0.0034025351, 0.0008201941, 0.008306371, 0.0270865019, 0.1189881712, -0.0022746797, -0.0000600076, 0.0971776098, 0.0094801309, -0.0317515731, 0.0471861884, 0.0101887062, 0.0320672877, -0.0134893078, 0.0048014503, 0.0208954867, 0.017485043, 0.0343559347, 0.0339590535, -0.0729540363, -0.0213277694, 0.0106565701, 0.0338413902, 0.0659460574, -0.0007413905, 0.0371645354, -0.0039909636, -0.0421691686, 0.0463365726, 0.0149696134, 0.0258116778, 0.0000055793, -0.0144408718, 0.0856690779, 0.0392706059, -0.0494820699, -0.0399865136, 0.0035805353, -0.0089975335, 0.0204806551, -0.0055378345, 0.0529286563, -0.0313165486, -0.0328080766, 0.009407091, 0.0202752426, -0.0662397072, 0.0778650939, -0.0146667082, -0.0405063182, 0.0612423308, 0.0552957542, -0.007118884, 0.0218969118, 0.0012206811, -0.0135270273, 0.0056257737, 0.0526258685, -0.0190685652, 0.0689438879, -0.0986332148, -0.0574003235, -0.019066086, -0.0085644871, 0.0345875062, -0.0371035822, 0.0456265211, 0.0267920867, -0.0633443519, -0.0157694463, 0.0112980297, -0.0481474176, 0.0071620317, 0.0192684457, 0.0268492568, -0.0008677152, 0.0130618839, -0.0126796933, -0.0058040833, 0.0226615071, -0.0503823124, -0.0131513784, -0.0137196323, -0.0172323845, -0.0246044826, -0.0050629121, -0.0467032902, 0.038661588, 0.024103649, 0.0123152751, -0.0439990163, -0.0262433179, -0.0270383563, 0.0043656109, -0.0356018916, -0.0009965275, -0.0489808805, -0.0062854514, -0.0504073985, 0.0134202642, 0.0075589493, 0.0781233981, -0.0028633208, -0.0330374576, 0.0264229309, -0.0533721335, -0.0603898428, 0.0635191053, 0.0270776581, 0.0314520337, 0.0853898972, -0.0139116645, 0.0018205069, -0.0148127461, -0.0408656299, 0.0007783661, -0.0674910173, 0.0188354123, 0.0108354893, 0.019924501, -0.0040110303, -0.0079175942, -0.0583760403, -0.0415111333, 0.027402252, 0.0629947484, 0.008412363, 0.0119316839, 0.0316270441, 0.0013267309, -0.0472066179, 0.0509468615, 0.0452892594, -0.0341682397, -0.0409845039, -0.0646122098, 0.0327834338, -0.0156064676, -0.0076382183, -0.0040634195, -0.0345831774, -0.0202093907, -0.013867083, 0.0132183926, 0.0491008535, 0.0016180717, -0.0095474059, 0.0463270545, -0.0074492232, -0.0782755315, 0.0330098867, -0.0106044756, -0.0020989159, -0.0428028628, -0.029947117, 0.020682836, 0.0039653778, -0.0329452641, -0.0134496316, -0.0569844432, -0.0125241019, -0.0380762219, -0.0262695681, -0.0622300096, -0.0019204736, 0.0179273635, 0.0681230798, -0.0192869455, -0.0252085645, 0.0814260989, 0.0120373173, -0.0325294547, -0.0646626055, 0.0204630774, -0.0405245051, 0.0175557248, -0.0197191685, 0.0421947725, -0.0122574363, -0.0509468466, -0.0173465628, 0.0332920142, 0.0513947532, -0.0446480066, 0.0407134667, 0.0032444168, -0.0060798577, -0.0184914544, -0.0602356307, -0.0081182569, 0.0170925334, 0.0214647818, -0.0073068696, 0.0360054299, 0.0143503724, -0.0580837354, 0.0204707794, 0.0454223417, 0.0448684767, -0.0224612784, 0.000382756, 0.0153995985, 0.0157099515, 0.0303710792, 0.0313455686, -0.0380503163, -0.0718676224, 0.010267281, -0.0046093194, -0.032643348, -0.0729834884, 0.0567220189, 0.020626694, 0.0817714706, -0.0194275398, -0.0551739708, -0.0326213315, 0.0452883467, -0.0181969404, -0.0697770044, 0.072686851, 0.0061024814, -0.0857292563, -0.0387214944, -0.0426481329, 0.0317652114, 0.0287587233, 0.0328487605, -0.0669252127, 0.0034145799, 0.0057418738, 0.0388518423, 0.048606433, 0.0095953476, 0.003586289, -0.1078521982, 0.0002312792, 0.0155364359, -0.0210398734, -0.0776408985, -0.0685545951, -0.0182037316, -0.0576069094, 0.0378228016, 0.01514987, 0.0248012133, -0.0033130408, -0.0146378921, 0.0383491367, -0.0708782151, -0.04264649, -0.0421201922, -0.0352449603, 0.0279324055, 0.0301600955, -0.0084694531, -0.0338693075, 0.0009448277, -0.0601760074, -0.0343009755, 0.0097162407, 0.0538895577, 0.0069482336, -0.0010430876, 0.0058171521, -0.0209855083, -0.0122794202, 0.0220145769, -0.0219414104, 0.0023726495, -0.0074490127, 0.0233810861, -0.0246204641, -0.0360187851, -0.0139108831, 0.049184408, -0.0061367033, -0.0287565496, -0.0038741906, -0.0499223173, 0.0161447991, -0.0814241394, -0.0591915175, 0.0418751054, -0.029914137, 0.008160919, -0.0512316674, -0.0497979335, -0.0426791571, 0.0301088132, -0.0021533896, 0.0256085638, -0.0186769124, -0.0167447962, 0.0226461627, -0.015648691, -0.0402071998, 0.0068884259, -0.043645829, 0.0184853878, 0.0155288894, -0.0240768362, -0.0039181439, -0.0559822954, 0.0034368015, -0.0573835894, -0.0336125121, -0.0040064403, 0.0144449351, 0.0620774403, -0.0158534981, -0.039170213, 0.0322926156, 0.0097623197, -0.0330614448, 0.0114345374, 0.0257482175, -0.0244475361, -0.0451177508, 0.0434405431, -0.0519213118, 0.0011201878, -0.0367482677, 0.036622759, 0.0033204465, -0.047812514, 0.0172990151, 0.0591231994, 0.0318512805, 0.0009836265, 0.017968595, -0.059814699, 0.0281130653, -0.0396284238, -0.0235621762, -0.0237020273, 0.0054944516, 0.0247540753, -0.0553482361, -0.0056968736, 0.0680476427, 0.0222826228, 0.011766755, -0.0656642988, 0.0118050613, 0.0166937727, 0.0030390476, 0.0023072832, 0.0355528817, -0.0076864487, 0.015140133, 0.0212286804, 0.0859670043, -0.0573012829, -0.0043868893, 0.0091293985, 0.0173235368, 0.0043893298, 0.0248315521, -0.0563319214, 0.0268756077, -0.0272633284, -0.0441723578, 0.0548581742, -0.0627108216, 0.0752638355, 0.0363894105, -0.0054987222, -0.0347882174, -0.0207674131, 0.0515875705, -0.0077939867, 0.0037588554, 0.0091583142, -0.0086824847, 0.0333654135, 0.0745276809, -0.0252359733, 0.0318156406, -0.0387758315, -0.0320001505, -0.0060944222, 0.0047063814, 0.0538366362, 0.0310500991, -0.0305110924, -0.0191129576, -0.0025391621, -0.0249064583, 0.0172474999, -0.0059463372, 0.0098121092, 0.0023289255, 0.0406987555, 0.0903648138, -0.0087748608, 0.0324865542, -0.031593062, -0.0425574295, -0.021923054, -0.0011507996, 0.0070524304, -5.903894663e-33, -0.0156794041, 0.0621244349, -0.0265074745, -0.041117195, -0.0111690853, 0.0107899122, -0.0029941439, -0.0222284235, -0.0452815928, 0.0061275586, -0.0123243909, -0.0064977324, 0.0148234488, 0.0008982271, -0.002811146, -0.0030593311, 0.0411151573, 0.0195046756, -0.0446080007, 0.0226412751, 0.0784216151, 0.0280028246, 0.048141297, 0.0209375434, 0.0282378793, -0.0026363411, 0.0110350009, -0.0027005677, 0.0468603522, 0.05595636, 0.0112771876, 0.0714880154, 0.0168689899, -0.0353283286, -0.0228301436, -0.0466015078, -0.0429430045, -0.0323157944, -0.0225158632, 0.0263467953, 0.0030797939, -0.0529786013, 0.0464678034, -0.0162725057, -0.0020437941, -0.0036191752, 0.033632759, -0.0101726223, -0.0454616994, -0.0560070239, -0.0202758871, 0.0229084343, -0.0173317045, 0.013326508, 0.0669525415, 0.0884632915, 0.0348265395, 0.0306967404, -0.0471115969, 0.0520171933, -0.0420169123, 0.0771321878, 0.017594995, -0.0208804272, -0.0213980898, 0.0396270715, -0.0150776887, 0.0068655354, 0.048258286, 0.0119926464, 0.0518835783, -0.0251780376, 0.0408264101, 0.0829869211, 0.0338124186, -0.0486176088, -0.0850669816, 0.0739408135, -0.013546613, 0.032121677, 0.0113387601, 0.0597061962, -0.01241179, -0.0441310667, -0.0628387481, -0.0137926126, -0.0299124587, -0.0382394418, 0.0171825197, 0.0331320912, -0.0213553458, -0.0213634539, 0.081142731, -0.0198010448, 0.0173913408, 0.0263939928, -0.0321866311, -0.0005904904, 0.0057542901, 0.0525774583, 0.002618673, -0.0323722214, 0.0103145158, -0.0262105148, -0.0465185083, -0.0160276424, 0.0430025235, 0.0030368099, -0.0396684073, -0.0040936335, -0.0189768076, -0.0163572542, -0.0029726878, 0.0335666202, 0.0031674553, 0.0092720557, 0.0003176924, 0.1029013023, 0.0366887376, 0.0129882712, -0.0436986051, -0.0560826734, 0.0569285378, 0.0271637272, 0.0003157938, 0.025914954, -0.0406371579, -0.009624023, 0.0088817514, -0.0421277918, -0.0225298814, 0.0273623653, 2.432e-7, 0.0452259034, 0.0249268636, 0.0207170863, 0.0054730778, -0.0128132245, 0.0029409104, -0.0327802151, 0.0265103411, 0.0118417926, -0.0406184271, -0.0026042778, 0.0187476259, 0.0246126987, 0.054257337, -0.0863807648, -0.0191539582, -0.0079554031, -0.011112445, -0.0249197446, -0.0107688457, 0.0520320311, 0.0994245186, -0.036184404, 0.0427080691, -0.0215866696, -0.0564713031, 0.0814636946, -0.0109526757, -0.0537022315, 0.0268421005, 0.0275068395, 0.031903591, 0.0099766366, 0.0022132914, -0.0578199551, 0.0384542458, 0.0681395829, 0.028756626, 0.0047977506, -0.0371252075, 0.0224299524, 0.0199247785, -0.0256956499, -0.0154076824, 0.084671393, 0.0218949057, -0.0061971983, 0.0465066694, -0.0289644916, 0.0247386266, 0.0901922807, -0.0159709547, -0.0690644234, 0.0272813905, 0.0363333523, 0.0434695221, -0.0018064225, -0.0427514352, 0.0008886477, -0.0025812625, -0.0212463085, -0.0222749896, -0.0191316046, -0.0084097153, -0.0032919939, -0.0234161876, 0.0143230092, 1.903659148e-34, 0.0707762241, -0.0194202513, 0.0184189659, -0.0063283392, 0.033653073, -0.0642043948, -0.0081855636, -0.0052621146, -0.0184442941, -0.0773462951, -0.0185899902 ]
http://arxiv.org/abs/2407.00911v1
http://arxiv.org/pdf/2407.00911v1
Deep Image-to-Recipe Translation
2024-07-01T02:33:07
2024-07-01T02:33:07
Jiangqin Ma, Bilal Mawji, Franz Williams
cs.CV
cs.CV, cs.CL, cs.LG
The modern saying, "You Are What You Eat" resonates on a profound level, reflecting the intricate connection between our identities and the food we consume. Our project, Deep Image-to-Recipe Translation, is an intersection of computer vision and natural language generation that aims to bridge the gap between cherished food memories and the art of culinary creation. Our primary objective involves predicting ingredients from a given food image. For this task, we first develop a custom convolutional network and then compare its performance to a model that leverages transfer learning. We pursue an additional goal of generating a comprehensive set of recipe steps from a list of ingredients. We frame this process as a sequence-to-sequence task and develop a recurrent neural network that utilizes pre-trained word embeddings. We address several challenges of deep learning including imbalanced datasets, data cleaning, overfitting, and hyperparameter selection. Our approach emphasizes the importance of metrics such as Intersection over Union (IoU) and F1 score in scenarios where accuracy alone might be misleading. For our recipe prediction model, we employ perplexity, a commonly used and important metric for language models. We find that transfer learning via pre-trained ResNet-50 weights and GloVe embeddings provide an exceptional boost to model performance, especially when considering training resource constraints. Although we have made progress on the image-to-recipe translation, there is an opportunity for future exploration with advancements in model architectures, dataset scalability, and enhanced user interaction.
Deep Image-to-Recipe Translation: The modern saying, "You Are What You Eat" resonates on a profound level, reflecting the intricate connection between our identities and the food we consume. Our project, Deep Image-to-Recipe Translation, is an intersection of computer vision and natural language generation that aims to bridge the gap between cherished food memories and the art of culinary creation. Our primary objective involves predicting ingredients from a given food image. For this task, we first develop a custom convolutional network and then compare its performance to a model that leverages transfer learning. We pursue an additional goal of generating a comprehensive set of recipe steps from a list of ingredients. We frame this process as a sequence-to-sequence task and develop a recurrent neural network that utilizes pre-trained word embeddings. We address several challenges of deep learning including imbalanced datasets, data cleaning, overfitting, and hyperparameter selection. Our approach emphasizes the importance of metrics such as Intersection over Union (IoU) and F1 score in scenarios where accuracy alone might be misleading. For our recipe prediction model, we employ perplexity, a commonly used and important metric for language models. We find that transfer learning via pre-trained ResNet-50 weights and GloVe embeddings provide an exceptional boost to model performance, especially when considering training resource constraints. Although we have made progress on the image-to-recipe translation, there is an opportunity for future exploration with advancements in model architectures, dataset scalability, and enhanced user interaction.
[ 0.0023033503, 0.092698738, 0.0069516194, 0.0163204633, -0.0012980615, 0.0023657535, -0.0296562538, 0.0152217234, -0.0023571155, -0.0315869227, -0.0116278781, -0.0291722957, 0.0038646779, 0.0618289486, -0.0232137274, -0.0454551987, 0.0202153903, 0.0310903639, -0.0479015782, 0.0239395089, -0.0087475246, 0.0124470945, 0.0175553076, 0.0249530263, -0.0476115271, 0.030895276, 0.003567588, 0.0485075302, 0.0006132383, -0.0469442084, -0.0069446694, 0.0564624965, 0.0021937734, 0.0066734734, 0.0000020632, 0.0062083346, 0.0082989363, -0.0084064696, -0.0139875077, 0.0036116487, 0.0197185203, -0.0075873295, -0.015926091, -0.00901144, -0.038439136, 0.0138405468, 0.0679160878, 0.0593224242, 0.0126266377, 0.0824880078, -0.0099355923, -0.1089266986, -0.0327847786, -0.0120631121, 0.0399343036, 0.0303558111, 0.0015450383, -0.036288064, -0.0332433321, -0.0566747338, -0.0201732796, 0.0460007265, 0.0532017089, -0.0009121841, -0.0279019363, 0.0366251804, -0.0017382562, -0.0434315465, 0.0030758106, 0.0947921053, -0.0572991222, 0.0170267224, -0.0298087448, -0.0104439138, -0.0205125269, -0.0229312144, -0.0189623013, -0.0436993428, 0.0199758392, 0.0575739555, -0.0725583956, 0.0005673544, 0.0518215224, 0.0101013137, 0.0012758981, 0.0210682321, 0.0271964595, 0.008015262, -0.0197257679, 0.0246014856, -0.0051793405, -0.0723094568, 0.0001862736, 0.0207402837, 0.0043747439, 0.0213554986, -0.0069675711, -0.0104703903, -0.014048351, 0.017013628, 0.0302970037, 0.0333504155, -0.0416467376, 0.0124456855, -0.0228850693, 0.0284304433, -0.0124364952, 0.0328349769, -0.0984363183, 0.0398699827, -0.053804718, -0.0055418676, -0.0166012924, -0.0107638342, -0.0453443639, -0.0317187198, -0.0239489712, -0.0363832414, -0.0024370612, -0.0115707247, 0.0104341554, 0.0912611634, -0.0399510711, 0.0291849542, -0.0636572838, 0.0632486269, -0.0054496895, 0.01400958, 0.0242674667, 0.0096366983, -0.0328204557, -0.0190131068, 0.0206784997, 0.0003318962, 0.0408810563, 0.037353415, -0.0569141656, -0.0290849023, 0.0037989561, -0.0436745994, -0.0483521223, -0.0874840617, 0.0299133305, -0.0631460845, 0.0687353909, -0.0453716628, 0.0283374712, -0.0524452925, 0.0306078978, 0.040831428, -0.0452302694, 0.0839506164, 0.0838430598, -0.0199385434, 0.0069421241, 0.0307127722, -0.001630852, 0.006811325, 0.0416927859, 0.0776367113, 0.0062684212, 0.0005887219, 0.0151068196, -0.0057761823, 0.0007157441, 0.0360949747, -0.0720427707, -0.0174868703, -0.0010640403, 0.0471571088, -0.0007139561, 0.0383967198, -0.0075294622, 0.0238339622, 0.1024859548, 0.0386413671, -0.0020928725, 0.0503879227, 0.0452605709, 0.0233232416, -0.0249502957, -0.0228065848, -0.0228219926, 0.0331827626, -0.0225783717, -0.0196061525, 0.0037206174, 0.0140578849, -0.0423917063, -0.030436635, 0.0448198691, -0.0411881506, 0.0675542206, -0.0138147194, 0.0252979212, 0.0283559747, -0.0707328096, 0.0078107556, -0.0317637138, -0.0640876293, 0.0292691663, 0.0326866917, 0.0395890996, 0.0839160606, 0.0255313125, 0.0105149113, 0.0471379906, 0.0138904825, 0.0062221535, -0.0004638413, 0.0178085119, 0.0123032946, 0.0569031686, -0.0410162769, -0.0645681694, -0.0121224551, 0.0229249988, -0.0014853847, 0.0045787524, 0.0390441157, 0.0359858312, -0.0013973492, -0.032222148, 0.0234000683, 0.0006783011, -0.0506310426, 0.0538983308, 0.0221364405, -0.0203635152, 0.0126679707, 0.0357150994, 0.0209516343, 0.0002732824, -0.0505896658, -0.031694036, 0.0221885294, -0.0184835419, -0.0323031507, 0.0023362048, -0.0745738596, 0.0099908998, -0.002674595, -0.0459117256, -0.067144379, 0.0237686802, -0.0152555192, -0.0033356908, -0.0270593408, -0.0112721613, 0.0546609946, 0.0575782433, -0.0157931428, 0.0501489528, -0.0053592627, -0.0063979616, -0.0480062589, -0.0456305817, -0.0062270011, -0.0218523368, 0.0221676212, -0.032239072, 0.0120390411, 0.0491453558, 0.0191688705, 0.0509342737, -0.0487901978, -0.0345947184, -0.0496049263, 0.0194046702, -0.0292319786, -0.0313614197, -0.0168870576, 0.0133716268, 0.0203304719, -0.0158277862, -0.033511173, 0.0245064609, -0.0404734612, 0.0092456453, 0.0064541306, 0.023015948, 0.0130229834, -0.032599397, -0.0199899133, 0.0409476534, 0.0411989354, -0.0099937757, 0.0178017691, -0.021200683, -0.0656155944, -0.0339894593, 0.0155307008, 0.0211339463, -0.0350508951, -0.0253327414, 0.0028098072, 0.0028780482, 0.0431288034, -0.0201684479, -0.0032356149, 0.0449378006, -0.0021788992, -0.0390125737, -0.0098573882, -0.0426215492, 0.0142687261, 0.0158811845, -0.0374020673, -0.0237551052, -0.0040123006, -0.0128808366, 0.0413045101, -0.0476505533, -0.0015279922, 0.0075541656, -0.0530384183, -0.0200779401, 0.0365382396, 0.0136940451, 0.0440411381, -0.0212147702, -0.0524553955, 0.0275815818, -0.0178081598, 0.036607109, -0.0117307985, 0.01561209, 0.0088991085, 0.0559530444, 0.0136486897, 0.0527032278, -0.0124406191, 0.024339119, -0.0432226136, 0.019075904, -0.0066524325, -0.0683795363, 0.0638047382, -0.0817013532, -0.0317556262, -0.0091669038, -0.0173120536, -0.0413671322, -0.003120153, -0.0234890133, -0.0137776118, 0.0005160987, -0.0093709072, -0.0458830073, -0.0006873898, -0.0220105406, 0.0341193788, 0.0265541561, -0.0182884596, -0.001966845, 0.022271309, 0.042304188, 0.0105145108, 0.0040688687, -0.008344505, 0.0203300733, 0.0314295031, -0.0014627546, -0.005328224, -0.0220420547, 0.0541857705, 0.0168222338, 0.0162047315, -0.0193091556, 0.0326162316, 0.0268481504, -0.0417286418, -0.0179092474, 0.0529240146, 0.0093599427, -0.0632587299, 0.0329970121, 0.0923741087, -0.0225399584, 0.0169024915, 0.0662075579, -0.0995703042, -0.0208242722, -0.0173477642, -0.0190832503, -0.0319244266, -0.0036641946, -0.0595576875, -0.0927945599, 0.0349268727, 0.0052883681, -0.083109051, -0.0788170621, -0.0079192678, -0.0473021306, 0.0098019307, 0.031804882, -0.0442534201, -0.0124716545, -0.0047701565, 0.0119804163, 0.0276074205, -0.0484666228, 0.0177172646, -0.0731402114, -0.0114523619, 0.0662894845, 0.045772817, 0.0014181925, -0.0366841219, -0.000454625, 0.0213895254, 0.0252634082, -0.0008902002, 0.063135013, 0.0138713317, -0.0246880185, 0.0259618536, 0.0185165256, -0.0430174582, -0.0336607806, -0.0286949035, 0.0554698408, 0.0101801809, -0.0192855, -0.0134264547, -0.0440908596, 0.0278221481, 0.0320163369, 0.0016947777, 0.0105791669, -0.0266586095, -0.0189292021, -0.039519418, -0.0635867938, 0.0122442655, 0.0736193508, -0.0724920332, -0.0385864414, -0.0763471052, 0.0016551689, 0.00452381, 0.0570620559, 0.0252883434, -0.0083125327, -0.0233984366, 0.0470076986, -0.0463935845, 0.0273216758, -0.0440589935, 0.0304225646, -0.0477534197, 0.0210421421, 0.0187942367, -0.042127531, -0.0035443988, 0.0153825255, -0.1033515185, -0.0360263363, -0.0225315653, 0.0862186253, 0.0097525259, 0.0680999234, 0.0125956498, -0.042319715, 0.0383938588, 0.0258471016, 0.0167757068, -0.0426322371, 0.005789272, -0.0466573574, 0.0148815019, 0.0250583999, -0.0415458009, 0.0291643422, 0.0222745538, 0.0231365375, -0.0033151899, -0.0607262291, 0.02728731, -0.0501610711, 0.0250909366, -0.0142166121, 0.0322548561, -0.031739179, 0.043073684, 0.0007562323, -0.0064373109, -0.0685356036, -0.0452403016, 0.0493836068, 0.0076667098, -0.034147758, -0.0416165479, 0.0095017524, 0.024746716, -0.0374871306, -0.0335809626, -0.0162559077, 0.0265356861, 0.0198035408, 0.0190804191, -0.0038664357, 0.0479508415, -0.0232475121, 0.0164183304, -0.0270925499, 0.0248903148, 0.0051904046, 0.0441404358, -0.0768283531, 0.0268753953, -0.001440017, -0.0374380648, -0.0178911276, -0.0431329496, 0.0452965461, -0.0805814713, 0.0629329458, -0.0000653856, -0.0037806069, -0.041996181, 0.0781383738, -0.0080589922, -0.0236021429, 0.0430457108, -0.0034186628, 0.0180419739, 0.0265321005, 0.0672071204, -0.0244740602, 0.0514970832, 0.0304565709, -0.0009379092, -0.0069466196, 0.0072825947, 0.0363642313, -0.0174441673, -0.0046527116, -0.0268719066, -0.0283855405, -0.0662653819, 0.0160272773, -0.0022489878, 0.0117452331, 0.0193746369, 0.0449512564, 0.0462494753, -0.0139368437, 0.0196857434, 0.0055986107, 0.0190148931, -0.0040659131, -0.0304743759, -0.0061813518, -6.519160896e-33, 0.0158156715, -0.0341178998, 0.0245002173, 0.0104181664, -0.0189411771, -0.0062078321, -0.0592511669, -0.0133164972, 0.0315810665, 0.0368863195, 0.0327189714, -0.0104468558, 0.0181552526, 0.0401961319, -0.0004898527, -0.0471767262, 0.0464000702, 0.0371973179, 0.0038276487, 0.004887539, 0.0034999051, 0.0384028815, 0.0524900742, -0.0615225062, -0.0424071811, 0.0102112005, 0.0164909102, -0.0057197115, 0.0293734223, 0.0077829491, -0.0413459241, 0.0457699001, -0.0087769656, -0.0357021801, -0.0103458054, -0.005094829, -0.0417545177, -0.0361324847, -0.0635381266, 0.0008521845, -0.0476701222, -0.0385307558, 0.0316169821, 0.0050839991, 0.0027390164, 0.0291613042, 0.0450887345, -0.0213592388, -0.0413583703, -0.0204631686, -0.0574793778, 0.0030194917, 0.0002642933, -0.0418089777, 0.055858884, 0.0387707464, 0.0345208719, -0.0238636173, -0.0281801503, 0.0120115746, -0.0265918374, 0.0013911525, 0.0648271218, 0.0522938333, -0.0037433184, 0.0353827886, 0.0113187116, -0.0119709941, 0.010426715, -0.0108733755, 0.0098424014, 0.0823621228, 0.0674909204, 0.0317415856, 0.060645856, -0.0334738567, -0.0228541438, 0.0130305151, -0.0281879846, -0.0277129523, -0.0318683833, 0.0359180905, 0.0469725505, -0.0067224335, -0.0400908627, -0.0360857844, -0.013807727, -0.024251245, 0.0157656725, 0.0395983234, -0.0465688705, 0.0068925899, 0.0226674527, 0.0222531483, 0.0067274952, -0.0459155515, -0.0044947388, -0.035954725, -0.0118156271, -0.0027383436, -0.0631257519, -0.0370422862, 0.0334848501, 0.0030973831, 0.0094276303, -0.0144029604, 0.0220993869, 0.0558422394, -0.005292519, -0.0100614913, -0.0410217494, -0.0042391289, 0.0218323618, 0.0084125586, 0.0208452158, 0.0061782477, -0.0211228617, 0.0494255163, 0.0019480898, -0.0094520031, -0.0214222372, -0.0047954791, 0.083929345, -0.0224703699, -0.0405786447, -0.0001940618, -0.0416908972, -0.0223275349, 0.0646824688, -0.0803773552, -0.010820413, 0.0221812874, 2.813e-7, 0.0523145422, 0.000586449, 0.0307283252, -0.0220056679, -0.0316059068, 0.0294289589, 0.0251199417, 0.0481409281, -0.0500340089, 0.007940108, 0.057317283, 0.0214838609, 0.0412262939, 0.0461785346, 0.0047014784, -0.0024848967, -0.0546053685, 0.0517048426, -0.0250950903, -0.0144152278, 0.0299722869, 0.072148554, 0.0441633947, -0.0345211886, 0.021211585, -0.0069571757, 0.0686976016, -0.06273444, 0.0479567423, -0.0421253778, -0.0006178902, 0.0292316657, 0.0161986612, -0.0211858265, -0.048982311, -0.0500921458, 0.0802231804, 0.0186563693, -0.035274677, -0.0326122493, -0.0234231912, 0.0167248659, 0.0012683435, -0.0528484136, 0.0459376909, -0.10036847, 0.0258471295, 0.0216974895, -0.0192562882, 0.0354501866, 0.0695477203, 0.017678706, 0.0331902429, 0.017633101, 0.0596796796, 0.0196997114, -0.0003377993, -0.0658233315, -0.0334894806, -0.037329454, -0.0245255437, 0.0290479269, -0.0247616507, -0.0226103049, -0.0469400585, -0.0113897249, -0.0491558686, 2.206294071e-34, 0.0211116578, -0.0037645779, 0.01487491, -0.0170014314, 0.0199756604, 0.0078304401, -0.0366849154, -0.0182140134, -0.0024588089, -0.053057503, -0.034408737 ]
http://arxiv.org/abs/2407.00908v1
http://arxiv.org/pdf/2407.00908v1
FineSurE: Fine-grained Summarization Evaluation using LLMs
2024-07-01T02:20:28
2024-07-01T02:20:28
Hwanjun Song, Hang Su, Igor Shalyminov, Jason Cai, Saab Mansour
cs.CL
cs.CL, cs.AI
Automated evaluation is crucial for streamlining text summarization benchmarking and model development, given the costly and time-consuming nature of human evaluation. Traditional methods like ROUGE do not correlate well with human judgment, while recently proposed LLM-based metrics provide only summary-level assessment using Likert-scale scores. This limits deeper model analysis, e.g., we can only assign one hallucination score at the summary level, while at the sentence level, we can count sentences containing hallucinations. To remedy those limitations, we propose FineSurE, a fine-grained evaluator specifically tailored for the summarization task using large language models (LLMs). It also employs completeness and conciseness criteria, in addition to faithfulness, enabling multi-dimensional assessment. We compare various open-source and proprietary LLMs as backbones for FineSurE. In addition, we conduct extensive benchmarking of FineSurE against SOTA methods including NLI-, QA-, and LLM-based methods, showing improved performance especially on the completeness and conciseness dimensions. The code is available at https://github.com/DISL-Lab/FineSurE-ACL24.
FineSurE: Fine-grained Summarization Evaluation using LLMs: Automated evaluation is crucial for streamlining text summarization benchmarking and model development, given the costly and time-consuming nature of human evaluation. Traditional methods like ROUGE do not correlate well with human judgment, while recently proposed LLM-based metrics provide only summary-level assessment using Likert-scale scores. This limits deeper model analysis, e.g., we can only assign one hallucination score at the summary level, while at the sentence level, we can count sentences containing hallucinations. To remedy those limitations, we propose FineSurE, a fine-grained evaluator specifically tailored for the summarization task using large language models (LLMs). It also employs completeness and conciseness criteria, in addition to faithfulness, enabling multi-dimensional assessment. We compare various open-source and proprietary LLMs as backbones for FineSurE. In addition, we conduct extensive benchmarking of FineSurE against SOTA methods including NLI-, QA-, and LLM-based methods, showing improved performance especially on the completeness and conciseness dimensions. The code is available at https://github.com/DISL-Lab/FineSurE-ACL24.
[ 0.0246960782, 0.009046522, 0.0106936926, 0.0191384181, -0.0448191129, 0.0213615317, -0.0343880169, -0.0127755683, 0.0072009498, -0.0486428402, -0.0268208813, -0.012434056, 0.0360886119, -0.0173493456, -0.00198364, -0.0663430616, 0.0221433751, -0.0352117307, -0.0033807762, 0.0029885452, 0.0263608806, -0.0124593703, 0.0277456678, 0.0441492908, 0.0468080938, -0.0016142088, 0.02277904, 0.0077466969, 0.0406418554, -0.0023046718, -0.0081513999, 0.0342668705, 0.0017920256, 0.021479506, 0.0000023091, -0.0694351494, -0.0176259708, 0.0020317959, 0.0446356982, 0.0675342306, 0.0687197521, -0.0059118117, 0.0250755325, 0.0068152132, -0.0026297362, 0.0352626853, -0.0146953622, 0.0783783719, 0.0881176069, 0.0402718559, -0.0148048038, -0.0620467253, 0.0396203026, -0.0025620901, -0.0072850469, -0.0087977126, 0.0256578568, 0.0491325036, 0.0202988554, -0.022372948, 0.0086310199, 0.0385760218, 0.0077979625, 0.0229113828, 0.0011690854, -0.0085018342, -0.0784551799, -0.0204787273, 0.0253382176, 0.06265039, -0.0023641826, -0.0248136763, 0.0245236307, 0.0152666904, 0.0039461539, -0.0093223024, -0.0744102001, 0.027689103, -0.0007433239, 0.0364529714, 0.0198777243, 0.050980363, 0.0044360822, 0.02851413, -0.0141616883, 0.0514031164, 0.0137314862, -0.0360378399, 0.0059507797, -0.0052725039, -0.0391571522, -0.0414669327, 0.0140005853, 0.0020364949, -0.0227865335, -0.0405911021, -0.0393101349, -0.0252983049, 0.0556405708, -0.0596298017, 0.0055670943, 0.0006853099, 0.0026168888, 0.040625751, -0.012317406, 0.0464279167, 0.0570311435, 0.0563773215, -0.0674648657, 0.009731953, -0.0016059938, 0.0219605453, -0.0522470362, 0.0341924727, -0.0377987921, -0.0445962511, -0.0509512872, -0.0187578388, -0.0191727579, 0.0042634308, -0.0026277343, 0.0013767085, 0.0565005876, 0.0121382596, 0.0063648885, -0.0100724706, -0.0524678081, -0.0430173092, 0.0158643201, 0.014850419, -0.0137505019, 0.0334082507, -0.00880362, 0.000212627, 0.0158462152, 0.0124850711, 0.0006063696, -0.0525766797, -0.0352930613, -0.0207760613, -0.01852745, -0.0733694658, -0.0420295149, -0.0730142072, -0.0242555682, 0.0046152468, 0.0049261362, -0.011230235, 0.0186180063, 0.0054251296, -0.0460667461, 0.0227440801, -0.0257478561, 0.0232516546, 0.0090971645, 0.0439533591, 0.0341572687, 0.0482915565, 0.0409509353, 0.0911482349, 0.0498795621, -0.0002787128, 0.0291471966, 0.0425440036, -0.0246212799, 0.0230586119, -0.0217631869, -0.0123778181, -0.0178443585, -0.0054688067, 0.0180346165, 0.0801562145, -0.027297128, 0.0278585833, 0.0682509243, 0.0741832927, 0.0108330846, -0.012001683, 0.0402828343, 0.0318883546, 0.0528336428, 0.0639878958, -0.0176141337, 0.0153556895, -0.0685990304, 0.04794994, 0.1167799309, 0.0314728916, -0.0069349073, -0.0637455955, -0.0263105799, 0.010952401, 0.0136019075, 0.0144554563, 0.0003672132, -0.0007479768, -0.0552253611, 0.0285297669, 0.031196624, -0.0727031156, 0.0170072168, -0.0299826916, 0.0098337214, 0.0954955667, 0.0756457672, -0.0446942523, 0.0191358645, -0.0019571017, 0.0017992234, 0.0419602022, 0.0254346821, 0.0063062008, -0.0037657409, -0.0596398786, 0.006754111, -0.0088263378, 0.0303050708, -0.0299744532, -0.0265318323, -0.0268466547, 0.0148548428, -0.0487953126, -0.0847292021, 0.0386227518, 0.0014181641, -0.0230783112, -0.0498817191, -0.0242326744, 0.0208509732, 0.0146769965, -0.0260183979, 0.0303743444, 0.0221588518, -0.0543869659, -0.0118401749, -0.0189978126, -0.0215290356, -0.0037412115, 0.0144502297, -0.0347517394, 0.0246011391, 0.0227191541, -0.0019045189, -0.0288160797, 0.0009200903, -0.0463605672, -0.0158210043, -0.0539879911, 0.0545126908, -0.0178271029, 0.0431835912, -0.0451889075, 0.081006974, -0.0189513825, 0.0358776934, 0.0350854769, -0.0321049616, 0.0041563893, 0.0104097649, -0.0592646971, -0.0391800553, -0.0056543094, 0.0393407717, 0.0281633399, 0.0070747384, -0.0315057077, -0.0496193841, -0.1026429087, 0.0204412453, -0.0247747824, 0.0043642572, 0.042847801, 0.0153589463, -0.0121941781, 0.0489450879, -0.0210139956, -0.0334076174, 0.0311695468, 0.0085843904, -0.0035035722, -0.0168151781, -0.003805523, -0.0646143258, -0.0082869427, 0.0063414001, 0.0779773891, -0.0094395112, -0.0249717701, -0.0300752576, 0.0503944196, -0.034017913, -0.051536493, 0.0193908848, -0.034644831, -0.0245733224, 0.0010370912, 0.0641660914, 0.0394344889, 0.0419186316, 0.0081733605, 0.0514991656, -0.0353750065, -0.0019951335, -0.0272442158, 0.0004604149, 0.0187770277, -0.0081469184, -0.0725942776, 0.0492037423, 0.0340175107, 0.0315455608, 0.0193387792, -0.0503517315, 0.0448215082, -0.0419334061, -0.0290936418, -0.0217348989, -0.0008382453, 0.0012680988, 0.0350772664, -0.0277782809, -0.0058274148, 0.0460528657, -0.0552621186, 0.0154201696, -0.0303603336, -0.0198860914, -0.0499919504, 0.0583394766, 0.0413906612, 0.0364755839, -0.0157874357, 0.0088996803, -0.0115985088, -0.0309035387, 0.0287073441, -0.049918782, 0.0837994218, -0.0422678515, 0.0079799835, -0.0126545466, 0.0296692532, -0.0021113469, -0.0421143249, -0.0293874778, 0.0139850145, 0.0221683588, 0.0127520934, -0.0382810757, 0.0523291342, 0.0304077435, 0.0270287246, -0.0567645989, -0.0180377048, -0.0063295271, 0.0422169268, 0.0653474703, -0.0114473188, 0.05015653, -0.0468738079, 0.0481261201, 0.0469915532, -0.0101054115, 0.0160286743, 0.0043306639, -0.0018150973, 0.0249044299, -0.0661814585, 0.0085107069, 0.0040851231, 0.082625024, -0.0412560366, -0.0156254843, 0.1333948374, 0.0354936123, -0.028394714, 0.0000906172, -0.0291398596, 0.0457371771, 0.0047260579, -0.0171487126, -0.0536230244, -0.0190349855, 0.009868565, 0.0360410474, 0.0016383928, -0.0224009585, 0.0055733039, -0.0661697984, 0.0374585912, 0.0280347876, -0.0445136875, -0.0242566429, -0.0257674493, 0.0264282711, -0.0084192278, 0.0193861388, 0.0185628105, -0.0340852961, -0.0140617676, -0.0252875928, -0.0889234841, 0.0063202083, 0.0350630544, -0.0440805592, 0.0225717574, 0.0721331909, 0.0304902326, 0.0019341339, -0.0269827656, 0.0275662839, -0.0519700497, -0.0272782221, 0.0093749966, 0.0729685128, 0.0322706737, 0.0223460943, -0.0383465178, 0.0432385355, 0.0112862485, -0.0359458067, 0.0113271605, 0.019884469, -0.0077711549, -0.0504235402, -0.0288693514, 0.0679052696, -0.0530835427, 0.0937870219, 0.0605651215, -0.01551886, -0.0583440214, -0.0321898088, -0.0030438867, -0.0528033748, -0.0792497844, 0.0075960429, -0.0030937656, -0.0278306529, -0.0854453668, -0.0322051235, 0.0132956924, -0.0509401038, -0.0121996785, 0.026040744, -0.0290780533, 0.0112566091, -0.021239968, 0.0137373637, -0.0255805571, 0.0028874481, -0.0298543759, 0.014350662, 0.0531525128, -0.0152232843, -0.0245915502, 0.0402864777, -0.0954162776, -0.0357050747, -0.0019728614, 0.0338485911, 0.016915489, 0.0038401266, -0.0083727222, -0.0345868245, 0.0537292212, 0.0442452915, 0.0032109166, 0.0400988422, 0.003265426, 0.0324288607, -0.0101444265, 0.0233654045, -0.0388391539, 0.0189026389, -0.0157279912, 0.055973433, 0.0006013524, -0.0508342944, 0.0121582365, 0.0383550599, -0.011478601, -0.0147160245, -0.0098678237, -0.0063598556, -0.0505856723, -0.0320684351, -0.0389142595, -0.02491761, 0.0136256088, 0.0103423446, 0.00564849, -0.0072116083, 0.0277901627, -0.0153230987, -0.0089108506, -0.0588077493, -0.0088548809, -0.0559601635, -0.0402399264, -0.0273193773, -0.0274306312, -0.0566212945, -0.0311465822, -0.0429991111, -0.005807275, -0.0072335675, 0.0285164993, -0.0123975109, -0.0021521475, -0.0131243365, 0.0757187605, -0.0518247001, -0.0195220243, -0.0656987503, 0.0281637739, 0.0538601242, -0.0176319145, 0.0986605808, 0.0028064766, 0.0025582183, -0.0243694186, 0.0363268815, 0.0474638231, 0.0016486102, -0.0648513138, 0.0236026067, -0.003315992, -0.0046231719, 0.0894360393, -0.0616800562, 0.0008846056, 0.0341535322, -0.0420877486, -0.0488622189, -0.0745456517, -0.0586197488, 0.023185188, -0.0176628176, -0.0444518887, -0.0845422447, -0.0106469328, 0.0324430987, 0.0291144494, -0.0155029213, -0.0186597444, 0.0141594289, 0.019819675, -0.0033938636, -0.0023297151, -0.0291182287, -0.0347125493, 0.011998632, -0.0024966884, 0.0162574053, -6.785632241e-33, -0.0302657541, -0.0013709711, -0.0100512467, 0.0066309744, -0.0665312409, -0.0255379472, -0.0440243334, 0.0118064312, 0.0360930711, -0.0089679314, 0.0039877305, -0.0156977996, 0.0109617729, 0.027668165, 0.0085934298, 0.006546976, 0.0403264053, 0.0248093884, -0.0601202101, 0.0309308488, -0.0193843637, -0.0062379902, 0.0137373554, -0.025902817, 0.0330737084, -0.0236157477, -0.042590525, -0.0288322195, 0.0163054168, 0.0024215346, -0.0312942415, 0.0203317311, 0.0307709295, -0.0135201234, -0.0301981606, -0.0053704442, -0.0611246377, -0.0166050848, 0.0410473235, -0.0295230597, -0.0398563184, -0.0382384434, 0.0607222952, -0.0095526418, 0.002277337, -0.0252496582, 0.0437389985, -0.0639279261, -0.0133182872, -0.0501905791, -0.0528207943, 0.0238333885, -0.024431061, -0.0401045084, 0.0134447254, 0.0403526574, -0.0240666904, 0.0321826823, -0.0367629305, 0.0294269919, 0.0215966888, 0.0203135516, 0.0274770167, -0.0044295946, 0.0172731914, 0.0767148733, 0.0266038887, -0.0036039292, -0.0386981964, -0.0045377435, 0.0279046204, 0.0135228196, 0.0359235406, 0.0156206135, 0.0279981904, 0.0286178701, -0.0285370499, 0.0663504153, -0.0563710816, 0.031257797, 0.0740123242, -0.003455352, -0.0235986542, -0.0257581994, -0.0395484567, 0.0035480824, -0.0341405347, 0.0008443528, -0.0040463968, -0.0071817422, -0.0473370887, -0.0558368154, 0.0157733671, -0.032741107, 0.0490086377, 0.015649952, -0.0293641835, 0.0458513536, -0.0070014894, -0.0042970162, 0.0072946805, 0.0325190388, 0.0051756017, 0.0011832009, 0.0205449294, -0.0026401249, 0.0134438919, -0.0193495546, -0.0544581637, 0.0186543576, 0.0065195165, 0.0098943235, -0.0331251547, 0.0102833929, -0.0050098374, 0.0041253255, -0.0009411875, 0.0096972622, -0.0024813688, 0.0025909708, -0.0047744256, 0.0163348448, 0.0166509319, 0.0016760965, -0.0281656832, 0.0535124466, -0.0360763334, -0.0040168813, 0.0219210703, -0.0261286478, -0.0101053817, -0.0052951332, 2.919e-7, 0.0438714623, 0.0511629209, 0.0070963153, 0.0231059287, -0.0241582245, 0.021695016, -0.003472954, -0.0028314181, 0.0332483575, 0.0106125558, 0.0317929089, 0.0450812392, 0.0756118745, 0.0397759937, -0.0760373175, 0.0049874079, -0.063193731, -0.0447470173, -0.048446361, -0.040429797, 0.0538539067, 0.0506242327, 0.006132049, 0.0001752122, -0.0121536804, -0.0609791204, 0.0382720716, -0.0385369994, -0.0477562584, 0.0568100438, 0.0342370458, 0.0322035737, 0.0053160978, 0.0037105093, 0.0129472613, -0.0291758683, 0.0592018217, 0.0432924181, 0.0151634617, -0.0132611161, 0.005195058, -0.0276213177, 0.0414701477, -0.0275634695, 0.0636350736, -0.0251558721, -0.0178739447, -0.0371734649, -0.0352713726, -0.0040584593, 0.033146657, -0.0225292183, -0.0442554504, 0.0577461384, 0.0031162121, 0.0049544894, -0.0127964737, -0.0399996154, -0.0434844792, 0.0317989588, 0.0054890839, -0.0544220582, -0.0127924886, 0.0068915007, -0.0324472822, -0.0965041444, 0.0131965773, 2.935700484e-34, 0.1030244455, -0.0104102464, -0.012529253, -0.0100106662, 0.0353450701, -0.0125481915, 0.0060045901, -0.008621891, -0.0259282812, -0.0872904733, 0.0152315507 ]
http://arxiv.org/abs/2407.00902v1
http://arxiv.org/pdf/2407.00902v1
From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning
2024-07-01T01:57:21
2024-07-01T01:57:21
Nan Xu, Fei Wang, Sheng Zhang, Hoifung Poon, Muhao Chen
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Motivated by in-context learning (ICL) capabilities of Large Language models (LLMs), multimodal LLMs with additional visual modality are also exhibited with similar ICL abilities when multiple image-text pairs are provided as demonstrations. However, relatively less work has been done to investigate the principles behind how and why multimodal ICL works. We conduct a systematic and principled evaluation of multimodal ICL for models of different scales on a broad spectrum of new yet critical tasks. Through perturbations over different modality information, we show that modalities matter differently across tasks in multimodal ICL. Considering such modality impact, we further utilize modality-driven demonstration strategies to boost ICL performance. We also identify that demonstration selection is closely related to the models' ability to capture task inductive biases from multimodal ICL. Our principled analysis provides a comprehensive way of understanding the role of demonstrations in multimodal in-context learning, and sheds light on effectively improving multimodal ICL on a wide range of tasks even if those tasks are not seen in or even contradict pretraining data.
From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning: Motivated by in-context learning (ICL) capabilities of Large Language models (LLMs), multimodal LLMs with additional visual modality are also exhibited with similar ICL abilities when multiple image-text pairs are provided as demonstrations. However, relatively less work has been done to investigate the principles behind how and why multimodal ICL works. We conduct a systematic and principled evaluation of multimodal ICL for models of different scales on a broad spectrum of new yet critical tasks. Through perturbations over different modality information, we show that modalities matter differently across tasks in multimodal ICL. Considering such modality impact, we further utilize modality-driven demonstration strategies to boost ICL performance. We also identify that demonstration selection is closely related to the models' ability to capture task inductive biases from multimodal ICL. Our principled analysis provides a comprehensive way of understanding the role of demonstrations in multimodal in-context learning, and sheds light on effectively improving multimodal ICL on a wide range of tasks even if those tasks are not seen in or even contradict pretraining data.
[ -0.0219982173, 0.0406185314, -0.0120412102, 0.0481885411, -0.0412771143, 0.0185864512, 0.0517907515, -0.0154835135, -0.0380197354, -0.0667468756, -0.0880353153, -0.0455171764, 0.018086018, -0.0188462306, 0.0670904443, -0.0734582767, 0.0226619355, -0.0570694543, -0.0496991165, -0.0017606987, 0.0198234636, -0.0075376797, -0.0585343055, 0.0354087465, -0.0562560707, -0.0101693319, -0.020693386, 0.0313092358, -0.0083496273, -0.0523532294, -0.0080603929, 0.0506504364, 0.0740221888, -0.018873373, 0.000001982, -0.0218058527, 0.0323816389, -0.0100449976, 0.0258320682, 0.0001268903, 0.0867839009, -0.0095044123, 0.0135259777, 0.0050285705, -0.0114713488, -0.0388358571, 0.0542621873, 0.043523781, 0.0274556782, 0.0586595684, -0.011429376, 0.0025457959, -0.0045767808, -0.0133378534, 0.025452204, -0.0176352318, 0.0116975373, 0.0035744843, 0.0231834333, 0.001536896, -0.0595081039, 0.0407643169, 0.0392461531, 0.0173841175, -0.0291336961, 0.0482596792, 0.0258226786, -0.0218969174, -0.0383380949, 0.0638325587, -0.0108401431, -0.0004688422, -0.0179549363, -0.009193236, 0.0264867675, 0.0274171792, -0.064234376, 0.0435183644, 0.0021061848, 0.0229770485, -0.0328310765, 0.004701992, 0.0362840295, 0.0229539052, 0.0078765796, -0.0125927962, -0.006859682, -0.0156905763, 0.0081889108, 0.002947035, -0.0443407744, -0.0284552947, -0.0298603401, -0.0015007728, -0.0414682329, 0.0205245875, -0.0372237712, -0.0383705832, -0.000935448, 0.0079697389, 0.0598711707, 0.0163065661, -0.0604318641, 0.0407821834, -0.0025638174, 0.0340992436, -0.0176981166, 0.0725518242, -0.0106682489, 0.0021870011, -0.0474722199, -0.0007267109, -0.0171384998, -0.0288444553, -0.0308354869, -0.0442513861, 0.0054032914, 0.0287826229, -0.0219224561, -0.0045490549, -0.0164860394, -0.0062819095, -0.0570033416, -0.0058492534, 0.0001735834, 0.0420971066, 0.0010590905, 0.0567774139, -0.011843157, -0.0464839973, -0.0125522669, 0.0380507633, 0.0033084319, -0.0228753518, -0.0047250851, 0.0770163164, -0.05399644, -0.0768218189, -0.0078820661, 0.0100551657, -0.0241072252, -0.0621333905, 0.0529375561, -0.0427733585, 0.0186666399, -0.0014309298, 0.0279344656, -0.0150724398, -0.0066820886, -0.0002615218, 0.011144246, 0.0735120326, 0.0260900389, 0.017021941, 0.0255262312, 0.0118643977, -0.0398015864, 0.0770078078, 0.0210656766, -0.0025456755, 0.0082171028, 0.0174728632, 0.0253460333, 0.0549186356, 0.0127629125, 0.0440984108, -0.0437783189, -0.0220889542, 0.0277849454, 0.035921257, 0.0352712385, 0.0295607746, -0.0567476116, 0.0190109052, 0.1006713361, 0.0098945657, 0.0136582311, -0.0357854776, 0.0154543351, -0.0032609114, 0.0214576554, 0.0037649965, -0.0777961314, 0.0244703479, 0.0084410477, 0.010944129, 0.021804316, 0.0245784726, -0.0258787498, -0.0005664118, -0.0209320132, -0.0093303313, 0.0359793082, 0.0173343569, 0.0500220954, 0.0380977094, -0.0545665883, -0.0038029833, 0.013288619, -0.0306499135, 0.0027217069, -0.0212054905, -0.0071986914, 0.0072817919, 0.0042478531, -0.0157894455, -0.0031856792, -0.0172530729, 0.0887051001, 0.0595169887, -0.0094831958, -0.0140518714, 0.0228122622, -0.0431400463, -0.0328545645, -0.0414002165, 0.0194272939, -0.0112754554, 0.0157095455, 0.0012208277, -0.0267498288, -0.056148015, 0.0184071846, 0.0303838309, 0.0053739902, -0.0047546825, -0.0405446738, 0.0045344839, 0.0048155668, -0.0282005444, -0.0231552105, -0.001595877, 0.0167120583, -0.0199003797, 0.0529964715, 0.0531501621, -0.0798573941, -0.073886402, 0.0041103759, -0.0456241481, -0.0061493991, -0.0112296231, -0.0167730711, 0.0074230079, -0.0151589802, -0.0209747069, 0.0339859799, -0.031943094, -0.0103619089, 0.0047853184, 0.004270365, -0.0154962782, 0.0351466909, -0.0430522263, -0.0123121319, 0.0536843836, 0.0364399888, -0.0238656122, 0.0004403431, -0.0121799912, 0.0105967745, 0.0037969791, 0.041026324, -0.0265256781, 0.0247640982, -0.0412028767, -0.008495261, -0.1252008229, -0.0251480844, -0.0426919274, -0.0197237879, 0.0079071056, -0.0220756866, -0.0252941493, -0.0404631682, 0.0207778644, 0.0090548759, -0.0080648987, 0.0285017639, 0.0005926869, 0.0300604999, 0.0189292599, 0.008228993, 0.0008388509, 0.0142138852, 0.0956045687, -0.0099639222, 0.0157758743, -0.0333143398, 0.0019190785, 0.0206671841, 0.022231007, -0.0385141447, 0.0193452649, 0.0600965619, -0.0073644081, 0.0471454412, 0.0461111553, 0.0077585042, 0.0565150641, 0.0240516271, -0.0000666323, -0.0501472019, -0.0009440161, 0.0228734482, -0.0123290746, -0.052708555, 0.0081137614, -0.0103835091, 0.0373627469, 0.0023490102, 0.0169899371, -0.0314151905, 0.0136782769, -0.0087983832, -0.0638246611, -0.0426750258, -0.0074668978, -0.0375066809, -0.0161496308, -0.0332855694, -0.0679731816, 0.0209038258, -0.0322499797, -0.032979548, -0.0198036321, 0.017651977, 0.0162427407, 0.0743281394, -0.000196724, 0.0161150433, -0.0102459881, -0.0163490511, -0.0510095283, -0.0084263682, 0.021167079, 0.0188973583, 0.0596675426, -0.0679797456, -0.001642645, -0.0011847322, -0.0503719635, -0.0238340013, -0.0289844312, 0.0014978809, -0.0139426477, -0.062701039, 0.0186456311, -0.0088337585, -0.0187013485, 0.0776730403, 0.0110892188, 0.004780103, -0.0093244566, -0.0185481906, 0.0145612797, -0.0010067752, 0.0488690175, -0.0415358096, -0.0908888057, -0.0470204651, 0.0159674976, 0.0607923567, -0.0162659213, -0.0542052537, 0.0440812148, 0.0155502222, 0.0439972952, -0.0059271026, 0.0560961924, 0.0677953288, -0.0368929356, 0.0114501417, 0.0350553878, -0.0234504975, -0.0746724159, 0.0003912056, 0.0464311838, 0.0009534064, 0.0282490123, 0.0068521192, -0.0730178952, -0.0517169125, 0.0001931674, -0.0142679727, 0.0367388092, 0.0222937576, -0.0087933224, -0.0970306098, 0.0446045697, 0.0144097609, -0.0757121071, -0.0222032256, -0.0208521374, -0.0058810292, 0.0041843224, 0.047984723, 0.022620922, -0.03393884, -0.0055292845, 0.0505766347, 0.0621956028, -0.1183127314, -0.0123890815, -0.0403967686, -0.004690385, 0.0117776413, -0.0150747215, -0.0148245916, -0.0598555617, 0.0597919561, 0.0338786803, 0.0315601639, -0.032434918, 0.0277974382, -0.0144821117, -0.0198052097, 0.0021878995, 0.0351011567, 0.0198699888, -0.0571881793, -0.0354747549, 0.0458193645, -0.0033298207, -0.0069862003, -0.0113262888, -0.0318118036, 0.0535799712, 0.0238712784, 0.0215626955, -0.0523298383, 0.0042457539, 0.0006492524, -0.0026578919, -0.0095848897, 0.0041379598, 0.0026059262, 0.0080481675, 0.0120376246, -0.0470322706, -0.0107524171, 0.0116730938, 0.0648590326, -0.0078860754, 0.0025091423, -0.0554280132, 0.0114650363, -0.043891646, 0.0853551179, -0.0218937229, 0.0381041542, -0.0441489704, -0.0097784447, 0.0364804454, -0.0674652904, -0.0194638278, 0.0189760383, -0.087640211, -0.0457982123, -0.0248612408, 0.0412952341, 0.0015847111, 0.0776773542, 0.0460814536, -0.056279473, 0.0775316134, 0.0317893103, -0.0065809721, 0.039397642, 0.0308923852, -0.0119524207, -0.0124173323, 0.0024981268, -0.0212953445, -0.0150649957, 0.0249771439, 0.0330799632, 0.0024458258, 0.0109993173, 0.0078114602, -0.051786527, 0.0518754646, -0.0407391824, -0.024641972, -0.0401415937, 0.0032340304, 0.0367128216, -0.0125908321, -0.0444160253, 0.000337308, 0.0035439851, 0.0302581452, 0.0040880367, 0.0215470698, 0.0481468141, 0.0315422751, -0.0124174515, 0.035005603, 0.0361636132, -0.03762215, -0.0065925317, 0.0577210002, 0.0013986784, 0.0194154065, -0.0369386375, 0.0204697866, -0.0013179927, 0.098706156, 0.0332861692, -0.0455962904, -0.0250152871, 0.0522530824, 0.0030062997, 0.0362129323, -0.042123653, 0.0541978218, 0.0640466809, 0.0019541034, 0.0316902585, -0.0432281196, 0.0018731499, -0.0210921746, 0.0396801047, -0.0309428629, -0.0301007126, 0.0491767041, 0.0144701041, 0.0234578978, 0.0225456767, 0.0623790435, -0.0111409565, 0.0451188982, -0.0151010286, 0.0385160111, -0.0337336734, -0.0171091519, 0.0882737488, 0.0500821322, -0.0084076105, 0.0164413489, -0.0073775379, -0.0388099775, -0.0148693649, 0.0250945371, -0.0343031138, -0.0216359571, 0.0441351384, 0.0626863837, -0.0193862002, -0.0250831079, -0.0233481675, -0.0412209481, 0.0660145134, -0.0014945559, -0.0130768055, -5.971168572e-33, -0.0248293988, -0.0252281185, 0.0401680805, -0.0370245725, -0.0124510648, 0.0141988127, -0.0242388397, 0.0356009342, 0.0012921535, 0.0142134046, 0.0187386163, -0.0420988575, 0.0076567917, 0.0365181267, 0.0113704037, 0.0052607236, 0.019361956, -0.0021573631, -0.019769378, -0.0006060638, -0.0082149208, 0.0166720655, 0.0804854259, -0.0552163199, 0.0223820172, 0.0097361272, -0.0552141741, 0.0028702123, -0.0476444103, 0.0611545183, -0.0361972302, 0.0254988428, 0.0158368498, -0.0276171248, -0.0544613898, 0.0179222543, -0.0331067778, 0.0056505948, 0.013003407, 0.0436413102, -0.0807173029, 0.0028492499, 0.0709541291, -0.0305095613, -0.0329819284, -0.0040155076, 0.0285729151, 0.0021053911, -0.0140331322, 0.0293851532, -0.0411785692, 0.0063874102, 0.018136654, -0.0420509949, 0.0209512692, 0.001675167, 0.0006889697, -0.0165642872, -0.0350750871, 0.0467874557, -0.0089774625, 0.0067697293, 0.0793098882, 0.0582042485, 0.0198564976, 0.0593002625, 0.0034675635, -0.0021249028, 0.0325426832, -0.0565993823, 0.0783073679, 0.0481428541, 0.0039810301, 0.1013281196, 0.0190642849, 0.0442883298, -0.0148619171, 0.0144885965, 0.004766651, 0.0120324902, 0.0357161164, 0.0406444743, -0.0183525495, -0.0176451318, -0.0473236665, 0.0266840775, -0.020342363, -0.0224743672, 0.061465539, 0.048826009, -0.0059136581, 0.021743916, 0.0830521286, -0.0356658548, -0.0674306899, 0.0064908648, -0.0275091734, 0.0851602405, -0.0064033368, -0.0334559269, -0.0337015167, -0.0499510244, 0.04290618, 0.0036724065, 0.0153268436, -0.005587602, 0.0341228396, 0.0544435419, -0.0390697643, 0.0014149551, -0.0211504139, -0.0064079175, 0.0460480712, 0.0036718249, 0.0571173392, 0.0023387033, -0.0721061379, 0.0207068175, -0.0085828714, -0.0623900332, -0.0131496489, -0.0499946065, -0.0614790581, 0.014914602, -0.019809356, 0.017467333, -0.0428652093, -0.0425622761, 0.0188295711, -0.0430402756, -0.0189079288, 0.0432935655, 2.657e-7, 0.0274997521, 0.0316827297, -0.0128585491, 0.004320574, 0.0389284752, 0.0305063594, -0.0640552491, 0.0233270954, -0.0021839037, -0.0422213376, 0.000475447, 0.050892584, 0.0530038364, 0.0086319614, -0.0301912818, -0.0331602916, -0.0131985527, 0.0405145735, -0.0454268157, 0.0130852405, -0.0239557419, 0.0455180556, -0.0161212943, -0.0154098934, 0.0370538197, -0.0465001091, 0.0934450924, -0.0522448495, 0.0056881914, -0.0311647151, -0.034461081, 0.0129640196, 0.0047061895, 0.030876331, 0.003792054, -0.0121286139, 0.0294681862, 0.0227468386, -0.0025626118, -0.0277274922, -0.0024933452, 0.040832404, -0.0454076268, -0.0509772599, 0.0605372414, -0.0747555271, 0.0156925973, -0.0300982874, 0.0340985619, -0.0388336889, 0.0197352096, -0.0280043073, -0.0456827469, 0.0046604411, 0.0152784754, -0.0007195779, -0.0630576909, -0.0600485057, -0.0613131039, 0.0358539745, -0.0822734609, -0.0284755547, -0.0520636812, -0.0159850288, 0.0028442007, -0.0556060337, -0.0467363931, 1.917208786e-34, 0.0046785376, -0.0126556205, 0.0249898061, 0.0190412048, -0.0039470824, -0.0112852976, -0.0265124068, -0.0077750348, -0.0016187495, -0.0338727869, -0.0028747811 ]
http://arxiv.org/abs/2407.00900v1
http://arxiv.org/pdf/2407.00900v1
MathCAMPS: Fine-grained Synthesis of Mathematical Problems From Human Curricula
2024-07-01T01:56:28
2024-07-01T01:56:28
Shubhra Mishra, Gabriel Poesia, Belinda Mo, Noah D. Goodman
cs.AI
cs.AI, cs.CL
Mathematical problem solving is an important skill for Large Language Models (LLMs), both as an important capability and a proxy for a range of reasoning abilities. Existing benchmarks probe a diverse set of skills, but they yield aggregate accuracy metrics, obscuring specific abilities or weaknesses. Furthermore, they are difficult to extend with new problems, risking data contamination over time. To address these challenges, we propose MathCAMPS: a method to synthesize high-quality mathematical problems at scale, grounded on 44 fine-grained "standards" from the Mathematics Common Core (CC) Standard for K-8 grades. We encode each standard in a formal grammar, allowing us to sample diverse symbolic problems and their answers. We then use LLMs to realize the symbolic problems into word problems. We propose a cycle-consistency method for validating problem faithfulness. Finally, we derive follow-up questions from symbolic structures and convert them into follow-up word problems - a novel task of mathematical dialogue that probes for robustness in understanding. Experiments on 23 LLMs show surprising failures even in the strongest models (in particular when asked simple follow-up questions). Moreover, we evaluate training checkpoints of Pythia 12B on MathCAMPS, allowing us to analyze when particular mathematical skills develop during its training. Our framework enables the community to reproduce and extend our pipeline for a fraction of the typical cost of building new high-quality datasets.
MathCAMPS: Fine-grained Synthesis of Mathematical Problems From Human Curricula: Mathematical problem solving is an important skill for Large Language Models (LLMs), both as an important capability and a proxy for a range of reasoning abilities. Existing benchmarks probe a diverse set of skills, but they yield aggregate accuracy metrics, obscuring specific abilities or weaknesses. Furthermore, they are difficult to extend with new problems, risking data contamination over time. To address these challenges, we propose MathCAMPS: a method to synthesize high-quality mathematical problems at scale, grounded on 44 fine-grained "standards" from the Mathematics Common Core (CC) Standard for K-8 grades. We encode each standard in a formal grammar, allowing us to sample diverse symbolic problems and their answers. We then use LLMs to realize the symbolic problems into word problems. We propose a cycle-consistency method for validating problem faithfulness. Finally, we derive follow-up questions from symbolic structures and convert them into follow-up word problems - a novel task of mathematical dialogue that probes for robustness in understanding. Experiments on 23 LLMs show surprising failures even in the strongest models (in particular when asked simple follow-up questions). Moreover, we evaluate training checkpoints of Pythia 12B on MathCAMPS, allowing us to analyze when particular mathematical skills develop during its training. Our framework enables the community to reproduce and extend our pipeline for a fraction of the typical cost of building new high-quality datasets.
[ -0.0171654727, 0.1111095846, -0.02412818, 0.0242994893, -0.0377373807, 0.0120170703, 0.0188209843, -0.0004705769, -0.0250622202, -0.0128799425, 0.0166203883, -0.0044847634, -0.0025495135, 0.0087493276, 0.0429445095, -0.0430372693, 0.0314084664, -0.0509595983, 0.0095759239, -0.0090964185, -0.0358061045, -0.0082654795, -0.0287310332, -0.0030011423, -0.0566060655, -0.0619233735, 0.0155552728, -0.066729933, 0.0013517984, -0.025509119, -0.0054873349, 0.0508527607, 0.0185969453, 0.0396713875, 0.0000023713, -0.0480727702, 0.0207446497, -0.0058004591, -0.0383682847, 0.0130061181, 0.0025854732, -0.0058978153, 0.0163714644, -0.0031510105, -0.0563772358, 0.0272150207, -0.0077597899, -0.0191988442, 0.0957163498, 0.0460379273, 0.0118546048, -0.0150360884, 0.0456117988, -0.0145579753, 0.0444297567, -0.0459874682, 0.0169531256, 0.0369798467, 0.0374087207, -0.003703051, -0.0433742143, 0.0251268502, 0.0822650865, -0.0070762704, -0.0107820788, 0.0019688427, -0.0533394068, 0.0018002463, -0.0023013777, 0.0554864891, -0.0117998403, -0.0315865278, 0.0114840148, 0.0017204984, 0.004515125, 0.0046812114, -0.0693070292, 0.0354409926, -0.0019329677, -0.0156262647, 0.0046587829, -0.0150173865, 0.0078828325, 0.0160029363, -0.0166759286, 0.0453902408, 0.0160766337, -0.0295805093, -0.0380562916, 0.0165158659, -0.0585717559, -0.0493593588, 0.0540388711, 0.048638247, 0.0030527469, -0.0011031571, -0.0718192309, -0.0220371764, -0.0220362283, -0.0182794537, 0.0329452418, 0.0723398849, 0.0391962044, 0.0338222496, 0.0078283027, 0.0486613177, 0.003512626, 0.0527181849, -0.031102078, 0.039893683, -0.0294769164, -0.0016602953, -0.0474286564, 0.023880763, 0.0262532514, 0.0068607042, -0.0160558112, 0.0142111965, -0.0443728194, 0.0428215489, -0.0044907709, -0.0148611683, -0.0110244239, -0.0416710339, -0.0041755452, 0.0203959383, -0.0773669928, -0.0023291477, 0.0269123036, -0.017488867, -0.0373440646, 0.0101889418, -0.0184082389, -0.0227241721, 0.0411763452, 0.0546342507, 0.0073654712, 0.0177759323, 0.0157576166, -0.0402004533, 0.0161168724, -0.0919836387, -0.0032502823, -0.0817783847, 0.0558994338, 0.0264276266, -0.0149019379, -0.0436699763, 0.0065316851, 0.017347347, 0.0324832089, 0.0277551357, 0.0235422254, -0.0056311577, 0.0235121474, 0.0009324534, -0.0130975395, 0.0264626909, 0.0707483441, -0.0141882338, 0.0210971683, -0.0472415164, 0.0066906, 0.0219448432, 0.0282842889, -0.0021388712, -0.0030460269, 0.0221611559, 0.0231617615, 0.0603726692, -0.0101108123, 0.0546906628, -0.033824753, -0.0124218157, 0.0265772659, 0.0828282684, -0.0177995507, 0.0240526646, 0.035756018, -0.0064665112, 0.0706628561, -0.0131881842, -0.082650505, 0.0023699393, -0.0142271901, 0.0055059711, -0.003738882, 0.0236725137, -0.0177915096, -0.0646439046, -0.0019629912, 0.0207662825, -0.0080307685, 0.0179142877, 0.0563970655, -0.0075067892, 0.0146355573, 0.054314699, -0.0047324318, -0.0443793833, 0.0216364786, -0.0167629328, 0.0812801123, -0.0143706352, 0.0610314682, -0.0259881429, -0.0043380908, -0.0155270984, 0.0445356555, 0.021490749, 0.0515893735, -0.0221825317, 0.0080633769, -0.0198207963, 0.0095306495, -0.0199165288, 0.0161467902, -0.045816388, 0.0460046344, -0.0165020376, 0.009585307, -0.0462915078, -0.0001652792, 0.0387742147, -0.0495247617, -0.0346250981, -0.0340991057, -0.0174546801, -0.0079613077, -0.0049806391, 0.0101629179, 0.0356622674, 0.0160854161, -0.0375590138, 0.044482436, -0.0209840555, -0.1025479138, -0.0265654624, 0.0584013201, -0.0353120267, -0.0374079905, 0.037887454, -0.0442026258, -0.0112092253, 0.0941360071, -0.0469905362, 0.0007631159, 0.0144211408, 0.0451216139, -0.010458881, -0.0097715752, 0.0082628755, 0.0688273013, 0.0250693373, 0.0244767349, 0.0080168517, -0.0148119712, 0.0132549498, -0.0234441422, 0.0005707655, -0.015146208, -0.0149099641, 0.0398485176, -0.0092477687, 0.0157932546, -0.0570774823, -0.0017264585, -0.0047520949, 0.0133457389, -0.0013960704, 0.0615331605, 0.0325277522, -0.0637453124, -0.0055024158, -0.0016321451, -0.0218516458, -0.0071730083, -0.0061378302, -0.0219165571, 0.0421665683, 0.0121109188, -0.0326799639, -0.0297741722, -0.054903198, -0.0530991107, 0.0486938432, 0.0302007105, 0.0691161901, -0.0292144809, 0.0244637616, -0.022980392, 0.0020617216, 0.0074912575, 0.0365877487, 0.046877645, 0.0031884066, 0.0504878387, 0.083085224, -0.0178002268, 0.0263559874, -0.007466489, -0.0428582206, -0.0563559085, 0.0099161873, -0.0168166049, 0.0073091849, -0.0264765937, -0.0117881866, -0.0042698747, 0.0896497592, -0.014842961, -0.0241214689, -0.0352177955, 0.06870047, -0.023364123, 0.0092972033, -0.0515595004, 0.0049227956, -0.0087825879, 0.032922484, -0.0276324023, -0.0445792936, 0.0677694604, 0.0085469726, 0.0002236383, -0.0441319123, 0.0167921111, -0.0319862477, 0.0390049741, 0.0145505024, -0.0300606359, -0.0163937509, 0.0032567102, -0.0617720038, 0.0264914371, 0.0273779538, -0.0531768054, 0.0192428157, -0.0660380423, -0.0069000223, 0.0008703315, -0.0373897292, -0.0363862924, 0.0673185065, -0.0083593065, 0.0244079884, -0.0040458883, -0.0377772264, -0.006094411, -0.0412768461, 0.0345916077, 0.0065263659, -0.0375149697, -0.0328518935, -0.006532277, 0.0267368332, 0.0169557314, 0.0330169126, 0.0353018232, -0.0910181627, 0.0018607322, 0.0558494069, 0.0717904493, 0.0354880579, 0.0081302803, 0.0448296331, 0.0141511941, -0.0128274346, -0.0142575866, 0.0610145666, 0.0227631237, -0.107710965, -0.0514289625, 0.0616791882, 0.0352281183, 0.0002831815, 0.0191192143, -0.0471819453, 0.0339470617, 0.0257559158, 0.0133745559, -0.1062056273, -0.0216261037, 0.0222081188, 0.003252238, 0.0140904048, -0.0453992747, 0.0023253779, -0.1114230752, -0.0060368064, 0.0484158732, -0.0439781137, 0.0155264651, -0.0205371249, -0.0091958689, 0.0002424464, 0.0118450914, 0.0292974729, 0.0026899711, 0.0337255523, 0.0158494022, -0.0056186202, -0.0268880762, 0.0390720479, 0.0090308841, 0.0124844229, -0.0077128685, 0.0107963933, -0.0267277081, -0.0838726535, 0.0500313491, 0.0221330263, -0.0461861156, 0.0236560572, 0.0055327113, 0.0037783294, -0.0128835691, -0.0412884839, 0.0630991682, -0.0606398694, -0.0475783981, 0.0429707021, 0.1200392172, 0.0125130359, -0.0331216529, -0.0193598382, 0.0062640915, -0.047382541, 0.0581570677, 0.0508326553, -0.0509740822, -0.0320397876, -0.0485077947, -0.012515014, -0.05769445, -0.0441950038, 0.0252616778, 0.0490788259, 0.0170239229, -0.0393632315, -0.019728398, 0.0782712549, 0.0219079517, -0.0074303802, -0.0592203476, 0.0137765063, -0.0305331759, -0.0513974465, 0.0628236681, -0.0392315574, 0.0388088115, -0.0787343606, 0.0181416273, -0.0541408174, 0.0062601757, -0.0446025021, 0.075875327, -0.1499269158, -0.0614177175, 0.0029663139, 0.0286529437, 0.0255797412, 0.0046065925, 0.0121805314, -0.0023976495, 0.0031263838, 0.0106228944, -0.0522375181, -0.0017678724, 0.0018541253, -0.0269736294, 0.0138617391, -0.0091519058, 0.0144766085, 0.0046480875, 0.0108521478, 0.0590551719, -0.0131330863, 0.0106609454, 0.0309942048, 0.0336848535, -0.0395329595, 0.0283987951, -0.0070236214, -0.0080787372, -0.0025027306, -0.0236511026, -0.0098058376, -0.0353914984, 0.0027429445, -0.0001813846, -0.0261816345, 0.020511277, -0.0068305074, 0.0155142099, 0.0899585336, 0.0159226153, 0.0557544492, -0.0286458433, 0.0229072515, 0.0514158048, -0.036768008, 0.0161562003, -0.0010279637, -0.0276861861, 0.087882705, -0.0096222609, 0.0386219695, 0.0050457441, 0.0165055469, 0.0029699185, -0.0073988959, -0.0386574343, -0.0922415704, -0.0284896977, 0.0146623971, -0.0085763829, 0.0336932242, -0.0093462374, -0.0473038293, -0.010635633, -0.0110119348, 0.0089236954, 0.0160833579, -0.0297403224, 0.0217217896, 0.0483777486, 0.0358547978, -0.0553572327, 0.0225619264, -0.0497383811, 0.032746084, 0.0004317016, 0.0387444347, -0.0438502729, -0.0185227394, -0.0203894861, 0.0171163026, 0.0019566792, 0.0028644498, -0.0800352991, -0.0860497877, -0.0031277982, 0.031800922, -0.0047733895, -0.003670709, 0.0183475688, 0.0404640585, -0.0579333492, -0.0208695624, 0.0288039986, 0.0655558929, 0.0002751033, -0.0509591512, -0.0260669254, -6.201223469e-33, -0.0041499427, -0.0167888049, 0.027905006, 0.0018984555, -0.0029915357, -0.0280583315, -0.0402682424, 0.0317990705, -0.0050364998, 0.0121915331, -0.0075073792, 0.0182733983, -0.0105078463, 0.0299523585, 0.0136003867, 0.0099249752, -0.0200262163, -0.032470163, -0.0464509055, 0.0149090625, 0.0125405528, -0.014310617, 0.0837889314, -0.0288151093, 0.0048346221, -0.002801314, 0.0118375458, 0.0069968444, -0.0533287674, 0.0499443263, -0.004681271, 0.03629582, 0.0089453012, -0.0363881104, -0.0348002128, -0.0104892198, -0.0212850645, -0.0428448021, 0.0067014224, -0.0053989757, -0.0758716986, -0.0420354493, 0.0279204603, 0.0107638175, -0.0451118797, -0.0488213226, 0.0142040793, -0.0369632393, -0.0104191694, -0.0118471682, -0.0516328178, 0.0253543667, -0.0320404433, -0.024920864, -0.0038506906, 0.0321461521, -0.0071009984, -0.0026388478, 0.0080429493, 0.0451130979, 0.021713702, 0.0287924781, 0.0345393308, -0.0411699526, 0.0190297328, 0.02744749, 0.0233169794, -0.0213358309, 0.0134215718, 0.020952303, 0.036283534, 0.0729054436, 0.0902297869, 0.0365212969, 0.0603933074, 0.009503847, -0.0348158777, -0.0067891409, 0.0021737546, 0.0434606485, -0.0166474357, -0.0117111215, -0.0336679034, -0.0116903279, -0.0520644672, 0.0149955899, -0.0351846032, 0.0109443888, 0.0288308319, -0.0265992582, -0.0267462116, 0.0277753733, 0.0088094948, -0.0262855794, -0.0296937339, 0.0192757696, -0.0046850918, 0.0337679796, 0.0072775004, 0.0581141897, -0.0644340515, -0.0313214101, -0.0015103415, -0.0048715123, 0.0579094589, 0.0202904847, 0.0057813763, 0.0099346265, -0.0369404703, -0.0223120861, -0.0455735102, 0.0093762605, 0.0512430668, 0.0017268087, 0.0435808301, 0.0379441008, -0.0135634299, 0.0181070492, -0.023596758, -0.0289645214, -0.024299372, 0.0520120673, 0.0068233954, 0.0209776759, 0.0103963669, -0.0432733931, -0.0417247228, -0.0064183525, 0.0536079518, -0.062659055, 0.005040634, -0.0017662314, 2.924e-7, 0.0445160307, 0.0491552204, 0.0543501787, 0.0288173594, -0.0042820163, 0.0107450942, -0.0381587371, -0.0345030762, 0.0318600759, -0.036573451, -0.0235901475, 0.0541879572, 0.0562729649, 0.0475682169, -0.0409086198, 0.0368592963, -0.0555939041, -0.0029090871, -0.0782623142, 0.0061486023, 0.0547340363, 0.0541962795, 0.0279578678, -0.017426867, 0.0062565762, -0.0283372179, 0.0370787829, -0.019562792, 0.0099532036, 0.0230104104, -0.0337081887, -0.0509134643, 0.0137006734, 0.0187865067, -0.0142253945, 0.0134672867, -0.0051135672, 0.0384313464, 0.033060424, 0.0354870595, -0.0425571129, -0.040946193, -0.0104870927, -0.0437518619, 0.0189501587, -0.0695639327, -0.0249749012, -0.0109075028, -0.0174076594, -0.0139035676, 0.0048247338, 0.0084752124, 0.0205945838, 0.0016298965, 0.0362871364, 0.0140286935, 0.028113516, -0.0456472747, -0.0297705196, -0.0054342006, -0.0625105947, -0.0547220893, -0.0591710359, -0.0135827996, 0.0153495148, -0.0417882837, -0.0049094013, 2.719680668e-34, 0.0508516915, -0.0137582775, 0.0613120832, 0.0183289498, 0.0339284092, -0.0252508353, 0.0140612815, -0.0015159219, 0.0360531248, -0.0602025613, -0.0280858632 ]
http://arxiv.org/abs/2407.00894v1
http://arxiv.org/pdf/2407.00894v1
How to Leverage Digit Embeddings to Represent Numbers?
2024-07-01T01:31:41
2024-07-01T01:31:41
Jasivan Alex Sivakumar, Nafise Sadat Moosavi
cs.CL
cs.CL
Apart from performing arithmetic operations, understanding numbers themselves is still a challenge for existing language models. Simple generalisations, such as solving 100+200 instead of 1+2, can substantially affect model performance (Sivakumar and Moosavi, 2023). Among various techniques, character-level embeddings of numbers have emerged as a promising approach to improve number representation. However, this method has limitations as it leaves the task of aggregating digit representations to the model, which lacks direct supervision for this process. In this paper, we explore the use of mathematical priors to compute aggregated digit embeddings and explicitly incorporate these aggregates into transformer models. This can be achieved either by adding a special token to the input embeddings or by introducing an additional loss function to enhance correct predictions. We evaluate the effectiveness of incorporating this explicit aggregation, analysing its strengths and shortcomings, and discuss future directions to better benefit from this approach. Our methods, while simple, are compatible with any pretrained model and require only a few lines of code, which we have made publicly available.
How to Leverage Digit Embeddings to Represent Numbers?: Apart from performing arithmetic operations, understanding numbers themselves is still a challenge for existing language models. Simple generalisations, such as solving 100+200 instead of 1+2, can substantially affect model performance (Sivakumar and Moosavi, 2023). Among various techniques, character-level embeddings of numbers have emerged as a promising approach to improve number representation. However, this method has limitations as it leaves the task of aggregating digit representations to the model, which lacks direct supervision for this process. In this paper, we explore the use of mathematical priors to compute aggregated digit embeddings and explicitly incorporate these aggregates into transformer models. This can be achieved either by adding a special token to the input embeddings or by introducing an additional loss function to enhance correct predictions. We evaluate the effectiveness of incorporating this explicit aggregation, analysing its strengths and shortcomings, and discuss future directions to better benefit from this approach. Our methods, while simple, are compatible with any pretrained model and require only a few lines of code, which we have made publicly available.
[ -0.0536364391, 0.0931160003, 0.0093001099, 0.0356668122, 0.0351613089, 0.0127686709, 0.0173730049, -0.0337274075, -0.0733593255, -0.0329093598, -0.0323181041, -0.0424574353, 0.0177360382, 0.0255111177, 0.07325764, -0.0170525555, 0.0319478028, -0.0286425464, -0.0042529227, 0.0141431596, -0.0072912611, 0.0059834956, 0.0012790286, 0.052182164, -0.0389240347, 0.0031239034, 0.0068790508, -0.0593721718, 0.0219085161, -0.0036472341, -0.0284217056, 0.0195544604, 0.0616227053, 0.0860887021, 0.0000019734, -0.0109447911, -0.0167235453, 0.0053171194, -0.0511473008, 0.033680778, 0.0332213305, -0.0656778589, -0.0280600581, 0.0236703046, -0.0164062176, -0.0535508655, 0.0590272658, 0.0412605591, 0.0742184147, 0.0678236932, -0.0192965772, -0.0441439934, 0.0529900268, -0.0367536098, 0.0098517258, 0.0102579976, -0.0078884102, 0.0383963436, -0.0351291038, -0.0024375159, -0.0200732835, 0.0076269899, 0.0564216562, -0.0011865183, 0.0128261801, 0.0482029505, 0.0014877297, 0.0038714763, -0.0049730702, 0.0809007213, -0.0803701282, -0.0258414652, -0.0184173305, 0.0066641644, -0.0232929271, -0.0489070974, -0.0634806827, 0.0081810355, 0.111601159, 0.0559666269, -0.0126289725, 0.0289426036, 0.0557219461, -0.0247614123, -0.0605837516, 0.0212803558, 0.0359984487, 0.0130025167, -0.0602705069, -0.0351721905, -0.0555132926, -0.0214840267, 0.0053099212, 0.0364771262, 0.0465606749, 0.0030341141, -0.0359067172, -0.0581873618, -0.0138090579, -0.033729326, 0.0368935801, 0.0983830765, -0.0008786124, 0.018173065, -0.0682975799, 0.0534352735, -0.040465679, 0.0447559245, -0.0212037507, 0.0193971284, 0.0199687723, -0.0357540809, -0.0451079607, 0.0080196289, -0.0281523094, -0.0142239155, -0.0271024033, 0.0509398431, 0.0002084096, -0.0098088533, 0.043862436, -0.0128401127, 0.0043505616, -0.0343458056, 0.0197639968, 0.0387935564, -0.0485301875, -0.0096150888, -0.0221065208, -0.0478767902, -0.0365065597, -0.0142584965, 0.0100147147, -0.0178392809, -0.0297253691, 0.0666686893, 0.0088851964, -0.0083336513, 0.0260419454, 0.0067202663, 0.0037791522, -0.0043296157, 0.006918788, -0.0653086677, 0.0287973471, -0.0053755553, 0.0199592113, -0.0187955555, 0.0221351571, 0.0268116649, 0.0237985123, 0.0612749904, -0.0115633961, 0.0015872059, -0.0006602056, -0.0170202982, 0.0289253928, 0.0481632315, 0.0450527109, -0.0081311921, 0.0039256862, -0.0552768558, -0.0076778196, 0.0548745729, 0.0283842385, -0.0125014093, -0.0294829104, -0.0391483307, 0.0270569623, 0.0169438217, 0.03551431, 0.0261000395, -0.0631290376, -0.0481576063, 0.0741009042, 0.0508375503, 0.0196130387, 0.0426302664, 0.0022641844, -0.0246243179, -0.0011710279, -0.0211937837, -0.0648328811, 0.0212602708, 0.0237043165, 0.0093370173, 0.0504958369, 0.03049176, -0.0339157954, -0.0448121019, -0.0031408586, -0.0413752496, 0.0349704064, -0.016017044, 0.056021262, 0.0040400899, -0.0191722382, 0.0602131486, -0.0054939897, -0.0796856135, 0.0142749045, -0.0588327609, 0.0265376419, 0.0167365372, 0.0172844529, -0.0073918435, -0.0150932977, 0.001663785, -0.0224339683, -0.0111863185, 0.0241791923, -0.0127496449, 0.0182658639, -0.0624919012, -0.0031518261, -0.0044512716, 0.0265582819, 0.0152883716, -0.0431488231, -0.0202041287, 0.0316756815, -0.050257735, 0.0230617728, 0.0430642068, -0.0180104021, -0.0524039865, 0.0091838883, 0.0048877895, -0.0260087568, -0.0131455325, 0.0020962064, 0.0719148442, 0.0293957982, -0.02257137, -0.0198622774, -0.0091126198, -0.0571757816, -0.0072379108, 0.0754416808, -0.0334846303, 0.0133253345, 0.0438613854, -0.0215630997, -0.0368407071, 0.0353901051, -0.0760790333, 0.0594371073, -0.044585187, 0.0263821352, 0.008289896, 0.0102304146, 0.0044220206, 0.0259591695, -0.0093485573, 0.003362901, 0.0093811229, -0.0430045165, 0.0227834042, 0.0035678265, -0.0292209145, -0.009009161, 0.007440289, 0.0191086251, -0.0017653425, -0.0453130752, -0.0038392707, -0.0095510157, -0.0816943645, -0.029058991, -0.0365604535, 0.0429743081, 0.0300211255, 0.0092875622, 0.0219485201, -0.0465041138, -0.0167177711, -0.036572367, -0.0011043657, 0.0039231097, 0.0089725852, 0.0095880115, -0.010981353, -0.0227673911, -0.0528064482, -0.0400281474, 0.0786890313, -0.0182888061, 0.0269398969, -0.0297715813, 0.0049036155, -0.0010187227, 0.0114364708, -0.0247223768, -0.0194820557, -0.0015511792, -0.034825258, 0.0720062405, -0.0046652486, -0.0187773909, 0.0281189419, 0.042320475, -0.016902471, -0.0194432735, -0.0194720309, -0.0386261456, -0.0035814706, -0.0208410993, 0.000104056, -0.0373628922, 0.0713646412, -0.0425939299, -0.018634554, -0.0637755767, 0.0158476606, -0.004517281, 0.0054422193, -0.0239653811, 0.0327406749, -0.0032580034, 0.0182619933, -0.0106460024, -0.0495981239, 0.0605583042, -0.0150655424, -0.0433724821, -0.0193703733, 0.0172208827, -0.041717954, 0.011605924, 0.0388876386, -0.0078665968, 0.006898636, -0.0094300155, -0.0513287671, 0.040935155, -0.005786371, -0.0242544599, 0.0865518153, 0.0094800638, 0.001242506, -0.010984296, -0.0307148173, -0.0509355739, -0.0500191487, -0.0274113473, 0.0692006722, -0.0134380003, -0.0308895595, -0.0661679879, 0.0032448438, 0.0416491181, 0.0630120561, -0.0012276619, -0.00559125, -0.0189590733, 0.0294808112, 0.020237986, 0.0039782361, 0.0666209385, -0.0433927178, 0.0199073646, 0.000774889, 0.0535806194, 0.0258374456, -0.0597962923, -0.0086235814, 0.0468289666, -0.0403312519, -0.0124982568, 0.0364251696, 0.0265252702, -0.0523353331, -0.0039090398, 0.1277070493, 0.0284713339, -0.0295928922, 0.023985751, -0.0329060927, 0.0058610206, 0.0074016172, 0.0108503858, -0.0615760162, -0.0144358464, 0.0190590341, -0.0314907655, 0.0407270826, 0.0122295804, 0.0182555448, -0.1210066676, -0.007401505, 0.0424254872, -0.0269505009, -0.033801388, -0.0424797237, -0.0200185552, -0.0317932367, 0.0414460935, 0.007809638, -0.0202810727, 0.0091104303, 0.0045862747, -0.0185077023, -0.0311584007, -0.0182460845, -0.0255790725, 0.0144618219, 0.0412612818, 0.0236561187, -0.0099961599, -0.0536803454, -0.0178949647, 0.00150138, -0.036461927, 0.0460167304, 0.0282274019, 0.0155040212, -0.0265187491, 0.0100880377, 0.0216992833, -0.060314659, -0.0352638513, -0.0570499226, 0.0818359852, -0.0116735706, 0.0114269517, -0.001304627, -0.0098610846, -0.0148362797, 0.0117282104, 0.0434673801, -0.0230653528, 0.0005520874, -0.0433674753, 0.0305807665, 0.0099590588, -0.0504053086, -0.0079673762, 0.0595247671, -0.0817526281, -0.0379593894, 0.0178910866, 0.0075681787, 0.0319027305, -0.0046201064, -0.0830593184, 0.0345810838, -0.0076642507, -0.0235806536, 0.0455313772, -0.0350929275, 0.0511111729, -0.0519216284, 0.0161561668, 0.018708555, -0.0137618259, -0.0153774573, -0.041235514, -0.0760991424, -0.0601720884, 0.0123619083, 0.0506420694, 0.013976126, -0.0177901872, -0.0158872027, -0.0473155007, 0.0650701821, 0.0189951602, -0.071182318, -0.0022102555, 0.0347900055, -0.0299831573, 0.015744675, 0.0122178141, -0.0121731665, 0.0210825074, 0.0002056332, 0.0044473256, -0.0702403635, 0.0266815554, 0.0314560309, -0.0289263763, 0.0277322549, 0.0033127111, 0.0424558893, -0.0126551054, 0.01858183, -0.0532348044, 0.0344825648, -0.0361561589, -0.0115268929, 0.0327901617, 0.0546634682, -0.0007493765, -0.0087507712, 0.0380437337, 0.0104705021, -0.0166754369, 0.0465698764, 0.0362893865, 0.0558193587, -0.0183567218, -0.01321836, 0.0097673526, -0.0060647745, -0.0376202278, 0.0148147205, -0.014451745, -0.0011937226, -0.021399023, 0.0144286035, -0.0551507175, 0.0514894538, -0.0351846404, -0.0566762015, -0.0075873528, -0.0208672583, 0.0375227071, 0.0020442996, 0.0139948055, -0.0381478705, 0.0019914878, -0.0365050994, -0.0030781487, -0.0201855097, 0.0066391914, 0.0137130767, 0.0278997403, -0.0047460478, -0.074388586, 0.0348425433, -0.0137939984, 0.0163743887, 0.0115742637, 0.0018966114, 0.0151679544, -0.0070659542, 0.0233052298, 0.0329302289, -0.0468676277, -0.0015456355, -0.0202934258, -0.0935232937, 0.0111744003, -0.0062867454, -0.0276722703, 0.0135256816, 0.0271260049, 0.005772172, -0.0501256771, 0.0271693114, -0.0046504154, 0.0038273586, -0.0015466243, -0.0237861779, -0.0627401099, -5.625968493e-33, 0.0233736429, -0.0199485458, -0.0131102055, -0.0242570341, -0.0163529031, 0.0052602938, -0.0273494627, 0.030843081, 0.0017083503, 0.0023496775, -0.0179716032, 0.0101798698, 0.0078809094, 0.0285015535, -0.0135301892, -0.0234976672, 0.0584980398, -0.0183548536, 0.0017697705, -0.0161278192, 0.0107167652, 0.0219189581, 0.0873094276, -0.0285611674, 0.0088137006, 0.0108414572, -0.0153150419, 0.00402391, 0.0101866275, 0.0673195049, -0.0154380444, 0.0486641899, -0.0042392844, -0.0579891019, -0.0624626949, 0.0518526025, -0.0452562757, -0.027876826, 0.0088673104, 0.0353312381, 0.0429742672, -0.0274976101, 0.0245635416, -0.0502242111, 0.0025487558, -0.0259086937, 0.0103174588, -0.0180692393, -0.0123017067, 0.0021824921, -0.0388278663, 0.0240964629, -0.0056504258, -0.0066260938, 0.0860985667, 0.0152212828, -0.004378662, 0.0003592205, -0.0466000549, 0.0514895506, 0.0026192677, 0.0392850786, 0.0271108449, 0.0159176812, 0.0020928646, 0.0164505504, 0.0332784094, -0.0565506257, -0.0612842627, -0.0326730534, 0.0736367479, -0.0159171838, 0.0871527791, -0.0095622139, 0.1010588855, 0.0148171298, -0.0519817546, 0.0135528967, 0.0349520184, 0.0270850267, 0.0224650167, 0.0502489433, -0.0245249625, 0.0099381246, -0.040398635, 0.0124644525, -0.0398090109, -0.0251150094, -0.0027847993, -0.0046457034, 0.0072480803, 0.0339177102, 0.0405051969, -0.0686448514, 0.0173043162, 0.0333697423, 0.0209845547, 0.042349305, -0.024862105, 0.0099536711, -0.0156479683, -0.0377826504, 0.0366599448, -0.0138994521, -0.0004939109, -0.0131352218, 0.0246524569, 0.0406648815, -0.0698646754, -0.0243127011, -0.0098867798, -0.0521199182, 0.0264385305, 0.1054905728, 0.0398501307, 0.0201761723, 0.0010988703, -0.0175577421, -0.0237225071, 0.0059694732, 0.0002007119, 0.0300933272, 0.0201784167, 0.0269953832, -0.0004463147, -0.0369576886, -0.0488328747, 0.0214340352, 0.0424755439, -0.0434101559, -0.0258150361, 0.0041052084, 2.505e-7, 0.0707822442, 0.0084386915, 0.0083452417, 0.0097911526, 0.0077791414, 0.0223930627, -0.0000954041, 0.0143710412, 0.0100667942, -0.0147837726, 0.01586009, 0.0098776594, 0.0182415508, 0.0520190708, -0.0524998941, -0.0227883216, -0.0335747488, 0.0425684564, 0.0032678698, -0.0110362126, -0.0251445752, 0.1655521244, 0.0152782947, 0.0186132155, 0.0182134714, -0.0190775394, 0.0557783544, -0.0364206731, 0.013547672, 0.001268485, 0.0070015807, 0.0035599358, -0.0075266124, -0.0262904428, -0.0234035477, 0.0647894591, 0.0621814765, 0.0460099466, -0.0371021219, -0.0157332942, -0.0164170507, 0.000176042, -0.0423774086, -0.0290148538, 0.0320554227, -0.0696479604, -0.0301956367, -0.0133671546, -0.0161927696, 0.0156300943, 0.0284994841, -0.0155854002, -0.0220652018, 0.0444017574, 0.065562509, -0.0159286745, 0.0244868193, -0.0825221017, -0.0313201509, 0.0010081311, -0.0666836873, -0.0443627052, -0.0424459577, -0.0375804752, 0.0739874542, -0.0041557276, 0.0120150521, 2.60657125e-34, 0.0441003665, -0.0177441351, 0.032177683, 0.0429817215, 0.0097461296, -0.0299608167, 0.0279617608, 0.0232827701, 0.0685146078, -0.0789428204, -0.0175525825 ]
http://arxiv.org/abs/2407.00890v1
http://arxiv.org/pdf/2407.00890v1
Macroeconomic Forecasting with Large Language Models
2024-07-01T01:25:26
2024-07-01T01:25:26
Andrea Carriero, Davide Pettenuzzo, Shubhranshu Shekhar
econ.EM
econ.EM, cs.CL, cs.LG
This paper presents a comparative analysis evaluating the accuracy of Large Language Models (LLMs) against traditional macro time series forecasting approaches. In recent times, LLMs have surged in popularity for forecasting due to their ability to capture intricate patterns in data and quickly adapt across very different domains. However, their effectiveness in forecasting macroeconomic time series data compared to conventional methods remains an area of interest. To address this, we conduct a rigorous evaluation of LLMs against traditional macro forecasting methods, using as common ground the FRED-MD database. Our findings provide valuable insights into the strengths and limitations of LLMs in forecasting macroeconomic time series, shedding light on their applicability in real-world scenarios
Macroeconomic Forecasting with Large Language Models: This paper presents a comparative analysis evaluating the accuracy of Large Language Models (LLMs) against traditional macro time series forecasting approaches. In recent times, LLMs have surged in popularity for forecasting due to their ability to capture intricate patterns in data and quickly adapt across very different domains. However, their effectiveness in forecasting macroeconomic time series data compared to conventional methods remains an area of interest. To address this, we conduct a rigorous evaluation of LLMs against traditional macro forecasting methods, using as common ground the FRED-MD database. Our findings provide valuable insights into the strengths and limitations of LLMs in forecasting macroeconomic time series, shedding light on their applicability in real-world scenarios
[ -0.0131669398, 0.11194776, -0.0162410475, 0.0124866869, -0.0053092153, 0.0105902161, 0.0404371619, 0.019032592, -0.0109241325, 0.0056933495, 0.0086594298, -0.0509199128, 0.014159536, 0.0452700816, -0.0108351512, -0.0123978471, 0.0268631727, -0.0418082997, 0.0056653759, -0.0317029655, 0.0024655398, -0.0073813191, 0.0596351624, 0.0551327057, -0.0169509668, 0.0376170799, 0.0097340569, -0.0503416806, -0.0433190279, 0.0061627356, -0.0208035801, 0.001051833, 0.041845452, 0.0612347983, 0.0000018608, -0.0331460498, -0.0193420351, 0.0031729869, 0.0031971803, 0.0408359133, 0.0497153737, -0.0508073308, 0.017108513, 0.0257767849, -0.0486703366, -0.016379863, 0.0514995568, -0.0091119176, 0.0343701914, 0.0383667275, -0.0114960968, -0.0510322526, -0.0197661873, -0.0559590645, -0.0646437407, -0.0728449598, 0.0440176092, 0.0089605357, -0.0199951604, -0.0051622652, -0.0012058058, 0.0374870189, -0.0125174662, -0.0065872665, -0.0260241814, 0.0380159765, 0.0300814323, -0.0032435097, -0.0120891444, 0.0213725027, 0.0316286311, 0.0030753284, 0.0302041881, 0.0065974528, 0.0064769732, 0.0705491081, -0.0696277618, -0.0027255835, 0.0394258909, 0.039270889, 0.0549991541, -0.0046706866, 0.021164747, 0.0501954518, -0.0363911279, 0.0866626352, 0.0021773221, -0.0198410768, -0.0086019831, -0.001776602, -0.0161386859, -0.0354116447, -0.0404662117, -0.0027610031, -0.0203171205, 0.0220448133, -0.0270813257, 0.0115778903, -0.0162635073, -0.0876982212, 0.0210124627, 0.0501385592, 0.033497721, 0.0387762785, -0.0087472219, 0.0424525961, -0.0231918693, -0.1006482542, 0.0001989514, -0.0161759313, -0.0675949454, -0.0025677185, -0.021230381, 0.0018067564, -0.0042589172, -0.0117223477, -0.0498840921, -0.0555840731, -0.0171215367, 0.0367348343, 0.0106440904, -0.0471654534, -0.0435807221, -0.032254383, -0.0411112085, 0.0506420545, -0.0039431653, 0.0410455912, -0.0092678126, 0.0018483041, 0.0208764356, -0.015218812, -0.0212697741, 0.0189089682, 0.027936507, 0.0675609559, 0.0533127338, 0.0615515076, 0.0016662099, -0.032592129, -0.0209199004, -0.06271182, -0.0129907019, -0.0268257707, 0.0199609026, 0.0045783618, 0.0272663813, -0.0053595151, -0.0083824741, -0.011202354, -0.0336376503, 0.0425743535, -0.0225326475, -0.0161272548, -0.0220974907, -0.0495996512, 0.0582883582, 0.0763179213, -0.0086719589, -0.0101764333, 0.0289359745, -0.0126332873, -0.0180579256, 0.0396947041, -0.0258086622, -0.0089311935, -0.0579725578, 0.0179871526, 0.0156034473, -0.0198275186, 0.0106063429, -0.0156174041, 0.0190071594, 0.0152347693, 0.0328663103, 0.0158249289, 0.0090590995, 0.0301448368, 0.0357262976, 0.0084272455, 0.017178433, -0.0384301692, 0.018824527, -0.0086682867, -0.0450856686, 0.0337182321, -0.0075376946, 0.0198768992, -0.0143828467, -0.0229282007, -0.0013390509, -0.0317243747, -0.0051404098, -0.0060931947, 0.0798208863, -0.1102401018, -0.0072340458, 0.0908237249, 0.0563172214, 0.0054573668, -0.000874593, -0.0277101379, 0.0359315649, 0.0686345175, -0.0175855737, 0.0045707403, 0.0057670618, -0.0104681617, 0.0219797138, 0.0553037152, -0.0043661534, 0.0335146002, 0.0070350086, -0.0467672497, -0.0154817216, 0.0472713821, 0.051103916, 0.0363227129, -0.0140355974, -0.0025018533, 0.0140006989, -0.0058865165, -0.0509623103, -0.0093537346, -0.003445517, -0.0300729964, 0.0215371028, -0.0300747827, 0.0142328525, 0.0062488867, -0.0057788701, 0.0142031843, -0.0088586789, -0.0245440304, -0.0234704278, 0.0022633635, -0.051993113, 0.0413709469, 0.0217734724, 0.0137328822, 0.0348436125, -0.0510345474, -0.0259842612, -0.0342193097, 0.0499872528, 0.0020472305, 0.0221964847, -0.0620170683, 0.0098735383, -0.0112447552, 0.0059723961, 0.0230757203, 0.015962651, -0.0172788575, 0.0313240252, 0.0000600009, 0.0360029228, -0.0020763688, -0.0002736321, 0.0074526174, 0.0210214052, 0.0252903011, 0.0165095888, 0.0062068594, 0.0018145805, 0.0087150438, -0.0353752039, -0.0238759611, -0.0398896486, 0.0069298618, 0.0255485363, 0.0322635286, -0.0383634418, 0.0068139462, 0.0427373983, -0.0075227884, 0.0121292016, 0.0066070724, -0.0185479838, 0.0143668884, 0.0127356229, -0.0394635163, -0.0299801417, -0.016071165, -0.0195361488, 0.066897288, 0.0205400866, -0.0151970219, -0.0100527676, -0.0211903173, -0.0324572213, 0.0002872708, -0.0149551742, -0.0568962321, -0.0220373441, -0.0417647138, 0.041043058, -0.0106962668, -0.0378542915, -0.0089311115, 0.0167256221, -0.059378203, -0.042996902, -0.0012369924, 0.0076930108, 0.0080318218, -0.055275213, -0.032158684, 0.01090967, 0.0913352296, -0.0187517144, 0.0144033153, -0.0549848638, 0.0462622121, -0.059908919, 0.0220664237, -0.0331330895, 0.0273733456, -0.0125211813, 0.0414603576, 0.0300804861, -0.0488942303, -0.003085874, -0.0542161278, -0.0045694597, -0.000451777, -0.0129228923, -0.0465094, -0.052936215, -0.0062994636, -0.0095285755, -0.0216793213, 0.01208393, 0.0184510462, 0.007273668, 0.0078626964, -0.0043811025, 0.0521558002, -0.0235192403, 0.0297190733, 0.0368556604, 0.0080434987, 0.0320138521, -0.0378109179, -0.0859955847, 0.0602040067, 0.0279630851, -0.0581700988, -0.0189472809, 0.0620435551, -0.0135257673, -0.0176317692, -0.0072659459, 0.0141746709, 0.0380430929, -0.0234232452, 0.0264847893, -0.017455142, -0.0269677229, -0.0603614636, 0.0563429259, -0.0681071803, -0.0042650611, 0.0594868325, -0.0272882152, -0.0143598011, 0.0314956121, -0.006155862, -0.0283776168, 0.0530516729, -0.0357989818, -0.0782576799, -0.0235522818, 0.115647845, 0.0031196699, 0.013462171, -0.012007446, -0.0210775379, 0.0069661182, 0.0032256942, 0.0113881035, -0.0417208485, -0.0232034996, 0.0246552993, -0.0146166505, -0.0048457552, -0.0209796708, -0.0263681188, -0.0974080935, 0.0284072887, 0.0111073274, -0.0516508408, -0.0257197656, -0.0454206467, 0.016544722, -0.0653917417, 0.0137891602, 0.0042641517, -0.0307547878, 0.0176225286, 0.0389214158, -0.1288812011, -0.0831669793, -0.0176547728, -0.0142174065, -0.013251055, 0.0488435887, 0.0316841863, -0.0333235115, 0.0138067687, -0.01889145, 0.0099641746, 0.0212627072, -0.0260313209, -0.0111472514, 0.0424464308, -0.0350818001, 0.0004989082, 0.0418288819, -0.0013872209, 0.0603598952, 0.0212161224, 0.001724016, -0.024381794, -0.023249764, 0.0576096289, 0.0353689715, -0.0136161279, 0.0369382985, 0.0161185823, -0.0337823369, -0.0080022067, -0.0210969616, -0.033576522, -0.0375960283, -0.0132909836, 0.0114630861, -0.0369802453, -0.0266014505, -0.0128992992, -0.0474752113, 0.0444090404, 0.0367477648, 0.0091278683, 0.0407628901, 0.0646225139, 0.0328679234, 0.029169051, -0.0115090813, -0.0462484173, 0.0399020649, -0.0586032085, 0.0500790626, 0.0301305857, 0.0206786022, -0.0252030771, -0.0101670176, -0.0825002939, -0.0470251776, 0.0714585558, 0.0065367245, 0.0147167351, -0.046275638, 0.0355781466, 0.0153317312, 0.0408649221, 0.0576273464, -0.0174927674, -0.0267947223, 0.0303780269, 0.0252954271, 0.0026102976, 0.0352807678, 0.0155382203, 0.0040071071, -0.0251678638, 0.0213315934, -0.0536333807, -0.0595952161, -0.0240075625, 0.052105736, 0.0329866745, -0.0097637409, -0.0078158239, -0.0051560593, -0.0012681412, -0.0079471953, -0.017377397, -0.0126538733, -0.0133688794, 0.0244157556, 0.0065914369, -0.0017611691, 0.0325711556, 0.0058767535, -0.0348112397, 0.0027640837, 0.0784882605, -0.0243063681, 0.0251196697, 0.0554031134, -0.0083404193, 0.0049798721, -0.0073170685, -0.0078742327, 0.0052094813, 0.0124205742, 0.0440974645, -0.0076346556, 0.0098062186, 0.0035709525, -0.0384589285, -0.0206796806, -0.0709463805, -0.0262614507, 0.0068043647, 0.0413238481, -0.0483970903, 0.0061075334, -0.084674716, 0.020724915, 0.0006600016, 0.0419321097, -0.0282900687, -0.01099452, 0.0494054705, -0.0347420014, -0.0971375629, -0.0119629307, 0.0638469979, 0.0396415666, -0.0011285046, 0.0120027624, -0.0298820231, -0.0405274481, -0.0166835357, 0.0481830873, -0.0242827423, -0.0148079451, 0.0009988148, -0.0629647896, -0.0293993764, -0.0085618813, -0.046026431, -0.0228490792, -0.0374454036, -0.0197777357, 0.029501101, -0.0119375223, 0.1040329784, -0.0104357824, 0.0115130246, -0.0422053002, 0.008688313, -0.0295326021, -5.552868173e-33, -0.0279612876, -0.0040814681, 0.001284205, -0.0473247804, 0.0102633797, 0.0558994599, 0.0057316963, -0.0102282297, -0.0016991369, -0.0123586962, 0.0005639282, -0.001646852, 0.0176119935, 0.0185278319, 0.0735719576, 0.0198379625, 0.0210145228, -0.0208118521, 0.0237781163, -0.0201630257, 0.0243780743, 0.02683389, 0.0963977873, -0.0119687235, 0.0154490368, 0.0134188673, -0.0391092822, -0.010367278, 0.0467821322, 0.0396401286, -0.0023470512, 0.0188092571, 0.0060964581, -0.0501374044, -0.0378447026, -0.0256488416, 0.0326462314, -0.0132433167, -0.0059219669, 0.0076705739, 0.057102032, 0.0041996683, 0.0171296969, 0.021798484, -0.0405691117, 0.0278505273, -0.0067936154, -0.0514054634, -0.0093775541, 0.0151408566, -0.0452473313, 0.0412478, 0.0268444009, 0.066887103, 0.0235590078, 0.0655229166, -0.0384394489, 0.0244384576, -0.0367237292, 0.005343907, 0.047761891, 0.0622905456, 0.0171169546, 0.0050831186, 0.0474990532, 0.0225278288, 0.0151691576, -0.0386665612, -0.0068734568, 0.0089122849, 0.0381043293, 0.0265644863, 0.0257763471, 0.0610670261, 0.064829506, -0.0319594815, -0.0219410453, 0.018760955, 0.0326281376, 0.0724067613, 0.0534581058, -0.0053571253, -0.0211916715, -0.0822823718, -0.0539494269, 0.007909392, 0.0068010311, -0.018280495, 0.0094874324, -0.02288118, 0.0268981736, 0.0122144595, 0.0571282953, -0.0298006684, -0.0961633697, 0.0064808768, -0.0122196367, -0.0129316999, -0.0040712599, 0.0348628722, -0.0972405672, -0.0664183646, -0.0369555093, 0.0481887572, -0.0126326829, -0.0299844667, -0.0265383571, 0.0086026248, -0.0678895712, -0.0030474921, -0.0242897142, -0.0076254914, 0.0288239587, 0.0318761282, 0.0490533486, -0.0668028221, 0.0096142488, 0.0118938619, -0.0017305346, -0.0358682312, 0.0501220599, -0.0369726159, 0.0185041949, 0.0141848717, -0.0242279619, -0.0169510487, -0.0204124283, -0.0025813091, 0.043190971, 0.0009727661, -0.0167996883, 0.030760115, 2.568e-7, 0.031075187, 0.0727538317, -0.060990762, 0.053847868, -0.0070337625, 0.0492577925, -0.0567359813, -0.005277276, 0.0031389275, 0.0711334795, 0.0150672207, -0.0055894917, 0.0884460211, 0.030852057, -0.0521450415, -0.0268805623, -0.091016598, 0.029180849, -0.0661929026, -0.0238134209, -0.0097619854, 0.0865965337, 0.0160522852, -0.0082241558, 0.0103268092, -0.0681949332, 0.0443194918, -0.0507974699, -0.0357427895, 0.0215267744, -0.0003277717, 0.0430241153, -0.0055098343, 0.0073435139, -0.0034426872, 0.0331319422, -0.0072145462, 0.0431053191, 0.0460417904, 0.0710373744, 0.0350333266, -0.0289655253, -0.0612875707, -0.0580824614, 0.033338137, -0.0734144524, -0.0434497744, -0.0669686496, -0.0262529794, 0.0480718166, 0.0018276498, 0.0026818125, -0.0276702289, 0.0352564864, -0.0187443048, -0.0571950264, 0.0110925082, 0.0413690545, -0.0243007895, 0.0051081879, -0.0571442433, -0.0272074323, -0.0268598106, 0.0246571824, 0.0213222299, -0.0192080382, 0.0542924702, 2.353890933e-34, 0.0542769358, 0.0049680951, -0.0149618685, 0.0495605767, 0.0442678407, 0.0127866538, -0.0221510939, 0.0491004735, -0.0017572899, -0.0972729847, 0.0139924577 ]
http://arxiv.org/abs/2407.00888v1
http://arxiv.org/pdf/2407.00888v1
Papez: Resource-Efficient Speech Separation with Auditory Working Memory
2024-07-01T01:23:06
2024-07-01T01:23:06
Hyunseok Oh, Juheon Yi, Youngki Lee
cs.SD
cs.SD, cs.CL, cs.LG, eess.AS
Transformer-based models recently reached state-of-the-art single-channel speech separation accuracy; However, their extreme computational load makes it difficult to deploy them in resource-constrained mobile or IoT devices. We thus present Papez, a lightweight and computation-efficient single-channel speech separation model. Papez is based on three key techniques. We first replace the inter-chunk Transformer with small-sized auditory working memory. Second, we adaptively prune the input tokens that do not need further processing. Finally, we reduce the number of parameters through the recurrent transformer. Our extensive evaluation shows that Papez achieves the best resource and accuracy tradeoffs with a large margin. We publicly share our source code at \texttt{https://github.com/snuhcs/Papez}
Papez: Resource-Efficient Speech Separation with Auditory Working Memory: Transformer-based models recently reached state-of-the-art single-channel speech separation accuracy; However, their extreme computational load makes it difficult to deploy them in resource-constrained mobile or IoT devices. We thus present Papez, a lightweight and computation-efficient single-channel speech separation model. Papez is based on three key techniques. We first replace the inter-chunk Transformer with small-sized auditory working memory. Second, we adaptively prune the input tokens that do not need further processing. Finally, we reduce the number of parameters through the recurrent transformer. Our extensive evaluation shows that Papez achieves the best resource and accuracy tradeoffs with a large margin. We publicly share our source code at \texttt{https://github.com/snuhcs/Papez}
[ -0.0113062598, 0.0010023649, 0.0345632769, 0.0186164472, 0.0001269564, -0.0427589677, 0.0423833057, -0.0328697227, -0.0493061654, 0.0121060302, -0.050187666, -0.0405557938, 0.0156416912, -0.0029638922, 0.0084807174, -0.0606051274, 0.0063642124, -0.0429054983, 0.0075005642, 0.023805175, 0.0242379587, -0.0461154506, -0.0354935527, 0.0312421136, -0.0067703435, -0.0166558921, -0.0203309413, -0.0052840076, 0.009234461, -0.0157019179, -0.021497678, -0.0373295061, 0.0017406105, 0.0245001744, 0.0000019389, -0.0077854553, 0.0092577394, -0.0110298051, -0.0005387453, -0.0540939569, 0.016410647, 0.0248911474, -0.0402513444, 0.0158983823, 0.0213681087, -0.0441258289, 0.0227466393, 0.0271839835, 0.0646533892, 0.0631450191, -0.0104169529, -0.0072021387, 0.0139572015, 0.0020525362, 0.0137934061, 0.0057345843, 0.0036639103, -0.1157844067, -0.0245993026, -0.039486073, 0.0065048635, 0.0354566909, 0.0399497226, 0.0236187503, 0.0255264416, 0.0368813649, -0.0184942856, -0.0844993666, -0.0720010176, 0.0534024909, -0.0069461931, -0.0147140156, 0.0427267328, 0.0104179597, -0.0285165627, -0.0492020771, -0.0435406007, 0.0478161685, -0.0112104611, -0.0193504486, -0.0297008865, 0.0181836355, 0.0338782817, -0.0411769599, -0.0589752942, -0.0036798795, -0.0021652314, -0.0506066307, 0.0153559837, -0.0001996859, 0.003909267, -0.0114801507, 0.059342768, 0.032643646, -0.0158501733, -0.0529462583, -0.0427381881, -0.0800606906, -0.063021414, -0.0069171647, -0.0146019729, 0.0257277917, -0.0531342439, 0.01172073, 0.0284221116, 0.0116885696, -0.0039159316, 0.0036252169, 0.0138770454, 0.0107885022, -0.0262072049, 0.0072350875, 0.0040724408, 0.0487816557, -0.0461669303, -0.0494436584, -0.008343854, -0.0353104509, -0.0455217399, -0.0093963277, 0.0316582471, 0.0229380447, -0.0373019688, -0.0154411756, 0.0785279498, 0.0397641361, -0.0240577832, 0.0225406215, 0.0204870179, -0.0649546161, -0.0447378904, 0.0684165582, 0.0476098433, -0.0077941888, 0.0235773232, 0.0443209708, 0.0061080307, -0.0125786262, 0.0072018751, 0.0169805903, 0.0364383236, -0.0460028499, 0.0177944899, -0.0762594119, 0.0573806837, -0.0062742434, -0.0063919057, -0.0443540402, 0.001726045, -0.0007723983, -0.0170883425, 0.0139410868, -0.0097555649, -0.009569074, 0.0637749583, 0.0135929352, -0.0183048993, 0.0137315672, 0.0788129941, -0.0127163781, 0.0250254497, -0.0513478257, 0.010994046, 0.0497685559, -0.0086576603, -0.0928268954, 0.00097215, -0.0417412892, -0.0119776186, -0.0003386085, 0.0324740373, 0.0728906542, -0.0271332599, -0.0070513771, 0.0596467033, 0.0585980639, 0.026302442, 0.0242354814, -0.0089676436, 0.0289798342, 0.0080349976, -0.0005726654, -0.0435870737, 0.0424613245, -0.0050803786, -0.0145634897, 0.0437175259, 0.028088022, -0.0274714716, -0.022925606, 0.0167323779, -0.0515054241, -0.0079985224, 0.0117045129, 0.039424371, -0.0134919928, -0.0426089838, 0.0699706227, 0.0092795389, -0.067821309, -0.0477002524, 0.0106050204, 0.0181642286, 0.0123796016, 0.0053552408, -0.0487524197, 0.0037479091, -0.0528043322, -0.006023088, 0.0326537788, -0.0633487105, 0.0372230709, 0.1169553846, -0.052241385, -0.0034227874, 0.0388079323, -0.0127494866, -0.0167167671, 0.0139629869, -0.0201278795, 0.007796884, 0.0325848199, 0.05143217, -0.0035657138, 0.0068673324, -0.044476226, 0.0214964617, 0.0221296232, 0.0520082153, 0.024796892, -0.0284460131, 0.0179739706, 0.0340181179, -0.08469069, 0.046342086, 0.0487960614, -0.0617047995, 0.0124810813, 0.0457837656, -0.0090929959, 0.045484174, 0.0592706725, 0.0100214863, -0.0563282631, 0.0351027735, 0.0080037182, 0.0158514176, 0.001197851, 0.0391098447, 0.0582287051, 0.0233006813, 0.0298837908, -0.0247869026, 0.0008742539, 0.0037951169, -0.023735879, 0.0269712694, -0.0322510414, -0.0268217977, -0.0200077835, 0.0337763131, -0.0382104851, 0.007995504, -0.0196198039, -0.0085219936, -0.0402762331, -0.0113625824, -0.0205890965, 0.0486987904, -0.0437218659, -0.0064726779, -0.015690295, 0.0201264322, 0.0316754542, 0.0044496614, -0.0088300211, -0.0270469841, -0.0211283863, -0.0044500162, -0.043703258, -0.0431869291, -0.0089741945, -0.0302126091, -0.0176001582, 0.0456495136, -0.0050204694, -0.0370053686, -0.0236507133, -0.017024288, 0.0099920826, 0.0061215512, 0.0463012792, 0.0206507854, -0.0225048997, 0.0061743855, -0.008938184, 0.0538238361, 0.026705496, 0.0002469191, -0.0228761379, -0.0093955873, -0.0221702103, 0.0076603079, 0.0323436446, 0.0048625316, 0.0593276955, 0.0148749547, 0.0379085876, -0.01695011, 0.0614853539, 0.0129759731, 0.0473808795, -0.0368947275, -0.0110610574, -0.0253320951, -0.0363058858, -0.0007979462, 0.0016925709, -0.0393735245, -0.012135528, -0.0332756825, -0.0057815388, 0.0000204382, -0.0455011241, -0.022143824, -0.032994926, -0.0413146876, -0.0012928685, 0.0138655063, -0.0286796857, -0.0238395873, -0.0417395905, -0.0192189552, -0.0108003737, 0.0000984692, -0.0446475782, -0.0673875809, 0.0650853366, -0.0183116961, -0.0134017793, -0.0113290846, -0.0344747901, -0.0433207229, 0.0474441387, -0.0154133849, 0.0068368558, 0.0270486325, -0.0331920274, -0.051527705, 0.0460564867, 0.0681446493, 0.0772802383, 0.0079662949, 0.0340545103, -0.0197267402, 0.0591294244, 0.0117775667, 0.0434752144, 0.0447761677, -0.0209739693, 0.0539194271, 0.0264716092, 0.1268561035, 0.0021526797, -0.0339843407, -0.0211682487, 0.0075371703, -0.0057683978, -0.0177989416, 0.0367117636, 0.0485334136, -0.0657052323, -0.0121706892, 0.0849115252, 0.028882917, -0.0879687071, -0.0168363117, 0.020514138, 0.0031243656, 0.0012937852, -0.0383097827, 0.0136529058, -0.0328976139, 0.0499846302, 0.0261492226, 0.0085218828, 0.0014225678, -0.0154878888, -0.0777880549, 0.0095080854, 0.0195621792, 0.005087832, -0.0295230635, -0.0267020855, -0.0152777471, -0.0314800143, 0.0223038439, 0.0171277113, -0.0092637986, -0.0309014209, 0.0317277461, -0.0739251375, 0.025246365, -0.0388871618, -0.0408670716, 0.024837371, 0.0199452359, 0.0112658311, -0.014157136, -0.0397651382, 0.0169313774, -0.0110497037, -0.0409797132, -0.0111936629, 0.0049912347, -0.0048109158, 0.0049842843, 0.0097884377, 0.0236642584, -0.0552323237, -0.0172477607, 0.0431827009, 0.0183104631, -0.0033062615, -0.0105962474, -0.0021573503, 0.0269358531, -0.0155340545, 0.0665999949, 0.0067639952, -0.0421992391, -0.0656965747, 0.0085327821, 0.0339829586, -0.0179671571, -0.0082738623, -0.0214525424, 0.0493981168, -0.0797992647, -0.0054927096, -0.0131937573, 0.021577172, 0.0591181703, 0.0099964067, 0.0182597041, 0.0348066613, 0.0497507192, -0.0610327087, -0.0049051172, 0.0106304679, 0.0151688503, -0.0787540674, -0.0053210561, 0.0240184255, -0.016620405, -0.0167781655, 0.0698708519, -0.1243496463, -0.0365003645, 0.0595626682, -0.0213447381, 0.018467119, 0.0437357835, -0.0066881925, -0.0184433665, -0.004516012, 0.0057738652, -0.0472512282, 0.0629684329, 0.0954532027, -0.0170664936, 0.0166641586, 0.0132765723, -0.0394436717, 0.0374345556, -0.0132762697, 0.0280453004, -0.045848731, 0.0312378109, -0.0342012607, -0.0070699607, 0.0796681643, 0.0495549999, 0.0237746481, -0.0095978985, 0.0384875201, 0.0054207547, 0.0516134389, -0.0404126793, 0.0091367979, -0.0366105586, 0.0111484546, -0.0130967619, 0.0077707442, 0.0473973602, -0.0481386632, 0.0447853841, 0.019273011, 0.0092336172, -0.0334479809, 0.0085139591, -0.0242807399, -0.0063366028, 0.0136367222, 0.0602023788, 0.0026940787, -0.0218842309, 0.0204334576, -0.0049375608, -0.0136420559, -0.034182325, 0.015114814, -0.0098632686, -0.0235707015, 0.021832237, 0.0356954262, -0.0069459691, 0.000276928, 0.0426702686, 0.0507764071, 0.0259314086, -0.0384967476, 0.0145938993, -0.001337216, 0.0443432331, -0.0109584806, 0.0304663703, -0.0260639861, -0.0124295242, 0.0485461578, -0.0039144647, -0.0194980521, -0.0124791246, 0.0485748164, -0.0588505231, -0.0024129211, -0.0539510921, -0.0164584536, -0.0156469028, -0.0043658293, -0.0098565249, -0.0306697283, 0.041866865, -0.0356378332, 0.0552932471, -0.0295391902, 0.0106047895, 0.0118922638, -0.0111969095, -0.01289827, 0.038158901, -0.0451938845, 0.0462699495, -0.0324035138, 0.0281588249, -6.62637847e-33, -0.0061586783, 0.0288677737, 0.0233574454, 0.0059162448, -0.0240751095, -0.021675447, -0.0387702882, 0.0067343637, 0.0181996636, -0.0262565594, -0.0123007623, 0.0420086384, 0.0453203842, 0.040050976, 0.0173046105, 0.0121797184, 0.1016253605, -0.019171631, -0.0196626727, 0.0195959397, 0.0378166251, 0.068276912, -0.0137921683, -0.0079697007, -0.0540622286, -0.0340573192, 0.0065063699, -0.0369649492, 0.0489553511, 0.0217071977, -0.0112961521, 0.0204549767, -0.0007947963, -0.0490979701, 0.0121798851, 0.0463926457, -0.078425847, -0.0244392082, 0.0011281258, -0.015022262, -0.0263356809, -0.0480378643, 0.0901819468, 0.0600467995, -0.0142166624, -0.0316819511, 0.019338429, -0.0080992244, -0.0527370349, -0.0086493436, -0.0259111114, 0.0148740951, -0.0036349269, -0.0029280228, 0.0573606491, -0.0158880278, -0.0694228411, 0.0023667195, -0.1595288515, 0.0090630641, -0.0162420385, 0.034834858, 0.0191869251, 0.0473734625, 0.0178808048, 0.0417538509, 0.0702119246, -0.070708625, -0.0129629886, 0.0090267332, 0.0128897941, 0.0459179208, 0.0334719941, -0.0837428421, 0.0566049032, -0.0336995423, -0.0597715229, -0.0497244485, 0.0328876115, 0.0244661793, 0.0515695252, 0.0039219535, -0.0392200202, 0.0247757472, 0.0172164198, 0.0267711189, -0.0278461762, 0.0122326976, 0.0308928229, 0.0471857712, -0.0244295821, -0.0208052099, 0.0532005578, -0.0002796923, 0.0926279202, 0.0364558175, -0.0093018766, -0.0034068755, -0.0050756042, -0.0315370336, -0.0739842355, 0.0056463624, 0.0140860789, 0.0320972279, 0.0138535518, -0.0259999204, 0.00466114, 0.055375129, -0.0572410896, -0.024649933, -0.0367094576, 0.0920531973, -0.0114339227, 0.0798489898, 0.0335250944, -0.0135237724, -0.0013122169, 0.0132988496, -0.0635928735, -0.0131469788, -0.00234327, 0.0106345462, 0.0499880016, 0.0251469761, -0.0317672342, 0.0112716574, -0.0094452361, -0.0079145925, 0.0300556924, -0.0352665372, -0.0122306421, 0.0173648, 2.748e-7, -0.0944816917, 0.0119310338, 0.031955339, -0.037230704, 0.0486572199, 0.0045293034, -0.0070928163, -0.0452565588, -0.0053963065, -0.0091243312, -0.0027914802, 0.0502762869, 0.092365399, 0.0123205055, -0.0882041007, -0.0647825301, -0.0589240603, -0.0076290336, 0.0060513588, 0.0201601256, -0.0056287721, 0.0664562136, 0.0022091158, -0.032573577, 0.0120402118, 0.0012854619, 0.0132150901, 0.0148701174, 0.0422113799, -0.0361799337, 0.0372560397, 0.0102254627, -0.002592996, -0.0674500987, -0.0040745055, 0.0142465774, 0.011612514, 0.0607016385, -0.0194725245, -0.0720440969, 0.0095182154, 0.0465986542, -0.0122279394, 0.0288150627, 0.0241423696, -0.0037058538, -0.0084491689, -0.0022458725, -0.0010117051, 0.0310833603, -0.0401076153, 0.0145303449, -0.0082652736, -0.0296623223, -0.028097257, 0.0014656252, 0.0202323403, -0.0528092496, -0.0191856995, 0.0083547356, -0.0570255704, -0.0135782696, -0.0251023583, -0.0222239252, 0.004979433, -0.012886418, -0.0253619198, 2.119786871e-34, 0.0134916212, -0.0315430798, 0.0151034268, 0.0430838726, -0.0180711616, -0.0346558392, 0.0284135211, -0.0139622213, -0.0548789762, -0.0267920345, -0.0324196666 ]
http://arxiv.org/abs/2407.00886v1
http://arxiv.org/pdf/2407.00886v1
Mechanistic Interpretation through Contextual Decomposition in Transformers
2024-07-01T01:12:20
2024-07-01T01:12:20
Aliyah R. Hsu, Yeshwanth Cherapanamjeri, Anobel Y. Odisho, Peter R. Carroll, Bin Yu
cs.AI
cs.AI, cs.CL, cs.LG
Transformers exhibit impressive capabilities but are often regarded as black boxes due to challenges in understanding the complex nonlinear relationships between features. Interpreting machine learning models is of paramount importance to mitigate risks, and mechanistic interpretability is in particular of current interest as it opens up a window for guiding manual modifications and reverse-engineering solutions. In this work, we introduce contextual decomposition for transformers (CD-T), extending a prior work on CD for RNNs and CNNs, to address mechanistic interpretation computationally efficiently. CD-T is a flexible interpretation method for transformers. It can capture contributions of combinations of input features or source internal components (e.g. attention heads, feed-forward networks) to (1) final predictions or (2) the output of any target internal component. Using CD-T, we propose a novel algorithm for circuit discovery. On a real-world pathology report classification task: we show CD-T distills a more faithful circuit of attention heads with improved computational efficiency (speed up 2x) than a prior benchmark, path patching. As a versatile interpretation method, CD-T also exhibits exceptional capabilities for local interpretations. CD-T is shown to reliably find words and phrases of contrasting sentiment/topic on SST-2 and AGNews datasets. Through human experiments, we demonstrate CD-T enables users to identify the more accurate of two models and to better trust a model's outputs compared to alternative interpretation methods such as SHAP and LIME.
Mechanistic Interpretation through Contextual Decomposition in Transformers: Transformers exhibit impressive capabilities but are often regarded as black boxes due to challenges in understanding the complex nonlinear relationships between features. Interpreting machine learning models is of paramount importance to mitigate risks, and mechanistic interpretability is in particular of current interest as it opens up a window for guiding manual modifications and reverse-engineering solutions. In this work, we introduce contextual decomposition for transformers (CD-T), extending a prior work on CD for RNNs and CNNs, to address mechanistic interpretation computationally efficiently. CD-T is a flexible interpretation method for transformers. It can capture contributions of combinations of input features or source internal components (e.g. attention heads, feed-forward networks) to (1) final predictions or (2) the output of any target internal component. Using CD-T, we propose a novel algorithm for circuit discovery. On a real-world pathology report classification task: we show CD-T distills a more faithful circuit of attention heads with improved computational efficiency (speed up 2x) than a prior benchmark, path patching. As a versatile interpretation method, CD-T also exhibits exceptional capabilities for local interpretations. CD-T is shown to reliably find words and phrases of contrasting sentiment/topic on SST-2 and AGNews datasets. Through human experiments, we demonstrate CD-T enables users to identify the more accurate of two models and to better trust a model's outputs compared to alternative interpretation methods such as SHAP and LIME.
[ -0.0083501041, 0.061936453, -0.013523967, 0.0371771976, -0.0180535391, 0.0060561169, -0.0119773922, -0.0090097003, -0.0455444567, -0.0220101643, -0.0491902493, 0.0009717759, 0.00845984, 0.0341775976, -0.0153905936, -0.0331395045, 0.0274758283, 0.0581927672, -0.0564449579, 0.0153816771, 0.0033080629, 0.0112005966, 0.0147915939, 0.0741956234, 0.0259939786, -0.0158752874, 0.0214491002, -0.0051450618, 0.0486427918, 0.0185270049, -0.0105355419, 0.0430560037, -0.0082079777, 0.0664555281, 0.0000024345, -0.0135575198, -0.034044899, 0.0213218275, -0.0473433584, 0.0064699897, 0.0184631553, -0.0620320886, -0.0143805807, 0.0029923921, -0.008170424, 0.0007732501, 0.0379481688, 0.08718656, 0.0160575695, 0.0293830466, -0.0165383406, -0.0277191401, 0.0042782314, -0.0222396962, 0.0197399445, -0.0203018505, -0.016160354, -0.0649793148, -0.0363820754, -0.035784889, -0.0337280668, 0.0479718409, 0.0521309189, 0.0342636593, 0.0286428146, 0.0498929136, 0.0064870082, 0.0245783366, 0.0018994875, 0.0434064902, -0.0352451652, -0.0267139245, 0.0017343336, -0.0141322175, -0.0151652424, 0.0074551487, -0.0069241701, -0.0154117579, -0.0282387175, 0.0264866482, -0.0321560502, 0.0212221984, 0.028303897, -0.0295072645, -0.0368158221, 0.0180246886, -0.01397538, -0.0007494644, -0.0121160448, 0.0140572162, 0.0119706262, 0.0202077553, 0.0383476242, 0.0061727986, -0.005664364, 0.0039188592, -0.0187493581, -0.0333227776, 0.0124287894, -0.0888350382, 0.0407953151, -0.0050782356, -0.0490889363, 0.0140273729, -0.0076433965, 0.0095556406, -0.0652349815, 0.0475128926, -0.0608443767, 0.0196772013, -0.0446432568, -0.0337967537, 0.0029155507, 0.0095311068, -0.0217651092, -0.0144989109, -0.0535350926, -0.0051263482, -0.0290336274, -0.0432220884, 0.0173110086, 0.0270892493, -0.0425242446, 0.0263766088, 0.0008327446, 0.0427138358, -0.0095817642, -0.0027125913, -0.0455397181, -0.0212550554, -0.0286602043, -0.0008060141, 0.0038587293, -0.0159492139, -0.000165762, 0.1082185134, 0.0149124451, -0.0434558056, -0.0294691529, -0.0535874628, -0.0488749295, -0.0263748337, 0.0231277402, -0.0251330063, 0.0204721689, -0.0009169322, 0.0093968892, -0.0033084734, -0.0106285848, 0.0030420951, -0.0120582404, 0.0785125196, 0.0281339865, -0.038888216, -0.0233919322, 0.0085499436, -0.0025231054, 0.0264112148, 0.0122631919, 0.0618039779, -0.0064748074, -0.0205909032, 0.0052200961, -0.0089206835, 0.0262669586, -0.0435508229, -0.008536228, -0.0289165601, -0.0459171981, 0.0011364578, 0.0117451176, 0.0072202361, -0.0120775988, -0.0455176644, 0.026319813, 0.0100554293, 0.0656078234, 0.0576840602, 0.0073422166, -0.0011811751, -0.0013373035, 0.0023211061, -0.0559005775, 0.0256079398, -0.0542631447, -0.0038923104, -0.0426088385, 0.0129826944, -0.0163020771, -0.0379334129, -0.0054884148, -0.0049068118, 0.0238742884, -0.0047370382, 0.059450008, -0.003278458, -0.0340339579, 0.0465211384, 0.0335218683, -0.0216092076, -0.0410899222, -0.0687254593, -0.0231045838, 0.0437999628, 0.0397846512, -0.0412839241, -0.0290688593, -0.0119754439, -0.0429820158, -0.0158515293, -0.0374086462, 0.0178151038, 0.0225358885, -0.0019625339, -0.0116129313, -0.0064637293, 0.0350832567, 0.0084565561, -0.0296906512, -0.0113688456, 0.0076433308, -0.0155032715, -0.0084276656, 0.022784885, -0.000592126, -0.0172268897, 0.028265072, 0.0608505048, 0.024762718, 0.0336995758, -0.0051065958, -0.0174235478, 0.0425615795, -0.0656013861, -0.0299314093, 0.0683940053, -0.0294267181, -0.01035285, -0.0197660923, -0.0672047585, -0.0350231566, 0.0594308861, -0.0383804291, -0.0056082718, 0.0285326615, -0.0668467432, 0.0184832402, -0.0289949216, -0.0352434702, 0.0045334119, 0.0229302198, -0.0214006472, 0.0662569255, -0.0341705717, -0.0423488468, -0.0023423764, -0.0380429216, 0.0033542085, -0.023451725, -0.028854074, -0.0063778143, -0.0167436786, -0.0295185186, 0.0106667746, -0.0263888128, -0.0066175386, -0.0053771604, -0.0405019522, -0.0164078679, -0.0325119942, 0.0151051749, 0.0389470495, -0.0019106304, 0.0388729386, 0.0118029499, 0.0081814397, 0.0053624404, 0.0083165085, 0.00826615, 0.0467476137, 0.0061884578, -0.0171777587, -0.0047271871, -0.0336112417, -0.0480228066, 0.0848463774, 0.0169425085, -0.0164990909, -0.0406723097, -0.0031607517, 0.0520837232, -0.0057850135, -0.0102307666, -0.0660347566, -0.0159409437, -0.0238086544, -0.0006290629, 0.0754038244, 0.0151660247, 0.1058444381, 0.0268638469, 0.0204462018, 0.0099021289, 0.0006739126, -0.0392978266, 0.0195598435, -0.0261090714, -0.0547775626, 0.0088094408, 0.065211542, 0.0128462408, 0.0124482354, -0.0620428361, 0.0029269638, -0.0036138098, -0.0014046893, -0.0263649952, -0.0197009947, 0.0039288346, 0.0129855322, 0.0012771996, -0.025083255, 0.0955454931, 0.0210859384, 0.0168321896, -0.0510560498, -0.0409552976, -0.0424700826, 0.081439428, -0.0010520007, 0.0282167047, 0.0441521853, 0.0016332261, 0.0089126267, -0.0021723628, 0.0151023883, -0.0165414549, 0.0621540882, 0.0171790682, -0.0008817445, -0.0035319538, -0.0306659397, -0.0315646902, -0.051135473, -0.0040807244, 0.0103735635, 0.0401193127, -0.04578517, -0.0578370877, 0.0381503478, 0.0145646166, 0.0216897372, 0.0182204712, -0.0290969461, -0.0120114125, 0.0394034237, -0.002049312, 0.0127606839, 0.0700252429, -0.032523565, 0.0209458638, 0.0625137761, 0.0251931343, 0.0150668453, -0.0643355176, -0.0116103552, -0.0347179584, -0.0099212779, 0.0204429403, -0.0309486594, -0.005945445, -0.0813787207, -0.0271786284, 0.0667160079, 0.0098712482, -0.0874518529, 0.0458352044, 0.0246193036, -0.0428826883, 0.0043087471, 0.024382025, -0.0541500226, -0.0430645235, -0.0052573341, 0.0264370013, 0.0080275992, 0.0002767874, 0.023131581, -0.0278755818, 0.0458956622, 0.000468599, -0.0702608004, -0.0790413544, -0.0506817661, -0.0262001958, -0.0617232807, -0.0005248037, -0.0144421868, -0.0052317483, 0.0022424231, -0.0240318626, -0.0257182084, -0.0524150766, 0.0320353173, 0.0034987668, -0.013358783, 0.0777723342, 0.0005420407, -0.0089600701, -0.0050082123, 0.0132923387, -0.0151329627, 0.0535736866, -0.0159947723, 0.0708239451, 0.0172929987, -0.0186717454, -0.0407219008, 0.0431544557, -0.0658137798, -0.0236936472, -0.0764424503, 0.0677290112, -0.0462079346, -0.0397504941, -0.0463300906, 0.007319408, 0.0210063625, 0.0676789284, 0.0414397195, -0.0441892147, -0.051916562, -0.0092829838, 0.022240404, -0.0195941962, -0.0934494883, 0.010516339, 0.0176914949, -0.0881948173, -0.0173781905, -0.0261291191, -0.0271311048, 0.0183208119, -0.0168846939, -0.0524721108, 0.0145871006, -0.0028776494, -0.0849176273, 0.062047638, 0.0345277824, 0.0246329159, -0.0338799581, -0.0089677377, 0.0757010132, -0.0627133697, -0.0710361302, 0.0306735728, -0.0657324046, -0.0102347527, 0.0460168235, 0.0188324619, 0.0185924005, 0.0316781178, -0.0204772539, -0.0367977284, 0.0158803482, 0.0680990517, -0.0022717898, 0.0216277242, 0.044362735, -0.0003360253, -0.0082538472, 0.016244106, -0.0021468813, 0.0489633568, 0.0182629861, 0.0048259869, -0.0426162779, 0.0032571619, 0.0360671058, -0.0028358065, 0.0873278305, 0.0406413861, -0.0170393325, -0.0100809252, 0.0275569391, 0.0290713776, 0.0173619352, -0.039125178, -0.0319661424, 0.0123001384, -0.0332371369, -0.0390356705, 0.0193646867, 0.0184781756, -0.0257224254, -0.0814023092, 0.052968353, 0.0518417731, -0.0069044661, -0.0152187543, 0.0300957691, -0.0096806157, -0.0041616079, 0.006762445, 0.0206536856, 0.0040861326, 0.0102593964, 0.0209379662, 0.017790528, -0.0700965747, 0.0404269435, -0.1130950302, 0.0062950742, -0.0121552479, -0.0036312819, 0.0247252509, -0.0393866859, 0.0106221996, -0.0407293178, -0.0016751847, -0.023877332, 0.0234844014, -0.0077619888, 0.0226542298, 0.0318146348, 0.0193240047, 0.0049321167, -0.0445371717, 0.0630296916, -0.014048906, 0.0263503566, -0.0217322651, -0.0335661508, -0.0282456353, -0.0234437939, 0.0046982928, 0.0050941645, -0.0347415432, -0.0022740818, -0.0792644247, -0.0409194864, 0.0693561882, -0.0145022068, 0.0287307166, -0.01813774, 0.0266897865, 0.0506974459, 0.033058729, -0.0163380783, 0.0205246396, 0.0279120244, -0.0300066434, -0.0241747443, -0.0029379888, -6.797692078e-33, 0.027360972, -0.049858354, -0.0281951297, -0.0080932546, 0.0084374705, 0.042879276, -0.0416791514, -0.0246385299, 0.0106214406, 0.0398249552, -0.0035039261, 0.0259638987, 0.0015334552, 0.0189095829, -0.021626329, -0.0424856171, 0.0637415424, 0.0348889306, 0.009554863, 0.0321066305, 0.0681613237, 0.0558589809, 0.0780424178, -0.1015967205, -0.0260007996, 0.0110717649, -0.0115385223, 0.0181491598, -0.0385832265, 0.0715736523, -0.0212738793, 0.0539185815, 0.0301018879, -0.0493163913, -0.0108306529, 0.0046679629, -0.0653361678, 0.0114065325, -0.0203719921, 0.0248681996, -0.0468876436, -0.0370631851, 0.0844741613, 0.0052981987, -0.0185158309, -0.0325921215, 0.0414452292, -0.0076995799, 0.0291557834, -0.0492080599, -0.0438862741, 0.0201051328, -0.0178943593, -0.0294942446, 0.0363145992, 0.0355677381, 0.003598551, 0.079672195, -0.0849733576, 0.0030359542, 0.0180544052, 0.0206014328, 0.0384046845, 0.0129429968, -0.0110647939, 0.048447974, 0.0365808532, -0.0082548521, -0.0365250595, -0.0250729285, 0.0236083865, 0.0648715422, 0.043652676, 0.0272058416, 0.0743926167, -0.003928232, -0.097295709, 0.0220576078, -0.0144514237, 0.0467164107, 0.0677066743, 0.0134250652, -0.0238604061, 0.0206153896, 0.0048265029, -0.0179347638, -0.036380697, 0.001490347, 0.0103189703, 0.0056269164, -0.0459624119, 0.0254311953, 0.0134192174, -0.0584434159, 0.0561698489, 0.0491513945, 0.0451119356, 0.0141903926, 0.0071886075, -0.0263465736, -0.0020075082, 0.0205860678, -0.0050354186, 0.0148446066, 0.0222429335, -0.016334936, 0.0343474299, 0.0269498266, -0.0026032026, -0.0043606362, -0.0184115339, 0.0040264479, -0.0406004377, 0.0367909707, 0.0428082012, 0.0239777863, -0.0140440613, 0.0275292601, 0.0031759304, 0.0562030487, -0.008458226, 0.0535102151, 0.0074228114, 0.0348016843, -0.0021869862, -0.0440889448, -0.0013085866, 0.0252544079, 0.0342316926, -0.0803559273, -0.0241418779, 0.02996796, 3.212e-7, 0.0667523667, 0.0444293842, 0.0294504184, 0.0024014371, 0.0576653741, 0.038290225, 0.023603892, 0.0133786378, -0.0308589973, -0.0148405991, 0.039057333, 0.0295460429, 0.0448277816, 0.0193279069, -0.0465465859, 0.0111703733, -0.0656724423, 0.0192197841, -0.0030773126, 0.0297311712, 0.0482798144, 0.0928887203, -0.0161483698, -0.0293646734, 0.0474342853, 0.0523080602, 0.0332580023, -0.0534268208, 0.0513390675, -0.0181068741, -0.0450003333, -0.0516524948, -0.0066865566, 0.0034398835, -0.0158658437, -0.0073345224, -0.0007920616, 0.0554537661, -0.025703935, -0.0660741776, 0.0009233219, 0.0157888643, 0.0306155402, -0.0185615886, 0.0479051806, -0.0750527829, -0.0532594137, -0.0723456666, -0.0035077492, 0.0117965611, 0.0432178862, 0.0121382074, -0.0097328275, 0.0261080321, -0.0380030125, -0.0290988497, -0.017665023, -0.0841136128, -0.0035534867, 0.0185967609, -0.0455799401, 0.0074330554, -0.0454682186, -0.025812475, 0.0978232771, -0.0308024995, -0.0484269448, 3.230783775e-34, 0.0373851359, 0.0181525405, 0.009354163, 0.0446211696, 0.0146136209, 0.0100457529, 0.0325527973, -0.0289531406, 0.017683072, -0.0907571688, -0.0277570933 ]
http://arxiv.org/abs/2407.00870v1
http://arxiv.org/pdf/2407.00870v1
Roleplay-doh: Enabling Domain-Experts to Create LLM-simulated Patients via Eliciting and Adhering to Principles
2024-07-01T00:43:02
2024-07-01T00:43:02
Ryan Louie, Ananjan Nandi, William Fang, Cheng Chang, Emma Brunskill, Diyi Yang
cs.CL
cs.CL, cs.HC
Recent works leverage LLMs to roleplay realistic social scenarios, aiding novices in practicing their social skills. However, simulating sensitive interactions, such as in mental health, is challenging. Privacy concerns restrict data access, and collecting expert feedback, although vital, is laborious. To address this, we develop Roleplay-doh, a novel human-LLM collaboration pipeline that elicits qualitative feedback from a domain-expert, which is transformed into a set of principles, or natural language rules, that govern an LLM-prompted roleplay. We apply this pipeline to enable senior mental health supporters to create customized AI patients for simulated practice partners for novice counselors. After uncovering issues in GPT-4 simulations not adhering to expert-defined principles, we also introduce a novel principle-adherence prompting pipeline which shows 30\% improvements in response quality and principle following for the downstream task. Via a user study with 25 counseling experts, we demonstrate that the pipeline makes it easy and effective to create AI patients that more faithfully resemble real patients, as judged by creators and third-party counselors.
Roleplay-doh: Enabling Domain-Experts to Create LLM-simulated Patients via Eliciting and Adhering to Principles: Recent works leverage LLMs to roleplay realistic social scenarios, aiding novices in practicing their social skills. However, simulating sensitive interactions, such as in mental health, is challenging. Privacy concerns restrict data access, and collecting expert feedback, although vital, is laborious. To address this, we develop Roleplay-doh, a novel human-LLM collaboration pipeline that elicits qualitative feedback from a domain-expert, which is transformed into a set of principles, or natural language rules, that govern an LLM-prompted roleplay. We apply this pipeline to enable senior mental health supporters to create customized AI patients for simulated practice partners for novice counselors. After uncovering issues in GPT-4 simulations not adhering to expert-defined principles, we also introduce a novel principle-adherence prompting pipeline which shows 30\% improvements in response quality and principle following for the downstream task. Via a user study with 25 counseling experts, we demonstrate that the pipeline makes it easy and effective to create AI patients that more faithfully resemble real patients, as judged by creators and third-party counselors.
[ 0.0874902532, 0.0234684404, -0.0284835193, 0.0051043481, -0.0480909087, -0.0097655207, 0.0289189536, 0.0057419706, 0.0585506298, 0.0364208594, -0.026379196, -0.0417639352, -0.0066961679, 0.0226974413, 0.0019554559, -0.071057342, -0.0003532973, 0.007161953, 0.05460307, 0.0086132567, -0.0221135356, 0.0248753149, -0.0620684251, 0.0422752611, 0.0017324749, -0.0105264811, -0.0018921886, 0.0448580272, 0.0291360002, -0.0697449893, -0.0005201199, 0.0352127925, 0.0240935441, -0.0419369563, 0.0000022773, -0.0351218805, 0.0001866002, 0.01495119, 0.0101934457, -0.0598992147, 0.0187482517, -0.00500644, 0.009165612, 0.0203671418, -0.0511157177, 0.0114605809, 0.0272878129, 0.0354798101, 0.0663060546, 0.0431430675, -0.0188517962, 0.0232526213, -0.012453177, -0.0075997668, 0.0170753505, -0.0214552917, -0.0078846933, 0.0265700072, 0.110516265, -0.0405076481, 0.0176930912, 0.0226329789, 0.0030690797, 0.0115331067, 0.0094607053, 0.0317803919, 0.0348919295, -0.0217717066, 0.0024233784, 0.067419976, 0.0850935876, 0.0416466147, 0.0270843096, -0.0053780093, 0.0697213933, 0.0686894283, -0.0279625803, 0.0003538303, -0.024954427, 0.0145266252, -0.0160449669, 0.0103327641, 0.0210923143, -0.0181466863, 0.0729667321, 0.0069375494, -0.0035857591, -0.020325454, -0.028999811, -0.0034062399, -0.0118748033, -0.0468445346, 0.01546585, 0.0503127314, -0.0826033354, -0.0028845377, -0.0410130434, 0.0485246442, 0.0339252986, 0.0356174223, 0.0534644276, 0.0314091109, 0.0058358833, 0.0026296161, 0.0472880937, -0.0129810385, -0.0008491194, 0.0024802459, -0.0058667045, 0.0372396111, -0.0571152978, 0.0037045567, -0.0220834706, 0.0307109561, -0.0350182913, 0.0017615661, -0.0228258111, 0.0085488008, -0.0632088333, 0.0407199413, 0.0031784202, 0.0338096693, -0.010344252, 0.019418709, -0.0540172495, -0.0180439726, -0.0337867551, 0.0085566677, 0.006957165, -0.0884687379, 0.0081392108, -0.0100203697, -0.0324841589, 0.0018021775, 0.0310326032, 0.0852120519, 0.0145983165, -0.0041978545, -0.0134358499, -0.0497368872, 0.0110975374, -0.0227272082, 0.0461906232, -0.0548369177, 0.0368619934, -0.0394001193, 0.025356086, -0.0708089024, 0.0250508972, 0.026301628, -0.0285354238, 0.1157254726, -0.0672403723, 0.0146327149, 0.0124058528, 0.0851695091, -0.0296453554, 0.0205587801, 0.0206507836, -0.0306890849, 0.0090597402, -0.0170628913, 0.0622206144, -0.0030825732, -0.0098061124, -0.0176632442, 0.0368096977, -0.0068366122, -0.0382060185, 0.1069144607, -0.0274656285, 0.0068329778, -0.0432785898, 0.0165985245, 0.0440137461, 0.0893656462, 0.0454339087, 0.0417718925, 0.0110184234, 0.028132271, 0.0044303588, -0.0057651103, -0.0515252799, 0.0653837398, 0.0142887915, -0.0268807691, -0.070960626, 0.0154970009, -0.0311351717, -0.019282002, 0.0092984084, -0.0183521584, -0.0301469695, 0.0052981563, -0.063340649, -0.0015712996, -0.0129148858, 0.0300289113, 0.0191919934, -0.0361573733, -0.0164216738, -0.0688073784, -0.0019329233, 0.1429167092, 0.0639204383, -0.0572850965, -0.0408064835, -0.0371467024, -0.0076037031, 0.0345714763, 0.0306838881, -0.0011102738, -0.0027284282, -0.0103037935, -0.0154213551, -0.0182988644, 0.0035018688, 0.0171163008, -0.0010424984, -0.0003938015, -0.0344478823, 0.0261481851, 0.0219892804, 0.0434239693, -0.0899849236, -0.0382289141, -0.0001519736, -0.0134517616, 0.0495334305, 0.0451746099, 0.0145688904, 0.0104609057, 0.0202194024, -0.0033243245, -0.015238381, 0.0251807533, -0.0347056128, 0.0195289534, 0.0089393724, -0.0502809435, -0.0110261096, -0.0041490905, -0.0008014547, 0.0018791673, -0.0049873968, 0.0096882423, 0.0471946746, -0.0144022731, -0.0100513175, 0.0254975408, 0.0032483251, -0.0332125649, -0.0261534732, -0.0201797429, -0.0181578659, 0.0223988574, -0.0153922504, -0.056120351, -0.0370288938, 0.0305149015, -0.0017725497, 0.004030054, 0.0049179657, -0.057419274, 0.0310683828, -0.0578883439, -0.0285319891, -0.0993667766, -0.0050155162, 0.0042606792, -0.0380050354, 0.017634606, -0.038976077, -0.0450627878, -0.0163866989, -0.0290727708, -0.0240260046, 0.0228949748, -0.0104358792, 0.0353531167, 0.0211907979, -0.0196356457, -0.0202886704, 0.0152701372, -0.013864127, -0.0104338145, -0.004609663, 0.0291115139, -0.0285483524, -0.0192854945, -0.0219424199, 0.0083733806, -0.0136984596, -0.0154192019, 0.0363122858, 0.0083511099, 0.0176251698, -0.0163185745, -0.009131344, 0.0349966884, 0.0395918116, -0.0074034785, -0.0293355938, 0.0106550585, 0.0064388313, -0.0105648311, -0.0540682599, -0.0584166236, 0.024122322, 0.0184798818, 0.003301278, 0.0416306071, -0.0454502515, 0.0302740913, 0.0278275926, 0.0060822866, 0.0692187399, -0.0312297661, -0.0276059974, -0.0048881965, -0.0025859969, -0.0052306149, 0.0832011849, -0.0167116821, -0.01917281, -0.0130494339, -0.0261714291, -0.0332525596, 0.0268094093, -0.0271073077, 0.0002908232, 0.0207776893, -0.0022937548, 0.0068652406, -0.0199341197, -0.0055819536, -0.0347518288, 0.0482032523, -0.0778211504, -0.0180073064, 0.0131293237, 0.0121305566, -0.041226089, -0.0083720861, -0.0384896956, -0.0023795394, 0.0062628356, -0.0159432851, -0.0180495158, -0.0598490201, 0.0233915262, 0.0414625779, 0.0209994465, -0.0389671214, -0.006829347, -0.0139647741, 0.0260296892, 0.0170661137, -0.0026927709, -0.0056755389, 0.0385496989, 0.0590513423, -0.0179964174, -0.0074506537, -0.0038473918, -0.005097576, 0.0067670881, 0.0035153683, 0.0150743499, 0.0506324284, 0.0298678279, -0.0004984631, -0.0126824705, 0.1008234248, 0.0205539335, -0.0442195721, 0.0442005023, -0.0603896864, 0.0021121381, 0.0034431522, -0.0149219939, -0.0602132939, -0.0067992602, -0.0258520972, 0.0553561151, -0.0292395838, -0.060554184, -0.0059588491, -0.0516598038, 0.0759206638, -0.0152509967, 0.0042434549, -0.0138337715, 0.0126526328, 0.0321320333, 0.0068742605, 0.0057357005, -0.0326046161, 0.0032309887, 0.012192551, -0.0117419418, -0.0474373437, -0.0416157097, 0.0535185747, -0.0252994038, 0.1317155063, 0.0369362757, 0.0450509936, -0.0080184955, -0.0644819885, -0.0615147911, 0.0838859677, 0.0655981824, 0.0045055375, 0.0424699783, -0.0134353647, 0.0399249904, -0.0367947035, 0.0563172884, -0.0490126126, -0.0250796285, 0.0353591554, 0.07127662, -0.0662968233, -0.0395336039, -0.0270471331, 0.0516918488, 0.0502523892, 0.0381566398, 0.0220018327, -0.0358780548, 0.0330392569, 0.0287014041, 0.0492173471, -0.0098429453, -0.063906312, -0.033456549, 0.0063178926, 0.0360189937, -0.042502068, -0.0349876024, 0.0510077216, 0.0227748901, -0.0208416115, -0.0343727805, -0.010800302, 0.0213579666, 0.0040096371, 0.0454635136, -0.0070992019, 0.0278378204, -0.0176545344, -0.0267600343, 0.0298371036, -0.0541290902, 0.0156325046, 0.0029659655, 0.0221082121, -0.0136668021, 0.0351137072, 0.0737008378, 0.0274990853, 0.0276763774, 0.0212843101, -0.0077914665, -0.0140470415, 0.046990525, -0.0631296337, 0.0083717452, 0.0116689596, 0.0397574343, -0.0025386182, 0.0079844631, 0.0127698611, 0.0296089444, 0.0001965079, 0.0152291907, -0.0162398852, -0.0687999576, 0.0078407107, 0.0353840329, 0.0224556345, -0.0362219103, 0.0187069513, 0.0127891032, -0.0072499509, -0.045941107, 0.0359827913, -0.0502471291, -0.037964683, 0.0041631586, -0.0318027735, 0.0249631014, -0.0496751554, -0.0808228776, -0.020419661, -0.0487207212, 0.0268580168, 0.0252637677, -0.0011233154, -0.0068208445, -0.0181811713, -0.0014029273, 0.0424554087, -0.0216897521, 0.0383801945, 0.0195291955, 0.0691680461, 0.0042145927, -0.0085458914, 0.0112971272, 0.0523113161, -0.0247196481, -0.1381421685, -0.0109974276, 0.053809382, 0.0189273879, 0.0568786897, -0.0152944829, -0.0590365529, 0.0381404907, 0.0338815376, -0.0027170125, -0.0205809381, -0.0221899375, 0.025902601, 0.0259666797, -0.0158368014, -0.0460268185, 0.0246128365, -0.0423982665, 0.0281481054, -0.0260512438, -0.0045456733, -0.0458649173, -0.0532777868, 0.0197476, 0.0219721291, -0.038024269, -0.0129442811, -0.0887244716, -0.0289881676, 0.0056154742, -0.0184300728, -0.0411964692, -0.0769404173, 0.0246042516, -0.0068803732, 0.0122044263, -0.0286021829, -0.0216751471, 0.0131630199, -0.0155237066, -0.0034484039, -0.0409494154, -5.866840142e-33, -0.0175776575, -0.0654736012, 0.0495750681, 0.0102424622, -0.0264400337, -0.0216263104, -0.0367950201, 0.0185783971, 0.0105577363, 0.0077680429, 0.0030906491, 0.023707144, -0.0078751529, -0.0042750714, 0.0075130826, -0.0364427045, 0.0354227871, -0.0190637317, -0.0129809696, 0.0129255066, -0.0756220967, 0.0302019212, 0.0040640151, -0.1202427149, 0.0431898348, -0.0111570796, -0.0321141183, -0.0029200152, -0.0332813077, 0.0018798816, -0.0062755779, 0.0084798234, 0.0259395987, -0.0099034058, 0.0063596014, 0.000378566, -0.0209919214, -0.0440711007, 0.0215836689, -0.0689474642, -0.0776279569, -0.0034833259, 0.0036586968, -0.0191861819, -0.008328923, -0.0101280725, 0.0343097597, -0.0228857957, 0.0322870538, 0.0107751573, -0.0330115296, -0.0190350469, -0.0163088441, -0.0146310329, -0.0156323239, 0.0414786264, -0.0303085353, 0.0021758191, -0.0684789345, 0.0104723908, 0.004153484, -0.0316750668, 0.0115531646, -0.0283504725, 0.0142512545, 0.0293863695, -0.0087746829, 0.0286876559, -0.0799240246, -0.0205490459, -0.0230771005, 0.0733276308, 0.0479205139, 0.0433243811, -0.0128831211, -0.0107515771, 0.0145431245, 0.0358448029, -0.0242099445, 0.0133642089, 0.0129078692, 0.0050157113, -0.0531844683, -0.0006006351, 0.0022761608, 0.0094267353, 0.0034443808, -0.0650185794, -0.0009625894, -0.0262844637, -0.0105818287, -0.0136670843, -0.0423036665, -0.0052997605, 0.017244637, -0.0390593745, 0.036833372, 0.0181448348, -0.0204520468, -0.0322539136, -0.0343291834, -0.0071040774, 0.0220462326, -0.0160557106, 0.0774425417, 0.0308714341, -0.0065700924, 0.0012757493, -0.0499645583, -0.0187337231, 0.0034796658, 0.081210278, 0.0518344902, -0.0023897421, -0.040539708, -0.0188858584, -0.030512711, 0.0220161919, -0.0041827592, -0.013087485, -0.0607278086, 0.0403257087, -0.0434013605, -0.0136673581, -0.0116597535, -0.0183750093, -0.041146528, -0.0081765391, 0.0599755459, -0.0141304862, -0.0188902989, -0.0474984199, 3.132e-7, -0.0266755186, 0.0306276456, 0.0188490748, 0.0181989204, 0.009547255, 0.0329716504, -0.0062273629, 0.0542612933, 0.0258211773, -0.0626847968, 0.0680852309, 0.0414964221, 0.0206345115, 0.0556198917, -0.0388083681, -0.0314136706, 0.0013968927, -0.0076267933, -0.0254620016, -0.0062757898, 0.0526180267, -0.0250716973, 0.0329170674, -0.0401605964, 0.0250803996, 0.0340804718, 0.0084881056, -0.0831226557, 0.0173716787, 0.0511903502, 0.0484291613, -0.0387755036, 0.018271111, 0.0455046296, -0.0309570059, -0.0281198919, -0.0359129421, 0.1095556095, -0.0498987921, -0.013155181, -0.0004667797, -0.0042445124, 0.0191338565, -0.0067394176, -0.0046222419, -0.0771921948, -0.0430823714, -0.0034394716, -0.0407120325, -0.056671869, 0.0230294801, -0.0214677043, -0.0102252718, 0.0294657089, 0.0035461974, 0.0101172552, 0.0031312658, -0.0208577197, 0.0108917151, -0.0042177285, -0.0540137663, -0.0117576802, 0.0382210165, -0.0326086804, -0.0468466654, -0.0626065135, 0.0245058723, 2.7098708e-34, -0.0158821587, 0.0573415197, 0.0353278071, 0.04261446, 0.0426931158, 0.0534724444, 0.0130019784, 0.0582628548, 0.0262067467, -0.0102882283, -0.0208115764 ]
http://arxiv.org/abs/2407.00869v1
http://arxiv.org/pdf/2407.00869v1
Large Language Models Are Involuntary Truth-Tellers: Exploiting Fallacy Failure for Jailbreak Attacks
2024-07-01T00:23:43
2024-07-01T00:23:43
Yue Zhou, Henry Peng Zou, Barbara Di Eugenio, Yang Zhang
cs.CL
cs.CL, cs.AI
We find that language models have difficulties generating fallacious and deceptive reasoning. When asked to generate deceptive outputs, language models tend to leak honest counterparts but believe them to be false. Exploiting this deficiency, we propose a jailbreak attack method that elicits an aligned language model for malicious output. Specifically, we query the model to generate a fallacious yet deceptively real procedure for the harmful behavior. Since a fallacious procedure is generally considered fake and thus harmless by LLMs, it helps bypass the safeguard mechanism. Yet the output is factually harmful since the LLM cannot fabricate fallacious solutions but proposes truthful ones. We evaluate our approach over five safety-aligned large language models, comparing four previous jailbreak methods, and show that our approach achieves competitive performance with more harmful outputs. We believe the findings could be extended beyond model safety, such as self-verification and hallucination.
Large Language Models Are Involuntary Truth-Tellers: Exploiting Fallacy Failure for Jailbreak Attacks: We find that language models have difficulties generating fallacious and deceptive reasoning. When asked to generate deceptive outputs, language models tend to leak honest counterparts but believe them to be false. Exploiting this deficiency, we propose a jailbreak attack method that elicits an aligned language model for malicious output. Specifically, we query the model to generate a fallacious yet deceptively real procedure for the harmful behavior. Since a fallacious procedure is generally considered fake and thus harmless by LLMs, it helps bypass the safeguard mechanism. Yet the output is factually harmful since the LLM cannot fabricate fallacious solutions but proposes truthful ones. We evaluate our approach over five safety-aligned large language models, comparing four previous jailbreak methods, and show that our approach achieves competitive performance with more harmful outputs. We believe the findings could be extended beyond model safety, such as self-verification and hallucination.
[ 0.0294221509, 0.0658179671, -0.0155165708, 0.0469426699, -0.0663146004, -0.0160903782, 0.0208835043, -0.0089861229, 0.0340917744, -0.0295344628, -0.0224969666, -0.0141359968, 0.0199293848, 0.0034189397, 0.069387801, 0.0214693546, 0.0608738959, -0.0388159044, 0.0018093309, -0.0268549249, 0.0112953261, -0.0156712402, 0.0245706905, -0.0020998535, -0.0214993004, -0.020098513, -0.0193043761, 0.0272413362, 0.0041668168, -0.0028386437, -0.0076130908, 0.0317232497, -0.0067511778, 0.0664393157, 0.0000021647, -0.0201490112, -0.0229757782, 0.0328223854, -0.0472097471, 0.0542096235, 0.0135725019, -0.052642554, -0.0258418284, 0.0228471998, -0.007367345, 0.0020157706, 0.021315245, 0.0766562372, 0.0757096484, 0.1099300981, 0.022672696, -0.019448176, 0.0654965863, -0.0154668335, 0.0137397172, -0.0389713533, 0.0270020571, 0.017158594, -0.015463857, 0.0361692682, 0.029503027, -0.0147073148, 0.0211187657, -0.007359108, -0.0654188469, -0.0074362694, -0.0375619046, -0.0169119388, 0.0021842781, 0.0104017174, -0.0243023578, -0.0500772819, 0.0164086353, 0.0120794764, 0.0157304276, 0.0316063128, 0.0270960517, 0.063959904, -0.0226952638, -0.0253564529, 0.0628113896, -0.0123813907, 0.0849559158, -0.0091795139, 0.0098131485, 0.0494404286, 0.0089864628, -0.0319334827, 0.0148976371, -0.0562279895, 0.01177321, -0.0681036487, -0.026926918, 0.0134308692, 0.0006028843, 0.0353639796, -0.0758828446, 0.0152870929, 0.0547603033, -0.0840415657, -0.0015592916, 0.006058143, 0.0005323946, 0.0034849276, -0.0111984927, -0.013334428, -0.0381397121, 0.0413538441, -0.0121660158, -0.002044834, 0.055345986, -0.0223995633, 0.0043524262, 0.0624524876, 0.0211800355, 0.0276017152, -0.0317548886, -0.0184476189, -0.0699284896, 0.0513607301, -0.0373708941, 0.0222772975, 0.0029648999, -0.0258746445, 0.0001219407, 0.0027632855, 0.0042767138, -0.0003064068, -0.0053679887, -0.0877740458, -0.0299042128, 0.0103705768, -0.0952227488, 0.0046328949, -0.0108819706, 0.0752308816, 0.0341238268, -0.0274985544, -0.0899904519, -0.0656391233, -0.0393182673, -0.0699314848, -0.0048016328, -0.0890063718, -0.0264615752, -0.0342466235, -0.0131637109, -0.083681576, 0.0143509312, 0.0117459763, -0.0367896296, 0.0361440554, 0.0046683098, -0.024388019, 0.0165519938, 0.0512736775, -0.0046062283, 0.0915134922, -0.0080232453, 0.0698478147, 0.0318067744, 0.0040262085, 0.0519890822, 0.0392803513, 0.0367837176, 0.0284167882, -0.043212384, 0.0050361855, 0.0391942225, -0.017177077, -0.0415964611, 0.0439923257, -0.0130856531, -0.0397357382, 0.0718906969, 0.0036687776, -0.000285425, 0.0340590812, 0.0198492594, -0.0625553802, -0.0063207289, 0.0035574618, -0.0561833531, 0.0027184749, -0.1050886661, -0.0170756206, -0.0009721423, 0.0209588502, -0.0076988335, -0.0108165359, -0.0107283797, -0.0099610407, -0.0077426485, 0.0320578627, -0.0151990354, 0.0259226672, -0.0185295362, 0.0970785916, 0.0602589995, -0.0214365181, -0.0241943393, -0.092140533, 0.0033535, 0.0295258835, 0.0584343597, 0.0041025365, 0.0331923217, -0.0309873875, 0.0113391513, 0.0150595708, 0.0383322462, 0.0087086009, -0.02355114, 0.0185364112, 0.0161015652, -0.0291972216, 0.0548264123, -0.009162778, 0.0044901799, -0.0092699863, 0.0033501755, -0.0111257993, -0.0340998173, 0.0197224487, -0.0056399964, 0.0049043559, 0.0007922183, -0.0057813269, 0.0245623384, 0.0042074388, -0.0399166606, 0.0286553949, 0.0560484566, 0.0029278719, 0.0067093186, -0.038170699, -0.0332593992, -0.0066279224, 0.0088594798, -0.0271409731, 0.0082388557, 0.0558744222, -0.0081604319, 0.0230987426, 0.0449320488, -0.0420659706, 0.0182523411, -0.0080331992, 0.0489788614, -0.019419143, -0.0225115027, -0.0099955862, 0.0685227141, -0.0567964688, 0.0324919857, -0.0737311393, 0.0249950588, -0.022317091, -0.0005974833, -0.0293779168, 0.0250391234, -0.0121686039, 0.0187831242, 0.0173184238, -0.0034607898, -0.0145173557, -0.0487100407, -0.0425923467, -0.0117459018, -0.0109443534, -0.0011872458, 0.0240380336, 0.0064964467, 0.0073197517, 0.0124271326, -0.0071601453, -0.0205479078, 0.0077181668, 0.0015073792, -0.0118988575, -0.0168453641, -0.0394438915, -0.0060322266, 0.0248883627, 0.0064091841, 0.0478400849, -0.0317850001, 0.0131368414, -0.0182278436, 0.0157414731, -0.0391396359, 0.0325983204, -0.0298711397, -0.022201458, 0.0365095586, 0.0042903605, -0.0528279319, 0.0677372441, 0.0271299183, 0.0739711747, 0.069108516, 0.0162905362, -0.0173829943, -0.0212482307, 0.0468432084, -0.0110156713, -0.0315355584, -0.0925653204, -0.0000713266, 0.0518616922, 0.0460775383, 0.0119066043, -0.0175420195, 0.0528182574, -0.0102096703, -0.0366101414, 0.0713766739, -0.0436207652, -0.0392315909, -0.0121300118, -0.0158208348, -0.0616051145, 0.0547321849, -0.0641868114, 0.0524431616, 0.0142021552, -0.0122834668, 0.0079884948, 0.0154113807, -0.015143726, 0.0002753811, 0.0501576662, 0.0088048615, -0.0141208572, -0.0333387479, 0.0488978699, -0.0389313288, 0.0467159264, -0.0677002221, -0.0023488586, -0.0013917101, -0.0409213379, -0.0741508752, -0.0843648314, -0.0153583791, -0.0456724837, -0.01787965, -0.0114166671, -0.0453477539, -0.0609527752, 0.0296262261, -0.0088068191, -0.0133547178, 0.0046827472, -0.0092690224, 0.0004305507, 0.0304066949, -0.0283392724, 0.049351491, -0.0148808127, 0.0362328999, 0.1014621258, 0.0330655463, 0.0533418879, -0.0188572295, -0.0089095468, -0.0099197002, 0.0215846188, -0.0069805165, 0.019440433, 0.0230804831, -0.0322096199, -0.0178401191, 0.0555625558, -0.0012131938, 0.0328084752, 0.0288406238, 0.0074343337, 0.0493525937, 0.0072729574, -0.0182578769, -0.0584951043, -0.0279226713, 0.0161779411, 0.0249869879, -0.0412623584, -0.0339689851, -0.0329114832, -0.0916663185, 0.008764049, 0.0512154661, 0.0335560553, 0.0109174196, -0.0340024084, -0.0240549017, 0.0381346568, 0.0081284037, -0.0102556981, 0.0006777072, -0.0509305969, -0.0107366228, -0.0174906086, 0.0090865912, 0.0460590869, -0.0091817081, 0.0729899034, 0.0610153377, -0.0093805492, -0.0450072959, -0.0118074827, 0.0445646197, 0.0002135607, -0.0222266223, -0.0051632486, 0.0003853893, 0.0021807144, -0.0053065144, 0.0122931506, 0.0293182712, 0.0344946161, -0.0247872993, 0.0348602496, 0.0413108729, 0.0172020383, -0.0606707409, -0.004624391, 0.010849243, 0.0238345377, 0.044646848, -0.0013859961, -0.0050140475, -0.0432409681, -0.0679892153, -0.0488701276, -0.0114338929, -0.0596055686, 0.0492523871, 0.0722427964, -0.0174618009, -0.0198307354, 0.00101838, -0.0469454564, 0.0116843134, 0.0262039509, -0.0039221509, -0.0148112848, 0.0033460134, 0.0004575363, -0.0179337095, -0.0347194746, 0.0433283336, -0.0271250028, 0.0163321067, -0.0007372045, -0.010103872, 0.0328610614, 0.0296841376, -0.0728273839, -0.0693037286, 0.0213609133, 0.0602852553, 0.0216210373, 0.0582737178, -0.0181286205, -0.0293734092, 0.0394909456, 0.0388706662, -0.0730499551, 0.0427700244, 0.0649001598, -0.0467530414, 0.0378682353, 0.0159831289, -0.0176096708, -0.0057849437, 0.068585366, 0.0009436304, -0.060460683, 0.0148899695, 0.0389898121, 0.0303905606, -0.0029415537, 0.0155961215, 0.0393039882, 0.0207679812, 0.0427439921, -0.0353402384, -0.0451863259, 0.0117965629, 0.0233695637, 0.0135739706, -0.0130694984, 0.0287540294, -0.0133758057, -0.014037462, 0.0039253281, 0.0051196609, 0.0045677098, 0.0044079069, 0.0416589789, 0.0486767665, 0.0068092719, -0.0462024435, 0.041614484, -0.0098986309, 0.0455486588, 0.0011779754, 0.0333949216, 0.0041461876, 0.0008665234, -0.0178945418, 0.0026399265, -0.0370922275, -0.045249857, 0.0154439565, 0.0623306334, -0.0276198722, 0.0129111055, -0.0004806532, -0.0020587796, 0.0015722176, -0.0285073146, -0.0298804231, 0.0038321798, -0.0870049521, 0.0481985472, 0.0090229791, -0.0031952173, 0.0053549353, 0.0359155685, 0.0233881194, 0.04974268, 0.0195212476, 0.0027319153, -0.037723247, -0.04077214, 0.0068437015, 0.0094104437, -0.0233719777, -0.0376965068, -0.0919339955, -0.0909400433, 0.0019984022, 0.015512744, 0.0421724021, -0.0066821557, -0.0482757874, 0.0678084865, 0.0325489976, 0.0379550569, -0.0690680891, 0.0411937125, 0.0299277473, -0.0298248027, 0.0295571312, -6.104790688e-33, -0.0081068492, -0.0574385785, -0.0371269733, -0.0381553061, 0.0242779888, 0.0098106824, 0.0046112225, 0.0117100896, -0.060299661, -0.005053299, -0.0037557408, 0.026473321, -0.0011712433, 0.016525574, -0.0669966266, -0.0307159182, 0.0116970427, 0.0016241595, -0.0368967131, 0.019631261, 0.0323770978, -0.0306351855, 0.0071523478, -0.0286037046, 0.0530434698, -0.0544863716, -0.0598993525, 0.0306208823, -0.0659461692, 0.0409433655, 0.0145817362, 0.0199344978, -0.0246060099, -0.0211603157, 0.0178537108, 0.0338469408, 0.0161595326, -0.0054940786, 0.0547593385, -0.0196787957, -0.0002547518, -0.0306758732, 0.0072412784, 0.0039755586, -0.0186463222, -0.0283712149, -0.0429005548, -0.0025931322, -0.0200271737, 0.0026524188, -0.0316961519, -0.0073638102, -0.0143654142, -0.0256326925, -0.0230681989, 0.0056097773, -0.0058853892, -0.003141264, -0.0487241745, 0.0353038311, 0.0484590009, -0.0289229546, 0.0370688885, -0.0301541667, -0.0147810029, 0.0791075155, -0.0042207781, 0.0133320261, -0.0381536335, 0.0180932209, -0.0137868524, 0.047745049, 0.0918121561, 0.0479085296, 0.0274982285, -0.0349812061, -0.0782894343, -0.0332304761, 0.0060338788, 0.0208524652, 0.0357043259, -0.0361433253, -0.0419185981, -0.0039706198, -0.0375245847, 0.0020954406, -0.0249689966, -0.0225231703, 0.0026788788, 0.0390521958, -0.0354634449, -0.0283175297, -0.0103210583, -0.0590382814, 0.0060106697, 0.0412461534, -0.0043560178, -0.0513908975, -0.0257023964, 0.0230736732, -0.0158605333, 0.0114687784, -0.0082028499, -0.0379901007, 0.0192844402, -0.007166639, 0.0294863749, 0.0095362552, -0.0530066043, -0.0147923268, -0.034950234, 0.0545034781, 0.0075698686, -0.0304193292, 0.0504619367, -0.006393597, -0.0162846278, -0.0223446358, 0.0201879218, -0.0324220769, -0.0575399287, 0.0757853612, -0.0421588458, 0.0567148365, 0.0002481608, -0.0044737635, -0.0028057909, 0.0252973866, 0.0449090376, -0.0661823153, -0.0031772961, -0.012901986, 2.99e-7, -0.0327069163, -0.0180459097, -0.0119608399, 0.0485693738, 0.0297956113, 0.0861790851, -0.0086233858, 0.0601803884, -0.0027914422, -0.1056253314, -0.0728780404, 0.0001228618, 0.0510060824, 0.038050577, -0.0389806814, 0.0707970038, -0.0702739432, -0.0110169239, -0.0332885087, -0.023893008, 0.0217787921, 0.0823364779, 0.0113690328, -0.0308954697, -0.023841206, -0.0458371751, 0.0341799632, 0.0320464894, -0.0241423789, -0.012462466, 0.0110547431, 0.0009889745, -0.0017508724, 0.0268971175, -0.0195000283, -0.0117333131, -0.0639812425, 0.048317939, -0.0095109548, -0.0238601565, -0.0627022833, -0.0373980142, -0.011338288, -0.0402573831, 0.0627859831, 0.0378178507, -0.0078257192, -0.0423063673, 0.0154315224, -0.0145789804, 0.0026659095, -0.0225757491, -0.0205406211, 0.0086650448, 0.0130527029, 0.0298170839, 0.0367071629, -0.0300660636, -0.0278107263, 0.021118626, -0.0236653388, -0.0374657288, 0.0068664532, 0.0430666059, 0.0209941734, -0.0316813961, 0.0269376151, 2.745621211e-34, -0.0018671777, -0.0544844531, 0.0144032063, 0.0245893039, 0.0476800613, 0.0063280771, 0.0252594315, 0.0125931045, 0.0116101578, -0.0087463697, -0.0232117455 ]
http://arxiv.org/abs/2407.00837v2
http://arxiv.org/pdf/2407.00837v2
Towards Robust Speech Representation Learning for Thousands of Languages
2024-06-30T21:40:26
2024-07-02T17:23:44
William Chen, Wangyou Zhang, Yifan Peng, Xinjian Li, Jinchuan Tian, Jiatong Shi, Xuankai Chang, Soumi Maiti, Karen Livescu, Shinji Watanabe
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Self-supervised learning (SSL) has helped extend speech technologies to more languages by reducing the need for labeled data. However, models are still far from supporting the world's 7000+ languages. We propose XEUS, a Cross-lingual Encoder for Universal Speech, trained on over 1 million hours of data across 4057 languages, extending the language coverage of SSL models 4-fold. We combine 1 million hours of speech from existing publicly accessible corpora with a newly created corpus of 7400+ hours from 4057 languages, which will be publicly released. To handle the diverse conditions of multilingual speech data, we augment the typical SSL masked prediction approach with a novel dereverberation objective, increasing robustness. We evaluate XEUS on several benchmarks, and show that it consistently outperforms or achieves comparable results to state-of-the-art (SOTA) SSL models across a variety of tasks. XEUS sets a new SOTA on the ML-SUPERB benchmark: it outperforms MMS 1B and w2v-BERT 2.0 v2 by 0.8% and 4.4% respectively, despite having less parameters or pre-training data. Checkpoints, code, and data are found in https://www.wavlab.org/activities/2024/xeus/.
Towards Robust Speech Representation Learning for Thousands of Languages: Self-supervised learning (SSL) has helped extend speech technologies to more languages by reducing the need for labeled data. However, models are still far from supporting the world's 7000+ languages. We propose XEUS, a Cross-lingual Encoder for Universal Speech, trained on over 1 million hours of data across 4057 languages, extending the language coverage of SSL models 4-fold. We combine 1 million hours of speech from existing publicly accessible corpora with a newly created corpus of 7400+ hours from 4057 languages, which will be publicly released. To handle the diverse conditions of multilingual speech data, we augment the typical SSL masked prediction approach with a novel dereverberation objective, increasing robustness. We evaluate XEUS on several benchmarks, and show that it consistently outperforms or achieves comparable results to state-of-the-art (SOTA) SSL models across a variety of tasks. XEUS sets a new SOTA on the ML-SUPERB benchmark: it outperforms MMS 1B and w2v-BERT 2.0 v2 by 0.8% and 4.4% respectively, despite having less parameters or pre-training data. Checkpoints, code, and data are found in https://www.wavlab.org/activities/2024/xeus/.
[ -0.0536692552, 0.0502452068, -0.0146832261, 0.0442265011, 0.0273651145, -0.026281558, 0.0527936593, -0.0173267536, 0.0238291509, 0.0231252424, -0.0737092569, 0.0159654841, -0.0055497163, 0.0210593436, 0.0159412604, -0.0281901304, 0.0427440256, -0.0563786253, -0.0101041161, -0.0523525774, -0.0066203829, 0.0077487621, -0.0194889568, 0.0128243705, -0.0209818818, 0.0025958735, -0.0364149697, -0.018823145, 0.0018045411, -0.0265651103, 0.0122509468, 0.0310790725, 0.0775749534, 0.0660805479, 0.0000022352, -0.0265711136, -0.0273386817, -0.006159992, -0.0385915227, 0.0412107036, -0.0331537612, -0.037433926, -0.0240665879, 0.0104202088, -0.0117078461, -0.0340200253, 0.0327928141, -0.004880012, 0.058138065, 0.0492893532, 0.0119260177, -0.0265086796, -0.0053395554, -0.0202594977, -0.0395923108, -0.0077329176, -0.015347749, -0.0456139296, -0.0537454672, -0.0315723903, -0.0337503515, 0.0572762527, -0.001322741, 0.0092141498, -0.003777381, 0.0167625472, -0.0458950512, -0.0255738981, 0.0033997984, 0.0637825504, -0.0162265711, -0.01580327, -0.0020192845, 0.0127846589, -0.0235807765, -0.0579703376, -0.019317707, 0.0072857845, 0.073308222, 0.0077265627, 0.0022508933, 0.0721011311, 0.0396004394, -0.0200496018, -0.0097148437, 0.0259959977, 0.0033196821, -0.026884634, 0.0002248228, -0.0295158643, 0.0265042558, 0.0138861928, 0.0396728255, -0.0144440522, 0.0003120455, -0.0222151633, -0.0022084545, -0.055839099, -0.0110958871, -0.025297856, 0.0008573133, 0.0316946357, -0.0606613345, 0.0204908177, -0.0331873819, 0.0398139656, -0.0071993615, 0.0159602258, 0.0267459564, -0.0246223528, -0.0126687856, 0.0023846943, -0.0347810686, 0.0172179099, -0.0310889576, 0.0255501326, -0.0358994529, -0.0071858466, -0.0443788581, 0.0314162113, 0.0163403489, 0.0008542989, -0.0447981842, -0.0301644504, 0.0165443979, 0.0395521522, -0.009871603, 0.0112821609, -0.006266119, -0.0555260293, -0.0194975398, -0.0052007651, 0.0142575903, -0.019400103, 0.029798178, 0.0945220217, 0.0127341542, -0.0079214172, -0.0092078159, -0.0042272466, -0.0410855152, -0.0530784205, -0.0023621186, -0.0775572285, 0.0302376449, -0.0221420992, 0.024495149, -0.0411946438, -0.0085850134, -0.0390659235, 0.0606808998, 0.0574138016, -0.022302404, 0.0043567182, 0.0409234129, 0.003702384, -0.0064885449, 0.045779869, 0.0382844284, -0.0075648753, 0.0449373797, -0.0563168563, 0.0057581011, 0.0702803805, 0.0385982096, 0.020845471, -0.0016009238, -0.0118115824, 0.0112637859, 0.0082755797, 0.0652608126, -0.0081804357, 0.0069257221, -0.0693460107, 0.0765912905, 0.0242677517, -0.0349898525, 0.0563622192, 0.0018825047, 0.0220978688, 0.0281871352, -0.0159844235, 0.0028862124, 0.0257443767, 0.0124959275, -0.0030698269, 0.0157169066, 0.0089530135, -0.0486799739, -0.0233265292, 0.0200153477, -0.0494650677, -0.0076891431, 0.0252744239, 0.0383753069, 0.0134522328, -0.0226104595, 0.054680977, 0.0224194992, -0.0721883327, 0.0302361622, -0.0088899145, 0.0356339291, 0.0257755723, -0.0044331122, -0.0279509835, -0.012668266, -0.0367888138, -0.0156341977, 0.0549748056, 0.0129267396, 0.0073615764, 0.1156680137, -0.0566192493, -0.0353988372, -0.0290838741, -0.0096505703, 0.0553742051, -0.0466004871, 0.0283444021, 0.0084364051, -0.0591338091, 0.0380684771, -0.0100451028, -0.0392131172, -0.0629285872, 0.0629122257, 0.0376698598, 0.0468327031, 0.0522525609, -0.0213834755, -0.0042090174, 0.0372954123, -0.0359495319, -0.0151659772, 0.0213261023, -0.094699353, -0.0478845984, 0.0288325865, -0.0314441137, 0.0024164331, 0.1088198423, 0.0035969918, -0.060489472, 0.0847503245, 0.0106730098, 0.013449166, -0.0272278152, -0.0082936315, 0.0142384442, 0.0633968562, 0.065134123, 0.0077154189, 0.0332719162, -0.0178111568, -0.0085228942, 0.0256302617, 0.0325215831, -0.063779898, -0.0582604893, 0.00642876, -0.0290693436, 0.0082699684, 0.011595442, -0.0167930909, -0.0012590986, 0.0323059149, -0.0913595706, 0.0128092049, -0.0345870294, -0.0032884176, -0.0117459595, 0.0324430317, -0.0120541546, -0.0500055589, -0.0499579087, -0.055161979, 0.0011495126, -0.0150610479, -0.0369847082, -0.0101192659, -0.0061876103, -0.0308198724, -0.0130779902, 0.0289063845, -0.0135933515, -0.0612392612, -0.0346446298, 0.0014901726, -0.0076030619, -0.0236883573, 0.0583300255, 0.0029204609, -0.0383924879, -0.0404698513, 0.0059745377, 0.0291427709, 0.0008797186, -0.0168756116, -0.0419279486, 0.0525119342, -0.0100251501, -0.0666746572, 0.0218894035, -0.0199587252, 0.0041089426, -0.0314889476, 0.0207912289, -0.0508192517, 0.0492185317, 0.0432372987, -0.0008736604, -0.0687540099, -0.0581620038, -0.0027008797, -0.0456211977, -0.0226835832, 0.0088622523, -0.0271523818, 0.0344119817, 0.0196086187, -0.0380765162, 0.039977178, -0.0342644826, -0.0518895835, -0.0218152422, -0.0476417542, -0.0185644664, 0.0343103372, -0.03245157, 0.0109103136, 0.0033870866, -0.0159486514, -0.0629085824, -0.0091627706, 0.0264393762, -0.0375028662, -0.0373108871, 0.0053016543, -0.0312768966, -0.0006615779, -0.069022432, -0.0377109572, -0.0019416915, -0.0105749853, -0.0027523148, -0.0249052048, -0.0011578074, -0.0081692291, -0.0318676494, 0.0238381922, 0.0470633842, -0.0078271348, 0.0304816421, -0.0094950246, 0.0479264669, -0.0056461794, 0.0118310153, 0.0341922641, -0.0238432568, 0.048259642, 0.0045022322, 0.0604915917, 0.0091290465, -0.0517630465, 0.0353309549, 0.0417000279, 0.0102339266, -0.0029113707, 0.0191054139, 0.0505952947, -0.0424969718, 0.0170385409, 0.1219243631, -0.0224020313, -0.0244853124, -0.0014864815, -0.0201195944, -0.0144067677, 0.0144769726, -0.0042332448, -0.0563166216, -0.0179582275, 0.0244339667, 0.0501341969, 0.027749205, -0.0099834893, 0.0333118327, -0.117806606, 0.0453661308, 0.0429990217, -0.0205986518, -0.0397985764, -0.0641277209, -0.0367120281, -0.0646364763, 0.0366027765, -0.0307442136, 0.0107221166, -0.0276358873, 0.0302973855, -0.0629471913, -0.0362302326, 0.0456378274, -0.042903617, 0.0571533665, 0.0295670219, 0.0247920081, -0.0473872833, -0.045054622, -0.0053475974, -0.0257323217, -0.0560436696, 0.0009826594, 0.0525004789, 0.0051656244, -0.0309934132, 0.0301101804, 0.0348957628, -0.0193180889, 0.018768033, 0.0282653179, 0.0768242851, 0.0238130372, -0.0006540593, 0.0130882021, 0.0149566494, 0.0046565183, 0.0608872883, 0.0223979913, -0.0092639728, -0.0167486835, 0.0071290592, 0.0425688699, -0.0218893476, -0.0133279907, 0.0243534315, 0.0137569401, -0.0567589253, -0.0331406221, -0.0315925293, -0.0199242104, 0.0068725832, 0.0099719493, 0.0035936099, -0.0335065499, 0.001427497, -0.0484932996, 0.0205571391, -0.0047825412, 0.0152237983, -0.0108455895, -0.0049523278, 0.0255721826, 0.0042355503, -0.0053979307, 0.0355560184, -0.0406924188, -0.0556950793, 0.004582881, 0.0424335822, 0.0097536631, 0.079123117, -0.0066333334, -0.0271044411, 0.1283328086, 0.0282020755, -0.0644285381, -0.0184389818, 0.1026121527, -0.0161948372, -0.0050623892, 0.04889125, -0.035890922, 0.016894076, -0.0217734445, 0.0101624914, 0.0098914988, -0.0219827984, 0.0016064807, -0.0003193717, 0.0442515761, -0.0354814753, 0.0364693701, -0.0469689444, 0.0000190833, -0.0346411727, 0.0064133597, -0.0176444314, 0.0238226969, 0.0536461808, 0.0017663467, 0.025432311, 0.0777073503, 0.0030054459, -0.0401141271, -0.0292160995, 0.0420249701, 0.0016503618, 0.0157278348, -0.0469532646, 0.0348145701, 0.0120669808, 0.0209234022, 0.0591503605, 0.0096646883, -0.0067587183, -0.0235434603, -0.0150908092, 0.0249242242, 0.0009698698, 0.0064473907, -0.0421565473, -0.0581279658, -0.0087923212, -0.0075388527, 0.0377817415, -0.0283250343, 0.062138401, -0.0042296178, -0.0024358721, -0.0228052735, 0.0043502855, -0.0480923653, 0.0347662196, 0.0132001974, -0.0197067596, -0.0400018468, 0.0282382406, 0.0321288034, -0.0099295294, 0.0351468623, 0.0269941799, 0.0566099174, -0.0506070927, -0.0239519179, 0.0146902977, -0.0022598563, -0.0400797576, -0.0281549376, 0.0157875884, -0.0999183357, 0.0383474827, -0.0268142745, -0.0141790081, 0.0038513395, 0.0289946683, 0.0115770521, -0.0154806236, 0.0124962656, -0.0166651346, 0.0008351131, 0.0274193212, -0.0146683697, 0.0136163514, -6.062627543e-33, 0.0222613588, 0.054025773, -0.0096847732, -0.0127244079, 0.0029778571, 0.0054138089, -0.0438320562, 0.0185046066, -0.0063010938, 0.0140487142, -0.0023037386, -0.0109348996, 0.0224404372, 0.0422893986, -0.0002055125, -0.0121280085, 0.0689136311, -0.0329565816, -0.0162058603, 0.0264145881, 0.033872202, 0.0494908467, 0.069847621, -0.0945783556, -0.0095576728, -0.0008713406, -0.0107441293, -0.0166481938, 0.0290759932, 0.0631213263, -0.0241629742, 0.0613121726, -0.0337971114, 0.0012934832, -0.0609826073, -0.010436275, -0.0835349485, -0.0181465354, -0.0394425876, 0.0577818714, -0.0331616513, 0.0012984234, 0.019963311, 0.0094243083, -0.0505509526, -0.0155109912, 0.0432089418, -0.0243574586, -0.0103953928, -0.0358700231, 0.0037803361, 0.0289443061, -0.0435225181, -0.0375887267, 0.0986848101, 0.0711924434, 0.0174017176, -0.0118666794, -0.0684531555, 0.0104254885, -0.0453041084, 0.035252165, 0.0783253983, -0.020553235, 0.0247307718, 0.039342586, 0.0944834501, -0.0363354348, 0.0634103715, -0.0066099162, 0.051515758, 0.0170339067, 0.0449295416, 0.0284071099, 0.0047500827, -0.0252108146, -0.061153084, 0.0127758384, -0.0003625699, -0.0151885524, 0.0234799664, 0.044311285, -0.0470138676, 0.0167999193, -0.0349315926, -0.044628866, 0.00454186, -0.0018118995, 0.027220238, -0.0029008433, 0.0055141328, 0.0230475534, 0.0545105673, -0.0374251977, 0.0150983287, 0.0206538904, -0.0217770096, -0.047711622, 0.041241426, 0.0455253236, -0.0066636829, -0.0239398312, 0.0022710694, 0.0049657752, 0.0204903204, -0.0283215102, 0.0111856665, 0.057631962, -0.0644375533, 0.006018281, -0.043905098, 0.004744648, 0.0052504484, 0.0294466987, 0.0357392766, -0.01705469, 0.0008618566, 0.0180305801, 0.0076267789, 0.0366479903, 0.0039343475, 0.0042393864, 0.0043481616, 0.028669443, -0.0128418775, -0.0280798785, -0.0377521031, -0.0255330689, 0.0466225855, -0.0310867708, -0.0042718113, -0.0380106606, 2.839e-7, -0.0411452167, -0.0076721106, 0.0280519091, -0.0086909318, 0.027545169, 0.0550606921, -0.0483080857, 0.0317362547, -0.0160112306, 0.0048441784, -0.0030960992, 0.0058542732, 0.0864136592, 0.0307554826, -0.0745139346, -0.001975341, -0.0539289713, 0.0156393163, -0.023857031, 0.0103649227, -0.0218077768, 0.113546364, 0.0298646856, -0.0160589814, 0.0083736181, 0.0106912619, 0.0596178584, -0.0146952551, -0.0189810898, -0.0392189845, -0.0331175998, 0.0460783131, -0.0211223271, -0.0364639834, -0.070453167, 0.0808832347, 0.013400604, 0.0661369711, 0.0428734049, -0.068825759, 0.0232574809, 0.0497838445, -0.0281359795, -0.0065071415, 0.0451022312, 0.0051789503, -0.0385693535, -0.0032742477, -0.0568548292, 0.0253636129, 0.0608536825, -0.025526423, -0.0351689644, 0.0253144931, 0.0096173547, -0.0179967284, -0.0337615833, -0.0327600837, -0.0169762149, 0.0031010315, -0.0699862316, 0.0018755494, -0.0093989689, 0.0245636422, 0.0129763577, -0.0414281003, 0.0442444719, 2.219228412e-34, 0.0033709554, -0.0370898657, -0.0028646439, -0.0062317997, -0.0424995869, -0.0618156604, 0.0205625799, -0.0072364691, 0.0303557534, 0.0358815789, -0.0461432002 ]
http://arxiv.org/abs/2407.00826v1
http://arxiv.org/pdf/2407.00826v1
NAIST Simultaneous Speech Translation System for IWSLT 2024
2024-06-30T20:41:02
2024-06-30T20:41:02
Yuka Ko, Ryo Fukuda, Yuta Nishikawa, Yasumasa Kano, Tomoya Yanagita, Kosuke Doi, Mana Makinae, Haotian Tan, Makoto Sakai, Sakriani Sakti, Katsuhito Sudoh, Satoshi Nakamura
cs.CL
cs.CL, cs.SD, eess.AS
This paper describes NAIST's submission to the simultaneous track of the IWSLT 2024 Evaluation Campaign: English-to-{German, Japanese, Chinese} speech-to-text translation and English-to-Japanese speech-to-speech translation. We develop a multilingual end-to-end speech-to-text translation model combining two pre-trained language models, HuBERT and mBART. We trained this model with two decoding policies, Local Agreement (LA) and AlignAtt. The submitted models employ the LA policy because it outperformed the AlignAtt policy in previous models. Our speech-to-speech translation method is a cascade of the above speech-to-text model and an incremental text-to-speech (TTS) module that incorporates a phoneme estimation model, a parallel acoustic model, and a parallel WaveGAN vocoder. We improved our incremental TTS by applying the Transformer architecture with the AlignAtt policy for the estimation model. The results show that our upgraded TTS module contributed to improving the system performance.
NAIST Simultaneous Speech Translation System for IWSLT 2024: This paper describes NAIST's submission to the simultaneous track of the IWSLT 2024 Evaluation Campaign: English-to-{German, Japanese, Chinese} speech-to-text translation and English-to-Japanese speech-to-speech translation. We develop a multilingual end-to-end speech-to-text translation model combining two pre-trained language models, HuBERT and mBART. We trained this model with two decoding policies, Local Agreement (LA) and AlignAtt. The submitted models employ the LA policy because it outperformed the AlignAtt policy in previous models. Our speech-to-speech translation method is a cascade of the above speech-to-text model and an incremental text-to-speech (TTS) module that incorporates a phoneme estimation model, a parallel acoustic model, and a parallel WaveGAN vocoder. We improved our incremental TTS by applying the Transformer architecture with the AlignAtt policy for the estimation model. The results show that our upgraded TTS module contributed to improving the system performance.
[ 0.0096283695, 0.0814620778, 0.0411600657, -0.0056103845, -0.0206782743, -0.0194872655, 0.0288255438, -0.0191018805, -0.060511075, 0.0177108645, -0.0960042775, -0.0432671234, 0.0457140729, 0.0062863571, 0.0390964746, -0.0400289148, 0.0355093889, -0.027056668, -0.0126100853, -0.0200653523, 0.0163576547, 0.0263602454, -0.0367157422, 0.0251671337, -0.0147896446, -0.0120114433, 0.0077118739, 0.0392364673, 0.0287635494, -0.036241699, -0.0004772277, -0.0364723951, 0.0488399602, 0.0414870381, 0.0000020226, -0.0110755991, -0.0056298412, 0.0279948656, 0.0166389812, 0.0039494899, 0.0346269682, -0.0158480573, -0.0237455238, 0.0725564286, 0.0125239519, -0.0133025572, 0.0678659156, 0.0330176577, 0.0564861074, 0.06992466, -0.0110966312, -0.0809261724, 0.0191306714, -0.0489166155, -0.0520023964, -0.0472859703, -0.0333278142, 0.0000987399, -0.0351179838, -0.016551977, -0.0197637621, 0.086407125, 0.0032955208, 0.0038004729, -0.0376049094, -0.0044133565, -0.0118296035, -0.03570709, -0.0333531573, 0.0697575361, 0.0106688933, 0.0223333891, 0.0067152116, 0.01492838, -0.042967774, -0.0456313156, -0.0437468812, 0.02075799, 0.0078640897, -0.032808993, 0.0012230374, 0.0908037797, 0.0125108212, -0.0311376471, -0.0563989431, 0.0014347043, 0.0463321619, -0.0263505522, -0.0074232635, -0.0173365325, -0.0087918667, 0.0021868758, 0.074435778, 0.0004402096, -0.027506303, 0.0320820659, -0.0332396515, -0.0109248227, -0.0473838821, -0.0648185462, 0.0186502598, 0.06933368, -0.0397316106, 0.0078272903, 0.0244367104, 0.0681902021, -0.0382709764, -0.0259932913, -0.0838680193, -0.0369153023, -0.0023676592, 0.031197736, -0.0479655378, -0.0146940043, -0.0398554951, -0.0467503816, -0.0010556357, -0.0210454613, 0.0248887837, 0.0281832255, 0.0482968464, -0.0157455131, -0.0831380114, -0.0374324508, 0.019159779, 0.0909507796, 0.0427974351, 0.0110364528, -0.0135622555, -0.0263654757, -0.0290055107, 0.0314027816, 0.0343380161, -0.0043295701, 0.0045549027, 0.056530837, -0.0420679711, 0.0030692581, -0.0127290506, 0.0118414164, -0.0305950772, -0.0526932739, 0.0058813225, -0.0474580005, 0.0552022979, -0.0242455974, 0.0290395729, -0.0226040408, -0.0039691352, -0.0146902418, 0.0099028191, 0.0364716649, 0.0083520729, 0.013055929, 0.0389805026, -0.0105804997, 0.0178897604, 0.0415329151, 0.0481673144, 0.0130353905, -0.0013488507, 0.0104356986, -0.0567273498, 0.0931133479, -0.003981417, 0.0026683242, -0.0452992804, 0.000806776, 0.0171166696, 0.004277525, 0.0197932683, 0.0516243763, -0.0161087438, 0.0400669053, 0.078238599, 0.0427745394, 0.022358045, 0.0388287343, 0.0309111886, 0.0225067213, 0.0133126238, -0.0259731077, 0.0159051865, 0.0414489619, -0.0137232598, 0.0141776484, 0.0609326921, 0.04822338, -0.0333026238, -0.0173298195, -0.0043747374, -0.0297330711, -0.012514472, -0.0093713459, 0.0422118641, 0.0027161168, -0.0654258803, 0.0429330617, 0.0059358119, -0.0516177155, 0.031776268, -0.0076012434, -0.0349216759, 0.0380647182, 0.0521026589, 0.0628738776, -0.0323016196, -0.0547785275, -0.031181097, 0.0723263696, 0.0196675826, 0.0161600765, 0.0398351029, -0.061743807, -0.0248583704, 0.0613672771, -0.0118492907, 0.0520963818, -0.0299282074, 0.0489310175, 0.028951453, -0.0097797783, -0.0183078814, -0.0144742271, -0.0437242612, 0.0229587015, 0.0056942683, -0.0145940315, 0.0478015505, 0.0573242083, -0.0536822453, 0.0156418793, 0.0033736869, -0.0306637194, 0.0127141941, 0.0797139257, -0.0497129001, -0.0281706303, 0.0382655673, -0.0175929144, 0.0318259448, 0.0436700583, -0.0013686129, -0.091433689, 0.0083697103, -0.0397507921, -0.0111338431, -0.0281533003, 0.021480212, 0.0316546224, 0.0092908526, 0.0179895759, -0.0118356748, -0.0014330228, -0.019066928, 0.0212672167, -0.0009006389, 0.0023034669, -0.0360715538, -0.0412717387, 0.0693648458, 0.0001139696, 0.008117279, 0.0239126422, 0.0155723793, 0.0239840224, -0.04208491, -0.0703956634, 0.0467330255, -0.0303012766, 0.0399552695, 0.0138318855, 0.0340015702, 0.0189238135, -0.0136654405, -0.0371763557, -0.0231273547, 0.001848951, -0.0539604239, -0.0419777296, -0.0077109798, -0.0151682589, -0.0476134978, 0.0102690347, 0.0376426987, -0.0060961894, 0.0058226264, -0.0579770319, -0.0872184783, 0.0108681535, -0.0140780061, 0.0154262725, -0.0017516625, -0.0746266246, -0.0049786149, 0.002962095, 0.0289099328, -0.0045100483, -0.0073461602, -0.0025796341, -0.016834883, -0.0170125067, -0.06181309, 0.006489655, 0.032267563, -0.0429128632, -0.0208312254, -0.0160621684, -0.0060837362, 0.0615999289, 0.0267901514, 0.0174580775, -0.0595083833, -0.0725021884, -0.0254385173, -0.013061787, 0.0128155975, -0.0123019032, -0.0193157978, -0.0303528812, -0.0159207471, -0.0316578448, -0.0012043968, -0.0931364074, -0.0466231145, -0.0949821994, -0.0137268594, -0.0069763162, 0.0039965962, -0.002186948, 0.0144435205, -0.0122452192, -0.0458340459, -0.0120824929, 0.0196472947, -0.0264849979, -0.0456038043, 0.0221147481, -0.0159960929, -0.0063061877, -0.0321409218, -0.0075684595, -0.0122583713, -0.0259738937, -0.0075942012, 0.0160338189, 0.0232300851, -0.0425711386, -0.0290753562, 0.0396472886, 0.0104290694, 0.0841284618, -0.0042760801, 0.0165525898, -0.0348957814, 0.0204496495, 0.0364058614, 0.024880968, -0.008725456, -0.0136073828, 0.0227382891, 0.0069361269, 0.0250774398, 0.0041732662, -0.0580122359, -0.004324384, 0.0460745096, 0.0217803493, -0.0212358665, -0.0000534641, 0.0629097447, -0.013828028, 0.0301815122, 0.1151428744, 0.0025933003, -0.0225932505, -0.0228613298, 0.0234936308, 0.0217519999, -0.0034962082, 0.0027365093, -0.0296095349, -0.0150227668, 0.0362629779, 0.0357123241, 0.0524158813, 0.0540590882, -0.0371747576, -0.0461487286, 0.0406132266, 0.0706316903, -0.0030125256, -0.022569444, 0.0354796499, -0.0553099327, -0.0206109248, 0.0536524765, 0.0072861225, 0.0020007251, -0.0135977492, 0.0365026444, -0.0026199946, -0.0423904918, -0.0396522395, -0.0302207284, 0.1027286947, 0.0702146366, 0.0418232419, -0.0215259716, -0.0344602354, 0.0517046005, 0.0072145644, 0.0314179622, 0.0009298644, -0.0210996233, -0.0131926881, -0.0223130397, 0.016352132, 0.0327990986, -0.0244796127, 0.0201194417, 0.0287766345, -0.0095452396, -0.0081742788, 0.0522621684, 0.0203897823, 0.0313179046, -0.008267533, 0.0455774628, -0.0196998175, -0.046943929, 0.0475008823, -0.0001778957, 0.0194953773, -0.0324036703, 0.0106720971, 0.0161285549, -0.0466479696, -0.0443809889, -0.0515191108, 0.0005230235, -0.0162516534, 0.0347521305, 0.0336200409, -0.0111335805, 0.0236962475, 0.0216438081, -0.0035983932, 0.0189441424, -0.0043529035, 0.017868856, -0.0438924022, 0.0109469155, 0.0550127886, -0.0514465384, 0.0058920132, 0.0613792911, -0.0534274653, -0.0445811786, -0.0144104818, 0.0147844059, 0.0169158801, 0.0608738065, -0.0448773876, 0.0134008871, 0.0214926656, -0.0488868132, -0.0225404371, 0.0218656082, 0.0312195122, 0.0240463875, -0.0095685255, 0.0033689216, -0.0215685144, 0.0232146047, -0.0172266886, 0.0482427999, 0.0241177324, -0.0562362447, 0.0050320011, 0.0450573713, 0.0073031788, -0.0207937565, 0.020705631, -0.0359873474, 0.0596776418, 0.0008708409, 0.0366557613, -0.0873802155, 0.0025763679, 0.0621873327, -0.0020328341, -0.0121681467, 0.0286404118, 0.0257567596, -0.0463320836, 0.0075101252, 0.0154077597, -0.004584359, 0.0374228321, 0.0047527538, -0.012891151, -0.022416031, 0.0099965781, 0.002690048, -0.0127931237, -0.034358602, 0.0520183742, -0.0187393073, 0.012209041, 0.016746385, 0.0422062241, -0.0086901877, -0.0012339904, -0.0424899943, 0.0036537277, 0.0497599244, 0.0509426817, 0.129658848, -0.0119101861, 0.0441657715, -0.0062245824, 0.0327067859, -0.030920459, -0.0113799116, 0.0026907397, -0.0404515453, -0.0072171823, 0.0066448739, 0.0289194975, 0.00556303, 0.0143559296, -0.0262680817, 0.0096759917, -0.0066790893, -0.0473861434, 0.0186093003, -0.0032706524, -0.0310506783, -0.0109394183, 0.0266944226, -0.0290756989, -0.0034999952, 0.007223872, -0.0151192844, -0.0254087429, 0.0009181365, 0.0301152114, -0.0471949503, -0.0056142234, 0.0302404854, -0.0510410592, -0.0130139105, -0.0161202196, -0.0035767537, -6.529359779e-33, -0.0618937649, 0.0222746804, 0.0085634999, -0.0268066786, -0.0855701044, -0.0247420762, -0.0271629728, -0.0258911401, 0.0031238575, -0.0223743729, -0.0054511037, 0.034878511, 0.0269683059, 0.014044188, -0.0114089632, 0.0159243867, 0.1035904139, -0.0239514429, -0.0005940028, 0.0050931657, 0.0233786218, 0.0184639171, 0.0734626874, -0.0468974039, -0.0051723011, -0.0162954573, -0.0378055945, 0.0008617499, -0.0088569298, 0.0162976086, 0.0333069265, 0.0110004432, -0.0356408209, -0.0379311219, -0.0445478149, 0.0185629949, -0.0879019722, -0.0004637851, 0.0103519699, 0.091687791, 0.0110079618, -0.0289685167, 0.0071258829, -0.0291807, 0.0015847656, -0.0198600851, 0.003175426, -0.0415297002, 0.001326834, -0.0141307488, -0.0230847858, 0.0164678227, -0.0281396043, -0.0046520401, 0.0425019264, 0.0726673976, -0.0248237755, -0.0628482997, -0.1032348797, 0.012665079, -0.0039326488, 0.0371924639, 0.0801097304, -0.0080233198, -0.0231410172, -0.003525404, 0.0268582329, -0.0825546756, 0.0433833189, -0.0324298963, 0.0226521846, 0.0093634948, 0.0343401022, -0.0143741891, 0.015929345, -0.0266735703, -0.0247588083, 0.0334918648, 0.0175769757, 0.0338738449, 0.0043946276, 0.0263578016, -0.0159094296, 0.0140493652, -0.0333881937, -0.0618461929, -0.0006181299, -0.0641188845, 0.0373489559, 0.0209612809, 0.0180994887, -0.0105881775, 0.1080546752, -0.0238986015, 0.0147815328, -0.0015074646, -0.0131072635, 0.0081254793, -0.062385112, 0.0466782413, -0.0582353547, -0.0288446713, 0.0375179574, 0.0352540575, 0.0148087814, -0.0181999467, -0.0215796754, 0.0888021216, -0.052446045, 0.0027778565, -0.0190810673, -0.0083250934, -0.0248154718, 0.0084830048, 0.0537633076, -0.0243756454, -0.009055892, 0.0226973053, -0.0187628474, -0.0101364991, -0.0119373985, -0.0180682745, 0.0239224471, 0.0131463259, -0.0444185771, 0.0487753376, 0.0113323405, -0.0158159044, 0.0218913853, -0.0156741682, -0.0294589829, 0.0309624765, 2.833e-7, -0.0089826277, 0.0005159182, 0.0307882987, -0.0057697841, 0.0251902491, -0.0059862006, -0.048607491, 0.0454957299, 0.0072047315, 0.0534160249, 0.0270183459, -0.0295324288, 0.107377775, 0.0113569694, -0.0695533603, -0.0354110561, -0.0602420643, 0.0456227623, -0.0312215369, -0.0004909665, 0.0588311963, 0.079475373, -0.0460124649, 0.0002782879, 0.0052786288, -0.0190015938, 0.0331736319, 0.0043336861, -0.048049055, 0.0036742836, 0.02890292, -0.0407639444, -0.0509319045, -0.021326337, -0.0517681167, 0.0634183884, 0.0426943749, 0.0779370442, -0.0069345143, -0.0326776989, -0.0056010312, 0.0593042709, -0.0491294824, -0.0095986901, 0.0611385591, -0.0191019308, -0.0251736473, 0.0325802453, -0.035622593, 0.0478532054, -0.0257823523, 0.0090180133, 0.0153312655, -0.005065782, 0.045834139, -0.0036287662, -0.0226958524, -0.0302317217, -0.0300571825, -0.0358390063, -0.0419389009, -0.0682591945, -0.0238944963, -0.0228552856, -0.008949901, -0.0100886226, -0.035926979, 2.346368458e-34, 0.0346938781, -0.0581391305, 0.0158259068, 0.0137548875, 0.0023210791, -0.0390211828, -0.0058180434, 0.0470339619, -0.0369550698, -0.0249953512, -0.0516700447 ]
http://arxiv.org/abs/2407.00782v2
http://arxiv.org/pdf/2407.00782v2
Step-Controlled DPO: Leveraging Stepwise Error for Enhanced Mathematical Reasoning
2024-06-30T17:59:07
2024-07-02T04:46:35
Zimu Lu, Aojun Zhou, Ke Wang, Houxing Ren, Weikang Shi, Junting Pan, Mingjie Zhan, Hongsheng Li
cs.CL
cs.CL
Direct Preference Optimization (DPO) has proven effective at improving the performance of large language models (LLMs) on downstream tasks such as reasoning and alignment. In this work, we propose Step-Controlled DPO (SCDPO), a method for automatically providing stepwise error supervision by creating negative samples of mathematical reasoning rationales that start making errors at a specified step. By applying these samples in DPO training, SCDPO can better align the model to understand reasoning errors and output accurate reasoning steps. We apply SCDPO to both code-integrated and chain-of-thought solutions, empirically showing that it consistently improves the performance compared to naive DPO on three different SFT models, including one existing SFT model and two models we finetuned. Qualitative analysis of the credit assignment of SCDPO and DPO demonstrates the effectiveness of SCDPO at identifying errors in mathematical solutions. We then apply SCDPO to an InternLM2-20B model, resulting in a 20B model that achieves high scores of 88.5% on GSM8K and 58.1% on MATH, rivaling all other open-source LLMs, showing the great potential of our method.
Step-Controlled DPO: Leveraging Stepwise Error for Enhanced Mathematical Reasoning: Direct Preference Optimization (DPO) has proven effective at improving the performance of large language models (LLMs) on downstream tasks such as reasoning and alignment. In this work, we propose Step-Controlled DPO (SCDPO), a method for automatically providing stepwise error supervision by creating negative samples of mathematical reasoning rationales that start making errors at a specified step. By applying these samples in DPO training, SCDPO can better align the model to understand reasoning errors and output accurate reasoning steps. We apply SCDPO to both code-integrated and chain-of-thought solutions, empirically showing that it consistently improves the performance compared to naive DPO on three different SFT models, including one existing SFT model and two models we finetuned. Qualitative analysis of the credit assignment of SCDPO and DPO demonstrates the effectiveness of SCDPO at identifying errors in mathematical solutions. We then apply SCDPO to an InternLM2-20B model, resulting in a 20B model that achieves high scores of 88.5% on GSM8K and 58.1% on MATH, rivaling all other open-source LLMs, showing the great potential of our method.
[ -0.012310735, 0.0598033816, 0.0074278172, -0.0051917662, -0.0263900701, 0.039516516, 0.0082576005, -0.0224268846, 0.0056782351, -0.0172436815, -0.0086121056, -0.0213777646, 0.0013402564, 0.0117918281, 0.0295876376, -0.0458692238, 0.0434999727, -0.0502930395, 0.0012765827, -0.0156935509, 0.0036245089, -0.0000521478, -0.0327946059, -0.0060590841, 0.0058512492, -0.0923547894, 0.0109982705, -0.0135292839, 0.0286408216, -0.0567671545, 0.0089051249, 0.0667917058, 0.0290703718, 0.0562594011, 0.000002718, -0.0585937984, -0.0282698665, 0.003406402, -0.0461660661, 0.0132996971, -0.0305717681, -0.0064439066, -0.0167184249, 0.0401118025, -0.0220464598, 0.0296460148, 0.0496362373, 0.0033790402, 0.0656390041, 0.0707425997, 0.0182702448, -0.0401098058, 0.0423205607, -0.0087132128, 0.0050937887, -0.0195078105, 0.0182109214, 0.0509890467, -0.0080338223, 0.0191743392, -0.0269761086, 0.0317173302, 0.0532439873, 0.0046968302, 0.0092015071, 0.0186916161, -0.0294389762, -0.005063124, 0.0021585906, 0.0447276756, -0.007153051, -0.0550074056, -0.0174646061, -0.033463262, -0.0330293551, 0.0011491944, -0.0549663641, 0.0105396202, -0.0167194661, 0.016367536, 0.0359359309, -0.0417726859, 0.0262294598, 0.0191376712, -0.0532324426, 0.0894031972, -0.0005083034, -0.0604213811, 0.0050210096, 0.0278434567, -0.066554226, -0.0481661707, 0.0245922115, 0.0273392629, -0.0307405293, 0.0228728689, -0.0346655026, -0.0399396196, -0.018816039, -0.0393571071, 0.0433267727, 0.0642700419, 0.0300504286, 0.0106403483, -0.0084513193, 0.0610249713, -0.0167867932, 0.0473425239, -0.025672581, 0.0561944284, -0.018822046, -0.0295494366, 0.0013484317, 0.0442777947, -0.0176246297, 0.0087236445, -0.0347498842, 0.0050241877, -0.0409388319, 0.0348728336, 0.0002427112, -0.0392375886, -0.0053071841, -0.0405155458, -0.0420092121, 0.023114156, -0.0212804489, -0.006271733, 0.0023823464, -0.0167960785, -0.0247524828, 0.0077124056, -0.0480042323, -0.0181425773, 0.0031304776, 0.0505489558, -0.004802776, -0.0022457179, -0.017824078, -0.0145092541, 0.0267166533, -0.0710027888, 0.0138369761, -0.0960453227, 0.0086317789, 0.0135374954, -0.0094813732, -0.029584825, 0.0109837493, 0.0308736376, 0.0156900827, 0.0398879349, -0.0250592101, 0.0029155852, -0.0208754931, -0.0106604304, -0.0422539227, 0.0588856079, 0.0469528586, -0.0495692901, -0.0034160507, -0.0156834237, -0.0068943468, 0.0346057788, 0.0346144512, 0.0175232179, -0.0277283452, 0.0064731441, 0.0168978423, 0.0547836497, 0.0220619347, 0.0268586278, -0.0423382856, 0.0250093527, 0.034528356, 0.0331794061, 0.0246238429, 0.0093331952, 0.019386312, 0.0003558097, 0.0143473875, 0.0001897781, -0.0866883099, 0.0455469564, -0.0377804898, 0.0347821303, 0.0083140815, 0.0199227203, -0.0001010972, -0.0742706135, -0.0224135108, 0.0397943631, -0.032469824, 0.0501580313, 0.0483447202, -0.0217089951, -0.0382209308, 0.0717130303, -0.0009916795, -0.0333487056, -0.0280726589, -0.0436996929, 0.0475282446, 0.0331068076, 0.058735963, -0.0299818739, -0.0430703983, -0.0149024948, -0.0008405045, 0.0547147132, 0.048410181, 0.0073901583, -0.0439150445, -0.0585350469, -0.0164034516, 0.0275768973, 0.0091087287, -0.0002530974, 0.0417813323, 0.0025645515, 0.0018486098, 0.00502933, -0.0216068383, 0.0250987187, -0.0253753718, -0.0446634814, -0.0199589711, 0.0065098717, 0.0178011265, 0.006476549, 0.0102006877, 0.0284728426, -0.020196002, 0.005923091, -0.049380675, -0.0324133784, -0.0914992094, -0.0596150532, 0.0662831515, -0.0015223311, -0.0646691248, 0.0136300195, -0.0553104542, -0.0158717167, 0.0295500252, -0.0044712364, -0.0034356737, -0.0028398472, 0.0480488315, 0.009710243, -0.0440504774, -0.0467116274, 0.0769892335, 0.0016635268, 0.0155731924, 0.0097011346, 0.0200780183, -0.0062262863, -0.0172584336, 0.0364013985, 0.0221740175, -0.0153468745, 0.0181563683, -0.0173705537, 0.0507766455, -0.0606468357, -0.0139613589, -0.0209130049, 0.0085468292, -0.016852187, 0.0435632095, 0.0430210456, -0.0228138492, -0.0051285648, 0.0157193113, -0.0176323038, -0.0200940203, -0.0203627441, -0.0026039947, 0.0165771879, -0.0256478265, -0.0142983412, -0.0319725163, -0.0334207229, -0.0795003995, 0.0030080425, -0.0319043249, 0.0360770188, -0.0489063896, 0.0936907604, -0.0469963588, 0.0031411401, -0.0023403869, 0.0072165187, 0.037544284, -0.0311387368, 0.0255437624, 0.0839794278, -0.0222560316, -0.0118043832, 0.027354395, -0.0326168202, -0.0850328431, 0.0178738181, 0.0102960216, 0.0080569154, 0.009535701, 0.0248775408, -0.037359722, 0.0813560113, -0.0176975448, -0.0085163666, -0.0547381155, 0.0225365032, -0.0210588574, 0.0167896505, 0.0047234292, -0.0127908522, -0.0310861692, 0.0605356134, -0.0409295075, -0.0480354242, 0.0948586613, -0.0004193281, -0.0062411339, -0.0830519125, 0.0426884852, -0.061212942, 0.0036163104, -0.0110332482, -0.0120269619, -0.0052487995, -0.0145890741, -0.0677520931, -0.0395158865, 0.0364864245, -0.0182634871, 0.076018624, -0.0555176549, 0.0001632697, -0.0139302323, -0.0488288403, -0.0461661629, 0.0068237842, -0.0270762276, 0.0047086738, -0.023665864, -0.025929248, -0.0069502024, -0.0230985023, 0.0273469463, 0.0421662442, -0.0326455012, -0.0401849821, -0.0166613311, -0.0308543481, 0.0212504864, -0.0171139427, 0.055575829, -0.0775625706, 0.050388556, 0.0211902596, 0.0849835053, -0.0011016205, -0.0231357273, 0.0158077981, 0.042172052, -0.0422542728, -0.0406894237, 0.0327545255, 0.0668569207, -0.0780923367, -0.0014407485, 0.1405811161, 0.0441190153, -0.0283908397, 0.0020226082, -0.0619495027, 0.0614952296, 0.0174623951, 0.0392870121, -0.0696027279, -0.0376817659, 0.0350320116, 0.0308964793, 0.0060724472, -0.0215171762, -0.0022492441, -0.1383134723, 0.0052457121, 0.0685376972, -0.0331751108, -0.0071550547, -0.011197133, -0.0107129253, -0.0185600109, -0.0105636045, 0.0440111533, -0.0148131754, 0.0226806719, 0.0278821066, -0.0221991818, 0.0023472942, 0.0315268226, -0.0238143168, 0.0147748711, 0.0596568808, -0.0061391406, 0.0129525382, -0.0374990962, 0.0438249893, 0.0252335276, -0.0384148397, -0.0428105295, 0.0152893914, -0.0317276716, 0.0136575224, -0.031371098, 0.0693682656, -0.0456357189, -0.0147520006, 0.0056823343, 0.1291953176, -0.0054167071, 0.0038151871, -0.0210886747, 0.0086920196, -0.0474159196, 0.016670065, 0.0061315908, -0.0271527749, -0.0395435952, -0.0447872803, -0.0386429094, -0.0267429147, 0.0096612005, -0.0142939771, 0.0340684243, 0.0226032138, -0.0139758419, -0.0510915071, 0.0316163115, 0.0516646653, -0.0047344137, -0.032440722, 0.0037259366, -0.0077534891, -0.0054030661, 0.0432979688, -0.0217620395, 0.0505904518, -0.0606044494, 0.0421393402, -0.0128105152, -0.000127561, -0.0126138842, 0.0048081665, -0.0358159915, -0.0677272677, -0.0220569409, 0.0660212785, 0.0281911287, 0.0374159627, -0.0163769796, -0.0231902748, -0.0059581371, 0.0229750834, -0.0176639128, 0.0008340534, 0.0528570786, -0.0175222587, 0.0328865834, 0.0184052754, -0.0058227214, -0.01338486, 0.0201641265, 0.0704849139, -0.0177494138, -0.0186105222, 0.0437269583, 0.0173687264, 0.0194321498, 0.0066346889, 0.0177210141, -0.0450431742, 0.0408270955, -0.0179544352, -0.0033062554, -0.0242028292, 0.0238845944, 0.0289189648, -0.0402635112, 0.0116206631, -0.0355621912, -0.0013347596, -0.003684574, 0.0375999063, 0.0487660281, -0.0099012302, 0.0483654477, 0.0349849612, -0.0230097193, -0.0282779373, -0.0020744365, 0.0165311471, 0.0514796972, -0.0090094851, 0.1133428961, 0.0282076765, 0.0461126156, 0.0048871655, -0.017292928, -0.0262134895, -0.1143028215, -0.0195769053, -0.0101177497, 0.0522998832, 0.0198155791, 0.0368323773, -0.0315513052, 0.0002203908, -0.0130325807, 0.040511284, -0.0195474382, -0.0176794212, 0.0314935744, 0.0563625321, 0.0296847578, -0.0387670882, 0.0438964814, -0.0259770714, 0.0211508498, -0.0402764678, 0.0141243851, -0.0120309629, -0.0392097645, -0.0089190407, 0.0055033821, -0.0128779318, -0.0135986134, -0.094455108, -0.1042893603, -0.0154226879, 0.0400976539, -0.0018686821, -0.0199592747, 0.0314013883, 0.0599916615, -0.0486641452, -0.0148271136, 0.0153566198, -0.0173351374, -0.0137679195, -0.0383804962, -0.0472911634, -6.776803544e-33, -0.0351683646, -0.0234745871, 0.0652349368, 0.0205032751, -0.0359365456, -0.0427662209, -0.0364803262, 0.0318499021, 0.0000041886, 0.0013241564, -0.0140703265, 0.0257920939, -0.0074902023, 0.0118675372, 0.0395254679, 0.019973537, 0.0292086918, -0.0002799985, -0.0530422628, -0.0293974057, 0.0259888079, 0.0242780466, 0.0624878928, -0.0226474963, 0.0045493357, 0.0285340268, 0.0189426318, 0.016003713, -0.0764465705, 0.0598571002, 0.0229687188, -0.0231263861, -0.0092710964, -0.0422809869, -0.0434240103, -0.0193403326, -0.0312512405, -0.0440835841, 0.0201235954, 0.0225923657, -0.0093670338, -0.03826195, 0.0264931843, 0.0270459224, -0.0583678596, -0.0570264235, 0.0057495958, -0.0188509505, -0.0219990183, 0.0124050919, -0.0773825571, 0.0530651398, -0.0151092336, -0.0264013279, 0.0196372475, 0.0359675176, -0.0232852902, 0.0044938894, -0.0127824796, 0.0113692423, 0.0312926844, 0.0365580544, 0.0739289001, -0.0030345225, -0.0021398421, 0.0274972375, 0.0207200311, -0.0545888133, 0.0207073279, -0.0141990259, 0.0499614216, 0.0205581822, 0.0654018819, 0.0050726007, 0.0503944941, 0.0369116291, -0.0572681464, -0.0043408377, -0.0030375523, 0.0400694422, 0.0052108276, 0.029309256, -0.0460845828, -0.0023258687, -0.0478346273, 0.0068888944, -0.0359707922, -0.0491750576, 0.0355130099, -0.0245436206, -0.0232757702, -0.0128787784, 0.0146298818, -0.0258061439, -0.0204807594, -0.0029122226, -0.0244312063, 0.0333301462, -0.0134352958, 0.0390752442, -0.0983909369, -0.0084627885, -0.0253027473, 0.0149545064, 0.0068811094, 0.0264123231, 0.0369800739, 0.0141942706, -0.0462858342, -0.0116333235, -0.0400597714, -0.0315641277, 0.0361143351, 0.0475968309, 0.042240534, 0.0046443143, 0.015882941, 0.0669297352, -0.0281759948, -0.0237023421, -0.0503656007, 0.0190500729, -0.0260112137, 0.034181226, 0.002161548, -0.0142711783, -0.0270445794, 0.0032327357, 0.0018631206, -0.0620594099, -0.0257600658, 0.0403589904, 3.383e-7, 0.0174251515, 0.0592506565, 0.0074904636, 0.0448689535, -0.0018862648, 0.0545571074, -0.0286552366, -0.0376190804, 0.0383437313, 0.0164608732, 0.0241658464, 0.0379068889, 0.045454938, 0.0209513847, -0.0501177311, -0.0140606165, -0.0188664775, -0.0056122998, -0.0433418117, -0.0111968042, 0.0409375578, 0.0685875043, 0.0282303132, -0.0044266572, 0.0065152422, 0.0346744396, 0.0776114613, 0.0184234846, 0.0039266311, 0.009769707, -0.0414389372, -0.0161467157, -0.0060587279, 0.0031678258, 0.0033064426, 0.0193796437, -0.0199603476, 0.0739614293, 0.0007688414, 0.0164011158, 0.0004167203, -0.0103997746, -0.0101145376, -0.0754370466, 0.0510624014, -0.0708496645, -0.0349026434, 0.0303586796, -0.026499426, -0.0460881256, 0.0223113727, 0.0005544093, 0.0012447168, 0.0080242343, 0.011702897, -0.0114120692, -0.010603522, -0.0428730138, -0.0295569971, 0.0464864448, -0.0081549753, -0.0428631939, -0.0260042269, 0.0426862724, -0.0011136512, -0.0110802874, -0.0272158477, 3.756651504e-34, 0.0506105125, -0.0250727478, 0.0524943359, 0.0311098062, 0.019636929, -0.0059106303, 0.0040343134, 0.0328217298, 0.0395106263, -0.0505463295, -0.0223973263 ]
http://arxiv.org/abs/2407.00764v1
http://arxiv.org/pdf/2407.00764v1
Characterizing Stereotypical Bias from Privacy-preserving Pre-Training
2024-06-30T16:54:43
2024-06-30T16:54:43
Stefan Arnold, Rene Gröbner, Annika Schreiner
cs.CL
cs.CL, cs.AI
Differential Privacy (DP) can be applied to raw text by exploiting the spatial arrangement of words in an embedding space. We investigate the implications of such text privatization on Language Models (LMs) and their tendency towards stereotypical associations. Since previous studies documented that linguistic proficiency correlates with stereotypical bias, one could assume that techniques for text privatization, which are known to degrade language modeling capabilities, would cancel out undesirable biases. By testing BERT models trained on texts containing biased statements primed with varying degrees of privacy, our study reveals that while stereotypical bias generally diminishes when privacy is tightened, text privatization does not uniformly equate to diminishing bias across all social domains. This highlights the need for careful diagnosis of bias in LMs that undergo text privatization.
Characterizing Stereotypical Bias from Privacy-preserving Pre-Training: Differential Privacy (DP) can be applied to raw text by exploiting the spatial arrangement of words in an embedding space. We investigate the implications of such text privatization on Language Models (LMs) and their tendency towards stereotypical associations. Since previous studies documented that linguistic proficiency correlates with stereotypical bias, one could assume that techniques for text privatization, which are known to degrade language modeling capabilities, would cancel out undesirable biases. By testing BERT models trained on texts containing biased statements primed with varying degrees of privacy, our study reveals that while stereotypical bias generally diminishes when privacy is tightened, text privatization does not uniformly equate to diminishing bias across all social domains. This highlights the need for careful diagnosis of bias in LMs that undergo text privatization.
[ 0.037142586, 0.108406119, -0.0562753156, 0.0350357592, -0.0230471827, 0.0128533058, 0.0940639302, -0.011957448, 0.0244510379, -0.0376907811, -0.0426542945, -0.0298690423, 0.0189462937, 0.0099885734, 0.0160760134, -0.0181819871, 0.035980735, 0.0046634176, 0.0231276751, -0.0340966582, -0.0172534212, 0.0254967585, 0.013677991, 0.0187606178, 0.0118071735, -0.0090849744, 0.0248389412, -0.0352765433, 0.0083697783, -0.016979631, 0.0333957747, 0.0948532969, 0.0281880628, 0.0288987141, 0.0000017547, -0.0537648238, 0.0036428033, 0.0290208794, 0.0040145987, 0.0465956666, 0.0206912067, -0.0043959888, 0.0408624522, 0.0151673267, -0.0465896055, -0.0222598612, 0.0338035002, 0.0406317189, 0.0082118064, 0.0252463389, -0.0178042855, -0.0372582376, -0.0191465821, -0.0367487632, 0.00052092, 0.0143555822, 0.0487719774, -0.1107231379, -0.0956653059, -0.0034663554, 0.0126729738, 0.0151673276, -0.002749528, 0.0602956824, 0.0071082655, 0.0582693331, -0.0347986147, -0.0434285887, 0.0004471244, 0.0334510542, 0.0472671017, -0.0180876702, 0.0380796492, 0.018906489, 0.0493795946, 0.0340182297, 0.0153349508, 0.043268133, -0.0189982485, -0.0109090265, -0.0032938083, -0.0098748943, 0.0131547777, 0.0028012893, -0.0099051772, 0.0474340394, 0.0238190554, -0.0337609388, -0.0299346279, 0.0032672682, 0.0126386713, -0.0452635549, 0.0486254692, -0.0615359917, 0.0716867968, 0.0266816504, -0.0551282316, -0.0244944021, 0.0155464197, -0.0496018752, -0.0265920646, -0.0063886964, 0.0077875876, -0.0221458692, -0.0075582121, 0.0066923639, -0.0055733337, 0.0484641753, 0.0143767828, 0.0421698578, -0.0051049348, -0.029698085, 0.0040296889, 0.0344834402, -0.0214929823, 0.0194965098, -0.0201792084, 0.0266175829, -0.0208715796, 0.0050330725, -0.044362165, 0.0203309152, -0.0442956835, -0.0141757252, -0.0398260839, -0.0534616113, -0.0174135901, 0.0105334967, -0.0365174748, -0.0424897186, 0.0090032993, -0.0332226455, 0.0180190913, -0.0351280347, -0.0298077445, 0.052568879, -0.0014497531, -0.0412815399, 0.007999544, -0.0303521808, -0.0466125906, -0.0094727315, 0.0148395598, -0.0249691308, 0.0055688806, 0.0125035755, -0.0142311566, -0.044353731, -0.0047112475, 0.0205679871, -0.0736882612, 0.0703687817, 0.0272979792, 0.0181007516, 0.0371519066, 0.0423255228, 0.0246914122, 0.052325286, 0.0201446824, -0.000410969, 0.0329175964, -0.0200221557, 0.0248008929, 0.0176417548, 0.0443084575, 0.0349274725, -0.0453707092, 0.0224959068, 0.0053769611, -0.0526748486, 0.0391515903, 0.0270227436, -0.0141990054, -0.0580355078, 0.0839816853, 0.1026466936, -0.0160328932, 0.0207959265, -0.0593180321, 0.0551076755, -0.0241871811, 0.0330337137, -0.0795919299, -0.0332606472, -0.0333771706, -0.0374696851, -0.0062800366, 0.0193247795, -0.0124718547, 0.0051394482, 0.0042474759, -0.0384711437, 0.0497599579, -0.0050272965, -0.0269740932, 0.0139233572, 0.0280386955, 0.0893120691, 0.0169231258, -0.0341610424, -0.0047666375, -0.0308776796, 0.0146302665, 0.0522601306, 0.0040248078, -0.0044323592, 0.0133292982, -0.0475544147, -0.0595286898, 0.0600327775, 0.0240373909, 0.0084145404, 0.0742855221, -0.025370812, -0.0367794968, -0.0027373875, 0.0453983694, 0.0301815625, 0.0117220674, 0.0131391836, 0.0069525475, -0.0549387373, 0.0196686052, 0.0281682014, -0.0248966105, -0.0549949929, -0.0136876702, 0.0324740522, 0.0152013646, 0.0197902303, -0.0333363786, -0.0013639387, -0.0187070128, 0.0365113132, 0.0034507334, 0.0315172039, -0.0719384402, -0.0324030593, -0.0474602319, -0.0615418553, -0.0153675582, 0.0503128543, 0.0101437112, -0.0029771745, 0.0035257505, -0.0065406458, 0.0634329617, -0.0076190466, 0.0089119999, -0.0595232137, 0.0262159631, -0.0334245898, 0.0250493716, -0.0460282341, -0.0212258436, -0.05494624, -0.0574545562, 0.0342329182, -0.0099054566, -0.0058896318, -0.0181553941, -0.0114701046, 0.0063322247, 0.0319321677, -0.0142748524, -0.0242951941, -0.0244093295, -0.0454417691, -0.0121607091, 0.0090848869, 0.0184617452, 0.0257537384, -0.0058630528, -0.023232013, -0.0136535782, -0.0469634682, -0.0714835078, -0.055956129, 0.0711329356, 0.032723967, 0.0144899031, -0.014218186, -0.0066432767, -0.0330376327, -0.0336511396, 0.054174792, -0.0190667789, -0.0210596118, -0.0173304975, 0.0216638669, -0.0133139994, 0.0452289656, -0.0047969795, -0.0424789041, 0.000909731, 0.0342443809, -0.0025270672, 0.0536996573, 0.030148942, -0.0006956439, 0.060027726, 0.0290905703, -0.0376016237, -0.0279757828, -0.0237232838, 0.019767845, -0.0002453706, -0.0573499463, 0.0099493992, 0.0311071016, 0.0392881073, -0.0529138818, -0.0557162017, 0.011306393, -0.0372609124, -0.0756215528, 0.0088857254, -0.0601104572, -0.012509129, 0.0433059968, -0.0460721143, -0.0572332107, 0.0648032948, -0.0175134558, 0.0120399157, -0.0165089667, 0.0050306865, -0.0026664163, 0.035410203, 0.0239151828, 0.0225736871, 0.0486312136, -0.0781065449, -0.0464556627, -0.0217794869, 0.0258878581, -0.0161688216, 0.0281046145, 0.0157349017, -0.0315141752, 0.0283039287, -0.0664763749, -0.0383493416, -0.1055414751, 0.0115245227, -0.0198266692, 0.0226528309, -0.0416254215, 0.0134131555, -0.0305197798, 0.0081553273, 0.0094642229, -0.0045644757, 0.0098450044, 0.0056969179, -0.0043987152, -0.0126290508, -0.0414588265, -0.008967869, -0.0426492319, 0.0007450071, 0.0049753212, 0.0525721461, 0.0511119701, 0.0292569064, -0.0316644311, 0.0063036988, -0.0146739436, -0.0670528412, 0.0002933373, 0.0538000949, -0.0060326969, 0.0106464429, 0.1083162799, 0.0024402908, -0.0477474853, -0.0106806867, 0.0425780267, 0.0180064067, 0.0173706356, -0.0144261364, -0.0854315534, 0.0241584424, 0.0083349301, 0.0180804208, -0.0250184648, -0.0467690639, -0.0248293206, -0.1122692004, -0.0347642079, 0.0006014788, -0.0231351331, -0.0056620846, -0.0319651738, 0.0101041216, -0.001582755, 0.0212788396, -0.0522396564, 0.0064734528, -0.005185111, 0.010458868, -0.0653940514, -0.0251303073, -0.0095460266, -0.0318760574, 0.0226606037, 0.0519958027, 0.0134727759, -0.0470232479, -0.0354651697, 0.0060193455, 0.0062405667, -0.0024530033, 0.0030951286, 0.0999218598, -0.0476122424, -0.0001603738, -0.0154023217, 0.0358945802, 0.0218297374, 0.0141420253, -0.011095752, -0.0061662341, 0.0125999022, -0.0504758023, -0.0031889598, -0.0107817762, -0.0017310824, 0.062766321, 0.0114647662, -0.0372177362, 0.0237184037, -0.0403096788, 0.0204551127, 0.0078427475, 0.0212141387, 0.0255540758, -0.0020586788, -0.0761272088, -0.0477796495, -0.0013358223, -0.0115392003, 0.0169700403, 0.0523762219, -0.0055138953, 0.0418278389, -0.0364222936, -0.0373597145, 0.0400019139, -0.0292536318, -0.0266304538, 0.0018245871, -0.0156131582, 0.0220873542, -0.0213912278, -0.0030458758, -0.0306580383, 0.0019684888, -0.0803820044, 0.0779083967, -0.0125752995, 0.0163259264, 0.0749615356, -0.011198503, -0.0816436559, 0.1199094132, 0.0753346086, -0.0247488059, 0.0173481349, 0.0626740009, -0.0043594157, 0.015868295, 0.002787699, -0.004379679, 0.0046466361, 0.0390323624, -0.0675393492, -0.0210574344, -0.0263195727, -0.029454926, 0.0128634796, 0.0856121406, 0.0061756014, 0.0769155771, -0.0639700741, 0.0005531683, -0.0332895108, -0.001403951, 0.0226673111, -0.0403829552, 0.0467491187, 0.0302706007, -0.0102969268, 0.0282784477, -0.0218617767, 0.0296597872, -0.0362748392, 0.0028758571, 0.055248335, 0.0373316184, 0.0074945893, 0.0249031428, -0.0186704863, 0.0722185969, -0.0113536594, 0.029250605, 0.0081639495, 0.0356635079, 0.0109183956, 0.0210341532, -0.0208227839, 0.0175196584, -0.0521688946, -0.0268381443, 0.0065578055, 0.0209667962, -0.0384443961, -0.0383966304, 0.0019164117, -0.009953375, 0.0118865445, 0.0262774155, -0.0185932387, -0.0025360701, -0.0169728864, 0.0357451811, -0.0079386709, -0.0266192406, 0.0376978591, 0.056213554, 0.0294069629, 0.0645526648, -0.0332383886, -0.0229506847, -0.0341073163, 0.0002672835, 0.0698977411, 0.036637187, -0.0245861653, -0.0235742591, -0.0398263857, -0.0825949758, -0.0204903632, -0.0115721514, 0.0217291322, -0.0126460539, 0.012143217, 0.0295772888, 0.0029551103, -0.0474655442, -0.0177488141, -0.0023744081, 0.0140003571, 0.0017044736, 0.0048328536, -5.800232224e-33, -0.0017429657, -0.0098026935, -0.051526811, -0.0149682658, 0.0131618269, -0.0190412905, 0.0001181971, 0.0266776495, -0.0244673546, -0.0083661079, -0.0394727066, 0.0371203274, 0.0046375166, 0.0016342178, -0.0035285754, 0.002678202, 0.0579987988, -0.0362708457, -0.0145528587, -0.0041685607, 0.0109502915, 0.0430821516, 0.0368847512, -0.0447680466, 0.065157108, -0.0043197586, -0.0417802893, 0.0049407538, -0.0299128685, 0.0243722424, -0.046623081, 0.0083715925, 0.0186319947, 0.025642585, -0.0103211245, 0.1064014807, -0.0396199375, -0.0387250632, 0.010994372, -0.0121164117, 0.0283641722, -0.0446596295, 0.0458112992, -0.0201446526, -0.0514828078, 0.0213674549, 0.0297494642, 0.0069122813, 0.0076821647, 0.0040083039, 0.0121780671, -0.0086565362, -0.0156325623, 0.0171404108, 0.0317652673, -0.0104700401, 0.0184159763, -0.0050912378, -0.003847725, 0.0267924983, 0.0445152558, -0.0221127588, 0.0391302034, 0.0144881634, 0.0471601076, 0.0425563119, 0.0914834663, 0.0746682212, 0.0057924557, -0.0589254536, 0.0570966899, -0.0187084284, -0.0152199678, 0.0330806077, 0.0083026672, -0.0393961743, -0.0027167406, -0.0020302087, -0.0033430241, -0.0624349117, 0.0595845394, -0.006390315, -0.0849102139, -0.0481062941, -0.06656795, -0.0312539451, -0.0272355005, 0.024444798, 0.0037505261, 0.0050229682, -0.0314409472, 0.0049507562, -0.0110694077, -0.0497457944, -0.0443606451, 0.0262749884, 0.0030977186, -0.0133175682, -0.0093627078, 0.020471219, -0.0746302456, -0.0275032669, 0.0162772499, 0.0483166352, 0.0164070409, 0.0317656547, 0.038357351, -0.0021790613, -0.0984230265, -0.0110247647, -0.0066483859, 0.0032137237, 0.0455560274, 0.0216205847, 0.0523173325, -0.0028159588, 0.0039909431, 0.007638603, 0.0521853864, 0.0282577369, -0.052467525, 0.0260980781, -0.0237750076, 0.0180456638, 0.025437206, -0.0348021463, 0.018959716, 0.0074805599, 0.1042893827, -0.0142406207, -0.0112656439, -0.0609013997, 2.458e-7, 0.0000472753, 0.038709823, 0.0043974011, -0.004021165, 0.0169843659, 0.0686388835, 0.0340328589, 0.0661371425, 0.0089814542, 0.0315562263, -0.018113574, -0.0061045089, 0.0203789864, 0.0165041015, -0.0401073508, 0.0060098246, -0.0314434692, 0.0463556685, -0.0443530791, 0.0249733664, 0.0110966684, 0.0403215587, 0.0420584939, 0.0097718295, -0.0402320027, -0.0415976085, 0.0273949038, -0.0555707701, -0.0108279912, -0.0165712219, 0.0046641491, 0.0769146755, 0.0169719364, 0.023619201, -0.0107308589, 0.0496724211, -0.0659322962, 0.0679864213, 0.006750274, 0.0030645297, 0.0202687103, -0.0271208286, -0.0429249369, -0.0533973575, 0.0327005126, -0.0232205559, -0.0548659191, -0.0198134035, 0.0097636534, -0.0579830036, 0.0520560667, -0.0238485411, -0.0018459847, -0.0134911872, -0.0069109313, -0.0029651762, -0.0004815758, -0.0810895115, -0.0319669843, -0.0083629014, -0.01722572, -0.034984909, 0.0122330235, 0.0327806175, 0.0163287204, -0.0330435, 0.0714277253, 2.208167516e-34, 0.0077811396, 0.0131696295, 0.0009928133, -0.0120863989, 0.0333251245, -0.0079297898, 0.0616419278, 0.002231448, 0.043176312, -0.054510884, -0.0045794733 ]
http://arxiv.org/abs/2407.00747v1
http://arxiv.org/pdf/2407.00747v1
A Comparative Study of Quality Evaluation Methods for Text Summarization
2024-06-30T16:12:37
2024-06-30T16:12:37
Huyen Nguyen, Haihua Chen, Lavanya Pobbathi, Junhua Ding
cs.CL
cs.CL, cs.AI
Evaluating text summarization has been a challenging task in natural language processing (NLP). Automatic metrics which heavily rely on reference summaries are not suitable in many situations, while human evaluation is time-consuming and labor-intensive. To bridge this gap, this paper proposes a novel method based on large language models (LLMs) for evaluating text summarization. We also conducts a comparative study on eight automatic metrics, human evaluation, and our proposed LLM-based method. Seven different types of state-of-the-art (SOTA) summarization models were evaluated. We perform extensive experiments and analysis on datasets with patent documents. Our results show that LLMs evaluation aligns closely with human evaluation, while widely-used automatic metrics such as ROUGE-2, BERTScore, and SummaC do not and also lack consistency. Based on the empirical comparison, we propose a LLM-powered framework for automatically evaluating and improving text summarization, which is beneficial and could attract wide attention among the community.
A Comparative Study of Quality Evaluation Methods for Text Summarization: Evaluating text summarization has been a challenging task in natural language processing (NLP). Automatic metrics which heavily rely on reference summaries are not suitable in many situations, while human evaluation is time-consuming and labor-intensive. To bridge this gap, this paper proposes a novel method based on large language models (LLMs) for evaluating text summarization. We also conducts a comparative study on eight automatic metrics, human evaluation, and our proposed LLM-based method. Seven different types of state-of-the-art (SOTA) summarization models were evaluated. We perform extensive experiments and analysis on datasets with patent documents. Our results show that LLMs evaluation aligns closely with human evaluation, while widely-used automatic metrics such as ROUGE-2, BERTScore, and SummaC do not and also lack consistency. Based on the empirical comparison, we propose a LLM-powered framework for automatically evaluating and improving text summarization, which is beneficial and could attract wide attention among the community.
[ 0.0628271848, 0.0050627938, 0.0237870626, -0.0164516624, -0.0455604009, -0.0144609176, -0.0202144086, -0.013661027, -0.0021369725, -0.078471981, -0.0002748095, -0.0140240844, 0.0361390263, -0.0253197402, -0.0023082746, -0.0601176322, 0.0044662734, -0.0327329561, -0.004952292, 0.0259854775, 0.0289522186, 0.0069857002, 0.0266566407, 0.0535341576, 0.0406787023, 0.0024982779, 0.0509011857, -0.0180796105, 0.0433519743, -0.0305250324, -0.0059526805, 0.0003246631, -0.0082219355, 0.0062122899, 0.0000018444, -0.0959322155, -0.0200412143, 0.0188250411, 0.0473828949, 0.0920482799, 0.0823391378, -0.0173671264, 0.0111175701, 0.0321134888, 0.0079281367, 0.0367951989, -0.0454478562, 0.0440493822, 0.0741286501, 0.023964135, -0.0107265506, -0.0484880507, 0.0483504832, -0.0186425131, -0.0618285201, -0.0421254672, 0.0331936143, 0.0628433973, 0.0333141461, -0.0259489268, 0.0067991507, 0.0242035072, -0.0259672608, -0.0098889777, 0.0375573002, 0.0071175117, -0.0604389794, -0.0126860561, 0.0226145275, 0.0600255877, 0.0172330588, 0.0065432778, 0.0427361652, 0.0190972555, 0.0242571551, 0.0137749631, -0.0666409209, 0.0474070683, -0.0091805961, 0.0306303613, -0.0077610817, 0.0422584042, -0.0058074659, 0.0462894626, -0.0278960206, 0.0430857427, -0.0016508776, -0.0327350833, -0.011007268, -0.0167049207, -0.0367381349, -0.0364506654, 0.0298220478, 0.0183089338, 0.0092861978, -0.0226707365, -0.0350070409, -0.0446421094, 0.0494074635, -0.0674511865, 0.0078310939, -0.0369413607, 0.0175700355, 0.0579198673, -0.0416801237, 0.0320460498, 0.0301853847, -0.0062541738, -0.0615076311, -0.0172773078, -0.0410976447, 0.0047179856, -0.0225684978, 0.050676737, -0.0292158909, -0.051984407, -0.0505584069, 0.0078106164, -0.0146034714, 0.0054636793, 0.0042236159, -0.0104816994, 0.0545748696, 0.0053097783, -0.0290089734, 0.0159645621, -0.0189039074, -0.0115939621, -0.0102066612, 0.0192113668, 0.0091065122, 0.0294795614, 0.0039706943, 0.0309205595, 0.0166313536, 0.0358422548, 0.0039955005, -0.0571701378, -0.0177707579, -0.0181309581, 0.0080118021, -0.0370835029, -0.0281023458, -0.0719644278, -0.0436955802, 0.0160339754, -0.0036497775, -0.0178129636, 0.0012713152, 0.0039757574, -0.0704841986, -0.0074266163, -0.0283109732, 0.0469707623, 0.0413627066, 0.0154435681, 0.0167921986, 0.0226866249, 0.0675953329, 0.0425092764, 0.0607808493, 0.0105628148, 0.032201536, 0.0333923139, -0.0258826632, 0.0043618158, 0.022978697, -0.0098006278, -0.0280196629, 0.000458613, 0.0244583171, 0.0736028105, -0.0367837697, 0.0551317073, 0.0674632415, 0.067310527, 0.0123423338, 0.0013980041, 0.0064963959, 0.0484954491, 0.0729805082, 0.0282968152, 0.0279978644, -0.0016354057, -0.0557187684, 0.057215862, 0.1066844091, 0.0370972455, 0.000111738, -0.0728412643, -0.0181957968, 0.0157158934, 0.0187496934, -0.0099924719, 0.0322846286, -0.012780088, -0.0595433116, 0.0268688109, -0.0245879516, -0.0497952066, 0.0170623157, -0.0216080658, 0.009667851, 0.0420038886, 0.0605763569, -0.0446450748, 0.0220944043, -0.025072597, -0.0226735547, 0.0211049672, 0.0358420312, -0.0077020396, -0.0384722725, -0.0569636598, -0.0131216841, -0.006720989, 0.0075535313, -0.0419826061, -0.0261104628, -0.0161692854, 0.0407471433, -0.0344114788, -0.0726326555, 0.0370656773, 0.0027170086, -0.014354364, -0.0058432301, -0.0429780148, 0.0331477411, 0.0454715304, -0.0254547074, 0.0364741236, 0.0182750821, -0.0255120397, -0.0108304881, 0.0068463814, 0.0063280389, 0.0019051239, 0.0269869268, -0.0557123683, -0.0062292474, 0.0258805715, -0.0152580626, -0.0261139665, -0.007740872, -0.0552415475, -0.0087550012, -0.0283641089, 0.0341383368, -0.0134911174, 0.0003284301, -0.0360753797, 0.0665051043, 0.0150151011, 0.0161903743, 0.0490941443, -0.0311067924, 0.0186313987, -0.0159671735, -0.0531540923, -0.0112886261, -0.0098811882, 0.0229728911, 0.0680549592, -0.0007970035, -0.0063022077, -0.0291679148, -0.1073125303, 0.0124608986, 0.0082093449, 0.0217775069, 0.0297849588, -0.0009352645, -0.0076516136, 0.0269945096, -0.0089322748, -0.0686254203, 0.0133120669, -0.0012402228, 0.0461127311, -0.0141656622, 0.001314514, -0.0644244328, -0.0111799408, 0.0003194177, 0.0632433891, 0.0114666466, -0.0105373459, -0.0443659797, 0.0616763122, -0.0110845314, -0.0498056561, 0.0193603858, 0.0004724315, -0.0265396908, 0.0077007911, 0.0339576602, 0.0460069813, 0.043351505, -0.010558296, 0.0416845903, 0.0001110448, -0.0124216471, -0.0403017439, -0.0086152991, 0.0381999798, 0.0164415706, -0.0358379446, 0.046811223, 0.0352576748, 0.0055700974, -0.0013867201, -0.0218003578, 0.0018598929, -0.0538950227, 0.0020029384, -0.0353327952, -0.0297850762, 0.0092907744, 0.025202319, -0.0123281134, -0.0126530649, 0.055374112, -0.0515126474, 0.030847596, -0.0743308589, -0.0053422041, -0.0579254627, 0.0262260251, 0.0201630779, 0.0096959937, -0.0257051699, -0.0116942152, -0.0017061811, -0.0339945965, 0.0409748219, -0.0401326641, 0.0746004507, -0.0633049086, 0.0281251855, -0.0246957969, 0.0204385146, 0.0236929618, -0.0332513563, -0.0410736166, 0.0257034842, 0.0310906302, 0.0255352147, -0.0215593837, 0.056597922, 0.0423960835, 0.0354134403, -0.0159503073, -0.0154355289, -0.0078776125, 0.059237238, 0.0517784841, -0.0118195321, 0.0368035175, -0.0127167702, 0.0250128601, 0.0204653572, 0.0310692936, 0.0138903977, 0.0078640571, -0.0384232663, -0.0101156542, -0.0900644884, -0.0048073428, 0.0027460847, 0.0554123186, -0.0230210144, 0.0277230721, 0.1009648517, 0.0240718331, 0.0356840827, -0.007818711, 0.0406927653, -0.0051699751, -0.0022290037, -0.0071615619, -0.0416506119, -0.0038021847, -0.0035403222, 0.0306622945, 0.0120563079, -0.0166216083, 0.0063967942, -0.0987679362, 0.0108755743, 0.020801831, -0.042388808, -0.0351782478, -0.0524154417, 0.00275836, -0.0365136601, -0.0049142553, 0.0128684202, -0.0411057584, 0.0113226548, 0.0056571844, -0.114628233, -0.0053431899, -0.00743334, -0.0453175679, 0.0004397753, 0.074853763, 0.0234004017, -0.0074373214, 0.0327280611, 0.0253398195, -0.0439505354, -0.0338594019, 0.0177422296, 0.0367086716, 0.0055498159, 0.0376578681, -0.0270745922, 0.0293621439, 0.0146417646, 0.0071267295, 0.0258267615, 0.0188801959, 0.0333970077, -0.0218017735, -0.05269273, 0.0378746539, -0.0827964395, 0.070036523, 0.0386828259, -0.0004240153, -0.0376970209, -0.0338172205, -0.0216486901, -0.0660501868, -0.0454906188, -0.0096972408, -0.0561003499, -0.0073584123, -0.0958006978, -0.0480683893, 0.0041545038, -0.0486174636, 0.0093034245, 0.023143515, 0.0098623177, 0.033883512, -0.0026765885, 0.0256879777, 0.010413955, 0.0081864437, -0.0577986501, 0.022871444, 0.0837207586, 0.0011606471, -0.0325127728, 0.0216830764, -0.0349466503, -0.0464178808, -0.0508092679, 0.0274423398, 0.0238610618, 0.004797413, -0.0174464528, -0.0447602756, 0.0730953068, 0.0393682867, 0.0096548134, 0.0199938826, -0.004998784, 0.030536674, -0.0295783617, -0.0152090136, -0.071435973, 0.0311411936, -0.0496841408, 0.0708917603, -0.0128792254, -0.0634036064, -0.0006817468, 0.0561362132, 0.0104010301, -0.01078784, 0.0254319385, -0.0045904033, -0.0501423515, -0.0096114762, -0.0131037245, -0.0378036648, 0.0454512723, -0.002214289, 0.0134812044, -0.0295287129, 0.0828496963, 0.0015491481, 0.0205780603, -0.0356251523, 0.0195975453, -0.0369221456, -0.0276277456, -0.0705296993, -0.0295317881, -0.0326344222, -0.0551198125, -0.0412285514, -0.0224728584, 0.0000433236, -0.0032991839, 0.0121975392, 0.0131223211, 0.029718589, 0.0534434691, -0.079396084, -0.0001726722, -0.0666879267, 0.0344241224, 0.0588522814, -0.0212726612, 0.0912939161, -0.0005230681, -0.0217123237, -0.0350140333, 0.041204676, 0.0269760508, 0.0290082619, -0.0622972958, 0.0187749825, 0.001667591, -0.0142114349, 0.08117944, -0.0051474101, -0.0012727669, -0.0112495795, -0.0339835733, -0.0488281287, -0.0258112084, -0.0194920413, 0.0085387565, -0.0076160571, -0.0392816067, -0.083542943, 0.0142298341, 0.0443977192, 0.0243007895, 0.0269489549, -0.0436570942, 0.0150136482, 0.0285970755, -0.0019519791, 0.010028746, -0.061146643, -0.0409927517, -0.0097361822, 0.0026276808, -0.0098306155, -5.475437992e-33, -0.0177664626, -0.0136317927, -0.0482416339, -0.000630872, -0.0510712452, -0.0038796712, -0.0432768576, -0.0312059503, 0.0198240373, -0.0137626817, -0.0097100055, -0.0131239491, -0.0006292373, 0.0065813465, 0.0224130396, 0.0385363959, 0.0304348096, 0.0084282905, -0.0693548769, 0.0076187239, -0.0044401861, 0.0055100829, -0.0030459692, -0.0479994491, 0.0233583786, -0.0094763394, -0.0393331163, -0.046660915, 0.0487691239, 0.0359362103, 0.0015288296, 0.0116412397, 0.0334044658, -0.0613101907, -0.0200985875, -0.0060122269, -0.0646626726, 0.0040780678, 0.0289222859, -0.0640414879, -0.0195646305, -0.0296471603, 0.0628541037, -0.0024367373, -0.0354102738, 0.0096893804, 0.0748944059, -0.0700900778, -0.051690463, -0.0958027765, -0.0190730188, 0.0334610753, -0.0434187055, -0.0183296222, 0.0436790921, 0.0299606957, -0.0296753477, 0.0478247292, -0.0291959308, 0.0457842052, 0.0266552158, 0.0302341022, 0.0331904739, -0.0070054629, 0.0345548801, 0.0308973044, -0.0332199819, -0.0041488237, -0.0130228996, -0.0117855426, 0.0021144764, 0.0135632828, 0.0391276628, 0.0178954564, 0.0166680478, 0.0270684287, -0.0332875066, 0.0985504687, -0.0248912945, 0.0104311211, 0.0364329927, 0.0078754891, 0.0085815527, 0.0010348732, -0.0346300378, 0.0034534556, 0.0090814075, 0.0211542249, -0.0198982302, 0.021199327, -0.0632190034, -0.011809756, 0.0091773421, -0.0441402979, 0.0056832503, -0.0102274055, -0.01774415, 0.0741615891, 0.0083519071, -0.0285546184, -0.0366090611, 0.0148978587, -0.0017889413, 0.0208441634, 0.0120724132, -0.0324026085, 0.0132687753, -0.0412873663, -0.0279102251, 0.0276225246, 0.0255149975, -0.0145959826, -0.0336794592, 0.0077657849, -0.0368527472, -0.0012806663, 0.0264275484, 0.0366558507, -0.0026079051, 0.0033216097, -0.0086766724, -0.0040573999, 0.0351672843, 0.0081676738, -0.0188889876, 0.0341903307, -0.003643736, 0.0395677052, 0.025901828, -0.0085543292, -0.0224040076, 0.0005332499, 2.431e-7, 0.0531535447, 0.0634374768, 0.0331861004, 0.0119950352, -0.0356280059, 0.0272171274, 0.0081396261, 0.033129666, 0.0233680904, 0.0068722935, 0.0314244889, -0.0089358464, 0.0512936004, 0.0038181625, -0.0904133096, -0.0516592152, -0.0950889885, -0.0350361504, -0.0364704505, -0.0141242407, 0.0599707402, 0.0499864258, -0.0136209037, 0.012735365, -0.0400137901, -0.0654036999, 0.0441477373, -0.038101662, -0.0324861109, 0.0417670645, 0.0770504177, 0.008251762, -0.0289570931, -0.0091515994, -0.0016275478, 0.0087664193, 0.0804573447, 0.0444115624, 0.0374325998, 0.026974963, 0.0040095192, -0.0274814591, 0.0454740115, -0.0042046588, 0.0409502648, -0.0156649016, 0.0007538982, -0.0219709408, -0.0389296785, -0.0041455724, 0.0020262431, -0.0012701887, -0.036212828, 0.0423431657, -0.0188500769, 0.0011816066, 0.0116455676, -0.0559469983, -0.0271187425, 0.0135545526, 0.0061731357, -0.0418456011, 0.0012001785, 0.003717805, 0.0122376848, -0.0749836788, 0.0071400125, 2.14818608e-34, 0.1031194553, -0.0355248861, -0.0353668146, -0.0031553435, 0.0508224182, -0.0009844048, -0.0076031345, 0.0005176294, -0.0255314223, -0.0795254633, 0.0268711895 ]
http://arxiv.org/abs/2407.00740v1
http://arxiv.org/pdf/2407.00740v1
Locate&Edit: Energy-based Text Editing for Efficient, Flexible, and Faithful Controlled Text Generation
2024-06-30T16:04:29
2024-06-30T16:04:29
Hye Ryung Son, Jay-Yoon Lee
cs.CL
cs.CL, cs.LG
Recent approaches to controlled text generation (CTG) often involve manipulating the weights or logits of base language models (LMs) at decoding time. However, these methods are inapplicable to latest black-box LMs and ineffective at preserving the core semantics of the base LM's original generations. In this work, we propose Locate&Edit(L&E), an efficient and flexible energy-based approach to CTG, which edits text outputs from a base LM using off-the-shelf energy models. Given text outputs from the base LM, L&E first locates spans that are most relevant to constraints (e.g., toxicity) utilizing energy models, and then edits these spans by replacing them with more suitable alternatives. Importantly, our method is compatible with black-box LMs, as it requires only the text outputs. Also, since L&E doesn't mandate specific architecture for its component models, it can work with a diverse combination of available off-the-shelf models. Moreover, L&E preserves the base LM's original generations, by selectively modifying constraint-related aspects of the texts and leaving others unchanged. These targeted edits also ensure that L&E operates efficiently. Our experiments confirm that L&E achieves superior semantic preservation of the base LM generations and speed, while simultaneously obtaining competitive or improved constraint satisfaction. Furthermore, we analyze how the granularity of energy distribution impacts CTG performance and find that fine-grained, regression-based energy models improve constraint satisfaction, compared to conventional binary classifier energy models.
Locate&Edit: Energy-based Text Editing for Efficient, Flexible, and Faithful Controlled Text Generation: Recent approaches to controlled text generation (CTG) often involve manipulating the weights or logits of base language models (LMs) at decoding time. However, these methods are inapplicable to latest black-box LMs and ineffective at preserving the core semantics of the base LM's original generations. In this work, we propose Locate&Edit(L&E), an efficient and flexible energy-based approach to CTG, which edits text outputs from a base LM using off-the-shelf energy models. Given text outputs from the base LM, L&E first locates spans that are most relevant to constraints (e.g., toxicity) utilizing energy models, and then edits these spans by replacing them with more suitable alternatives. Importantly, our method is compatible with black-box LMs, as it requires only the text outputs. Also, since L&E doesn't mandate specific architecture for its component models, it can work with a diverse combination of available off-the-shelf models. Moreover, L&E preserves the base LM's original generations, by selectively modifying constraint-related aspects of the texts and leaving others unchanged. These targeted edits also ensure that L&E operates efficiently. Our experiments confirm that L&E achieves superior semantic preservation of the base LM generations and speed, while simultaneously obtaining competitive or improved constraint satisfaction. Furthermore, we analyze how the granularity of energy distribution impacts CTG performance and find that fine-grained, regression-based energy models improve constraint satisfaction, compared to conventional binary classifier energy models.
[ 0.0839353055, 0.0744302571, 0.0025435083, -0.0083108442, -0.0253119841, 0.0046665794, -0.0088032624, 0.0142947203, -0.0267589465, -0.0483697616, 0.0088905608, -0.0110461237, -0.0160699822, 0.036791224, 0.0158613734, -0.0339852832, 0.0483562201, 0.0191942602, 0.0005374336, 0.0093594901, 0.0124263084, 0.0002383967, 0.0290259905, 0.0256349482, -0.0330058187, 0.0310108662, -0.0302394107, 0.0717482492, 0.0300043672, -0.0044564395, 0.006583014, 0.0546816699, 0.0001333232, 0.032844808, 0.0000023305, -0.0205060486, -0.0712858811, 0.0046978444, 0.0033089989, 0.0297341496, 0.0862065852, -0.0360381119, -0.0514566228, 0.0037991153, 0.0092916898, 0.0067150448, 0.1070499569, -0.0246544499, 0.0535859689, 0.0702882484, -0.0203138702, 0.0331085362, 0.0058567198, -0.0375728272, 0.0568903536, 0.0101772258, 0.0386093482, -0.0161063876, -0.0334431417, 0.0034541846, -0.0048271874, 0.0640867278, 0.0107809408, -0.0149608087, 0.0070575178, 0.0278848074, -0.0118158497, -0.0388286673, -0.0047715264, 0.0365106612, -0.0218304507, -0.0341212004, 0.0119007761, -0.0240508467, -0.0375390574, -0.0303854588, -0.0052152332, 0.034434218, 0.0179825854, 0.0290938839, -0.0047565992, -0.0124402158, 0.0327023603, 0.0087379534, 0.0109674288, 0.0294321422, 0.0279211514, -0.0448733978, -0.01558288, 0.020698091, -0.0214807726, -0.0559854805, 0.0244812332, 0.0036790422, 0.0160860773, 0.0286870673, -0.0953462571, -0.0338367075, 0.0186715759, -0.0623101555, 0.0339988321, 0.0390000902, 0.0185965281, -0.0126461163, -0.0045179469, 0.0285890792, -0.0197649859, -0.0180817097, -0.0443980657, 0.0477812625, -0.0019323244, -0.0414218381, -0.0675150082, 0.0151707679, -0.0508056805, -0.0330231413, -0.0473350286, 0.0362014323, -0.0008778692, 0.0054003056, -0.0050631813, 0.0464028195, -0.0496771336, 0.0343192779, 0.0341331065, -0.0080440138, 0.0054077473, -0.0198460128, 0.022108309, -0.0486157276, -0.0160753727, 0.0167259146, -0.0034953926, -0.0279204864, -0.0007153021, 0.0817926452, -0.0023961931, -0.0176852997, -0.046471037, -0.0576853827, -0.0420792066, -0.0335371606, -0.041326683, -0.0465838723, 0.0109181982, -0.0351235531, -0.0053782528, -0.0838469043, 0.053478267, 0.0031485092, -0.0375342667, 0.0584945939, -0.0188839193, -0.0113489488, 0.0221926067, 0.0060150069, 0.0125875603, 0.0620377138, 0.0879689753, 0.0539990291, 0.0301692057, 0.0052191056, -0.0330927819, 0.0482077673, 0.0251988303, 0.0297235101, -0.0450444743, -0.0591978543, 0.0059023355, 0.0421755351, 0.0126945758, 0.0502040908, -0.0067499345, 0.0311823413, 0.1098273546, 0.0023001898, 0.0067739938, 0.0352662317, 0.0477031805, -0.001968934, -0.0575444475, 0.0119225066, -0.0212602206, -0.0056650178, -0.0373452604, -0.0237937067, 0.0412580147, 0.0018918109, 0.0156310294, -0.0355787948, -0.0014506466, -0.0099033965, 0.0186425764, -0.0320334695, 0.0192447901, 0.0008167219, -0.0801775604, 0.0962783694, 0.0519526303, -0.0881410986, 0.0064927572, -0.0269175284, -0.0115583306, 0.0919832215, 0.0802142993, 0.0036401406, -0.0183060952, 0.0188497119, 0.0034650315, 0.0607423075, 0.0213870313, 0.012564132, -0.0068667894, -0.048765298, -0.0181895122, -0.0235450007, -0.0053948732, 0.0115388129, -0.0021285268, 0.0165242683, 0.0242891591, 0.0048759156, -0.0682780147, 0.0356848314, 0.005908303, -0.0226454996, 0.015615127, -0.0076057389, 0.0036881629, -0.0189092923, -0.0536695421, 0.0177189298, 0.0251214448, -0.0424997918, -0.033668194, 0.011140327, -0.0321523212, -0.0056320797, 0.0307163037, 0.0061013103, 0.0348264426, 0.0054110228, -0.00794427, -0.0213650446, -0.0044131516, -0.0817277357, 0.0244147163, -0.0295974258, 0.0508098863, -0.0065374477, -0.0247938577, -0.0372364707, 0.0737411901, -0.0183689687, -0.0031079191, 0.0134952338, -0.012250632, 0.0009850709, -0.0326297283, 0.0112993401, -0.0093797678, 0.0186077952, -0.0099720731, 0.0373208076, 0.0302583352, -0.0002312834, -0.033571966, -0.0121299159, 0.0121702831, -0.0091288742, 0.0065937159, 0.0452538282, 0.0084565775, -0.0028180061, 0.044069618, -0.0236611832, -0.0176964086, -0.0104381526, 0.0149136232, -0.0129310936, 0.0151157621, -0.0044578882, -0.0403933376, -0.0109480768, 0.0059210639, 0.0483356938, 0.000732498, -0.0416574627, -0.0324995741, 0.0319211744, -0.0289612114, 0.0063718124, 0.0184796415, -0.0584016293, 0.0019241171, 0.0149083473, 0.0410911702, 0.0365981646, 0.0251147896, 0.0397349484, 0.0791667849, 0.0094669973, -0.035397213, 0.0197445899, -0.029750729, -0.0074124113, -0.0039692405, -0.0874287337, 0.0269796662, 0.0887798145, 0.0128442599, -0.0043061785, -0.0678156614, 0.0444445983, -0.0036417493, -0.067821607, -0.0290096402, -0.0128153367, -0.0304391719, -0.0094649475, -0.0465167761, -0.0789553747, 0.0580490381, -0.0534892455, 0.0371042565, -0.0287625641, 0.0011210047, 0.0231534522, 0.0164680202, 0.0369425453, 0.0660155863, 0.0193846654, 0.0074725072, -0.019765133, 0.037152648, 0.0479897261, -0.0248169545, 0.0164164752, -0.0594168827, 0.0021973525, 0.0229034238, -0.0317703411, -0.0409445353, 0.0081625264, 0.014362854, 0.0068189846, 0.0801970512, -0.0480082817, -0.0472244397, 0.0411715955, 0.0250215046, 0.0299850777, -0.0009769304, -0.0216065682, -0.0374021605, 0.0011430128, 0.0804681256, -0.0440241322, 0.009892703, -0.0209872331, -0.0063920901, 0.0942845494, -0.0431981049, 0.010443015, 0.0065508573, 0.0454245098, 0.0229729172, 0.0024695427, -0.0146234361, 0.0049782679, 0.0248375442, -0.0192677081, -0.0346030146, 0.0829329789, 0.0463237427, -0.0146163246, 0.0531404763, -0.0094172843, 0.0658595413, 0.0106883477, 0.011268585, -0.0761572197, -0.0247328747, 0.0375509933, 0.0689291805, -0.0563511848, -0.0105135487, -0.0360971466, -0.0535732284, 0.007468001, 0.0497851633, -0.0138121787, 0.0025747975, 0.0039612264, -0.0183356889, 0.0018476808, -0.0377479382, 0.0332596749, 0.0151126757, -0.0128589217, 0.0230739992, -0.0135163218, -0.0129401674, -0.0614312962, -0.0146809453, 0.0063869189, 0.1026081517, 0.004218793, 0.0294214729, -0.0046839602, 0.0147084417, -0.0066697374, 0.0141745219, -0.0423087291, 0.0008519774, 0.0080266679, -0.0139126172, -0.0149535974, 0.0371613465, 0.0141811511, -0.0254521817, -0.0087322248, 0.0712069348, -0.0043614814, -0.0186118558, -0.044584956, 0.0057363301, 0.0561035573, 0.0758752525, 0.0498068742, -0.0480850041, -0.0515701696, -0.0627909601, -0.0009589699, -0.0986908004, -0.0289160553, -0.0058058645, -0.0645930022, -0.0757613331, -0.0793568492, 0.0228363257, 0.0014994841, 0.0569319203, 0.0007018637, -0.0142785301, -0.0026979451, -0.0277768318, -0.0623190925, -0.0159579515, -0.0082974099, 0.0156219667, -0.0403412804, -0.0756738484, 0.0202539042, -0.0055716825, -0.0088783605, 0.0481763333, -0.049055893, -0.1033958048, -0.0161366109, 0.0688047633, 0.0254891366, 0.0151882609, 0.0029183433, -0.0511846542, 0.0358600765, 0.0743851885, 0.0014502257, 0.0617526695, -0.0144343283, -0.0164125543, -0.0046752775, 0.0215782449, -0.0527987666, 0.0048951986, 0.016278429, 0.0907387808, -0.0137506295, -0.0240094177, 0.0525236875, 0.0136709996, -0.0130275451, -0.042163454, -0.0288665816, -0.0032526853, 0.0220622104, -0.0200579725, -0.0048011523, -0.0725829601, -0.0061748005, 0.0195192527, -0.0060913451, -0.0324951671, 0.036963556, -0.0440656319, 0.017745303, -0.0465927832, -0.0127435243, -0.0218948051, 0.0448541604, 0.0828330964, -0.0048054727, -0.0104309442, 0.0291322861, -0.0266890824, -0.0053581288, -0.0292169675, -0.0189428348, 0.0326156355, 0.0084233908, -0.049219586, 0.0428503752, -0.0043053473, 0.0126710348, -0.0694335699, -0.0427011885, 0.0351211913, 0.0379878208, 0.073351413, -0.0534822606, -0.0375309177, -0.0248729344, 0.0213197097, 0.0343633667, -0.0790739208, 0.0261157788, -0.0028802792, -0.0209854282, -0.0076874811, 0.0717414767, 0.0444362685, 0.0916682631, -0.0353107192, -0.0409641229, -0.0151965749, -0.019390082, -0.016741693, -0.0087690409, -0.0344685428, -0.0167835187, -0.0399592631, -0.054977946, 0.0293175448, 0.006707266, 0.0232316852, -0.0084422911, 0.0315242, 0.0135376416, -0.0098559121, -0.0442650132, -0.0059508677, 0.0186324157, -0.001657473, -0.0292700361, -0.0068499222, -6.860105686e-33, -0.0053306404, -0.0363394581, 0.000150887, -0.0064755594, -0.0335343294, 0.0057186182, -0.0503877625, 0.0185724162, 0.050624717, -0.0115591493, 0.0354383551, -0.0165559817, 0.011633846, 0.0212000255, -0.012192212, 0.0291659199, 0.046657782, 0.0003300102, -0.0478343777, 0.0386265665, 0.0526019372, 0.0452895574, 0.0258683152, -0.0357104018, -0.0020708374, 0.0064454339, -0.0428030156, -0.0177582409, -0.0393576883, 0.0374456458, -0.013786138, 0.0446837507, -0.0072425241, -0.0099779591, -0.0279449709, 0.0119402623, -0.0409617387, 0.0092851259, 0.0035172082, -0.0248021912, -0.0272529032, -0.0911298692, 0.0498525687, 0.0157623626, -0.0433000959, 0.0128410067, -0.0084901704, -0.0412956402, -0.0351869278, -0.0580896176, -0.077073589, 0.0186846219, -0.004358728, 0.0045039915, -0.0253989678, 0.0168786459, 0.0123324441, 0.0135736894, -0.04505831, 0.03293176, 0.0634883344, 0.0456202738, 0.0475673378, 0.0169985313, 0.0279446412, 0.0617714897, -0.0256071147, -0.0230350196, -0.0461455546, 0.0296187606, 0.0418819673, 0.0391376019, 0.0339593627, 0.0123695424, 0.0107887359, -0.0405504443, -0.0794478804, 0.0291085877, -0.0174683314, 0.0065082177, 0.0239902139, 0.0174234323, 0.0011741366, -0.0255085099, -0.0320594572, 0.0129816197, -0.029287342, -0.0531777442, 0.0373361111, 0.0266339798, -0.0809902474, -0.0337866917, -0.004207565, -0.0043416517, 0.0220179372, 0.0416462421, -0.0322194733, 0.0340428576, -0.0050502406, 0.0134211751, -0.0278044119, -0.0290583298, 0.0560752265, -0.0233720522, 0.0062037362, 0.0025781165, 0.0234409422, 0.052275151, -0.0395286307, 0.0187351983, -0.0491796657, 0.0488446653, 0.0335669853, -0.0183298141, -0.0046910816, -0.0359717533, 0.0115669947, 0.0093507171, 0.0213200096, 0.0009524032, -0.0186379235, 0.0160415098, 0.0028060446, 0.0347964875, -0.0386561677, 0.0110594928, -0.0307589099, 0.0207349565, 0.0281375777, -0.0672323331, -0.0446708128, -0.0065791402, 3.07e-7, 0.0380147398, 0.0270091426, 0.0282114334, -0.0024814827, 0.027685279, 0.0166330189, 0.0155896815, 0.0293048508, -0.0374995172, -0.0394590497, 0.0114294179, -0.0225101579, 0.061942663, 0.0114650065, -0.0139733953, 0.0188560523, -0.0638011917, 0.0218261033, -0.0538452715, -0.026508702, 0.0251873247, 0.0320601352, -0.0144678997, -0.0096910354, 0.0353308395, -0.0186926704, 0.0485571027, -0.0425913297, 0.0296720024, 0.0080118738, -0.0071856482, 0.0010174569, -0.0129603883, -0.0529024564, -0.0364130698, -0.0427197181, -0.0176803507, 0.0625966489, -0.0334169455, -0.0248038433, 0.0348604843, -0.005066257, -0.0127244201, -0.0093251104, 0.051979024, 0.0073882616, 0.0108558312, -0.0107583739, -0.0119007928, 0.0058458108, -0.0231734384, -0.0406842493, -0.0271983426, 0.0185427088, 0.0014790779, 0.0456511527, -0.0152887171, -0.0388946161, -0.0045971847, -0.0120657971, -0.0415953249, -0.0270715617, -0.078465648, 0.0480561331, -0.0026575276, -0.0401689447, -0.0036649315, 3.215205261e-34, 0.0101031149, -0.0361691415, 0.0236381646, -0.0192185175, 0.0475363545, 0.0334800407, -0.0054439809, 0.0174521655, 0.0076978719, -0.0886233374, -0.0494931601 ]
http://arxiv.org/abs/2407.00731v1
http://arxiv.org/pdf/2407.00731v1
Large Language Models Struggle in Token-Level Clinical Named Entity Recognition
2024-06-30T15:38:48
2024-06-30T15:38:48
Qiuhao Lu, Rui Li, Andrew Wen, Jinlian Wang, Liwei Wang, Hongfang Liu
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have revolutionized various sectors, including healthcare where they are employed in diverse applications. Their utility is particularly significant in the context of rare diseases, where data scarcity, complexity, and specificity pose considerable challenges. In the clinical domain, Named Entity Recognition (NER) stands out as an essential task and it plays a crucial role in extracting relevant information from clinical texts. Despite the promise of LLMs, current research mostly concentrates on document-level NER, identifying entities in a more general context across entire documents, without extracting their precise location. Additionally, efforts have been directed towards adapting ChatGPT for token-level NER. However, there is a significant research gap when it comes to employing token-level NER for clinical texts, especially with the use of local open-source LLMs. This study aims to bridge this gap by investigating the effectiveness of both proprietary and local LLMs in token-level clinical NER. Essentially, we delve into the capabilities of these models through a series of experiments involving zero-shot prompting, few-shot prompting, retrieval-augmented generation (RAG), and instruction-fine-tuning. Our exploration reveals the inherent challenges LLMs face in token-level NER, particularly in the context of rare diseases, and suggests possible improvements for their application in healthcare. This research contributes to narrowing a significant gap in healthcare informatics and offers insights that could lead to a more refined application of LLMs in the healthcare sector.
Large Language Models Struggle in Token-Level Clinical Named Entity Recognition: Large Language Models (LLMs) have revolutionized various sectors, including healthcare where they are employed in diverse applications. Their utility is particularly significant in the context of rare diseases, where data scarcity, complexity, and specificity pose considerable challenges. In the clinical domain, Named Entity Recognition (NER) stands out as an essential task and it plays a crucial role in extracting relevant information from clinical texts. Despite the promise of LLMs, current research mostly concentrates on document-level NER, identifying entities in a more general context across entire documents, without extracting their precise location. Additionally, efforts have been directed towards adapting ChatGPT for token-level NER. However, there is a significant research gap when it comes to employing token-level NER for clinical texts, especially with the use of local open-source LLMs. This study aims to bridge this gap by investigating the effectiveness of both proprietary and local LLMs in token-level clinical NER. Essentially, we delve into the capabilities of these models through a series of experiments involving zero-shot prompting, few-shot prompting, retrieval-augmented generation (RAG), and instruction-fine-tuning. Our exploration reveals the inherent challenges LLMs face in token-level NER, particularly in the context of rare diseases, and suggests possible improvements for their application in healthcare. This research contributes to narrowing a significant gap in healthcare informatics and offers insights that could lead to a more refined application of LLMs in the healthcare sector.
[ 0.0446100608, 0.0318494365, 0.0225925129, -0.0037230947, -0.0224139579, 0.03935121, 0.006419695, 0.0286027007, 0.0148235215, -0.0415704474, -0.0222944822, -0.0654726103, -0.0022763726, 0.0126780448, 0.0224471036, -0.0243110415, 0.0461622775, -0.0097391093, 0.0525956862, 0.0136396326, -0.0336578675, -0.0035299903, -0.0096459743, 0.0578700677, 0.0266114492, 0.0039195968, 0.0110840034, 0.0184999742, 0.0240388606, -0.0786651, -0.0334308259, 0.0302876402, -0.0223896373, 0.0411564335, 0.0000019712, -0.0583782867, -0.0447561555, 0.0454652496, -0.0352024622, -0.0450602919, 0.0361713395, -0.025395304, -0.0310709588, -0.0142672975, 0.0084410859, -0.0577734411, 0.0183064938, 0.0619682446, 0.0104375035, 0.084432669, -0.0137580652, 0.0224632788, 0.0464288928, -0.0172126051, 0.0537563898, -0.042929329, 0.0597542301, -0.0486187041, 0.043738123, 0.0089825112, 0.0276261438, 0.0438203663, -0.0331598371, 0.0396888144, 0.0219055638, 0.0681396499, -0.0710145533, -0.014940572, -0.0093117002, 0.0416317359, -0.0061822264, -0.0013797889, 0.0714535043, 0.0127940997, -0.0167492088, -0.0016670177, -0.0453298539, -0.0008746125, -0.0445606895, -0.0017233526, 0.0175491776, -0.0219547097, 0.03127167, -0.0137680657, -0.0306029432, -0.0161209796, 0.0262420736, -0.034477219, -0.0129155479, -0.0105930036, -0.0374152027, -0.0556802079, 0.0399607979, 0.0570145473, -0.0307576451, 0.0225741435, -0.0249656793, -0.0277249683, 0.072228089, -0.0215859693, 0.0011099596, 0.0160065163, -0.0204719603, 0.044042293, -0.0482447296, 0.00879901, -0.0113562979, 0.0346590653, 0.0037007274, -0.0020631005, -0.0341072083, -0.0291202813, -0.0489210226, 0.0278421268, -0.0309363939, -0.0129780564, -0.0582496151, -0.0090467697, 0.013444243, 0.0400088131, 0.0165609587, 0.0159418937, -0.0169705432, 0.0017701978, 0.0026374517, -0.0006804569, 0.018879395, -0.0347383134, -0.0054076398, -0.0889724195, 0.0108197527, -0.0085821785, 0.0254810788, -0.0284581725, 0.0566710681, 0.087345697, 0.040195059, -0.0858119875, -0.0162280854, -0.031938877, -0.0335194692, -0.0264756605, -0.009127574, -0.049432151, 0.0268805511, 0.043231532, 0.0007768717, -0.0381155796, 0.0215610284, 0.0201688912, -0.0773754045, 0.0506035164, -0.0497702472, -0.0029501999, 0.0276146308, 0.0227859169, 0.0249479376, 0.0169990137, 0.0244177412, -0.0350438841, 0.0149322804, 0.0044889878, 0.0268396605, 0.0163430497, 0.0407862626, -0.0484501459, 0.0041169776, 0.0167466551, 0.0127743119, 0.0489968993, 0.0010082591, 0.0799048319, 0.0005159366, -0.0061017526, 0.0282903574, 0.0942954347, 0.0225953534, -0.0172853153, 0.0281393733, -0.014017432, -0.0140864318, -0.048363287, -0.0073344568, -0.01033305, 0.0170414373, 0.0208155531, 0.0190968625, 0.041029267, -0.0309075378, 0.010124227, -0.0424489118, 0.0139137348, -0.0583622977, -0.0073202429, 0.0498826243, -0.0129924342, -0.0581365079, 0.0531996526, 0.0412030481, -0.0278630331, 0.0097331256, -0.0780953318, -0.0125842076, 0.0703036562, 0.081892699, -0.0316318199, -0.0404437929, -0.0090477876, -0.0298555102, 0.0262168739, -0.0076229544, 0.0058066417, -0.0031021945, -0.039243836, 0.0183145367, 0.0367466323, 0.0080083292, 0.0018840802, 0.0110019678, 0.0394026637, -0.0111104436, -0.0318382084, -0.0038395496, 0.0408901237, -0.0782967508, -0.0437686667, 0.0100805201, 0.0123324338, -0.0064172726, 0.0320721865, -0.0016512915, 0.0384358205, 0.0199732501, -0.0266628265, -0.0141947083, -0.0126623744, -0.0102497162, -0.0398932286, -0.0082786474, 0.0132892774, -0.0036880979, -0.0737645701, -0.0074750944, -0.0311117824, -0.0515725352, -0.0085537983, 0.0478887223, -0.0233231839, 0.041442059, 0.053063076, -0.0217098519, -0.0491059199, 0.0315724164, -0.0279743355, 0.0316833369, 0.0537652038, -0.0233186372, 0.0061797313, -0.0542883761, -0.028047163, 0.0121106915, -0.0190169737, -0.005481428, -0.0166263338, 0.0085185459, -0.0076263417, -0.0535093062, -0.1150280461, 0.0300121196, 0.0159533918, 0.0363709219, 0.0171912536, 0.0522493385, -0.0330201983, -0.0246020369, -0.025435036, -0.0276038852, 0.0393015258, 0.0297925305, 0.0382814892, 0.031251125, -0.0333382152, -0.0086569889, 0.0149117745, -0.0393829755, 0.0274610799, 0.0064288685, -0.0496702157, -0.0175150353, 0.022834463, -0.0405868292, -0.006747345, 0.0057843672, 0.0241641197, 0.0228843801, -0.0120088281, 0.0254687294, 0.0499994941, -0.0220725257, 0.0391303115, -0.0026699374, -0.034255974, -0.0183790587, 0.0200228225, -0.0365675427, -0.0230913348, 0.0283409916, -0.0452652387, 0.0329229198, 0.084613964, 0.0012741523, 0.0027030006, -0.0477596372, -0.0006162891, -0.016705323, 0.0156054785, -0.0530975126, 0.0237344727, -0.0468104444, 0.0147431185, -0.0170692522, -0.0370843373, 0.0846428648, -0.0564395301, 0.0122360159, -0.0476018824, 0.0104674445, -0.0580924824, 0.0026679337, 0.0109287128, 0.0164678544, 0.0223343205, -0.0659798458, 0.0293468609, 0.0386634953, -0.0332916118, -0.0652825311, 0.0660587177, 0.0143548567, 0.0340424813, -0.0127343526, -0.0257610939, -0.0411097519, -0.0053098332, -0.0240740851, 0.0114020472, -0.0022735083, -0.0058201775, -0.0522923879, 0.0538706817, 0.0005597342, 0.0909221619, 0.0057397266, -0.0218743384, -0.019598525, 0.0259557758, 0.0167563912, -0.0400653966, -0.0013260493, -0.0243595783, 0.0120362425, 0.0544486642, 0.0129036261, 0.0192615762, 0.0323619209, -0.000816108, 0.009656081, -0.0551788509, 0.0072132023, 0.0303122066, 0.0728000253, -0.0478825532, -0.0234055966, 0.1129668951, 0.0265015624, -0.0664491653, 0.0084615573, -0.0220398735, 0.0032963569, -0.0203195848, 0.0306294877, -0.0791017711, -0.0412474126, 0.0314801373, 0.0367647968, -0.059169855, -0.0658512414, 0.0012663553, -0.0575559512, 0.0450940579, -0.0030158053, -0.0788500756, 0.0019415402, -0.0508085862, 0.0109219849, 0.0032606465, 0.0064857476, 0.0110848863, -0.0363982171, 0.0009242205, 0.0028093148, -0.0197208524, -0.0927083343, 0.0125146015, -0.034956459, 0.0606755577, 0.0645919293, 0.0134665826, -0.0008203541, 0.0124335214, 0.003717833, -0.0024129662, 0.018947931, -0.0329460651, 0.0628077909, -0.0128778554, -0.0100624179, -0.0692917779, 0.0195095148, -0.0171367712, -0.0443963893, -0.0261223502, 0.0525565594, -0.0252385978, -0.0122616543, -0.0394119173, -0.0181027483, 0.026441941, 0.0649839193, 0.0077633411, 0.0060741273, -0.0212443918, 0.0176747236, 0.0372438207, 0.0026030173, -0.0151269641, 0.0205360726, -0.0431121811, -0.0414550826, -0.038123589, -0.0112959547, 0.0577480122, 0.0070636156, 0.011240338, 0.0450421385, 0.0092833424, 0.013054681, -0.0523273237, 0.0724344328, -0.0035220832, -0.0128296306, -0.1077590734, -0.0447767377, 0.0477858931, 0.0014715334, -0.0160649363, 0.0059582279, -0.0419093519, -0.0346072614, -0.0179682057, 0.0150886215, 0.0216206275, 0.0039399844, 0.0156484004, -0.0151162455, 0.0723565817, 0.0863251388, -0.0304692201, -0.0194314253, -0.0370487124, -0.0002004334, -0.0228499137, 0.015762724, -0.0113982297, 0.0353181474, 0.0250960067, 0.0510540903, 0.0140061667, -0.0062431828, 0.0129512176, 0.0436758436, 0.0566896684, -0.0208795592, -0.0150758382, -0.0373516902, 0.0185880046, -0.0241857227, 0.047102116, -0.0158800352, -0.0364773124, -0.0069845119, -0.0150110098, -0.0340047628, 0.0015291328, -0.0546758287, 0.0060624257, -0.0610701591, 0.0396970361, -0.0079070842, 0.0120865116, 0.0647652522, -0.0525498129, 0.0012615705, 0.0470783189, 0.0033267541, 0.0237217732, -0.0449253544, 0.0644287169, -0.0083163269, 0.0263114274, -0.0006914167, 0.0437382944, -0.0441527963, -0.0083756307, -0.0269493796, 0.0515080653, 0.0384476818, 0.0231914259, 0.0336924121, -0.0309992768, -0.006032221, -0.0199842323, 0.0144316815, -0.0265369285, -0.0022904442, 0.0205106139, 0.0180959087, -0.0200277306, -0.0229932349, 0.0667255297, 0.013178004, 0.0458802581, -0.0037936952, -0.0340363979, -0.0361852124, 0.0003206375, 0.0613343827, -0.0391995981, -0.0658009052, 0.0031940865, -0.0767580792, -0.0280855075, 0.0377460122, -0.0040995912, -0.0462348498, -0.0076674917, 0.0150124934, 0.0236671474, 0.0193765238, -0.0423827693, -0.0283465087, 0.0549669303, -0.0314496905, -0.0422100723, 0.0347986259, -6.027361978e-33, -0.0218227059, -0.0438300446, 0.0401032269, -0.029727228, -0.0071802363, 0.0422213338, -0.0428759865, -0.0108801592, 0.0459367074, -0.0114463894, -0.0543054678, -0.0319571421, 0.0209862981, 0.0342253372, -0.0091607152, -0.0298540294, 0.0377524048, 0.0330302045, -0.0291207042, 0.0415911712, 0.0077587203, 0.0570899844, 0.0392735489, -0.0454844013, 0.0189807191, -0.0046928795, 0.0385961086, 0.0065945364, 0.0306385197, 0.0598955452, -0.0509778783, -0.0085834879, 0.0402866304, -0.0167849641, -0.0016737443, 0.0187948849, -0.101280421, -0.0007825596, -0.0187522173, -0.016640516, -0.0093019092, -0.0464425087, 0.0438285507, -0.0215360261, -0.0320344716, 0.0403506905, -0.0007288507, -0.0111922454, -0.0348016396, -0.0227269549, -0.0485853031, 0.0756196454, 0.0309342984, 0.0074334531, 0.0164387096, -0.0233839732, -0.0215033516, 0.0331915356, -0.0259338133, -0.0063335728, 0.0537598655, 0.0110605257, 0.0108463494, 0.0003346632, -0.0122599835, 0.0677485764, 0.0516321808, -0.0010949345, -0.0472145267, 0.0083827553, -0.0208599102, 0.0392712466, -0.0050047664, 0.0038212808, 0.0362324864, -0.0066229338, -0.0667776465, 0.0500716344, -0.0525903516, 0.0336747766, 0.0491724983, -0.037308272, -0.0646474734, 0.009600224, -0.0093361791, -0.0093415398, -0.034968853, -0.0141243776, 0.0468314216, 0.0030468598, -0.0242206305, 0.023576634, 0.0368806645, 0.00547675, -0.0429087244, -0.0053699636, 0.0521398187, 0.0267445166, -0.0713426769, 0.0141176851, -0.0509093739, -0.0526552536, 0.0415505208, -0.0118332347, 0.0306700617, 0.0124133518, 0.0161793195, -0.0283086915, -0.0845113993, -0.0043788436, 0.0331765711, 0.0439767316, -0.0338137448, 0.0363181233, 0.0363607556, -0.0018028035, 0.0287836865, 0.0491383336, 0.0154201919, -0.0249618962, -0.0459523015, 0.009481011, 0.0062904335, -0.0018411528, -0.0282314941, 0.0289310049, -0.0461325161, 0.0431828797, 0.0213420223, -0.0480028726, 0.0118376259, -0.0044024056, 2.79e-7, 0.0507648624, 0.0477694385, 0.030660443, -0.0277956799, 0.0207958203, -0.0016588961, 0.0058558346, 0.0118939783, -0.0028548706, 0.008710566, 0.0353643447, -0.003183296, 0.0280911326, 0.0303398315, -0.1057852954, 0.0029750483, -0.0838922486, 0.0066418643, -0.0545827001, 0.0055284132, 0.0126516027, 0.0542638674, -0.0625303164, -0.0357559882, 0.0134596108, -0.0411633924, 0.0523238219, -0.0091248844, -0.0044503491, 0.0654146746, 0.0153945759, 0.0295872632, 0.0295831021, 0.0170702059, -0.008935174, 0.0043400549, -0.0229451284, 0.1062601805, -0.0441575274, 0.0088381972, 0.0368867517, -0.0213220604, 0.0126865115, -0.0373087525, 0.0707043558, -0.0573030934, -0.0225714799, -0.0203134678, 0.0048713465, -0.0211976431, 0.0242497437, -0.0126933083, -0.0473750308, 0.0543493554, 0.0310791731, -0.001543797, -0.0204544067, -0.0728130564, 0.0214564912, 0.0166830625, -0.0301392581, -0.0282354858, 0.0057217604, -0.0000731943, -0.0217347108, -0.074641034, 0.0087722912, 3.021717054e-34, 0.0123248221, 0.0050022681, -0.0222241729, 0.0383349359, 0.0173655674, -0.0167281907, 0.0029590931, 0.0304252207, -0.0168957524, -0.0778823122, -0.0116952565 ]
http://arxiv.org/abs/2407.00702v1
http://arxiv.org/pdf/2407.00702v1
Scaling Technology Acceptance Analysis with Large Language Model (LLM) Annotation Systems
2024-06-30T14:01:06
2024-06-30T14:01:06
Pawel Robert Smolinski, Joseph Januszewicz, Jacek Winiarski
cs.CL
cs.CL
Technology acceptance models effectively predict how users will adopt new technology products. Traditional surveys, often expensive and cumbersome, are commonly used for this assessment. As an alternative to surveys, we explore the use of large language models for annotating online user-generated content, like digital reviews and comments. Our research involved designing an LLM annotation system that transform reviews into structured data based on the Unified Theory of Acceptance and Use of Technology model. We conducted two studies to validate the consistency and accuracy of the annotations. Results showed moderate-to-strong consistency of LLM annotation systems, improving further by lowering the model temperature. LLM annotations achieved close agreement with human expert annotations and outperformed the agreement between experts for UTAUT variables. These results suggest that LLMs can be an effective tool for analyzing user sentiment, offering a practical alternative to traditional survey methods and enabling deeper insights into technology design and adoption.
Scaling Technology Acceptance Analysis with Large Language Model (LLM) Annotation Systems: Technology acceptance models effectively predict how users will adopt new technology products. Traditional surveys, often expensive and cumbersome, are commonly used for this assessment. As an alternative to surveys, we explore the use of large language models for annotating online user-generated content, like digital reviews and comments. Our research involved designing an LLM annotation system that transform reviews into structured data based on the Unified Theory of Acceptance and Use of Technology model. We conducted two studies to validate the consistency and accuracy of the annotations. Results showed moderate-to-strong consistency of LLM annotation systems, improving further by lowering the model temperature. LLM annotations achieved close agreement with human expert annotations and outperformed the agreement between experts for UTAUT variables. These results suggest that LLMs can be an effective tool for analyzing user sentiment, offering a practical alternative to traditional survey methods and enabling deeper insights into technology design and adoption.
[ 0.0491968729, 0.0275952574, -0.0098357182, -0.0001819917, 0.0066701076, -0.0038545185, 0.0183064491, -0.0235571917, 0.0339311287, -0.0958770886, 0.0122247702, 0.000044152, -0.0165600758, 0.0297502074, -0.0120495139, -0.0037141962, -0.0142422607, 0.0192992222, 0.0186035093, 0.0324590541, 0.0444260314, 0.0243627168, 0.0306056868, 0.0494171306, 0.0116295815, -0.0082050608, 0.0272907335, -0.0109477062, -0.0371494181, -0.0680112019, -0.0104782041, 0.0510480925, 0.0383771285, 0.0368044376, 0.0000021952, -0.0375358276, -0.0136140417, 0.023082396, -0.025349455, 0.030081166, 0.0809604079, 0.0251769368, 0.0057058474, 0.0029538537, -0.0208752304, -0.0060152621, 0.053315945, 0.0467252582, 0.0614560992, -0.0019188089, -0.0251480769, -0.046563562, -0.0251982603, 0.0195642151, -0.0388089642, 0.0346424431, 0.0158532765, 0.0679007843, 0.0276245754, 0.0479082763, 0.0482753329, 0.0005227838, -0.0324675441, -0.0245692842, 0.0421596095, 0.0002243654, -0.0032056533, -0.0470914096, -0.0142276185, 0.0425379165, 0.0855509862, -0.0210035257, -0.0187830869, -0.0199842472, -0.0182411522, 0.0586592592, -0.0695625618, -0.0188217033, 0.0150111271, 0.0149828792, -0.029416943, -0.0019304168, 0.0301634502, -0.0164706856, 0.0189210754, 0.0835564882, -0.0018735979, -0.0190811753, -0.0122194411, 0.0191858616, 0.0073512644, -0.0519588999, 0.0047158878, -0.037584696, 0.0271864869, 0.0104692979, 0.0204940569, -0.0041089989, 0.0291962065, -0.0867198855, 0.0720658973, -0.0132886143, -0.0012114589, 0.0582637675, 0.001106299, -0.0159302056, -0.0446082391, -0.0790476575, -0.0291419253, 0.0360534824, -0.063125588, 0.0110556427, 0.0234259851, 0.0176626388, 0.0099882195, -0.0257346202, -0.0733252168, 0.0284423418, -0.0090415357, 0.0338183641, 0.0238972604, -0.0249574706, 0.0596770607, 0.0285661891, -0.0354823954, 0.0570695624, -0.0270873867, 0.0592496172, -0.0310984477, -0.020255046, 0.0800147206, 0.049848184, 0.0190322474, -0.005604025, -0.0028714999, 0.0296691637, 0.0434422418, 0.01251351, -0.0166429095, -0.040866103, -0.0041764211, 0.0154760573, -0.0136291217, -0.0629244223, -0.0150420442, 0.0325784981, 0.0000785776, 0.0071475343, -0.000521337, 0.031107951, -0.0081823803, 0.0337253176, -0.0713311657, -0.0064011454, 0.0131324669, -0.0136398217, 0.0205821563, 0.0194410048, 0.0093268445, 0.0274146926, 0.0382908434, -0.0156638864, 0.0132474741, 0.0469483584, -0.0497093908, -0.0204585046, -0.0379598662, 0.0045640552, -0.0384062119, -0.0444618575, -0.0037464534, 0.0483146086, -0.0104174381, 0.0392698534, 0.0736997053, 0.0505970195, -0.0209721196, 0.026930403, -0.0205998346, 0.0363023207, 0.0024053508, -0.0574923679, 0.0376996733, 0.0243172422, -0.0278506912, 0.0208762437, 0.037895862, -0.0133085102, -0.0121174622, -0.0604892112, -0.0582316369, -0.0317893736, 0.0860758722, 0.0119060539, 0.0514905415, -0.0474102274, 0.0107731158, 0.0175860431, -0.0130706783, -0.0548565723, -0.0096748937, -0.0248674955, 0.0751810595, 0.0781443194, -0.0036908034, 0.0030618103, -0.0098976921, -0.0389328189, 0.0016786718, -0.002133487, 0.0455316603, -0.0071675801, -0.1103167161, -0.0190577842, -0.0181047078, 0.0249416679, -0.0000552293, -0.0018375857, -0.0110975951, -0.0220101941, -0.0077846223, -0.0165401511, -0.0399147607, 0.0003755884, 0.0043656696, -0.0047212169, -0.0397314243, -0.0104628894, 0.0775940195, 0.0785640031, 0.0013273315, 0.0246299673, 0.0301663168, 0.001514872, -0.0528131798, 0.0273199119, 0.0382859521, 0.0361718647, 0.0347471498, -0.0041510086, -0.0227855965, 0.0011884539, 0.0232689753, -0.0135097969, 0.0166793354, -0.0036104382, 0.0458624326, -0.0228558909, -0.0364480428, -0.0405162387, -0.0171259679, -0.0328375772, 0.0050837556, 0.0159023888, -0.0005530465, -0.0324945189, -0.0853972733, 0.0076264702, 0.0328560248, -0.0987542421, 0.0142494859, 0.0502002686, 0.042945113, 0.0601461157, -0.0268485378, -0.0309026465, -0.0042768116, -0.1408403218, -0.0393624343, 0.0305106174, 0.0333332643, 0.009021217, -0.0122996457, 0.0063490141, 0.0259389337, -0.0368638262, -0.0343798734, -0.0022735933, 0.0406587496, 0.0373063125, 0.0014423783, -0.008738243, -0.0465759225, -0.019543035, -0.0400640257, 0.0294668488, 0.0619907677, -0.02963675, -0.0235140491, 0.0142258396, -0.0525967441, -0.0150626395, 0.0100997584, -0.0001211275, 0.0270249154, -0.0090590613, -0.017926231, -0.0012077678, -0.0315505937, -0.0024818161, 0.0525698848, -0.0008190652, -0.0443722643, -0.0161221474, 0.0164612569, -0.0051924745, 0.0111772437, -0.0208650585, 0.0229168553, 0.0260863025, -0.0113555863, -0.0112407636, -0.0178825464, 0.0121740997, -0.0545595884, 0.0127647407, 0.0035765374, -0.0250692628, -0.0138480254, 0.0670773238, 0.0335365683, -0.0128048556, 0.0381596237, -0.0424045958, -0.0087991981, -0.0368266702, -0.0290674474, -0.042198617, 0.0132189533, 0.0018872806, 0.0194699597, -0.0310341064, 0.0441319384, 0.0162733495, -0.0426368825, -0.0010007318, -0.0368984677, 0.0317704231, -0.007621469, 0.0119413901, 0.0271407422, 0.0160512775, 0.0425073169, -0.0416579358, -0.0872983709, -0.0095281573, 0.030156929, -0.0265594199, 0.0346194766, 0.0296105724, 0.0101652434, 0.0214161985, 0.0405361019, -0.0192501657, -0.0072635817, 0.0143971667, 0.0230761953, -0.014146232, 0.0039929147, 0.0113668963, -0.0050655045, 0.0327547528, -0.0238164067, 0.0056241192, -0.0896666646, -0.0325639546, 0.0225058179, -0.0150022553, -0.0265839007, 0.0018755724, 0.0219726209, -0.0302408226, 0.0763822794, 0.0931800827, 0.0015954319, -0.0371721163, -0.0131621072, 0.0100235343, 0.0204614475, 0.0408181436, 0.0029316461, -0.0943778902, -0.0108264135, -0.02816879, 0.0004621411, 0.0074621486, -0.0067798449, 0.0153027782, -0.0760624483, 0.0078614084, -0.0012245097, -0.0110818651, 0.0321466401, -0.0362301767, 0.0104765128, -0.0091612637, 0.0117737837, -0.0208834372, -0.0142353969, 0.0186501034, 0.0100907544, -0.1125436798, -0.0513459109, 0.048516795, -0.0375582315, 0.0636569038, 0.1040714085, 0.0075808498, -0.0340135694, -0.0323923528, 0.0600764304, 0.0453186519, -0.0136309164, 0.0031463287, 0.0137557099, -0.0027488284, 0.0195498411, -0.0190069117, 0.0061269449, -0.0537235886, 0.0091810497, 0.0124900369, 0.0808809623, 0.0470514633, -0.0018558976, -0.0347484425, 0.004434309, 0.0020812685, 0.0627435669, -0.0061307945, -0.0680248067, 0.0124464743, 0.0001251131, -0.0362381935, 0.0476489924, -0.0556735843, 0.016370222, -0.0398703218, -0.0051572588, -0.073626861, -0.0294635631, 0.0268801227, -0.0049049589, 0.02268029, 0.0209029447, 0.0734971911, -0.0069857487, 0.0115677556, 0.0261276215, -0.0096097477, -0.0043234611, -0.0273246672, 0.023579061, 0.0292836819, 0.0149577036, -0.0093731014, 0.0018575905, -0.021093633, -0.0166450739, -0.0119049717, 0.0343066566, 0.0243562292, -0.0371529981, 0.0072360518, -0.0594995245, -0.0391135588, 0.0022782264, -0.0001575575, -0.0128231104, 0.0124016264, 0.081736736, -0.0046499604, -0.0165017024, -0.0106403809, 0.0118858675, -0.0143393846, -0.0297093522, -0.0386626087, -0.0591007061, 0.0346865021, 0.0264627282, 0.0330605954, -0.0078675421, 0.0547745749, 0.0019339485, -0.0399371125, -0.022442786, -0.0288823638, -0.0474462323, -0.0154877389, -0.0137904836, -0.0287453234, -0.0462538451, -0.0162187256, -0.0077677844, 0.0204345807, -0.038998317, 0.0665278509, 0.0029918326, 0.0210033264, -0.0193454213, -0.0124846268, -0.0327537134, -0.0116266944, -0.0381520651, -0.0084000807, 0.0075629773, 0.037421681, -0.0347227789, -0.0082124621, 0.0206247009, 0.0388339944, 0.016104592, -0.0488522202, -0.0350248888, -0.0041712942, -0.0145769436, -0.0386830159, 0.0548426472, -0.0219985917, -0.0185436178, -0.0339192227, 0.0242644083, -0.0379393287, 0.0061517386, 0.0302786678, 0.0071550724, -0.0724238381, -0.0065663815, 0.0262928437, -0.0134171881, -0.0499328598, -0.0346932001, -0.0457680114, -0.0514559224, 0.0110611413, 0.0121734925, 0.0025947066, -0.030836992, -0.0439661928, -0.0585766062, -0.0584225506, -0.0043789018, -0.0214590691, -0.0029244146, 0.0061391462, -0.0059864153, 0.0611356311, -0.0137405647, -0.0213782769, -0.0481320582, -0.032317277, -0.0484008156, 0.0124632968, -0.0176931284, -6.406779963e-33, 0.0027726337, -0.006184319, -0.007975745, 0.0192947518, 0.0159850139, -0.006044561, 0.0130139794, 0.049301371, 0.0037858572, -0.0070171636, -0.0085041355, -0.0227606501, 0.0061410316, 0.02058837, 0.0783417001, 0.019014867, 0.0698817074, -0.0079859672, -0.0050474945, -0.0057330928, 0.0250321385, -0.0597587898, 0.0163914468, -0.1240714043, 0.0913083032, -0.0238727387, -0.018195644, -0.0267432947, 0.0377402641, 0.0595201515, -0.0262247268, -0.0179177299, 0.031315241, -0.0517386571, -0.0145294871, 0.0467710122, 0.0047990927, 0.0451269299, 0.0174086262, 0.0159710851, 0.01300772, -0.0054525849, 0.0535614789, -0.0467422865, -0.0417237692, 0.0705272779, 0.0476485267, -0.0494401269, 0.0088234991, -0.0321548656, -0.0408377722, 0.0110291475, -0.0114189684, 0.0642270148, -0.0070365341, 0.0606837347, -0.0096267359, 0.0336656123, -0.0896491185, 0.018517537, -0.0000508895, 0.0051456592, 0.0666143075, -0.0423617326, 0.0095849466, 0.0549123175, -0.0189860873, 0.0095524741, -0.0227960255, -0.0040555228, 0.0112417256, 0.0173013732, 0.0250668395, 0.0394050032, -0.004683631, -0.0165786948, -0.0266118608, 0.0205582324, 0.0225403365, -0.0029758932, 0.0778887272, 0.0369238257, -0.0663581863, -0.0281986929, -0.0101076392, -0.0092469724, -0.0387475789, -0.0686708167, 0.0008361377, -0.0149666769, -0.0340876579, -0.0008079921, 0.0265150759, -0.0397625901, -0.0621830449, -0.0245686509, -0.021569673, 0.0577756874, -0.0088552395, 0.010954625, -0.0537081547, 0.0058220467, -0.0767607167, 0.0097296061, 0.00516624, 0.01502812, 0.0227338951, -0.0079723578, -0.0947345793, -0.0208683424, 0.0199277904, -0.0465069748, -0.0155754993, 0.0111420834, 0.0495859832, 0.0099780206, 0.0270589944, 0.0432335995, -0.0239502825, 0.0086054699, -0.0209410358, -0.0054591182, -0.0035687538, -0.0450783968, 0.0048780432, -0.0251441281, -0.0051959674, 0.0199665055, 0.0247055069, -0.0137166688, 0.0107135605, -0.0266762972, 2.883e-7, 0.0622028597, 0.0779748932, -0.0773622394, -0.0359708555, 0.0263746232, 0.0537194014, 0.0195107013, -0.0113395406, 0.0483897179, -0.0195737295, 0.0401528217, -0.0200824067, 0.0033207189, 0.0384385772, -0.0768270716, -0.0566885397, -0.0368212946, 0.04073257, -0.0340675227, 0.0197139364, 0.0787902549, 0.0658089519, 0.0186224245, 0.0224054027, -0.062628679, -0.0099144317, 0.0551696494, -0.079303354, -0.0123719703, 0.0150762722, 0.0453185551, 0.002982365, -0.0088397022, 0.0101703927, 0.0074467855, 0.0129271401, 0.0187584106, 0.0537702143, 0.0324655734, 0.0263065174, 0.0301232319, -0.0076034986, 0.034091223, -0.0552708954, 0.0166760162, -0.043514736, -0.0509188659, -0.1000197604, -0.021708481, -0.0213247705, 0.0421696343, 0.0043634623, 0.0221162084, 0.0156425536, -0.0202334877, -0.0331140012, -0.0379448086, -0.024306206, -0.0067251548, 0.0525356494, -0.0328412503, -0.0545317531, -0.0286996122, 0.0112107275, 0.0023039787, 0.0069895983, 0.0597298443, 2.359092955e-34, 0.0484756269, -0.0001266649, 0.0204724707, 0.0312111173, 0.0537209213, 0.0216738507, -0.009236549, -0.001525638, 0.0457357541, -0.0745760351, 0.0274500996 ]
http://arxiv.org/abs/2407.00693v1
http://arxiv.org/pdf/2407.00693v1
BAPO: Base-Anchored Preference Optimization for Personalized Alignment in Large Language Models
2024-06-30T13:30:04
2024-06-30T13:30:04
Gihun Lee, Minchan Jeong, Yujin Kim, Hojung Jung, Jaehoon Oh, Sangmook Kim, Se-Young Yun
cs.AI
cs.AI, cs.CL, cs.LG
While learning to align Large Language Models (LLMs) with human preferences has shown remarkable success, aligning these models to meet the diverse user preferences presents further challenges in preserving previous knowledge. This paper examines the impact of personalized preference optimization on LLMs, revealing that the extent of knowledge loss varies significantly with preference heterogeneity. Although previous approaches have utilized the KL constraint between the reference model and the policy model, we observe that they fail to maintain general knowledge and alignment when facing personalized preferences. To this end, we introduce Base-Anchored Preference Optimization (BAPO), a simple yet effective approach that utilizes the initial responses of reference model to mitigate forgetting while accommodating personalized alignment. BAPO effectively adapts to diverse user preferences while minimally affecting global knowledge or general alignment. Our experiments demonstrate the efficacy of BAPO in various setups.
BAPO: Base-Anchored Preference Optimization for Personalized Alignment in Large Language Models: While learning to align Large Language Models (LLMs) with human preferences has shown remarkable success, aligning these models to meet the diverse user preferences presents further challenges in preserving previous knowledge. This paper examines the impact of personalized preference optimization on LLMs, revealing that the extent of knowledge loss varies significantly with preference heterogeneity. Although previous approaches have utilized the KL constraint between the reference model and the policy model, we observe that they fail to maintain general knowledge and alignment when facing personalized preferences. To this end, we introduce Base-Anchored Preference Optimization (BAPO), a simple yet effective approach that utilizes the initial responses of reference model to mitigate forgetting while accommodating personalized alignment. BAPO effectively adapts to diverse user preferences while minimally affecting global knowledge or general alignment. Our experiments demonstrate the efficacy of BAPO in various setups.
[ 0.0365288705, 0.0688581914, -0.0023857653, 0.0261567514, -0.0150715522, -0.0027386413, -0.0138807734, -0.0299308095, 0.002930637, -0.004713119, -0.0544118024, -0.052254457, 0.0023048588, -0.0134255225, 0.0012175034, -0.0610806197, 0.0638783649, -0.0099152494, -0.0016159193, -0.0278976485, 0.0581868477, 0.0102078086, 0.0160079096, 0.0106377099, 0.0198355131, -0.0100627486, 0.015661519, -0.0186864883, 0.0370219462, -0.0002533467, 0.0302461293, 0.0555231608, 0.0021867901, 0.0237372108, 0.0000018548, -0.0477392524, -0.0587889068, -0.0271494426, -0.0295338053, 0.0140351793, 0.0463898033, 0.0243358184, -0.0154489595, 0.0074036322, -0.0272140633, 0.0135631757, 0.0647464097, 0.0108751776, 0.0414506011, 0.0578925461, 0.0117779151, -0.0313286185, -0.0107960422, -0.033150021, 0.0053602136, -0.0461982898, 0.0267344471, -0.031541951, -0.0304397214, -0.0168683231, -0.0081481943, 0.0271266364, -0.0231642537, 0.0303508583, 0.0303410534, 0.0367175713, -0.0022018966, -0.0157451406, -0.003224612, 0.0746356919, -0.0089202998, -0.0266341921, 0.0046997028, -0.0240313727, 0.0061266841, 0.0042424244, -0.0270386469, -0.0115499254, -0.0056263274, 0.0133660352, 0.012189569, -0.0246356651, 0.0423237383, 0.0313088261, -0.0306318067, 0.0643520653, 0.0248074345, -0.0390818305, 0.0261513423, -0.0163803659, -0.0072119948, -0.0395610519, 0.0185748357, 0.0048740325, -0.0639960468, 0.0520846322, -0.0418837257, 0.0264631864, 0.014246013, -0.0635930225, 0.0488887429, 0.0666179433, -0.0027376534, 0.0404732525, 0.0051031224, 0.0957885832, -0.0502674803, -0.0227171592, -0.0325779244, 0.0261536371, -0.0346784666, -0.0270103812, 0.0034958967, 0.0281307548, 0.0071342541, 0.0045572859, -0.0270283502, 0.0486999601, -0.0149562974, 0.0497459248, 0.0047575119, 0.0177602842, -0.051731281, -0.043613933, -0.0568502806, 0.0904164761, -0.0279366858, -0.0044333478, 0.0230424013, 0.024283383, 0.0084202606, 0.0071532014, -0.0248164199, -0.046588067, -0.0218269769, 0.0515750274, -0.0246620569, 0.0150537919, -0.0016671927, 0.0010937281, -0.0411498621, -0.0658726096, -0.0189430602, -0.0624801517, 0.0413076654, 0.0096859131, -0.0159318913, -0.1070138291, -0.0060934718, -0.0000344891, -0.0412212312, 0.0497862995, 0.0265137758, -0.0041492376, -0.0119325761, -0.0248774942, 0.0067278161, 0.0778519735, 0.0028209479, 0.0174505711, 0.0030252838, -0.0115834344, -0.0436424911, 0.0397446565, 0.0013066656, 0.0120805157, -0.0497607514, 0.0211284682, 0.0417342596, 0.067187041, 0.0475508459, 0.0195974484, -0.0094780494, -0.0187709574, 0.0541881286, 0.0177336019, -0.0214894637, 0.0225358699, -0.013212936, 0.0027781848, -0.0137033453, 0.0361812674, -0.0649678111, 0.0275638849, -0.0159206539, 0.0289051868, 0.0281829685, 0.0525169484, -0.0121787805, -0.0043443209, 0.0036628009, -0.0025714403, -0.0226603653, 0.0169199537, 0.0261099283, -0.0345984213, -0.0290579367, 0.0895913839, 0.0220241733, -0.0288539305, 0.0300907195, 0.0030279702, 0.037468344, 0.0864297897, 0.0229832735, -0.0276181493, -0.0878711715, -0.001103071, -0.0410593748, 0.045086015, 0.0641211942, -0.0147838918, -0.0215250831, -0.0630344748, -0.0622416921, 0.0441920981, -0.003779415, 0.0219276361, 0.022591142, -0.01069903, 0.0110020051, -0.0034388702, -0.0218114648, 0.0063096741, -0.0442882963, -0.0221845005, -0.0296784397, 0.0269552283, 0.0279846694, -0.0025421672, 0.0184761398, -0.0203875806, 0.0108076688, 0.0024133578, 0.0211670958, 0.0008937884, -0.0679833665, 0.0010588055, 0.059351325, 0.0090626553, -0.0241087861, 0.0111075705, -0.0352865048, -0.0529331155, -0.013633051, 0.023534989, 0.0727300122, -0.0042134328, 0.0446520671, -0.0157326646, -0.0544316396, -0.0731778741, 0.0573868752, -0.0178921539, 0.0037330214, 0.0064084623, -0.0369001664, 0.0029524122, -0.0557164848, -0.0249972828, 0.0235740822, 0.0088366875, 0.0358830616, 0.0591606013, 0.0001735734, -0.060622599, -0.0167170931, -0.0433729775, 0.0447923094, -0.0108918184, 0.0169520639, 0.0254587531, 0.0310739987, -0.0135145709, -0.0351849832, -0.0592729487, -0.0067618806, -0.0401126854, 0.0334669165, 0.0246538352, 0.023177078, 0.0033835468, -0.071622394, 0.0053788964, -0.0066127181, -0.0092474567, -0.0404024124, 0.0160857495, -0.0581471175, 0.0076173167, -0.0539945848, 0.0242949668, -0.0079739792, -0.0090015186, -0.0072448417, -0.0006764143, 0.0546012297, 0.0838688761, -0.0117211072, 0.0075941887, 0.0881141275, 0.0121535575, -0.0823482201, 0.0029550781, -0.0558363572, -0.0315395519, -0.0460756347, 0.0261942931, -0.0140989907, 0.0773679614, -0.01444434, 0.000808224, -0.0682959929, 0.0148197599, -0.0025047639, 0.0097660115, -0.034468323, 0.0202375129, -0.0491322242, 0.0363227725, -0.033923056, -0.0434813388, 0.0753352568, 0.0127691934, 0.0242127161, -0.074309133, 0.0329097994, -0.0200221222, -0.0098224021, 0.01861641, 0.0333447866, -0.0102402633, -0.0157724395, -0.1198889688, -0.0146925692, 0.0386981517, -0.0154103469, 0.0475572236, -0.0265055094, 0.0111582447, -0.0132072242, -0.0733028203, -0.0653474703, -0.0312770046, -0.0344842523, -0.0179544762, 0.0121388445, -0.0391294621, -0.0274629369, -0.0129899001, 0.0526014715, -0.0016067127, -0.0069817179, 0.0037064198, -0.0347582027, 0.0038979368, 0.085841544, 0.004403716, -0.0035054833, -0.0059341169, -0.0510242172, 0.0227612108, 0.0637703314, -0.0145703843, 0.0041930755, -0.0077682724, 0.064820379, -0.0642891079, -0.0305183902, 0.0230174046, 0.0196536556, -0.0248341784, 0.0072791572, 0.08446493, 0.0302956253, -0.0790851414, -0.0169843473, -0.0053699417, 0.0727188587, 0.0060913372, 0.0596783422, -0.0344657004, -0.0094586238, 0.015890548, 0.0218098592, 0.0328773968, 0.0147632165, -0.0163266957, -0.1238934919, -0.0565907061, 0.0457359031, -0.0698778406, 0.0004854549, -0.0249270964, 0.0227853153, -0.0515522771, 0.0575573929, 0.0248453058, -0.0161575861, -0.0087916609, 0.0148564326, -0.0077336468, -0.0522364154, -0.0028384724, -0.028026361, 0.0580926239, 0.0875895247, 0.0204583649, 0.0294823907, -0.0340210348, 0.0348260924, 0.0361098237, -0.02351957, -0.0084650917, -0.0214364901, -0.0102156186, 0.0026866554, -0.0022460518, 0.0402793437, -0.0176141225, -0.0146948742, -0.0102113485, 0.068118237, 0.010557672, 0.0190826077, 0.0275992099, -0.0266516283, 0.0032816485, 0.0549006276, 0.0037254274, -0.0612347387, -0.0193376597, -0.051704891, -0.0259613935, -0.0284306686, -0.0168123562, 0.0204708371, -0.0457428955, -0.001876138, -0.0584153906, -0.0186224729, -0.0060033388, 0.0278330762, 0.0399991684, 0.0066337669, 0.0225223657, -0.0363063142, 0.0048101936, 0.0320753269, -0.0524342135, -0.0111210281, -0.0684166402, -0.000406612, 0.0080177123, -0.0285269115, -0.0109432135, -0.0256996118, -0.0189714897, -0.0822218657, 0.0235042367, 0.0632333979, 0.0199823715, 0.0908490121, 0.0034323002, -0.0598047115, 0.0235701073, 0.0201127939, 0.0053662416, -0.0030892771, 0.0076310243, -0.0045654806, -0.0164714381, 0.0465981029, -0.0347665995, -0.0552028269, 0.012016383, 0.0266765896, -0.0211076867, -0.0156717878, 0.0263279099, -0.0216211472, 0.0238997005, -0.0452953987, -0.0126109896, -0.025608344, 0.0153659452, 0.0203984641, -0.0380187035, 0.0182053354, -0.0612031147, 0.0379226916, -0.0040321946, 0.0384472832, -0.0296520907, 0.0083564986, 0.0232785847, 0.0094432905, -0.02633713, 0.0455084108, 0.0540898256, 0.0742530599, 0.045449499, -0.0254972614, 0.033617869, 0.0002169468, 0.0671296194, -0.0256934445, 0.0460842364, 0.0344399437, -0.0211177543, -0.0336142369, 0.0139372339, -0.0099065313, -0.0468608439, -0.0145353777, -0.0360749587, 0.0577950217, -0.0654322803, 0.0547576994, -0.0126027968, -0.0191164091, -0.0312951803, 0.0265404433, -0.0166094024, -0.0108006634, 0.0059299963, 0.0128916278, -0.0260454565, 0.0280572511, 0.0805204436, 0.0365007669, 0.0356997401, -0.0434252694, 0.013029159, -0.0279716514, -0.005083526, -0.0173685513, 0.039297957, -0.0497976504, -0.028843727, -0.0780296028, -0.04765011, 0.0083288448, -0.0120632807, -0.0213321187, 0.0177716222, 0.0445945188, 0.0385960713, -0.0525810048, -0.0012721103, -0.0147074107, 0.0024504545, -0.0331162475, -0.0215257145, -0.0334621854, -6.29343145e-33, -0.0334400497, -0.0013390568, 0.0376669653, -0.0481736027, -0.0358226448, -0.0377482288, -0.006565975, 0.0233632606, -0.0011911726, -0.0381523371, -0.0186373107, -0.0377645493, 0.0150806485, 0.0077560251, 0.0408049114, -0.005138637, 0.0346542113, 0.0147835566, -0.0428241715, -0.0092590228, 0.0776379406, 0.0462931618, 0.0517106354, -0.0439831354, 0.0437396504, 0.0272254031, 0.0091364896, 0.0179864168, -0.0215891525, 0.0953107625, -0.0181958061, 0.0139411138, -0.0053348099, -0.015588779, -0.0388061516, -0.0049998895, -0.0296272933, -0.0280837342, 0.0533906035, 0.0344773084, 0.0355414599, -0.0631235391, 0.0283219814, -0.0058806622, -0.0078800907, 0.0019063673, 0.0289955791, -0.0158164166, -0.0688173398, 0.0697886795, -0.0542761795, 0.0003707882, 0.0078768022, 0.0209031943, 0.014427226, 0.001385392, -0.006357369, 0.0125715109, -0.03894509, 0.0239235368, -0.0093904324, 0.0469343737, 0.1093412414, 0.0494493507, -0.0086055892, 0.0338998772, 0.0156824253, -0.0324945636, 0.041836556, -0.0546400659, 0.0313261598, 0.0123531725, 0.0018864629, 0.0687800422, 0.0193201583, -0.0024066255, 0.0018155621, 0.0186841469, 0.0097419806, 0.0386251248, 0.017049443, 0.0583774522, -0.0197955016, -0.0305585731, -0.0461273491, -0.0019024995, -0.0461999178, -0.0277961884, 0.0203490052, 0.0091620293, -0.0089726225, -0.0055295015, 0.041712217, -0.0349696428, -0.0333476253, 0.0195704456, -0.0292935595, 0.0140682049, 0.0115392348, 0.0310779177, -0.0866505057, -0.0179782324, -0.0475114249, -0.0456719212, -0.0302181412, 0.0502116568, 0.0382729843, 0.0106236702, -0.048936408, 0.0156033635, -0.0315200202, -0.0415785275, 0.0250556991, -0.008340219, 0.0603593327, 0.0060060127, -0.0094278231, 0.0860042721, 0.0617918223, -0.0071325712, -0.0195543468, -0.0423467942, -0.0084669264, 0.0265817475, -0.0160288997, 0.0197458491, -0.0011852285, 0.0335681289, -0.0207812041, -0.012966373, -0.0026653672, -0.037083406, 2.535e-7, 0.0288726296, 0.0390175059, 0.0284225307, -0.0307952799, -0.0122097908, 0.0348714031, -0.0161460005, 0.0249236971, -0.0042181043, 0.0296838451, 0.0227825511, 0.0111768954, 0.0270990003, 0.0000829421, -0.103088215, 0.0128984125, -0.0241270009, 0.0319177359, -0.05219578, -0.0122449929, -0.0079885516, 0.0827049837, 0.0484666191, 0.0137313036, 0.0034590638, 0.0213341545, 0.0708693713, -0.0464643314, -0.0077035679, 0.0005738038, 0.0016656176, 0.0094219148, -0.0402036123, -0.0217434764, -0.0014806588, 0.0277685504, -0.0158564392, 0.0848848522, -0.0050173039, -0.064365238, -0.0047707362, 0.0167245213, -0.0100199115, -0.0609226972, 0.0458374321, -0.0310236532, 0.0151129989, -0.0013380548, -0.0246648006, -0.0070085707, 0.0127364714, -0.0137456367, -0.0194383934, -0.0009573784, -0.0043213833, 0.0276096221, -0.043417152, -0.0469876491, -0.0319741666, 0.0425690785, -0.0335749052, -0.0346025378, -0.0234097596, 0.0214005988, 0.016449742, -0.0519304052, 0.0112742996, 2.161604394e-34, -0.006900013, -0.0036954824, 0.0274060145, 0.018987434, -0.0116003575, -0.0020841996, -0.0086444495, 0.042429097, 0.0612951256, -0.0665714666, -0.0048882239 ]
http://arxiv.org/abs/2407.02528v1
http://arxiv.org/pdf/2407.02528v1
Actionable Cyber Threat Intelligence using Knowledge Graphs and Large Language Models
2024-06-30T13:02:03
2024-06-30T13:02:03
Romy Fieblinger, Md Tanvirul Alam, Nidhi Rastogi
cs.CR
cs.CR, cs.AI, cs.CL
Cyber threats are constantly evolving. Extracting actionable insights from unstructured Cyber Threat Intelligence (CTI) data is essential to guide cybersecurity decisions. Increasingly, organizations like Microsoft, Trend Micro, and CrowdStrike are using generative AI to facilitate CTI extraction. This paper addresses the challenge of automating the extraction of actionable CTI using advancements in Large Language Models (LLMs) and Knowledge Graphs (KGs). We explore the application of state-of-the-art open-source LLMs, including the Llama 2 series, Mistral 7B Instruct, and Zephyr for extracting meaningful triples from CTI texts. Our methodology evaluates techniques such as prompt engineering, the guidance framework, and fine-tuning to optimize information extraction and structuring. The extracted data is then utilized to construct a KG, offering a structured and queryable representation of threat intelligence. Experimental results demonstrate the effectiveness of our approach in extracting relevant information, with guidance and fine-tuning showing superior performance over prompt engineering. However, while our methods prove effective in small-scale tests, applying LLMs to large-scale data for KG construction and Link Prediction presents ongoing challenges.
Actionable Cyber Threat Intelligence using Knowledge Graphs and Large Language Models: Cyber threats are constantly evolving. Extracting actionable insights from unstructured Cyber Threat Intelligence (CTI) data is essential to guide cybersecurity decisions. Increasingly, organizations like Microsoft, Trend Micro, and CrowdStrike are using generative AI to facilitate CTI extraction. This paper addresses the challenge of automating the extraction of actionable CTI using advancements in Large Language Models (LLMs) and Knowledge Graphs (KGs). We explore the application of state-of-the-art open-source LLMs, including the Llama 2 series, Mistral 7B Instruct, and Zephyr for extracting meaningful triples from CTI texts. Our methodology evaluates techniques such as prompt engineering, the guidance framework, and fine-tuning to optimize information extraction and structuring. The extracted data is then utilized to construct a KG, offering a structured and queryable representation of threat intelligence. Experimental results demonstrate the effectiveness of our approach in extracting relevant information, with guidance and fine-tuning showing superior performance over prompt engineering. However, while our methods prove effective in small-scale tests, applying LLMs to large-scale data for KG construction and Link Prediction presents ongoing challenges.
[ 0.0461157635, 0.0204064324, -0.0254587214, 0.0386723205, -0.0587981082, -0.023885686, -0.0076806964, 0.0004894861, 0.070794791, -0.0395188257, -0.0015842388, 0.0088280085, -0.0488527045, 0.0822879523, 0.0368195772, -0.0147818243, 0.0405241065, -0.0436200015, 0.0531938039, 0.0294407904, 0.0072760992, 0.0431240164, -0.0369851366, 0.0106274253, 0.0053424714, 0.0001873307, -0.0127374744, -0.0263905488, 0.0677782819, -0.0451199412, -0.0184748545, 0.0026935958, 0.0138593782, 0.0064766523, 0.000002018, -0.072986193, -0.0391799062, -0.0255290214, -0.0227264483, -0.0078883637, 0.0404693559, -0.0372908525, 0.0039428622, 0.0139912264, -0.045169048, 0.0244931541, -0.0158932786, 0.0746370628, 0.064173542, 0.0976709723, -0.016786214, -0.0248400904, 0.0288182497, -0.0068589845, -0.0315222256, -0.0091008274, 0.0577285476, 0.0264445469, 0.0112294806, 0.0566367023, 0.0418586247, 0.0136815272, -0.0377845243, -0.006432117, -0.005633703, 0.0169170722, -0.0025226164, 0.0114457151, -0.0175871961, 0.0507905893, 0.0039161458, 0.027427312, 0.0199904237, -0.0276402365, 0.0248930361, 0.0238730088, -0.0109565165, -0.0062245359, -0.0329997092, -0.0119089624, 0.035555996, 0.0026135296, 0.0188543312, -0.0133616915, -0.0177233182, 0.0517521426, -0.0294956751, -0.0169097632, 0.0261458904, -0.07379134, 0.0055588884, -0.0346918218, -0.0105688684, 0.0256327651, -0.0118364207, 0.0217754673, -0.0173040964, -0.036551334, 0.0291840695, -0.0407702737, -0.0202563237, 0.0031440989, 0.0458777174, 0.0357968248, 0.0127971992, 0.0312796645, -0.0035422563, -0.0023559027, -0.0292170346, -0.0248242412, -0.0677018017, -0.0381543525, -0.0186258871, 0.0416247398, 0.019419428, -0.0133041777, -0.0305699594, 0.0200505685, -0.0742577761, 0.0552572869, 0.0364677981, -0.0102047659, 0.0211461391, 0.0008008407, -0.0220665149, -0.0215069726, -0.0203096718, 0.026379548, -0.033535704, -0.0404467471, -0.0105446465, 0.0215014126, 0.0281081144, -0.045917619, -0.0075541353, 0.0845410153, 0.023199955, 0.0070562242, -0.0256187003, -0.0513982996, 0.0235382784, 0.0187101662, 0.0081773885, -0.028686583, 0.034610074, 0.0005318652, -0.0058741788, -0.0592830628, -0.0123778507, -0.0169173107, -0.0728049576, 0.030698441, -0.037889041, -0.0103755668, -0.0094562052, 0.0031758691, 0.0251335744, 0.010572928, 0.0391577408, 0.0778688788, 0.0189319924, -0.0061965636, 0.0341336429, 0.0436917506, 0.0195278488, 0.0004562057, 0.0076601552, 0.0277139135, -0.0081655197, -0.04159493, 0.008024998, 0.0195434485, 0.0146097895, 0.0101492666, 0.031627886, 0.0037428546, 0.0079461448, 0.0317001864, 0.0555113479, 0.0554628484, 0.0034748137, -0.053523533, -0.0152595658, 0.0079528466, -0.0880660564, 0.0124414368, -0.0290575437, 0.0587291718, 0.0103023872, -0.0007189865, -0.0312456004, -0.0008742863, -0.0167455692, -0.0168596916, 0.0329960734, 0.0095416531, -0.0335178412, -0.0077813696, 0.0347528905, -0.0162501223, 0.0094096698, -0.0355817452, -0.0030411459, 0.0933877975, 0.0409928001, -0.0491878018, -0.0640848354, 0.0004922125, -0.0528747402, 0.0152004045, -0.0213124808, -0.0255047251, -0.0329813287, -0.0524095446, -0.0303188246, -0.0091546979, 0.0143137509, 0.0096312948, 0.0199770387, -0.0072988584, 0.0160876904, -0.028703656, -0.0311733596, 0.0260054041, 0.0014920123, -0.0184963606, -0.0323947817, 0.0224936027, 0.0681906268, 0.0203093011, 0.0064069289, 0.0223620683, 0.0610087067, -0.0390535742, -0.036654491, -0.0191886388, 0.011604283, 0.0183936395, 0.0281005744, -0.0071197115, 0.0432273112, -0.0035830615, -0.0476403013, 0.0009633288, 0.0648774356, -0.0025663667, -0.0139959296, 0.002641384, -0.0366259925, 0.039311409, -0.0020822152, -0.0093048308, 0.0854331255, 0.0035136605, -0.0657890812, 0.0175285935, -0.0374532007, -0.0249250289, 0.00416535, 0.0371254981, -0.0004999033, -0.0118924631, 0.0078539215, 0.0147477118, 0.0012788791, -0.0186156332, -0.0327761211, -0.0432616696, -0.0022763473, 0.0196188819, 0.0459373184, 0.010112986, -0.0114400769, -0.0381836742, 0.026831286, -0.0265930351, 0.0160278715, -0.0166042391, -0.0038831497, 0.0392382219, 0.0302434023, -0.0198378041, -0.0085762898, -0.0020527029, -0.04014818, 0.0564039797, 0.0227490161, -0.0620116964, 0.0133249182, 0.0760589615, -0.0734150186, 0.0054185684, -0.0486726277, -0.0325911157, -0.0075820745, -0.0634503737, 0.0457852408, -0.0407354496, 0.0157610327, 0.0528070778, 0.0564507246, -0.0146097662, -0.0519438572, 0.0229849163, -0.0542664714, -0.0277672708, -0.0490207896, -0.0301457308, 0.0444896743, 0.0200228188, 0.0584006496, 0.005524084, -0.0412286632, 0.0176269747, 0.0080149602, 0.0085987262, -0.0250155758, -0.0648535267, 0.0212907828, 0.0185838919, 0.0004800117, -0.022700293, 0.0709857568, -0.0056484421, 0.0531058088, -0.0212944541, -0.0477152541, -0.0376088247, 0.0706234276, -0.0041618166, 0.013779399, 0.0332061276, 0.0153063303, -0.0135598816, -0.0359646864, 0.0243372563, -0.0148318354, -0.0318985917, -0.0342835337, 0.0092724487, 0.0322627835, -0.0000106939, -0.0580230877, 0.0186777599, -0.0534068346, 0.0219876319, 0.0383757427, -0.0253235847, 0.0006330467, 0.0120348306, 0.0488204025, -0.0039633051, 0.0283814203, -0.0363157727, -0.0082188025, 0.0100606931, 0.0457234792, -0.0425328873, 0.0003324661, 0.0290409885, 0.0184875131, 0.0491666235, 0.0346095711, -0.0603926145, -0.0325263776, 0.0096488772, 0.0163435023, -0.0380724892, 0.0232923068, 0.0295569561, 0.0047786823, -0.0237480514, 0.0067055328, 0.0882887021, 0.0266988166, 0.0216979589, 0.0124043822, -0.0170709509, -0.0263134073, 0.0067759156, 0.0210206714, -0.0641476363, -0.0108837355, -0.0173610616, 0.0349708647, -0.0372324549, -0.0744150355, -0.0160390306, -0.1010336801, 0.0551316403, -0.0070152911, 0.023612652, -0.0484868772, -0.067117013, 0.0098251933, 0.000280394, -0.0633938909, -0.0252217185, -0.0047360403, 0.0047916826, 0.0113503421, -0.0582570583, -0.0270698965, 0.0071590221, 0.0036577461, -0.0045610536, 0.0143946605, 0.043428354, -0.0209545884, -0.0004612557, 0.0535363443, -0.0323178321, 0.0088466853, -0.0223487671, 0.0340317003, 0.0118924826, 0.0136755966, -0.0180750005, 0.0370111726, -0.0183328558, -0.0527650602, 0.0700156689, 0.0917562917, -0.0293191485, -0.0052412003, -0.0165798385, 0.0131416721, 0.0229533855, 0.0697672665, 0.0006336707, -0.0086827939, 0.047212705, -0.0167599469, 0.0154241491, -0.0260267258, -0.0478050075, 0.0242921971, -0.0322079286, -0.0229953658, -0.0570473112, -0.0402731746, 0.0359369144, 0.0131317656, 0.0233416464, -0.0465423763, 0.0133511741, 0.010361677, -0.0470288396, -0.0081802718, -0.0269903112, 0.0178733431, -0.0038542743, -0.0056710043, -0.0099467989, -0.0294755027, -0.0568288937, 0.0708460733, -0.0541599765, -0.0558539629, -0.0081350682, 0.0490933061, 0.0206170417, -0.0015251625, -0.0259720776, 0.0176234003, 0.1089858115, 0.076089412, -0.0267940685, -0.0283750985, 0.0219611004, -0.0115847159, 0.0320823751, 0.0273875464, -0.0504079983, 0.017152587, 0.0284280721, 0.0044029527, -0.0823280066, -0.0414889604, 0.0148800537, 0.0807486624, 0.0314317569, -0.0024555894, 0.005160402, -0.0713248104, -0.0097722309, -0.0187613703, -0.0278560184, 0.0092242584, 0.0366472155, 0.009774155, -0.0268800799, 0.0218799561, 0.0348494127, -0.0035969343, -0.0245689079, -0.052914314, -0.0015087478, 0.04689705, 0.0639982522, 0.0639369264, -0.047329165, 0.005213357, 0.0313716568, -0.0085708033, -0.0082811313, -0.007972667, -0.0006280247, -0.0045283483, -0.0250274912, -0.0505044945, 0.0249489434, -0.0367096402, -0.0416117422, 0.0148627777, 0.0254255831, 0.0369543396, 0.050255321, 0.0319425315, -0.0663871318, 0.004127969, 0.0190683156, 0.0404038541, 0.0054133087, -0.0387412384, 0.0343368575, 0.0148673868, -0.036691051, 0.0035096721, 0.0662166998, -0.0605084449, 0.0903054774, 0.0250752289, -0.0742953718, -0.043409206, -0.0634017363, -0.022871783, 0.0398810804, -0.0235809255, 0.0012875906, -0.0721156523, -0.0472643301, 0.0342455395, -0.0035777655, -0.0212942902, 0.0095570385, 0.0295683425, 0.0414577723, -0.0004027356, -0.0190059561, -0.0640438274, 0.0094250115, -0.0599416085, -0.0351816788, 0.0234584231, -6.416463097e-33, 0.0160991866, -0.0138961561, 0.0279672518, -0.0082879476, -0.0135246152, 0.0204707459, -0.0247987118, -0.0268992018, -0.0190753378, 0.0060107233, 0.0114200031, -0.0224207677, 0.0014102909, -0.0026319947, -0.0431048051, 0.027732471, 0.0030764428, -0.0039847214, 0.0067171897, 0.0405268371, 0.1056543589, -0.0066771996, 0.0307194255, -0.0989888757, 0.0491174683, -0.0123866303, -0.0381893218, 0.0021447253, 0.0082266433, 0.0392483622, -0.0258421823, 0.0593219399, 0.0122370776, -0.0416751802, 0.042338185, -0.0255048554, -0.0335061997, -0.0471368209, 0.0128878914, -0.0591943152, 0.002502251, -0.061178986, -0.0074905623, 0.0066244579, 0.0246805269, -0.0067973435, 0.0394523554, -0.0080612507, -0.0033131959, -0.0978185311, -0.0232934821, 0.0224693324, -0.0612788722, 0.0337748043, -0.0099374913, 0.0166095197, 0.0428407714, 0.0227720942, -0.0527889766, 0.0586700588, 0.0364597961, 0.0093917483, 0.0744809583, 0.0134169236, -0.0028442382, 0.0365394652, -0.0645897239, -0.0331923626, -0.0076720812, 0.0361279733, -0.0200009532, 0.0698052347, -0.0273053031, 0.044589024, -0.0549692363, -0.0597763024, -0.1120785773, 0.0331981145, 0.0209896434, 0.0510051399, 0.0065806997, -0.0129374191, -0.0556217171, -0.0115046315, 0.0212246533, -0.0469247475, -0.0033503121, -0.0098707462, -0.0056598624, -0.0188825075, -0.0351827256, 0.0380347595, -0.0280756019, 0.0151854632, 0.0202371161, 0.0734072551, -0.0451467931, 0.0170740113, -0.019737022, 0.0310247187, -0.0226115864, -0.0325131156, 0.0236631315, -0.0399260186, 0.0150342295, 0.0167299621, 0.0174787547, 0.0135924658, -0.0381790586, -0.0014588155, -0.0351949669, 0.0553032644, -0.0191469323, 0.0001975083, 0.0105343889, 0.0553172566, 0.0172872301, -0.0179023091, 0.0645680055, -0.0276732519, 0.0267575979, 0.081367515, -0.032361716, -0.0129528763, -0.0160604771, 0.0024065566, -0.023178257, 0.0218805522, 0.0049681305, -0.0431817248, -0.0262248032, 0.0068560396, 2.935e-7, 0.037337482, 0.0115095088, 0.0100105014, 0.0803758353, -0.0184754357, 0.0553876944, 0.0403349586, 0.0397130437, 0.0019101879, -0.0125090061, 0.0307817515, 0.0351212472, -0.0303410832, 0.0489209667, -0.0331061892, -0.0015238316, -0.0233043619, -0.0708319768, -0.1012788117, 0.0291325226, 0.0848919377, 0.0255842693, 0.0468542948, 0.0036293077, -0.0444170833, -0.0536754169, -0.0336643085, -0.0201856233, -0.0307317693, 0.0530889705, 0.0419064276, 0.012961437, -0.0365301333, 0.0814595446, -0.0180393253, 0.0036202536, -0.0332914144, 0.0164309274, 0.0458153673, 0.0051958947, -0.0132411364, -0.0492916778, 0.0070574135, -0.0278493222, 0.0619628355, -0.0247227754, -0.0172207039, 0.0441854298, -0.0357524343, 0.0101082232, -0.0496568531, -0.0511432253, 0.012358929, 0.0083469972, -0.0320648327, -0.0141169541, 0.0025065963, -0.0431269966, 0.0377569571, 0.0066585583, -0.0343925469, -0.0366832912, 0.0264391657, -0.0008382414, 0.0367006846, -0.0003542125, 0.0662376583, 2.673645371e-34, -0.0033916186, -0.0133341579, -0.0434083641, -0.0391959287, 0.0655102879, 0.0157318152, -0.0270843357, 0.0439317636, -0.0047230003, -0.0735859871, -0.0187868755 ]
http://arxiv.org/abs/2407.00668v2
http://arxiv.org/pdf/2407.00668v2
HRDE: Retrieval-Augmented Large Language Models for Chinese Health Rumor Detection and Explainability
2024-06-30T11:27:50
2024-07-03T15:18:40
Yanfang Chen, Ding Chen, Shichao Song, Simin Niu, Hanyu Wang, Zeyun Tang, Feiyu Xiong, Zhiyu Li
cs.CL
cs.CL
As people increasingly prioritize their health, the speed and breadth of health information dissemination on the internet have also grown. At the same time, the presence of false health information (health rumors) intermingled with genuine content poses a significant potential threat to public health. However, current research on Chinese health rumors still lacks a large-scale, public, and open-source dataset of health rumor information, as well as effective and reliable rumor detection methods. This paper addresses this gap by constructing a dataset containing 1.12 million health-related rumors (HealthRCN) through web scraping of common health-related questions and a series of data processing steps. HealthRCN is the largest known dataset of Chinese health information rumors to date. Based on this dataset, we propose retrieval-augmented large language models for Chinese health rumor detection and explainability (HRDE). This model leverages retrieved relevant information to accurately determine whether the input health information is a rumor and provides explanatory responses, effectively aiding users in verifying the authenticity of health information. In evaluation experiments, we compared multiple models and found that HRDE outperformed them all, including GPT-4-1106-Preview, in rumor detection accuracy and answer quality. HRDE achieved an average accuracy of 91.04% and an F1 score of 91.58%.
HRDE: Retrieval-Augmented Large Language Models for Chinese Health Rumor Detection and Explainability: As people increasingly prioritize their health, the speed and breadth of health information dissemination on the internet have also grown. At the same time, the presence of false health information (health rumors) intermingled with genuine content poses a significant potential threat to public health. However, current research on Chinese health rumors still lacks a large-scale, public, and open-source dataset of health rumor information, as well as effective and reliable rumor detection methods. This paper addresses this gap by constructing a dataset containing 1.12 million health-related rumors (HealthRCN) through web scraping of common health-related questions and a series of data processing steps. HealthRCN is the largest known dataset of Chinese health information rumors to date. Based on this dataset, we propose retrieval-augmented large language models for Chinese health rumor detection and explainability (HRDE). This model leverages retrieved relevant information to accurately determine whether the input health information is a rumor and provides explanatory responses, effectively aiding users in verifying the authenticity of health information. In evaluation experiments, we compared multiple models and found that HRDE outperformed them all, including GPT-4-1106-Preview, in rumor detection accuracy and answer quality. HRDE achieved an average accuracy of 91.04% and an F1 score of 91.58%.
[ 0.0905694589, 0.0704830587, -0.0005390834, 0.0188629366, 0.005941241, -0.006344785, 0.0103654657, 0.0400888883, 0.032543432, -0.0169656724, 0.0152609833, -0.0453777127, 0.0087231304, 0.0479683168, -0.0171322729, -0.0197005197, 0.0120902406, 0.0651654452, 0.0825666189, 0.0120001584, 0.0305247158, 0.0168118961, 0.0122651923, 0.0777254626, 0.0071092108, -0.0113234147, 0.0479210615, 0.028666582, 0.0037688487, -0.0923315212, 0.0178605895, 0.001236735, 0.0133037204, 0.0335774273, 0.0000017551, -0.0396554023, -0.0344656147, 0.0148406206, -0.0504338332, -0.0010130539, 0.0463300645, -0.0234826654, 0.0035127804, 0.0560034886, -0.027026996, -0.0417639054, 0.0421398096, 0.0755988955, 0.0819841027, 0.0704639107, -0.0222973507, -0.0279452205, -0.0178119969, 0.00243265, 0.0414906442, -0.0557104535, 0.0696331263, 0.0016810406, -0.0448783189, 0.0209098216, 0.0336152054, 0.0023000687, -0.0298230052, 0.0091776084, -0.0304310899, 0.0352055542, -0.053176187, -0.0342178345, 0.0173980799, 0.0613859333, 0.0055886661, -0.0612394996, -0.0047212634, 0.0206428785, -0.0080503142, 0.0568055585, -0.064278841, 0.010822393, -0.019072365, 0.0334698446, 0.0100708939, -0.0112537611, 0.0587802827, 0.0334601924, 0.0289617907, 0.0553726852, -0.0175006371, -0.0393814929, -0.0271165594, -0.03937326, 0.0130490791, -0.0537052676, 0.0277465563, 0.0294736773, -0.0074989493, 0.0228246097, 0.0283930432, 0.000044491, 0.0587105751, -0.0916470587, -0.053626541, 0.012378348, -0.011185904, 0.0332199708, -0.0078583313, -0.037559893, -0.0330190435, -0.0105322516, 0.0003629285, -0.0089853583, -0.0187907126, 0.0106295962, -0.0216959044, -0.0078984415, -0.0210608672, 0.0394417159, -0.0459570885, -0.0227611326, 0.0021638034, 0.0122326305, -0.0164735131, 0.0322113633, -0.0308839101, -0.0165971313, -0.0480625406, 0.0527236164, -0.0021699441, 0.0425586663, -0.0053258464, -0.0193825997, -0.0047935015, -0.0018978652, 0.0302010607, 0.0233044159, 0.0095249191, 0.0065366081, 0.0251394399, 0.0093493983, -0.030927578, -0.0494042709, -0.0119692786, -0.0139574325, -0.0371811576, -0.0444628634, -0.0134712812, -0.0328607857, 0.0118837785, -0.0219813008, 0.0141613744, 0.0568316728, -0.0619548634, 0.0314423628, -0.025144618, 0.019976249, 0.0243435837, 0.0528057404, -0.0007518761, 0.032015603, 0.0219394788, 0.0571957678, 0.0641708896, 0.0147227542, -0.0066743027, -0.0364036523, 0.0596924871, -0.0097772358, 0.0840993151, 0.0194234531, -0.013198439, -0.0124968886, -0.0754563585, 0.0312102307, -0.019844735, -0.0053011221, 0.0635663047, 0.0108421324, -0.0260750968, -0.0184122976, 0.0070408941, 0.0178510938, -0.0403403267, -0.0068212943, -0.02381864, -0.0045537427, -0.0552439392, -0.0159534626, 0.0150215635, 0.0286004115, -0.0283089336, -0.046339985, -0.0534618832, 0.024636602, -0.0022420941, -0.0159339365, -0.0005490907, -0.008663835, -0.0538193807, 0.0533770956, 0.0484706648, -0.0267333705, -0.0161634553, -0.0555910431, 0.0312310178, 0.0543268099, 0.0358921625, 0.0168750379, 0.0035449208, -0.0176686384, 0.0342082642, 0.0074086771, 0.0185137093, -0.0256496798, -0.0221462045, -0.015091816, -0.0046882811, 0.0100312065, 0.027738424, -0.0606630743, 0.0614659563, 0.0426421538, -0.0025594812, -0.0346571468, -0.071136713, 0.0152474819, -0.0361310802, -0.0143515989, -0.0060633509, 0.0135071874, 0.0443488322, -0.0057445904, 0.0086246589, 0.022967197, 0.0380854197, 0.003658446, -0.0583967939, -0.0004669841, 0.0097913519, -0.0055726268, 0.0223647729, -0.0344374664, -0.0128805544, 0.0211574715, -0.0261158608, -0.009170671, -0.0181900095, -0.0218721889, 0.0042347601, -0.0559883229, -0.0179634113, -0.0021369942, 0.0272000674, 0.0045449841, 0.0545341, -0.0243055709, 0.0123456474, -0.0050984877, -0.0196885746, -0.004726639, -0.0155121153, -0.0116505818, -0.018434776, 0.0078383628, 0.0160510503, 0.0320853554, -0.0174746178, -0.0037148951, 0.0202563498, -0.087676838, 0.0075020301, -0.0283059385, -0.0022342999, 0.0543806031, 0.0238022693, 0.015983453, 0.0004155199, -0.044918526, -0.0058569815, 0.0058344319, 0.0292618647, 0.0008997924, -0.0002859436, 0.0184864737, -0.0304335319, 0.0088268062, -0.041714251, 0.0271926746, 0.0186730288, -0.0237302966, -0.0208677296, -0.0264776461, -0.0639217123, -0.0116171381, -0.0166128483, -0.0187485181, -0.0105496943, 0.0036615529, -0.0247997791, 0.0046545276, 0.0296980292, 0.0175592955, 0.0395812728, 0.0363661312, -0.0159516446, -0.0143353846, -0.0593206286, -0.0040648566, -0.0169542152, -0.1037346646, 0.0152872689, 0.0498291627, 0.0376187339, 0.0045570037, -0.0352301672, 0.0253832079, -0.0069295615, -0.0017943366, -0.0341998339, -0.0398504846, -0.0040424038, 0.0474743769, -0.0432076603, -0.0205798969, 0.0884376168, -0.022461446, 0.0553225689, -0.0347547531, -0.0264947992, -0.0189799648, -0.0015177893, -0.037061017, 0.038737528, 0.0449592583, 0.0286932122, 0.0480085015, -0.0082395868, 0.0481014065, -0.0492993891, -0.0263511017, -0.0221990719, 0.0202201959, 0.0380781032, -0.03018637, -0.0476305895, -0.1175545454, -0.0329015367, -0.0375872776, -0.0021487256, -0.0031858596, -0.0633948818, 0.0448378287, 0.0230082404, 0.0159988422, 0.009141013, -0.0142211048, 0.0407181792, 0.0083227158, 0.0408484302, -0.0115289139, 0.0609756596, 0.0086234296, 0.0369771607, 0.1108851582, 0.0088196434, -0.0103589827, 0.0312547721, -0.0222996622, -0.0181604121, -0.0042544627, -0.0034352813, -0.0069542732, 0.0279577952, -0.0529817641, -0.0157338381, 0.0861958414, 0.0262560546, 0.0122789452, 0.0162709411, 0.0166802183, -0.00606771, 0.0044267471, -0.022799287, -0.0645311996, -0.0116407908, -0.0130420793, 0.003230314, -0.0353038311, -0.0168722067, -0.0118322503, -0.0653454512, 0.0346134305, -0.0269228164, 0.0051541631, -0.0535204224, -0.0876270607, 0.0115251066, 0.0245784391, 0.0231419876, 0.0100358715, 0.0294173546, -0.0312819295, -0.0137643786, -0.0599590726, -0.0413909778, 0.0488862842, 0.0085825613, 0.0038495737, 0.0308263861, 0.0666694567, 0.0038409857, -0.0417711623, -0.0222496744, 0.0012337381, -0.0457183532, -0.014690442, 0.0948565081, -0.0160905123, 0.0176932253, -0.0547199175, 0.0459160097, -0.0450961031, 0.0014102708, -0.0040473873, 0.0519572496, 0.0071382076, -0.0700566322, -0.0204755608, 0.024779873, 0.0253944509, 0.0808460712, 0.0088541713, 0.021589268, 0.0205959715, -0.0161407106, -0.0257672723, 0.0132336831, -0.0383036919, 0.0554555468, -0.0051999423, -0.0523351505, -0.0761622638, -0.0195704661, -0.0266044009, 0.0012811198, -0.0255356357, 0.0047036414, 0.0424224213, -0.0044041146, -0.0435750373, 0.0098782182, -0.0066997022, 0.0119589744, 0.003530188, 0.0204042345, 0.0477704816, -0.0039570946, 0.0062050596, 0.0405150428, -0.0419902876, -0.009467518, -0.0320280716, -0.0257818364, 0.0124244113, 0.0364116058, -0.0329922587, -0.017927032, 0.0349300541, -0.0157510322, -0.0361125395, -0.0322679803, -0.013497794, -0.0204651058, 0.0653079003, 0.0179299843, -0.0300482139, 0.0276984833, 0.0268103313, 0.0175869484, -0.0765566453, -0.0091365259, 0.0493589751, 0.0459113158, 0.0253060255, 0.0241923109, 0.0060540149, -0.029743487, 0.01371032, -0.0360956565, -0.0217628181, 0.0084390678, 0.030035736, 0.0485830009, -0.013499178, -0.0307873469, 0.0004672246, -0.0284430683, -0.0039582341, -0.0722351819, -0.0114020221, -0.0073752115, 0.0431748815, 0.0232216772, -0.0182021316, -0.0105940504, -0.0036176359, 0.0076683373, 0.021055067, 0.0116175199, 0.0009782637, 0.0109576555, -0.0405450799, 0.0419367403, -0.0333035104, -0.0705921352, -0.0619538948, -0.0460632555, -0.0521956868, -0.0049299849, 0.0042945668, 0.0550283454, -0.0321489759, -0.0297915153, 0.0060639, -0.0158138219, -0.0045407913, -0.0180221535, 0.0275132768, -0.0036926058, -0.0402640291, 0.0548087582, 0.0814847499, 0.014507235, 0.0272503272, 0.01738685, -0.1125645787, -0.0179966111, -0.0009968514, -0.0164851639, 0.1010983959, -0.0091866367, -0.0121034291, -0.0605876371, -0.0417100526, 0.0022596826, -0.0016819366, -0.0002546962, 0.0214635301, -0.0178600624, 0.0730341077, 0.042816665, -0.0150700891, -0.0566694364, 0.0033692599, -0.0252206586, -0.000253813, 0.0183217004, -6.380589214e-33, 0.0346663073, -0.077710852, -0.0178748947, -0.0320050716, 0.0385421999, 0.0430082679, -0.0453103669, -0.0189813916, -0.0461274125, 0.0647636726, 0.0347809568, 0.0453707352, 0.0053769317, 0.0138295498, -0.0383508205, -0.0041180584, 0.0646207705, 0.0252426006, -0.0210023317, 0.0343085416, 0.0720036626, 0.0301882438, 0.0261678249, -0.0797116011, 0.0746173039, -0.0254029464, -0.0096994285, 0.0488786548, -0.014893909, 0.0487405322, -0.0151551105, 0.0735811815, 0.0466057621, -0.0223148447, -0.0074789729, 0.0060790447, -0.0897886306, -0.006784528, 0.0157459397, -0.0528583489, -0.0132876514, 0.0139255263, 0.0531876907, 0.0091921482, 0.0125342095, 0.006802402, 0.0477640368, -0.0410207063, 0.0317713134, -0.0067944173, 0.019911129, 0.0049107163, 0.0211517513, 0.0049733236, -0.046998281, 0.0607344657, -0.0193962026, 0.0783185214, -0.0743554682, 0.0069220597, -0.0419441201, 0.0374331549, -0.0063709235, -0.073539041, 0.0045633628, 0.0364668369, 0.003627148, 0.0166107342, -0.0614551902, 0.011201554, -0.0458144844, 0.0362124182, 0.0335147902, 0.0861886293, 0.0446992293, -0.0557849742, -0.1329966635, 0.0384124406, 0.0007808071, 0.0105523374, 0.0432269424, -0.0010538539, -0.0672216266, 0.0054321443, -0.0133858584, 0.0455165207, -0.0472483002, -0.0279923771, 0.0044023111, 0.0433770455, -0.0341505371, 0.0373326428, -0.0105968332, -0.0443917662, -0.0004679355, 0.0317898095, -0.0017852932, -0.0697341114, 0.0072353492, 0.0308758784, -0.056999445, 0.065350607, -0.0004999479, 0.0245600808, -0.0237058941, 0.0104121817, 0.0427881256, -0.0416352898, -0.0565151758, 0.0148379579, -0.0261511952, -0.0056621511, -0.002300567, 0.0029108906, 0.0040370715, 0.0116269533, -0.0021732994, 0.0167871024, 0.024806926, 0.0415719375, -0.0374242328, -0.036156822, -0.0405991077, -0.0031815879, -0.0160676166, -0.0001318581, -0.0158940237, 0.0405177958, 0.0000746213, -0.0918431506, 0.0002163389, -0.0091982903, 2.568e-7, 0.0397806056, 0.0224148631, 0.0010268554, -0.000236939, 0.0408458412, 0.0278775599, 0.034740787, -0.0036611108, 0.0113556171, -0.0594673418, -0.015462162, 0.0378385223, -0.0103261936, 0.0591063611, -0.0348106548, -0.0166250654, -0.0790157244, -0.0314852297, -0.0147025026, -0.0104296422, 0.0305993129, 0.0564014502, -0.0167820919, -0.0094324388, 0.0137921814, -0.0062125465, 0.0397492833, 0.004277694, -0.061174877, 0.0519834049, 0.0472129099, 0.0216129031, 0.0055791582, -0.024434261, -0.0365018174, -0.0098284548, 0.0032558604, 0.0149058551, -0.0320965238, -0.0190327521, -0.0066583115, -0.0446572639, 0.0379467644, -0.0530683063, 0.0661588535, -0.0015209466, -0.0553187169, 0.0190159641, -0.0227008052, -0.0098333042, 0.0083170375, -0.0124598043, -0.0189006161, 0.0154459365, -0.0124729685, 0.0575778969, 0.0207621139, -0.0350792333, -0.0343921334, 0.0038682914, -0.0415749662, -0.0859928727, 0.0421638675, -0.075798206, -0.0242326986, -0.0441420749, 0.0397973768, 2.250201081e-34, 0.0069613205, 0.0235484876, -0.0177499838, -0.0056247655, 0.0471462272, 0.0174322464, -0.0086487196, -0.0408785529, 0.0216095988, -0.0441458486, -0.0151020447 ]
http://arxiv.org/abs/2407.00653v1
http://arxiv.org/pdf/2407.00653v1
Chain-of-Knowledge: Integrating Knowledge Reasoning into Large Language Models by Learning from Knowledge Graphs
2024-06-30T10:49:32
2024-06-30T10:49:32
Yifei Zhang, Xintao Wang, Jiaqing Liang, Sirui Xia, Lida Chen, Yanghua Xiao
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have exhibited impressive proficiency in various natural language processing (NLP) tasks, which involve increasingly complex reasoning. Knowledge reasoning, a primary type of reasoning, aims at deriving new knowledge from existing one.While it has been widely studied in the context of knowledge graphs (KGs), knowledge reasoning in LLMs remains underexplored. In this paper, we introduce Chain-of-Knowledge, a comprehensive framework for knowledge reasoning, including methodologies for both dataset construction and model learning. For dataset construction, we create KnowReason via rule mining on KGs. For model learning, we observe rule overfitting induced by naive training. Hence, we enhance CoK with a trial-and-error mechanism that simulates the human process of internal knowledge exploration. We conduct extensive experiments with KnowReason. Our results show the effectiveness of CoK in refining LLMs in not only knowledge reasoning, but also general reasoning benchmarkms.
Chain-of-Knowledge: Integrating Knowledge Reasoning into Large Language Models by Learning from Knowledge Graphs: Large Language Models (LLMs) have exhibited impressive proficiency in various natural language processing (NLP) tasks, which involve increasingly complex reasoning. Knowledge reasoning, a primary type of reasoning, aims at deriving new knowledge from existing one.While it has been widely studied in the context of knowledge graphs (KGs), knowledge reasoning in LLMs remains underexplored. In this paper, we introduce Chain-of-Knowledge, a comprehensive framework for knowledge reasoning, including methodologies for both dataset construction and model learning. For dataset construction, we create KnowReason via rule mining on KGs. For model learning, we observe rule overfitting induced by naive training. Hence, we enhance CoK with a trial-and-error mechanism that simulates the human process of internal knowledge exploration. We conduct extensive experiments with KnowReason. Our results show the effectiveness of CoK in refining LLMs in not only knowledge reasoning, but also general reasoning benchmarkms.
[ 0.0565347038, 0.003391966, -0.0108257374, 0.0790083259, -0.0608493909, 0.0454817712, -0.0296050031, 0.0248243604, 0.0611436032, -0.0246422365, 0.0225995854, 0.0232769307, -0.0059533189, 0.0307318605, 0.0041386997, -0.0126202526, 0.0129038319, -0.0426950604, 0.0377073623, 0.0030140621, -0.0238683205, 0.0254391674, -0.0191848204, 0.0170376226, -0.0314427875, -0.0266072508, -0.0010244175, -0.0317055881, 0.0096864523, -0.0203367472, 0.0043646884, -0.0071608014, 0.0243155546, 0.0430233106, 0.0000019121, -0.0530852005, -0.0048357546, 0.0139984684, -0.0712402463, -0.0446769632, -0.0020749611, -0.003625456, 0.0443725735, 0.0181713384, -0.0568633489, -0.0241330806, 0.0000425917, 0.0622446388, 0.0385782197, 0.0772118643, -0.0086918697, -0.0565499924, -0.0042833174, -0.004968592, -0.0041546733, -0.0388537459, 0.0553835817, 0.0578387044, 0.0056091514, -0.0422521085, 0.0129075292, 0.0232222918, 0.0157525819, -0.0165302437, 0.0077825203, 0.0313928872, 0.0064419899, -0.0148448758, 0.0079598557, 0.0835610107, -0.0142677333, -0.0025496949, -0.0134322513, -0.0015458559, -0.0059838546, 0.0436585657, -0.0341815688, -0.0073123919, -0.0357030742, 0.0201866105, -0.003480877, -0.0357627198, 0.0390341803, -0.0070781889, -0.0472922362, 0.1150309965, -0.0208781622, -0.0085904552, 0.0431834161, 0.0000884056, -0.0214860663, -0.0249664448, -0.0082542272, 0.0556001998, -0.0071570454, 0.0498576649, 0.0262367297, 0.0429933667, 0.0012233629, -0.0559782162, -0.0043833316, 0.0015725706, 0.004965106, 0.061975427, -0.0641012788, 0.0156640727, 0.0088532111, 0.0180150997, -0.0346524902, -0.0311460011, -0.1002203673, -0.0090484861, 0.0196074843, 0.034482155, -0.0063438835, -0.0277761798, -0.0308032259, 0.0142559707, 0.0005251153, 0.046890188, 0.0383825414, 0.0159613062, 0.056122385, -0.0343877524, -0.0701261312, 0.0129062608, -0.0000391537, 0.0407673381, -0.0168073867, 0.0210568178, 0.0017458498, -0.0389092229, 0.0243849605, -0.0157528836, -0.0126828682, 0.0642831549, 0.0417320952, 0.0039366358, -0.0676383302, -0.0604220629, -0.0010909463, -0.0548859686, 0.0155347409, -0.053638678, 0.0369865745, 0.0261781029, -0.003718731, -0.0414404087, 0.0152262114, -0.0050707445, -0.0646169484, 0.0649331212, -0.0315437131, 0.0231496636, -0.0219108816, 0.0052933092, -0.0559770986, 0.0493039936, 0.0061079911, 0.0084446855, 0.0280779321, 0.0204595067, -0.0108110663, 0.0197364278, 0.0001709384, -0.0201624241, 0.0158150252, 0.013482525, -0.026928762, 0.0169943515, 0.0153989596, 0.0095621701, -0.0377632119, -0.0038025295, 0.0320224762, 0.0165240131, 0.0595831238, -0.0143059213, 0.0323230028, 0.0070046675, 0.0071207243, -0.0183343608, -0.0190361291, -0.0129953716, -0.0525189973, 0.0090533048, -0.0445114598, 0.0045903609, 0.0105621358, -0.0280283038, -0.0379696116, 0.0113571947, -0.00574657, 0.0284362063, 0.077660948, 0.0220898911, -0.0027572331, 0.0098785991, 0.062333636, -0.0183509141, -0.0254135933, -0.032454282, 0.0339649916, 0.0736514404, 0.0473928265, -0.0373807251, -0.0158546567, 0.0016758472, -0.0004849519, 0.0007633325, 0.0150527311, -0.0563375577, 0.0047958093, -0.0515293144, -0.0500237867, 0.0092191761, -0.0078780102, -0.0229483079, 0.0150129097, -0.0152650559, 0.0177559983, -0.0684468448, -0.0554179586, 0.0187197272, -0.0301985759, -0.0098823616, 0.005816435, 0.0129875317, 0.034799587, 0.0098010721, 0.023886038, 0.0179089494, 0.0199476574, -0.0104723265, -0.0509027988, 0.0237481147, -0.0001651396, -0.0984480754, 0.0625810251, -0.0329112783, -0.0326820537, -0.0399325378, -0.0483090095, -0.0270602833, 0.0238747895, 0.0076511786, 0.0910129398, -0.0166244265, 0.0042956672, 0.0222964864, -0.0448181145, -0.0095859021, 0.1160690263, 0.0022040599, -0.0233752616, -0.0056466334, -0.0331301503, 0.0054277126, 0.0452636145, 0.0131826764, -0.005108559, -0.0090737352, -0.0129138147, 0.0064898301, -0.02152385, -0.0838447735, -0.0088267457, -0.0447082706, 0.0036642458, 0.036299713, 0.0058055012, -0.0027892741, -0.0229052585, 0.0112337526, -0.0118586179, -0.0051167165, 0.035191182, 0.0030676923, 0.0067049316, 0.0412280932, 0.0055398545, -0.0290930159, 0.0006024258, -0.0102641713, -0.0378609188, 0.0860586911, 0.0055658524, 0.0246696901, -0.0135950195, 0.0467872284, -0.0342901871, 0.0107538057, -0.0274354853, 0.013921625, 0.0042649205, -0.0138384644, -0.015642358, 0.027679041, -0.0211828928, 0.0205802154, 0.0560762957, -0.031180935, -0.0296666343, 0.0181341954, -0.0396553129, -0.0008952118, -0.0405520238, 0.0058098016, -0.0220644604, 0.0286649894, -0.0004988135, -0.0289456155, -0.0461771637, 0.0129927862, -0.0055578984, 0.0028263347, -0.0578750707, -0.0044450415, 0.0190890282, 0.032564003, -0.0366895944, -0.0157070626, 0.0718040243, -0.0129197808, 0.0364868827, -0.0352922678, 0.0225415342, -0.0313699245, 0.095432885, -0.0006445777, 0.0058252532, 0.0134379556, 0.0101254899, -0.0024443457, -0.0196432024, 0.0560014062, -0.0196955614, 0.0402469672, -0.0645132139, 0.0206771996, 0.0362946019, -0.0128445495, -0.0607308708, 0.0135975741, -0.0666686967, 0.0024491225, -0.0148038575, -0.0257464629, 0.0175426528, -0.0174675658, 0.0119878426, -0.0020763886, 0.0203271881, -0.0317121409, -0.012231634, 0.0244499482, 0.0251576081, -0.01141831, 0.0250543021, 0.0061068968, 0.0550315045, 0.0344624482, 0.021141693, -0.0312524587, -0.0432239585, 0.0235274341, -0.0119927991, -0.0130172661, -0.0064914678, 0.0088237636, -0.0160704963, -0.080304645, 0.0295456648, 0.109663941, 0.0320606418, -0.0242350399, 0.0151571147, -0.012669351, 0.0060793762, 0.0465997346, 0.0171715934, -0.0604292192, -0.0408722535, 0.0140306642, -0.0179120209, -0.0131041156, -0.0821177885, -0.0029276263, -0.1073404551, 0.0221079346, 0.0023964276, -0.0054173656, -0.0543098673, -0.0487749949, 0.0058776517, 0.0034674797, -0.0387548357, 0.0208054632, -0.0145139229, -0.0053656762, 0.026861757, -0.0209787562, -0.0686868131, 0.045576565, -0.0292303693, 0.0761061385, 0.0161287673, 0.0658989921, 0.0368947536, -0.0098204529, -0.0234110169, 0.0213044249, 0.0139795849, -0.0160604045, 0.0446507148, 0.0286837015, -0.0055989595, -0.0069597503, 0.0359925032, -0.0684218407, -0.0182368942, 0.039056439, 0.1001190096, -0.0125375101, -0.0564808398, 0.0316461362, -0.017072361, -0.0083652092, 0.0580879673, 0.0175775141, 0.0579815321, 0.0047531882, -0.0418504365, -0.0329111554, -0.0085750539, -0.0271419398, 0.0363275595, 0.0141885411, 0.026551025, -0.0693399906, 0.0149085941, 0.0775568187, 0.0513394736, 0.0178826265, 0.033658538, 0.048420947, 0.0024884203, -0.037577711, 0.0405190103, -0.0457863696, 0.0087257726, 0.0083818939, -0.0146686062, 0.0075774342, -0.0410250165, -0.0471080206, 0.0160008688, -0.0227777921, -0.085349746, -0.0249078665, 0.0169960838, 0.0236705169, 0.0738438293, -0.0269845482, -0.0090527115, 0.0382322744, -0.0105882576, -0.0761229917, -0.0475757793, 0.0390724316, -0.0317969359, 0.0245390497, 0.0463746712, -0.0331239291, -0.0129593462, 0.0301512349, 0.0320096239, -0.0377428345, -0.0195147004, 0.043054156, 0.0470901392, 0.0149589302, 0.0054519884, -0.0509607084, -0.0672353357, 0.0094608488, -0.0277649052, -0.0319068059, -0.0447370633, 0.0297561567, 0.0315460227, -0.0050742496, -0.0060914005, -0.0581471808, 0.0245405491, -0.0091969175, 0.0262437481, -0.0363177545, 0.0556422696, 0.0058091795, 0.0588718764, -0.0396254659, 0.0124979364, 0.0213522967, -0.0026392038, -0.001147664, -0.0306950547, 0.0508824252, 0.0286480542, -0.0300020017, -0.0653126165, -0.0205802508, -0.0485011339, -0.0474794917, 0.0285784379, -0.00456418, 0.0593570843, -0.0514129139, 0.0489634052, -0.0585615821, -0.0072098793, 0.0279062819, 0.0447428375, -0.0318120345, -0.0244039707, 0.0244443249, 0.029176509, -0.0444491841, 0.0091614267, 0.0829576626, 0.0106932642, 0.0637062863, -0.0214448106, -0.0743221417, -0.0282792561, -0.0285830665, 0.0374462791, 0.0230769422, -0.018251637, 0.0447336063, -0.0540762767, -0.1053875908, -0.0477516726, -0.0246050712, -0.0104391072, 0.0266854987, 0.0335274562, 0.0651344135, 0.0333830565, -0.0176387951, -0.0518724993, -0.0199521817, -0.0007970594, -0.0074409763, 0.0028288297, -6.160508386e-33, 0.0192422923, -0.0249471385, 0.032885801, 0.0274695531, 0.0007215152, -0.0144537007, -0.0411409326, -0.0258724764, -0.0257294755, 0.0501777343, -0.0160763357, 0.0154496385, 0.0035858504, 0.0059345579, 0.0010538052, -0.0085282614, 0.0193000361, 0.0161515456, 0.0215788744, 0.0050089988, 0.0605640858, 0.0288301334, 0.0428575911, -0.0612332188, -0.0011836427, 0.0506492592, 0.0270180851, 0.061340712, -0.0396173522, 0.0406353995, -0.0125503428, 0.0373810865, 0.0152081391, -0.0284422822, 0.0047451016, -0.0272994861, -0.1078143269, -0.0297886096, 0.0516921654, -0.0000106632, -0.0050759455, -0.0105162347, 0.033716768, 0.0107361479, 0.0586452335, -0.0271407124, 0.0330728292, -0.0468688831, -0.0244549513, -0.0211896803, -0.030775629, 0.0320067592, -0.024033349, -0.0355329998, 0.0290917028, -0.0144821508, 0.0009508632, -0.0515325144, -0.0490897, 0.0341281965, -0.0027236324, 0.0089008156, 0.0418931879, -0.0048898924, 0.0113168387, 0.0657443106, -0.0381820314, -0.0115387328, -0.0349148139, 0.0420667343, -0.0051264367, 0.0917610228, -0.0130060064, 0.0087830657, 0.0055686096, -0.0408992209, -0.087327905, 0.0103447493, 0.0021182899, 0.0571690202, 0.0122182034, -0.0088436902, -0.0343612731, -0.0259701572, -0.0490408354, 0.0180683974, -0.0331722796, -0.0018535536, -0.0013659074, -0.0036035036, -0.0089052264, -0.0464022979, -0.023229219, -0.0454851277, 0.0032148664, 0.0541784354, 0.0066488869, -0.0086248862, -0.0135869533, 0.0252620466, -0.0501304753, -0.0270415563, -0.0068490547, -0.0321721844, 0.0174574945, -0.0006834361, 0.0638199747, 0.0136483647, -0.0193933379, -0.0176371317, -0.0742928386, -0.0039604623, 0.0113069769, -0.0126496395, 0.0168419108, 0.0666335002, -0.0166581497, -0.000924528, 0.0150178159, 0.0039297286, -0.0104427524, 0.0328359194, 0.0184253044, -0.0029573445, -0.0127319377, -0.047742106, -0.0280633047, -0.0204294976, 0.0728674531, -0.0451267026, -0.0138582811, 0.0201099887, 2.756e-7, 0.0311055724, 0.0372296795, -0.0226926859, 0.0383357666, 0.0109077236, 0.0417173654, -0.0250839833, -0.0381147377, 0.0178614464, -0.0571128279, 0.0237389132, 0.048932936, 0.0197436251, 0.061510928, -0.0746352896, -0.0518880524, 0.0100247348, -0.0628446192, -0.0366012678, -0.0334004276, 0.034039773, 0.0435647294, 0.0598338917, -0.0285457876, 0.0057569109, -0.0750008225, 0.0167683922, 0.0175599921, 0.0191947035, -0.0056416988, 0.0792406499, 0.0013248512, 0.0258476418, 0.092410855, 0.0051451288, 0.0257523321, -0.0152304908, 0.0327407606, 0.0024271614, 0.0261833556, -0.0121058952, -0.0393313058, 0.0198783949, -0.0444214307, 0.1000717133, -0.0587090328, -0.0205484536, -0.0102352733, 0.0272537638, -0.0582517087, -0.0360423438, 0.0032763688, 0.0131156296, 0.0177014899, 0.0135920933, -0.0224513281, 0.0216493141, -0.0786942914, -0.0088150995, 0.0251110233, -0.0236306544, -0.0067104297, 0.0036911205, -0.0086279139, 0.0122919995, -0.035249915, 0.0496611446, 2.337558449e-34, 0.0101276608, 0.0084450981, -0.0205943491, 0.0030358036, 0.077499263, -0.0381115787, -0.0271548927, 0.0132519742, 0.0169854295, -0.1033689082, 0.0008113773 ]
http://arxiv.org/abs/2407.00648v1
http://arxiv.org/pdf/2407.00648v1
LegalTurk Optimized BERT for Multi-Label Text Classification and NER
2024-06-30T10:19:54
2024-06-30T10:19:54
Farnaz Zeidi, Mehmet Fatih Amasyali, Çiğdem Erol
cs.CL
cs.CL
The introduction of the Transformer neural network, along with techniques like self-supervised pre-training and transfer learning, has paved the way for advanced models like BERT. Despite BERT's impressive performance, opportunities for further enhancement exist. To our knowledge, most efforts are focusing on improving BERT's performance in English and in general domains, with no study specifically addressing the legal Turkish domain. Our study is primarily dedicated to enhancing the BERT model within the legal Turkish domain through modifications in the pre-training phase. In this work, we introduce our innovative modified pre-training approach by combining diverse masking strategies. In the fine-tuning task, we focus on two essential downstream tasks in the legal domain: name entity recognition and multi-label text classification. To evaluate our modified pre-training approach, we fine-tuned all customized models alongside the original BERT models to compare their performance. Our modified approach demonstrated significant improvements in both NER and multi-label text classification tasks compared to the original BERT model. Finally, to showcase the impact of our proposed models, we trained our best models with different corpus sizes and compared them with BERTurk models. The experimental results demonstrate that our innovative approach, despite being pre-trained on a smaller corpus, competes with BERTurk.
LegalTurk Optimized BERT for Multi-Label Text Classification and NER: The introduction of the Transformer neural network, along with techniques like self-supervised pre-training and transfer learning, has paved the way for advanced models like BERT. Despite BERT's impressive performance, opportunities for further enhancement exist. To our knowledge, most efforts are focusing on improving BERT's performance in English and in general domains, with no study specifically addressing the legal Turkish domain. Our study is primarily dedicated to enhancing the BERT model within the legal Turkish domain through modifications in the pre-training phase. In this work, we introduce our innovative modified pre-training approach by combining diverse masking strategies. In the fine-tuning task, we focus on two essential downstream tasks in the legal domain: name entity recognition and multi-label text classification. To evaluate our modified pre-training approach, we fine-tuned all customized models alongside the original BERT models to compare their performance. Our modified approach demonstrated significant improvements in both NER and multi-label text classification tasks compared to the original BERT model. Finally, to showcase the impact of our proposed models, we trained our best models with different corpus sizes and compared them with BERTurk models. The experimental results demonstrate that our innovative approach, despite being pre-trained on a smaller corpus, competes with BERTurk.
[ 0.0473652147, 0.0395109057, 0.0015190751, 0.0057000942, -0.0158268958, 0.025137376, 0.0625353307, 0.0467011556, 0.0013448292, -0.0712953806, -0.0370360687, -0.0035407303, -0.0391482823, -0.029880736, 0.0176364593, -0.0323630273, 0.0310707018, 0.0013183708, 0.038989, -0.001018337, -0.0190659352, 0.0039137858, -0.0041128616, 0.0106740408, -0.042092856, 0.0256221592, 0.0152128404, 0.0214299764, 0.0253918804, -0.0174440872, 0.0624986626, 0.0617495142, -0.0331427008, 0.0251815598, 0.0000019042, -0.0695207417, -0.0193504617, 0.0131960819, 0.0118706729, 0.0076997178, 0.0263958815, -0.0232210532, -0.0391047895, 0.0005020139, -0.0149671584, 0.0132455397, -0.0016876198, 0.0903925523, 0.0538887717, 0.085860543, -0.0177747551, -0.0800574198, 0.0521653406, -0.0079126377, -0.019652538, -0.0523984581, 0.0331168473, -0.0799808875, -0.0413716957, -0.0187621266, 0.02128678, 0.0219052862, -0.001053536, -0.0119247073, -0.0002867796, 0.0271657333, -0.0598252118, -0.0437640361, 0.0311314352, 0.0372614861, -0.0413754657, -0.0185035188, 0.0303907041, 0.019342009, 0.0358723104, -0.0027553372, -0.0006496641, 0.0379093848, -0.0271893106, 0.0093887877, -0.0097739985, 0.0051568146, 0.0049254633, 0.0257596411, -0.0377327949, 0.0304499585, 0.0527559333, -0.0271403715, 0.0158052072, -0.0007632626, -0.0049852892, -0.0423020348, 0.0853919685, 0.0530120209, 0.0235106032, 0.0093902899, -0.0552557781, -0.0828198791, 0.01155267, -0.0820808932, -0.0055453978, 0.0162256751, -0.0278024916, 0.0227580536, -0.1427363604, 0.0068398197, -0.0001325662, 0.0502367169, 0.0156221865, -0.0641329139, -0.0450787805, -0.0082360152, -0.0959316641, 0.0670614094, -0.0371800028, 0.0351326503, -0.0313958675, -0.0031335035, 0.0057615447, -0.0012422451, 0.0246105753, -0.0174844135, -0.0392570347, -0.0201990642, -0.0159041155, -0.0173348729, -0.0286322869, 0.0038200025, -0.0210351627, -0.0130786719, 0.021109594, -0.0116510587, 0.0105176382, -0.0443627611, 0.0434188507, 0.0430140123, -0.041979298, -0.0756120905, -0.0690397024, 0.0403960794, -0.0251915138, -0.0135177718, 0.0351789147, -0.0081713153, -0.0001613891, -0.0249027889, -0.011499241, -0.0403507315, 0.0027186999, 0.029413037, -0.0231520757, 0.0955232084, 0.0092539843, -0.0127734486, 0.0451025441, 0.0240322184, 0.0298655387, 0.0281491019, 0.0339930542, 0.004363595, 0.0278710369, -0.0118760271, 0.0177222248, 0.0530617423, 0.0351198688, -0.0156001681, -0.0198518746, -0.0199274179, -0.0031562401, 0.0089769028, 0.0133400848, 0.0210766122, -0.0083641643, -0.0330330767, 0.0415442549, 0.0178768318, 0.0174009185, 0.0562803186, -0.0123037985, -0.0134532303, 0.0219613519, -0.0216038954, -0.0113032423, -0.0022902023, -0.0308018904, 0.0114218947, -0.0486127511, 0.0446035191, -0.0235420838, -0.0061694947, 0.0214745086, -0.0162050109, 0.008226933, -0.0459167324, 0.0809715688, 0.0426128469, -0.0726648942, 0.1091479212, 0.0115855206, -0.0306731071, -0.0033743787, -0.0661993101, -0.0197459981, -0.005396626, 0.0207808726, -0.0700621083, -0.0381439365, -0.0338353328, -0.0382163934, 0.0506602041, 0.0248600096, -0.0000444237, 0.0349947512, -0.038776096, -0.0088565946, 0.0017544061, 0.0305594783, 0.0436273962, -0.0055671684, 0.0492814071, 0.0421509743, -0.0414883904, 0.0337141193, 0.0469288751, -0.0205996167, -0.04134335, 0.0360791795, 0.017501872, 0.0080999378, 0.0241942108, -0.0100148227, -0.02953518, 0.004619245, -0.0289240647, 0.0032512303, -0.0352088511, -0.004967757, -0.0675343871, 0.0415216573, -0.0151001802, -0.0360489078, 0.0710635707, -0.0272649731, -0.0339698046, -0.0352200121, 0.0315911025, 0.0405109525, -0.0353946164, 0.0274757072, 0.0007022793, 0.0088738138, -0.0355797075, 0.0305185895, 0.0321147218, -0.0246949717, -0.0084478091, 0.0059936494, 0.0538534895, 0.0296093076, -0.035750512, -0.0082206335, -0.0487861112, -0.013074372, 0.0074131377, 0.0210630279, -0.0415607542, -0.0583270192, -0.0830689669, 0.0014208355, -0.0226993766, 0.0252424199, -0.0070076794, -0.0149772083, -0.0170409679, -0.0326253846, -0.0165672023, -0.0533693135, -0.0466033742, -0.0137207909, 0.0414451696, -0.027699884, -0.0308417585, 0.0077414, -0.0197535027, -0.038876351, 0.0377598368, 0.0020376104, -0.0747528374, -0.0184251443, 0.0003009119, -0.0050090202, 0.013453491, -0.0041856943, -0.0204156041, -0.0133295013, 0.0303475801, 0.0386258774, 0.0446704514, 0.0315844603, -0.0128040882, -0.025278464, 0.0198441073, -0.0285489578, 0.0231453031, 0.0001279125, 0.0159018878, -0.0300923958, -0.009188395, 0.0452332161, 0.0613239072, -0.060417559, -0.0213948395, -0.0438395403, -0.045195438, -0.0161992703, -0.0195246954, -0.038192533, 0.0035115853, -0.0423496068, -0.0038589078, 0.0167338345, -0.0073342388, 0.0342772789, -0.0312216207, 0.0155685013, -0.0547512062, 0.0086332439, -0.0255413912, 0.0389324203, 0.013942522, 0.025207812, 0.0396556519, -0.0643195659, -0.0080959927, 0.0058586057, 0.0171846449, -0.0282905176, 0.036743436, -0.0014166802, 0.017599564, -0.0323664695, -0.0389629118, -0.0324634947, -0.0638351291, 0.0323452055, 0.0551188439, 0.0099558635, 0.0149130095, -0.0624057986, 0.0181623641, -0.014734623, 0.0609819666, -0.002422078, -0.0200224742, -0.0140448976, 0.0856966823, -0.0066035897, -0.0403356887, 0.0018097503, 0.0022907532, -0.0292585399, 0.0224475786, -0.0029902656, -0.0160751138, 0.0087192245, 0.0027128665, 0.0249964725, -0.0871426687, -0.0199407972, -0.0132589955, 0.0184759479, -0.0231741071, 0.0079345377, 0.0901161656, 0.0016690125, 0.0079514068, -0.02599103, 0.0102047529, 0.0110275615, 0.0163327418, 0.0502796657, -0.0322197191, -0.003525662, 0.0132194776, -0.0060742847, 0.000462492, -0.0236464944, 0.0308096521, -0.0828650296, 0.0048995949, -0.0244100913, -0.0556891821, 0.005896735, -0.0513430499, -0.012925094, -0.0082540289, 0.0083884299, -0.0481283888, 0.003441972, -0.0285835788, 0.0342653878, -0.0139010046, -0.0337821506, -0.0062252553, -0.034543138, 0.028444726, 0.0180745106, 0.0609460846, -0.0694969445, -0.0325639136, 0.0520841107, -0.006229925, -0.0146654909, 0.0134661701, 0.0694117546, -0.0215118434, -0.023370957, -0.0459378175, -0.0220906567, 0.0027905109, -0.0549462326, -0.0067418674, 0.0110954614, 0.0181699395, -0.009047891, -0.0009573419, -0.0146847302, -0.0082322657, 0.0535340682, -0.0145075126, -0.0434585102, -0.009573983, -0.0053256997, -0.0006314112, -0.0644770488, 0.0133754425, 0.0254773665, -0.0578891337, -0.0389515981, -0.0515372604, -0.0253017228, 0.0115135107, 0.0573413298, 0.0036845622, -0.0107504027, 0.0249490868, -0.0092337383, -0.0211855546, 0.0437752381, -0.0078900578, -0.0071126125, -0.040829163, -0.0072322008, 0.0402852669, -0.0020313626, -0.0332913399, -0.042497009, 0.014159278, -0.0216147806, 0.0299264118, 0.0411545746, 0.0135405781, 0.0061842543, -0.0224921778, -0.0514068976, 0.083899565, 0.036884822, -0.018193176, -0.0305295177, 0.0539667532, -0.0149783082, -0.0407253169, -0.0028074859, -0.0027686087, 0.0550970174, 0.0380932279, -0.0111780576, 0.0062303678, -0.0157836955, -0.01090826, 0.0303727183, 0.0592544675, -0.0044776131, 0.0189360324, -0.0423137359, 0.0301555041, 0.0168640222, 0.015216128, 0.0042434591, -0.0062503666, 0.0411824472, -0.0109019, -0.0369031839, 0.082823813, -0.0020953871, 0.0037216248, -0.0702053681, -0.0140904933, -0.0021463155, 0.0460516624, -0.0135077769, -0.0227301456, -0.0062564504, 0.0166368391, 0.0529192202, 0.0283663068, -0.0433563627, 0.0345240422, 0.0130409533, 0.0071692793, 0.0026984131, 0.0376502797, -0.0210391171, 0.0429164097, -0.0517366305, 0.0339734666, 0.0314495713, -0.0058813682, 0.0308774896, -0.0189137142, -0.0244468041, 0.0289572328, 0.0034633446, -0.0024329918, -0.0009440522, 0.0080748638, -0.0217148196, -0.0069515975, -0.0033788939, 0.0332683362, 0.0211003367, 0.0413217656, 0.0137249585, -0.00281336, -0.0408447795, -0.0004193787, 0.055125244, -0.0043986193, -0.0326790139, -0.0256963167, -0.0190356541, -0.0224003065, 0.0252314135, -0.035023015, -0.0051107989, 0.0111111449, 0.0320068896, 0.0349850208, 0.0374809168, -0.0344734713, -0.0166439302, 0.0004969868, 0.0563284419, 0.0048129754, 0.0044878768, -5.853351345e-33, -0.0319192708, -0.0004569231, 0.000416205, -0.0133026149, -0.0020604343, -0.0386025459, -0.0059993132, -0.0312678553, -0.006610347, 0.0207521245, -0.0307674445, 0.0201393161, 0.0269754399, 0.0269899461, -0.0161568262, -0.0544955097, 0.0516142957, 0.0197852477, -0.0162457526, 0.0010539501, -0.0019702639, 0.0862303898, 0.0799810514, -0.0700255036, -0.0061127995, 0.0448544733, -0.0193338487, -0.0278999265, 0.0078133307, 0.0668655559, 0.0066345418, 0.0132445199, 0.030922601, -0.0771822333, 0.0087581873, 0.0495154299, -0.1205747128, 0.0078128297, -0.0473780073, 0.0392745808, 0.021815883, -0.0298505984, 0.0453426279, 0.0053958171, 0.007492702, 0.0210519973, 0.0525133424, -0.0264847074, -0.0226801764, -0.0888505876, -0.0842102319, 0.0464050397, 0.0027700209, 0.0050746561, 0.0495425016, 0.0305304397, 0.0183142405, 0.0239024274, -0.0950535834, -0.043402914, 0.0098005133, -0.0227019023, 0.0194889959, -0.0035874192, -0.0297622439, 0.0171594396, -0.0026458942, 0.0422000289, -0.0165754687, -0.0552208237, 0.0501253344, 0.0740509331, 0.0428057984, 0.0175881125, 0.0193266589, -0.0571550615, -0.104320012, 0.0573319197, -0.0093275253, 0.0046538967, 0.0056392075, -0.0219182651, -0.0172495358, -0.0006483327, -0.0022340112, -0.027539786, -0.0104645593, 0.0366825499, 0.0178193133, 0.0120653836, -0.020618571, 0.0197819136, -0.0012746421, -0.0322101489, -0.0147844683, -0.0270683635, 0.0064600059, 0.0191120077, -0.023947794, 0.0290254317, -0.0416066088, -0.0619859323, 0.0309784021, 0.0087820496, 0.0279310048, -0.0239850916, 0.080084525, -0.0039031657, -0.09612187, 0.0055665071, -0.0051061721, 0.0334783532, 0.0524401665, 0.0690166801, -0.0123464083, 0.0102962861, 0.0223029051, 0.0217883158, 0.0619349703, -0.0359433666, -0.0047488064, 0.027445022, 0.0468436405, -0.0055834544, 0.0136481561, 0.0086418837, -0.0044408888, 0.0524170138, 0.0562873669, -0.04484988, -0.009655457, 0.0004556723, 2.646e-7, 0.0617427006, 0.052324716, -0.0019224986, -0.0567046739, -0.0109940618, 0.0463314019, 0.0196884871, 0.0644566417, -0.0020324651, 0.027673671, -0.0108126029, -0.0400174521, 0.0419677719, 0.0338430107, -0.0530931242, -0.0925638527, -0.0530014932, 0.0094904443, -0.049823679, 0.0697197765, 0.0486581773, 0.0902600586, 0.0165508799, -0.0340213068, 0.0013335707, -0.0194940623, 0.0747040063, -0.0316275209, 0.0053376439, 0.0394029021, 0.052699063, 0.0095090121, 0.0045700083, 0.0483752191, -0.0385972857, 0.0506492965, 0.0201496035, 0.1059628129, -0.0097228074, 0.0223941263, 0.0303998459, -0.0218934994, -0.0011338713, -0.0560000055, 0.0833288357, -0.0402785614, -0.0204885229, 0.0369098857, -0.0474468842, -0.016189767, 0.0336898677, -0.0145724285, -0.0238568038, 0.0130892675, 0.0401756093, 0.0043145888, -0.0214734189, -0.107983619, 0.0171812624, 0.0291667823, -0.007998311, 0.0159214791, -0.0358209498, -0.0344635732, 0.0548364967, -0.0618929192, 0.0346441306, 2.145999247e-34, -0.0240661521, -0.0099615408, -0.0124078449, 0.0259910878, 0.0094751595, 0.0072188796, -0.0060450062, -0.0046408055, -0.0059450655, -0.0555204637, 0.0229143202 ]
http://arxiv.org/abs/2407.00638v1
http://arxiv.org/pdf/2407.00638v1
A Collocation-based Method for Addressing Challenges in Word-level Metric Differential Privacy
2024-06-30T09:37:34
2024-06-30T09:37:34
Stephen Meisenbacher, Maulik Chevli, Florian Matthes
cs.CL
cs.CL
Applications of Differential Privacy (DP) in NLP must distinguish between the syntactic level on which a proposed mechanism operates, often taking the form of $\textit{word-level}$ or $\textit{document-level}$ privatization. Recently, several word-level $\textit{Metric}$ Differential Privacy approaches have been proposed, which rely on this generalized DP notion for operating in word embedding spaces. These approaches, however, often fail to produce semantically coherent textual outputs, and their application at the sentence- or document-level is only possible by a basic composition of word perturbations. In this work, we strive to address these challenges by operating $\textit{between}$ the word and sentence levels, namely with $\textit{collocations}$. By perturbing n-grams rather than single words, we devise a method where composed privatized outputs have higher semantic coherence and variable length. This is accomplished by constructing an embedding model based on frequently occurring word groups, in which unigram words co-exist with bi- and trigram collocations. We evaluate our method in utility and privacy tests, which make a clear case for tokenization strategies beyond the word level.
A Collocation-based Method for Addressing Challenges in Word-level Metric Differential Privacy: Applications of Differential Privacy (DP) in NLP must distinguish between the syntactic level on which a proposed mechanism operates, often taking the form of $\textit{word-level}$ or $\textit{document-level}$ privatization. Recently, several word-level $\textit{Metric}$ Differential Privacy approaches have been proposed, which rely on this generalized DP notion for operating in word embedding spaces. These approaches, however, often fail to produce semantically coherent textual outputs, and their application at the sentence- or document-level is only possible by a basic composition of word perturbations. In this work, we strive to address these challenges by operating $\textit{between}$ the word and sentence levels, namely with $\textit{collocations}$. By perturbing n-grams rather than single words, we devise a method where composed privatized outputs have higher semantic coherence and variable length. This is accomplished by constructing an embedding model based on frequently occurring word groups, in which unigram words co-exist with bi- and trigram collocations. We evaluate our method in utility and privacy tests, which make a clear case for tokenization strategies beyond the word level.
[ 0.0202379674, 0.0891362876, -0.0346277319, 0.0467499383, -0.073596783, -0.0305052567, 0.0717977956, 0.005985972, 0.0449034013, 0.0140613932, -0.0112826265, -0.0391612947, -0.0113289952, 0.0088734142, 0.0332202651, 0.0055631236, 0.071192652, -0.0170019846, -0.01473069, -0.0282876454, -0.0229381807, -0.0292819403, 0.0071374271, 0.0300296191, -0.0271167681, -0.0033384445, -0.0168934371, -0.0182479266, -0.0206567608, -0.0331719927, -0.0083860112, 0.0584936589, 0.019004181, 0.0583931841, 0.0000019826, -0.0276396144, -0.0405035391, 0.0405954793, 0.0020043056, -0.0277487095, 0.0131531479, -0.0224705748, 0.0606189631, -0.0387797467, -0.0263202284, 0.0091794115, 0.0375514515, 0.0273910835, 0.0445880517, 0.0698743761, -0.006832609, -0.010894089, -0.0124146082, -0.0333383456, -0.0110736201, -0.0083543165, 0.0046583782, -0.0435150266, -0.0338061862, 0.0064989286, -0.0295487754, 0.0325469598, -0.0058006416, 0.0261512771, 0.0471548066, 0.0114771109, -0.0262504052, -0.050136108, -0.0018938913, 0.011691724, 0.0152484896, 0.0046744514, 0.0401000828, 0.0219665561, 0.0578676127, 0.0065556383, 0.0013938384, -0.0073044705, -0.0057780193, 0.0061298977, 0.0296393167, 0.0162609816, 0.0186872259, 0.0036582714, -0.0064820941, 0.0670546517, 0.0137542896, -0.0017206431, -0.0267970469, -0.0093584219, -0.0082693836, -0.0347267427, 0.0622341745, -0.0309743211, 0.0366909578, 0.0198168457, -0.0810253322, -0.0834418014, 0.0158778578, -0.0341349058, 0.0034671, -0.0132420333, 0.0251546763, 0.0118732173, -0.0032928523, 0.0538252294, 0.0091294553, 0.0228174124, 0.0132522145, 0.0343871824, -0.004885023, -0.0295364019, 0.0163436588, 0.078258045, -0.0691614524, -0.0418648385, -0.0026959064, 0.0409957431, -0.0403694697, 0.0134980176, -0.0082538938, 0.0295169875, -0.0384064429, 0.0031553835, 0.0069577363, -0.0988745391, -0.0371174663, -0.0133639956, 0.0151125854, -0.0146441432, -0.0233709477, -0.0313470811, -0.0052001188, 0.0178096592, -0.0454349704, 0.0861152485, 0.0093097771, -0.0449278764, 0.0401670747, -0.0987314731, -0.0394920669, 0.0194726959, 0.0270778723, -0.066506885, 0.0149394516, -0.0399380662, -0.0050327186, -0.0699329674, 0.0096696531, 0.0158221088, -0.0510807224, 0.0583190285, -0.0084957294, -0.0336672291, -0.0117866239, 0.0283677019, 0.0143857002, 0.0440069102, 0.0233426429, 0.0396397784, 0.0923882797, -0.010223628, 0.0128602777, -0.0322800949, 0.0323191918, 0.0255685393, -0.0298975445, 0.0268909596, 0.0109624658, -0.0298513453, 0.0019517542, 0.0541525036, -0.0011905589, -0.0698969662, 0.0652281269, 0.1250368357, 0.0278011411, -0.0245404169, -0.0589243174, 0.0186790451, -0.0614620857, 0.0622057244, -0.0333729573, -0.0482546203, -0.0092045749, -0.0261742435, 0.0438816771, 0.0025530977, 0.0183858052, -0.0270832218, 0.0111577669, -0.0247521214, 0.0516399033, -0.0502585508, -0.0402775817, 0.0241010468, 0.0426752493, 0.0316189863, 0.0123704458, -0.0294006467, 0.0394126102, -0.0017394962, 0.0239544567, 0.0764949992, 0.0655324385, -0.0062158736, 0.0349348821, -0.0285741501, -0.0066736243, 0.032005243, -0.0192369465, 0.0070891604, 0.0609929785, -0.0031294019, -0.0190172624, -0.0424165092, 0.0303537715, 0.0013993625, 0.0077768541, -0.0031579449, 0.0025747549, -0.0404268019, 0.0475973338, 0.049145069, 0.0318025202, -0.0412263274, 0.0362306833, 0.0013057773, 0.0399664305, 0.0373457223, 0.005910058, 0.0335043967, -0.0115587348, 0.0155068683, -0.020695623, -0.0148158222, -0.0175528638, -0.0264831986, -0.0025658419, -0.0349928215, 0.0210282486, 0.0129801147, 0.0128764641, 0.0006299707, -0.0201208647, 0.0008257733, 0.0660905838, -0.0150943696, 0.0241681151, -0.0092317918, 0.0387174338, -0.0410904177, 0.0479394458, -0.0471160784, 0.0265834108, -0.1226920933, -0.0250533968, 0.0388807617, 0.0223901737, 0.0052804546, 0.0041660517, 0.0070602805, -0.0019318928, 0.0204443373, -0.0125011839, -0.0215798579, -0.0535530336, 0.0005848535, 0.038220305, 0.0110590588, 0.0438524336, -0.0018331547, 0.0006330906, -0.0097010089, -0.0238350611, -0.0103854947, -0.0455991067, -0.0246939398, 0.0398674235, 0.0608907938, 0.0114017241, -0.0416137613, 0.013501958, -0.0378321521, -0.0132486951, 0.0283459034, -0.0557887107, -0.0396066755, -0.0036965727, 0.019607326, -0.0145158255, 0.0345434062, 0.0068562101, -0.0019069924, 0.0017968521, 0.0223753005, 0.0182289723, 0.034237437, 0.0150156133, 0.0086874859, 0.0351011008, -0.0169736315, -0.0164010581, -0.0387109555, -0.0253562946, 0.0423614122, -0.0133588705, 0.0055706925, 0.0431801081, -0.0172564983, 0.0460946225, -0.0680855066, -0.0311233513, 0.0237565283, -0.0514458641, -0.0691457167, -0.0094569214, -0.0489067324, -0.0240546539, 0.0075267353, -0.0100702913, -0.0450332761, 0.0813286081, -0.0168578681, 0.0488005467, -0.0419679098, -0.0089340461, -0.0101862783, 0.0288830772, -0.0047979341, 0.0296562091, 0.009387007, -0.0924727619, 0.0006638483, 0.0135846101, 0.0290417094, -0.0172132198, 0.0541861616, -0.0104994588, -0.0729895607, 0.0155428611, -0.0599629506, -0.0231929719, -0.1169132069, 0.0480291322, 0.0037067686, 0.0347382613, -0.0590008423, 0.0086362176, -0.0088141114, 0.0018384034, -0.0154312635, -0.0265648123, 0.0004583522, -0.0320182256, -0.0042503579, -0.0151851978, -0.0341096558, -0.0099114534, -0.0090637179, -0.0283064302, 0.0478347316, 0.0487398542, 0.0266281813, 0.0518948399, -0.0158227272, 0.0094213299, -0.0149834575, -0.070149079, 0.0152800754, 0.0298459549, -0.0063004382, -0.0045736553, 0.0794439763, 0.0226130709, -0.0324019715, 0.0051427074, 0.0472106077, 0.0268884283, -0.00365903, -0.0321282931, -0.0670077577, 0.0196972825, 0.0293380283, 0.0410788544, 0.0004069817, -0.0419950262, -0.031624116, -0.0682021007, -0.0492104515, 0.013909, 0.0593426079, -0.0058401064, -0.0528385602, 0.0448001698, 0.0463564172, -0.0315196961, -0.0232517589, -0.0078731533, -0.0136672528, -0.0078582726, -0.0286583006, 0.0048839296, -0.0633168146, -0.0487939231, -0.0150096901, 0.0319657922, 0.0127021866, -0.0172319598, -0.0547369383, -0.0027219637, 0.031716764, -0.0076952931, 0.0050591151, 0.0449666604, -0.0495922007, 0.006757596, -0.0239008199, 0.0718067959, 0.0095620444, -0.0096020717, -0.027125245, 0.0078995163, 0.0055758101, -0.0072273053, -0.0150852501, -0.0086326059, 0.0196802076, 0.0624993108, -0.0079268701, -0.0390205011, 0.0178180486, -0.0262119286, 0.0500975214, 0.0269848984, 0.059614189, -0.0096093761, -0.0274347514, -0.0798453689, -0.0694946647, 0.0099201947, -0.0217942316, 0.049636431, 0.052646935, 0.0128631266, 0.0091227014, -0.0244990718, -0.0206777789, 0.0022848938, -0.0270239413, -0.0221752599, -0.0288732331, 0.0275181793, -0.0082288729, 0.0719792023, -0.0294801854, 0.0183086377, -0.031884864, -0.0694744959, 0.0486517809, -0.0195759032, 0.0050548785, 0.0276802294, -0.0599052869, -0.0509073623, 0.0479227155, 0.0688548312, -0.0437745526, 0.010118451, 0.041263368, -0.0283773635, 0.0056079831, 0.0246949531, -0.012918056, -0.0567517877, 0.0529857874, -0.0191188455, -0.0211142059, -0.0198123064, -0.0367866233, -0.0054879431, 0.0357504673, -0.0059410417, 0.1132258996, -0.0567596219, 0.0009741964, -0.0335406922, -0.0298300069, 0.0008060742, -0.0138812885, 0.0328607, -0.0200944468, 0.0087750591, 0.0362141244, 0.0065992405, 0.0437315479, -0.0205235034, -0.0145246331, 0.0584423319, 0.0172674544, -0.0202984195, 0.0278298017, -0.0292381123, 0.0090997266, -0.0124519337, 0.0050244676, -0.0523458719, -0.0279878452, 0.0171504058, -0.0230192225, -0.0577066615, 0.0422337353, -0.035251122, 0.0127328634, 0.0023478311, 0.0254287925, -0.0349755399, 0.0117022861, -0.0387369171, -0.0293369312, -0.0194861796, 0.0231062528, -0.0127307689, -0.0124484645, -0.0150432419, -0.0280558504, -0.0102647478, -0.0245195907, 0.0300266631, 0.0681814775, -0.0122596025, -0.006191974, -0.0088007683, -0.031580314, -0.0422050767, 0.0015829911, 0.0171991121, 0.0821143463, 0.0161543377, 0.0105054835, -0.0525959209, -0.0478801019, 0.0039818771, 0.0179265589, 0.0226770453, 0.0182774421, 0.0118064564, 0.0373992883, 0.0388135538, -0.0766484886, -0.0606144406, 0.0016013143, 0.0519496612, -0.0091743134, -0.0057213181, -6.012046021e-33, -0.0063951449, -0.0172442924, -0.0803338215, 0.0210147463, 0.0117760161, -0.0097386492, 0.0266934689, 0.0095981853, 0.0155976592, 0.0031078607, -0.0698688626, 0.0400160328, 0.0099619078, -0.0050077406, -0.0144740008, 0.0114429016, 0.0394202806, -0.0151148252, -0.0091521945, -0.0117723895, 0.0748827308, 0.0374281332, 0.0075542824, -0.0585122816, 0.1058935523, 0.0093742302, -0.0213489085, 0.0149042709, 0.0059490311, 0.021763809, -0.0401674099, -0.0062255366, 0.0109551074, 0.0306399614, -0.0355458148, 0.0800740123, -0.0703851208, -0.0611100197, 0.0455391966, -0.0346093401, 0.0324149095, -0.0596883632, 0.0414986126, -0.0252332967, -0.022090571, 0.0030328899, -0.0070763291, 0.0170336422, -0.0489083529, -0.0256346501, 0.0074845073, 0.0083589256, -0.0019797506, 0.0226837285, 0.0639005378, -0.0417224392, 0.0190768391, -0.0364227556, -0.0207771678, 0.0215661358, 0.0042996099, 0.0201832224, 0.0154923126, -0.0143016903, 0.056549713, 0.0565313287, 0.0180484299, 0.0247675683, 0.0254162494, -0.025874434, -0.0111762695, -0.002712592, 0.0030765778, 0.0148949046, 0.0320578888, -0.0406930521, -0.0040765139, -0.0211254321, -0.0513920523, -0.0204909928, 0.0595251173, 0.0381422229, -0.1134023964, -0.0359288566, -0.0447189584, -0.0188821536, -0.016274184, -0.0134895472, -0.023589965, 0.0073078275, -0.041344665, -0.0032244117, -0.0113500208, -0.0342153087, -0.0281973481, 0.0219282471, 0.0441547297, -0.0163926333, 0.0050193891, -0.0126151368, 0.0133517692, -0.025761595, 0.0036825042, 0.0070790835, 0.0463121496, 0.0050096782, 0.0312204957, -0.0419957004, -0.0719467029, -0.0251191538, 0.0075250319, 0.0138602098, 0.0009146693, -0.0221496597, 0.0704885572, -0.0055114571, -0.0063789054, 0.0243961252, 0.060072571, 0.0339388736, -0.0069279061, 0.0429466069, -0.0303107742, 0.0112504587, 0.0354589149, -0.024951566, 0.0259237234, 0.017888546, 0.1329643428, 0.0162872449, 0.0001382065, -0.0247329921, 2.734e-7, 0.0038227153, 0.0090303766, 0.0384265408, -0.0142131811, 0.002753661, 0.0224872343, 0.0143878236, 0.0485180095, -0.043612387, -0.0133810919, -0.0405798927, -0.0317525044, 0.0172096007, 0.0285457484, -0.0405203365, 0.0137016028, 0.0158782937, 0.0285614878, -0.0496126749, -0.0185058024, 0.012930328, 0.0335693881, 0.0618211478, 0.0519123301, -0.055022642, -0.0612996332, -0.0060407808, -0.0084429299, -0.048452381, -0.0059513124, 0.0707558617, 0.0483639613, 0.0449171402, -0.019247245, -0.0296507515, 0.0705296546, -0.0147250928, 0.0719241649, 0.030992616, -0.0216517169, -0.0039661359, -0.0694641396, -0.0243534259, -0.0196008477, 0.0276089497, 0.0326854326, -0.0569165759, -0.0407954268, 0.0123567581, -0.0610021092, 0.0511251017, -0.0214545671, -0.0272889733, -0.0064376458, 0.0058892374, 0.0343873687, 0.0152582759, -0.0813095793, -0.0403141044, -0.0133471331, -0.0336861201, 0.0082805175, 0.0564497262, 0.0493473001, -0.0087911719, -0.0194426775, 0.0424094908, 2.689768929e-34, -0.0179425608, 0.0134403268, 0.0059235934, 0.0070607993, 0.037394058, -0.0097127613, 0.0144884661, 0.0101645747, 0.0697355568, -0.057541579, -0.0246263817 ]
http://arxiv.org/abs/2407.00637v1
http://arxiv.org/pdf/2407.00637v1
DP-MLM: Differentially Private Text Rewriting Using Masked Language Models
2024-06-30T09:31:01
2024-06-30T09:31:01
Stephen Meisenbacher, Maulik Chevli, Juraj Vladika, Florian Matthes
cs.CL
cs.CL
The task of text privatization using Differential Privacy has recently taken the form of $\textit{text rewriting}$, in which an input text is obfuscated via the use of generative (large) language models. While these methods have shown promising results in the ability to preserve privacy, these methods rely on autoregressive models which lack a mechanism to contextualize the private rewriting process. In response to this, we propose $\textbf{DP-MLM}$, a new method for differentially private text rewriting based on leveraging masked language models (MLMs) to rewrite text in a semantically similar $\textit{and}$ obfuscated manner. We accomplish this with a simple contextualization technique, whereby we rewrite a text one token at a time. We find that utilizing encoder-only MLMs provides better utility preservation at lower $\varepsilon$ levels, as compared to previous methods relying on larger models with a decoder. In addition, MLMs allow for greater customization of the rewriting mechanism, as opposed to generative approaches. We make the code for $\textbf{DP-MLM}$ public and reusable, found at https://github.com/sjmeis/DPMLM .
DP-MLM: Differentially Private Text Rewriting Using Masked Language Models: The task of text privatization using Differential Privacy has recently taken the form of $\textit{text rewriting}$, in which an input text is obfuscated via the use of generative (large) language models. While these methods have shown promising results in the ability to preserve privacy, these methods rely on autoregressive models which lack a mechanism to contextualize the private rewriting process. In response to this, we propose $\textbf{DP-MLM}$, a new method for differentially private text rewriting based on leveraging masked language models (MLMs) to rewrite text in a semantically similar $\textit{and}$ obfuscated manner. We accomplish this with a simple contextualization technique, whereby we rewrite a text one token at a time. We find that utilizing encoder-only MLMs provides better utility preservation at lower $\varepsilon$ levels, as compared to previous methods relying on larger models with a decoder. In addition, MLMs allow for greater customization of the rewriting mechanism, as opposed to generative approaches. We make the code for $\textbf{DP-MLM}$ public and reusable, found at https://github.com/sjmeis/DPMLM .
[ 0.0068785083, 0.1032330319, -0.0231186971, 0.0673462525, -0.058577314, -0.0211889185, 0.0738381743, 0.023348229, -0.0065383432, 0.0058460906, 0.0097476374, 0.0028252765, 0.0097799012, 0.0725432932, 0.0318561904, -0.0116487779, -0.0082958983, -0.0053005377, -0.0137647502, -0.0306708198, -0.0073736203, -0.0020206231, 0.0470803678, 0.0167684462, 0.0287698898, -0.0079657584, -0.0170915481, 0.0345046185, 0.0047353567, 0.000288829, 0.0150506664, 0.0375793949, 0.0434764065, 0.1074321344, 0.0000022493, -0.0200242046, -0.0548512191, 0.032469634, -0.0397983603, 0.0087255044, 0.0337705873, -0.0465575904, 0.0086465254, -0.0090063382, -0.0305045545, 0.0140908994, 0.0299980342, 0.0202599205, 0.0817304105, 0.093757987, -0.014129932, -0.0396794043, 0.0029825501, -0.0429866277, 0.0137717752, -0.0006884173, 0.0414972752, -0.022732161, -0.0650647208, 0.0268363133, -0.0108346548, 0.0396475457, 0.0112420032, 0.010431434, 0.0116373152, 0.0379348509, 0.0359326489, -0.0060686199, -0.0055050906, -0.0068425606, -0.0424511768, -0.0621979535, 0.0448300764, 0.0040960796, 0.0103015862, 0.0084011527, 0.0055569867, 0.0271442495, 0.0073268032, 0.0064735678, 0.0169591792, 0.0371514633, 0.0226572659, -0.0150859281, -0.0056762835, 0.0310833156, 0.0305061731, -0.0138351526, -0.0871989876, -0.0443027243, 0.0153991524, -0.0782235041, 0.0688876808, -0.0065177511, 0.0719367638, 0.0186800919, -0.1094047874, -0.0920153111, -0.0021620276, -0.0329662859, -0.0067548514, -0.0014230126, 0.0594476424, 0.0233373735, -0.0454942174, 0.0693593845, -0.0217564963, 0.0036393695, -0.0088327369, 0.0171760153, 0.0166511424, -0.0252717771, -0.0378193781, 0.0747546405, -0.1046606079, -0.0111825848, -0.0283039082, 0.0547136292, 0.0128706163, 0.0187300276, -0.0280482769, -0.0127206817, -0.0565567985, -0.0193086658, 0.060219083, -0.0716340169, -0.0014157515, -0.0177173801, 0.0067271469, -0.0236169081, -0.0267173275, -0.019690197, -0.0022505575, -0.0036402459, -0.0448413268, 0.0924379751, -0.0069860476, 0.0019116919, 0.0079228394, -0.0664521232, -0.0063588815, 0.0302312579, -0.0069067073, -0.0554876029, -0.0043065939, -0.0253206789, 0.0042629531, -0.0885651037, 0.0283390488, 0.0180893298, 0.0016785061, 0.0551604629, 0.005583466, -0.0192846898, 0.0405287407, 0.0278051663, 0.0032772853, 0.0299689714, 0.0429624133, 0.0490067825, 0.0537167527, -0.0107243592, 0.080172956, -0.0045398679, 0.0334056057, 0.059409719, -0.0425293371, 0.0083221318, 0.0196800586, -0.0314166732, 0.0335298255, 0.0389347151, -0.0010160592, -0.0826045424, 0.0722388476, 0.0376128331, 0.0125405416, 0.0078573292, -0.0115640573, 0.051210463, -0.0656667873, 0.0135412291, 0.0051677385, -0.01208816, -0.0456455573, -0.0312437918, -0.0184930731, 0.0022751905, 0.016991131, -0.0140486937, 0.0391857773, -0.0357877426, 0.0556285568, -0.0114321811, -0.0168387443, 0.0335471667, -0.0401269607, 0.0155137237, -0.0003301635, -0.0326874629, 0.0002701552, -0.0612165444, 0.0060778609, 0.0392677337, 0.056472443, 0.0033652626, 0.0316940546, -0.0501673967, -0.0517735481, -0.0008860385, -0.0370459184, 0.015734883, 0.0494192317, -0.0226714015, -0.0279816724, -0.0687210709, 0.0313762985, 0.0393730514, 0.021586474, -0.0080527468, 0.0232223105, -0.0223475304, 0.0331561603, 0.0414277054, -0.0253665298, -0.065548785, 0.0352662839, 0.000175228, 0.0436308943, -0.0050663888, -0.0037226083, 0.0244243573, 0.0216095839, -0.0284850486, -0.0278949868, -0.0241727848, -0.0103148101, -0.0536017455, -0.011843781, -0.0575979389, 0.0284105651, 0.0763202235, -0.0222742911, -0.0225799158, -0.003630507, -0.0264275111, 0.0204205737, -0.0075080292, 0.00988298, -0.0104220212, 0.0541475154, -0.0555637889, 0.0076614837, -0.0364389159, -0.0033728499, -0.0443752818, -0.0123862512, 0.0235384721, -0.0046657552, -0.0084773554, -0.0197212733, -0.0108153028, -0.0046751825, -0.0036241878, 0.0254726466, 0.0172601603, -0.0546018407, 0.0057821944, 0.0126135517, -0.0132764047, -0.0006759667, 0.0529775396, 0.0206518043, -0.0192977712, -0.0081601134, -0.0450457335, -0.0723549277, -0.0388492346, 0.0111470344, 0.0376792215, 0.0279286895, -0.0426471494, 0.0364497639, -0.0217470378, 0.0348912962, 0.0456740893, -0.047893431, -0.0562026687, -0.0281850416, 0.0333509222, -0.0064010788, 0.0119638219, -0.0441632904, -0.0079553695, -0.0327269211, 0.0073709381, 0.0402688682, 0.0494883209, 0.0083791595, 0.0096623916, 0.0005437455, -0.001349054, -0.0301316343, -0.0085051088, -0.0326242149, 0.0083666416, -0.0065834066, -0.0517977327, 0.0468596518, 0.0124521218, 0.040732421, -0.0552821569, -0.0440496877, 0.026159903, -0.0223837104, -0.0659851283, -0.0187275037, -0.0320657305, 0.0003743937, 0.0288421065, -0.0222463589, -0.0655547604, 0.0784444064, -0.0338787585, -0.0014936476, -0.0060832649, -0.0462807938, -0.0421439111, 0.0424958579, -0.0119167194, 0.0528213494, 0.0164515469, -0.0374870785, -0.0145639498, 0.0392705053, 0.0091245482, -0.0254990701, 0.0121579943, -0.0448906831, -0.0369365998, 0.040489085, -0.021396419, -0.0297582634, -0.1061808616, 0.0404929258, -0.0218107589, 0.013840545, -0.0301322844, -0.0089638457, 0.0018675766, 0.0313340798, 0.0447627306, 0.0150142927, 0.0073788315, -0.0490787216, -0.0148792043, -0.0188423712, -0.0801708996, -0.0296047293, -0.0380300097, 0.0104583967, 0.0545597747, 0.0464699194, -0.0053902119, 0.0457689464, -0.0144170169, 0.0234845858, 0.0093781594, -0.0506753586, 0.0166269895, 0.0296330061, -0.0293848664, -0.013574495, 0.063371487, -0.0105193602, -0.0401228406, 0.0121386247, 0.0440183654, 0.0440487824, -0.007660144, -0.0237225443, -0.1045120582, 0.0183027089, 0.036951147, 0.0400226824, -0.0273125116, -0.0235792343, -0.0442938767, -0.0514028408, -0.0193092767, 0.02814392, 0.0008127195, -0.0107211629, -0.050489746, -0.0074157002, 0.0389774852, -0.0542594381, -0.0301206335, 0.0277289171, -0.0314600766, -0.0165208653, 0.0009002675, 0.0085186632, -0.0259852502, 0.0052688126, 0.0382468514, 0.0487004817, 0.0101861721, 0.0013193975, -0.0310439933, 0.006861357, 0.0101078646, -0.0322163142, -0.0016042495, 0.0350423232, -0.0167547055, 0.0001111333, 0.0113814883, 0.0686099008, 0.0141768735, -0.011778486, 0.0178340059, -0.0099705467, 0.01347051, -0.0383675359, 0.0139480624, -0.0261539761, 0.025978975, 0.0501226, 0.0161487404, -0.0145721538, -0.0274861529, -0.0658739656, 0.0357782021, -0.0160258524, 0.0172282662, -0.0162590388, -0.0311965998, -0.0728057623, -0.0274171941, 0.0586151443, -0.0148491841, 0.0222447496, 0.027377367, 0.0166779123, 0.01604563, -0.0477262177, -0.0439956896, -0.0394151174, -0.0700894296, 0.0342765488, -0.0178930555, -0.0311295222, -0.0104423929, -0.0105794342, -0.0374795198, 0.0166768357, -0.077246137, -0.0583833121, 0.0398260355, 0.0194380898, 0.018839689, 0.0289293937, -0.036005646, -0.0678577274, 0.0722725093, 0.0209316891, -0.045903001, 0.029589925, 0.0397125371, 0.0192464888, 0.0358155631, 0.0231804457, -0.0295544025, -0.021198621, 0.0668934286, -0.050017681, -0.0577381514, -0.0014258765, 0.0162965115, 0.0395163745, 0.0133634796, -0.0143647101, 0.0418221317, -0.0171479955, 0.0452879705, -0.0450145081, -0.0271589234, -0.0335798301, 0.0165265575, 0.0672970489, 0.0051883813, 0.0219511054, 0.0244342964, 0.0098663382, -0.0124705369, -0.0428527482, -0.0096786357, 0.0131468326, 0.0326466635, 0.0438962057, 0.0233206376, -0.0213777907, 0.0545918196, 0.0158500578, -0.0003655035, 0.0102107078, -0.0110416077, 0.0276796725, 0.019409392, -0.0300754718, 0.0595678166, -0.0596751198, -0.007989306, -0.0159706306, 0.0244112536, -0.0167245492, 0.0668058321, -0.0048419801, -0.0238090847, -0.0077403416, -0.0002371799, 0.0295008589, -0.0100216325, -0.0551607199, -0.0248228014, -0.0353824049, -0.0291217044, 0.0275390372, 0.1005379409, 0.0311004892, 0.0396570936, 0.0261398368, 0.0046159849, -0.0643291175, 0.0026926815, 0.0260371845, 0.070787333, 0.0092534637, 0.0052498998, -0.0318582095, -0.0475708507, 0.0138025461, -0.0132535109, 0.0383801684, -0.0038366714, -0.0310784075, -0.0045478032, -0.0210175831, -0.042315878, -0.0833619535, 0.0596012659, 0.0725659579, -0.052518215, -0.0201766975, -5.863430107e-33, 0.0032226108, -0.007262188, -0.0477520786, 0.0333430059, 0.0080293259, 0.0205752905, -0.0131684728, -0.0213669501, 0.0508689545, -0.024812704, -0.0292903762, 0.0030675677, 0.0013082483, 0.0254570153, -0.0572284013, 0.005588409, 0.0321597382, 0.0039319652, -0.00955333, 0.0128736738, 0.0248167999, 0.0411694795, -0.0019591781, -0.0647973195, 0.053910803, -0.0517040193, -0.0572649203, 0.0087107355, -0.0312309097, -0.0003886639, -0.0258583184, -0.0348595083, 0.0074821236, 0.0136258677, -0.0587075986, 0.0423632711, -0.0227867831, 0.0179846585, -0.0066930233, -0.0187018383, 0.0168305598, -0.0814390108, 0.052984871, -0.013651263, -0.008400213, 0.0405653901, -0.0114253145, -0.0141473813, -0.0042932434, -0.0292801782, 0.0149750747, 0.020528743, -0.0338054448, 0.0069490466, 0.0633429885, -0.001845259, 0.0187080894, 0.0101281824, -0.0516296588, 0.0229242444, 0.0197115056, -0.0027511416, 0.0255838968, 0.0072030621, 0.0461156592, 0.0027816459, 0.0356793553, 0.037784148, -0.0098931268, -0.0000120403, -0.0050124726, 0.0132780857, 0.0334813967, 0.0352255292, 0.0237094872, -0.0310411677, -0.0061135511, 0.0208082944, -0.073119618, -0.0519663654, 0.0613960661, 0.0789609849, -0.046099063, -0.0106483568, -0.0572770834, 0.0080277426, -0.0049483194, 0.0284236278, -0.0119729312, 0.0290177204, -0.0464553721, -0.01594292, 0.010479481, -0.0645617545, -0.0110858418, -0.0165557284, 0.02229595, -0.0026922885, 0.0151727796, 0.0197479203, 0.0096252784, 0.0125380708, 0.0379551053, -0.0235466696, 0.0140564675, -0.0130441608, 0.0142850382, 0.0077459654, -0.0806505978, -0.0184946992, -0.0397000685, 0.0424574539, 0.0566309169, 0.0111984788, 0.0097875362, -0.0185346138, -0.0100237839, -0.0410023294, 0.0343548916, 0.0005639119, -0.0130351316, 0.0466342494, -0.0085046366, 0.0130436271, -0.0010342192, 0.000703663, 0.0282304138, 0.0153752677, 0.1274227649, 0.027428735, -0.0208310783, -0.0195857827, 2.874e-7, 0.0272148512, 0.0166066624, 0.0226282515, -0.0058321389, 0.0269615296, 0.0659430102, 0.0014030738, 0.0425662808, -0.0398932286, 0.0002013893, -0.0337536484, -0.0076593054, 0.0626680702, -0.0036218863, -0.0530859418, -0.0177490413, -0.0079137376, 0.0060480423, -0.0320757031, 0.0064581544, 0.0076477858, 0.0638782233, 0.0579676218, 0.0216544904, -0.0082695261, -0.0336707458, 0.0164133012, -0.0491090417, -0.0028754303, -0.0050679082, -0.0080254348, 0.0375365578, 0.027172232, -0.0353693776, -0.014788921, 0.0024246238, -0.022704741, 0.125013575, 0.0337761194, -0.0135728177, 0.0264423657, -0.0344567895, -0.0507201925, -0.0571813323, 0.0165234767, 0.0432317741, -0.0220725015, -0.0127882734, -0.0278652124, -0.0288417302, 0.065437533, -0.0066333245, -0.0234560203, 0.0242858138, 0.0094167953, 0.0409271345, 0.0072621824, -0.0520379618, -0.0545803532, -0.074714683, -0.068436943, 0.0278645139, -0.007866269, 0.0290940385, 0.0260613747, -0.0348076001, 0.0496498719, 3.053359204e-34, -0.0077351909, -0.0250201616, -0.0506917015, 0.0401132479, 0.0372074582, -0.01513163, 0.0040371884, 0.0228015706, 0.0120524615, -0.058233615, -0.0241189115 ]
http://arxiv.org/abs/2407.00632v1
http://arxiv.org/pdf/2407.00632v1
CAMON: Cooperative Agents for Multi-Object Navigation with LLM-based Conversations
2024-06-30T09:14:33
2024-06-30T09:14:33
Pengying Wu, Yao Mu, Kangjie Zhou, Ji Ma, Junting Chen, Chang Liu
cs.RO
cs.RO, cs.CL, cs.CV, cs.MA
Visual navigation tasks are critical for household service robots. As these tasks become increasingly complex, effective communication and collaboration among multiple robots become imperative to ensure successful completion. In recent years, large language models (LLMs) have exhibited remarkable comprehension and planning abilities in the context of embodied agents. However, their application in household scenarios, specifically in the use of multiple agents collaborating to complete complex navigation tasks through communication, remains unexplored. Therefore, this paper proposes a framework for decentralized multi-agent navigation, leveraging LLM-enabled communication and collaboration. By designing the communication-triggered dynamic leadership organization structure, we achieve faster team consensus with fewer communication instances, leading to better navigation effectiveness and collaborative exploration efficiency. With the proposed novel communication scheme, our framework promises to be conflict-free and robust in multi-object navigation tasks, even when there is a surge in team size.
CAMON: Cooperative Agents for Multi-Object Navigation with LLM-based Conversations: Visual navigation tasks are critical for household service robots. As these tasks become increasingly complex, effective communication and collaboration among multiple robots become imperative to ensure successful completion. In recent years, large language models (LLMs) have exhibited remarkable comprehension and planning abilities in the context of embodied agents. However, their application in household scenarios, specifically in the use of multiple agents collaborating to complete complex navigation tasks through communication, remains unexplored. Therefore, this paper proposes a framework for decentralized multi-agent navigation, leveraging LLM-enabled communication and collaboration. By designing the communication-triggered dynamic leadership organization structure, we achieve faster team consensus with fewer communication instances, leading to better navigation effectiveness and collaborative exploration efficiency. With the proposed novel communication scheme, our framework promises to be conflict-free and robust in multi-object navigation tasks, even when there is a surge in team size.
[ 0.0574236624, 0.0125490054, -0.0176455751, -0.030773785, -0.0308408719, -0.0162682347, 0.006977356, -0.021451246, 0.0154940756, -0.0266885031, -0.0270349178, -0.0033466681, -0.0148293665, 0.0018265913, -0.0249079801, -0.0426483415, 0.0129450588, -0.0527403876, 0.0158492774, -0.0426478274, -0.0146603985, -0.0273836926, -0.0111545119, 0.035746567, 0.0066050668, -0.004933109, -0.0578433946, 0.0047844658, 0.0203913786, -0.0441976413, 0.0087227188, 0.0366279222, 0.0324551761, 0.0321062915, 0.0000022325, -0.0185299143, -0.0273444597, -0.0230789073, 0.0073819449, -0.0541577637, 0.0839306712, -0.0331048742, 0.004626804, 0.0107282707, -0.0261354242, 0.010625842, 0.0622584112, 0.0445915312, 0.0118763959, 0.0360786654, 0.0086463951, -0.010413968, -0.0350060575, 0.0039794319, -0.0478778742, -0.0639143512, 0.0302613806, 0.0377864093, 0.0251374058, -0.0001122987, -0.0310814567, 0.0125568686, 0.0171761271, -0.0135880532, 0.0025195002, 0.0496997721, -0.0245801862, -0.0679980665, -0.0289376769, 0.0549381375, 0.0119400527, 0.0173094273, 0.0136049716, 0.0165114459, -0.0414553657, 0.0252662282, -0.038764514, 0.0309928283, 0.0122778155, -0.0093279984, -0.0548206903, -0.0134816421, -0.015539025, 0.0075112432, -0.0159325898, 0.0749775618, 0.0158982314, 0.0267469455, -0.0545900017, -0.0176172275, -0.0017860591, -0.0623264946, 0.0476927906, 0.0483175404, -0.0552817136, 0.0325543582, -0.0233936049, 0.0490729958, 0.0077300989, -0.0935554057, 0.0166719928, 0.0206093509, 0.0013222683, 0.0213201363, 0.0259661935, 0.0322451629, -0.0278895609, 0.0378026441, -0.0319414996, -0.0455971546, -0.0671342611, 0.0089710094, -0.0376561359, 0.057442192, -0.0645852834, -0.0520624742, 0.0114717074, 0.0729971826, 0.0013034394, 0.0168889351, -0.0381539389, 0.0145353675, -0.000320253, 0.0000965731, -0.0239193086, 0.000321458, -0.0359737314, -0.0039025769, -0.0144261941, 0.0107733058, 0.0455483943, 0.0041768965, -0.0195748117, 0.0104093822, -0.0335256271, 0.0652771592, -0.0254481025, -0.0251061413, 0.0444166474, -0.0013203606, -0.0014455937, -0.043203216, -0.0117979478, -0.0722406879, 0.0201398004, -0.0015964931, 0.0217209347, 0.0043275035, 0.0315010138, -0.0021831444, -0.0156498905, 0.0376911834, 0.0115589648, 0.0575903803, 0.0324300081, 0.0274843741, 0.0024520534, 0.0451447554, 0.055556491, 0.0408988558, 0.0174690634, 0.071156688, -0.0050199004, 0.0310304593, -0.0522871055, -0.0001211658, 0.0475307889, -0.0119073652, -0.0181162339, 0.0406394117, -0.0493426658, 0.0596085079, -0.0095840255, 0.0158889946, 0.0748814419, 0.0348898806, -0.020378774, -0.0294388998, -0.0194947422, 0.0404285602, -0.0305489711, -0.0441579334, -0.027367197, 0.023906786, -0.0310032591, -0.0338495634, -0.0303427987, 0.0165911671, -0.0050984095, -0.0057525905, 0.0208946634, 0.0129339937, 0.0272967108, -0.0033128273, 0.0412166901, -0.0037644454, -0.0393819772, 0.0073393453, -0.0100327199, -0.0388335474, -0.044306092, -0.0090628546, 0.0432097688, 0.0458365493, 0.0635507405, 0.0546965152, -0.0608469248, 0.0128272688, 0.0645729229, 0.0128465518, -0.000578693, -0.0151527431, 0.0176224262, -0.0206848681, -0.0520090051, 0.0723031834, -0.006434768, 0.0301249325, -0.0092287799, -0.0133956848, -0.0240488444, 0.0164659005, -0.0193312205, 0.0302029736, 0.0499751158, 0.0907349512, -0.031315431, 0.0455733202, 0.0351586603, 0.0292030647, -0.0163640864, -0.0373338051, 0.0424594209, -0.038314119, -0.0276771411, 0.0287314821, 0.01154391, -0.0035796133, 0.0149316574, -0.0345167331, -0.001401147, 0.032445658, 0.0070754276, -0.0189172346, -0.0364175886, -0.0077672796, -0.0146592166, 0.0147512956, 0.0103479652, 0.0056243129, -0.0083542429, -0.0176018644, 0.0375181697, -0.0246396232, -0.0293420982, 0.0447320156, 0.0581708588, 0.0111051807, -0.0377509072, 0.0326479822, 0.0640259907, 0.0654775724, -0.0035969866, 0.0518580191, 0.0267721433, 0.0129409824, -0.0523356907, -0.087947011, -0.0227487329, -0.0153675694, -0.0284861624, 0.0068796645, -0.0288445596, 0.0102806492, 0.0125490604, 0.0321309157, 0.0720143244, 0.0175105985, 0.0047866739, 0.0061929254, 0.0040673013, -0.1050802171, -0.0364619642, 0.0261970647, 0.0010388674, -0.0378149636, 0.0417018756, -0.0457563475, -0.061012987, -0.0008083948, -0.0693918839, 0.0310299806, -0.0138474405, -0.0776116997, 0.0346132889, -0.0251336992, 0.0349796303, 0.0301792696, -0.0096403752, 0.0208618604, 0.066467911, -0.0834353119, -0.0535305925, 0.0065996065, -0.0201852694, -0.0046000048, -0.0527927764, -0.0095446175, 0.0192308817, -0.0048895041, -0.0363582447, 0.017077947, -0.0269739646, -0.0209320933, 0.0033895893, -0.0478071645, -0.0066251052, 0.0051063946, -0.0373690128, 0.0820861161, -0.0487043075, -0.0073973662, 0.0239089634, -0.0147469398, -0.0216481611, 0.0067754253, -0.0133489771, -0.0479148217, 0.0962652192, 0.0130431391, 0.0392589495, -0.0040821531, -0.0208372399, -0.014613172, 0.0162941515, -0.0011957713, -0.0036952284, 0.0294971075, -0.0926772058, 0.019580191, -0.0035560566, -0.0534199774, -0.0120035857, 0.0280795489, -0.0221860074, 0.0242788848, -0.0084930221, -0.0378553085, -0.0719884336, 0.0364384428, 0.0139080063, 0.0020202021, 0.0362893678, -0.0089252787, -0.0453420989, -0.0252249241, 0.0096191233, 0.0333278999, -0.0554338619, -0.0341496579, 0.0140567487, 0.0582666807, 0.0732501969, -0.0311999246, -0.0176897813, -0.0129178818, 0.0375699177, 0.0434328318, 0.0027553313, -0.0232772082, 0.0543292426, -0.0094300611, -0.0023187632, 0.0872767493, 0.0219097901, -0.0232079979, -0.004137143, -0.0408728905, 0.0288421735, 0.0086054215, 0.0123098139, -0.0197224095, 0.0050609638, 0.0228709485, -0.0240660757, -0.0041890405, -0.0490014255, -0.0200558603, -0.0651361942, 0.0287272129, -0.0010558602, -0.0391677395, -0.0711691827, -0.0078618675, 0.0298203044, 0.0026916522, -0.0401186757, 0.0130993063, 0.0327035747, -0.0365254171, -0.0086868238, -0.0055091628, 0.0310139414, 0.0333028473, -0.0804136992, 0.0784433335, 0.0688057989, 0.0641019121, 0.0337425172, 0.011354913, -0.0208246335, 0.05194363, 0.0296513811, -0.0357399918, -0.0384486914, -0.0292924643, 0.0073536667, 0.0142840343, -0.0009683613, 0.0005834388, -0.001154029, 0.0153628848, 0.0097666355, -0.0222138204, -0.0060394634, -0.0367947631, 0.0271768086, 0.0281431992, 0.0396072082, -0.0556722507, -0.0264919437, -0.0456183963, -0.0185810588, -0.0376787558, 0.0603518896, -0.0638288334, 0.0214158613, -0.0361918323, -0.0182407741, -0.0640534684, -0.0430371985, 0.0629187748, 0.0300113745, 0.0224999003, -0.0168056302, 0.0167155098, 0.0369057767, 0.0381323807, -0.0535152629, -0.05609487, 0.0148455473, -0.0575559214, 0.020442443, 0.0260452591, -0.0167727992, 0.0106304698, 0.0447583981, -0.0409524143, -0.068651706, 0.0260632951, 0.0302204266, 0.017307587, -0.0276752673, -0.0103894165, -0.0461975224, -0.0125399996, 0.0036899331, 0.0071962248, 0.0356829949, -0.0198466275, 0.0595305115, 0.014346472, 0.0494671836, -0.0799030364, 0.010060166, -0.0416985452, 0.0692421868, -0.0447752997, -0.0590589978, 0.012947198, -0.011204198, -0.0099140052, 0.0345531739, 0.005420737, -0.0097408257, 0.0290726386, -0.0513641834, -0.0105783669, -0.0478067473, 0.0495244935, -0.0299962442, -0.0335422158, 0.0473281182, 0.0762778893, 0.0288269483, 0.0130170761, 0.024168577, 0.0181189254, -0.0183122475, -0.0175061878, 0.0270926449, 0.0308637675, 0.0022720313, 0.0143541023, -0.0121644679, 0.0241845548, 0.0458537824, 0.0428663827, 0.0099139614, -0.0729772076, -0.0421565138, 0.0005978086, -0.048138164, -0.1011695787, 0.0795534551, 0.0781086758, 0.0721353218, 0.0553278178, 0.0351203941, -0.0997897983, 0.0254802965, -0.0335204639, -0.0173371583, 0.0109040858, -0.0305469204, 0.0239000209, 0.0162079632, 0.0221790541, 0.0435740687, 0.0348550752, 0.0165360793, 0.0364057869, -0.021473499, -0.0378590152, -0.0470284782, 0.0127997873, 0.0378724337, 0.0253275577, -0.0073590721, 0.0099915843, -0.0332203433, 0.0379262567, -0.0192620065, 0.0230861958, 0.0164104663, -0.053340435, 0.050059732, 0.0077297813, -0.0261643846, -0.0629746839, -0.0432504565, -0.0442672968, -0.0193950962, 0.048099082, -0.0204263274, -6.354634298e-33, -0.0250101928, -0.1112780273, 0.0592101514, 0.0010896937, 0.004839533, -0.0438119657, -0.0156080713, 0.014382082, -0.0307806954, -0.0113774026, 0.0025555021, 0.0252142735, 0.0297488216, 0.031296026, 0.0180402808, 0.0203951336, 0.0629138052, -0.0170310102, -0.0286600944, -0.0281226486, 0.014746692, 0.0228710044, -0.0224475916, -0.0466649719, 0.0110414708, 0.0044896132, -0.018328758, 0.0601225756, -0.001399103, -0.002616067, 0.0007767772, -0.0304616205, -0.02017547, 0.0259924233, -0.0451279581, 0.0134057635, -0.0283492897, -0.020612048, -0.0114023974, 0.0311141759, -0.0461684428, -0.0084765321, 0.0067155436, -0.0050868657, 0.0246493388, 0.0331813768, 0.0023746877, -0.0146600343, -0.0400484912, 0.0594885089, -0.0461575054, 0.0306388792, 0.0125178732, -0.0440780669, 0.0555209629, 0.0062763533, 0.0074882912, -0.0168783329, -0.0376427956, 0.0126635125, -0.0341204479, -0.0228878744, 0.0245965682, 0.0172258224, 0.0259147771, 0.0518974327, 0.0640681684, 0.0231662989, -0.0137138199, -0.0245328862, -0.0547926761, 0.1226947233, 0.0099592842, 0.0266995355, -0.0558485128, 0.0487897247, -0.006368747, -0.0268225465, 0.0126552079, 0.034279488, 0.044314567, 0.061287608, -0.0407856219, 0.0219734479, -0.008027344, -0.0286110248, 0.0044769482, -0.0516962036, 0.0109958015, 0.058641769, -0.002372656, -0.0575211234, 0.0355105884, 0.0003758656, -0.0304734297, 0.0001888461, 0.0240161214, 0.0292983744, -0.0313513204, -0.0161058735, -0.0683322176, -0.0086108614, -0.0093937311, -0.0044371756, -0.0209444202, 0.0088628633, -0.0668037757, 0.039594911, 0.0034866582, -0.0139021734, 0.0050750696, -0.0401175134, 0.0145192668, -0.0480348431, 0.054763902, -0.0239230655, -0.0034247958, 0.0419377349, -0.006654745, -0.0601381846, 0.0203886647, 0.0125213331, -0.0375772491, -0.0200018659, -0.0257644225, -0.0008161675, -0.0830599964, 0.0415526442, 0.0540772602, -0.0101382509, -0.0200309176, -0.0370259844, 2.986e-7, -0.0079798689, 0.0609102286, 0.0423789136, 0.0656897426, 0.0137506807, 0.0347474627, 0.0154217724, 0.0541236252, -0.0432043448, -0.0201927274, 0.0338368341, 0.0351241902, 0.0065454859, -0.0015435383, -0.064410381, -0.029856544, -0.0011807864, -0.041840557, -0.0374597237, -0.0169564262, 0.0397471003, 0.029482916, 0.026183283, 0.0191682372, -0.0096684201, -0.0273818281, 0.0234678369, -0.0512339771, -0.0047244285, -0.0108792605, -0.006525306, -0.0211572722, -0.0436538942, -0.0241002627, 0.0485267565, 0.0190571081, -0.0088743428, 0.0486465096, -0.0163075682, -0.0179530364, 0.0069896886, -0.0054103155, -0.0526085794, 0.005698293, 0.0352746546, -0.0668836087, 0.0124792987, 0.0538821034, 0.0442638062, 0.0019705398, -0.004268019, 0.024714604, -0.0173710212, -0.0180769488, -0.0343925208, -0.0029648412, -0.025279168, -0.0287415199, 0.030297989, -0.0313622616, -0.0525744297, -0.0576882772, 0.0030912091, 0.0018706078, -0.0651188046, 0.0181650911, -0.027835682, 2.056741114e-34, 0.0199933145, -0.010753219, -0.0563211441, 0.0617997088, 0.0382114276, -0.01098614, -0.0772526786, -0.0105358735, 0.0293967761, -0.0431245081, -0.0376466475 ]
http://arxiv.org/abs/2407.00617v1
http://arxiv.org/pdf/2407.00617v1
Iterative Nash Policy Optimization: Aligning LLMs with General Preferences via No-Regret Learning
2024-06-30T08:00:34
2024-06-30T08:00:34
Yuheng Zhang, Dian Yu, Baolin Peng, Linfeng Song, Ye Tian, Mingyue Huo, Nan Jiang, Haitao Mi, Dong Yu
cs.LG
cs.LG, cs.AI, cs.CL, cs.GT
Reinforcement Learning with Human Feedback (RLHF) has achieved great success in aligning large language models (LLMs) with human preferences. Prevalent RLHF approaches are reward-based, following the Bradley-Terry (BT) model assumption, which may not fully capture the complexity of human preferences. In this paper, we explore RLHF under a general preference framework and approach it from a game-theoretic perspective. Specifically, we formulate the problem as a two-player game and propose a novel algorithm, iterative Nash policy optimization (INPO). The key idea is to let the policy play against itself via no-regret learning, thereby approximating the Nash policy. Unlike previous methods, INPO bypasses the need for estimating the expected win rate for individual responses, which typically incurs high computational or annotation costs. Instead, we introduce a new loss objective that is directly minimized over a preference dataset. We provide theoretical analysis for our approach and demonstrate its effectiveness through experiments on various representative benchmarks. With an LLaMA-3-8B-based SFT model, INPO achieves a 41.5% length-controlled win rate on AlpacaEval 2.0 and a 38.3% win rate on Arena-Hard, showing substantial improvement over the state-of-the-art iterative algorithm [Dong et al., 2024] under the BT model assumption. Additionally, our ablation study highlights the benefits of incorporating KL regularization for response length control.
Iterative Nash Policy Optimization: Aligning LLMs with General Preferences via No-Regret Learning: Reinforcement Learning with Human Feedback (RLHF) has achieved great success in aligning large language models (LLMs) with human preferences. Prevalent RLHF approaches are reward-based, following the Bradley-Terry (BT) model assumption, which may not fully capture the complexity of human preferences. In this paper, we explore RLHF under a general preference framework and approach it from a game-theoretic perspective. Specifically, we formulate the problem as a two-player game and propose a novel algorithm, iterative Nash policy optimization (INPO). The key idea is to let the policy play against itself via no-regret learning, thereby approximating the Nash policy. Unlike previous methods, INPO bypasses the need for estimating the expected win rate for individual responses, which typically incurs high computational or annotation costs. Instead, we introduce a new loss objective that is directly minimized over a preference dataset. We provide theoretical analysis for our approach and demonstrate its effectiveness through experiments on various representative benchmarks. With an LLaMA-3-8B-based SFT model, INPO achieves a 41.5% length-controlled win rate on AlpacaEval 2.0 and a 38.3% win rate on Arena-Hard, showing substantial improvement over the state-of-the-art iterative algorithm [Dong et al., 2024] under the BT model assumption. Additionally, our ablation study highlights the benefits of incorporating KL regularization for response length control.
[ 0.0457650945, 0.058735542, -0.0213546883, 0.0487398319, -0.0381807238, -0.0076944199, -0.0632926524, 0.0138561307, -0.0278610121, 0.0074593839, -0.034305755, -0.0854451358, 0.0028544876, 0.0047915517, 0.0263564344, -0.0329117179, -0.0037866156, -0.0476280823, 0.0470073968, -0.0274800733, 0.0185320117, -0.035078004, 0.0057506962, 0.0488636754, 0.0222238526, 0.0395994969, -0.0406018905, -0.0192906093, 0.0012079474, -0.0578131191, 0.0297290385, 0.0126200039, 0.0256115757, 0.0182781406, 0.0000023687, -0.0611078143, -0.0271843188, -0.03052832, 0.0208462272, 0.0131117841, 0.0603348501, 0.0327138714, -0.0079374602, 0.0232760869, -0.0177845154, 0.0371353403, 0.0801346302, 0.0055852467, 0.0397445448, 0.0502667166, 0.0138915414, -0.0258661564, -0.0175127052, -0.0492541939, 0.0090255141, -0.0576965585, 0.0223651454, -0.0293443017, 0.0064310213, -0.0338101611, -0.0306130406, 0.009292976, -0.0240908042, 0.0393002145, -0.0007540171, 0.0250145048, 0.013381632, 0.021433169, 0.0072771516, 0.0621298105, -0.0261025652, -0.0327389799, 0.0281493831, -0.0155370804, 0.0100784963, -0.0513484441, -0.0224969834, -0.0162270796, 0.0337898694, 0.0450021662, 0.0304195285, -0.0050164238, 0.0166553501, 0.001471723, -0.0246260855, 0.0617675968, -0.0104328431, -0.0577629544, 0.0162820183, 0.0037435659, -0.0100269662, -0.0471400917, -0.0234615263, 0.0362449624, -0.1006458104, 0.026073087, -0.0169489123, 0.0132773519, 0.0243880115, -0.0638282597, 0.0612319037, 0.0232017208, 0.0127534019, 0.0321011804, -0.0054547465, 0.049960915, 0.0027290836, 0.0174266081, -0.0310566183, 0.0297099836, -0.0086071454, -0.0054476806, -0.0059646098, 0.0300295781, -0.0054998221, 0.000996855, -0.037862435, -0.0211232267, -0.0319313295, 0.0670893192, -0.0085655181, 0.0273292493, -0.0187471099, -0.0235491581, -0.0831176043, 0.0429926738, -0.0313349143, 0.0110877743, 0.0108674858, -0.0084918253, 0.0078741843, -0.0094059631, -0.021815449, -0.0362684019, 0.0440340191, 0.1108955368, -0.0369538367, -0.0262888595, 0.0110263964, 0.0158837195, -0.0279904008, -0.0785550401, -0.022071369, -0.0826741904, 0.0279797446, -0.0520365126, -0.0130249802, -0.0791282058, 0.0103820125, -0.0124448584, -0.0444304943, 0.0688070133, 0.042589061, 0.0017614346, 0.0129154846, -0.0311574284, 0.0107481061, 0.0749015361, 0.0590001643, 0.044381056, 0.0110897589, 0.0155439842, -0.0107962219, 0.0625086725, 0.0390183069, 0.0408619754, -0.0321323052, -0.007178627, 0.0208588131, 0.0908301547, 0.0518204831, 0.0369434915, -0.0232893489, -0.0435228385, 0.0681510568, 0.0307566132, 0.0022049302, 0.0310592763, 0.0176522061, 0.0331622623, -0.0039253356, 0.0019596168, -0.0239039622, 0.0274519678, -0.019651765, 0.0168283284, 0.0320915878, 0.0127104037, -0.0014029857, -0.063832961, 0.0115909725, -0.0180547796, 0.0169234388, 0.0429928638, 0.0610480942, -0.0396929272, -0.0780634433, -0.0169788525, 0.0419218875, 0.002391441, -0.0139737008, -0.0465268828, 0.0382350571, 0.0580421723, 0.030616127, -0.0417742431, -0.0244109537, -0.0337688141, -0.0984994024, 0.0542749316, 0.0437231213, -0.0248444453, -0.0087810792, -0.0451179966, -0.0413299203, 0.0302807502, 0.0177387297, 0.0761503652, -0.0082291411, -0.0089276396, -0.0194444321, 0.0327015482, -0.019297976, 0.0134069668, 0.0072558192, -0.0826818198, 0.0140847228, 0.0078577958, 0.0726379082, -0.014499859, -0.0102213882, 0.0075197201, 0.0207819398, 0.0036270234, -0.0356116407, -0.0301937722, -0.0233266782, -0.0094303861, 0.0699514821, 0.011259052, 0.0108838966, 0.037558414, -0.0226303488, -0.0241234191, 0.0099910274, -0.0345204473, 0.0548164956, 0.0068338471, 0.012890053, -0.0277096611, -0.0426494591, -0.0863120556, 0.0309768338, -0.0204328578, 0.0069474638, -0.0078226188, -0.0816085786, 0.0080697257, -0.0913305655, -0.0344713517, 0.0519781783, 0.0048115854, 0.0226556975, 0.0584955253, 0.0484050736, -0.0103237005, -0.0125322323, -0.0299457479, -0.0124416202, -0.0170489829, -0.0030752425, -0.0060471175, -0.0229819641, -0.022414716, -0.0255554765, -0.04097078, -0.0204346832, 0.0039351447, 0.0082342122, 0.0245935898, 0.0309220497, -0.0270370748, -0.0766614079, -0.0301363636, 0.0144224772, -0.0150282038, -0.0602685213, -0.0032909038, -0.0256180298, 0.0207697041, -0.0490775518, 0.0392147191, -0.0322781503, -0.0434164479, 0.0148842847, -0.0556390099, 0.0107893869, 0.0459693708, 0.0047509274, 0.009927175, 0.0737190992, 0.0059936661, -0.0735935494, 0.0260173567, -0.0366023332, -0.0756030679, -0.0719323903, -0.0137921283, 0.0516494475, 0.1076034307, -0.013646475, 0.0065111853, -0.0570125654, -0.0344968289, 0.0095775854, -0.0195054468, -0.0520232692, 0.0168847051, -0.0421588197, 0.0264329519, -0.0084891189, -0.0272244848, 0.0875846967, -0.01272175, 0.0245754737, -0.0640623346, 0.0124899382, -0.0182836801, 0.0333149806, 0.0260954816, 0.0120876012, -0.0043003666, -0.0144262807, -0.0560576469, -0.0622280873, 0.0343386903, -0.0397685207, 0.0508270748, -0.0167065356, 0.0165394042, -0.0034163338, -0.0470486954, -0.0080047082, -0.016008405, -0.057224784, -0.0350295193, 0.0537413098, -0.0256907046, -0.0052756364, -0.0273005534, 0.0382490009, 0.0191088896, -0.0019834726, -0.0055139782, -0.0099819358, 0.0231279191, 0.0860477537, 0.0449440628, 0.0050416831, 0.0133027341, -0.008426643, 0.0240747835, 0.0652260929, -0.0115486905, 0.0099181673, 0.0081991283, 0.0495284796, -0.0464540236, -0.0278581679, 0.0589770563, 0.0167372115, -0.049344711, 0.0098500885, 0.0691665709, 0.0363645852, -0.0309590641, 0.0210539475, -0.0168759339, 0.1056122333, 0.0021995497, 0.042880293, -0.064632304, -0.027782796, 0.0132891135, 0.0280552488, -0.0007682415, -0.0305833016, 0.0065377243, -0.1266522408, -0.0440372527, 0.0060720947, -0.0576159358, -0.000769018, -0.0223623533, -0.005445749, -0.0601268448, -0.0090300813, 0.0365499929, 0.0143057071, 0.001707204, 0.0212359596, 0.0191999562, 0.0025419376, -0.0033005781, -0.0177067723, 0.0781170055, 0.0832597017, 0.0477203056, -0.0041860235, -0.0023313866, 0.030594632, 0.0466886684, -0.0301545952, -0.0222903583, 0.0044566272, 0.0013902377, -0.0079311384, 0.0150353322, 0.0368987285, 0.0285935588, 0.0221807975, 0.0309965145, 0.05254649, 0.0294380467, 0.0025128783, 0.0315069929, -0.0124899736, 0.0243536923, 0.0427342542, -0.0034396076, -0.0556227341, -0.0471057929, -0.0486070327, -0.0328076482, -0.0590219647, -0.0504896455, -0.0533260517, 0.0249657147, 0.0526000932, -0.0572415814, -0.0390304625, -0.0152226081, 0.0158886891, -0.010291988, 0.0164666921, -0.0029653183, 0.0119282892, -0.0057064621, -0.0119711645, -0.0526868068, 0.0211378038, -0.0510038473, -0.0203712042, -0.0079060467, -0.0555433966, -0.0275958609, 0.0109660598, 0.0045887092, -0.0567557514, -0.0173773021, 0.0801325142, 0.0168473385, 0.0456726514, 0.0162740294, -0.0581896678, 0.0588482432, 0.0138660194, 0.0053840028, -0.001637485, 0.0400736555, 0.0233008806, 0.0010551651, 0.0334762111, -0.0105238603, -0.0384217873, 0.030252073, 0.0812350661, 0.0213270802, -0.0118141416, 0.0369704813, 0.0009886869, 0.0021468403, -0.0421740934, -0.0237887185, 0.002691183, 0.019866664, -0.0074074152, -0.0134882377, -0.017513182, -0.0254945625, 0.0133823333, -0.0164303463, 0.0170848276, -0.0614160374, -0.0074664732, 0.0052518821, 0.004320906, 0.001471354, 0.0629263446, 0.0075918715, 0.0475681387, 0.0266020913, 0.0242364556, 0.0263755582, 0.0293245856, 0.0425458476, 0.0233283304, 0.0041593937, 0.0318173468, -0.017322408, -0.0091409478, -0.0021520359, 0.0094673708, -0.0278567486, -0.0208673347, 0.0250119902, 0.0904879794, -0.0153846312, 0.0279661119, -0.0323531516, 0.0031589852, -0.0020515264, -0.0247367825, -0.0560906157, -0.0277445316, 0.0119101424, 0.0340855457, -0.0176054165, 0.0151277222, 0.096795328, 0.0782951489, 0.0393050276, -0.0322496854, 0.0078492155, -0.0365872122, -0.0058755325, 0.0087256366, 0.0772566199, -0.0597813986, -0.0303421393, -0.0338650867, -0.0479893051, -0.0372403972, 0.0602713935, 0.0027503571, -0.0139741693, 0.0550027154, 0.0186497699, -0.0354640372, 0.0061582667, -0.0598994493, -0.0042254515, -0.0216626935, -0.0422223583, -0.0397861153, -6.653234843e-33, -0.0295380056, -0.0087150745, 0.0498478785, -0.0094494019, -0.0314899758, -0.0352828428, -0.007451436, 0.0318043791, 0.0023884224, 0.0004728588, -0.0346537791, -0.0426152162, 0.0038219679, 0.0130130099, 0.0370145924, -0.0365905873, 0.0228689294, -0.0009861853, -0.048767563, 0.0054243682, -0.0010444038, -0.0074313409, 0.029778162, -0.0173179191, 0.0179616157, 0.0444076844, -0.0296886619, 0.0209697336, -0.0200238824, 0.0633524582, -0.0116237588, 0.0298820976, -0.0102103772, -0.0690931305, -0.002387037, -0.0126982862, -0.0582026057, -0.0263088699, -0.0044134944, -0.009711897, 0.0300427433, -0.0259156339, 0.0190430712, 0.0232180785, -0.0549184531, -0.0039763022, 0.0253863633, -0.0156873316, -0.0384648778, 0.0003009505, -0.0365167446, 0.0056062606, -0.014876741, -0.009551784, 0.0269524585, 0.0164879579, -0.0194881465, 0.0214656219, -0.0350441858, 0.0457401313, 0.0213288926, 0.0420920923, 0.0451382399, 0.0319002606, 0.0332109332, 0.0118505601, -0.0059008528, -0.0101660294, 0.0054215607, -0.0266799908, 0.0270189941, 0.0084643308, 0.023596637, 0.0195451267, 0.0338144079, -0.0045601237, -0.0298832152, 0.04003378, 0.0236697644, 0.0596542582, 0.0128698098, 0.0548200198, -0.0606130175, -0.0091284765, -0.0534004606, -0.0368518271, -0.0109624146, -0.0513459854, 0.002872997, 0.0189940855, 0.0144764828, 0.0022098075, 0.0280354246, -0.0158043411, -0.0353159867, 0.0077242795, -0.0356606245, 0.0362516418, -0.0040804921, -0.0107167596, -0.0656588748, -0.0196796041, -0.0347554535, -0.0134383393, -0.0128525468, 0.0142989187, 0.0092670675, 0.0320164524, -0.0548422262, 0.019905176, -0.0179799777, -0.0105612259, 0.0079598958, -0.0096267341, 0.0416851938, -0.0336766206, 0.0143505121, 0.0355618149, 0.0069023087, -0.0448664948, -0.0074752681, -0.0324611031, -0.0323730893, 0.0177322812, -0.0159141067, 0.029956473, -0.0456170477, 0.0264330246, -0.0218190644, -0.0245062765, -0.0150435055, -0.0585772619, 3.029e-7, -0.024700325, 0.0705911145, 0.0041722185, -0.005581676, -0.0323910229, 0.0761178136, -0.0257961247, 0.0069201807, 0.0096250949, 0.0168466885, 0.0647241399, 0.017231511, 0.0208695158, -0.0043541426, -0.0688052252, -0.0177678335, -0.0800567418, 0.0096063279, -0.0397250205, -0.0389902145, 0.0297943261, 0.0713659301, 0.0469767973, -0.0330441408, 0.0094970297, 0.0234965235, 0.0433215648, -0.0416558906, -0.0090056444, 0.0144880014, 0.0108251842, -0.0349682085, -0.0268393885, -0.0499461628, -0.0055010077, 0.0377890058, -0.0124800829, 0.0618798435, 0.0130121484, -0.0502434038, -0.001351335, 0.0284160953, -0.0040873047, -0.0531418324, 0.0605534315, -0.0093305307, -0.0199936889, -0.0055187587, 0.0244474467, -0.0289771911, 0.0317734256, -0.0481667668, -0.0335465074, 0.0000451507, 0.0069785928, 0.035900414, 0.0308790673, -0.0363428295, -0.0019637486, 0.0718955696, -0.0281712916, 0.0052807126, -0.0506938025, 0.0442739986, -0.0173655059, -0.0669086128, -0.0076623922, 2.642477322e-34, 0.013941776, -0.0318282284, 0.0170393717, -0.007548871, 0.0163404848, 0.0187844839, 0.0039273277, 0.0517944619, 0.084914647, -0.0427398607, -0.010829377 ]
http://arxiv.org/abs/2407.00608v1
http://arxiv.org/pdf/2407.00608v1
Efficient Personalized Text-to-image Generation by Leveraging Textual Subspace
2024-06-30T06:41:21
2024-06-30T06:41:21
Shian Du, Xiaotian Cheng, Qi Qian, Henglu Wei, Yi Xu, Xiangyang Ji
cs.AI
cs.AI, cs.CL, cs.CV
Personalized text-to-image generation has attracted unprecedented attention in the recent few years due to its unique capability of generating highly-personalized images via using the input concept dataset and novel textual prompt. However, previous methods solely focus on the performance of the reconstruction task, degrading its ability to combine with different textual prompt. Besides, optimizing in the high-dimensional embedding space usually leads to unnecessary time-consuming training process and slow convergence. To address these issues, we propose an efficient method to explore the target embedding in a textual subspace, drawing inspiration from the self-expressiveness property. Additionally, we propose an efficient selection strategy for determining the basis vectors of the textual subspace. The experimental evaluations demonstrate that the learned embedding can not only faithfully reconstruct input image, but also significantly improves its alignment with novel input textual prompt. Furthermore, we observe that optimizing in the textual subspace leads to an significant improvement of the robustness to the initial word, relaxing the constraint that requires users to input the most relevant initial word. Our method opens the door to more efficient representation learning for personalized text-to-image generation.
Efficient Personalized Text-to-image Generation by Leveraging Textual Subspace: Personalized text-to-image generation has attracted unprecedented attention in the recent few years due to its unique capability of generating highly-personalized images via using the input concept dataset and novel textual prompt. However, previous methods solely focus on the performance of the reconstruction task, degrading its ability to combine with different textual prompt. Besides, optimizing in the high-dimensional embedding space usually leads to unnecessary time-consuming training process and slow convergence. To address these issues, we propose an efficient method to explore the target embedding in a textual subspace, drawing inspiration from the self-expressiveness property. Additionally, we propose an efficient selection strategy for determining the basis vectors of the textual subspace. The experimental evaluations demonstrate that the learned embedding can not only faithfully reconstruct input image, but also significantly improves its alignment with novel input textual prompt. Furthermore, we observe that optimizing in the textual subspace leads to an significant improvement of the robustness to the initial word, relaxing the constraint that requires users to input the most relevant initial word. Our method opens the door to more efficient representation learning for personalized text-to-image generation.
[ 0.0165975243, 0.0506762452, 0.0188895538, 0.0436721854, 0.0016736948, -0.0156510994, 0.0286403, 0.0067017335, -0.0189325884, -0.007061901, -0.0294770207, -0.0015511663, -0.0049390271, 0.0349535458, 0.0558372252, -0.0818583071, -0.0278793294, 0.00576984, -0.050922025, -0.0280182436, 0.0135579975, 0.0064750942, 0.0052847164, 0.0237368401, -0.0602033399, -0.0181517377, -0.0088734208, 0.0272990968, 0.0289339833, -0.0261131898, -0.0340641476, 0.0436198004, 0.0613916032, 0.0084347427, 0.0000021616, 0.0012059453, -0.0171748493, -0.0060702558, 0.0091527849, 0.0061460077, 0.0802082494, -0.0082231201, -0.0110000325, -0.0244305376, -0.0206105281, 0.0109999701, 0.0672058389, 0.0870052353, 0.0880171657, 0.0449687205, -0.0172701199, -0.0065122354, -0.0504443683, -0.0567105822, 0.0422980785, 0.0054015173, -0.0179743208, -0.0516529158, -0.0281514041, 0.0432855487, -0.0302955993, 0.0333327428, 0.0174354073, -0.0219491869, 0.0735320076, 0.0600383617, 0.0298680179, -0.0025878749, -0.0099319275, 0.0824133307, 0.0009884589, 0.017807208, -0.0277889259, -0.0185771529, 0.0136765335, 0.0020187392, -0.0148483217, -0.0149241332, 0.020288825, 0.0142241502, -0.0661262348, 0.0650631934, -0.0111124869, -0.0005705107, -0.0165505484, -0.0103712352, 0.0281614345, -0.0045674662, -0.0585387424, 0.0170788001, -0.0602480806, -0.0020695878, 0.0282879304, 0.0019491464, 0.0117677841, 0.0055302456, -0.0721875355, -0.0488281623, -0.0177769698, 0.0085927481, 0.0939609706, 0.011487551, 0.0104955509, 0.0195529219, -0.0211410392, 0.0363134332, -0.0211547259, 0.0227846112, -0.0586498156, 0.0187770948, -0.0338816009, -0.013018813, -0.0435694754, 0.0170122795, -0.0031025705, -0.0375463404, -0.0498998724, 0.0452533066, -0.0186634641, 0.0356044918, -0.0326128639, 0.0747275949, -0.0845540538, 0.0034009786, -0.0375049897, -0.0382992812, -0.0438682511, -0.0083651766, -0.0007014925, 0.0248830039, 0.0044390671, 0.0292042196, 0.0527360141, -0.0130968187, -0.01710332, 0.0479319915, -0.0546536781, -0.0401412733, -0.0096346829, -0.0298076142, -0.0548796579, -0.0278108772, 0.0239926446, -0.0170829538, 0.0514927022, -0.0400641784, -0.022834152, -0.0629371107, -0.0075414423, -0.0012088707, 0.0225873441, 0.0848205611, -0.0111456597, -0.0314903259, 0.0425716937, 0.0214642473, -0.0182693619, 0.0110321799, 0.0184533708, 0.1073142663, 0.0205159541, -0.010866629, -0.01643176, 0.0044128047, 0.0257461835, -0.0036870628, -0.0318302475, 0.0028449025, 0.0004263849, 0.056686718, 0.0394198038, 0.032282494, -0.0280814525, -0.0137241269, 0.0749076083, 0.0512044802, 0.0233201478, 0.0581000485, 0.0256600417, 0.0588714443, -0.0234396812, 0.0061642621, -0.0080527924, 0.0679500848, 0.0266785063, 0.0055133696, 0.0352596417, 0.0291218851, -0.0442933813, -0.0283453688, 0.0360429473, -0.0216631312, -0.0083703557, -0.0363606699, 0.0190250017, 0.0310379528, -0.0564081594, 0.02137837, -0.0063102073, -0.0720178112, 0.0120468009, 0.0007347423, 0.0543116778, 0.075480409, 0.0220128316, -0.0088803414, 0.0281874165, 0.0053676455, -0.0038611512, 0.0680028424, -0.0210359078, 0.0026861439, 0.0278019123, -0.0527090617, -0.0388950184, -0.0295489356, -0.027816955, 0.0348307006, 0.0009940873, 0.016581716, 0.0220669694, 0.0084993858, 0.0082979035, 0.0494264029, 0.0299178399, -0.05383211, 0.0466326214, 0.0658268407, -0.0049799355, -0.0118298363, -0.0068595354, 0.0052450392, 0.027909575, -0.0564240292, -0.0353035815, 0.005692123, -0.0541842729, -0.0454672761, -0.0276448149, -0.0730233043, -0.0186107531, 0.0090139089, -0.0094107362, -0.0496079512, 0.005968241, -0.0510124043, -0.0162670091, -0.0536504798, -0.0307541881, 0.0245416723, 0.0195679236, -0.0270919558, 0.0303427279, -0.0276593808, -0.0211106334, 0.0211887863, 0.0489601754, -0.0117666572, -0.0290264059, -0.0427360237, -0.0470466986, 0.0153139848, 0.0296041444, 0.0141093135, 0.0158367679, -0.0213291161, -0.0444361269, -0.0315946043, -0.024648929, 0.0076917247, -0.0396852568, -0.0026432408, 0.0049086567, 0.0354805626, -0.0380537808, -0.0452925637, 0.0158491135, -0.0134082371, 0.0006692362, 0.0715884119, 0.0143357869, 0.0340581462, -0.0311053917, 0.0101464083, 0.0404836982, 0.0611503795, 0.0200858563, 0.0290484969, -0.0430216789, -0.0023576582, -0.0140092475, 0.0134989079, -0.0076101432, -0.0459076688, 0.0196437221, -0.0122537203, 0.0279765241, 0.0647003427, 0.0374014191, 0.0307816733, 0.0184712075, 0.0293815136, -0.0265096445, -0.0039497046, -0.0364802033, 0.0318668671, 0.0663610399, -0.0072566038, 0.0394280888, 0.0208626669, 0.0151004661, 0.0056557846, -0.0830830559, 0.028512042, 0.0186775792, -0.0338230841, -0.085022904, 0.0395572223, -0.0117653012, -0.0068452759, -0.0360555314, -0.0824456289, 0.0412760712, -0.0361740179, 0.0029920775, 0.0294080526, 0.0128122596, 0.0032228469, 0.0330587551, 0.0122692222, 0.0544614717, 0.0175999869, 0.0266184863, -0.0448156148, 0.0332935676, 0.0261198562, 0.0082753273, 0.0360791124, 0.028420439, 0.0003030151, -0.0064041996, -0.063306354, -0.0518367626, -0.0594141074, 0.0685621053, -0.0712284669, 0.0176273286, -0.0205465369, -0.0157438051, -0.0251204446, 0.0065646195, -0.0035997548, -0.0246998053, -0.0384774208, -0.0322600231, 0.0449307971, 0.0247956645, 0.0113293091, -0.0470887013, 0.0050416226, 0.0087641869, 0.06037727, 0.0031678833, -0.0005079762, -0.0266379137, 0.0293324683, -0.0101754237, 0.0387758575, 0.0049996148, 0.0383471064, 0.0249186531, -0.0069942451, -0.0364653915, 0.0641269609, 0.0163237918, -0.0207534973, -0.0281392112, 0.0316006802, 0.039459344, 0.0086616687, 0.0415301472, -0.0549808815, -0.0261853039, -0.0385436304, 0.0153827956, 0.0057040802, 0.0098432042, -0.0474439412, -0.0715837628, 0.0385725871, 0.0216415245, -0.0235031936, -0.0281539261, 0.0005098457, -0.0009806436, 0.0143190781, -0.0263233017, 0.0183424763, 0.0046706805, 0.0179013424, -0.012538421, -0.0022181096, -0.0114139402, -0.0182344858, -0.0215828791, -0.0071306895, 0.0443490222, 0.0567251444, 0.0340525843, -0.049636215, -0.0573523082, 0.0362745561, 0.0021859407, 0.0135762077, 0.0961242467, -0.0047144513, -0.0138289286, -0.0260576438, 0.0536342338, -0.0106159933, -0.0004396502, 0.0016950709, 0.050439842, 0.0031814482, 0.0446154103, -0.0424322672, 0.0132109961, 0.0300927069, 0.0272345282, 0.0183170587, -0.0810003877, -0.0282113701, -0.0234558545, 0.0351236872, -0.0665481612, -0.04306015, 0.0353376828, -0.0010951556, -0.0321421139, -0.0828444883, -0.0065542595, 0.0374918915, 0.0733846724, -0.0094585698, -0.0177934095, -0.0458723381, -0.0219817255, -0.0425745919, 0.0117576597, -0.0446849167, -0.0033877494, -0.0440322906, -0.0025843314, 0.0143785756, -0.0631057993, -0.0028194829, 0.0114314342, -0.0401623175, -0.0156621151, -0.030812446, 0.0560276844, -0.0020959261, 0.0388210118, 0.0123254908, -0.027922662, 0.0928873941, 0.0244636498, -0.0045018275, -0.0169831458, 0.0092827007, 0.0438357294, -0.0158657003, 0.029666258, -0.0069088871, 0.0267481189, -0.0002930697, -0.0335267335, 0.0241497885, -0.0435641669, 0.0167363416, -0.0213804394, 0.0011223716, -0.0604771115, -0.0058652968, -0.0314703919, -0.0105169881, -0.0253588315, -0.0275839008, -0.0557997152, -0.0313146859, -0.0002235291, -0.0085371751, -0.0021092286, -0.057229206, 0.0025707879, 0.0582126305, -0.0458231792, -0.0345008634, 0.0192282405, 0.0151474178, 0.0083258627, 0.0377841294, -0.0076702931, 0.0339117683, -0.0345033407, -0.0008949359, -0.0131638804, 0.0395763144, 0.0010067029, -0.0050409716, -0.0569833666, 0.0431100242, -0.0288406499, 0.0299505275, -0.0617535114, 0.0175965019, 0.025327323, 0.010709675, 0.0220536552, -0.0086802589, -0.015450458, 0.0001253363, 0.0540216155, 0.0013735958, -0.0566257946, 0.0511521585, -0.0217657983, 0.0094785839, -0.0325895622, 0.0453298762, -0.0113330837, -0.0091678649, -0.0080306483, 0.0072641559, -0.0754828379, 0.0163406711, 0.0303538144, 0.0178875327, 0.0123462845, 0.0232660696, -0.01047072, -0.0349087343, 0.0680940524, 0.0221900064, -0.0375283919, 0.0270885006, 0.0632164106, 0.0153442193, -0.0061746589, 0.0086560398, 0.0046478985, 0.0234732535, 0.0043750713, -0.029566912, -0.0054767253, -6.019651469e-33, -0.0398722813, -0.0609060079, -0.01501974, -0.0358994789, 0.0014427903, -0.002847376, -0.0139020253, 0.0261908881, 0.0520433933, 0.0023261658, -0.0229701828, -0.0627444983, 0.0016749377, 0.0713970736, -0.0278532449, 0.0453488342, 0.0423926152, -0.0049032145, -0.0320595875, 0.0458899811, 0.0673747957, 0.0273343194, 0.0079126069, -0.0589087307, -0.0104711717, -0.018153429, -0.0275723208, -0.0312215649, 0.0450591184, 0.0287715439, -0.032381285, 0.017563818, -0.0060246885, -0.036763005, -0.0112238219, 0.028014442, -0.0400585756, -0.0492433347, -0.0622905865, -0.0093524633, -0.0979132056, -0.0547284111, 0.0238878354, -0.0577243529, -0.0073362119, -0.0326483287, 0.0393877476, -0.0092661157, -0.0073453877, 0.0219979323, -0.0715516284, -0.0100860847, -0.0289703682, -0.0387976393, 0.0272623096, -0.0041668778, 0.0352850594, 0.0083646681, -0.0757648274, 0.034160208, 0.0016177174, 0.0097344127, 0.0271413866, 0.0235566255, -0.0028460508, 0.0397220217, 0.0338384882, -0.0346844904, -0.0031496019, -0.0095165148, -0.0052293069, 0.0604659468, 0.0617457367, 0.1094444543, 0.0247073453, -0.0328473784, -0.0089548398, 0.0869404003, -0.003700352, -0.0445716716, 0.057232786, 0.0145949014, -0.0071454835, -0.0123358909, -0.0247375239, -0.0454552881, -0.0227536112, -0.0343796872, 0.0258478317, 0.0396529436, -0.0521049239, -0.0424767695, 0.0434160382, 0.0088955695, -0.006140769, -0.018228244, -0.0655431002, 0.0474149771, -0.0042729159, -0.0023869511, -0.0187477358, -0.0366190039, 0.0744524896, -0.0125955977, -0.0119644208, 0.0090230806, 0.0228106547, 0.0177684426, -0.0458402634, -0.0034407938, -0.0455931164, 0.0117077501, 0.0035859931, -0.0054012006, 0.0240511335, -0.0344877541, -0.0560630746, 0.0249781162, -0.0088314526, 0.0217489153, -0.0116097387, -0.0592454486, 0.0132342894, -0.0132226609, -0.0081575662, 0.0497873463, -0.023972407, 0.0112043843, 0.0465932153, -0.0635058954, -0.0025244202, -0.0230217278, 2.749e-7, 0.0071606664, 0.0039133579, 0.021880459, -0.0124452421, -0.0004048683, 0.0760150254, -0.0273621622, 0.0568571649, -0.0238176864, -0.0042481204, 0.024029009, 0.0316042639, 0.0421170592, -0.0152297467, -0.0337606445, 0.0369860306, -0.0417420529, 0.0605284534, -0.0056887656, 0.0030406353, 0.0666978508, 0.0843392462, 0.008724899, -0.0200849045, 0.0442080237, 0.0079751387, 0.1128598154, -0.0552441217, 0.0059851836, -0.0303318501, 0.0048799822, -0.0008689761, -0.0427859426, -0.0388331451, -0.019448353, 0.0099935299, 0.0451023094, 0.0479438193, -0.0072581088, -0.0165140796, 0.0175783187, 0.0496946909, 0.0060024471, -0.006054949, 0.0651290566, -0.0827537104, -0.0526998341, -0.0191178489, 0.0153178647, 0.0258994605, 0.0579941086, -0.0463211462, -0.0593385138, 0.0104512461, 0.0541626476, 0.0039083678, 0.0025889566, -0.0743153766, -0.0156356506, -0.0382492021, -0.0700197816, 0.0427431278, -0.0840385631, 0.0124557195, 0.0526323691, -0.0350641347, 0.0063069281, 2.28339594e-34, -0.0429547876, 0.017535314, 0.0182499364, -0.0405864567, 0.018965276, 0.0002345143, 0.0246952809, -0.0151776066, 0.0268260092, -0.0578490198, -0.0366441235 ]
http://arxiv.org/abs/2407.00581v1
http://arxiv.org/pdf/2407.00581v1
MasonTigers at SemEval-2024 Task 10: Emotion Discovery and Flip Reasoning in Conversation with Ensemble of Transformers and Prompting
2024-06-30T03:59:04
2024-06-30T03:59:04
Al Nahian Bin Emran, Amrita Ganguly, Sadiya Sayara Chowdhury Puspo, Nishat Raihan, Dhiman Goswami
cs.CL
cs.CL
In this paper, we present MasonTigers' participation in SemEval-2024 Task 10, a shared task aimed at identifying emotions and understanding the rationale behind their flips within monolingual English and Hindi-English code-mixed dialogues. This task comprises three distinct subtasks - emotion recognition in conversation for Hindi-English code-mixed dialogues, emotion flip reasoning for Hindi-English code-mixed dialogues, and emotion flip reasoning for English dialogues. Our team, MasonTigers, contributed to each subtask, focusing on developing methods for accurate emotion recognition and reasoning. By leveraging our approaches, we attained impressive F1-scores of 0.78 for the first task and 0.79 for both the second and third tasks. This performance not only underscores the effectiveness of our methods across different aspects of the task but also secured us the top rank in the first and third subtasks, and the 2nd rank in the second subtask. Through extensive experimentation and analysis, we provide insights into our system's performance and contributions to each subtask.
MasonTigers at SemEval-2024 Task 10: Emotion Discovery and Flip Reasoning in Conversation with Ensemble of Transformers and Prompting: In this paper, we present MasonTigers' participation in SemEval-2024 Task 10, a shared task aimed at identifying emotions and understanding the rationale behind their flips within monolingual English and Hindi-English code-mixed dialogues. This task comprises three distinct subtasks - emotion recognition in conversation for Hindi-English code-mixed dialogues, emotion flip reasoning for Hindi-English code-mixed dialogues, and emotion flip reasoning for English dialogues. Our team, MasonTigers, contributed to each subtask, focusing on developing methods for accurate emotion recognition and reasoning. By leveraging our approaches, we attained impressive F1-scores of 0.78 for the first task and 0.79 for both the second and third tasks. This performance not only underscores the effectiveness of our methods across different aspects of the task but also secured us the top rank in the first and third subtasks, and the 2nd rank in the second subtask. Through extensive experimentation and analysis, we provide insights into our system's performance and contributions to each subtask.
[ 0.0262133405, 0.0593352988, -0.0153450249, 0.0599774271, -0.0249824803, 0.0433906764, -0.0040822709, -0.0213311054, 0.0355503038, -0.0112439198, -0.0607484281, -0.0052428278, -0.0222752709, 0.0533668026, -0.0290316027, -0.0644170567, 0.028881466, 0.0196878668, 0.0230197497, -0.0080436226, 0.0225000083, 0.0480680615, -0.0819179267, 0.0235954355, -0.0488308258, -0.0078560896, -0.0200994723, 0.0105864089, 0.0576810353, -0.0056832987, 0.0258647855, 0.0450036973, -0.0129466886, 0.0157913156, 0.0000018769, -0.0337294452, -0.0174684413, -0.0280885305, -0.0377701558, -0.0703149736, 0.0439183936, 0.0342505015, -0.0251694079, 0.0120590627, -0.0551914014, 0.0046833823, 0.0558443144, 0.0734288543, 0.086764589, 0.0848065168, -0.0321907811, -0.0105729103, -0.0213946961, -0.0052615353, -0.0228013918, -0.0224474184, -0.0104225138, -0.0080520604, 0.0096678669, -0.0465192199, -0.0401966907, -0.0007806031, 0.0328469239, -0.0353304371, -0.0494664088, 0.0090736356, -0.0422673002, -0.0246861856, -0.0135529675, 0.0574351177, 0.0214941483, 0.0217424482, -0.0017853581, 0.0315421522, -0.026956765, -0.0360867195, -0.0257715955, 0.0144157549, -0.0357108787, 0.0260297954, 0.0031808626, 0.0423049629, -0.0126512507, 0.0242493004, -0.0052565378, 0.0897990838, -0.0262520462, 0.0048710974, 0.01232443, 0.0188091099, 0.0217879135, -0.0206714682, 0.044641342, 0.0317567512, -0.0402872302, 0.0307719111, 0.0101619363, -0.052759584, -0.0308420788, -0.0489970371, -0.0551253706, 0.0439184047, -0.0434636474, 0.0579709597, 0.006465354, 0.0433285125, -0.0150735276, 0.0412941352, -0.0260459613, -0.029156182, -0.0428464152, 0.0104923695, -0.013428377, 0.020373743, -0.05039059, -0.0107532544, -0.0597790889, -0.0143923033, -0.0189264212, -0.0109154591, 0.0349439085, 0.0140654808, 0.0067432397, -0.0147269685, 0.0272759013, 0.0481133722, -0.0545349866, 0.0057495646, 0.0183573179, -0.0913276151, -0.0116636492, 0.0331355408, -0.0231217649, -0.0342711359, -0.0001154673, 0.0326946303, -0.0440092869, -0.0183691084, -0.0323950537, -0.0061708456, -0.0368218981, -0.0851010382, 0.0021095178, -0.0287028961, 0.0473701954, 0.018540578, 0.0178633723, -0.006751522, 0.0344651714, -0.0235719178, 0.0146132112, 0.0773721114, 0.0261439271, -0.0084967529, 0.0013693832, 0.0377526432, -0.0369792096, 0.0601535775, 0.0248961747, 0.0660487637, 0.0346691422, -0.0057742419, 0.0369386189, 0.0105617326, -0.0320137478, -0.023983812, 0.0054312618, -0.0235555414, -0.0230497029, 0.0259032119, 0.0171204936, 0.0458211005, -0.0391264856, -0.0033480278, 0.0383378044, 0.0424443372, -0.0244910102, 0.0344731696, -0.0212337468, -0.018363798, 0.0096922629, -0.0111078722, -0.026106514, 0.0774202123, -0.0164921023, -0.0508919619, -0.0171047505, 0.0139075182, -0.0195869058, -0.0360054672, 0.0031099648, -0.0165447425, 0.0100699514, 0.0060186125, 0.0568363331, 0.0037638221, -0.0270945672, 0.009592264, -0.0026692257, -0.1051285639, -0.0011052547, -0.0620452687, -0.0144757507, 0.0531135313, 0.0274255667, -0.0178474262, -0.056766618, -0.0040112389, -0.0004514918, 0.0450822376, 0.0053776144, -0.0167686511, 0.0346389115, -0.0601790547, 0.0344442055, 0.0202338658, -0.0072533083, -0.0027059794, -0.0065783975, 0.0220654365, -0.012488124, -0.0082837902, 0.0499733016, 0.0163987372, -0.0315189548, 0.0170684364, -0.0029286202, 0.0414450467, 0.0369644053, 0.0079855965, 0.0053490582, -0.02078286, 0.0289310664, -0.024639545, -0.0372223817, 0.0870532542, -0.0296636503, -0.0771349892, 0.031581033, -0.0631346256, -0.0341240019, 0.0597812347, -0.0359387286, -0.0426333919, 0.0479441918, -0.0165465754, 0.0375477374, -0.0553014614, 0.0131870015, 0.0067811762, 0.0245814938, 0.0008589878, 0.0447728857, -0.0024589491, -0.0196243357, -0.0219493937, -0.0269295704, 0.0406288244, -0.0178470183, -0.0352004133, 0.0509953201, 0.003517861, -0.0217140205, -0.0107863182, -0.0162398331, -0.0809092596, -0.0511715673, -0.09160541, 0.010898863, -0.0119812898, 0.012319454, 0.0020401743, 0.0111802407, -0.0265860204, -0.0296963006, -0.031313017, -0.0003306504, 0.0518493876, 0.0043522893, 0.0049538552, -0.0043712324, 0.0126245776, -0.0277908389, 0.0103347329, -0.0570209883, 0.0471956246, -0.004752019, -0.0232284255, -0.0212731473, 0.0033460497, -0.0274292193, 0.0039325305, -0.0356731676, -0.0803550184, 0.0283627119, -0.0114213154, 0.0373007171, 0.0708264485, 0.0237096958, 0.0763484165, -0.0344381779, -0.0141906701, -0.0266999975, 0.0391888097, -0.0117578609, 0.0284777004, -0.0296873786, -0.0245363005, -0.0290469062, 0.0503671132, -0.0305061415, 0.0073759081, -0.056820374, -0.0302272998, 0.0056333588, -0.0230365153, 0.0127445459, -0.0465041846, -0.0114720389, 0.0378298983, -0.0063256067, -0.0376051664, 0.0732406825, -0.0053447643, -0.0618286245, -0.0890013427, 0.0017838788, -0.0439746864, 0.1004577279, -0.0849462301, 0.0142237898, 0.0005431518, -0.0281657036, -0.0352483653, -0.0163811184, 0.001497129, -0.0592974015, 0.0388388149, -0.0182782393, -0.0225536563, 0.0072131264, -0.0491033718, -0.0510008298, -0.0252409372, -0.063402921, -0.0121538211, 0.0377716422, -0.0393434651, -0.0180814266, 0.0174165051, 0.0158420727, -0.0550651588, -0.0204681698, -0.0106517831, 0.0144687174, 0.0016276881, 0.0552033857, 0.014961984, 0.0511028431, -0.0137272729, 0.0579286329, 0.0523628257, 0.0638600811, -0.0195960999, -0.0272247829, 0.0222669914, 0.0258394964, 0.0206288137, 0.0209405832, -0.0500450097, 0.0288092047, -0.0108871749, 0.0107889054, 0.1042860225, 0.0354377665, -0.0773634762, -0.019980384, -0.054488115, 0.0078782737, 0.0222618524, 0.035856124, -0.041963283, -0.032900203, 0.0172513258, 0.0153054819, 0.0138974991, -0.0431219898, -0.0122431172, -0.0985573679, 0.0401798859, -0.006688077, -0.0102123767, -0.0295381323, -0.0068730824, 0.0089984993, -0.0468933769, -0.0011262591, -0.0261613224, 0.0185715556, -0.0083635123, 0.0449730605, 0.0193030741, -0.0001151617, 0.0365088247, -0.0301550943, 0.0300092679, 0.0449428558, 0.0513886698, 0.0165906027, -0.0572931692, -0.0002641334, 0.0010090336, -0.0106151048, -0.0136962011, 0.0677882284, -0.0384582393, -0.0380416363, -0.0394422188, 0.0326462947, -0.0397651196, -0.0146406665, -0.0270075537, 0.0888102725, -0.0401265621, -0.0271614548, -0.0057614613, 0.0339165293, 0.0316389017, 0.0518792011, 0.0316880867, -0.0254309438, -0.0122294575, -0.0135375783, 0.054523956, -0.0239444915, -0.0217742473, 0.0092731919, 0.0500606373, -0.0527401231, -0.0345916748, -0.0499614887, 0.0357319415, 0.0622366741, -0.0308446418, -0.0338815786, -0.0320788659, 0.0339314193, -0.0325259455, 0.016537521, -0.0005427495, 0.0424492247, -0.0508547835, 0.006509691, 0.0215167589, -0.0166911632, -0.0122746732, 0.0049246172, -0.0416657403, -0.0437326767, 0.0490943901, 0.0496521778, 0.026894493, 0.0246375706, -0.012103756, -0.0290033445, -0.0281246733, 0.0325500444, -0.0009239262, -0.0137264654, 0.0626786873, 0.005493422, -0.0323456079, 0.024138622, -0.0149181541, 0.0308870394, -0.0096319346, 0.0439233258, -0.0195383504, -0.0333066434, 0.0192434806, 0.0151751162, 0.0486767292, -0.0099454904, -0.0031445492, -0.0434414744, 0.011670744, 0.0257010404, -0.0114423186, -0.0312613994, -0.0093497764, 0.0057712304, 0.0094932662, -0.0343144089, -0.0169214308, -0.0061797388, -0.0010088319, 0.0472728685, 0.0822053626, 0.0659456104, 0.0167505573, -0.0132214753, 0.0186614916, -0.0041457056, 0.0209844466, 0.0423037969, 0.0477001294, -0.0030444132, 0.0856299996, 0.0448897332, -0.0284459554, 0.0347021483, 0.0380117819, -0.0167366657, 0.0016255577, 0.0090370327, -0.0189018901, 0.0341809355, -0.0057107094, 0.0283114705, -0.0324914902, 0.0384678468, 0.0049905246, 0.0228482615, -0.0169299487, -0.034437228, 0.016503023, 0.0146813337, -0.0015548141, 0.000335054, 0.0233887769, -0.1166895479, 0.0342134498, 0.0353759937, -0.0128167598, -0.0335019641, -0.0263886265, 0.0191089101, -0.0427531227, 0.0277482495, 0.0129994471, -0.0723163858, -0.0577320084, 0.052631408, -0.0326777734, 0.0049180747, -0.030165052, 0.0215258021, 0.0587806106, 0.0132390726, 0.0187173095, -0.0267010983, 0.0062309708, -0.0458901003, -0.0056698741, -0.008118921, -5.646794212e-33, -0.0077406983, -0.0255423374, -0.0204235408, -0.0034891553, -0.0409858301, 0.0007198586, -0.0544010624, 0.0095112715, -0.034243945, 0.0692055002, -0.0340431109, 0.0397874489, 0.0217229463, -0.009763035, 0.0164849646, -0.0477169752, 0.0149675291, 0.0202545077, -0.003780334, 0.0275679976, 0.0563068241, 0.0434999987, 0.0905610695, -0.0549226105, -0.0207001604, -0.0094713429, -0.0509004965, 0.0686508864, -0.00410021, 0.0548903085, -0.0171410087, 0.0208308473, 0.0138150398, -0.0426193886, 0.031689167, 0.0233845562, -0.0274729338, -0.0087009836, -0.0089826118, 0.0546107925, -0.0324476175, -0.0191938952, -0.0198607631, -0.0036420352, 0.0010810596, 0.0005596532, 0.01861329, -0.0042305491, 0.0438797437, -0.0261045769, -0.0189280994, 0.0194615517, -0.0499118082, -0.0513814352, 0.0198582914, 0.0660158172, 0.0092278905, 0.0024157718, -0.0340955853, 0.0343787484, -0.0334087573, -0.0150400568, 0.0469956957, 0.0027387731, -0.0253160466, 0.0670049191, 0.0382952206, -0.0030077375, -0.0396705084, 0.0021093031, 0.0168159362, 0.0537895262, 0.0597410202, 0.0572003238, 0.0059811524, -0.0093508689, -0.0062885801, 0.0219917912, 0.073751308, 0.047535304, 0.0152355144, 0.0050563826, -0.0359270908, -0.0073328023, 0.0050573987, -0.0240628459, -0.0208651442, -0.0500462167, 0.0251931921, -0.0136069274, -0.0088465149, 0.0030292915, 0.0389158428, -0.0508873649, 0.034341272, 0.0437312089, -0.0074137133, 0.0527228452, 0.0014111265, 0.0436269194, -0.0139978807, -0.0091146491, 0.0475886725, 0.0384745747, 0.0597034991, -0.0101904571, 0.040504761, 0.021430755, -0.0323454328, -0.0101792486, -0.0366391353, 0.063646242, -0.0558276512, 0.0229642391, -0.0241056159, 0.0351236686, -0.0376012921, -0.0150011154, 0.0020803437, 0.0615736917, -0.0267844722, 0.0029186644, 0.0020721378, -0.0060532209, -0.0137660895, -0.0107237846, -0.0241126511, -0.046987284, -0.0278472193, -0.0482721291, 0.0004906008, 0.0216302462, 2.693e-7, 0.0156236496, 0.0275728386, 0.048452355, -0.0369962901, -0.0034323593, 0.0219325256, -0.034569107, -0.0249265805, 0.0524063446, -0.0140787195, 0.0200679358, 0.0349467322, 0.0933629423, 0.0481886677, -0.1307428777, -0.0400370695, -0.0623741411, -0.0350238681, -0.0081519289, 0.026089482, 0.0883642957, 0.0637847632, 0.0396301225, 0.0073251496, 0.0035885875, 0.0453560837, 0.0223645549, -0.012738199, 0.038112469, 0.0242755711, -0.0291374698, -0.0631057397, -0.0150981825, -0.0053237369, 0.0196486227, -0.0104376273, 0.0031817197, 0.0269388929, -0.0191446412, -0.0838070363, 0.0013129135, 0.0378994085, -0.0041289809, -0.0372656211, 0.0338742025, -0.0180373564, -0.0425167307, -0.0334298983, -0.0460287221, -0.0126797501, 0.0117176119, 0.006751474, -0.0283014383, 0.0394798294, 0.0059250928, -0.0502898283, -0.0084736897, -0.1025087535, 0.0054669217, -0.0086700022, -0.0409674905, -0.022261234, -0.0140151279, 0.0100610293, 0.0394494124, -0.0144127188, -0.0160906352, 1.892649335e-34, 0.0154675404, 0.0012643232, 0.0041325507, 0.0589850545, 0.0568624735, -0.006887347, -0.03069303, -0.0082444949, 0.0368023179, -0.0415300839, -0.0121901594 ]
http://arxiv.org/abs/2407.00569v1
http://arxiv.org/pdf/2407.00569v1
Investigating and Mitigating the Multimodal Hallucination Snowballing in Large Vision-Language Models
2024-06-30T03:04:11
2024-06-30T03:04:11
Weihong Zhong, Xiaocheng Feng, Liang Zhao, Qiming Li, Lei Huang, Yuxuan Gu, Weitao Ma, Yuan Xu, Bing Qin
cs.CV
cs.CV, cs.AI, cs.CL
Though advanced in understanding visual information with human languages, Large Vision-Language Models (LVLMs) still suffer from multimodal hallucinations. A natural concern is that during multimodal interaction, the generated hallucinations could influence the LVLMs' subsequent generation. Thus, we raise a question: When presented with a query relevant to the previously generated hallucination, will LVLMs be misled and respond incorrectly, even though the ground visual information exists? To answer this, we propose a framework called MMHalSnowball to evaluate LVLMs' behaviors when encountering generated hallucinations, where LVLMs are required to answer specific visual questions within a curated hallucinatory conversation. Crucially, our experiment shows that the performance of open-source LVLMs drops by at least $31\%$, indicating that LVLMs are prone to accept the generated hallucinations and make false claims that they would not have supported without distractions. We term this phenomenon Multimodal Hallucination Snowballing. To mitigate this, we further propose a training-free method called Residual Visual Decoding, where we revise the output distribution of LVLMs with the one derived from the residual visual input, providing models with direct access to the visual information. Experiments show that our method can mitigate more than $24\%$ of the snowballed multimodal hallucination while maintaining capabilities.
Investigating and Mitigating the Multimodal Hallucination Snowballing in Large Vision-Language Models: Though advanced in understanding visual information with human languages, Large Vision-Language Models (LVLMs) still suffer from multimodal hallucinations. A natural concern is that during multimodal interaction, the generated hallucinations could influence the LVLMs' subsequent generation. Thus, we raise a question: When presented with a query relevant to the previously generated hallucination, will LVLMs be misled and respond incorrectly, even though the ground visual information exists? To answer this, we propose a framework called MMHalSnowball to evaluate LVLMs' behaviors when encountering generated hallucinations, where LVLMs are required to answer specific visual questions within a curated hallucinatory conversation. Crucially, our experiment shows that the performance of open-source LVLMs drops by at least $31\%$, indicating that LVLMs are prone to accept the generated hallucinations and make false claims that they would not have supported without distractions. We term this phenomenon Multimodal Hallucination Snowballing. To mitigate this, we further propose a training-free method called Residual Visual Decoding, where we revise the output distribution of LVLMs with the one derived from the residual visual input, providing models with direct access to the visual information. Experiments show that our method can mitigate more than $24\%$ of the snowballed multimodal hallucination while maintaining capabilities.
[ 0.0116151003, 0.0767369047, -0.021216169, 0.0712781399, -0.0306869261, 0.0190589931, -0.0054392619, 0.0106748091, -0.0068968516, -0.0533920377, -0.0448768735, -0.0599536113, 0.0126348846, -0.0014757409, 0.0341073982, -0.0580342151, 0.0265453663, -0.0623174459, -0.0385555588, -0.0122877033, -0.0041493974, -0.0200511813, -0.0157411844, 0.0322056711, -0.0192392934, -0.0404499061, -0.0161390454, 0.0112232482, 0.0059372932, 0.0208897814, -0.0330268331, 0.0457992814, 0.0200173575, 0.0199334901, 0.0000019095, -0.0356217474, 0.0404389016, -0.0214013979, 0.0278343726, 0.0006689437, 0.0128021892, -0.0388477929, 0.0174981728, -0.0112614864, -0.0287946146, -0.0283398144, 0.0655820444, 0.069840394, 0.0566039123, 0.0249048229, -0.0002791047, -0.0273864642, 0.0098447045, 0.0262557622, 0.0566888154, -0.0218907259, 0.0222447291, 0.0483124629, -0.0186076071, -0.0557472557, -0.0719683394, 0.0401852839, 0.0364294909, 0.0096002296, 0.0011265371, 0.0227885917, -0.0495331585, -0.050547339, -0.0208324175, 0.0676658377, -0.0408916175, -0.0283326693, -0.0011283113, 0.0276303589, 0.035512995, -0.0021210297, -0.0434452407, 0.0558411181, -0.0289686359, -0.0090511721, -0.042231556, -0.0175397266, 0.0247358829, -0.0096556051, -0.0339435823, 0.0208059028, 0.0086419443, 0.0126657356, 0.0201153588, -0.0137937246, -0.0006035203, -0.0623614863, -0.0225307606, 0.0064748805, -0.0631403178, -0.0259877071, -0.0440843366, 0.0050725001, -0.001559824, -0.0477643162, 0.0303191394, 0.0056462162, -0.0822026357, 0.0461409315, -0.0130172279, 0.0170531645, -0.0400231555, 0.0656378418, -0.0035891784, -0.0178941581, -0.0211363714, -0.0053750197, -0.0311388709, -0.0167148151, -0.0450598709, -0.0525118634, 0.0157158412, 0.017641088, -0.0458177365, 0.0167756621, -0.0389203578, 0.0316638574, 0.0134340124, -0.0399146602, -0.0137983859, 0.0525994413, 0.0125643024, -0.0122455172, 0.0001194498, -0.1102115586, -0.009854014, 0.0490462855, -0.0242106169, -0.0085727004, -0.0261247773, 0.0653199181, -0.0049311952, -0.0088970587, -0.0191954672, -0.0142585803, -0.0075900354, -0.059254773, 0.0576206855, -0.0389131345, 0.0292540994, -0.0130041055, 0.0115759587, -0.0188168865, 0.0265166834, -0.0057830587, -0.035155803, 0.1061166301, -0.0076336018, 0.0030046029, 0.0101770824, 0.0351404771, -0.007639905, 0.0817119107, 0.002806806, 0.0388937369, -0.0010359517, -0.0402274355, 0.0722353458, 0.0223055184, -0.0075370362, 0.0035630746, -0.0648698807, 0.0008147504, 0.0162400641, 0.0205887165, 0.0376307853, 0.0730615705, -0.0481096171, -0.0800252482, 0.070087634, 0.0079611447, -0.0188625772, -0.0283822455, 0.0400621779, -0.0172706395, -0.0103843426, 0.0360562541, -0.0790731385, 0.0661489367, -0.0219314266, -0.0182376057, 0.0249221846, 0.0108175343, -0.0419218242, -0.0326456763, 0.0063294317, -0.0027385096, 0.0071923248, 0.053189747, 0.0221821591, 0.0214289837, -0.0319547392, 0.0063256565, 0.0103526758, -0.0156922154, 0.0193819962, -0.0495334268, 0.0055231894, 0.0709872767, 0.0502191819, 0.0074242852, 0.0101953372, -0.0358357206, 0.0442323498, 0.0516711138, 0.0409895405, 0.0093219597, 0.0547622554, -0.0430730619, -0.0059140567, -0.0018689879, 0.0270353183, 0.0045353756, -0.0398524478, -0.0479735769, -0.0168118235, -0.0100323185, -0.0021813426, 0.0382070839, 0.0186295994, 0.0021749807, -0.0344370678, -0.0080766603, 0.0131217772, -0.0205373634, -0.0059405253, 0.022344457, 0.0157193467, -0.0417819209, -0.0217462555, 0.0218733922, -0.0220895782, -0.0032041881, 0.0251039378, -0.0352913439, 0.0078387968, -0.0147984866, -0.0026509098, 0.0049355524, 0.0371911414, -0.0256857425, 0.0330124944, -0.0430339389, 0.0013532707, 0.0220547542, 0.0395954549, -0.0058790455, 0.0557812601, -0.0555232465, -0.0117762508, 0.0266440697, -0.0091597233, -0.0103913015, -0.0202408601, -0.0137341795, 0.0233715661, -0.0030319886, 0.0181279089, -0.0319572203, -0.0571688935, -0.0574932322, 0.0033989376, -0.0665621534, -0.0303887613, -0.0340081044, -0.0479354374, 0.0065092891, -0.0123507483, -0.0027199772, -0.0438069962, -0.0111876223, 0.0581999235, 0.0071096872, 0.0420356803, -0.0123040965, 0.0051859813, -0.0120426351, 0.0101402048, 0.0038361955, 0.0166264195, 0.0709238872, -0.0171625167, -0.0523943938, -0.063770704, 0.0130262803, -0.0405590609, 0.0604422092, -0.0221499726, -0.0014251112, 0.010847846, -0.031906195, 0.0401521213, 0.0949279517, 0.0198191628, 0.0373727903, 0.0610825382, -0.0354723185, -0.0198001862, -0.021344671, 0.0115782917, -0.0625805408, -0.0277248397, -0.02452562, -0.0094812522, 0.0418975204, 0.0145051843, 0.0209610034, -0.095899567, 0.0338530093, 0.0050241835, -0.1107762009, -0.021113554, -0.0006009648, -0.0037240097, 0.0493686236, -0.0242683701, -0.0775088966, 0.05429269, -0.0188788865, -0.0209399667, 0.0499984697, 0.0380329117, 0.0254024211, 0.0538606793, 0.0343551859, 0.0248069819, -0.0067619383, -0.0096829841, -0.0611477382, -0.0075331866, -0.0305848252, -0.0281762015, 0.0475231074, -0.0603232197, -0.0081062065, -0.0124621224, 0.0007058266, -0.05289362, 0.0027919454, -0.0114238756, -0.0422626249, -0.0930483118, 0.0184272528, -0.038599208, 0.0099556614, 0.0282628611, -0.0189317465, -0.0179795884, -0.0223527458, -0.0048109083, -0.0062742168, 0.0734017342, 0.0427480042, 0.0192181841, -0.0651152581, 0.0051600519, 0.101125747, 0.0384573974, 0.0403184891, -0.0345354155, 0.0142512387, 0.0143094938, 0.0602286533, 0.0036728764, 0.0449535362, 0.0343176909, -0.0552337319, 0.0016965246, 0.0566239394, 0.0291718431, -0.0672363788, -0.0010311923, -0.0278268382, 0.0558279492, 0.0253211893, -0.0046501444, -0.1019090414, -0.0286152232, -0.0242619384, -0.0256093908, 0.007083586, -0.0117987841, -0.0338169448, -0.0767240301, 0.0553918518, 0.0335998349, 0.0265684221, -0.0265071932, 0.0455918573, -0.0052182213, 0.0139515586, 0.0240401383, 0.0089174472, 0.0076134494, -0.0117611596, -0.0104105305, 0.0081553506, -0.0193785056, 0.0241399091, -0.02820036, 0.0300913341, 0.0652302578, -0.0161201395, 0.0141286841, -0.0909520388, 0.0180790704, -0.0259858724, -0.0014793252, -0.0013065458, 0.0626490042, -0.0204545502, -0.0182733294, 0.0337334424, 0.0222254191, -0.0300628617, -0.0264084935, -0.0084404452, 0.0247223787, -0.0510648079, -0.0407337621, -0.0162299629, 0.0367141105, 0.0054576043, 0.0603413992, 0.0398301594, -0.0467056446, -0.0427310616, -0.0247765221, 0.0226980969, -0.0326407254, -0.0385836996, 0.0513373427, 0.1023935676, -0.0382522047, -0.0598670617, -0.0353559591, 0.0238578133, 0.04205136, -0.0130212912, 0.0055874391, -0.0344190337, -0.0081277564, -0.0328721516, 0.0527779162, -0.0261226967, 0.0100403251, -0.0272955801, 0.0061703511, 0.0060188584, -0.03312077, 0.0211742707, 0.0482787527, -0.0837609023, -0.044834543, 0.005997357, 0.0652504787, 0.0284981839, 0.0696648285, 0.010215261, -0.0559580959, -0.0060654464, 0.0390676931, 0.039507553, 0.0480710268, -0.0036354829, -0.0003580134, 0.0083130402, 0.0422704592, -0.002103864, -0.0045819334, 0.0313994661, 0.0175155234, -0.0076605068, 0.0203808285, 0.0317576937, -0.0149894208, 0.0159701519, -0.0219143312, 0.0264288839, 0.0183155145, -0.0123086581, -0.0040788478, -0.0023496929, -0.054549057, -0.0145713584, 0.0281244274, -0.0052692592, 0.0288878046, -0.0230999738, -0.0044638296, -0.0090309717, -0.0306723751, -0.0500151664, 0.0383333266, -0.0432486571, 0.0233614407, 0.0101865856, -0.0062983013, 0.0179007128, 0.0086154807, 0.0446519777, 0.0257576816, 0.0919421092, 0.0162249506, -0.0232117288, -0.0274046101, 0.0371805318, -0.0217906293, -0.0881659612, 0.0098386128, 0.0279326458, 0.039834477, 0.0419673696, 0.0344245955, -0.0151737714, 0.0166953206, -0.0449028611, 0.0509545356, 0.0431741923, -0.0641313866, 0.0307018794, 0.0239984971, -0.0340037793, -0.0268122554, 0.0485714115, -0.0164934825, 0.0164567865, -0.0248971358, 0.00986466, -0.0362173878, -0.0681290999, -0.0097199138, -0.007842375, -0.0226992555, 0.0254072733, -0.056725096, -0.0498990044, -0.0446114466, 0.0307530742, 0.0266333017, 0.0025433039, 0.0388408229, 0.0540043637, 0.0054329713, -0.0381031409, -0.01072683, -0.0175637417, 0.0558959097, -0.0063031642, 0.0251230691, -6.07248994e-33, -0.0164632145, -0.0132417167, 0.046032507, -0.036231488, -0.0101660471, -0.0281616226, -0.0021265796, 0.0159685127, -0.019315578, -0.0001815551, 0.0311091542, 0.0150849577, 0.0033256896, 0.0301844105, 0.0220883563, -0.0354656056, 0.0185957626, 0.0017038852, -0.0323674269, 0.0041534919, 0.0215032212, 0.0092558051, 0.0260431916, -0.0687461495, 0.0156054031, 0.0148504311, -0.0338099375, 0.0252555273, -0.003698335, 0.0415791981, -0.0625044182, 0.021794254, 0.0306952596, 0.0086012762, -0.046876397, 0.0192681234, -0.018372789, 0.0176831596, 0.0216177646, 0.0470529944, -0.091490604, 0.0267631169, 0.0495562069, -0.01057842, 0.0118845431, -0.0442077518, 0.0138390698, -0.0373071022, -0.0182434712, 0.0660440922, -0.0481100008, -0.0293124337, 0.020563079, -0.021542687, 0.0494383946, 0.0448757485, -0.0193080883, 0.0185223967, -0.0406127237, 0.0329753496, -0.0404331163, -0.0288428422, 0.0924023762, 0.0442777351, 0.0311317332, 0.069694072, 0.0832736492, -0.0254941899, -0.0415894054, -0.0341254808, 0.0218644589, 0.050887078, 0.0100593548, 0.0380212478, 0.0547644794, 0.0150268013, -0.0119141731, -0.0314509012, -0.0698761567, 0.0432779938, 0.0531311147, -0.0019692718, -0.0042901351, -0.0222707093, -0.0098535204, 0.0165900458, -0.0481480621, -0.0134458356, 0.0661648884, 0.0185551867, -0.0145870326, 0.0017744137, 0.0848349035, -0.056872122, 0.0058004819, 0.007290137, -0.004698799, 0.0457148254, 0.0008605007, 0.0050133425, 0.0094012842, 0.0123731932, 0.0463690087, -0.0219723731, 0.0146441143, 0.0227310285, 0.0218136329, 0.0056896075, -0.0496172458, -0.0036189805, -0.0538352244, 0.0334299207, 0.0113160107, 0.0293722693, 0.0574281067, 0.0090657417, -0.0437988229, -0.0097571202, -0.0033709991, -0.0184154063, -0.0121228592, 0.0098621948, -0.0180980507, 0.0151024843, -0.0133734737, -0.0178501625, -0.0540879667, -0.0526752323, 0.0446877703, -0.0556695126, -0.017202124, 0.0073045832, 2.641e-7, -0.0112743946, 0.0303942543, -0.0033701565, 0.0114901727, 0.0322620682, 0.0380616374, 0.0039140522, 0.0552661046, 0.0357820764, -0.0972743258, -0.035122361, 0.0504552796, 0.0396359116, 0.0165090691, -0.020266138, -0.0239144396, 0.0105316918, 0.0007178052, -0.0482310541, -0.0274840482, 0.0525606573, 0.0371991694, -0.0113985604, -0.0174858738, 0.0820795223, -0.0370638147, 0.0899662748, -0.0327606164, -0.0175580904, -0.0023700418, -0.0022450592, 0.011641982, 0.0118788406, 0.0681600273, 0.008529949, -0.0578605309, 0.0020869432, -0.000541673, -0.0396931693, -0.0714709759, -0.0432164259, 0.0228236876, -0.0106429253, -0.0409340821, 0.057113409, -0.0205568261, -0.0184770804, 0.0157718882, -0.0229750909, -0.0210007709, 0.0282596219, -0.0083702942, -0.0339371711, 0.0059720287, 0.0347951353, 0.036254283, -0.005021167, -0.0679107755, -0.0052677277, -0.0276740175, -0.0434192829, -0.0196751244, -0.029422909, 0.0064035645, 0.016201593, -0.0359362178, -0.0481416136, 2.261073715e-34, 0.0263701566, -0.0012930632, 0.0614907555, -0.0003187518, -0.0045217485, -0.0207470134, 0.0200380664, 0.0120481215, -0.0036720883, -0.0348664373, -0.0186644774 ]
http://arxiv.org/abs/2407.00541v1
http://arxiv.org/pdf/2407.00541v1
Answering real-world clinical questions using large language model based systems
2024-06-29T22:39:20
2024-06-29T22:39:20
Yen Sia Low, Michael L. Jackson, Rebecca J. Hyde, Robert E. Brown, Neil M. Sanghavi, Julian D. Baldwin, C. William Pike, Jananee Muralidharan, Gavin Hui, Natasha Alexander, Hadeel Hassan, Rahul V. Nene, Morgan Pike, Courtney J. Pokrzywa, Shivam Vedak, Adam Paul Yan, Dong-han Yao, Amy R. Zipursky, Christina Dinh, Philip Ballentine, Dan C. Derieg, Vladimir Polony, Rehan N. Chawdry, Jordan Davies, Brigham B. Hyde, Nigam H. Shah, Saurabh Gombar
cs.CL
cs.CL, cs.AI, cs.IR
Evidence to guide healthcare decisions is often limited by a lack of relevant and trustworthy literature as well as difficulty in contextualizing existing research for a specific patient. Large language models (LLMs) could potentially address both challenges by either summarizing published literature or generating new studies based on real-world data (RWD). We evaluated the ability of five LLM-based systems in answering 50 clinical questions and had nine independent physicians review the responses for relevance, reliability, and actionability. As it stands, general-purpose LLMs (ChatGPT-4, Claude 3 Opus, Gemini Pro 1.5) rarely produced answers that were deemed relevant and evidence-based (2% - 10%). In contrast, retrieval augmented generation (RAG)-based and agentic LLM systems produced relevant and evidence-based answers for 24% (OpenEvidence) to 58% (ChatRWD) of questions. Only the agentic ChatRWD was able to answer novel questions compared to other LLMs (65% vs. 0-9%). These results suggest that while general-purpose LLMs should not be used as-is, a purpose-built system for evidence summarization based on RAG and one for generating novel evidence working synergistically would improve availability of pertinent evidence for patient care.
Answering real-world clinical questions using large language model based systems: Evidence to guide healthcare decisions is often limited by a lack of relevant and trustworthy literature as well as difficulty in contextualizing existing research for a specific patient. Large language models (LLMs) could potentially address both challenges by either summarizing published literature or generating new studies based on real-world data (RWD). We evaluated the ability of five LLM-based systems in answering 50 clinical questions and had nine independent physicians review the responses for relevance, reliability, and actionability. As it stands, general-purpose LLMs (ChatGPT-4, Claude 3 Opus, Gemini Pro 1.5) rarely produced answers that were deemed relevant and evidence-based (2% - 10%). In contrast, retrieval augmented generation (RAG)-based and agentic LLM systems produced relevant and evidence-based answers for 24% (OpenEvidence) to 58% (ChatRWD) of questions. Only the agentic ChatRWD was able to answer novel questions compared to other LLMs (65% vs. 0-9%). These results suggest that while general-purpose LLMs should not be used as-is, a purpose-built system for evidence summarization based on RAG and one for generating novel evidence working synergistically would improve availability of pertinent evidence for patient care.
[ 0.0805468559, 0.0221978147, -0.0092903106, -0.0379170366, -0.0290372521, -0.0048565478, 0.0229581185, 0.0188073814, -0.0238165837, -0.0311326478, 0.0190721974, -0.0437880792, -0.0043301159, 0.0242929272, 0.0049839355, -0.017278472, 0.0067328145, 0.0363459364, 0.0738693997, 0.0001818965, 0.0009639281, 0.0136270886, -0.031277746, 0.0523824058, 0.0386807732, 0.0014908407, 0.0203859545, -0.0201806594, 0.0180937443, -0.0902200937, -0.012474034, -0.0055820872, -0.008439498, 0.0029826541, 0.0000020237, -0.0878215954, -0.0270135496, 0.0446066223, -0.0359048955, -0.0483542196, 0.0704357624, 0.01876924, 0.0112084066, 0.0315556228, -0.0394977666, -0.0183222182, 0.0393888168, 0.0115055023, 0.0347350165, 0.0417511873, -0.0111138988, -0.0142847644, 0.0192842018, -0.0024515577, 0.0391540937, -0.0041826651, 0.0353337824, 0.0376193337, 0.0767742023, 0.026596481, 0.0652125254, 0.0509341583, -0.0210028011, 0.007814642, -0.0035154223, 0.0392674766, -0.0371437855, -0.0224046838, 0.0264647715, 0.03284619, 0.0727149546, -0.000238809, 0.0262565762, 0.0004111704, 0.0244760215, 0.0473956503, -0.063077569, 0.0223656576, -0.0324051827, -0.0085354662, 0.0173048303, -0.0056806291, 0.0165789127, -0.0105092153, -0.0135640316, -0.0065746526, 0.0015317008, -0.0159057565, 0.0021056971, -0.027694473, 0.0099423593, -0.0537712127, 0.0301736612, 0.0599427521, -0.0404348075, 0.0218997225, 0.0442405641, -0.0143146357, 0.1241531745, -0.0592367426, 0.010862207, -0.008254935, 0.0030900938, -0.0023154272, -0.0110609028, -0.0269215833, -0.0107723381, 0.0224538725, -0.0634140819, 0.0346314833, -0.0644028038, -0.0427384041, -0.0221123267, 0.0295968652, -0.0205418095, 0.0065522273, -0.0631960854, -0.0189233441, 0.0040915469, 0.0174538307, -0.0034608685, 0.0392048694, -0.0172377843, 0.0141027374, -0.0407909416, 0.03255485, 0.003473053, 0.0509299934, 0.016937742, -0.0307351407, 0.0485537685, 0.0070271469, 0.0079324013, 0.029804077, 0.0401198305, 0.0464699902, -0.0050658286, -0.0128093362, -0.0010448137, -0.0589137636, -0.0624667853, -0.0366363488, -0.0079095643, -0.0949780419, 0.0272154566, 0.0410314016, -0.0166073758, -0.024484748, 0.0315010138, 0.0587226562, -0.0473609231, 0.0117770396, -0.0499663986, 0.0346536152, 0.0491820015, 0.018444445, 0.016365001, -0.0053557684, 0.0126214651, -0.010537276, -0.0062820888, -0.0036060221, -0.0054090424, -0.037562374, 0.0030287676, -0.0042042304, 0.0007488741, 0.0500263572, -0.0171653684, 0.0463327579, -0.0809597075, 0.1029005051, -0.0124178324, 0.0197655279, 0.0420574695, 0.0559728183, 0.0267203487, 0.0191501305, 0.0129521238, -0.0232455675, 0.0383797362, -0.0214680042, 0.0200225916, -0.0054297051, -0.0079414938, 0.0228898637, 0.0042759716, 0.0020914886, -0.031302575, -0.0466062948, -0.0577714518, 0.0073455339, -0.0147370212, 0.0361460447, 0.0126078203, -0.0258059502, 0.004984274, 0.0218323525, 0.0295179039, -0.0177140143, -0.0100155268, -0.0587261058, 0.0114456266, 0.0789926797, 0.0575669557, -0.0364427567, -0.0182414334, -0.037859343, 0.008765812, 0.0236612353, 0.0055958475, -0.0085805049, -0.0421605445, -0.0283618011, -0.0080067618, 0.0160006434, -0.0120288767, -0.0104833636, -0.0154523673, 0.0233419742, -0.0150099006, -0.0092824893, -0.0513435528, 0.024738986, -0.0595480241, -0.0180993266, -0.0026856922, -0.0413652807, 0.0115669379, 0.0535222478, -0.0118292961, 0.0718761235, 0.050298579, -0.0280298032, -0.0507356338, -0.0029063856, -0.0139823686, -0.0024035736, 0.0305365771, -0.0138787832, 0.0214546826, -0.059294451, -0.0135082351, -0.0390616283, -0.0537581071, -0.0793799087, 0.0616381541, -0.0014195743, -0.002936187, 0.0412197933, -0.0173234381, -0.0753871053, 0.0177561641, -0.0020223206, 0.0091144312, 0.0407133028, -0.0453177579, 0.0101300841, -0.0404584929, -0.0078527238, 0.0232035611, -0.0149931218, 0.0158458985, 0.0263290964, 0.0139881419, -0.0194066502, -0.0201163981, -0.0800750852, -0.007301053, 0.0209593065, 0.004160244, 0.0230841711, 0.0015779618, -0.000919345, -0.0035989459, -0.0751629993, -0.0008393978, 0.0530158654, 0.0389433615, 0.0288999919, 0.0790430829, 0.0043170773, -0.04267326, -0.0248804446, -0.014713306, 0.0272638984, 0.0328223482, 0.0057752519, -0.0365125611, -0.0042107538, -0.0623302385, -0.0194538441, 0.0122568272, -0.0080415076, 0.0352324434, -0.023653267, 0.0109639112, 0.0111061595, 0.0085191065, -0.0336493067, 0.0414955132, -0.0040628118, -0.05915571, -0.0168735385, -0.0552430563, -0.0628302097, 0.0145460218, -0.0565343201, 0.0172840897, 0.0162772462, 0.0343958735, -0.0031845255, -0.0027150963, -0.0133897141, -0.0034883763, -0.0014909563, -0.0609168708, -0.0308172479, -0.0262117554, 0.0401980206, 0.019767534, -0.0217299219, 0.0773433447, -0.0226239301, 0.0288600773, -0.10177394, -0.0190436561, -0.0370151959, -0.0203401558, -0.0145333139, 0.0348733179, 0.0302925482, -0.0017885179, -0.0056848945, -0.0254027788, 0.0073538744, -0.0697061643, 0.0576366894, -0.0336113237, 0.0378139429, 0.0138760526, -0.015183487, -0.0555796549, -0.0094007161, -0.0169143714, -0.0137294736, 0.0197000206, 0.0300411098, -0.0754033998, 0.0171884, 0.0601268969, 0.0472578816, 0.016805796, -0.0306483321, 0.0092520015, -0.0101156672, 0.0474060476, -0.0102610709, 0.0286990572, 0.0189110823, 0.0417493917, 0.0851490647, -0.012194627, -0.0005211947, -0.012479227, -0.0157965459, -0.001389584, -0.0377836525, -0.0090025468, 0.0468243845, -0.0131479986, -0.029204037, 0.0020688223, 0.0782737583, 0.0508144945, -0.0540704019, -0.0112700844, -0.0653334856, -0.045652125, -0.0149036571, 0.015684763, -0.0588252284, -0.0139667587, -0.0268708244, 0.0271061491, -0.0365498811, 0.0018575209, -0.0035022795, -0.0473106317, 0.0249928851, -0.0042040702, -0.0156914331, 0.0063057705, -0.0349864811, 0.008653312, 0.0252888631, -0.0108181834, 0.0228315219, -0.0231327098, 0.0043619419, 0.0157883856, -0.0749462247, -0.057865575, 0.0291776154, 0.0047130152, 0.0515969172, 0.0576882064, 0.0307872817, -0.0126705682, -0.0389660336, -0.0234241225, 0.0039563938, 0.0236772671, 0.0052846861, 0.0483778976, 0.0428623147, 0.0426541716, -0.0690366402, 0.0285779145, -0.0161352251, -0.0279923342, 0.0254098736, 0.0574644282, -0.0468656011, 0.0043066004, -0.068132028, 0.0575943552, 0.0147304507, 0.0511557497, 0.0043028914, 0.0207455792, 0.0172090326, 0.0321787894, 0.0254231151, 0.0349019095, -0.0133825447, 0.0252889153, -0.0340526104, 0.0276458859, -0.0628986955, -0.0104031209, 0.0395642035, -0.0038115948, 0.0121480962, 0.0562599115, 0.0299704596, -0.0050216387, -0.0485723987, 0.0310212784, 0.023764126, 0.0103546781, -0.0242421422, -0.0227006599, 0.0658001676, -0.0294907987, -0.008274002, 0.0214720555, 0.0380207002, -0.0146024162, 0.0067437743, 0.057432171, 0.0318374261, -0.0398061574, 0.0191573445, -0.0114396093, 0.0363873802, 0.0286702961, -0.0262335539, -0.0343667045, -0.0307891201, 0.0141070122, 0.0065602884, -0.0285796355, -0.0556817874, 0.0448152497, -0.0051962067, 0.0356299505, -0.0134907253, -0.0332130454, 0.0460250005, 0.0524204224, 0.0255070031, -0.0284562781, -0.0168179963, 0.0107128369, 0.0058561852, -0.0700233579, 0.0117066978, -0.008109156, 0.009745216, -0.0109355021, -0.0176486578, 0.0171110798, -0.0093040178, -0.0873517767, -0.0063857259, -0.0201859009, 0.0415890627, -0.0070382738, 0.0185478851, 0.0370488204, -0.0221495889, -0.0311162565, -0.0213493239, -0.0178468917, 0.0338446945, 0.0022597194, 0.0689511076, -0.0305203386, -0.014113578, -0.0116327181, 0.0334934182, -0.0755399838, -0.0693650171, -0.0203935839, 0.0278578456, 0.0120297186, 0.0295789111, 0.0284456015, -0.028915802, -0.0051040319, -0.0431948751, -0.0089807604, 0.0089999065, 0.0035379243, 0.0311353281, 0.0075262776, -0.0211403929, -0.0476841033, 0.0606962368, -0.0258844104, -0.009006314, -0.0482592471, -0.0614299327, -0.0335333794, -0.0499298088, -0.0081584658, 0.0311864093, -0.0603948981, -0.0346473232, -0.0886701271, -0.009396961, -0.0133248912, 0.0115447203, -0.0229960941, -0.0354612544, 0.0313642025, 0.037715476, 0.024646949, -0.0426261872, -0.0434409343, 0.0980882272, -0.0742362291, 0.0113643091, -0.0011528442, -5.590697418e-33, 0.0141715445, -0.0279826615, 0.0352905206, -0.0400951132, 0.0103520406, 0.0349207781, -0.0349695794, 0.0051138895, -0.0020903491, 0.0248396546, -0.017661348, -0.0173389185, 0.0116686467, 0.045651637, 0.0089600701, -0.0171726421, 0.0181937758, 0.0177741125, -0.0223553833, 0.0373050421, 0.0118573252, 0.002849356, -0.0003308521, -0.0631811023, 0.0263652932, -0.0235936511, 0.0437044166, -0.004531824, -0.0199295152, 0.0593166687, -0.0077776215, 0.0534346178, 0.0294106882, -0.0269645881, -0.0153641636, 0.0135693867, -0.0439079218, -0.0204594899, 0.0321420729, -0.0796395019, -0.0473106839, 0.0089252759, 0.0541054867, -0.0086512817, -0.0070546619, 0.0390157662, 0.014238813, -0.0556463003, -0.0215174649, -0.0350542329, -0.0286277141, 0.0265572108, 0.0350909866, 0.0180585254, -0.0703943521, 0.0649808943, -0.0481006019, 0.0236727577, -0.0231493022, 0.0083099445, 0.024321733, 0.0114591932, 0.0138580827, -0.0240068119, -0.0185212661, 0.0420667045, -0.0092932954, -0.0120049724, -0.0278840419, 0.0103536053, -0.0700032115, 0.0183444768, 0.0610010475, 0.0734235942, -0.0035950828, -0.0040299813, -0.0842260942, 0.0601953566, -0.0522357039, 0.04993416, 0.0657943934, -0.0281489193, -0.0600432754, -0.012190125, -0.0305265021, 0.0458635427, -0.0223742817, -0.0569238812, 0.0398284085, 0.0082949083, -0.0039198771, 0.0119259376, 0.0286098849, 0.0117130084, 0.0167277399, -0.0204195436, 0.0122162616, -0.0016748274, -0.0460935757, 0.0004315226, -0.0616453253, 0.0326765254, 0.0376288146, -0.0007886653, 0.0196958967, 0.0257657561, 0.0067903297, -0.0301052313, -0.0499114059, 0.0060023507, 0.0255137589, 0.0332414843, -0.0256888028, -0.0332445689, 0.0063345251, 0.0509496704, 0.0134453755, 0.0809955373, -0.0051577147, -0.032670781, -0.0397899412, -0.0805292055, 0.0000096869, 0.0066182516, -0.0386537425, 0.0448571257, -0.0311333388, 0.0728811398, 0.0431330875, -0.01632764, 0.0103929034, -0.004351771, 2.795e-7, 0.1072131619, 0.020259684, 0.0022891103, -0.0226412378, 0.0346397609, 0.0037821461, 0.0192885213, -0.0195242334, 0.0639465451, -0.0144486129, 0.0301734209, 0.0032809409, -0.0081046652, 0.062583454, -0.0182242021, -0.059234824, -0.0872985721, -0.03388381, -0.0342787206, -0.0097725475, 0.0929578915, 0.0229705293, -0.0553241558, -0.0351639986, -0.0209079813, -0.0337024443, 0.0310554504, -0.0318200029, -0.0143335564, 0.0320632942, 0.0428776182, -0.0060815425, 0.0435804427, 0.0420004539, -0.0199491419, -0.0215952601, -0.0359524749, 0.0494216755, -0.0405102074, -0.0009047004, 0.0227038823, -0.0309249368, 0.0556280613, -0.047251191, 0.0414228439, -0.0849470943, -0.0326052122, -0.0122866053, -0.0303027201, -0.0302708037, 0.0553577766, -0.0276912097, -0.0433139727, 0.0269539524, -0.0169406347, 0.0415742137, -0.014926563, -0.0488233604, 0.004494682, 0.0592648014, -0.0355615132, -0.0443008766, 0.0270850267, -0.0316975825, -0.044365067, -0.1021684408, 0.0342862345, 2.483619132e-34, 0.0253109261, 0.0278867371, -0.0127478475, 0.0000950797, 0.0405617133, 0.0199050009, -0.0143632824, 0.0420332216, 0.0311550293, -0.0712096617, -0.0158516802 ]
http://arxiv.org/abs/2407.00499v1
http://arxiv.org/pdf/2407.00499v1
ConU: Conformal Uncertainty in Large Language Models with Correctness Coverage Guarantees
2024-06-29T17:33:07
2024-06-29T17:33:07
Zhiyuan Wang, Jinhao Duan, Lu Cheng, Yue Zhang, Qingni Wang, Hengtao Shen, Xiaofeng Zhu, Xiaoshuang Shi, Kaidi Xu
cs.CL
cs.CL, cs.AI, cs.LG
Uncertainty quantification (UQ) in natural language generation (NLG) tasks remains an open challenge, exacerbated by the intricate nature of the recent large language models (LLMs). This study investigates adapting conformal prediction (CP), which can convert any heuristic measure of uncertainty into rigorous theoretical guarantees by constructing prediction sets, for black-box LLMs in open-ended NLG tasks. We propose a sampling-based uncertainty measure leveraging self-consistency and develop a conformal uncertainty criterion by integrating the uncertainty condition aligned with correctness into the design of the CP algorithm. Experimental results indicate that our uncertainty measure generally surpasses prior state-of-the-art methods. Furthermore, we calibrate the prediction sets within the model's unfixed answer distribution and achieve strict control over the correctness coverage rate across 6 LLMs on 4 free-form NLG datasets, spanning general-purpose and medical domains, while the small average set size further highlights the efficiency of our method in providing trustworthy guarantees for practical open-ended NLG applications.
ConU: Conformal Uncertainty in Large Language Models with Correctness Coverage Guarantees: Uncertainty quantification (UQ) in natural language generation (NLG) tasks remains an open challenge, exacerbated by the intricate nature of the recent large language models (LLMs). This study investigates adapting conformal prediction (CP), which can convert any heuristic measure of uncertainty into rigorous theoretical guarantees by constructing prediction sets, for black-box LLMs in open-ended NLG tasks. We propose a sampling-based uncertainty measure leveraging self-consistency and develop a conformal uncertainty criterion by integrating the uncertainty condition aligned with correctness into the design of the CP algorithm. Experimental results indicate that our uncertainty measure generally surpasses prior state-of-the-art methods. Furthermore, we calibrate the prediction sets within the model's unfixed answer distribution and achieve strict control over the correctness coverage rate across 6 LLMs on 4 free-form NLG datasets, spanning general-purpose and medical domains, while the small average set size further highlights the efficiency of our method in providing trustworthy guarantees for practical open-ended NLG applications.
[ 0.0271821804, 0.0814648792, 0.0066017671, -0.0305568166, -0.0301815998, -0.0163774807, -0.0017128785, -0.0050227642, -0.0123050306, -0.0343632475, 0.0382293835, -0.1510429978, 0.0179462694, 0.0141435405, 0.0206893589, -0.0182908326, 0.0007079557, -0.0282352045, 0.0048013064, -0.0316158347, -0.0270927791, -0.0017835596, -0.0006571045, 0.0260214154, -0.0217250176, 0.0060950341, 0.0104688294, 0.0086121997, -0.0051354766, -0.0533109047, 0.0214972533, 0.0832937434, -0.0027937659, 0.0133370552, 0.000002152, -0.0434086397, -0.0430644862, 0.008093412, 0.0004619471, 0.0148376189, 0.0259904899, -0.0065725581, -0.0116764959, 0.0500520132, -0.0202417336, 0.0248011798, 0.0310723092, 0.0148658156, 0.0284317844, 0.0299775768, 0.0054609654, -0.0062532052, 0.0185177401, -0.0165562108, 0.0033008312, -0.0504949465, 0.017452877, 0.0146514559, 0.0159433484, 0.0002343548, -0.012331997, 0.0368864536, 0.0063530146, 0.03062962, -0.0142421806, 0.0196600072, 0.0141042862, -0.0475119501, -0.0023668862, 0.0308157392, 0.011650146, -0.0274108909, -0.0137154302, -0.0161541849, -0.0213562176, 0.0391971879, -0.0426617861, 0.0795529261, -0.0182547998, 0.0164055079, -0.0092320051, -0.0051155463, 0.0244617723, 0.0004489897, -0.034229368, 0.0746598318, 0.0367743857, -0.0142483395, -0.0059961206, -0.0018820922, -0.0891865864, -0.0435532369, -0.0127343405, 0.0376623012, -0.0827137008, 0.0182379875, -0.0780103877, -0.0186024792, 0.0623543672, -0.0091005452, 0.0371555872, 0.0178322643, 0.051816348, -0.022538105, 0.0011519743, 0.0557941161, -0.0047587589, -0.011991526, -0.062005721, -0.0047542248, 0.0024633065, -0.0133872619, -0.0237690974, 0.0248899013, -0.0577707291, -0.024884494, -0.1019462645, -0.0079998588, -0.0040401383, 0.011496027, 0.0207761955, 0.0289890878, -0.049215164, -0.0346629545, -0.0002580163, 0.0084358342, 1.303e-7, 0.0126272338, 0.0316097811, -0.0574326143, 0.0124701178, 0.0200222488, -0.0112625193, -0.0036441376, 0.0008125316, 0.0726319104, -0.0116465306, -0.0271135587, -0.0168356672, -0.0598737188, -0.0766736865, -0.0481272042, -0.0077959923, -0.0650111884, -0.0131784007, 0.0159264412, 0.0044672005, -0.0526920408, 0.0286272541, 0.0372763611, -0.0175942071, 0.0556680672, -0.0220205132, 0.0277105477, 0.0041147256, 0.0025847806, 0.042821303, 0.0357739255, 0.0356583297, 0.0203181282, 0.0391109101, 0.0142385596, 0.0372955315, 0.0077767852, 0.0282892361, -0.0244663395, -0.0149254352, -0.0162714273, 0.0114031201, 0.0484674387, -0.0324079432, 0.1062696576, -0.0110851573, -0.0047841151, 0.0495166294, 0.0027562592, 0.0048260735, -0.0484708548, 0.027866995, 0.0022813252, 0.0079692621, 0.0070076608, -0.0171615724, -0.0150701394, -0.0416908674, 0.033377286, 0.0282911062, 0.0290239416, -0.0182905756, -0.0447243229, -0.058131244, -0.0029459666, -0.0059473324, -0.0317157768, 0.0370985903, 0.0011645642, -0.0541028455, 0.0654340982, 0.0157045871, -0.0621243939, 0.0314565971, -0.0220824238, 0.070089668, 0.020671485, 0.0702231526, 0.0153723881, -0.057631392, 0.0061460342, 0.009204749, 0.0296683293, 0.0359948762, 0.010347886, -0.0015022045, -0.0598490722, -0.0203499049, 0.0276985187, 0.0232014004, -0.0012580581, 0.0481853522, -0.0060306629, 0.029876003, -0.0218219198, -0.0618212409, 0.0181959588, -0.0278536025, -0.0445521288, 0.0478185453, -0.0233624931, 0.0511600897, 0.0065413923, -0.0278612133, 0.0471031219, 0.0321335606, -0.0279429704, -0.0674722642, -0.0423200205, -0.014708763, 0.0394951291, 0.0415230878, -0.0364631228, 0.0235320516, -0.0226145983, -0.0191113874, -0.045483999, 0.0029264214, -0.0240726862, 0.000052832, -0.0462921783, 0.0361732915, 0.0401973985, 0.0290705692, -0.0734416917, 0.0162251387, -0.0125511298, 0.0058915303, 0.0204221029, 0.0199319031, 0.0129934307, -0.006920035, -0.0539467558, -0.0118070999, -0.0422419384, 0.032195013, 0.0622883327, 0.0415552333, -0.0267989505, -0.0653387904, -0.0416251794, 0.0208399147, -0.0209655222, 0.0123158675, 0.016077701, 0.0079079363, -0.0124206059, 0.016529236, -0.0318582058, -0.0427037477, 0.057425566, -0.0050673489, 0.0316356942, 0.0266225412, -0.0176710803, -0.0144938584, 0.0008659078, 0.0039183986, 0.0161844753, 0.0372475944, 0.0598895438, -0.0745182037, 0.0563081726, -0.0474022999, -0.0085454704, 0.023973396, -0.0423396155, 0.0057803043, 0.0083918059, -0.0038758349, -0.0215670895, 0.0412759669, -0.0099013736, 0.0364289396, -0.00271105, 0.0161613151, 0.0122409072, -0.0793531165, -0.0587093756, 0.0081740916, -0.0589045584, 0.0432706214, 0.0533646531, 0.0416440442, -0.0262695886, -0.0741709918, 0.0188724734, -0.0452452265, 0.0068985866, -0.0129940491, 0.0102405222, -0.022905644, 0.0576875843, 0.0091398228, -0.0553140379, 0.0428852849, -0.0708620027, 0.0432348885, -0.0147184506, 0.0145680225, -0.0102000888, 0.0135024693, 0.0107543608, 0.024191983, 0.0537567325, 0.0005516016, -0.05663082, 0.0007872406, 0.0309919398, -0.0595103689, 0.0239292458, -0.0681344718, 0.0068943938, 0.0206058398, -0.0145089924, -0.0617402531, -0.0397731327, -0.0209348164, 0.0050058314, 0.0763037279, -0.0436987355, 0.0126962662, 0.0243072435, -0.0308688469, 0.004600904, -0.0413260162, -0.0094177295, -0.0135190813, 0.0138205867, 0.0690519586, 0.013002295, 0.06780231, -0.0309748407, -0.0198978335, 0.0524065495, 0.0127947116, 0.0555020869, 0.0098069077, -0.0216267426, 0.0311800428, -0.0088603348, -0.0225634761, 0.0742994845, 0.0808906406, -0.0017254277, -0.0270039532, 0.1532560289, 0.039078638, 0.0236287396, 0.0061980309, 0.0137912687, 0.0689470544, 0.0110075809, 0.0291858278, -0.0890653804, -0.0205807518, -0.000897145, 0.0534502231, -0.0265168063, -0.0381141119, -0.0177998468, -0.1130501926, 0.0372710899, 0.0312705003, -0.0557510667, -0.0435768813, -0.0090252627, -0.0082136206, -0.0263204053, 0.0464061163, 0.0277334228, -0.0255713481, 0.0182080045, 0.056663461, -0.0648474395, -0.0818326175, -0.0075946269, -0.0393317342, 0.0738565177, 0.011041834, 0.0020372404, 0.0151022244, -0.0060884971, 0.0078852521, -0.0427822247, -0.0165460184, -0.0198786873, 0.0359724797, 0.0470480211, -0.0014932188, -0.001343505, 0.0276704524, -0.0560890883, -0.0040315748, -0.0122192986, 0.0561612025, -0.0139516918, -0.0272761472, 0.0008653005, 0.0416577011, 0.023665892, 0.0782597065, 0.0041798213, -0.0299565438, -0.0220587812, -0.0248987172, 0.0461108834, -0.0495618172, 0.0370413885, 0.0022304272, -0.0084742522, -0.0093155354, -0.096387051, 0.0204717871, 0.0061854585, 0.0431521274, -0.0042907386, -0.0156753212, 0.0519452728, -0.0063585732, -0.0143991364, -0.0202012397, -0.0222614165, 0.0228600428, -0.0889075249, 0.0252747107, 0.0017029862, -0.0265449602, -0.0095256716, 0.071322605, -0.0943739116, -0.0907884687, 0.0195847023, 0.0420298092, 0.0242692158, 0.0099496506, -0.0181211177, -0.0464342609, 0.0492296889, 0.0513982326, -0.026145516, 0.0077083213, 0.0091267684, -0.007370322, -0.0192994867, 0.0316499695, -0.0092822975, -0.0015184708, -0.0118476767, 0.0621933155, 0.0177617557, -0.083975926, 0.0314149372, 0.0759907216, -0.0002624188, -0.0685675219, 0.0330414437, -0.0081823803, -0.0143674891, -0.0123101873, -0.015507686, -0.0308055524, 0.0168721657, 0.0077628181, -0.0505514778, -0.0254064705, -0.0039299037, -0.0277041439, 0.039268855, 0.0134468609, -0.0458255187, -0.0325700864, 0.0179928765, 0.0607619397, -0.0266324505, 0.0199951939, 0.0117437867, 0.0030378671, 0.0452585295, 0.0326658674, 0.051959075, 0.0019434138, 0.0264770426, -0.0240439288, -0.0152849499, -0.040989507, -0.049987983, -0.0622104257, 0.028928658, 0.0342148803, 0.0225829054, 0.0376459286, -0.0669853464, -0.0073891166, -0.0310409665, 0.0546117499, -0.0061357287, 0.0162840392, 0.0435145497, -0.0118246656, -0.0281926561, -0.0089962445, 0.0720220134, 0.0008726728, 0.0263383761, -0.0350946188, -0.0641384125, -0.0323270187, -0.0434076637, -0.0227443743, -0.0013987605, -0.0383161679, 0.0166305043, -0.053471677, -0.0737036318, 0.075429745, 0.043812193, 0.0174499098, -0.018844666, 0.026680233, 0.0436553992, -0.0172508378, 0.0172240175, -0.0268982854, 0.0038382984, -0.0200656801, 0.0278581064, -0.0162352957, -7.108770495e-33, -0.0346916504, -0.061289534, 0.0128638297, -0.0578531958, -0.0002244051, -0.0051935608, 0.0125292642, 0.032689061, 0.0578196384, 0.0323531851, -0.0019165146, -0.0143351918, 0.0118338149, 0.0549168177, 0.018034419, -0.0082178218, 0.0415647551, -0.0081953928, -0.0395525098, 0.0087341014, 0.0233662315, 0.0220310837, 0.0149609027, -0.0113379043, 0.0151937352, 0.0180091634, -0.0476010516, 0.0435794517, -0.025846228, 0.0469162725, 0.001919975, 0.0348291509, -0.0129719721, -0.0014661524, -0.0075326092, -0.0399858803, -0.0137334922, -0.0204459801, 0.009034344, -0.0034478516, -0.0087950956, -0.0010002315, 0.0096091181, -0.0212248582, -0.0792203397, 0.0233539585, -0.0128727956, -0.0229984857, -0.0165971182, -0.0268021021, 0.0176948942, 0.0304503981, 0.0231769588, -0.0418900773, -0.0491429977, 0.0730088204, -0.0281635299, -0.0171227735, 0.0137382811, 0.0248741172, 0.0391615778, 0.0242707543, 0.059495382, 0.0113719385, -0.0159584433, 0.0440323204, -0.0349543914, -0.0246894639, -0.0437738262, -0.0143177435, -0.0365406759, 0.0076254732, 0.0203707628, 0.0683374852, 0.0073694335, -0.0134567115, -0.0623406917, 0.0461411513, -0.0457047746, 0.0315076858, 0.0339496359, -0.0269398, -0.0445945151, -0.0368578024, -0.045883134, 0.0020268504, -0.0058683134, -0.0001004681, 0.0198901761, 0.019093059, -0.0445846952, -0.0304998998, 0.0134988138, -0.0254115742, 0.0065534464, -0.0013654144, -0.0253391843, -0.0215386394, -0.0314968824, 0.0191981588, -0.0306539908, 0.0016815452, 0.0047177807, -0.0027326089, -0.0388033837, 0.0174576975, 0.0252855886, 0.0214370228, -0.0736592337, 0.0324818045, -0.0259754844, 0.0454860367, 0.0208831299, -0.0330247506, 0.0375104174, -0.0142497532, -0.0140466616, 0.0449486524, -0.0184436254, 0.028102437, -0.0158192497, 0.0054457942, 0.0359558873, 0.0035901847, -0.03393301, 0.0035472906, 0.002433053, -0.0224637724, 0.0063586985, -0.0453099683, -0.0400159657, -0.0089006284, 2.954e-7, 0.0566122606, 0.0386127383, 0.0118317092, 0.0485723093, 0.0028184578, 0.0021696235, 0.0113635026, -0.0080187572, -0.0186341349, 0.0218280647, 0.020175131, -0.0127390651, 0.051669497, 0.0300054662, -0.0207076445, 0.0028760228, -0.0691489577, 0.0317608863, 0.005311002, -0.0198168363, 0.0610295199, 0.0658374652, -0.018368246, -0.0144516639, 0.0154035445, 0.0031825413, 0.0779554322, -0.017149331, -0.0425750054, 0.0555257946, 0.0462162457, 0.0209930688, 0.0191875342, 0.0245059486, -0.016349541, -0.0296878163, 0.0005462716, 0.060773693, 0.0621509477, 0.0108480463, 0.0126050794, 0.0009447474, -0.0047741197, -0.0259268042, 0.0294881798, -0.0882221237, -0.0183591116, -0.0767921433, -0.0057558827, -0.0237585474, 0.050157927, -0.0274288915, -0.0109352358, 0.0018345256, 0.01021244, 0.0574401505, -0.0049068979, -0.0055667539, -0.0269793347, 0.0207556244, -0.0484122895, -0.0000339939, -0.0066451184, -0.0220901165, 0.0027179753, -0.0746143013, 0.0215074066, 2.742968313e-34, 0.0562361255, -0.0034874196, -0.0165923741, -0.0260036532, 0.04787587, -0.019220259, 0.0339884162, 0.0202555563, 0.0148088178, -0.0753670186, -0.0127831912 ]
http://arxiv.org/abs/2407.00497v1
http://arxiv.org/pdf/2407.00497v1
LLMs-as-Instructors: Learning from Errors Toward Automating Model Improvement
2024-06-29T17:16:04
2024-06-29T17:16:04
Jiahao Ying, Mingbao Lin, Yixin Cao, Wei Tang, Bo Wang, Qianru Sun, Xuanjing Huang, Shuicheng Yan
cs.CL
cs.CL
This paper introduces the innovative "LLMs-as-Instructors" framework, which leverages the advanced Large Language Models (LLMs) to autonomously enhance the training of smaller target models. Inspired by the theory of "Learning from Errors", this framework employs an instructor LLM to meticulously analyze the specific errors within a target model, facilitating targeted and efficient training cycles. Within this framework, we implement two strategies: "Learning from Error," which focuses solely on incorrect responses to tailor training data, and "Learning from Error by Contrast", which uses contrastive learning to analyze both correct and incorrect responses for a deeper understanding of errors. Our empirical studies, conducted with several open-source models, demonstrate significant improvements across multiple benchmarks, including mathematical reasoning, coding abilities, and factual knowledge. Notably, the refined Llama-3-8b-Instruction has outperformed ChatGPT, illustrating the effectiveness of our approach. By leveraging the strengths of both strategies, we have attained a more balanced performance improvement on both in-domain and out-of-domain benchmarks. Our code can be found at https://yingjiahao14.github.io/LLMs-as-Instructors-pages/.
LLMs-as-Instructors: Learning from Errors Toward Automating Model Improvement: This paper introduces the innovative "LLMs-as-Instructors" framework, which leverages the advanced Large Language Models (LLMs) to autonomously enhance the training of smaller target models. Inspired by the theory of "Learning from Errors", this framework employs an instructor LLM to meticulously analyze the specific errors within a target model, facilitating targeted and efficient training cycles. Within this framework, we implement two strategies: "Learning from Error," which focuses solely on incorrect responses to tailor training data, and "Learning from Error by Contrast", which uses contrastive learning to analyze both correct and incorrect responses for a deeper understanding of errors. Our empirical studies, conducted with several open-source models, demonstrate significant improvements across multiple benchmarks, including mathematical reasoning, coding abilities, and factual knowledge. Notably, the refined Llama-3-8b-Instruction has outperformed ChatGPT, illustrating the effectiveness of our approach. By leveraging the strengths of both strategies, we have attained a more balanced performance improvement on both in-domain and out-of-domain benchmarks. Our code can be found at https://yingjiahao14.github.io/LLMs-as-Instructors-pages/.
[ 0.0179686397, 0.0568899699, -0.0079892958, 0.056713365, -0.0136515303, 0.028917646, -0.026413219, -0.0187598225, -0.0155557152, -0.0658301115, -0.0392087772, -0.0215330403, -0.035092324, -0.0198134389, 0.05847691, -0.0343992859, 0.0521252714, -0.0792035386, -0.0335391387, -0.0092375362, -0.003068777, -0.0014892492, -0.0375214219, 0.0118059125, 0.0079159755, -0.0383301601, -0.0115620252, 0.0027602527, -0.003869992, -0.0223276094, 0.0301647726, 0.0314802974, 0.0370127223, 0.0383011773, 0.000002174, -0.0676017031, -0.0088153481, 0.0117479078, -0.0345857963, 0.0500018708, 0.0328185596, 0.0180640128, -0.0326330587, 0.0483630784, -0.0223451108, -0.0180360265, 0.0262612216, 0.0192109812, 0.0854402184, 0.0910692438, 0.026565738, -0.0331065096, 0.0453545935, 0.0011573271, 0.007929448, -0.0315476023, 0.0327675678, 0.0569199063, 0.0088898605, -0.0060558734, -0.0380905084, 0.0190528762, 0.0319260247, 0.0076503786, 0.0028467784, 0.0251442716, 0.0024674467, -0.0027408435, -0.0250433013, 0.037468642, 0.002213143, -0.0167628676, -0.0188531484, -0.0108229714, -0.0100751873, -0.0101754591, -0.0543095209, 0.0312895849, 0.0101043126, 0.0239005089, 0.021390982, -0.051991675, 0.0177984405, 0.042085208, -0.0276948977, 0.0230087824, 0.0143902842, -0.0493715815, -0.0075151785, 0.007497312, -0.0151300458, -0.040419478, -0.0042884196, 0.0806583688, -0.0161204431, 0.0283687413, -0.031327799, -0.0339974687, 0.0141614908, -0.0341687016, 0.0769409165, 0.0441557951, -0.0378196165, 0.0174894966, -0.0203117449, 0.0612614676, 0.0104838302, 0.0412364565, -0.0236352235, 0.0247772504, -0.0397986956, 0.0073681558, -0.0043011, 0.0429398715, -0.0008235942, 0.0218572728, -0.0540823862, 0.0324013568, -0.016225623, 0.0449335985, -0.0021358356, -0.0151767768, -0.0403988063, -0.0275999047, -0.0354815274, 0.0211394075, 0.0056885122, 0.0055718408, -0.0047328663, -0.0810959339, -0.0141800456, 0.0292791817, -0.040178746, -0.0137090543, 0.0376929566, 0.0970216095, -0.0282983091, -0.035651315, -0.0807185471, 0.0137626305, 0.0143264011, -0.0647934675, 0.0210740101, -0.0941325575, -0.0153550608, -0.0082225874, 0.001881152, -0.0331477188, 0.020221334, -0.0087833563, 0.0176296178, 0.0727830306, -0.0224889759, 0.0143566802, 0.0410022773, 0.0109616183, -0.0172057748, 0.070790641, 0.0355040729, -0.026136782, -0.0005051332, -0.0342693105, 0.0330671407, 0.0543401204, 0.0087640025, 0.0211880952, -0.0304957516, 0.0237774737, 0.009395591, 0.0371110253, 0.0498767011, 0.0653058663, -0.0300431922, 0.0289236866, 0.0472905077, 0.0298237037, -0.0058786687, 0.0405750833, 0.050277777, 0.0100619895, 0.0326992944, -0.0045219073, -0.0692543909, 0.0223004762, -0.0290064923, 0.0351679698, 0.0221257824, 0.0281532574, -0.0232334733, -0.093259044, -0.0221422277, -0.0021190227, -0.0343000777, 0.0182066355, 0.0844726562, 0.017462492, -0.0466113277, 0.0435113162, 0.0411455855, -0.0274135265, 0.0096294442, -0.1063522846, 0.0222029164, 0.0321921073, 0.0406643674, -0.04556337, -0.0613989159, -0.0193481054, 0.0101496875, 0.0356866866, 0.0530715585, -0.0114627155, -0.0337089077, -0.0678735226, -0.0096764416, -0.0283216089, 0.02072924, 0.0158447344, 0.0526415408, -0.0125244567, 0.0070207072, -0.0098489504, -0.0437038578, 0.0415538996, -0.057195209, -0.0531669632, -0.0212333761, -0.0126132593, 0.0327731892, -0.010422051, -0.0205669142, 0.0098738335, 0.0166418701, 0.0015819561, -0.0170740429, -0.0306664854, -0.017922068, -0.0323728248, 0.0844084844, -0.0104200626, -0.0470685884, 0.0416642129, -0.0722262338, -0.0328736044, 0.0353815146, -0.0498174392, 0.0297198016, -0.0378213525, 0.0214259624, 0.0123679144, -0.0208269302, -0.0284582078, 0.0513310693, 0.0025366012, 0.0034567534, 0.0112997117, 0.0373229869, -0.0093513504, -0.0254508369, 0.0001629636, -0.0217750482, -0.0258912761, 0.0611865595, -0.0149779096, 0.0458983891, -0.0639108866, -0.0350679606, -0.0248305351, 0.009157652, -0.0134260114, 0.0398018099, 0.018260831, -0.0106449462, -0.028843591, 0.004834841, 0.0048878659, -0.0182961281, -0.0043304628, -0.0036660426, 0.0266484637, -0.0008436065, -0.0550450794, -0.0642851815, 0.0086539714, -0.0271260366, 0.0063363053, -0.0249038264, 0.0145152062, -0.0772610009, 0.0716939121, -0.0200892724, 0.0414968133, -0.0015201165, -0.0622359738, 0.0154989203, -0.0400541686, 0.0211234502, 0.0657875091, -0.0110523971, 0.0560490377, 0.0423575975, -0.013536742, -0.0787434801, 0.0375785567, 0.0087208441, -0.0670112595, -0.0324866548, -0.0126092639, -0.035830725, 0.0686069876, -0.0177720729, -0.0081687327, -0.0347076356, -0.0188238006, -0.0168025158, -0.0137292445, -0.00826733, 0.0124305254, -0.0184747614, 0.0048140096, -0.0147066927, -0.0590804704, 0.0730702654, -0.0278551355, -0.0064325538, -0.0313157775, -0.0200754181, -0.0494180284, 0.0203187447, -0.0087336311, -0.014687784, 0.0022999195, -0.034963198, -0.0569012798, -0.0234584063, 0.0043040109, -0.0408473052, 0.0906391516, -0.087462306, -0.0046133213, 0.0155875636, -0.03939512, -0.0407968462, 0.0231039375, -0.0457776487, 0.0039018618, -0.0239181146, -0.0183007438, -0.0322526358, -0.0291048121, 0.0079298858, 0.0106224222, -0.0227124654, -0.0323139764, -0.0157100074, -0.0201647356, -0.000427232, 0.0079647275, 0.0310454816, -0.0718813315, 0.0182385948, 0.0368226804, 0.0478560589, -0.0065011438, -0.066552408, 0.0106727127, 0.0319986306, -0.0353079513, 0.0024803162, 0.0461117737, 0.0483173542, -0.0775472596, -0.0325552933, 0.1197008193, 0.0185710229, -0.0129455114, 0.0000999128, -0.0479367673, 0.0395920984, 0.0367144383, 0.0434465557, -0.0601245239, -0.0394303501, 0.0058777709, 0.0576514415, 0.0161695275, 0.001293804, 0.0018486248, -0.1503321528, 0.0383508615, 0.0458783284, -0.0150322877, -0.025737986, -0.0463410355, 0.0128786238, -0.0311821979, 0.0329871662, 0.034727674, -0.0397352464, 0.008152796, 0.0633632094, -0.0241742004, -0.0791529641, 0.015444559, -0.0278297383, 0.0636640266, 0.0520989448, -0.0121890828, -0.0129294926, -0.0250089336, 0.0495687872, 0.0056571439, 0.0106378682, -0.0285263378, 0.0168668311, -0.0120333098, -0.0105609512, 0.0040331208, 0.0555194505, -0.0283199418, -0.0113705518, 0.016437171, 0.0990788192, -0.0119302934, 0.0164280664, -0.0218038205, -0.0090541113, 0.013642665, 0.0406287275, 0.0388423689, -0.0163225811, -0.0311498586, -0.0522992127, -0.0202017818, -0.0363569967, -0.0167811085, 0.0161066372, -0.0066550402, -0.0064075505, -0.0214480162, -0.0396852754, 0.0240318906, 0.0057921233, 0.0130585805, -0.0293584056, -0.0012513038, 0.0112484824, -0.0306861568, 0.0202948395, -0.0499964133, 0.0301954579, -0.0739637762, -0.0192361008, 0.0343407691, -0.029177187, -0.0118535375, 0.008045936, -0.0868649632, -0.084898375, 0.0007951906, 0.088923648, 0.0236495286, 0.066557236, -0.0115466099, -0.0617974587, 0.0088131903, 0.0347055867, -0.0258041136, 0.0146673135, 0.0533546954, 0.0078868559, 0.0099200392, 0.0041058529, -0.0405628867, 0.0147082834, 0.0210813247, 0.0444222949, -0.0188579001, -0.0001940729, 0.0357705466, 0.0231521633, 0.0344681814, -0.0127130989, -0.0105343079, -0.0153687587, 0.0239631403, 0.0068554422, -0.0076526259, -0.0322438627, 0.0179506298, 0.0023093424, -0.0111799221, 0.0165607985, -0.018455917, -0.0075516119, 0.0339571126, 0.0080302246, 0.0582775883, 0.0040414757, 0.0188287627, 0.046086479, -0.0103075486, -0.0148847206, -0.005444909, 0.0268713962, 0.0183564853, -0.0023532948, 0.0526861474, 0.0041608876, 0.0316216573, -0.0043386733, -0.0307761487, -0.0195526555, -0.0621116348, -0.0369809978, 0.0222176947, 0.0799585432, 0.0311556365, 0.0156342089, -0.0465550199, 0.0018236212, -0.0027936993, 0.0375305787, -0.0443318598, -0.0074543264, 0.0638636425, 0.0474550687, 0.0308600273, -0.011036247, 0.0614747517, -0.0091218287, 0.0803093389, -0.0031883463, 0.0228320323, -0.0400728285, -0.042864766, 0.0397722274, -0.0177690331, -0.0086380839, -0.017612936, -0.0206343029, -0.0905567706, -0.0152918743, 0.0624099858, -0.0098277451, -0.031144755, 0.039538186, 0.0790688768, -0.0236890744, 0.0004191796, -0.0177609362, 0.0120114135, 0.0080189733, -0.0287961997, -0.0053128856, -6.288757391e-33, -0.0293648448, -0.0035801402, 0.0779760331, 0.0045368243, -0.0222057719, -0.0246673636, -0.0254521072, -0.0024188866, 0.0014616088, 0.01625246, 0.0100149857, 0.037438564, 0.0041692643, 0.0132091176, 0.0306445919, 0.0001314691, 0.049897559, -0.0069026053, 0.0020689692, 0.0009425243, -0.0237038247, 0.0334401727, 0.063365005, -0.0566830784, 0.0034786852, 0.0107013891, -0.0174754951, 0.0562884994, -0.0480605476, 0.0850523114, -0.0006916334, 0.0317883752, -0.0144299194, -0.0326941088, -0.0259018578, -0.0325488858, -0.0497969687, -0.0346095003, 0.0174651463, 0.0153049752, -0.0046609999, -0.047320351, 0.0404487923, 0.0103694163, -0.0493591428, -0.0377390757, 0.0205472577, -0.0221319702, -0.0029040927, 0.0282006897, -0.0498397164, 0.0430591889, -0.0285706986, -0.0227035116, 0.0014168953, 0.0055130385, -0.0082590841, -0.0095470855, -0.0285234265, 0.0121966591, 0.0674414188, 0.0410180241, 0.0913149416, 0.037584886, -0.0278555024, 0.0324189812, 0.0329976752, -0.0229924452, 0.0012622906, -0.0223391149, 0.0282750409, 0.0578559898, 0.0440883152, 0.0347056799, -0.0055084913, 0.0147532001, -0.0863535702, 0.0146156736, -0.015354095, 0.0688999444, 0.002972347, 0.0248186011, -0.0487553068, 0.0039198739, -0.029719593, 0.0215758849, -0.0267115533, -0.0320422761, 0.0301173218, 0.0023803664, -0.0293480754, -0.0168364849, 0.0104877865, -0.0416229926, -0.0257895533, -0.013127761, -0.0259696934, 0.0429183654, -0.0288425963, 0.0372047462, -0.0623001046, -0.0590590723, -0.0151187452, -0.0041525252, 0.033223372, 0.0033202507, 0.0354572125, 0.049520772, -0.0652298108, -0.0052730767, -0.0368184, 0.0032594516, 0.0278756078, 0.007383767, 0.0105256746, 0.0067658261, -0.0004532151, 0.0676133037, -0.0100094592, -0.0353771374, -0.0342029594, -0.0201353282, -0.0197885968, 0.0158180483, -0.0404209755, -0.0044871257, -0.0386540405, 0.0085964752, 0.0305413697, -0.0512869321, -0.0246701818, 0.0206966456, 2.815e-7, 0.053909637, 0.0548963919, -0.0006581974, 0.0395334512, 0.0006337588, 0.0422364846, -0.0625601262, -0.0050144931, 0.0340860672, 0.0178203881, 0.0101926662, 0.0667616203, 0.060545031, 0.0346187726, -0.0385212153, -0.0123576764, -0.0461027734, -0.0011608124, -0.0408334918, 0.0023904296, 0.0506674275, 0.0819410607, 0.0114884879, -0.0191068593, -0.0120054781, -0.0155823911, 0.0558488593, -0.0126060518, -0.028120134, 0.0341702923, -0.0035541293, 0.0226524249, 0.0058776531, 0.0000426069, -0.0051586935, -0.0033107849, -0.0328640938, 0.0569265187, -0.0039093918, 0.015263577, 0.0071134032, 0.0017257504, -0.0070492318, -0.0339332558, 0.0357130282, -0.0650930777, -0.017281035, -0.0274305698, -0.019581262, -0.0196911842, -0.0055290749, -0.0392132774, -0.0025861841, 0.0060370527, 0.0016762022, -0.010968714, -0.0406988673, -0.0494850837, -0.0076637184, 0.0284025706, -0.0265516993, -0.0568474941, -0.0391779765, 0.0256316159, -0.0091319876, -0.0546444021, 0.0183841828, 2.627636017e-34, 0.0499865748, -0.0324030071, 0.0139708929, 0.0683724508, 0.0397444963, -0.0007089573, -0.0292964913, 0.0309009645, 0.0238053259, -0.051071059, -0.0209720917 ]
http://arxiv.org/abs/2407.00488v1
http://arxiv.org/pdf/2407.00488v1
PFME: A Modular Approach for Fine-grained Hallucination Detection and Editing of Large Language Models
2024-06-29T16:35:57
2024-06-29T16:35:57
Kunquan Deng, Zeyu Huang, Chen Li, Chenghua Lin, Min Gao, Wenge Rong
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) excel in fluency but risk producing inaccurate content, called "hallucinations." This paper outlines a standardized process for categorizing fine-grained hallucination types and proposes an innovative framework--the Progressive Fine-grained Model Editor (PFME)--specifically designed to detect and correct fine-grained hallucinations in LLMs. PFME consists of two collaborative modules: the Real-time Fact Retrieval Module and the Fine-grained Hallucination Detection and Editing Module. The former identifies key entities in the document and retrieves the latest factual evidence from credible sources. The latter further segments the document into sentence-level text and, based on relevant evidence and previously edited context, identifies, locates, and edits each sentence's hallucination type. Experimental results on FavaBench and FActScore demonstrate that PFME outperforms existing methods in fine-grained hallucination detection tasks. Particularly, when using the Llama3-8B-Instruct model, PFME's performance in fine-grained hallucination detection with external knowledge assistance improves by 8.7 percentage points (pp) compared to ChatGPT. In editing tasks, PFME further enhances the FActScore of FActScore-Alpaca13B and FActScore-ChatGPT datasets, increasing by 16.2pp and 4.6pp, respectively.
PFME: A Modular Approach for Fine-grained Hallucination Detection and Editing of Large Language Models: Large Language Models (LLMs) excel in fluency but risk producing inaccurate content, called "hallucinations." This paper outlines a standardized process for categorizing fine-grained hallucination types and proposes an innovative framework--the Progressive Fine-grained Model Editor (PFME)--specifically designed to detect and correct fine-grained hallucinations in LLMs. PFME consists of two collaborative modules: the Real-time Fact Retrieval Module and the Fine-grained Hallucination Detection and Editing Module. The former identifies key entities in the document and retrieves the latest factual evidence from credible sources. The latter further segments the document into sentence-level text and, based on relevant evidence and previously edited context, identifies, locates, and edits each sentence's hallucination type. Experimental results on FavaBench and FActScore demonstrate that PFME outperforms existing methods in fine-grained hallucination detection tasks. Particularly, when using the Llama3-8B-Instruct model, PFME's performance in fine-grained hallucination detection with external knowledge assistance improves by 8.7 percentage points (pp) compared to ChatGPT. In editing tasks, PFME further enhances the FActScore of FActScore-Alpaca13B and FActScore-ChatGPT datasets, increasing by 16.2pp and 4.6pp, respectively.
[ 0.0565170832, 0.0111999288, -0.0154402219, 0.0411041379, -0.060357485, 0.0193325672, -0.0438233763, 0.0040325467, -0.0072639249, -0.0876099691, 0.0135947848, -0.0239795409, -0.0084745446, 0.0017068762, 0.0229136106, -0.0549072288, 0.0926380903, -0.0431415923, 0.0410601534, 0.0107187312, 0.0216087624, 0.0118639013, 0.0169992335, 0.0364309028, -0.0207788236, -0.0408658348, -0.0106379054, -0.0098673841, 0.0085618868, 0.0215430949, 0.0009717063, 0.0865704641, -0.0074488041, 0.0866835713, 0.0000024295, -0.0572739094, -0.0536976457, 0.003525702, -0.0231716782, 0.0316491351, 0.0468484238, 0.0091144126, -0.0495483652, -0.0038733352, -0.0157530792, 0.0096137179, 0.0252142977, 0.0927212685, 0.0605605356, 0.0763030425, -0.0109561505, -0.0236738361, 0.0436674431, 0.0425146781, 0.0321006365, 0.0351606347, 0.0549796186, 0.0380499437, -0.008034463, 0.0086571807, 0.0264666751, 0.0334005989, 0.0015127787, -0.0295309145, -0.0007444816, 0.0045623025, -0.1003081948, -0.0179885756, 0.0198220536, 0.0363858193, -0.0287447758, -0.0510424115, 0.0190911293, 0.0057926099, 0.0230066087, 0.0064207679, -0.0409533121, 0.0110023525, -0.0357792862, -0.0079495711, 0.0736002997, -0.056776464, 0.0166931581, 0.011251797, -0.0301941279, 0.0497747622, 0.0125943394, -0.0441042706, -0.0019187534, -0.0183861852, -0.0080026174, -0.0634187907, 0.0411424264, 0.0164506193, -0.0205494892, -0.0146819167, -0.0597518831, -0.0098934034, 0.0572291128, -0.1198392734, -0.0176197737, 0.00308224, -0.0732509643, 0.0796637014, -0.008002826, 0.0109548355, -0.0041582044, 0.0391755998, -0.0008762392, 0.0102571007, -0.0271250159, -0.0072829966, -0.0598659851, 0.0265261736, -0.0230356138, -0.0238850899, 0.002355986, -0.0032097939, -0.0214245562, 0.0485682152, -0.0088918302, -0.0206549168, 0.0034123631, -0.0329593159, -0.0097015742, 0.0289994646, 0.0003054819, -0.0093111303, 0.0077304794, -0.0626862347, -0.0141251497, 0.0044308696, 0.0074039139, -0.0055296659, 0.0051753088, -0.0079913484, 0.0068601649, -0.0187634025, -0.0656887963, -0.0521753356, -0.016354667, -0.0732864961, -0.0337757133, -0.0877325684, -0.0072845989, 0.003408757, -0.0201027617, -0.0197445452, 0.0350317471, 0.0076706684, -0.0415081978, 0.0553254448, -0.0699746013, 0.0118632279, 0.0648586601, 0.0212313309, 0.004603805, 0.0803990513, -0.0017640211, 0.0431676917, 0.0606132299, -0.0042588897, 0.0320383385, 0.0379059166, -0.031008264, 0.0189550016, -0.0194673743, 0.0051982854, 0.0154442266, -0.0091688316, -0.0157376789, 0.0378721505, -0.0093936762, 0.0044473507, 0.083116442, -0.0095532136, 0.0097120786, 0.0119526954, 0.0148511082, 0.0224177372, 0.0255826339, 0.0425253585, -0.0426431, 0.0063721812, -0.0373159535, -0.0028255717, 0.0455285981, 0.0345207043, 0.0070261932, -0.0301955137, -0.0191580299, 0.0080793602, -0.0127901193, -0.0055349953, 0.044782199, 0.0084045436, -0.0527192093, 0.0511273704, 0.0372630432, -0.0197163839, -0.0069063078, -0.0380797014, -0.0082922159, 0.1195674986, 0.0811914131, -0.0562614948, -0.0144166807, -0.0476046689, 0.0436567888, 0.0316664986, 0.0412613675, -0.0083833002, -0.0304440409, -0.0451912768, 0.0092878398, -0.0045216554, 0.0665929019, -0.0087926826, -0.0025093078, -0.0167157073, 0.009799365, -0.0242903363, -0.0556452237, 0.0305230264, 0.0064469683, 0.0138077512, -0.0549944267, -0.0149632329, -0.0129189249, 0.0036401663, -0.0264448468, 0.0145548088, 0.0061073811, -0.0275372714, -0.0208295248, 0.0056086122, 0.0230207369, 0.0019910559, 0.0494849347, 0.0149642471, -0.0273696762, -0.0137933614, 0.006195731, -0.0299198758, -0.0326624177, -0.0595102273, 0.0343848802, -0.0604751669, 0.0756945387, -0.0205778964, 0.0186066646, -0.0179342218, 0.0871753618, -0.0134439059, -0.0012700706, 0.0250626206, -0.0278770402, -0.0155878151, -0.0250207279, -0.0184770785, 0.0204381049, 0.0061295843, 0.0034169308, -0.0104627991, -0.0475359708, -0.0382720307, -0.0359986909, -0.062543124, 0.0199957173, -0.0320266411, 0.0088937273, 0.0362466797, -0.0074118404, -0.0315777361, 0.0171578899, 0.0410565287, 0.001651859, 0.0032929052, 0.0402133279, 0.0068233879, -0.000791306, -0.0315073691, -0.0280026458, 0.030656619, -0.0248158444, 0.0307199918, 0.0041049565, -0.0820801631, -0.0775511563, 0.036940068, -0.0297061708, 0.0162128154, 0.0073957546, -0.0324714519, -0.0264788158, -0.0278147534, 0.0874653608, 0.0706216842, 0.007926248, 0.0423559584, 0.0643887371, -0.0548039675, -0.0323753022, -0.0115896231, 0.0112224547, 0.0557442717, -0.0089631053, -0.0311378185, 0.0263698194, 0.0407199003, 0.0152411573, 0.0026270249, -0.0274432488, 0.0375601128, -0.0386576988, -0.0210498944, 0.0365738869, -0.0379541293, -0.019877376, 0.032310728, -0.0383606963, -0.0328492112, 0.0506857187, -0.0443621986, 0.0198126715, -0.0104127685, -0.0204913616, 0.0080374023, 0.0280478336, 0.0148534486, 0.0200374611, -0.028879812, -0.0342422426, -0.0197763909, 0.0202584527, 0.0144103477, -0.0567369387, 0.0275461189, -0.0461658053, 0.0009229945, 0.0021928425, 0.0056392695, -0.0254481379, -0.0345869474, -0.0212960336, -0.0005033402, 0.0067620385, -0.0022728122, -0.0447458699, 0.0162159577, 0.0194749217, 0.0536694899, -0.0462286882, -0.0033736308, -0.0108394558, -0.0003176871, 0.0526322611, -0.0306761712, 0.0443359576, -0.042202469, 0.0390121043, 0.0797443911, -0.0235486347, -0.0009498701, -0.0188405924, -0.0512089208, -0.0094751436, -0.0620928444, -0.0432875492, -0.0223809537, 0.0329432115, -0.0936531797, -0.0183632765, 0.1243964881, 0.0476285741, -0.0335920788, -0.0159935039, -0.0661908984, 0.0211402774, 0.0172365364, 0.0155578107, -0.0881457627, -0.0138684772, 0.0297423247, -0.0157464501, -0.0480271503, -0.0177982282, 0.0008474714, -0.0661249459, 0.0670581684, 0.0102498336, 0.0031811565, -0.0373721831, -0.0235118121, 0.0239808541, 0.0241921432, -0.0074207433, 0.0012117234, 0.0102331741, -0.0120631736, -0.0127077894, -0.0399007685, -0.0354837477, 0.0093917763, -0.0140765011, 0.0635428429, 0.0532467142, 0.0369970649, -0.0126599856, -0.0378483124, 0.0566821881, 0.00218991, -0.016950313, -0.0062957383, 0.0724881291, 0.008992333, 0.0174746905, -0.0140519412, 0.0086107999, 0.0395204686, -0.0225487724, 0.0168834198, 0.097437501, -0.0553624406, -0.0101782931, -0.0080505712, 0.0267816763, 0.0103480639, 0.0799457505, 0.0351500995, 0.0015243618, -0.0312230363, -0.0336746685, 0.0241776165, -0.0221336149, -0.0346630737, 0.0350374617, -0.0048268475, -0.0323907211, -0.0732052773, -0.0209428445, 0.050579749, 0.0070518409, 0.0240822285, 0.0701766536, -0.002309399, -0.0169014148, -0.0306520127, -0.0115956226, -0.0455958247, 0.013634068, -0.0320302807, -0.0062580225, 0.0150414789, -0.0023906163, -0.0092588197, 0.0242285579, -0.0722008124, -0.0653275996, 0.0535771325, 0.0078114565, 0.0213584825, 0.0303950161, -0.0327620767, -0.0578158908, 0.0305037796, 0.0442868248, -0.0428090729, 0.0049136304, -0.0014803277, -0.0259204395, 0.0008009879, 0.0307279043, -0.024210263, 0.0014331988, -0.0272966139, 0.0100412359, -0.0265436638, -0.0245711487, 0.0338421427, 0.0224048719, 0.0095114363, 0.013136941, -0.0120138265, -0.0471363738, 0.0180425774, -0.0325154662, -0.0418030992, -0.0151038738, 0.0279525332, 0.0170481242, -0.0302120708, 0.0159874614, 0.0206870604, -0.0357858799, 0.005680861, -0.0372022241, -0.0083479118, -0.0120062651, 0.0251497701, 0.0500325002, -0.0375012718, -0.0192263909, 0.028368108, 0.0033968878, 0.0344199911, -0.0312366504, 0.0706948489, -0.001424999, -0.0428737178, -0.0234045628, 0.0257599875, -0.0410793386, -0.0372710414, -0.0433320329, 0.0581731796, 0.050032936, -0.0060833422, 0.0805826932, -0.0452119224, -0.0237533152, -0.0171171352, 0.0341996588, 0.0556198619, -0.0366152376, -0.0226759594, 0.0261486694, -0.0402660221, 0.0067169359, 0.0587204248, -0.0368521437, 0.0737505779, 0.0278642811, -0.0485858321, -0.0261197351, -0.06062622, -0.0510870367, -0.005406613, -0.0325988717, -0.0394879431, -0.065684557, -0.011732772, -0.0080010863, 0.0130985016, -0.0380101688, -0.0045837783, -0.0311725363, 0.0723582059, -0.0209325664, -0.0345672406, -0.034415096, 0.0067586489, 0.0387336425, -0.0068329619, 0.0217069108, -6.912408572e-33, -0.0211863462, -0.0416535102, 0.0062259636, -0.005765744, -0.028175097, -0.0174248572, -0.0220509823, -0.0042939405, 0.017635012, 0.0264910422, 0.0014733528, 0.0361651443, 0.0279445294, -0.032773193, 0.0037488539, 0.0052176374, 0.0665543005, 0.021162983, -0.0039574369, 0.0402177237, 0.0425704308, 0.0151244113, 0.0725723132, -0.0735489801, 0.0394416638, -0.0139993727, -0.026864402, 0.0211475212, -0.0131354053, 0.0448308103, -0.0078896703, 0.0062860255, 0.022689322, -0.0526257195, -0.0334928446, -0.0223862212, -0.0261014346, 0.0166659355, 0.0045476081, 0.0226298161, 0.0202683583, -0.0507522039, 0.0434620045, -0.019198468, 0.0304163322, 0.0014204533, 0.0500224009, -0.0594077595, -0.0111593818, 0.0172033962, -0.0879119784, 0.0438229553, -0.0014967136, 0.0034053307, 0.0020397361, 0.0245508906, 0.0320222229, -0.0301416311, -0.0839025378, 0.0251497105, 0.0428666919, 0.0239285957, 0.0162454266, -0.036911834, -0.0070276959, 0.0608154833, 0.0304626394, 0.0290113557, -0.0180575494, 0.0038468856, 0.0214974657, 0.0663590208, 0.0120544434, 0.055189129, 0.0349963643, -0.0113525735, -0.0264651962, 0.0182861909, -0.0435738452, 0.0299296789, 0.0475022458, 0.0012754388, -0.0520309098, -0.0174107216, 0.000517527, 0.0182290468, -0.03483136, -0.0136650288, 0.0277520102, -0.0140593555, -0.0316550098, -0.0057089622, 0.0392701514, -0.0209206622, 0.0091615682, 0.0198496766, -0.040274106, 0.0374301597, -0.0154837761, 0.012989739, -0.0158233605, -0.0107559124, 0.0223130696, -0.0128163481, 0.0152093712, 0.0376777239, 0.0333770774, -0.0072412142, -0.0799443051, 0.0193177108, -0.0138269523, 0.0179257318, -0.0098951925, -0.0079081981, 0.0451567657, -0.0167188197, -0.0035189153, 0.0096345423, 0.0725285634, 0.033187747, -0.0245406162, 0.0167070087, -0.0300069097, 0.0017388151, -0.0129066007, 0.0180455912, -0.0361540988, -0.0216460321, 0.0210346319, -0.0631622598, 0.0092143686, -0.0021582574, 3.054e-7, 0.027417507, 0.0915535465, 0.0042889561, -0.0047064321, 0.0020790971, 0.0138314562, 0.0035347957, -0.0186887383, 0.0328400321, -0.0335563831, -0.0083574345, 0.007779913, 0.0556916147, 0.0738437399, -0.0876406133, -0.0002995133, -0.0285196453, -0.0144064976, -0.1023064107, -0.0541834794, 0.0279195029, 0.0535004735, 0.0231776275, -0.0134741561, -0.0077420683, -0.0653090328, 0.0429446921, -0.0192683749, -0.0347417854, 0.0548702851, 0.0579313412, 0.0453072079, 0.0110375891, 0.0383444615, -0.0216875933, -0.0109806582, -0.0039159548, 0.0441057198, -0.004341478, 0.0333014838, 0.0049124509, -0.0323143527, -0.0044175191, -0.0739030987, 0.085014157, -0.008347244, -0.004231933, -0.0314504504, -0.0394124202, -0.0170679148, 0.0234331582, -0.0189002939, -0.0104871094, 0.0307111889, -0.0030868214, 0.0165883992, -0.0293955524, -0.0322946161, -0.0134560168, 0.0128304195, -0.0092130471, -0.0315809511, -0.0071999291, -0.0335269496, -0.020908542, -0.0885687396, 0.0310383774, 3.425727804e-34, 0.034741465, 0.0114069656, 0.0284919403, 0.0325959064, 0.0572320558, 0.0066287788, 0.0169556811, 0.0115809739, -0.031616427, -0.0613137148, -0.0043502818 ]
http://arxiv.org/abs/2407.00487v1
http://arxiv.org/pdf/2407.00487v1
It's Morphing Time: Unleashing the Potential of Multiple LLMs via Multi-objective Optimization
2024-06-29T16:34:23
2024-06-29T16:34:23
Bingdong Li, Zixiang Di, Yanting Yang, Hong Qian, Peng Yang, Hao Hao, Ke Tang, Aimin Zhou
cs.CL
cs.CL
In this paper, we introduce a novel approach for large language model merging via black-box multi-objective optimization algorithms. The goal of model merging is to combine multiple models, each excelling in different tasks, into a single model that outperforms any of the individual source models. However, model merging faces two significant challenges: First, existing methods rely heavily on human intuition and customized strategies. Second, parameter conflicts often arise during merging, and while methods like DARE [1] can alleviate this issue, they tend to stochastically drop parameters, risking the loss of important delta parameters. To address these challenges, we propose the MM-MO method, which automates the search for optimal merging configurations using multi-objective optimization algorithms, eliminating the need for human intuition. During the configuration searching process, we use estimated performance across multiple diverse tasks as optimization objectives in order to alleviate the parameter conflicting between different source models without losing crucial delta parameters. We conducted comparative experiments with other mainstream model merging methods, demonstrating that our method consistently outperforms them. Moreover, our experiments reveal that even task types not explicitly targeted as optimization objectives show performance improvements, indicating that our method enhances the overall potential of the model rather than merely overfitting to specific task types. This approach provides a significant advancement in model merging techniques, offering a robust and plug-and-play solution for integrating diverse models into a unified, high-performing model.
It's Morphing Time: Unleashing the Potential of Multiple LLMs via Multi-objective Optimization: In this paper, we introduce a novel approach for large language model merging via black-box multi-objective optimization algorithms. The goal of model merging is to combine multiple models, each excelling in different tasks, into a single model that outperforms any of the individual source models. However, model merging faces two significant challenges: First, existing methods rely heavily on human intuition and customized strategies. Second, parameter conflicts often arise during merging, and while methods like DARE [1] can alleviate this issue, they tend to stochastically drop parameters, risking the loss of important delta parameters. To address these challenges, we propose the MM-MO method, which automates the search for optimal merging configurations using multi-objective optimization algorithms, eliminating the need for human intuition. During the configuration searching process, we use estimated performance across multiple diverse tasks as optimization objectives in order to alleviate the parameter conflicting between different source models without losing crucial delta parameters. We conducted comparative experiments with other mainstream model merging methods, demonstrating that our method consistently outperforms them. Moreover, our experiments reveal that even task types not explicitly targeted as optimization objectives show performance improvements, indicating that our method enhances the overall potential of the model rather than merely overfitting to specific task types. This approach provides a significant advancement in model merging techniques, offering a robust and plug-and-play solution for integrating diverse models into a unified, high-performing model.
[ -0.0222295504, 0.073844716, 0.0139996894, 0.0168386213, -0.0291013476, 0.0282226373, -0.0215123612, -0.0225936398, -0.0337112211, -0.0225387271, -0.0629902631, 0.0082892487, 0.0482930019, -0.019754393, 0.0345593616, -0.0198046286, 0.0601715632, -0.0572878718, -0.0635758713, -0.0068938797, -0.0302884318, 0.0254424643, 0.0234471485, 0.0433155745, 0.0287973471, 0.0196852293, -0.0065532639, 0.0283226259, 0.024087688, 0.0371389389, 0.0233786479, 0.0468536913, 0.0045766593, 0.0447847024, 0.0000020504, -0.0575678721, -0.024373563, 0.0004937897, -0.0153831393, 0.0010563463, 0.073168911, 0.0002799461, -0.0170089938, 0.0320586562, -0.0084904302, 0.0059874346, 0.0494927354, 0.0206268989, 0.0513050668, 0.062987186, -0.002387543, -0.013157499, 0.0236960016, -0.0204896517, -0.0182314478, -0.0324348658, 0.0412323996, -0.0019735279, -0.0094506145, -0.0228202716, -0.0031709541, 0.0284632854, -0.0232269038, 0.0018294801, -0.0065793996, 0.0062104282, -0.0091819586, -0.0381267816, -0.0392436907, 0.0430624895, -0.0730247572, 0.001486166, 0.0331696831, 0.0009114803, 0.0060381908, -0.0132363252, -0.0612514578, -0.0039831763, 0.0112573868, 0.0171742141, 0.008556853, -0.0275230668, 0.0439485796, 0.0218622908, -0.036088407, 0.0681151748, 0.0443010405, -0.0213909391, 0.0205957089, -0.0284185074, 0.0079663387, -0.0722092912, -0.0230756328, 0.0320358947, -0.0579563826, 0.0204225443, -0.0742305666, -0.0198058169, 0.0067361966, -0.0250093751, 0.0880785361, 0.0403508879, -0.0064090225, 0.0457879305, -0.0318012051, 0.0471851416, -0.0386161059, -0.0124729341, -0.0807319432, -0.0094417902, -0.0534326509, 0.0220875069, 0.014695311, 0.0199793503, -0.0422760807, -0.0176736098, -0.0419669151, 0.0164456386, -0.0157452188, 0.0056475271, 0.0535577573, -0.0098784659, -0.0106565319, -0.0116714984, -0.0053124456, 0.0240121167, 0.0276593771, 0.0124746021, -0.0033048135, -0.0120182121, -0.0094883991, 0.01295543, -0.0231485981, -0.0253043957, -0.0000860216, 0.0914164335, -0.0359546915, 0.028645793, -0.0282316189, -0.048780866, 0.0018806494, -0.0444473065, 0.0126250079, -0.0712504163, 0.0618373603, -0.0498265214, -0.0051347413, -0.0306271538, 0.0125794057, -0.0207827035, -0.0123921167, 0.0541591384, -0.0124102589, 0.0434819646, 0.0423554406, 0.0132422065, -0.0214099921, 0.1038220897, 0.0002828022, 0.0159658007, -0.000323991, 0.009432435, -0.0117740314, 0.0781709701, -0.0197459403, 0.0200064108, 0.0091839125, -0.0529078059, 0.0380553044, 0.0158985686, 0.0445998162, 0.0033147004, -0.0172990952, 0.0215284973, 0.0400924832, 0.0122643774, 0.0561530627, 0.0097037079, 0.024660781, -0.0090941414, 0.0066423332, -0.0073169149, -0.0431543179, 0.0180962998, -0.044634819, 0.0328643322, 0.0014025238, 0.1139790267, -0.0058870264, -0.0521311611, -0.0402996913, -0.0199120268, -0.0515734404, 0.0029288821, 0.04119711, 0.0008477788, -0.0914849341, 0.0589793287, 0.0117656952, -0.0483376496, -0.0142095517, -0.0514989868, -0.046913106, 0.027229609, 0.0165140498, -0.0018557125, -0.0623081587, 0.0143202543, 0.0025295266, 0.0183309484, 0.0561615676, -0.0063829687, 0.0333748236, -0.0642493293, -0.0590624176, 0.009576017, 0.0243641846, 0.0489605665, 0.0158317443, -0.0287718605, 0.0234983023, -0.0073730247, -0.0480503924, 0.0309539773, -0.0713225827, 0.0061251838, -0.0167575236, -0.0154867312, 0.0272305384, -0.0081530632, -0.0067949574, 0.0124227349, 0.0031028478, -0.00073785, -0.0357418433, 0.0172121413, -0.0154743986, -0.000859854, 0.0523812585, 0.0189779922, -0.0192590449, 0.0211111885, -0.0450350791, -0.0665320009, -0.0284458753, -0.0075556282, 0.0578479879, 0.0003609711, 0.0608257875, -0.0100975353, -0.0062083122, -0.0322692245, 0.0672979504, -0.0163880978, -0.0217678286, 0.0426860452, -0.0257757343, 0.0122631779, -0.0060035139, -0.0124111082, 0.0214445293, -0.0236518234, 0.0262768287, -0.0081119742, -0.0002138107, -0.0499326661, -0.0713606775, -0.1032697558, 0.0401239842, 0.0197085813, 0.0319575928, 0.0215682089, 0.0005561833, 0.0026227348, 0.0465325788, 0.0158750415, -0.0058603873, -0.0285254996, 0.0136604952, -0.009527253, -0.0089834398, -0.0270001907, -0.0590701513, -0.023077732, -0.0438912176, 0.0501734987, -0.0277802199, -0.0228624083, -0.0441833809, 0.0581475832, -0.0439365208, 0.0059390599, -0.0189424716, -0.0143390708, -0.011568442, -0.0182413049, 0.0750680342, 0.0709053501, -0.0205418784, -0.0180612113, 0.0909402445, -0.062128298, -0.039492812, 0.0083896564, 0.0353643484, -0.028927831, -0.0246074703, -0.0494006611, 0.0078049814, 0.075045757, -0.0153404986, -0.0081661483, -0.0356183983, -0.0087186452, -0.0321324356, -0.0378598049, -0.0249592811, -0.0145458495, -0.0289434288, 0.0523611121, -0.038020052, -0.0424781106, 0.0293893889, -0.0166055094, -0.0080393068, -0.0086020622, -0.014357782, -0.0510478653, -0.0049997484, -0.0302488375, 0.0098394146, 0.0287134796, -0.0262347851, -0.0859860107, -0.0073447744, 0.0433833189, -0.0226166863, 0.0711233169, -0.0500487871, 0.0002147727, -0.0133879976, -0.027818596, -0.0182728581, 0.0120245703, -0.0259339642, 0.0182054136, -0.0001447187, -0.0511684567, -0.0775379539, -0.0259256344, -0.0166793261, 0.0219322965, -0.0342987739, -0.0123938946, -0.0319721363, -0.0002067012, 0.0508199483, 0.0298271403, 0.0214003716, -0.0471137092, 0.0375784449, -0.0027550359, 0.0587819256, -0.0049941503, -0.0522687696, 0.0026932417, 0.0657748133, -0.0437056459, -0.0474963523, 0.0030747766, 0.0166468769, -0.0386197083, 0.0493640192, 0.1136910543, 0.0184523109, 0.0000242283, -0.0182165336, -0.039479427, 0.0586547963, 0.0225683227, 0.0409405939, -0.0044605839, -0.0292807203, 0.0182226803, -0.0210832749, 0.0133250551, 0.0012937869, -0.0371072479, -0.0953177735, 0.0045748083, 0.0476953089, -0.0124667194, 0.0576171577, 0.0097010545, 0.0153056793, -0.0407618806, 0.0077723991, 0.0071558109, -0.0152619965, -0.0451108925, -0.0121883024, -0.0030502849, -0.0295649096, -0.0006845586, -0.0109518981, 0.0347012505, 0.0519018397, 0.0219362136, 0.0066490504, -0.0197311174, 0.1078095511, 0.0469685756, -0.0020839919, -0.012995081, 0.0149467271, 0.0164914671, 0.0058206175, -0.001121012, 0.0045378534, -0.022010494, -0.0323409624, -0.0127892429, 0.0589420646, 0.0282400865, -0.0120601011, -0.0093313139, -0.0239701644, -0.0247054026, 0.0517845936, -0.0246807076, -0.0382642187, -0.0114258295, 0.0070406827, -0.0524026044, -0.0189720616, -0.0113325082, 0.0040880749, -0.0300105624, -0.0397112072, -0.0451798625, 0.0058116685, 0.0144147379, 0.0244734846, 0.0210105497, 0.0296605211, -0.0155922491, -0.0081596216, -0.0420204662, 0.0290835164, -0.0138117513, 0.0135626392, -0.0576099232, 0.0215710513, 0.0422069468, -0.0009995513, -0.0130229378, 0.0176727399, -0.133516863, -0.0802334845, -0.0246209279, 0.0449870341, 0.0177987497, 0.0213276837, 0.0049316217, -0.0491440147, 0.0326678492, 0.0184554663, 0.0284955353, 0.0429685451, 0.0528953187, -0.0005123243, -0.0011008732, 0.0200678222, -0.0562926382, -0.0162425153, -0.0010088468, -0.0149965398, -0.0462757386, -0.0363681465, -0.0059180441, -0.0020992649, 0.0076467181, -0.0368072391, -0.0337839052, -0.0366042554, -0.0016145365, -0.0127468929, -0.0280777868, -0.0322220325, 0.0271445047, 0.0336679295, 0.0146160303, 0.0587600805, 0.0507684238, 0.0324797705, -0.0235102233, -0.0185800828, -0.009965824, -0.0236163475, -0.0167479049, 0.0234248582, 0.0199099164, -0.0027818228, 0.035698209, -0.0166425798, 0.0101337042, -0.0297748931, 0.0115564605, -0.0066297669, 0.0304754321, -0.0216288511, 0.0417914428, -0.0581486113, -0.0720446259, -0.0460490696, -0.0059216269, 0.0809786767, 0.0050171833, 0.1003539488, -0.0177533664, -0.0095281852, -0.0237986147, 0.0232761391, -0.0226548221, 0.0265553594, 0.0319575258, 0.0187713541, 0.0076968931, -0.0400658958, 0.0488167331, -0.0017218206, 0.0261932369, -0.0185142476, 0.0221655592, -0.0252812896, -0.0388301499, 0.050376825, 0.0127238818, -0.0160215311, -0.0503770895, -0.0332908034, -0.0376543961, 0.0254755691, 0.0299309082, -0.0324381776, 0.0178639274, 0.0377601795, 0.0321527719, -0.0373337604, 0.0020637126, -0.0070597571, -0.0771054476, 0.0008580654, -0.0341007523, 0.0224947706, -6.160745322e-33, -0.0334863923, -0.0395956933, 0.0286552943, -0.0346861221, -0.0413563065, -0.0044280919, 0.0145348422, 0.0158280581, -0.021661479, -0.0361974388, -0.0050658262, 0.0044823936, 0.0176735055, -0.0211786143, 0.0224201791, 0.0169563722, 0.0332194082, 0.0212102309, -0.0158283524, -0.0481640473, -0.018494498, 0.0185611751, 0.025041448, -0.037236847, 0.0056365682, 0.0380842835, -0.0430117697, 0.024247352, 0.0044737528, 0.0714096725, 0.0154551556, 0.0131175388, 0.0009219375, -0.0304297414, -0.0621649809, 0.0027280899, -0.0062790178, -0.0497588031, 0.063316077, 0.0031025421, -0.0200216826, -0.0547002219, 0.042661503, 0.0255928133, 0.0085008983, -0.0739167929, 0.0357366093, -0.0085215, -0.0179713462, 0.0074901688, -0.0701941922, 0.0120889675, 0.0222453866, -0.0177080277, 0.0665171519, 0.0111717898, 0.009794699, -0.0085118916, 0.0030880012, 0.0354453102, -0.0023418649, 0.0738464147, 0.1282291114, 0.0851101652, -0.0280449819, 0.0320285223, -0.0085427975, -0.0064550098, 0.0143431798, -0.0272888094, 0.0347136259, 0.1011351869, 0.0364925601, 0.0269596726, -0.0066322978, 0.03010552, 0.0046563772, 0.0703290254, 0.023075344, 0.0065388, -0.0155436797, 0.0608953461, 0.0222933367, -0.003249648, -0.0466329791, 0.0254557133, -0.0423707142, 0.0031718153, 0.0176085569, -0.0070173936, 0.0042057754, -0.0179434456, 0.0259675998, -0.046914991, 0.0244738124, 0.0145860855, -0.0272025615, 0.0414888449, -0.0119381333, 0.0302856117, -0.0085987011, -0.04805867, 0.0211742036, 0.0369287431, 0.0474714153, 0.0010076571, -0.0348880477, 0.0130378604, -0.0717905909, 0.0168424882, -0.0277123116, -0.028493451, 0.0262596663, 0.0047264816, 0.0673770607, -0.0259791519, 0.00031106, 0.0077487486, 0.0340125486, -0.0185158327, -0.0485189483, 0.0304716583, 0.0083402013, 0.0351077951, 0.0137999682, 0.0227131583, -0.0003728289, -0.0117279924, 0.0616907738, 0.017950505, -0.0550075099, 0.0385779254, 2.694e-7, 0.0372898877, 0.0183717012, -0.0212078318, 0.0357252359, -0.0214070082, 0.0345624685, -0.0346325263, 0.0003772549, -0.009315514, -0.0218392704, 0.004460365, 0.0245619435, 0.0712797865, 0.0068838475, -0.0758373961, -0.0430184454, -0.0003668032, 0.0387644619, -0.0532616787, -0.0141856344, 0.0466068275, 0.0749579221, 0.0199653916, -0.0183668323, -0.046903871, -0.0029762837, 0.0616684072, -0.0427423641, -0.003945353, 0.0638436228, -0.0254870486, -0.0091900723, -0.02945319, 0.0161221679, -0.0267682448, 0.0085177589, 0.0227846801, 0.0910339728, -0.0173485912, -0.0306870118, 0.0231887009, 0.0365431271, -0.0307701007, -0.0251687132, 0.0472661331, -0.0109287715, -0.0133580249, -0.0748432279, 0.0353493206, 0.0091876602, 0.011349679, -0.019799076, 0.0107273469, 0.0378184877, 0.0147497943, 0.0033413074, -0.0388977267, -0.0637922734, -0.0356103331, 0.0554730371, -0.0491204038, -0.0673952699, -0.029709436, 0.0036712429, 0.0402075201, -0.0700319111, -0.0420190506, 2.95090959e-34, 0.0052906512, -0.033156164, 0.0519399904, 0.0864491761, 0.0034745736, 0.0056375726, -0.0662941262, 0.0470527336, -0.0017471247, -0.0360794626, -0.0077113668 ]
http://arxiv.org/abs/2407.00486v1
http://arxiv.org/pdf/2407.00486v1
Towards Massive Multilingual Holistic Bias
2024-06-29T16:26:27
2024-06-29T16:26:27
Xiaoqing Ellen Tan, Prangthip Hansanti, Carleigh Wood, Bokai Yu, Christophe Ropers, Marta R. Costa-jussà
cs.CL
cs.CL, I.2.7
In the current landscape of automatic language generation, there is a need to understand, evaluate, and mitigate demographic biases as existing models are becoming increasingly multilingual. To address this, we present the initial eight languages from the MASSIVE MULTILINGUAL HOLISTICBIAS (MMHB) dataset and benchmark consisting of approximately 6 million sentences representing 13 demographic axes. We propose an automatic construction methodology to further scale up MMHB sentences in terms of both language coverage and size, leveraging limited human annotation. Our approach utilizes placeholders in multilingual sentence construction and employs a systematic method to independently translate sentence patterns, nouns, and descriptors. Combined with human translation, this technique carefully designs placeholders to dynamically generate multiple sentence variations and significantly reduces the human translation workload. The translation process has been meticulously conducted to avoid an English-centric perspective and include all necessary morphological variations for languages that require them, improving from the original English HOLISTICBIAS. Finally, we utilize MMHB to report results on gender bias and added toxicity in machine translation tasks. On the gender analysis, MMHB unveils: (1) a lack of gender robustness showing almost +4 chrf points in average for masculine semantic sentences compared to feminine ones and (2) a preference to overgeneralize to masculine forms by reporting more than +12 chrf points in average when evaluating with masculine compared to feminine references. MMHB triggers added toxicity up to 2.3%.
Towards Massive Multilingual Holistic Bias: In the current landscape of automatic language generation, there is a need to understand, evaluate, and mitigate demographic biases as existing models are becoming increasingly multilingual. To address this, we present the initial eight languages from the MASSIVE MULTILINGUAL HOLISTICBIAS (MMHB) dataset and benchmark consisting of approximately 6 million sentences representing 13 demographic axes. We propose an automatic construction methodology to further scale up MMHB sentences in terms of both language coverage and size, leveraging limited human annotation. Our approach utilizes placeholders in multilingual sentence construction and employs a systematic method to independently translate sentence patterns, nouns, and descriptors. Combined with human translation, this technique carefully designs placeholders to dynamically generate multiple sentence variations and significantly reduces the human translation workload. The translation process has been meticulously conducted to avoid an English-centric perspective and include all necessary morphological variations for languages that require them, improving from the original English HOLISTICBIAS. Finally, we utilize MMHB to report results on gender bias and added toxicity in machine translation tasks. On the gender analysis, MMHB unveils: (1) a lack of gender robustness showing almost +4 chrf points in average for masculine semantic sentences compared to feminine ones and (2) a preference to overgeneralize to masculine forms by reporting more than +12 chrf points in average when evaluating with masculine compared to feminine references. MMHB triggers added toxicity up to 2.3%.
[ 0.0405130163, 0.0853073671, -0.0229158681, -0.0055097407, -0.008126677, 0.0134891057, 0.052867122, -0.0405938998, -0.0100714453, -0.0398158468, -0.0165082216, -0.0710971504, 0.0254265703, -0.0168306883, 0.0679787919, -0.0341977179, 0.0148931481, 0.0032837007, -0.0054732319, -0.0321992114, 0.0101202512, 0.0669769868, 0.0360720865, 0.0458014198, -0.050442297, 0.0005422465, 0.0056609223, 0.0403324738, 0.0367431827, -0.0128593259, 0.0274493862, 0.0616916269, -0.0251481906, 0.0470066071, 0.0000022062, -0.0676366463, -0.0021353276, 0.0165401474, 0.0280302428, -0.0064687999, 0.0769799799, -0.0571849793, -0.0158773176, 0.0111067919, -0.0050311307, 0.0056502251, 0.0409914814, 0.0048094238, 0.023413321, 0.0311788395, -0.0249784775, -0.0070996187, -0.0495386757, -0.033161886, -0.0143024269, 0.0084577855, -0.0005272636, -0.0280697867, -0.0448647439, 0.0032056591, -0.0035276248, 0.0218136944, -0.0030404534, -0.0245724432, -0.0080880774, 0.0045724846, -0.0412487537, -0.0835399926, 0.028192386, 0.0688826442, -0.0328518376, -0.0005035561, 0.0093493136, -0.0069229626, -0.0013412343, -0.0356066227, -0.0221162606, 0.069251664, -0.0066300859, -0.015956929, 0.0151930787, -0.0269122757, 0.000154372, 0.038041357, -0.0003469805, 0.0405217223, 0.0431188382, -0.0251550972, 0.0380067565, 0.0331702009, -0.0149939694, -0.0617921539, 0.0307278521, -0.0233830102, -0.0466159135, 0.0094217956, -0.0507891364, -0.0521869585, 0.0664987266, -0.0907166004, 0.0196690094, 0.0396997221, -0.0149457706, -0.0126013793, -0.023708038, 0.0120804915, -0.0052631944, -0.0485862084, -0.0716597214, -0.0306605827, 0.0279718228, 0.0048690671, -0.0491875932, -0.0217130221, -0.0625198409, 0.0386501551, -0.0887795314, 0.0169354379, -0.0243739616, -0.0257272832, -0.0007852478, 0.0207324848, -0.0601964779, 0.0130141089, 0.0226588789, 0.0445390865, -0.0765453875, 0.0048891837, -0.0105205756, -0.0899547562, -0.0003904488, 0.0551624112, 0.0003927191, -0.0401307158, -0.0071994332, 0.0483791381, -0.0156177292, 0.0048292875, -0.011361164, -0.066620335, -0.0587488115, -0.0575906076, -0.0031944537, -0.068029739, 0.053969495, 0.0094468072, -0.0047757868, -0.035022568, 0.0215195157, 0.0401478186, -0.0282099787, 0.023799764, 0.0306853317, 0.0017216927, 0.0417417996, -0.0276186224, 0.0059340857, 0.1017594635, 0.0492894202, 0.0331381559, 0.0506424829, 0.0222448464, -0.0314003937, 0.0622640289, 0.0045767212, 0.0436275862, -0.0201134905, -0.0105939275, -0.0188149922, 0.0700245202, 0.0822841749, 0.0379395895, 0.0077737062, 0.0237127859, 0.0715687498, 0.0242776629, -0.0201957468, 0.0532619283, 0.0907508135, 0.0171671845, -0.0366167873, -0.0123739587, -0.037093021, 0.0071978341, -0.0117845125, -0.0048531061, 0.0021857817, 0.0703858584, 0.0041589187, -0.0348990746, -0.0067789806, 0.027798038, -0.0065184333, -0.0095638875, 0.0078066885, 0.0347873271, -0.0060420651, 0.0744062662, 0.0416926742, -0.0813496038, 0.0146367745, 0.0157456845, -0.0022853652, 0.0551807396, -0.0073077204, 0.0079951258, -0.0328930542, -0.0173956752, 0.0004080024, 0.0627885535, 0.056690786, 0.0011011044, 0.0396845639, -0.0690788627, -0.0001590064, 0.0263645742, 0.0090859411, 0.0518455282, 0.0275167525, 0.0544628017, 0.0436287709, -0.033331234, -0.0694690272, 0.0295268502, -0.0155881792, 0.0033663765, 0.0659933463, 0.0136659583, 0.0219633821, 0.014593442, -0.0228462499, 0.0036592195, 0.0051544229, -0.0323218703, -0.0050919927, 0.0510344841, -0.0200965777, -0.0185520146, 0.0101426821, -0.0559389256, -0.062091276, -0.0154287089, -0.0125660254, -0.0222006142, 0.0365875475, -0.0418010689, -0.0522076078, -0.0300986134, 0.0125138592, 0.0275233816, 0.0630683452, -0.0324823521, 0.0394541435, 0.0119048618, -0.0393864661, 0.0035509206, -0.0452193767, 0.0241217837, -0.0840757638, -0.0192164537, -0.0064551309, -0.0081533128, 0.0050949575, 0.0587556735, 0.0307280757, -0.0346404612, -0.0405439436, -0.0842652619, 0.0024109117, -0.0134021612, 0.0130030196, 0.0154054025, 0.0227658339, -0.0227626543, 0.0057304185, -0.013130934, -0.0162161794, 0.0177886039, 0.0535361096, 0.0432935879, -0.0345056728, 0.0357905589, -0.0150259091, -0.0155293709, -0.0300275404, 0.0426380374, 0.0382037796, 0.0041923304, -0.0361298472, -0.018611066, -0.0435704812, -0.0657671988, 0.0228896756, -0.0573694892, 0.0081648035, 0.0232371073, 0.080533281, 0.0673261657, 0.0074482467, 0.0118112424, 0.0559379049, 0.0128198117, -0.0142164463, -0.000961897, 0.0136985742, 0.019071864, 0.013848708, -0.0731320605, 0.0001190189, -0.0006230311, 0.0287297294, -0.0310558714, -0.0419319384, 0.0241205133, -0.0339950137, -0.0637467355, -0.0350724421, -0.001778277, 0.0037845187, 0.0384759344, -0.0242971778, -0.0311025586, 0.0291752014, 0.0105710123, -0.015602963, -0.0251569841, -0.0054281461, -0.0326863565, 0.0181810446, -0.0139332237, 0.0358821936, 0.0290867183, 0.0024660125, -0.0713872612, 0.0075363675, 0.0154644661, -0.0083671296, 0.031136943, -0.0781667307, -0.0265278704, -0.0074168956, -0.0499821343, -0.0271641836, -0.0323470421, -0.0055613536, -0.0121996626, 0.0122558791, -0.0251518954, -0.0253769048, -0.0315362029, -0.000709941, 0.0196583122, -0.0536118299, 0.0057076202, -0.0099263089, 0.0139012961, 0.0459112115, -0.0011333694, 0.0069023706, -0.0327872038, -0.0081915893, 0.0379062705, -0.031215949, 0.0093642948, -0.0052220239, 0.0403225459, 0.0317785032, -0.0136861894, -0.0211779885, -0.0081503419, 0.0584638007, -0.0313847326, 0.0150404219, 0.0916566625, 0.0072734002, -0.0166357532, 0.0284536947, -0.007704427, 0.0705503002, 0.0236030389, 0.0253895447, -0.0825436935, 0.0030740239, 0.0328621753, 0.0074575581, -0.0362075754, -0.0219018329, -0.0227962751, -0.1286132187, 0.0329262316, 0.0326417759, -0.0581342466, 0.0076980018, 0.0232226104, -0.0378017724, -0.038743075, 0.0165107399, -0.0071994332, 0.0065197959, -0.0036269829, 0.005981476, -0.024187766, -0.0505006649, 0.0071133198, -0.0552372597, 0.0170228332, 0.0088155614, 0.0817774683, -0.0102590052, 0.0172523875, 0.0431896932, 0.0018235288, -0.0077859028, -0.0226932224, 0.0445172191, -0.0040400764, -0.025631059, -0.046130497, 0.0555344447, 0.0068786922, -0.0008620244, 0.0214508995, 0.0276958589, 0.0426882058, -0.0160337351, -0.0259819962, 0.0077039506, 0.017706465, 0.0652167425, 0.0031312453, -0.0588983633, -0.0156587195, -0.0307961442, -0.003256677, -0.0513911657, -0.0254497994, 0.0121088037, -0.0459107533, -0.0537443683, -0.0726913288, -0.0747152492, 0.023629453, 0.0259055849, 0.0167500544, -0.0761032924, -0.0140640764, 0.0194734186, -0.044996962, 0.0475234017, 0.0074691963, 0.0254245624, -0.004555284, -0.0209717192, -0.02011686, -0.0368955918, 0.0068473881, 0.0564428568, -0.0437621921, -0.0770347863, 0.0191411711, 0.0461228304, 0.0141659006, 0.060202118, 0.0036443502, -0.0585170612, 0.0500042811, 0.0359444618, -0.0095504615, 0.0190945156, 0.0259862132, 0.0353566073, -0.0037163175, 0.0615398064, -0.031537462, 0.0119987074, -0.0202762298, 0.0484325513, -0.0007051947, -0.0452979989, 0.0224252399, 0.0547898374, -0.0318418555, -0.110815078, 0.0249673612, -0.0363731086, -0.0192738529, -0.0445664264, -0.065239504, -0.0248032529, -0.0161972642, 0.0302040912, 0.0267615486, -0.0082977619, 0.0114759998, -0.0231877826, -0.0040630577, 0.0075941808, -0.0085242884, -0.0089536821, 0.054445833, 0.0081737824, 0.0482416227, -0.0000061218, 0.0036848551, -0.0570112281, 0.0357971676, -0.0220128596, -0.0022300691, -0.0125757335, 0.0029360794, -0.0238699131, 0.0148691013, 0.0045700916, 0.0442315564, -0.0366064385, -0.010159906, 0.0431957804, -0.0288870241, 0.1186372861, -0.0162243731, -0.0246218573, 0.0036787435, 0.0360021107, -0.0071408874, -0.0316548906, -0.0246845875, -0.0106380964, -0.0180088431, -0.0348938294, 0.0575056933, 0.0237078704, 0.0284660384, -0.0042701531, -0.0293316357, -0.0250274688, -0.0222059544, -0.0150970034, -0.0490088426, -0.0288108457, -0.0166579988, -0.0776740685, -0.0561228283, 0.0173450708, -0.0161845107, 0.0273664407, 0.0087881032, 0.017191777, 0.058143571, -0.0370218754, -0.0370039195, -0.0614086315, 0.0174182951, 0.0010289104, 0.0052480958, -0.0450747758, -6.804459252e-33, -0.0262087602, -0.0265693814, -0.0202841014, -0.0722707063, -0.0441801026, -0.0173540022, -0.0302117504, 0.0054409015, 0.0273217242, 0.0661864355, 0.0193129349, -0.0191994738, 0.0275543295, 0.0271951966, 0.0735020861, 0.0489559695, 0.0574979112, 0.011572239, -0.0158260353, -0.0129740248, 0.024494281, 0.0185641013, 0.0554507449, -0.0252168458, 0.0586991422, 0.0025494141, -0.0273325797, 0.0115228584, -0.0086155338, 0.0178126413, 0.0060278717, 0.0766653419, 0.00914439, 0.0172472112, -0.0001275708, 0.0373160914, -0.0833335668, -0.0406741947, 0.0078851413, 0.0432043858, 0.0162690431, -0.06603273, 0.0371920504, -0.029973058, -0.0172044057, -0.0253460519, 0.0359150693, -0.0004451491, 0.0158135407, -0.0202489104, -0.0813169703, 0.0102286777, -0.0314573608, 0.0312468614, -0.02189897, 0.0678324178, -0.0093269926, 0.0071673295, -0.0294763595, 0.0487299673, -0.0453434996, -0.0236563347, 0.028626509, 0.0103729293, 0.010637857, 0.0137391612, 0.0378975123, 0.0187147763, -0.0079521332, -0.0176743194, 0.0238112938, -0.024854647, 0.0101663182, 0.1026409268, 0.0418228954, -0.0015006262, -0.0689759552, -0.0107924137, 0.0122521678, 0.0442433208, 0.0099824546, -0.0346139856, -0.0370636024, -0.0294645876, -0.0230243057, -0.0699786171, -0.0090765199, -0.0110897943, 0.0145277716, -0.0008771963, -0.0432600304, 0.011639026, 0.0132007273, -0.0240756534, 0.0101290802, -0.0025509316, -0.0371168219, -0.0257083401, 0.0299715046, 0.034198802, -0.0040001818, -0.0164921246, 0.0078246994, 0.0291903578, 0.0281494502, 0.0030437708, 0.0412177965, 0.0210764073, -0.0674237162, 0.019538736, -0.0354413092, 0.0203392543, -0.0009283829, 0.0187687166, 0.0106614484, 0.0111699589, -0.0191376023, -0.0034685195, 0.0500989929, 0.0702813342, -0.0200478937, 0.0037724162, 0.0206452832, 0.0406845622, -0.0271767601, 0.0145290093, -0.0178239886, -0.0097578028, 0.0873826891, -0.0649080351, -0.018165648, -0.0493451543, 2.99e-7, 0.0105933314, 0.0653699487, 0.0027352765, 0.0252596624, 0.0178569444, 0.0126182502, 0.0176015738, 0.04138688, 0.0206495356, 0.0542069562, -0.0002986788, 0.003323226, 0.0426693298, 0.0511530042, -0.0846317559, -0.0094825542, -0.0650283992, 0.0115912613, -0.0444404818, 0.0156431962, 0.006633787, 0.0707881376, 0.0086019365, -0.0105442442, -0.0149917379, -0.0046347543, 0.0446508415, 0.0178769231, -0.0079726344, 0.0209557172, -0.0036162292, -0.0018100464, 0.0018933172, 0.0078245513, -0.0200864933, -0.0089808954, 0.0384355858, 0.0374684148, -0.0092665348, 0.0070723542, 0.0223309528, -0.0191936363, -0.0270366333, -0.0570596345, 0.0467099957, -0.0117605692, -0.0376056507, -0.0317682624, -0.0186490808, 0.0313392133, 0.055672057, -0.0490144528, -0.0256702583, 0.023809202, 0.0487968549, 0.0015781579, -0.0172893554, -0.0356434025, -0.035308212, 0.0063970559, -0.0141210947, -0.0324355327, 0.0008025904, 0.0141114872, 0.0046856026, -0.0380793884, 0.0135293249, 2.634775078e-34, 0.034173958, 0.0141990017, 0.0106892549, -0.053874094, 0.0255382415, -0.0136448015, -0.0206267573, 0.0251874886, 0.0462406427, -0.0055154976, -0.0402634852 ]
http://arxiv.org/abs/2407.00476v1
http://arxiv.org/pdf/2407.00476v1
Large Language Models for Power Scheduling: A User-Centric Approach
2024-06-29T15:47:28
2024-06-29T15:47:28
Thomas Mongaillard, Samson Lasaulce, Othman Hicheur, Chao Zhang, Lina Bariah, Vineeth S. Varma, Hang Zou, Qiyang Zhao, Merouane Debbah
cs.CL
cs.CL, cs.SY, eess.SY
While traditional optimization and scheduling schemes are designed to meet fixed, predefined system requirements, future systems are moving toward user-driven approaches and personalized services, aiming to achieve high quality-of-experience (QoE) and flexibility. This challenge is particularly pronounced in wireless and digitalized energy networks, where users' requirements have largely not been taken into consideration due to the lack of a common language between users and machines. The emergence of powerful large language models (LLMs) marks a radical departure from traditional system-centric methods into more advanced user-centric approaches by providing a natural communication interface between users and devices. In this paper, for the first time, we introduce a novel architecture for resource scheduling problems by constructing three LLM agents to convert an arbitrary user's voice request (VRQ) into a resource allocation vector. Specifically, we design an LLM intent recognition agent to translate the request into an optimization problem (OP), an LLM OP parameter identification agent, and an LLM OP solving agent. To evaluate system performance, we construct a database of typical VRQs in the context of electric vehicle (EV) charging. As a proof of concept, we primarily use Llama 3 8B. Through testing with different prompt engineering scenarios, the obtained results demonstrate the efficiency of the proposed architecture. The conducted performance analysis allows key insights to be extracted. For instance, having a larger set of candidate OPs to model the real-world problem might degrade the final performance because of a higher recognition/OP classification noise level. All results and codes are open source.
Large Language Models for Power Scheduling: A User-Centric Approach: While traditional optimization and scheduling schemes are designed to meet fixed, predefined system requirements, future systems are moving toward user-driven approaches and personalized services, aiming to achieve high quality-of-experience (QoE) and flexibility. This challenge is particularly pronounced in wireless and digitalized energy networks, where users' requirements have largely not been taken into consideration due to the lack of a common language between users and machines. The emergence of powerful large language models (LLMs) marks a radical departure from traditional system-centric methods into more advanced user-centric approaches by providing a natural communication interface between users and devices. In this paper, for the first time, we introduce a novel architecture for resource scheduling problems by constructing three LLM agents to convert an arbitrary user's voice request (VRQ) into a resource allocation vector. Specifically, we design an LLM intent recognition agent to translate the request into an optimization problem (OP), an LLM OP parameter identification agent, and an LLM OP solving agent. To evaluate system performance, we construct a database of typical VRQs in the context of electric vehicle (EV) charging. As a proof of concept, we primarily use Llama 3 8B. Through testing with different prompt engineering scenarios, the obtained results demonstrate the efficiency of the proposed architecture. The conducted performance analysis allows key insights to be extracted. For instance, having a larger set of candidate OPs to model the real-world problem might degrade the final performance because of a higher recognition/OP classification noise level. All results and codes are open source.
[ 0.0054508033, 0.0458119921, -0.0135851959, 0.0400565751, 0.0163765904, -0.0221990235, 0.0209414214, -0.0356582776, -0.0251647756, -0.0456239954, 0.0075787418, -0.0065173707, -0.0267286617, -0.0155742625, 0.0111058755, -0.0252308082, 0.0001992382, -0.0179522019, 0.0360788442, 0.0178442895, 0.0183267724, -0.0293431524, 0.0179110412, 0.0263952222, -0.0379285254, -0.0094540836, -0.0187284127, -0.0063813073, 0.0235862508, 0.0031965072, 0.0093286075, 0.0323178098, 0.0166591872, 0.0463014282, 0.000002157, -0.0468361415, -0.0273454469, 0.0082063489, -0.0354825854, -0.0094840033, 0.0299343616, 0.0491921417, -0.0314868055, 0.0197142065, -0.0091491928, 0.0302340649, 0.089515835, 0.0169411507, 0.0779482275, 0.0496981703, -0.0088882968, -0.0014808822, -0.0083532622, 0.0064940904, 0.0032649843, -0.0176662318, 0.0383352488, -0.0089358892, 0.0223456807, -0.0508538298, -0.001929209, 0.0000656849, -0.0009149399, 0.0108985715, 0.011102193, 0.0168876648, -0.0525411293, 0.0242121648, -0.076251857, 0.0166082587, 0.0142149311, -0.0054944791, 0.0490395837, 0.0168883018, -0.0524923578, -0.0394475125, -0.0066361539, -0.0003406446, -0.0157359876, -0.0054489844, -0.0251013041, 0.0254553761, 0.0078144539, 0.0183348507, -0.0421425402, 0.1069057509, 0.0025357818, 0.0086354734, -0.0055645951, -0.0024131208, 0.0133606158, -0.0630553216, 0.0309517533, 0.0657402724, -0.0595887415, -0.0213142298, -0.0027463187, -0.0080739893, -0.042162776, -0.0413390882, 0.0703404248, 0.0018634711, 0.0235302206, 0.0307016503, 0.0245258082, 0.0469139367, -0.0425504632, -0.0379609987, -0.0537403375, 0.0129449181, -0.0035457336, -0.0241672583, -0.0587917306, 0.0035590946, -0.0749395266, 0.0104339318, -0.0219433475, 0.034748394, -0.0359120592, -0.0136379218, -0.0167790651, -0.0242610984, 0.0100816675, 0.0020658665, -0.0201670676, 0.0002985656, -0.0271140989, 0.0356329679, -0.0300828628, -0.0687184185, 0.0327300504, 0.0264158752, -0.0458999723, 0.0109867221, -0.0208931323, 0.0787900984, 0.0034965293, -0.0146630546, -0.0383646712, -0.0633704066, 0.0476039127, -0.0612740256, -0.0412868932, -0.0627681687, -0.0001065271, -0.0381389521, 0.004624553, 0.0089998301, -0.0159119945, -0.0005027499, 0.0324517675, 0.045511134, -0.0067207422, 0.0452910326, 0.0772345737, -0.0157698952, -0.0174726564, 0.0406914689, 0.0550189875, 0.0058721961, 0.0030825611, -0.0415618271, 0.0219496414, 0.0233111046, 0.008252915, -0.0117719229, 0.0287736487, -0.0291582402, -0.0218699519, 0.0048424029, -0.018064959, 0.0356039964, -0.0016391204, -0.0122072194, 0.062551938, 0.0553689897, 0.0107499221, 0.0116247982, -0.0173423681, 0.0467612147, -0.0115800966, -0.0863566473, -0.0286775585, 0.0340809412, -0.0409365036, -0.0097405743, 0.0446025431, 0.0233745947, 0.006843131, -0.0327252671, 0.0169316456, -0.0564682819, -0.0079436973, 0.0692386255, 0.0039744363, -0.0399070531, -0.0545927137, 0.0307008624, -0.0050493577, -0.0076091043, -0.0052290745, -0.0724142641, 0.0346966311, 0.0654028356, 0.0372452028, -0.0004136843, 0.0115103042, 0.0053153685, -0.0112900585, 0.0086598014, 0.0492873229, -0.0178966839, -0.0349295214, -0.0165340248, -0.021348089, 0.0349817015, -0.0003355915, 0.0138373068, -0.0350684896, -0.0111159096, -0.0102703515, 0.0003298758, -0.0238338578, 0.0212594569, 0.0377225131, -0.0424513854, 0.010698352, 0.0474342182, 0.0492631756, 0.0163769796, -0.0049130586, 0.0135575337, 0.0230771508, -0.0606923178, 0.0025232048, 0.0244894065, -0.0335976221, 0.0824928805, 0.0553380884, 0.0127641642, -0.0042745396, 0.0434956104, 0.0232605562, -0.0474815816, -0.0127005847, -0.0737291053, 0.0336255394, -0.0385575928, -0.0044526272, 0.0079901936, 0.0034038997, -0.0345959738, 0.0367751978, 0.0759783536, -0.0210223496, 0.0572678447, 0.0463554747, -0.0169349778, -0.0481346697, -0.0297555551, 0.0179815106, -0.0112955067, 0.0116340369, -0.0302439239, -0.0265211798, 0.0512309894, 0.0262009483, -0.0805626735, 0.024778137, -0.0132671073, 0.0334466621, -0.0040656622, 0.0138669088, 0.005527338, 0.0042726309, -0.0284673255, 0.0384019837, -0.0063344087, 0.0029373434, -0.0122061446, 0.0175788775, -0.0867947564, -0.0078606131, 0.0212433059, 0.0032251128, 0.0304617193, 0.00830762, 0.0104628447, -0.0867004618, 0.0205474067, 0.0089896964, 0.0151050622, -0.0007698476, -0.0296246931, -0.0150044542, 0.03382992, 0.0347479247, 0.0779820904, 0.0206873193, 0.0084039895, 0.026359342, -0.0316059887, -0.0710174441, 0.0447479486, -0.0124805262, -0.0381682515, -0.0276500881, -0.0154116042, 0.0165407248, 0.0774533898, -0.0049336269, 0.0141363442, 0.0043981601, -0.0154710198, 0.0013428035, -0.0325766504, 0.000277121, 0.0132249985, -0.0138860373, 0.0714711025, 0.0218707584, -0.0145002343, 0.0917414352, -0.0387677029, -0.0135654155, -0.0149906194, -0.0729146078, -0.0360068157, 0.0266403351, -0.021330677, 0.0615838841, -0.0423297286, 0.0410235189, 0.017161157, -0.0197411757, -0.0257493574, -0.0133980159, 0.0316620953, 0.009565087, -0.0235772803, -0.0316296443, -0.0674187467, 0.0088350736, -0.0162398368, -0.0399938188, 0.010763648, 0.004443713, -0.0240498204, 0.0147054316, 0.0610260889, -0.0037576698, 0.0510969497, -0.0469146147, 0.0020398872, -0.0112700025, -0.0088398978, 0.0068574254, 0.0840633065, 0.0046350998, 0.053856194, 0.0300678015, -0.0008464196, 0.048841387, 0.0124267647, -0.0583252795, 0.0396677256, 0.0390307494, -0.0463312566, 0.0080730785, 0.0584735498, 0.0329784751, -0.0328112915, 0.040126875, 0.0610116832, 0.0050088181, -0.0480397642, 0.01295947, -0.0564019457, 0.0023257891, -0.0097628972, 0.0716503039, -0.0849350169, -0.0130177727, 0.0262252018, 0.0602317154, -0.0447363555, -0.0184434, -0.0427423045, -0.0653569251, 0.0253499132, -0.0085577834, 0.0036954198, -0.0055525107, -0.0576807223, -0.0128258374, -0.018055059, -0.0081715435, 0.0179899409, 0.0296922196, -0.0625372604, 0.0101788752, -0.0085853739, -0.0245758686, 0.0077666533, -0.0042820428, 0.0644155592, 0.0930464193, 0.0118918633, 0.0311394371, -0.0312058777, -0.0365872718, 0.0363769196, -0.0627725497, -0.0290933363, -0.1003119051, 0.0283968579, 0.0029770143, -0.0340445898, 0.0450176001, -0.0178956613, -0.0122867581, 0.0186988562, 0.1007911637, -0.0301223621, -0.0098535903, -0.0395019129, -0.0061113467, 0.0755180418, 0.0539758243, -0.0249264948, -0.0233548451, -0.0856323093, -0.0519428663, -0.018199373, -0.0223813877, -0.0162708759, 0.0126585243, 0.0041816016, -0.0313165598, 0.0116809634, 0.0118430788, -0.0123470919, -0.0167974345, 0.072042495, 0.0000156594, 0.0665028319, 0.0403605625, -0.0584167168, -0.0248220544, -0.0141246654, 0.0534609295, -0.0535327382, -0.00494985, 0.0622519068, -0.0404636823, -0.0071080867, 0.0388062745, -0.0374940298, -0.0470326953, 0.0175535623, 0.0344620124, 0.0213979743, -0.010279296, -0.0009521584, -0.05677047, 0.0031584557, 0.0472441614, -0.0264410954, 0.021795284, -0.0011223849, 0.0533059388, 0.0240395777, 0.0510785654, -0.0645482242, 0.0582564585, -0.0051716473, -0.0134983193, -0.0662018955, -0.0400325581, 0.0006997997, 0.0381913818, -0.0177331548, -0.0137707647, -0.0433875099, -0.0078192223, 0.0300472397, 0.0065259142, 0.0116356602, -0.0599403195, -0.0667319968, -0.046635326, 0.0091154501, 0.0857672617, 0.0105146235, 0.0542091988, -0.0218339171, 0.0217901226, 0.0504501089, 0.0305602271, 0.0063052964, 0.0054107159, 0.012281307, 0.0282252003, -0.0015174411, 0.0234532785, 0.0099671558, -0.0235946886, -0.0182845276, -0.0009775086, -0.0112136072, -0.0523691215, -0.0000733846, 0.0293671563, -0.1009476632, 0.0242150314, 0.0199997127, 0.0118261296, 0.0479303896, -0.0214264989, -0.0467293486, -0.0025048372, -0.0271483902, 0.0245598052, -0.034473218, 0.0221386272, 0.0426520668, 0.0458879806, -0.0327679329, -0.0291077923, 0.0049810302, 0.021617135, 0.0104399016, -0.0320479684, -0.0193022285, -0.0586320683, -0.028573554, 0.0228969865, -0.049532678, -0.0151248872, -0.0631878898, -0.0562953614, 0.0089960387, 0.000691441, -0.0101149036, 0.0145635232, -0.0085853254, 0.0649052188, 0.0045487327, 0.0030479571, -0.0536758639, -0.0274910033, -0.0329511836, -0.0575296357, 0.0099239442, 0.0150548862, -6.315970085e-33, 0.0008562574, -0.0415516309, 0.0351739489, 0.0314451456, 0.008245877, -0.0033088215, -0.0030356525, 0.0082046892, 0.0242333598, -0.0450815409, 0.0010153027, -0.0645653531, 0.0380493738, 0.0020297745, -0.0189092159, 0.0278540365, 0.0753457844, -0.0445902869, -0.0430579036, 0.0004781635, 0.0306268632, 0.0207042228, 0.0059719421, -0.0348686539, 0.027238993, -0.0174239278, -0.0127630532, 0.0349620245, -0.0098880576, 0.0302691069, -0.0110430373, 0.0254934952, -0.0137080438, -0.0428052694, -0.0017161238, 0.1064544544, -0.0450869016, -0.0045774681, 0.0194870122, 0.0379562899, -0.032933034, -0.0472803041, 0.0265592001, 0.0208500642, -0.1355268955, 0.0487287678, 0.0207220092, -0.0068520773, 0.0230993293, -0.0364696346, -0.0062734969, -0.0072419802, -0.0027398409, -0.0178230964, 0.0431072004, -0.0324837118, -0.0342783853, 0.0032042398, -0.050023295, 0.0502819493, -0.0085802665, 0.0061696465, 0.0732700527, 0.0533983894, -0.0119667901, 0.0265814159, 0.0109307496, -0.0277889557, -0.0370800346, 0.0105730062, -0.0064077745, 0.0603030846, -0.0244726725, 0.0361450501, -0.0350307524, -0.0258963201, -0.0634894893, 0.0317466073, 0.0391021743, -0.0014426716, 0.0587952211, 0.0070673353, 0.0051625962, 0.0039368677, -0.0123803513, 0.0037561641, -0.0228132587, -0.02984556, -0.0024401001, 0.0030245527, -0.0243190173, -0.0007582941, 0.0250194371, -0.0198990386, -0.0055325902, -0.0035474482, 0.0247469936, 0.008798833, 0.0052432953, -0.0183531381, -0.0772071481, -0.027534347, -0.0219657104, -0.0192388576, 0.0231332164, 0.0001086939, -0.0221822001, 0.0437737033, -0.0109315729, 0.0256877262, -0.0262488872, 0.0242473688, 0.0290078558, 0.0450896733, 0.0350711793, -0.0402277112, 0.0299961902, 0.0390388332, -0.0738250241, -0.052511476, -0.0026397542, -0.0113896076, 0.0109920558, 0.0314678922, -0.0259420667, 0.01028019, -0.0520996228, 0.0299210064, 0.0035297612, 0.0111903744, -0.0253752712, -0.0221056398, 3.127e-7, -0.0494638123, 0.0279215556, -0.0271211509, 0.023929812, 0.0190700274, 0.0492318049, -0.0083882976, 0.0287060514, -0.0149033451, 0.0289333649, -0.0285573062, -0.0109290173, 0.0635002628, -0.0061316802, -0.0847078487, -0.0341717154, -0.0142850885, 0.0445084274, -0.0510489568, -0.0522174537, 0.052630417, 0.0482364595, 0.0051776939, -0.0104988264, 0.0401647799, -0.0337174758, -0.0038284995, -0.0750066489, -0.0099293953, 0.0167955421, 0.0025973797, 0.0237474013, -0.0023316913, -0.0081581697, 0.0222381633, 0.023707604, -0.0316867456, 0.0962812304, 0.0412310846, -0.1062782183, 0.0171929523, 0.0094089461, 0.0146587491, -0.0158381388, -0.0328090452, 0.0234997943, -0.0345668271, -0.0187152512, 0.0174027774, -0.0599021986, -0.0451657027, -0.0265315156, 0.0452788286, -0.0536244325, -0.0308366772, -0.0279725008, 0.0088861678, 0.013139952, 0.0253357515, -0.0194054861, -0.0211826339, -0.0601980425, -0.0623281598, 0.0245883632, 0.0679329261, 0.0071642972, 0.036960613, 2.418794522e-34, -0.0357928611, -0.0004914257, 0.0306789912, 0.103203848, -0.0144286584, 0.0291765109, 0.0027760535, 0.0272866786, 0.0084847333, -0.0801137611, -0.009926389 ]
http://arxiv.org/abs/2407.00475v1
http://arxiv.org/pdf/2407.00475v1
Classifier identification in Ancient Egyptian as a low-resource sequence-labelling task
2024-06-29T15:40:25
2024-06-29T15:40:25
Dmitry Nikolaev, Jorke Grotenhuis, Haleli Harel, Orly Goldwasser
cs.CL
cs.CL
The complex Ancient Egyptian (AE) writing system was characterised by widespread use of graphemic classifiers (determinatives): silent (unpronounced) hieroglyphic signs clarifying the meaning or indicating the pronunciation of the host word. The study of classifiers has intensified in recent years with the launch and quick growth of the iClassifier project, a web-based platform for annotation and analysis of classifiers in ancient and modern languages. Thanks to the data contributed by the project participants, it is now possible to formulate the identification of classifiers in AE texts as an NLP task. In this paper, we make first steps towards solving this task by implementing a series of sequence-labelling neural models, which achieve promising performance despite the modest amount of training data. We discuss tokenisation and operationalisation issues arising from tackling AE texts and contrast our approach with frequency-based baselines.
Classifier identification in Ancient Egyptian as a low-resource sequence-labelling task: The complex Ancient Egyptian (AE) writing system was characterised by widespread use of graphemic classifiers (determinatives): silent (unpronounced) hieroglyphic signs clarifying the meaning or indicating the pronunciation of the host word. The study of classifiers has intensified in recent years with the launch and quick growth of the iClassifier project, a web-based platform for annotation and analysis of classifiers in ancient and modern languages. Thanks to the data contributed by the project participants, it is now possible to formulate the identification of classifiers in AE texts as an NLP task. In this paper, we make first steps towards solving this task by implementing a series of sequence-labelling neural models, which achieve promising performance despite the modest amount of training data. We discuss tokenisation and operationalisation issues arising from tackling AE texts and contrast our approach with frequency-based baselines.
[ 0.0278067328, 0.0729873106, -0.0305818021, 0.0148134818, -0.0597500689, 0.0432713926, 0.0548000187, 0.0246607419, 0.0231560841, -0.0793017969, 0.0403568521, -0.041114755, 0.0575581081, 0.0153827537, 0.0447650589, -0.0130104627, -0.0008163165, -0.032582242, 0.028902052, 0.0295713749, -0.0243989825, 0.0135247158, -0.0229951777, 0.0422955416, -0.0493961126, -0.0295461528, -0.021363372, -0.0241966378, -0.0285284594, -0.0326636247, -0.0303867087, 0.084254548, -0.0182272736, 0.0750086159, 0.0000016911, -0.052367378, -0.0179814827, -0.0131061114, -0.016755186, -0.0269414745, 0.0145447096, -0.018301636, -0.0318879373, -0.0331045538, -0.0187083203, -0.0212880783, 0.059036158, 0.0292399693, 0.0294844937, 0.089040488, 0.0011616817, -0.0484024659, 0.0399648771, -0.0015208015, -0.0202445611, -0.0052006152, 0.0307576451, -0.0141855376, -0.0271106679, 0.0113391494, -0.0295035485, 0.069191277, -0.0010287827, -0.0019876019, -0.0159474965, -0.0199734252, -0.0398057662, -0.0266060047, -0.0138519928, -0.0079469411, -0.006520615, -0.044046063, 0.0275590345, 0.0158135872, 0.0024806885, -0.0324174799, -0.0105920294, 0.0598911382, -0.0503476746, -0.0024728193, 0.0519761518, -0.0065834722, 0.0299460441, 0.0199780501, -0.0133054638, 0.0337276012, 0.0043853805, -0.0157412179, 0.0287062135, 0.0210767016, -0.0420659445, -0.0382450372, 0.0450798944, 0.0618818402, -0.0082077496, -0.0318780653, -0.0087003279, -0.0399345905, -0.00404432, -0.045366738, -0.0049852771, 0.0385308452, -0.0159052107, 0.0381854959, -0.0318068974, 0.0458651483, 0.0542105287, 0.0146733327, 0.0008543865, 0.0427668765, -0.0367750041, -0.0389738195, -0.0310922954, 0.0630962551, 0.0226921439, -0.0162245035, -0.0533755571, -0.0133884959, 0.0427936353, 0.0005424125, -0.0321182087, -0.0432476178, 0.0168996472, 0.0308803227, 0.0160346702, -0.0525688119, 0.0218208544, -0.0051471535, -0.0286936574, -0.0644751713, 0.0219443161, 0.040766187, 0.0287579279, 0.0070069977, 0.0194230564, 0.0677828118, 0.0055471789, -0.0646513104, -0.0415619202, 0.0073643825, -0.031646423, -0.0182326883, -0.0350093693, -0.0435157456, -0.0216404442, 0.0260565672, 0.018454764, -0.0309518818, 0.001772315, 0.0140135745, 0.0215213429, 0.0728999302, -0.0087681115, -0.0165108964, 0.0469462201, -0.0024742223, 0.0058007143, 0.0170994066, 0.0711835101, 0.0178014226, 0.0395137891, -0.0364806913, 0.0103487959, 0.0278337728, -0.009064124, -0.0693879724, -0.0333200954, -0.0817716122, 0.028256502, 0.0242135264, -0.0631561354, 0.0779957697, 0.0105366381, -0.0066899206, 0.0437803641, 0.0771030635, 0.0067320932, 0.0142286904, 0.0564287305, -0.0020749611, 0.0269671306, 0.0225666258, -0.0013491052, -0.0280000158, 0.0357768424, 0.0070533133, -0.0187035091, 0.0065278923, 0.0068708346, -0.0615698323, -0.0326220281, -0.0078878598, 0.0236119516, -0.0285105705, 0.0777233839, 0.0307304505, -0.0444071293, -0.0225025099, 0.0265720505, -0.007546579, -0.0083576646, -0.0314726122, 0.0233726278, 0.047094278, 0.0337616056, -0.0342124328, -0.0051742084, 0.0135149639, -0.0046850839, 0.0590592958, -0.0100080436, -0.0388091952, 0.0072062002, -0.0409143977, -0.0047515235, 0.0109322267, 0.021667311, 0.0209232122, -0.0271623675, 0.0528706163, 0.0191451609, 0.0110392328, -0.0668148324, 0.0677880868, -0.0439601727, -0.0523874834, -0.016888123, 0.0416884422, -0.0068161632, 0.040194843, 0.0062921843, 0.0204594899, 0.0142784454, -0.0648980588, -0.0139585184, -0.0373265408, -0.0335062742, -0.0166620649, 0.0919893458, 0.000528005, 0.0024364495, 0.0110551259, 0.007149138, -0.026078606, 0.0439235494, -0.0643536448, 0.0507185422, -0.0005531773, 0.0588226952, -0.0027069205, 0.0155160148, -0.0347146876, 0.0789567828, 0.0196235981, 0.0392431989, -0.0057292744, -0.0625175983, 0.0162390228, -0.021242423, -0.0185939856, 0.0135072619, -0.0145533476, -0.0102268616, 0.0014274226, 0.0333264731, -0.010851576, -0.0279095639, -0.0572936609, -0.0088779144, -0.0376267545, 0.0476006158, -0.0428552441, -0.0171971153, 0.0224741753, -0.0346537307, -0.056460917, 0.0069323033, -0.0195961818, -0.0028975888, 0.0606922321, -0.0232699662, -0.0891433656, -0.0004039047, -0.0205581468, -0.0065957182, 0.0905507952, 0.0620266385, -0.0778623819, -0.0182886571, -0.0468098894, 0.015956264, 0.0142905973, -0.0074199825, 0.0148402108, 0.0369582921, 0.0061615235, -0.0420425981, 0.012453842, -0.0051222355, 0.0420274585, 0.0105758999, 0.0137051549, 0.003219082, -0.03322706, -0.0418749526, 0.0392213874, -0.0344018303, -0.0192921646, -0.0317395963, 0.0975064263, -0.0485753976, -0.0002579388, -0.0325421542, 0.0255434606, -0.0382732414, 0.0225162283, -0.0103219999, -0.002372442, -0.0054031368, 0.0331711099, 0.0004929139, -0.0241331384, 0.0717400536, -0.022649413, 0.0030256717, -0.012712352, -0.0266741998, -0.0751654506, 0.0387544632, 0.0418654792, -0.0050497204, 0.0521410517, -0.0800135881, -0.0115804598, 0.0395916067, 0.0140170064, -0.0421180986, -0.0112200538, -0.019061476, 0.0201396421, -0.0191362966, -0.0250630397, -0.007095011, -0.0096640009, -0.0560617335, 0.0457384437, 0.0263221748, -0.0028029699, -0.0476214811, 0.0670716241, -0.0205423702, 0.0388481654, -0.0057000034, 0.0204260778, -0.0220851116, 0.0301590692, 0.0008865201, -0.0102496697, -0.0147476038, -0.0007140024, 0.0155531075, 0.0270932782, -0.0411392562, 0.0245991554, -0.0421163626, -0.00900668, 0.0330053642, -0.0651224107, -0.0414497815, -0.0422977693, -0.0493107364, -0.0460597016, 0.0260787085, 0.0793829039, 0.0111894272, -0.0388024449, 0.0423368774, 0.0567330159, -0.0279141478, -0.0045380122, -0.0304077901, -0.0704348981, -0.0037595718, 0.0254113916, 0.0405606963, -0.0049782014, 0.0009584429, 0.0313317217, -0.0548876524, -0.0115427813, 0.0119016599, -0.1091145352, 0.0066806255, -0.0367241353, -0.0319137685, -0.0331646837, -0.0663043112, -0.0011626965, 0.0092298556, 0.029499365, 0.0775064081, -0.0313181579, -0.0541533194, -0.0583523251, -0.01744253, -0.0189408083, 0.0017439413, 0.0495515838, -0.0026219308, -0.0297029838, 0.0537750758, -0.0016556467, 0.0090386244, -0.0367790833, 0.0814031959, -0.019974459, -0.0268847793, -0.0139659578, 0.0008764431, -0.0727398396, -0.009622518, -0.009091489, 0.0318472683, 0.0266483333, -0.0153904082, 0.0283950195, 0.00316966, 0.0087952456, 0.0057891929, 0.0299003255, -0.0431645624, -0.0640263706, -0.0461177342, 0.0696662739, -0.0421016663, -0.08626692, 0.0080703888, -0.0069840555, -0.0651006326, -0.1134958565, -0.0335130356, 0.0187277347, 0.0340739861, 0.052978158, 0.0140966456, 0.0056628236, 0.0061218701, -0.0814810172, -0.0249719452, 0.0270034093, -0.0029121498, -0.0686427131, -0.0573996007, 0.0030765135, -0.0141102718, 0.0030394245, 0.0155499633, -0.0838948265, -0.0548929274, 0.0259684063, 0.0033438015, 0.0222560596, -0.0099276053, 0.008248996, -0.0584964715, 0.039764069, 0.0532758161, 0.02078484, -0.0092861205, -0.0113259424, 0.0031935682, -0.0534226522, 0.0188931823, -0.0041262796, 0.0111749088, 0.0453406125, 0.0113413464, -0.0355927758, -0.0276915021, 0.0175830778, 0.0138882156, 0.0140223932, -0.0376367867, -0.0264971536, 0.0094085019, 0.0051040635, 0.003165368, -0.017808238, -0.0120143238, 0.0196659304, -0.0038160237, 0.0154871736, -0.0305493157, -0.0275648199, 0.036147546, 0.0267300755, -0.0270728283, 0.0292078238, 0.0402642749, 0.005141275, -0.0206298549, 0.0165420994, -0.00863297, 0.0163095947, 0.0136999944, 0.0858516544, -0.0071266987, -0.0246696454, 0.0123634171, 0.0526495576, 0.0141771222, 0.0097779352, -0.0347393379, -0.0211559609, -0.0344996825, 0.0086482773, 0.058139652, -0.0095581189, 0.0437664464, -0.0074348343, -0.0265041031, -0.0276987609, 0.049537316, 0.0138114197, -0.0344245844, -0.0727568045, 0.023615092, -0.0324714296, 0.0217409842, 0.0604475811, 0.0317879915, -0.0093530566, 0.0500312373, -0.0735460892, -0.0501794517, -0.0065588048, 0.0076056025, -0.0139006963, -0.02967133, 0.0013769304, -0.0500635989, -0.066249907, 0.0151597476, 0.0031794899, 0.0518333539, 0.0226685051, -0.0141520351, 0.0247438941, 0.010920465, -0.0308850296, -0.0711013675, 0.0637977049, -0.020555852, -0.0128874015, -0.048087921, -5.23648497e-33, -0.0257353373, -0.0548930876, 0.0124536846, 0.0759549811, 0.0232687015, 0.0252095405, -0.0305500887, 0.0306901876, 0.0339731313, -0.0119805662, 0.0066788164, -0.0121367332, 0.0262268241, 0.0142028714, 0.0197386649, -0.0063453484, 0.0295416601, 0.0116896462, -0.0168836154, 0.0121715777, 0.0873464197, 0.0556658357, 0.1098264158, -0.087196745, 0.026036663, -0.0021677047, 0.0215325337, -0.0091165956, -0.0146459686, 0.0561528578, -0.0187091716, -0.0156751387, 0.0252390858, -0.0016413268, 0.0532311164, 0.0001998131, -0.0523214936, -0.011109896, -0.0365086831, 0.0975536332, 0.0202626642, -0.0502425283, 0.0029880004, -0.0136687104, -0.0425356589, 0.04449182, 0.0632802472, -0.0082621835, -0.0631097555, -0.0666979402, -0.0765795559, 0.0690075979, -0.0028998526, -0.0096701384, 0.0414213724, 0.0224381182, -0.0186466873, -0.0222130809, -0.0375276282, 0.0153450482, 0.0035631002, 0.0260685738, 0.0182088688, 0.0602914542, -0.0490409769, 0.0317010507, 0.0492165722, 0.0032109381, 0.0255029593, 0.0436083637, 0.0236074924, -0.0236929543, 0.0248319265, -0.0061649536, 0.0640112236, -0.0230516568, -0.0334533751, -0.0203780867, 0.0214923639, 0.003583103, 0.022750387, -0.0197480451, -0.0667444989, -0.0155650154, 0.003911294, -0.0520253517, -0.0054985215, 0.0058428613, -0.0034940159, 0.0030803704, -0.0216500293, 0.0462835617, -0.0428978689, -0.0341442898, -0.037233226, -0.0028131732, -0.0091587054, 0.0406003706, -0.0193202291, -0.0315283351, -0.0228919405, -0.0597865693, 0.0046494254, -0.0090887751, 0.0599864274, -0.023254795, 0.0813065544, 0.0250562001, -0.0380688347, 0.0012200684, 0.0047549279, -0.0090350946, 0.0179003049, 0.0308845825, 0.0464163572, -0.01521214, 0.0060539842, 0.0128006665, 0.046437107, 0.0091865361, 0.0300610494, 0.0391841307, -0.0220056549, -0.0215877052, -0.0150857698, -0.0269686319, 0.0051086755, 0.0525897294, 0.0042101839, -0.0413837843, 0.0187327303, -0.0129270451, 2.501e-7, 0.0304604433, 0.0166110266, 0.0517186373, -0.0146255549, 0.0257261321, 0.0171491783, -0.0272794701, 0.0011974897, -0.0296092276, 0.0028902683, 0.0276466701, -0.0175283067, 0.0697357357, 0.0065720985, -0.0843816251, -0.0163790938, -0.0342856906, 0.0162992906, -0.0439067408, 0.065402858, 0.0139789516, 0.086223118, -0.0122809876, -0.0418732502, -0.0278232098, -0.0634874105, 0.0172833819, 0.0060201357, 0.0250484552, 0.0146784661, 0.0329976678, -0.0361372046, 0.0035211593, 0.0532367006, -0.0225231126, 0.0281115696, 0.0642946512, 0.0292179156, 0.0235311426, 0.0575577803, 0.0090604583, 0.0200023055, -0.0078564761, -0.0062499866, 0.026868701, 0.0432661511, -0.0468466654, -0.0271758176, -0.0288201217, -0.0065042665, -0.0158334449, -0.0001284757, 0.0116602443, 0.0278172549, 0.0355207995, -0.0367999487, 0.0090778656, -0.025612941, 0.0183418393, -0.0030929283, -0.0014809862, -0.0155471945, -0.0127532845, -0.0017263978, -0.0021909713, 0.010545061, -0.0186478943, 2.193844622e-34, 0.0078504682, -0.0333640277, -0.0136150932, 0.0533315018, -0.0135131003, -0.0050869933, 0.0164504405, 0.0252804495, 0.0204212014, -0.0355345272, 0.012839593 ]
http://arxiv.org/abs/2407.00468v1
http://arxiv.org/pdf/2407.00468v1
MMEvalPro: Calibrating Multimodal Benchmarks Towards Trustworthy and Efficient Evaluation
2024-06-29T15:28:45
2024-06-29T15:28:45
Jinsheng Huang, Liang Chen, Taian Guo, Fu Zeng, Yusheng Zhao, Bohan Wu, Ye Yuan, Haozhe Zhao, Zhihui Guo, Yichi Zhang, Jingyang Yuan, Wei Ju, Luchen Liu, Tianyu Liu, Baobao Chang, Ming Zhang
cs.CV
cs.CV, cs.AI, cs.CL
Large Multimodal Models (LMMs) exhibit impressive cross-modal understanding and reasoning abilities, often assessed through multiple-choice questions (MCQs) that include an image, a question, and several options. However, many benchmarks used for such evaluations suffer from systematic biases. Remarkably, Large Language Models (LLMs) without any visual perception capabilities achieve non-trivial performance, undermining the credibility of these evaluations. To address this issue while maintaining the efficiency of MCQ evaluations, we propose MMEvalPro, a benchmark designed to avoid Type-I errors through a trilogy evaluation pipeline and more rigorous metrics. For each original question from existing benchmarks, human annotators augment it by creating one perception question and one knowledge anchor question through a meticulous annotation process. MMEvalPro comprises $2,138$ question triplets, totaling $6,414$ distinct questions. Two-thirds of these questions are manually labeled by human experts, while the rest are sourced from existing benchmarks (MMMU, ScienceQA, and MathVista). Compared with the existing benchmarks, our experiments with the latest LLMs and LMMs demonstrate that MMEvalPro is more challenging (the best LMM lags behind human performance by $31.73\%$, compared to an average gap of $8.03\%$ in previous benchmarks) and more trustworthy (the best LLM trails the best LMM by $23.09\%$, whereas the gap for previous benchmarks is just $14.64\%$). Our in-depth analysis explains the reason for the large performance gap and justifies the trustworthiness of evaluation, underscoring its significant potential for advancing future research.
MMEvalPro: Calibrating Multimodal Benchmarks Towards Trustworthy and Efficient Evaluation: Large Multimodal Models (LMMs) exhibit impressive cross-modal understanding and reasoning abilities, often assessed through multiple-choice questions (MCQs) that include an image, a question, and several options. However, many benchmarks used for such evaluations suffer from systematic biases. Remarkably, Large Language Models (LLMs) without any visual perception capabilities achieve non-trivial performance, undermining the credibility of these evaluations. To address this issue while maintaining the efficiency of MCQ evaluations, we propose MMEvalPro, a benchmark designed to avoid Type-I errors through a trilogy evaluation pipeline and more rigorous metrics. For each original question from existing benchmarks, human annotators augment it by creating one perception question and one knowledge anchor question through a meticulous annotation process. MMEvalPro comprises $2,138$ question triplets, totaling $6,414$ distinct questions. Two-thirds of these questions are manually labeled by human experts, while the rest are sourced from existing benchmarks (MMMU, ScienceQA, and MathVista). Compared with the existing benchmarks, our experiments with the latest LLMs and LMMs demonstrate that MMEvalPro is more challenging (the best LMM lags behind human performance by $31.73\%$, compared to an average gap of $8.03\%$ in previous benchmarks) and more trustworthy (the best LLM trails the best LMM by $23.09\%$, whereas the gap for previous benchmarks is just $14.64\%$). Our in-depth analysis explains the reason for the large performance gap and justifies the trustworthiness of evaluation, underscoring its significant potential for advancing future research.
[ 0.0039631217, 0.0720759928, -0.0178982317, 0.0606315061, -0.0199118182, 0.0057380274, 0.0325486213, 0.0004306189, 0.0138251912, -0.0810005814, -0.0716120899, -0.015457199, -0.0015277572, 0.004927983, 0.0802505389, -0.0588811263, 0.0445645638, -0.0588303879, -0.0124075729, 0.0117467167, 0.0150596425, -0.0272284318, -0.0336324349, 0.0201675016, -0.0285438523, -0.0362104364, -0.0044635111, 0.0119819539, -0.0059691751, -0.0455625169, -0.0107138427, 0.0747995377, 0.0221407395, 0.0377248563, 0.0000021382, -0.0424436443, 0.0078569828, -0.0067931437, -0.0107046198, 0.0057285628, 0.010177291, -0.0104789799, 0.0452452451, -0.0060896673, -0.0289506577, -0.0200261362, 0.0305541921, -0.0030409589, 0.0691088215, 0.0327198207, 0.0016425741, 0.0216136537, 0.0156891961, -0.002625946, 0.0376093164, -0.0508520044, -0.0139329657, 0.040638417, -0.0155111086, 0.0358229987, -0.0580042899, 0.0443472937, 0.0430159643, -0.0044988035, 0.0026596957, 0.0140847666, -0.0402530544, -0.0325986035, -0.0401360653, 0.0978034437, 0.0144548062, 0.0121829035, -0.0315619521, 0.0109419907, 0.0075493171, 0.0372918025, -0.051943548, 0.0218467135, -0.0070299683, -0.0466575027, -0.0536719561, 0.0097353598, 0.018483229, 0.015613283, 0.0193761587, 0.0421071388, 0.0090647051, -0.0040954505, 0.0403036028, 0.0190391988, -0.0494998172, -0.0551580936, -0.0139643475, 0.0073702079, -0.0139573887, -0.0021595922, -0.0363821238, -0.0306893848, 0.0167353489, -0.0138158463, 0.0516857654, 0.0412158333, -0.0605724975, 0.0666441694, -0.0155719845, 0.0828636214, -0.0155536653, 0.0687145889, -0.0164172836, 0.0137757566, -0.0357038118, 0.0052027847, 0.0001856342, -0.0220972653, -0.0247577652, -0.0152071966, -0.0245784149, 0.0022741517, -0.0173297524, 0.0206535552, -0.0123713911, -0.0026551513, 0.0025172825, -0.0144221112, -0.066113621, 0.0606429689, -0.0348504297, 0.0234729461, 0.0181080196, -0.0776593387, 0.0132227093, 0.0627821609, -0.019554453, -0.0396707021, 0.0120993135, 0.0949332342, -0.0346650854, -0.0229168832, 0.025477862, -0.0492723584, -0.0063049905, -0.0564026423, 0.0453470461, -0.0512451157, 0.0398575664, -0.0045647416, 0.008036633, -0.0014959271, -0.0089260051, 0.0182851125, 0.0228672028, 0.0956921354, 0.0064887227, -0.0182532426, 0.0193574969, 0.0173320714, -0.0667010322, 0.0500674471, 0.0363164842, 0.0175685063, 0.0700607672, -0.0177327599, 0.0064066611, 0.0529875346, -0.0123220682, -0.0031272585, -0.003279377, 0.0331095979, 0.0026135487, 0.0599999465, 0.0325872451, 0.0649133325, -0.0241478812, -0.0447411463, 0.0824268535, 0.0330594853, -0.0283663478, -0.0365575142, 0.0377156995, -0.0162344687, 0.0381249562, 0.0123303188, -0.0577430837, 0.060438823, -0.0191253517, -0.021354951, 0.0324844904, 0.0132464562, -0.011339304, -0.0304853003, -0.0228999499, 0.0222932883, -0.0064776456, 0.0300185382, 0.0120922262, -0.0007985869, -0.02174397, 0.0118644722, -0.0259098615, -0.028652329, 0.0085409554, -0.0217457451, 0.0378735475, 0.0085640969, 0.0445775017, -0.0013482303, -0.0374054015, -0.0043119891, 0.0204559993, 0.0405776389, 0.066371724, -0.017985655, 0.006492611, -0.0544254929, -0.0293490086, -0.0145354802, 0.007187889, 0.0018762245, 0.0101660658, -0.0177987572, -0.0129022794, -0.1068868786, 0.0361177251, 0.0277791023, 0.0142991748, -0.016978208, -0.0478134304, 0.0113563538, 0.0063604205, -0.0100610256, 0.0061302842, 0.0249593612, 0.0060623335, -0.0255595166, 0.0203304794, 0.0053041908, -0.051698897, -0.0215995219, 0.0453395694, -0.0780200139, -0.0602350421, 0.0556464158, -0.0339067914, -0.0203719474, 0.0004129065, -0.0213155635, -0.040754132, -0.0507579483, -0.0183479879, 0.0057533788, 0.0147934435, -0.0310776401, 0.0462226346, -0.0356177352, 0.0126591092, -0.0085639087, 0.0172608178, 0.0351317711, -0.0083812643, -0.0223940369, 0.014669802, 0.0059415563, 0.0330975652, -0.0007982157, 0.0016622383, -0.0759986117, -0.0067677931, -0.0890503228, -0.0045600943, -0.0209914967, -0.0041038976, 0.0071958234, -0.0402320661, 0.0119013498, -0.0345146358, -0.041792132, 0.0121335946, -0.0199340507, 0.0267646145, 0.0370123535, 0.0033589331, 0.0426000096, -0.0087464638, -0.018896265, -0.0409159139, 0.0805939659, 0.0009276823, 0.034545064, -0.0154149411, -0.0268284064, -0.0433120467, 0.0095484965, -0.0141893709, -0.0053497618, 0.0594598614, -0.0137926787, 0.0335037299, 0.0563608371, -0.0129453847, -0.0087923231, 0.0346861519, 0.0124591123, -0.0406266786, 0.0091078114, 0.0404335558, -0.0380681455, -0.0181989651, -0.0398481563, -0.0186665282, 0.0495738499, -0.0086983172, -0.0065346137, -0.0273353979, 0.0525426716, -0.0195876751, -0.0595414117, -0.0834281445, 0.0178066976, 0.0049590888, 0.0619659759, -0.0445717238, -0.036354091, 0.0621144176, -0.0592146069, -0.0161330607, 0.0033127568, 0.0366174169, -0.0214181691, 0.0743142813, 0.0122094583, 0.0029187109, -0.0001964584, 0.0073153768, -0.0817181915, -0.0077529671, 0.0496571176, -0.0261857733, 0.0588855147, -0.0697271079, -0.003996239, -0.0126369027, -0.0316009596, -0.0243165456, -0.0253284182, -0.0352989621, 0.0016543072, -0.0276333299, -0.0010547191, -0.0076240133, -0.0056078192, 0.0498240478, 0.0237891991, -0.015468739, -0.0118315676, -0.0278080665, 0.0668925047, 0.0416133665, 0.0540230162, 0.0131803472, -0.0785212964, 0.0169105567, 0.0636378974, 0.0359178521, 0.0060495068, -0.0332818218, 0.040056996, 0.0150152361, 0.0258815736, -0.0041324091, 0.0263303351, 0.0960009024, -0.0517250001, 0.0116242496, 0.0770864263, -0.0007493728, -0.0395703539, -0.0149016036, -0.0007930677, 0.0250363387, 0.0529313385, -0.0037552251, -0.0857367963, -0.056827154, 0.0011383179, 0.0085121347, 0.0141907446, -0.0392289199, 0.0140608167, -0.0984798297, 0.0309480745, -0.0219667498, -0.0560217313, 0.0135460384, -0.0264610611, 0.0066460911, -0.0191753618, 0.0177532863, 0.0098780254, 0.0328211598, 0.0138925146, 0.0253746677, 0.0136203216, -0.0337099768, 0.0535443015, -0.037344303, 0.0011016013, 0.0097258892, -0.0084684817, -0.0270359535, -0.0874455348, 0.0385316312, 0.0037339083, -0.0042215474, 0.011521765, 0.0507696159, -0.0236978792, -0.0272671748, -0.0148670934, 0.0220818836, 0.0091354307, -0.0136769731, -0.0021840883, 0.0853547454, -0.0028401793, -0.011853585, -0.0272564441, -0.0057706288, -0.0329935662, 0.033229243, 0.0512328856, -0.0385345481, -0.0107848002, -0.0135432249, 0.0182142332, -0.0494224429, -0.0392615572, 0.0594861843, 0.0295649394, -0.0037185925, -0.0626251176, -0.0445954502, 0.0306227002, 0.0608090907, -0.0106199076, -0.0256412644, 0.0016000054, 0.0162333436, -0.0381167084, 0.082929112, -0.0258024335, 0.0290187765, -0.0254255459, 0.0395207293, -0.022705527, -0.0103205452, -0.0340369232, 0.0376455598, -0.0748870522, -0.0213133134, -0.0464257747, 0.0801774636, 0.0155204032, -0.0122445896, 0.0127381794, -0.0540558137, -0.0108605241, 0.0034591437, 0.0158208814, 0.0061864024, -0.007730823, -0.0190689843, -0.0170046091, 0.0138339801, -0.0272766408, -0.0109391781, -0.0001136161, 0.0331658684, -0.0014577905, -0.0218762439, 0.0250047743, 0.0366727151, 0.0413202494, -0.026123669, 0.0426439159, 0.004280095, -0.0031585861, -0.0029695116, -0.0202117208, -0.0289907306, 0.0030745508, 0.0385816246, -0.0163429957, 0.0133371698, -0.0137072615, 0.0026133049, 0.0616584346, -0.0210206974, 0.0283507388, 0.0622348376, 0.0175626334, -0.0231110789, 0.0102956481, -0.0241489857, 0.0131809581, -0.027707478, 0.0619919598, -0.0098645361, 0.0840590969, 0.0216146857, -0.0099682584, 0.0034529818, 0.0199113172, -0.0306095388, -0.0269229673, 0.0006111864, 0.0477646589, 0.0508824512, 0.0224614348, 0.0057645147, -0.0051616509, -0.0216118842, -0.0141572282, 0.0125296628, 0.0039540622, -0.0173672829, 0.0786408409, 0.0493894778, 0.0248942506, -0.0085003572, 0.0496320464, -0.0227886681, 0.0258174967, 0.0070265294, -0.0014572482, -0.0530523546, -0.0011699534, 0.0053047184, 0.0170082003, 0.0132829593, 0.0204881504, -0.0638745725, -0.0946300626, 0.0105528096, 0.0573073961, 0.0051082517, 0.0165491533, 0.0143274004, 0.0643275976, 0.004207294, -0.0270244852, -0.0240114033, 0.0076636174, -0.0360011011, 0.0057437192, 0.0095954603, -6.42453507e-33, -0.0182294659, -0.0371525511, 0.0239094235, -0.076372005, -0.0148754818, 0.015861962, -0.0289730858, 0.0258634165, -0.0244174525, 0.0094302185, 0.0172391497, -0.0269857328, -0.0047497312, 0.0077511002, 0.0058938772, -0.0147900563, -0.0023574212, -0.0219029728, -0.0635786653, -0.0374821536, -0.002520883, -0.0052191843, 0.0547288582, -0.0447798893, 0.0423695967, 0.0187033657, -0.0237893593, 0.0192334279, -0.0289389342, 0.0769151151, -0.0346838161, 0.020907959, 0.0214186795, -0.0284177735, -0.0147501687, 0.0046702996, -0.0582012571, -0.0189171564, 0.0170243774, 0.0355298147, -0.0997100323, -0.0009134148, 0.0460221991, -0.0295377094, -0.0225658529, -0.0445150323, 0.0296277665, -0.0067359242, -0.0180001855, 0.0215590391, -0.0144170718, 0.0164504889, -0.0156602319, -0.0165652521, 0.0024183281, 0.0836742818, 0.0124621168, 0.0387424119, -0.061396867, 0.0043316013, -0.0490246154, 0.0034362511, 0.0817242861, 0.0061666528, 0.0035842643, 0.0618640371, 0.0272121336, -0.0073299515, 0.002163446, -0.0210359599, 0.0465350673, 0.0548115484, 0.0810704678, 0.1149943024, 0.0397596844, 0.0261182711, -0.0555228107, 0.0423568487, -0.0255126115, 0.0341654271, -0.0060221413, -0.0032821307, -0.0303900689, 0.0158750471, -0.0916138291, -0.0211460255, -0.063724637, -0.0043348004, 0.0637926534, -0.0229381844, 0.0007449089, 0.0220855176, 0.0629327297, -0.0330902264, 0.0023325572, -0.0348641612, -0.0112713976, 0.069015108, 0.0113202613, 0.0443342403, -0.012435969, 0.0134339128, 0.0354382358, 0.0073759453, 0.0547866523, -0.0015120355, 0.0220185444, 0.0172375627, -0.0398831032, -0.0198382363, -0.046099253, -0.0214986, -0.0055160006, 0.0074502714, 0.0424335487, -0.0011000379, -0.0525757782, -0.0009354961, -0.0151663087, 0.0161706861, -0.0283881202, -0.0308463462, -0.0170007441, 0.0153519092, -0.018945992, -0.0006765723, -0.0287196394, -0.0542623177, 0.007586488, -0.0577441864, 0.0086679654, 0.0442292057, 2.685e-7, 0.0337611027, 0.0405275449, -0.0030139601, -0.0098412065, 0.0252981074, 0.057677459, -0.047552038, 0.024953289, -0.0071540242, -0.086906895, -0.0290714838, 0.0362588614, 0.0517285317, 0.057557255, -0.0221479032, -0.0205994118, -0.019759424, 0.0083639799, -0.0324018002, 0.0121565582, 0.0574502833, 0.04428057, -0.0238765497, -0.0345119946, 0.0017981252, -0.0547483601, 0.0671395808, -0.0099266171, -0.0358480513, -0.0196824372, 0.0554619469, 0.0175271295, 0.0189123768, 0.0443538241, 0.0071292897, -0.0496521555, 0.0628059357, 0.0423773564, 0.0133235464, -0.049729906, -0.0411562696, 0.0076553714, -0.0059080729, -0.0640371591, 0.0529005267, -0.0208573025, -0.0390889719, -0.0275750104, -0.0506136455, -0.0101483781, 0.0448542833, 0.0007524707, -0.0284835733, 0.0142080812, 0.0206528343, -0.0161067564, -0.0199126005, -0.0338133723, -0.0312942788, 0.0031214734, -0.0369044468, -0.0690410361, -0.0444611497, -0.0574629903, 0.0224751402, -0.064506337, -0.0507674292, 2.159581946e-34, 0.0350433514, -0.0158000011, 0.0549377538, -0.019082481, 0.037568979, -0.0264206398, -0.0255176947, -0.0402478538, 0.0114761079, -0.080302678, -0.0011204167 ]
http://arxiv.org/abs/2407.00466v1
http://arxiv.org/pdf/2407.00466v1
BioKGBench: A Knowledge Graph Checking Benchmark of AI Agent for Biomedical Science
2024-06-29T15:23:28
2024-06-29T15:23:28
Xinna Lin, Siqi Ma, Junjie Shan, Xiaojing Zhang, Shell Xu Hu, Tiannan Guo, Stan Z. Li, Kaicheng Yu
cs.CL
cs.CL, cs.AI
Pursuing artificial intelligence for biomedical science, a.k.a. AI Scientist, draws increasing attention, where one common approach is to build a copilot agent driven by Large Language Models (LLMs). However, to evaluate such systems, people either rely on direct Question-Answering (QA) to the LLM itself, or in a biomedical experimental manner. How to precisely benchmark biomedical agents from an AI Scientist perspective remains largely unexplored. To this end, we draw inspiration from one most important abilities of scientists, understanding the literature, and introduce BioKGBench. In contrast to traditional evaluation benchmark that only focuses on factual QA, where the LLMs are known to have hallucination issues, we first disentangle "Understanding Literature" into two atomic abilities, i) "Understanding" the unstructured text from research papers by performing scientific claim verification, and ii) Ability to interact with structured Knowledge-Graph Question-Answering (KGQA) as a form of "Literature" grounding. We then formulate a novel agent task, dubbed KGCheck, using KGQA and domain-based Retrieval-Augmented Generation (RAG) to identify the factual errors of existing large-scale knowledge graph databases. We collect over two thousand data for two atomic tasks and 225 high-quality annotated data for the agent task. Surprisingly, we discover that state-of-the-art agents, both daily scenarios and biomedical ones, have either failed or inferior performance on our benchmark. We then introduce a simple yet effective baseline, dubbed BKGAgent. On the widely used popular knowledge graph, we discover over 90 factual errors which provide scenarios for agents to make discoveries and demonstrate the effectiveness of our approach. The code and data are available at https://github.com/westlake-autolab/BioKGBench.
BioKGBench: A Knowledge Graph Checking Benchmark of AI Agent for Biomedical Science: Pursuing artificial intelligence for biomedical science, a.k.a. AI Scientist, draws increasing attention, where one common approach is to build a copilot agent driven by Large Language Models (LLMs). However, to evaluate such systems, people either rely on direct Question-Answering (QA) to the LLM itself, or in a biomedical experimental manner. How to precisely benchmark biomedical agents from an AI Scientist perspective remains largely unexplored. To this end, we draw inspiration from one most important abilities of scientists, understanding the literature, and introduce BioKGBench. In contrast to traditional evaluation benchmark that only focuses on factual QA, where the LLMs are known to have hallucination issues, we first disentangle "Understanding Literature" into two atomic abilities, i) "Understanding" the unstructured text from research papers by performing scientific claim verification, and ii) Ability to interact with structured Knowledge-Graph Question-Answering (KGQA) as a form of "Literature" grounding. We then formulate a novel agent task, dubbed KGCheck, using KGQA and domain-based Retrieval-Augmented Generation (RAG) to identify the factual errors of existing large-scale knowledge graph databases. We collect over two thousand data for two atomic tasks and 225 high-quality annotated data for the agent task. Surprisingly, we discover that state-of-the-art agents, both daily scenarios and biomedical ones, have either failed or inferior performance on our benchmark. We then introduce a simple yet effective baseline, dubbed BKGAgent. On the widely used popular knowledge graph, we discover over 90 factual errors which provide scenarios for agents to make discoveries and demonstrate the effectiveness of our approach. The code and data are available at https://github.com/westlake-autolab/BioKGBench.
[ 0.0612709038, 0.0111885434, 0.0062079835, 0.0056892452, -0.0361370556, 0.0029463244, -0.009151563, 0.016035093, 0.0724089816, -0.010015904, 0.0046301568, -0.0142917102, -0.0046120281, 0.0449726358, 0.0106483633, 0.0272327513, 0.057703767, 0.0181132741, 0.0437130518, -0.0239670835, -0.0236501694, 0.0026967453, -0.0487355478, 0.0089879362, 0.0146020139, -0.0209323503, 0.0215804912, -0.0254476052, 0.0346067064, -0.0591882914, 0.0107336631, 0.0096134031, -0.0153476521, 0.0579573736, 0.000001806, -0.0651049837, -0.0017459048, 0.0508041903, -0.0465373099, 0.0001869159, 0.0104617234, -0.0023913628, 0.007700637, 0.0026501671, -0.0498980321, -0.0111073293, 0.0319086537, 0.0329722352, 0.0236261971, 0.0662549436, 0.0090744924, 0.0167712998, 0.0471056662, 0.015670497, 0.0208619665, -0.0341011956, 0.0570831373, 0.0496852063, 0.0642809421, 0.012966671, 0.0216318127, 0.0725056604, -0.0082825543, -0.0143293841, 0.042331364, 0.0390815511, -0.0315198563, -0.0082127098, -0.0006949548, 0.0729266554, 0.0529737696, -0.0372974761, 0.0303949285, 0.0168212689, -0.0184966102, 0.045222912, -0.0310913771, 0.000933287, -0.0488989912, -0.0400782749, -0.003938817, -0.0210503023, 0.0441954061, 0.0087679764, -0.015754234, 0.0866338611, -0.014210701, -0.0500614159, 0.0332206227, 0.014987994, 0.0082836207, -0.0731120035, 0.009789207, 0.0581807569, -0.0507987551, -0.0058422368, 0.0225637332, -0.0343614742, 0.0636047348, -0.0381863043, -0.0002114383, -0.0084868195, 0.0036868032, 0.0414064303, -0.0060995165, 0.0446474217, -0.0129972314, 0.0610971898, 0.0011275144, 0.0034492449, -0.0779386759, -0.033170063, -0.0100855893, 0.0353655294, 0.0183213465, 0.0046046255, -0.0359661132, -0.0000454659, -0.0326507576, 0.0440812968, -0.0105669964, 0.0354452021, -0.0181649309, 0.0142179336, -0.0754429772, 0.0081863059, -0.0241268929, 0.0126096038, -0.0017960489, -0.0368484072, -0.033262711, -0.0031540501, 0.0198742505, -0.0146311168, 0.0332062021, 0.0548377037, 0.0308698341, -0.0144211939, -0.00019376, -0.076031968, -0.0178502817, -0.0806577504, 0.0253803134, -0.06111582, 0.0522691496, 0.006503121, -0.0300001912, -0.0381304398, 0.0119076828, 0.0012240482, -0.0371391401, 0.0487795509, -0.0607363172, -0.0078378022, 0.0326907076, 0.0194756053, -0.0422672965, -0.0007541906, 0.0123961866, -0.0374222919, 0.041066505, 0.0343732685, 0.0148346024, -0.0373984389, 0.0489871874, -0.0100847818, 0.0592381246, 0.0343906656, -0.0215743538, 0.0668138266, -0.0167977754, 0.0480621122, -0.0341308452, 0.000043269, 0.010279784, 0.0578410923, -0.015336955, -0.0224178936, 0.0303197969, -0.0061220448, 0.0476923101, -0.0162859466, -0.0228009578, 0.0027788735, -0.0317186005, 0.0116267903, 0.0000107147, 0.0106023774, -0.0105189318, -0.0377263054, -0.0234225802, 0.0204903502, 0.0077964943, -0.0147338919, 0.0454431772, 0.0005640735, -0.0259060171, -0.0113166505, 0.0282688569, -0.0331562012, -0.0035949626, -0.0502738655, -0.0029390724, 0.0379062779, 0.09195292, -0.0559248328, -0.0551099628, 0.0202831104, -0.0267146304, 0.0399650931, 0.0366163813, -0.0359905399, -0.0251874998, -0.0074490407, -0.022772843, -0.023744233, 0.013034123, -0.0263744555, 0.0178058762, 0.0393898003, -0.0107899904, -0.0692851022, -0.0391103663, 0.0208311826, -0.0703107342, -0.0119269062, -0.0217740163, -0.0326201245, 0.0406246297, 0.0389328897, -0.0371462889, 0.056260366, 0.0541480444, -0.0108226482, -0.0669331029, -0.0001790273, 0.0361618288, -0.0452169776, 0.0455656238, -0.036948707, -0.0142630311, 0.0113431821, -0.0229136217, -0.0507278256, 0.0023376863, -0.0198709015, -0.0013676747, 0.0048309686, 0.0054341429, -0.0274371952, -0.0139149772, -0.0190245602, 0.051174894, 0.0076320767, 0.0082639121, -0.0048057572, -0.0070021423, 0.0329645053, -0.0431562364, -0.0099413553, -0.004900482, 0.0190795474, 0.0267316792, 0.0546497405, -0.0549755394, -0.0498975068, 0.0384253375, -0.0784651786, 0.0137298321, 0.0121929515, 0.0254366938, 0.0027689117, -0.0355763473, 0.0121777914, -0.0080735423, -0.0224471595, 0.0510251969, 0.0379135795, 0.0040936219, 0.0577940904, 0.0235934332, 0.0004108782, -0.055310864, 0.0239583328, -0.0721175298, 0.042948328, 0.0428884253, -0.0196779799, -0.0187453497, 0.0382377841, -0.0717264414, 0.0205257609, -0.0102714449, -0.0054103136, 0.054341644, 0.0040542549, -0.0149515159, 0.0599379055, -0.0074595176, 0.0069097276, 0.0578426123, -0.0055485116, -0.0365852118, 0.0214511827, -0.0354554653, 0.0054292828, -0.0079766838, -0.0106693795, 0.0199733023, 0.0049375864, 0.0137123447, -0.0115244696, -0.0289551169, 0.0289873965, -0.0141856186, -0.0241784453, 0.0005272142, 0.0092597092, 0.020960534, 0.0394886546, -0.0214951951, 0.0145263979, 0.1035222262, -0.0167202819, 0.0419974998, -0.0491206907, 0.0036825764, -0.007292869, 0.0406681038, 0.0182869062, 0.025740128, -0.0015937429, 0.0543074347, -0.0056344112, 0.0024843635, 0.0044036997, -0.0280415583, 0.0072281631, -0.0414984301, 0.0519588478, 0.0410850979, -0.0418993793, -0.0427568331, 0.0302537419, -0.0473997109, 0.0004676608, -0.0206431188, -0.0349954888, -0.0594873466, -0.0154724186, 0.0583143793, 0.0161909647, -0.0054269582, -0.0281153675, -0.0247438215, -0.0038407613, 0.0675791577, 0.0078452565, 0.0710667297, -0.0058099781, 0.0294237807, 0.085144192, 0.0018428898, 0.0325307027, -0.0037069786, -0.0259500965, -0.0351699963, -0.0383820795, 0.0193005651, -0.0141100846, 0.0299049336, -0.0547952391, -0.0302440841, 0.0653929189, 0.0294085126, -0.0361586362, 0.0119721359, -0.02104038, -0.0296558794, 0.0034194831, 0.0641868263, -0.1105128974, -0.003497757, -0.0364452004, 0.0372557789, -0.0509789139, -0.0754402205, -0.0055847238, -0.0861836299, 0.0538723581, 0.0048110075, -0.0161943939, -0.0549773425, -0.084114559, -0.0020056562, -0.0045473012, -0.0207165647, 0.0439802669, 0.0266082846, -0.0209376216, 0.0011592986, 0.0100518465, -0.0750874504, 0.0422670841, -0.0473758914, 0.0624628961, 0.0314813033, 0.0330375396, -0.0084647266, -0.0035545796, -0.0342989005, 0.0244715456, -0.0007548485, 0.0152239744, 0.0560307987, 0.0299791284, 0.014222784, -0.0523636788, 0.0079949014, -0.0708751231, -0.0161680132, 0.0202794541, 0.121205911, -0.0350491516, -0.0380765945, -0.0464527942, 0.0075367168, 0.0012716686, 0.0775900558, -0.0142160291, 0.0277552903, -0.0747055933, -0.0109766042, 0.0296231341, -0.0515277199, -0.0231250692, 0.0655161068, -0.032222759, 0.011150375, -0.0806302056, -0.0489695705, 0.0178670827, 0.0013611654, -0.0082928427, -0.0069857603, 0.0664241463, -0.0225687176, -0.0658586994, 0.0166137666, -0.0122589963, 0.0250261351, -0.022637248, -0.0155176064, 0.046193298, -0.0066662687, -0.0150349401, 0.0167450663, -0.0209953915, -0.0614961572, -0.0188244954, 0.0385211036, 0.022711752, 0.0218577087, -0.0294856746, -0.0045920499, 0.0653036833, 0.0561688133, -0.0466662832, 0.022237163, -0.0281661898, -0.0441710539, -0.0381964259, -0.0031712309, -0.0720376074, 0.0203068629, -0.0328431092, 0.0366668254, -0.0282382853, -0.02623206, 0.0355433598, 0.0733458996, 0.0022476823, 0.0108955055, -0.0033152478, -0.0179238003, -0.0061499239, -0.015760472, -0.0070608375, -0.0109899566, -0.0134840747, -0.0106976386, -0.0199081358, 0.026669668, -0.0011198984, -0.0466644689, 0.016984148, -0.0101101538, -0.0177908689, 0.0245082192, 0.0260229744, 0.0513879582, -0.0347159617, -0.0238410179, 0.0108614033, -0.0152044026, 0.0572264083, -0.0043193814, 0.0200987272, 0.0378131866, -0.0148812449, -0.0332971923, 0.002225772, -0.1129500344, -0.0307450369, 0.0050866092, -0.0073984168, 0.0367321633, 0.050698068, 0.0333446413, -0.0474227443, -0.0124229686, -0.0288458709, -0.003152837, -0.0147233093, 0.0120353745, 0.0385433882, 0.035056565, -0.0085032536, -0.0162916481, 0.0733898506, 0.0200860463, 0.0762368813, 0.0010415243, -0.0735871494, -0.0270796996, -0.0743530914, -0.0378532298, 0.0068493881, -0.0088050775, -0.0178970452, -0.0671666041, -0.0490022972, 0.0487498417, 0.0634705126, -0.0247146934, -0.0269281901, 0.0289467499, 0.0256857574, 0.0406274237, -0.0369191319, -0.0215400998, 0.0353538059, -0.0911235437, -0.0371180885, 0.0002113919, -6.020137463e-33, 0.0126798945, -0.072928682, 0.0489775129, 0.0015712901, -0.0316082165, 0.0244981442, -0.0705688447, -0.0341839492, -0.0228094328, 0.0671872571, -0.0171547886, 0.0352431014, -0.0054542725, -0.0233628135, -0.0051168203, 0.0034076483, 0.0084909378, 0.001272685, -0.0126102557, 0.0278404001, 0.0335514173, 0.0093290666, 0.0090424204, -0.067013517, 0.0158196017, -0.0014648807, 0.0112327682, 0.0296566673, -0.0536866784, 0.0696921572, -0.0181618817, 0.0473622456, 0.0042641731, 0.0110413572, 0.0254213456, -0.0416689888, -0.0738132596, -0.0291369408, -0.0185247865, -0.0126467906, -0.0580195449, -0.0114911972, 0.0436012372, -0.0062838802, -0.0429565273, -0.0071683577, 0.0276190415, -0.0171160046, -0.0215622671, -0.0352839977, -0.0613530613, 0.025633676, 0.0056623411, 0.0199895836, -0.0357151516, 0.0188685432, -0.0087144813, 0.0262749121, -0.0684230924, 0.0261777434, 0.0214403793, -0.027254181, 0.0322353989, -0.0215691663, 0.0159333441, 0.0550101586, 0.0209988561, 0.0351624526, -0.0104997689, 0.0023368362, -0.0191559792, 0.0385162681, 0.029727269, 0.0745113567, 0.001979012, 0.0013758731, -0.1063503399, 0.0515252836, -0.011913727, 0.0277338997, 0.0018720879, -0.0199568346, -0.0422595292, -0.0206223708, -0.0280129537, 0.0235331133, -0.0219828729, -0.0131558487, 0.002428852, -0.0422230177, -0.0144676156, 0.0006759434, -0.0138920881, -0.0669849515, 0.0263843741, 0.0286580045, -0.0164617002, 0.0135867996, -0.0092180073, 0.034429349, -0.0612185672, -0.0035220564, 0.0161101855, 0.0333849341, 0.0505434535, 0.0441199467, -0.0100195371, 0.0005681948, -0.0071529718, 0.0004354499, -0.0265736282, 0.0027265211, 0.0075694793, -0.0125831207, 0.0064216056, 0.042122893, 0.014876307, 0.0430735424, 0.0307648033, 0.0278443601, -0.004619156, 0.0516920723, 0.013794234, 0.0152478693, -0.0315084755, -0.0054955012, -0.0540503226, 0.0680361539, -0.0253942236, -0.0884875581, 0.0156179117, 0.0153915407, 2.797e-7, 0.058143843, 0.0533197671, 0.0254567899, 0.0252343789, 0.0310740992, 0.0263285525, -0.0090469168, -0.0072520664, -0.0348672867, -0.0262826458, 0.0345528461, 0.0216053706, -0.0096023688, 0.0521812029, -0.0408288129, -0.0322248526, -0.0526540242, -0.066631265, -0.0560667738, -0.0209156275, 0.0283782873, -0.011964283, 0.0003263006, -0.0363459252, 0.0155713325, -0.0559634157, 0.0509310439, 0.0521219708, 0.0189428385, 0.0592035241, 0.0189848859, 0.0053304615, 0.026735751, 0.0742265284, -0.0032657865, -0.0084133744, -0.0155688189, 0.0288447719, -0.0359633528, -0.0053746784, 0.0296785645, -0.0204792134, 0.0405306928, -0.045192495, 0.0374589153, -0.0360341929, -0.0436867438, -0.0124276681, -0.0228297655, -0.0176195893, 0.0134386579, -0.0274599828, -0.0016865997, 0.0079221204, -0.0193144567, 0.0359343849, 0.0000197454, -0.0469242968, 0.0194777641, 0.0375582539, -0.0191796664, -0.0784739926, 0.0220556147, -0.0054513034, -0.0010598529, -0.088371411, 0.0323114432, 2.414762484e-34, 0.0424792655, 0.0099604018, -0.0182998609, -0.025804393, 0.062272694, 0.0016204251, -0.0269408543, 0.0001829037, 0.0003012703, -0.064959228, -0.0151735488 ]
http://arxiv.org/abs/2407.00463v2
http://arxiv.org/pdf/2407.00463v2
Open-Source Conversational AI with SpeechBrain 1.0
2024-06-29T15:20:11
2024-07-02T12:53:10
Mirco Ravanelli, Titouan Parcollet, Adel Moumen, Sylvain de Langen, Cem Subakan, Peter Plantinga, Yingzhi Wang, Pooneh Mousavi, Luca Della Libera, Artem Ploujnikov, Francesco Paissan, Davide Borra, Salah Zaiem, Zeyu Zhao, Shucong Zhang, Georgios Karakasidis, Sung-Lin Yeh, Aku Rouhe, Rudolf Braun, Florian Mai, Juan Zuluaga-Gomez, Seyed Mahed Mousavi, Andreas Nautsch, Xuechen Liu, Sangeet Sagar, Jarod Duret, Salima Mdhaffar, Gaelle Laperriere, Renato De Mori, Yannick Esteve
cs.LG
cs.LG, cs.AI, cs.CL, cs.HC, eess.AS
SpeechBrain is an open-source Conversational AI toolkit based on PyTorch, focused particularly on speech processing tasks such as speech recognition, speech enhancement, speaker recognition, text-to-speech, and much more. It promotes transparency and replicability by releasing both the pre-trained models and the complete "recipes" of code and algorithms required for training them. This paper presents SpeechBrain 1.0, a significant milestone in the evolution of the toolkit, which now has over 200 recipes for speech, audio, and language processing tasks, and more than 100 models available on Hugging Face. SpeechBrain 1.0 introduces new technologies to support diverse learning modalities, Large Language Model (LLM) integration, and advanced decoding strategies, along with novel models, tasks, and modalities. It also includes a new benchmark repository, offering researchers a unified platform for evaluating models across diverse tasks
Open-Source Conversational AI with SpeechBrain 1.0: SpeechBrain is an open-source Conversational AI toolkit based on PyTorch, focused particularly on speech processing tasks such as speech recognition, speech enhancement, speaker recognition, text-to-speech, and much more. It promotes transparency and replicability by releasing both the pre-trained models and the complete "recipes" of code and algorithms required for training them. This paper presents SpeechBrain 1.0, a significant milestone in the evolution of the toolkit, which now has over 200 recipes for speech, audio, and language processing tasks, and more than 100 models available on Hugging Face. SpeechBrain 1.0 introduces new technologies to support diverse learning modalities, Large Language Model (LLM) integration, and advanced decoding strategies, along with novel models, tasks, and modalities. It also includes a new benchmark repository, offering researchers a unified platform for evaluating models across diverse tasks
[ -0.0045485757, 0.0802661702, 0.0189017747, 0.0231060255, -0.0232558176, 0.0113336639, 0.0254831221, -0.033956062, 0.0084317215, -0.0163236372, -0.0675308928, -0.0147109879, 0.0289915409, 0.0733240545, 0.0422764644, -0.0752140433, 0.0421895385, -0.0288685448, 0.0312055647, 0.0207314789, 0.0064769178, 0.0093114283, -0.0765543804, 0.0567871667, -0.0259683542, -0.0001124956, -0.0341761261, -0.0130699342, 0.0252479836, -0.0078094956, 0.0109639876, 0.0258215629, 0.0336114913, 0.0469992384, 0.0000018316, -0.0040897559, 0.019088598, -0.008814198, -0.0352787226, -0.01207498, 0.0456479043, -0.0134500479, -0.0080524273, 0.0435792394, -0.0536144376, -0.0149055086, 0.0410992503, 0.0613561757, 0.0660289153, 0.0645405054, 0.0056374935, -0.0082326708, 0.0481477156, -0.0219132453, -0.0066642524, -0.0469740294, -0.0195064973, -0.024445245, 0.0037437191, -0.0238783471, -0.0221938323, 0.0372686014, 0.0256234016, -0.0244735703, 0.0615037121, 0.0356427841, -0.06698782, -0.060342025, -0.0644816533, 0.0968221873, -0.004911623, -0.0059640482, -0.0099425111, 0.010743171, -0.0169310682, -0.0546886474, -0.0313945897, 0.0037010927, 0.04310707, 0.0247807633, -0.0389839113, 0.0064294585, 0.0156459659, 0.0030951323, 0.0029206816, 0.0369662866, 0.0029433474, 0.0024397119, 0.0057002408, -0.0178677142, 0.0146826832, -0.0575034805, 0.0216563456, 0.0400382057, -0.0284142978, 0.0072762901, -0.0797231719, -0.0309642721, -0.0057640364, -0.0062925695, -0.0134917041, 0.0497526713, -0.0479342937, 0.0377319455, -0.0368179716, 0.0602017753, 0.0080869617, -0.0173863564, -0.0060044341, -0.0176106039, 0.0134781525, 0.0430677682, -0.0216086246, 0.0026011672, -0.0433976315, -0.0822674856, -0.0230956636, 0.0198864453, -0.0285223573, 0.0333161019, 0.0218723267, 0.0360387526, -0.0445980504, 0.0007961483, 0.022714084, 0.0318886414, 0.0242116004, 0.0365842544, 0.005753221, -0.0719966963, -0.0375649109, 0.0379683524, 0.0330996923, -0.0067600533, 0.0195598174, 0.0472103544, -0.0071181748, -0.0331202149, 0.0224927794, 0.0578122512, -0.0014515694, -0.0568488985, -0.0058662528, -0.04415714, 0.0169316847, -0.0288654156, -0.0022470476, -0.016790688, 0.0260223821, -0.0291875415, 0.0021564406, 0.0530334376, -0.0170637667, 0.0035244718, 0.0439076833, 0.0164568238, -0.0137778483, 0.0271461252, 0.0389428437, 0.0311828218, -0.0004891188, -0.010350626, 0.0149827506, 0.031197207, 0.0215614084, -0.0113835167, 0.0047146711, -0.0105592404, -0.0057087713, 0.0214195661, 0.0492817275, 0.0367777236, -0.0664514452, -0.0259532593, 0.0643817484, 0.0734966248, 0.006676808, 0.0201464966, -0.0069532972, 0.011497301, 0.0206284113, -0.0210946202, -0.0716864765, 0.0454344489, -0.0293773953, 0.0016399442, -0.0040491214, 0.0385741182, -0.0521495007, -0.0199618153, 0.0365195237, -0.0648984239, 0.04810201, 0.012557663, 0.0494559109, 0.0041931164, -0.0464933775, 0.0150039392, -0.0013469717, -0.0659925491, -0.0186547376, -0.0261888839, 0.0471517332, 0.0443067625, 0.0046329731, -0.0494037978, -0.0535224378, -0.0163394194, -0.0237774495, 0.0574308746, 0.0104714204, -0.0237282403, 0.1238826215, -0.0805833042, -0.0010878709, -0.0198312495, 0.0056237392, 0.0648393482, 0.0116642984, 0.0309578516, 0.0107454024, 0.0412334763, 0.0475883484, 0.0253462568, -0.0376173705, -0.0132731171, 0.0058969958, -0.0208289213, 0.0553065166, 0.0301251356, -0.0197492149, -0.0278145131, 0.031900689, -0.0397490375, 0.0099237356, 0.033895459, -0.0471308604, -0.0316064321, 0.0423858464, -0.0036495407, -0.0038588338, 0.0545821115, -0.0338930674, -0.0686027333, 0.1018621698, -0.018120179, 0.0536114462, -0.0405072086, 0.0134692742, -0.001028524, 0.0274831019, 0.0443470664, -0.0018740889, 0.0209578834, -0.0622976236, 0.0334967636, 0.0224103183, -0.0191042945, -0.0611670464, -0.0405464731, 0.0471361578, -0.0177860819, 0.0191746298, -0.0177338254, 0.0186827965, -0.0582857653, -0.0246222187, -0.110353671, -0.000243949, 0.0014553202, -0.0066676429, -0.0074068764, 0.0318100713, -0.0079362392, -0.0306352638, -0.0240819063, 0.0080218222, 0.0249762535, -0.0298408587, -0.0276841968, 0.0257564075, -0.0416975319, -0.0593694709, 0.0066345101, 0.0592277125, 0.0054238942, -0.0313593224, -0.070017226, -0.0179437734, 0.0325999409, -0.0337490104, 0.061433021, -0.0360813476, -0.0416772068, 0.0024167614, -0.0045450917, 0.0432441197, 0.094503358, 0.0122645628, -0.0041340208, 0.0244530849, -0.024640061, -0.0694695711, 0.022479279, -0.0095456224, 0.0294159874, -0.024345886, 0.0192355923, -0.0255536698, 0.0411736183, 0.0153448274, 0.0325219259, -0.0332247913, -0.0044438699, 0.0292250011, -0.0677447692, -0.0163474269, -0.0303511713, -0.0358477272, 0.0176188853, 0.0059782262, -0.0768092349, 0.0327428021, -0.0687193945, -0.0355491154, -0.0206561293, -0.0646084845, -0.0053429715, 0.0340014622, -0.0185447559, 0.0165213943, -0.0146771977, -0.0614610203, 0.0051287799, -0.0111733656, -0.0066074594, -0.0564642772, 0.0123222386, -0.0165103972, -0.0102456026, -0.0014368215, -0.0343557112, -0.0472296737, 0.0180710703, -0.0493060201, -0.0049712239, 0.009124754, -0.0478886403, -0.0160792954, 0.0094320569, 0.0291877333, 0.0477316119, -0.017676793, 0.0315785632, -0.0155441603, 0.0160523616, 0.0436185189, 0.035233058, 0.0382554792, 0.0019605956, 0.0368069038, 0.0417319909, 0.0635242462, -0.0015816753, -0.0749321058, 0.0186798908, 0.0286776628, 0.0427515395, -0.0141452746, 0.0035544145, 0.0229255129, -0.0552472994, 0.0193292703, 0.1079920754, 0.0066163675, -0.0214634351, -0.0137716727, -0.0283815395, 0.0024594797, 0.0025594968, -0.0017061293, -0.0604047216, -0.0305570718, 0.0431210659, 0.0185910612, 0.0060497262, 0.0075588105, -0.0130290436, -0.058971528, 0.0318185501, 0.0330983736, -0.0334784314, -0.0547479428, -0.0148103805, 0.0067570042, -0.0529863127, 0.0232270528, 0.01637372, 0.0168554801, -0.0103528006, -0.0178616978, -0.0074173305, -0.0177955367, 0.0223569833, -0.0437617116, 0.1097015813, 0.0756926164, 0.0545477718, 0.0222774055, -0.0010536812, 0.0250264313, 0.0194045212, -0.0076108784, -0.0394754298, 0.044613719, -0.0078534987, 0.0017907609, -0.0099998638, 0.0647720024, -0.0115748653, -0.0165036861, 0.0012386122, 0.0074920175, -0.0432563573, -0.0106947022, -0.0230342429, 0.0388489589, 0.0256108455, 0.0417051464, 0.0183879901, -0.0102009177, -0.0456324778, -0.022732785, -0.0068397345, 0.0035928686, -0.014225048, 0.0101204515, 0.0431346446, -0.047504086, -0.0424147435, -0.0078974748, 0.023740571, 0.0375432819, -0.0058161365, -0.0289128702, 0.0206134543, 0.0291019864, -0.031094173, 0.0156831481, 0.0092663271, 0.0318166167, -0.0476105176, -0.0075396155, 0.012937855, -0.0775674134, -0.0057804878, 0.0215107221, -0.0630787984, -0.0656944588, -0.0256084315, 0.0526739061, 0.0309896227, 0.076422967, -0.0459704064, -0.0404843614, 0.0280878413, -0.0040690689, -0.0295844041, 0.0468821153, 0.0855183974, 0.0088507924, 0.0064000655, 0.0282422882, -0.0487393178, 0.0223342981, -0.0400228836, 0.0096117919, -0.0243595578, -0.0625947416, -0.0293253399, 0.007000675, 0.0239855722, 0.0346134156, 0.002072294, -0.0551869608, 0.0108281132, 0.0146352574, 0.0592821762, -0.075810492, 0.0150461067, 0.0168831944, 0.0150136845, 0.0074466662, -0.0211178008, 0.0076210536, -0.0086342776, -0.0084831556, 0.0339570083, 0.0173592977, -0.0001033074, 0.0045171673, 0.0078263842, -0.037255995, 0.0249282327, 0.0054529016, 0.028209364, 0.0269803219, 0.0335423276, -0.0201886799, -0.0545512438, 0.0104740839, 0.0313477889, -0.0815606639, -0.045067545, -0.033322446, 0.0368570648, 0.0100830793, 0.0276980195, 0.0652420819, -0.0101742772, 0.0199865419, -0.0027312946, 0.0343658254, -0.0156828146, -0.0157631785, 0.0193621516, -0.0041985009, -0.0336861201, 0.017255161, 0.0445285067, -0.0113425432, 0.0401572511, 0.0122801848, 0.051987011, -0.0488940254, -0.0646155924, 0.0231571849, 0.0221491307, -0.0314491652, 0.0141734146, 0.0179005694, -0.0360295996, 0.0028246988, 0.010656449, -0.0240711384, -0.0199494287, 0.0038168603, -0.0056619751, -0.0243883207, 0.0063662403, -0.016974235, -0.0087462822, -0.0229883753, -0.0336452574, 0.0166142378, -5.784776678e-33, -0.0430918783, -0.0020630576, 0.0036135744, 0.0002541606, -0.0313411057, 0.0271815285, -0.0453123972, 0.0046076053, -0.0380905643, -0.0329133011, 0.0039190301, 0.0703722537, 0.0155208074, 0.0279234909, -0.0381132364, -0.0066168578, 0.0386190526, -0.0170634408, 0.0024242622, 0.0441481732, 0.0168684777, 0.0454659574, 0.049338907, -0.0969011262, -0.0321661383, 0.0155980298, -0.0353701487, -0.0183077361, 0.0063528912, 0.0062639974, -0.0241946131, -0.0029680142, -0.0278680921, -0.0042043105, -0.010753219, 0.0359299928, -0.0657249838, 0.0199008845, -0.0260004606, 0.0231318828, -0.0584234297, -0.0166330077, 0.0199139901, 0.0021386086, -0.0224211924, -0.0093222465, -0.0017845025, -0.0664439276, 0.0115280561, -0.0151418298, -0.0339669473, 0.0386642218, -0.0244298223, -0.0429589525, 0.0456422381, 0.0700999722, -0.0069230124, 0.0168337263, -0.034112934, 0.0584482364, -0.0195935275, 0.0140968021, 0.052746851, -0.0047708452, 0.0282749142, 0.0571928993, 0.0556852221, -0.0867986083, 0.0113607291, -0.0125469053, 0.0402917489, 0.1072217897, 0.0412739329, 0.0461968184, -0.0344563499, -0.012121819, 0.0165512767, 0.0193430167, 0.0612137206, 0.0075901011, -0.0052047595, 0.0313089564, -0.0216101166, 0.0242128558, -0.0260610301, -0.0042573139, -0.0348600969, -0.0143364994, 0.0164789278, 0.0432821214, -0.0148057947, -0.0207333267, 0.0502320714, -0.0258655287, 0.0382588804, 0.0618804879, 0.0032064365, 0.0047161304, 0.000060999, 0.0566798858, -0.0554714203, -0.0339163244, 0.0863920525, 0.0224664435, 0.0118029425, -0.0151635008, -0.0267050061, 0.0415124521, -0.0244527105, -0.014425924, -0.0300207976, 0.0557719693, 0.0120827733, 0.0547180586, 0.0364743434, -0.0187464673, -0.0147149041, 0.0368840136, -0.0432613567, 0.0423134305, -0.0399301425, -0.059775196, 0.0254871827, -0.0037134483, -0.0615170524, -0.0008133129, -0.040998552, -0.0155631844, 0.0253356732, -0.0572993867, -0.0220611151, 0.0200713445, 2.707e-7, -0.043678198, 0.0430713221, 0.0390755199, -0.0296935532, 0.034347944, 0.041230049, -0.0290591251, 0.0265876781, 0.0105801793, -0.000350771, 0.0138798328, 0.0160759632, 0.0672979578, 0.0228830799, -0.0348369218, -0.0418750718, -0.0707294643, -0.0082428176, -0.0037483398, -0.0081245322, 0.0017823948, 0.1096536815, 0.0045329649, -0.0151295178, 0.0596630722, -0.0127604716, 0.0208458304, -0.0487169772, 0.0086257402, -0.0232938081, -0.0105909202, 0.0179161783, -0.0002258973, -0.0355915129, -0.0159846153, 0.0248406809, 0.0184785668, 0.0852052346, -0.017931344, -0.0780509934, -0.006517611, 0.0479437783, -0.0240580719, -0.0476037264, 0.0536320172, -0.0094180945, -0.0549026988, -0.0635589659, -0.0448142178, -0.0130468449, 0.0024755686, -0.0291434042, 0.0172570087, 0.0082348082, -0.013055997, -0.0424686819, -0.0318766497, -0.0933973193, 0.0027573274, -0.0355176926, -0.0631600246, -0.0134198777, -0.0496556945, -0.0023739105, -0.0068574278, -0.0412479565, -0.0005118549, 1.986730094e-34, 0.0231147483, -0.0201984905, 0.0202214234, 0.0185459983, 0.0041644797, 0.013396034, -0.0013469483, -0.0082170572, 0.0172889121, -0.0611139089, -0.0467649922 ]
http://arxiv.org/abs/2407.00455v1
http://arxiv.org/pdf/2407.00455v1
Polarization and Morality: Lexical Analysis of Abortion Discourse on Reddit
2024-06-29T14:50:55
2024-06-29T14:50:55
Tessa Stanier, Hagyeong Shin
cs.CL
cs.CL, cs.CY
This study investigates whether division on political topics is mapped with the distinctive patterns of language use. We collect a total 145,832 Reddit comments on the abortion debate and explore the languages of subreddit communities r/prolife and r/prochoice. With consideration of the Moral Foundations Theory, we examine lexical patterns in three ways. First, we compute proportional frequencies of lexical items from the Moral Foundations Dictionary in order to make inferences about each group's moral considerations when forming arguments for and against abortion. We then create n-gram models to reveal frequent collocations from each stance group and better understand how commonly used words are patterned in their linguistic context and in relation to morality values. Finally, we use Latent Dirichlet Allocation to identify underlying topical structures in the corpus data. Results show that the use of morality words is mapped with the stances on abortion.
Polarization and Morality: Lexical Analysis of Abortion Discourse on Reddit: This study investigates whether division on political topics is mapped with the distinctive patterns of language use. We collect a total 145,832 Reddit comments on the abortion debate and explore the languages of subreddit communities r/prolife and r/prochoice. With consideration of the Moral Foundations Theory, we examine lexical patterns in three ways. First, we compute proportional frequencies of lexical items from the Moral Foundations Dictionary in order to make inferences about each group's moral considerations when forming arguments for and against abortion. We then create n-gram models to reveal frequent collocations from each stance group and better understand how commonly used words are patterned in their linguistic context and in relation to morality values. Finally, we use Latent Dirichlet Allocation to identify underlying topical structures in the corpus data. Results show that the use of morality words is mapped with the stances on abortion.
[ 0.0447996445, 0.0916813612, -0.0121586034, 0.021761395, -0.0407148376, 0.0060516628, 0.0185563564, -0.0207633618, -0.0602703206, -0.032417845, 0.0050913817, -0.0490316302, 0.0023556214, -0.0187268443, -0.0321985036, -0.0348177813, 0.0133478902, 0.0534376167, 0.0539193712, -0.0139613012, 0.0308174398, 0.0225971024, -0.0156924594, 0.03935913, 0.0020513425, -0.0077340379, 0.019544391, -0.0056834649, 0.0285199098, -0.0175142437, 0.0162740722, 0.0672252476, -0.0331430621, -0.0112737129, 0.0000015202, -0.0291587431, -0.0157863498, -0.0120462496, 0.0574657246, 0.0081496472, 0.1159536019, 0.0145867523, 0.0054797675, 0.0290262327, -0.0155695956, 0.0054999762, 0.0609157272, 0.0619141981, -0.0039054779, 0.0187069289, -0.0060807662, -0.0521934442, -0.0194417387, 0.0068986434, -0.0214582384, 0.0336336195, 0.022058934, 0.0077687912, -0.0277099498, -0.004763233, -0.0064494144, -0.0087856585, -0.0252864901, -0.0127347223, -0.0133775705, -0.0065176804, 0.0363559797, -0.0510059744, 0.0425841734, 0.0252598021, 0.0331353582, -0.0229283627, 0.0630829558, 0.0172602553, -0.0390930511, 0.0667186454, -0.0529711023, 0.0471974127, -0.0361950584, 0.023104284, 0.0727155358, -0.0117478427, 0.0251484253, 0.0534087047, 0.0122909192, 0.0301860627, -0.0015866886, -0.0084657017, 0.0091558639, -0.0110742133, -0.0600388832, -0.0214413442, 0.0460592657, -0.0458481461, 0.0484146029, 0.0480248332, -0.0037423482, -0.0256896894, 0.066749908, -0.067651622, -0.0051034647, -0.0373149477, 0.0250157025, 0.0493387766, 0.0633511692, -0.0543779247, -0.0082142856, -0.0140358824, -0.0085866991, 0.0198502392, -0.0426171869, 0.0363096483, 0.0223178174, -0.0053591174, 0.0073803361, 0.0337691829, -0.0017273049, -0.0268092677, -0.0363323838, -0.0792910904, -0.0448050238, -0.0127311358, 0.0285205934, -0.0026417684, -0.0006646953, 0.0313189663, -0.0557424799, 0.0394372232, -0.0598465092, 0.0359348394, 0.0601000562, 0.0159070361, -0.0064080134, 0.0079084206, -0.0139253521, 0.0504600368, 0.0367721468, -0.0009649415, 0.0000601303, -0.0150294518, -0.033209946, -0.0033932137, 0.0050820638, -0.075020276, -0.0014628846, 0.0182379168, -0.0176476743, -0.053966824, 0.0163491238, 0.0476379804, -0.0377593488, 0.0531437173, 0.0229465757, 0.0171914529, 0.0345470272, 0.0179441012, 0.0087448694, 0.0431161411, -0.0345836356, -0.0322995558, 0.0386456437, -0.0075128204, -0.0643513203, -0.0312027708, -0.0155711798, 0.027184613, -0.0361014009, 0.0209305119, -0.0380582213, -0.0547198206, 0.0096020456, 0.0481699184, 0.0156449098, -0.0613707118, 0.0179737657, 0.1316689551, -0.0403121337, 0.0380089395, -0.0183237735, 0.0377615504, -0.0103762178, 0.0054915734, 0.01092037, -0.0379330516, 0.0127890073, -0.0836902931, 0.0020828152, 0.0420359485, 0.0238152295, -0.0277200788, -0.0375989377, 0.0017784399, 0.0174494274, -0.072163865, 0.0398262255, -0.0204049367, 0.0359103978, -0.0012115634, 0.0717909485, -0.0294424463, -0.0129169244, -0.0113339545, 0.0788699314, 0.0138160009, 0.0106581701, -0.0264079403, -0.0383466259, -0.019025404, 0.0406385995, 0.0740238726, 0.0091640195, -0.0036817538, -0.091172196, 0.0037876382, -0.0483398624, 0.0151785053, 0.0216526315, 0.0264952835, 0.0003644005, 0.0194783509, -0.0222293511, 0.0013320931, 0.0077735716, 0.0230499711, 0.0552702658, 0.0564306974, -0.0062311706, 0.0037198206, 0.0265116766, 0.0039707758, -0.0370768309, -0.0142675033, 0.0180746671, -0.0246481672, -0.0321325846, -0.0192651749, 0.0044964114, 0.0433871783, 0.0171388667, -0.1041225269, -0.0198150109, 0.0008029387, 0.0178715643, 0.0346597023, 0.0555678755, -0.0290358253, 0.0061220485, 0.0021028446, -0.02368192, -0.0525840186, 0.0031002655, -0.0339571722, 0.0602958836, -0.0314573497, 0.0626045093, 0.008423497, -0.0755410492, 0.0410619974, 0.0497822389, 0.0064307009, -0.0332264826, 0.00159378, 0.0401662104, 0.0677744448, 0.0106919296, -0.0224165004, -0.0565857813, -0.0216465853, -0.0181889031, -0.0083785625, 0.0396187194, 0.0157041717, -0.0313214511, 0.007815429, 0.0263979826, -0.0085733403, -0.0105077913, -0.0432218723, -0.0155471675, 0.0131519828, -0.0324375778, 0.000848915, -0.0092418045, -0.0052002473, -0.0161877684, -0.0013430752, 0.0300044399, -0.0292874295, 0.0209859144, 0.0355548747, -0.0632580221, -0.0257534888, 0.0032499384, -0.0498940647, 0.0141353197, 0.0139146848, 0.0309028979, 0.0077046151, 0.0451290868, 0.0408726558, 0.0116410106, 0.050220523, -0.0132244471, -0.0487532727, -0.0496173501, 0.0375118777, -0.0342185013, -0.0281239655, 0.0259831101, 0.0848816112, 0.0103571108, 0.0005258383, -0.0018273564, 0.0358950272, -0.0928963423, -0.0053185304, 0.0131702367, -0.0082147485, 0.0039916732, 0.0404563025, 0.0032456908, -0.0214852411, -0.0086295065, 0.0421371534, 0.0688608959, -0.036044471, -0.0389629342, -0.0050451113, 0.0152724199, -0.006210668, 0.0188568886, -0.0155933723, -0.0167714041, 0.0023219909, -0.0407916792, 0.0595746301, -0.0230798591, 0.0826923326, -0.0532278195, 0.018732613, 0.0037002144, -0.0411683545, -0.0219077673, -0.0896496698, -0.0042107315, -0.0400269032, 0.0418487191, -0.0246038176, 0.0358636938, 0.024777703, -0.006550231, -0.0701436549, 0.029796822, 0.0011638, 0.0198003743, 0.0305831693, 0.009953483, -0.0288810469, 0.0329989307, 0.0190432891, -0.027815938, 0.0684270933, -0.0040756976, 0.0287639964, 0.0025417637, -0.0207920205, 0.0301080346, -0.0204149634, -0.0026440171, -0.0209478904, 0.0141837373, -0.0105240224, 0.0398255959, 0.0594334602, 0.0384382159, -0.0592356995, -0.0322158746, -0.0292983279, -0.0324166529, 0.0092799701, -0.0074487603, -0.049450513, 0.0180493519, -0.0159093756, -0.0083832089, -0.0511540771, -0.0568729527, 0.0096426588, -0.0712955594, -0.0159287676, -0.0206630789, -0.0045175143, 0.0000438191, -0.0460612252, 0.050943736, 0.0054343431, -0.0051901434, -0.0107739316, 0.0020079622, 0.0112564946, 0.0329568125, -0.0546230339, -0.0085196216, 0.0227362644, -0.02532015, 0.0326659009, -0.0117502613, 0.0720585957, -0.0283407699, -0.0151385739, 0.0393039249, 0.0109152682, -0.0553212613, -0.0062718638, -0.0004564455, 0.0024432188, -0.0173793938, -0.0496305339, 0.0438449159, -0.0288986545, -0.0321378075, 0.0262010433, 0.0546883307, 0.0020205749, -0.0297466926, -0.0508884117, 0.0540651716, 0.0138238631, 0.0428776443, 0.0393446051, -0.0213351864, 0.0164944921, -0.028674148, 0.0080004456, -0.0039908043, -0.0621975064, -0.064062044, -0.0414211154, -0.066027239, -0.0430149585, 0.0029017441, -0.0365143605, 0.0023423766, 0.0450479686, -0.0031928681, 0.0614925884, -0.011287218, -0.0479339659, 0.0022323008, 0.0205536261, -0.0273273475, 0.0108877886, -0.0513369814, 0.0151890097, 0.0364937857, -0.0287852008, -0.02119877, 0.0054526948, -0.0145772928, 0.0262981616, -0.0387252457, 0.0107293529, -0.0092249094, -0.0364777781, -0.0058316304, -0.0104866112, 0.0620310865, -0.0438609235, 0.0086307013, 0.0059974287, 0.0297350157, 0.0332224891, 0.0235945154, 0.0045747026, 0.0473513231, 0.0146263437, -0.0378617495, -0.0755352154, -0.0018575537, -0.0096016703, -0.0109486664, 0.0410014875, 0.0115883239, -0.0243777968, -0.0560872965, -0.0791137293, -0.0227513071, -0.0079551041, 0.0101526184, 0.0036225375, 0.0255101733, -0.0354394615, -0.0415763482, 0.0312195197, -0.0640053526, 0.0323684998, 0.0126088206, 0.0532584786, 0.0375782065, 0.0230276883, -0.0244725253, 0.0130631309, 0.0044282731, 0.0032227302, 0.0173483286, 0.0123666991, -0.02632262, 0.0260101147, -0.0056021288, 0.0001683421, 0.0472713001, -0.0033799033, -0.0131760743, -0.0568217076, 0.0021392715, -0.0094414838, -0.0215604417, -0.0024327515, 0.0359392017, -0.0226532184, -0.0213366505, -0.0286454372, 0.0462294482, -0.0172425658, 0.0021466298, 0.0111799687, 0.003930151, -0.0491276421, -0.020335352, 0.0255115367, -0.0273145661, -0.0024822119, 0.0811312348, -0.0677862316, -0.0163430925, -0.0201753955, 0.0142461769, -0.0234932825, 0.0088431872, 0.0296047982, -0.0704672635, -0.0295496304, -0.0168103948, -0.018041648, 0.036483191, -0.0133115565, -0.0015459629, 0.0667102337, -0.0102563342, 0.0780869201, -0.0495700985, 0.069235459, -0.0875911117, -0.0162369274, -0.0120477118, -5.496038898e-33, -0.0081066722, -0.0566590317, -0.0351307206, 0.0371908955, 0.0033778471, 0.0231767595, 0.0263622515, 0.0607002936, -0.0071959267, 0.0731046796, 0.0137651516, 0.0436954424, 0.0171418674, 0.0006772323, 0.0133416243, -0.0183371976, -0.018264683, -0.0152436486, 0.0090836203, 0.0252919551, 0.0081924293, -0.0079869358, 0.013610173, -0.0571045764, 0.0233297478, 0.041833397, 0.0325504132, 0.0035253314, 0.0530448183, 0.0163151603, -0.0273822285, 0.0470830761, 0.0425273292, -0.0369511954, -0.001479498, 0.0940695778, -0.0270250216, -0.0569743402, 0.0507433861, -0.0124932164, -0.0083313463, -0.0303900931, 0.0267254058, 0.0415046178, -0.0347874239, -0.0272828266, 0.0685571656, 0.0000045012, 0.0102825174, -0.0588812232, -0.0294952672, 0.0341345444, -0.0580043904, -0.0105977813, -0.0297828652, -0.0254796986, 0.0204429552, 0.0324307866, 0.0192260537, 0.0379229262, -0.0574581884, 0.0306846686, -0.0105767474, -0.0570355132, 0.0310306847, 0.0894580632, -0.0454681367, 0.0273619071, -0.0308736973, 0.0009197402, 0.0081217391, 0.0400460511, 0.0239759143, 0.0410765372, 0.0424014553, -0.0461212359, -0.0535895936, -0.0302311014, 0.0804019645, -0.0120838135, 0.0490537547, -0.0387578756, -0.0088664973, 0.0045872275, -0.0436204858, -0.0951748341, -0.0269016344, -0.0203123502, -0.0375149809, -0.0368562527, -0.0523173735, -0.0484577678, 0.0094132842, -0.0337927528, -0.0232515261, 0.0430038609, -0.0208024271, -0.0072571049, 0.0042214654, 0.0294957701, -0.0312653743, 0.0046454053, -0.055242233, -0.0089919074, 0.0570081957, -0.0258544385, 0.0223567598, -0.0391985886, -0.0497033112, -0.0487550125, -0.024049269, -0.00667535, -0.016498087, 0.0710013658, 0.0185703058, 0.066576086, 0.0157563891, 0.0038260361, 0.0408620127, 0.0529421046, 0.027848199, -0.0341353901, -0.0527542569, 0.0172553416, -0.0494832993, -0.0469363481, -0.0304299723, 0.0712315962, 0.0435291752, -0.0287216734, -0.0218166839, -0.0185134839, 2.355e-7, 0.0917748436, 0.0613507703, -0.010867646, -0.0055817254, 0.0283888076, 0.022838179, 0.047300227, 0.0293066874, -0.0199735388, -0.073251754, -0.0526792519, 0.0070817415, 0.0299469028, 0.0222682096, -0.0323584639, -0.0205660686, -0.0048507405, 0.0235857721, -0.0258273799, 0.0174134653, -0.0085144844, 0.0507244878, 0.0452180952, -0.0017121751, -0.0465713479, 0.0484073088, 0.028460389, -0.0634172931, -0.0723954961, -0.0140923038, 0.003335309, -0.0550017618, 0.0202226974, -0.012549012, 0.0036956714, -0.0471891537, 0.0493501201, 0.0350834541, 0.0253841318, -0.017582098, -0.0038780279, -0.0529088117, -0.0155325914, 0.0413459092, 0.0401935019, -0.0510716327, -0.0217163004, -0.0844203904, -0.009252782, -0.0346563496, 0.040594656, 0.0131902946, -0.0464400835, 0.0285186898, 0.0027441545, -0.0066980137, 0.0021312465, -0.043062862, 0.0036240106, 0.0352044776, -0.0361881256, -0.0536835976, 0.0356201679, 0.0066009765, 0.0472394265, 0.0270533841, 0.0344856754, 1.554980432e-34, 0.0308312047, -0.017248068, -0.0190446805, -0.0179616269, 0.0447098054, 0.0155310081, -0.0158663802, 0.0213988516, 0.0131389564, -0.0298664384, 0.0137986485 ]
http://arxiv.org/abs/2407.00454v1
http://arxiv.org/pdf/2407.00454v1
Self-Translate-Train: A Simple but Strong Baseline for Cross-lingual Transfer of Large Language Models
2024-06-29T14:40:23
2024-06-29T14:40:23
Ryokan Ri, Shun Kiyono, Sho Takase
cs.CL
cs.CL
Cross-lingual transfer is a promising technique for utilizing data in a source language to improve performance in a target language. However, current techniques often require an external translation system or suffer from suboptimal performance due to over-reliance on cross-lingual generalization of multi-lingual pretrained language models. In this study, we propose a simple yet effective method called Self-Translate-Train. It leverages the translation capability of a large language model to generate synthetic training data in the target language and fine-tunes the model with its own generated data. We evaluate the proposed method on a wide range of tasks and show substantial performance gains across several non-English languages.
Self-Translate-Train: A Simple but Strong Baseline for Cross-lingual Transfer of Large Language Models: Cross-lingual transfer is a promising technique for utilizing data in a source language to improve performance in a target language. However, current techniques often require an external translation system or suffer from suboptimal performance due to over-reliance on cross-lingual generalization of multi-lingual pretrained language models. In this study, we propose a simple yet effective method called Self-Translate-Train. It leverages the translation capability of a large language model to generate synthetic training data in the target language and fine-tunes the model with its own generated data. We evaluate the proposed method on a wide range of tasks and show substantial performance gains across several non-English languages.
[ -0.0199588798, 0.0537759624, -0.0038492442, 0.0573092252, -0.008065002, 0.0024089543, 0.0508947074, -0.0301161893, 0.0011696242, -0.0365509018, -0.0988261774, -0.010642888, -0.0402971804, 0.0083252527, 0.0365921594, -0.0454999208, 0.0516890138, -0.0446268767, -0.0586485006, 0.0005994498, -0.0320755914, 0.0254282299, 0.0079866005, -0.0131534068, -0.0101273693, -0.0069463849, 0.0246070381, 0.0335182473, 0.0205771029, -0.0042146281, -0.0038102877, 0.0400882587, 0.0356568433, 0.0586112551, 0.0000019181, -0.0237833448, -0.0182013176, 0.0037640757, 0.0002207901, 0.0219785254, 0.0576924384, -0.0572409034, -0.0345163345, 0.0117869927, -0.0374898538, -0.0547361784, 0.042874448, 0.0276099332, 0.043996457, 0.1089622676, -0.0246163178, -0.054678943, -0.000340566, -0.0518136099, 0.0174999293, -0.0415049493, 0.0048156939, 0.0397443064, -0.065315336, 0.0141119175, -0.0262363944, 0.0339657553, 0.0203836188, -0.0080193914, -0.0027934157, 0.0012814954, -0.0188383367, 0.0044615404, -0.0052830908, 0.0737757385, -0.0776496753, -0.0268819705, -0.0210184641, -0.0037919744, -0.0038522438, -0.0108169364, -0.0426495075, 0.0025430331, 0.0397613458, 0.030461669, 0.0239720196, 0.0116366521, 0.0392923355, -0.0304797217, -0.0504229181, 0.0083434898, 0.0423628204, 0.0024916378, 0.0455038399, 0.0150323045, 0.0352962911, -0.0231347904, 0.0144807762, 0.0010402707, 0.0155097693, 0.0123030553, -0.0629676431, -0.0363493003, -0.0145373521, -0.0445438996, 0.0458675325, 0.0593317188, -0.0236589592, 0.0463705286, -0.0784500986, 0.0392281339, -0.0323817097, 0.0316891782, -0.0819082484, -0.0320770517, -0.0402839072, 0.0265292153, -0.0546526797, -0.0255375095, -0.0343300179, -0.0230943542, -0.0413738079, -0.0207819492, 0.0110401362, -0.0202131737, 0.0488499552, -0.0252992231, -0.0864198133, -0.0140673378, 0.0136531312, 0.042717576, -0.008750692, 0.0089105796, -0.0075468952, -0.0423573554, -0.0120453183, 0.0125588942, 0.0035636676, -0.0464009568, 0.0258769151, 0.0703956783, -0.0472838506, -0.0175643433, -0.038244918, 0.0370376557, -0.0041283411, -0.0703104511, 0.0148959402, -0.0582218245, 0.0496063717, -0.0215196125, 0.0314279571, -0.0292610582, -0.0022183359, -0.0172886699, 0.0048698415, 0.0730079487, -0.0239137784, 0.0233261995, 0.0163685065, -0.0273402929, 0.0035556951, 0.0919395238, 0.0231035445, 0.0130102392, 0.0219365675, -0.0210304074, -0.0104164667, 0.0799769983, 0.0319637619, 0.0254470259, -0.038827423, -0.0063494975, 0.052157823, 0.0188111253, 0.059866704, -0.0067546004, -0.0104765836, 0.0215533804, 0.0541758128, 0.0235980619, 0.0529194549, 0.067814678, 0.076065287, -0.0201619025, 0.0045934366, -0.0251464471, -0.0292942151, 0.0150934933, 0.0205162298, -0.0053160749, -0.015681576, 0.0600348189, -0.0461781472, -0.008620793, 0.0336055905, -0.0284653306, 0.0109609282, 0.0152267702, 0.0680781528, 0.0650897399, -0.0142735159, 0.0472542681, 0.0472877808, -0.0470536239, 0.0497450568, -0.0016544532, -0.0140597988, 0.0540863723, -0.0079531837, 0.0144331297, -0.017739471, -0.006839327, 0.0223892368, 0.0253643747, 0.0850126669, -0.0057729539, 0.0333645754, -0.0431909822, -0.0000320854, -0.0264603458, -0.0070643649, 0.0550551601, -0.0121025387, 0.0627795756, 0.0336448886, -0.0413570553, -0.0461574681, 0.0389815755, -0.0718573704, -0.0246001985, 0.0506647564, 0.0150177423, 0.0069975876, 0.0048142588, -0.0071703806, -0.0118572246, 0.0045590671, -0.0680978, -0.0050799907, 0.0182728563, -0.0414854661, -0.0405263305, 0.0407561772, -0.0161200166, -0.0066166287, 0.0196400937, -0.0342920162, -0.0460176468, 0.0261360593, 0.0090746777, 0.0055546178, -0.0401664972, 0.0126378201, 0.0289639588, 0.04538038, 0.0072435788, 0.007952272, 0.0559605621, -0.0117017478, -0.0180582106, 0.0011022846, 0.0245111752, -0.0286209006, 0.0228815395, 0.0252049677, -0.0074783266, 0.0190976392, 0.0201270208, 0.0423893593, -0.0184928495, -0.012883733, -0.0737635717, 0.034073364, -0.0161425471, 0.0141321002, 0.0280241147, 0.0331968553, -0.0192157961, -0.0341658741, -0.0387964211, -0.0002239157, 0.0187860616, -0.009261176, -0.0107867904, -0.0104257399, 0.0384937562, -0.0316545293, -0.0065825088, 0.0358576663, 0.0412202887, -0.0193200503, -0.001552936, -0.054425288, 0.0539205857, -0.0250512715, 0.0360363461, 0.001250427, -0.0653270856, -0.0232100748, -0.0231984723, 0.0470828228, 0.057383161, -0.0129048266, -0.0423222817, 0.0563358217, -0.0398298688, -0.0564520471, 0.0136873079, -0.0117082139, -0.017259432, -0.0679661855, -0.0289683715, -0.0167458504, 0.0369861647, -0.0126920985, -0.0235428214, -0.0613664873, -0.0199664515, -0.0258077309, -0.0330459587, -0.0320972428, 0.0451077893, 0.0098763322, 0.0423730053, -0.0190696549, -0.0136797074, 0.0259436574, -0.0579158552, -0.0208635852, -0.0295986775, -0.0188813098, -0.0350455008, 0.0341596343, -0.0154377297, 0.0389173105, -0.0268457346, 0.0033359174, -0.0306975842, -0.0247473959, 0.0313489325, -0.0158209521, 0.0072055906, -0.0227616895, 0.0018934626, -0.0053006168, -0.0256888904, -0.0364926495, -0.0027326159, 0.0078203948, -0.0125016104, -0.0130360443, -0.0176801533, -0.0233465359, -0.0034042238, 0.0194552839, 0.0893919095, -0.0166153125, 0.0072619589, -0.0078554144, 0.0109800743, 0.0203654207, -0.0038346695, -0.0034689577, -0.0394523628, 0.031741228, 0.0176907685, 0.0249161087, -0.004621617, -0.056610655, 0.0149523616, 0.0150998356, -0.0064518568, -0.0165148098, -0.0236050989, 0.0530650057, -0.0464674383, -0.0251851473, 0.0932730436, -0.002336768, -0.0230932534, -0.0165629182, -0.0294466075, -0.0081372671, 0.0287036933, 0.0655470341, -0.0609043762, -0.0207984727, 0.0059512528, 0.0002446689, 0.0455366038, 0.0141500821, -0.0127577512, -0.1421665251, 0.0212778468, 0.0304312985, -0.091163978, -0.0523662306, -0.0337047242, -0.0235128906, -0.0258726161, 0.0118513685, -0.0460170992, -0.0001926858, -0.0086319, -0.0057286294, 0.0041895718, -0.0544305295, 0.0158908516, -0.0587511882, 0.0429045707, 0.0485552512, 0.0476669781, -0.0111597236, -0.0053420258, 0.0454702377, -0.01542594, -0.0247135572, -0.0107215242, 0.057181567, 0.0027807876, -0.0321138762, 0.0671129003, 0.0071392171, -0.0405314565, 0.0006967832, 0.0342457481, 0.0623189621, 0.0393743776, -0.0222787224, 0.0357507318, -0.0295925848, 0.0436324961, 0.0414078161, 0.0005274845, -0.0197156072, 0.0059412052, -0.0078661479, -0.025532661, -0.0560532287, -0.0561194792, 0.0203870982, -0.0564434044, -0.0674645454, -0.0660929903, -0.0599365123, 0.0215231087, 0.0456026979, 0.0303456131, -0.0022573315, -0.0065119369, -0.0012886105, -0.0099439938, 0.0506990068, -0.0521453135, 0.0157734249, -0.0085091656, -0.0264393967, 0.038950216, -0.0279181302, 0.0213878211, -0.0122080594, -0.0188366473, -0.0421582572, -0.0172557272, 0.0815419927, 0.0073303725, 0.0581101403, -0.039014589, -0.0201441124, 0.0249295924, 0.0029572409, -0.0709725395, -0.0284300745, 0.0629242361, -0.0181516148, 0.0093609337, 0.0514588617, -0.0227461029, 0.0564469732, 0.0171453841, 0.0359914787, -0.0088961851, -0.0484921299, 0.0207652319, 0.012747962, 0.0256107505, -0.0088963713, 0.0117477011, -0.0509807169, 0.0112815732, -0.0601425655, -0.0202944968, -0.0605205521, 0.0107752103, 0.0717882589, 0.0122569064, 0.0186354984, 0.0063211289, -0.0227492824, -0.0461214557, -0.0227645338, -0.0287828501, -0.0093257269, 0.0563353263, 0.0161294434, 0.0378863513, 0.0108148856, -0.0130252726, 0.0403830484, 0.0153265884, -0.0452068932, -0.0046059527, 0.0086720949, 0.0131818792, -0.0119542889, 0.0054124692, -0.0194252878, -0.0284887701, -0.0392792597, -0.0008507209, 0.0685719252, -0.0271881949, 0.109939985, -0.003779033, -0.0283497721, -0.0048300615, 0.0404309593, -0.0090628946, 0.0071796081, -0.0082780439, -0.0359814391, -0.0020563339, -0.0000706983, 0.0479425527, 0.001613302, 0.0419322699, 0.0060080527, 0.0127741685, -0.0285841022, -0.0220442507, 0.0237536468, -0.0567192212, -0.0253676362, -0.0017192975, 0.011234846, -0.0812184513, 0.0043487451, 0.0078734327, -0.0349681154, 0.0276226215, 0.0320650823, 0.0814932287, -0.0276882201, 0.0074995323, -0.0399176069, 0.0048758634, 0.0255086645, -0.0147778559, 0.0145127568, -5.696440114e-33, -0.0337228179, 0.0393462069, 0.0312527008, -0.0279134568, -0.0392550975, -0.041819457, -0.0364268795, -0.011113896, 0.0166005585, 0.0227042157, -0.009783729, -0.012279165, 0.0310915094, 0.0255705994, 0.014189993, 0.0316779502, 0.0706049949, -0.0224610362, -0.0173866823, 0.0343392231, 0.0316684321, 0.0530474409, 0.0989704952, -0.056233272, -0.0197639633, 0.0176242702, -0.0016945292, 0.0225657094, 0.0320504531, 0.0215764213, -0.0080631552, 0.0114162881, -0.0152473934, -0.0439079553, -0.031706091, -0.0035087981, -0.0798799619, -0.0313011371, -0.0039448338, 0.0372499451, -0.0067842933, -0.0295681283, 0.0110812513, -0.0386005268, 0.0174412522, -0.0089108814, 0.0186456628, -0.064654462, -0.00406241, -0.0278016925, -0.0906310901, 0.0009220139, -0.0044004684, -0.0130117033, 0.0825678036, 0.0490905121, -0.0007895834, -0.0414821766, -0.0334530175, 0.0200789608, -0.0443136953, 0.0532040745, 0.063153334, 0.0165053159, -0.0176974293, 0.0089297639, 0.0504638143, -0.0323857665, 0.0344062746, 0.0037796034, 0.0510635041, 0.0162897371, 0.0377065614, 0.0808359832, 0.0350826271, -0.0257710703, -0.075865671, 0.0619512275, -0.0206825435, -0.0016803668, -0.0158117861, 0.0051541794, 0.0254843999, 0.0069189863, -0.0450562052, -0.0393752046, -0.0015034686, -0.046251528, 0.0278082304, 0.0130049149, -0.0252741184, -0.0050460431, 0.0674142912, -0.0379007608, -0.0222126581, -0.0075716288, -0.0293322075, -0.0112556908, -0.0242025405, 0.0436844602, -0.0384365804, -0.0695618168, 0.0243842322, 0.0173439234, 0.0170126557, -0.0145040751, 0.0524417683, 0.0323953293, -0.0575485751, 0.019582415, -0.0429745503, 0.0173496399, 0.0124231279, 0.0542950109, 0.0009053438, 0.0005173958, -0.0241025537, 0.0412359238, 0.0207986478, -0.0212015025, -0.0089959586, -0.0028024779, 0.0567114912, 0.0468373932, -0.0315680169, 0.0049903933, -0.0669454038, -0.0055244463, 0.052938085, -0.0471577756, -0.0219843015, 0.0008293887, 2.494e-7, 0.0511797667, 0.0162045117, -0.0200362988, 0.0165339429, -0.0120119974, 0.021109432, -0.0459420085, 0.0275009219, 0.0262036268, 0.0080919396, 0.0111293988, 0.0705307201, 0.0841115564, 0.0421981141, -0.0420254692, 0.0057338588, -0.0153981708, 0.0229868107, -0.0363119133, -0.0145264287, -0.0382825881, 0.096259281, -0.0147942454, -0.014298467, 0.0123669077, -0.0252023097, 0.0822765902, -0.0494271368, -0.0341605656, 0.0176172648, -0.0189158712, 0.0507148132, -0.0553711429, -0.0058751325, -0.0436608084, 0.0266028792, 0.049069196, 0.0461597368, 0.0122450897, 0.0047479067, 0.0036280423, 0.0153428735, -0.0223979503, -0.02976368, 0.0493718237, -0.0770412311, 0.0048884484, -0.0248820391, -0.030712584, 0.034622997, 0.0467308052, -0.0619678535, -0.0149268275, 0.0417847261, 0.0826532394, 0.0172269084, -0.0671335906, -0.0390638635, -0.0231296793, 0.0056690779, -0.0278805885, -0.0031329317, -0.0155698638, -0.0008704079, -0.0200427175, -0.0112857763, 0.04500122, 1.859048448e-34, -0.0028029031, 0.0160628185, 0.0188624188, -0.0334847383, 0.0085855918, -0.0317314118, -0.0071916729, 0.0029328763, -0.0289426465, -0.029087035, -0.0206532273 ]
http://arxiv.org/abs/2407.00453v1
http://arxiv.org/pdf/2407.00453v1
PerSEval: Assessing Personalization in Text Summarizers
2024-06-29T14:37:36
2024-06-29T14:37:36
Sourish Dasgupta, Ankush Chander, Parth Borad, Isha Motiyani, Tanmoy Chakraborty
cs.CL
cs.CL, cs.LG
Personalized summarization models cater to individuals' subjective understanding of saliency, as represented by their reading history and current topics of attention. Existing personalized text summarizers are primarily evaluated based on accuracy measures such as BLEU, ROUGE, and METEOR. However, a recent study argued that accuracy measures are inadequate for evaluating the degree of personalization of these models and proposed EGISES, the first metric to evaluate personalized text summaries. It was suggested that accuracy is a separate aspect and should be evaluated standalone. In this paper, we challenge the necessity of an accuracy leaderboard, suggesting that relying on accuracy-based aggregated results might lead to misleading conclusions. To support this, we delve deeper into EGISES, demonstrating both theoretically and empirically that it measures the degree of responsiveness, a necessary but not sufficient condition for degree-of-personalization. We subsequently propose PerSEval, a novel measure that satisfies the required sufficiency condition. Based on the benchmarking of ten SOTA summarization models on the PENS dataset, we empirically establish that -- (i) PerSEval is reliable w.r.t human-judgment correlation (Pearson's r = 0.73; Spearman's $\rho$ = 0.62; Kendall's $\tau$ = 0.42), (ii) PerSEval has high rank-stability, (iii) PerSEval as a rank-measure is not entailed by EGISES-based ranking, and (iv) PerSEval can be a standalone rank-measure without the need of any aggregated ranking.
PerSEval: Assessing Personalization in Text Summarizers: Personalized summarization models cater to individuals' subjective understanding of saliency, as represented by their reading history and current topics of attention. Existing personalized text summarizers are primarily evaluated based on accuracy measures such as BLEU, ROUGE, and METEOR. However, a recent study argued that accuracy measures are inadequate for evaluating the degree of personalization of these models and proposed EGISES, the first metric to evaluate personalized text summaries. It was suggested that accuracy is a separate aspect and should be evaluated standalone. In this paper, we challenge the necessity of an accuracy leaderboard, suggesting that relying on accuracy-based aggregated results might lead to misleading conclusions. To support this, we delve deeper into EGISES, demonstrating both theoretically and empirically that it measures the degree of responsiveness, a necessary but not sufficient condition for degree-of-personalization. We subsequently propose PerSEval, a novel measure that satisfies the required sufficiency condition. Based on the benchmarking of ten SOTA summarization models on the PENS dataset, we empirically establish that -- (i) PerSEval is reliable w.r.t human-judgment correlation (Pearson's r = 0.73; Spearman's $\rho$ = 0.62; Kendall's $\tau$ = 0.42), (ii) PerSEval has high rank-stability, (iii) PerSEval as a rank-measure is not entailed by EGISES-based ranking, and (iv) PerSEval can be a standalone rank-measure without the need of any aggregated ranking.
[ 0.0472240075, -0.0261705145, 0.0055083707, -0.0219431669, -0.0072829826, 0.0124781085, 0.0087939445, -0.0186303612, 0.0077364934, -0.0421995074, -0.049515713, 0.0078706872, 0.022462735, 0.0011767717, -0.026476603, -0.1062590033, 0.0222728718, 0.0229911301, 0.0131573081, 0.0247883871, 0.0541879348, -0.0225726999, 0.0202639587, 0.02695195, 0.0544300564, -0.0192277059, 0.0146107664, 0.000716219, 0.0783996284, -0.0141915232, 0.0017075783, 0.0412426367, -0.0020256466, -0.0107921949, 0.0000020185, -0.0526785254, -0.0242627785, -0.0275985133, 0.033427868, 0.0428787954, 0.0747440085, -0.0088409847, 0.0183209125, -0.0307764634, -0.0127913104, 0.0619489141, -0.0191525239, 0.0226164851, 0.0681235567, 0.0161894746, -0.0021613669, -0.0157727692, 0.0059417174, -0.0153774135, -0.0102343615, -0.0130749643, -0.0095283249, -0.0053064455, -0.0271216016, 0.0233569015, -0.0379926749, 0.0205180589, 0.0006024653, 0.0270043276, 0.0579952598, 0.0218127556, -0.0172017831, 0.0116741471, 0.0005068331, 0.0598155595, 0.03744803, -0.0008719562, -0.0000442826, 0.0264611021, 0.014082117, 0.011041671, -0.0679170489, -0.0180502962, -0.007236016, 0.0112640699, 0.0062579024, 0.0867586583, -0.035160616, 0.0101839034, -0.002807908, 0.046319183, -0.0000364433, -0.0258314162, -0.0112023344, 0.0034439804, -0.0384214707, -0.0328015164, 0.0558450073, 0.0146070709, 0.010895825, -0.0400016457, -0.0248123705, -0.0501313061, 0.024036346, -0.0562840812, 0.0033245927, -0.0066852844, 0.0040968126, 0.0435999334, 0.01796907, 0.046220731, 0.0550919585, 0.0352514163, -0.0546327308, 0.0360931605, -0.0062648216, 0.03456489, 0.0336511619, 0.0274901334, -0.0192961339, -0.0399771519, -0.0675249323, 0.0150305154, 0.0040135458, -0.0009586591, -0.0068890089, 0.0328940637, -0.0045316122, 0.001448188, -0.0209658761, -0.0132217472, -0.0712604299, -0.0372893848, 0.0158639438, 0.0458276607, 0.0387340784, -0.0044187424, 0.0313745253, 0.0120256934, 0.0056414604, 0.0080580628, -0.0261960309, -0.071816586, -0.0161089711, -0.0210461635, -0.015904462, -0.0284152832, -0.0483607762, -0.0482502878, -0.026649816, 0.0244574267, 0.0001290966, 0.0012474485, -0.0205559395, 0.0047580744, -0.0290749017, -0.0107277585, 0.0003503801, 0.0022461549, 0.0171476975, 0.0206224024, -0.0057557584, 0.0128136603, 0.0155442515, 0.0840808153, 0.0645561442, 0.0007092064, -0.0185559653, -0.0005548068, -0.0491354279, 0.0231230427, -0.0132888826, -0.0316373184, -0.1010670587, -0.0471502841, 0.0225691665, 0.0359743126, -0.0344776772, -0.0063824086, 0.0838550553, 0.082585007, 0.0394569337, 0.0620710291, -0.0087347366, 0.0358857848, 0.045242019, 0.0832989067, 0.0291896816, 0.0258587431, -0.048505526, 0.04544276, 0.0858119503, 0.0051873764, -0.0017491466, -0.0873515606, 0.0132191265, 0.02688675, 0.0141099477, -0.0005261807, 0.0482708514, -0.0200229734, -0.0014759678, -0.0129962163, -0.0034976078, -0.0633458272, 0.0343094692, -0.0028520832, 0.0410691164, 0.1112029031, 0.0569167137, -0.0325965509, 0.016666729, 0.0018423442, -0.0368250199, -0.0122327218, 0.0019413307, 0.005899284, -0.0065344735, -0.0582038984, -0.0268664919, -0.027718965, 0.0116994111, 0.0164621361, -0.0286436733, 0.0168076623, 0.0289250836, -0.0059930678, -0.0447673723, 0.0157142449, 0.0273364503, 0.0076816813, -0.0351796597, -0.0195659362, 0.0117975967, 0.0604567751, 0.0015366338, 0.0151183074, 0.0401285999, -0.0302865859, 0.0385685712, 0.0060925009, 0.011761969, 0.0196199659, 0.0097467462, -0.0416841209, 0.0498086363, 0.0369630046, 0.0208686683, -0.0358237512, 0.03395392, -0.0404456742, -0.0143666081, -0.0134919686, 0.028319208, -0.0067802412, 0.0344073884, -0.0474978015, 0.0574688241, -0.0274458434, 0.037721131, 0.0379308388, -0.0191438086, 0.0042739846, -0.0496026725, -0.0416127108, -0.0326664001, 0.0403262526, 0.0104132798, 0.0533813089, -0.0105293291, -0.0611583665, -0.0070148101, -0.1218643636, -0.0082171587, -0.0230666753, 0.0252539702, 0.0487421528, 0.0022194278, -0.0118541364, -0.0146627463, -0.0275309142, -0.0559070632, -0.018134933, 0.0152984885, 0.0354062244, 0.0037716641, 0.0444002412, -0.0904143006, -0.0385951139, 0.008550548, 0.0438210778, 0.0245227218, 0.0041899849, -0.0467439033, -0.0060192333, -0.0325565971, -0.0414051898, 0.0150426999, -0.0071705123, -0.0063361796, -0.0014379137, 0.0360183343, 0.0972331464, 0.0723818094, 0.0121551575, 0.0326705575, -0.0112563977, -0.0346969478, -0.0211470705, -0.0452911481, 0.0551385246, 0.0431088023, -0.0447050482, 0.0554072969, 0.0218697004, -0.0025203764, -0.0007726738, -0.0441091061, 0.0290877298, -0.006468825, -0.0091756256, -0.0507063791, 0.0235977303, -0.007106639, 0.043630559, -0.0223826338, -0.0009098697, 0.0425287038, -0.0059086187, 0.0389246494, -0.0482949317, -0.0086568482, -0.0366740413, 0.0079932995, 0.0281684715, 0.0133418487, -0.0770970285, -0.0066382554, -0.0018948982, -0.0179051198, 0.0582325533, -0.0388046764, 0.0535278469, -0.0035693038, -0.0223792102, 0.0058215838, 0.0106481342, -0.0100409575, -0.0293360762, -0.0329766795, -0.0213798676, 0.0443921573, -0.00759295, -0.0606183782, 0.0364322402, 0.055932004, 0.0496573448, -0.0320363939, -0.0300060026, 0.0131413685, 0.0415002443, 0.0469184779, -0.0172939077, 0.0307049565, -0.0370137095, 0.0104472935, 0.0641502738, 0.0257156603, -0.0453099236, 0.0189699084, -0.0004150804, 0.0277693104, -0.0741941184, 0.0062741614, -0.0232865699, 0.0390204564, -0.0506498441, 0.0044896426, 0.0873581469, 0.0255488008, -0.05769201, -0.0318167806, 0.0083826976, 0.001978128, 0.0014746279, 0.0042484389, -0.0032880607, -0.0073692361, -0.0308708809, 0.0459248945, 0.0086300327, -0.0201653372, -0.0242347121, -0.0226378348, 0.0139486138, 0.0039939089, -0.0589573607, -0.0087600946, -0.016214015, 0.0359694958, -0.0196599979, -0.0387447812, 0.0276025608, -0.0191022139, 0.0245878398, 0.0174892917, -0.072754249, 0.0081423316, -0.0375025794, -0.0270967893, -0.0486751273, 0.0481289439, 0.0241090078, -0.0018655643, -0.0622434542, -0.0267866496, -0.0055781221, 0.0069496767, 0.0192700755, 0.0759800598, -0.030819593, 0.0409737043, -0.086755842, 0.0239260551, 0.0549602993, -0.0168734286, 0.0320180207, -0.0386046693, 0.0155463871, -0.0000023935, -0.057701163, 0.0255364291, -0.0646101087, 0.0150405662, 0.0227850303, -0.05263317, -0.018778855, -0.0546771809, 0.0137305511, -0.067260921, -0.0432834812, -0.0018281033, -0.026992958, -0.0511493981, -0.09226197, -0.0409069583, -0.0333746374, -0.0197996758, 0.0165316593, -0.0042924224, -0.0405737869, 0.0221415423, -0.0203687735, 0.0099052424, 0.0254528094, -0.0146407569, -0.0565329231, 0.0050767343, 0.0484641083, -0.0505495518, -0.0123163769, -0.0195783861, -0.0440479554, -0.0194986183, -0.0065171216, 0.0389144197, 0.0176312104, 0.0179832168, -0.0081805754, -0.0488129556, 0.0476970077, 0.0037064231, 0.0067895637, 0.0223428737, -0.0121003604, 0.0145366099, -0.0296882186, -0.0127874371, -0.0271229241, 0.0308665894, -0.0299811121, 0.0130304955, -0.0120364539, -0.045473218, -0.0214204136, 0.0076233251, 0.0448483117, -0.0155774318, -0.01312437, -0.0215841252, -0.0421258137, -0.0115772365, -0.0062316856, -0.017622821, -0.008790819, -0.0185023826, 0.0192414932, -0.0448471569, 0.0700705275, -0.0122231906, -0.006221896, -0.0883270279, 0.0065949429, -0.0308298394, -0.0309590194, -0.0662396699, -0.0057297004, -0.0579724573, -0.0561174974, -0.0047647031, 0.0378489867, 0.017436184, 0.0253032278, 0.0106635494, -0.0219636038, 0.0118696503, 0.0837968737, -0.0977055505, 0.0541362129, -0.0402116328, 0.0386937, 0.0428951494, -0.0132390046, 0.0651732385, 0.0313206315, -0.0136712128, -0.0272516776, 0.020792624, 0.0411789231, 0.0038923766, -0.083630234, 0.0145007176, 0.0364886224, 0.0270241126, 0.0742589235, -0.0453747958, -0.0606415197, 0.0010457536, -0.0781782046, -0.0443109088, 0.0158935953, -0.0404553711, 0.0716414601, 0.011357422, -0.0526537821, -0.0893216953, 0.002578526, 0.079220295, 0.0266643781, 0.0179260336, -0.0133278947, 0.0289333295, 0.0261041131, -0.046674747, 0.0040000924, -0.061604578, -0.0149986222, -0.0415812135, 0.027779188, -0.0022607702, -6.056100243e-33, -0.0082731619, -0.0194756184, -0.0779516399, 0.0602526404, -0.0376902744, -0.0074129882, -0.0191791989, 0.0106314234, 0.0547577217, 0.0011670665, -0.0182329472, -0.0219949242, 0.0110746613, 0.0042101312, 0.0112794768, 0.0049657626, 0.0185366664, 0.0260527227, -0.0621724576, 0.0258175135, 0.0432331339, 0.008793341, 0.0411716588, -0.0492537208, 0.0347692072, -0.0341184065, -0.0147600221, -0.0708664283, 0.0452214517, 0.0575196743, 0.0261157826, 0.031606894, 0.026102053, -0.0258293673, -0.0162288249, 0.0344347954, -0.0367998518, -0.0458274111, 0.0389940105, -0.0176648013, -0.058628276, -0.0401986912, 0.0228636079, 0.0088877631, -0.0334394723, -0.0195221733, 0.0780433491, -0.0601054244, -0.0212555397, -0.060457468, 0.0169529021, 0.0416888744, -0.0310374741, 0.0076215509, 0.0309588332, 0.0629529133, 0.0000926495, 0.045598194, -0.047498893, 0.0558974929, 0.0312752202, -0.0017485643, 0.0492509641, 0.041827634, 0.0039715655, 0.0544588454, 0.0335929245, -0.0022564784, 0.0098607363, -0.0129648531, 0.0287337564, -0.0067147091, 0.0435018316, 0.0549573898, 0.0362185724, 0.045674555, -0.0286347754, 0.0938415527, 0.0046791239, -0.0121865431, 0.0639459044, -0.0000459263, -0.0549104176, -0.0050680242, -0.0131451907, -0.0153662702, -0.0323798694, -0.022701418, -0.0184194949, 0.0072394488, -0.051174812, -0.0134619363, -0.0125232125, -0.0120483218, 0.0252942778, 0.0001426096, -0.0343517065, 0.0279430747, 0.0055454625, -0.0524194092, -0.0115350597, 0.0372790471, 0.0010024351, -0.0078844279, -0.0201221518, -0.0343549475, 0.0441743582, -0.025294682, -0.0060762838, -0.0213971585, 0.0340670235, 0.0075633526, -0.0269170348, -0.0076256357, 0.0161134452, -0.0125325033, -0.0476589315, 0.0807539374, -0.0021753197, 0.0529481843, -0.0325411819, -0.0165861268, 0.0419743732, 0.0033164814, 0.0028577272, 0.0019628752, -0.0007137774, 0.0180401374, -0.0240369588, -0.0147280414, -0.0144661423, 0.0161850806, 2.681e-7, 0.017738726, 0.0271153413, 0.0264821388, -0.0710446388, 0.0222846754, 0.0333345979, 0.0010565239, 0.0430822782, 0.0565943383, 0.0203800984, 0.0291430429, 0.025007477, 0.0350303128, 0.0105789369, -0.0616588965, -0.0593191907, -0.0372784808, -0.023088187, -0.0175590068, 0.0117461924, 0.0407075547, 0.0026644918, 0.0306705777, 0.0284555349, 0.0244478062, 0.0007991897, 0.0319967791, -0.0487372056, -0.0280279052, 0.0033291732, 0.0746884122, 0.0069116498, -0.0397712588, 0.0082746437, -0.0039991844, -0.0018793105, 0.093538247, 0.044676125, 0.0007509325, -0.027160449, 0.0132435979, 0.0239571184, 0.0390153527, -0.0266986191, 0.0364666991, 0.0073965332, -0.0073607336, 0.0152510963, -0.0431130677, 0.015856877, 0.0120349415, -0.0095174452, -0.0681733117, 0.0227308962, -0.0088586966, 0.0100352922, 0.0025931075, -0.0415647402, -0.0311193205, 0.0166432969, 0.0047117681, -0.0763894543, -0.0333156511, -0.0103441831, -0.0132958191, -0.0660982206, -0.0124681769, 2.100306037e-34, 0.0660674497, 0.0132162878, -0.0205273014, -0.0537401885, -0.0037076417, -0.0218621176, 0.000053168, -0.032830365, 0.0497879758, -0.0610946901, -0.0145196188 ]
http://arxiv.org/abs/2407.00436v1
http://arxiv.org/pdf/2407.00436v1
A Recipe of Parallel Corpora Exploitation for Multilingual Large Language Models
2024-06-29T13:12:39
2024-06-29T13:12:39
Peiqin Lin, André F. T. Martins, Hinrich Schütze
cs.CL
cs.CL
Recent studies have highlighted the potential of exploiting parallel corpora to enhance multilingual large language models, improving performance in both bilingual tasks, e.g., machine translation, and general-purpose tasks, e.g., text classification. Building upon these findings, our comprehensive study aims to identify the most effective strategies for leveraging parallel corpora. We investigate the impact of parallel corpora quality and quantity, training objectives, and model size on the performance of multilingual large language models enhanced with parallel corpora across diverse languages and tasks. Our analysis reveals several key insights: (i) filtering noisy translations is essential for effectively exploiting parallel corpora, while language identification and short sentence filtering have little effect; (ii) even a corpus containing just 10K parallel sentences can yield results comparable to those obtained from much larger datasets; (iii) employing only the machine translation objective yields the best results among various training objectives and their combinations; (iv) larger multilingual language models benefit more from parallel corpora than smaller models due to their stronger capacity for cross-task transfer. Our study offers valuable insights into the optimal utilization of parallel corpora to enhance multilingual large language models, extending the generalizability of previous findings from limited languages and tasks to a broader range of scenarios.
A Recipe of Parallel Corpora Exploitation for Multilingual Large Language Models: Recent studies have highlighted the potential of exploiting parallel corpora to enhance multilingual large language models, improving performance in both bilingual tasks, e.g., machine translation, and general-purpose tasks, e.g., text classification. Building upon these findings, our comprehensive study aims to identify the most effective strategies for leveraging parallel corpora. We investigate the impact of parallel corpora quality and quantity, training objectives, and model size on the performance of multilingual large language models enhanced with parallel corpora across diverse languages and tasks. Our analysis reveals several key insights: (i) filtering noisy translations is essential for effectively exploiting parallel corpora, while language identification and short sentence filtering have little effect; (ii) even a corpus containing just 10K parallel sentences can yield results comparable to those obtained from much larger datasets; (iii) employing only the machine translation objective yields the best results among various training objectives and their combinations; (iv) larger multilingual language models benefit more from parallel corpora than smaller models due to their stronger capacity for cross-task transfer. Our study offers valuable insights into the optimal utilization of parallel corpora to enhance multilingual large language models, extending the generalizability of previous findings from limited languages and tasks to a broader range of scenarios.
[ 0.0291287806, 0.0573249944, -0.0167426951, 0.0716382861, -0.0436080247, 0.0471475758, 0.0780064166, -0.0067178789, -0.0214158371, -0.0390321873, -0.0613503717, -0.0641246885, 0.0076966798, -0.0692928135, 0.0151125817, -0.0457086265, 0.0317943953, -0.0276448634, -0.0142082395, -0.0167987663, -0.0001215104, 0.0427918024, 0.0221571252, 0.0037840051, 0.0237660725, -0.0197930001, 0.0528336056, 0.0108477119, 0.0192801207, 0.0181623697, 0.0046211272, 0.0215334147, 0.0194829255, 0.078645803, 0.0000016918, -0.0483652093, -0.0364765674, 0.0138588399, 0.0244374964, 0.0148600871, 0.0672862679, -0.0598428771, 0.0030622191, 0.0227977652, 0.0087458463, -0.0379498117, 0.0622337721, 0.0201286897, 0.0036295473, 0.0611654557, -0.0308938008, -0.0469745696, 0.0021954512, -0.0666923225, -0.0584058501, -0.0386873819, 0.0125300642, 0.0033812567, -0.0097682076, 0.0427759252, 0.0101412171, 0.0508295447, 0.0196787417, 0.0182582438, -0.0342892595, -0.0088499086, 0.0042608865, -0.0338985287, 0.0065770503, 0.0363706686, -0.0677817166, -0.0324825048, -0.0090829926, -0.0074028722, -0.0091660423, 0.0164871067, -0.0172389187, 0.052195102, -0.0179680716, 0.0347228162, 0.0585289486, -0.0055766222, 0.0584943444, 0.0177711155, -0.053964708, -0.0055152751, 0.036020387, -0.0261661597, 0.0669951141, 0.0460128933, -0.01569256, -0.0154945282, 0.0244881585, -0.0282593388, -0.0336974077, 0.0101411007, -0.0157056991, -0.0821726546, 0.0217112582, -0.1024380177, 0.022450434, 0.0395210423, -0.0172909331, 0.0506000333, -0.0120322816, 0.0275636595, -0.0478782617, 0.0108601646, -0.068042919, -0.0697001144, -0.0240069628, 0.0343698561, -0.0222060438, 0.0152354408, -0.054648079, -0.0201327167, -0.013477115, 0.0274886787, -0.0030537976, -0.0230823532, 0.0244340096, -0.0490426384, -0.0280624665, 0.0035813963, 0.0470584072, 0.0570652634, -0.0239772927, 0.0195868481, -0.0453543775, -0.0410957448, -0.0106529389, 0.0339439921, -0.0175466873, -0.0972473249, 0.0251304209, 0.0528993793, -0.0330568142, -0.0289575644, -0.0105390307, 0.0157531891, -0.0225654189, -0.0784765407, 0.0071867136, -0.0524652116, 0.0562523007, 0.0157090481, 0.045084808, 0.0002157881, 0.0019909702, 0.0037965747, -0.0320641771, 0.0664661154, -0.0025298505, -0.0253544915, 0.0256415438, -0.0159271322, 0.0311498363, 0.1030210629, 0.0117879398, -0.0033489498, 0.0545402765, -0.0380749814, -0.0640442967, 0.0708824843, -0.0154972542, 0.0501919463, -0.0310789458, 0.011414811, 0.0417133979, 0.0205264464, -0.002613679, 0.0416907519, -0.0137951476, -0.0034007321, 0.0432175435, 0.0187978279, 0.0055457423, 0.0236288812, 0.0423351154, -0.0078347595, -0.0091921231, 0.0192856956, 0.002878163, -0.0082138097, 0.0396017395, -0.0117141949, 0.0165493637, 0.0578339212, -0.0365136564, -0.0120729003, -0.0263254661, -0.0197128635, 0.0173618384, 0.0231656339, 0.0636154637, -0.0027980087, -0.0007909639, 0.0402596518, 0.0553940348, -0.0408556722, 0.0148284985, -0.0223263986, -0.0247363374, 0.045384381, -0.012454099, -0.0097912308, -0.0232233386, -0.0216222312, 0.0279106144, 0.0356038138, 0.0690032616, -0.0099454094, 0.060289599, -0.0466708094, -0.0062988773, 0.0100624608, 0.0014723872, 0.0389807224, 0.0117639732, 0.0313440189, 0.0085537368, -0.0031030718, -0.0527671874, 0.0170056559, -0.0403473191, -0.0222044736, 0.0633806139, 0.0261368752, 0.0374910198, 0.0057484768, -0.0110853054, -0.0334942043, 0.0245514028, -0.0579968952, -0.0067219464, 0.0363872275, -0.0096115479, -0.0415384322, 0.0241046418, 0.0028405283, -0.0075469399, 0.0578684583, -0.031067485, -0.0209872741, -0.0231038462, -0.0128540248, 0.0161444731, -0.030151533, 0.0014349096, -0.0329313129, 0.0276321378, -0.024420144, 0.0301503148, 0.0117437458, 0.0250315331, 0.0045982325, -0.0104694674, 0.0420037135, -0.0471152328, -0.0397594422, 0.0419043526, 0.0131640313, 0.0293871555, 0.0509666912, -0.0001024662, 0.0109147001, -0.0147368778, -0.0768137872, 0.0355021879, -0.0425360538, 0.0280847065, 0.0330887288, 0.0229790956, 0.0028554557, -0.0112597095, -0.0019776367, 0.0152221099, 0.0035387252, 0.0332450643, -0.0046023824, -0.0033057032, -0.0026779289, -0.0053972299, -0.0365259759, 0.0338736549, 0.0611576065, 0.0068618855, -0.055479724, -0.033622656, 0.0290908646, -0.0003330279, 0.0120906252, 0.0018438586, -0.0435012765, -0.0068754265, -0.0072361324, 0.0226490945, 0.037886288, -0.023191778, -0.0037978499, 0.0299620368, 0.0092653949, -0.0108870175, 0.0206783973, -0.0030598457, 0.0007950053, -0.0650572106, -0.0256730262, -0.0000438493, 0.0544099659, -0.014322699, -0.0398959666, -0.0276446156, -0.0342195258, -0.0215227883, -0.016592944, -0.0115377717, 0.014122732, 0.0044193123, -0.018280521, -0.0313422456, -0.0514497347, 0.0324901491, -0.0249994006, 0.0032437686, -0.0964470208, -0.026749678, -0.0394527949, 0.0553792752, -0.0158432908, 0.0280152354, -0.0505289063, -0.0107389307, -0.0227489695, 0.0256817769, -0.0110071478, 0.0093977936, 0.0388958454, -0.0367125496, 0.0092196735, -0.0233742055, -0.0534666888, -0.0172593445, -0.0581284836, -0.0115562165, 0.0300867967, 0.0581402928, -0.0120204799, -0.0611920357, -0.0084632831, 0.0263611469, 0.0438564941, -0.0047800224, 0.0362102054, -0.002223616, 0.0447009318, 0.021170307, -0.0089078303, 0.0183861852, -0.0576980822, -0.0083870143, 0.0194601528, 0.0399375036, -0.0253994018, -0.0169376787, -0.0495853275, 0.0497242063, -0.0248879101, -0.05443836, -0.0301228371, 0.0261948798, -0.0385308675, -0.0053253882, 0.0976640061, 0.0032954016, -0.061195232, -0.0249911807, 0.017143866, 0.008690129, 0.0090565952, 0.0159913152, -0.074787043, -0.0291817151, 0.0018347126, -0.0205278527, 0.0262711979, 0.0230430141, -0.0328250937, -0.0900381207, -0.0167932827, 0.0237448346, -0.064409405, -0.0119633209, -0.034208715, -0.015321359, -0.0453909561, 0.0232759919, -0.0616295189, 0.0072987713, -0.0208709855, 0.0455022901, 0.0272106174, -0.0660134107, 0.0143271824, -0.038302809, -0.0025455274, 0.0183235724, 0.0260875896, -0.0319378041, -0.0229404625, 0.0281258002, -0.0470297746, -0.0321162976, -0.0311780069, 0.0235840678, -0.0107448669, -0.0197138321, 0.0135826087, -0.0145761892, -0.0238782447, 0.0210513789, 0.0177967716, 0.0704293773, 0.0085602487, -0.0012806532, 0.037693765, -0.0548178777, 0.0527645648, 0.0601930246, -0.0169681422, -0.0620490797, -0.0004326592, 0.0214340389, -0.0435693003, -0.0778920949, 0.0218213517, 0.0017136872, -0.0453040823, -0.0424402542, -0.0354437605, -0.0665852129, -0.0043205461, 0.0211328696, 0.0387655497, 0.0476220511, 0.0001479088, -0.0216639489, -0.0252676327, 0.0202089027, -0.0336498618, 0.0300135147, -0.0475698113, 0.0148617476, 0.0088657783, -0.0345547833, -0.0120074572, 0.0254490711, -0.1331172734, -0.0619932935, -0.0242125839, 0.0320567116, 0.0071785627, 0.0413649306, -0.0208808556, -0.0719758272, 0.0008471294, 0.0009853895, -0.047418341, -0.0103606442, 0.0418141522, -0.0218721218, -0.0112830028, 0.0616350807, -0.0088382121, 0.0096008601, 0.0438669845, -0.0067182803, -0.0293968562, -0.0430124141, -0.0221024007, 0.0180939548, 0.020205453, -0.0315321311, -0.0127830757, -0.0503355749, 0.0441458449, -0.0021908861, -0.0132574681, -0.0241081901, -0.0210308935, 0.065310061, -0.0084438249, -0.018183548, 0.0373727493, 0.0260715671, -0.0204191618, -0.0319613591, 0.0031947363, -0.0242751911, 0.004694521, 0.0198910888, 0.0520785823, -0.003644709, 0.0094530499, 0.0436858572, 0.014410967, -0.0392628051, 0.0196039714, -0.0030279015, -0.0003768198, -0.0033751198, 0.0099692941, -0.022403216, -0.0176841319, 0.0184714217, 0.0083849514, 0.0755135641, -0.0457521081, 0.1001866236, -0.0018438394, -0.0286626033, -0.0596055239, 0.0151886437, 0.0107489191, 0.005719366, -0.0086882515, -0.0103689926, -0.0366637819, 0.0221297015, 0.0985433087, -0.0062441556, -0.0087084584, 0.0258769598, -0.0187373459, -0.0219203904, -0.0207515918, 0.001128042, 0.011566407, -0.0435828902, -0.0087078195, -0.027235711, -0.0475240089, 0.0123465052, -0.0370806456, -0.0122462409, 0.0035006751, -0.0031976791, 0.0883694291, -0.0136888493, 0.0051973467, -0.0530477986, 0.0062173954, 0.0029186411, 0.0100773526, 0.0015052918, -5.428915967e-33, 0.0157251041, 0.0225986447, 0.0009441763, -0.0582545474, 0.0063347574, 0.0065366039, -0.0034282189, -0.0314683318, -0.0077197007, 0.0248198714, 0.0132980971, -0.0046385694, 0.026039822, 0.0229686145, 0.0375045501, 0.0297036618, 0.0670622736, 0.0194133893, -0.0105505409, 0.0161631051, 0.0734262019, 0.0376665853, 0.08401566, -0.0338570103, 0.041640196, -0.0309984609, 0.0178617351, 0.0071638082, -0.0049903537, 0.0623664893, -0.005434142, 0.0506031327, 0.0319600627, -0.0515296757, -0.0009072309, 0.0301714707, -0.0757630616, 0.0068301102, 0.0530956946, 0.0502423719, -0.0106820408, -0.0524849482, -0.0027295402, -0.0059420727, 0.0069800951, -0.0499411151, 0.0115302205, -0.0118418299, -0.0001682782, 0.0106625054, -0.0769003704, 0.0294062383, -0.0076039322, 0.0076369504, 0.0621780269, 0.0380357914, -0.0006809954, 0.0275791809, -0.0730963349, -0.0084298402, -0.054636687, 0.0286430065, 0.0262153745, 0.0270624533, -0.0055206954, 0.0208787322, 0.0430524722, 0.017317934, 0.031721279, -0.0005123722, 0.0056664008, 0.0107366815, 0.0619010031, 0.073950775, 0.0454637855, -0.0300143808, -0.1448000968, -0.0075879446, 0.0077003795, -0.0016347053, 0.0404706523, -0.010447463, -0.013102931, -0.0198176298, -0.0072507476, -0.0189911872, -0.0179956276, 0.0048805694, 0.0133368671, 0.0171004366, -0.0034754323, 0.048917044, 0.0794853643, -0.0239852648, -0.0132812383, 0.0181630496, -0.0321213007, -0.0024328856, 0.004174592, 0.0416444279, -0.0520617403, -0.0519152433, -0.0179691296, -0.0040294072, -0.0027477201, -0.0107265776, 0.0865422934, -0.0089918915, -0.0595964715, 0.0099227168, -0.0509843193, 0.0169965941, 0.0082642417, 0.0823068544, 0.0331308953, 0.0156132476, 0.0187073648, 0.0673433542, 0.0573705174, -0.0181028601, 0.0085373791, -0.0230299849, -0.0081588812, 0.0012657088, -0.0035320502, 0.0112808095, -0.0057818303, 0.0111984303, 0.0210124925, -0.0545444936, -0.00375481, -0.0216170643, 2.278e-7, 0.0458360016, 0.0276645012, -0.0292273611, -0.0136716096, 0.0212129932, 0.0134309689, -0.0403395072, 0.0268078726, -0.0068395482, 0.0562443994, -0.0085418709, 0.0171363484, 0.104622066, 0.0299812667, -0.0850519389, -0.0305044875, -0.0489824973, 0.0438536108, -0.0425721034, 0.031740997, -0.0018598343, 0.11513073, 0.0149134584, -0.0162997916, -0.0206713956, -0.0614996329, 0.0804219693, -0.0428619757, -0.0423712321, 0.0328864232, -0.0108004529, 0.0201747324, -0.0232540071, 0.0290374942, -0.0511636324, 0.0410505906, 0.0399045534, 0.0742504522, 0.0165458322, 0.0127304895, 0.0327809639, -0.0203115568, -0.0343890041, -0.0505712889, 0.0810798183, -0.0171830673, -0.0085719461, -0.0016681046, 0.0273657274, 0.0057483711, 0.0650184751, -0.0164170954, -0.0363144316, 0.0043596462, 0.0303861722, -0.0240343418, -0.030810792, -0.0521313958, -0.0224795677, 0.0085598174, -0.047616072, -0.0422929414, 0.0062652896, -0.0130064115, 0.0258345045, -0.0513627417, 0.0371733941, 1.923724745e-34, 0.0250496361, 0.0069281501, 0.0028338635, -0.009193019, 0.007864478, -0.0460402891, -0.0625435188, -0.0098874187, -0.0229070708, -0.0468121655, 0.0073984293 ]
http://arxiv.org/abs/2407.00434v1
http://arxiv.org/pdf/2407.00434v1
Brevity is the soul of wit: Pruning long files for code generation
2024-06-29T13:08:24
2024-06-29T13:08:24
Aaditya K. Singh, Yu Yang, Kushal Tirumala, Mostafa Elhoushi, Ari S. Morcos
cs.CL
cs.CL
Data curation is commonly considered a "secret-sauce" for LLM training, with higher quality data usually leading to better LLM performance. Given the scale of internet-scraped corpora, data pruning has become a larger and larger focus. Specifically, many have shown that de-duplicating data, or sub-selecting higher quality data, can lead to efficiency or performance improvements. Generally, three types of methods are used to filter internet-scale corpora: embedding-based, heuristic-based, and classifier-based. In this work, we contrast the former two in the domain of finetuning LLMs for code generation. We find that embedding-based methods are often confounded by length, and that a simple heuristic--pruning long files--outperforms other methods in compute-limited regimes. Our method can yield up to a 2x efficiency benefit in training (while matching performance) or a 3.5% absolute performance improvement on HumanEval (while matching compute). However, we find that perplexity on held-out long files can increase, begging the question of whether optimizing data mixtures for common coding benchmarks (HumanEval, MBPP) actually best serves downstream use cases. Overall, we hope our work builds useful intuitions about code data (specifically, the low quality of extremely long code files) provides a compelling heuristic-based method for data pruning, and brings to light questions in how we evaluate code generation models.
Brevity is the soul of wit: Pruning long files for code generation: Data curation is commonly considered a "secret-sauce" for LLM training, with higher quality data usually leading to better LLM performance. Given the scale of internet-scraped corpora, data pruning has become a larger and larger focus. Specifically, many have shown that de-duplicating data, or sub-selecting higher quality data, can lead to efficiency or performance improvements. Generally, three types of methods are used to filter internet-scale corpora: embedding-based, heuristic-based, and classifier-based. In this work, we contrast the former two in the domain of finetuning LLMs for code generation. We find that embedding-based methods are often confounded by length, and that a simple heuristic--pruning long files--outperforms other methods in compute-limited regimes. Our method can yield up to a 2x efficiency benefit in training (while matching performance) or a 3.5% absolute performance improvement on HumanEval (while matching compute). However, we find that perplexity on held-out long files can increase, begging the question of whether optimizing data mixtures for common coding benchmarks (HumanEval, MBPP) actually best serves downstream use cases. Overall, we hope our work builds useful intuitions about code data (specifically, the low quality of extremely long code files) provides a compelling heuristic-based method for data pruning, and brings to light questions in how we evaluate code generation models.
[ 0.0201365668, 0.0663823858, -0.0208976567, 0.0417009369, 0.0025313373, 0.0095013492, -0.0385764353, 0.0761931315, -0.0117365001, -0.0233874451, -0.0002310735, -0.0142254625, 0.0074543124, -0.0185511969, 0.0657643899, 0.0133435838, 0.0222546235, -0.0114276996, -0.0378737897, -0.009195609, 0.0068475436, -0.0002598221, 0.0379457921, 0.0304378159, 0.0236655287, 0.0295445956, -0.0075698509, 0.0404914729, -0.0336888693, -0.0299178064, 0.0101313218, 0.0313124135, -0.0027229926, 0.0253697615, 0.0000020382, -0.0460372083, -0.0022281744, 0.0009142762, 0.0210883301, 0.029675439, 0.0311586037, -0.0182965398, -0.0128616076, 0.0283448547, -0.0141953127, 0.0118917851, 0.041341044, -0.0311860461, 0.0585894436, 0.0932465866, 0.0198392943, -0.0201498754, -0.0013816396, -0.0051003946, 0.0447689034, 0.0174334086, -0.0025256367, -0.0049842317, 0.0201980695, -0.0170515943, -0.0170052014, 0.012051248, 0.0140903117, 0.0233460926, 0.0319868214, 0.0553499162, -0.0440750197, -0.0000066537, 0.011616732, 0.0542941317, -0.0367666483, -0.0348856263, 0.0516020656, -0.005240852, -0.0120688239, -0.0562083013, -0.0195278972, 0.0574034378, -0.0207244139, 0.0458694138, -0.0047009811, -0.032988362, 0.035821259, 0.0034827557, -0.0258352384, 0.0172963887, 0.0047396603, -0.0232288353, -0.0173616037, -0.0041022934, 0.0338474251, -0.0482314453, -0.0190350339, 0.041414544, 0.0411745869, -0.0022248414, -0.0690498203, -0.0207073316, 0.0388901904, -0.0081371227, 0.0427831523, 0.0448632985, 0.0054297801, -0.0152827138, -0.059509363, 0.0200540256, 0.0087337429, -0.0104015386, -0.0088875899, 0.0291662309, -0.0371618159, 0.0215055998, -0.0221692603, 0.0767644942, 0.0007407353, 0.0411796495, -0.0494729541, 0.0397277214, 0.0232980046, 0.0394795388, -0.0084390491, -0.0266161319, -0.0254075453, 0.032030914, 0.0265511572, -0.0406539179, -0.0202922672, -0.018391367, -0.0093904063, -0.0777556002, -0.0125573771, 0.0359245092, -0.0132811628, -0.0282684546, 0.0513047464, 0.096114032, 0.0108349482, -0.0010312797, -0.0588431992, -0.0397910997, 0.0113527235, -0.0217861533, 0.0102509214, -0.1010578945, -0.0116099343, -0.0059027034, -0.0128072351, -0.097149834, 0.0031741995, 0.0042649601, -0.0456629507, 0.0464145839, -0.084128283, 0.0159123298, -0.0079058707, 0.0150478985, -0.0267071556, 0.0635230467, 0.0649880618, 0.0092628086, 0.0223092269, -0.0461280681, 0.0099896733, 0.0444942527, 0.0288122129, 0.0168275572, -0.0121293124, 0.0064903218, -0.0136745889, 0.0091869412, 0.0682553127, 0.0488887765, -0.0388896838, 0.0129683288, 0.0107404683, 0.0649884865, 0.0502200834, 0.0595759563, 0.0684911162, 0.0335204937, -0.0070795533, 0.0359853804, -0.0184370019, 0.0323564038, -0.0315684527, 0.0232608151, 0.048782777, 0.0557045564, -0.00879867, -0.055603575, -0.0249504559, -0.0130903516, -0.0252506752, -0.0269538704, -0.0202452354, -0.0095465705, -0.0514080077, 0.0450157411, 0.0218412001, -0.1102527454, -0.0155778704, -0.0358304307, 0.0025752767, 0.0606981181, 0.0373795368, -0.0122272121, -0.0159035139, -0.0078094197, 0.0069195805, -0.0304255318, 0.0174992979, -0.0053079897, 0.034272857, -0.0819890425, -0.0200515427, -0.0415436812, -0.0205974448, 0.0115923602, 0.0251873229, -0.0343868509, 0.0483516231, -0.0368299894, -0.0515143611, 0.0555010214, -0.0337881818, -0.0096539948, 0.0116734952, 0.0047511519, 0.0259073284, -0.0474997573, -0.0376121439, 0.0134340748, 0.0331182033, -0.0265097003, -0.000828991, -0.04841258, 0.016617801, -0.0338269025, 0.0493099988, -0.0518165305, -0.0019544414, 0.0128966533, -0.0452123359, -0.0089872228, -0.0171994343, -0.065466851, 0.0175919048, -0.0209365766, 0.029835403, -0.0200378653, 0.0118711023, -0.032907933, 0.0331452526, -0.0069175283, 0.0547463708, 0.0161764417, 0.0188071448, 0.0350097716, -0.0187129565, -0.016625125, 0.0230487958, -0.0169104505, 0.0242629573, -0.0054782182, 0.0659241304, -0.0447981358, -0.0607527606, -0.081955336, 0.039444264, -0.0077343853, 0.0341866277, 0.0041035926, 0.0016314486, -0.0172305256, -0.0022460038, -0.0441335365, -0.015371969, -0.0164420009, 0.0210542418, 0.0543027744, -0.0236127507, -0.0685398504, -0.0144855194, -0.0051128641, 0.0003504101, 0.0284844991, -0.027960632, -0.0205859318, -0.0717792436, 0.1140909344, -0.0284935795, -0.0188453626, -0.0083288886, -0.0577381626, 0.0009023554, -0.032128457, 0.0555881523, 0.0279267728, 0.020642532, -0.0083816312, 0.0607131273, 0.0166518558, -0.0615852475, -0.0090150991, 0.0373630598, -0.017769143, -0.0409270301, -0.0623200424, 0.0483076982, 0.0426928662, -0.01529592, -0.0096880374, -0.0292671714, 0.0301747117, 0.0281796828, -0.0063529424, 0.0058259456, 0.000400668, -0.0210438818, 0.0364803411, 0.0008359624, -0.1139919981, 0.0466487333, -0.0525466017, 0.0019424496, 0.0094216047, -0.0337963216, -0.0462409928, 0.0239454173, -0.0188362375, 0.014905422, -0.0350114852, -0.0333372541, -0.0422601923, 0.0213979986, 0.0059227147, -0.049915161, 0.0522144139, -0.0306506827, 0.01752894, -0.0290429499, -0.04259542, -0.0400077663, -0.0137963919, 0.008448449, -0.0251989234, 0.0301702805, -0.0085123889, 0.0474822931, -0.0104787862, 0.0121211875, 0.0245527346, 0.033356037, -0.0451242179, -0.0017034226, -0.0087092891, -0.0358673297, -0.0227350257, 0.0239970665, -0.009899836, -0.0239821076, 0.0296127629, 0.0471973233, 0.0336960591, -0.0246053468, 0.0214100759, 0.0573231243, -0.0283113401, -0.0466574505, 0.0685305223, 0.075338304, -0.0155180022, -0.0188295152, 0.0894429535, 0.0231790822, -0.0084111514, 0.0210807864, 0.0288797803, 0.0781071186, 0.0526902154, 0.0452054441, -0.0651592612, -0.0235169381, 0.013502148, 0.0665041059, -0.0237997994, -0.0317332037, -0.0429926775, -0.0982057154, 0.0400540344, 0.0405042917, 0.0077220206, -0.0169443581, -0.0336807407, -0.0492260829, 0.0065411734, -0.0542029403, 0.0337432809, -0.0451144092, 0.0192294698, 0.0179273896, -0.0596758351, -0.0142595889, -0.0255637337, -0.0364100672, 0.0307624843, 0.0576269217, 0.031804841, 0.0172786769, -0.0198968966, 0.0441543758, -0.0254252069, 0.0134292496, -0.0433228388, 0.0513901263, 0.0227881093, 0.0022654175, 0.034541443, 0.0244588517, -0.0226055533, -0.0010974769, 0.0153440787, 0.0376623161, -0.0331310257, -0.0205102731, -0.0141355488, -0.0037099048, -0.0140655749, 0.0582038611, 0.063741304, -0.0074071698, -0.0244230255, -0.0696891993, -0.0354257338, -0.0724158511, -0.0014153105, -0.0061618709, -0.0410479382, -0.0031185111, -0.0655770451, -0.0207006987, 0.0076239542, 0.053979896, 0.0032998282, 0.0070922859, -0.039411746, 0.0099570286, -0.0869131386, -0.0077217547, -0.0350457951, 0.0004593526, -0.0513331704, -0.024120627, 0.0109990332, -0.0105798468, 0.0110345678, 0.0067536924, -0.1327514946, -0.0742809996, -0.0551874675, 0.0560769364, 0.0206983313, 0.0417841263, 0.0045942506, -0.0446537659, 0.0283527616, 0.0675502867, -0.043361567, 0.0541052185, 0.0414738841, -0.0125409951, 0.0425084345, 0.0278634578, -0.060733594, -0.0060283798, 0.0383914933, 0.0035872043, -0.0134239672, 0.0227118973, 0.0231099147, 0.0779905096, -0.0298590567, -0.0383010656, -0.0434215367, 0.0042808256, 0.0042209858, 0.026900921, -0.0184121057, -0.0541414618, 0.0126479343, 0.0036728568, 0.0107452497, -0.0058437879, 0.0480548032, -0.0166244935, 0.0350754447, -0.0164286345, 0.0549475998, -0.0082122562, 0.0075523681, 0.0735450163, -0.0034093289, 0.0030528109, 0.0174566973, 0.0025531088, 0.0125812329, -0.007504412, 0.0032250597, 0.0050667934, 0.0753327757, -0.0118198376, 0.0336119384, -0.0489098877, -0.0526268445, -0.0121183991, 0.0112106334, 0.0443155505, 0.031804435, 0.0453957431, -0.011694856, 0.0216761474, -0.0165305436, 0.0498083271, -0.0403347574, -0.0294426512, 0.0089603113, 0.0072275996, -0.0558155067, -0.0237597842, 0.1133148074, -0.0122439936, 0.0344365425, -0.0299169682, 0.0039244173, -0.0476269349, -0.0209161732, 0.0454786867, 0.0008511349, 0.0141691221, -0.0448405221, -0.0289447811, -0.0628256053, 0.0283177942, 0.0049091722, 0.0256806482, -0.0000637404, 0.0331457034, 0.0755805075, -0.0075634141, 0.0381286368, -0.0312121809, -0.0075405617, 0.0048692473, -0.0655286908, 0.0039486112, -5.939100719e-33, -0.0092152031, -0.0375173204, 0.0170053802, 0.0175595023, -0.0296373125, -0.0097734425, -0.0262297522, -0.0163366459, 0.0118443286, -0.0647317246, 0.0062776669, 0.0045276829, -0.0107097123, -0.0237380434, 0.0302766915, 0.0282896031, 0.0376414731, 0.0165118519, -0.068497315, -0.0001616405, -0.0218448061, 0.0465271138, -0.0106791193, -0.0015265603, -0.0558622032, 0.0029146853, 0.0090165539, -0.0093844449, 0.0324847847, 0.033164639, 0.0060538836, 0.0137201585, 0.0042044208, 0.0012866019, -0.0388973951, -0.0247341897, -0.020899903, -0.031278342, 0.0058189095, -0.0126071321, 0.0120869344, -0.0990980119, 0.0953572839, -0.015243059, -0.0441604666, -0.0261768401, 0.0138460267, -0.0150267044, -0.0430006608, -0.0611111671, -0.0337605886, 0.0441944003, -0.0345674865, 0.0107022002, 0.0257848483, -0.008192623, 0.0121615864, 0.0584515817, -0.0183447301, 0.0210370161, 0.0163271613, 0.0700840056, 0.0601586476, -0.0315010883, 0.0261358134, 0.0547057427, 0.0342488214, 0.0128190219, 0.0048591313, 0.0049913223, 0.0509387366, 0.035496261, 0.0008552768, 0.0199251287, 0.0553018712, -0.0345983505, -0.0411332659, 0.0395155028, -0.0124795232, -0.0127514005, -0.013831988, 0.0309671666, -0.0235403199, -0.0199235156, -0.0193534121, -0.003460106, 0.0040811142, -0.0492994562, 0.05017519, -0.0009431929, -0.0246297568, -0.0142689729, 0.018751543, -0.0395357274, -0.0071785753, 0.0210255105, -0.0636486635, 0.0210186858, 0.021841079, -0.0157297086, 0.0059461556, -0.023810111, 0.0230405591, -0.0237016995, 0.0775575563, -0.0064471005, 0.0704124644, 0.0172002818, -0.0940161422, -0.0080904542, -0.0641422868, 0.0171781573, 0.0191547703, 0.0152529562, 0.0050961976, -0.0084386747, 0.0225538258, -0.0075912643, 0.0039424379, -0.0218611751, -0.0540380515, -0.0061716647, 0.0177808236, 0.0390121602, -0.02790213, -0.0209128093, -0.0199748203, 0.059367273, 0.0187521446, -0.0454891622, -0.070981741, 0.0070495922, 2.774e-7, 0.0073817102, 0.0167415775, 0.0113549754, 0.0054441206, -0.0101720989, 0.0107588591, -0.0459847078, -0.0082662292, -0.0375328213, -0.0150433974, -0.0059909825, 0.0167841502, 0.071843788, 0.026220724, -0.0727257207, 0.016575899, -0.0124223921, -0.0050715809, -0.0602150783, -0.009365011, 0.0060816742, 0.0688302889, -0.0069460305, -0.0308458693, 0.0349158384, -0.0300443489, 0.0324044079, -0.0338961445, 0.0151984487, 0.018240789, -0.0193613078, -0.0048788674, -0.0248893853, -0.0349620134, -0.0397058055, -0.0029716354, -0.0067424467, 0.0657850653, 0.0164719969, 0.0447935387, 0.0487215929, -0.0354587995, -0.012866159, -0.0165107939, 0.0402609222, 0.0266320743, -0.0037363458, -0.0072637578, 0.0025243494, -0.0297762621, 0.0048294626, -0.02555326, 0.0456293188, 0.0299842581, 0.0057141776, -0.0477491617, -0.0131147522, -0.0352234021, -0.0315005891, -0.0002913142, -0.0256725326, -0.0695224851, -0.0661658421, 0.0465939492, 0.0531817265, -0.0452125706, 0.0180952884, 2.871057479e-34, 0.0104874661, -0.0561154224, 0.0355195142, 0.0335334577, 0.0437848866, 0.0030609739, 0.0166859757, 0.0268627405, -0.0275498573, -0.0028297896, -0.0107242232 ]
http://arxiv.org/abs/2407.00418v1
http://arxiv.org/pdf/2407.00418v1
eFontes. Part of Speech Tagging and Lemmatization of Medieval Latin Texts.A Cross-Genre Survey
2024-06-29T11:59:20
2024-06-29T11:59:20
Krzysztof Nowak, Jędrzej Ziębura, Krzysztof Wróbel, Aleksander Smywiński-Pohl
cs.CL
cs.CL, cs.LG
This study introduces the eFontes models for automatic linguistic annotation of Medieval Latin texts, focusing on lemmatization, part-of-speech tagging, and morphological feature determination. Using the Transformers library, these models were trained on Universal Dependencies (UD) corpora and the newly developed eFontes corpus of Polish Medieval Latin. The research evaluates the models' performance, addressing challenges such as orthographic variations and the integration of Latinized vernacular terms. The models achieved high accuracy rates: lemmatization at 92.60%, part-of-speech tagging at 83.29%, and morphological feature determination at 88.57%. The findings underscore the importance of high-quality annotated corpora and propose future enhancements, including extending the models to Named Entity Recognition.
eFontes. Part of Speech Tagging and Lemmatization of Medieval Latin Texts.A Cross-Genre Survey: This study introduces the eFontes models for automatic linguistic annotation of Medieval Latin texts, focusing on lemmatization, part-of-speech tagging, and morphological feature determination. Using the Transformers library, these models were trained on Universal Dependencies (UD) corpora and the newly developed eFontes corpus of Polish Medieval Latin. The research evaluates the models' performance, addressing challenges such as orthographic variations and the integration of Latinized vernacular terms. The models achieved high accuracy rates: lemmatization at 92.60%, part-of-speech tagging at 83.29%, and morphological feature determination at 88.57%. The findings underscore the importance of high-quality annotated corpora and propose future enhancements, including extending the models to Named Entity Recognition.
[ 0.0229925681, 0.0322823934, 0.0125224395, 0.0716555119, -0.0307586659, 0.0279534757, -0.0330647342, 0.0036385579, -0.009169423, -0.0973828137, 0.0005974789, -0.0004850072, 0.0188538525, -0.0546332933, 0.0370183475, -0.0284490772, 0.037101265, -0.0185356252, -0.0779316574, 0.0197202675, 0.0317143761, -0.0226686448, 0.0034525355, 0.0081944512, -0.0162260253, 0.0473333634, -0.0006757241, 0.0082188947, -0.0090148263, 0.0186679065, 0.017722711, 0.0579750687, -0.0254747272, 0.0578525811, 0.0000016982, -0.0547745749, -0.058732897, -0.0214271937, 0.0079123853, 0.0014500908, 0.0273860209, -0.0265022684, -0.0382773019, -0.0435739942, -0.0039878725, 0.0039303331, 0.0320718586, 0.0312640555, -0.0106574055, 0.0461552478, -0.0116193108, -0.0900690928, 0.0538361482, -0.0126241501, -0.0226152707, 0.0139822308, -0.0034759981, -0.0323871709, 0.0083460119, 0.0300457478, 0.0056753196, 0.0264414381, -0.0573083498, 0.0116969869, -0.0067739496, -0.0074121729, -0.0401667394, 0.0127308946, 0.00778411, -0.0105773807, 0.0471475609, -0.0171664823, 0.0292132739, 0.0237337016, -0.0156483278, 0.0242298171, -0.0157197397, -0.0056495611, -0.0343095325, 0.0149925202, 0.0712176487, -0.0138019063, 0.0032387725, 0.0070692138, -0.0346133485, 0.0922226459, 0.038312193, -0.0465675853, 0.0305035356, 0.024737319, -0.0578064471, -0.0362925194, -0.0124901189, 0.0478739403, 0.0378322639, 0.0055046915, -0.0216419213, -0.0534246191, 0.0296781771, -0.0326730981, -0.0455986932, -0.0054124412, -0.0176599026, 0.0198120903, -0.0391437374, 0.0195039622, 0.0300900079, -0.0430600643, -0.0134010036, -0.0108592343, -0.0341781303, 0.0204917919, -0.0472145416, 0.0328281075, -0.0210042093, 0.0366969071, -0.0402071178, -0.0191545039, 0.054144185, 0.0448812805, -0.0107134581, -0.0455408655, 0.0126539152, -0.0045990115, -0.0387005545, 0.0033048263, -0.0316930711, 0.0066018659, -0.0727203339, -0.0567655489, 0.014976752, 0.0060928334, 0.0163308829, -0.0842591524, 0.0602987334, 0.0430833288, 0.0216550119, -0.0703814998, -0.0359887183, -0.0217441935, -0.0352915153, -0.0492748134, -0.0150831193, -0.0579969473, -0.0312744901, -0.0150192026, 0.0460658297, 0.0004587744, 0.0117761614, 0.0154937869, -0.0472505763, 0.067907244, -0.0532072, -0.0107004661, 0.0053801551, -0.0543744117, 0.0249361545, 0.0081613483, 0.0561309159, 0.0083242562, 0.0532520674, 0.025349047, 0.0044094766, 0.0630382895, -0.0298512336, -0.0568482801, -0.0130041819, -0.0294241235, 0.0187779516, 0.004537432, 0.0196567606, 0.0428617634, 0.0074828793, 0.0203557834, 0.041991137, 0.0347300954, 0.0445784517, -0.0046815984, 0.0351445414, -0.0080782017, 0.0428027026, 0.0163091831, -0.0498642251, -0.0541135445, 0.0179674402, 0.0319299921, -0.0356088802, 0.0146463113, 0.022734534, -0.0054825386, -0.021080317, -0.0530953929, -0.0161095746, -0.0410722382, 0.092805706, 0.0030420686, -0.0466583185, 0.0192666966, 0.0226478353, -0.0593221337, 0.0263954829, 0.0251250472, 0.0321621597, 0.0636767745, 0.0570393391, -0.0583623946, -0.0239583664, 0.0058442289, -0.0429552943, 0.0262168925, -0.0414157957, -0.0332910828, 0.0046864515, -0.0403060056, 0.0125170629, 0.0190181285, 0.0210354105, -0.0005280855, -0.0499455929, 0.0117954742, 0.0067418986, -0.0428609811, -0.035283614, 0.0678255334, -0.0177368987, -0.0326932073, -0.0502896868, 0.0050604814, 0.0062576854, 0.039326407, -0.0131052025, -0.0032397921, 0.0308373589, -0.0453796238, 0.0291908663, 0.0193479918, 0.035433691, 0.0188259482, 0.055035688, -0.0266198236, 0.0101371361, -0.0310705844, 0.0191221982, -0.0386193916, 0.0063465633, -0.0537193455, 0.0259771273, -0.0085341437, 0.0355158448, -0.0122211948, -0.0061317994, -0.049132552, 0.0520972982, 0.0272773821, 0.0600902103, -0.0076334192, -0.0578965396, 0.0456970818, 0.0063036811, -0.0737838745, -0.0480420925, -0.0010788258, -0.042211026, 0.0029161039, -0.0222773217, -0.0117754191, -0.0546905734, -0.1273021996, 0.0485474654, -0.0351075456, 0.0668161213, -0.0247148797, 0.0120373797, -0.0145151289, -0.005859632, -0.0006140085, -0.0308361296, -0.0330726318, -0.0171516556, 0.0468495153, -0.0064879046, -0.0204897411, -0.0381822065, 0.0250001885, 0.0098295677, 0.0092733512, 0.04834475, -0.0643823147, -0.0227900501, -0.0098694442, -0.0264814403, 0.0342199989, -0.0096118674, -0.0130594289, -0.0306090172, 0.004508548, 0.0255114939, 0.0059036282, -0.0065286919, -0.0418293513, -0.0097326478, -0.0287695639, 0.0023283015, -0.0248874035, 0.001220774, 0.0113346977, -0.0500183292, -0.0387047082, 0.0325164162, 0.0723366514, -0.0647317544, 0.0201541912, 0.0064852405, -0.0030467308, -0.0395107828, 0.0222254433, 0.0252551492, 0.0021921701, -0.0290417001, 0.0234316234, 0.0244096294, -0.011193214, 0.0226119701, -0.0530534796, 0.0098943403, -0.0410717279, -0.0014332803, -0.0610104799, 0.0174344536, 0.0604286231, -0.010416721, 0.0189124271, -0.0787787437, 0.0226563234, 0.0472582243, 0.0770463869, -0.0434498787, 0.0742591396, -0.0308536012, 0.018365996, -0.023499582, 0.0093665831, 0.004591268, -0.0108480398, -0.0604152456, 0.0044552246, 0.0202169102, -0.0263399743, 0.0056510633, 0.0490851402, -0.035378281, 0.0647209138, 0.0004614104, 0.0157452486, -0.0353220031, 0.0586973913, -0.0115581816, 0.0126567613, -0.0363044739, -0.0132502029, -0.0101034585, 0.0001080628, -0.0000269208, -0.018662421, -0.0192815997, -0.0184338186, 0.0121401558, -0.070891507, -0.0951607525, -0.0653891861, -0.0159694795, -0.0091215279, 0.0158936884, 0.0844898894, 0.0251915418, -0.0172295235, -0.01056448, -0.0203177873, 0.008602405, -0.0025482383, -0.0092253471, -0.0822323933, -0.0215548947, 0.0383719616, 0.0244872086, 0.0097947372, -0.0458122157, 0.050344687, -0.0858061761, 0.0206407513, -0.0302098636, -0.0311415941, -0.0142382421, -0.034047246, 0.0130380047, -0.0938630998, -0.0438096598, 0.0004215789, -0.0370672643, 0.0398610234, 0.0546782017, -0.0422915071, -0.0214093346, -0.0538772531, -0.0675368235, 0.0214193836, 0.0168720651, 0.0562402569, -0.0834552348, 0.0196945332, 0.0204170384, -0.0270402338, -0.0104149291, -0.0284258276, 0.098194629, 0.001464861, 0.0014478043, 0.0060685645, -0.0092821959, 0.0281606559, -0.0587139651, 0.0649203435, 0.0232790001, 0.0115359128, 0.0536420904, 0.0078060855, -0.0186737645, -0.0106047681, 0.0457739085, -0.0050046435, -0.0139226625, -0.0113328081, 0.003764159, 0.0369655639, -0.0158011224, -0.0547491461, -0.0065110414, -0.0586282611, -0.0240563694, -0.08493191, -0.0477039069, 0.0359562784, 0.0390404537, 0.0696017444, 0.0241103824, 0.0016714245, 0.0059295683, -0.0583324395, 0.0343122371, -0.0024715378, 0.0150793316, -0.071604535, -0.0065076309, 0.0673746616, 0.0057259779, -0.0289044585, 0.0152712613, -0.0240974855, -0.0238570534, 0.0081450343, 0.0347246341, 0.0228110533, 0.0336107127, -0.0327501483, -0.039018631, -0.0171380024, -0.0101421466, 0.0051974528, 0.0393238701, 0.0290334672, -0.017453542, -0.0248248409, 0.0190852676, 0.0111751063, 0.0208788458, -0.0036486622, 0.019474037, -0.0185002442, -0.0531674027, 0.0228897817, 0.0125819054, 0.0342922322, -0.0820804834, -0.0005183726, -0.0356166363, 0.0234165899, -0.0022808029, 0.000986562, 0.0048466371, 0.0666059479, 0.018171763, 0.015370477, -0.0165702924, -0.0039877603, -0.0170953404, -0.0033267515, -0.0218146499, 0.0111123594, 0.0240662023, 0.0204958972, -0.0510145463, 0.0215817615, 0.029933, 0.023894839, 0.0135083152, 0.0674877763, -0.0148346052, -0.0037926792, -0.0171759613, 0.001776801, -0.0014188801, 0.0213044882, 0.0104260743, 0.0551641658, -0.0486147553, 0.0182199776, 0.0608613864, -0.0150587643, 0.1052432582, -0.0285424031, -0.0078885285, -0.0016176587, 0.0197459776, 0.0209915172, 0.0484041236, -0.0128446203, -0.0005105975, -0.022989342, 0.0108448435, 0.0274819303, -0.005724425, 0.0339531675, 0.0152200647, -0.0169905629, -0.033697132, -0.0017052597, -0.0276436731, -0.0503553376, -0.0356621332, -0.0071420809, -0.0708466917, -0.0196542181, 0.0379028618, 0.0169506334, -0.0243403632, -0.0167803653, 0.008723828, 0.024756629, 0.0138380248, 0.0176170263, -0.0659745485, 0.0555026047, -0.0080740694, -0.0096539855, -0.0303598698, -5.230409134e-33, -0.0341584049, 0.0040983362, -0.0019156508, 0.0380386673, -0.0089037092, -0.0135000702, 0.0207024831, 0.0146412915, 0.013115393, 0.006231301, 0.0022545748, -0.0153227337, 0.0342788771, -0.0070236311, 0.0226245727, -0.0005847213, 0.0170048792, 0.0163266994, -0.0075737927, -0.024755884, 0.0445953161, 0.0144637963, 0.0913064778, -0.0891690627, 0.0581100136, -0.0228092559, -0.017986156, -0.0027589723, 0.0527325012, 0.0532260276, -0.0272811055, -0.0380408876, 0.0204624739, -0.0048625902, 0.0327691883, 0.0499028377, -0.0805490017, -0.0108308662, 0.0361950882, 0.0483208559, 0.0449438766, -0.053524822, -0.0103167305, 0.0087191667, -0.0188428927, 0.0511106588, 0.0658804551, -0.0219117757, -0.0123386597, -0.0218331162, -0.0692612305, 0.0614577383, 0.01968804, 0.0174382236, 0.0607941076, 0.0427557379, 0.0326211713, -0.0070593162, 0.0021949613, -0.0120867006, 0.0163870975, 0.0365486518, -0.0219462346, -0.008001266, -0.0595100187, 0.0367008038, 0.007364193, -0.0327460989, 0.0078251651, 0.0448464528, 0.0240071379, 0.0090499623, 0.0594705082, 0.0447489172, 0.0357081033, 0.0343723074, -0.0386627093, 0.0168689191, 0.0402599871, 0.0050469707, -0.0403936207, -0.0606707856, -0.0218192749, 0.0159245171, -0.0241408665, -0.0590020083, 0.0226371493, -0.0012219551, -0.0048411642, -0.0055071334, -0.0020711855, 0.0304750148, -0.0181400888, -0.0122207031, -0.0714167655, -0.0326685347, 0.0193710402, 0.0749338493, -0.0491961986, 0.0028119269, -0.0097075682, -0.0266441777, 0.0372814499, 0.018341586, 0.0138053587, -0.0113046709, 0.0478302054, 0.0051512099, -0.0341938362, 0.0043840944, 0.0044953935, 0.0344080366, -0.0378886014, 0.0656076446, 0.0442901403, 0.0053900885, 0.0374830328, 0.0080936886, 0.0567721091, 0.0012203653, -0.0276705381, -0.003402425, 0.0327388383, 0.0173675902, 0.0099203754, 0.0031474945, 0.0256424267, 0.0349685624, -0.0027115229, -0.0119910706, 0.0279787723, -0.0125616929, 2.511e-7, 0.0738126189, -0.0086121857, 0.0133454921, -0.0519322492, -0.0047159144, 0.0199203398, -0.019580476, 0.0250535402, -0.0233704038, 0.0026981076, 0.0376565121, -0.0596183501, 0.0495121703, 0.0366466492, -0.08406654, -0.0725026727, -0.0029910014, -0.0405386835, -0.0337003991, 0.0404854678, -0.0076791486, 0.1153951734, 0.0140472949, -0.0428280346, -0.0420082025, -0.0173830297, 0.0262170453, -0.0126291513, -0.0499105453, 0.0532798506, 0.0642045811, 0.0407636799, -0.0094223553, 0.0600721464, 0.0044045337, 0.0606394745, 0.011535312, 0.0298259296, -0.0113101648, 0.0467074066, 0.016328983, -0.0664188489, 0.0060440511, 0.0024516706, 0.0595772937, 0.0290143024, 0.013784322, 0.0000652083, -0.0502515174, 0.0629076585, -0.0128971469, 0.0123027721, -0.0308666304, 0.0372325704, 0.0594356731, -0.0146987084, -0.0130339731, -0.0718957186, 0.0301204901, 0.0213004518, -0.0156270433, -0.0433771051, 0.0266413614, -0.0328031704, -0.0360187143, -0.0371515453, -0.0278017819, 2.091794493e-34, -0.0059981537, -0.0409696177, -0.0228140075, 0.0787804201, -0.0057741231, -0.0013651613, -0.0037715537, 0.0214492306, -0.0359141044, -0.0117214415, 0.0367971174 ]
http://arxiv.org/abs/2407.00416v1
http://arxiv.org/pdf/2407.00416v1
Too Late to Train, Too Early To Use? A Study on Necessity and Viability of Low-Resource Bengali LLMs
2024-06-29T11:50:16
2024-06-29T11:50:16
Tamzeed Mahfuz, Satak Kumar Dey, Ruwad Naswan, Hasnaen Adil, Khondker Salman Sayeed, Haz Sameen Shahgir
cs.CL
cs.CL
Each new generation of English-oriented Large Language Models (LLMs) exhibits enhanced cross-lingual transfer capabilities and significantly outperforms older LLMs on low-resource languages. This prompts the question: Is there a need for LLMs dedicated to a particular low-resource language? We aim to explore this question for Bengali, a low-to-moderate resource Indo-Aryan language native to the Bengal region of South Asia. We compare the performance of open-weight and closed-source LLMs such as LLaMA-3 and GPT-4 against fine-tuned encoder-decoder models across a diverse set of Bengali downstream tasks, including translation, summarization, paraphrasing, question-answering, and natural language inference. Our findings reveal that while LLMs generally excel in reasoning tasks, their performance in tasks requiring Bengali script generation is inconsistent. Key challenges include inefficient tokenization of Bengali script by existing LLMs, leading to increased computational costs and potential performance degradation. Additionally, we highlight biases in machine-translated datasets commonly used for Bengali NLP tasks. We conclude that there is a significant need for a Bengali-oriented LLM, but the field currently lacks the high-quality pretraining and instruction-tuning datasets necessary to develop a highly effective model.
Too Late to Train, Too Early To Use? A Study on Necessity and Viability of Low-Resource Bengali LLMs: Each new generation of English-oriented Large Language Models (LLMs) exhibits enhanced cross-lingual transfer capabilities and significantly outperforms older LLMs on low-resource languages. This prompts the question: Is there a need for LLMs dedicated to a particular low-resource language? We aim to explore this question for Bengali, a low-to-moderate resource Indo-Aryan language native to the Bengal region of South Asia. We compare the performance of open-weight and closed-source LLMs such as LLaMA-3 and GPT-4 against fine-tuned encoder-decoder models across a diverse set of Bengali downstream tasks, including translation, summarization, paraphrasing, question-answering, and natural language inference. Our findings reveal that while LLMs generally excel in reasoning tasks, their performance in tasks requiring Bengali script generation is inconsistent. Key challenges include inefficient tokenization of Bengali script by existing LLMs, leading to increased computational costs and potential performance degradation. Additionally, we highlight biases in machine-translated datasets commonly used for Bengali NLP tasks. We conclude that there is a significant need for a Bengali-oriented LLM, but the field currently lacks the high-quality pretraining and instruction-tuning datasets necessary to develop a highly effective model.
[ 0.0424042679, 0.044928465, 0.0042807763, 0.0417333879, -0.0433429778, 0.0211063698, -0.0046203518, -0.0175491683, -0.0116290729, -0.00022956, -0.0167691149, -0.0411802456, 0.021550931, 0.0174423046, 0.019234607, -0.0457318835, 0.050892543, -0.0398339406, 0.0093551269, -0.0030693612, 0.0205924679, 0.0281670857, -0.0057917247, 0.0250790883, 0.0182441659, -0.0019271262, 0.0311823245, 0.0072862385, -0.0109869773, -0.0191425923, -0.0124697173, 0.0218253955, 0.0165314768, 0.0003438975, 0.0000017825, -0.0646705404, -0.0171620809, -0.0230420697, -0.0286810659, 0.0159675553, 0.0509796031, -0.0485586748, -0.0064084707, 0.0502139889, -0.0035622527, 0.0100406567, 0.0955385715, 0.0341301076, 0.0502275936, 0.0925092623, -0.0061202585, -0.0675368235, 0.031119125, -0.0163994618, 0.0142711857, 0.0031116009, -0.0094151301, -0.0079165492, 0.0248011872, -0.020358514, -0.032650128, 0.0448768884, 0.0346300602, -0.0235217661, 0.0008672437, 0.003308303, -0.0200203061, -0.0136609385, 0.0121477479, 0.045690313, -0.0541053414, -0.01320701, -0.0117932828, 0.0189913828, -0.0399429798, -0.0456834808, -0.0462731645, 0.0762336627, -0.032635238, 0.0563843288, 0.0840057209, 0.0053466712, 0.0011896197, 0.0109059587, 0.0320886672, 0.0216480475, 0.0121195335, -0.0034733142, -0.0263502151, 0.0361411832, -0.020544434, -0.0119754635, 0.0222929586, 0.0277594905, 0.0001250091, 0.0282924585, -0.0398503207, 0.0145176994, 0.0047494196, 0.015960265, 0.0375661291, 0.0871344134, -0.0078163119, 0.0136053376, -0.0328548327, 0.0156243006, -0.0519361235, 0.0360394716, -0.0272922404, -0.0227104928, 0.024614729, -0.0539785251, -0.0180995055, 0.0318741426, -0.0658892095, 0.0105062881, -0.0474038236, 0.0299803969, 0.039962858, -0.033759445, 0.0533901565, -0.0180538036, -0.0441137366, -0.0251848865, -0.0126092043, 0.0418645591, 0.0095744841, 0.0075055398, 0.0248302668, -0.1278216541, -0.0404141285, 0.0242638495, -0.0393912122, -0.0484032966, 0.0145477643, 0.0661658347, -0.0485309102, -0.0217644963, -0.0618794225, 0.0389753319, -0.0159923807, -0.0769973323, -0.0002412256, -0.0476418659, 0.0474360399, 0.043398913, 0.0033717018, -0.0279068705, 0.0135324281, 0.0380318426, 0.0016654414, 0.0585974157, -0.0248314086, -0.0011180853, 0.0484081618, 0.0192506537, 0.0372430235, 0.0493433923, 0.0303366315, 0.008772607, 0.0109973196, -0.0471085347, -0.0267289542, 0.0514574349, -0.013735475, -0.0235457271, -0.0303015299, 0.0307108033, 0.0120133208, 0.0347999558, 0.0554057062, 0.0639464855, -0.0323867053, 0.0330093764, 0.0671577975, 0.0479075536, 0.0064598401, 0.0594606362, 0.050303258, -0.0194818694, 0.0370088927, 0.0189575609, -0.0200277735, 0.0374325924, -0.0183587074, 0.0073046763, 0.0607016161, 0.029917134, -0.0237131119, -0.0099614616, -0.0003591436, -0.0409195647, -0.0227653906, -0.0062834723, 0.0479935519, -0.0052656033, -0.0469990522, 0.0537180007, 0.0499506518, -0.0590022206, 0.0371132419, -0.0796992183, 0.0365543514, 0.0398026071, 0.0369437076, -0.0088680107, 0.0210309252, 0.006772168, 0.0010908621, 0.0629798025, 0.0418682769, -0.0113379406, 0.0168502983, -0.0521427356, 0.066876471, -0.0117151961, -0.009361227, 0.0286071654, -0.0097752716, 0.0181415379, 0.0001844723, -0.0204587523, -0.0448188558, 0.0467470773, -0.0289460532, -0.0099106506, -0.0127145071, -0.014891061, 0.0505249389, -0.0068209819, 0.0061516403, -0.0166358519, -0.0118816253, -0.0745156407, 0.0163729377, 0.0066040303, -0.0729736164, -0.0802259296, -0.0045660702, -0.0311084539, 0.0207548589, 0.017194258, -0.0059378897, -0.0705121011, 0.0372943878, -0.0562420785, 0.0318523906, -0.0446915962, 0.0411244631, -0.0175020061, 0.0120627433, -0.0374289937, 0.0584559292, 0.0232716985, -0.0090716211, 0.0071381354, -0.0145237669, 0.0600630641, -0.051663667, -0.0027825451, 0.0656963959, 0.0550713688, 0.0020083643, 0.011258197, 0.0499924757, -0.021103166, -0.0436106771, -0.0720285922, 0.023481939, -0.0185547285, 0.0273753442, 0.0251897629, 0.043017216, -0.0221023895, -0.0086990111, -0.0062855473, 0.007728477, 0.0577967912, -0.0015476367, 0.0420692861, -0.015245189, 0.0205856506, -0.0204544291, -0.0405721553, 0.0449835323, 0.0557547882, -0.001752874, -0.0315343477, -0.0408271961, 0.0309844501, -0.0075645712, -0.0301228072, -0.0128692314, -0.0411919057, -0.015139956, -0.0324227698, 0.0052119135, 0.0199864786, 0.0027619663, -0.0114947595, -0.0086629512, 0.0049515846, -0.0245918669, -0.0282170717, 0.0038237378, -0.0384388529, -0.0322143398, -0.0336797237, -0.0151331844, 0.0712522194, 0.0117788622, 0.02272374, -0.0400908105, -0.0630954877, -0.0069910125, -0.0186396595, -0.0262247939, 0.0113515537, -0.0412101336, 0.0365474001, -0.0358903892, -0.0416419096, 0.0493719615, -0.0495614596, -0.0211410876, -0.0500815734, -0.0101701152, -0.0734578446, 0.0257390421, 0.0011595859, 0.0140818767, -0.0561678447, -0.0547134653, -0.0495911092, 0.0218219999, 0.0148127535, -0.0308747366, 0.0078421021, -0.0919941142, 0.041997347, -0.0622883476, -0.0268689264, -0.0152577953, -0.0137958042, 0.0118459538, 0.0164138265, 0.0341905393, 0.0352788568, 0.0007445028, 0.0768522397, 0.029522527, 0.005799091, -0.0324089341, 0.0096868994, -0.0097262738, 0.0300676413, 0.0474515818, 0.0133026419, 0.0386407152, -0.0420032032, 0.0105381701, -0.0061413939, -0.0019126678, -0.0159348343, -0.0094420351, 0.0300673116, 0.0539993867, -0.0120926918, 0.0006881115, 0.0007234435, 0.0709270164, 0.0011416888, -0.0407115854, 0.0939542502, 0.0236312337, -0.0427748971, -0.0180239677, -0.0550006405, 0.0145882647, -0.0196026806, 0.005082387, -0.0419735499, -0.0321963355, 0.0135316662, 0.0051640025, 0.0074570873, -0.0165657979, -0.0462139584, -0.1454517096, -0.0045958697, -0.0016116131, -0.0331751332, -0.0695442632, -0.0146758072, -0.0361358635, -0.0072006523, 0.076974079, 0.0346251279, -0.0446142964, 0.0146429893, 0.0729555488, -0.0300126933, -0.0410195254, -0.0410854183, -0.0218235161, 0.0186800137, 0.0194129106, -0.0404832028, -0.0344846137, 0.0534795448, 0.0392481498, -0.0526503175, -0.0101254545, -0.0072942381, 0.0388230495, -0.0032390021, -0.0265763048, -0.0180323608, 0.0286939926, -0.0327367559, -0.0046436908, 0.0148348743, 0.0363478772, -0.0076653939, -0.0129480055, 0.0024472044, -0.0110359415, 0.0148341982, 0.0620830022, 0.0324988998, -0.0434024632, -0.0613376014, -0.0343211405, -0.0258628763, -0.0522326566, -0.0320588313, 0.0238717794, -0.0572905466, -0.0139250951, -0.0354322456, -0.0392993875, 0.0146123935, 0.0247272309, 0.0082712593, 0.0414635278, 0.0099095628, -0.008760307, -0.0297079291, -0.0031624299, -0.048479408, 0.0038911493, -0.0792276114, -0.00007307, 0.0402646065, -0.0327726863, -0.004612098, -0.0176874306, -0.0602743141, -0.0513205118, 0.0146452375, 0.0219318811, 0.0235390179, -0.0023081822, 0.0042859958, -0.0645801723, 0.0447940938, 0.0209251456, -0.0483211502, 0.0244681221, 0.0013493845, 0.025306955, -0.0082181916, 0.0407667458, -0.0043318439, 0.0016978483, 0.0180691741, 0.0349740312, -0.0172744486, -0.0243323948, 0.0166078806, 0.0277826749, -0.0142999142, -0.065834865, -0.0267980956, -0.0345347412, 0.0102890693, -0.0028554434, 0.016860215, -0.0105792908, -0.0436865762, 0.0518918075, 0.0398146659, -0.0115298619, 0.015627794, 0.0091975974, 0.0374954231, 0.0152408043, 0.0713750049, -0.0275059566, 0.0473142229, 0.0118584009, 0.0166097023, -0.016151417, -0.0258704349, -0.0289927647, 0.0297436118, -0.0184898879, 0.05401472, 0.0020836198, 0.0111470837, 0.05163607, 0.0404669493, 0.0185554754, 0.0126677882, -0.0026875082, 0.0156449229, 0.0747412518, -0.0049907803, 0.0705535114, -0.0043759351, -0.0077300104, -0.0242570117, 0.0213847179, -0.0052221902, 0.0299078356, 0.0356176607, -0.0133951595, -0.0289040022, 0.0189015623, 0.0556681007, 0.0161288138, 0.014924963, 0.0115325693, 0.0040371516, -0.0093571562, -0.0851827636, -0.0182242841, -0.0279182587, 0.0309398305, 0.0266612768, -0.0475968458, -0.0487444438, -0.0192358326, -0.0324938856, 0.0051341858, -0.0389582925, 0.0401325747, 0.057360217, 0.0357822664, 0.0117990859, -0.0479779467, 0.0386814475, -0.0395098031, 0.0093788356, 0.0032633629, -5.906236468e-33, -0.0504894592, 0.0389913321, 0.0045324638, -0.0467781126, -0.0301431231, -0.0029322938, -0.051501587, -0.0367093757, -0.026909152, -0.033379063, -0.0433589034, 0.0099471267, 0.01603592, 0.0400093757, 0.0357112065, -0.0099341478, 0.011550121, 0.0258244034, -0.0240955874, 0.0202243235, 0.0521391779, 0.0220065974, 0.0678135529, 0.015893111, -0.0114638973, -0.043399781, -0.0098391986, 0.0048172753, -0.0143317524, 0.0162040349, -0.0463790335, 0.0577100329, 0.0337303318, -0.0270599779, -0.0308790375, 0.002719518, -0.0814322531, 0.0096181892, 0.049428083, 0.0469602086, -0.0150247477, -0.0622913279, 0.0148105007, 0.0021970561, -0.0247384775, 0.0151178567, -0.0160028003, -0.0314966105, -0.0172564741, 0.0084597645, -0.0530512147, 0.0360237956, -0.0213668961, 0.0394233316, 0.0075410726, 0.0149247767, -0.0204327963, -0.0379247405, -0.0358053707, -0.0003729949, 0.018161092, 0.064069055, 0.0322290957, 0.0270665847, -0.0324731655, 0.0064808871, 0.0027501006, -0.065529272, 0.03636235, 0.0326574855, -0.0118405223, 0.0030789101, 0.0068053338, 0.0499169938, 0.068633154, -0.0499808043, -0.0824534968, 0.0240995605, 0.0205257479, 0.0584517941, 0.0384730138, -0.0118152294, -0.010937294, -0.0491753183, 0.0369655564, -0.0004607907, -0.004103818, -0.0323664248, 0.0473038182, -0.0238434225, -0.0143019026, -0.0050932211, 0.0761012286, -0.0312145948, 0.0514125861, 0.0005851325, -0.0278295297, 0.0499867089, 0.0023779867, 0.0538749099, -0.0869709775, -0.064156957, 0.0015646341, 0.0004768319, 0.0034624955, 0.003677537, 0.0403054394, 0.0008413492, -0.0562755466, 0.0120756896, -0.0492936336, 0.0794197097, -0.0168796293, 0.048063796, 0.0011038005, -0.0177412555, -0.0055786567, 0.0135413716, -0.002708066, 0.009416257, 0.0098238969, 0.0274741724, 0.0161418281, 0.0042031822, -0.0384142846, 0.0486459248, -0.0417265408, 0.0327682309, -0.011499078, -0.0403167903, -0.0066899946, 0.0277694408, 2.565e-7, 0.046574235, 0.0201562438, 0.0638761073, -0.0063609253, 0.011096458, -0.0133874118, -0.0057569877, 0.0000645269, 0.0025966803, 0.0260908343, 0.0359794535, 0.043538712, 0.0893848091, 0.0133492146, -0.0747710168, 0.0015702345, -0.0586801395, 0.0121647092, -0.0570043921, -0.0125112692, 0.0044193058, 0.0605664328, -0.0214919187, -0.0325012021, -0.0329710096, -0.031655211, 0.0590396039, -0.0148192318, -0.023913933, 0.0217935909, 0.0104021095, 0.047581736, -0.0519720986, -0.0279875472, 0.0006065297, -0.0011493328, 0.0395829342, 0.0704725459, -0.0008347927, -0.0376540534, 0.0361036994, 0.0132423444, 0.0116139166, -0.0401483588, 0.0923536494, 0.0043061762, -0.054226093, 0.0090631526, -0.032480076, -0.0185823496, -0.004749795, -0.0345605537, -0.0206854306, -0.0092940545, 0.0259527005, -0.07239566, -0.0517927073, -0.0396353528, -0.0204745401, 0.0320872404, -0.0320029408, -0.0690151304, -0.017624123, 0.0599014908, 0.0143269366, -0.0711532831, 0.0252476204, 2.385304412e-34, 0.0480594523, -0.0015006914, 0.0525814183, -0.0068826117, 0.0415336303, -0.0007626401, -0.0154602304, 0.0051569189, -0.0118899439, -0.0935093686, -0.0148616387 ]