id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2312.09890v1
http://arxiv.org/pdf/2312.09890v1
Grammatical information in BERT sentence embeddings as two-dimensional arrays
2023-12-15T15:41:52
2023-12-15T15:41:52
Vivi Nastase, Paola Merlo
cs.CL
cs.CL, I.2.7
Sentence embeddings induced with various transformer architectures encode much semantic and syntactic information in a distributed manner in a one-dimensional array. We investigate whether specific grammatical information can be accessed in these distributed representations. Using data from a task developed to test rule-like generalizations, our experiments on detecting subject-verb agreement yield several promising results. First, we show that while the usual sentence representations encoded as one-dimensional arrays do not easily support extraction of rule-like regularities, a two-dimensional reshaping of these vectors allows various learning architectures to access such information. Next, we show that various architectures can detect patterns in these two-dimensional reshaped sentence embeddings and successfully learn a model based on smaller amounts of simpler training data, which performs well on more complex test data. This indicates that current sentence embeddings contain information that is regularly distributed, and which can be captured when the embeddings are reshaped into higher dimensional arrays. Our results cast light on representations produced by language models and help move towards developing few-shot learning approaches.
[ 0.0114710424, 0.0589707047, -0.0235217754, 0.0532161035, -0.0455051139, 0.0313949399, 0.0023390674, -0.0212880112, -0.0239154268, -0.0586025342, -0.0380681418, -0.0139166759, -0.0138399554, -0.0084638773, 0.029214967, -0.0133892223, 0.0441261791, 0.0360179991, -0.0071687493, 0.011470356, 0.0280450955, -0.0054421942, -0.008335297, 0.0566208698, -0.04394532, -0.0187161826, -0.0040227966, -0.0240055583, 0.0184313376, 0.0100343935, 0.0330559947, 0.0238119122, 0.0350731984, -0.0050403243, 0.0000015106, 0.0184162538, -0.0125001157, -0.0360908173, 0.0104672192, 0.0192864295, -0.0030292056, -0.0759584308, -0.0135339657, -0.0210111961, -0.0316477381, -0.0744451508, 0.0500158928, 0.0368165895, 0.0545850061, 0.0632499903, -0.0150405867, -0.0685435832, 0.0689820871, -0.0136658875, -0.0382940583, 0.0097031565, 0.0263535529, -0.0575174503, -0.016007591, 0.0036337932, -0.0473082624, 0.0078357141, 0.0237654746, -0.0065440624, 0.018998947, 0.0309212077, -0.0854310542, -0.0119124707, -0.0054327985, 0.0559577718, -0.0175977703, -0.00080704, 0.0223573446, -0.0004190131, 0.0168305729, 0.040529605, -0.0244645979, 0.0431952477, 0.0257054828, 0.0387428664, -0.0111542717, -0.0422855392, 0.001020296, -0.0337949619, -0.0284263007, 0.0220290273, 0.0279546399, -0.0595673993, -0.0408917665, 0.0266170502, -0.0287820175, -0.0026906165, -0.0066236653, -0.0160705186, 0.041245997, 0.0268656183, -0.0275123939, -0.0506138131, 0.0145777734, -0.0486892611, 0.0842079967, 0.0299093463, -0.0296374261, -0.0020643792, -0.0377133302, 0.0599395707, -0.0125784781, 0.0666344315, -0.0635173768, -0.0031071217, -0.039653372, -0.0017855072, -0.0351855718, 0.0625172481, 0.0072184894, -0.0600039586, -0.0442512594, 0.0414260142, 0.0120605007, 0.0531624965, -0.0267306995, 0.0126564568, 0.0093896193, 0.0098086828, 0.0242472403, 0.0474774726, -0.0466987677, 0.0123621486, 0.004930303, -0.0374644734, -0.0523592718, 0.0224521067, 0.0447949842, -0.0038590136, 0.0003737989, 0.0461021736, 0.0254700184, -0.0678329021, 0.0075724991, 0.0168482289, -0.0771936476, -0.020553818, 0.0623207092, -0.0426060185, 0.0648361146, 0.0180877, -0.0132478289, 0.0063910359, 0.0035104724, 0.0231640581, -0.0398489982, 0.0384556912, 0.0444209874, -0.0331520401, -0.0356941149, -0.0129970983, 0.0187948607, 0.0453717858, 0.0626262203, 0.0055369982, 0.0203905459, -0.0082080495, 0.0154220164, 0.0324873962, 0.0095868241, -0.0143713206, -0.0125049865, -0.0224355552, 0.0000688872, 0.0352439918, 0.0135211796, 0.0370475128, -0.048859477, -0.0095598493, 0.0365357175, 0.0951711163, -0.0168620255, 0.0171181355, 0.0530985259, 0.0006108746, 0.0050247349, 0.0586529784, -0.0216885377, 0.0159367621, 0.0140942, -0.000424696, -0.0402250215, 0.0362602063, -0.0496634468, -0.0143028013, -0.0404198691, -0.0414538421, -0.0268022846, -0.0547055565, 0.0448278561, 0.0279079899, -0.0180687327, 0.0852731466, 0.0244177412, -0.0521179177, -0.031445466, -0.0182995759, 0.047957208, 0.0019653104, 0.0417630225, -0.0268502086, -0.0155733293, -0.007242457, 0.015187379, 0.0320772007, 0.0240935851, 0.0014787251, 0.021793263, -0.0377338305, -0.0057140677, -0.0320805311, 0.0464418828, -0.0118122976, -0.0266272873, -0.0583285987, -0.0181857347, -0.0341141894, 0.0050790124, 0.0275397282, 0.0252829008, 0.0034154751, 0.0202115513, 0.0186799672, 0.0221115239, -0.0218784735, -0.020127235, 0.0329924449, 0.0568388924, -0.0477151498, -0.0474387929, 0.0366049297, -0.0501841791, -0.0934502408, -0.0154022099, -0.041249685, -0.0433379933, 0.0419960842, -0.0456703231, -0.0019965537, 0.0111166425, -0.0865380317, 0.0398418382, -0.0186030362, 0.0020486466, 0.0332347192, 0.0343720131, -0.0257693119, 0.0418076217, -0.0375562534, 0.0144831259, -0.0600438751, -0.0540239662, 0.0291866027, 0.0126331979, -0.028985573, -0.0151934521, -0.0077505438, 0.0003678884, 0.0267433245, -0.0144978836, -0.0328467712, -0.0480698273, -0.06613262, 0.0053252471, -0.0103106713, 0.0183197651, 0.0243624188, -0.0030380187, 0.0285946634, -0.0068470812, -0.0385263972, 0.025145581, -0.0253349878, 0.023210831, 0.0935887173, -0.0391921327, -0.0465955958, -0.0541329645, -0.0180085767, -0.0510893799, 0.0808893219, -0.0231214538, 0.0348929092, -0.024339959, -0.0511673763, -0.0011989983, 0.017921295, 0.0111654745, -0.0636677966, 0.0382545851, -0.0346152633, 0.0472878031, 0.0837412775, -0.0164150186, 0.068279475, 0.0345195457, 0.0120125767, -0.0477677695, 0.0206420198, -0.0288302619, 0.0276262425, -0.020113701, 0.0043096785, 0.0224496871, 0.0767334625, 0.0153706158, -0.0095693478, -0.0398577191, 0.0150439516, 0.0242245533, 0.0145396348, -0.0010328626, 0.0044119237, -0.0222105235, -0.0213188846, -0.023694627, -0.0336795785, 0.0720625296, -0.018696608, -0.0380215049, -0.0445861705, 0.0043237587, -0.0092897275, 0.0371585973, 0.0479361527, 0.0223319419, -0.0296313316, -0.0067862109, -0.0251845941, 0.00447354, -0.0171225686, 0.0036159125, 0.0349712819, -0.027782226, -0.0091656242, -0.0023755187, -0.0821371749, -0.0237670559, -0.053946659, -0.0152768064, 0.0017197153, -0.0085147684, -0.0569840334, -0.04598682, -0.057209231, 0.0257466938, 0.0255676024, -0.0060874559, -0.0092370994, -0.0483784601, 0.0794571191, 0.0394229367, 0.0021052295, -0.0419027358, -0.0223626383, 0.0083319368, 0.058704555, -0.0032682645, 0.0723774731, -0.0254529752, 0.0149300173, 0.0411817655, 0.0035610036, -0.0492045544, -0.0092157032, 0.0476945862, -0.0235651489, -0.0242632218, 0.0766882226, 0.0460985377, 0.0010925762, 0.00773161, 0.0084490301, 0.0152659444, -0.0122891078, 0.0192220192, -0.0759282112, -0.0309223272, -0.0153502226, -0.0375761725, 0.0090629645, -0.0162460897, -0.0101796808, -0.0954896733, 0.0103131002, -0.0099663716, 0.0117126601, -0.0481076539, -0.0205576681, 0.0020305179, 0.0083889272, 0.0289675836, -0.0219289921, -0.0075791418, 0.0038103908, 0.0109027158, -0.0397900678, -0.0098308409, 0.0065631736, -0.0685143396, 0.0517799072, 0.0527804643, 0.0543199666, -0.0348845795, -0.0716214776, -0.049281355, 0.0176321641, -0.0058556139, 0.0392163619, 0.0401421525, -0.0280924104, -0.0286395606, -0.0168127641, 0.0094963871, -0.0301055126, -0.0047619925, -0.0133784907, 0.1020248309, 0.0037178237, -0.0243129171, -0.0175305475, 0.0007408329, -0.0529510342, 0.0847840458, 0.0459751375, -0.0408171341, -0.0197964907, -0.027129611, -0.0110503016, -0.0598713495, 0.0051999469, 0.0108433105, 0.0216874965, 0.0128974253, -0.0908689275, -0.0553031489, 0.0360398367, 0.003604779, -0.0172642004, -0.0509916544, 0.0441172533, -0.0050261463, -0.0232855752, -0.004854118, -0.0052631358, -0.0061304038, -0.0037037435, -0.0048720031, 0.0403638445, 0.0480053686, -0.0304070935, -0.0272307061, -0.0479324162, -0.0383798853, 0.0129648317, 0.0346192829, -0.0006021263, -0.006220818, 0.0083359228, 0.0216044392, 0.0396303348, 0.0254584737, -0.0372206569, 0.0222254544, 0.0842329487, -0.0134332879, 0.0160414167, 0.0548981354, -0.0190797132, 0.0302731507, 0.0041744825, 0.0136113241, -0.0276977047, 0.0228061546, 0.0409756564, -0.0189404394, 0.0559747219, 0.0346930474, -0.0315243714, 0.0012029593, 0.0110632796, -0.0479643904, 0.0062157153, -0.0693999007, 0.0002968766, 0.034047991, -0.0045866002, -0.033707913, 0.0467928015, 0.0109133087, 0.0533926599, -0.0096736159, -0.0008734169, 0.0324850157, -0.0361984186, -0.017857654, 0.0091014141, -0.0239042807, -0.0074093854, -0.0237897057, -0.0019759235, -0.0236704033, 0.0189725943, 0.0284102652, -0.0131063433, -0.0324032195, 0.0384576172, -0.0769453123, -0.0029673066, 0.0185750052, 0.0162301045, 0.0464483537, -0.0261125062, 0.0304873846, -0.0184462033, -0.0026710767, 0.0066278554, 0.0362797417, -0.0192877874, -0.0143893613, 0.0546182767, 0.0171888582, -0.0252845529, -0.0532261655, 0.0622527003, -0.031612806, 0.0527117364, -0.0488708727, -0.001947419, -0.0556958839, -0.0008244365, 0.0615081973, 0.0145712132, -0.0109741967, 0.0286494344, -0.0298563223, -0.0395279117, -0.0106796958, 0.0161339343, 0.0045084837, -0.033160165, 0.0159909595, 0.0572332107, 0.0099524204, -0.0323600993, -0.026850557, 0.0005982236, -0.0075533562, -0.0339871608, -0.0213510431, -5.664641155e-33, -0.0163040981, 0.0353425145, -0.0340289697, -0.010577105, 0.0231831707, 0.006176204, -0.0212299209, -0.0041343886, -0.0114462031, 0.0410428271, -0.0037931686, 0.0262760594, 0.0004416181, 0.0296700969, 0.0352756716, -0.0197491497, 0.0454309955, -0.0280133262, -0.0246227086, -0.0235998444, 0.0312752686, 0.0297811013, 0.0870798826, -0.0179759394, 0.0003449438, 0.0018447604, 0.0021862763, 0.0200164001, -0.0135773402, 0.0420870483, -0.0111406064, 0.0195237957, 0.0112790903, -0.0154205877, -0.0236394387, 0.0600653104, -0.0662337318, -0.0459793061, 0.0011265038, 0.0193478931, -0.0415027104, 0.004429087, 0.0490631796, -0.0181619152, -0.0079095773, -0.004200554, 0.0132615399, 0.0056167771, -0.0014278657, 0.0234162528, -0.0478106104, -0.0178540796, 0.0030203725, -0.0216809157, -0.0060597225, 0.0314391926, 0.0351600163, 0.0097891791, -0.0363986418, -0.0016976381, -0.0442610048, 0.047146216, -0.0094200447, -0.0374577381, -0.0230717976, 0.0953423008, 0.0567426868, -0.0303968471, -0.0076302015, 0.0058289934, 0.0321163684, 0.0417148061, 0.0181978475, 0.0252273735, 0.0259328876, 0.0326331146, -0.0572389141, -0.0077383425, 0.0892579928, 0.0391267426, 0.0165541228, -0.0124021601, -0.0321824327, -0.0296574514, 0.0186918322, 0.0192891937, -0.014064962, -0.007786708, 0.0087854089, 0.0112652369, 0.0329891071, 0.0103781261, 0.0012714326, -0.037262816, -0.0044400212, 0.0486617684, -0.0285307094, 0.018738905, 0.0304942634, 0.0132410368, -0.0639766306, -0.0295782443, 0.0054763923, 0.0033830705, 0.0244348496, 0.0533149578, 0.1056463867, 0.0252159871, -0.0663537681, -0.013217465, -0.0360857286, -0.0649987608, -0.0380936861, -0.003814633, 0.0197426062, 0.0557934642, -0.0213983562, 0.0272132829, -0.0112565579, 0.041747652, -0.0573659912, -0.0239308551, -0.0146999937, 0.0307796765, 0.0061186338, -0.0388085656, -0.04833287, 0.0257891528, 0.0281228628, -0.0747053623, 0.0083343582, -0.0260086469, 2.465e-7, 0.0519626103, 0.0439934321, 0.0347791314, -0.0214322694, 0.0244954396, 0.0250810441, -0.0250910483, 0.0874845162, -0.027129503, 0.0018212065, 0.0203592032, 0.0095364098, 0.0233272053, 0.0059172045, -0.1118231192, 0.0123449937, -0.0758586675, -0.0061972118, -0.0157771055, 0.0481067114, 0.0922721922, 0.1158235371, 0.0344830342, -0.0029588505, 0.005747248, -0.0329458602, 0.0756360069, 0.0049841069, -0.0002415493, -0.0136386007, 0.0310379509, -0.0293178204, 0.0187684, -0.0028808753, -0.0044898125, 0.0531610698, -0.0277806446, 0.0550611392, 0.000203964, 0.0172086861, -0.0113818068, -0.0240311977, -0.0222382303, -0.0081750406, 0.0630718172, -0.1032064483, -0.0331914127, 0.0177704226, 0.0190764051, 0.0456122309, 0.0085108699, 0.014040146, -0.0407189615, -0.0157071315, 0.0501204059, -0.031398993, 0.0252551623, -0.0851482674, 0.0031833092, 0.0511048622, -0.0452802293, -0.0276534501, -0.0236932393, -0.0639546067, 0.0502533577, -0.0769997686, -0.034243729, 2.264679866e-34, 0.0276809391, -0.0026615609, 0.0052274782, 0.0525550544, 0.0136243915, -0.0519802123, 0.0353448465, 0.0056676106, 0.0176889356, -0.0559447818, -0.0016209354 ]
http://arxiv.org/abs/2312.11532v2
http://arxiv.org/pdf/2312.11532v2
Topic-VQ-VAE: Leveraging Latent Codebooks for Flexible Topic-Guided Document Generation
2023-12-15T15:01:10
2024-01-21T09:30:36
YoungJoon Yoo, Jongwon Choi
cs.CL
cs.CL, cs.AI, cs.LG
This paper introduces a novel approach for topic modeling utilizing latent codebooks from Vector-Quantized Variational Auto-Encoder~(VQ-VAE), discretely encapsulating the rich information of the pre-trained embeddings such as the pre-trained language model. From the novel interpretation of the latent codebooks and embeddings as conceptual bag-of-words, we propose a new generative topic model called Topic-VQ-VAE~(TVQ-VAE) which inversely generates the original documents related to the respective latent codebook. The TVQ-VAE can visualize the topics with various generative distributions including the traditional BoW distribution and the autoregressive image generation. Our experimental results on document analysis and image generation demonstrate that TVQ-VAE effectively captures the topic context which reveals the underlying structures of the dataset and supports flexible forms of document generation. Official implementation of the proposed TVQ-VAE is available at https://github.com/clovaai/TVQ-VAE.
[ -0.0076776044, 0.063361764, 0.0039214995, -0.0110533973, 0.0024925235, 0.0214676466, -0.0116765713, 0.0073195971, -0.0667016134, -0.0257609859, 0.0276941638, -0.0181107875, -0.0401159674, 0.1057201028, 0.0412115566, -0.0550108775, -0.0221284125, 0.001823557, -0.0172728319, -0.0193347558, 0.010663012, -0.0082640033, 0.0077028247, 0.0132118203, -0.0253646709, -0.023411341, -0.0524255373, -0.0189620946, 0.0100121712, -0.0305001456, 0.0055971039, 0.0680922791, 0.0790260956, -0.0368804336, 0.000002078, 0.0199321117, -0.0092208888, -0.0261454228, 0.0222668108, 0.0027013191, 0.0566362217, -0.0567845032, 0.012225871, -0.0029203279, -0.0228554979, -0.0475504585, 0.0441715941, 0.056428954, 0.054254137, 0.0449767336, -0.0354387052, -0.0128848394, 0.0312144272, -0.034724582, 0.0571619608, -0.0362928286, -0.0044747228, 0.0543096699, 0.0194584858, 0.053283941, -0.0449145027, 0.012980937, 0.0396892354, -0.0558687858, 0.0605428405, 0.0507629029, 0.0160198938, -0.0368523523, -0.0054914122, 0.053181123, -0.0117017431, -0.0305010024, 0.02422598, -0.0281890668, -0.0709633902, -0.0105621815, -0.0538499244, 0.0590800382, 0.0175466519, -0.0073398473, 0.0357846059, 0.0170956478, -0.0035600611, -0.012438084, 0.0315585211, -0.0523219071, 0.0459076241, -0.0142191667, -0.0519745424, 0.0154477255, -0.0442875326, -0.0540290773, 0.006853479, 0.0311453845, 0.0035854643, -0.0100599919, -0.0383100994, -0.0815924406, -0.0019028552, 0.0138396649, 0.0418584086, 0.0190219842, -0.0085402476, 0.0235597547, 0.0236413237, 0.0359118097, -0.0244068168, -0.0554575063, -0.0436583981, 0.0005701488, 0.0079562757, -0.0124900574, -0.034838561, -0.0018817057, -0.0131381648, -0.067577824, -0.0070174169, 0.0502592623, 0.0143749332, -0.0069015836, -0.0183709785, 0.0575726628, -0.0815927312, -0.0081440425, 0.029964637, -0.0172598287, -0.0497989096, 0.0162716731, 0.0087546883, 0.0246090554, 0.0011110209, 0.0442961901, 0.0349442065, -0.0083328681, -0.0332106799, -0.0166411791, -0.026799744, -0.0008990602, -0.0186045431, -0.0084617082, 0.0020669959, -0.0155757349, 0.0581380092, -0.0606801286, 0.0382622033, 0.0082637705, -0.020019846, 0.0167035889, -0.0131844478, 0.0102467947, 0.0116469413, 0.0511662439, -0.0110925278, 0.004383001, 0.0825365111, 0.0216664076, 0.0417714193, 0.0588873215, 0.0105904713, 0.068081744, 0.0047858511, -0.0001395971, 0.0142390737, 0.0004388741, 0.0176316071, 0.0133973481, -0.0313402005, -0.0216662753, -0.0424740799, 0.0224483106, 0.04896795, 0.0377465971, -0.0609943941, 0.0184206013, 0.0173980575, 0.045085039, 0.0492201485, 0.0272554811, 0.0391806401, 0.0215827376, -0.0108596021, -0.0024814503, 0.0364175588, 0.0827363804, 0.043443989, 0.0133641688, 0.0335269012, -0.0286586992, -0.036028225, -0.020551743, 0.0215686839, -0.0220302846, -0.0042786431, -0.0736294389, 0.0439808555, 0.0486839674, -0.0201798268, -0.0130395368, 0.0084551722, -0.0182241183, 0.0321249403, 0.0086409524, 0.0689315349, 0.0255814474, 0.0664717779, 0.0208555069, 0.0086080208, -0.0239254721, 0.009719884, 0.0445128083, 0.0160874557, -0.0241164379, -0.0199649055, -0.0399734937, -0.0589676537, -0.082546562, 0.0058709355, 0.0025793542, -0.006835389, 0.0070205331, 0.0225800872, -0.0170127694, 0.0426534861, 0.0348791555, -0.0461192988, 0.0118879797, 0.0267949384, -0.0183234513, 0.0159786344, -0.0021343874, -0.0118895294, 0.0261706263, 0.0486221164, -0.0464921482, -0.0331493206, -0.020116711, -0.0195919964, -0.063616477, -0.0203730687, -0.0833087713, 0.0253236219, 0.0004743093, -0.0334111154, -0.0578079298, 0.0475008152, -0.0327672884, -0.0274146218, -0.0444387682, -0.0376971141, 0.0304416604, 0.0162497591, 0.0131050982, 0.0401736423, -0.0278760325, 0.0254775006, 0.0111740921, 0.0827156156, 0.0171629395, -0.0294187199, 0.020457102, 0.0158337485, 0.023774365, 0.0034475932, 0.0614487827, 0.0320848785, -0.0106753418, -0.0246881358, -0.0949397087, -0.004495353, -0.0482267477, -0.0356100425, 0.0520266332, 0.0178901963, 0.0084585566, 0.0129414769, -0.0357145742, 0.0174890347, 0.0147983981, 0.0122546218, 0.0325232632, -0.0262672212, 0.0512338504, -0.0266422387, -0.0242732447, 0.0085248565, 0.0533893295, 0.0292088985, 0.015098731, -0.0199762564, 0.007843975, 0.0013064238, -0.027156407, -0.0335197113, -0.0035180987, 0.0259104054, -0.0368040726, 0.1294811517, 0.0097046373, 0.0573981553, 0.0727761015, 0.0404997543, -0.0100669749, -0.0353664495, -0.0079361275, -0.0687573329, 0.0237671956, 0.0324480906, -0.0442989767, 0.0249236897, 0.0171969496, 0.017493289, 0.044360321, -0.054682266, 0.0464163944, 0.0081970301, -0.0149594173, -0.0453274399, 0.0030698611, -0.0080865659, 0.0528467819, -0.0140178343, -0.047271885, 0.0155770835, 0.0006675065, 0.0054129986, -0.0093958098, 0.0257652923, -0.0141757978, 0.0498503149, 0.043764364, 0.0289130956, -0.0143622328, 0.0060543297, -0.0313855372, 0.0461981818, -0.0047350498, 0.0014811361, -0.0104168765, -0.0042121443, 0.0174727794, -0.0124776531, -0.0041517452, -0.0367380939, -0.0135306772, 0.0692927614, 0.0065294784, 0.043626558, -0.0046205083, 0.0140013015, 0.0236282814, 0.011086883, 0.033387471, -0.0234086253, -0.0220203251, -0.0088431193, 0.0872646943, 0.0931388289, -0.0744230896, -0.0306384638, -0.0242344365, -0.0107528577, 0.0278788302, 0.0153561868, 0.039941866, -0.0157303903, 0.0600462705, -0.0065919952, 0.0368132032, -0.001072681, 0.0008473106, 0.0277133118, 0.013319619, -0.0438077748, 0.0784289017, 0.0192289297, -0.0477560386, -0.0007744048, -0.0028130515, 0.0289989766, -0.0032045795, 0.0293107871, -0.0778452158, 0.0418519489, -0.0321220085, 0.0371318571, 0.0198941771, -0.0080331471, -0.0441479683, -0.0157725979, 0.0520884693, 0.0146563249, 0.02270725, -0.0075506563, -0.0426703058, -0.0211609527, -0.0099998023, -0.0179445092, 0.0080646798, -0.0142581714, 0.0364399962, 0.0172762629, 0.0165814459, -0.0382418111, -0.0456794538, -0.0163268633, 0.0349558219, 0.0527546927, 0.0391034111, 0.0139590008, 0.0102287922, -0.0590629838, -0.0375124589, -0.0408248194, -0.0016398106, 0.0029473267, -0.0169745255, 0.0098437378, 0.0093088225, 0.0539804548, -0.0035988083, -0.038952671, -0.000559983, 0.0191613343, -0.0682794079, -0.0305894148, -0.0428401046, -0.0062304088, -0.0043751644, 0.0555147938, 0.0463516042, -0.0348626599, -0.0279706232, -0.0200474858, 0.0593676642, -0.0244424194, -0.0111333979, -0.0445263162, -0.0147864949, -0.1088444665, -0.0855975896, -0.0292257331, 0.0069313659, 0.0280930288, -0.0259178281, -0.0121546695, -0.0065416796, -0.0460254773, -0.0420907326, -0.0130902864, 0.0160318203, -0.0348629951, -0.0271257292, -0.058564011, 0.0282451119, -0.0531251654, -0.0204526428, -0.0039742789, -0.0732989907, -0.03974602, 0.0060398648, 0.0253491309, 0.0029284565, 0.0426473692, 0.0024751264, -0.0468444079, 0.0549595803, 0.022929268, -0.0290049594, 0.016033547, -0.0196311921, 0.0249547642, -0.0299469978, -0.0012259583, -0.0409403332, 0.0548069552, -0.0467626154, 0.052012112, -0.0367290638, -0.0275705941, -0.0128788017, -0.0880607218, 0.0246150754, -0.047089234, -0.017435804, -0.0891738385, -0.0624813698, -0.0290734004, -0.01250346, -0.0656640604, 0.0221704021, 0.021034753, 0.0021497612, -0.0358546935, 0.0315886959, -0.0232208874, 0.0576603785, -0.00503765, 0.0119480127, 0.0038638546, 0.0381244309, 0.0168644451, -0.0107263811, -0.011329012, 0.0087688342, -0.0427786559, 0.0061319945, -0.0353493877, 0.0678900704, 0.0205256753, 0.0087070018, 0.0227477271, 0.0038168856, -0.0555914454, -0.0381220691, -0.0428989492, 0.031994909, 0.0145839602, 0.002084055, 0.0343114883, -0.0556387343, -0.0017150288, -0.0308642983, 0.0409318022, 0.0139428768, -0.0323206671, 0.0442765206, 0.0171988439, -0.009556287, -0.007659582, 0.068961978, 0.0501812957, -0.0036965343, -0.0204054117, 0.016115943, -0.0386871956, 0.0183242895, 0.0510887839, 0.0172751043, 0.0083459672, 0.020232996, 0.0030856819, -0.0075727594, 0.0294716246, -0.0057069673, -0.0455537848, 0.0305629726, 0.0610352568, 0.0836856514, -0.033626359, 0.0189343449, -0.0544836819, 0.0470624007, -0.0219919384, -0.0570679717, -0.0363744311, -6.548435848e-33, -0.0276905671, -0.0503609665, 0.0224032458, -0.0105546908, 0.0119831646, 0.0118247867, -0.0856334791, -0.0160732195, 0.0636752844, -0.0099044302, 0.0096443649, 0.0024360088, -0.0104146376, 0.0315723419, 0.0033540498, 0.0215548128, 0.0823552907, -0.028404871, -0.0121692074, 0.0866352469, 0.0051533277, 0.0129527468, 0.0017296779, -0.0470880121, -0.0101383394, -0.0578864552, 0.0092984838, -0.0277793184, 0.0938275382, 0.0290228985, -0.0612083785, -0.0175581053, 0.0055435426, -0.0119544193, -0.0275312364, -0.0056898999, -0.0474071726, -0.0455095284, -0.0491852872, -0.0164132994, -0.0368774273, -0.029482346, 0.0136065343, -0.0266373474, 0.0071557593, -0.014023222, 0.0404409878, 0.0198447388, -0.0053328667, -0.1239282787, -0.0477305166, 0.020356454, -0.0231370106, -0.0108454684, 0.0100692138, -0.0414724126, 0.0243716035, 0.0240366254, -0.0199101884, 0.0507454351, 0.0168697592, 0.0261791889, 0.0471773148, 0.0098829279, 0.0274482556, 0.021476822, 0.0138566773, -0.030136494, -0.0305841938, 0.0466316752, 0.0186065268, 0.0437120087, 0.020596642, 0.0153465234, 0.0423173644, 0.0166477673, -0.0188526567, 0.0697955489, -0.0322300456, 0.0236342102, 0.0242087878, 0.0373251811, 0.0221818294, -0.0307353623, -0.0189752206, -0.0420328118, -0.0117569976, -0.046043139, 0.0249068122, 0.0483385585, -0.018769009, -0.0440838374, 0.0527125262, 0.0064276438, -0.0031929021, 0.0471937247, -0.0417181477, 0.0366997831, 0.0104272589, 0.0007810137, -0.0681383014, -0.0366167203, 0.08561261, -0.0131897433, -0.0205032937, 0.0139004104, 0.0060118502, 0.0286125187, -0.0324416198, -0.0228183642, -0.0281740148, -0.0138930865, 0.0112213269, 0.0172926243, -0.0020886823, -0.0142195476, -0.0238440242, 0.0418672003, 0.0064322115, 0.0526522994, -0.0137392925, -0.0824898407, -0.0067469049, 0.0622152574, -0.0393522196, 0.0183485691, -0.0616438314, 0.0329735763, 0.0864529461, -0.0589875244, -0.0092960447, 0.0181725174, 2.653e-7, 0.0445505604, 0.0268671848, 0.0096532851, -0.0223394223, 0.026045626, 0.0078894589, -0.0251888037, 0.0352766328, -0.0267893896, -0.0179360211, 0.0163156465, 0.0538956448, -0.0037503322, 0.0327189751, -0.0240506027, 0.0446745716, -0.0720514506, -0.0155158108, -0.0467391834, -0.0242508072, 0.0366908051, 0.0560752414, -0.0164860487, 0.0017033409, 0.0339858644, 0.0128321182, 0.0946444348, 0.0173499268, -0.0353174768, 0.0016428154, 0.0478184819, 0.0080780815, 0.0091378167, -0.0814654604, -0.0258479808, -0.0133661507, 0.0192919038, 0.034999378, 0.0151177114, -0.0153605808, 0.0107902372, 0.0044994005, -0.0052805017, -0.0296544619, 0.043558009, -0.0605918579, -0.0069163335, -0.0321354605, -0.02306851, 0.0588503033, 0.0184851829, -0.0482423864, -0.028295191, 0.0134360911, 0.0154453041, 0.0077266912, 0.0152956797, -0.0438611358, 0.0149493711, -0.0145191858, -0.0369320437, 0.002250382, -0.0731001869, 0.0023266792, 0.0175614823, 0.0010692052, -0.0151150571, 2.454562152e-34, 0.0196599048, 0.0018564174, -0.0570009537, -0.0302185938, 0.0119898887, -0.0344311893, 0.0123729091, 0.0238658637, -0.0201485511, -0.0486523844, -0.0545478091 ]
http://arxiv.org/abs/2312.10126v2
http://arxiv.org/pdf/2312.10126v2
Do Text Simplification Systems Preserve Meaning? A Human Evaluation via Reading Comprehension
2023-12-15T14:26:06
2024-02-28T11:16:29
Sweta Agrawal, Marine Carpuat
cs.CL
cs.CL
Automatic text simplification (TS) aims to automate the process of rewriting text to make it easier for people to read. A pre-requisite for TS to be useful is that it should convey information that is consistent with the meaning of the original text. However, current TS evaluation protocols assess system outputs for simplicity and meaning preservation without regard for the document context in which output sentences occur and for how people understand them. In this work, we introduce a human evaluation framework to assess whether simplified texts preserve meaning using reading comprehension questions. With this framework, we conduct a thorough human evaluation of texts by humans and by nine automatic systems. Supervised systems that leverage pre-training knowledge achieve the highest scores on the reading comprehension (RC) tasks amongst the automatic controllable TS systems. However, even the best-performing supervised system struggles with at least 14% of the questions, marking them as "unanswerable'' based on simplified content. We further investigate how existing TS evaluation metrics and automatic question-answering systems approximate the human judgments we obtained.
[ 0.0144242058, -0.0597563796, -0.0432109796, 0.0040251561, -0.0383259244, 0.034589339, -0.0025110799, 0.0291863196, -0.0002250115, -0.009201901, -0.0257330686, 0.0577237122, 0.0540405437, -0.0092031546, 0.0036678819, -0.0861490518, 0.0230160598, 0.0003311764, 0.0012415169, 0.0132890921, 0.0256768633, -0.0011389391, 0.0126590626, 0.0288895871, 0.0447472632, -0.0119873574, 0.0049890997, 0.0071080755, 0.0294541623, 0.0171384308, -0.0146263847, 0.0322514065, -0.0125463484, 0.0062716655, 0.0000019512, -0.0470898598, -0.0250506867, -0.0011913219, -0.0218239762, 0.0697572157, 0.0966893807, -0.0136792781, 0.0224885438, 0.0043580784, -0.0087948488, 0.011922325, -0.0027683242, 0.0011669219, 0.0970120504, 0.0280487798, -0.0178732164, -0.0235915519, -0.0359730199, 0.0285367221, 0.0428586304, -0.0619112737, -0.0012869608, 0.0447470732, 0.0196513925, -0.0214690678, -0.0079982355, 0.0571034029, 0.0101681352, -0.0193774402, -0.0009863147, 0.0023337326, -0.0116005465, -0.0133933024, 0.0091214646, 0.0561230071, 0.0091777779, -0.0727855042, -0.0131955454, -0.0082691666, -0.0003876024, 0.0529955737, -0.0461730845, -0.032875184, -0.0127322385, -0.0213773288, -0.0235044546, 0.0192272495, -0.0051800776, 0.0304750837, 0.0277306587, 0.0362291411, 0.0160651039, -0.032760255, -0.0036975422, 0.0133217564, 0.0138332611, -0.0629190728, 0.0907126293, 0.0671008006, 0.0045565548, 0.0039196108, -0.0587846935, -0.1115266383, 0.0068265148, -0.0285543296, 0.0150322737, 0.0519385301, -0.0030957581, 0.0613775849, -0.0479037054, 0.0673748255, 0.0261359457, 0.0160706509, -0.0588197745, 0.0286848694, -0.0124212569, 0.0002906357, -0.0554794632, 0.0291633885, -0.0384376347, -0.0084578982, -0.0274766907, 0.0221446604, 0.0343732536, -0.0093218423, -0.0242435746, 0.0037985947, -0.0458881296, -0.0470597111, -0.0111744897, 0.0445290133, -0.0626746714, 0.0247726887, -0.0286513772, -0.0059398385, 0.0222730283, 0.0253249165, 0.0434263721, 0.0180412848, -0.0005685766, 0.0192658119, -0.0312845297, -0.0100456988, -0.0380940996, -0.0271635186, 0.0471567139, -0.0309274849, -0.0451192223, -0.0350740179, 0.0058550849, 0.0311323553, -0.0112295207, -0.023582926, -0.0181239191, 0.0269035958, -0.0279094931, 0.0587965026, -0.0158321746, 0.0256112218, 0.0782571957, 0.0153030166, -0.0334427729, 0.0079210429, 0.0324991345, 0.0519299023, 0.0709247813, -0.0117933583, 0.0488827825, 0.0121146673, 0.0021302958, -0.0129421838, 0.0333640054, 0.0178378057, -0.0993782282, 0.0178639572, -0.0061114747, 0.0575906076, -0.0342621543, -0.0053586457, 0.0761640668, 0.0561838187, 0.0025976738, 0.0259439107, 0.0639805794, 0.0508350655, 0.0745699927, 0.0610492863, -0.0140530188, 0.0045637623, -0.0686270222, 0.0320468023, -0.0018181613, -0.0274328776, -0.0027383452, -0.0757957399, 0.0196710527, 0.0038164579, 0.0423950665, -0.0073521221, 0.0527249984, 0.0222912505, -0.0751865953, -0.0324050598, -0.0196473543, -0.0455715135, 0.0351094157, -0.0256838296, 0.0426837765, 0.0773343369, 0.0470328592, -0.033239264, -0.0014405069, 0.0014815059, 0.0190707464, -0.0150914816, 0.0254806969, -0.0136438562, 0.022876773, -0.0511402562, 0.0115254549, 0.0231494196, -0.0001198115, 0.019468002, 0.0273123253, -0.0194149464, 0.0257595144, -0.0769388899, -0.0488102734, 0.0526038744, 0.0011674062, -0.0290389787, -0.01973732, 0.0321545564, -0.0112320138, 0.0202281512, -0.0044503822, 0.011734304, 0.0159230623, 0.0032440824, -0.0077437959, 0.0098052938, -0.0236662962, -0.0298343804, -0.0168020334, -0.0878805518, -0.0595248416, 0.072101213, -0.012290787, -0.0129870307, -0.0046377331, -0.0891702026, -0.0189660713, -0.0329550952, 0.0255010091, -0.0179973841, -0.0339186527, -0.0329974778, 0.0534783602, 0.0417715572, 0.0176812131, 0.0420117341, -0.0381052941, 0.0256806221, 0.005463928, -0.0051219929, -0.0741759911, -0.0329547785, -0.017980881, 0.0384755656, 0.0358098336, -0.0563598834, 0.0299656428, -0.0817672163, -0.0074693849, -0.0164595265, 0.0265604015, 0.0719034225, 0.0060947174, -0.0028537831, -0.0132045783, -0.0038128642, 0.0064887176, -0.0066751065, -0.0117049646, 0.0643962175, -0.0036908227, -0.0166898873, -0.0423384346, -0.0246794168, -0.0100246165, 0.0348747671, 0.0758203864, -0.001019917, -0.0435882956, 0.0381649435, -0.010367183, -0.0660902187, 0.0401466042, -0.0328179561, -0.0232660584, 0.009713823, 0.0220371112, 0.1087622344, 0.0269720312, 0.0249450896, 0.0067796479, 0.0087054251, -0.0387274846, -0.0093074627, -0.0226454884, -0.013293176, 0.0125786271, -0.0772004947, 0.0144859655, 0.0189324524, 0.0242900662, 0.0096336603, -0.0504816845, 0.0141778123, -0.0639213324, -0.0562139787, -0.1106256023, -0.0331866629, -0.0212002285, 0.0702994391, -0.0159561522, -0.0455726385, 0.0821345225, 0.0186584853, -0.0175243448, -0.0812894255, 0.0407307446, -0.0305599365, 0.0385967307, -0.0229280964, 0.0303482134, 0.0080995979, -0.0162546244, -0.0345488712, -0.0143892365, 0.0511532314, -0.0287097078, 0.017746741, -0.0889551938, -0.0079279784, 0.0026444949, -0.0277016405, -0.0043993355, -0.0254244283, 0.0140631311, -0.045868244, 0.0432258956, 0.0166483559, -0.0265907776, 0.0047657378, 0.0681879893, 0.0419346839, -0.0107222172, -0.0310417973, 0.0007790003, 0.058391735, 0.0308939777, -0.0145091554, 0.0469691865, -0.0508019552, 0.011978508, 0.0195081551, -0.0097051626, -0.0225961246, 0.0248112474, 0.0144769205, -0.0021679392, -0.0621701032, 0.0060559702, 0.0234765708, 0.0343907289, -0.0767168626, 0.0045564235, 0.0801486149, 0.0370750576, 0.008883846, -0.0237553604, -0.0396251231, -0.0197066721, -0.0275645312, 0.0164196957, -0.0628034398, -0.010464631, 0.0235195607, 0.0525757074, 0.0287559982, 0.0034424295, -0.0093025621, -0.0164286811, 0.0313182697, 0.0062559373, -0.0728065446, -0.015050442, -0.0402589999, 0.0130909942, 0.0037058445, -0.0056951847, 0.0330567919, -0.0172582921, 0.0009512386, -0.0416457243, -0.0533323325, -0.0006025954, -0.0157890283, 0.0130642569, -0.0161258597, 0.056989342, 0.0395333134, 0.0110508651, -0.0270617045, 0.0182096958, -0.0064752134, -0.0039706351, -0.0142654907, 0.0358071476, 0.0234449282, 0.0297713932, -0.0531686172, 0.0543240495, 0.0076038898, 0.0095639732, 0.0263024494, 0.0100093, 0.0259530637, -0.0633925647, -0.0125777163, 0.0182465483, -0.0124643408, 0.0864713714, 0.0510410219, -0.0249124765, -0.0426637307, -0.0255675986, 0.0048281346, -0.0702796057, -0.0508424193, -0.0104351072, -0.039020896, -0.0584922768, -0.0940995663, -0.0609813035, 0.0579813309, 0.0000402981, 0.0217690226, 0.0058668954, 0.0407441482, 0.0148794986, -0.0370406769, -0.025395209, -0.0247870162, 0.0236510932, -0.036883913, 0.0018940072, -0.0460889153, -0.0160040371, -0.0146930777, 0.0298450608, -0.0492512621, -0.0002911543, 0.0208560769, 0.0314350799, 0.030954117, -0.0028842324, 0.000126574, -0.0457403287, 0.0278083663, -0.0108728623, -0.0568971857, 0.0520434305, 0.0146161988, 0.008837414, -0.0128659718, 0.0258745234, -0.0416395031, 0.0303415246, -0.0234937407, -0.0016572103, -0.0044586579, -0.0208389647, 0.0115789855, 0.0657956302, -0.0379385278, -0.0045144553, -0.0007002372, 0.0150322011, -0.0129013807, -0.04236155, -0.000661992, -0.0134263495, 0.0089455778, 0.0273197163, 0.0131505271, -0.04295329, 0.0445859693, -0.0090840943, -0.0071584722, 0.0098739993, 0.0085391263, -0.0029120583, 0.0557673983, 0.00108182, -0.0255230982, -0.040254049, -0.0191523731, -0.0389010832, 0.0419608019, 0.0077722683, 0.0306443777, 0.0292297415, 0.0147144292, -0.0206029359, 0.0312943272, -0.0457724184, -0.0208523944, -0.0185392685, 0.0102240471, 0.0006352527, 0.0125432359, 0.0531867109, -0.0228283312, -0.0277463924, -0.0232815407, 0.0142308977, 0.0307491608, 0.022359632, -0.0188494418, 0.0037645781, 0.0371251963, 0.0236221347, 0.0688137934, -0.037639156, -0.0021086151, 0.004516358, -0.0479650013, -0.0666455775, -0.005752549, -0.0291851349, 0.0461621433, 0.0012054974, -0.0331198052, -0.0758190677, -0.04523151, 0.0240532532, 0.0439221449, 0.0341315195, -0.0197556373, 0.0278336331, 0.0409248061, -0.0290447865, -0.0298683587, -0.0247698557, 0.0325667895, -0.0433336906, -0.0210355446, -0.0338476934, -6.12262257e-33, -0.024140615, -0.0297129415, -0.0169321913, 0.0087678693, -0.003233949, 0.0187968705, -0.0854965076, -0.0050786864, 0.0106770433, 0.0524646267, -0.0227782167, 0.0000877418, 0.0073953411, -0.0217372775, -0.0395338498, 0.0059742425, 0.0507925749, -0.0113620088, -0.0502221324, 0.0101389186, 0.0014687033, 0.0164796934, -0.0116881672, -0.0694277361, 0.0423594788, -0.0228118375, -0.0461983979, -0.020581007, 0.0446304753, 0.0192771517, -0.015237825, 0.0141506661, 0.0326542817, -0.0257957429, -0.0153548308, 0.0902876928, -0.1057715118, -0.0361926518, 0.062116392, -0.0043243524, -0.0894998088, -0.0127923889, 0.0598827749, -0.0127324108, 0.0022712317, -0.0007758682, 0.059743844, -0.0256192628, 0.0224981252, -0.0521314107, -0.0507184379, 0.0167686604, -0.0406754166, -0.0321575589, -0.0033175559, 0.0478743874, -0.017242495, 0.0272583123, -0.0265523139, 0.0134550612, 0.0092593338, 0.0020072376, 0.0391318277, -0.0395049863, 0.0013235018, -0.0105462261, -0.0178323984, 0.0156967938, -0.0330262631, -0.0365859717, 0.0322048739, -0.0028400305, 0.0800645575, 0.0660759062, 0.0289270412, -0.0020899915, -0.0314314216, 0.0941963419, -0.0101275733, 0.0389747731, -0.0072663869, 0.0155224781, -0.0555535108, 0.0119537795, -0.0556172617, 0.033193782, -0.04323918, -0.0323714018, 0.0222327281, -0.009334947, -0.0662764609, -0.0311794952, 0.0025323492, -0.0294112731, 0.0293991715, 0.006728285, 0.002271849, 0.0295880977, 0.0122470185, -0.0122641306, -0.0014476608, 0.0588986836, 0.008486269, 0.0484005027, 0.0350343585, -0.0208411943, 0.0161661636, 0.0058876621, -0.0295237284, 0.0162915159, 0.0124264555, -0.0104073137, 0.0081345281, -0.0524001308, 0.0172782969, 0.035362564, 0.0061938949, -0.009988457, -0.0111890482, -0.026295688, -0.039993614, 0.0177524555, 0.041400604, 0.009918768, -0.0480433963, -0.0016248116, -0.0188617129, 0.0064178067, 0.0334805064, -0.0297121666, -0.0033408212, 0.0132101122, 2.644e-7, 0.0679932088, 0.0549229868, 0.0548309051, 0.009709348, -0.0156764779, 0.0277345572, 0.0420072526, -0.0175643023, 0.0307211988, 0.0032959045, 0.078463167, -0.0091051655, 0.030806629, -0.0126338704, -0.073222883, -0.0360932238, 0.0118694585, 0.0001598112, -0.0104154134, 0.0103491386, 0.0947400928, -0.0155116571, 0.0136221377, -0.0052367477, -0.0033200318, -0.0281255208, 0.0137785599, -0.0497591011, 0.0376636349, 0.0188292693, 0.0426504575, -0.0239956137, 0.0052261217, 0.014907483, -0.0234919935, -0.0049058693, 0.0621317849, 0.0597179793, -0.0018154308, 0.0326460004, -0.0285902955, -0.0508369356, 0.0264504943, -0.070725657, 0.0690888017, -0.0606312677, 0.015061412, 0.0169914272, -0.0502409711, -0.0212630946, 0.0054950649, 0.0181734767, -0.0454562269, 0.0437556766, 0.008780973, 0.0095834332, -0.0031051554, -0.0639118925, -0.0151694799, 0.01436421, -0.0012873673, -0.0108344126, -0.06495139, 0.016732702, 0.0257041752, -0.0760640055, -0.0076180073, 1.907979434e-34, 0.0320591517, -0.0315961242, 0.0056624017, -0.0232017823, 0.0400122739, -0.0056124208, -0.0176973306, -0.0013225044, 0.0190454777, -0.0592734031, 0.0028350577 ]
http://arxiv.org/abs/2312.09818v3
http://arxiv.org/pdf/2312.09818v3
SMILE: Multimodal Dataset for Understanding Laughter in Video with Language Models
2023-12-15T14:17:45
2024-05-24T09:45:09
Lee Hyun, Kim Sung-Bin, Seungju Han, Youngjae Yu, Tae-Hyun Oh
cs.CL
cs.CL, cs.AI
Despite the recent advances of the artificial intelligence, building social intelligence remains a challenge. Among social signals, laughter is one of the distinctive expressions that occurs during social interactions between humans. In this work, we tackle a new challenge for machines to understand the rationale behind laughter in video, Video Laugh Reasoning. We introduce this new task to explain why people laugh in a particular video and a dataset for this task. Our proposed dataset, SMILE, comprises video clips and language descriptions of why people laugh. We propose a baseline by leveraging the reasoning capacity of large language models (LLMs) with textual video representation. Experiments show that our baseline can generate plausible explanations for laughter. We further investigate the scalability of our baseline by probing other video understanding tasks and in-the-wild videos. We release our dataset, code, and model checkpoints on https://github.com/postech-ami/SMILE-Dataset.
[ 0.0307148602, 0.0950695723, -0.0040261187, 0.0617806166, 0.01283966, 0.045424439, 0.0290085413, 0.0412933081, 0.0471934415, -0.0438937396, -0.0196818151, -0.0241516232, -0.0223759636, 0.064808391, 0.0593035333, -0.073359713, -0.0042381668, -0.0016660397, 0.0170529224, -0.017645454, 0.0620934479, 0.0379950851, -0.0122007895, 0.0492957272, -0.0462393835, -0.0093150493, -0.0095529296, 0.0413842499, 0.0298044961, -0.0206670165, 0.0018551127, -0.0097787557, 0.0709226504, -0.015300042, 0.0000015206, -0.0225267932, 0.0282266885, -0.0275018979, -0.0226701517, 0.0040509198, 0.0350675657, -0.0328169726, -0.0295034423, 0.0171587728, -0.0413961336, 0.0432362743, 0.0597139895, 0.0029957986, 0.0548628122, 0.0634157285, -0.0290318336, -0.0509250574, -0.0202473719, -0.0352375172, 0.0560235493, -0.0439243093, 0.0084847705, 0.0446327031, 0.0241722632, -0.05403262, -0.0832035914, 0.0179877318, 0.0006414565, -0.0356532298, -0.0036851235, 0.0089541953, -0.058294896, -0.0445103757, 0.0094973007, 0.0832014307, 0.0023537392, 0.0214703977, 0.001696322, 0.0231013391, -0.0020846953, 0.0079357866, -0.0500780828, 0.0292550754, 0.0181778111, 0.0237602852, -0.0223092735, 0.0101687647, 0.0330379196, 0.0249038935, 0.0224074703, 0.0405907631, -0.0052457019, 0.0626165718, -0.0176311061, -0.0092852544, -0.038723167, -0.0292620454, 0.0055506425, 0.050447166, 0.026260687, 0.0190341175, -0.0041842316, 0.0404299535, -0.0190663692, -0.0303949434, 0.0126788542, 0.0004557064, -0.0431642309, 0.0853387788, -0.0205597822, 0.0271769166, -0.0396213345, -0.0163695458, 0.0055683912, -0.0309253801, -0.0606319197, 0.004185277, 0.011297673, -0.0225321837, -0.00144885, -0.0223381203, -0.0224447697, 0.0334793739, -0.0190363992, -0.0000662976, -0.0023826307, 0.0427917503, 0.0086310273, -0.0457290411, -0.0018526069, 0.0480511822, -0.0492686331, 0.0433932915, -0.0199064016, -0.077096656, -0.0174588431, 0.0418895409, 0.0309639666, -0.0216596927, 0.0567031913, 0.0418548547, 0.0135140531, -0.0446806699, -0.0043179612, -0.0015817233, -0.0629458278, -0.0493562818, 0.0079893237, -0.0309116151, 0.0559205338, -0.0028666656, -0.0126957353, -0.0312476512, 0.0157243162, -0.0413458757, -0.0405443199, 0.061076656, -0.0192066953, 0.0193631817, -0.0030526961, 0.0075816414, 0.0074589895, 0.0419614613, 0.0269700326, 0.0171712916, 0.0565659627, -0.0089040948, 0.0379481651, 0.0160224698, -0.0099018104, 0.0114922151, -0.0421911143, -0.0112718446, -0.0287882816, 0.035085015, 0.0416907668, 0.0141017027, -0.0313422792, -0.029009968, 0.0313106515, 0.064083755, -0.0372351222, -0.0121720685, 0.0240799878, -0.0161969569, -0.0130244903, -0.0337214246, 0.0071328762, 0.0860165581, -0.0307940133, -0.0090351142, -0.0051936945, 0.0125977658, -0.0687456354, -0.0206516031, -0.0348181054, -0.0369987488, 0.0098900208, 0.0097507704, 0.0505655706, 0.0023373174, -0.0380949378, 0.0186664425, 0.0007822039, -0.0574669316, 0.0098278513, -0.0395445302, 0.0421505086, 0.0483659655, 0.0154904304, -0.022373613, -0.032629177, 0.0191012565, 0.0428185202, -0.0086830109, -0.0163167827, -0.0387173928, 0.0668734387, -0.0730520189, 0.0172356814, -0.0329576433, 0.0121689541, 0.016384108, 0.000949372, 0.0058001066, -0.0309866518, -0.0003551226, 0.032166034, 0.0346460342, -0.0497478396, -0.0029355322, -0.0160171166, 0.0163313374, 0.0200880375, -0.0062401984, 0.0075240745, -0.0428703092, 0.0119489245, -0.0196437407, 0.0183585268, 0.0882336199, -0.0001489925, -0.0631895661, 0.0437066592, -0.0547063574, -0.0139433183, 0.0497849882, -0.0553306118, -0.0199158918, 0.0532300659, -0.0384221189, -0.00769724, -0.0670598298, -0.0125337495, 0.0112934876, 0.0339283422, 0.0234531071, 0.0279776566, 0.0038238994, -0.0149749862, -0.0098004201, 0.0328312889, 0.0223459862, -0.0150719089, -0.0562056825, 0.0251614079, -0.0077687181, 0.0046088295, 0.0102283005, -0.012239839, -0.0495855212, -0.0412786379, -0.0672045127, -0.0072792019, 0.0018845754, -0.0283485427, -0.011403935, -0.0218837801, -0.000923367, -0.0358868651, -0.0129357344, 0.0782615766, 0.0191423818, 0.0037591688, 0.0139550567, -0.0050039911, -0.0185524635, -0.0426125452, -0.0203729514, -0.0036636651, 0.0516643338, 0.025780499, 0.0199673008, -0.011234859, -0.0090931701, -0.0580559149, 0.05892713, -0.0440459885, -0.0566159412, 0.0149551397, -0.0154405264, -0.0175052155, 0.0847813264, 0.0092356438, 0.0577192344, 0.0185008701, -0.0042275963, -0.0188964251, -0.0073580486, -0.0056397473, 0.0140454406, -0.0531335361, -0.0486268736, -0.0580335259, 0.0097110309, -0.0256395843, 0.0244101547, -0.0785721838, 0.0152265057, 0.0573008321, 0.0067652855, -0.0328103788, -0.0523955859, -0.010273545, 0.0138840992, -0.017886024, -0.059552148, 0.0540425666, -0.0168219898, -0.0667191297, 0.0231668446, 0.0008147055, -0.0322560593, 0.1182882115, -0.0182654653, 0.0089745903, -0.0447708592, 0.0047981772, -0.0363875851, -0.0245883577, 0.0104923332, -0.0052193855, 0.0451179594, -0.0359053314, -0.012714698, 0.0088620549, -0.0138836075, -0.0402672514, -0.0346653834, -0.0700548589, -0.030177718, -0.0617096834, -0.0228143428, -0.0100691384, 0.0042427969, 0.0222528838, -0.0520741716, -0.0129444543, 0.0295240562, 0.000536988, -0.0033220092, 0.0689622387, 0.0208285749, -0.0218272805, -0.0373893008, 0.031122772, 0.0340303332, 0.0385852605, 0.0007293494, -0.0433517322, 0.0709244385, 0.0100007989, 0.0698968321, -0.0129289581, -0.0031894606, 0.0680802315, 0.0007433671, 0.0059562507, 0.0846325085, -0.0210060924, -0.0394758843, -0.0020379373, -0.0067732795, -0.0089233052, 0.0424854718, 0.0224387329, -0.0399773978, -0.0480994619, 0.0174108334, -0.0103245033, 0.0409893654, 0.0001344985, -0.0431785546, -0.094758369, 0.0555796027, 0.0117866313, 0.012207563, -0.0247638877, 0.0209369529, 0.0099506835, -0.0354723558, -0.0263132304, -0.0073143998, 0.0248889364, 0.0075016371, 0.0272398703, 0.0190302934, -0.0534172915, 0.0795572549, -0.0414215028, 0.0925277472, 0.0173736252, 0.0528921038, -0.0023102418, -0.077925317, -0.0078250747, -0.0161408558, 0.0086230412, 0.0223905649, 0.0802604556, -0.006202389, -0.0238975007, -0.0022755184, 0.0439399071, -0.0321164988, -0.0113327838, -0.0216206331, 0.0639514774, -0.0406341404, -0.0199937243, -0.0269606132, 0.0368936248, -0.0327091813, 0.077349484, 0.0053332592, -0.0304216165, -0.0060922052, 0.0029061902, -0.0472663417, -0.0322819725, -0.0267075412, 0.0045415796, 0.0272961929, -0.024198696, -0.0677727461, 0.0158492271, 0.0455818363, 0.045773603, -0.0359262712, -0.0479917042, -0.0292848423, 0.0247870721, -0.0398170799, 0.0635727346, 0.0203743111, 0.0061266297, -0.035728693, 0.0100041116, 0.0198380984, -0.0502677523, -0.0052583073, 0.0055940109, -0.0631139353, -0.0540199354, -0.0110110249, 0.0547549613, 0.0260551646, 0.0572435409, 0.0183260813, -0.0460153148, -0.0283830296, -0.0010673506, 0.0010957516, 0.0310414582, 0.0286864862, -0.0293429457, -0.011662269, 0.0429192893, -0.0155016929, 0.0216034297, -0.0115370126, -0.0225182064, -0.031784866, -0.0281255729, -0.0181093775, -0.025435729, 0.017388016, -0.0079708798, -0.0638354942, -0.0306860711, -0.0096840644, 0.0023788768, 0.0308924634, -0.0821844935, 0.0147654628, 0.0233045127, -0.0122705307, -0.0385025553, -0.0870166644, -0.0163773336, 0.004742309, 0.0028614174, 0.0150518958, 0.0079152379, -0.0161628202, 0.0030542144, 0.0474759936, 0.0137873208, 0.0076445965, -0.0303062946, 0.0013782094, 0.0148005215, 0.0555943474, 0.009301235, -0.0142729254, 0.0409865305, 0.026173681, -0.0007969807, -0.0249136072, 0.0047820099, -0.0049868412, 0.0328768976, -0.0387650952, 0.0281559546, -0.025359014, 0.0198598634, -0.0193057954, 0.0518785864, -0.0200867038, -0.1147311851, 0.0406069048, 0.011954871, -0.0161787402, -0.0183945782, 0.0590565689, -0.0361789204, 0.0303143933, -0.0078107668, 0.0107391933, -0.0082893437, -0.0021114277, 0.0572406314, 0.0059750974, 0.0007148935, 0.0264958143, -0.0169201884, -0.0912200511, -0.027758427, -0.0211836193, -0.0063635479, 0.012490686, 0.0216647498, 0.0376519151, -0.0118387723, 0.0391759947, -0.0252587143, -0.0106798662, -0.0664958432, 0.0116221206, -0.0111165456, -5.129016869e-33, 0.0150899561, -0.0063514342, -0.0164931752, 0.0077265627, -0.0007260457, 0.0377026908, -0.0699896887, 0.005023893, -0.0320011862, 0.0316323154, 0.0217411574, 0.0614839382, -0.0164857022, 0.0101886317, 0.0168507472, -0.0423645787, -0.0017542501, -0.0228503738, 0.0018984209, 0.0123343635, 0.0459428914, 0.0161712542, 0.0746639222, -0.0821183175, -0.0191482343, 0.0063600438, -0.0741899982, 0.0308240987, 0.026855452, 0.0479810238, 0.002725621, -0.0011812284, 0.016170999, -0.0039602257, -0.0078750029, 0.0002883187, -0.0124016218, 0.0079501383, 0.0073727155, 0.0056451703, -0.1009960026, -0.000270248, 0.0368624367, -0.0159291383, -0.0219338331, -0.0171031673, 0.0360336602, -0.0343665108, 0.0625051707, 0.012855486, 0.0050315978, 0.014720927, -0.0329404101, -0.0539009608, 0.0355634093, 0.0420289189, 0.0173292849, -0.0150248324, 0.0101944376, 0.0504906513, -0.0938474014, -0.0040680808, 0.0547160767, -0.0374276042, 0.0192138758, 0.0848194957, 0.0221697316, -0.0284307245, -0.0193864498, -0.0109016327, 0.0075340113, 0.0995950103, 0.0623220988, 0.0472533442, -0.0015233249, -0.0281440467, -0.0287848972, 0.0384796038, 0.0071670231, 0.0330761857, 0.0453287959, 0.0289636198, 0.0149854319, 0.0176319648, 0.0187923815, 0.0223290492, -0.0170684233, -0.0328159556, -0.0021458142, -0.005961827, 0.001733158, 0.0051152795, 0.0499844886, -0.0458249152, 0.0221542977, 0.072490558, -0.0359403193, 0.048547104, 0.0460284017, 0.0335928798, -0.0175605752, -0.0028560932, 0.0473067835, 0.0153659806, 0.0353760943, 0.0166238025, 0.0079293624, 0.0536537431, 0.0051528485, -0.0096329125, -0.044118505, 0.0249849372, -0.0179568473, 0.0499187633, -0.029419912, 0.0600705855, -0.0557730235, -0.0282604881, -0.0132674687, 0.0068507683, -0.0300457347, -0.0189183746, -0.0066274963, 0.0266684517, -0.0582651384, -0.0094872871, -0.0395975225, -0.1030480787, 0.0174817797, -0.0332474671, -0.0026529662, 0.014937032, 2.322e-7, 0.0148464749, 0.0388923474, 0.0379073918, 0.0132587058, 0.0515484102, 0.0479669459, -0.0254284535, 0.0277692061, 0.0333125181, -0.0340758674, 0.0186713561, 0.0297950655, 0.0410562605, 0.001573244, -0.0295864586, 0.0101887975, -0.0369249396, -0.0232189149, 0.0004856929, -0.0061706179, 0.0193475578, 0.0798306167, 0.0492266677, -0.0165078249, 0.0505859405, -0.0408889726, 0.0481495075, -0.0312677361, 0.0156239728, -0.009337781, 0.0024552995, -0.0364648215, -0.0083921542, 0.0028695012, -0.0010680177, -0.0674146712, 0.0032283729, 0.0516846441, -0.036911726, -0.0592902154, -0.0215541702, 0.0274512768, -0.0222255476, -0.0337881222, 0.046544645, 0.0491352268, -0.0414941162, -0.0082028909, 0.0093312291, -0.0267088134, -0.0167065803, 0.0124404877, 0.00315477, 0.0333564579, 0.0291575138, -0.0367462486, -0.0194531847, -0.1206581518, -0.0238064136, -0.0182026364, -0.0880197287, 0.0139417518, 0.0115479724, -0.0039358246, 0.06078225, -0.0637877062, -0.0495997593, 1.516456015e-34, 0.0102905929, 0.0192809422, 0.0044050096, -0.0176833384, 0.0341948457, -0.0168193541, -0.0406306274, -0.004503075, 0.0650399849, -0.0298635885, -0.0407829806 ]
http://arxiv.org/abs/2312.09806v1
http://arxiv.org/pdf/2312.09806v1
Improving Biomedical Entity Linking with Retrieval-enhanced Learning
2023-12-15T14:04:23
2023-12-15T14:04:23
Zhenxi Lin, Ziheng Zhang, Xian Wu, Yefeng Zheng
cs.CL
cs.CL, cs.AI, cs.LG
Biomedical entity linking (BioEL) has achieved remarkable progress with the help of pre-trained language models. However, existing BioEL methods usually struggle to handle rare and difficult entities due to long-tailed distribution. To address this limitation, we introduce a new scheme $k$NN-BioEL, which provides a BioEL model with the ability to reference similar instances from the entire training corpus as clues for prediction, thus improving the generalization capabilities. Moreover, we design a contrastive learning objective with dynamic hard negative sampling (DHNS) that improves the quality of the retrieved neighbors during inference. Extensive experimental results show that $k$NN-BioEL outperforms state-of-the-art baselines on several datasets.
[ 0.0243987646, 0.0607333034, -0.0019749762, -0.0620642193, -0.0115452986, 0.0119946916, -0.0340037756, 0.0204368345, -0.0001554933, -0.0159753449, -0.0257681906, -0.0327890031, 0.0062546148, -0.0065297624, 0.0579581894, -0.0329369865, 0.0283908881, 0.0419392288, 0.0071176589, -0.0136310747, -0.0312963836, 0.006728902, -0.0022002854, -0.0070373523, 0.0251512658, 0.0209063422, 0.0237449668, 0.0148272989, 0.042191945, -0.0792679116, -0.0171428528, 0.0186010245, -0.0175288115, 0.0136585161, 0.0000016356, -0.0769128129, -0.0327468105, 0.0418251902, -0.0545936711, -0.0317632519, 0.0376302563, -0.0430618823, 0.0308980849, -0.0085331611, -0.0045507238, -0.0595977902, 0.0394953415, 0.0568384677, 0.0234376043, 0.0285896994, 0.0178480763, -0.0181378238, 0.0234687924, -0.0415726192, -0.0016553451, -0.0056148507, 0.0683739036, -0.0481502414, 0.0495704152, 0.0113759227, 0.0002453813, 0.0535142757, -0.0100865969, 0.058045309, 0.0052597728, 0.0634496659, -0.0376305431, 0.0202181842, 0.0423943251, 0.1003021747, -0.0106712412, -0.0472796001, 0.0267469194, 0.0120839626, -0.0169425495, 0.0400810502, -0.0457734019, -0.0113951284, -0.0263901018, 0.0107323937, 0.0033499505, 0.015419811, 0.0718262792, 0.0076474184, 0.00379299, -0.0153754381, 0.0148165859, -0.027449742, 0.0243590213, 0.0116947163, -0.0122599397, 0.0213289689, 0.0490841307, -0.005037575, -0.0211541131, 0.0244292822, 0.0222535413, -0.0333405733, 0.0669471323, -0.0323545076, -0.0363688134, -0.0166043732, -0.0385545082, 0.0247291643, -0.0629691109, -0.0725306123, -0.0373897776, 0.0113995122, 0.0112913651, -0.0410070159, -0.0261446219, 0.0008322418, -0.0273529608, 0.0481900387, -0.0020471346, 0.0264914669, -0.0496906675, -0.0414167643, -0.0320216641, 0.0001154508, 0.0056094965, 0.018691143, -0.0456911996, -0.0052509271, -0.0108100856, 0.0150958709, -0.0196531173, -0.0110657578, -0.0633920133, -0.0374853387, -0.0207797606, -0.0202255137, 0.0135393506, -0.0441569611, 0.0293710679, 0.0797846988, 0.0581764393, -0.0212137345, -0.0351174325, -0.0305551905, 0.0034408714, -0.022105772, -0.0212536938, -0.0578527749, 0.0121642472, 0.002446166, -0.015464603, -0.0722049996, 0.0124988006, 0.0176347941, -0.0681292489, 0.0882944614, -0.0404732898, -0.0546109937, 0.0058778371, 0.0033432124, 0.0272652078, 0.0093376953, -0.0013598633, -0.070665732, 0.0215126369, 0.065454714, -0.0159351826, -0.0099668363, 0.0981861576, -0.0610764883, -0.0111115668, -0.0001439643, -0.0072601023, 0.0798359737, 0.0243580211, 0.0576289445, -0.018483758, -0.0785827637, -0.0033287168, 0.0256856363, 0.0326513611, -0.0199914128, 0.0249869842, -0.0054558557, -0.0263676383, -0.0409062319, -0.0178728011, 0.0105668223, -0.0297908951, 0.0375205688, -0.0067894538, 0.0258676149, -0.0310973208, 0.0144121917, 0.005865375, -0.0223883819, -0.0193008911, 0.0124751907, 0.0762443393, 0.0218936857, -0.0298790671, 0.0683782101, 0.0750360191, -0.007670071, 0.0143953413, -0.015396012, -0.0056776418, 0.0065096496, 0.0404637977, -0.0354327746, -0.0386686362, -0.0442950279, -0.0190507434, 0.0047631231, -0.0267415773, -0.0310828909, 0.0340793356, -0.0087496834, 0.0007840266, 0.0485262573, 0.0167447086, -0.001597587, 0.0160256606, 0.0533687919, 0.0316257812, -0.070480153, 0.0130333249, 0.0438143872, -0.0672430992, -0.0034336627, -0.0083185947, 0.0133203454, 0.0020299249, 0.0343137085, -0.0057793688, 0.0162964147, 0.0546836294, -0.0414381437, -0.019538831, -0.0325749889, -0.0104335761, -0.0628556311, 0.0313273929, -0.0248634256, 0.0351196676, 0.0092855487, -0.0233367682, -0.0409793071, 0.0354582779, 0.0019912787, 0.0483661108, -0.0029966489, -0.0039345459, 0.0185477659, 0.0129593508, -0.0610966384, 0.0405815654, -0.0297306273, 0.0473280735, 0.0024826541, -0.0100548165, 0.0120145874, -0.0692982897, -0.0624997839, -0.0060217804, 0.0257085953, -0.035902407, -0.0113042379, -0.0291586537, -0.0690583438, 0.0183658637, -0.0300871581, 0.0257459413, 0.0119541502, 0.0110946298, -0.0025814546, 0.0126434518, 0.0017385401, -0.0384045169, -0.0069633117, -0.0494496897, -0.0152581753, 0.0050200643, 0.0335751586, 0.0487756915, 0.0116783576, -0.048459895, -0.0351352133, -0.0170628149, 0.0422374606, -0.0286589991, -0.0568239279, -0.0032380214, 0.0382089689, -0.0422704816, 0.0063271504, -0.0097280676, 0.0245714206, -0.0056727459, 0.0078355391, 0.0039146636, 0.0462824777, -0.0254887324, -0.0292805769, 0.0046150098, 0.0127091538, -0.0537105389, -0.0052831904, -0.0463903286, 0.018124273, 0.0285246223, -0.0239315424, -0.028220972, 0.0330466367, -0.020287551, -0.0321223289, -0.0140098454, 0.0090349903, 0.0157787185, 0.0231181532, -0.000441101, 0.0579676852, -0.0306617673, 0.0001860941, -0.0069566537, -0.0466990434, 0.0824349746, 0.0000570314, 0.0142880017, -0.0064848047, -0.0007423663, -0.0014070889, 0.0300368052, 0.0066125505, 0.0046162135, 0.0429606251, -0.0202520695, -0.0235654376, 0.0339537263, 0.001774294, -0.0355612375, 0.0269105341, -0.0060585323, 0.0449607, 0.034422107, -0.0364733413, -0.0405465178, 0.00849103, -0.023290867, 0.0216682199, -0.0256513096, 0.0071245432, -0.0264296941, 0.0396465063, 0.0159966275, 0.0298271775, 0.0304031204, -0.0287920516, 0.0004908385, 0.0098943366, 0.0506876558, -0.0424200557, 0.0561490357, 0.015278386, -0.0203507654, 0.0461047478, 0.0558628961, -0.0015736767, 0.0329725668, -0.0301411822, 0.0167656541, -0.0473760515, -0.0260596145, 0.0226815697, -0.0080384398, -0.0356009565, -0.0191559009, 0.1008113548, 0.0297831818, -0.0599425696, 0.0180185102, 0.008086835, 0.0112619894, 0.0000986887, 0.0367782898, -0.0558301397, -0.019438602, -0.021963153, 0.0184083022, -0.0116823744, -0.0954449326, 0.0186879206, -0.1121205986, -0.0163199808, 0.0000122146, -0.0351853743, -0.0170078073, -0.0672254786, 0.0344601609, -0.0538460054, -0.0053390018, 0.0212622918, 0.0030443333, 0.0350389034, 0.0205598548, -0.0061984253, -0.0874074399, 0.0180498157, -0.092072241, 0.0605723225, 0.0470021218, 0.0226870961, -0.0072548836, -0.0015407056, 0.0011691577, -0.0747521371, -0.0358594544, -0.0287423637, 0.0842399895, -0.0216816422, -0.0063905749, -0.0549911559, 0.0257665962, -0.0460058451, -0.0204934012, -0.0598290376, 0.0618969388, 0.0055182641, 0.028733626, -0.0397367962, -0.0136083337, 0.0204716437, 0.0604520626, -0.0352033265, -0.0164326597, 0.0082879215, 0.0400986224, 0.0706465319, 0.0136326253, 0.0011432988, 0.0074202162, -0.0991959348, 0.0036637762, -0.0737465322, -0.0287318844, 0.0170686077, 0.0793650821, 0.0000350429, 0.0676471666, 0.0194849577, -0.0182816815, -0.0707389042, 0.0639589652, 0.0016664715, 0.0189151708, -0.0407071263, -0.0716356859, 0.1046253741, 0.0051325755, -0.0401716046, 0.0169271789, -0.0167887416, -0.0235607065, -0.0244711824, 0.0288752746, 0.0172481611, 0.0358217508, 0.0137399063, -0.0265903901, 0.0368311852, 0.0685835555, -0.0169655029, -0.0148448106, -0.0031454463, -0.0237265825, -0.005175746, 0.0504888259, -0.0328779295, 0.0090879714, 0.0302428231, 0.0666643083, -0.056226261, -0.0266364776, 0.0160039272, 0.0233939718, 0.0824039057, -0.0233212393, 0.010055026, -0.0325608961, 0.0020047431, 0.0106880879, 0.0214361362, -0.0254420415, 0.0213402417, 0.0425741933, 0.0298225079, -0.0436348766, 0.0167662576, -0.0172316413, 0.0190288648, -0.0199285205, -0.0125439335, 0.0120128309, 0.0066918898, 0.0227136277, -0.0109941671, 0.0127593912, 0.0084638502, 0.0370282531, 0.0579234511, -0.0442269929, -0.0062214774, 0.0190866049, 0.0474151224, -0.037767116, 0.0041578086, -0.0332135148, 0.0221962389, -0.0204176418, -0.0009025557, 0.0322701558, -0.0057299268, 0.0523500554, 0.0207484104, -0.0183249693, -0.0087395431, 0.0157347471, -0.0438418016, 0.0068561183, 0.0431403406, 0.0075275833, -0.0167804379, 0.0302295014, 0.068266429, -0.004325245, 0.0840405524, -0.0309508629, -0.0331482515, -0.0105491541, -0.0071397424, 0.01286049, 0.0201834757, -0.0118977726, 0.003037225, -0.0522761233, -0.0702491105, 0.0839871839, -0.0205604956, -0.0350222476, 0.0106365643, 0.0752187446, -0.0012551136, 0.0352426991, -0.0328836925, 0.0075966828, 0.0163273271, 0.0050801327, -0.0536515228, -0.0127211241, -5.686475595e-33, -0.0272760745, -0.0105920592, -0.0037586694, -0.0466316752, -0.0219381191, 0.0098976707, -0.0070869136, -0.0334448777, -0.0364509672, 0.0079677114, -0.0047043157, 0.0059520686, -0.0073416973, 0.0368119702, -0.0291986037, -0.0334940739, 0.0246776957, 0.0312663317, 0.015071624, -0.0010037024, 0.0269093812, 0.0945319086, 0.0701220036, -0.097600773, 0.011255689, 0.0078757973, 0.0415148102, 0.0297187828, 0.0261221584, 0.0340871252, -0.0073552942, 0.0201575924, 0.0014582708, -0.0248372424, -0.0151334284, -0.0516573116, -0.1473425031, -0.0137566468, 0.0006507374, -0.0072964346, 0.0092866374, -0.0042485651, 0.0668138117, -0.0165376589, 0.0067844992, 0.0059865145, 0.0235566944, -0.0299279746, -0.0696969107, -0.0566383488, -0.017200293, 0.0569590069, 0.0339393467, 0.0385930538, 0.0002375648, -0.0492773913, -0.0248973668, 0.0498914868, -0.037588276, -0.0444329157, 0.0171211809, 0.0074117305, -0.0029343641, -0.0051103379, 0.0374241546, 0.049113512, 0.0407591313, -0.0479220077, 0.0044948203, 0.0061503723, -0.0027402274, -0.0233840868, 0.0058255177, 0.0778977349, 0.0360582992, -0.0078903325, -0.1063036397, 0.0424506627, -0.0256785657, 0.0379757062, -0.0239102673, 0.0071281651, -0.0162639823, -0.0170611814, -0.033969298, -0.0092871506, 0.0092642186, -0.0451421253, 0.0007728032, 0.002572713, -0.028106967, 0.0699805394, 0.0068264338, -0.0320471041, -0.0426666774, 0.0199987479, 0.0387416147, -0.0041899155, -0.0063171247, -0.0063057728, -0.0730607808, -0.0055469838, 0.0184718985, -0.0150691178, 0.0167968627, -0.0062505854, 0.0419902094, -0.0306039564, -0.0662474185, -0.0081791077, 0.0177610945, -0.0183077604, 0.0015974351, 0.0104526058, 0.0376456119, 0.0253699478, 0.034389697, 0.0353158861, 0.0760355964, -0.0123444321, -0.019538302, 0.0324743167, 0.0283439569, -0.0038353172, -0.0314341299, -0.0107980072, -0.0070171827, 0.0588292852, 0.0201294422, -0.0988491327, -0.0146498745, 0.0041065412, 2.507e-7, 0.0897365883, -0.0100075137, 0.0207883772, -0.0077554453, 0.0008844099, -0.015452168, 0.0366519019, 0.0159055851, -0.0177961104, 0.0083581405, 0.0126349563, -0.0175815281, -0.0182969831, 0.0179551598, -0.0793986693, -0.0173507389, -0.0534686707, -0.0186946988, -0.0001648307, -0.0336334221, 0.0164571591, 0.0843283236, 0.0169849452, -0.0202074591, 0.0153349694, -0.0476387478, 0.0675710514, -0.025470743, 0.0055369292, 0.0203961041, -0.0082677668, 0.0160215814, -0.005702131, 0.0354835466, -0.0019689321, 0.0210401528, 0.0156642757, 0.0250120033, -0.0115825003, -0.0327615254, 0.0348481126, -0.0221341103, 0.0165611152, 0.0295527242, 0.051680021, -0.0697054565, -0.0244474616, 0.0193954539, -0.0285228305, 0.0139872003, 0.0211633109, -0.0138196219, -0.0084130075, 0.0462803766, 0.0210376009, 0.0329568498, -0.0190828219, -0.0953146219, 0.0072974283, 0.0816348642, -0.0096594458, -0.0223224089, 0.0360372514, -0.0337877609, -0.0001631791, -0.0663293004, 0.0064678234, 2.056795297e-34, 0.0202515144, 0.0122291278, -0.036008779, 0.0395840593, 0.012221803, -0.0310513377, -0.0127946781, -0.0018140861, 0.0131569412, -0.0332581513, -0.0076318542 ]
http://arxiv.org/abs/2312.09801v2
http://arxiv.org/pdf/2312.09801v2
ProCoT: Stimulating Critical Thinking and Writing of Students through Engagement with Large Language Models (LLMs)
2023-12-15T14:01:46
2024-05-01T08:45:38
Tosin Adewumi, Lama Alkhaled, Claudia Buck, Sergio Hernandez, Saga Brilioth, Mkpe Kekung, Yelvin Ragimov, Elisa Barney
cs.CL
cs.CL
We introduce a novel writing method called Probing Chain-of-Thought (ProCoT), which potentially prevents students from cheating using a Large Language Model (LLM), such as ChatGPT, while enhancing their active learning. LLMs have disrupted education and many other fields. For fear of students cheating, many have resorted to banning their use. These LLMs are also known for hallucinations. We conduct studies with ProCoT in two different courses with 65 students. The students in each course were asked to prompt an LLM of their choice with one question from a set of four and required to affirm or refute statements in the LLM output by using peer-reviewed references. The results show two things: (1) ProCoT stimulates creative/critical thinking and writing of students through engagement with LLMs when we compare the LLM-only output to ProCoT output and (2) ProCoT can prevent cheating because of clear limitations in existing LLMs, particularly ChatGPT, when we compare students' ProCoT output to LLM ProCoT output. We also discover that most students prefer to give answers in fewer words than LLMs, which are typically verbose. The average word counts for students in the first course, ChatGPT (v3.5), and Phind (v8) are 208, 391 and 383, respectively.
[ 0.0475824811, -0.051891312, -0.0297344327, 0.011984068, -0.1014255509, -0.0099847075, 0.0089839594, -0.0101815676, 0.0289348587, -0.059753824, -0.0071642925, -0.0146912783, -0.024226781, 0.0205105394, 0.0304215476, -0.0081250286, 0.0349625908, -0.0330378413, 0.0290632863, -0.0006030229, 0.0289480183, 0.0122686941, -0.0214210227, 0.0217871163, 0.0099990685, -0.0238295533, -0.0146846017, -0.0164750144, 0.0104397768, -0.0142351938, -0.0002796237, 0.0669270977, 0.0023220435, 0.0613588057, 0.0000024921, -0.0461478941, -0.0241752341, -0.0166629739, -0.0067330291, 0.0393875167, -0.0107943416, 0.1085976735, 0.0165743679, 0.0368559398, -0.0480317064, 0.0282719545, 0.0228721034, 0.0402325839, 0.0403011963, 0.0239153504, 0.0232342072, -0.0056533478, 0.0225601755, 0.0148537625, 0.0576844998, 0.0313438326, 0.0296914894, 0.0517824478, 0.0354661159, 0.0615872517, -0.0249271356, 0.0132972402, -0.0027466833, -0.0689596906, 0.0120890606, -0.0010098325, -0.0573303811, -0.0217235573, 0.0338949896, -0.0056648282, -0.0005167816, -0.0349853635, -0.023660047, 0.0027697315, 0.0176185127, 0.058137469, -0.0728717893, 0.0479299277, -0.0327360891, -0.007061753, 0.0131120952, -0.0133508937, 0.0008783123, 0.023324905, 0.0582691953, -0.0315027758, -0.0083626378, -0.0352575891, 0.0017536951, 0.0294587035, 0.0250167083, -0.0224592835, -0.0254598819, 0.042646084, -0.0279541146, 0.0058677769, 0.032511767, -0.0001115039, 0.0235349014, -0.0108972834, 0.0145332348, 0.05541059, 0.027587872, 0.0122049665, -0.0112914275, -0.0009953432, -0.00559159, 0.0699729174, -0.0226498339, 0.0525649525, -0.0446481332, -0.0551880412, -0.0183043536, 0.0453651808, 0.0231061839, -0.0088369856, -0.0317402631, -0.0201293416, -0.0202700458, 0.0178112779, -0.0805140957, -0.0019636017, 0.026392946, 0.0189912003, -0.0159163028, 0.0763177797, 0.0332697257, -0.0078821322, -0.0095758447, -0.0044859727, 0.0003450674, 0.0073474539, -0.0240856297, 0.0124623599, 0.0169556104, 0.0380065888, -0.0328172036, -0.0185808223, -0.011748312, -0.0446467586, 0.0090966653, -0.0507555008, 0.0369988233, -0.0763769448, -0.056564983, 0.0151927648, -0.006595368, -0.0076739239, 0.0300471634, 0.0337894708, 0.0111147445, 0.0134391012, -0.0302064903, -0.0046000457, 0.0587584451, 0.0400535092, 0.0034192491, 0.0154966312, 0.0265628863, -0.0138161732, -0.0032849282, -0.0314657353, 0.0649277046, -0.0013717011, -0.0156331658, -0.0056054974, 0.0175977051, -0.0254985262, 0.0468684398, 0.0169917028, -0.0810849145, 0.0280860681, 0.0028913799, 0.0867511854, 0.0841545463, 0.0306097511, -0.0218348261, 0.0054585407, -0.0171594005, -0.0120564299, 0.0450805537, 0.0425522774, 0.0049457154, 0.0629602671, -0.0096528074, 0.0132088317, 0.0164827071, -0.0053527383, 0.0002075691, -0.0575120077, -0.0452866666, 0.0479127169, -0.0242399108, 0.0448152386, -0.0116293775, -0.017114453, -0.0025101609, 0.0093573248, 0.0178632159, -0.0533924401, 0.0142413089, -0.0432668366, 0.065683648, 0.0720040649, 0.0546093956, -0.0168019924, 0.0072076907, -0.0621647574, 0.0523197539, 0.0984090939, 0.0087684607, 0.0140508981, -0.076165989, -0.0183735434, -0.0052009211, -0.050967738, -0.0035167346, -0.0388812982, -0.0215722006, 0.004174666, -0.0199104045, 0.0197001044, -0.0535391793, 0.0212893859, -0.0422483757, -0.0221986882, -0.0560583882, -0.0022342994, -0.0189472549, 0.0100796688, -0.0274604615, 0.0338987671, 0.0066205407, -0.0197281968, -0.0450191721, -0.0168689787, -0.0253201611, 0.0327836536, 0.0379223563, -0.0954491794, 0.0071367486, -0.0326769911, 0.007669399, -0.0035277156, -0.0067707421, -0.0390725508, 0.0216239281, -0.0045601381, 0.0097807022, -0.0678598434, -0.0221416447, -0.0530047566, 0.002747573, 0.0091848196, 0.0782195628, 0.0251705088, -0.0204657763, 0.0224064589, 0.0359422117, -0.0319492742, 0.0529724397, 0.0123529462, 0.0226442832, 0.0254388098, 0.0145838326, -0.0744928345, -0.0463299491, -0.0001885534, -0.0118630715, 0.0037169878, 0.0010076938, 0.0286727995, -0.0671694577, -0.0287348554, 0.0437734127, -0.0300811678, 0.0096295094, 0.0199869182, 0.0037626512, 0.0141177932, -0.0279347617, -0.0104937162, 0.0030354557, 0.0053415811, -0.0326593034, 0.0256226715, 0.0548321642, -0.0170727242, -0.0299148541, 0.035315536, -0.0228039622, -0.0670460016, -0.0025474401, -0.0323888063, 0.0412869751, 0.0080944542, 0.0719179511, 0.0432498381, 0.0390424654, -0.0085081123, 0.0648775101, -0.0218000039, 0.0005707027, -0.0200141314, 0.0103339562, -0.0146638714, 0.0063906726, -0.0742736161, -0.0433817282, 0.0055137402, 0.0281613655, -0.0176999737, 0.0040646889, 0.0832258612, -0.0372665338, 0.0236600526, -0.0212023295, -0.0914814919, -0.0387722403, -0.0141032282, -0.0027819416, -0.0232346132, 0.0536050983, -0.0088201184, 0.0073594744, -0.0646405369, 0.0484806485, -0.0196888689, 0.0584361702, -0.0019203075, 0.009109254, 0.0141051048, 0.0344792381, -0.0557676218, -0.0238678958, 0.0505259335, -0.0541629158, 0.0243875999, -0.0355693139, -0.0304635819, -0.0158149619, 0.0178443417, -0.04396981, 0.0296973269, -0.0364342108, -0.0080428375, 0.0109738735, 0.0187752508, -0.0210313518, -0.0418197736, 0.071493037, 0.0013188377, -0.038417723, -0.0209145211, 0.0157227051, -0.0301914737, 0.0010233403, -0.0472233221, 0.0390211977, -0.0631865039, 0.0675580725, 0.1003756151, -0.0314120762, 0.0109976493, 0.0319986157, -0.0467749201, 0.0148907015, 0.0082138991, -0.0289862733, -0.0120823197, 0.0246490669, -0.0614288859, -0.036027275, 0.0730205402, 0.0126881935, -0.0308304634, -0.011886172, -0.0665504485, 0.0262759663, 0.0255230833, 0.0381090268, -0.0630853623, -0.0002895902, -0.0227300134, -0.0162130911, -0.0544965975, -0.0264482684, -0.0159248468, -0.0989369825, 0.0119306436, 0.0165251438, 0.0009460261, 0.0192564279, -0.0157723986, -0.0367622562, 0.0600281395, -0.0099637052, 0.0172401499, 0.0127332229, 0.0222634822, 0.0410122685, -0.035067372, 0.0366129316, 0.0061182897, 0.0140216639, 0.0267054569, -0.0349302627, 0.0078034061, -0.0385694318, -0.0571123213, 0.0662970915, 0.0080364477, -0.010063109, -0.0043937531, 0.0230804291, -0.0036877093, 0.0370785184, -0.0617161654, 0.0377694741, -0.0018983562, -0.0429229029, 0.0325153992, 0.1065624654, -0.0036790115, -0.0421943106, -0.0470266715, 0.037765719, -0.0024334176, 0.0194000434, 0.032860361, -0.0455019102, 0.0161977876, -0.0646752417, -0.0234908741, -0.0017410411, -0.0913558602, 0.0001211656, 0.0355923921, 0.0601493046, -0.0110879391, -0.0442425162, 0.0383479446, 0.0487006903, 0.0199604388, 0.1032911614, 0.0040381043, 0.0231890306, -0.0149184363, 0.0052550272, -0.0079150125, 0.0195648745, -0.0175620336, -0.0055364347, -0.0295340437, -0.0366106443, -0.0035404502, -0.0030187147, -0.0746053234, -0.0511838607, 0.0092733186, 0.0280028023, 0.0283672791, -0.0404481627, 0.0551942699, -0.0384479836, -0.0138985915, 0.010579518, 0.0193627439, 0.0203793515, -0.0216512699, 0.0047984244, 0.0334504768, -0.0169837475, 0.0151719796, -0.0299996641, 0.0513456613, 0.0251109675, -0.0096575804, -0.0003039068, 0.0337283462, 0.0367645919, 0.0023187497, -0.0181280728, 0.028972609, -0.0309230816, 0.016580876, -0.0499670431, -0.0552246906, 0.01122892, -0.0202257372, 0.0220739432, -0.0259429831, 0.0184771325, -0.0176837388, -0.0361799486, 0.0320850424, 0.0191827081, 0.036507722, 0.0013347408, 0.0165986475, 0.0480434224, -0.0154121257, -0.0442878716, 0.0156325027, 0.009053329, 0.0533835739, 0.015803244, 0.1001335904, 0.022092469, -0.0303945951, 0.035536468, -0.0181577057, -0.0670556054, -0.0458059385, 0.0102735842, 0.0496556424, 0.0164878853, 0.0286508054, 0.0485762879, -0.0596922152, 0.0251477696, 0.0039369948, 0.0395050272, -0.0137810493, -0.0554094799, 0.0257447716, 0.0002624753, 0.0043125539, -0.0211739, 0.0310158897, -0.0331772938, -0.0071212156, 0.0272286832, -0.0163297392, -0.0298980474, -0.0111018894, -0.0386161171, 0.0273937359, 0.0335463732, 0.0278386343, -0.0964516178, -0.0311266799, -0.01427441, 0.0002395712, 0.0381499156, -0.0573826656, -0.0001242595, 0.0586674362, 0.0042794794, -0.0202847328, -0.0198507383, 0.079317607, 0.0267238021, -0.0162730627, -0.0039985287, -6.452079841e-33, 0.00610604, -0.0984644294, 0.0412794948, 0.0578137711, -0.0279843584, -0.007365901, -0.0176954903, 0.0670345128, 0.002697547, 0.0324641466, -0.0066399639, -0.0076431767, -0.0127850473, 0.0237055104, 0.01807319, 0.0037977509, 0.01764239, 0.0274157897, -0.0180139355, -0.0091894129, 0.0283354353, -0.0081031462, 0.0538016967, -0.0355336219, 0.0448181219, -0.056791462, 0.0106476257, -0.0165698174, -0.0854851082, -0.0092737097, -0.0149300266, 0.0540845506, 0.0026762481, -0.0183128528, -0.0203505233, 0.0213012435, 0.035838902, -0.0401210524, 0.0379496738, -0.0001875325, 0.0125521887, -0.0438010022, 0.0116729168, -0.01307768, -0.0242456365, -0.0136848884, 0.0267215129, -0.0095615946, -0.0309524443, 0.0289382264, -0.0785695538, 0.0040376359, -0.009597443, -0.0160678755, -0.0619812384, 0.0414719284, -0.0071320529, -0.0597320721, -0.0649780557, 0.0714409724, 0.0128193852, 0.0339627787, 0.0447138846, -0.0161412954, -0.0334512219, 0.0532250926, -0.012995325, 0.0368541218, -0.0337085612, -0.0317270719, 0.0207178798, -0.0047937431, 0.1027350053, 0.0848157704, 0.0135876415, -0.0276812203, -0.0613877177, -0.0253000017, 0.0295767915, -0.0065273573, 0.0669739991, -0.0455910675, -0.0308113266, -0.0568760969, -0.0329036564, 0.0241665673, 0.0053004404, -0.022436833, 0.0113719273, -0.0302930064, -0.0145253623, -0.0733583122, 0.0102604833, -0.0061378758, -0.0071945982, 0.0299349949, -0.0535188019, 0.0464716144, -0.0271020867, -0.0256322566, -0.0561128147, 0.0364481546, -0.0215200931, 0.019933477, 0.0239838101, 0.0428202488, 0.0292090047, -0.004109086, -0.0314700752, -0.0045752279, -0.0581428744, 0.0071560279, 0.0446923524, -0.0508323796, 0.0092992662, 0.0077839219, -0.0159992594, 0.0001529424, 0.0245884396, -0.0221992861, -0.0387624726, -0.0137597816, -0.0469447561, -0.0124241747, 0.0104981028, 0.0085931141, -0.0361017622, 0.0410675257, 0.023471171, -0.0935797319, 0.0010749989, -0.0197845902, 3.19e-7, 0.0084569901, 0.0417351872, -0.0119649721, -0.0153840063, 0.0115157785, 0.0235836171, 0.0039836364, -0.0184760336, 0.0795265809, -0.012675181, -0.0375205763, 0.0090809148, 0.0192729998, 0.0523921065, -0.0925818756, -0.0577261709, -0.0557145551, -0.0130472202, -0.0384025052, 0.0070294579, 0.051495567, -0.0405921228, 0.0201767273, -0.0163094141, -0.0457183309, -0.0488088727, 0.0374913737, -0.0099958535, -0.0135609582, 0.0137687074, 0.0160868634, -0.0157230943, 0.0398534685, 0.0453526601, 0.0055574253, -0.0355753601, -0.0113371694, 0.0132588521, 0.0280035455, 0.0157571994, 0.019795591, 0.0167412646, 0.0158215594, -0.0678260624, 0.0518477559, -0.0145906368, 0.019447552, 0.0106550204, -0.0140238879, -0.057266701, 0.0484809503, -0.0169557706, -0.0224297661, 0.0210316777, -0.0131120337, -0.006315486, 0.0331315212, 0.008737023, -0.0405354388, -0.0273440517, -0.0210086443, -0.0487709455, -0.0407814085, -0.0323477723, -0.0136622507, -0.01330241, -0.0186898299, 3.081678745e-34, 0.0272432286, -0.059703242, 0.0780024156, 0.0227810256, -0.0025867163, 0.0456448309, 0.0386092663, 0.0013164763, 0.0166695472, -0.0032691988, -0.026831001 ]
http://arxiv.org/abs/2312.09785v3
http://arxiv.org/pdf/2312.09785v3
RJUA-QA: A Comprehensive QA Dataset for Urology
2023-12-15T13:40:25
2024-01-07T08:58:02
Shiwei Lyu, Chenfei Chi, Hongbo Cai, Lei Shi, Xiaoyan Yang, Lei Liu, Xiang Chen, Deng Zhao, Zhiqiang Zhang, Xianguo Lyu, Ming Zhang, Fangzhou Li, Xiaowei Ma, Yue Shen, Jinjie Gu, Wei Xue, Yiran Huang
cs.CL
cs.CL
We introduce RJUA-QA, a novel medical dataset for question answering (QA) and reasoning with clinical evidence, contributing to bridge the gap between general large language models (LLMs) and medical-specific LLM applications. RJUA-QA is derived from realistic clinical scenarios and aims to facilitate LLMs in generating reliable diagnostic and advice. The dataset contains 2,132 curated Question-Context-Answer pairs, corresponding about 25,000 diagnostic records and clinical cases. The dataset covers 67 common urological disease categories, where the disease coverage exceeds 97.6\% of the population seeking medical services in urology. Each data instance in RJUA-QA comprises: (1) a question mirroring real patient to inquiry about clinical symptoms and medical conditions, (2) a context including comprehensive expert knowledge, serving as a reference for medical examination and diagnosis, (3) a doctor response offering the diagnostic conclusion and suggested examination guidance, (4) a diagnosed clinical disease as the recommended diagnostic outcome, and (5) clinical advice providing recommendations for medical examination. RJUA-QA is the first medical QA dataset for clinical reasoning over the patient inquiries, where expert-level knowledge and experience are required for yielding diagnostic conclusions and medical examination advice. A comprehensive evaluation is conducted to evaluate the performance of both medical-specific and general LLMs on the RJUA-QA dataset. Our data is are publicly available at \url{https://github.com/alipay/RJU_Ant_QA}.
[ 0.0778885111, 0.0650338754, 0.0016695529, -0.0189226065, -0.0202781223, 0.0309430398, 0.0266052354, 0.010527296, 0.0111380955, -0.0104470272, -0.0104798321, -0.0637967512, -0.0159409903, 0.0166752134, -0.0034359347, -0.0341847911, 0.0052217692, 0.0051160953, 0.0485427082, -0.0066855638, 0.0165386461, 0.001468057, -0.0260355901, 0.0345580764, 0.0179996043, -0.0275528301, 0.0261234231, -0.016780138, 0.0242808647, -0.0811324343, 0.0164197832, 0.0295837279, -0.0101558343, -0.048151467, 0.000001887, -0.0845193341, -0.0054524145, -0.0025089623, -0.041278407, -0.0252648629, -0.0138288653, -0.0175036099, 0.0459398925, 0.0299909338, -0.0285643078, -0.0024870317, 0.0367973782, 0.0816562623, 0.0593559742, 0.0619585291, -0.0141993044, -0.0281404257, 0.0203427859, -0.009244713, 0.0204374716, -0.0794909969, 0.068924129, 0.0381851904, 0.051687289, -0.0074099884, 0.0196664464, 0.0271003004, -0.0108581111, 0.0215687118, -0.0350536965, 0.0336582325, -0.0088567222, -0.0286213644, 0.0146293202, 0.0767065063, 0.0280751549, -0.0078480514, 0.0140284151, 0.0258398596, -0.0297674313, 0.041785378, -0.0627727136, 0.0068264822, -0.0305433795, 0.0115434239, 0.0119335074, -0.0117895687, 0.0235804804, 0.0034684695, 0.0080810897, 0.0355056152, 0.0142561141, -0.001968123, -0.0237963945, -0.0236621257, -0.0117213819, -0.0520374142, 0.0449314229, 0.0800643116, -0.0560731478, -0.0019375065, 0.0379574038, -0.0079883058, 0.1058564261, -0.0460076816, 0.019738609, 0.0078308564, 0.0080984989, 0.0544471852, -0.0232196096, 0.0385306776, -0.0581909493, 0.0289039854, -0.0475127995, -0.0428376794, -0.0358304568, -0.037566755, -0.0099857766, 0.0151227741, 0.0028774492, 0.0180905908, -0.0737678483, 0.0110289864, 0.0073554446, 0.0213061813, 0.011348905, 0.0587983318, -0.0174729619, -0.0187211242, -0.0176787358, 0.0373067111, -0.0498417318, 0.0498498976, -0.0185810532, -0.021071095, 0.0262505058, -0.0165108684, 0.0296383388, -0.0052308915, 0.0176976621, 0.0513581, 0.0204540305, -0.0129472921, 0.0110475393, -0.0270767007, -0.0381757952, -0.0301047415, -0.0195048302, -0.066901207, 0.0582211837, 0.0232824348, -0.0096705183, -0.0363260135, 0.0285033733, 0.0250926409, -0.0310527645, 0.0424975231, -0.0566733666, 0.0344188288, 0.0194327589, 0.0421071425, 0.02358431, 0.0066202483, -0.0094029969, -0.0344393179, 0.0016241575, -0.0242020506, 0.0114258965, -0.0133134825, 0.0234522261, -0.0085296677, 0.0201311782, 0.0936051533, 0.0203606468, 0.0801715553, -0.0387678742, 0.0680673793, 0.0232819971, -0.0448582098, -0.0031897936, 0.0442114808, 0.0237585772, 0.0239656325, -0.0134026976, -0.0361981876, 0.0103532309, -0.0097697899, 0.0038533811, 0.0064020129, 0.0297809932, 0.0125037432, -0.014693236, 0.0073483894, -0.0509606265, -0.0432211459, -0.0690187141, 0.0003989872, -0.0688234642, -0.0132677369, 0.0360288098, -0.0154242925, 0.0174394995, 0.0674659833, 0.0593564808, -0.012729154, -0.008470715, -0.0756121203, 0.0660225451, 0.0590172186, 0.0209366623, -0.0668393448, -0.0458875448, 0.0007826777, 0.0291494206, -0.0098364288, -0.0183801781, -0.0303259678, 0.0048744576, -0.0325764753, 0.0055255312, 0.0321028158, 0.0009037975, -0.0203999262, 0.0038563472, 0.0287673604, -0.0105040763, -0.0293714181, -0.0167538226, 0.0328310244, -0.0369706526, -0.0095297229, 0.00566412, -0.0271886736, 0.0182728656, -0.0015681867, -0.0025164078, 0.0292723645, 0.0057528922, -0.0338284411, -0.0179790091, 0.0156991053, -0.0255648289, -0.0508912019, 0.0243061986, -0.0423647612, -0.0297905952, 0.0293637607, -0.055837892, -0.0270399526, -0.0451810695, -0.0345144719, 0.0080980025, 0.0010258701, -0.025657896, 0.0575188622, 0.0059343274, -0.0163062122, 0.0291599203, -0.0265204608, 0.0187868588, 0.0307171773, -0.049423404, -0.0059652063, -0.0289725102, -0.0348446071, 0.0042288844, -0.0086979056, 0.0013874309, 0.0009697078, 0.0158840884, -0.0516053513, -0.0048790113, -0.086401321, -0.0036847605, 0.0016570109, 0.0071335048, 0.0500698686, 0.0413545892, -0.0069892812, -0.0449807234, -0.0606164262, -0.0292141363, 0.0445161685, 0.038216535, 0.0466866046, 0.0604372546, 0.0184625406, -0.0538431741, -0.0257206187, -0.0485586189, 0.0130118318, 0.0505197532, 0.0326679163, -0.0015106299, -0.0057804952, -0.0440048575, -0.0254293829, 0.0145979561, -0.0313838087, -0.0008209514, -0.0467475429, -0.0199294426, 0.0247450527, 0.0101660723, -0.0105340052, 0.0475777425, 0.0131388204, -0.035356421, 0.0009121124, -0.0477426909, -0.0267150775, -0.006307832, -0.0416857935, 0.0010117249, 0.0489408858, 0.0019208007, -0.0171317384, -0.021426931, 0.0286470111, -0.0073925885, 0.0037430467, -0.049862165, -0.0108226407, -0.011044316, 0.0351603553, -0.0030218144, -0.0074730515, 0.0967565775, -0.0016839642, 0.021129692, -0.0697381422, -0.0192822292, -0.0609132126, 0.0012831191, -0.043947868, 0.0276402403, -0.0248888303, -0.0293955207, 0.0170335025, -0.0076613189, -0.0358283706, -0.0666719899, 0.0551320948, -0.0413642973, 0.0527918488, 0.0046234336, -0.0508813672, -0.0650402382, -0.0403763242, -0.0312350038, -0.006971322, -0.0319745801, 0.0241339635, -0.03502509, 0.0364958867, -0.0217174571, 0.0499276854, 0.0163158812, -0.0100485682, -0.0084761977, 0.0407469012, 0.0405114666, 0.0536013022, -0.0032069685, 0.0432460867, 0.0437710173, 0.0555282459, 0.021902224, 0.0079319421, 0.0221769512, 0.0028056304, -0.0121055264, -0.0301007964, 0.0239794143, -0.0058431276, 0.0088155027, -0.0616158955, -0.0310587864, 0.1026401222, 0.0594172403, -0.0324333124, 0.0004822924, -0.0571133904, -0.0213411339, -0.0319162197, 0.024216231, -0.0668654069, -0.0282114558, -0.0201425571, -0.0121452929, 0.0083214995, -0.0249760021, -0.0011719281, -0.0178728551, 0.0052698199, -0.0250349659, -0.0211675577, -0.0360026807, -0.0580502562, 0.0137087163, 0.0000868433, -0.0016371232, -0.0095427977, 0.0020353352, 0.0112729659, 0.0108906385, -0.0716935471, -0.0890789926, 0.0827715322, -0.0209007747, 0.0326048918, 0.0337585174, 0.0409234688, -0.0087804031, -0.0159357339, 0.0025589184, -0.0286471192, 0.0049275514, -0.0058964868, 0.0500276387, 0.0259930175, -0.0340140387, -0.0799865425, 0.0498376377, -0.0751194209, -0.0117995776, 0.0090360716, 0.0739713907, -0.0292972904, -0.0143689616, -0.0566242598, 0.0318725929, 0.0163130816, 0.0631245896, -0.0172042381, 0.0015746106, -0.0255432297, 0.0284206402, 0.0118646938, 0.0338576064, -0.0351199135, 0.0287874565, 0.0345880575, 0.0129396394, -0.0641129315, -0.0163911227, 0.0647040755, -0.0272788033, 0.0145838503, 0.0392710753, -0.0117303515, 0.0078638047, -0.0254921, 0.0344866663, 0.0198946744, 0.0126115987, -0.0525162034, 0.0019570242, 0.0961673781, -0.0233734306, -0.0244592316, -0.001329486, 0.0069460683, -0.0039664363, 0.0076781125, 0.0298613012, 0.0202069096, -0.0176083259, -0.0090916604, -0.0261394139, 0.0077922945, 0.0101353768, -0.0257433411, -0.0298125632, 0.0233781934, 0.0380787663, 0.0145367933, 0.0322328396, -0.0508179665, 0.0022634703, -0.0148810884, 0.0298834145, -0.0610491261, -0.0246537477, 0.0464492589, 0.024120139, 0.0020435979, 0.0195974074, -0.024354361, -0.0214828923, 0.0415348224, -0.0287329033, 0.0195087343, -0.008720912, 0.035544876, 0.0311096665, -0.0358907096, -0.0133667495, -0.0152272759, -0.0584593676, -0.0492979251, -0.0338376872, 0.0543129668, 0.0765380636, -0.0205846801, 0.0638610348, -0.0072317515, -0.0061801006, -0.0160536915, 0.0166824386, 0.0293483138, -0.0001131135, 0.047617577, 0.0023415431, 0.0026514234, 0.0082621742, 0.0177049767, -0.0446061045, -0.0838223398, 0.0184662249, 0.0013008541, 0.021517586, -0.0050166291, 0.0147230327, -0.0099228825, 0.0048209741, -0.0153424069, -0.0072768275, -0.031908825, -0.0081066824, 0.0938029289, 0.0076579852, -0.0073008197, -0.0172607023, 0.085309349, 0.018256098, 0.0274093375, -0.0142495055, -0.0118914116, -0.0271436702, -0.0320927911, -0.0289852265, 0.0232138596, -0.0554514714, 0.0115966676, -0.0433763862, -0.036087878, -0.0169385001, -0.0065424284, -0.0187536031, -0.0051095751, 0.0205685794, 0.0371938124, 0.0196343735, -0.0282978825, -0.0424445942, 0.0649512038, -0.0661664605, 0.0029864917, 0.008685099, -5.513769394e-33, 0.0139298728, -0.0326597914, 0.0338810869, -0.0523179881, 0.042466145, 0.0441663414, -0.0362204276, -0.0034251874, -0.0516513884, 0.055766426, -0.0226323549, 0.0101798568, 0.0108522037, 0.0710000396, 0.0073713372, -0.0506746806, 0.0263695531, 0.0055256812, -0.0056004226, 0.0572516434, 0.0186624266, 0.0462657996, 0.0052883821, -0.0820172206, -0.0163978282, -0.0295217689, 0.0466471165, 0.0425199643, -0.0347605646, 0.0515206158, -0.0453731343, 0.0340990499, 0.0667355284, 0.0001479442, -0.0033474283, 0.0584848523, -0.1013238207, -0.0279320609, 0.0110726254, -0.0250142943, -0.0606797859, -0.0097293574, 0.0298962519, 0.0044639469, 0.0303006954, -0.0389587842, 0.0216968413, -0.0446971208, 0.0313400626, -0.0438370742, -0.0001745244, 0.0311340205, -0.0002802306, 0.0022561601, -0.0440201089, 0.021150738, -0.0553007834, 0.0417187512, -0.0330305658, 0.000447361, 0.0030747782, 0.0185588337, 0.0363527574, -0.0540978648, -0.0352085195, 0.0374588668, -0.0086161438, -0.0544409789, -0.0189552717, 0.013819837, -0.0815738589, 0.0327242874, 0.0277121253, 0.0095440373, 0.0068241754, -0.0078303553, -0.1027937531, 0.0112511078, -0.0301037841, 0.0900650397, 0.0431545228, -0.043882262, -0.0414467193, 0.0150245735, -0.031119315, 0.0344127379, -0.0284212083, -0.02062287, 0.0380810685, -0.0160391033, 0.0068103885, -0.0031625852, 0.0044642338, -0.0125089418, -0.0390118212, 0.0153899407, 0.0354194306, -0.0212645456, -0.0020983503, 0.0403297059, -0.0765341222, 0.0174469389, -0.0047506597, -0.0377153456, 0.0181583706, 0.0371884443, 0.0205440056, -0.0448718071, -0.0389263183, -0.0018898319, 0.0100209964, 0.0251297913, -0.0349838398, 0.0286064912, 0.0124045815, 0.0583202578, -0.0244735014, 0.0909866244, 0.0005574711, 0.0199374165, -0.0159622729, -0.0424842201, -0.0016516355, 0.0197381619, -0.060891483, -0.0054205167, -0.0579973944, 0.0520730168, 0.0450108387, -0.0241830852, 0.0022918533, 0.0278269332, 2.597e-7, 0.1158654988, 0.0209275112, 0.0237852689, -0.0057780724, 0.0470436923, -0.0003737859, 0.0014408167, -0.0093837706, 0.0362972617, -0.0074743074, 0.0111235306, 0.0064524673, -0.0141869895, 0.0452734828, -0.0359314531, -0.0261257477, -0.10315869, -0.052502159, -0.0200453177, -0.016292097, 0.0575132594, 0.0949814841, -0.037329983, -0.0535876676, 0.0006826769, -0.0362376869, 0.0333531536, -0.0004206841, 0.0158634856, 0.0480064005, 0.0121332128, -0.0302280933, 0.0299143679, 0.0580613352, -0.0079627177, -0.0020140968, 0.0037791897, 0.0652883202, -0.0245982185, -0.0334520526, 0.0018497526, -0.0064441543, 0.0410125256, -0.054889366, 0.0908472091, -0.0421719775, -0.061986994, -0.0125817927, 0.0153859286, -0.0212950055, 0.0292166881, -0.0182705726, -0.0193768498, 0.0182811413, 0.003699471, 0.0247666426, -0.0112947496, -0.0803640559, 0.0011164709, 0.0206798948, -0.0503652506, -0.0070536123, 0.0335766785, -0.0353386924, -0.0087739723, -0.0950203389, 0.0208574105, 1.976330642e-34, 0.0276101287, 0.0273116902, -0.0059104324, 0.0402058624, 0.0175443515, 0.0030283744, 0.0086909821, 0.0121160652, 0.0223913565, -0.0566730537, -0.0025092307 ]
http://arxiv.org/abs/2312.09781v3
http://arxiv.org/pdf/2312.09781v3
GSQA: An End-to-End Model for Generative Spoken Question Answering
2023-12-15T13:33:18
2024-07-02T11:24:34
Min-Han Shih, Ho-Lam Chung, Yu-Chi Pai, Ming-Hao Hsu, Guan-Ting Lin, Shang-Wen Li, Hung-yi Lee
cs.CL
cs.CL, cs.AI
In recent advancements in spoken question answering (QA), end-to-end models have made significant strides. However, previous research has primarily focused on extractive span selection. While this extractive-based approach is effective when answers are present directly within the input, it falls short in addressing abstractive questions, where answers are not directly extracted but inferred from the given information. To bridge this gap, we introduce the first end-to-end Generative Spoken Question Answering (GSQA) model that empowers the system to engage in abstractive reasoning. The challenge in training our GSQA model lies in the absence of a spoken abstractive QA dataset. We propose using text models for initialization and leveraging the extractive QA dataset to transfer knowledge from the text generative model to the spoken generative model. Experimental results indicate that our model surpasses the previous extractive model by 3% on extractive QA datasets. Furthermore, the GSQA model has only been fine-tuned on the spoken extractive QA dataset. Despite not having seen any spoken abstractive QA data, it can still closely match the performance of the cascade model. In conclusion, our GSQA model shows the potential to generalize to a broad spectrum of questions, thus further expanding the spoken question answering capabilities of abstractive QA. Our code is available at https://voidful.github.io/GSQA
[ 0.0149455685, 0.0682066455, -0.0131799839, 0.0119363125, -0.0011502284, 0.0163142402, -0.0025019378, -0.0316660628, -0.0176691692, 0.0134229288, 0.0117955524, -0.038895458, -0.0577400103, 0.0673051402, 0.0559337959, -0.0693109185, 0.0390869156, -0.028236052, 0.0097226556, -0.0013132251, 0.0097824549, 0.0350000896, -0.0181698818, -0.0144777698, 0.007532551, -0.011682895, -0.024277404, -0.016685795, 0.0245128628, 0.0083110835, -0.0033620847, 0.0369455293, 0.0480987169, -0.0224940069, 0.0000019623, -0.0275164507, 0.0033883757, -0.0205263626, -0.0356075913, -0.0062588602, -0.0384457223, 0.045644287, 0.0275885873, 0.0364632867, -0.0534580238, -0.0235741287, 0.0155247767, 0.0516363643, 0.0599992275, 0.0365168191, -0.025716437, -0.045288682, 0.0530872308, -0.006905355, 0.0268657245, -0.0675684065, 0.0211825129, 0.0424954258, 0.0229933523, 0.0139862038, -0.0156035721, 0.0431676842, 0.0535303839, 0.0058119325, 0.0290022288, 0.0408217981, -0.0693071485, 0.0068362127, 0.0056275446, 0.1245220155, 0.0337005742, -0.0150960842, 0.0259439517, -0.0056814598, -0.0023568466, -0.0172301214, -0.0333787166, 0.0129246246, -0.0103694228, 0.005178968, -0.0205988903, 0.0492197424, -0.0077510672, 0.0155300992, -0.0442676432, 0.016374575, 0.0195468199, -0.0235352945, 0.0224851891, -0.0048539513, -0.0593425147, -0.0642104223, -0.0079352744, 0.0481251851, -0.0219403338, 0.0449449457, -0.0081035709, -0.0316151381, -0.0074791685, 0.0034432127, -0.0075466172, 0.0329610147, -0.013273688, 0.0342630744, 0.0004980019, 0.0484420396, -0.0396301709, 0.0026667905, -0.0526106991, -0.0395957232, -0.0147018908, -0.0386670604, -0.0725912824, 0.037536025, -0.0537227429, -0.0251781531, -0.0003336887, 0.0197633598, 0.003118681, -0.0181557834, -0.0081056748, 0.0582383908, -0.0335241631, -0.0025842299, -0.0115876179, 0.0156184351, -0.0766402334, 0.044107534, 0.0493366681, -0.0307031292, -0.0362691469, 0.0064774016, 0.0460765548, -0.0207768828, -0.0007312623, 0.030022392, -0.0306405406, 0.000849337, -0.0126023712, -0.0201146249, -0.00136765, -0.0536306165, -0.0072954549, -0.0447268076, 0.0515972003, -0.0021939152, -0.0350098945, 0.0221657287, 0.0083999541, 0.0169433057, 0.0100874752, 0.0494961776, 0.0183374956, 0.0231074095, 0.0553122684, 0.033014372, 0.0103432098, 0.0370493457, 0.0391762666, -0.0050849491, 0.0298480764, -0.003817267, 0.0415674448, 0.0243839379, 0.0274368022, 0.021009285, 0.0299860109, 0.0731225237, -0.0450393185, 0.0120216748, 0.0222670529, 0.0504787453, -0.0503114536, -0.0077557317, 0.0330104567, 0.0562797897, -0.0256598666, 0.0484233461, 0.0342313834, 0.0379596204, 0.0207031015, -0.0063775419, 0.0055686189, 0.048828207, -0.0016400053, 0.0337533541, 0.0416434109, -0.0042245425, -0.0727970302, -0.0347145647, 0.0115334569, 0.0191364996, -0.0116672758, 0.049075257, 0.0224324614, 0.0709246397, -0.0430773348, 0.0283859242, 0.0082337623, -0.0816104412, 0.0220634826, -0.0172016844, 0.0845264867, 0.030661704, 0.0255270824, 0.0066772709, -0.0200897157, -0.0152767953, 0.0121080661, 0.0388158262, -0.0004564666, -0.0419183411, 0.0259884372, -0.0417984389, 0.0041162148, 0.0043374887, -0.0150787244, 0.0261010807, 0.0205817893, 0.0165749025, -0.0070992918, -0.0513550937, 0.0116223246, 0.0026616082, -0.0733375028, -0.0454921834, 0.0059093712, -0.0003755217, 0.0241564251, 0.0135075329, 0.0033477703, -0.0009390399, 0.0287532303, -0.0295136031, -0.0621005334, 0.0169762485, -0.0853230357, -0.0493399911, -0.0274540987, -0.0298085082, 0.0070437607, 0.0502139963, -0.0575248636, -0.0708114654, 0.0261212382, -0.0353985652, 0.0347235948, -0.0707293898, -0.0347464383, 0.0471498072, -0.0154560907, -0.027579559, 0.0736857504, -0.0093201045, -0.0097556757, 0.0145024434, 0.0471871085, 0.0235013906, -0.0695903823, 0.0142539423, 0.0058023455, -0.0052750674, -0.0071051419, -0.0100499382, -0.0252369884, -0.0624454096, -0.0048497855, -0.0262929257, 0.0219992083, -0.0110845305, 0.0270823631, 0.0626413301, 0.0499461554, -0.0046081268, -0.0120707136, -0.0789457709, -0.0064041745, 0.028852541, -0.0240105074, 0.0105998497, 0.0123658385, 0.0214520935, -0.0396312587, 0.014286425, 0.0079606185, 0.0333909094, -0.0161095764, 0.033538796, -0.0315999947, -0.0011188673, -0.0517819375, 0.0642630085, -0.0210745875, -0.0276365243, -0.0419799052, -0.0168422498, 0.0036980496, 0.0218198877, 0.0306927841, -0.0279415324, -0.0173783153, -0.0066718082, -0.0467206463, 0.0558792427, -0.038336765, 0.0118950587, 0.0049991598, -0.0351253264, 0.0168547817, 0.0601418056, 0.0335965008, 0.0091673564, -0.0487722233, 0.0000765624, 0.0210118163, -0.0142963873, -0.0239648391, -0.0207064636, -0.0360557027, 0.04390857, -0.0372813158, -0.0245704856, 0.0582051873, -0.0134131676, -0.0382160172, -0.0758926123, 0.0064546289, -0.0489064008, 0.0592784099, -0.0347644649, -0.0018267053, 0.017951807, -0.0268070083, -0.0442175269, -0.013848152, -0.0269322116, -0.0428823568, 0.0247146171, -0.0285289548, 0.0335259251, -0.0099034393, -0.0476155095, -0.0687964931, -0.006890839, 0.0115307653, 0.045099169, -0.0138317551, -0.0093057901, -0.0011578498, 0.0149004506, 0.0285671018, 0.0039581433, -0.0054741814, 0.0105158249, -0.0265149157, 0.075100705, 0.1047895998, 0.0210737288, -0.0013199872, 0.0028380973, 0.0613842942, 0.0478578433, 0.0391090661, 0.0064890417, -0.0115455855, -0.0013799476, 0.0110385586, -0.010448399, -0.0019323074, 0.0109918257, 0.0690418333, -0.0127825197, -0.0437515825, 0.0896051303, 0.0246829949, 0.0039425069, 0.0038747911, -0.0052316166, 0.0662143454, 0.0118086934, 0.0521498993, -0.1088270247, -0.0109374803, -0.0101816375, 0.041964747, 0.0150286173, -0.0196545515, 0.0103048319, -0.1116588265, 0.0523046181, -0.0167183075, -0.0961517021, -0.0213009231, 0.0058599664, 0.0253307149, -0.0029209501, 0.0112946797, 0.0074679498, -0.0045604785, 0.023388518, 0.038648203, -0.0171572249, 0.0192347262, 0.0573776029, -0.0082121743, -0.0038650676, 0.0635273755, 0.0371492729, 0.0082662869, -0.0437359959, 0.007492994, -0.1020895094, -0.037424203, 0.0099355644, 0.0563781857, 0.0235415846, -0.0160250161, -0.0216900278, 0.0719878152, 0.0035461171, -0.0170122366, -0.0003238158, 0.0402536988, -0.008812828, -0.0138920369, -0.0196619127, 0.0272477306, 0.0242805127, 0.0674867183, 0.0458442718, -0.0212321747, -0.0701111853, -0.028631011, 0.0019487495, -0.0970359072, -0.0290534794, -0.0070927171, 0.0549525879, 0.0271626934, -0.094390519, -0.0218319502, 0.0241724476, 0.0283535309, -0.0315381736, -0.0003993925, 0.0012884066, -0.011359212, -0.0115619404, 0.0244107433, -0.014571378, 0.010131482, -0.0079666004, -0.0643121153, 0.0362261087, -0.0704530776, -0.0623080693, 0.0410168245, -0.0259449016, -0.0435920581, -0.024880942, 0.0379612483, 0.0187526904, 0.0421381071, -0.0389041118, -0.0136275487, 0.0784981027, -0.0400083736, -0.0537502579, 0.0056419866, 0.0150902495, 0.0550061874, 0.0013160958, 0.0447605066, -0.050393153, 0.0333767347, -0.0019272669, 0.0601801313, -0.0279284269, 0.0088949604, 0.0066963434, -0.0159450751, -0.0077152965, 0.0419576876, 0.0065109688, -0.0394326337, 0.0228819642, 0.0065529034, -0.0129800839, -0.0582712218, 0.0381684788, 0.0160564277, -0.0279969685, -0.0201545879, -0.0326848291, -0.0203312673, 0.0524119213, -0.0448903441, -0.0190317929, 0.0424443111, -0.0085983258, 0.0035775581, -0.0331753753, -0.0193030778, -0.0201410744, 0.008320515, 0.083661586, 0.0099004954, 0.0360408574, 0.0236380622, -0.0171673503, 0.0006362936, -0.0078636315, -0.0841316879, -0.0505309775, -0.0212954618, 0.0014985428, -0.0078031328, 0.0143113201, 0.0223426297, 0.0339118391, 0.0161987934, 0.0141338557, 0.007858444, -0.0356170274, -0.0367406011, 0.067503646, 0.0202310011, -0.0114639364, 0.0009620818, 0.0456765704, -0.0107790744, 0.0665547773, -0.0395161882, 0.0431453362, -0.0351427086, -0.0283111557, -0.0147585543, 0.0020704793, 0.0039228513, 0.0261472482, -0.0182267446, -0.0662095845, -0.0063901376, 0.0095631145, -0.0091063874, -0.0089751892, 0.0537207238, 0.0275458843, -0.0032249389, -0.06502866, -0.0228717718, 0.0066946354, -0.0458748192, -0.0108166896, -0.024137957, -6.296537694e-33, -0.0340395458, 0.0152910929, 0.0351684429, 0.00224886, -0.0454362445, -0.0275051016, -0.0683054999, -0.0184003711, -0.0261751935, -0.0297185443, -0.0052473634, 0.0023390681, -0.0091012595, 0.0784100294, -0.0181652121, -0.0240496546, -0.0018466845, -0.002393085, -0.0276930686, 0.0612917468, 0.0515850522, 0.0176969506, 0.0380625129, -0.0210401081, -0.0327319652, -0.0566996932, -0.0011846571, 0.0436118506, -0.020610515, 0.0687069446, -0.0260011759, 0.0070070988, 0.0177021977, -0.0304625761, 0.0101572918, 0.0713872015, -0.109895438, -0.0178208053, 0.0130448937, -0.0146238981, -0.0745504051, -0.0247956887, -0.0086578308, -0.0200254824, 0.0456726924, -0.0404239483, 0.0249357354, -0.0092098899, 0.0244096871, -0.0634887218, -0.032969296, 0.0072620567, -0.0354702137, -0.0080200853, -0.0528071821, 0.0967305824, -0.0058625625, 0.0023256184, -0.0021756548, 0.0023672823, 0.037318375, -0.0083704675, 0.0438502505, 0.0328369141, 0.0025061045, 0.0300371405, 0.0000914198, -0.0656263009, -0.0311514698, 0.0029784967, -0.0465834923, 0.035878472, 0.0256813951, 0.0130255483, 0.0009775771, 0.0245297141, -0.0650134236, 0.0299633201, -0.0409228802, 0.0263956469, 0.0187732633, -0.0098888716, -0.0002732203, -0.0083691431, -0.0589248836, 0.0097464919, -0.0140601182, -0.0098851519, 0.0634987205, 0.0086639114, -0.009651362, 0.0255874135, 0.0263327844, -0.0161936078, 0.0149637759, 0.016849665, -0.0509048067, 0.0060552503, 0.0023423689, 0.047223065, -0.0587250851, 0.0109601403, 0.0563484803, 0.02599339, -0.0321039557, 0.0248645917, 0.0133612221, -0.000706155, -0.0419937223, 0.0124919638, -0.0413532071, 0.0410124175, -0.0448667966, 0.0449236594, -0.0027630599, 0.0402989388, -0.0242131092, 0.0153517406, -0.032509286, 0.0167891867, -0.0309594758, -0.0085577471, -0.0118258046, 0.0375222713, -0.0451515503, 0.0201033279, -0.0322764069, 0.0131042562, 0.0019967859, -0.0144140404, -0.0186894294, 0.0502722822, 2.563e-7, 0.0435036942, -0.0379123539, 0.0436556973, 0.0365217738, 0.0138105499, -0.0141430618, 0.0180777572, 0.0078411745, 0.0407234766, -0.0285947546, -0.014521216, 0.0523762144, 0.0599204488, 0.0160460006, -0.1071911156, 0.0261265486, -0.0751293376, -0.0105792154, -0.0329045355, -0.0387965366, 0.0618101321, 0.0697392151, -0.0119079128, 0.0007584672, 0.0153433541, -0.018743936, 0.0419684052, 0.0249934066, 0.0205651484, 0.0129464855, -0.0268765688, 0.0321826711, -0.00749441, -0.0027147573, -0.0188139975, 0.0385932699, 0.0021876816, 0.0490198396, 0.0098859007, -0.0992151201, -0.0343531072, -0.0042541125, 0.038766589, -0.0493422337, 0.0678318217, -0.0363973193, -0.0000824548, 0.0018137158, -0.0795074627, 0.0086261658, -0.003038015, 0.007045689, 0.0235123709, 0.0110944025, 0.0209142789, -0.0284451582, 0.0005808109, -0.0720062852, 0.0247933511, 0.0120234657, -0.0638895333, -0.025764551, -0.024760887, 0.0182088409, -0.0281362068, -0.0556812026, 0.0054908958, 1.972528882e-34, 0.0048572044, 0.0143684819, -0.0044014184, 0.0364668407, 0.0184693802, -0.0258702114, 0.0029151875, -0.025495084, 0.0367741324, -0.1011622697, -0.0082041603 ]
http://arxiv.org/abs/2402.10899v1
http://arxiv.org/pdf/2402.10899v1
Taxonomy-based CheckList for Large Language Model Evaluation
2023-12-15T12:58:07
2023-12-15T12:58:07
Damin Zhang
cs.CL
cs.CL
As large language models (LLMs) have been used in many downstream tasks, the internal stereotypical representation may affect the fairness of the outputs. In this work, we introduce human knowledge into natural language interventions and study pre-trained language models' (LMs) behaviors within the context of gender bias. Inspired by CheckList behavioral testing, we present a checklist-style task that aims to probe and quantify LMs' unethical behaviors through question-answering (QA). We design three comparison studies to evaluate LMs from four aspects: consistency, biased tendency, model preference, and gender preference switch. We probe one transformer-based QA model trained on SQuAD-v2 dataset and one autoregressive large language model. Our results indicate that transformer-based QA model's biased tendency positively correlates with its consistency, whereas LLM shows the opposite relation. Our proposed task provides the first dataset that involves human knowledge for LLM bias evaluation.
[ 0.0797051713, 0.0599843301, -0.0171946101, 0.0161810666, -0.0109155662, 0.034262456, 0.0280650519, -0.0194374993, -0.0069403327, -0.0765639246, -0.034880612, -0.022622617, 0.0003604478, -0.0206867326, 0.0336451009, -0.0060189618, 0.0552627854, -0.0188444648, 0.0324459523, -0.0416756943, -0.0003379398, 0.0187054798, 0.0298077893, 0.0345626697, 0.0395748019, -0.0204595663, 0.0305000897, -0.0288199596, -0.0129143223, -0.0042597353, 0.0396004803, 0.0767803416, 0.0037774774, 0.0137487929, 0.0000019149, -0.0987286717, 0.0107835494, 0.0198996179, -0.0288629215, 0.0185631253, 0.0050400468, 0.0077476557, 0.0081650289, 0.0337764211, -0.0279502217, -0.0177885275, 0.0055068526, 0.0601951331, 0.0508810692, 0.0166433956, 0.0184885524, -0.0054165712, -0.0218995921, -0.0294955205, 0.0028260997, -0.0146379936, 0.0644152239, -0.0089952154, -0.0204275735, 0.0153661165, -0.030229494, 0.0087189153, 0.013064445, 0.0011683417, -0.0003688587, -0.00059333, -0.039846193, -0.049311731, 0.0106891142, 0.0510533005, 0.0192503408, -0.0063807718, -0.0053101401, 0.0074667474, 0.0236422997, 0.0414771251, -0.0394072793, 0.058208406, -0.0006053682, -0.0281086396, 0.0116569465, -0.0155893471, 0.0179406945, 0.0537000597, 0.0083814291, 0.0849642605, -0.0070204185, -0.0515562557, 0.0221602265, 0.0199822765, -0.0121196667, -0.0808428675, -0.019853862, 0.0093857441, -0.0389171205, 0.0220985673, 0.0248121619, 0.0085970135, 0.0755778402, -0.0565966219, 0.022077132, 0.0135486908, 0.018530475, 0.0161226634, 0.0018434644, 0.0672229156, -0.0057254238, 0.0313529484, -0.0580192916, -0.0355550759, -0.0126205562, -0.055882331, -0.0291050952, 0.0002408769, 0.0480748527, 0.0274475608, -0.0430774316, -0.0154781444, -0.0398109592, -0.0213058926, 0.0250799544, 0.0377397984, -0.0075681219, 0.0286721811, -0.062797308, 0.0055621313, -0.0744228512, 0.0455679744, -0.0068124426, -0.0723974109, -0.0012531166, 0.0039732996, -0.0203786194, -0.0426468328, 0.0281619094, 0.0101394877, 0.0108990455, -0.0338040031, 0.0112502482, -0.000287996, -0.0328570902, -0.0744989961, -0.0037974827, -0.0911214426, 0.0097875092, 0.0203952957, -0.0004297214, -0.0067297001, 0.0079384148, 0.0330424458, -0.0532754324, 0.0551952682, 0.034132015, 0.0281746071, 0.0433150269, 0.0111434003, 0.0005093018, 0.078768909, 0.0429994464, -0.0314690806, 0.0507964268, -0.036407046, 0.02027262, 0.0311707109, 0.0184040386, 0.0127236424, -0.0132543147, 0.0625898018, -0.0150761008, 0.0349865332, 0.0464951545, 0.0399404503, 0.0034882769, -0.0225261506, 0.0427371003, 0.0838638246, 0.0167644434, 0.0108921435, 0.0298255812, 0.009311026, 0.0056594899, 0.0186442658, -0.0411601849, -0.0068284804, -0.0236278065, -0.0191243794, -0.0203403402, 0.0278987791, -0.0394974947, -0.0391995795, -0.0213215686, -0.0010499206, 0.024871476, 0.0399866961, 0.0255330987, 0.0631812438, 0.0095603382, 0.0544412322, 0.0350895002, -0.0402749255, 0.0075111291, -0.0875961334, 0.0702350661, 0.0370216705, 0.023356352, -0.0117675448, -0.0260853432, -0.0442085862, -0.0257316176, 0.0358294845, 0.0328069106, -0.011678216, -0.0149597935, -0.0119149229, -0.0241347849, 0.0042982469, 0.0150242615, -0.0092558349, 0.0403673835, 0.0230529737, 0.0094098523, -0.0646695122, -0.0574619956, 0.0365007333, -0.0110523319, -0.0485182591, 0.0100500416, -0.0060249614, 0.0054631107, 0.0001667585, -0.0220219009, 0.0026366978, 0.0252574738, 0.0101372041, -0.0255998671, 0.0101136994, -0.0427170731, 0.0003941818, 0.0082266033, -0.0419197157, -0.0511484444, 0.0853733867, 0.0049450747, 0.0004723505, 0.0015533473, -0.0307974089, -0.0093693221, -0.038665738, -0.0007719548, -0.0238003824, 0.0045637595, -0.0319038369, 0.0266788322, -0.0104179932, 0.0233378075, -0.0013951181, -0.026046209, -0.0158666819, -0.0360747017, -0.0463428609, 0.0489237271, 0.0052760369, 0.0275600161, 0.0514641404, 0.0054825339, -0.0430791229, -0.0116833309, -0.0879914612, -0.005140854, -0.0229138844, -0.0054640132, 0.001136284, -0.0063030855, -0.0158689115, 0.0127424514, -0.0409817584, -0.0205648784, 0.0498831607, 0.0540656857, 0.0126228388, -0.0068277027, 0.0084874202, -0.0319312103, -0.0094282152, -0.0339569077, 0.0603882447, 0.0493906997, 0.0445756912, -0.0471525155, -0.0111697949, -0.0484369099, -0.0005521553, -0.0059889546, -0.0533672981, 0.0342523195, 0.0485576876, 0.024603853, 0.0922658518, 0.07622917, 0.0067247609, 0.0643281266, 0.0225818139, -0.0608485937, -0.0155270174, -0.0135742417, -0.0392446667, -0.0270616878, -0.0594112687, 0.0072696395, 0.0737944171, -0.0082864221, -0.0133223245, -0.0356931686, 0.034039028, -0.0465799235, -0.0550852232, -0.0437378921, -0.0510136224, -0.0266260263, 0.0382493511, -0.0020526708, -0.0511695519, 0.0406286158, -0.0165140983, -0.0089311516, -0.0447124206, -0.0012886273, -0.0634548515, 0.0528409518, -0.0032666493, 0.0083440989, 0.0361876003, -0.0058451975, -0.0539679863, -0.0498205796, 0.0153257297, -0.0319051072, 0.0306884386, -0.0327831358, 0.0230290759, 0.0192975719, -0.034959089, -0.0723561421, -0.0548104681, -0.01921051, 0.0150905885, 0.0137797622, 0.0085892156, -0.0017131768, 0.010552302, 0.0262717102, 0.0090369172, -0.0290337503, -0.0036718801, -0.0029589126, 0.012066653, 0.0810968429, 0.0344797708, 0.0516300388, -0.0160576962, 0.0130984932, 0.035636507, -0.0246411785, 0.0259720981, 0.0154444426, 0.0163397435, 0.0404906385, -0.0372300446, -0.0098886034, 0.0036522432, 0.0194122773, -0.0379128642, -0.011098871, 0.1061991155, 0.0507664718, -0.070607461, 0.0052779224, 0.0060811886, -0.0001515978, 0.0403487012, 0.0061560357, -0.0663424581, -0.0164853744, 0.0081628477, 0.0443752781, -0.0487198755, -0.0405753069, -0.0200305879, -0.1568900198, 0.0021396286, -0.0281260293, -0.0449230969, 0.0071318466, -0.0514204279, 0.0043452173, -0.031888295, 0.0274044462, 0.012925108, -0.0262638275, -0.0062940381, 0.0122270938, -0.0390175246, -0.0168154407, 0.0691116154, -0.0661896914, 0.0629514828, 0.0771959051, 0.024390107, -0.05008379, -0.0045848521, 0.0286285914, -0.0513059646, -0.0070936042, -0.0028438005, 0.0076120174, -0.0496504977, 0.0068599633, -0.0509052649, 0.0203266162, 0.0114808204, 0.02042423, 0.0191821251, 0.0588537864, 0.0360428207, -0.039614249, -0.0328693651, 0.008082293, 0.0210729092, 0.1074561849, 0.0185372997, -0.0489156507, -0.021126736, -0.0294439793, -0.0440098532, 0.0257500689, -0.0983330011, 0.0171540063, 0.0280398056, -0.0137172518, -0.0534676798, -0.0671988726, 0.0227635056, -0.0206626803, -0.0278736502, -0.0209804513, 0.0145641388, 0.0274699256, -0.0191625804, 0.0433657393, -0.0197434407, 0.0205944404, -0.0410992876, -0.0187774803, 0.0054072868, -0.0223617405, -0.0288179629, 0.0136404075, -0.0317947455, -0.0421942174, 0.0518641174, 0.0604487211, 0.0248179939, 0.0369306318, 0.0002972501, -0.0246682428, 0.0197775979, 0.02622783, -0.0438618101, 0.0595873781, 0.0358056501, 0.0033450506, 0.0122604445, 0.0305444952, -0.049759306, 0.0288713202, -0.006664779, 0.0069178548, -0.0428785756, -0.0371437408, 0.0296878275, 0.0153543102, 0.0176329967, -0.0122318063, -0.0013728067, -0.0188159291, -0.0222932119, -0.0210391898, -0.0577633046, -0.0079896366, -0.0198168829, 0.021137869, 0.0028922791, -0.0137881348, 0.0284898095, -0.061252173, 0.017918231, -0.0191972721, 0.0370571092, 0.0271884575, -0.0015335121, -0.0007410054, 0.0114719113, -0.0142217763, -0.0133493338, 0.0038517741, 0.057726644, 0.0370170958, 0.0409129485, 0.0189897213, -0.0050265826, -0.02034292, 0.0034988844, -0.0570001416, -0.0719878897, 0.005299889, -0.0049305558, -0.0290023852, -0.039935194, 0.0532179736, 0.0030381498, -0.0044378676, -0.0140500115, -0.0258198231, -0.016537305, 0.0098612783, 0.0768465027, 0.0148216151, -0.0258578844, -0.0068422789, 0.0541896559, 0.0400151499, 0.0422334075, -0.0330425575, -0.0265731588, -0.0170605835, -0.0331716239, -0.006533972, -0.0442455821, -0.0181154124, -0.0089584487, -0.0815158263, -0.0521743484, -0.0317949131, -0.0271257181, 0.0230429545, -0.0280739311, 0.0110018598, 0.0822540447, 0.0002684304, -0.0187586043, -0.0517122783, -0.0102022402, -0.0420711599, 0.0073657045, -0.020058332, -6.388055807e-33, -0.0252069663, -0.0659839809, -0.0031815856, -0.0518957414, -0.0141824391, 0.0125737255, 0.0059521166, 0.0109420726, -0.0291156992, 0.021049913, -0.009848441, 0.0268829186, 0.0060511706, -0.0138625847, 0.0273760371, -0.0246242788, 0.0196624771, -0.0125277545, -0.0480137393, -0.0354430042, -0.0179278385, 0.0172053874, 0.0329577625, -0.0079348469, 0.0905117169, -0.0241546594, -0.0028410393, 0.0208077915, -0.0622658171, 0.0530683175, -0.007713289, 0.0738923028, 0.0312478784, -0.0517022274, 0.018410949, 0.087578617, -0.0746630877, -0.0177710876, 0.0564930998, 0.0133299306, -0.0129742604, -0.0041543022, 0.0290550552, 0.0249293689, -0.0567210093, -0.0141465729, 0.0542582497, 0.0103398561, 0.0483799502, 0.0272749607, -0.0453218706, 0.0057998938, -0.0141147664, -0.026881773, -0.0370629318, 0.0846764669, -0.0363260098, 0.0434355363, -0.0468882211, 0.0412770398, 0.0269170459, -0.017859472, 0.043134924, 0.005356228, 0.0229849424, 0.0306654815, 0.0449888632, 0.0485338345, -0.0298225842, -0.0520801172, 0.0121992212, -0.0035876599, 0.0718382001, 0.059439119, 0.0317985155, -0.0047729495, -0.0514473543, -0.0204604268, 0.0177182406, 0.0547496527, 0.0214746892, -0.031206483, -0.0494733043, -0.0586393215, -0.0549341999, -0.0110191312, -0.0200259369, -0.0091838436, 0.0382483453, 0.0094636939, -0.0562726408, 0.003736435, 0.0049953833, -0.0454475582, 0.0043679569, 0.0313894823, -0.0375977233, -0.002304663, 0.0400416777, 0.0239186324, -0.0953241363, 0.0649032593, 0.0223207343, 0.0089301579, 0.0226762835, 0.0339469127, -0.0035113969, 0.0061677895, -0.0532114208, -0.0018126824, -0.0011322227, 0.0042726393, -0.0111504784, -0.0074894903, 0.018013062, 0.0426659696, -0.0088116042, 0.0332408808, 0.0217238739, -0.0310380831, -0.0381036811, 0.0128699224, -0.0138657875, 0.0375829898, -0.0333708152, 0.0075328997, -0.0140208118, 0.0500721931, 0.0115398848, -0.0286028236, -0.011416276, -0.007942332, 2.584e-7, 0.0415424444, 0.057067614, 0.0013148276, 0.0483740494, 0.0167477448, 0.0403312705, 0.007049555, 0.0246254746, 0.0684003532, 0.0068339827, -0.0054342803, 0.0428124703, 0.0135050677, 0.0438664705, -0.0438271686, -0.0220365729, -0.105635047, 0.002894108, -0.0243650004, -0.0091959089, 0.0088975905, 0.0516389124, 0.0143793887, -0.0082095927, -0.0332683139, -0.0283392072, 0.0479228385, -0.0357552618, 0.003297173, 0.0075175911, -0.0109082637, -0.0059115263, 0.0206768755, 0.0484195203, 0.0274219736, -0.0058946013, -0.0045907097, 0.0145375589, -0.008333805, -0.013257483, -0.0196106602, -0.014792731, 0.0022723984, -0.1082131416, 0.0965289548, -0.0337766521, -0.0244701151, -0.0621167198, -0.0162294991, -0.0128001226, 0.0513290763, -0.026678754, -0.0249747764, 0.010529587, 0.029076675, 0.0373428948, 0.0097286487, -0.034756545, 0.0017138907, -0.000696533, -0.0348065384, -0.0889015272, -0.0146246953, -0.0014621133, -0.0249815211, -0.0565255061, 0.0323305763, 2.040320698e-34, 0.0115823578, 0.0450011343, 0.0372244604, 0.0076807342, 0.0318961106, 0.024095837, -0.0075732642, -0.0001654565, 0.046047695, -0.0580397397, -0.0110291177 ]
http://arxiv.org/abs/2312.09736v1
http://arxiv.org/pdf/2312.09736v1
HEAR: Hearing Enhanced Audio Response for Video-grounded Dialogue
2023-12-15T12:20:24
2023-12-15T12:20:24
Sunjae Yoon, Dahyun Kim, Eunseop Yoon, Hee Suk Yoon, Junyeong Kim, Chnag D. Yoo
cs.CL
cs.CL, cs.SD, eess.AS
Video-grounded Dialogue (VGD) aims to answer questions regarding a given multi-modal input comprising video, audio, and dialogue history. Although there have been numerous efforts in developing VGD systems to improve the quality of their responses, existing systems are competent only to incorporate the information in the video and text and tend to struggle in extracting the necessary information from the audio when generating appropriate responses to the question. The VGD system seems to be deaf, and thus, we coin this symptom of current systems' ignoring audio data as a deaf response. To overcome the deaf response problem, Hearing Enhanced Audio Response (HEAR) framework is proposed to perform sensible listening by selectively attending to audio whenever the question requires it. The HEAR framework enhances the accuracy and audibility of VGD systems in a model-agnostic manner. HEAR is validated on VGD datasets (i.e., AVSD@DSTC7 and AVSD@DSTC8) and shows effectiveness with various VGD systems.
[ 0.0176684801, 0.0151888784, -0.0174924452, 0.0312400796, 0.024801923, -0.0091421017, 0.0109912548, -0.0118500702, -0.0033561217, -0.0176566355, -0.0437661558, -0.0152183194, 0.0223071668, 0.0647955686, 0.0147339329, -0.0690566897, 0.0211420953, -0.0525969714, 0.0181650147, -0.0247399099, 0.0295682903, -0.0019921311, -0.072021313, 0.0204134937, -0.0553626902, -0.011075926, -0.028368732, 0.0314970128, -0.0021451758, -0.0014480681, -0.0202212036, -0.0335428752, 0.0401258171, 0.0045337509, 0.0000017303, -0.0225509927, 0.0271117259, -0.0029319683, 0.0041761165, -0.0168987922, -0.0313212834, -0.0063691698, -0.0162822679, 0.0197130721, -0.0258557852, -0.0119122537, 0.0637123808, 0.0608163141, 0.0367728658, 0.0109007061, -0.0205887556, -0.038988933, 0.0159698986, 0.0141222766, 0.0328449868, -0.0347079001, -0.0329901725, 0.0277542733, 0.0352008455, 0.0019263478, -0.0376205109, 0.0639086366, 0.0050507793, -0.0461091027, -0.0025046766, 0.0206457749, -0.0403628759, -0.0033809699, -0.0277900118, 0.0993455946, 0.0999652669, 0.0215792693, 0.0153911905, 0.0176894721, 0.0104654636, -0.0421183743, -0.031077709, -0.0190726798, -0.0346801057, -0.0051108664, -0.0866399705, 0.0294568148, -0.012309554, -0.0257866625, 0.058163885, 0.0111112427, 0.0053511849, -0.0111290039, -0.0115697812, -0.0064088916, 0.0254262872, -0.0165661573, 0.0410552956, 0.018684214, -0.0233143829, -0.0161051936, -0.0248619281, 0.0216712952, -0.0479764082, -0.04698053, 0.0013828859, 0.0486988463, -0.0867893621, 0.0255929064, 0.0215857998, 0.0095078386, -0.0050501977, -0.0523647442, 0.0012830187, 0.0088016484, -0.0387327671, -0.0177458897, -0.0464087091, 0.0095027927, -0.1058202907, -0.0500325486, 0.022496406, 0.0292137545, -0.070596762, -0.0022161838, -0.0175741781, 0.0340649225, -0.0438470282, -0.0039726868, -0.0318784826, 0.05092673, -0.0156873241, 0.0988363549, -0.0015818549, -0.0731298178, -0.0017541067, 0.0135759078, 0.0250375494, 0.0138054518, -0.0013592265, 0.0578206033, -0.0309091005, -0.0100613069, 0.0028711285, 0.0103432294, -0.0334563591, 0.0087837987, 0.0006006627, -0.0159593523, 0.0289289597, -0.0056756558, -0.0288853031, 0.0038275605, -0.0020021712, -0.0065810704, -0.0063354117, 0.0980009735, 0.0314924046, 0.0304424949, 0.082022205, 0.0226019751, -0.0114111342, 0.0419307351, 0.0427541398, -0.0492629595, 0.0218042545, -0.0161055271, 0.0274993852, 0.0250090286, -0.0142970467, 0.0132082663, -0.0328030847, 0.0385054983, -0.0564886257, 0.0106266933, 0.0191962644, 0.0318421721, -0.0238954797, -0.0401281044, 0.0767650679, 0.0075910594, -0.0070091416, -0.0387316756, -0.0092260418, -0.0162714347, 0.0284714531, 0.0296711698, -0.0111444965, 0.0357752331, -0.0114295306, 0.030725535, 0.0045185448, -0.0137726543, -0.063247703, -0.0212105755, 0.010375605, 0.0088821435, 0.017892139, 0.0323370956, 0.0161942039, 0.0024129418, -0.0099764634, 0.034634959, -0.0290200245, -0.0508215316, -0.0053254762, -0.0029562621, 0.0382032618, 0.0525026582, 0.0092935571, -0.0390542783, -0.0327545255, -0.0048230621, 0.0493765213, 0.0503148474, 0.0108452206, -0.0220470391, 0.0526410751, -0.0478330404, -0.0281244535, 0.0140620619, -0.0120299747, 0.0498146005, -0.055518385, 0.0338676572, -0.0083607975, 0.0117759798, 0.0915013701, 0.0002466833, 0.0210938044, -0.0125454348, -0.0130045544, -0.0070327497, 0.0732861534, 0.0498201437, -0.0505163334, -0.0114017008, 0.0363574028, 0.0037020005, 0.0176778827, 0.0477028452, -0.0648728907, -0.025820883, 0.0536500178, -0.0742476657, -0.0090692537, 0.0442278311, 0.0041002682, -0.0378845967, 0.0553903542, -0.0333787985, 0.0084230043, -0.0839341581, -0.0071164584, 0.0357231162, 0.0033226435, 0.0084955692, -0.052738186, 0.0017913471, -0.0229942966, -0.0063669118, 0.0096111018, 0.0188274812, -0.0503863245, -0.0086310906, 0.0400774777, -0.0234945733, 0.0377119891, -0.0292258356, 0.006625691, -0.0455338508, 0.0105317505, -0.0853566378, -0.0294741821, -0.0108504584, 0.0020962313, -0.0194365624, 0.0061442279, -0.0160659011, -0.0829493701, -0.0282043535, 0.0262318105, 0.0493701808, -0.0067171748, -0.0493304394, -0.001861938, 0.0271151941, -0.0265510119, 0.0078700092, 0.0512949824, -0.0232853442, -0.0169481207, -0.0133393882, -0.0062839701, -0.0445988551, -0.020892242, 0.0658844113, -0.0124611659, -0.0330250412, 0.0281316992, 0.0252341516, -0.00125412, 0.0023516249, -0.00829113, 0.0238475613, -0.0184952039, -0.0292974934, -0.0073257093, 0.0566900074, 0.0210035034, 0.0311183836, -0.0213109422, 0.0698816553, -0.0551193058, -0.0238532405, 0.0338842757, 0.0570856892, -0.0531446114, 0.0173348244, 0.0164701659, -0.0473804809, -0.039914269, -0.0295075476, -0.0584891737, 0.0161872841, -0.0165982582, -0.0213712901, 0.0197333135, -0.0538828708, -0.0650910288, -0.0274869408, -0.0075492435, 0.0025177221, 0.0405614562, -0.0517081842, -0.0155450823, -0.010472523, -0.0588273369, -0.0408341065, -0.0190033074, 0.0086914701, -0.0460879952, 0.0525855049, -0.0328394994, 0.0072967261, 0.0095482655, 0.0021624658, -0.0423892997, 0.0197939202, -0.0534757301, -0.0186183359, -0.059167061, -0.0174264014, -0.036675252, 0.0341822878, 0.051821813, 0.0484525599, 0.0274231527, 0.0198132191, -0.0265318137, 0.0520354509, 0.0429824851, 0.0375951044, -0.0258607883, 0.00009818, 0.0794003829, 0.0389087088, 0.0236364417, -0.0526661687, -0.0254308004, 0.0128634907, 0.0544630513, 0.0603151172, -0.0093676103, 0.0221333299, 0.0592552572, -0.0352153853, -0.0115298275, 0.0692465529, -0.0067465222, -0.0089563271, 0.0006801216, -0.017817663, -0.0047693849, 0.0393202826, -0.0096013052, -0.0577318184, -0.0419343039, 0.0463389866, 0.0207687672, 0.0331396535, 0.0481799059, -0.0093840072, -0.0607573837, 0.0626334175, 0.0240298044, -0.0354639664, -0.0633382499, 0.0243891645, 0.035106346, 0.0085901218, 0.0546250939, 0.0139713474, 0.0010789013, 0.0094971415, 0.0249686483, -0.017880436, -0.0200171843, -0.0034716111, 0.0001242312, 0.0921008661, 0.073368825, 0.0296703856, -0.0045046778, -0.0396441929, 0.0035783965, -0.0174618512, -0.003475588, -0.0075914091, 0.0434898399, -0.0008285771, -0.0302154999, 0.0167094804, 0.043332424, 0.016581038, -0.0043615056, 0.0695707425, 0.0443695448, -0.0506185517, 0.0346619636, -0.0564943664, 0.0569265895, 0.0490440018, 0.0556052513, 0.0194528122, -0.0428705588, 0.0197401084, 0.0044207294, -0.0395963341, -0.0276370738, -0.0155232111, 0.0016164746, 0.005028211, -0.0089083435, -0.0475654602, -0.0226812195, 0.0209418684, 0.0469283685, -0.0067064161, -0.0165987927, 0.0102723418, 0.0556307472, -0.0116265044, 0.0217718631, 0.0112360194, 0.0274036787, -0.0415457338, 0.0086535094, 0.015119859, -0.0844098404, -0.0134309651, 0.0394140854, 0.0315674692, -0.0573773533, -0.0096499808, 0.0017945372, 0.0240159985, 0.0629250333, -0.0005560515, -0.0316542946, -0.0117783817, -0.0026171769, -0.0310582276, 0.0245367065, 0.0595256165, -0.0136354789, -0.0245895404, 0.0267078392, -0.0342275836, 0.0625237375, -0.0156309754, 0.0239939746, -0.0149794063, -0.0663733631, -0.0365081839, -0.0186660904, 0.0573404096, 0.0284628198, -0.0076037575, -0.0242356732, 0.0449146815, -0.0334065408, 0.0602360442, -0.0868654698, 0.0200978871, -0.0303571243, 0.0092288842, -0.0199114885, -0.0318662114, -0.053200312, 0.0409537219, -0.0202270802, 0.0316271335, 0.0121179363, -0.0237134453, -0.0048614638, -0.0097774062, 0.0482868142, 0.027025139, 0.0243505053, 0.008630299, 0.0405247882, 0.0889610797, -0.0203784481, -0.0645106882, 0.0305992439, 0.0236019231, -0.041323889, 0.0202964935, 0.0015165865, 0.0522553697, -0.0177975334, 0.0035399157, -0.0112434197, 0.0361084789, 0.0046968088, -0.0350429937, 0.0492990613, 0.0193019621, -0.0231160149, 0.0487527288, 0.0044408701, -0.0342825428, 0.0040057772, 0.0009439562, -0.041343201, 0.0123336762, -0.0431975536, 0.0435109809, -0.0329236053, -0.0390107892, -0.0398434103, 0.0548013039, -0.0328280814, 0.0624587089, -0.016674839, -0.0478130952, -0.0317933261, 0.0146319829, 0.0030459901, -0.0299206376, 0.0242858436, -0.0150400093, 0.0249191094, -0.0117244087, 0.0040948116, -0.0479980558, -0.0607098639, -0.0214767233, 0.0062746033, -4.900601418e-33, -0.0263513252, -0.0118756918, 0.0070072818, -0.0086408015, -0.0243351627, 0.0081988182, -0.0348676406, 0.0288282, -0.0173176844, 0.016186744, 0.0156509578, 0.0238002893, 0.0175052229, 0.0283062682, -0.0242011417, -0.0135485129, 0.0669552311, -0.033059746, 0.0074429722, 0.0107772322, 0.0335105173, 0.0187689159, 0.012800212, -0.1071434319, -0.0176269263, 0.0210788976, -0.0339457244, 0.007501665, -0.0027645139, 0.0500296615, 0.0141104301, 0.0327381827, -0.0158019941, -0.0244339723, -0.0131914243, 0.0382177159, -0.0667158291, 0.0119322194, 0.0339638963, 0.0619089603, -0.0244473331, 0.037174128, -0.0129741579, 0.0239815228, -0.0148483114, -0.0573969819, -0.0022652955, -0.0326702595, -0.0242735744, 0.0266012885, -0.0204980541, 0.0061941925, -0.0363048464, -0.0634656325, 0.0234606508, 0.0781968459, 0.0293546766, -0.0396458693, -0.0434079766, 0.0447050184, -0.0392601453, -0.0409141555, 0.0602173842, 0.0024209218, -0.0264011826, 0.0360139273, 0.0281192586, -0.1017611325, -0.0443629175, -0.0730558708, -0.0066367509, 0.0318256468, 0.0179584529, 0.0320608281, -0.0203258507, -0.0439660028, -0.0043870765, 0.0028103443, -0.0089288363, 0.0215136465, -0.0077575753, 0.0465943553, -0.066090852, 0.0399814174, -0.0321505219, 0.0157213435, -0.0369717441, -0.0260112919, 0.0609409064, -0.0040141218, 0.0004642406, 0.0068043489, 0.0809655339, -0.0357974619, 0.0632899478, 0.0276637934, -0.0176319014, 0.0204138942, 0.0067859488, 0.0284767691, -0.0062928097, 0.0317494795, 0.1026507467, 0.0238805823, -0.0064791413, -0.0312997848, -0.0295408033, 0.0349859595, -0.0471436977, -0.0233772192, 0.0140504204, 0.0644811615, 0.0193167161, 0.0582482181, -0.0066398382, -0.003978393, -0.041917149, 0.0403448753, -0.0346274078, -0.0467305407, -0.0437696613, -0.0651334003, -0.0233288612, 0.0210913196, -0.0659842417, 0.022531284, 0.01958769, -0.0777742043, 0.0091167111, -0.0304616857, -0.0280841142, 0.0159534067, 2.538e-7, -0.0632613078, -0.0352354087, 0.0076984013, -0.036920011, 0.0411225595, 0.0612745956, -0.0054291971, 0.039301116, 0.0189386271, -0.0241962243, 0.0275908895, -0.0119679058, 0.0789036378, -0.0207184646, -0.0636614636, -0.0358138829, -0.0555247068, 0.0141496332, 0.0124519235, 0.052809421, 0.059431497, 0.0549521334, -0.0077489004, -0.012692485, 0.0200844891, -0.0047591878, -0.0022572053, 0.0055278866, 0.008406614, -0.0539287627, 0.0602685325, -0.0354554355, -0.0112269418, 0.0078814719, -0.050915435, 0.0059662918, 0.0293833967, 0.0631460696, -0.0251575392, -0.0885223597, -0.0597992949, 0.0869664997, 0.0176407639, 0.0219430365, 0.055760134, 0.043525327, -0.0289287474, -0.0197370853, -0.0463012159, -0.031156553, -0.037715286, 0.0260562431, 0.0043049436, -0.0168506801, 0.0038171532, -0.0231176801, -0.0140307825, -0.0630841181, 0.0177997835, 0.0027240799, -0.0588731468, -0.0237793755, 0.0064374851, 0.0039542513, 0.0295945406, -0.0172547176, -0.0434089452, 1.174361445e-34, 0.0150310043, 0.0032826257, 0.0173503235, 0.0122505883, -0.012084323, 0.0001440808, 0.0290926155, -0.0055652629, 0.0370955952, -0.0072434018, -0.0266291164 ]
http://arxiv.org/abs/2312.09718v1
http://arxiv.org/pdf/2312.09718v1
Discovering Highly Influential Shortcut Reasoning: An Automated Template-Free Approach
2023-12-15T11:45:42
2023-12-15T11:45:42
Daichi Haraguchi, Kiyoaki Shirai, Naoya Inoue, Natthawut Kertkeidkachorn
cs.CL
cs.CL
Shortcut reasoning is an irrational process of inference, which degrades the robustness of an NLP model. While a number of previous work has tackled the identification of shortcut reasoning, there are still two major limitations: (i) a method for quantifying the severity of the discovered shortcut reasoning is not provided; (ii) certain types of shortcut reasoning may be missed. To address these issues, we propose a novel method for identifying shortcut reasoning. The proposed method quantifies the severity of the shortcut reasoning by leveraging out-of-distribution data and does not make any assumptions about the type of tokens triggering the shortcut reasoning. Our experiments on Natural Language Inference and Sentiment Analysis demonstrate that our framework successfully discovers known and unknown shortcut reasoning in the previous work.
[ 0.0671205744, 0.0164576899, -0.0064113457, 0.014416826, -0.0406875275, 0.0278472248, -0.0403094515, 0.0246199649, 0.0076087723, -0.0674207881, 0.0093371654, 0.0477771834, 0.0176051334, 0.0030288156, 0.0487803631, -0.0295952857, 0.0107086403, -0.0128716333, 0.0217596889, 0.0115116592, 0.0090007912, 0.0210937411, -0.0091997413, 0.0579325408, 0.0142324194, -0.0308625251, 0.0226889215, -0.0120401699, 0.0132942973, -0.0056392737, -0.0352081321, 0.0514199063, -0.0378643051, -0.0000739321, 0.0000019806, -0.0590605997, -0.022757519, -0.0283304974, -0.0077944403, 0.0097063193, -0.0316277668, 0.0424221344, 0.0127353882, 0.0097387722, -0.0124257803, 0.0065090228, 0.0356072523, 0.0752679482, 0.0240390636, 0.042750854, -0.0230849721, -0.0056148004, -0.0582104251, -0.0074099889, -0.0293974895, -0.0626869276, 0.0508745313, -0.0596992522, -0.0189883038, 0.0078779571, 0.0023686143, -0.0120017948, 0.0062215542, 0.0101186158, -0.032961905, 0.0251369681, -0.0006511382, -0.0263244044, -0.0174838938, 0.0375345685, 0.001815779, -0.0467900187, 0.0522816777, 0.0012599811, 0.0346119218, 0.041616071, -0.0506574474, -0.0231652651, -0.0301546063, -0.0168754887, 0.0362076201, -0.0000093375, 0.0349259675, 0.0195849948, -0.0214425642, 0.0364003479, -0.0185865089, 0.015693387, 0.0293591842, -0.0630526617, -0.0438785106, -0.0812948793, -0.0069385269, -0.0004476359, 0.0151780564, 0.0231721252, -0.0201871898, 0.029456187, 0.0440723002, -0.0677015707, -0.0316607058, -0.0000130896, 0.0358752683, 0.0461214669, -0.0692764446, -0.009073792, -0.0461421236, -0.0077186376, 0.0642297566, 0.0073895045, -0.0600500368, -0.0299652927, 0.0141413128, 0.0266481936, 0.0070203398, -0.005545144, -0.032004673, 0.0119877374, -0.0764198303, 0.0159746446, -0.0348631926, 0.0229110233, 0.0439688042, -0.0068601421, -0.0405088663, -0.0015571944, -0.0636026785, 0.0486842021, -0.0218359157, 0.0040488667, -0.0050375392, 0.0445518456, -0.0095668212, -0.010087057, 0.009479437, 0.0858863741, 0.0187887866, 0.0094231572, -0.1011454314, -0.1002115086, -0.0355925821, -0.0235578921, -0.0013662472, -0.109748669, -0.0362461992, 0.0452560335, 0.0006607537, -0.0387251414, -0.0076945955, 0.0340730175, -0.0882009715, 0.0725503713, -0.0105478028, 0.0094183674, -0.0089796139, 0.0034739489, -0.0002472874, 0.0669310838, -0.0377202071, 0.0603693165, 0.0306639671, -0.02193732, 0.0346691944, 0.0271741934, 0.036498148, 0.0183240436, 0.001607586, 0.0531877391, -0.0582539588, -0.0276386049, -0.0290192477, 0.0422019549, -0.0179449562, 0.0162178837, -0.0036396582, 0.0342137963, -0.0145306597, 0.0489525832, 0.0204331279, -0.0424762703, -0.0388405696, 0.0106616914, -0.0536155738, 0.0147415008, -0.0434229895, -0.0488278754, 0.0373219326, 0.0081718042, -0.0074131521, -0.0236436743, -0.039145086, 0.0007448967, 0.0123833893, -0.0211024396, 0.0499080271, 0.0229433589, -0.0335991606, 0.0617561266, 0.0010909518, 0.0189387482, -0.0376416035, -0.0500518642, -0.0078183524, 0.0296257399, 0.0470048115, 0.015093809, 0.0305022392, -0.0095999232, 0.0280634314, -0.0408694446, 0.0316207558, -0.0043092296, -0.0325327888, 0.003549078, 0.0117880255, 0.0141100306, 0.0194523707, -0.002102986, 0.0187941175, 0.0059569562, -0.0055514639, -0.0608331859, 0.0304721463, 0.0078328792, 0.0599655025, -0.0414013825, -0.0350711495, 0.0630277321, 0.0224631764, -0.0053541823, 0.0145535199, -0.0047651595, 0.0025548169, 0.0037359002, -0.049053967, 0.0141659733, -0.0026660722, 0.010777276, 0.0041444292, -0.060448233, -0.0677281246, 0.0134667289, -0.0091410093, -0.006221795, 0.0176929403, 0.0081261331, 0.0110520413, 0.0041085421, 0.0187594295, 0.0004258282, -0.0202717949, 0.0066840602, 0.0767758638, 0.0058678365, 0.0294458941, 0.0213826746, -0.0193585511, 0.0406559706, 0.0207378212, 0.0078373989, -0.0124466876, -0.0372839496, -0.0375152119, 0.0164874885, -0.0378931165, -0.0385339186, -0.0183056816, -0.0298667997, -0.0367566571, 0.0138102677, 0.024399193, 0.0521260574, -0.0073496038, -0.0240413584, 0.0281940252, 0.0375498384, -0.0682323352, -0.0263204165, 0.0551237874, 0.0384671055, -0.0059800334, 0.0200430863, -0.0116541581, 0.0153696565, -0.064954482, 0.0515233837, 0.0145279123, -0.0062648924, -0.0064140186, 0.0130049977, -0.0096783433, -0.0224670209, -0.02574539, -0.0463805906, 0.0163255166, 0.0414164811, 0.0376148857, 0.0890356451, -0.010750086, -0.0068702204, 0.0257283486, 0.0055460879, -0.037213631, -0.022499403, -0.0363943987, 0.0153732579, -0.0403765552, -0.0170753133, 0.0358534455, 0.074768737, 0.00882331, 0.0077334959, -0.0512014106, 0.054684639, -0.0067183902, -0.000399481, -0.0162010547, -0.0375185199, -0.0009333255, 0.055914782, -0.0027209048, -0.0216621999, 0.0726722553, -0.0087630665, 0.043247778, 0.0287200119, 0.009680816, -0.0292489734, 0.0397363938, -0.0529626869, -0.0219592061, 0.0179274101, 0.0013337, -0.0469530746, -0.0736554414, -0.0146290706, 0.0133785401, 0.0670505613, -0.0390499793, -0.0054611717, 0.0393779129, -0.0228005759, -0.0061453879, -0.0644064471, -0.0621275492, -0.0491521284, 0.0827297717, -0.0557100996, 0.0275465492, 0.0203692615, 0.0223750621, 0.0064464547, -0.0260316879, -0.0380511321, 0.0082983337, -0.0185084846, 0.0464657955, -0.0657822713, 0.0874942914, -0.0077126492, 0.0270835813, 0.0945953876, 0.0201691519, -0.0041623251, -0.01563216, -0.0269979071, -0.0220083687, -0.006969389, 0.0266066995, 0.0135930171, 0.0372617617, -0.0159522723, 0.0054533975, 0.0742896721, 0.0526276715, -0.0354914814, 0.0417240411, -0.0021322696, 0.0447890274, 0.0308674108, -0.0128824953, -0.0407864079, -0.0733373091, 0.0239883084, 0.0374097787, -0.1006715968, -0.0398687199, 0.0195647031, -0.0958653837, 0.0266512707, -0.0253030993, 0.0239971634, -0.0132486317, -0.05947382, 0.0686841011, -0.0081946077, -0.0810092986, -0.0202744827, -0.0045693917, 0.0155400988, -0.0170976184, -0.0727797747, -0.0229229406, 0.0638628453, 0.0002500056, -0.0030095412, -0.006637515, 0.0690186545, 0.0082974983, 0.0144515727, 0.0384795852, -0.0128545398, 0.0043744366, -0.0409607999, 0.0757148489, 0.0075920941, 0.0130634597, -0.0223043971, 0.065268077, -0.0665303916, 0.0081273708, 0.0498246439, 0.0598988235, -0.0225287806, -0.0499757268, 0.0021347445, -0.0021527009, 0.0045383978, 0.0604270026, 0.0353224985, -0.0062317951, -0.0307220668, -0.0451982692, -0.0414484181, -0.0252608713, -0.0766128525, -0.0525780469, 0.0105371987, -0.0320406407, -0.0403722152, -0.0034245283, 0.0497866236, 0.0399471, 0.0077985874, 0.0033924906, -0.0189321768, 0.0043886495, -0.0019676345, 0.0100778295, 0.024637077, 0.020244481, -0.0142809665, 0.0380371772, 0.0385723151, 0.0469406322, -0.0206328705, 0.0218782779, -0.0175896026, -0.0466764979, -0.0164592769, 0.0420087874, 0.0306127947, 0.0051866816, -0.0140567767, -0.0241218526, 0.0047372188, 0.0741414204, 0.0314488709, 0.0066477652, 0.0243284218, 0.0062114764, 0.0266121235, 0.036641486, -0.007859204, -0.0308493339, 0.0321745984, -0.0211100578, -0.0465484522, 0.017111849, 0.0219817795, -0.0355299935, 0.0390595421, 0.0081844497, -0.0375489369, -0.0004854674, -0.0189692806, 0.0203399584, -0.0298423599, 0.0370141231, 0.0210051555, -0.0379333012, 0.0450655296, -0.0241315085, -0.0543836616, 0.0047601066, 0.002835806, -0.0097054364, 0.0366833806, 0.0589138977, 0.0253223311, 0.0340345763, -0.032393381, 0.0081038428, -0.0248763412, 0.0066939546, 0.0462683402, -0.0309188403, 0.035545364, 0.0511001013, -0.0032309399, -0.0013016745, 0.0047776313, -0.0352867171, -0.0689959154, 0.0484340973, 0.0044271471, 0.0042329626, -0.059082374, -0.0003177038, -0.0188577194, -0.0104138916, 0.0139097134, -0.0111262919, -0.0238844864, -0.003507528, -0.0125590945, 0.0237258542, -0.0337637179, 0.0066915154, 0.0134856328, -0.0453137495, 0.0099121034, 0.0124488799, -0.0395348482, -0.0233766492, -0.0373213515, 0.0110510169, 0.0292254705, 0.0352579989, -0.0116075715, -0.0926251039, -0.0740233138, 0.0246968009, -0.0093873795, -0.0218037385, -0.0080351112, 0.0105015915, 0.1051787883, 0.0377008729, 0.0109803043, -0.0235345289, -0.0178972129, -0.0072957091, -0.0017442754, -0.0633291155, -6.491785837e-33, 0.0437385216, -0.0815623552, -0.0549005792, -0.0048003974, 0.0485679395, 0.0030075861, -0.0105275055, -0.0084418766, -0.0129588833, 0.0074795638, -0.0091390405, 0.0334976763, -0.005516714, -0.0430834703, 0.0219906196, -0.0221891124, 0.0112932539, 0.0132654812, -0.0726777241, 0.0144938082, 0.0922274441, -0.0131435907, 0.0173463784, -0.1053828821, 0.0236247331, 0.0306911394, -0.0148462085, 0.0018676221, -0.03093425, 0.0416718721, 0.0515401103, 0.0149524203, 0.0239360612, -0.0511571392, 0.0416925214, 0.0505318493, -0.0187766366, -0.0341100357, 0.0513952225, -0.0416997299, -0.0006078733, -0.025367368, 0.0537484884, 0.0258520935, -0.0194110945, -0.0224821586, 0.0651562586, -0.029424157, 0.0280887149, -0.0220074002, -0.0618647635, 0.0150964027, -0.0412162803, -0.0045422302, -0.0529423393, 0.0176712479, -0.0142990239, 0.0345554054, -0.0572697669, 0.0151449461, 0.0359462462, 0.0105333552, 0.0326832272, 0.0133520262, 0.0407868363, 0.0487598144, -0.0353417844, 0.0454096794, -0.0045115333, 0.0159849115, 0.0029926617, 0.0576573499, 0.0643349811, 0.0576015636, 0.0590917319, 0.0065662782, -0.040712256, -0.0181962736, 0.0040887473, 0.0143442135, 0.0596704297, -0.0460074022, -0.058742404, -0.0295674857, -0.0360351466, -0.0098936055, -0.0048151496, -0.0293055903, 0.0042665033, -0.0134849679, -0.0115392972, 0.009593497, -0.0112306913, -0.0313863792, -0.0325592458, 0.0017317093, 0.0190226622, 0.0093429573, 0.0207712948, -0.0257602967, -0.0337961838, 0.0068834173, -0.0159034133, -0.0362978801, 0.0681456402, 0.0057349564, 0.0162695125, -0.0076118866, -0.0687634647, -0.0306929685, -0.0151378531, 0.0118782548, -0.0381770618, -0.0169634931, 0.0375565588, 0.0368523896, 0.0083639324, 0.0158900339, 0.048220668, 0.0381444357, 0.0037159701, 0.028010251, -0.0777975693, 0.0048557953, -0.0301001463, -0.0540717915, -0.0176116377, 0.001537937, -0.0085652359, -0.0667588189, 0.0024655054, -0.0013220379, 2.707e-7, 0.029405687, 0.036761146, -0.0113165276, -0.0062346286, 0.0178111419, 0.0585051663, 0.0276938602, -0.0189605076, 0.0333727449, -0.0608160719, 0.0004671226, 0.0090435632, 0.0043513086, 0.0073388382, -0.0919967666, 0.059044078, -0.0418916307, 0.0263887048, -0.03040893, 0.0212134104, 0.0745307505, 0.0727578551, 0.0300286878, 0.0097677642, -0.0315474793, -0.0364813432, 0.023188768, -0.027167432, 0.0380006172, 0.0156352222, 0.0189881716, -0.0053470591, 0.0442219451, 0.0574420691, -0.0035364928, -0.0130104413, -0.0331986248, -0.0003947767, 0.0064234175, -0.0612469204, -0.0268477201, -0.0172650851, 0.0196819771, -0.0486570932, 0.0874122232, -0.1369599849, -0.033650849, -0.0220880229, -0.0043255463, -0.0067469431, 0.0030126497, 0.0289766714, -0.0081803305, 0.0313898176, -0.0307020154, 0.0136044296, 0.0232853945, -0.0879562348, -0.0190411266, -0.0367185995, -0.0052569909, -0.0363795571, -0.0003435549, 0.0012560776, 0.0039386726, -0.0056181857, -0.0179676395, 2.545618194e-34, -0.008420282, 0.0075968751, 0.0072824438, 0.0082782088, 0.0594209135, -0.0014575289, -0.0120944977, 0.0209763926, 0.021039065, -0.0312317666, -0.0087212306 ]
http://arxiv.org/abs/2312.09670v1
http://arxiv.org/pdf/2312.09670v1
Probing Pretrained Language Models with Hierarchy Properties
2023-12-15T10:31:36
2023-12-15T10:31:36
Jesús Lovón-Melgarejo, Jose G. Moreno, Romaric Besançon, Olivier Ferret, Lynda Tamine
cs.CL
cs.CL, cs.IR
Since Pretrained Language Models (PLMs) are the cornerstone of the most recent Information Retrieval (IR) models, the way they encode semantic knowledge is particularly important. However, little attention has been given to studying the PLMs' capability to capture hierarchical semantic knowledge. Traditionally, evaluating such knowledge encoded in PLMs relies on their performance on a task-dependent evaluation approach based on proxy tasks, such as hypernymy detection. Unfortunately, this approach potentially ignores other implicit and complex taxonomic relations. In this work, we propose a task-agnostic evaluation method able to evaluate to what extent PLMs can capture complex taxonomy relations, such as ancestors and siblings. The evaluation is based on intrinsic properties that capture the hierarchical nature of taxonomies. Our experimental evaluation shows that the lexico-semantic knowledge implicitly encoded in PLMs does not always capture hierarchical relations. We further demonstrate that the proposed properties can be injected into PLMs to improve their understanding of hierarchy. Through evaluations on taxonomy reconstruction, hypernym discovery and reading comprehension tasks, we show that the knowledge about hierarchy is moderately but not systematically transferable across tasks.
[ 0.0444827378, 0.0440071411, -0.0428886339, 0.0536815301, -0.0074320151, 0.0270939823, -0.0222190022, 0.0514458269, -0.0066959891, -0.0623418912, -0.0752567574, -0.0388861075, -0.0276487768, -0.005036077, -0.0019941209, -0.0271514487, 0.0647258013, -0.0001445459, -0.0041124322, 0.0271409545, -0.0457277559, 0.0030548368, 0.0227638632, -0.0132940849, 0.003776296, -0.0092991199, 0.0074133794, 0.0382927246, 0.0004137083, -0.0436795615, 0.0351883285, 0.0347440206, 0.0591108203, 0.0485691614, 0.0000018428, -0.0416579768, -0.023598684, -0.0226783566, -0.0130102001, 0.0131080011, 0.0584822632, -0.013754027, 0.0441835187, -0.0478382036, -0.008097318, -0.0349767394, -0.0109203076, -0.0040764227, -0.0001014428, 0.0374643952, 0.0005542047, -0.0275329389, 0.0486789346, -0.0142269935, 0.0323983021, -0.0544091724, 0.0038722209, 0.0117583005, -0.0331389494, 0.0514076501, -0.002472769, 0.0214757677, -0.0207141992, 0.0130915465, 0.0325475074, 0.0211551655, 0.0317240134, -0.0093947928, 0.0145063121, 0.0325102769, -0.016881153, -0.027269654, -0.0025389499, 0.0150262248, -0.0164415333, 0.030964097, -0.0324702375, 0.0236812606, -0.0337561071, 0.0046625165, 0.0564930327, 0.0219712686, 0.0235241689, 0.0375903249, -0.0202931799, 0.1282730252, 0.0348060206, -0.042428866, 0.0235391818, 0.0286280401, 0.0083695864, 0.0029190686, 0.0102863088, 0.013820977, -0.017659938, 0.0418348759, -0.0018916036, 0.0060876901, 0.0355413742, -0.0314861126, 0.0120081725, 0.0224973131, -0.0214322358, 0.043088723, -0.035670884, 0.0379261412, -0.0205854252, 0.0263411477, -0.0472189225, -0.0291215051, -0.0513260253, -0.0336545482, -0.0479968861, 0.0453931801, -0.0221127123, -0.0142936902, -0.0123581197, 0.0279225856, 0.0246920716, -0.037172392, -0.0185208339, -0.0059379158, -0.05527962, -0.0108172614, -0.0660656318, 0.0196576472, -0.0316443667, 0.0208935998, 0.0059453193, 0.0026330457, 0.0130748758, 0.0175857823, 0.00590894, -0.0138340518, 0.0174680464, 0.0578271747, 0.0073580458, -0.0663969293, -0.0417105034, -0.0369495004, 0.0128552727, -0.0341463201, 0.0424572192, -0.0299558751, 0.0077440455, -0.0138683636, 0.0053915964, -0.0038670979, 0.0163475368, 0.0286819339, -0.0606225803, 0.072163716, -0.0297629554, 0.0009346606, 0.0326071829, 0.0184207484, -0.0392621048, 0.0527723245, 0.0103773577, 0.0114635192, 0.0942027643, -0.002203519, -0.0162825733, -0.0149894943, 0.005423076, -0.008852629, -0.0182004161, 0.00380195, -0.0733684599, 0.0209576804, 0.0744668394, 0.0380124822, -0.0215806048, 0.0002104736, 0.0468092375, 0.0946377069, 0.0329401717, 0.0028475104, 0.0453286171, -0.0332693867, -0.0196626838, 0.0535391569, -0.0310847536, -0.0156703573, -0.046924077, 0.0263155699, -0.0097461892, -0.0018793263, -0.0246482939, -0.039160952, -0.0312277749, 0.0424023159, -0.0154508324, 0.0017827995, 0.0810713768, 0.0292897318, 0.0043165064, 0.0456695333, 0.0581174046, -0.0709724054, 0.0445779748, -0.0379977562, 0.0173005089, 0.0830252543, 0.0427690335, -0.0650407076, -0.0017027281, 0.0615081489, -0.0222706515, 0.0161290839, -0.0139703136, -0.0407118909, 0.0201545991, -0.0284046642, -0.0043482762, 0.0247038379, 0.0360675827, 0.0082212705, 0.016273139, -0.032323502, 0.0429553539, -0.0814198405, -0.0129326712, 0.0600544177, -0.0328235887, -0.015175553, -0.0222200397, 0.011033278, -0.0193073936, 0.0021194536, -0.0241545439, 0.0073877722, 0.0414186195, -0.0230480693, -0.0318367891, -0.0444389619, -0.0537968092, -0.057687223, 0.008967557, -0.0078281732, 0.014452178, 0.0338111632, -0.0051826877, 0.0047731297, -0.0152834253, 0.0089610526, 0.0614129379, -0.0658478588, 0.0413854122, -0.0257195607, -0.0489407964, -0.0607728772, 0.1094209105, 0.0014357204, 0.0607466735, -0.0062306575, -0.0015310867, -0.0238640849, -0.0126649821, -0.0455220826, 0.0147466166, -0.0000226719, -0.002302943, 0.0139003973, -0.0005547288, -0.0640110746, 0.0183043759, -0.0895087346, 0.0344665907, -0.0184542276, 0.0388114005, 0.0044267266, -0.0191196837, 0.0019440213, -0.0256565195, -0.0045981738, 0.063048169, -0.0320855603, 0.0356264077, 0.036689993, -0.0151067264, -0.0066875876, -0.0586533882, -0.0579069518, -0.0187996197, 0.0701607242, -0.0074458071, 0.0178173464, 0.0042444086, 0.0081752501, -0.059947215, 0.0225595422, -0.0155248186, 0.0003014291, 0.0056460775, -0.0403980203, -0.0003947169, 0.0554807447, 0.0270510316, -0.0074454024, 0.053809125, -0.0009249054, -0.0206160303, -0.0059775664, -0.0355542563, -0.036442969, 0.0094101867, -0.0060669254, -0.001165343, 0.0872453302, -0.014401258, -0.0324482918, -0.0079880906, -0.0038217232, -0.054847043, 0.0179173313, -0.0620460808, -0.0235251933, -0.0104366289, 0.0705217719, -0.045506306, -0.0710429028, 0.0528917611, -0.0403056629, -0.0167380515, 0.0045449948, -0.0164042264, -0.0384544618, 0.1342772394, 0.0046576816, 0.0415464453, 0.0302968137, -0.0750008076, -0.0410274938, 0.0570617765, 0.0207970757, -0.0410473421, 0.0133231804, -0.0424708314, 0.019892754, 0.0185873844, -0.0068607773, -0.0237596538, -0.0089564035, 0.0056832861, 0.0361211151, -0.0053781783, 0.0015533819, 0.0126554668, -0.0043125344, 0.0053869057, 0.0422006808, 0.0112238806, -0.0392331369, -0.0106452992, 0.0728461519, 0.0246074926, -0.034960974, -0.0112795196, -0.0012321325, -0.0090039596, 0.0144109568, 0.0334824733, -0.028408438, 0.0089631742, 0.0093748625, 0.0351701155, -0.0517613962, -0.0375970118, -0.0262933411, -0.0347495601, -0.0515446663, -0.0283929091, 0.0970489085, 0.0410835035, -0.0375848673, 0.0133402282, -0.0216976125, 0.0212659761, 0.0467444248, -0.0089288102, -0.0586337335, 0.0116461953, 0.0249919165, 0.0196563601, 0.0048877057, -0.0445410796, 0.0440582559, -0.0881473944, -0.0011012723, -0.0119393943, -0.024696108, -0.0103946757, -0.0177670196, 0.0067676636, 0.0200373419, 0.0238266867, 0.0459610112, -0.0286007468, -0.012734809, -0.0032754594, 0.0016744083, -0.0213706978, 0.0553336479, -0.0495409817, 0.0019804877, 0.0272000842, 0.0410294943, -0.0026092744, -0.0188775975, 0.0180118289, -0.0467048548, -0.0002060619, -0.002055458, 0.0163008478, -0.0295918416, 0.0193490479, -0.0031055675, -0.0448260605, -0.0210858788, 0.0268798154, -0.0332159363, 0.0334943719, 0.0003574157, -0.0217350628, -0.0288486704, -0.0266358126, -0.0195365455, 0.0887416452, 0.0141436588, 0.0082856165, 0.001692548, 0.0013709572, 0.0301118921, 0.0208805129, -0.0234281458, 0.0514904782, -0.0183063, -0.0293097328, -0.0947438776, -0.0507620946, -0.0155315707, 0.030837819, -0.0149687324, 0.0184334833, -0.0053917747, -0.024131665, -0.0761873052, 0.0468117036, -0.0282040536, -0.0450314134, -0.0121651608, -0.0228070896, 0.0706598014, 0.0260736719, -0.0451647863, -0.0235193949, -0.0103192749, -0.0374864452, -0.0320253968, 0.0173386727, 0.0199614372, 0.00828919, -0.0146643957, -0.0434533544, 0.0374446549, -0.0295870584, -0.0467658862, 0.0238403566, 0.0142729599, -0.0041505867, -0.0101082996, 0.0571663901, -0.0690489635, 0.0314078256, -0.0000438378, 0.0763877258, 0.0427068435, -0.0623082034, 0.0292941313, -0.0223783832, 0.0972160846, -0.0381864421, -0.0353513919, -0.0489582121, 0.0030055116, -0.056415882, -0.0411615521, -0.0118400548, -0.0227610674, 0.0451530963, 0.0152724152, -0.0154609745, -0.0205640309, -0.0152999349, 0.0729858205, -0.0270669069, -0.0436913483, -0.0152783655, 0.0187291857, -0.01197071, 0.0211768709, -0.0462548025, -0.0173166022, -0.0328025185, 0.0405148268, -0.0327960663, 0.0319411941, 0.0073853303, -0.0213750005, -0.0639189482, 0.0276907049, -0.0634762496, 0.0031365212, -0.0209372193, 0.0086898822, 0.0644226968, -0.0238325, 0.0168108251, -0.0418373458, -0.0111098886, 0.0014735089, -0.0141240172, 0.0122039774, -0.0498493649, 0.011999975, 0.0267434493, 0.004277539, 0.0279274527, 0.0952270553, 0.0608615763, 0.0220412649, -0.0219799224, -0.0417900719, 0.0102477064, 0.0109501099, 0.0241710562, 0.0703159943, -0.0281497668, 0.0191090908, -0.0652919933, -0.0667857453, 0.0193101633, 0.0220289342, 0.00509253, -0.0034271425, 0.050044395, 0.0966501683, -0.0022202283, -0.0452681407, -0.045651421, -0.0113331014, -0.0381844938, 0.0291782226, -0.0390128717, -6.601892923e-33, -0.0658334196, -0.0522739738, 0.0077192308, -0.0262409095, -0.0143377092, 0.0462556593, -0.0480675958, 0.0179319736, -0.0254561435, 0.0233114567, -0.0177774522, 0.0003565049, -0.0126860812, 0.008115625, 0.0292681623, 0.0075148302, -0.0007514941, -0.0062585715, -0.0183818676, -0.008514761, 0.040133331, 0.0534597561, 0.0631830841, -0.0204835925, 0.00574166, -0.0245582834, 0.0427667573, 0.0566281974, 0.0145631554, 0.0410555303, -0.0143821491, 0.0521280579, 0.0515413843, -0.0008951339, 0.0150726857, 0.0524843633, -0.1064114794, -0.0361663923, 0.0273159686, -0.0330711044, -0.0480638929, -0.0195988249, 0.0448938198, 0.0013120846, 0.0203054715, -0.0235364083, 0.0447702222, -0.0118796965, -0.030003069, -0.0575558841, -0.0863502026, 0.0112629086, 0.040559791, -0.0016922515, 0.0478013121, 0.0094920499, 0.0248957276, 0.0339064412, -0.0220008697, 0.0219268501, -0.0269821305, 0.0418595038, 0.0375306942, 0.051366169, 0.0027601444, 0.0623546056, 0.0218263492, 0.0425911099, 0.0072405431, 0.0126889069, 0.0704434812, 0.0248122867, -0.0084480941, -0.004987089, 0.0166512113, 0.023810206, -0.0172844101, 0.0202738959, -0.032621976, 0.0043744473, -0.0030449508, 0.0489555076, -0.0317205079, -0.0078958096, -0.056865029, -0.0023486917, -0.0474302806, -0.04434596, 0.0197995175, 0.0008709425, 0.0208354294, 0.0014300647, 0.0212953072, 0.008630068, -0.0283696987, -0.000337871, 0.0296863765, 0.0276577249, -0.0409525186, 0.0461584888, -0.0138025219, -0.0620682724, 0.0284252167, -0.007985509, -0.0115952967, 0.0108016636, 0.0040491591, -0.0022224749, -0.0272841919, -0.0176393483, -0.0142106609, -0.059448339, -0.0118376873, -0.0020076458, 0.0394139141, 0.0368634351, 0.002037846, 0.0606591627, 0.0547394156, -0.0137136038, -0.0577603951, 0.0207496379, -0.0035687371, 0.0011599808, 0.0035778123, 0.00132773, -0.01659685, -0.0122077083, 0.0032304989, -0.0211095642, -0.0054066996, 0.0119551802, 2.678e-7, 0.0495888591, 0.0622277521, 0.0028228834, -0.0007660293, 0.0099570295, -0.0020417967, 0.0044763749, 0.0261412859, -0.0163748804, -0.0789588392, 0.0146030029, 0.0064264233, 0.0234200861, 0.0169646814, -0.0730208904, -0.0586344115, -0.0110052889, -0.0306383763, -0.0633106157, -0.0081314482, 0.0622623116, 0.0589379594, -0.0022137708, -0.0145412395, -0.0179578811, -0.0487490334, 0.0608029105, -0.0124260439, 0.0026547101, 0.0309665706, 0.0005589799, 0.0499262251, 0.0002825193, 0.0472998023, -0.0126525396, 0.0267625935, 0.028534634, 0.0327986516, -0.0355432592, -0.0274863429, -0.0010776303, -0.0054232734, 0.0225861259, -0.1012333035, 0.0519492887, -0.0174204502, 0.0173600856, 0.0381245241, -0.0164975636, 0.0416983664, -0.0191382337, -0.018384397, -0.0374267325, 0.0009806359, 0.0012053984, 0.0360019505, -0.0209235568, -0.1151543334, 0.0258540139, 0.0570979901, -0.0504200384, -0.0705622807, -0.0003903929, -0.0226928368, 0.0081992662, -0.038703274, 0.0074760239, 2.387045154e-34, -0.0140672065, 0.0154400673, 0.0069251233, 0.0328798033, 0.037447948, -0.020722121, -0.0378717855, 0.0149375293, 0.0020682663, -0.0889360234, 0.0260613393 ]
http://arxiv.org/abs/2312.09625v2
http://arxiv.org/pdf/2312.09625v2
Weakly-Supervised 3D Visual Grounding based on Visual Linguistic Alignment
2023-12-15T09:08:14
2024-04-13T08:51:33
Xiaoxu Xu, Yitian Yuan, Qiudan Zhang, Wenhui Wu, Zequn Jie, Lin Ma, Xu Wang
cs.CV
cs.CV, cs.CL
Learning to ground natural language queries to target objects or regions in 3D point clouds is quite essential for 3D scene understanding. Nevertheless, existing 3D visual grounding approaches require a substantial number of bounding box annotations for text queries, which is time-consuming and labor-intensive to obtain. In this paper, we propose \textbf{3D-VLA}, a weakly supervised approach for \textbf{3D} visual grounding based on \textbf{V}isual \textbf{L}inguistic \textbf{A}lignment. Our 3D-VLA exploits the superior ability of current large-scale vision-language models (VLMs) on aligning the semantics between texts and 2D images, as well as the naturally existing correspondences between 2D images and 3D point clouds, and thus implicitly constructs correspondences between texts and 3D point clouds with no need for fine-grained box annotations in the training procedure. During the inference stage, the learned text-3D correspondence will help us ground the text queries to the 3D target objects even without 2D images. To the best of our knowledge, this is the first work to investigate 3D visual grounding in a weakly supervised manner by involving large scale vision-language models, and extensive experiments on ReferIt3D and ScanRefer datasets demonstrate that our 3D-VLA achieves comparable and even superior results over the fully supervised methods.
[ 0.0420150384, 0.0159318894, 0.0621392019, 0.0454624444, -0.01389194, 0.012737507, -0.0169636738, -0.0228286535, 0.0032186962, -0.0605870783, -0.0314708538, -0.0031594872, 0.0379949212, 0.0105475858, 0.0457992814, -0.0429032147, 0.0003750222, -0.0540017933, -0.0560836121, 0.0059305546, 0.0195960589, 0.0332621373, -0.0130815469, -0.0112517513, -0.0132863801, 0.000393191, -0.0079114046, 0.014365443, 0.0048714755, -0.0637593046, -0.0127081014, 0.0145399421, 0.0813215896, -0.0374577157, 0.000001873, -0.030799903, -0.0219801273, 0.0033185591, 0.0360783786, -0.0076601305, -0.0118101612, -0.0605484024, 0.0311423428, -0.0162634421, -0.0309494641, 0.0116591426, 0.0828800499, 0.0783320963, 0.0658050478, 0.0017092699, -0.0245204251, -0.0060543013, 0.0150541663, 0.0021582576, 0.0589032993, -0.0380585082, 0.0130624687, 0.0807700679, -0.0115584554, 0.0543255955, -0.009586934, 0.011594886, -0.0009331566, -0.0057496242, 0.0294157267, 0.0476831421, -0.0605289973, -0.014152932, -0.0406973921, 0.0991038755, 0.0210011676, -0.0362513512, -0.0240796041, 0.002109735, 0.0169556644, -0.000299416, -0.0188976433, 0.0222010296, -0.024936555, -0.0046241209, -0.0177376438, 0.0241017453, -0.0083409417, -0.0069584879, -0.0176023189, 0.0414502174, 0.0216769651, 0.0032966295, -0.0007153721, 0.0236669686, -0.0182940699, -0.0401500575, -0.0246212501, -0.0172900539, 0.0364151858, -0.0078561595, -0.0454302616, 0.0008500358, -0.0343919843, -0.0429260582, 0.0373963118, 0.0077444795, -0.0745559037, 0.0890024081, -0.0313548632, 0.0556373745, -0.0289418828, 0.0366790071, -0.0207506996, -0.0064722924, 0.0323558934, 0.0043938551, -0.0587586835, -0.0020036276, -0.047538735, -0.033157859, 0.0086632315, -0.0027569518, 0.0005452976, -0.0125738708, -0.0190492645, 0.0578460321, -0.0369266011, -0.038511198, 0.0098574879, 0.0339430645, -0.0185183268, 0.0430415235, -0.0761923343, -0.0622796565, 0.0169826392, 0.0501009077, 0.04148449, -0.0216490962, 0.0354134664, 0.0748827979, -0.0375652015, -0.0504950508, -0.0189542677, -0.0352645293, -0.0342281274, -0.0074742814, 0.0310616456, -0.0563987009, 0.0088971341, -0.0108820451, -0.0105929766, -0.0503664576, 0.020733593, 0.0051203552, -0.0090518743, 0.0990343988, -0.0144062564, -0.0377557911, 0.035903994, -0.0076381085, 0.0231698807, 0.0192587599, 0.0265190024, 0.0140626114, -0.0025043793, 0.0186016876, 0.0026254714, 0.0422131196, 0.0083511891, 0.0286227316, -0.0827839449, 0.0034884741, -0.0169790629, 0.036268618, -0.0221738927, 0.0208011121, -0.0132877799, -0.0261859503, 0.0625945479, 0.0565736443, -0.1006383076, -0.0063348608, 0.0232085343, -0.0000821206, -0.0187024754, -0.0022091852, -0.0439396054, 0.0418678373, -0.0117681026, -0.0160141774, -0.0349338353, -0.0072282762, -0.0272668395, -0.0529541932, -0.0096591031, 0.0080073616, 0.0286824815, -0.0083490079, 0.055384364, 0.02608121, -0.0186329745, 0.0599545091, 0.0041732709, -0.0512714162, -0.0109549332, 0.0459622182, 0.0345675237, 0.0131576527, -0.0303104371, -0.002230532, -0.0380127318, -0.004909886, 0.0906991512, 0.0571696609, -0.0090561248, -0.0018957458, 0.006229823, -0.0444435179, -0.0627342612, 0.006029218, -0.0211278275, 0.01893452, 0.0386092216, -0.0323198177, 0.02315134, -0.0973736569, 0.0371346362, 0.0370108001, 0.0097147925, 0.0133215375, -0.0621986724, 0.0443427414, -0.0207931139, -0.005519995, 0.0146393646, -0.0053331638, 0.0201862156, -0.0524722151, -0.0026581944, 0.038062077, -0.0214192793, -0.0025266621, 0.0212840065, -0.0412333608, 0.0056006117, -0.0084109483, -0.0160285551, -0.0029878882, -0.0137066422, -0.0360171273, 0.0172463451, 0.0231059976, 0.0042887107, 0.0170061328, 0.0241320487, -0.0892259926, 0.0347012691, -0.0470068417, -0.0066975243, -0.0163967125, -0.0105420277, 0.0289002657, 0.0166509226, 0.006676326, -0.0210570283, -0.0038962453, 0.0056704995, 0.0427155606, 0.0324811749, -0.0340692848, 0.0253291633, -0.037340153, -0.039902132, -0.0195604097, -0.014374828, 0.0129166562, -0.0016512979, -0.0001288042, -0.0409893803, -0.0507884994, 0.0254245754, -0.0095427176, -0.0137110697, 0.0497501381, -0.0159700587, -0.0231510624, -0.0153226564, 0.028732866, -0.0168352574, 0.064610146, 0.1046661809, -0.1133352071, -0.027936751, 0.033835832, -0.0575692244, 0.0400203466, -0.0194516331, 0.0160319563, 0.019984547, -0.0416396111, 0.0134623926, 0.0658079162, -0.0477287546, -0.0231638514, -0.0159437899, 0.0187864918, -0.0717231929, 0.0056222812, 0.0044206423, -0.0361002125, -0.0269545838, -0.0054613193, 0.0075014201, 0.0131821986, 0.0105623677, 0.0314366333, -0.0416331068, 0.0297234971, 0.0168692544, -0.0256058108, -0.0400251038, 0.0218638163, 0.0226189289, 0.0429571941, -0.0558394156, -0.050934609, -0.0003915057, -0.0751264021, 0.0016067494, 0.003201107, 0.0308947992, -0.0117345499, 0.0523916967, 0.0166919138, 0.034584377, -0.0201815031, -0.0277966205, -0.0275424924, -0.0089597488, 0.0061937594, 0.0551133417, 0.0469955653, -0.0600410923, 0.0726910606, -0.0005489781, -0.0478117168, 0.0133389002, 0.0099713122, -0.053098198, -0.0243594889, -0.0704995096, -0.0288892314, -0.0271932799, 0.0351376943, 0.038522739, 0.0465072095, -0.0086094663, -0.0500154123, -0.0314003788, -0.0098110279, 0.0236906167, 0.0535869338, -0.0541910604, 0.0084042586, -0.0428466201, 0.0518208928, -0.0234773345, 0.0097947726, -0.05749828, 0.0543561541, 0.0505667217, 0.0553556867, -0.0171133224, 0.0057679708, 0.0242577214, -0.0237629935, -0.0349887647, 0.0318914093, 0.0173735954, -0.0220708176, -0.0441062003, 0.0012927764, -0.011253316, 0.0509236902, -0.0257616024, -0.0733519346, -0.0621709749, -0.0345865786, -0.0177837349, 0.0899824724, -0.0256769359, 0.0017268617, -0.0979280546, 0.031177545, -0.0031980763, -0.0190583412, -0.0984447673, -0.0104465019, 0.0442051031, -0.0207496844, -0.0482771359, -0.0350163989, -0.0087550469, -0.0058193393, 0.0196014065, 0.0488390401, -0.0016527354, -0.0045725354, -0.058847025, -0.0488051884, 0.0310891196, 0.0262440462, -0.0310677662, -0.0742081478, 0.0164996237, 0.0434978418, -0.0055408035, 0.0091005052, 0.0185984168, -0.0337241367, -0.0374922529, 0.03249681, 0.0487919487, -0.0119745769, -0.0092356382, -0.0559672378, 0.042389404, -0.0242975, 0.0684586763, -0.0112539558, 0.0421902351, 0.005318441, 0.0238619242, 0.0041989386, -0.0225262195, -0.0010875335, -0.0092692301, 0.0188102331, 0.0133185582, -0.0277417079, 0.0061254953, 0.0022023933, 0.0179733988, -0.0711385459, 0.0268639922, 0.0541585386, 0.0589864478, 0.0165293049, -0.0060164314, 0.0242253672, 0.000297192, -0.0599866062, 0.0612569042, -0.0444236919, 0.0170248225, -0.0051785745, 0.0465437695, 0.0462292656, -0.0467079915, -0.0404487289, -0.0056883758, -0.0418706536, -0.0219449811, -0.0241782069, 0.046577774, -0.0010872225, 0.0534099825, 0.0194632988, -0.0004345389, -0.0020237388, 0.0203224495, -0.0042101881, 0.0551531948, -0.0129500767, 0.0126769869, -0.0175458938, -0.0118159819, -0.0374246761, 0.0192944612, 0.0314153843, 0.0038893318, -0.0130914254, -0.0623750091, 0.0086190468, -0.0076760519, 0.0627906621, -0.001441349, 0.0216215849, -0.0397711396, 0.0072733825, 0.032025557, -0.0491659269, -0.0724890605, 0.0355376266, -0.0058277464, 0.0063852076, -0.0035335284, -0.0022619432, -0.0044972724, 0.0746563748, -0.0082634473, -0.0236906148, 0.0246316884, -0.033925619, 0.0016456578, -0.0003729706, 0.0086307134, 0.0662582815, -0.0463297702, 0.0479055457, -0.0177760664, 0.0266518667, 0.0371743776, -0.0069219056, -0.048074957, 0.0399816483, 0.0007701108, -0.0296255182, -0.0381022207, 0.0233106371, 0.0421061739, -0.0019268643, 0.0219479334, -0.0248157382, 0.0011127525, 0.0386665724, 0.0196513254, 0.0261170994, -0.0516284369, 0.0644320995, 0.0331275836, -0.0047254837, -0.0011683098, -0.026768541, 0.0470145494, 0.0315714814, 0.0290894322, -0.0240219589, -0.0191149954, -0.0248926487, 0.0176900178, -0.0093195885, 0.0155738229, 0.0581886284, 0.0026194467, -0.0307112746, -0.0087716402, 0.0424359217, -0.0592776723, 0.0456616879, 0.0701998621, 0.0772774443, 0.0115396148, -0.0016372155, 0.0036111104, -0.0154263135, -0.0169490352, -0.0178700667, -0.0180543475, -5.358629119e-33, -0.0315465815, -0.0557571165, 0.0210951865, -0.0066756066, -0.0265048295, 0.00747725, -0.0208792966, 0.0164632462, -0.0352605842, 0.0196597409, 0.0294511262, -0.0050478238, 0.0116712507, 0.0180641562, -0.0153635219, -0.0190617535, 0.0179292224, 0.0069282632, -0.0246183295, -0.0000330897, 0.0166473612, 0.0144324461, 0.0906513482, -0.0956684202, -0.0106860446, 0.0120632462, -0.021137096, 0.0317730606, -0.002706026, 0.0352634117, -0.0041796947, -0.0162564386, 0.0114061078, -0.0201542769, 0.0028452431, 0.0384969003, -0.0950846896, 0.0004750612, 0.0091905501, 0.0385279171, -0.0108720157, 0.0461153314, 0.0191106163, -0.04487551, 0.0106072975, -0.0210222825, 0.0412439033, -0.0253428333, -0.0367969461, -0.0211874433, -0.0421492197, 0.0056784186, -0.0158457868, -0.0177581869, 0.0122100813, -0.0011831062, 0.0529632196, 0.034103889, -0.0092923734, 0.0145194065, -0.0353820585, 0.0381745473, 0.0519895852, 0.0577898063, -0.0117339958, 0.0845338181, 0.007815876, -0.035607025, -0.0143643226, -0.0440957919, 0.0379701667, 0.025740549, 0.0515095033, 0.068263486, -0.011954776, 0.0709889084, -0.0403050072, 0.0144880014, -0.1163051724, 0.0700802729, -0.0157235619, -0.022773901, -0.0457557589, -0.0206836574, -0.0380349979, -0.0168793313, -0.0178873017, 0.0378310196, 0.0583509393, 0.0147383325, -0.0223257747, 0.0320455655, 0.0439054035, 0.0238885619, -0.0277959071, 0.0846809, -0.0003287166, 0.0619833209, -0.0213353336, -0.0043765451, -0.0429937765, -0.0434698835, -0.0212495364, -0.0008048453, 0.038286984, -0.0156540386, 0.0151216146, -0.0036040614, -0.026946649, -0.0120695811, -0.0541357994, -0.0239614993, -0.0107987141, 0.0719487146, 0.0524440892, 0.0166061651, -0.0192502923, 0.037109971, -0.0145806978, -0.0299943388, 0.0018669521, -0.0735707283, -0.0407330543, 0.0164383836, -0.0296771489, 0.0088726506, -0.0323400088, -0.0347013809, 0.0498046055, -0.082291767, -0.0154733639, 0.033088427, 2.6e-7, 0.0371971056, 0.0458931401, 0.0441175327, 0.0027501045, -0.0569777749, 0.0480339415, 0.0221704505, 0.0500634387, -0.0190092884, -0.0514801256, 0.0017623289, 0.0343882851, -0.0191276111, 0.0042051258, -0.080752939, 0.0632878914, -0.0531733669, -0.0078935334, -0.0602785535, 0.0082018021, 0.049513828, 0.0586079806, -0.0426899381, -0.0091605708, -0.0134693515, -0.0630316958, 0.0275999252, -0.0207392164, 0.024517728, 0.0333044492, 0.0610043928, 0.0167789869, -0.0340508781, 0.0132772084, -0.0016105418, 0.0168761611, 0.0705324337, 0.018300876, -0.0202876925, 0.0394268781, -0.0285184495, -0.0149732716, -0.0073558162, -0.0129410792, 0.0486213863, -0.0512858555, 0.0327325985, -0.0098578436, 0.0062096962, -0.0191438794, 0.0169750713, -0.0284463856, 0.0119695123, -0.0070157414, 0.052269686, -0.0198589861, -0.0427402481, -0.0532778129, -0.0618720949, -0.0068722148, 0.0152542433, 0.0210876092, -0.0074806577, -0.038993638, -0.0086850841, 0.0083724307, -0.0336134024, 1.874208767e-34, 0.001523743, 0.0076989112, 0.0049233111, -0.0035166924, 0.0105901752, -0.0042354316, 0.0512925908, 0.0129871797, -0.0316357501, -0.0338478386, 0.0181012675 ]
http://arxiv.org/abs/2312.09601v1
http://arxiv.org/pdf/2312.09601v1
Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Models
2023-12-15T08:32:28
2023-12-15T08:32:28
Xin Jin, Jonathan Larson, Weiwei Yang, Zhiqiang Lin
cs.CR
cs.CR, cs.CL, cs.LG, cs.SE
Binary code summarization, while invaluable for understanding code semantics, is challenging due to its labor-intensive nature. This study delves into the potential of large language models (LLMs) for binary code comprehension. To this end, we present BinSum, a comprehensive benchmark and dataset of over 557K binary functions and introduce a novel method for prompt synthesis and optimization. To more accurately gauge LLM performance, we also propose a new semantic similarity metric that surpasses traditional exact-match approaches. Our extensive evaluation of prominent LLMs, including ChatGPT, GPT-4, Llama 2, and Code Llama, reveals 10 pivotal insights. This evaluation generates 4 billion inference tokens, incurred a total expense of 11,418 US dollars and 873 NVIDIA A100 GPU hours. Our findings highlight both the transformative potential of LLMs in this field and the challenges yet to be overcome.
[ 0.0255036894, 0.0510604903, 0.0026954955, 0.0172795113, -0.0267545264, 0.0151688382, -0.0264328793, -0.025297612, 0.0088049974, 0.0023789157, -0.0052976813, -0.0145328054, 0.0216660183, 0.0281863529, 0.0243132431, -0.0243762899, 0.0267332345, -0.0410227887, -0.0468889326, -0.0045503424, -0.0063532516, 0.0293218605, 0.0367153473, 0.0637136474, 0.0344256349, -0.0281218588, 0.0012271171, 0.0170913916, 0.021701131, -0.0215546656, -0.0153388605, -0.0018284881, -0.0181507207, 0.041845277, 0.0000023485, -0.0363276601, -0.0308617726, -0.0166786965, -0.0173292272, 0.0651020929, 0.0314463191, -0.0051647541, 0.0052854186, 0.0211253278, 0.0064537106, -0.0432025865, 0.059217874, -0.0375069268, 0.0689855665, 0.0270320754, 0.0044605546, -0.0042214775, 0.0288072992, -0.0347889028, 0.009821713, -0.0434361622, -0.0171496104, 0.0398584381, -0.0161112603, 0.0023247546, -0.0056160088, 0.0185418278, 0.0260507055, 0.0529015698, -0.0345848724, 0.0527558103, -0.0321912616, 0.004694582, -0.0189457871, 0.0302982554, -0.0648700595, -0.054316543, 0.0227488112, 0.00824646, -0.0228436142, -0.0394014083, -0.0673954859, 0.084330596, -0.0361582674, 0.0398336761, 0.0316730253, 0.013153851, 0.0290148947, 0.0077193296, -0.0585192032, 0.0264029335, 0.0279543251, -0.0040619327, -0.0329625495, -0.0378556699, -0.0325959958, -0.0761735216, -0.0150519786, 0.0446973257, -0.0104942452, -0.0112250801, -0.0349386521, -0.0054791379, 0.0313695706, -0.022323126, -0.0014680811, 0.077533491, -0.034968894, 0.0618731715, -0.0733389333, 0.0486108065, 0.006379528, 0.0221982412, -0.0514271297, -0.0172991529, -0.0338762365, -0.0152615728, -0.060113281, 0.0580544434, -0.0590497442, -0.0015833604, -0.0384331159, 0.0376730748, 0.0156577583, 0.0376152694, -0.000052714, -0.0026176788, -0.0109825432, 0.0169253759, 0.0338545479, -0.0233099181, -0.0434565581, -0.052600313, -0.0167451445, -0.0649312735, -0.0260607507, 0.0404310897, -0.0416249968, -0.0174535029, 0.0321781673, 0.0768567547, -0.0150429159, -0.0055174679, -0.0065610344, -0.0338179581, 0.0234721284, -0.0325149931, -0.0347721614, -0.0916049704, -0.0337870978, 0.0062514315, 0.0246162489, 0.0162887331, 0.012725018, -0.0026882503, -0.012588786, 0.0578192063, -0.0598448776, -0.0007960809, -0.0067559648, 0.0320221074, 0.0213000681, 0.0374975652, 0.0150800049, 0.0477301702, 0.0037174167, -0.0186341982, -0.0307342485, 0.0418145508, -0.0081699826, 0.0076229824, 0.0156735778, 0.009608075, 0.0344570242, -0.0049897451, 0.0751660168, 0.0642163008, -0.0350731984, -0.0274295174, 0.0068261726, 0.0647074208, -0.015501257, 0.0517603606, 0.0524616726, 0.0323932506, 0.0105506238, 0.0002342902, -0.0408108532, 0.0203082357, -0.0349597931, 0.0314686485, 0.0939409211, 0.0476778597, -0.0096399859, -0.031192407, 0.0407367311, 0.0007331148, 0.0006955666, -0.0021244802, -0.0204334799, -0.0195502676, -0.0554395132, 0.073435843, 0.0171356555, -0.0726846978, -0.0580506921, -0.0692225322, 0.0311975051, 0.03802903, 0.0682310835, -0.027811883, -0.0106957257, 0.0216349624, -0.0258070063, -0.0158396829, -0.008264062, 0.0054188403, 0.0239379853, -0.0726950765, -0.0034636674, -0.025614759, -0.0057163662, 0.0560240373, 0.0156138521, -0.020813087, 0.0333612598, -0.0125482967, -0.0345879905, 0.0179172233, 0.0307674706, -0.0233840719, 0.0027851395, -0.004443706, 0.0394192338, -0.0198485311, -0.0304735284, 0.0301588774, 0.0183061864, -0.0374894887, 0.0132479975, -0.0012067928, -0.0226451345, -0.0252694953, 0.0533373915, -0.0468060523, 0.00150017, 0.0283310562, -0.065161556, -0.0558464862, 0.0578745194, -0.0694440603, 0.0448823869, -0.0254521705, 0.0112672383, 0.0075572371, -0.0117454724, -0.0175686404, 0.0440331027, -0.0047325287, 0.0138958497, -0.0178034361, 0.0369046144, 0.0529732034, -0.0023437149, 0.0008074735, -0.0013214228, -0.0218062289, 0.012182001, -0.0172112472, 0.0595042594, -0.0092765484, 0.0009239923, -0.1519636065, 0.0332539976, -0.0270630419, 0.0066766627, 0.0417699218, 0.0508470386, -0.0093079116, -0.0110576302, -0.032382533, -0.0394858941, 0.0120537952, 0.001128851, 0.0201667547, -0.0225435253, -0.0505853258, -0.0684923232, -0.0205655005, -0.0244974028, 0.0437238775, -0.0404429249, -0.0211529881, -0.0098052258, 0.0380883254, 0.0051222239, 0.001944689, -0.0268338434, -0.0175750032, 0.0240896419, -0.0413220264, 0.074000597, 0.0291253291, 0.0156036876, -0.0048858314, 0.0514582768, 0.0081046503, -0.0422275886, 0.0169925503, 0.021285139, -0.0681555048, 0.0398989655, -0.0486781225, 0.032400813, 0.0735634416, 0.0126069393, -0.0037294035, -0.0558239631, -0.0044663106, 0.0329522341, 0.0210626945, -0.0803412497, -0.029599132, 0.0008214258, 0.0396515802, -0.0461773872, -0.0721748322, 0.0522736795, -0.0684771389, 0.0036909783, -0.0277489778, -0.0347844884, -0.0575289614, 0.0851407349, 0.0093483394, 0.0516648218, -0.028154999, -0.0276736598, -0.012861643, 0.0012811384, -0.0010750175, -0.0277136117, 0.0735950023, -0.0515137091, 0.0211590771, -0.0069727604, -0.0226796754, -0.0128571438, -0.0381261371, -0.0588193238, -0.0073919776, 0.045323085, 0.0153567502, -0.01402466, 0.0460912436, 0.0060842615, 0.0509067699, 0.0142142987, -0.0326706246, -0.0323502682, -0.0208758488, 0.0197673719, -0.0389297679, 0.025736399, -0.008844302, -0.0284970161, 0.0424023718, 0.0236219596, 0.0572869815, -0.0505616032, 0.0003126902, 0.015489243, -0.0405457914, -0.0205123778, 0.0355986394, 0.0930152908, -0.013915034, -0.0111953001, 0.0896650031, 0.0213567298, -0.0335474275, 0.0296713933, -0.0066027776, 0.0352084711, 0.015047498, 0.0189460609, -0.1084312722, -0.0686637312, -0.0058060172, 0.0114364913, -0.0194905717, -0.0112866266, -0.0104235075, -0.1006922573, 0.0146747651, 0.0058709248, -0.0327788293, -0.0587550066, -0.0431638695, -0.0343712419, 0.0069200494, -0.0440045595, 0.0379471332, -0.009558117, 0.0148197254, -0.0150343915, -0.0335451774, 0.0780483112, 0.0434571989, -0.0139286052, -0.0045697102, 0.0813073069, 0.0056346343, 0.0350760184, 0.0302679371, 0.0289516319, -0.0356225632, -0.0168908648, 0.0041098073, 0.0293483268, 0.0167805534, 0.0028775269, -0.0160835758, 0.0382395871, -0.034411747, -0.0152095035, 0.0139072156, 0.0177658256, 0.0110723646, -0.0028389997, -0.0254531037, 0.0337009318, -0.0301682819, 0.0622719638, 0.0757753477, 0.0293763001, -0.0524793454, -0.0671732351, 0.0147773139, -0.0495213978, -0.0017829089, -0.0300062932, 0.0152964825, -0.0057356884, -0.0049986788, 0.0198893733, 0.0077192821, -0.0239874814, -0.0080989012, -0.0191811547, -0.0071489913, 0.0045898436, -0.0685158074, 0.0329065286, -0.0411449596, 0.0459182784, -0.0536472164, -0.0097191567, 0.0011086137, -0.0126225194, -0.0351760834, 0.078990072, -0.1212361157, -0.0005279572, -0.0525812879, 0.0472683758, 0.0302054584, 0.0036811694, -0.0352281593, -0.0148227755, -0.009087814, 0.0517985448, -0.0046761418, 0.0205730665, -0.0017898838, 0.0278822556, -0.0033825357, 0.0003428623, -0.050517235, 0.0254225861, 0.0017726379, 0.000379416, -0.016965013, -0.0215905271, 0.0272227693, 0.0536013134, -0.0038701501, -0.012991664, -0.0002413689, 0.0406058021, 0.0038909721, 0.0410053506, -0.0165106896, -0.0409779139, 0.0335620753, 0.0395913087, -0.0230423547, 0.0093191098, -0.0344278105, -0.0036381851, 0.0210328121, -0.019765716, 0.0075969971, -0.0320750885, 0.0345869623, 0.037067093, -0.0453093871, -0.0292962193, -0.0082603777, -0.0171570089, 0.025032416, -0.0034872675, 0.0242879353, 0.0308008008, 0.0239847247, 0.0010691142, 0.0613678768, -0.0551750883, -0.0725238621, -0.0223516878, 0.0406314805, 0.073149696, 0.0286712442, 0.034535028, 0.0203942638, 0.0208743475, -0.0338500403, 0.032792367, 0.0052408534, -0.0268881731, 0.0130890105, 0.0418027416, -0.0019605302, -0.028901672, 0.0827051997, -0.0338747911, 0.0441914015, 0.0251432173, -0.0132734543, -0.0362779386, -0.0333517417, -0.0040830979, 0.0159739181, -0.0078633884, 0.0072665866, -0.0505303815, -0.025809912, 0.000162703, 0.0483900607, 0.0403164439, -0.010525316, 0.0441088974, 0.0493190773, 0.0330811292, -0.0302234069, 0.0000051057, 0.0326907299, 0.0008739382, -0.03385818, -0.0303034671, -6.585609388e-33, -0.0169062167, 0.002485021, -0.0060742246, -0.0256210286, -0.0056844694, -0.0268939286, -0.0843600109, -0.0169926696, 0.0225824937, -0.0588873625, 0.0316935256, 0.0037169, -0.0026466136, -0.0086356075, -0.0000030367, 0.0053970306, 0.0222923979, 0.0581149496, -0.0702960566, 0.0572090782, -0.0168284625, 0.0006329648, -0.0232857671, -0.0118009569, -0.0348359421, -0.0181715917, -0.0030324063, -0.0332999565, -0.0035401101, 0.040649388, -0.0313501023, 0.0143642137, 0.0169258341, -0.0064508235, -0.0210555624, -0.0086195301, -0.035772156, -0.0170910954, 0.100098595, -0.0441605747, 0.0121125756, -0.0834900141, 0.025460843, 0.0209352523, -0.0071227136, -0.0451391228, -0.0173819978, 0.0007987095, -0.022721041, -0.0527246743, -0.0414465666, 0.0353596918, -0.0428328514, -0.013292985, 0.0169218294, 0.021278223, -0.0278072301, 0.0542256683, -0.0058143595, 0.0288838949, 0.0610893257, 0.0517340004, 0.0436626934, 0.0128136436, 0.0138287516, 0.0156789906, 0.0086137727, -0.0469600148, -0.0664721951, 0.0555684082, 0.000160988, 0.016780572, 0.0215881784, -0.0279941149, 0.0698342323, 0.0520035662, -0.0540942214, 0.037896473, 0.0069149002, 0.0193845127, 0.0283417236, 0.0294420533, -0.0120897982, -0.0152948136, -0.0514686853, 0.0018303511, -0.0344137885, -0.0138986297, 0.0197344888, -0.0224560946, -0.0284118056, -0.0240903366, 0.0034531695, -0.0355979353, 0.0309639536, -0.0194332786, -0.0252504684, 0.0300191529, 0.005620616, 0.0425860919, -0.0015219731, 0.0032528955, 0.0370376892, -0.0335037597, 0.0471549518, 0.0147867016, 0.0074965414, -0.021293655, -0.0534629188, 0.0094615743, -0.0312565751, -0.0182072055, -0.0753454044, 0.029806748, -0.0067167091, 0.012536888, 0.0261785071, -0.0076474873, -0.0343928188, -0.0116264578, -0.0424070992, 0.002167728, -0.0206730291, 0.0290665012, -0.0493231677, -0.0060029798, -0.0383255184, 0.0022362603, 0.0162870772, -0.0428469665, -0.0619252995, 0.026953809, 2.997e-7, 0.0284846965, 0.0003397957, 0.0519756489, 0.0451957285, -0.0171895437, 0.0179112926, 0.0065080361, 0.0304240808, 0.0292518511, -0.0061040455, -0.0149265956, 0.0342195258, 0.0366216749, -0.0052769925, -0.0434654132, 0.0260854084, -0.0533822849, -0.0271896031, -0.0700399801, 0.0046034218, 0.0362391025, 0.1281667501, -0.0278863925, -0.0064097587, 0.0748426765, -0.0084048454, 0.0028092579, -0.0251468141, -0.0142376199, 0.0005039978, 0.0049414658, 0.0315201357, -0.0285085551, -0.0178486705, 0.0430948474, -0.0294649024, 0.0226403791, 0.0649329275, 0.0126073221, 0.0467887744, 0.0091775944, -0.0394714661, 0.0266947355, -0.0652859211, 0.0660316125, -0.0234280992, 0.0144454557, -0.0038966299, -0.014697019, 0.0304679647, -0.0134829665, 0.0175988637, -0.0073139975, 0.0302471723, 0.0094432412, -0.0388471521, 0.0141931316, -0.0596501566, -0.0519147217, 0.035241209, 0.0033452252, -0.0268256329, -0.0841428861, 0.0301832166, 0.0136988517, -0.0550783053, 0.0256362576, 2.851394121e-34, 0.059369076, -0.0256307051, 0.010492987, -0.0154701108, 0.0625987276, -0.0317152254, -0.0175647307, 0.0449474901, 0.0027401082, -0.0482658334, -0.0027375892 ]
http://arxiv.org/abs/2312.09583v1
http://arxiv.org/pdf/2312.09583v1
Leveraging Language ID to Calculate Intermediate CTC Loss for Enhanced Code-Switching Speech Recognition
2023-12-15T07:46:35
2023-12-15T07:46:35
Tzu-Ting Yang, Hsin-Wei Wang, Berlin Chen
cs.CL
cs.CL, cs.SD, eess.AS
In recent years, end-to-end speech recognition has emerged as a technology that integrates the acoustic, pronunciation dictionary, and language model components of the traditional Automatic Speech Recognition model. It is possible to achieve human-like recognition without the need to build a pronunciation dictionary in advance. However, due to the relative scarcity of training data on code-switching, the performance of ASR models tends to degrade drastically when encountering this phenomenon. Most past studies have simplified the learning complexity of the model by splitting the code-switching task into multiple tasks dealing with a single language and then learning the domain-specific knowledge of each language separately. Therefore, in this paper, we attempt to introduce language identification information into the middle layer of the ASR model's encoder. We aim to generate acoustic features that imply language distinctions in a more implicit way, reducing the model's confusion when dealing with language switching.
[ -0.0222104657, 0.0335406363, 0.0079499334, 0.0500694774, -0.0094953533, 0.0332391746, 0.002434735, -0.0344916359, -0.0171732437, -0.0053264503, -0.0567490608, -0.020397203, 0.0250791796, 0.0415283255, 0.0451004431, 0.0050640041, 0.0150802564, -0.0738838762, 0.0022178902, -0.0278070569, -0.0025877608, 0.0083636427, -0.0212948415, 0.0274225753, 0.01010352, 0.0018366908, 0.0167670548, 0.0364790745, 0.0123871388, -0.0343396105, 0.0173538178, 0.0052901208, 0.0308449324, 0.0144847333, 0.0000020863, -0.0238412209, -0.0206464492, -0.0248022899, -0.081656903, -0.0095016267, 0.0268157516, 0.0077331695, -0.0074593322, 0.040225178, 0.0077094701, -0.0296689998, 0.0879140049, 0.0039622253, -0.0158612039, 0.0599478744, 0.0054219691, -0.0488114432, -0.0183975883, -0.0226617083, -0.029872233, -0.0490610041, -0.0060474179, -0.037697617, -0.0178476162, -0.0351215526, -0.0448240861, 0.0488137826, 0.034633968, -0.0001544657, 0.0152013153, 0.01537144, -0.0137555599, -0.0143776899, -0.0460390225, 0.0188504122, -0.0427304618, -0.0395494923, 0.0099237412, 0.0044268854, -0.041633781, -0.0619917996, 0.0082688006, 0.0111279348, 0.0019953521, -0.0089664711, 0.033106219, 0.05427517, 0.0289481916, -0.0171940476, -0.0564700924, -0.0201810393, -0.003279004, -0.022900179, 0.0094407303, -0.0072687711, 0.0426396951, -0.0081321578, 0.0504297689, -0.0071272878, -0.0203774404, -0.0065967003, 0.0191313252, -0.0238232017, -0.0428307541, -0.0343319587, 0.0193329509, 0.0593174696, -0.093471311, 0.0157675836, -0.0433713235, 0.0681485981, 0.0009273983, 0.0127415648, -0.0016767563, -0.0133134006, -0.0135737974, -0.016099833, -0.0481739268, -0.0186935607, 0.0234296639, -0.0263790432, -0.0243330263, 0.0205572192, -0.0176181607, -0.0038816072, 0.0299067218, -0.035850279, -0.0495654494, -0.0035543819, 0.0681386441, 0.0348038971, 0.0227873586, 0.0094957314, 0.0008899163, -0.0630109981, -0.0129080322, 0.0213004444, 0.0226997137, 0.0121153938, 0.0242378265, 0.0471852235, -0.0101461485, -0.0223616809, -0.0391369872, 0.030264182, -0.025452489, -0.0496896803, 0.0136510031, -0.039432656, 0.0141922869, 0.0178081151, 0.0243179947, -0.0918179154, -0.0210656058, -0.0704062209, 0.0465558954, 0.0767774731, -0.0218858626, -0.0014226543, 0.0747607872, -0.0130582312, 0.0034241523, 0.0891683698, 0.0349902138, -0.0545024872, 0.019815363, -0.0440874323, -0.0049611349, 0.0583228655, -0.0093478272, -0.0067636906, -0.036852967, -0.046720691, 0.0739325583, 0.004280807, 0.0520233214, 0.0135560911, -0.0475548878, -0.0144758783, 0.0079267034, 0.0146430591, 0.0302104633, 0.0230111405, 0.0292918142, 0.0133038815, -0.0106382715, 0.0089120492, 0.0126474649, 0.0327885784, 0.0097948685, 0.0029145735, 0.0336193219, 0.0225835834, -0.0368651226, 0.0114893271, 0.0048051993, -0.0423954614, 0.0417108536, 0.0275205392, 0.0422455259, -0.0041694557, -0.0046818759, 0.0430376604, -0.0077465991, -0.0439738408, 0.0374362022, -0.0548357069, -0.0462800749, 0.0124594616, -0.0089836856, -0.0090105664, -0.0129751945, -0.0175564326, -0.014728413, 0.0548084676, 0.0101459883, -0.0083801299, 0.0821621865, -0.0711768195, -0.0019681288, 0.0331598669, -0.0102837449, 0.0618862994, -0.0065821083, 0.0311484672, 0.0085001392, -0.0074032689, 0.0430328324, -0.028432779, -0.0384916961, 0.0049610264, 0.0279368144, 0.0201170016, 0.0375420637, 0.0135744549, -0.036379531, -0.0019550421, -0.0015708642, -0.0421464257, 0.0176832862, 0.0409521908, -0.0595114566, -0.0498560555, 0.0406978615, -0.0132353334, 0.004933171, 0.0656371042, 0.007763051, -0.072329998, 0.0419930667, -0.0178979822, 0.0717047751, -0.0243313536, 0.0697335079, 0.0239299852, -0.0152867874, 0.041913718, 0.0089832554, 0.0121894553, 0.0183726419, 0.0092588253, 0.000894481, -0.0332739726, -0.0831197724, 0.0114257615, 0.0480317511, -0.0312168635, -0.0116185946, 0.0134454705, 0.0049143992, 0.0115179075, -0.0019637533, -0.0443354659, -0.0311226603, -0.0315482169, 0.035547372, -0.0215774123, 0.0227670986, 0.0003539568, -0.0551815592, -0.0456057005, -0.0150774028, -0.0524275079, 0.0181509778, -0.0614179969, -0.0060481997, -0.0617389418, -0.0064870217, 0.0165413208, 0.031692218, 0.0274153836, -0.0492381528, -0.0669786409, -0.1140462533, 0.0398586094, 0.0398140326, 0.0260195937, -0.0063560815, -0.0246936288, -0.0174071472, -0.0009778299, 0.0056976052, 0.0186677035, -0.0090579493, 0.012183235, 0.035709966, -0.0084545352, -0.0466666147, -0.0222142562, 0.0305849016, -0.0133109065, -0.0257968865, -0.0264189709, -0.0066607506, 0.0643269345, -0.0012051841, 0.0445011966, -0.0574880429, -0.0806174055, -0.0195436608, -0.0428942107, -0.0051936503, -0.0347115844, -0.0286011305, 0.0394641496, -0.0120687997, -0.010666443, 0.0104344487, -0.065439418, -0.0379729308, -0.0741578341, -0.0339813381, -0.0159481056, -0.0035623217, -0.0014677164, 0.0383003429, 0.0311600957, -0.0717891306, -0.0248330422, 0.0128325475, -0.0041617039, -0.032567963, 0.0317484289, -0.0383744389, -0.0126691917, 0.0139648262, -0.0566069447, 0.016501829, 0.0622660294, -0.0200610645, 0.0548096411, 0.0550958551, -0.0486036576, 0.0359768644, 0.0079609994, 0.021578934, 0.1070066169, 0.0239880402, 0.0181113966, 0.0077666226, 0.0706295967, 0.0103419404, 0.02256901, -0.0238165632, -0.0154853519, 0.0267071296, 0.0062941122, 0.0702624992, 0.0542050786, -0.0519329607, 0.0299100298, 0.0767616034, 0.0181327574, -0.0094399201, 0.0202760007, 0.0110062556, -0.0299471263, -0.025164742, 0.077100426, 0.0038590676, -0.0994333625, -0.0321927965, -0.0123453699, 0.0129711134, 0.0198999289, -0.0385172702, -0.0507303253, -0.0230507236, 0.042418506, 0.0261379629, -0.0049570207, 0.0474653728, -0.0129506951, -0.0495903157, 0.0044094687, 0.0198670533, -0.0609632209, -0.0592830665, -0.033673957, -0.0150287561, -0.0310074091, 0.003002027, 0.0018447437, -0.0147032253, -0.0605885722, 0.0529525429, -0.0364349112, -0.054951977, 0.013116519, -0.0267008413, 0.0775538161, 0.0703362525, 0.0006712233, -0.0030558854, -0.0031042234, 0.0222788937, -0.0223988667, -0.0118454089, -0.0288613252, 0.0336191542, 0.0088618742, -0.0144472402, 0.0780889392, 0.021249406, -0.0008549948, 0.0099599725, 0.009239289, 0.0134743936, -0.0011457417, 0.0173125491, 0.0626200289, 0.0030154998, 0.0305547863, 0.0484951176, 0.0479062796, -0.0418995433, -0.0035542147, -0.020615723, 0.0613864549, -0.0127458815, -0.0038197539, 0.0019694187, 0.0090831332, -0.0865409747, -0.0138522256, 0.0365138166, 0.0191928111, 0.0233785193, 0.0127937365, 0.0196199566, -0.0399013832, 0.0172485653, -0.0433068424, -0.0301091298, -0.037817508, 0.0291363429, -0.0818364471, 0.002822672, 0.030996643, -0.0563008748, -0.0113389194, 0.024621468, -0.0688480958, -0.0809011683, 0.0143785225, -0.045065809, 0.0138085345, 0.0615541376, -0.0215395652, -0.0577992089, 0.0025497689, -0.0469715968, -0.0339469574, 0.0340140127, 0.0842054859, 0.0100522386, -0.0365046114, 0.0188029986, -0.050207898, -0.0156469252, 0.0022101386, 0.0170214493, -0.0493100062, -0.0462742746, -0.000257188, -0.0203195717, 0.0355641507, -0.0334471688, 0.0026310633, -0.0268088542, 0.0693729073, 0.0477061793, 0.05460985, -0.0197620504, -0.0420927033, 0.0426918864, 0.0109038716, -0.0093763685, 0.0373023897, 0.0092687281, -0.0282862075, -0.008512428, 0.0901562944, 0.0405747294, 0.0569806397, 0.0352035016, -0.0028569223, -0.0491309948, 0.0141598536, 0.0493381508, 0.00314382, -0.0412585065, 0.0399505831, 0.0233867001, -0.0196988545, 0.0249303225, 0.037273854, -0.0119024096, -0.0440096669, -0.000414834, -0.0174341686, 0.0267233793, -0.0036502036, 0.0660419986, -0.0227872413, 0.0096390396, -0.0296701565, 0.0056713619, -0.0370281748, -0.0243415628, 0.0398906693, -0.0176441371, 0.0125252204, 0.0255368371, 0.0447038598, 0.0313765258, 0.0187382083, -0.0534504279, 0.0447620973, -0.0125561105, -0.0031178119, 0.0020179572, -0.0142058562, -0.0092716292, 0.0031839411, 0.0166706648, -0.0986112505, 0.0374072567, -0.0277266968, 0.0662867725, -0.0145754432, 0.0037130201, 0.0352549516, -0.0367688835, -0.0042879344, 0.0027226638, -0.0426242128, 0.0695158318, -0.0198885612, -0.0168253873, -6.282532414e-33, -0.0026879676, 0.0301544275, -0.0203102063, -0.0030274955, -0.015321292, 0.0059779068, -0.0548119918, 0.0008099804, -0.0176877789, -0.0412427001, 0.0138927121, 0.0203940384, 0.0433587655, 0.0007401413, 0.0188509542, 0.0242657419, 0.094386518, -0.0039237197, 0.0084451875, 0.0149223013, 0.0370645151, 0.0133812558, 0.0457565561, -0.0350944623, -0.0500231795, 0.018485751, 0.0005444274, -0.0214778483, 0.031213833, 0.0447887182, 0.0012657389, 0.0270381738, 0.0073219212, -0.0656380206, -0.0089250002, -0.0020511961, -0.0941495225, -0.0086937239, -0.0362771191, 0.051089555, 0.0273974668, -0.078979969, 0.003461299, -0.0043871012, -0.014349482, -0.0472738445, 0.0103366235, -0.0126393838, -0.0220680051, -0.037015371, -0.0367881805, 0.0510208495, -0.0249497816, -0.0166395511, 0.0890096426, 0.0548742115, -0.0320748612, -0.0350076333, -0.0715663359, 0.0345981456, 0.0157761555, 0.0466307625, 0.0388885327, 0.049885761, -0.0305893067, -0.0017757153, 0.0795359313, -0.0686978549, 0.0477891639, -0.0455551893, 0.0569827668, -0.0133337704, 0.0153328767, -0.0031925382, 0.0333655477, -0.0348677598, -0.0091478387, -0.0674264804, 0.0095467586, 0.0251576547, 0.050823506, 0.027068926, -0.0401676819, -0.0282732937, -0.04415958, -0.0591626167, -0.0341989361, -0.0150688831, 0.0681353509, 0.0052929758, -0.0003404561, -0.0114673981, 0.0871349126, -0.0000047534, 0.0257733501, 0.0470968597, 0.0326601602, 0.0475060344, 0.0058290516, 0.0420363434, -0.0578521006, -0.0198735446, 0.0263274554, 0.0043931408, 0.0243763998, -0.0213835016, 0.025420839, 0.0701711029, -0.0460454263, -0.0223721303, -0.0073241857, -0.0037178439, 0.0234723296, 0.0497385152, 0.0430646427, -0.0158630107, 0.000146079, 0.0046001631, -0.0217593685, -0.0136496322, -0.0177792497, -0.0353842452, -0.0073938882, 0.0720639601, -0.0444905758, 0.0116972867, -0.0047019986, 0.005028598, 0.0238492768, -0.031757392, -0.015845459, 0.0208111219, 2.78e-7, -0.0239742734, -0.0192593746, 0.0114703476, -0.0042812075, -0.0069273533, -0.0046826717, -0.0258885045, -0.036800921, 0.0475307629, 0.0219732001, -0.0187038593, 0.0056135715, 0.0981603339, 0.0167116858, -0.0851144344, 0.0068115164, 0.0008214519, 0.0751140341, 0.0250376239, 0.0019521572, 0.0084938183, 0.0764411017, -0.0408315957, -0.0251571778, -0.0148999253, 0.0017386971, 0.0155562321, -0.039802935, 0.0622548424, -0.0238446966, -0.0513392426, -0.0142093021, -0.0194125026, 0.0298607536, -0.0395844057, 0.0101903854, 0.0285898838, 0.0027705068, -0.0149162728, -0.039133545, 0.0189647395, 0.0551511757, -0.0421549939, -0.0276220404, 0.0601334684, 0.0008264214, 0.0237227697, -0.0172373354, -0.0238752961, 0.0173722431, -0.0087467302, -0.04363662, -0.015255372, 0.0133213075, 0.0022856609, 0.0096827336, -0.0180654954, -0.0687689707, 0.0079103559, 0.0241737254, -0.0277838875, -0.0129078701, -0.0200299267, -0.0155113721, 0.0093117179, 0.0044867736, 0.0255849529, 2.081540142e-34, 0.0260879286, -0.0251706429, 0.0075092418, 0.0620014295, 0.0074802036, -0.0589551702, 0.0159069989, 0.041312065, -0.0184439011, -0.0311386492, -0.0305911377 ]
http://arxiv.org/abs/2312.09582v1
http://arxiv.org/pdf/2312.09582v1
Phoneme-aware Encoding for Prefix-tree-based Contextual ASR
2023-12-15T07:37:09
2023-12-15T07:37:09
Hayato Futami, Emiru Tsunoo, Yosuke Kashiwagi, Hiroaki Ogawa, Siddhant Arora, Shinji Watanabe
cs.CL
cs.CL, cs.SD, eess.AS
In speech recognition applications, it is important to recognize context-specific rare words, such as proper nouns. Tree-constrained Pointer Generator (TCPGen) has shown promise for this purpose, which efficiently biases such words with a prefix tree. While the original TCPGen relies on grapheme-based encoding, we propose extending it with phoneme-aware encoding to better recognize words of unusual pronunciations. As TCPGen handles biasing words as subword units, we propose obtaining subword-level phoneme-aware encoding by using alignment between phonemes and subwords. Furthermore, we propose injecting phoneme-level predictions from CTC into queries of TCPGen so that the model better interprets the phoneme-aware encodings. We conducted ASR experiments with TCPGen for RNN transducer. We observed that proposed phoneme-aware encoding outperformed ordinary grapheme-based encoding on both the English LibriSpeech and Japanese CSJ datasets, demonstrating the robustness of our approach across linguistically diverse languages.
[ 0.0095095458, 0.0515856706, 0.0165777151, 0.0428342149, -0.0221783929, -0.0191575103, -0.011819832, 0.0089931097, -0.0796605796, -0.0150877787, -0.0373186246, -0.0508279577, 0.0255422257, 0.0210437216, 0.000829171, -0.0313498601, 0.0282675195, -0.0546165779, -0.0150846373, -0.0146700349, 0.025371829, 0.0408834033, 0.0011290866, 0.0394953974, -0.029816797, 0.0191808548, 0.0014070855, 0.0590778105, -0.0142329624, -0.0428176336, -0.0392170846, -0.0144121833, 0.000498953, 0.0627529174, 0.000001679, -0.0360142738, -0.0494335704, 0.0038266645, -0.0826809779, -0.0171683095, 0.0198710989, 0.0023664902, -0.0290654674, 0.0372703336, 0.0178249981, -0.018473722, 0.0806412473, -0.0257603657, -0.014133621, 0.0749330223, -0.0050854352, -0.0415419936, 0.0247198436, -0.0096086916, 0.0224398728, -0.0406068377, -0.0113234269, -0.0463301539, -0.0080113159, -0.0050565996, -0.0505963154, -0.0292284749, -0.0049464945, 0.0357287973, 0.0348075479, 0.005156693, -0.0219249185, -0.0440995283, -0.0188350938, 0.0589537658, -0.0445100442, -0.0648085475, 0.0329743139, 0.0083500817, -0.0651512295, -0.047133889, 0.0040283841, 0.0145291481, -0.0300872996, 0.0169243552, 0.0478993282, 0.0373665877, 0.0373417139, -0.0276208874, -0.0374816321, 0.0475405753, 0.0434266999, -0.0551846996, -0.0136712389, 0.0132002812, 0.0235535912, 0.0015789794, 0.0379137173, -0.0201442447, -0.0707297996, 0.0493853092, 0.0002291066, -0.0106591871, 0.0074002184, -0.0141777638, 0.0123866815, 0.0436226428, -0.0389335677, -0.0300606824, 0.0006644809, 0.0555724651, -0.0169841386, 0.0019135986, -0.0261759497, -0.0579851829, -0.024757592, 0.0069539854, -0.0711323321, 0.005307755, -0.0382127352, -0.0297915842, -0.0291981976, 0.0168116167, 0.0248165559, -0.0145853879, 0.0838579535, 0.0065143672, -0.0841670856, 0.0018424449, 0.0424677357, 0.0065006665, 0.0046614963, -0.014405244, -0.0081583094, -0.0369276553, -0.0009907165, 0.0305343848, 0.0624802224, -0.01582288, 0.0317098349, 0.0436609797, 0.0140900137, -0.0301413536, 0.0001768887, -0.0032992528, -0.0626460314, 0.002842745, -0.0012779605, -0.055787459, 0.0119105065, -0.0216239356, 0.0119563797, -0.0305987578, 0.006200593, 0.0158310477, 0.0090781068, 0.0603361204, -0.0172054768, 0.0008047702, -0.0012373076, -0.0040862621, 0.0287711546, 0.032447394, 0.0706593841, 0.0047815447, 0.0565410629, -0.0204102155, -0.0342704654, 0.0378649645, 0.026447067, -0.0591677353, -0.0097611807, -0.0340431482, -0.0405868739, 0.0485853329, 0.0304907244, 0.054666087, 0.016655378, -0.0365899131, -0.0226335917, 0.0478917398, 0.0133630689, 0.0062507298, 0.0268472452, -0.0078493981, -0.0721389651, 0.0030672813, 0.0085447906, -0.0382702574, -0.0413170829, 0.0536412299, -0.017607877, 0.0299413092, -0.0040672366, 0.0233124308, -0.0364880338, -0.0328643173, -0.0119792307, 0.0125285955, 0.0354311764, 0.0376950018, -0.0365495197, 0.0091919657, 0.0094927857, -0.0382438935, 0.0213247295, -0.0230461843, -0.0229221992, 0.0396677814, 0.0335383564, 0.0070552728, -0.0475825481, 0.0450749956, -0.0786925778, 0.0497821793, -0.0150637664, -0.0133937774, 0.0513784848, -0.0613293275, -0.0022310887, 0.0880428627, -0.0094503332, 0.0889573842, 0.0188938547, 0.0363730937, 0.0371278822, -0.0765863508, 0.0144654801, -0.0151700694, -0.0279299133, -0.0426939949, 0.0465721376, 0.0032102214, 0.03075465, 0.0616270117, -0.0141525473, 0.0036177449, 0.0258191694, -0.0259547308, 0.0597888418, 0.0027812026, -0.1063829511, -0.0542937405, -0.0031118572, -0.0178447235, -0.0120445872, 0.0216775872, 0.0229221713, -0.0665306225, 0.0153214857, -0.0009782338, 0.0988457426, -0.0464162752, 0.0430232994, 0.0167648643, 0.0214165114, 0.0280547682, 0.0199105926, 0.0212867409, -0.0122624747, 0.0412259139, -0.006071311, -0.0311605874, -0.081391044, -0.0176801644, 0.0328336656, 0.0061272779, -0.0196342133, 0.0072377203, 0.0049231248, -0.0051820753, 0.0411569849, -0.0631842762, 0.0012016232, -0.025682861, 0.0500810891, -0.0006119481, 0.0727311373, -0.0047392789, -0.023232799, -0.0358823575, -0.0081253955, 0.0139151579, 0.0112068988, -0.04283759, -0.0113963382, -0.0293302219, -0.0342467055, -0.0149224363, 0.0116181895, 0.0288437288, -0.0185963102, -0.0739848018, -0.0191572029, 0.0145516852, 0.0290024765, 0.0270498879, 0.0169483759, 0.0131742535, -0.0066571371, -0.0080115153, 0.0200711321, -0.0005634336, -0.0541919731, -0.0010575164, -0.0036143858, -0.026956873, -0.0461977236, -0.0329345614, 0.0008039944, -0.014075825, 0.0042997203, -0.0157830957, -0.003472951, 0.0692463443, 0.0181957111, 0.0226139333, -0.0299894884, -0.0703282356, -0.0198408198, -0.0499309078, -0.014109713, -0.0442739353, -0.0518611409, 0.0255324151, -0.0417256802, 0.0119885337, 0.0640247762, -0.0823157206, -0.0513957888, -0.0430602729, -0.0152111435, -0.0360077769, 0.0599578656, 0.0001245078, 0.0326854251, 0.0166431442, -0.0785466135, 0.0017899876, 0.0478221029, -0.0008635901, -0.0396626666, 0.0013302057, 0.0160620082, -0.0079760198, 0.0225485712, -0.0167979822, -0.0365653932, 0.0198357143, -0.007790626, 0.0236290004, 0.0653897226, -0.0488656163, 0.0760522485, 0.039122276, -0.044097688, 0.0623428449, 0.0509129837, 0.0130868815, -0.0165080242, 0.0568824746, 0.0040456522, 0.0111355018, 0.0060135615, 0.0379341021, 0.0003827026, 0.013637499, 0.0572481491, 0.0021753395, -0.0217938814, 0.0232039038, 0.0247825757, 0.0127801374, 0.0179331973, 0.0139145553, 0.0039723078, -0.018048374, -0.0633775815, 0.0768078789, 0.0344060063, -0.0234236214, -0.000054139, 0.0145233925, 0.071020849, -0.0094440561, -0.0124037536, -0.0695794001, -0.0291282889, 0.0651196986, 0.0472583175, -0.0076961103, 0.0014461286, -0.0067925188, -0.1386582106, -0.0210730899, 0.0376108773, -0.0098026916, -0.0357914679, -0.0319452584, -0.0039876965, -0.0032875894, 0.0223219357, 0.0351348296, 0.0014552027, -0.0271431506, 0.0387763567, -0.0932638273, -0.0654037148, 0.0179077275, -0.0292969998, 0.0438254029, 0.0622696318, 0.0062434073, 0.0106732072, -0.0218018554, -0.0057395217, -0.0325467139, 0.0186318643, -0.0388431922, -0.0378900468, 0.0060793422, -0.0031642939, 0.0310375988, -0.0025057904, -0.0366683379, 0.0085783871, -0.005434576, 0.0759900808, -0.0011312522, 0.0111827683, 0.0006015488, -0.0132789379, 0.0136306817, 0.0469437465, 0.0131859994, -0.0078926943, -0.0096045565, 0.0022553594, 0.0481308624, -0.0232412349, -0.0155452425, 0.0360097028, 0.0046651964, -0.0489513539, -0.060673587, 0.0093957419, -0.0186117198, 0.0661412776, 0.0118057951, -0.0152718602, -0.0306991972, 0.0231031533, -0.0364783779, -0.0308025647, -0.0287519041, 0.0188112706, -0.062965706, -0.0084339995, 0.0196636841, -0.0130210379, -0.0119875297, 0.0266107116, -0.0176442619, -0.0398310758, 0.0201751478, -0.0447112247, 0.0230666399, 0.0537037216, -0.0127095915, -0.0055591827, 0.0076305796, 0.0148554798, -0.02700294, -0.0013559192, 0.0751508176, -0.0414617807, -0.0077806716, 0.0102250427, -0.0791358799, 0.0264187101, -0.0323385373, 0.0535027124, -0.0236442387, -0.0382316336, 0.021838136, 0.0172560941, 0.0748639107, -0.0580936484, 0.0492091626, -0.0304838493, 0.0505030304, 0.0167370439, 0.0565287434, -0.0055123898, -0.0264373217, 0.0447983332, 0.0059437179, -0.0284427311, -0.027515484, -0.0204450134, -0.0166058149, -0.0404319279, 0.0351876207, 0.0547016673, 0.0205926858, 0.0188800562, 0.0010944869, -0.0191378593, 0.0515684523, 0.0354890898, 0.0151657285, -0.0223597717, -0.0219866931, -0.0131106898, 0.0063852761, -0.0178324096, -0.0113461772, -0.029483458, 0.0358271189, -0.0372954793, 0.0272552054, 0.0356689245, 0.0060667559, -0.0005697424, -0.0188368633, 0.0409671552, -0.014475395, -0.0103394575, -0.0244610589, -0.0335916393, 0.0384051315, -0.0196762532, -0.0179266222, 0.0328969061, 0.0444492735, 0.0532777123, 0.0164525472, -0.0178286619, 0.0027298161, -0.014042927, -0.0174362343, -0.0073581645, 0.0149308732, -0.0237744749, -0.0186039638, -0.0377358906, -0.0924173221, 0.0625024512, 0.0125141991, 0.0437920615, 0.0280590691, 0.0209372621, 0.0009281668, -0.0180817917, 0.032534495, 0.0565585308, -0.0447569899, 0.0124372747, -0.0183373876, 0.0046292217, -5.730613571e-33, -0.0225602631, 0.023986591, -0.016405059, 0.0119042043, -0.0034672583, 0.0231719054, -0.0509288982, -0.0037553986, 0.0213877931, -0.0457935929, -0.0366119146, -0.0140852584, 0.0272248648, 0.0439645387, -0.036756143, -0.0117562581, 0.0597630702, 0.0336914957, 0.0395498797, 0.0112361507, 0.0325811766, 0.0599237829, 0.0508980826, -0.0289169196, -0.0021796541, 0.011796671, 0.0352108702, 0.0067204153, 0.0414566211, 0.0806726664, -0.0099955434, 0.0842648372, -0.0001122627, -0.0141412448, -0.0296574961, 0.0404462814, -0.1251024306, -0.0213483553, -0.0031608976, 0.041037716, 0.0175823458, -0.0032491691, 0.027421236, -0.0226499829, -0.0531267524, 0.0353275947, -0.0198476333, -0.0210587494, -0.0353393927, -0.0936170071, -0.0277893208, 0.0349297002, 0.0240507778, 0.0226096734, 0.0522763655, 0.0003423167, -0.0049245078, -0.0410025939, -0.0289445762, 0.0344821066, -0.0175075773, 0.0328231491, 0.0376488008, 0.0502428487, -0.0313957669, -0.0004080689, 0.0800927728, -0.0753477514, 0.0475794189, 0.012528629, 0.0259635262, 0.0105268471, 0.0034492873, 0.0538087301, 0.0629541799, -0.0416514166, -0.0089952862, -0.0251755286, 0.0176604073, -0.0284064747, 0.0261051226, 0.0412583835, -0.0665439516, -0.0273763835, 0.0047351774, -0.0249737315, -0.0343160555, -0.0089146942, 0.0700751022, 0.0112945242, -0.019275574, 0.0922772363, 0.0598647036, -0.0165769886, -0.0068116859, 0.0583050437, 0.035298828, -0.0251478069, -0.0264679119, 0.0516833104, -0.0309422128, -0.0334646925, 0.0403579958, -0.0137415258, 0.0004449151, -0.0319493972, -0.0323280692, 0.0261830073, -0.0524188802, -0.0018354753, -0.03535017, 0.0269417521, -0.0354688428, -0.002687193, 0.0660963953, -0.0157046337, 0.010867388, 0.0418793969, 0.026273679, 0.0074084923, -0.0293231755, -0.0281575713, -0.0318166874, 0.0087527521, -0.0358428955, 0.0194319692, 0.0470954478, -0.0145043684, 0.0278622061, -0.0255086757, 0.0006630854, 0.0213338379, 2.564e-7, -0.0012316444, 0.0209687594, 0.0807430968, -0.0340845548, 0.0225098133, -0.0485285148, 0.0029251168, 0.0184993688, -0.0121553522, -0.0504947826, 0.0274924655, -0.0329699703, 0.0243328735, 0.01579744, -0.103305243, 0.0132446783, -0.0797046423, 0.0451596975, -0.0519295596, 0.0325940885, 0.0142316446, 0.0913396999, -0.0335119776, -0.068960622, 0.0014462987, -0.0116135683, -0.0103230784, -0.0333194584, 0.0166167561, -0.0457095355, 0.0197375454, 0.0130020007, 0.0169700496, -0.0123380963, -0.0113567533, 0.0426955335, 0.041428104, -0.0110255331, -0.0341110304, -0.0613362305, 0.0042706318, 0.0067349975, -0.0369184613, -0.0118094115, 0.033163555, 0.0395927541, 0.0235540401, -0.0448469296, -0.0158301536, 0.0147400238, -0.0590779297, 0.015106488, 0.0033070403, 0.0026801648, 0.0407968499, 0.0036704722, -0.052535817, -0.0477731712, 0.0089022359, 0.0221623443, -0.0397307165, 0.0033105651, -0.0198003836, -0.002447376, -0.0097697452, 0.0108364169, -0.0247696023, 2.397063718e-34, 0.0211765617, -0.000985772, -0.0022872521, 0.0184785854, 0.0032622654, -0.0293067973, 0.0750323758, 0.0287081823, -0.0030820621, -0.0274538659, -0.0613702983 ]
http://arxiv.org/abs/2312.09572v1
http://arxiv.org/pdf/2312.09572v1
IR-UWB Radar-Based Contactless Silent Speech Recognition of Vowels, Consonants, Words, and Phrases
2023-12-15T07:04:40
2023-12-15T07:04:40
Sunghwa Lee, Younghoon Shin, Myungjong Kim, Jiwon Seo
eess.AS
eess.AS, cs.CL, cs.SD
Several sensing techniques have been proposed for silent speech recognition (SSR); however, many of these methods require invasive processes or sensor attachment to the skin using adhesive tape or glue, rendering them unsuitable for frequent use in daily life. By contrast, impulse radio ultra-wideband (IR-UWB) radar can operate without physical contact with users' articulators and related body parts, offering several advantages for SSR. These advantages include high range resolution, high penetrability, low power consumption, robustness to external light or sound interference, and the ability to be embedded in space-constrained handheld devices. This study demonstrated IR-UWB radar-based contactless SSR using four types of speech stimuli (vowels, consonants, words, and phrases). To achieve this, a novel speech feature extraction algorithm specifically designed for IR-UWB radar-based SSR is proposed. Each speech stimulus is recognized by applying a classification algorithm to the extracted speech features. Two different algorithms, multidimensional dynamic time warping (MD-DTW) and deep neural network-hidden Markov model (DNN-HMM), were compared for the classification task. Additionally, a favorable radar antenna position, either in front of the user's lips or below the user's chin, was determined to achieve higher recognition accuracy. Experimental results demonstrated the efficacy of the proposed speech feature extraction algorithm combined with DNN-HMM for classifying vowels, consonants, words, and phrases. Notably, this study represents the first demonstration of phoneme-level SSR using contactless radar.
[ -0.0149633391, 0.0074883038, 0.0367101878, -0.0317475796, -0.0341793559, 0.0068136603, 0.0774890035, -0.0459619612, 0.0233480446, -0.01306888, -0.0104211085, -0.0435156561, 0.0609722733, -0.0302940514, -0.0013511931, 0.0232738871, -0.0209237561, -0.0406548306, -0.0236508828, -0.0174832884, 0.0236047264, -0.0271976907, -0.1031658873, 0.0364217013, -0.0447779521, 0.0517843254, -0.0400538594, -0.02495615, -0.001050206, -0.0319339372, -0.0345102809, -0.011221326, 0.0330305286, 0.035067603, 0.0000017861, 0.0035015796, 0.0219411645, 0.0022495468, -0.0319922715, -0.0379483998, 0.0589599274, 0.0115237739, -0.0230935626, 0.0351502039, 0.0229596645, -0.0305146948, 0.0171914063, 0.0281188525, -0.036291834, 0.0059378026, -0.0014154228, -0.0126064802, 0.0274678133, -0.0164413806, 0.0427656136, 0.0075600506, -0.0571407266, -0.0839052945, -0.0243192073, -0.0391950458, 0.0326212794, 0.0727427602, -0.0062319236, 0.0273866151, 0.0269015804, 0.03893793, -0.0993232206, -0.0309141483, -0.0103055425, 0.0609351881, -0.0246672686, -0.0283648912, 0.0369402766, 0.033592321, -0.0106392717, 0.0175845195, -0.0046579936, -0.0407518335, 0.0230208971, -0.0207089651, -0.052246321, 0.034113355, 0.0266188309, -0.01496094, -0.0180600677, 0.031551104, -0.0246929955, -0.0088706957, 0.062735565, -0.0514320135, 0.0376796909, -0.036265824, 0.0305641312, 0.0445255451, -0.0208679978, -0.0148462979, -0.0637309402, -0.0342373885, -0.0048184986, -0.0462343693, -0.0337050557, 0.0213642195, -0.0326921754, 0.0260161832, -0.0349278226, 0.0147497896, 0.0022804595, -0.0755017251, -0.021888148, 0.02975915, 0.0049408278, 0.0068278546, 0.012063968, 0.0425160602, 0.0202788338, -0.0378435999, -0.0146940546, -0.0133624431, 0.0233837217, -0.0082916208, -0.0004836836, 0.0766356513, -0.0595233552, 0.0164154302, 0.0247483198, 0.0121003482, 0.0649684295, 0.0307374466, -0.0083331289, -0.1005958617, -0.0394990556, 0.0099793365, 0.0543043353, 0.022698991, -0.0134226335, 0.0227331519, -0.0114245769, 0.0024148873, -0.0067039169, 0.0865251422, 0.0107192369, 0.0267049707, 0.0610404462, -0.080538705, 0.0045435075, 0.0324892029, 0.0021971078, -0.0200526807, 0.0608053431, 0.0040063257, 0.032833498, 0.0645650849, 0.0523176901, -0.024667779, 0.0726104826, -0.0149528412, -0.004203123, -0.0357715338, 0.0285719242, -0.0312686116, -0.0090759424, -0.0372857079, 0.0039223516, 0.0240394063, -0.0274119079, -0.0081820115, -0.0572663099, -0.0220976807, -0.0001894747, 0.0617775582, 0.0131837362, -0.0083765397, 0.0096697928, -0.0088863326, 0.0436093546, 0.0695451722, -0.0021780035, 0.0732712969, -0.0083647566, 0.0494355895, 0.0135241654, -0.0506450273, 0.0144285858, -0.0174499769, -0.0581091084, -0.0254363045, -0.0226070434, -0.0104620252, -0.034752883, -0.0226195101, 0.0117068766, -0.085537523, 0.0484511405, 0.007581342, 0.0511586443, -0.0545455851, -0.0179807469, 0.0062264604, 0.0464777686, 0.0152755929, -0.0574758463, 0.0201824252, -0.0150172422, -0.0305944961, -0.0186433122, -0.0507971123, -0.0331049301, -0.0277649704, 0.0518289581, 0.0348155051, -0.0141276158, 0.0104208598, 0.0231270995, 0.0066011548, -0.0372191332, 0.0888421163, -0.0061673243, 0.086512208, -0.0470603704, 0.0597979687, -0.0022821133, -0.0012732774, 0.0483279042, -0.0215219632, 0.0357135236, -0.0148720136, 0.0201319475, 0.0192160066, 0.0771899074, 0.0173712317, -0.0314336605, -0.0117244953, 0.0208129473, -0.0918948725, 0.0289597642, 0.0022337977, -0.0158311501, 0.0020996081, 0.0043554823, -0.0429852083, 0.0140318377, 0.0841611996, 0.0485362373, -0.0237282552, 0.038109377, -0.0070711826, 0.0853525475, -0.0083048847, 0.0094132358, 0.0162311364, 0.0002829476, 0.0137273846, -0.0065486152, 0.017583428, -0.001621621, -0.0030239034, -0.0494531281, 0.0406838581, -0.0124740154, 0.0002482478, 0.0458055623, -0.0237374846, 0.0060981363, -0.0234332215, 0.0070168809, -0.0245552976, -0.056666784, -0.0286966991, -0.0116291801, -0.0015192718, 0.0122460695, -0.0121231936, 0.0134002166, 0.0254707672, -0.0241791196, -0.022432331, 0.0016722052, -0.0447977073, -0.0654450059, -0.0264523625, -0.0093882056, -0.0532400645, -0.0132183004, -0.0253184717, -0.0005854629, 0.0139161414, 0.0106407031, -0.0587376095, 0.0297527742, -0.0410338752, 0.0508884452, 0.0455762744, 0.0023592657, -0.0251631215, 0.0585076846, -0.002842502, 0.0135986907, 0.0435626879, 0.0399502777, -0.000720425, 0.0185606219, -0.0188584961, -0.0605790243, 0.0003421163, 0.0232048035, 0.0481757335, -0.0035279435, 0.0813269019, -0.0518503971, -0.0380864814, 0.021208128, 0.0539583229, 0.0229668915, -0.0394213982, -0.0168450978, -0.0345790014, -0.0255038235, 0.0192198697, -0.0282317847, -0.0523628257, 0.0461364724, -0.0090909358, -0.0214751866, -0.0887313262, -0.0376961045, -0.0202189572, -0.0368001647, 0.0301331691, -0.0513404123, 0.0228644274, -0.015313128, -0.0232367497, -0.0316857658, 0.0699270889, -0.0238252245, -0.0639137253, -0.0171425883, -0.0125388652, 0.0238302983, 0.0104445191, -0.0317410268, 0.047147423, -0.0343712643, -0.0139994035, -0.0043634269, 0.0053819437, -0.0288166702, 0.0003017209, -0.0196178928, 0.0316631272, 0.0197283346, 0.0372595191, 0.0302184224, 0.0194942225, -0.0598506965, 0.0537995659, 0.0440429561, -0.0190559104, 0.0170329548, 0.0682329312, 0.0023529714, -0.0414520614, 0.0460842252, 0.002577967, -0.0603230149, 0.0213599708, 0.0275587719, 0.0229541641, -0.0278677121, 0.0252916757, -0.0088383015, 0.0095045557, 0.0257496331, 0.0581320636, 0.0128209908, -0.0393274315, 0.0195420645, 0.0564473867, 0.0043765716, -0.0266329478, -0.0280905664, 0.0643757656, -0.0188605879, 0.0036153682, 0.0211292002, 0.0063241143, 0.0237367544, 0.042098619, -0.0077951076, -0.0392202139, 0.0303964093, -0.0145633556, -0.0567090251, 0.0026975451, -0.0041965418, 0.004068078, 0.0616405979, 0.0055226665, -0.0125168078, -0.0244607236, 0.0298118703, -0.108068198, -0.0336097516, -0.0251767226, -0.0395740941, 0.0372087285, 0.0423548408, -0.0113145774, -0.0464377068, -0.0746681541, 0.0152838528, 0.0427494012, 0.0108970515, -0.0291834846, -0.0375532173, 0.0011215955, -0.0325345695, 0.0266647823, 0.0665438026, -0.0789077356, 0.0220057312, 0.022058988, -0.0066289976, -0.069448106, 0.0238639321, 0.0078258328, -0.0098987762, 0.0133556249, 0.0424288362, -0.0143081471, -0.0244938787, -0.0180306062, 0.0090576485, 0.0255664848, 0.0464756936, -0.0422457382, -0.0152233467, 0.0201912373, -0.0905689523, -0.0301750321, -0.0345815755, 0.0393223912, 0.0370734259, 0.033322081, 0.07709001, 0.0644885227, 0.0900452659, 0.0035548133, -0.0091529377, 0.0633791238, 0.0071799988, 0.0113216201, -0.0139167346, 0.028579928, -0.050150197, 0.0269306954, -0.0212286673, -0.0308641102, 0.0048632254, 0.0893177986, -0.0836942941, 0.01132615, 0.0398570783, -0.0454609916, -0.0042605088, 0.0791146383, 0.0048016668, -0.0316467211, 0.004371752, 0.0508217886, 0.0094663035, 0.0031861837, -0.0012257926, -0.0037185419, -0.001245972, -0.0524060912, -0.0152296703, -0.0511397123, -0.0088233873, 0.0445255637, -0.0238204952, 0.0247507151, 0.0491509549, 0.0341253132, -0.0149852885, 0.0360974222, 0.0165686794, 0.055500973, -0.0288930666, 0.0316189937, -0.0121773314, 0.029503949, 0.016819939, -0.0592641681, -0.0333541706, -0.0088626165, 0.0767649785, 0.0829251185, 0.0268777981, 0.0437334143, -0.0325358212, -0.0346818417, -0.0237296671, 0.0034251977, -0.0355706997, -0.0221681334, -0.0230085626, -0.009272268, 0.0204271153, -0.0185758937, -0.0065856916, 0.036871396, 0.0304927919, 0.0239920374, 0.0203652233, 0.0748232976, -0.0062121684, 0.0091089988, -0.0552818477, 0.0212729853, -0.0033964377, 0.0114784027, 0.0100665353, -0.0176900849, 0.047895629, 0.0409417003, 0.045086693, -0.0182452202, 0.0577614643, 0.0005940853, 0.0045058988, 0.0377198346, 0.0320578627, -0.0043032821, -0.0384283625, -0.0131759848, 0.0138772987, 0.0303260833, -0.0437526852, 0.0266856067, 0.0252394807, -0.0181260481, 0.0267066956, 0.0152995829, 0.0087913694, -0.0891870856, 0.0054561007, -0.0182779841, -0.0142326728, 0.0165202171, 0.0549161434, 0.0005222632, 0.0259623472, -0.0048714243, -0.0302430559, -5.179437862e-33, -0.0159744583, 0.0120848808, -0.0391226523, 0.0461494401, -0.022357177, 0.0482409596, -0.001755111, 0.0246795323, 0.015718976, -0.0370808691, -0.0122047206, -0.006704642, 0.0306561645, -0.0175134037, 0.0261228438, -0.0156232975, 0.031541802, -0.0210655909, 0.0377767384, -0.0281300098, 0.0281270444, 0.0008520225, -0.0038385433, -0.0553549193, -0.0523493476, 0.0052050869, -0.0046304874, -0.0634127334, 0.0064575407, 0.0245307535, -0.0469022542, 0.0038299721, -0.0319792889, 0.0047349297, 0.0376568511, 0.0492580682, -0.0631868616, 0.025137959, -0.0859226733, 0.0605368689, -0.0005121129, -0.0505458973, 0.002962633, 0.0307495072, -0.0359314419, 0.0319906808, 0.0051517691, -0.0243081171, -0.0051208469, -0.0498302877, 0.0160698853, 0.0215710308, -0.0347714722, -0.0435952991, -0.0063268319, -0.0214401744, -0.0522781834, -0.0110659832, -0.0948935077, 0.0093929498, 0.0353749879, 0.0624115095, -0.0051948824, -0.029910177, 0.0329266936, 0.0426665545, 0.0193075705, -0.0385159366, 0.0559457913, -0.0194741264, -0.0011501961, 0.0241221543, 0.0059426264, -0.0011976729, 0.0785233229, -0.0200813636, -0.0589577928, 0.0034660227, 0.0882249549, 0.0324985571, 0.0072677108, -0.0008742044, -0.0495295003, 0.0606628098, 0.0125966454, -0.0099603143, 0.0004713851, -0.0348221287, 0.0305399727, 0.0058655837, -0.0041760337, -0.0007676691, 0.0257435981, -0.0079522347, 0.0526394993, -0.0426123179, 0.0529675372, -0.0364702232, 0.0245910883, -0.0447838269, -0.0159342699, -0.0044997106, 0.059031345, -0.0227393359, 0.0411164947, -0.0138925081, -0.0096009867, 0.0568368733, -0.0399477594, -0.043955639, -0.0181246791, -0.0046351571, -0.0120198317, 0.045034796, 0.0486322716, -0.0630357042, -0.003613251, 0.0105111031, -0.0129813692, -0.0641979203, 0.0021679904, 0.0363969356, -0.0217302442, 0.0014178763, -0.0551985875, -0.0174110867, -0.0077422988, -0.0122555131, 0.0476767458, -0.0014034563, 0.000326527, -0.0053335051, 2.788e-7, -0.0845337957, 0.0131230457, 0.0140247857, -0.0598370805, 0.0164094549, 0.0188410301, -0.0142056383, 0.0201547835, -0.0001167793, 0.0322357565, 0.027511932, -0.0238683522, 0.0405617505, -0.0024967629, -0.0578194447, -0.0320474505, 0.0056171915, 0.0055523547, -0.019465588, 0.0360885784, 0.0399302393, 0.0285403132, -0.0227891598, -0.0339796655, -0.0050395834, 0.029472623, -0.0302353222, -0.0051207449, 0.035029117, -0.0650908723, 0.0315160006, -0.0556382313, -0.0599525645, -0.032992959, 0.0146248797, 0.0064549497, 0.0092519158, 0.025341291, -0.0349833705, -0.0484023318, 0.0154150873, 0.0354967639, -0.0499239825, 0.0177994035, 0.0684624389, -0.0351755209, -0.0207521506, 0.0350441709, -0.0101873819, 0.0091479374, -0.0044520386, 0.0249305405, 0.0377307422, -0.0708185062, -0.0116022164, -0.0513504259, -0.0091132224, 0.0093945889, -0.0176322497, 0.0044315676, -0.0651352555, 0.0184032153, 0.0320667364, 0.0315797031, 0.0054530622, 0.002413979, -0.0238068756, 1.820387656e-34, -0.0368019454, 0.0149548724, 0.0021638654, -0.0095794117, -0.0587599091, 0.0007751499, 0.0244891457, -0.0083377874, -0.0101024061, -0.0746947303, -0.0383982733 ]
http://arxiv.org/abs/2312.09571v1
http://arxiv.org/pdf/2312.09571v1
Extending Context Window of Large Language Models via Semantic Compression
2023-12-15T07:04:33
2023-12-15T07:04:33
Weizhi Fei, Xueyan Niu, Pingyi Zhou, Lu Hou, Bo Bai, Lei Deng, Wei Han
cs.CL
cs.CL, cs.IT, math.IT
Transformer-based Large Language Models (LLMs) often impose limitations on the length of the text input to ensure the generation of fluent and relevant responses. This constraint restricts their applicability in scenarios involving long texts. We propose a novel semantic compression method that enables generalization to texts that are 6-8 times longer, without incurring significant computational costs or requiring fine-tuning. Our proposed framework draws inspiration from source coding in information theory and employs a pre-trained model to reduce the semantic redundancy of long inputs before passing them to the LLMs for downstream tasks. Experimental results demonstrate that our method effectively extends the context window of LLMs across a range of tasks including question answering, summarization, few-shot learning, and information retrieval. Furthermore, the proposed semantic compression method exhibits consistent fluency in text generation while reducing the associated computational overhead.
[ 0.0068604792, 0.0585770197, 0.0191576704, 0.0115028219, -0.0107652033, 0.0063774115, 0.0003120963, 0.0279941857, -0.0544186644, -0.0541391522, 0.0023954052, -0.016478315, 0.0010706516, 0.0038822182, 0.0182510037, -0.0355558954, 0.0254654661, -0.0258858874, -0.0337718837, -0.0049466407, -0.0068969098, 0.0144267548, 0.0533352457, 0.0410260372, -0.0203784239, -0.0206353739, -0.0177912638, -0.0041693794, -0.0144673875, 0.0112655377, -0.0012019952, 0.0367330201, 0.0467993952, -0.0071672429, 0.000001859, -0.0327455699, -0.0216852371, 0.0040686135, -0.0370475985, 0.0211487729, 0.0497668535, -0.0353078283, 0.0190476719, 0.0340071879, -0.0457993448, -0.0553749725, 0.0404116251, 0.048681099, 0.0640155077, 0.070540458, -0.0018112082, -0.0434523523, 0.0406368189, -0.0381843895, 0.0597309023, -0.0430939235, 0.0199954119, 0.0141386744, 0.0057514552, 0.0171663649, -0.0167930089, 0.0413687155, 0.0599772073, 0.0025975872, 0.0075788782, 0.0419386663, -0.0081556607, -0.0048253811, 0.0094185667, 0.0577518754, -0.0125009222, -0.0465927273, -0.0097445082, 0.0149430064, 0.0069324016, -0.0175302457, -0.0687250197, 0.065082781, 0.0201487187, 0.01633179, -0.0107465023, 0.0174112096, 0.0154322386, 0.0239382368, -0.0680060163, 0.0215025041, 0.0147106759, -0.0162188802, -0.0440046676, -0.0172756091, -0.0183697529, -0.0545899384, -0.0211957265, 0.0773904249, -0.0222012438, 0.0086361142, -0.0725318193, -0.0151583189, 0.0205792021, -0.0170342047, 0.001620192, 0.0377674215, 0.0241375063, 0.0372850746, -0.0414299555, 0.0553331785, -0.0280177742, -0.0100752972, -0.0803803205, -0.0382590517, -0.0361490138, -0.0305316206, -0.0620039701, 0.0393883288, -0.0373998098, -0.0441028848, -0.0164751392, 0.0602659844, 0.0261224415, -0.0208840352, 0.0074328226, 0.0222348422, -0.0243279766, -0.0278323125, 0.0194919724, 0.0398844182, -0.025322469, -0.0105516529, 0.0303646903, -0.0287579522, -0.0072688954, 0.0473633707, 0.0176906511, -0.0146705182, -0.0013616054, 0.0421066284, -0.0235354528, -0.0291249193, -0.0272317659, -0.0243896674, -0.0240208525, -0.0412230752, -0.000319945, -0.0702393577, 0.0318623185, 0.0104230354, -0.0144070266, -0.0444580913, 0.0023448649, 0.0463128872, -0.028716553, 0.0515949205, -0.0150411436, 0.018715227, 0.0542721823, 0.0250054337, 0.0638691634, 0.0571065545, 0.0270111393, 0.0281914249, 0.0163588151, -0.0235858783, -0.020560652, 0.0313336141, 0.0353730991, 0.0054214634, -0.0384699702, 0.0340192802, 0.0139102861, 0.0176274758, 0.0274589583, 0.0790894181, -0.0621831231, -0.0148164211, 0.0393629186, 0.0356086716, 0.0379616357, 0.0244779252, 0.0615304448, 0.0400306843, -0.0220416412, 0.0164076686, -0.0244356394, 0.0395438485, -0.0136789726, 0.0396192968, 0.0508893579, 0.0192825608, -0.0490126424, -0.0210192762, 0.0015630312, -0.0240192916, 0.0107485419, 0.0238757879, 0.0067744716, 0.0382107385, -0.0283809695, 0.0833757147, 0.0078237979, -0.0709113851, 0.0235619489, -0.0368600301, 0.0316432863, 0.0515617914, 0.0349826887, 0.0149656991, -0.0022428602, -0.0150292236, 0.0353028402, 0.041427739, 0.0371939354, -0.0182831809, -0.0168099552, -0.0511045903, -0.0052809166, -0.0127643971, -0.0095027173, -0.0253877025, 0.0485973507, -0.004018208, 0.0659357309, -0.0011467958, -0.001757885, 0.045214314, -0.045898594, -0.0372189656, 0.0042115632, -0.0156280752, 0.0075567425, -0.0255143754, -0.0224054307, 0.0345512331, 0.0424810052, -0.0584234409, -0.0340333506, -0.0245557427, -0.0677830651, -0.0376893766, 0.0398859419, -0.0162676051, 0.0259889048, 0.0182134341, -0.0283297095, -0.0495859161, -0.0137274759, -0.0592111796, 0.0493687615, -0.0570377335, 0.0154170757, 0.0222808477, 0.0371345133, -0.0643577203, 0.0535733365, 0.0032459213, 0.0050874767, 0.0262844991, 0.0097239381, 0.0008558056, -0.0308341477, -0.0002707395, 0.0187459979, -0.0101618133, 0.0068921782, 0.0472996868, 0.0231768247, -0.0074094916, -0.0520791225, -0.1083307788, 0.0164289027, -0.0096394653, -0.00993245, 0.0427473485, 0.039529752, 0.0023866808, 0.0124489749, -0.0601115562, 0.0131332586, 0.0357476808, 0.0127649121, 0.0167930555, 0.0126340128, -0.0028805302, -0.0094150295, -0.0352592245, 0.0118323388, 0.0934750512, -0.0206558779, -0.0074181855, -0.0638411939, 0.048973158, -0.0121187372, 0.0138303163, 0.0132450266, -0.0176855456, -0.0136261983, -0.0416523702, 0.0685913339, 0.0594081245, 0.0629348904, 0.0206806213, 0.0467567854, 0.0037989779, -0.0418124348, 0.0149453124, -0.0441735387, -0.0335108265, -0.0253690891, -0.0334134586, 0.0158142727, 0.0518648848, 0.0029648726, 0.0043561864, -0.0654131249, 0.0030797673, -0.0064198361, -0.0247335956, -0.0558614247, -0.0062396079, -0.0167163331, 0.037379887, -0.0211577248, -0.0277235173, 0.0408166833, -0.0568686277, 0.012083129, -0.0025155139, -0.0083970679, -0.0600485206, 0.0533689447, 0.0099359676, 0.0356100239, -0.0058353338, 0.0106283072, -0.0589810349, 0.0143513447, -0.0332204178, -0.0326943882, 0.0670516193, -0.008517392, 0.008998882, -0.0270428583, -0.0468282439, -0.0320172571, -0.0534117296, -0.0003547661, 0.0147386054, 0.0175377112, -0.0156605635, -0.0275285803, 0.0217568614, 0.0405951403, 0.0526929274, -0.0221987404, -0.0158747695, -0.0179829299, 0.0476843193, 0.0679783598, 0.0208207089, 0.0147446487, -0.020889245, 0.0470605902, 0.0618463643, 0.0165163297, 0.0390028208, -0.0251227189, -0.0165812653, 0.0305941682, -0.0177603513, -0.0073079346, 0.0307421107, 0.0328544825, -0.0532503277, -0.0184702985, 0.1405703425, 0.0388810895, -0.0401974283, -0.0051154429, -0.0153619656, 0.0597947165, 0.0063135065, 0.0552566387, -0.0819846913, -0.0374206044, -0.0042081196, -0.0083681112, 0.0178794228, -0.0102987215, -0.012916103, -0.1110269874, 0.0146740358, 0.0137485061, -0.0457103886, -0.023561608, -0.0174110029, -0.0237807911, 0.0300820861, 0.0077335876, 0.0507257581, -0.0347762816, -0.0098820636, 0.0085462146, -0.0106226783, -0.023938857, 0.0110686645, 0.0079144947, 0.0148230251, 0.0453434475, 0.0022017122, 0.0074289348, -0.0008500633, 0.0216177404, -0.0249468032, 0.0139036179, -0.0031062085, 0.0453218259, -0.0212017782, -0.0050383899, 0.0052911742, 0.0286695883, -0.0258096289, -0.0252540745, 0.0022726408, 0.0598555766, 0.002607974, -0.0166450515, -0.0174855888, -0.0048713004, -0.02418226, 0.0983941406, 0.0546073727, -0.0429580733, -0.0401514843, -0.0322293788, -0.0255197436, -0.0295966417, -0.0484906323, 0.023967389, 0.026755657, -0.0467173085, -0.0769011825, -0.0226239935, 0.0298501719, 0.028881168, -0.0288010407, -0.0100787878, -0.0185634363, -0.0112389838, -0.0818998218, -0.0067843222, -0.0683237091, -0.017966995, -0.068228133, 0.0315112844, 0.0363235697, -0.0457535386, 0.0038742998, 0.0182400495, -0.0814486295, -0.05014484, -0.034999676, 0.0176354852, 0.0173761733, 0.0603218041, -0.0016326077, -0.0657772869, 0.0494104885, 0.0236430541, -0.0668637976, 0.0613905825, -0.0066476944, -0.0144667272, 0.0074128979, 0.03969853, -0.0542038046, 0.0317528397, -0.0166357476, 0.0296233539, -0.0332584344, -0.0259199459, 0.0428196788, 0.0151480157, -0.0053839036, -0.000642188, 0.0177591816, 0.0271160528, 0.0049113994, -0.0283178966, -0.0239926893, -0.0365533754, 0.0214762315, 0.0159965921, -0.0063905874, 0.0369702205, 0.0244288724, 0.0100075267, 0.0290087461, -0.0133599602, -0.0105327796, -0.0367819779, -0.0083838068, 0.0339726657, 0.0046057408, -0.0408728383, -0.0264669918, -0.0260228124, 0.0035552785, -0.0444372669, 0.0423240177, 0.022382129, 0.0113669196, -0.01878318, 0.0238709394, -0.0771439299, -0.0456511714, -0.0321429148, 0.0298174899, 0.0275743138, 0.0245110169, 0.0260719322, -0.0180532038, -0.0205829795, -0.038475886, 0.0108252876, 0.0042750887, -0.0389968343, 0.0351174176, 0.0264249947, -0.0211134162, -0.0187410656, 0.0850653276, 0.0365924761, 0.0229160096, 0.0090404404, 0.0190822706, -0.0426401049, -0.0362985693, -0.0083819106, 0.0242098588, 0.0032387658, 0.003240606, -0.0227108356, -0.0648251772, 0.0232400745, 0.0004798424, -0.0141379125, -0.0152916256, 0.0471628346, 0.0626654327, -0.0128960889, -0.0171077736, -0.0365378708, 0.0105172405, -0.0044881394, -0.002346643, -0.0017783229, -6.234615591e-33, -0.0428933427, -0.0179421008, 0.0457084961, -0.0037763473, -0.0366249941, 0.0134709235, -0.0312118232, -0.0121285515, -0.0104264282, -0.0125523666, -0.0244926978, 0.0169041511, -0.0054651625, 0.0686385483, -0.0328422636, -0.0032125483, 0.045841746, -0.0206394028, -0.0221880693, 0.045271311, 0.0316316187, 0.0189277008, 0.0045645186, -0.0192100406, -0.0453579873, -0.0202092528, -0.0010802496, 0.0160007924, 0.0331600234, 0.0511966236, -0.0428392701, 0.0417956598, 0.0310648587, -0.0666951388, -0.03041845, 0.074404493, -0.0829035342, -0.0105126854, 0.0251720324, -0.026845919, -0.0344689302, -0.0768790618, 0.0518699661, -0.0250480399, 0.0138596296, -0.0400563367, 0.0012730905, -0.0359386839, -0.044116281, -0.0643996671, -0.0442935228, 0.0113399727, 0.0045850729, -0.0235957671, 0.0076680263, 0.0614983439, -0.024779791, 0.0359206684, 0.0048621711, 0.0362076834, 0.0124672158, 0.0681022629, 0.033397086, 0.0155968321, 0.0143344281, 0.0311099514, -0.0131857116, -0.0431291051, -0.058636196, 0.0031488757, 0.005317416, 0.0176224131, 0.0286679063, 0.0685208291, 0.0299675371, -0.0191241913, -0.0709637925, 0.0150179639, -0.0311275236, 0.0452083647, 0.0331439041, 0.0027975671, 0.0112396199, -0.0277838632, -0.057150498, 0.0552158728, -0.016504731, -0.0210712738, 0.0432774052, 0.0340986066, -0.0272673927, -0.0174268987, 0.0715527982, -0.0503425896, 0.0283625983, 0.0790433362, -0.0317925252, 0.0379089229, -0.0033253205, 0.0221742913, -0.0333419256, -0.0044957027, 0.054083582, -0.0223031063, -0.0254633948, 0.0341017656, 0.029070029, 0.0331953168, -0.0625929087, -0.0101463562, -0.017807411, -0.0068594413, -0.0090633873, -0.0179858785, 0.0317966528, 0.0270469245, -0.003691891, 0.0550716259, -0.0255523939, -0.0380578227, -0.0054563475, -0.0367653333, 0.0330901779, 0.034953393, -0.0329989754, 0.0153447306, -0.0456007011, 0.0160538051, 0.0550361946, -0.0581803806, -0.0177349709, 0.0370047949, 2.554e-7, 0.0517709553, 0.0268827025, 0.0268537514, 0.0285627283, 0.0214086156, -0.0007876931, 0.0428530946, 0.0201645065, 0.0031392823, -0.0132435877, 0.0080332514, 0.0520589389, 0.0430743247, 0.0005228996, -0.0956798568, -0.009099843, -0.0697940513, -0.0085707353, -0.0372693464, -0.0165164992, 0.0659941733, 0.1281824261, -0.0312024727, -0.00247061, 0.0111520831, -0.0542612933, 0.0798175484, -0.0373535454, -0.0033792749, 0.0231998339, -0.0196476784, 0.001462948, -0.0032412363, -0.0023575341, 0.0063974205, 0.0072025484, 0.0089639965, 0.0908826664, 0.0207911823, -0.0121302344, 0.0075124283, -0.048313234, -0.0276727192, -0.0491856188, 0.0849958882, -0.0986603275, -0.008772389, -0.0259224921, -0.0102400705, -0.0093025817, -0.0122120045, -0.0175243337, 0.0085671265, 0.0162389297, 0.0217720587, -0.0048291064, -0.0018317944, -0.0929796323, -0.036964789, -0.0151309809, -0.0543828458, -0.0111396424, -0.0550064482, -0.0303460006, 0.0396813117, -0.04618131, -0.0008874807, 2.579168226e-34, 0.0282244906, -0.0069844597, -0.0058779768, 0.0090229604, 0.0161094908, -0.0293448418, -0.0034418253, 0.0115428427, 0.0249824971, -0.1191486642, -0.0238968115 ]
http://arxiv.org/abs/2312.09545v1
http://arxiv.org/pdf/2312.09545v1
GPT-4 Surpassing Human Performance in Linguistic Pragmatics
2023-12-15T05:40:15
2023-12-15T05:40:15
Ljubisa Bojic, Predrag Kovacevic, Milan Cabarkapa
cs.CL
cs.CL, cs.AI, cs.CY
As Large Language Models (LLMs) become increasingly integrated into everyday life, their capabilities to understand and emulate human cognition are under steady examination. This study investigates the ability of LLMs to comprehend and interpret linguistic pragmatics, an aspect of communication that considers context and implied meanings. Using Grice's communication principles, LLMs and human subjects (N=76) were evaluated based on their responses to various dialogue-based tasks. The findings revealed the superior performance and speed of LLMs, particularly GPT4, over human subjects in interpreting pragmatics. GPT4 also demonstrated accuracy in the pre-testing of human-written samples, indicating its potential in text analysis. In a comparative analysis of LLMs using human individual and average scores, the models exhibited significant chronological improvement. The models were ranked from lowest to highest score, with GPT2 positioned at 78th place, GPT3 ranking at 23rd, Bard at 10th, GPT3.5 placing 5th, Best Human scoring 2nd, and GPT4 achieving the top spot. The findings highlight the remarkable progress made in the development and performance of these LLMs. Future studies should consider diverse subjects, multiple languages, and other cognitive aspects to fully comprehend the capabilities of LLMs. This research holds significant implications for the development and application of AI-based models in communication-centered sectors.
[ 0.0725982785, 0.0183768813, -0.0431683622, 0.0471564159, -0.0634034127, 0.0161096752, -0.0170389693, 0.0088609131, 0.0100050494, -0.0535696857, -0.0306389667, -0.0332099795, -0.007138967, 0.0197261255, 0.0333925597, -0.0559244119, 0.0356677622, -0.0157569759, 0.068521522, 0.0045313491, 0.0059286496, 0.0201163962, -0.0099649876, 0.050794445, -0.0076162638, -0.0490211509, -0.0223054215, 0.0039408947, -0.0063818577, -0.0088166595, -0.002395022, 0.0392662026, 0.0233569313, 0.0006301401, 0.0000023904, -0.0393813625, 0.0342264995, -0.0268711988, -0.0241189525, 0.0557205454, 0.0729698911, 0.0024054602, -0.0287652966, 0.0195944067, -0.0678826421, -0.0124464342, 0.0180085786, 0.0527977422, 0.0479417183, 0.0661915839, -0.0189978704, -0.0184441525, 0.0438104682, -0.0205909256, -0.0194588322, -0.1013283059, 0.0263947695, 0.0279266071, 0.0266763251, 0.0178687125, -0.0174442623, 0.0380538069, 0.0095106047, 0.0060994737, -0.0488170721, 0.0273620207, -0.04158023, -0.0073505663, -0.0249370132, 0.0406641439, 0.0395098142, -0.0165539905, -0.0206636228, -0.0160772316, 0.0126143694, -0.0232218783, -0.0422503203, 0.0195360892, -0.0153855961, 0.0180028416, 0.0178026911, -0.0035757076, -0.0181518048, 0.0286496915, 0.0058463966, 0.0684474409, -0.0130711384, -0.0263248309, 0.0184669979, 0.0111934012, -0.0177583341, -0.0247847494, -0.0012230587, 0.0154204872, -0.0132047599, 0.0477577038, 0.001459651, 0.0208419729, 0.0355564393, -0.0449205637, 0.0210203379, 0.0433300585, 0.0187940262, 0.0166577119, 0.0118494164, 0.056517303, -0.0166679006, 0.0353756845, -0.0108958976, -0.0073641101, -0.071812585, -0.0388324484, -0.0348771513, 0.0293183438, -0.0346464477, -0.0316506773, -0.051429294, 0.0234675426, -0.0073719672, -0.0456294641, -0.0091579659, -0.0104732933, -0.0497004427, -0.0051953434, -0.0770282522, 0.0395736247, -0.0302518476, 0.0224850532, -0.0347731151, -0.0818875805, 0.0045514824, 0.0317219049, -0.0141644487, -0.0281903092, -0.0210363753, 0.0475621447, -0.0197629165, -0.0225446001, -0.0315671191, -0.018243989, -0.023207847, -0.0911052749, -0.0286918394, -0.0254313964, -0.0009949573, 0.0400164723, -0.0183367971, -0.0541602373, -0.0087136636, 0.0256797355, -0.0317108259, 0.0117630437, 0.0093298666, 0.0540557094, 0.0438238643, 0.0048561683, -0.0049129683, 0.0453755781, 0.0342719741, -0.0020688127, -0.0025710184, -0.0146617079, -0.0106566697, 0.0434743986, -0.0129644293, -0.0270334985, -0.0083204051, 0.0024663131, -0.0283032991, 0.0343442373, 0.0472879075, 0.0810816512, -0.0200824514, -0.0126873283, 0.0739912316, 0.0484444238, 0.0075018299, 0.0510237142, 0.0442548394, 0.0747317448, 0.0529261939, 0.008404199, -0.0160530433, -0.0010728468, -0.0082546184, 0.0047298414, -0.0187432785, 0.0071464153, -0.0221739467, -0.02220379, 0.0048112608, -0.0105833253, 0.0279854722, -0.0114156371, 0.0347383581, -0.0478989854, -0.0529792756, 0.0276005175, -0.0149488142, -0.0412524864, -0.026144024, -0.0291526075, 0.0053734789, 0.086608693, 0.0355104692, 0.0116968192, 0.0142527008, -0.0139694298, 0.0166253876, 0.0763478279, 0.0526974313, 0.0011082615, -0.0058528306, -0.0231225174, 0.0330808982, -0.0203636885, -0.0032369567, 0.0134092886, 0.0081942463, 0.0175827164, 0.0057543777, 0.0402722098, -0.0142786382, 0.0215536207, -0.0239113979, 0.00246928, -0.0518108979, -0.0131071769, 0.0336392522, 0.0180687737, -0.0167058501, 0.0137493061, 0.0198603664, -0.0131097017, 0.0093651544, 0.0455677286, -0.0522847958, 0.0099229272, 0.0274150148, -0.0230044536, -0.0373177715, 0.0033262763, 0.0065927426, -0.036431063, 0.0370366834, -0.0712857619, 0.040940702, -0.0911118016, 0.0004505349, -0.0402324796, 0.0005006552, -0.0035651394, 0.0802173391, 0.0323094837, -0.0231712498, 0.0050134389, 0.0056286831, 0.0180302933, -0.0686785206, -0.0038574233, 0.0045320024, 0.0225045662, 0.014157149, 0.0109437872, 0.0043205763, -0.0602569245, -0.0232805423, -0.1229668707, -0.0223108102, 0.0101719927, 0.0264389403, 0.0413034782, -0.0333578475, -0.0493207611, 0.0024519726, -0.0136704324, -0.0094410852, 0.0009200591, 0.0096383328, 0.0252696816, 0.0170002505, -0.0109017817, -0.0201986991, 0.0298193004, -0.0415178314, -0.0088065807, 0.0380082056, -0.0266874246, -0.0399622768, 0.0441028252, -0.0001162435, -0.0036298614, 0.0004216136, -0.0693754032, 0.0180934779, 0.0166216083, 0.0580028445, 0.0757018104, 0.0286049191, 0.0477902852, -0.0040670135, -0.0235336255, -0.0178203601, 0.0209396668, -0.0155996289, -0.0146984821, -0.0583211035, -0.0659186393, -0.0228336528, 0.0248479005, 0.0556247272, 0.0420138463, -0.0548552461, 0.0433939435, -0.0239599552, -0.0550211146, -0.0309201013, -0.034435451, -0.0567608774, 0.0441124737, -0.0205005426, -0.0366820097, 0.0550829917, -0.001921553, -0.0158700086, -0.0459871329, -0.0062167309, -0.027417684, 0.0648098812, -0.0154847736, 0.0271923281, -0.0209930018, -0.0209193025, -0.0455686897, -0.027521329, -0.0236434527, -0.0372170471, 0.0665649176, -0.0723069906, 0.0024658721, 0.0186079852, -0.0295233, -0.0186048448, -0.0497903712, -0.0382449366, 0.0185396355, 0.0275087282, -0.0060961633, 0.0043001012, 0.0262946822, 0.02461024, 0.0185687188, -0.0248322915, -0.0005874994, -0.0187595226, -0.0147036063, 0.0197099876, 0.0044282009, -0.0045532407, -0.0108929183, 0.0427960828, 0.0365738049, 0.0098783011, 0.0005420772, -0.0432311296, -0.020015398, -0.011001261, -0.0135274492, -0.0499792434, 0.0172424242, 0.0495913327, -0.0442782342, -0.0090720216, 0.1242047846, 0.0235103741, -0.0364411138, 0.0004173492, -0.0247598439, 0.0226617679, -0.0103870677, 0.0372462645, -0.0431474708, -0.0398885682, -0.014998829, -0.0155541701, -0.0574648939, -0.0204705577, -0.0201648083, -0.0982709229, 0.0519833528, -0.0122107957, -0.0301956069, 0.0111777755, 0.009393312, 0.0059607453, 0.0228663888, 0.0185012277, 0.0114338333, -0.0300577041, -0.0026986424, 0.0024445197, -0.0529211573, -0.050889805, 0.0646581054, -0.0126084816, 0.0556789041, 0.0555373281, 0.0733453035, -0.0305036157, -0.0331459492, 0.0257965755, -0.0273634847, 0.0306341834, 0.0073292195, 0.0221936721, -0.0105921533, 0.0230054259, -0.0584385581, -0.0072897333, -0.0501734428, 0.0106067881, 0.0311645735, 0.0895055607, -0.0355776548, -0.0083771842, -0.0096768662, 0.0386385918, 0.0014149637, 0.0882426873, 0.0494422615, -0.0457976535, -0.0687413588, -0.0108849593, 0.0294474829, 0.013372086, -0.0210345965, -0.0021939024, 0.0197196975, -0.0343884118, -0.0574716292, -0.0643950701, 0.0240774658, 0.0001082916, 0.0155924605, 0.0619178116, 0.0164575409, 0.0121761104, -0.0180050973, 0.0134272836, -0.000450385, 0.0256397035, -0.0694569796, -0.0184213743, 0.0300520547, -0.0300616808, -0.0295637827, 0.0324354358, -0.0429959111, -0.0528444573, 0.0038620203, 0.0029561247, 0.0355661213, -0.0154051958, 0.0018062951, -0.0579830147, -0.0504326485, 0.0225727502, -0.0507829599, 0.0760894939, -0.0017321404, 0.0101543162, 0.0103439232, 0.0408804081, 0.01201123, 0.0566178262, -0.0340439603, 0.0388285406, -0.0195240006, -0.0634301677, 0.0409175679, 0.0255120732, 0.0004991787, 0.0220560841, -0.0492547937, -0.0054621971, -0.0158493388, -0.0506562702, 0.0042302296, -0.024520034, -0.0354598276, 0.0123643726, 0.00160443, -0.0205830242, -0.0530625731, -0.0620267838, 0.0128772249, 0.02381666, 0.0169336647, -0.0011222209, 0.04063401, -0.0291313082, -0.004115433, -0.0128139453, -0.0055204956, -0.04821302, 0.0413784981, 0.0189905744, 0.1149173304, 0.0115089184, -0.0340204872, 0.0342583135, 0.0209122598, -0.0442568064, -0.0503177941, 0.0474602208, 0.0240096431, 0.0377164148, 0.0044867052, 0.0558855273, -0.0698963106, 0.0252782125, -0.0240370426, 0.021341715, -0.0042802114, -0.0123917125, 0.0528119244, 0.0241012368, -0.016798377, -0.0390516929, 0.0451598689, 0.0119662415, 0.0025069129, -0.0148675228, -0.0260113999, -0.0104914671, -0.0444399267, 0.0065242248, 0.0066061686, -0.0136510842, 0.0432447046, -0.0944108665, -0.0413104519, -0.0040883715, 0.0160960909, 0.0175629929, -0.1015707403, 0.0238954853, 0.0755627602, -0.0076798745, -0.043076735, -0.0590697154, 0.0153327147, -0.0267980788, 0.0004879523, -0.0588384792, -7.07584196e-33, -0.0342534222, -0.0519810766, 0.0271536037, 0.0153477779, -0.0241026171, -0.0103315199, -0.0400543958, -0.000750478, -0.0273872819, 0.0340614021, -0.0134338308, 0.0246360917, 0.0132741993, -0.023242414, 0.0012314054, 0.0001338148, 0.0032229617, -0.0137773678, 0.0026620571, 0.0376241282, 0.0255169291, 0.005137952, 0.037948139, -0.0591266491, 0.0270575788, -0.0139407655, -0.0185663085, 0.0020688206, -0.0071034506, 0.0451539047, -0.0225844849, 0.0483953469, 0.0641758814, 0.0031484989, 0.0148910293, 0.0693690926, -0.0141793862, -0.0221710615, 0.0906387493, -0.0002304716, 0.0143158408, -0.0311024413, 0.0351615548, -0.0352025703, -0.0490063466, 0.0371086784, 0.0262680538, -0.0165436063, 0.0307128355, 0.0250150692, -0.0726128295, 0.0129317688, -0.0003186669, 0.0007236254, -0.0008308567, 0.0246017333, -0.0511497557, 0.0390733145, -0.0645200908, 0.0142234229, -0.014045327, -0.0081288246, 0.0427788869, -0.018702969, 0.0040721283, 0.0688279346, 0.0230939984, -0.0093827285, -0.0315797441, -0.0380856283, 0.0337768048, 0.0137632908, 0.0039584897, 0.0453383848, -0.0058150319, -0.0158663299, -0.0387624577, -0.0213840846, 0.0656336844, 0.0331141055, 0.0488859601, -0.0078082825, -0.0662051514, -0.020272186, -0.0099094603, 0.0336197466, -0.0196036492, -0.0610120818, 0.0548624955, -0.0500630662, 0.037722297, 0.0058085402, 0.0439311825, -0.0360273309, 0.0011113449, -0.0036478981, -0.0441153683, 0.0504180118, 0.0170616843, 0.0609074123, -0.0813028663, -0.0237711091, 0.0135798929, 0.0442740545, 0.0287594777, -0.0013656637, -0.0014524722, 0.0165816974, -0.0140764173, -0.0073010977, -0.0386038274, 0.0228473302, -0.0384906493, -0.0254882444, 0.0132993488, 0.0251069888, -0.0048335907, 0.023508532, 0.004962719, -0.0228718054, -0.0464067794, -0.0111690881, -0.007851867, 0.0109431446, -0.0307309218, 0.0034354294, 0.0139183616, 0.019492792, 0.0256974474, -0.0444688983, -0.0058765397, 0.0293914825, 3.204e-7, 0.0813165531, 0.0622221753, 0.0080745444, 0.0347838067, 0.0464231856, 0.0176554881, -0.0433172695, 0.0130984504, 0.0329734907, -0.0012639489, 0.0257766377, 0.0380107388, 0.0453575067, -0.0086490856, -0.1103343442, 0.0469815843, -0.0404431149, -0.000357218, -0.0802590176, 0.0377209149, 0.0858254507, 0.0530500896, -0.0026504803, -0.0251288768, -0.0324363671, -0.0205197409, 0.0757579803, -0.0572341196, -0.0104407165, 0.0184981823, 0.0077991425, 0.0242447238, 0.0167004913, 0.085186325, 0.0241612829, 0.0133026764, 0.007722748, 0.0927378535, -0.02771887, -0.0018350375, 0.0198577698, -0.0199529678, -0.0100125577, -0.0897354186, 0.0473221242, -0.0652432144, -0.0636191294, 0.0174181722, -0.020414684, -0.0169085618, -0.020082105, -0.0098896641, -0.017388761, 0.0068926094, 0.0096148793, -0.0642549917, 0.0120552173, -0.0383019783, 0.0275890846, -0.0038423031, -0.0295128096, -0.0377733074, -0.0634029582, -0.0107826954, 0.0178861078, -0.0567747504, 0.017681377, 2.731241839e-34, 0.0395005047, -0.0143146105, 0.0364253931, 0.0327294208, 0.0619399957, 0.0366502367, 0.0260277633, 0.0379478373, -0.0105377203, -0.0431262664, -0.0019974192 ]
http://arxiv.org/abs/2312.09542v2
http://arxiv.org/pdf/2312.09542v2
Marathon: A Race Through the Realm of Long Context with Large Language Models
2023-12-15T05:30:14
2024-06-26T04:48:11
Lei Zhang, Yunshui Li, Ziqiang Liu, Jiaxi yang, Junhao Liu, Longze Chen, Run Luo, Min Yang
cs.CL
cs.CL
With the advancement of large language models (LLMs) and the expansion of their context windows, existing long-context benchmarks fall short in effectively evaluating the models' comprehension and reasoning abilities in extended texts. Moreover, conventional benchmarks relying on F1 metrics often inaccurately score responses: they may undervalue correct answers that differ from the reference responses and overvalue incorrect ones that resemble the reference texts. In response to these limitations, we introduce Marathon, a novel evaluation benchmark that adopts a multiple-choice question format. It is specifically designed to overcome the constraints of previous benchmarks and provide a rapid, precise, and unbiased appraisal of the long-context comprehension skills of large language models. We conducted comprehensive evaluations on the Marathon benchmark with a range of state-of-the-art LLMs and assessed the effectiveness of various optimization strategies tailored for long-context generation. We anticipate that the Marathon benchmark and its associated leaderboard will enable a more precise and equitable evaluation of LLMs' capabilities in understanding and reasoning over extended contexts. Marathon is available at https://github.com/Hambaobao/Marathon.
[ -0.0040103672, 0.0507660583, -0.0080694044, 0.0793549865, -0.0618616976, 0.0128815798, 0.0309834853, -0.0356460027, -0.0320814699, -0.0578749441, 0.0022415521, -0.0481220819, -0.0086460775, -0.0078008729, 0.0129900742, -0.0303274263, 0.0306530856, -0.0515625477, -0.0210063085, -0.007000742, -0.0325456038, -0.0127360765, 0.0072248285, 0.0168097168, 0.0129341315, -0.0338097624, -0.0094611226, -0.0087308884, 0.0221600849, -0.0468867756, -0.0066782297, 0.0217747986, 0.0308251996, 0.0470555313, 0.0000021799, -0.0762353241, -0.028317187, 0.0046938066, -0.0444763489, 0.0285535809, 0.0406585857, 0.0104589881, 0.0256578643, -0.0070126755, -0.0199972615, 0.0282582827, 0.0065504136, 0.0062963129, 0.0335682184, 0.0515579879, 0.0126811918, -0.0486064255, 0.0060663424, -0.032052502, 0.0088737663, -0.0793856755, 0.0120871551, 0.029714739, 0.044516217, 0.0043022311, -0.046885293, 0.0383720361, 0.0628532395, 0.0263552647, -0.0218573026, 0.0212684479, -0.0306134652, 0.0206789989, 0.0191472359, 0.0697271898, 0.0288924631, -0.0137205906, -0.0327273868, 0.010404909, -0.0175057705, -0.0159129202, -0.0394718088, 0.0415293053, -0.004231323, 0.0029654268, 0.0623997673, 0.0218235794, 0.0479841679, 0.0242645089, -0.0633688569, 0.0842607543, 0.040829096, -0.0152095137, 0.0053990972, 0.0034054201, -0.0585560389, -0.0539090484, 0.0038118581, 0.048033338, -0.0632991493, 0.0345516577, -0.0142809451, -0.007292653, 0.0371732824, -0.0102538383, -0.0067420267, 0.052476611, -0.0183515828, 0.0769184902, -0.0267115887, 0.0566619523, -0.0085203899, -0.0232554339, -0.0499663278, -0.0175985713, -0.0223626662, 0.001380336, -0.0143213542, -0.0004498228, -0.0688906685, -0.0267255753, -0.0332430303, 0.0058421297, 0.0070675127, 0.0143975653, -0.0054039201, -0.0098269749, -0.0338629372, -0.0119914161, -0.0200604443, 0.0086361598, -0.0864800811, 0.0225424282, 0.0084640356, -0.0383354761, 0.0024033708, 0.0135119883, -0.0232167728, -0.0494646654, -0.0055139773, 0.0552412011, 0.0062739165, -0.0278417487, -0.0257063806, -0.0276540555, -0.0436652005, -0.0743617862, -0.0201273765, -0.0825179443, 0.0245113429, 0.0276836213, 0.0145701719, 0.0097434251, 0.0100589329, -0.0043960386, 0.0209393371, 0.0509725176, 0.0190330353, 0.0006562031, 0.0232296959, 0.0306031592, 0.0114616733, 0.0862998888, 0.0031579854, -0.0025206953, 0.0435827747, 0.0094056856, -0.0371174477, 0.041002579, 0.0045176204, 0.0089040454, -0.0221299883, 0.0546307452, 0.0251883399, 0.0488349497, -0.0074582468, 0.0450855792, -0.0281008203, -0.0308192, 0.0167598706, 0.035432063, 0.0397605263, -0.0158305522, 0.0762416795, -0.0467321724, 0.0006291418, 0.0131127127, -0.0348146856, -0.0098944195, -0.022131158, 0.03008404, 0.0172253549, 0.0233936384, -0.003628297, -0.0331841744, -0.0111717638, 0.0141449748, 0.0135049103, 0.0502762385, 0.0425375924, -0.000486727, -0.0385402441, 0.0265955571, 0.0006855964, -0.0292024575, 0.014336383, -0.0203395635, 0.0314451642, 0.0551281832, 0.0394111238, -0.0160718355, -0.0309394673, 0.0054053552, 0.0375309549, 0.0354265235, 0.0400234349, -0.0224825628, 0.0413220152, -0.0312583372, -0.0032952316, -0.0444558635, 0.0207378678, 0.0146471998, 0.0275094863, 0.0409781523, 0.0343599878, -0.0641031638, 0.0190295335, 0.0314937048, -0.0742322057, -0.03837993, -0.0477202609, 0.0085922768, 0.0135539006, 0.0031652632, -0.0056618312, 0.0153793935, 0.0197942611, -0.0589973032, 0.0071525788, 0.0260149911, -0.0900871083, -0.0434796698, 0.0583262555, -0.0236785598, -0.0318197422, 0.0006222486, -0.0144765833, -0.0349078029, 0.0048136939, -0.0004148191, 0.0540268533, -0.0232872553, 0.041162122, -0.010719181, 0.0076029692, -0.0610696003, 0.0917554721, 0.013411778, 0.0427079089, 0.0563829951, 0.0419093259, 0.0192764122, -0.0423665494, -0.0229776967, 0.0194094311, -0.0018510442, -0.0353662111, 0.0199377351, 0.0087445704, -0.0969571546, -0.0401174277, -0.0928764194, 0.046827253, -0.0359895602, 0.0065288781, 0.0365466475, -0.0032882253, -0.003476524, 0.0362090729, -0.0344352871, -0.0035497425, 0.002453523, 0.0005229606, -0.0031265731, 0.0139364852, -0.0281411912, -0.0362376533, -0.0163954161, -0.0150268925, 0.0533261299, 0.0088236658, 0.0303007755, -0.0329040736, 0.0344646722, -0.0297470056, -0.0195864905, -0.0160842612, 0.0167327635, 0.0276794806, -0.0218441505, 0.0665598363, 0.0399606302, -0.0027971137, 0.0112716621, 0.0333050825, -0.0401149467, -0.0518805161, 0.0092320619, 0.0073475353, -0.043369703, -0.0561100617, -0.0176610425, -0.0282473359, 0.0584056675, -0.0084222965, -0.0171789303, -0.0205538087, 0.013292104, -0.0553405359, -0.0311740767, -0.0490021817, -0.0061835754, -0.002862253, 0.0585829355, -0.0360594839, -0.0148090823, 0.0597829632, -0.0389479436, 0.0176483151, -0.0480815768, 0.0192974526, -0.0624442436, 0.0909567252, 0.0027118546, 0.0167322569, -0.0455173776, -0.0031582518, -0.0487179309, 0.0019018204, 0.0073971879, -0.0245903246, 0.063161999, -0.0367215388, 0.0082787424, -0.0039121318, -0.0229213219, -0.0319807269, -0.0217417367, -0.0408623777, 0.0077861468, 0.0261541288, 0.0150207514, -0.0136470925, -0.0001871599, 0.0056597609, 0.0214478541, -0.0135108922, -0.0019427172, -0.0159904566, 0.0472791716, 0.0390087143, 0.0141948825, 0.047221601, -0.0642485991, 0.0777692199, 0.052636236, 0.0306722187, -0.0017958925, -0.0202380195, 0.0192391593, 0.0155064566, -0.0381136276, -0.0213084538, 0.0250593144, 0.078113161, -0.0797663555, -0.0312936157, 0.130069226, 0.035230089, -0.0108149042, 0.0313244537, -0.0518800244, 0.0469349101, 0.0361937955, -0.0019527479, -0.0964076594, -0.0375213176, 0.0260340609, -0.0017940246, 0.008257512, -0.0548738204, 0.0037634005, -0.1094404757, 0.0067803445, 0.0146728503, -0.0786511227, 0.0179916378, -0.0350245386, 0.0163826682, 0.0157419462, 0.018508302, 0.0435570367, 0.0069633326, 0.0106931394, -0.0307786632, 0.0222349651, -0.0363052748, 0.070195213, -0.0225760173, 0.0363116562, 0.007871869, 0.0056393957, 0.0039343047, 0.009676002, 0.0542027541, -0.0660152882, 0.0015117647, -0.0087024504, -0.0028885072, 0.0083997864, -0.0061417785, -0.0031817646, 0.0402964428, -0.0348362587, -0.0379998386, 0.0585880727, 0.0911082178, 0.0151874898, -0.013159845, -0.0227290317, 0.008145581, 0.0121608945, 0.095160991, 0.0264528058, -0.0277151708, -0.0344831906, -0.0163235012, -0.0144360662, -0.0462650843, 0.0065601114, 0.0137652494, 0.0260835271, 0.0255505536, -0.0447453, -0.0535707362, 0.0394493081, 0.026761258, 0.0125882169, 0.0426895097, -0.0358271413, -0.0108142952, -0.050873626, 0.0190587882, -0.0316851027, 0.054054521, -0.0252286103, 0.0465825461, 0.0013497839, -0.0156046357, -0.0103569692, 0.0751456171, -0.089737758, -0.0480273254, 0.0114013767, -0.0010693449, 0.0191734321, 0.0380965807, -0.0093553877, -0.0323905684, -0.0033830691, -0.0361137353, -0.0175111443, 0.0530935004, -0.0082204835, 0.0239153616, 0.0018748499, 0.0451646745, -0.0509723686, -0.0053078388, 0.0169632416, 0.0871697962, -0.0022242225, -0.0245522745, 0.0296741799, 0.0107771596, -0.0382864922, -0.0209996402, -0.021838, -0.0006681506, 0.0198777802, -0.0638899207, -0.0308518093, -0.0041815247, 0.0080046412, 0.0303266197, -0.0348521285, 0.0111792199, -0.01109582, 0.0115537206, 0.0343590379, -0.0168947838, 0.0399059579, 0.030604206, -0.0026226502, 0.0195010416, 0.0094963284, -0.0273659807, -0.0217227265, -0.0301746912, 0.076741606, -0.0193419736, 0.0739490464, 0.0183889624, 0.0016611895, -0.0196182709, -0.0081116203, -0.0680637211, -0.0009434689, 0.0129073933, 0.0405794233, 0.0499344841, -0.0137523543, 0.0360461324, -0.0173824131, -0.0269765407, -0.0247300621, 0.0207712818, 0.0118392035, -0.0366869196, 0.0298904758, 0.0445486307, -0.006013596, 0.04090764, 0.0529635176, 0.0158679094, 0.0386588871, 0.0525252111, 0.0410911664, -0.0411895998, -0.0319345221, -0.0343317688, 0.0377843641, -0.0012640189, 0.0167889185, -0.0639877617, -0.0864881203, 0.0027583707, 0.0225809999, -0.0112775452, -0.0039329608, 0.0046996665, 0.071484156, -0.0138246529, -0.0218417421, -0.0206783377, 0.0571519732, -0.0293789003, -0.0175131913, -0.0175196901, -6.34119399e-33, -0.0215413347, -0.0295237973, 0.0469006412, -0.0680913627, -0.053700991, 0.015212818, -0.053439036, 0.0156118944, -0.0105505614, 0.0127214454, -0.0123840179, -0.001340248, -0.0095186876, 0.0257334262, -0.0399719886, -0.0294133835, 0.009334919, 0.037945684, -0.0180702023, 0.0077424161, 0.0499314517, 0.0183184054, 0.0120236762, -0.0397671647, 0.0274170786, -0.0241860412, -0.0010929583, 0.0270789824, -0.023846915, 0.0598386899, -0.0306030344, 0.0138596101, 0.0365849249, -0.0640323237, -0.0019564456, 0.0081749614, -0.0749887675, -0.0066578933, 0.0510513373, -0.0183070078, -0.0650744811, -0.0590366386, 0.0319909081, 0.0141353225, -0.0083618639, -0.0377147458, 0.0059861396, -0.0561006106, -0.023289362, 0.0084281182, -0.0815801322, 0.0264486913, -0.0374222323, 0.0094348518, -0.0097504109, 0.0253168456, -0.0107313329, 0.0494136065, -0.0241844021, -0.0079762908, 0.002869999, 0.0196233336, 0.0670120344, 0.0139509523, 0.0181804709, 0.0326097347, -0.0063522537, -0.0105037317, -0.0154318484, -0.0298259165, 0.0016916071, 0.0484395772, 0.0441825725, 0.0746147707, 0.0328091942, 0.0048384871, -0.0951801091, -0.0029112159, -0.0042142542, 0.0161875337, 0.0097180326, -0.0099391965, -0.0217962712, -0.011738034, -0.099538818, 0.0128353722, -0.028468769, 0.0004905955, 0.0652775392, -0.0263555162, -0.0162664801, -0.0441862494, 0.0444584936, -0.0613503382, 0.0016066049, 0.0464596413, -0.0129872328, 0.008385187, 0.0015386046, 0.0802205652, -0.0300931931, 0.0155319152, -0.0065117609, 0.0172185432, 0.0192420334, -0.0281225089, 0.0086679589, -0.0109887505, -0.0339549035, -0.0004362585, -0.0584153198, -0.0082410825, -0.0249337349, 0.0010382505, 0.0377710909, 0.0215838514, -0.0022702741, 0.0635769293, 0.019716192, -0.0079967845, -0.005578862, -0.0076700477, 0.0050025638, 0.0083165327, -0.0295193586, -0.0057492303, -0.0107470388, 0.0253769439, 0.0479940809, -0.0521228835, 0.0056547639, 0.0322699584, 2.676e-7, 0.070420444, 0.0279889628, 0.013631355, 0.0032026714, 0.0197329819, -0.0061526815, -0.019632291, -0.0159746017, 0.0051679895, -0.0158254839, -0.013803713, 0.0491325483, 0.0357102901, 0.0249233525, -0.0310726594, 0.0107388478, -0.0483761281, 0.0072925198, -0.0546355136, 0.0231793541, 0.0575877912, 0.0981793329, -0.0201908853, -0.0112781683, 0.0003103868, -0.0588843934, 0.0542128943, -0.052279599, -0.014126135, 0.0220769774, -0.0195402484, 0.0180579182, 0.021554919, -0.0009855311, 0.0188527834, 0.0287680607, -0.0044888561, 0.0689096376, 0.055334717, -0.0410303697, -0.0145789832, -0.0186297968, -0.0099593438, -0.0899980143, 0.0939322636, -0.0582536459, -0.0474047251, -0.0335538276, -0.0330838822, -0.0114070959, 0.0026684185, 0.0113453194, -0.0000696635, 0.0147398142, 0.0108640166, -0.0023972476, -0.0203870069, -0.0702484921, -0.033389017, 0.0078511098, -0.0449448265, -0.0506192259, -0.0310203545, -0.0003970474, 0.0138065759, -0.0596710965, -0.0138546219, 2.599025586e-34, 0.0433881804, -0.0284248982, 0.0193342958, -0.0128715746, 0.0446086042, -0.036135152, -0.0450152084, -0.0008741277, 0.0206957404, -0.09982007, -0.0130515667 ]
http://arxiv.org/abs/2312.09541v1
http://arxiv.org/pdf/2312.09541v1
Picking the Underused Heads: A Network Pruning Perspective of Attention Head Selection for Fusing Dialogue Coreference Information
2023-12-15T05:27:24
2023-12-15T05:27:24
Zhengyuan Liu, Nancy F. Chen
cs.CL
cs.CL
The Transformer-based models with the multi-head self-attention mechanism are widely used in natural language processing, and provide state-of-the-art results. While the pre-trained language backbones are shown to implicitly capture certain linguistic knowledge, explicitly incorporating structure-aware features can bring about further improvement on the downstream tasks. However, such enhancement often requires additional neural components and increases training parameter size. In this work, we investigate the attention head selection and manipulation strategy for feature injection from a network pruning perspective, and conduct a case study on dialogue summarization. We first rank attention heads in a Transformer-based summarizer with layer-wise importance. We then select the underused heads through extensive analysis, and inject structure-aware features by manipulating the selected heads. Experimental results show that the importance-based head selection is effective for feature injection, and dialogue summarization can be improved by incorporating coreference information via head manipulation.
[ 0.0592277944, 0.0011922561, 0.0179948471, 0.0233006664, 0.0064505087, 0.0040007243, -0.0334929489, -0.0492430255, 0.0304514691, -0.0295551233, -0.0385949276, 0.0049053892, 0.0167352743, 0.0043846597, 0.007478225, -0.0692367926, 0.044368457, 0.0120241931, 0.0019159573, 0.0312395617, -0.0004246041, -0.0000301681, 0.0240548998, 0.0311854668, -0.0141650857, 0.0135570802, -0.0199845079, 0.0216557179, 0.0221189074, 0.033984229, 0.0135017503, 0.0364451334, -0.0049117673, 0.0175644625, 0.0000019034, -0.028516477, -0.0220383853, -0.0199077651, -0.0268057436, -0.0001224148, -0.0154675329, -0.008910818, -0.020484563, 0.0144358492, -0.0149281844, 0.007826264, 0.0328343436, 0.1118021086, 0.0867385194, 0.0855422541, -0.0157488547, -0.0222807284, 0.0248613358, -0.0461884998, -0.0215594191, -0.037430536, -0.0167794954, -0.0086051291, -0.0506709889, 0.009915581, -0.0099878069, 0.0465356782, 0.0358420089, -0.0387966745, 0.0411327668, 0.0424078926, -0.0760590583, 0.012067778, -0.0122458078, 0.0922421068, -0.0210663732, 0.0317173116, -0.0060796621, -0.020529896, 0.0134808803, -0.061558377, -0.0546302088, 0.0086484933, 0.030062886, 0.0151791666, -0.0093824994, 0.0465610884, -0.0166633539, 0.0117223365, -0.041512318, 0.0334924832, -0.0159387104, -0.0003035705, 0.0210281219, -0.0015360445, -0.0260317698, -0.0584363863, 0.0109482622, 0.0145512922, 0.0017482459, -0.0044193631, -0.0409028046, -0.0116326921, -0.016022753, -0.0826463103, 0.0254408028, 0.0201069582, -0.0393795259, 0.0663623065, -0.0044532986, 0.0514668077, -0.0267098248, 0.0303351097, -0.0466073938, -0.0038383137, -0.0161785297, 0.0038550212, -0.0504400358, 0.0561751425, -0.0400963724, -0.0516954921, -0.0128069837, 0.028830206, 0.037286818, -0.0329193398, 0.0278354678, 0.0444997586, -0.0289003048, -0.0150450841, 0.0036214141, 0.0720390752, -0.0403456837, -0.0205876902, 0.016770687, -0.022189768, -0.063440226, 0.0703260303, 0.0213865489, -0.0198666435, -0.002875922, 0.0483121015, -0.0425312743, -0.0617253408, 0.0230589099, -0.0387504101, -0.0653413013, -0.0469069704, 0.0062275659, -0.0216570869, 0.0046395105, -0.0264618509, -0.0217058342, -0.0415523648, 0.0193216968, 0.0126911495, -0.0446884483, 0.0063388757, 0.022323003, -0.0140227051, 0.0320387222, -0.0112053854, -0.0044621564, 0.0545575283, 0.0236155428, 0.0602294877, 0.0193137378, -0.023658989, -0.0263267308, 0.0061015752, 0.0263790023, 0.0130721331, 0.0046765665, 0.0015749513, -0.0509712473, -0.02344683, 0.0493141897, 0.0381031297, -0.0348034576, -0.0061172945, 0.0663773939, 0.0361467153, 0.0095765786, 0.0153543158, 0.0013078388, 0.022871701, 0.0204216279, 0.0657572895, -0.0863020197, 0.0657597035, -0.0304835513, 0.0281482078, 0.0529445931, 0.0252771284, -0.037982434, -0.0568103865, 0.0417752527, -0.0209669583, 0.0064961086, 0.0078777596, 0.0236664861, 0.0473187044, -0.061898049, 0.0382946134, -0.0002320702, -0.065783672, -0.0089038201, -0.0278139617, -0.0471193045, 0.0096952626, 0.0264371, -0.0120211523, -0.0689041764, -0.011284369, 0.0454647802, 0.0354216658, 0.026412826, 0.0049613868, 0.0393075421, -0.0455429032, -0.0129627595, -0.0234848075, 0.0053730328, 0.0192511398, -0.0126970401, -0.0556615219, 0.0495626442, 0.0379948504, -0.018158678, 0.0117664104, -0.014683106, -0.0162849445, 0.0215552188, 0.0097792763, -0.0062764538, 0.0385499634, -0.0019368611, 0.007859569, 0.0556629039, -0.0245524477, -0.0098981205, 0.014296174, -0.0924460515, -0.0431399494, 0.0010164832, -0.0343803652, -0.0132321324, -0.0035494813, -0.0294584297, -0.0711075813, 0.0204219967, -0.0588259548, 0.0292010922, -0.0416243784, 0.0102852499, 0.0368003882, 0.035080675, -0.0421239994, 0.0667303875, -0.0083400207, -0.0196227636, 0.0539784841, -0.0534981266, 0.0105871083, -0.0496630371, -0.0033107291, 0.0004631325, -0.000057139, -0.02039757, 0.0440099537, -0.003018606, -0.0323335417, -0.0379130095, -0.103624247, -0.0224139635, -0.0272897668, 0.0107681854, 0.0402555019, 0.0569722056, 0.0166411847, -0.0321150497, -0.049040895, -0.0304866638, 0.0265007354, -0.0111048594, 0.0142912287, 0.0236387011, 0.01963792, -0.0465016402, -0.0189738981, 0.0032747237, 0.055418469, -0.0025901103, -0.0541177168, -0.0035853633, -0.0005295078, -0.0067966445, 0.0271834135, -0.0093604485, -0.0454490408, -0.0211189445, -0.007176748, 0.0267024748, 0.1036875471, 0.0194481406, -0.0035547011, 0.0325182825, -0.0309549179, -0.0202116612, 0.0316491462, -0.0188078508, 0.0377492532, -0.0329062752, 0.0258830134, 0.0443491749, 0.0784306824, 0.0259379931, 0.0266230963, -0.0388033874, 0.023436293, 0.0218290836, -0.030576691, 0.0315175988, -0.0108606983, -0.0395088531, 0.0346935987, -0.0359432437, 0.0001080096, 0.077153109, -0.031792894, -0.044568371, -0.0186458379, -0.0110688861, -0.0736570209, 0.0246534329, 0.0289387256, 0.0289692394, 0.0388886184, -0.0425984822, -0.0532223172, -0.0108767347, 0.0297465362, -0.0112028494, 0.0870570093, 0.0085874908, -0.0044459826, -0.0158475861, -0.0125610391, -0.0418884456, -0.0228202771, -0.0110558141, 0.0153242303, 0.0225179996, -0.0105215423, -0.0391419753, -0.0024327126, 0.0259667262, 0.0861669928, -0.0159288049, 0.0209575146, -0.0151838297, 0.0670127049, 0.0121747544, 0.0683860034, 0.0225396194, 0.0161837414, 0.0575247072, 0.0261609983, 0.014686388, -0.0223190188, 0.0085193515, -0.0125817377, -0.0023883332, -0.0554441623, 0.0087846247, -0.0094237681, 0.0634334534, -0.0443981029, -0.0172615238, 0.1034838855, 0.0203427076, -0.0357068814, -0.0219762661, 0.0047464427, 0.0081547033, 0.0269523207, 0.029150486, -0.0032534362, -0.0405068733, 0.0006609977, 0.0044875122, 0.034569703, -0.0210289322, -0.0293146558, -0.0787934363, 0.0491700768, -0.004142547, -0.0361868516, -0.0115196472, 0.0142192803, 0.0313019827, -0.0361712314, 0.0249020476, -0.0001098919, -0.0107615087, -0.0267775469, -0.0045636562, -0.0357875824, 0.0070532798, -0.0089717079, 0.0088755144, -0.0093182977, 0.088158071, 0.0285440702, 0.0168712195, 0.0585950501, 0.0464620665, -0.0287603363, 0.0141410762, 0.0297521539, 0.0832001492, 0.0050464086, -0.0054351008, -0.0162856467, 0.0168738961, 0.0139787029, -0.0031352525, -0.0246011987, 0.0101742605, -0.0184954442, 0.0031189225, -0.0159784742, 0.0476264693, -0.0148680462, 0.0644760355, 0.0674531162, -0.0325010903, -0.0010638196, -0.0225723311, -0.0016493154, -0.0382962115, -0.047692921, 0.0171185713, 0.0427746922, -0.0310942158, -0.086320661, -0.0579492263, 0.010688846, -0.0260437056, -0.0128942886, -0.0224969834, 0.0149619924, -0.0074210195, -0.0133522581, -0.0030341067, -0.0017302232, -0.0237634592, -0.0825112313, 0.0250465069, 0.0653711557, -0.0069878576, -0.010205376, 0.0655639619, -0.0603870153, -0.048342552, -0.0100531885, 0.0611922704, 0.0124451714, 0.0851558372, -0.0249995869, -0.0132045448, -0.0026646159, -0.0009450668, -0.0410909168, 0.0340872779, 0.0515500009, -0.0257892217, -0.0311137214, 0.0370918922, -0.0183122139, 0.0502016842, -0.0134763476, 0.0243881475, -0.0412663668, -0.0942341462, 0.0091576846, -0.0104410201, 0.05817274, 0.0204657502, 0.0726876408, -0.0116399154, 0.0467023142, -0.0237066299, -0.0187443718, -0.0481617041, -0.002813305, -0.0177271757, 0.0060615935, 0.0030328319, 0.0634787902, -0.0308371093, 0.007773506, -0.0074348478, 0.0094861779, -0.0127917249, -0.051273562, -0.0454618856, 0.0013887523, -0.0179538131, 0.0090037035, 0.0156381596, 0.0305916984, -0.0256389976, 0.0239703152, 0.0132371066, -0.038642697, -0.0156451352, 0.0408634841, -0.0865894482, -0.0282595046, -0.0500436872, -0.0211810656, 0.0022172774, -0.0596946292, 0.0828524008, 0.0277341194, -0.0038465338, -0.0214549564, 0.0256128646, 0.0041058576, -0.0129261417, -0.0196254328, 0.0150947561, 0.0048978762, 0.0236362219, 0.0579493679, -0.0133238724, -0.0154054239, 0.0424645953, 0.0061125918, -0.048049666, -0.0593142286, -0.0048892773, 0.0146012967, -0.0156692248, 0.0316797644, -0.042596966, -0.0299163572, 0.0431862958, -0.0513177402, 0.0162393022, -0.0206679273, 0.0460919365, -0.0149387969, 0.0255200043, -0.0105708353, -0.0137655549, -0.0178152993, -0.0186150242, -0.012352326, 0.0029768439, -6.453084154e-33, -0.0610968135, -0.028998455, -0.0195987709, -0.0005553997, -0.0435346141, 0.0066407528, -0.069199793, -0.004548905, -0.0236883238, -0.0054975091, -0.0280323997, 0.0154272616, 0.0091784066, 0.0498068631, -0.0245814063, 0.0202114917, 0.0586923845, 0.0204566643, -0.050007686, 0.0333992206, 0.0101726884, 0.0207594484, 0.089966692, -0.0267955679, -0.0286334883, 0.0092962757, -0.0053609819, 0.0217795689, 0.0262918137, 0.0448190533, 0.0165529493, 0.0231200829, 0.0101097645, -0.0865094587, -0.0295281187, 0.0329930075, -0.1017049029, -0.0503726602, 0.0191444177, -0.0087266304, -0.0283090789, -0.0313669257, 0.0429091118, -0.0243606009, 0.0909803137, -0.0801463425, 0.0389207453, -0.0068866848, -0.0393738076, 0.0099616246, -0.0516120568, 0.0240965318, -0.0482231043, -0.0426645987, 0.0102162585, 0.066750899, 0.0155346924, -0.0029334398, -0.0416028909, 0.0292159263, 0.0164334532, 0.033259593, 0.0049931402, 0.0287369508, -0.0309325792, 0.0594840869, -0.0057577863, 0.0129962051, -0.0391075052, -0.0182120614, 0.0127497474, 0.0301152114, 0.0059561552, 0.0211602766, 0.0020919149, 0.0467118844, -0.0514557511, 0.0070481077, -0.008347678, 0.0604699291, -0.01073323, 0.0038038949, -0.0159189459, -0.0262023527, -0.0216731597, -0.026968725, -0.0240062382, -0.0475143716, -0.0104191108, 0.0262459908, -0.0431415513, 0.0211027581, 0.0457517132, -0.027305983, 0.0598265938, 0.0419965684, -0.0119048851, 0.017362209, 0.0216172002, -0.0070115863, -0.0382927395, 0.0492881648, 0.0425206572, 0.0014207626, 0.0008944379, 0.0139850499, 0.0589518026, 0.0202387553, -0.0455620922, -0.0045288, 0.0063339081, 0.0243045483, -0.0532363541, 0.0825865865, 0.0001772535, 0.0226893686, -0.0442150682, 0.04947602, -0.0242593214, 0.0299210139, -0.0517482683, 0.0068834363, 0.0455955602, 0.0434624441, -0.0261576623, 0.012192104, 0.014346838, 0.034370549, 0.040615987, -0.0381982774, -0.0351878926, 0.0025589527, 2.677e-7, 0.0223658439, 0.0274691209, 0.062136434, 0.0120970905, -0.0017162025, 0.0352691077, -0.0001806874, 0.0268741753, 0.0220244322, -0.0321147293, 0.0295213982, 0.0486216657, 0.0162662249, -0.0273381583, -0.1337936521, -0.0324522443, -0.048478879, -0.0371845998, 0.0091872159, -0.0588816069, 0.004854504, 0.0945799798, -0.0081841303, 0.003613658, -0.0329531468, 0.0328130573, 0.0323936976, -0.0082335016, -0.0222148467, 0.0060568596, -0.0008357448, 0.0184659399, -0.0506116524, -0.0019264381, -0.0054100403, 0.0160801113, 0.0449381694, 0.0561216995, -0.0070527615, -0.0496796109, -0.0047984375, 0.0282053649, 0.0269172713, 0.0174279287, 0.0489145555, -0.0972283483, -0.0434436314, -0.0498088561, -0.0409919061, 0.0246222578, 0.0199918728, -0.001291932, 0.0054060998, 0.0262622703, 0.0027247595, -0.0106396358, 0.0050796694, -0.0937335193, -0.0465371609, 0.007229655, -0.0005727377, -0.020211393, -0.0415728986, -0.0555043928, 0.0257314313, -0.0304792952, 0.0092730457, 2.393128567e-34, 0.034321133, 0.011658106, 0.0028162652, 0.0186638273, 0.0167643912, -0.0368124917, 0.0001320494, -0.0222296286, 0.0262563545, -0.0673446953, -0.0285111461 ]
http://arxiv.org/abs/2312.09536v1
http://arxiv.org/pdf/2312.09536v1
Riveter: Measuring Power and Social Dynamics Between Entities
2023-12-15T05:03:24
2023-12-15T05:03:24
Maria Antoniak, Anjalie Field, Jimin Mun, Melanie Walsh, Lauren F. Klein, Maarten Sap
cs.CL
cs.CL
Riveter provides a complete easy-to-use pipeline for analyzing verb connotations associated with entities in text corpora. We prepopulate the package with connotation frames of sentiment, power, and agency, which have demonstrated usefulness for capturing social phenomena, such as gender bias, in a broad range of corpora. For decades, lexical frameworks have been foundational tools in computational social science, digital humanities, and natural language processing, facilitating multifaceted analysis of text corpora. But working with verb-centric lexica specifically requires natural language processing skills, reducing their accessibility to other researchers. By organizing the language processing pipeline, providing complete lexicon scores and visualizations for all entities in a corpus, and providing functionality for users to target specific research questions, Riveter greatly improves the accessibility of verb lexica and can facilitate a broad range of future research.
[ 0.0258871, 0.0624119081, -0.0457602292, 0.0409658514, -0.0305760466, 0.0052559073, -0.0231329873, -0.0180604961, 0.0254081152, -0.0385984965, 0.0113791442, -0.0228191335, 0.0378832966, 0.0262554716, 0.0124272872, -0.0337868109, 0.0138723813, 0.099133037, 0.0183073431, 0.0305482149, 0.032509096, 0.0588205233, 0.0084038163, 0.0586876534, 0.0112138726, -0.0100854822, 0.0443211421, 0.0084236274, 0.035855189, -0.0183587521, 0.0291019995, 0.0460795797, -0.0174625758, -0.005072169, 0.0000023525, -0.0601228438, -0.0224546809, -0.0162964929, 0.0188466981, -0.021592835, 0.065675661, -0.0021847112, 0.012234767, 0.0016192503, -0.0415671095, 0.004307806, 0.0154897785, -0.0299971011, -0.0039195837, 0.0284537487, -0.0237848852, 0.0305905566, -0.0538949668, -0.036886856, -0.0667087138, 0.0293715764, 0.0093276482, -0.0328675099, -0.0438638218, -0.0116512347, -0.0351538137, 0.0119664092, -0.0137223117, -0.0018766831, 0.0131812915, 0.0010465094, 0.0043458943, -0.0421557724, 0.0147669446, 0.0145790381, 0.063276343, 0.0126842316, 0.0242406838, -0.0083955079, -0.0135660321, 0.0646930933, -0.0075396043, 0.0059314538, 0.0113668321, -0.0050468585, -0.00198442, 0.0119276755, -0.0118865455, 0.0501298681, -0.0042257896, 0.0288746376, 0.0015005735, 0.0045608901, 0.0365878046, 0.0112533532, 0.0116898753, -0.0612324104, -0.0110370303, -0.0382297821, 0.0159776378, 0.0278844554, 0.01535533, -0.0381804518, 0.0397102684, -0.0880279317, -0.0561973192, -0.0071364795, 0.0239108857, 0.0184700489, 0.0421682522, -0.0422327407, 0.020405706, 0.0207187813, 0.0159519054, -0.0334771983, -0.0412261188, -0.0025319979, 0.0107415309, -0.0328507349, -0.03006511, 0.0058183363, -0.0488069244, -0.0263444465, -0.0749752745, -0.0098009342, -0.0466487668, 0.0107572833, 0.0164304152, 0.018658977, -0.0504005216, 0.0306591708, -0.0825420395, 0.0462574326, -0.0709780529, -0.0424788967, 0.0000286388, -0.011657455, 0.0092111034, -0.0372424722, 0.0098434845, 0.0015695051, 0.0183545295, -0.0506519303, -0.0052435836, -0.0438918062, -0.0156461429, -0.0379771404, -0.0018657768, -0.0477872416, 0.0501388498, 0.0414017029, 0.0344917998, -0.0463942587, 0.0237536728, 0.0150938099, -0.0372896381, 0.0360346809, 0.0369341113, -0.0121830171, -0.0223269947, 0.0175852757, -0.0281632859, 0.0587223656, 0.0227843057, 0.0108814016, 0.046533484, 0.020966731, -0.0137769552, 0.0213350672, 0.0077999081, 0.0036550518, -0.02812046, 0.0018238344, -0.0204127245, -0.0320141464, 0.0116619105, 0.0003861224, 0.0117118852, 0.0037784292, 0.0348438956, 0.0835873708, -0.0134173604, 0.0128649138, 0.012250714, 0.009690336, -0.0215365514, -0.0180839375, -0.0278642289, -0.0220732559, 0.0157042351, -0.0678314492, -0.05540023, 0.0418216847, 0.0230931789, -0.0158103984, -0.0201209597, 0.0142873516, 0.0480303653, -0.0249693505, 0.0470614135, 0.0271364562, 0.0111608561, -0.0154792015, 0.0553281233, -0.0519472286, 0.0028059657, -0.0078616198, 0.0034949582, 0.0626001656, 0.0430114269, 0.0003261564, 0.0608549193, -0.0209398102, 0.0103377765, 0.0174233504, -0.004553074, 0.0173507873, -0.0178646222, -0.0096003236, 0.0035974141, 0.0326059051, 0.0025498099, 0.0254555438, -0.0097092511, 0.0643690825, -0.0029275559, 0.0023172204, -0.0181323644, 0.013736004, 0.0237691198, 0.002485659, -0.0210338589, 0.0212032851, 0.0417685173, 0.0237962138, -0.0174151752, -0.0121543054, 0.0169589501, -0.0384963155, -0.0533643514, 0.0522815697, 0.0290357154, 0.0434547924, -0.0133353323, -0.0419695526, -0.0713201016, 0.028538188, 0.0365139022, 0.0036845035, 0.0408280902, -0.0267513171, 0.0658627674, -0.0098687364, -0.0211802255, -0.0264142361, 0.0335453674, -0.0050655482, 0.0524123721, 0.0035472638, -0.0109571135, -0.0249833781, -0.0468207002, -0.0056635817, 0.0700626001, -0.0122065712, 0.0055019776, -0.0038060667, -0.0480106398, 0.0563121252, -0.0483732782, -0.0367905572, -0.0298119672, -0.050930649, 0.0151043069, -0.0158259682, -0.0132568525, -0.0061491914, 0.0195590016, -0.020917166, 0.0526600033, 0.0261085872, -0.0016931873, -0.0143650658, -0.0040255417, 0.0150178578, -0.0453552492, -0.0111752795, -0.0569923632, 0.0151453, -0.0680699348, 0.0486537218, 0.0409154482, -0.0415172204, 0.0487900339, 0.010032231, -0.0364085473, -0.0194453299, -0.0111805284, -0.0414190181, 0.0045846789, 0.0317033902, 0.0517218933, 0.04869093, 0.0161561351, 0.053550642, 0.0285383351, -0.0340980366, -0.0520045981, -0.0033283662, -0.0213562008, 0.0113850525, -0.013150854, -0.0532025844, 0.0037118597, 0.0275080465, 0.0494642071, -0.0098469462, 0.0140001411, 0.0115458369, -0.0544550456, -0.0118005453, 0.0243075117, -0.0331686735, -0.0063428166, 0.0285794064, 0.0011585482, -0.0021775577, -0.0069877142, 0.0181253497, 0.0115954466, -0.0199854169, -0.0136683416, -0.0256486014, 0.1054873541, 0.0140596246, 0.0061751255, -0.0130845532, -0.0086692395, -0.0275917221, -0.066397652, 0.0317324065, -0.0320947804, 0.0413007438, -0.0435427912, 0.0082913768, 0.0187294018, -0.0098441457, 0.0026329402, -0.0060439254, -0.0309112556, -0.003029529, 0.0811240897, -0.0447296798, 0.0372096561, 0.0032522189, 0.0050787902, -0.0584154204, 0.0318773426, -0.0187643785, -0.0067372355, 0.0174820852, 0.0103640929, -0.0053325258, 0.0299979001, 0.0257881451, -0.0319676697, 0.0577654429, -0.0583200715, -0.0144424178, -0.010690527, -0.0084175998, 0.0316345729, -0.0580750369, 0.0520425141, -0.0509016253, 0.0279110949, -0.0549765304, 0.0305670314, 0.07372462, 0.0484663732, -0.0069374824, 0.0270180982, -0.0029754746, 0.0044398634, 0.0570584908, -0.0174645409, -0.0706153288, 0.0182081368, -0.0023722101, -0.0081923148, -0.0580690615, -0.053462103, -0.0076729096, -0.1126680747, -0.0045027426, -0.0245965552, 0.0158092808, 0.011709637, -0.0376759507, 0.0316630565, -0.0451968536, -0.0420934074, -0.0394093692, 0.0171232112, 0.0164967123, -0.0237749219, -0.0134733943, 0.0057273707, 0.0445348546, -0.0942789614, 0.0278532431, 0.0064324182, 0.1093711928, -0.0325823352, -0.021401478, -0.0122482888, -0.0082867937, -0.0239536315, -0.014882395, 0.0278703514, -0.0252202451, -0.0120417224, -0.048813168, 0.0162670501, 0.0351493843, -0.0051487116, 0.0166596584, -0.0029171647, 0.0142440805, -0.0121481251, -0.0514894053, -0.002469271, 0.0307863839, 0.0463625044, 0.019922426, -0.0053128474, 0.0057854382, -0.0243309792, 0.0356581137, 0.0176954828, -0.123464331, -0.0387931913, -0.0051057097, -0.0475184955, -0.0499457978, -0.0476156957, 0.0442736112, 0.0145191727, 0.0218181945, -0.0188979153, 0.052888684, -0.0164578278, -0.0730666816, -0.0038843488, -0.0081400005, 0.0260859262, 0.0555122755, -0.0598585978, 0.0093909418, 0.0752705634, -0.0182003323, 0.0746626481, -0.0174250975, -0.0284811985, 0.0399898663, 0.0089871604, 0.0190374963, -0.0251354277, -0.0226620715, 0.0084084319, 0.0238573644, 0.006674523, -0.0785681754, 0.0501925945, 0.0007208353, 0.0155032668, 0.0187987573, 0.0135404281, -0.0071612694, 0.0419824012, -0.005050838, 0.0001400869, -0.0345626585, -0.003330837, 0.0103859501, -0.0620099232, 0.0416479744, -0.0390254483, -0.0076378826, -0.0340041816, -0.0374539979, -0.0397999473, -0.0376955755, 0.0103270495, -0.0334374644, 0.0099025303, 0.045510076, -0.0699376389, 0.0349616818, -0.0353523716, 0.0478583202, 0.0016388295, 0.0280494057, 0.0480292216, 0.0055365474, -0.0171989668, -0.0051138173, 0.0373890027, -0.0063492483, -0.0291140564, 0.0081724552, 0.026429683, -0.0039592707, 0.0074512679, -0.0221796054, 0.0069969492, -0.0053973389, -0.0325446948, -0.0279637072, 0.0315646119, -0.0101204468, -0.0296760388, -0.0569786057, 0.0637465045, -0.0227848012, 0.0068244347, -0.0018975586, -0.0113719152, -0.0596358776, -0.0061976775, 0.0228706896, -0.000036785, -0.0271190461, 0.0314258821, -0.0023309193, -0.0656609014, 0.0472796001, 0.0400587991, -0.0604698658, -0.0001012458, -0.0458506532, 0.0591595657, -0.0250986293, 0.031024782, 0.0144120501, -0.1546743065, -0.0237472206, 0.0320125744, -0.0368004665, 0.0212336034, 0.0036060035, 0.0050246953, 0.0484218784, -0.0045156395, 0.0006205564, -0.0478286631, 0.0180095956, -0.0716164485, -0.0322076753, -0.0034454027, -7.139047556e-33, -0.0265576858, -0.0741788521, -0.0246306714, 0.0188304558, -0.0354537293, 0.0287661534, -0.0259599257, 0.0163029917, -0.0027620213, 0.053158775, 0.0044235429, 0.0363280624, 0.0018242511, -0.0103036352, 0.0619889833, 0.0203554761, 0.0275204815, 0.0061705955, -0.0136266584, -0.0163935088, 0.0307547636, -0.0033814088, 0.026736198, -0.1335920244, 0.0950491652, 0.0415765829, -0.0369758569, -0.0206510201, 0.0527527295, -0.0118115982, -0.0163067132, 0.0429660231, -0.0005272299, -0.0599979013, 0.034927018, 0.0898589045, -0.0380715132, -0.0491134562, 0.0246857163, -0.0087382765, 0.0014752657, 0.0146621531, 0.0134526435, 0.0354854465, -0.0438583083, -0.008292065, 0.082133539, 0.0185072813, 0.0638404489, -0.0371621624, -0.07368166, 0.0101024434, -0.0479246117, -0.0082837511, -0.0096756201, -0.0141265811, 0.0295894165, 0.0239881072, -0.0899290293, 0.0037169792, -0.051466465, -0.0121861575, 0.0010589689, -0.0403122157, 0.0249943007, 0.0724906996, -0.0002462296, 0.0240147579, 0.0003110969, 0.054728277, 0.0515186861, 0.0440495685, 0.0298562814, 0.0901647955, -0.0027344562, -0.0144562526, -0.0560133904, -0.0175272804, 0.0597717315, 0.0104235969, 0.0080596749, -0.0304759238, -0.0602447204, -0.0197184756, 0.0105778016, -0.0811064765, -0.0065389862, -0.0095429374, -0.0236663297, -0.021665765, -0.0334511884, 0.0419397689, -0.0009580444, -0.0349643007, -0.0454899594, 0.0249038264, -0.0077008223, 0.0027735562, 0.038905587, -0.0219246335, -0.0195961911, 0.0341695063, -0.0079186298, 0.0314508677, 0.0506391823, -0.010469201, 0.0050716405, -0.0107893376, -0.0694526806, -0.049715668, -0.0066357222, 0.0041174004, -0.0430223309, -0.0105108116, 0.0298616271, 0.0387033224, -0.0042871949, -0.0057071354, 0.061736431, 0.0583021343, 0.0148150194, 0.0127137192, -0.0420978181, -0.0035081559, -0.0388289727, -0.0483184829, 0.0151033513, 0.0132335322, 0.0805450156, -0.0354374349, -0.0174509082, -0.1130219698, 3.132e-7, 0.062405549, 0.082022436, 0.0012201347, 0.0532050394, -0.0085215047, 0.0364836901, 0.0378992558, 0.0635186359, -0.0218594354, -0.0625658259, -0.0033974692, -0.0005014315, 0.003081342, 0.0533044674, -0.0884148404, 0.0121156033, -0.015970761, -0.0370896906, -0.0126019549, -0.0100405458, 0.0539621599, 0.0290610362, 0.1167288423, 0.0098255035, -0.0308543351, -0.0184884109, 0.0185187776, -0.0461120345, -0.0089855762, 0.0351927057, -0.0099457102, -0.0143820215, -0.005699819, 0.0118518053, -0.0069352514, 0.0369900763, 0.0109462161, -0.0047355057, 0.0049866401, -0.0048184153, -0.0039559342, -0.0505798422, 0.0050764862, -0.0199416205, 0.0380662903, -0.0200908482, -0.0400431305, -0.0365216248, 0.0031919288, 0.0282429606, 0.0891877636, 0.0054513533, -0.0409130342, 0.0313060358, 0.0135524385, -0.0051773326, -0.029722603, -0.072315447, -0.0010305867, -0.0230723638, 0.0274111163, -0.0489049703, 0.0224888306, 0.0300120171, -0.0025605855, -0.0125892293, 0.015498885, 2.90389923e-34, 0.0027847211, 0.0004498965, 0.0091445288, 0.0355385989, 0.0788785815, 0.0011796935, -0.0227478202, -0.009091056, 0.0316355452, -0.0056585544, 0.0208653957 ]
http://arxiv.org/abs/2312.09508v1
http://arxiv.org/pdf/2312.09508v1
IndicIRSuite: Multilingual Dataset and Neural Information Models for Indian Languages
2023-12-15T03:19:53
2023-12-15T03:19:53
Saiful Haq, Ashutosh Sharma, Pushpak Bhattacharyya
cs.IR
cs.IR, cs.CL
In this paper, we introduce Neural Information Retrieval resources for 11 widely spoken Indian Languages (Assamese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya, Punjabi, Tamil, and Telugu) from two major Indian language families (Indo-Aryan and Dravidian). These resources include (a) INDIC-MARCO, a multilingual version of the MSMARCO dataset in 11 Indian Languages created using Machine Translation, and (b) Indic-ColBERT, a collection of 11 distinct Monolingual Neural Information Retrieval models, each trained on one of the 11 languages in the INDIC-MARCO dataset. To the best of our knowledge, IndicIRSuite is the first attempt at building large-scale Neural Information Retrieval resources for a large number of Indian languages, and we hope that it will help accelerate research in Neural IR for Indian Languages. Experiments demonstrate that Indic-ColBERT achieves 47.47% improvement in the MRR@10 score averaged over the INDIC-MARCO baselines for all 11 Indian languages except Oriya, 12.26% improvement in the NDCG@10 score averaged over the MIRACL Bengali and Hindi Language baselines, and 20% improvement in the MRR@100 Score over the Mr.Tydi Bengali Language baseline. IndicIRSuite is available at https://github.com/saifulhaq95/IndicIRSuite
[ 0.0376018621, 0.0346233509, -0.0052318061, 0.0519018099, -0.0484541543, 0.0182956122, 0.0144934878, 0.0542006828, 0.023536589, 0.0205132384, -0.068521589, -0.0681112036, -0.0054821563, 0.0000603715, 0.0109348623, 0.0014354205, 0.0494513325, 0.0001229495, 0.0199736897, 0.0210146215, 0.0068651456, 0.0458585732, -0.0100947032, 0.0141629064, -0.05293338, -0.0196179114, 0.0329724588, 0.0326897837, -0.0025484243, -0.0742249265, 0.0137439258, 0.0311915409, 0.0416945852, 0.0347356275, 0.0000018118, -0.0193701852, -0.0003665956, -0.0176567193, -0.0019178258, -0.0442579165, 0.0541127026, 0.0074718101, 0.0716952309, 0.008233686, -0.0177257601, 0.0070251743, 0.0548606403, 0.0280359518, 0.0194243882, 0.1087137088, -0.0183343198, -0.0385246724, 0.0329877324, -0.0156323928, 0.0133415442, 0.0060372078, 0.0040378156, -0.0171303879, -0.0247626174, 0.0253588986, -0.0026264195, 0.0266497023, 0.0026404234, -0.0024333543, 0.0147178676, -0.0078724893, -0.0178891458, -0.0225460734, 0.0602450818, 0.0500284471, -0.0485161394, -0.0151121859, -0.0277781915, 0.0488419905, -0.0574318133, -0.0407340415, -0.0369532481, 0.0010134532, -0.0485157259, 0.0409446657, 0.0260966402, 0.0438211486, 0.024707133, 0.0005483392, 0.0667298734, 0.0311525427, 0.0171837881, -0.0124318348, -0.0019066539, -0.0431436896, 0.0210257322, 0.0518099628, 0.0285260696, -0.0089655425, -0.0115286242, 0.0143417865, 0.0211749133, -0.0378473103, 0.0296303146, -0.0839272663, -0.02273551, 0.0583149716, -0.0086577283, 0.0272771493, -0.0210948829, 0.0543084666, -0.0246062316, 0.0326876864, -0.0233668424, -0.0567478985, 0.0279992055, -0.0592678413, 0.0098425252, 0.0247647073, -0.0339268483, 0.0191936996, -0.0513208918, 0.0004614085, -0.0148679111, -0.0594388507, 0.0412734002, -0.0087612709, -0.0502352454, -0.0237311292, -0.02189501, 0.0429377183, -0.0351702981, -0.0143691581, -0.0020412521, -0.0805147663, -0.0083835227, 0.0180176888, -0.0393417366, -0.0374418311, 0.0044864486, 0.0285273846, -0.024968639, -0.0468023345, -0.0382169224, 0.0283215344, 0.0344310366, -0.0431611985, 0.0116510764, -0.0484335534, 0.0768847018, 0.0207319874, 0.0000295855, -0.0624374114, 0.0181208197, 0.0368600748, -0.0096589969, 0.0873929113, -0.0252670553, -0.0138663547, 0.0508930907, 0.0280798487, 0.0515830629, 0.040387813, -0.0176411457, -0.0106064342, 0.0482465178, -0.0046844571, 0.0108679961, 0.0142250611, -0.0077277599, -0.0071961265, -0.0234107953, 0.0357676148, -0.0149495127, 0.0457167029, 0.0110724028, 0.0330078229, -0.022155622, -0.0199639406, -0.0017717001, 0.0651006699, 0.061849378, 0.0455111898, -0.001907117, 0.0004218412, 0.0129192751, -0.0048078997, -0.0100762816, 0.0616438538, -0.025033908, -0.0313336104, 0.0608114824, 0.0078613227, -0.0404470079, -0.0034128567, 0.0040102941, -0.0346523151, -0.0140275694, -0.0151132764, 0.051285658, -0.0375254154, -0.0290454589, 0.0043552937, 0.0496483743, -0.0578457937, 0.0484585837, -0.0489625894, 0.0136065464, 0.0487224124, 0.0153602464, -0.0654393807, 0.0096128006, 0.0440218635, -0.0131874038, 0.0532970987, 0.0268791225, -0.0036403162, 0.0139730154, -0.0661875755, 0.0353136025, 0.051030267, -0.0116312625, 0.027537033, -0.0162099432, 0.0199598987, 0.0232697241, 0.003346029, -0.0045334236, 0.0343042985, -0.0327573381, -0.0108214421, 0.0009557668, -0.0053227977, 0.0371485949, -0.0151486574, -0.0175134409, -0.0228312872, 0.0247124769, -0.0140111176, 0.008843503, -0.0089128558, -0.0291008484, -0.0465941243, -0.0016667963, -0.0229014475, 0.0493402369, 0.0564256534, 0.0063532218, -0.0332056209, 0.011366372, 0.0059205573, 0.006400458, -0.0303970966, 0.0283158515, -0.0002283122, -0.0008945934, -0.0424362943, 0.0306249708, 0.0045395624, 0.0489188582, 0.0155547736, 0.0027627856, 0.0537991263, -0.0862083733, -0.0153105203, 0.0272957869, 0.0216483586, 0.0179135837, 0.0325506143, 0.0125160525, -0.0348060764, -0.0439039469, -0.0791042, -0.0112836389, -0.0152121522, -0.0109823216, -0.0211479086, 0.0563592762, 0.0069113737, -0.0334724672, 0.0206585601, -0.0102020865, 0.036435917, 0.0428111553, 0.023211468, -0.0202417169, 0.0377511121, -0.0413573943, -0.0777310878, 0.0006631988, 0.0829657391, 0.0025381832, -0.0758446306, -0.0180225056, -0.0241249278, -0.0502706654, 0.0127491551, -0.0593848079, -0.0644859597, -0.0123824524, -0.0684925169, 0.0003058834, 0.0258977972, 0.033560425, -0.02727101, -0.018999828, -0.0089036366, -0.0541178994, 0.0168916043, -0.0029717514, 0.0290156491, 0.0114917858, -0.009506518, 0.0052088574, 0.0139344577, 0.0067347828, -0.0020276168, -0.0078146039, -0.0580442287, -0.0141610084, 0.0066024004, -0.0510904938, 0.0396512598, -0.0145192323, 0.0667813048, -0.0283078924, -0.0559669584, 0.0480947569, -0.0138784628, 0.0092719682, -0.0799708366, -0.0074710501, -0.0448722057, 0.0176948905, -0.0276419949, 0.01654277, -0.047567863, -0.0392795466, -0.0363831222, 0.0153945619, -0.0170438644, -0.0582541376, 0.0323061161, -0.0239904691, 0.0455502793, -0.0173228141, -0.0385227352, -0.0345918387, -0.0507020541, 0.0588922538, -0.0086217867, 0.0490804054, -0.0196767543, -0.0139624709, 0.0535719991, 0.027656069, 0.0201047082, -0.015575666, -0.0054241763, 0.0574846603, 0.0059463708, 0.026663607, -0.0196743924, -0.0160798337, 0.0356365144, 0.0222045798, -0.0271554757, 0.0308717452, -0.0099889347, -0.0086575132, -0.0145421997, 0.0504734144, -0.0075342185, -0.0268380661, -0.0306371879, 0.0087469658, 0.02282672, -0.0276410598, 0.0727363899, 0.0267824233, -0.076912418, -0.0635538623, -0.0749003142, -0.0050405632, 0.0168362539, 0.0513328314, -0.0459793061, 0.0006324612, 0.0086025354, -0.0111224167, 0.0419801995, -0.0054256897, -0.0226762667, -0.07592614, -0.0259262137, -0.0281128492, -0.045042634, -0.0721614137, -0.0186924264, -0.0343718491, -0.0017784337, 0.0258239936, 0.0630984679, -0.0333038196, -0.0529531315, 0.0307918023, -0.0199814066, -0.0077582137, -0.0156705715, -0.0442531854, 0.0024326404, 0.0339027345, 0.0160400588, -0.0274200663, -0.0212191492, 0.0004225755, -0.0240661725, -0.0132134557, -0.0359273292, 0.1022997126, 0.0007922748, -0.0131892785, -0.044168558, -0.0251143239, 0.008105794, 0.021932479, -0.0142738642, 0.0065796496, -0.0153887533, 0.0279325303, -0.0262433141, -0.0377402827, 0.0014436997, 0.02490169, 0.0095346076, -0.0171642452, -0.0061494065, -0.0216124654, 0.0365898348, -0.0419208519, -0.0257667955, 0.029932566, -0.0444364287, -0.0420101732, -0.0190111939, -0.0529584102, 0.0098330267, 0.0062445221, 0.0185311418, 0.0507880934, -0.0195646379, -0.0164054092, -0.0406906903, 0.026310036, -0.0190252885, -0.0096331676, -0.0691483766, 0.038610477, 0.0509132482, -0.0252134465, -0.0216625221, -0.0287933927, -0.011667178, -0.0309186503, -0.0102695348, 0.0588460229, 0.015424964, -0.0152941337, -0.0449626595, -0.0809839815, 0.0699354261, 0.0065974155, -0.0427549109, -0.0309474319, 0.017622428, -0.0131860739, -0.0122072315, 0.0457575284, -0.0503640287, 0.0255272407, -0.0343207605, 0.0442996584, -0.005500841, -0.0161403827, 0.0510460585, 0.028854534, 0.052712597, -0.0410971269, 0.0102771819, -0.0727290958, -0.004805923, 0.0129354224, -0.0396300368, 0.0042516007, 0.0020533158, 0.0741117522, 0.0182911605, -0.0146771073, -0.017266551, 0.0240699891, 0.0399286523, 0.0140721882, 0.0099974731, 0.0012600404, 0.0621182919, 0.0114044948, 0.0222353134, -0.0134082027, 0.0136109712, -0.0305114947, 0.0053303512, -0.0353517048, 0.0903874263, 0.0039426046, -0.0139472429, 0.0201053433, 0.0316308849, 0.0355812609, 0.0104322946, -0.0116318623, 0.0440918356, 0.0578935556, 0.0309718847, 0.0267825052, 0.0265304521, 0.0098261675, -0.0425920971, 0.0170226302, -0.0165039338, 0.0124613456, 0.061017096, 0.0216780882, -0.0172217321, 0.0110857459, 0.0515822209, -0.055388771, -0.0244810134, 0.0104474528, -0.0449414328, -0.0156813655, -0.0125388112, 0.0042544166, 0.0426798575, 0.0239705704, -0.0123173036, -0.0255148374, -0.0323558412, 0.0169987306, -0.0333208218, -0.0170166139, -0.0323897153, 0.0132587561, 0.0664364621, 0.0254569966, -0.0171104744, -0.047513403, 0.0087684309, -0.079488501, -0.0352414995, -0.0290953293, -5.771817587e-33, -0.0384236202, 0.0371489264, 0.0005892616, -0.0162303243, 0.0055018314, 0.0044332864, -0.0082038101, -0.0110583603, -0.0596660413, -0.0016732469, -0.0310283918, 0.041631531, 0.0029316687, 0.0130360676, 0.0283687431, -0.0270706303, 0.0176520981, 0.0471846685, 0.0098071024, 0.015989475, 0.0542805009, 0.0407136828, 0.0951233208, -0.0323959514, 0.0000158202, -0.0501121581, 0.0395038389, 0.0536392517, -0.0404905975, 0.0558588468, -0.0390965268, 0.040806707, 0.0402957052, -0.0313351378, 0.031132577, 0.0141908815, -0.0936250761, -0.0135689694, 0.0112658069, 0.0599924885, -0.0171582773, -0.0227054078, 0.0570404977, -0.0308418162, -0.0135705071, 0.0423373431, 0.0358446576, 0.0332559869, -0.0204422101, -0.0119474391, -0.0244635362, 0.0344613679, 0.0225968082, 0.0074937148, -0.0050506503, 0.0654101372, 0.0141478004, 0.0089190472, -0.1063571125, -0.0243951716, -0.0691018179, 0.0692276433, 0.016026821, 0.0635557026, -0.0250897706, 0.0303484704, 0.0606127828, -0.0462220125, 0.055554796, 0.0010916685, 0.005801545, 0.010103575, 0.0316956043, 0.0491209589, 0.0528451316, -0.0707798153, -0.0291966069, 0.0246002134, 0.024210738, 0.0644618198, 0.0107839052, -0.0046923421, -0.0920183286, -0.015110679, 0.012527761, -0.0114942137, -0.0690471679, -0.0485778376, 0.0516616143, -0.0138252396, 0.0448202044, 0.0361429863, 0.0711838156, 0.0027709284, 0.0214904062, 0.0295883529, -0.0177157838, 0.0026834006, -0.0077872411, 0.0235247705, -0.0047457051, -0.0439983979, -0.0207800772, 0.0196314342, -0.0114897471, -0.0097633386, 0.0467101112, -0.0102623226, -0.0558149032, -0.0230612271, -0.0390250683, 0.0087930411, 0.0037955344, 0.0557965674, -0.017057538, 0.0131267784, -0.0229064897, 0.0249524061, 0.0541387089, 0.0294623598, -0.0178218409, -0.0876143202, 0.0393603034, -0.0226112548, -0.0079499148, 0.0457103401, -0.091931887, 0.0008153731, 0.0053293593, -0.0576316193, 0.0090201525, 0.0874808654, 2.559e-7, 0.0030514065, 0.0221028384, 0.0084537743, -0.0256092809, -0.0432834923, -0.0144838812, -0.0429325439, -0.0065847011, 0.0217718221, 0.0526467673, -0.0139492266, 0.0102833891, 0.036092788, 0.0223191455, -0.1107754707, -0.0447404124, -0.091319941, -0.0175567176, -0.0430046804, -0.0192408953, -0.0250375047, 0.10032285, 0.0367443822, -0.0112215048, -0.0422716253, -0.0570817851, 0.0697327927, 0.0033030706, -0.0026986385, 0.0384737328, 0.0477863662, 0.0355528072, -0.0215940345, -0.0290226676, -0.0044692485, -0.0107858935, 0.0446068905, 0.0397172123, -0.0228227861, -0.0022312261, 0.0492258891, 0.0237788279, -0.0116633186, -0.0333570167, 0.0451005027, 0.0347353593, -0.0183791537, 0.0390770882, -0.0078555671, 0.0073463996, 0.0342769474, -0.0195831303, -0.0025104561, -0.0106836194, 0.0088712433, -0.0840833038, -0.0167738311, -0.0418618247, -0.0286650974, 0.0175092425, -0.017451467, -0.0220188089, -0.0075537246, 0.0005437194, 0.0182456374, -0.0376522206, 0.0293134842, 1.804702957e-34, 0.0288134851, 0.0038209322, 0.0145706879, -0.0078480402, 0.0304615367, -0.0396218598, -0.0354898199, 0.0105772102, 0.0299017765, -0.079859212, -0.0170060806 ]
http://arxiv.org/abs/2312.10104v3
http://arxiv.org/pdf/2312.10104v3
Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models
2023-12-15T03:11:03
2024-06-06T13:54:23
Xu Yang, Yingzhe Peng, Haoxuan Ma, Shuo Xu, Chi Zhang, Yucheng Han, Hanwang Zhang
cs.CV
cs.CV, cs.CL, cs.LG
As Archimedes famously said, ``Give me a lever long enough and a fulcrum on which to place it, and I shall move the world'', in this study, we propose to use a tiny Language Model (LM), \eg, a Transformer with 67M parameters, to lever much larger Vision-Language Models (LVLMs) with 9B parameters. Specifically, we use this tiny \textbf{Lever-LM} to configure effective in-context demonstration (ICD) sequences to improve the In-Context Learinng (ICL) performance of LVLMs. Previous studies show that diverse ICD configurations like the selection and ordering of the demonstrations heavily affect the ICL performance, highlighting the significance of configuring effective ICD sequences. Motivated by this and by re-considering the the process of configuring ICD sequence, we find this is a mirror process of human sentence composition and further assume that effective ICD configurations may contain internal statistical patterns that can be captured by Lever-LM. Then a dataset with effective ICD sequences is constructed to train Lever-LM. After training, given novel queries, new ICD sequences are configured by the trained Lever-LM to solve vision-language tasks through ICL. Experiments show that these ICD sequences can improve the ICL performance of two LVLMs compared with some strong baselines in Visual Question Answering and Image Captioning, validating that Lever-LM can really capture the statistical patterns for levering LVLMs.
[ 0.0279131494, 0.0344342589, -0.0118829152, 0.0599503666, -0.0424462371, 0.0009385036, 0.0319436006, 0.0129645364, -0.0095853573, -0.0797048584, -0.0217453409, -0.0399429873, 0.0185343586, -0.0010342954, 0.0591770969, -0.0863880813, 0.0283165704, -0.058134988, -0.0539870746, 0.001491419, -0.0067159594, -0.0235237963, -0.0086308746, 0.0335647911, -0.0029989204, -0.0010943263, -0.0156231243, 0.0251226071, 0.0329894274, -0.0142409457, -0.0295200162, 0.031226987, 0.0515753627, -0.0206736363, 0.0000018697, -0.034523692, 0.0308945067, -0.0013734259, 0.0084096016, -0.0070400373, 0.0156615451, -0.0326042064, 0.0152133051, 0.034762904, -0.0414501987, -0.0344178155, 0.0334914327, 0.0541744865, 0.0390724055, 0.0695131123, 0.0046283789, -0.0370938107, 0.021893356, -0.0264121387, 0.030248588, -0.0454256609, 0.0197693296, 0.0178710707, 0.0390490368, 0.0132282637, -0.0539019965, 0.0633174777, 0.0450093262, 0.0003100014, -0.0236906819, 0.0544179976, -0.0252731871, -0.0335272439, -0.0165596791, 0.0405917168, -0.028440157, -0.03305123, -0.0111177908, 0.0009038408, 0.0328647792, 0.0168775283, -0.0654199719, 0.0538096055, 0.0175710246, -0.0033736366, -0.0231521204, -0.0176709648, -0.0011067234, -0.0003822285, -0.0151440138, -0.0000849442, 0.0051059104, -0.015763225, -0.0409437269, -0.0067946222, -0.0414158106, -0.0736684799, -0.0646105185, 0.0402756371, -0.0377853103, 0.022613192, -0.0415465012, -0.0161149651, -0.0017899106, -0.021739006, 0.0310883, 0.0031602213, -0.0195412487, 0.0369728878, -0.0374897569, 0.1159389913, 0.0020452852, 0.0434019938, -0.0657776818, -0.0015193076, -0.0338648558, -0.0065870378, -0.063505806, 0.0062241973, -0.0800962001, -0.0552125759, -0.0260118023, 0.0400019623, 0.0166469943, -0.0205801353, -0.017102398, 0.009520147, -0.0277601015, 0.0094538648, -0.009215083, 0.0329358056, 0.0115283234, 0.0024180352, -0.0000849133, -0.0676681772, -0.0107606407, 0.0451953709, 0.0178781152, -0.017418839, -0.0072345138, 0.0541670546, -0.0319634229, -0.0728539452, -0.0229355283, -0.0090070814, -0.0097949337, -0.0355217718, 0.0283168219, -0.0901654139, 0.0086434269, 0.0054929438, 0.0019678252, 0.006500945, 0.010317157, 0.0490857735, 0.0141621949, 0.0791525394, 0.0265955999, 0.0082228491, -0.0054119518, 0.0197301134, 0.0346203223, 0.0836012661, 0.0257426929, 0.0315582864, 0.041896712, -0.0081486674, 0.0483592637, 0.0495739877, 0.0065652844, 0.0092737982, -0.071155712, 0.0081645418, 0.0149223432, 0.0252020545, 0.0187286045, 0.056180045, -0.0316225514, -0.0092946589, 0.0839443505, 0.0537430272, 0.0540970564, -0.0276911277, 0.0394788422, -0.0087452317, 0.0096463263, 0.0002319132, -0.0589294322, 0.0358895324, -0.0019264629, 0.0337467119, -0.0267221797, 0.0209463928, -0.0404033251, -0.0379189849, -0.0355015025, 0.0050664325, -0.0250385348, 0.0161412768, 0.0236355234, 0.0489847772, -0.047858797, 0.0368321203, -0.0051055448, -0.0377555303, -0.022317037, -0.052498702, 0.0072519667, 0.0259166453, 0.0293421112, 0.0275516771, -0.0116203623, -0.0058311005, 0.0494487025, 0.0458109118, 0.0236297268, 0.0021162429, -0.0167651735, -0.0339151658, -0.0361845344, -0.0046049855, -0.0104232021, -0.0130885839, 0.0321472287, -0.0007124712, 0.0032721292, -0.024103839, 0.0109462924, 0.0394794606, -0.0161834024, -0.0102148931, -0.0157406237, 0.0128824376, 0.0093152421, -0.0240548477, -0.0121610193, 0.0116912248, 0.0377355739, -0.0325756483, -0.0211997945, 0.019939322, -0.0357483327, -0.0680253208, 0.0243322067, -0.0616270453, -0.0009118364, 0.0242375862, -0.0322258435, -0.0274494104, -0.0229720846, -0.0506397672, 0.0365932398, -0.0463860892, 0.0112834089, 0.0172362905, 0.0048050117, -0.0610568374, 0.0505193025, -0.0277165193, 0.022208631, 0.0254251659, 0.0273513068, -0.0198722668, -0.0559310615, -0.0195444245, -0.003800374, -0.0115587236, 0.0271371938, -0.0049338494, 0.0526442826, -0.0398112759, -0.0235122703, -0.0992897749, -0.0191179793, -0.030365495, -0.0228997599, 0.0129693355, 0.0140385656, -0.0025052533, -0.0307502039, -0.0301103331, 0.0193844661, 0.0098221321, 0.0183048658, 0.0429014303, 0.0251669735, -0.0452008769, -0.0100572016, -0.0086098332, 0.0159696396, 0.0780307353, 0.0090697194, 0.0018909571, -0.0430099666, 0.018468434, 0.0089456476, 0.0270556118, -0.043099694, -0.0234326236, 0.0221081674, 0.0017586013, 0.0313406736, 0.0637369379, 0.028114358, 0.0226681922, 0.0099035148, 0.0142151192, -0.0401789434, 0.0054367469, -0.0151144192, -0.0650340617, -0.0369506218, 0.0071684849, -0.0132303694, 0.0302118063, -0.0159994494, 0.0101937549, -0.0540000834, 0.0262638945, 0.009323596, -0.051943779, -0.0515208989, 0.001161168, -0.0366449468, 0.0244474057, -0.0226158537, -0.0837582573, 0.0109586054, -0.0330164507, -0.0157141294, -0.0332951173, 0.0055903587, -0.0407070257, 0.0899885818, 0.0363651663, 0.0115470234, -0.0164957047, -0.0124050351, -0.0709557384, -0.0058689397, -0.0282543842, -0.013669733, 0.0889985934, -0.0606190786, 0.0068390667, -0.0278596487, -0.0435748734, -0.06985493, -0.0205302723, -0.025589738, 0.0043411832, -0.0086298557, -0.0162189715, -0.0321677811, 0.0265401583, 0.0522652343, 0.0154985907, -0.0107813375, 0.0025135577, -0.0184879601, 0.0266167, 0.0804185644, 0.0551185459, 0.0038206892, -0.0262105316, 0.0170118436, 0.0451729707, 0.0551721118, -0.0072441241, -0.0502401292, 0.0028856082, 0.0230545979, -0.000269833, -0.0032295277, 0.0417754054, 0.044912979, -0.0545137152, -0.0187043566, 0.092520155, 0.0070444634, -0.0385042839, 0.0028253573, 0.027579505, 0.0178976953, 0.0541284233, 0.0433267541, -0.1070265248, -0.0294116009, -0.0072979392, 0.0087917913, 0.0180807412, 0.0311855916, -0.0369703025, -0.1333371103, 0.0600442067, 0.0104412045, -0.0392127447, -0.0260264799, -0.0010355148, -0.0266846549, 0.0079493318, 0.010702162, 0.0286304746, -0.0427019484, -0.0020753441, 0.0101633035, 0.0023010613, -0.0593297556, -0.0004125075, -0.0401651934, -0.0060479161, 0.005245944, -0.0179412644, -0.0098773167, -0.0672409162, 0.0771477073, -0.036127951, 0.0346235223, -0.013532605, 0.0370168686, -0.0238109715, -0.0452494621, 0.0054275938, 0.0430337526, -0.0202312116, -0.0368295051, -0.0154834259, 0.0392655358, -0.0106658787, -0.0238725841, -0.0206556469, 0.00338443, -0.0114453435, 0.0614918619, 0.0408520401, -0.0476096496, -0.0176668521, 0.0062337602, -0.0394376665, -0.0307925846, -0.0541836545, -0.0017848036, 0.0325180925, 0.0053700237, -0.0810420141, -0.0222874582, 0.0336600728, 0.1025471464, -0.0200726744, 0.0109898467, -0.0228451975, 0.0171508193, -0.0430239327, 0.0558600537, -0.0232244376, 0.0342354067, -0.0714423135, 0.0084750066, 0.0474942215, -0.0486944206, -0.0325752683, 0.0164642055, -0.0797717422, -0.0442788117, -0.0081512956, 0.067556724, 0.0206348281, 0.0630640984, 0.0281774979, -0.0586989373, 0.0664345026, 0.0643259883, 0.0424843095, 0.0707401335, -0.0035109282, -0.0217574518, -0.0069058789, 0.0336173885, -0.0438619703, -0.0072424081, 0.0278125815, 0.0517695472, -0.0474590473, -0.0091385813, 0.0150806131, 0.0013981181, 0.0443006419, -0.0209778696, -0.0098283067, 0.0016480392, 0.0438802876, 0.0023745052, -0.0013721227, -0.0641565174, -0.0081809666, -0.0045699496, 0.0339018516, 0.0182582457, -0.0171896517, -0.0079849372, -0.0114272824, -0.0102743926, 0.0195010919, 0.0222897865, -0.0041744937, 0.0100839837, 0.0443507247, -0.0031348006, -0.0132364212, -0.0142378751, 0.0398805887, 0.0042932341, 0.0555763952, 0.0486440696, -0.0040371032, -0.0385317132, 0.0468306839, -0.0477187261, -0.0221544933, -0.0219849702, 0.0119765103, 0.0620456859, -0.0083286967, 0.0098538892, -0.0168688782, -0.0116761262, -0.0195817798, 0.0198995005, -0.0228384621, -0.0351859182, 0.083307974, 0.0373533331, -0.0092916265, -0.0041911039, 0.0673286319, 0.0087094326, 0.0143210096, 0.008548703, 0.0294393767, -0.0279339626, -0.029630892, 0.051848948, -0.0013193545, 0.0092238747, 0.0237868074, -0.0335616134, -0.0557178967, 0.0120035131, 0.0316497497, -0.000108895, 0.0063903583, 0.0633969232, 0.0385391451, 0.0356394388, -0.0276719257, -0.0330253504, -0.0335749686, 0.0252562519, -0.0202837456, 0.003781864, -5.893880553e-33, -0.0393065363, -0.0201682169, 0.0545559488, 0.04235176, -0.0006005543, 0.0249305107, -0.0189677421, 0.0248065349, -0.0014318697, 0.0046116454, -0.0009830639, -0.025045881, 0.0090007996, 0.0579387881, -0.0110184737, -0.0053953198, 0.021363223, -0.0091468887, -0.0147406571, -0.0243180208, -0.0088508492, 0.0188715458, 0.0355309881, -0.0546389557, -0.0324452408, -0.0065190741, 0.0084437961, 0.0319633074, -0.0162725393, 0.0847165734, 0.0046114321, 0.0158524849, 0.0262976885, -0.0496963449, -0.0417902768, 0.0490770563, -0.054141093, -0.0100921569, 0.0527084358, 0.057413917, -0.0716405734, 0.0086557586, 0.0570291318, -0.0301957, -0.0238897093, -0.0378399901, 0.0318678096, -0.0121998396, -0.0242929924, -0.0208443869, -0.0171501338, -0.0084090848, 0.035363134, -0.0264991671, 0.0162457004, 0.0260360446, -0.0156713445, -0.0050825891, -0.0267246291, 0.0152462181, 0.0235039219, 0.032622043, 0.0980054587, 0.073747538, 0.0045597441, 0.0476014726, 0.0310721379, -0.0445338264, -0.0013678704, -0.0359425619, 0.0518253669, 0.0627841428, 0.0743491426, 0.0527292266, 0.0410741121, 0.0256276727, -0.0321335867, -0.0113584446, -0.0396921672, 0.0575384274, 0.0148398392, 0.0236921124, -0.0147180855, -0.0115257045, -0.0528810285, 0.0138941361, -0.032525342, -0.0006195109, 0.0764640421, 0.0536431558, -0.0084695993, 0.0057384167, 0.0699704885, -0.0612759143, -0.0256632678, 0.0181253962, -0.0010383101, 0.0547286198, -0.0018985182, -0.0030220263, -0.0416668579, -0.0157389659, 0.0346285328, 0.0244477205, -0.0019384976, 0.0053366129, 0.0584045872, 0.0307169706, -0.0623806827, -0.0106615918, -0.0317772925, 0.0130197145, -0.012435372, -0.0120085394, 0.0353466794, 0.0090238657, -0.0470661819, 0.0269068535, -0.0339927748, -0.0851453468, -0.0174392872, -0.0030904685, -0.0123673817, 0.0205908734, -0.0163520034, -0.0012291628, -0.0161263105, 0.0452408232, 0.0314254835, -0.0415423848, -0.0156490114, 0.0543292947, 2.63e-7, 0.0202674903, 0.0302052666, 0.0242738072, 0.0339411199, 0.0314694233, 0.0188641362, -0.0294080656, 0.0160009582, 0.0127628027, -0.0121825291, 0.0084942784, 0.0454996862, 0.0290645845, -0.0360277109, -0.0606301241, 0.0076716407, -0.0338769816, 0.0054371441, -0.0315223038, -0.0101121105, 0.0409101956, 0.0912979841, -0.0197745655, -0.0173682347, 0.0228575058, -0.0821223632, 0.0593184493, -0.0487666428, 0.0019288831, -0.0134913847, -0.00717609, 0.0468789265, 0.0270207338, 0.0356213376, -0.0131083941, 0.0018238946, 0.0130150085, 0.0307157598, -0.0051218905, -0.0322071612, -0.0051339846, 0.0226089172, -0.0280538835, -0.0606931709, 0.075092487, -0.0802643374, 0.0156696923, -0.0184859596, -0.0114037646, -0.0342482068, -0.0028628532, -0.0061227074, -0.0183239467, 0.0248591658, 0.053528592, -0.011184522, -0.0393788256, -0.0861581489, -0.0189573299, 0.0140994675, -0.0625327751, -0.0149826994, -0.0771743059, 0.0152266175, -0.013850186, 0.0077845375, -0.0790917054, 2.576437957e-34, 0.0237227716, -0.020781124, 0.0111318389, 0.0242490135, -0.0056888666, -0.022059707, -0.0229989178, 0.0208681319, 0.0176390577, -0.0913895741, -0.0197097417 ]
http://arxiv.org/abs/2312.09494v2
http://arxiv.org/pdf/2312.09494v2
No-Skim: Towards Efficiency Robustness Evaluation on Skimming-based Language Models
2023-12-15T02:42:05
2023-12-18T02:50:02
Shengyao Zhang, Mi Zhang, Xudong Pan, Min Yang
cs.CR
cs.CR, cs.CL
To reduce the computation cost and the energy consumption in large language models (LLM), skimming-based acceleration dynamically drops unimportant tokens of the input sequence progressively along layers of the LLM while preserving the tokens of semantic importance. However, our work for the first time reveals the acceleration may be vulnerable to Denial-of-Service (DoS) attacks. In this paper, we propose No-Skim, a general framework to help the owners of skimming-based LLM to understand and measure the robustness of their acceleration scheme. Specifically, our framework searches minimal and unnoticeable perturbations at character-level and token-level to generate adversarial inputs that sufficiently increase the remaining token ratio, thus increasing the computation cost and energy consumption. We systematically evaluate the vulnerability of the skimming acceleration in various LLM architectures including BERT and RoBERTa on the GLUE benchmark. In the worst case, the perturbation found by No-Skim substantially increases the running cost of LLM by over 145% on average. Moreover, No-Skim extends the evaluation framework to various scenarios, making the evaluation conductible with different level of knowledge.
[ 0.0170805342, 0.0357227102, -0.0080783153, 0.0679114908, -0.0575710647, -0.0366882198, -0.003188086, -0.0045905621, 0.0004603302, -0.0181917008, 0.0331066512, -0.0373053886, 0.0135995233, 0.0245655347, 0.0569759682, -0.0188432485, 0.0548716784, -0.0373085327, -0.0169755109, -0.0095369285, 0.0102640018, -0.0360048451, 0.0281361584, 0.0182746183, 0.0262796488, 0.0068467213, -0.0250891522, 0.005533692, -0.0083645936, -0.0098577673, -0.0041141543, 0.0368962251, -0.0233260337, 0.0669554695, 0.0000023553, 0.0044059097, -0.0273228921, 0.0628737286, -0.0198779963, 0.1052263975, 0.0367140174, -0.01363903, -0.0372366272, 0.0382483266, 0.0106578087, 0.0308749527, 0.0287983268, 0.0140567953, 0.0576819293, 0.0868798941, -0.0065432414, 0.0242971592, 0.0410357639, -0.0340755023, -0.0173114724, -0.0464244187, 0.0365038961, -0.0488739908, -0.014523983, 0.0021116638, -0.0319386758, 0.0029497254, 0.0142450156, -0.030721942, -0.0520532466, 0.0303112604, -0.0419406518, -0.0003176442, 0.0163547695, 0.0383932292, -0.0711427107, -0.0079931226, 0.0125688706, -0.0058070407, -0.0037758457, -0.0109806098, -0.0279410891, -0.009852956, 0.0431903973, 0.0081079248, -0.0302313101, -0.0205776226, 0.0649916157, 0.0227064732, -0.0149550764, 0.0427755527, 0.0438798778, -0.0204045288, -0.0358599611, -0.0516433455, -0.0013204942, -0.0401945487, -0.0119554223, 0.0095185842, -0.0074367491, 0.0245113522, -0.0803610608, -0.0425921269, 0.0370289162, -0.0578556918, 0.0635251552, 0.0479238555, -0.0030244503, 0.0305113085, -0.047151532, 0.0274327546, -0.0417813025, 0.0124126757, 0.022042295, 0.0324881487, 0.0285901427, -0.0092143826, -0.0112511171, 0.0586978681, -0.030204948, -0.0286248848, -0.0289936736, 0.0488431081, 0.0003815361, 0.0203815922, -0.0746341422, 0.0011228671, 0.0225040317, 0.0137054855, 0.035958305, -0.010094679, -0.0315252021, -0.0167102274, -0.0237143412, -0.0666147843, -0.0409871899, 0.0214925855, -0.0421202295, -0.0451541021, 0.0229245219, 0.1259456724, 0.0349878483, -0.0516688302, -0.032727167, -0.0525101013, 0.005371782, -0.0316849239, -0.0161557086, -0.0503334738, -0.0209973846, -0.0141533008, -0.0133219501, -0.0513235889, -0.0017406463, 0.025294492, -0.0574706569, 0.0426031761, 0.0075664311, -0.0292267371, -0.0410811752, 0.0074891779, -0.0040011127, 0.057540603, 0.0215817895, 0.0293075684, 0.0610015988, 0.0011527846, -0.019017376, 0.0559625439, 0.058640182, 0.0404928327, -0.0591836907, -0.0128836697, 0.0187002998, -0.01698667, 0.0111644408, 0.094605796, -0.0344937667, -0.099716492, 0.073551394, 0.0475642346, -0.0666760877, 0.0488722511, -0.0180587228, 0.0023968546, 0.0115181357, 0.018222129, -0.0584070645, -0.0051543713, -0.0533354543, 0.0016525459, 0.0482052267, 0.0037802185, -0.0198667925, 0.0007236531, -0.0311830733, -0.0064441804, 0.0246436354, -0.0116028087, 0.0197669975, -0.0081652785, -0.0481695682, 0.0207953677, 0.0011305747, -0.053596437, -0.0177836791, -0.0817219019, -0.0410987772, 0.0268904977, 0.0946638361, -0.0105046555, 0.0048254253, 0.0094870767, 0.0145250466, 0.0358584523, 0.0010887606, 0.0275155343, 0.0112925051, -0.0121229598, 0.0122709135, -0.0097607784, 0.011769264, 0.0275183748, 0.0205482226, -0.0144705744, 0.001301098, -0.0395681374, -0.0523496047, 0.035838943, 0.0212447625, -0.0083312104, 0.0191190727, -0.0047450475, 0.0277146008, -0.0012409213, -0.0484835804, 0.0444502532, 0.0574426837, -0.0133060766, -0.015165614, -0.0036311033, 0.0036810667, 0.015497284, 0.0416335836, 0.0105345631, 0.0166137796, 0.0678212121, -0.0338457599, -0.0333382152, 0.0766190141, -0.0774169266, 0.0482851118, -0.0170257092, 0.0382247455, -0.0267163981, 0.0681594387, -0.0161026604, 0.0426275283, -0.0316307135, 0.0534114018, 0.0110479333, 0.0691220686, 0.036922507, -0.0193282533, -0.076619193, -0.0164045673, -0.0302041136, 0.014908785, 0.012568227, -0.0191853568, 0.0099561699, -0.0060820547, -0.0411610231, 0.0094914818, -0.0117229568, 0.0747287348, -0.0076217926, 0.0298058763, -0.0091187395, -0.0116759865, 0.013803158, -0.0098857656, -0.0478293225, 0.041745197, 0.0273600072, -0.0059555741, -0.0577663705, -0.0200117119, -0.0292900242, 0.0111890668, 0.0658267066, -0.0275860578, 0.0180106927, -0.0055783838, -0.0388602614, -0.0035256322, 0.0418955423, -0.0012023562, -0.0700389221, 0.0089258412, 0.0031554631, 0.0096203284, 0.0638175085, 0.0298888944, 0.0361773632, 0.0073873107, 0.0138036916, -0.0276079308, 0.0003531009, 0.009508932, 0.0433337465, -0.0307810977, -0.0002189028, 0.0215074569, 0.108819522, -0.0042572794, -0.033404991, -0.0267582238, 0.0054183472, 0.0136666251, -0.0033722962, -0.0116630187, -0.0232401472, -0.0448626019, -0.0431783497, -0.0114397062, -0.0626693591, 0.0655316263, -0.0841991827, -0.0141554652, 0.0033297341, -0.0072448924, 0.0130626177, 0.0473102592, 0.0048258915, 0.0194283873, -0.0415394902, -0.0218778774, -0.0092764543, -0.0134609891, 0.0253119469, -0.0339407213, 0.0339418575, -0.0233111344, 0.0364701413, -0.0194211975, -0.0348394662, -0.0312896259, -0.0403238162, -0.0074458886, 0.0222415011, 0.0306668505, -0.0607890375, -0.0303072333, 0.0009976649, 0.0066135465, 0.0453524552, -0.0140279559, 0.0227683149, -0.0048101465, 0.0012505904, 0.0352851711, -0.0584656, 0.0028298085, 0.0034990485, 0.0362383164, 0.091070272, 0.0635830313, 0.0226056073, -0.0296639632, -0.002405399, 0.0284531601, -0.0184239298, 0.0126660019, 0.0170510076, 0.0121143293, -0.0444496199, -0.0307450444, 0.0547673441, 0.0186282918, 0.0137897972, 0.05329898, -0.0069061113, 0.0634963438, 0.0038963193, 0.0244470853, -0.0618309565, -0.0258957371, 0.0320432112, 0.0524444915, -0.0319901891, -0.0449932888, -0.0062706573, -0.1076024696, 0.0036311406, -0.0176023562, -0.0416907296, 0.0130940555, -0.0585565381, -0.012031585, 0.0259354543, 0.0536765978, 0.0057509439, 0.0225116201, -0.0081001325, 0.0340750217, -0.0226104911, -0.0444081873, 0.012578235, -0.0290419571, 0.0543916076, 0.0564731248, 0.0022391253, -0.0237346403, -0.0441735238, 0.1068510264, -0.0136631774, -0.0318384245, -0.0071019526, 0.0154068908, 0.0061630947, -0.0387893543, 0.0048015565, 0.0060685761, 0.0153432395, -0.0002017299, -0.0155680347, 0.0359681472, -0.0041484428, -0.0019869427, -0.0309605636, -0.0392213836, -0.0081857964, 0.0742704645, 0.0343318842, -0.0401489586, -0.045727212, -0.0709214509, -0.0340689197, -0.0749603435, -0.0358911529, 0.0042209988, 0.0004395122, -0.0492545255, -0.0467662886, 0.034114752, -0.0374586061, 0.0289330482, 0.009539796, 0.0066934591, 0.001501598, 0.0105057694, -0.0436536558, -0.0267528072, -0.0356059596, 0.066061236, -0.0591872409, 0.0120846219, 0.0358133949, 0.0309270155, -0.034396857, -0.0309496336, -0.0757637694, -0.1130176857, -0.0061879028, 0.0512500405, 0.0282406639, 0.0013709883, -0.023927236, -0.065169774, 0.0861425176, 0.0340234376, -0.0331578106, 0.0220075995, 0.0566492304, -0.0916980281, 0.0186838172, 0.0314003862, -0.0367505029, -0.0236804318, 0.0346101597, 0.0313453414, 0.0085442811, 0.0321675166, -0.0184363872, 0.0417071357, 0.0170472246, -0.017343156, -0.0139434589, 0.028859064, 0.0466698147, -0.0498107299, -0.0073181684, -0.0308962055, -0.003540498, -0.0153189693, 0.0082588801, -0.0149976863, -0.0009791834, -0.0100327386, -0.0060091596, 0.0184948761, 0.0259814318, -0.0376398042, 0.0249920636, 0.0694979727, -0.0074949246, -0.0211973321, -0.0045019211, -0.0047965311, 0.026956154, -0.038182687, -0.0279572848, 0.0362604298, 0.0190669354, 0.0004378223, 0.0242697354, -0.0431215465, -0.0152345179, -0.0128625445, 0.0439947471, 0.0011785536, 0.023216242, 0.0136247929, -0.0198520906, 0.0026931632, -0.0358730592, -0.0313789956, -0.0141218882, -0.0598947555, 0.0125035597, 0.0238417406, -0.0082888808, 0.0351957157, 0.0757138655, 0.0214752983, 0.0410522036, 0.022305008, -0.0043931794, -0.0255922563, -0.0505531318, 0.0213844329, 0.0177353658, -0.0476533063, -0.0264796689, -0.057022091, -0.0803877786, -0.0398538299, 0.025220288, 0.0476822406, 0.0050177095, -0.0139412964, 0.0607331991, 0.0259274505, 0.0416290388, -0.0648356974, 0.0337495469, 0.006721572, -0.0385323316, 0.0507518202, -6.939956282e-33, 0.0223939754, -0.0204524733, -0.0334136114, -0.0076325433, -0.0122970361, 0.041187834, -0.0496796332, 0.010211397, -0.0146784857, -0.0224081315, -0.0137848975, 0.0149331, 0.0098508373, 0.0560533106, -0.051961273, -0.0010395644, 0.0281624068, 0.0029566716, -0.0334850661, 0.0013215103, 0.0129399076, 0.0001119246, -0.0123046245, 0.0000941899, 0.0327107199, -0.0365850404, -0.015783567, -0.0182287283, 0.0215029716, 0.0319180414, -0.020877596, 0.0168517474, -0.0059605259, -0.0128238043, -0.0034067051, 0.0089638988, -0.0426529646, -0.0157637708, 0.0360096619, 0.0241249818, -0.0139184641, -0.0184370484, 0.0432314165, 0.0183563996, 0.0089295628, 0.0213403162, -0.0313025452, -0.0068029603, -0.0592051297, 0.0259381793, -0.010570162, 0.0340106301, -0.0015621141, 0.0009797772, 0.0049989792, -0.035477899, 0.0273706187, 0.0162888896, -0.0574270114, 0.0008420604, 0.0014135396, 0.0322836675, 0.041513361, 0.0205054805, 0.0131208058, 0.0630740598, 0.0143800098, -0.0010574982, 0.0129515082, 0.0309846289, 0.0514581464, 0.0061663603, 0.0368818417, 0.0139645329, 0.0861349702, -0.033908613, -0.0734737366, 0.0024268441, 0.0530979149, 0.0343467928, 0.0682980418, -0.0100266766, -0.050040435, -0.0201541986, -0.0161682162, -0.0075999717, -0.0301096514, -0.0388560556, 0.0122260787, 0.0299171284, -0.0525621623, -0.0172439218, 0.0100830896, -0.0438307449, -0.0235357415, 0.0081824623, -0.0057186, -0.0223961268, -0.0068045286, 0.0344469734, 0.0141143259, -0.0441605709, -0.0201274417, -0.0584783405, 0.0254398659, -0.0171071459, 0.0420978963, 0.0371388122, -0.0615437776, -0.0237225257, -0.0337441713, 0.034384191, 0.0155283501, 0.0637555867, 0.0352494009, -0.0104737701, 0.0057910038, -0.0048856908, -0.0018533316, 0.0337882303, -0.0339855403, 0.0229940005, 0.0009939354, 0.0232799165, -0.0067243469, -0.0285307392, -0.0182968117, 0.0527724847, 0.0151260234, -0.082308501, -0.0282466616, -0.0089819469, 3.198e-7, 0.0158222951, 0.0281085838, 0.0565394498, -0.0015605442, 0.0249493234, 0.0538807698, -0.0249537192, 0.0480372421, -0.043888215, 0.0106162783, -0.0583713427, -0.0232101772, 0.0440681092, 0.0048995465, -0.0849670097, -0.0006240224, -0.0666785315, -0.0004396382, -0.0367658399, -0.0141877569, -0.0180046428, 0.0953007117, 0.0135346502, -0.0199258998, -0.0020498619, -0.0986095443, 0.0060225185, 0.0078691039, 0.0124180233, -0.0347345471, 0.0273986813, 0.0480566733, 0.0175883602, 0.0235708468, -0.0422008932, 0.0272029079, -0.0091287391, 0.0367822275, 0.0086686024, -0.0243391078, 0.0011233976, -0.0797718689, -0.0186198503, -0.0218699276, 0.0734151825, 0.0228620823, -0.047639668, -0.0063515715, 0.0168994758, -0.0133640934, 0.0189498235, -0.0227121841, -0.0246134624, 0.0171754826, 0.0367676318, -0.0383609012, 0.0283307042, -0.0705466047, -0.0286716167, -0.0453668833, -0.0338285975, -0.0456380099, -0.0460442044, 0.0131041817, 0.0180411227, -0.0294843987, 0.0070321839, 3.512389059e-34, 0.0548175536, -0.0544901565, 0.000081458, 0.0413264334, 0.015522439, 0.0121745206, 0.043708384, 0.0052906289, -0.0082152151, -0.0573250689, -0.0636993125 ]
http://arxiv.org/abs/2312.10101v1
http://arxiv.org/pdf/2312.10101v1
A Review of Repository Level Prompting for LLMs
2023-12-15T00:34:52
2023-12-15T00:34:52
Douglas Schonholtz
cs.SE
cs.SE, cs.CL
As coding challenges become more complex, recent advancements in Large Language Models (LLMs) have led to notable successes, such as achieving a 94.6\% solve rate on the HumanEval benchmark. Concurrently, there is an increasing commercial push for repository-level inline code completion tools, such as GitHub Copilot and Tab Nine, aimed at enhancing developer productivity. This paper delves into the transition from individual coding problems to repository-scale solutions, presenting a thorough review of the current literature on effective LLM prompting for code generation at the repository level. We examine approaches that will work with black-box LLMs such that they will be useful and applicable to commercial use cases, and their applicability in interpreting code at a repository scale. We juxtapose the Repository-Level Prompt Generation technique with RepoCoder, an iterative retrieval and generation method, to highlight the trade-offs inherent in each approach and to establish best practices for their application in cutting-edge coding benchmarks. The interplay between iterative refinement of prompts and the development of advanced retrieval systems forms the core of our discussion, offering a pathway to significantly improve LLM performance in code generation tasks. Insights from this study not only guide the application of these methods but also chart a course for future research to integrate such techniques into broader software engineering contexts.
[ 0.0165846981, 0.0836853385, -0.0352336317, -0.0018210136, -0.045316726, -0.0218023434, -0.0123586105, 0.030557923, 0.0107511524, -0.0053606411, 0.0011787658, 0.026183255, 0.0030836957, -0.0102084437, 0.0004864131, 0.002808175, 0.0216260646, -0.0465644449, -0.0132690473, 0.0019959542, -0.019485496, 0.0044086371, 0.0002385423, 0.0532264076, 0.0162540078, -0.030452488, 0.0063029868, 0.0378690027, -0.0546664931, -0.016575262, 0.0236689746, 0.0328415297, -0.0210965686, 0.0114866532, 0.0000024514, -0.0593730919, -0.0320162401, 0.0161878578, -0.0398808308, 0.0359468758, -0.0391265042, 0.0148314107, 0.0047706575, 0.0123577146, -0.0368491895, 0.0140033327, 0.008509323, -0.0461270809, 0.033680696, 0.0061565191, 0.0344386809, 0.0375314876, -0.0036339478, 0.0126266358, 0.0626702979, -0.0025722252, -0.0285095498, 0.0448338352, 0.0721760243, 0.0461948179, 0.0225691739, 0.0293490123, 0.0286001805, 0.0066769398, 0.0456749164, 0.0464015342, -0.0136391241, -0.0357933715, -0.0148977693, 0.0112643717, 0.0071995482, -0.0034986541, 0.0108361002, -0.0041968287, -0.0309693813, 0.0105442405, -0.0565383695, 0.0272358097, -0.0106876157, -0.0134873129, -0.031480398, -0.0569148399, 0.0013671523, 0.0070587671, -0.037195541, 0.0488121435, 0.0062504401, -0.0006940122, 0.0131740663, -0.0227557328, -0.0115902759, -0.0440093242, -0.0056347284, 0.0708251372, -0.0362974107, -0.0136154424, 0.0259618424, -0.029177757, 0.0853149295, -0.0220571794, 0.011646552, 0.0462451205, -0.0612194613, 0.0001089438, -0.0170311555, 0.0984032974, -0.0301150717, 0.0023950548, 0.0022740406, 0.0314174406, -0.0135091078, -0.0144923544, -0.0704307184, 0.0278628711, -0.0090953493, 0.0480448455, -0.005908946, 0.052941151, 0.0254517011, 0.0787399188, -0.0268919244, -0.0421279743, -0.0240011457, 0.0078397123, 0.0416929349, -0.0305295195, -0.0205585416, -0.041044347, -0.0024743734, -0.0648740306, -0.0191602707, -0.0063687931, -0.0505196266, -0.0301377177, 0.0133158518, 0.0387481786, 0.029231919, 0.0038237227, -0.0157702137, -0.0504625924, -0.0006811515, -0.0121696927, -0.0155850518, -0.0904204175, -0.0489881784, 0.0557025075, -0.0158150028, -0.1102353036, -0.0187437721, 0.0016594995, 0.0487038605, -0.0145099564, -0.0615955181, 0.0532124974, 0.0395288989, 0.035997197, -0.0553553812, 0.0353798047, 0.0125949271, 0.0291436836, 0.0166157577, -0.0380925015, 0.0576521344, 0.0232712794, -0.0006433133, 0.0042810384, 0.014182792, 0.0490492098, 0.0792455748, -0.0302573368, -0.0058060098, 0.0280667003, -0.0050337557, 0.0404906049, 0.0076878653, 0.0389866643, 0.0384390838, -0.0173146762, 0.0194723308, 0.0658656359, -0.009181736, -0.0002474692, -0.0386198834, 0.0508901961, -0.0129557159, -0.0058421623, -0.0168489851, 0.041460935, -0.0009514294, -0.0399240106, -0.0064786901, 0.0161072668, -0.0713217705, 0.0301923398, 0.0420846082, 0.000365694, -0.0073541016, 0.0401806384, 0.0193454064, -0.0777673945, -0.0209065937, -0.0310835149, 0.0804578513, 0.0607160367, 0.0751789138, -0.0466646776, -0.032026276, -0.0044176248, 0.020455569, -0.0243169963, 0.0230140742, -0.0079428013, -0.0205299351, -0.0432458594, -0.0405947827, -0.039176356, -0.0125540923, 0.0250105709, 0.019842077, -0.0515311807, 0.0293720774, -0.0070936494, -0.0343718491, 0.0332311876, -0.023242645, 0.0061190585, 0.0171890706, 0.0173420552, 0.0001301964, -0.0085052932, -0.0212510601, 0.0121666994, 0.0581540838, -0.0123201981, -0.0346346945, -0.0343041383, 0.0287714526, 0.0194890834, 0.013587093, 0.006101293, -0.0030414052, -0.0471399203, -0.0242159665, 0.0180521756, 0.0190924257, -0.0119389072, 0.0259525925, 0.0106240576, 0.0252944957, -0.0611932129, -0.027518237, -0.0327319726, 0.0215659756, 0.0037260314, 0.0300953034, 0.0461751074, 0.0605500825, 0.0241568182, -0.0148547497, -0.0397853404, 0.0246975515, -0.021181101, 0.0373342521, 0.0322409496, 0.0647784397, 0.0045004725, -0.082384333, -0.0487179197, 0.0280119218, -0.0246875565, 0.0049670781, -0.0196738355, 0.0641638562, -0.0203433633, -0.001476423, 0.0236518774, -0.0050652577, 0.0099165868, 0.0361615047, 0.0107820118, -0.0033160907, -0.07876461, -0.0090776486, -0.0117072696, -0.0034761992, 0.0232871678, -0.0088021765, -0.024271125, -0.0747541785, 0.061292626, 0.0145791825, -0.0174429752, -0.0314147957, 0.0021243796, 0.0457423963, -0.0382674485, 0.110687077, 0.003957483, -0.0274071675, 0.007105743, 0.0489353202, -0.0152081046, -0.0893959999, 0.0061941654, 0.0223572925, -0.1013457328, 0.0124852061, -0.0524210483, 0.0541337579, 0.0334475301, -0.0173390731, -0.0165976714, -0.0424023382, -0.0171816945, -0.0071299225, 0.0129123824, 0.0238456558, -0.0258572884, 0.0139842043, 0.0902915224, 0.0009171344, -0.1133405343, 0.0275559165, -0.0706570148, -0.0208629519, 0.0018640877, -0.0308181792, -0.081816785, 0.0651258752, -0.0137022324, -0.0161777511, -0.0128153693, -0.0239672698, -0.0077165486, 0.0210549459, -0.029231308, -0.029107444, 0.0722206011, -0.0187832955, 0.015841512, 0.0024275049, -0.0253260043, -0.0284358319, -0.0046390081, -0.0132557852, -0.036965102, -0.020459475, 0.0374751016, 0.0522710085, 0.0216445439, 0.0323559605, 0.0304300729, 0.0389488302, -0.037549451, -0.0231752824, -0.0637759119, -0.0438586399, -0.0406874306, -0.0207186919, -0.0014505493, 0.0018962914, 0.019729957, 0.0866755098, 0.0362984389, -0.0448085628, -0.0145911006, 0.0668746009, -0.0238794349, -0.0441063046, 0.0630758628, 0.0206409227, -0.0345271565, -0.0268306099, 0.0679917559, 0.0335190296, -0.0715200678, 0.0091118393, -0.0377554372, 0.0816531628, 0.0786056519, 0.0518614426, -0.0960592255, 0.004678098, 0.0093274917, 0.0436834581, -0.0063651381, 0.0065977466, -0.0301319994, -0.0675164387, 0.0548676997, 0.0004950256, 0.0158145763, -0.0051502176, -0.0436056703, 0.0079957424, 0.0420180075, -0.0416272394, 0.0794788972, -0.0023783154, 0.0282665472, -0.0106429011, -0.0122969598, 0.0510994419, 0.0174573101, -0.0226527508, -0.0230772346, 0.094395116, -0.0206529647, 0.0377079993, 0.0208218154, 0.0166606624, -0.0113779223, 0.0031413019, -0.0483411439, 0.029984951, 0.0194198657, 0.0085402727, 0.0257937983, -0.0218424518, -0.0485908277, -0.043190226, 0.0482586436, 0.0475105084, -0.0472046696, 0.0096395975, -0.0234920997, 0.0026353353, 0.0080294851, 0.0349430628, 0.0487029441, -0.0146901626, -0.0099721579, -0.0513840914, 0.024205029, -0.0202395488, 0.0313926972, -0.0083939657, 0.0179609507, 0.0087829046, -0.0139627149, 0.0207238346, 0.0282078106, 0.0512040295, 0.0519629084, -0.0202730149, 0.006088966, -0.0213289205, -0.0379536003, 0.0270317718, -0.0216333326, -0.0034580021, -0.0703947321, -0.0222122949, 0.0193563215, -0.0454184785, -0.0015864831, -0.0000155047, -0.0439580977, -0.0442217104, -0.0369346701, 0.040546868, 0.0269815531, -0.0210896414, -0.0276056603, -0.0607810728, -0.0216545817, 0.0137587823, -0.0485401452, 0.0389719382, -0.0104786735, 0.0123075023, 0.0111497222, -0.0108110514, -0.1026146337, -0.0214193575, -0.0204548202, 0.0210433174, 0.0138463005, -0.0377458632, 0.0535787642, 0.0407669991, -0.0080851056, 0.023947943, -0.0055574086, -0.0124658188, 0.0093476307, 0.0155807929, -0.0247929599, -0.0483389273, 0.0111739784, -0.0243326016, -0.0538297184, 0.0538505614, 0.0141062876, -0.0511625595, 0.100351423, -0.0327126309, 0.030364899, -0.0293494556, 0.0188997183, 0.0863339156, -0.0024597619, -0.0147712957, 0.0374101289, -0.0140313832, 0.0221868493, -0.0052692671, 0.0669312552, 0.0178956445, 0.0339839906, 0.0183628723, -0.0257519055, -0.0474826023, -0.1071307212, 0.0341662243, 0.023348555, 0.010091532, 0.0673073381, 0.0257679522, -0.0128644239, 0.0123322802, -0.0222515594, 0.0310990103, 0.0072151371, -0.0520577841, 0.0131442249, 0.0112588266, -0.0025213396, -0.055995699, 0.0858234763, -0.0372992866, 0.0096734399, -0.0464921184, -0.0148048019, -0.0222318694, -0.0214131158, 0.0434142351, -0.043136429, -0.0218422767, -0.0454068258, -0.0690074489, -0.0050489567, 0.0441290364, -0.0100184623, -0.0438398533, -0.0205433853, 0.0124921799, 0.1092687622, 0.0100801997, -0.0718355551, 0.0105498349, 0.0176099837, -0.046555493, -0.0390274078, -0.0322570093, -5.881719697e-33, -0.0446582101, -0.0436899289, 0.0439842381, 0.0442884639, 0.0325528421, -0.0251724776, -0.0471498743, -0.0060418793, 0.029660698, -0.0707344934, 0.0154368738, -0.0061954209, -0.010480212, -0.0389035083, 0.0609082095, 0.0374179967, 0.0469982959, 0.0343939513, -0.0712777749, 0.0367142558, -0.030615706, 0.0315593481, -0.0305827055, 0.002227837, -0.0112289349, -0.0100460565, 0.054705672, 0.0074474197, 0.0224192236, 0.0219211485, 0.0037431181, 0.0117346402, -0.0189523436, -0.0068299007, -0.0316329338, -0.0068849688, -0.018460447, -0.0277290549, 0.0091628097, -0.0017474783, 0.0267238766, -0.0680516586, 0.048027277, 0.0054495139, -0.028595455, 0.0388055071, -0.009775701, 0.0187201221, -0.0109071042, -0.0079478174, -0.0174347013, 0.0350810699, -0.0394045189, 0.0028490601, -0.0016582289, 0.0617450401, 0.0279603694, 0.07509204, 0.0486360192, 0.0121093104, -0.0047402065, 0.044972606, 0.0505831204, -0.0214564092, -0.0117601091, -0.0120473867, 0.0071722255, 0.0140238637, -0.0118900547, -0.0118599273, 0.0143592842, 0.0442667492, 0.0075949519, -0.0066856113, -0.0170633346, -0.0212864671, -0.0165760629, 0.0372027978, -0.0079980884, 0.0278236698, 0.0406417362, 0.0209745429, -0.0484885536, -0.0094856499, -0.0355095528, -0.0058229114, -0.0176748466, -0.052964963, 0.0376511887, -0.0104498491, -0.012529769, -0.00614441, 0.0108241318, 0.0109687643, -0.0101973442, 0.0425238796, -0.0567920245, 0.0309782643, -0.0181386806, 0.0454481877, 0.0088778613, -0.008549355, 0.0027401315, 0.0037597823, 0.0590525232, 0.0344543569, 0.005611911, 0.0089768581, -0.0641773343, 0.0019656571, -0.0637150407, 0.007715391, -0.025145052, -0.0092698699, -0.0029994773, 0.0046405103, 0.0338679813, 0.0457809307, -0.0119077666, -0.0385036394, -0.0563119277, 0.0354056731, 0.0287604406, -0.0027136086, -0.0068384469, -0.0145458905, -0.0197148416, 0.0709888712, 0.0369476117, -0.0043701637, -0.0530908033, 0.0075273504, 3.207e-7, -0.0057828715, 0.0432297587, 0.0156526603, 0.0266599637, -0.0309131872, -0.0085428646, -0.0365007445, -0.0573053323, 0.022181889, -0.0283446647, -0.0356428437, 0.0326025635, 0.038441062, 0.0323946103, -0.033090543, -0.0195314158, 0.0046703201, -0.0010755318, -0.0904058293, -0.0042191572, 0.0452897362, -0.0195782464, -0.0108478721, -0.0187969003, -0.0078350352, -0.0441816486, 0.0120120179, -0.0287540238, 0.0227923188, 0.0724691078, -0.049772609, 0.0087830853, 0.0076344805, -0.0314712115, 0.0104941763, -0.029723648, -0.0037278347, 0.0545355491, 0.0303548425, 0.0191232413, 0.0319251344, -0.0170489643, -0.0326104052, -0.0533454493, 0.0282422882, -0.0033783151, 0.0033985926, -0.0165734459, -0.0158051234, -0.0583957769, -0.0043909024, -0.0400642529, 0.0155972084, 0.0147498855, -0.024018487, -0.0142419524, -0.0436085686, -0.0170459673, -0.0259633474, -0.000332302, -0.0300346483, -0.0490995012, -0.05375617, 0.0494703501, -0.0223128926, -0.0181228053, 0.050259348, 3.312279742e-34, 0.0223169699, -0.0431742258, 0.0193457566, 0.0436306521, 0.0379102677, -0.0180079304, -0.0338917449, 0.0182481892, -0.0227220822, -0.0436868407, -0.0262980592 ]
http://arxiv.org/abs/2312.09411v1
http://arxiv.org/pdf/2312.09411v1
OTOv3: Automatic Architecture-Agnostic Neural Network Training and Compression from Structured Pruning to Erasing Operators
2023-12-15T00:22:55
2023-12-15T00:22:55
Tianyi Chen, Tianyu Ding, Zhihui Zhu, Zeyu Chen, HsiangTao Wu, Ilya Zharkov, Luming Liang
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Compressing a predefined deep neural network (DNN) into a compact sub-network with competitive performance is crucial in the efficient machine learning realm. This topic spans various techniques, from structured pruning to neural architecture search, encompassing both pruning and erasing operators perspectives. Despite advancements, existing methods suffers from complex, multi-stage processes that demand substantial engineering and domain knowledge, limiting their broader applications. We introduce the third-generation Only-Train-Once (OTOv3), which first automatically trains and compresses a general DNN through pruning and erasing operations, creating a compact and competitive sub-network without the need of fine-tuning. OTOv3 simplifies and automates the training and compression process, minimizes the engineering efforts required from users. It offers key technological advancements: (i) automatic search space construction for general DNNs based on dependency graph analysis; (ii) Dual Half-Space Projected Gradient (DHSPG) and its enhanced version with hierarchical search (H2SPG) to reliably solve (hierarchical) structured sparsity problems and ensure sub-network validity; and (iii) automated sub-network construction using solutions from DHSPG/H2SPG and dependency graphs. Our empirical results demonstrate the efficacy of OTOv3 across various benchmarks in structured pruning and neural architecture search. OTOv3 produces sub-networks that match or exceed the state-of-the-arts. The source code will be available at https://github.com/tianyic/only_train_once.
[ -0.0251843501, 0.1158535928, 0.0083548678, 0.0489709862, -0.0225445535, -0.0363734774, 0.0171451271, 0.0336136818, -0.0369780548, 0.0474874191, -0.0302518383, -0.0143290944, 0.001472645, 0.0266131219, 0.0058223321, -0.0218358021, 0.0223570634, 0.0524530038, -0.0069615431, -0.024369251, 0.010446839, 0.0079023968, -0.0073887235, 0.0131410277, -0.0575665943, -0.0049712025, -0.0336354971, 0.0494519882, -0.0057965782, -0.0086590936, 0.0630951524, 0.0058558057, 0.0143321548, 0.0032038321, 0.0000027119, 0.0400133692, 0.002845, -0.0110369064, -0.0516528226, 0.0476706922, 0.0161617156, 0.0231437702, -0.0046969154, -0.0222198684, -0.0167482272, -0.088117525, 0.020589456, 0.0776591301, 0.0801626071, 0.0649133027, 0.0013552778, -0.0395885482, 0.0019437411, -0.049581226, -0.0633031577, -0.0200503524, -0.006028112, -0.0335554406, -0.0613138601, -0.0198585074, 0.0236961301, 0.0019187168, 0.067947641, 0.0541776009, 0.0397655107, 0.0028576211, -0.0618044101, -0.0233912095, 0.0339568853, 0.051922176, -0.0427670591, -0.0165105574, 0.0101391738, -0.0591223836, -0.0321158692, -0.0961904898, 0.0008848082, -0.030949736, 0.0199990477, 0.0245103259, -0.0873280317, 0.0030745142, 0.0429194644, -0.010875673, -0.0171780586, 0.0574968308, 0.0077815191, 0.036399886, 0.0023674516, -0.0154309282, -0.0055708014, -0.0421445407, -0.0153388791, -0.0139525812, -0.0280441809, -0.0207076278, -0.0516817085, -0.0142573342, -0.0104784183, 0.0185786001, 0.0474816188, 0.0253128204, -0.0075758477, 0.008634327, -0.0594749823, -0.0023478023, -0.0358625129, -0.0202267654, -0.0371548012, 0.0077169696, 0.0095765833, 0.0041608959, -0.0310429707, 0.065673545, -0.0256975386, -0.0112506133, -0.0320979729, -0.0328698643, -0.0556683391, -0.0295881014, -0.0034079689, 0.0533277616, -0.0000926566, -0.0119130509, 0.0051667769, 0.02675955, -0.0237687286, 0.0285752732, -0.0207860526, -0.0263659023, -0.0270069018, 0.0558731332, -0.0079624597, 0.0108573344, 0.0377113298, 0.0640841499, -0.033397086, -0.0490260236, -0.0597412139, -0.0331674069, 0.0341728963, -0.0427127555, 0.0648889393, -0.0418722779, 0.031357903, -0.0677904412, 0.0025731898, -0.0922237411, 0.0097923856, 0.0164126027, -0.0243772659, 0.0182634983, -0.0332782939, -0.0360924862, 0.0133163761, 0.0189132895, 0.0076263859, 0.0612490363, 0.0275660604, 0.0638128221, -0.0224335566, -0.0165644679, -0.0813323483, 0.0385179296, 0.0676312, -0.0303856749, -0.0089893434, -0.0183692612, -0.0546852835, 0.0261245929, 0.0437942073, 0.0379823036, -0.0418274924, -0.0281207487, -0.0115727, 0.0010424805, 0.0377814546, 0.0691609085, 0.0152174048, 0.0069843912, -0.01478591, 0.0036782061, -0.028756313, 0.0320461355, 0.026008701, -0.0160073731, -0.0474859849, 0.0131537756, -0.0473346263, -0.0394834094, -0.0020724935, -0.0103926202, -0.0166001823, 0.0083156507, 0.0360169262, 0.0255767629, -0.0594762824, 0.1009397209, 0.0227147825, -0.0579247922, 0.0050299196, -0.0461010896, -0.0433532, -0.0082682595, 0.0169358663, -0.0181397591, -0.0129794711, 0.0657681078, 0.0285466928, -0.0360153839, -0.0058717569, 0.0124878781, 0.0554842278, -0.0557927899, -0.0323975869, -0.0106377071, 0.0036832776, 0.01965384, 0.0260335337, -0.0137680033, 0.0091078794, 0.0276489053, -0.0037026678, 0.0386402607, -0.015940588, 0.005275202, 0.0889806449, 0.0281465948, 0.0214537643, 0.0059256298, -0.0243352056, -0.0401946977, 0.0725120157, -0.0467124805, -0.033383444, -0.0775805041, -0.0818358809, -0.0214215238, 0.0228500441, -0.0473115742, 0.0251742117, 0.0750501454, -0.0412278771, -0.0301108398, 0.0091306958, -0.0354681797, 0.0580223128, -0.0280384347, -0.0309969597, -0.002599847, 0.0266360119, 0.0374558419, 0.0174559336, -0.0255074985, -0.0302480645, 0.0112834638, -0.0470909923, 0.0290794931, -0.0096748276, -0.0357945114, -0.0500357524, -0.0537082702, 0.0083944947, 0.0242127124, 0.0037629171, 0.0046256771, 0.0185275059, -0.0296572912, 0.0356126577, -0.055446025, 0.0064786612, 0.0048980215, 0.0224885717, 0.0318799317, -0.0300340857, -0.0135709979, 0.0700916201, -0.030998677, -0.0279398058, 0.0214440878, -0.0372720733, -0.0332405865, 0.0002447472, -0.0594682582, 0.0309526827, 0.0012909512, -0.0417975709, -0.0144853005, 0.0188312866, 0.0719438791, 0.0071157115, 0.0328975022, -0.0262716431, -0.0212918874, -0.0095056389, -0.0051855827, -0.0657720342, 0.0745327324, -0.011478696, 0.0094429888, 0.0429430716, 0.0492323786, -0.006019304, 0.0284923799, -0.0005775451, 0.0459877923, 0.0159714241, -0.008162356, -0.0472552963, 0.044215519, 0.0086028064, 0.0102240536, -0.0399622694, -0.0518052801, 0.01941902, -0.0555462874, -0.0129839303, -0.0048071421, 0.0139694568, -0.0138701443, -0.0218380634, -0.025939595, 0.02031691, -0.0269609522, -0.015687976, 0.0315781944, -0.0323288441, -0.0174086485, 0.0285998899, 0.0704555288, 0.0139268115, -0.0096488716, 0.0072361426, -0.0388407037, -0.0058510513, -0.0064681466, 0.0099227382, 0.003097048, 0.0017173382, 0.0263629667, -0.0188785121, -0.0509000011, -0.0434415229, -0.0009855694, 0.0036166995, 0.0447906069, 0.0186252799, -0.0379000679, -0.0301665924, -0.0195766594, -0.0260879286, 0.0557135716, 0.0135693783, 0.0063867536, -0.0136427516, 0.0306206811, 0.0275072586, -0.0126665952, 0.0324513689, 0.0174743328, -0.0083456598, 0.074249506, 0.0215096399, 0.0166613571, -0.0938699767, -0.0006293555, 0.0011688259, 0.0173476879, -0.0180706028, -0.0087415157, 0.0228713769, -0.0658351183, 0.0288183931, -0.0009755905, -0.0041397447, -0.033280015, 0.0092316354, 0.053135287, 0.0853492618, 0.0249907374, 0.0329632387, -0.068450883, -0.0385951586, 0.0059550102, 0.0302340966, 0.0272642002, -0.00741057, -0.0055769295, -0.0693116337, 0.014100994, 0.0138022071, 0.0228242725, 0.0411873981, -0.0259768609, 0.024672363, -0.0394581184, -0.0336584747, -0.0097220186, 0.003053773, -0.0509705804, -0.0031764235, -0.073327288, -0.0029013893, -0.0027488007, -0.0133659337, -0.0574679114, 0.0216694586, -0.0196399428, -0.0055608386, -0.0389666446, 0.0376515947, 0.0280550197, 0.0091464957, -0.0205950458, 0.042503424, 0.025669314, -0.0179996826, -0.0194249917, 0.0467686914, -0.0422221497, -0.0000391681, -0.0037024401, 0.0512755476, 0.0130242081, -0.0110580167, -0.0339417532, -0.038672246, -0.0079060216, 0.0339568593, 0.0091624092, -0.0122768115, -0.0372105502, 0.030563429, 0.0151531706, -0.0603239015, 0.009753203, 0.0328978673, 0.0007881231, -0.0274960678, 0.0131958108, 0.0249320343, -0.021072397, 0.0329248868, -0.0473197959, -0.0782530904, 0.0090131583, 0.006767944, -0.059268374, 0.0088684736, 0.0123179629, 0.0022760774, -0.0240823198, 0.0184155032, 0.0416721664, -0.0035923594, 0.001402088, 0.00149719, -0.0897635147, -0.024219038, -0.0168884341, 0.0370251797, -0.0075892252, 0.0317344144, 0.0407080725, -0.0062248092, 0.0616902485, 0.0456229597, -0.0278949104, 0.0412980169, 0.052409526, -0.108648926, -0.0267321412, 0.0436020605, -0.0162864327, 0.0481854565, 0.0374610573, 0.025959881, 0.0077239326, 0.0417568274, -0.0054754401, 0.0165379141, 0.0357622616, -0.000830018, -0.0026365879, -0.0147094605, 0.0492890254, 0.0459266268, 0.0189046785, -0.049217172, 0.0272768941, -0.0220742393, 0.024367407, 0.0091613671, 0.00670412, 0.0786873773, 0.002561582, 0.0193967428, -0.0005179958, 0.0194326062, -0.0098919617, 0.0228847153, 0.0290806852, -0.012938831, 0.0214538649, 0.0324356928, 0.0119514987, -0.063979812, -0.0079569882, 0.0183321759, 0.0507339425, -0.0974638462, 0.0080226986, 0.0216460787, -0.0657351241, -0.0438959487, -0.0243979283, 0.0667496026, 0.006768926, -0.0036010088, -0.0082253423, 0.0002332327, -0.0313942432, -0.0058283806, -0.0041416781, -0.0077555599, -0.0011132628, -0.0119131189, -0.0066778683, -0.0022544817, 0.044037506, 0.0230608489, 0.0627185032, -0.0304241832, 0.0336481892, -0.0466146618, -0.044700779, 0.0269582681, 0.0729194507, -0.011675722, -0.0357564874, 0.0042473739, -0.0491393134, -0.0206826776, -0.0082485173, 0.00736685, -0.00514893, 0.0940677598, 0.0362112597, -0.002550185, -0.0388827994, 0.0424199775, -0.07163544, -0.003177702, -0.0196180213, 0.0112612071, -7.303776926e-33, 0.0216422603, 0.021379672, -0.0088255312, -0.045201499, -0.0110622691, 0.0369110405, -0.0198543854, -0.0204667971, -0.038513992, 0.0061638262, -0.0362724103, 0.0112440418, 0.0004003121, 0.042934116, 0.0013157524, 0.0293252412, 0.0793529153, -0.0261513591, -0.0123398229, 0.0283221621, 0.0363425426, 0.0043159993, -0.0169285145, 0.0005473993, -0.0955123976, 0.0012293134, -0.0203385856, 0.01933573, 0.0020676078, -0.0018898261, -0.0287729092, 0.0370493419, 0.0133139323, 0.0123702865, -0.0000125557, 0.0024803926, -0.1057970524, -0.0317464583, -0.0196934957, 0.0054156254, -0.0824569613, -0.001480828, 0.0898369476, 0.0303485636, -0.0224199407, -0.0447906926, 0.0169160366, 0.0238122158, -0.0016618252, -0.018578317, -0.0098455055, 0.0069018286, 0.0172167607, -0.0178493448, 0.0268040299, 0.0087034563, -0.0271726232, -0.011654607, -0.0979496837, -0.006978055, -0.0507175252, 0.0474705845, 0.0534581207, 0.0247465242, 0.0074836286, 0.0546988845, 0.0687273145, 0.0015771058, -0.0098683601, 0.0046884953, 0.0540753677, 0.0424982458, 0.0367667079, -0.0179479998, 0.0659945309, -0.0628023967, -0.1169391274, -0.0247734729, 0.0128084561, 0.0506713502, -0.040512871, 0.043889109, 0.025764605, -0.0169828888, 0.0096120825, -0.0522729009, -0.0222175047, -0.0506107546, 0.004365277, 0.0632645935, -0.021290591, 0.0044252481, 0.0104189208, -0.03722433, 0.0672807097, 0.0289501976, -0.0144235557, 0.0171167273, 0.0398754217, 0.027565917, -0.0519090071, -0.0057184179, -0.0381840579, -0.0184003264, 0.0376159735, -0.0009915065, 0.0288127456, 0.0430231132, -0.0099143321, -0.0090693776, -0.0312275067, 0.0103456676, 0.0298263617, 0.0685965046, 0.0335602574, 0.0157484002, 0.0135062886, 0.0467237011, -0.0034644825, 0.0227865037, -0.0451456234, 0.0364514701, 0.0335839577, 0.0397645123, -0.0076809856, 0.0040428299, -0.0513434559, 0.0073712063, 0.0241052583, -0.0912556052, -0.0184105746, 0.0368557908, 3.285e-7, -0.0275418758, -0.0167378653, -0.0062520769, -0.0305939484, -0.0003095733, 0.0077509298, 0.0185457207, -0.0074754786, -0.1079129502, -0.0094175143, 0.0385933705, 0.0339026228, 0.0357484818, 0.0141387405, -0.0708265677, 0.0277921055, -0.0422410704, -0.0052616014, -0.0227553938, -0.0337032489, 0.0014804779, 0.0783041492, 0.0265418682, -0.0355891138, 0.0096095866, 0.038736023, -0.0065420931, 0.0455061793, 0.0508356802, 0.0159399807, -0.0138514899, 0.0034162274, -0.0600397959, -0.0001267955, -0.0035531416, 0.0299202669, 0.0113107385, 0.0691392124, 0.0290282778, -0.0299165137, 0.0435039178, 0.0453433581, -0.0081699695, 0.0121234525, 0.0690149441, -0.0180208124, -0.0049644839, -0.0186296012, -0.0225812905, 0.0154655846, 0.0093280179, 0.0188640114, 0.0263308454, 0.0209168978, -0.008852669, -0.0160081964, -0.0380966365, -0.061871063, 0.0503536053, 0.0070744082, -0.0683083311, -0.0071256408, -0.0487591177, 0.0213593505, 0.0617052205, 0.0127264066, -0.0129774502, 2.756662134e-34, -0.0016051683, -0.0439389646, -0.0229036845, 0.0109247882, -0.0005167811, -0.0120510198, -0.0400102101, -0.0059116981, -0.0381040983, -0.0208183993, -0.0335375965 ]
http://arxiv.org/abs/2312.09390v1
http://arxiv.org/pdf/2312.09390v1
Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervision
2023-12-14T23:07:33
2023-12-14T23:07:33
Collin Burns, Pavel Izmailov, Jan Hendrik Kirchner, Bowen Baker, Leo Gao, Leopold Aschenbrenner, Yining Chen, Adrien Ecoffet, Manas Joglekar, Jan Leike, Ilya Sutskever, Jeff Wu
cs.CL
cs.CL
Widely used alignment techniques, such as reinforcement learning from human feedback (RLHF), rely on the ability of humans to supervise model behavior - for example, to evaluate whether a model faithfully followed instructions or generated safe outputs. However, future superhuman models will behave in complex ways too difficult for humans to reliably evaluate; humans will only be able to weakly supervise superhuman models. We study an analogy to this problem: can weak model supervision elicit the full capabilities of a much stronger model? We test this using a range of pretrained language models in the GPT-4 family on natural language processing (NLP), chess, and reward modeling tasks. We find that when we naively finetune strong pretrained models on labels generated by a weak model, they consistently perform better than their weak supervisors, a phenomenon we call weak-to-strong generalization. However, we are still far from recovering the full capabilities of strong models with naive finetuning alone, suggesting that techniques like RLHF may scale poorly to superhuman models without further work. We find that simple methods can often significantly improve weak-to-strong generalization: for example, when finetuning GPT-4 with a GPT-2-level supervisor and an auxiliary confidence loss, we can recover close to GPT-3.5-level performance on NLP tasks. Our results suggest that it is feasible to make empirical progress today on a fundamental challenge of aligning superhuman models.
[ 0.0297367033, 0.0817688704, -0.0061675841, 0.003395197, 0.0007810052, 0.0317060351, -0.0337581187, -0.0109842103, -0.0392716415, 0.0179948602, -0.0747282505, -0.018191915, -0.0199221745, -0.0102082677, 0.0429926366, -0.0687123984, 0.05033122, -0.0201354083, 0.0269574169, -0.0023650457, 0.0133368336, -0.0280648824, 0.0081726769, 0.0339143686, -0.0062992685, -0.0013480989, -0.0033032487, -0.0087452773, 0.0155714797, -0.0367853865, 0.01572855, 0.0421123952, 0.0309212506, 0.0495130047, 0.0000017256, -0.0241472479, 0.0114472881, -0.0091629094, 0.017055098, -0.0142446673, -0.0179351084, -0.0702032596, -0.0078114686, -0.017944416, -0.0380829163, -0.0191562679, 0.0588673353, 0.083334744, 0.050039269, 0.0720981583, 0.0152497916, -0.0348723345, 0.0583577603, -0.0537358336, -0.0056960932, -0.1076959819, 0.0049736644, -0.0153576946, -0.0134047056, 0.0045106378, -0.0149037065, 0.0015296142, 0.0115776015, 0.0353262834, 0.0147612551, 0.0390248708, -0.0172222257, 0.000387974, -0.0221949108, 0.0279246978, -0.0461384654, -0.010887309, 0.0025446999, -0.0029564889, 0.0434454866, -0.0120951151, -0.0349007919, 0.0186278503, -0.0062276321, 0.0107446732, -0.0045256889, -0.0209423471, 0.044088047, 0.0175111908, 0.0219989754, 0.0571103096, 0.0092841489, -0.0546738207, 0.0260383189, 0.056353759, -0.0974103361, -0.0156708341, -0.0424273089, -0.005983328, -0.0794579387, 0.014606786, -0.057928782, 0.0151417134, -0.0040154415, 0.003358973, 0.0338599011, 0.0325539969, -0.0064531798, 0.0438435674, -0.0252246372, 0.073921822, -0.0592590198, 0.0805714577, -0.02369464, 0.0115103275, -0.070640564, -0.0319945775, -0.0166377109, 0.0216639433, -0.0072249481, -0.0034226112, -0.0727339759, 0.0051440466, -0.0302219242, 0.0508408844, -0.0122782551, 0.0153435022, -0.0684917867, 0.0014266359, -0.0354909599, 0.0023312571, -0.069690451, 0.0294611938, 0.0377028957, -0.0270750187, -0.0242982246, -0.016749911, -0.0405295491, -0.0610593669, 0.0244388264, 0.096215561, -0.0286343675, -0.0186433233, -0.0254834369, 0.0051325476, -0.0377563797, -0.0867720172, 0.0024862338, -0.0244438257, 0.0276417192, -0.0235286485, -0.0019569888, -0.0373397768, -0.0013453005, -0.021575097, -0.0351293012, 0.0679006949, 0.0059213857, -0.0035271561, -0.0007480375, -0.0110788979, -0.0572949313, 0.0470203869, -0.0045093028, 0.0089963041, -0.0033549713, 0.003466472, 0.029863961, 0.0363536328, 0.0223199241, 0.0049617528, -0.015012946, -0.0103684748, 0.0235834587, 0.0652610809, 0.0451907031, 0.0497579947, -0.035899546, 0.0200518426, 0.0857202411, 0.0385447443, 0.01198301, 0.0253619812, 0.0434968621, -0.0483598709, -0.0018851772, 0.043019291, -0.1111078411, -0.0034424721, -0.019744942, 0.0145430015, -0.0170609262, 0.0178310089, -0.0395609587, -0.0447308756, 0.0168857016, 0.0061997813, -0.0023391363, -0.0056672022, 0.0687248185, 0.0099699749, -0.0220099539, -0.0368620604, 0.0275607891, -0.0343628116, 0.0157500729, -0.0633752123, 0.0229275972, 0.0393447056, 0.0119530428, -0.0429646038, -0.0017953594, -0.0064812503, 0.012754417, 0.0180544425, 0.0457606055, 0.0039928174, 0.0264808983, -0.0171795618, -0.0333594494, -0.0066852923, 0.050105799, 0.0101195499, 0.0214212015, -0.0242330153, -0.0095508201, -0.0258716345, -0.0440822393, 0.0627372712, 0.0304757375, -0.0576272681, -0.0306019597, 0.0173209384, 0.0315223224, 0.0098845875, -0.0186497513, 0.0162179824, 0.0093449745, 0.0028630593, -0.0276635345, -0.0157777667, -0.0580758527, 0.0073351576, 0.0289059486, -0.0447696485, -0.0495447926, 0.0737701505, -0.0305351168, -0.0440343469, -0.0020980362, 0.0031597258, 0.0286749713, -0.000470145, 0.0404663943, -0.0124568865, -0.0155097945, -0.0517066121, 0.0699315295, 0.0293755196, 0.0043142866, -0.0021356884, -0.006206505, -0.0243867617, -0.0483817458, -0.0328133255, 0.0198023375, -0.0056734183, 0.0534414165, 0.0805950463, 0.0208728798, -0.0631135628, -0.0344999135, -0.0494877212, 0.0388288461, -0.0178279746, 0.0196504463, 0.0301617756, -0.0151968505, -0.0088889403, -0.0080560418, -0.0260831509, -0.04025032, 0.0097257299, 0.0135076698, 0.0393091254, 0.0092555322, 0.0179815851, -0.0422886908, -0.0216513332, -0.0070859771, 0.0012040852, 0.0014753097, 0.0293952636, -0.048923526, 0.0301309805, 0.0011166008, 0.0445390567, -0.0113497628, -0.0395405293, 0.0567735471, -0.0216486901, 0.0263165478, 0.1005869359, -0.0110250236, 0.047967568, 0.0249397215, 0.0150575647, -0.0203814451, 0.0257455427, -0.0387072898, -0.1271760464, -0.0456756055, 0.023279883, 0.0072095119, 0.0820680708, -0.0063366927, 0.0146436989, -0.1024476364, 0.0117504271, -0.0104458481, -0.0349275731, -0.0057477248, -0.0044437293, -0.0229314398, 0.011573391, -0.0587661341, -0.047438059, 0.0549230725, 0.0097116083, 0.0158624053, 0.0098763434, -0.0153421396, 0.0180178173, 0.0614633933, 0.0221860167, 0.0105652194, -0.0209860113, -0.037233457, -0.1148228943, -0.0344748981, 0.0378936827, -0.0068137539, 0.0212104674, -0.0382220782, -0.0045558438, -0.0025639785, -0.0609043837, -0.0370843895, 0.0020916641, -0.0221437085, 0.0129865436, 0.0318583846, -0.0213458166, -0.049197264, -0.0154451551, 0.0477003306, 0.0261495654, -0.0318292119, -0.0199091509, -0.0400948003, -0.0073011178, 0.0444610231, -0.0197475608, -0.0056623579, -0.0789469779, 0.0082805976, 0.0479432605, 0.055526372, -0.0024412358, -0.0237903092, 0.0177313667, 0.000575537, -0.022927301, -0.0207137093, 0.0363742895, 0.0880600959, -0.0551743619, -0.0211367644, 0.0683015063, 0.0066783894, -0.0196093656, 0.0051775221, 0.0513171218, 0.038877476, 0.0132438177, 0.0145858927, -0.0124660237, -0.03327417, 0.0162306782, 0.0431985445, -0.0071285567, -0.0324438326, 0.0371874794, -0.1057451814, -0.0098430794, 0.0298656169, -0.041375149, -0.0462495536, 0.0174673572, 0.0315324329, -0.0329090506, 0.0301659964, -0.0058817342, 0.0294898041, 0.0093038846, 0.0263433848, 0.0261846352, -0.0423793159, 0.0000315312, -0.0704083666, 0.0639130771, 0.1002831459, 0.0141644506, -0.0213523824, -0.0112586068, 0.0468593165, -0.001756429, 0.0046105767, 0.0403078087, 0.0447146781, -0.0313206986, -0.018961044, 0.0132913403, 0.0751857162, 0.0277020428, -0.0067658541, 0.0172857139, 0.0548519492, 0.0239310786, -0.0304680187, 0.0136716105, -0.0312491897, -0.0041412883, 0.0470066331, -0.0139102079, -0.0376605578, -0.0485656634, 0.0006834443, 0.0176421553, -0.0148876356, -0.0481415763, 0.0363623798, 0.0179321654, -0.0315830186, -0.0458381884, -0.0518272817, 0.014913233, 0.033298336, 0.0118867634, -0.0220472086, -0.012275178, -0.0026449915, -0.0026720278, 0.0648812577, -0.0165785439, -0.0156392846, -0.0786570162, -0.0353499353, 0.0040425933, -0.0428913087, -0.0098929973, 0.0098861232, -0.048617918, -0.0704001933, -0.0068209069, 0.0721630678, 0.0228239298, 0.0605755784, 0.0065955678, -0.0333473422, 0.0429156311, 0.0452576503, -0.0575941056, 0.0038202549, 0.0353814177, -0.0019744746, -0.0006172679, 0.0292137023, -0.0310272407, 0.0211574752, 0.0592160337, 0.0439232327, 0.0300633665, 0.0283303112, 0.0582603887, -0.0242848564, 0.0798510164, -0.0420665555, -0.0079637384, -0.011855036, -0.0354192592, 0.0121761197, -0.0301303938, -0.0087141264, -0.0344843529, 0.0684219673, 0.0413307883, 0.0064174137, -0.0418268666, 0.0288695991, 0.0280109625, -0.0698301271, -0.038959533, 0.0097949039, 0.0183339361, 0.0166043565, 0.0200084895, -0.0008962079, 0.0408172607, -0.0106877498, 0.0371275768, 0.0106910719, 0.0311981346, 0.0578305013, 0.0341125019, -0.0127316425, 0.0132775186, -0.1167020947, -0.0486909971, -0.0214958973, 0.0122890584, 0.0469111279, -0.0197687671, 0.0202858392, -0.0259292386, -0.0207067244, 0.0157512557, 0.013089546, -0.01437419, 0.0116451792, 0.0105963368, 0.0405086987, -0.0092396196, -0.0175562724, 0.0347331353, 0.0145365223, 0.0616901033, -0.0414872915, -0.0303590558, -0.0245609861, -0.0425556302, 0.0305016004, -0.0101440009, -0.0250983424, -0.0062344121, -0.0028637799, -0.0515488833, -0.008925884, 0.038271036, 0.0033199911, -0.0112267733, 0.0340507999, 0.0439194068, -0.0591926165, -0.0349973179, -0.0005291163, -0.0379449911, 0.0757198259, 0.0018142635, -0.0327550247, -6.051043781e-33, -0.026890276, 0.0169171579, 0.0230347831, -0.0202729031, -0.0322219394, -0.0242374707, -0.0047834795, 0.0076157087, -0.0189915169, 0.031345021, -0.0342167839, 0.0024427432, 0.00662049, 0.0105711203, 0.0454777032, -0.0501209609, 0.0324961729, -0.0230116788, -0.0517348908, 0.0208735224, -0.0073070582, 0.0313581116, 0.0703268275, -0.0918750465, 0.0324641354, -0.0002628889, -0.0614922084, 0.0120753124, 0.0032355124, 0.0226796959, -0.0029189524, -0.0183832571, 0.0119971903, -0.0454878658, 0.0062767793, 0.0224782582, -0.0657590553, -0.0059297527, -0.005390387, -0.0020874988, -0.057295274, -0.0102201737, 0.051903449, -0.012623732, -0.0228650849, -0.0015949847, 0.0196215622, -0.017390443, -0.0133477021, -0.0162887964, -0.066531904, 0.0077416133, -0.0098317433, -0.0050829849, 0.0014127229, 0.0103709744, -0.0284222122, -0.0175971966, 0.0228241868, -0.007214414, 0.0485391691, 0.0289518163, 0.0445680693, 0.0534158349, -0.0073338249, 0.0330843627, 0.0220862329, 0.0073478566, -0.0093396092, -0.0344911106, 0.0099217715, 0.0485137813, 0.039308019, 0.0339587294, 0.0300792977, 0.023995392, -0.0297450535, -0.0034927563, 0.0101623498, 0.0350444913, 0.000843737, 0.0337743312, -0.0532712005, -0.0101345042, -0.030654639, -0.0391302444, -0.0203472394, -0.0236925259, 0.0401460491, 0.0182410497, 0.0149585679, -0.0115343109, -0.0036384952, -0.0144608645, 0.0129967378, -0.0001249761, -0.0298843049, 0.010416233, -0.0362400524, -0.0039409185, -0.0607312396, -0.0582469888, 0.0203008205, 0.0434167422, 0.0198710766, 0.0113851596, 0.070854567, 0.0152571807, -0.0496280082, 0.0066825026, -0.0393177979, 0.0183154959, 0.0313121155, -0.0306176655, 0.0637670234, -0.0125603471, -0.0088824779, 0.0401654243, 0.0063518882, -0.0286542978, -0.0205096547, 0.0130319102, 0.0074981363, -0.0048884307, 0.0057301107, 0.0007183403, -0.0182490814, 0.0204678178, 0.0222390909, -0.0545672774, -0.0157837067, 0.0011155881, 2.641e-7, -0.0001277775, 0.0097077694, 0.0141559998, -0.0238040797, -0.0314916186, 0.0571703464, -0.0425375178, 0.0318585299, -0.0209059902, -0.0172621477, 0.0746507943, 0.0303744487, 0.0392616428, -0.0019262097, -0.0225049648, -0.0148001853, -0.0941725522, 0.0393478237, -0.0333761424, 0.0193911716, 0.061125353, 0.0884154066, 0.0446604528, -0.0109020863, 0.0141803445, -0.0659667403, 0.0643269792, -0.0259650778, 0.0145353759, -0.0023239171, 0.00994037, 0.0427183844, -0.03368688, 0.0267230477, 0.0070280381, 0.0256946441, 0.0298479032, 0.0306160208, -0.0198785234, 0.0207654238, -0.0301350374, 0.0575522818, 0.0158630013, 0.0010085512, 0.0523631945, -0.089898482, -0.0258020628, 0.0008312978, -0.0146431942, -0.0257668644, -0.0111713186, -0.0218504034, -0.0031771525, 0.0305843297, 0.0068099052, 0.0703985021, -0.0289503764, -0.0828705877, -0.007393349, 0.0353144296, -0.0392013974, -0.044165533, -0.0335712954, 0.060667973, 0.0003903803, -0.0762601197, -0.0041099638, 2.145674838e-34, 0.0075726053, -0.0129725784, 0.0353970677, -0.0424816534, 0.0394279584, 0.0039464221, -0.0129216099, 0.0232742708, 0.0497051552, -0.0155155575, -0.0041825189 ]
http://arxiv.org/abs/2401.02971v1
http://arxiv.org/pdf/2401.02971v1
Deep Anomaly Detection in Text
2023-12-14T22:04:43
2023-12-14T22:04:43
Andrei Manolache
cs.CL
cs.CL, cs.AI
Deep anomaly detection methods have become increasingly popular in recent years, with methods like Stacked Autoencoders, Variational Autoencoders, and Generative Adversarial Networks greatly improving the state-of-the-art. Other methods rely on augmenting classical models (such as the One-Class Support Vector Machine), by learning an appropriate kernel function using Neural Networks. Recent developments in representation learning by self-supervision are proving to be very beneficial in the context of anomaly detection. Inspired by the advancements in anomaly detection using self-supervised learning in the field of computer vision, this thesis aims to develop a method for detecting anomalies by exploiting pretext tasks tailored for text corpora. This approach greatly improves the state-of-the-art on two datasets, 20Newsgroups, and AG News, for both semi-supervised and unsupervised anomaly detection, thus proving the potential for self-supervised anomaly detectors in the field of natural language processing.
[ 0.0569564477, 0.0470107198, -0.0249040741, 0.0720932558, -0.0565951243, 0.0400412604, 0.0397992171, -0.0008532432, 0.0410220809, -0.0197022054, 0.0320415348, -0.0531203374, -0.0547704846, 0.0631029531, 0.0162915327, -0.0122570256, 0.0646786019, -0.0057270224, 0.0441248082, -0.0201195963, 0.0078704786, 0.0040002777, -0.0203305744, -0.0248798691, -0.0426954068, -0.0030541292, -0.0024682267, -0.0180888325, 0.0390664451, -0.0038928888, 0.0376802608, 0.0357748307, 0.0153088393, 0.0755514205, 0.0000020658, -0.0235623047, -0.0228244253, -0.0298657771, 0.0073631112, -0.0020953817, -0.0214554407, -0.0848564878, -0.0355625078, -0.0248637293, -0.0375946872, -0.0062424182, 0.0072334297, 0.0541097671, 0.0434126854, 0.0901089311, -0.0284930747, -0.0006835382, 0.0110622253, 0.0042409967, -0.0060357517, -0.0074459813, 0.0423140153, -0.0381706357, -0.0200157259, 0.0130534451, -0.0253888201, 0.00603473, 0.048067566, -0.0444237925, 0.0230783951, 0.0127038443, -0.0190782081, -0.0284845121, 0.0046529379, 0.0519262217, -0.0604637191, 0.0005493959, 0.0025103162, -0.0094235362, 0.0066447104, 0.0078095151, 0.0150046237, 0.0296840966, 0.0078891991, 0.018372504, 0.0525172427, 0.0379437059, -0.0068933414, 0.0403827652, -0.0277703032, 0.0324804485, -0.0153090684, -0.0339783914, -0.056127917, 0.0180068612, -0.0337766185, -0.0233219787, 0.0308680218, 0.0502706543, -0.0183791649, -0.0268854927, -0.0607839227, -0.0928564295, 0.0357625745, -0.0619018264, 0.001165894, -0.0178823043, -0.0650243908, 0.0227691773, 0.0060932417, 0.0631285086, -0.0130643267, 0.0400305763, 0.0079902438, 0.0048914249, -0.0099966256, -0.0034245267, -0.0255680382, 0.0300095174, -0.0265983883, -0.0214659795, -0.0245995242, 0.0221566111, 0.0215361845, -0.0008917726, -0.0495289974, 0.0389238484, -0.0595186092, -0.0048870118, 0.027055636, -0.0233253669, -0.0268824995, -0.0073920898, -0.0309935343, -0.0371586308, -0.0396509133, 0.0247264598, 0.0137397042, -0.0017879207, 0.0111019015, 0.025688434, -0.0133179482, -0.0014271707, -0.0723067969, -0.0351771265, -0.0694651678, 0.02848069, -0.0249243509, -0.0546892174, -0.0223267246, -0.0447858498, -0.011276464, 0.0113870446, 0.0114886416, -0.0068639456, -0.013038964, 0.0372080728, -0.024927875, -0.0180352777, 0.0540200323, 0.028936252, 0.071858719, 0.0599126071, -0.0122161321, 0.0144774616, 0.037556611, -0.0112910829, 0.0605080463, -0.0050493875, 0.0118272603, -0.0061709518, -0.0151536558, -0.0199508779, -0.0692467093, -0.0118172104, 0.0407340489, -0.0091338642, 0.0295407306, -0.0886886641, 0.0200065915, 0.0458973199, -0.0318027623, 0.0373775996, 0.0077488939, 0.0021923175, -0.0391988084, 0.0216973145, -0.0051866393, 0.0146884974, -0.0620266162, -0.0436588451, -0.0435914323, 0.00652174, -0.0254849289, -0.0377637558, 0.0091409869, -0.0029623504, -0.0210828446, -0.0520454682, 0.0390560776, 0.0245162249, 0.0121168308, -0.0760982931, 0.0053495448, 0.0175253097, 0.0247505568, -0.0269522257, 0.0399529748, 0.0551914684, 0.0460299291, -0.0275815688, -0.0081151119, -0.0416766442, -0.0104028601, 0.008267886, 0.0009651543, -0.0058223, 0.0370359421, -0.0140120005, -0.0087646954, -0.0457602516, 0.016096361, 0.0111115025, -0.0450723842, 0.0715796724, 0.0084542539, -0.0330391154, -0.0488916673, 0.0413982198, 0.0349917859, -0.0704913884, 0.0212762915, 0.0463360399, 0.0013563768, 0.0052654464, -0.0189558528, -0.021711072, 0.0201871563, -0.0474516526, -0.0659158826, -0.0263086986, -0.0425322764, -0.0385104269, 0.0117707876, -0.0443307906, -0.0438673906, 0.0484636351, -0.0170126781, -0.0393749438, 0.0433385447, -0.0209414922, -0.0325690508, -0.0622418523, -0.015976483, -0.0045301607, 0.0601151809, 0.0140241198, 0.0785123706, 0.0032508641, -0.0110231992, 0.0052016131, 0.018340027, 0.0623790808, -0.0013411987, -0.033390969, -0.0261203516, -0.0233423673, 0.0221498981, 0.0300717894, -0.0117209321, -0.0001620728, 0.0310412925, 0.014660351, -0.0147686303, -0.0542654619, 0.0114461882, 0.02456218, 0.0458196849, -0.0280399695, -0.0478590876, -0.0055874391, -0.0300818533, 0.0414976217, 0.0293000434, 0.0603234023, -0.0096087884, 0.0316107832, -0.0029196867, -0.0056641726, -0.0326278061, 0.0298556592, 0.0528911836, -0.0437879004, -0.0340696201, -0.0011076155, -0.0008324294, 0.0482642911, 0.0013941182, -0.0779975206, -0.0034519904, -0.0280956291, 0.0236645937, 0.0572550371, 0.0370503813, 0.0594092421, 0.0039833789, 0.0272067115, 0.0007871599, -0.0079785241, -0.0406520143, 0.0530615672, -0.0164063964, 0.0357684381, 0.020034777, 0.0335862376, 0.0278203599, -0.0470730551, 0.0038962378, -0.0051937602, -0.0066855806, -0.0350880884, -0.0259363651, -0.0643879548, 0.0032319135, 0.0479924716, -0.031341251, -0.022707535, 0.0740479752, 0.0291528422, 0.0060435329, -0.0339690894, -0.0581474826, -0.0011713199, 0.0507419147, 0.0620822124, 0.0340459198, -0.0064405152, -0.0922496393, 0.0163673069, 0.0366156437, 0.0098103005, 0.0313254707, -0.0034449978, -0.0093875779, 0.0087202732, 0.032301411, -0.0043622279, -0.0933309793, -0.0767543241, 0.0318018943, -0.0304539073, 0.003423067, -0.0310401246, -0.0460107885, 0.0156602729, -0.0321720541, 0.0525064915, -0.0085649211, -0.0078200297, 0.0082806908, 0.0567911342, -0.0058169654, -0.0647825003, -0.0063625914, -0.02785106, 0.0053003733, 0.053157758, -0.0107789999, 0.0163165405, -0.0233664718, 0.0292919539, -0.0196687859, -0.0116757127, 0.0144158872, -0.0111128082, 0.0076016416, -0.0329687558, -0.025587121, 0.1077435687, 0.04010088, -0.0031026765, 0.0299700946, -0.0221216511, -0.0000580496, -0.0058175004, 0.0018775868, -0.0312316008, 0.0461662225, -0.0270501282, -0.011210463, -0.0219347253, -0.0498365313, 0.0198595915, -0.0478750467, 0.0087378016, 0.0121901827, -0.0358652994, -0.0578131676, -0.0157576911, 0.0212276001, -0.033372853, 0.0161016304, -0.0133028943, 0.0509228967, -0.0199210048, 0.0220628344, -0.0986111388, -0.0660127252, -0.0252775587, -0.0276434142, 0.0212890282, 0.0468236655, 0.0130574079, -0.0535995774, -0.00200211, -0.0288437065, -0.0313856117, 0.0360453129, -0.0080497088, 0.0937787741, -0.0386079848, -0.0406067781, -0.0228935052, 0.0450108312, -0.0672463402, 0.0247706492, -0.0128830029, 0.0481573641, -0.0505485572, -0.0064611221, -0.040611878, -0.0217321906, 0.0571509451, 0.0134026473, -0.0082734805, -0.0063337148, -0.0030578142, -0.0132253189, 0.0158758834, -0.0487951227, 0.0023989915, 0.0392130464, 0.0756375119, -0.0621441975, -0.0424169749, -0.0872504637, 0.0199039206, 0.0082061011, -0.0009118068, -0.0143104848, -0.0408939905, -0.0464632288, -0.0389198735, -0.0595189855, 0.0251973011, -0.0036655096, 0.0194787253, 0.0096992934, 0.0070351097, 0.0387441404, -0.0307737608, -0.0059360648, -0.0506741665, -0.0318092033, 0.0317444801, -0.0274114683, -0.00605973, 0.0358173735, -0.0671509355, -0.0391187593, 0.0772312358, 0.0765883923, -0.0285214372, -0.0272255484, -0.0049164845, -0.0851004198, 0.0004864442, 0.0202379543, 0.0291299671, 0.0835475102, -0.007285866, -0.0332281366, -0.0585008599, -0.0450535826, 0.0091817603, -0.0104935374, 0.0231271293, 0.0148773957, 0.0174815953, -0.0387330689, -0.0100995293, -0.0208262075, -0.0077710915, 0.0317851044, 0.0504538976, 0.0446641073, -0.0007705498, -0.0092976391, 0.0425402336, -0.0434656925, 0.0077024829, -0.0306618549, 0.0114514148, 0.0712590963, 0.0354456939, -0.0261123739, 0.0537067242, 0.0243199822, 0.0132535715, 0.0326056294, 0.0400576815, 0.0109870741, -0.0119750146, 0.0192715228, 0.0236870013, -0.0022579699, -0.0419515967, -0.0769842267, 0.0280837398, -0.0248496439, 0.0188011061, 0.0134273879, -0.0589832217, -0.0234164428, -0.0272637699, 0.0141219161, -0.0034070553, 0.0111322282, 0.0035504571, 0.0174716003, -0.0120641785, 0.0068662949, -0.0188434161, 0.0436610021, 0.0661019981, 0.0137777124, 0.0401499681, 0.0612493977, -0.0018700254, -0.051280044, 0.0526332445, 0.0725543126, 0.0353774689, -0.0115681095, 0.0027872368, 0.0274561513, -0.0299266838, 0.0362308361, 0.0023020315, 0.0116034392, 0.0554869473, -0.0018211356, 0.0846148878, 0.002400178, 0.0183922369, -0.0115050338, 0.0040186974, 0.0022677372, -0.0353529453, 0.0017613182, -6.023784434e-33, 0.0063999561, -0.0660064146, -0.0480677597, -0.0159608554, 0.0567521602, -0.0043532108, 0.0165382344, -0.0388629548, 0.0012878582, 0.0505023934, 0.005241673, 0.0362119116, -0.01627611, 0.0184700284, -0.000874749, -0.0230681319, 0.0623822287, -0.0040155067, 0.037374422, 0.0142409736, 0.0624966882, 0.0754432678, 0.0689146817, -0.0834228098, 0.0376040079, -0.0318763964, -0.0222646445, 0.002293797, 0.0469246358, 0.0421795025, -0.0026545411, 0.0521378145, 0.0375375189, 0.0220301896, -0.0133996857, 0.0167889725, -0.0260501914, -0.0696734712, -0.0567137823, 0.0237003807, -0.0336885713, -0.003744089, 0.0409751348, -0.0424377099, 0.0369407386, 0.0084513361, 0.0639357418, -0.0131684327, 0.0187272672, 0.015902305, -0.0808955133, 0.0118102441, -0.0396106504, 0.0121061141, 0.0261406321, -0.0282629449, 0.0316554308, -0.0188611206, -0.0374230966, 0.0073065367, 0.0073226369, -0.0033182653, -0.0132843135, -0.0084884008, -0.0359623432, 0.0546543747, 0.0198667217, 0.0061172806, -0.0626291782, 0.0486159846, 0.0216980912, 0.0555984527, 0.0090844268, 0.0652687326, 0.0441091694, -0.0312765017, -0.0960769504, 0.0353141427, -0.0061539141, -0.0218451433, 0.0100997267, 0.0006373678, -0.0767960548, -0.0008562078, 0.0419923775, -0.052431345, -0.009097307, -0.0210379362, -0.0057152952, -0.0154991224, -0.0762367547, 0.025329262, 0.0025496304, -0.0561842993, -0.0184967071, 0.0081670014, -0.016748026, -0.0232607704, 0.0173569862, 0.0339913033, -0.0168096554, -0.0099956589, 0.0457155779, 0.0423894078, 0.0177441817, -0.0249829553, 0.0763232037, 0.0528350547, -0.0528732687, -0.0053633507, 0.0274221227, 0.0142915286, 0.007012269, 0.0469175242, -0.0031262129, -0.0353013985, -0.0254148487, 0.0404992327, 0.0112859393, 0.0061955336, -0.0155588081, 0.0076876516, -0.0597692207, -0.0111925267, -0.0141277257, -0.0555624329, -0.0057300548, -0.0179667138, 0.0398326404, -0.0720073581, 0.0460858271, -0.0273519605, 2.658e-7, 0.0242193993, 0.0281970501, 0.0600197613, -0.0535918064, 0.0410352871, 0.0201028008, 0.0271033756, 0.0447504483, -0.0314677842, -0.0417307876, 0.0415220931, 0.0085806521, -0.021501597, 0.0098534683, -0.0094504291, 0.0243725125, -0.044543989, -0.0051786182, -0.0590293407, 0.0036449675, 0.0396517366, 0.0612283796, 0.0305510014, -0.0649333969, 0.0328513533, -0.0674547553, 0.0259337034, 0.0381225832, -0.0412666574, 0.0261194129, 0.0279413443, 0.0913617536, 0.0376643687, 0.0487156399, -0.014986556, 0.0024026937, 0.0010014157, -0.0074154255, -0.0377660245, 0.0321480967, -0.037512321, 0.0032972293, 0.0096240826, -0.0286026374, 0.0630117282, -0.0176446494, -0.0153222084, -0.0003514555, -0.015730286, -0.0141802914, 0.0395003036, -0.0177289229, 0.0157334693, 0.0155466683, 0.0291701611, -0.0008297793, 0.0125706894, -0.0350171886, 0.0470187552, -0.01269334, -0.0301360525, 0.0368962958, 0.0228165109, 0.0030168213, 0.0649167374, 0.0256916098, 0.0069137537, 2.027213936e-34, 0.0226197243, 0.0071134814, -0.0252282675, -0.0323315039, -0.0358549617, 0.0094073247, -0.0483318493, -0.0341116115, 0.0050281021, -0.01547499, -0.0304028112 ]
http://arxiv.org/abs/2312.09366v1
http://arxiv.org/pdf/2312.09366v1
Arabic Mini-ClimateGPT : A Climate Change and Sustainability Tailored Arabic LLM
2023-12-14T22:04:07
2023-12-14T22:04:07
Sahal Shaji Mullappilly, Abdelrahman Shaker, Omkar Thawakar, Hisham Cholakkal, Rao Muhammad Anwer, Salman Khan, Fahad Shahbaz Khan
cs.CL
cs.CL, cs.AI
Climate change is one of the most significant challenges we face together as a society. Creating awareness and educating policy makers the wide-ranging impact of climate change is an essential step towards a sustainable future. Recently, Large Language Models (LLMs) like ChatGPT and Bard have shown impressive conversational abilities and excel in a wide variety of NLP tasks. While these models are close-source, recently alternative open-source LLMs such as Stanford Alpaca and Vicuna have shown promising results. However, these open-source models are not specifically tailored for climate related domain specific information and also struggle to generate meaningful responses in other languages such as, Arabic. To this end, we propose a light-weight Arabic Mini-ClimateGPT that is built on an open-source LLM and is specifically fine-tuned on a conversational-style instruction tuning curated Arabic dataset Clima500-Instruct with over 500k instructions about climate change and sustainability. Further, our model also utilizes a vector embedding based retrieval mechanism during inference. We validate our proposed model through quantitative and qualitative evaluations on climate-related queries. Our model surpasses the baseline LLM in 88.3% of cases during ChatGPT-based evaluation. Furthermore, our human expert evaluation reveals an 81.6% preference for our model's responses over multiple popular open-source models. Our open-source demos, code-base and models are available here https://github.com/mbzuai-oryx/ClimateGPT.
[ 0.0553987361, 0.0987678766, -0.0013092685, 0.0417265147, -0.0198582988, 0.013020575, -0.0068246713, 0.0094959699, 0.0169828497, -0.04960474, -0.0106332097, -0.0110281212, -0.0050412617, 0.0065099038, 0.0239961948, -0.0781178549, 0.0362145081, -0.0499075092, 0.0133598223, -0.0260732342, 0.0553593077, 0.0088140322, 0.0045330636, 0.0282257218, 0.0169187877, -0.0227060188, -0.0330049917, 0.000419028, 0.0219238885, 0.0072689778, 0.0319178104, 0.0706019774, 0.0400822498, -0.0121200206, 0.0000022153, -0.033273004, -0.0341125093, -0.0413275808, 0.0073700012, 0.0030850389, 0.0807295367, -0.0189583171, 0.0089746797, -0.0005080861, -0.0563730001, 0.0231538936, 0.0558697805, 0.0342985503, 0.0726018399, 0.045412194, 0.0150599694, -0.0347420163, -0.00030902, 0.0005623763, -0.0140771437, 0.0145089542, 0.0348558463, 0.0179457087, 0.0062397709, 0.0634713098, -0.0060276175, 0.0659229606, -0.0130351773, -0.0074345767, -0.0021865333, 0.0204741228, -0.058673501, -0.0132618733, 0.0064108018, 0.0513995178, 0.0284119938, -0.0274248123, -0.0062602353, 0.0185485035, 0.0181925539, -0.0032774031, -0.074338682, 0.0208051689, 0.0179608837, 0.0271387603, 0.0503420793, 0.0173168052, -0.0143050803, 0.0528955124, -0.0170531496, 0.0848260745, -0.0031865649, -0.0519978143, -0.0123574231, -0.0094039785, 0.0139130363, -0.0217874534, -0.0052482272, -0.0232792925, -0.0266691521, 0.0116065843, -0.0008706918, 0.0141521608, 0.0178357307, -0.0881716162, 0.0227820463, 0.0628731623, 0.0160361361, 0.0327984802, 0.0427958667, 0.0342647173, 0.0396250337, 0.0245715603, -0.0334674232, -0.0174532644, -0.0656083524, -0.0355598442, -0.039790161, 0.0078469813, -0.0775965452, 0.0369937085, -0.0280741453, 0.0000829024, -0.0133294873, -0.0180789977, 0.0056119883, 0.0068191928, -0.0135066975, -0.0087445518, -0.032886181, 0.028727375, -0.0490873568, -0.0039602644, -0.0058828797, -0.0919352025, -0.000801587, 0.0213079602, 0.003946288, 0.0058721541, -0.020682808, 0.0712372735, 0.0122747561, -0.0215418451, -0.0080994125, -0.0091033094, -0.0024645461, -0.0402788483, -0.0168313067, -0.0385741666, 0.0223143212, -0.0101822419, 0.0003214884, -0.048445899, 0.0023283386, 0.0265857242, -0.0308489967, 0.0961104333, 0.0003496109, -0.0100771766, 0.0483759604, 0.0362236537, 0.0217287913, 0.1106505468, 0.0294458847, 0.0062289448, 0.0377767645, 0.0023863944, -0.0067423526, -0.0138375033, 0.0047195433, 0.032750804, -0.0100995265, 0.0175678656, -0.0198389459, 0.052894488, 0.0069189118, 0.0403915904, -0.0232132096, -0.0135876313, 0.0640233979, 0.026172135, -0.0219597146, 0.0313242562, 0.0012931301, 0.0900022238, -0.0052768597, -0.001777138, -0.0066227084, 0.0466146097, -0.033434473, -0.0165786222, 0.0417184345, 0.0349663161, -0.0171245225, -0.0614798218, -0.0283956788, 0.0228246246, 0.0091280937, -0.0161296148, 0.0180722456, -0.035966903, -0.0205797367, 0.0231776256, 0.0212786235, -0.0514018424, -0.0034200281, -0.0168675128, -0.0008276766, 0.0537636168, -0.0007528309, 0.0214897711, -0.0345424116, -0.014364426, 0.0130277835, 0.0313442424, 0.0430019945, 0.0144015225, -0.0203115232, -0.0425295718, -0.0441718362, 0.0031718507, 0.0092156995, -0.0068539474, 0.0294185709, 0.0177075732, 0.0157969967, -0.0160420071, 0.0118733784, 0.0123502221, -0.0388176627, -0.0188178718, -0.0297074169, 0.000591474, 0.0377776623, 0.0200619642, 0.0174907111, 0.025499884, 0.0363133997, -0.038448859, -0.0774743631, 0.0630761832, -0.0425566956, -0.0114991535, 0.028315559, -0.0194254164, -0.0079391254, 0.0137235811, -0.019413935, -0.0309730023, 0.0645466298, 0.0043113758, 0.0510563217, -0.0321070887, -0.0151306419, 0.0142871989, 0.0214422476, -0.0365947969, 0.0592753664, -0.007048842, 0.0106303645, 0.0205130298, -0.0108786235, 0.0199273992, -0.0474890992, -0.0027643275, 0.0088717025, 0.0025783826, -0.0125774397, 0.0447708182, 0.0069654607, -0.0648783296, -0.011324726, -0.0766847357, 0.0016171949, -0.0185028352, 0.0355217457, -0.0130132129, -0.0052218894, -0.0313536003, 0.0267439224, -0.028246006, -0.0475781448, -0.0259987116, 0.0259919371, 0.0335828438, -0.0218194276, 0.021497108, -0.0632597283, 0.0128229074, -0.002698885, 0.0613477528, 0.0237135701, -0.0663862377, 0.0006276037, 0.0042269947, -0.0341982283, 0.0133320717, -0.0204100925, -0.0403582603, -0.0032522439, -0.0421320014, 0.0369181298, 0.0076600667, 0.0308896098, 0.0073240311, 0.0029401947, -0.0547403842, -0.0895162225, 0.042267289, 0.0017911005, -0.0085669281, -0.0001742461, -0.0195245631, -0.0202823803, 0.0196367931, -0.0139678232, 0.0103859222, -0.0196349751, 0.0774079934, -0.0369606689, -0.0102582918, -0.0539476909, -0.004573598, -0.0109382542, 0.0747946352, -0.0175624266, -0.0598095804, 0.0356714502, -0.009249676, -0.0008810293, -0.0751412362, -0.0206324793, -0.022658322, 0.0354852714, -0.0416401774, 0.0177924503, -0.0009802148, 0.0027990597, -0.0319607481, -0.0421616361, -0.0013080493, -0.0162409581, 0.0041929837, -0.0747445747, 0.0195969082, -0.0157659929, -0.0516131185, -0.0351766646, -0.0015585556, -0.0678539947, 0.0186380055, 0.0485029854, -0.0362746716, -0.0676867738, 0.031765651, 0.0258198995, -0.0188873112, -0.0061123739, -0.0094672209, 0.0069354796, -0.0139895286, 0.0474083088, 0.0546087399, -0.0109947482, 0.023805365, 0.0214255322, 0.0560537353, -0.0149150789, -0.046276994, -0.0405063182, 0.0065531502, 0.0520046465, -0.0136167184, -0.0344592407, -0.0458457358, 0.0149221309, -0.052680701, 0.0091310302, 0.0963284001, 0.0166891012, -0.0223059244, -0.004033647, -0.0408490151, 0.0373601541, -0.0056240056, 0.006069907, -0.1084793583, -0.0273808334, 0.0354122408, -0.0137413293, -0.0009183601, -0.0128376205, -0.005349176, -0.0722417906, 0.0473617949, -0.0005251514, -0.0231139194, -0.0263654497, -0.0649484694, -0.0098959692, -0.0107884984, -0.0471660979, -0.0367938988, -0.0152388988, 0.0420271121, 0.0160843171, -0.0390015356, -0.0402812734, 0.0158904213, 0.005633573, 0.0305618104, 0.0815936327, 0.0373605266, -0.0011130343, -0.0372790992, 0.0296319146, -0.0376323909, -0.0166565236, -0.0356742516, -0.0087851807, -0.0108463597, 0.0024736219, -0.0332948975, 0.0033802777, -0.0485221371, -0.0031553293, 0.0113679329, 0.0602983572, -0.0250511598, 0.0453457832, -0.0214297827, 0.0549317412, 0.0118679777, 0.0951847136, 0.0130348001, 0.007795305, -0.0378294028, -0.0639869869, -0.0212034117, -0.0566756241, -0.0619572885, -0.0260829683, 0.0143586751, 0.0121282367, -0.035835322, -0.0536002703, 0.0458407886, -0.0123836081, -0.0237817299, 0.0201072134, 0.0481029898, 0.0083610797, -0.0319278874, 0.0266771261, -0.0461402573, 0.021340102, -0.0361034647, -0.0440547764, 0.0452483147, 0.0020773609, -0.0050916038, 0.0385472961, -0.0843652487, -0.0649238378, 0.001031154, 0.0244420841, 0.0197753869, -0.0089488961, 0.0141691444, -0.0323883593, 0.0192553196, 0.0603057221, -0.019687783, 0.011247186, 0.0256090704, 0.0469481871, 0.014625675, 0.0633171797, 0.0218030624, 0.0061514983, -0.0207604822, 0.0596194565, -0.0465380326, -0.0455811135, 0.0190089215, -0.0261845831, 0.0404766463, 0.0153951719, -0.0609799549, -0.0524191894, -0.010481081, -0.0108352266, -0.0146892676, -0.0402473994, 0.0257610437, -0.0168520436, 0.0149643803, -0.0238211025, 0.0227140933, -0.0553603172, 0.0086336555, -0.0486028716, 0.0536262877, 0.0019668557, 0.0040418315, -0.0246039797, 0.0228566974, 0.0119339805, -0.0480859429, -0.0166318174, 0.0046549095, -0.0138837118, -0.0029054647, -0.0057321903, 0.0027336511, 0.0125775104, 0.0350456871, -0.0353106596, -0.0503820106, -0.0071692481, 0.0806184337, 0.030095797, 0.0205058325, 0.0168689899, -0.0050311522, -0.0216725953, -0.0071379147, 0.0265572164, -0.001411983, -0.0331347957, 0.0718451962, 0.0102304425, -0.0432524718, -0.012378172, 0.0527147464, -0.0117402095, 0.0518179275, 0.0286890306, -0.0331638381, -0.0214204993, -0.0320540294, -0.0194085259, -0.014976291, -0.02148127, 0.0483546741, -0.0690770745, -0.0556315109, 0.0098234629, -0.0194003973, -0.0334782228, 0.0033117041, 0.0355023928, 0.0611382276, -0.0150478836, -0.0477251299, -0.0452235565, 0.0359983146, -0.0601231419, -0.0548558049, -0.0179747529, -7.012919216e-33, -0.0315414369, -0.0071310033, 0.0471819304, 0.0016065328, 0.0010021094, 0.0215310678, -0.0111625409, 0.0570256747, -0.0591719933, 0.027078541, -0.0053525497, -0.009610517, 0.0213774797, -0.0118992794, 0.03185739, -0.0053760638, 0.0311757158, -0.0056936364, 0.0128915282, 0.0093295593, 0.0483061522, 0.047934819, 0.0923464745, -0.1063574478, 0.048696138, -0.0155084096, -0.0278005544, 0.0186921451, -0.0054277955, 0.0643610731, -0.0272374786, 0.0656864494, 0.0189749934, -0.0386445634, -0.0213537402, 0.016733624, -0.0807614774, -0.0419765338, 0.0399920084, -0.0175299123, -0.0243326612, -0.0313686952, -0.0168765653, 0.021911975, -0.0259906687, 0.0382039174, 0.0280929282, -0.0250107069, -0.0286610741, -0.0090686781, -0.0501797684, 0.0641625673, -0.014489322, 0.0206706803, -0.0168825779, 0.0782879069, 0.0229392927, 0.0863719508, -0.0776871294, 0.038415011, 0.0485560223, 0.0481932648, 0.057389237, -0.0242751166, -0.0089216949, 0.0562802032, -0.0268641505, -0.0033289026, -0.0175006539, -0.0385228992, 0.024665555, -0.0162949637, 0.0051760697, 0.098659724, 0.022186188, -0.0115481168, -0.0429941937, 0.0442071334, 0.0150289629, 0.0901474953, 0.0091023082, 0.0132497242, -0.0321261585, -0.016563911, -0.0411966257, -0.0007519597, -0.0460025445, 0.0047933972, 0.0467621423, 0.0272627734, -0.0029988836, 0.0258548539, 0.0097024562, -0.0289290715, 0.0060953433, 0.0328408703, -0.016044762, -0.0295050815, 0.0249268506, 0.0567739792, -0.0677990913, -0.0275251791, -0.0140078515, 0.0267392006, -0.0139061399, -0.0070940093, 0.0125506055, 0.0154087096, -0.0589040071, -0.0090276655, -0.0217795651, 0.0009238743, -0.0279391874, 0.0061432677, -0.0339034609, 0.0059578484, 0.003299098, 0.0560385361, 0.0443224758, 0.0226199348, -0.0097868834, -0.0565928519, -0.0345457532, -0.0100305853, 0.0046215905, 0.0259066876, -0.0322942771, -0.0142723862, -0.0106983203, -0.0457745306, 0.0009865927, -0.0007489107, 2.898e-7, 0.0580213442, 0.0421545655, -0.0100080715, -0.0118271234, -0.031420853, 0.0290410854, 0.0084607536, 0.0161783695, 0.0010533065, 0.0261335094, -0.030841276, 0.0080658039, 0.0533016883, 0.0121172238, -0.119275935, -0.0299920104, -0.0510027148, -0.023463577, -0.0556251667, -0.0259315521, 0.0683640242, 0.1234972477, -0.0086295744, 0.0263413116, -0.0280334838, -0.0173120461, 0.0755670965, -0.0757361948, -0.052534271, 0.0023669994, 0.0583380982, -0.0161805302, 0.0322454311, -0.0182824694, -0.0322513022, -0.0111993253, -0.0051146857, 0.0684537068, 0.0591675155, -0.0489300005, 0.0242448412, -0.00505292, 0.0055676545, -0.0605298914, 0.0408476628, -0.021488769, -0.0073582507, -0.0005409381, -0.0374360457, 0.0409373604, 0.0355474614, -0.0360447876, -0.0479364395, -0.0017329108, 0.0227577128, -0.0252253134, 0.0029975059, -0.0586127639, 0.0114694666, -0.0597189665, -0.0356379226, -0.0235554017, -0.0324674584, -0.0360282958, 0.0093813613, 0.025948856, 0.0199171994, 2.482699629e-34, 0.0618773997, 0.0280209631, -0.0133315083, 0.0040438711, 0.0567019545, 0.0263784286, 0.0104028527, 0.021804424, 0.0182796493, -0.0678030699, -0.0095138932 ]
http://arxiv.org/abs/2312.09304v1
http://arxiv.org/pdf/2312.09304v1
Well-calibrated Confidence Measures for Multi-label Text Classification with a Large Number of Labels
2023-12-14T19:17:42
2023-12-14T19:17:42
Lysimachos Maltoudoglou, Andreas Paisios, Ladislav Lenc, Jiří Martínek, Pavel Král, Harris Papadopoulos
cs.LG
cs.LG, cs.CL, stat.ML
We extend our previous work on Inductive Conformal Prediction (ICP) for multi-label text classification and present a novel approach for addressing the computational inefficiency of the Label Powerset (LP) ICP, arrising when dealing with a high number of unique labels. We present experimental results using the original and the proposed efficient LP-ICP on two English and one Czech language data-sets. Specifically, we apply the LP-ICP on three deep Artificial Neural Network (ANN) classifiers of two types: one based on contextualised (bert) and two on non-contextualised (word2vec) word-embeddings. In the LP-ICP setting we assign nonconformity scores to label-sets from which the corresponding p-values and prediction-sets are determined. Our approach deals with the increased computational burden of LP by eliminating from consideration a significant number of label-sets that will surely have p-values below the specified significance level. This reduces dramatically the computational complexity of the approach while fully respecting the standard CP guarantees. Our experimental results show that the contextualised-based classifier surpasses the non-contextualised-based ones and obtains state-of-the-art performance for all data-sets examined. The good performance of the underlying classifiers is carried on to their ICP counterparts without any significant accuracy loss, but with the added benefits of ICP, i.e. the confidence information encapsulated in the prediction sets. We experimentally demonstrate that the resulting prediction sets can be tight enough to be practically useful even though the set of all possible label-sets contains more than $1e+16$ combinations. Additionally, the empirical error rates of the obtained prediction-sets confirm that our outputs are well-calibrated.
[ -0.0034539206, 0.0201468859, 0.0076387567, -0.0079061445, -0.0246335566, 0.007771675, 0.014964154, 0.0202447753, 0.0177609026, -0.0273185521, -0.0213157982, -0.0585570298, 0.0000809781, -0.0074940552, -0.0117501048, -0.0052182716, -0.0073120096, 0.0420535244, 0.0550609119, -0.0239831991, -0.0127176726, -0.0089246053, 0.0150510436, 0.0490546264, -0.0418337397, -0.0177508034, 0.0327312686, 0.0014153491, -0.0004001741, -0.0346099958, 0.0519912317, 0.0518609919, 0.0021404517, 0.0172669943, 0.0000020632, -0.0359813124, -0.0625324249, 0.0204241816, 0.0206691753, 0.0352462418, 0.0164796002, -0.0603143536, 0.022780735, 0.019499477, 0.0020519404, -0.0064647854, 0.049280528, 0.0838074461, -0.017665742, 0.0349049903, -0.0283882283, -0.069460012, 0.0466139056, 0.0082296114, 0.0022934226, -0.0730479807, 0.0327403173, -0.059305951, -0.0441619791, -0.0049905051, -0.0036442818, 0.0312614962, 0.0273477063, 0.007470869, 0.0027858028, 0.0385729261, -0.0042836131, -0.0323339254, 0.0051598242, 0.021090446, -0.0059379307, -0.0325500965, -0.0431470238, -0.0306124073, -0.0013644017, 0.0302087292, -0.0242707301, 0.0148931639, -0.0236475132, 0.0259844474, 0.017983675, 0.045323208, 0.0269772131, -0.0261039268, -0.0122067844, 0.0254542585, 0.0319856331, -0.0389149711, 0.0520126894, 0.0186716877, -0.065432936, 0.0014057771, -0.0014453711, -0.0146237789, -0.0167313777, 0.017912237, -0.019080583, -0.0209051371, 0.0363183506, -0.085953407, 0.0025968456, -0.0141972592, 0.0180813186, 0.0261012167, -0.0505228043, 0.0301077161, 0.0027188307, 0.0519588217, -0.0381412767, -0.0329076238, -0.0486194231, -0.0067248796, -0.019843189, 0.0321686938, 0.0662106201, 0.0007777449, -0.0905678719, -0.0022441135, -0.0078483904, 0.0074582952, -0.004489325, 0.0182339028, -0.0143517172, 0.0131050451, -0.0157424696, 0.0599058867, -0.0037441587, 0.0066202092, -0.0507787764, -0.0299574099, 0.0367965288, 0.0052137254, -0.0102406535, -0.0008135618, 0.0263794493, 0.0370425098, -0.0207210667, -0.0849139765, -0.0171114393, -0.0112057859, -0.0401440561, -0.0154859675, 0.0448637381, -0.0441280454, 0.0066658864, 0.0053868741, -0.0028330381, -0.0588842705, -0.0137082664, 0.0117741423, -0.0033851943, 0.0785454661, 0.0544375479, 0.0053373426, 0.0203161128, -0.0104438122, 0.0264016651, 0.0419769771, 0.0243015494, 0.0177836102, 0.0604129508, -0.0169590823, 0.0295731928, 0.0276743099, 0.0075717899, 0.0018623555, -0.0276019983, -0.0041605323, 0.0766345114, -0.0081439642, -0.0458860099, 0.0060878121, -0.00578416, -0.0192035735, 0.0359026529, -0.0105238026, 0.0587034859, -0.0424694642, 0.0012444932, -0.0394035839, 0.0009373925, -0.0037947511, 0.0125334626, -0.0044736983, -0.0592989139, -0.0107575022, 0.0748140737, -0.0401833169, -0.0281944498, -0.040808294, -0.0187172163, -0.0225551855, 0.0228269603, -0.029299112, 0.0758241713, -0.024090372, -0.041452121, 0.0162901189, 0.04365642, -0.002150683, -0.0252685323, 0.0031592646, 0.03295964, -0.0184247829, -0.0004812426, -0.0682090148, 0.028063843, -0.0011210606, 0.0507839173, -0.0507124774, 0.0720245466, -0.0079738731, 0.0030061859, -0.0325613022, -0.0125850132, 0.0447253287, 0.0122373551, 0.0722670406, 0.0000232512, -0.0067032301, -0.0130306575, -0.0006644303, -0.0353250504, 0.0335191414, 0.0173337273, -0.0260631666, 0.0779764205, 0.0429946072, 0.0449454226, 0.0249102674, -0.0037965772, -0.0115022948, 0.0647056475, -0.050402876, -0.0491527803, -0.0783944651, 0.0042914064, 0.0382386632, 0.0412899777, -0.0454188436, 0.0020320793, -0.0315432921, -0.0021975001, -0.0484281965, -0.0165434051, -0.0155184995, 0.0643823594, -0.0219237544, 0.009332547, -0.024655506, 0.0513372011, -0.0579152703, 0.0352077968, 0.0199326687, 0.0648023412, -0.0251868591, 0.0076434189, 0.046481099, 0.0490531847, -0.0599704944, 0.0233222637, -0.0226115957, 0.0061081755, 0.039307557, 0.0037348543, 0.0225511156, -0.0434036702, -0.0417837836, -0.0107750092, -0.0044289599, -0.0387890339, -0.0334567092, -0.0082473652, 0.037823353, -0.0070557436, -0.0089748856, -0.0349892899, -0.0433604419, 0.046649348, 0.0208630282, 0.0075759795, -0.0413171165, 0.0613485575, -0.0354654677, -0.0608636998, 0.0580591075, 0.058588624, -0.0051811086, -0.0397650748, 0.0192453712, -0.0066589196, 0.0070563038, -0.0152820293, -0.0279859081, 0.0063614324, -0.0220737513, -0.0311773885, 0.0372582227, 0.001945071, -0.0242265556, 0.0321982391, 0.0382127501, -0.0057068914, -0.0098886006, -0.0582913458, -0.0002566063, -0.0278670993, -0.0282835066, -0.0171654504, 0.0113903815, 0.0061363513, -0.0103186369, -0.0830193982, -0.0449898653, 0.0202288311, 0.0069266437, -0.032040298, 0.023536209, 0.0136674047, 0.0366410799, 0.0295930635, -0.0310421325, 0.0590311587, -0.0364176594, 0.0086215604, -0.0214909799, -0.0194610078, -0.0082093533, 0.055326432, 0.0498812459, 0.0142418677, 0.0614862181, -0.0050800131, -0.0156671461, -0.0004482896, 0.0172603112, -0.0184555408, 0.0599926524, 0.0114702079, 0.001770025, -0.0185574219, -0.0416276045, -0.0259807967, -0.065779075, -0.0110752033, 0.021972714, 0.0443395041, -0.0366316698, -0.0709652081, 0.003551617, -0.0002419817, 0.0063357949, 0.0019580545, -0.0045544361, 0.0183884874, -0.0000258132, -0.0106204208, -0.0181312263, -0.0024691969, -0.05179625, -0.0231788475, 0.0193041395, -0.0254077855, 0.0496442802, -0.0163631178, -0.0541833974, 0.027917454, -0.0170572698, -0.0416029058, 0.0236032307, 0.0254554395, 0.0026755107, 0.0018542681, 0.112506099, 0.0197065175, -0.0573248938, -0.0234869756, 0.0403856039, 0.037964303, 0.0467898026, 0.0164953861, -0.0637702271, -0.0224387217, -0.0112263262, -0.0190319754, -0.0306859706, -0.0389760435, -0.0035745353, -0.0686763152, 0.0088437041, -0.0352105983, -0.0516481772, -0.0166059528, -0.070658572, -0.018839987, -0.0205726605, -0.023475986, -0.0585980378, 0.0202131364, -0.0410400592, 0.0409103371, -0.07382337, -0.0351553261, 0.038612254, -0.0026007241, 0.0263426453, -0.0117789498, 0.0425510593, -0.0671227351, -0.0834408328, 0.0262832809, -0.0214179363, -0.0369079262, -0.005546818, 0.0332664773, 0.0110587664, -0.0036345839, 0.0575912222, 0.0083973408, -0.037433058, -0.0016339374, 0.002257345, 0.0496104658, -0.0089169852, -0.0277078804, -0.0092325117, -0.0051434212, -0.0081763519, 0.0619385503, -0.0045144563, -0.0775663555, 0.0135561423, -0.0226478055, 0.0127557358, -0.0116206305, 0.0374562219, 0.024089532, -0.0512429625, -0.0413390473, -0.0227766689, 0.0143136717, 0.0353754722, 0.0187826362, 0.0087955259, -0.003556903, 0.0115889972, 0.0046438598, 0.0016091068, -0.0547511168, 0.0221984144, 0.0426679328, -0.056974832, 0.0397594497, 0.0502520502, -0.027384134, -0.0423124731, 0.0149219707, -0.0139968973, -0.0519140959, 0.0030122667, -0.0062043993, -0.0016618731, 0.0043153167, -0.0321162604, -0.0708988532, 0.0594192222, 0.0548942275, 0.0441531949, -0.0286527593, 0.047456041, -0.02000531, 0.008603272, 0.0156619139, -0.0364213847, 0.0462201722, -0.0059392429, -0.0400599465, -0.0098759122, -0.0431622788, -0.0017453104, 0.0432208627, 0.0738762394, -0.0355935581, -0.04398375, -0.0254598837, 0.0194841307, 0.0132426415, -0.0273098964, 0.0239027757, -0.005237204, 0.0220512133, -0.0324844979, -0.0545211025, 0.0256465245, 0.0387657136, -0.0003976305, 0.0163191669, 0.0168439671, 0.0313893668, 0.0746431276, 0.0077982564, 0.0112456903, -0.0086571714, 0.0083302846, 0.0307171177, 0.0387406237, 0.0069012484, -0.0095534781, 0.0080084633, 0.0185798425, -0.0668940246, -0.0347126611, -0.0989078879, 0.0857841149, -0.0265418515, 0.0018539219, 0.0088216746, 0.0007550184, -0.0181809999, -0.038739495, -0.0422787145, -0.0369522236, 0.0166486707, -0.0030147082, 0.0020888585, 0.0418007411, -0.0051492979, -0.0228789002, 0.0380139388, 0.0531543307, -0.0113269351, 0.0257321019, -0.0116904452, -0.0507181846, -0.0579690151, 0.0178612657, 0.0262914114, 0.0713490993, -0.0097939279, -0.0121953851, -0.0136115793, -0.0141130416, 0.1374129504, -0.0245427713, 0.0148914848, 0.0411293581, -0.0215237439, 0.0485860966, 0.0011925909, 0.0298313256, -0.0317850038, -0.0437053256, 0.0231911521, -0.0007626637, -0.0157701354, -5.764001284e-33, 0.0113282381, -0.0228131562, -0.0495082699, 0.0279879197, 0.0079480549, 0.02877157, 0.0222991761, -0.0299319606, 0.0078419512, 0.0566682816, -0.026058089, -0.0045951363, 0.0026048566, 0.0193154532, 0.0288124084, -0.0338075645, 0.0208387729, -0.0218539499, 0.0047175447, -0.002132216, 0.055206053, 0.0343089588, 0.0698961541, -0.1284546703, 0.0121906018, 0.0195304379, -0.0145854736, 0.003959266, -0.0054931273, 0.0533340983, 0.0175651517, 0.0537408553, 0.0258664247, -0.0287136286, 0.0542798415, 0.0271532368, -0.0035656875, -0.0359467082, -0.0507348105, 0.0104565434, 0.0410724096, -0.0178230852, 0.0282156169, 0.0282589849, 0.0057736803, -0.0226910226, 0.0778303966, -0.0208518617, -0.068054758, -0.0154170971, -0.0127929347, 0.0165225882, 0.0075434307, 0.0070530009, -0.0237634629, 0.0592620187, 0.0203025937, 0.0451190881, -0.0847486407, 0.0065335729, 0.0118631124, -0.0179741569, -0.0365203954, 0.0221811123, 0.0135422843, 0.0472659953, 0.0203670487, -0.0044099675, 0.0070120599, -0.0679735839, 0.0329796821, 0.0116383256, 0.0346300937, 0.0757325515, 0.0071275085, -0.0428954624, -0.1098811179, 0.0209458116, 0.0001756997, -0.0443855226, 0.0408079922, -0.0049302531, -0.0754037797, -0.0217427742, -0.009606679, -0.0368374847, -0.01026465, 0.0216824077, -0.0155783836, -0.0095030935, -0.011925499, 0.0084004439, 0.0013496963, -0.0656429902, -0.0391498022, -0.0136718759, -0.0162220784, 0.0630023405, -0.0277590696, 0.0075682681, -0.0013502521, -0.0369091332, -0.0006030983, -0.0044442988, 0.0070987302, -0.0317917354, 0.1265448928, 0.0124090444, -0.0680395812, -0.0342051387, -0.0002283917, -0.0555654988, 0.0391542576, 0.0304597318, 0.0239039436, 0.0242949221, 0.0067884154, 0.0230016857, 0.0486472249, 0.0463073254, 0.0083956579, -0.0642338991, 0.0512579307, -0.019699594, -0.0101759136, -0.0252549779, 0.0064992872, 0.0030608301, 0.0361365937, -0.0442276001, -0.0189463962, 0.0050391448, 2.773e-7, 0.0627485365, 0.0479712524, -0.0265008695, -0.0510481261, 0.0230257921, 0.0322691873, 0.0057566087, 0.0170065016, -0.051124502, 0.0237473045, 0.064994432, -0.0390614234, 0.0215676948, 0.0303862859, -0.060006611, -0.0441280194, -0.0760901496, 0.0287412331, -0.0140328156, 0.0423271544, 0.0599634871, 0.1068440676, 0.057387542, -0.0233203489, 0.0106901601, 0.025618976, 0.0455871448, -0.0124150012, 0.0200176369, 0.0065765996, 0.0089415489, 0.0228938144, -0.0016628561, 0.0729646608, -0.0304857716, 0.0172819998, 0.0311878193, 0.0207609143, -0.0055700187, -0.0091556897, 0.0228397697, 0.0096126841, -0.0254714377, -0.0102555491, 0.0751514882, -0.0686631128, -0.0396450795, -0.0097621456, -0.0001772342, -0.0164966658, 0.1029635072, 0.0257553905, 0.0018413718, 0.0214878861, -0.0244220048, -0.0155959353, -0.0318247005, -0.0736942217, 0.0333009697, 0.0020749536, -0.0234522447, 0.0298729017, 0.0107325679, -0.0237458497, 0.0534524843, -0.0660850927, 0.0145135829, 2.439561971e-34, 0.0183871668, -0.0335822478, 0.014186739, -0.0347368456, 0.0195139516, -0.0294383299, 0.0240152311, -0.0101928972, 0.0175530985, -0.0974841788, 0.0158033408 ]
http://arxiv.org/abs/2312.09300v1
http://arxiv.org/pdf/2312.09300v1
Self-Evaluation Improves Selective Generation in Large Language Models
2023-12-14T19:09:22
2023-12-14T19:09:22
Jie Ren, Yao Zhao, Tu Vu, Peter J. Liu, Balaji Lakshminarayanan
cs.CL
cs.CL, cs.AI, cs.LG
Safe deployment of large language models (LLMs) may benefit from a reliable method for assessing their generated content to determine when to abstain or to selectively generate. While likelihood-based metrics such as perplexity are widely employed, recent research has demonstrated the limitations of using sequence-level probability estimates given by LLMs as reliable indicators of generation quality. Conversely, LLMs have demonstrated strong calibration at the token level, particularly when it comes to choosing correct answers in multiple-choice questions or evaluating true/false statements. In this work, we reformulate open-ended generation tasks into token-level prediction tasks, and leverage LLMs' superior calibration at the token level. We instruct an LLM to self-evaluate its answers, employing either a multi-way comparison or a point-wise evaluation approach, with the option to include a ``None of the above'' option to express the model's uncertainty explicitly. We benchmark a range of scoring methods based on self-evaluation and evaluate their performance in selective generation using TruthfulQA and TL;DR. Through experiments with PaLM-2 and GPT-3, we demonstrate that self-evaluation based scores not only improve accuracy, but also correlate better with the overall quality of generated content.
[ 0.014703312, 0.0728417486, -0.0101533337, -0.0060760262, -0.0590875223, -0.0070847957, 0.0283855647, -0.0264896154, 0.0116509125, -0.0496008955, 0.0102574984, -0.0431672074, -0.0273032486, 0.0165689327, 0.0301613621, 0.0007364099, 0.0496117733, -0.0468669459, 0.0109059066, -0.0150398267, -0.0245157667, 0.0019173766, -0.0107407942, 0.0373806767, -0.0072467085, -0.0157442912, -0.0147116892, -0.0054594898, -0.0059150257, -0.0500751138, -0.0141871367, 0.1030544192, -0.0196280256, 0.0157981049, 0.0000021056, -0.0519255176, -0.0152582312, -0.0106873224, -0.0233359709, 0.0357970782, 0.0245328043, 0.067297712, 0.0032331299, 0.0321491808, -0.0345459245, -0.0082026338, 0.0360926427, -0.024974728, 0.0613117814, 0.0356096402, 0.0172910634, 0.0313162096, 0.0162977278, -0.0073440112, 0.027804872, -0.0075197178, -0.0025097802, 0.0213298891, -0.0007106873, -0.0032359883, 0.0002821609, 0.0205802787, 0.0319641754, -0.0251330957, 0.0241910201, 0.03370196, -0.0421658494, -0.0522521622, 0.0100703519, 0.0323248841, 0.0243482795, -0.030942468, -0.0039364435, -0.039727889, 0.0169916935, 0.014845741, -0.034842018, 0.0214388408, -0.0030574121, 0.0018239414, 0.0285560768, 0.0044221771, 0.0029812544, -0.002004989, -0.0308771282, 0.0752602816, 0.0389133394, -0.0277621988, -0.0092511456, 0.0217623487, -0.0234109089, -0.0898216069, 0.002795598, 0.0280402955, -0.0617390238, 0.0262432843, -0.0622500628, -0.0353535078, 0.0465345718, -0.0189885255, 0.0479875952, 0.0370527096, -0.0004004641, -0.0022430015, -0.0251926947, 0.0754408538, 0.0276846234, 0.0131763816, -0.0512896813, 0.0171412379, -0.015451896, -0.0121781761, -0.0150004998, 0.052024696, -0.010846897, -0.0092154276, -0.075971283, 0.0222815815, -0.0047594472, 0.0092291497, 0.0127874808, 0.0308833811, -0.0523824096, 0.0196093321, -0.0372044668, 0.0034317358, -0.0178341232, 0.0041067647, 0.0519018136, -0.0597665757, 0.0025293808, 0.0198025052, 0.0117200678, -0.0174005311, -0.008591108, 0.0782952905, -0.0156320054, -0.0286356788, 0.0051000481, -0.0650039986, -0.0521505624, -0.0787195116, -0.0012902411, -0.0965899453, 0.0006169248, 0.0230327733, -0.0174590219, -0.0229762774, 0.0321372002, 0.0359476246, 0.0422444418, 0.002819794, 0.0115338163, 0.0245660711, 0.0084359543, 0.002740531, -0.0095655667, 0.0693677589, 0.0290546063, 0.0388487652, 0.0256979503, -0.0325401984, 0.0250552893, 0.024342658, 0.0247267839, 0.0084836986, -0.0301743336, 0.0140307387, 0.0185667388, 0.0225697178, 0.0229742657, 0.0631548092, -0.0256557949, 0.0157746617, 0.0623268932, 0.0155392317, 0.0129780397, -0.0055434103, 0.0840479955, 0.0040320568, 0.0146764182, 0.0600860603, -0.0265065469, 0.0269961637, -0.0279945787, 0.033179339, 0.0600321665, 0.0214565229, 0.0097068558, -0.0545195714, -0.0138704721, 0.0053575109, 0.0016428822, 0.041477669, 0.0370117873, -0.0056051221, -0.0435558483, 0.0414763168, 0.0091091692, -0.0724012479, 0.0315431282, -0.0804157332, 0.0547084846, 0.0551211499, 0.063520126, 0.021130776, -0.0601575971, 0.0142074693, -0.0352566987, 0.0515188053, 0.0741136298, -0.0102068577, -0.0018932435, -0.0368679948, -0.0265367702, -0.0063241548, 0.005707691, 0.0072312295, 0.0229034871, 0.0017001403, 0.0267008506, -0.0579466708, -0.031569276, 0.0296162535, -0.0401459746, -0.0510538965, 0.0212869477, -0.0156084234, 0.0408313461, 0.0016737429, -0.0019022877, 0.0538910963, 0.0253552888, -0.0069638831, -0.023819048, -0.0310676284, -0.0842562318, -0.022258142, 0.0395879969, -0.0129327271, -0.0068610273, 0.0200729016, -0.0116130067, -0.0529704206, 0.0050430223, -0.0563919917, 0.0007745916, -0.060745541, 0.0281036682, 0.007843391, -0.0009814032, -0.0585905984, 0.0664790645, -0.0067553427, 0.0332275182, 0.0295961425, 0.0033415537, 0.0225451421, -0.0582356304, -0.0262347255, -0.0146263717, -0.0154974163, 0.0154879894, 0.0530744269, 0.0529816933, -0.0451554954, -0.0485931821, -0.1036575213, 0.0026679877, -0.0139951054, 0.0113161551, 0.0243084934, -0.010778347, -0.0042499527, 0.0312349163, -0.0512105599, -0.02001906, 0.041002132, 0.02220257, 0.0171422083, -0.0049059251, -0.00421764, -0.0417529754, -0.007851365, -0.0248791967, 0.0234873984, 0.0202004723, 0.0471203178, -0.0506618731, 0.038304776, -0.0687995404, -0.0016183098, 0.0438737199, -0.0348171592, 0.0389482304, -0.0159075391, 0.03583299, 0.0090876073, 0.0205255002, -0.0045914543, 0.0684502795, -0.0286629964, -0.0634042844, 0.0082188854, -0.0336936675, -0.0131326793, -0.0112965759, -0.0620275289, 0.0010658797, 0.0409173556, 0.0600074492, -0.0188431088, -0.0706439093, 0.0257150512, -0.0505576842, -0.0580129661, -0.0191112626, -0.0156923775, -0.0268743075, 0.0676097497, 0.0137061263, -0.0715972781, 0.092641376, -0.0479929149, 0.0333403237, -0.0599875934, 0.0254021455, -0.0111951306, 0.0506129898, 0.0039085136, 0.019000249, 0.0248975735, -0.0043380186, -0.0746653825, -0.0040353886, 0.0208044164, -0.0520390049, 0.0298619475, -0.0644383356, -0.0187919028, -0.0067996313, -0.013998772, -0.0569585264, -0.0504857898, 0.0052580624, 0.0027841364, 0.0209673345, 0.0030938305, 0.0077746375, -0.002662211, 0.0237220414, 0.0110154254, -0.0565457605, -0.0008293613, -0.0139060281, 0.0445876271, 0.0774099156, 0.0079013528, 0.0443027094, -0.0358594954, 0.0141889807, 0.0590493158, 0.0413204245, 0.0560248718, 0.0008125333, -0.0052092508, 0.0334853195, -0.0303148627, -0.0283013694, 0.0674518496, 0.0708239824, -0.0465291999, -0.0480349585, 0.1215246394, 0.0345935374, 0.0053940928, 0.0029338782, -0.0296624787, 0.0440887846, 0.0184905119, 0.0422404222, -0.0643376112, -0.0089258496, -0.0022425444, 0.0394511782, -0.0469625592, -0.0254047289, 0.0086957384, -0.1398093253, 0.065999046, -0.0003101648, -0.0558777899, -0.0005106789, -0.0233813263, -0.0163721591, 0.026849078, 0.0156853311, 0.0322270133, -0.0059047085, 0.0211606435, 0.0350634344, -0.027986601, -0.019384969, 0.0314122997, -0.0072070709, 0.0413202047, 0.0595242605, 0.0117162755, -0.0031923724, -0.0551088825, 0.0371293947, -0.0373310931, -0.000524428, 0.0068549854, -0.0006431502, 0.0326069295, -0.0007861481, -0.025080692, 0.0062482008, 0.0086038671, -0.0203427486, 0.0128250755, 0.0852947831, -0.0401121527, -0.0247933008, -0.0307414848, 0.025783075, 0.0063297437, 0.0653100461, 0.062526226, -0.0656680316, -0.0265491027, -0.0253482908, 0.0231180564, -0.067148976, 0.0113700163, 0.0157393552, 0.0264431071, -0.0204386096, -0.0818157718, -0.0304878578, 0.0351224914, 0.0141193671, -0.0072979438, -0.0088874968, -0.0016394695, -0.0063994373, 0.0048422231, -0.0057153828, -0.0267760158, -0.0057778074, -0.05305399, -0.0060555441, 0.0029283338, -0.0261859912, -0.0098692523, 0.0402574614, -0.0660855323, -0.0597884543, 0.0097925588, 0.0687475279, 0.025056228, -0.0113476599, -0.0037559306, -0.0332605988, 0.0430355109, 0.0430553854, -0.0285017416, 0.019772904, -0.0018862191, -0.0112597616, -0.0170724876, 0.0135495914, -0.0299301874, -0.008675226, 0.0141191799, 0.0587153211, 0.031524837, -0.0700559765, 0.0325929224, 0.0435626358, 0.0301177893, -0.054312516, 0.0174281448, -0.0191569347, 0.0063247485, -0.0410084911, -0.0271392837, -0.0238970779, -0.0001987297, 0.0169628486, -0.0055652568, 0.0133001292, -0.0321037173, -0.0570164211, 0.0660342425, -0.0195686147, -0.0060455822, 0.0154291559, -0.0043847868, 0.0288712177, -0.032066036, -0.0474845618, -0.0183752645, -0.0097475993, 0.0283085592, -0.0132271014, 0.0655441508, -0.011127024, 0.0081956433, 0.0292380136, 0.016793808, -0.0450048186, -0.0465146527, -0.0498336218, 0.0269742869, 0.0254602898, 0.0458980761, 0.0416757204, -0.0295275412, -0.0045681419, -0.0355661325, 0.0317447595, 0.0246764813, -0.0336508788, 0.0227906872, 0.0150105758, -0.019100327, -0.0282729603, 0.0680257231, 0.0198785681, 0.0281068087, -0.0087956265, -0.0110593643, -0.0497424006, -0.0504032299, -0.0117565868, 0.0154677453, -0.0298229977, -0.0070801657, -0.088486813, -0.0719601512, 0.0140941292, 0.0827033371, 0.0131656947, -0.0250816625, 0.0401334874, 0.0604491495, -0.0350871012, -0.0066231261, -0.0521435142, 0.0340056382, -0.0069064391, -0.0074473396, -0.0227210056, -6.523332431e-33, -0.0516713895, -0.0455443338, 0.0358384214, -0.0407365449, -0.0093770754, -0.0217075907, -0.040164344, 0.0424639136, 0.0306151193, -0.0121394163, -0.0150541207, -0.0346477926, 0.0142271537, 0.0445300341, 0.0338887535, -0.0115744267, 0.0331442803, -0.0092777582, -0.0503625348, 0.046415247, 0.0212478656, -0.0265493784, 0.0367083736, -0.0307377148, 0.0205817185, -0.0012950114, -0.0043503526, -0.0211017709, -0.0572645701, 0.0704434663, -0.0206316095, 0.0301877391, -0.0035525558, -0.0349052176, -0.022772247, -0.0163133331, 0.0088385185, -0.0572226308, 0.0134198833, -0.0378225297, -0.043185547, -0.0395671017, 0.0247479491, -0.0054505621, -0.0583376624, 0.0073861573, 0.0223046429, -0.0045576133, -0.020660568, -0.043788068, -0.0490606464, 0.0170236658, 0.005078909, -0.0251329616, -0.0534660704, 0.0753976479, -0.0151473237, -0.0020553772, 0.0014293691, 0.0280195512, 0.0427982248, 0.0468529761, 0.0813617557, 0.0029559608, 0.0070674215, 0.0517848246, 0.018344434, -0.0200546086, 0.0280801896, -0.0085576456, 0.0305664241, 0.0146021293, 0.0617115311, 0.0670289025, 0.019423306, 0.0034291833, -0.0623834506, 0.054387223, -0.019088503, 0.0064501124, 0.0519016795, -0.0281531438, -0.0197135471, -0.0137489717, -0.0652952716, -0.0202281903, -0.0370674804, -0.028339874, 0.057334546, -0.005452049, -0.0612013265, -0.0389520153, 0.0522218607, -0.0080265608, -0.0207670275, -0.0047945436, -0.0572432168, 0.0203951765, -0.0199309327, 0.0314065106, -0.0414097942, 0.0147760892, 0.0287421923, 0.0098437816, 0.013376358, 0.0222278945, -0.016791923, 0.0289552435, -0.0653933212, 0.027298186, -0.0577104315, 0.0486207195, -0.00144843, -0.0267987996, 0.0340865664, -0.0219958238, -0.0216156822, 0.0193676315, -0.0067371153, -0.0172863975, -0.0405109935, 0.0007524407, 0.0303352587, 0.0227840897, -0.010003089, 0.0131829046, -0.0321869031, 0.0228396188, 0.0031290108, -0.0120322611, -0.0134734409, 0.042097766, 2.718e-7, 0.0458472669, 0.0267094392, 0.0043081576, 0.0275217593, 0.0123615488, 0.040742483, -0.0027417373, 0.0095069502, 0.0535572059, 0.0015102825, -0.0001142885, 0.002535892, 0.0425994582, 0.067643702, -0.0668947846, 0.028983878, -0.0566372834, 0.0257544629, -0.0371547006, -0.0125904661, 0.0672299936, 0.0625778809, -0.0147746336, -0.0234146286, -0.0081315041, -0.0170280412, 0.0561519004, 0.0032032006, -0.0323072337, 0.0240545776, 0.0364813991, 0.0061909962, 0.0291756, 0.0234679189, -0.0162718315, -0.0339434482, 0.0111876605, 0.0583064444, 0.0391145796, -0.048854284, 0.0227433089, -0.010052124, 0.0190606248, -0.0893957317, 0.0669656247, -0.0385855362, -0.0086088069, -0.0324018449, -0.0263848137, -0.0215348378, 0.0259390362, -0.0530843958, -0.0235690977, 0.0457539558, 0.0007788694, 0.0190606751, -0.0121082384, -0.0094034253, -0.0486519337, -0.0190840904, -0.0304219183, -0.0806580335, -0.0400839709, 0.0053138239, -0.0060672653, -0.0566452779, 0.0062360093, 2.760713227e-34, 0.0183120407, 0.0154406847, 0.0158598274, -0.0339192152, 0.0162805952, 0.002264065, -0.0040572663, 0.0193037093, 0.0107753119, -0.0559577383, -0.0522356853 ]
http://arxiv.org/abs/2312.09299v1
http://arxiv.org/pdf/2312.09299v1
Weight subcloning: direct initialization of transformers using larger pretrained ones
2023-12-14T19:08:56
2023-12-14T19:08:56
Mohammad Samragh, Mehrdad Farajtabar, Sachin Mehta, Raviteja Vemulapalli, Fartash Faghri, Devang Naik, Oncel Tuzel, Mohammad Rastegari
cs.LG
cs.LG, cs.CL, cs.CV
Training large transformer models from scratch for a target task requires lots of data and is computationally demanding. The usual practice of transfer learning overcomes this challenge by initializing the model with weights of a pretrained model of the same size and specification to increase the convergence and training speed. However, what if no pretrained model of the required size is available? In this paper, we introduce a simple yet effective technique to transfer the knowledge of a pretrained model to smaller variants. Our approach called weight subcloning expedites the training of scaled-down transformers by initializing their weights from larger pretrained models. Weight subcloning involves an operation on the pretrained model to obtain the equivalent initialized scaled-down model. It consists of two key steps: first, we introduce neuron importance ranking to decrease the embedding dimension per layer in the pretrained model. Then, we remove blocks from the transformer model to match the number of layers in the scaled-down network. The result is a network ready to undergo training, which gains significant improvements in training speed compared to random initialization. For instance, we achieve 4x faster training for vision transformers in image classification and language models designed for next token prediction.
[ -0.0015654147, 0.0694271028, 0.0177077521, 0.0388304703, 0.0292393249, 0.0116241863, 0.0355247632, -0.0216948986, -0.0237344448, 0.0013124886, -0.0528945699, -0.0266336966, -0.0319679342, 0.0258278251, 0.0322132334, -0.0524105392, -0.0026351437, 0.0212989599, -0.0776982084, -0.0292363372, -0.0289799105, -0.01177812, 0.0066547017, 0.0234169178, -0.0115640573, 0.0302282795, -0.0106905196, 0.032688316, 0.0344717018, -0.0244251546, 0.0155942915, 0.0302054044, 0.0311213974, 0.0176659673, 0.0000022303, -0.0010314401, -0.0200533811, -0.0224868301, -0.0211606808, -0.0191229377, 0.0207240842, -0.0173155628, -0.0035217342, 0.0068374751, -0.0531189516, -0.0538709126, 0.0692136288, 0.0821075141, 0.062832959, 0.0544997342, -0.0252667498, -0.0648295283, 0.0268789735, -0.0372816734, -0.0217369199, -0.0244185366, 0.0064189597, 0.0060764733, -0.0687872022, -0.0183130316, -0.021004824, 0.0157767069, 0.0305307768, 0.0260834973, 0.0433569811, 0.0348707177, -0.0186843295, 0.0021820606, -0.0203242619, 0.0563099049, -0.0647789016, -0.0249558557, -0.0375141948, -0.0118817342, -0.0062457412, -0.0099571543, -0.0313695781, -0.0046001575, 0.0523690954, 0.0437772274, -0.0606853254, 0.0417055301, 0.035782516, -0.0031858757, -0.0599698052, 0.0226397384, 0.0239254553, 0.0096824877, 0.0152508067, -0.0171820875, -0.018329883, -0.002088031, 0.0088677052, 0.0131135518, 0.0181409232, -0.0065215826, -0.037494611, -0.0505622588, -0.0413307622, -0.0143840257, 0.0391964279, 0.0267222188, -0.0107685085, 0.0267802626, -0.0675362498, 0.0473270305, -0.0496132039, 0.0381653644, -0.0573804751, -0.0000394739, -0.0600727312, 0.0021020013, -0.069924213, 0.0168999378, 0.0273169745, -0.0204938296, -0.0559229478, 0.0181507245, 0.0206966363, -0.068013221, 0.0381627716, 0.0315923728, -0.0572992228, -0.0162472967, 0.0071637519, 0.0667768344, 0.0331513137, 0.0315550081, -0.0236435942, -0.0311345179, -0.0366915092, 0.0140806185, 0.041904889, -0.0014773217, 0.0359167755, 0.0489154644, -0.0335114673, -0.0394329093, -0.0311879106, 0.0324041024, 0.0313387066, -0.0136608453, 0.0134541867, -0.0378125943, -0.0035190261, -0.0181403793, 0.0308655836, -0.0037815666, 0.0091560613, 0.0048234137, -0.0287251342, 0.0838010982, -0.0052142404, -0.0338679105, 0.0015410061, -0.0001100717, -0.033176098, 0.0004328801, 0.0243242327, 0.0635189116, -0.0270601418, -0.0483662821, 0.0094320159, 0.0318181291, 0.0229214001, -0.0100210486, -0.0075408746, -0.0591095313, -0.0311950557, -0.0139076076, 0.028645277, 0.0045580193, -0.0475976616, 0.0132387066, 0.0703473166, 0.0216434281, 0.0196058154, 0.0415211618, 0.0364493541, -0.0278670061, -0.002943384, -0.0031169776, -0.0524527952, 0.0560766533, 0.0043237638, -0.0374493934, -0.0650351346, 0.0496434495, -0.0525948368, -0.0050882432, 0.052617453, -0.0254335161, -0.0055910302, -0.0243464131, 0.0528553911, 0.0599022657, -0.0487364084, 0.1332449317, 0.0138856145, -0.0332642682, -0.008150775, -0.0683850944, -0.0335899293, -0.009559622, 0.0113236159, -0.0211299062, -0.018135719, 0.0123369526, 0.0094591659, -0.003444348, 0.0003463128, 0.0132189123, 0.0179008618, -0.057327386, -0.0383462124, 0.0377929062, -0.0014488001, 0.0034820896, -0.0068714586, -0.0135952896, 0.0302477945, -0.0183356889, -0.022185795, 0.0236011967, -0.0260437615, -0.023564104, 0.0527998023, 0.0204989333, 0.0334750861, -0.0176799484, -0.0085891197, -0.0298290756, 0.0395391434, -0.0576860309, -0.0361177064, 0.0212854724, -0.0592878796, 0.0189675633, 0.0268561561, -0.0448733792, 0.043714758, 0.0897696912, -0.0473255962, -0.0495060235, 0.0084348023, 0.0028348437, 0.028783286, -0.0233818274, 0.0276032761, -0.0072074132, 0.0281429924, -0.031377323, 0.0504014045, 0.0028187542, -0.0179913417, -0.0090440065, -0.0382241718, 0.0138954669, 0.0017433167, -0.0433228798, -0.0431836508, -0.0526973493, 0.0114119453, 0.004562099, 0.0010460139, 0.0157825015, -0.0420573466, -0.0458602794, -0.0090491641, -0.0258512255, 0.0212438703, 0.0120703476, 0.0408702567, 0.0342224985, -0.0306825954, -0.0251169205, 0.0338368267, -0.0374883339, -0.0190358106, 0.0059919935, -0.0111243483, 0.0034691279, 0.0056360243, -0.0474531837, 0.0297739916, 0.0710747316, 0.0042865211, 0.0043161199, -0.0483987145, 0.004863272, 0.0020619393, 0.0150665147, -0.0115096224, -0.0653654635, -0.0272840858, -0.0067253262, -0.0137015246, 0.0833608434, 0.0367350094, -0.0047478569, 0.0159058459, 0.0475979187, -0.0319111235, -0.0036835016, -0.0668590143, -0.0051013106, -0.0529475063, -0.033223588, -0.0177535247, 0.0771703571, -0.0475730933, -0.0078917257, -0.0530031621, -0.0029796849, -0.0043929159, 0.0053154211, 0.0085821999, 0.0009069603, -0.012911832, -0.0119088059, 0.0016947536, -0.0326266997, 0.0294678546, -0.0135650951, 0.0111739347, -0.0240168571, -0.0280373134, -0.0077874083, 0.0076923538, 0.0720754564, 0.0471494496, 0.0081047658, 0.0142754931, -0.055051364, 0.0429423414, 0.0165265091, 0.0005441949, 0.0323106423, 0.0152639318, 0.0192126762, -0.0275403019, -0.0516549572, -0.0413435586, 0.0048351204, -0.0136654628, 0.0167643279, 0.0424597897, -0.0495861396, -0.0709670559, 0.0196908135, 0.0153260883, 0.0800900757, -0.0049068895, -0.0079032155, -0.0051788506, 0.0343876928, 0.0022074049, 0.0294921026, 0.0569358952, -0.0200372338, 0.0259666461, 0.0288767926, 0.0330119319, -0.0071247942, -0.1048830077, 0.0056677316, 0.0094303163, -0.0108492048, 0.0024273535, -0.0028257822, 0.0102031678, -0.0156097524, 0.0118658738, 0.0852372274, -0.0046354854, -0.0771396905, -0.0023609046, 0.0330291204, 0.0021505402, 0.0341312587, 0.0367600657, -0.0547413118, -0.0368706696, 0.0033681432, 0.0187462755, 0.0067526726, -0.019207269, -0.0075453417, -0.0731827021, 0.0298611838, -0.0056566903, -0.021149125, -0.002046078, -0.0006223295, -0.0199544616, -0.0594243333, -0.0237870105, -0.0022258677, -0.0472928882, -0.0308909267, 0.0334483124, -0.0083442917, -0.033640217, -0.008532566, -0.0335312225, -0.0159863811, 0.0258872025, -0.0248731859, -0.0107457619, -0.0288552511, 0.0436316282, 0.0174073707, 0.0112172943, 0.0122977011, 0.0721367747, 0.021385707, -0.0437513515, -0.0029492893, 0.0339047723, -0.0171194673, -0.0212783609, -0.0558585972, 0.0362176783, 0.0196453165, -0.0363673717, 0.0292205475, -0.0248000249, -0.0014228511, 0.0244389679, 0.0095192892, -0.0346379653, 0.0036237719, 0.0129388291, 0.0201206505, -0.023845464, -0.0558100902, 0.0370335765, -0.0042605763, -0.072950922, -0.0574090444, 0.0465818644, -0.0352668241, 0.0498380847, 0.0290729851, -0.0771087408, 0.0618601181, 0.0092091803, -0.0573293939, 0.0410027355, -0.0010605126, 0.0090746693, -0.0885106176, 0.0013700083, 0.0793480054, -0.0424599424, -0.0393528901, -0.0344829075, -0.0907536298, -0.0054591703, 0.0093973288, 0.0843267888, 0.0102729732, 0.0204437226, 0.0111273695, -0.0175073743, 0.0729771703, 0.0254415795, -0.0102789458, 0.0084953569, 0.059139207, -0.1051159278, -0.0296478029, 0.0202050116, -0.0268275365, 0.1168525368, 0.038480565, -0.0213898029, -0.0406971052, -0.0001203671, 0.0016586921, 0.0046660881, 0.0542257316, 0.0240425728, 0.0473998152, -0.0314272158, 0.0566312745, 0.0339935608, 0.0137901045, -0.0781458318, -0.001177685, 0.0355462804, 0.05027638, -0.0006105502, -0.003981119, 0.0460393503, 0.0074912328, 0.0056657526, -0.0085563865, -0.0197745524, 0.0158509053, 0.014114406, 0.012892358, 0.0001455863, -0.0195857398, 0.0518543124, 0.0250837132, -0.0252965335, -0.010473676, 0.032414075, 0.0351225995, -0.0928157419, 0.0385435931, -0.073128894, -0.0382937565, -0.0507244878, -0.0350496843, 0.0391317643, -0.0230437908, 0.0352712944, 0.000895582, 0.0033228712, -0.0049914331, 0.0150469113, 0.0007503285, -0.0160509478, 0.0478819683, -0.0101187602, 0.0265928935, 0.0137161026, 0.0570235327, -0.0051206974, 0.0289693493, -0.0194710158, 0.0062192744, -0.0254934281, -0.0113723567, 0.0189328697, -0.0265705921, -0.013998393, 0.0246853735, -0.0061694225, -0.0497235581, 0.043631386, -0.0622377396, 0.0285719037, -0.0188063793, 0.0747512877, -0.0026574787, 0.0117486408, -0.0103844972, 0.0197495166, -0.0494540557, 0.0313877016, -0.0008709278, 0.028045835, -6.551502419e-33, 0.0114472797, 0.0035003319, 0.0072364244, 0.0352543257, -0.027107602, 0.026275523, -0.0051704724, -0.0345618166, -0.020250896, 0.0215983838, -0.028552454, -0.0056836149, 0.019085912, 0.0505099669, -0.0232275166, 0.0039743753, 0.0709208772, 0.0012904516, -0.0062096054, 0.0357028767, 0.0193633847, 0.0497216359, 0.0643537566, -0.0306839272, -0.1021204218, 0.0399813354, -0.0219539311, 0.0174478013, 0.0165866297, 0.0055645509, -0.0182519387, 0.008823894, 0.0250197072, -0.1031127721, -0.0186388865, 0.0019199671, -0.0578786992, 0.0039794557, -0.0584300049, 0.0350300781, -0.0211075805, 0.0158085451, 0.0356120579, 0.0071358322, -0.0064637735, -0.0421870686, 0.0469373241, -0.0150221447, -0.0238114428, -0.0393210799, -0.0485327989, 0.0079133688, 0.0243485365, -0.0339526385, 0.0390741378, 0.0403479971, -0.0023291116, 0.0123774214, -0.0644201189, 0.0057760412, 0.0247656964, 0.0233227722, 0.017889075, 0.0616072752, -0.0069077793, 0.0338525325, 0.014649312, -0.0462235995, -0.0044950936, -0.0397036038, 0.0381315537, 0.0610980093, 0.0385156274, -0.0242237169, 0.0452697277, -0.0289536081, -0.0782015547, 0.0054495661, -0.027834259, 0.0603195801, 0.0039116601, 0.0141157256, 0.0278418344, -0.0048785238, -0.0158562511, -0.0258813631, -0.0100655463, -0.0107824076, -0.0100858994, 0.0316841528, -0.0668367296, 0.0067515704, 0.0380437858, -0.0425162539, 0.0039582616, 0.0259703863, 0.0210052915, 0.0308331456, -0.0178989042, 0.0101135988, -0.0434037372, -0.0247292202, 0.0273916554, 0.0047335457, 0.0420783907, 0.0056723594, 0.0622710399, 0.0786302984, -0.0333900712, -0.0251842961, -0.0240969658, 0.0053936681, 0.0070858393, 0.1229411736, 0.0257454831, 0.0332905278, -0.0144907925, 0.0130988304, -0.0273116808, -0.0031516457, -0.0050501954, 0.0202480983, 0.0719033331, 0.0437487885, -0.0489788279, 0.0003059858, -0.0631596819, 0.0314556472, -0.0093241138, -0.0747208968, -0.0273777544, 0.0359838568, 3.029e-7, 0.0279103406, 0.0175823644, -0.010152596, -0.0371620804, 0.023299126, 0.0371927246, -0.008039589, 0.0567229427, 0.0160355456, 0.0222187266, 0.0454783477, 0.0330880359, 0.0313297249, -0.0226017963, -0.1081803069, -0.0166910086, -0.0467965864, 0.0075977659, 0.0038398139, -0.0452343971, -0.0155996475, 0.1060550362, -0.0075988034, -0.0304625612, 0.0434498265, 0.0114523331, 0.0534234531, 0.0080509549, 0.0519505776, 0.012602984, 0.0162806306, 0.0326925442, -0.0374935456, 0.0343835615, -0.0262831375, 0.0250875466, 0.0166759789, 0.0097126197, -0.0286868978, -0.0077340533, 0.0187807921, 0.0452576652, 0.0042351233, 0.0009235542, 0.018432701, -0.1029325724, -0.0266098995, -0.016513586, -0.0468534902, -0.0202258267, -0.000332062, -0.0171689726, 0.0154353734, 0.0381375886, 0.0231517609, -0.0147257447, -0.0555513836, -0.0781862959, 0.0313447304, -0.0120395692, -0.0329954512, -0.0210977234, -0.05466111, -0.0474396013, 0.057364732, -0.003017569, 0.0132511295, 2.535814066e-34, 0.0065924213, 0.0007594941, 0.022849476, 0.0164715443, -0.0225035101, -0.0091554746, 0.0243928507, -0.0058432552, -0.0026358066, -0.0799336657, -0.017763976 ]
http://arxiv.org/abs/2312.09241v1
http://arxiv.org/pdf/2312.09241v1
TinyGSM: achieving >80% on GSM8k with small language models
2023-12-14T18:58:28
2023-12-14T18:58:28
Bingbin Liu, Sebastien Bubeck, Ronen Eldan, Janardhan Kulkarni, Yuanzhi Li, Anh Nguyen, Rachel Ward, Yi Zhang
cs.LG
cs.LG, cs.CL
Small-scale models offer various computational advantages, and yet to which extent size is critical for problem-solving abilities remains an open question. Specifically for solving grade school math, the smallest model size so far required to break the 80\% barrier on the GSM8K benchmark remains to be 34B. Our work studies how high-quality datasets may be the key for small language models to acquire mathematical reasoning. We introduce \texttt{TinyGSM}, a synthetic dataset of 12.3M grade school math problems paired with Python solutions, generated fully by GPT-3.5. After finetuning on \texttt{TinyGSM}, we find that a duo of a 1.3B generation model and a 1.3B verifier model can achieve 81.5\% accuracy, outperforming existing models that are orders of magnitude larger. This also rivals the performance of the GPT-3.5 ``teacher'' model (77.4\%), from which our model's training data is generated. Our approach is simple and has two key components: 1) the high-quality dataset \texttt{TinyGSM}, 2) the use of a verifier, which selects the final outputs from multiple candidate generations.
[ -0.0086414991, 0.0937295258, -0.0166067015, 0.0295709446, -0.0282948986, 0.0003939143, 0.0182146877, 0.0286596175, -0.0325799622, -0.0183192026, 0.0227160007, -0.0200511962, -0.0194013342, 0.0327562951, 0.0123140374, -0.0450681224, 0.026325319, -0.0457618348, -0.0017006602, -0.0171439853, -0.0432804562, -0.0186210684, -0.0182390194, 0.0132738659, -0.0092603322, -0.0370036587, 0.0059449468, -0.0459298044, -0.0189958252, -0.0163987782, -0.0024667068, 0.0607353337, 0.0169962663, 0.0691265985, 0.000002334, -0.0350613594, 0.0120935114, 0.004420551, -0.0544593371, 0.0226102155, -0.0267939772, 0.007925936, -0.0361848474, 0.0285459515, -0.0581461228, -0.037885353, 0.0068890108, 0.0079037296, 0.0727295801, 0.062914446, 0.0001760072, -0.0183016472, 0.0383701026, -0.0220587067, 0.0908690393, -0.0271548163, 0.0173717793, 0.052766297, 0.0177276656, 0.0100715514, -0.0400311761, 0.0223973133, 0.044504866, 0.0248127375, -0.0389010832, 0.0267241001, -0.0359869115, 0.0332122594, 0.0117758, 0.0123154754, -0.0215574335, -0.0517342351, -0.0429679006, -0.0281852707, -0.0172891542, 0.0030326799, -0.0873530209, 0.0475061163, -0.0303358883, 0.0179302059, -0.016171081, -0.038128525, 0.017798204, -0.0162586924, -0.0063126911, 0.0606617555, 0.0112399003, -0.0132105108, -0.024266392, 0.028121097, -0.0853037164, -0.0108791608, -0.0233317427, 0.0398883149, 0.0207713097, 0.0030271022, -0.0455034673, -0.0286459401, 0.0089420239, -0.0088963099, 0.0451047085, 0.0533631258, 0.0457137115, 0.0282530095, -0.0077619818, 0.0714638233, -0.0260843113, 0.0425747447, -0.0053128521, 0.0283881426, -0.0244614966, 0.0001020494, -0.0383091979, 0.016631078, 0.0066005406, 0.0361584872, -0.0272715557, -0.0057777795, -0.0015717113, 0.0290707983, 0.0030177222, 0.0114506232, -0.02631885, -0.0279822275, -0.043052651, 0.015334174, -0.0538782515, 0.0195838995, 0.0196323413, -0.0463406779, -0.0354213044, -0.0127147259, 0.0077647814, -0.0133313704, 0.0340059474, 0.0254675448, 0.0149455788, 0.0029197871, -0.0423787571, -0.0218785368, 0.0357090421, -0.104024224, -0.002722583, -0.0999080911, 0.0205048956, 0.0351425186, -0.0039576059, -0.0402659029, 0.0082054948, 0.0086950734, 0.0049217707, 0.0197584257, 0.0187557936, 0.0077139456, -0.0025152515, 0.0187197067, -0.0153820151, 0.0543095618, 0.0598893687, -0.0173407886, 0.0311726518, -0.0506827123, 0.008340965, 0.009775619, 0.025911225, 0.0145142628, 0.0288057383, -0.0206450559, 0.0247459449, 0.0164330117, -0.0272095427, 0.0572457351, -0.0224806089, -0.0195070449, 0.0509725176, 0.0484853387, -0.0095158126, 0.0638983697, 0.0160011966, 0.0052794199, 0.0693474859, -0.0041904678, -0.0773856416, 0.0141240051, -0.0348652638, 0.0201419182, -0.0097295055, 0.0253388919, -0.0241371803, -0.0636486635, -0.0007232789, 0.0237813331, -0.0533886515, 0.0058732955, 0.0940850899, -0.0145041635, -0.0012571751, 0.028419612, 0.012145713, -0.0394073986, -0.0154905142, -0.0542675219, 0.0745634362, -0.021286726, 0.0603828318, -0.0116890473, -0.0267852712, -0.0109571116, -0.0047801789, -0.0017459071, 0.0380240902, 0.014360493, -0.0000988997, -0.0269366633, -0.0059146462, -0.0192150604, 0.0353895202, -0.0444120727, 0.0889898017, 0.0076579149, 0.0267200805, -0.0522529222, 0.0166812614, 0.0250183251, -0.0703944862, -0.0699158534, -0.0160485785, -0.0218797717, 0.0148148239, -0.028873235, 0.0145963896, -0.0041051772, 0.0165665559, -0.006708873, 0.0287820045, -0.0400656126, -0.0565217398, -0.0220546238, 0.0382217057, -0.0268377569, 0.020719612, 0.0392999984, -0.0560497269, -0.0245458558, 0.0412132107, -0.0240928456, 0.0130737815, -0.0249069724, 0.0382462405, -0.0320220143, -0.0144064194, 0.0062555787, 0.0548383854, 0.0342894159, 0.0258611236, -0.0176305175, 0.0328937098, 0.06147369, -0.0227725487, -0.0256980807, -0.0237719696, -0.0230546985, 0.0682410598, -0.023365641, 0.0126167797, -0.057072632, -0.0185719598, -0.0021836201, 0.0325569734, 0.0172305759, 0.055897329, 0.0047658994, -0.0175437871, -0.0018225954, 0.0080073886, -0.0335600302, 0.0150691895, 0.0571604557, -0.0202520322, -0.0017686985, 0.0184314307, -0.0074689067, -0.0238710493, -0.0240595844, -0.0500299148, 0.0423250496, 0.0215637889, 0.0602084324, -0.0299544353, 0.0607768483, -0.0427179374, 0.0357061327, 0.0043288101, -0.0401347615, 0.0426344834, -0.0354139879, 0.0387732647, 0.0444002599, -0.0224371683, 0.0035930753, 0.0301289633, -0.0141808921, -0.049520459, 0.0109709352, -0.0303419065, -0.0383010954, 0.0160950441, -0.0134532349, -0.0346457213, 0.0834133774, -0.0227838047, -0.034127146, -0.0493485406, 0.0930663049, 0.0148134222, 0.0368177146, -0.0227513053, 0.0326287188, 0.000815372, 0.0440948084, -0.0306057911, -0.05404469, 0.0468944795, -0.0097701317, -0.0075880438, -0.0384739265, 0.0125274984, -0.0331082344, 0.0408096351, 0.0066758231, -0.0182466917, -0.0259569567, 0.0360184647, -0.0793009028, 0.034861289, 0.0470063053, -0.038401287, 0.0427345112, -0.031780906, 0.0016217323, -0.0120461937, -0.0568852238, -0.044595845, 0.0206496436, -0.0176975839, 0.0394740887, -0.0031203947, -0.0470303409, -0.0401632041, 0.0109349862, 0.0263841543, 0.0312149432, -0.0515242219, -0.0267608054, -0.0031154968, 0.0139991594, 0.0031809756, -0.021325063, 0.0265080873, -0.0718316436, 0.0395491086, 0.0613169596, 0.0904367939, 0.0212177988, -0.0195348579, 0.0235533938, 0.0027597621, 0.0146069787, -0.0391960256, 0.0332862698, 0.0066696708, -0.1059895605, -0.0307782758, 0.0833389908, 0.0104090441, -0.0208397284, -0.0098580634, -0.0529225878, 0.0023461422, 0.0110873431, 0.0327851176, -0.0746484101, -0.0063033537, 0.0136440787, 0.0265020467, 0.0037573983, -0.0212681759, 0.005450719, -0.122302644, 0.0259557776, 0.0668308288, -0.0553797036, 0.012585748, -0.0397984982, -0.0238205474, -0.0065950695, -0.0165311359, 0.0195558183, -0.0145464456, 0.0274012759, 0.0282927621, 0.0097031305, -0.044557292, 0.0412865207, -0.0255665313, 0.0186223816, 0.0109552974, -0.0115635069, -0.0247650594, -0.0840922892, 0.0369261801, 0.0107196439, -0.0393754989, 0.0115592359, 0.0340703763, 0.0131741101, -0.0186795201, -0.009832222, 0.03841855, -0.0391065702, -0.0146913575, 0.0434374474, 0.1248419508, -0.0029664314, -0.0296147298, -0.0026094539, -0.0205813292, -0.0481859446, 0.0543412082, 0.0332456008, -0.0002009378, -0.0512240678, -0.0680867061, -0.0127988402, -0.0391560197, -0.0526111536, 0.0585802831, 0.0470848382, -0.0294321217, 0.0029851187, -0.0123501858, 0.0769059509, 0.0464715213, -0.0087204929, -0.0151323937, -0.0170848854, 0.0128552029, -0.0492695943, 0.0446601287, -0.0447535701, -0.0088811694, -0.1011101902, -0.0069994614, -0.0032081436, -0.0344383717, -0.0441145636, 0.0075305896, -0.1200278923, -0.0436546765, -0.0159651022, 0.0615193583, 0.0290918406, 0.0170867797, 0.0285804756, -0.0090281582, 0.0339210257, 0.0078879492, -0.0149308182, 0.0125330202, -0.0039577815, -0.0525222048, 0.0080963727, -0.0102127017, -0.0049326303, 0.0337429717, 0.0262752604, 0.0411969647, -0.018300578, 0.0206887592, 0.0227176361, 0.0373650156, 0.0424844846, 0.0285573788, -0.0050902432, -0.0322018079, 0.0238272361, -0.011663571, 0.0415715277, -0.0514893308, -0.0261585657, 0.0157529991, -0.0034026715, 0.0047166683, -0.0440547615, -0.0021304714, 0.0965918675, 0.0002045373, 0.0386106558, -0.0094710449, 0.0282055624, 0.0671798214, -0.0218748245, -0.017698599, -0.0234642979, 0.0060365656, 0.051321771, -0.0053804717, 0.0421690121, 0.0191297121, 0.032615222, -0.0055248016, -0.0210196916, -0.0432650261, -0.0988143384, -0.0668045878, -0.0189094562, 0.0170568563, 0.0208259821, -0.020113403, -0.0531237498, -0.0050479495, -0.0461571068, 0.0020450235, 0.0202084463, -0.020211339, 0.0050085471, 0.0441742577, 0.0284462832, -0.0004872102, 0.0596374832, 0.0178956389, 0.0482976548, 0.0104824919, 0.0097686816, -0.0380238146, -0.0210739188, -0.0184601173, 0.0201289821, 0.0333741494, 0.0077482802, -0.0613263994, -0.0845581666, -0.0683053285, 0.0266437493, 0.0047761733, -0.0279108007, 0.0262786765, 0.0630416051, -0.0407839715, -0.0143874036, 0.0288529042, -0.0009350695, -0.0452577509, -0.0141376685, -0.0006601855, -6.152059888e-33, -0.011605355, -0.0238472875, 0.0497070625, 0.0268639363, 0.0335370302, 0.0001311341, -0.0468524955, 0.0232990887, -0.0290084239, 0.0020551467, -0.0256040487, 0.0186312217, 0.0058232639, 0.0169073641, 0.0223402046, 0.0374629945, 0.036807701, -0.0307947006, -0.0474404357, 0.0457778424, 0.0148294838, -0.0173881855, 0.0814424604, -0.0448872261, -0.0224739648, -0.0083290748, -0.0068578734, 0.0108536985, -0.0937459618, 0.0770698041, -0.0038852708, 0.0628115609, 0.0257790834, -0.0425369479, 0.0046887114, -0.0242881589, -0.039721936, -0.0417707823, -0.0075535458, 0.0016387358, -0.0237585101, -0.035572838, 0.0026257378, 0.0076582902, -0.0505912229, -0.047634773, 0.0074687488, -0.0620943829, -0.0288018994, 0.0040518628, -0.0167330094, 0.0105420304, 0.0202795602, -0.0095483037, 0.0142833628, 0.0117568709, -0.0292119514, -0.0148821957, 0.0474647321, 0.0313512348, 0.0966210887, 0.0520000346, 0.0226254277, -0.0128843524, 0.0138783203, 0.041704379, 0.0354006961, -0.0211198907, -0.012702141, -0.04175964, 0.0515992604, 0.046240598, 0.0869162977, 0.0259824563, 0.0547347739, 0.0198979713, -0.0734915882, 0.0301184077, 0.0176414102, 0.0399211533, 0.0158845522, -0.0346241072, -0.0337723568, -0.0215723049, -0.0441509672, -0.0327556878, -0.0460890383, -0.0236943457, 0.0310837682, -0.0086956536, -0.016772585, 0.0018398013, 0.031012414, -0.0331007615, 0.0087456424, 0.0234053154, -0.007519776, 0.0175705086, -0.0079913279, 0.0260849036, -0.031558942, -0.0385548286, 0.0120024718, -0.0126676457, 0.0259869527, 0.0308102947, -0.0003211146, 0.0228773057, -0.0535315089, -0.0113486219, -0.0622546785, 0.0094340593, 0.055567231, -0.0068275514, 0.0214156751, -0.0160591304, 0.0178429838, 0.0287033208, -0.0338597186, -0.0275989007, -0.0024693976, 0.0236892272, -0.0171167012, 0.0394305177, -0.0052180802, -0.0255657583, -0.0473860949, -0.009618843, 0.0326422676, -0.0169734675, -0.0063377512, 0.0044303238, 2.858e-7, 0.0149451233, 0.0255573746, 0.0069786012, 0.0259941798, 0.0095724119, 0.0445695482, -0.03430048, -0.049523741, 0.0233575217, -0.0002977161, 0.0181902405, 0.0436928868, 0.0573831834, 0.0470933802, -0.0403681733, 0.0485878848, -0.0088848025, 0.0149765676, -0.0586028211, 0.0334842131, 0.0174688213, 0.0755644366, 0.0445491299, -0.0336404517, 0.009373215, -0.041399397, 0.0489604026, -0.0343845673, 0.0254862867, 0.0131821521, -0.0043830839, 0.0074275439, 0.0134889213, 0.0060930946, -0.0040797498, 0.00464166, -0.0597038455, 0.0566484891, 0.0070660971, 0.0311963409, 0.0035699778, -0.0163292624, -0.0095659988, -0.0830689073, 0.0397714674, -0.0522585548, -0.0194606222, 0.0274395235, -0.0272595156, -0.062123321, -0.0176959578, -0.0219820179, 0.0032714482, -0.0381036326, 0.0017537572, -0.011158566, 0.0206432194, -0.0263643041, 0.0087236799, 0.0127558094, -0.0417816117, -0.0904076546, -0.0309523847, 0.014397677, 0.0340508223, -0.019967841, 0.0201966688, 2.775653485e-34, 0.0424036309, -0.0264674015, 0.0535159521, 0.0279785581, 0.0108192442, -0.0159374494, 0.0411203392, 0.0006417463, 0.0346048176, -0.0495506078, -0.0339158028 ]
http://arxiv.org/abs/2312.09238v2
http://arxiv.org/pdf/2312.09238v2
Auto MC-Reward: Automated Dense Reward Design with Large Language Models for Minecraft
2023-12-14T18:58:12
2024-03-30T15:35:16
Hao Li, Xue Yang, Zhaokai Wang, Xizhou Zhu, Jie Zhou, Yu Qiao, Xiaogang Wang, Hongsheng Li, Lewei Lu, Jifeng Dai
cs.AI
cs.AI, cs.CL, cs.CV, cs.LG
Many reinforcement learning environments (e.g., Minecraft) provide only sparse rewards that indicate task completion or failure with binary values. The challenge in exploration efficiency in such environments makes it difficult for reinforcement-learning-based agents to learn complex tasks. To address this, this paper introduces an advanced learning system, named Auto MC-Reward, that leverages Large Language Models (LLMs) to automatically design dense reward functions, thereby enhancing the learning efficiency. Auto MC-Reward consists of three important components: Reward Designer, Reward Critic, and Trajectory Analyzer. Given the environment information and task descriptions, the Reward Designer first design the reward function by coding an executable Python function with predefined observation inputs. Then, our Reward Critic will be responsible for verifying the code, checking whether the code is self-consistent and free of syntax and semantic errors. Further, the Trajectory Analyzer summarizes possible failure causes and provides refinement suggestions according to collected trajectories. In the next round, Reward Designer will further refine and iterate the dense reward function based on feedback. Experiments demonstrate a significant improvement in the success rate and learning efficiency of our agents in complex tasks in Minecraft, such as obtaining diamond with the efficient ability to avoid lava, and efficiently explore trees and animals that are sparse in the plains biome.
[ 0.0081558926, 0.0467264056, -0.0129531408, 0.0128143551, 0.0024509141, -0.0153037691, -0.0566518307, -0.0004395489, -0.02912605, 0.0036864977, 0.0079427082, 0.0609867163, -0.0756267384, 0.0611119792, -0.0272488147, -0.0488900244, 0.058158014, -0.0597998425, 0.0384482592, 0.0143254669, -0.0462816991, -0.0555915572, -0.0031974537, 0.0435420796, 0.0140835932, -0.0091414712, -0.0565350056, 0.0035589191, 0.0425278917, -0.0950755775, 0.0048893355, -0.0112044765, 0.0566073731, 0.0435172878, 0.0000021476, -0.0222898275, -0.0275410637, -0.0180719867, -0.0123161664, -0.0469340906, -0.0071269325, 0.0319954082, -0.03287616, 0.0170475189, -0.0338122398, -0.0183745753, 0.0711269528, 0.0044470723, 0.0605321452, 0.036192406, 0.011259825, -0.0015285163, -0.008530397, 0.0055163824, 0.0439863503, -0.0371916592, 0.0244541243, 0.0626405403, 0.0372552387, 0.0044772811, -0.0197749417, -0.0269845687, 0.031666629, -0.0186289288, 0.0325891301, 0.0579187274, 0.0370420702, -0.0098077999, -0.0269466527, 0.0007962746, -0.0622604229, 0.0026749186, 0.0106846681, -0.0042730686, -0.0029416115, -0.0314503722, -0.0215484258, 0.092727825, -0.0281524789, 0.0069807516, 0.0207950044, 0.0131901382, -0.0014313196, 0.0292026568, -0.0327293463, 0.0853673965, -0.0221310016, -0.0360961854, -0.0270101912, 0.0182581507, -0.0000772297, -0.005049475, -0.0468798243, 0.0544892848, -0.0844616443, -0.0135235675, -0.0060986918, 0.0480530746, -0.0269316193, 0.0303200446, 0.0997421965, 0.0230478048, -0.0032565063, 0.0429882668, -0.0161753539, 0.0114419116, -0.0016869092, 0.0161358099, 0.0019615679, 0.0469888002, -0.0351827778, 0.0110318279, -0.0302453917, 0.0572672077, 0.0089734858, -0.0082038883, -0.0071916599, 0.0591406152, -0.0343483463, 0.0529228337, -0.0272051115, -0.0014672294, -0.0151370484, 0.0299326722, -0.0487848371, -0.0326109454, -0.0528436564, 0.0222206637, 0.051433865, 0.0465882756, -0.0031830727, 0.0198821425, -0.017868964, 0.0043343608, 0.011515026, 0.1014983878, 0.0300837979, -0.0418330356, -0.0569847077, -0.0417257771, 0.0352047794, -0.0198307522, -0.0076151476, -0.0764865205, -0.0509834439, -0.0360079668, 0.008828002, 0.0161502175, 0.0241337493, -0.0237259064, 0.0103889285, 0.0537040643, 0.0197322331, 0.0175595023, 0.0085198339, 0.0064027747, 0.0137185333, 0.0548874736, 0.0466621369, 0.0844559968, -0.0069535268, 0.0046842024, 0.0103411162, -0.0158147402, -0.0242527947, -0.0002943711, 0.0018388154, -0.0270294603, -0.0009891597, 0.0606507882, 0.0024523325, 0.0264287274, -0.0549474098, 0.0620225556, 0.0372884236, 0.0340055078, 0.0309210215, -0.0142426742, 0.0689040497, -0.0130163068, -0.0177753717, -0.0650978908, -0.0260066055, 0.0324108675, 0.0016478942, -0.0259753037, 0.0043861796, 0.0168727748, -0.0076536559, -0.0967181548, 0.0161119197, -0.0227915589, 0.0684505403, 0.0116776042, 0.0439626165, -0.0322450474, -0.0579906106, -0.0777753592, 0.0120804803, -0.0183059052, -0.0113090547, -0.0497695096, 0.0847780332, 0.071391426, 0.0110664656, -0.0666412041, 0.0015382506, -0.0264821202, -0.0473899841, 0.0157464333, -0.0235379767, -0.0353406854, 0.0106383488, 0.0013781721, -0.0677678958, -0.024026474, 0.021522712, 0.0692054629, 0.0441456512, -0.0133964084, -0.0166227967, 0.0174274594, -0.0384485871, 0.0440462828, 0.0244615339, -0.0479352549, 0.0141888401, -0.018198017, 0.0308595579, -0.0278565232, -0.0057992619, -0.0112470044, 0.0537453033, 0.0027764174, -0.029744707, 0.0063807708, -0.0272421539, -0.0145287067, 0.0340989642, -0.0087775458, 0.0370739475, 0.0194727778, 0.0045455489, -0.0349085182, 0.0082456125, -0.0534062162, 0.0517478213, 0.0294167865, 0.0435854085, -0.0313987955, -0.0300349351, -0.059057083, 0.0389565676, 0.0108400136, -0.0155024547, -0.0467496105, -0.0104088224, 0.024522515, -0.0537556745, -0.0156233488, 0.0075861514, -0.0243314244, 0.0325638689, 0.0720040277, 0.0201374311, -0.0274940953, -0.0247091893, 0.0085182367, -0.005756313, -0.0118793435, 0.0222245678, 0.0141507201, -0.0152786979, 0.0092392778, -0.0003385517, 0.0200140048, 0.0201401878, 0.0228710957, -0.0043809586, 0.0264158305, 0.0237813052, 0.0040779663, -0.035268154, -0.024887979, -0.024966795, -0.0071434639, -0.0034413068, 0.0618615784, -0.0699238926, 0.0373244993, 0.0093965232, 0.0042626727, -0.0253104363, -0.0549698733, 0.0547000542, -0.0460382514, 0.0308719967, 0.0816824362, 0.0070514283, 0.078365311, 0.0731745511, -0.0168914367, -0.0470958948, 0.0170920249, -0.0083557479, -0.0486693718, -0.0033360096, 0.0025934933, 0.0369940661, 0.0798005983, -0.0531211495, 0.0006517268, -0.0565138422, 0.0263102129, -0.0089034028, -0.0302117858, 0.0230337363, -0.0058453535, -0.0023183499, 0.0085667111, -0.0226037223, -0.0501210392, 0.1018109694, 0.0228997804, -0.0157367662, -0.0015023791, -0.0357253961, -0.0277302936, 0.0341672301, 0.017913077, 0.016524069, 0.0038081701, -0.0312682688, -0.0125736231, -0.0595147088, 0.0216198433, -0.0131668886, -0.0086160852, -0.0605344661, -0.009728116, 0.0452183262, -0.0393243097, -0.0485991761, 0.011009275, 0.0037231576, 0.0205101725, -0.0217590202, -0.0353226177, -0.0378911681, -0.0061456678, 0.0667840242, -0.0087616649, -0.0117293559, -0.0277885217, -0.0303266253, -0.0536603257, 0.0579506457, 0.0195173807, 0.0126265977, -0.0513983928, 0.0600040704, 0.0328851193, 0.0000307114, -0.0176474974, -0.0535417013, 0.0374379233, 0.0086150784, -0.0463217534, 0.0041945204, 0.0670691878, 0.0505324714, -0.0723074749, -0.0578504317, 0.0604884326, 0.0199509319, -0.0236180406, 0.022344131, -0.0665903017, 0.035428416, 0.017274607, 0.0303436797, -0.020894561, 0.0021761991, -0.0326013714, 0.032160271, -0.0125055006, -0.0074909227, 0.0896991715, -0.1075342149, 0.0138012404, 0.013174572, -0.0254717954, -0.0166501198, -0.0408006981, -0.0418483764, -0.0212726519, -0.0624646358, 0.0292732492, 0.0110848173, -0.0036343753, 0.0396405496, 0.0333821438, -0.0097848773, 0.0257289689, -0.0577864312, 0.064804025, 0.1076454148, -0.0021177556, -0.0515639186, 0.01654776, -0.0536659993, 0.056825418, 0.000078818, -0.0157637037, -0.0074056718, 0.0258113649, -0.0006842754, 0.0423433073, 0.0076739648, -0.0023371615, -0.0258365944, 0.0131939631, 0.0847137496, -0.0270180926, -0.0077332184, -0.0353911929, -0.0218747742, 0.046454519, 0.0288528074, -0.0583364032, -0.0072159488, -0.0804705024, -0.0468439795, -0.0650821477, -0.055197563, -0.0243279953, -0.0068241167, -0.0204945449, 0.023640167, -0.0724762976, -0.0477161445, 0.023701366, 0.0421084277, -0.006055444, -0.0350768268, -0.0146442968, 0.0227357596, -0.0501695685, 0.0172652286, 0.0007333872, 0.0301852357, -0.0756730139, -0.0125066657, 0.0087405443, -0.0449785143, 0.0223406274, -0.0089591844, -0.0208857488, -0.0448925756, 0.0085411211, 0.0878700763, 0.0140130986, 0.0122957667, -0.0062133111, -0.0133677917, 0.0205995943, 0.0069874241, -0.020343909, -0.0118108634, 0.0296204928, 0.0502619296, 0.0145090586, -0.0231245272, -0.043165572, 0.0284036715, 0.0125254942, 0.054343909, -0.0187065993, -0.0060911477, 0.0221599899, -0.0222132932, 0.0540526249, 0.0038009691, -0.0215831827, 0.0270725917, -0.0279340353, -0.007947051, -0.0102745714, -0.0484126732, 0.0400968753, 0.0246358197, -0.011465366, 0.0346821696, -0.0143916998, 0.0110445032, -0.0090904161, -0.0350256972, 0.0604406074, -0.0178252831, -0.0039332695, 0.0241134129, 0.0184164643, 0.016230505, -0.0180671513, 0.0241357237, 0.0572587587, 0.0230515953, 0.021409167, 0.0308028776, 0.0143726664, -0.049879536, 0.0015977194, -0.0231149457, -0.0260874871, 0.0194327328, 0.0209423825, 0.0916859657, -0.0005921918, 0.0104138125, -0.0597627088, 0.0227948204, -0.0116081974, -0.0318635069, 0.004431386, -0.0354537927, 0.035239365, 0.0658133402, -0.0078649959, -0.0547812916, 0.0120817618, 0.0695416406, 0.0728470981, -0.043218717, -0.0009528741, -0.039473772, 0.0357037894, 0.0432163142, 0.0278219786, -0.0483829193, 0.0196421482, -0.0069481172, -0.0178789478, -0.0319890156, 0.0976532474, 0.0432828404, -0.0292074587, 0.0228069387, 0.0126490807, -0.0215668846, -0.0343264714, -0.0574670397, -0.0224406961, -0.0030394213, 0.0051193666, -0.0722619966, -5.652416014e-33, -0.0213766489, -0.0326424874, 0.0732765868, 0.0117465751, -0.0256604739, -0.034452498, -0.0471623465, 0.01056924, 0.0100378189, 0.0196191482, 0.0097976942, -0.0185275357, -0.0048042596, 0.0103491014, 0.0738041177, 0.0091100996, 0.0245640147, 0.0447251908, -0.0591411516, 0.0006489581, 0.0219460316, -0.0016465666, 0.0309867337, -0.0494284071, -0.0066738301, 0.0517088883, -0.0259027351, 0.0098454058, -0.0183511134, 0.0370056517, 0.0124078337, -0.0044687977, -0.016678419, -0.0319166146, -0.0275969617, -0.0309360214, -0.0593831055, -0.027433306, -0.0430552661, -0.023587957, -0.0263588466, -0.0539583713, 0.0129555212, -0.0184400883, -0.003207223, 0.0375457108, 0.0377550758, -0.0161436908, -0.0268586967, 0.0030778386, -0.0636790469, 0.0149957128, -0.0244969036, -0.0518963896, 0.0352937095, -0.0036899056, -0.0075416882, 0.0164453369, 0.005776694, 0.0743773431, 0.0061649815, 0.0242949035, 0.0048119831, 0.0573611222, 0.030748317, 0.0179443862, -0.0076288623, 0.0227939747, -0.0225216951, 0.0303581227, 0.0161198974, 0.0488664806, 0.0130160451, 0.0130556095, 0.0203789417, 0.016375808, -0.030170409, 0.0636241436, -0.0111093018, 0.0822212175, 0.0136818802, 0.046563372, -0.0161372349, -0.0084128771, -0.0246386677, 0.0375071727, 0.0188065842, -0.0225747991, 0.017532913, 0.0184445679, -0.0294891931, -0.0464934185, 0.0230907351, -0.0450539254, -0.0081648035, -0.0102413492, -0.0408504531, 0.0178820733, -0.0231670253, -0.0026578119, -0.0409777351, -0.0912693068, -0.0106598362, -0.0311176367, 0.0160412509, 0.0411157049, -0.0510061346, 0.0727108791, -0.0315846726, 0.0058780811, -0.0290947743, -0.0391700193, 0.0002071298, -0.0161938127, 0.0272683762, -0.0528613329, -0.0052907565, 0.0250015873, 0.0044648172, -0.0630799979, -0.0392773598, -0.0114706159, -0.0438043177, 0.0272286665, -0.0171118584, -0.0093109002, -0.1043229699, 0.0272990167, -0.0164380707, -0.0204043239, 0.0028222925, 0.0102347573, 2.973e-7, -0.0342819318, 0.0707171857, -0.0124049056, -0.0083748903, -0.0063215056, 0.0607626624, -0.0263493918, -0.0173406173, -0.0110416478, 0.0315733887, 0.0270232987, 0.0276465509, -0.000480553, -0.0177829806, -0.0211635772, 0.0209025759, -0.0117995208, -0.0121787768, -0.0556597933, 0.0013369553, 0.0073067984, 0.0226417761, 0.0314036831, 0.0260388944, 0.0439262427, -0.0210102331, 0.0095465798, -0.0136132389, 0.0235692989, 0.0089705614, -0.0250535905, 0.0308435075, -0.0144164134, -0.056312006, -0.0015537249, 0.0240460355, -0.0396362543, 0.0582415983, -0.0088109644, 0.0349799916, -0.002173481, -0.0177015346, 0.0380158238, -0.027826095, -0.0152125591, -0.0312038679, -0.0102582378, -0.0413062349, 0.0191271398, -0.0032837244, -0.0255375057, -0.0121420883, -0.0225749947, -0.0614105351, -0.0297782496, 0.025205683, -0.0114240581, -0.0529376753, -0.0056767687, 0.0300399009, -0.030691959, -0.0239212215, -0.0532594211, 0.027138669, 0.0021778862, -0.0526833199, -0.0216229036, 2.553435461e-34, -0.0060311588, -0.0364322923, 0.0106624644, -0.0071635628, 0.0282829124, 0.0579059087, -0.0167852174, 0.0238354541, 0.0633963495, 0.0249953661, -0.0010515524 ]
http://arxiv.org/abs/2312.09230v1
http://arxiv.org/pdf/2312.09230v1
Successor Heads: Recurring, Interpretable Attention Heads In The Wild
2023-12-14T18:55:47
2023-12-14T18:55:47
Rhys Gould, Euan Ong, George Ogden, Arthur Conmy
cs.LG
cs.LG, cs.AI, cs.CL
In this work we present successor heads: attention heads that increment tokens with a natural ordering, such as numbers, months, and days. For example, successor heads increment 'Monday' into 'Tuesday'. We explain the successor head behavior with an approach rooted in mechanistic interpretability, the field that aims to explain how models complete tasks in human-understandable terms. Existing research in this area has found interpretable language model components in small toy models. However, results in toy models have not yet led to insights that explain the internals of frontier models and little is currently understood about the internal operations of large language models. In this paper, we analyze the behavior of successor heads in large language models (LLMs) and find that they implement abstract representations that are common to different architectures. They form in LLMs with as few as 31 million parameters, and at least as many as 12 billion parameters, such as GPT-2, Pythia, and Llama-2. We find a set of 'mod-10 features' that underlie how successor heads increment in LLMs across different architectures and sizes. We perform vector arithmetic with these features to edit head behavior and provide insights into numeric representations within LLMs. Additionally, we study the behavior of successor heads on natural language data, identifying interpretable polysemanticity in a Pythia successor head.
[ 0.0352563038, 0.071343638, -0.0352395885, 0.035006281, -0.0111720851, 0.0027429832, -0.0136548812, -0.0133200074, 0.0092745125, -0.0011990698, -0.0024496564, -0.0568218455, 0.0101535032, 0.0301054809, 0.0242186319, -0.0565128699, 0.0689965487, -0.0517039821, -0.0167073254, 0.0100043751, -0.0318681411, -0.0207591038, 0.0223552063, 0.0335624255, 0.0257386379, -0.0234352108, -0.0375202633, -0.0285749286, 0.0081911571, -0.0067059328, -0.0460212044, 0.0156080015, 0.0309846364, 0.1002580971, 0.0000021555, -0.0388401039, -0.0081419852, -0.0017917125, -0.0615419485, 0.04423007, 0.0236543156, -0.008455433, -0.0470027514, -0.0265231803, 0.0053031687, 0.0083864657, 0.0666153878, 0.0072946907, 0.04180279, 0.0470439084, 0.0153255928, -0.041572839, 0.0404100344, -0.0348187573, 0.0408834592, -0.0256016888, -0.0000972412, -0.0118782027, -0.0066074454, 0.0202238858, -0.0421318784, 0.0078893723, 0.0557740256, 0.0027771604, 0.0124553796, 0.0336274207, 0.0066427845, -0.0145901954, 0.0004682023, 0.0283981655, -0.0174766015, -0.040287897, 0.0128421113, 0.0058301417, -0.002818875, -0.0440229625, -0.0649025589, 0.0302329976, 0.0278032571, 0.0041483673, 0.070125863, 0.0059374855, 0.0386069044, -0.0264699087, -0.0534151793, 0.0613655373, 0.0203948542, 0.0022262887, -0.0302193314, -0.0304275043, 0.0020034562, -0.0335011594, 0.0154241128, 0.0513677336, -0.0015895999, 0.04168313, -0.0145536205, -0.0025589052, 0.0022735002, -0.0868705288, 0.06664709, 0.0492499806, -0.02602534, 0.0597950295, -0.0145931598, 0.0252413843, -0.0639071688, 0.0157906432, -0.036653772, 0.0275579765, -0.0206340905, -0.0305174645, -0.0041999184, 0.0280920714, 0.0222634804, -0.0204274859, -0.0200291332, 0.0574801117, 0.0070359656, -0.0038180123, 0.0169956274, -0.0328544155, -0.0052430411, -0.0150396312, -0.0296859536, 0.0320681594, -0.0617745444, -0.0458896458, -0.0098660244, -0.0567798056, -0.0303727258, -0.0132022044, -0.0235697273, -0.0138621768, -0.0290970877, 0.0908916667, -0.010470666, -0.0177826099, -0.0258585401, -0.0407912955, 0.0036191479, -0.0548587069, 0.0109361699, -0.0448472649, -0.0063740257, 0.0272459053, -0.0202612933, -0.0107052587, 0.0156726148, -0.0073573487, -0.0418881103, 0.0293975826, -0.0071433117, 0.0296175294, -0.0274525248, -0.010447301, 0.0044280309, 0.0672126934, 0.0376178622, 0.0267240051, 0.0313804299, -0.0269821081, -0.0147095146, 0.0339567438, 0.0145823965, -0.0056592305, -0.0242088884, -0.0112094656, 0.006677018, 0.0241860095, 0.0325063057, 0.0137941139, -0.0084478948, -0.0298958123, 0.0463049151, 0.0305578373, 0.0058379034, 0.0440683924, 0.0406486094, -0.0449721552, 0.0100889765, 0.0045028692, -0.0868140906, 0.0365762524, -0.0196095519, 0.0105927112, -0.0186689161, 0.0017270556, -0.0084668025, -0.043247588, 0.0059354147, 0.0321646631, 0.0034986592, -0.0138775241, 0.0445662849, -0.0182437189, -0.0093372557, 0.0418782309, -0.0019542663, -0.042852059, 0.0046080118, -0.0695980787, 0.0460760519, 0.0795033574, 0.0361765139, -0.0433930308, -0.0232068896, 0.0287558455, 0.0084060691, 0.0380068384, 0.0328241736, -0.0013164509, 0.0048341737, -0.0153598143, 0.0053293183, 0.0177968703, 0.0263138246, 0.0536867417, -0.0561610162, -0.0203965753, 0.0095494101, -0.0205962416, -0.0279501304, 0.0167180784, -0.0415971465, -0.0157791246, -0.0341848396, 0.0012513937, -0.0124647198, 0.0056203557, 0.0125340931, 0.0363198221, 0.0648587868, -0.0297161471, 0.031630151, 0.0375552177, -0.0429717824, 0.0170203838, 0.0137581807, 0.0210693628, 0.0020199025, 0.0308582839, -0.0093682958, -0.0445149578, 0.0752705857, -0.0688306019, 0.1156581044, -0.0118701179, 0.03640645, -0.0198686942, -0.0080291824, -0.0016872931, 0.0755406544, -0.0518434905, -0.0067610689, 0.0471624322, -0.0321677253, 0.0143785728, -0.0440049581, -0.0111747645, 0.0390523151, 0.0105520152, 0.0057000103, 0.0215267614, -0.0452842936, -0.037873432, -0.03704983, -0.0395460054, -0.0155300833, -0.0329698958, 0.0625396371, 0.0503292941, -0.024938358, 0.0210785866, -0.0271566063, -0.0080829868, 0.016514672, -0.0193467084, 0.0448538624, 0.0374623761, -0.0206495188, -0.0650319904, -0.0302289948, -0.0521365888, -0.0488959178, 0.0484402515, -0.0207143631, 0.0001746156, -0.099790886, -0.0319181494, -0.0092556663, 0.0168281831, -0.0226178188, -0.0226030033, 0.0398458429, -0.0368409976, 0.0309891142, 0.0740024373, 0.004200696, 0.0754609182, 0.0501776859, -0.017509209, -0.0234440807, -0.0216172189, -0.0224079657, -0.0112067321, -0.020181179, -0.0407281592, -0.0399762765, 0.1012440175, -0.0079600429, 0.0040968857, -0.0584508032, 0.0598766953, 0.0035836594, -0.025974147, -0.0082287369, 0.0287659187, -0.0317791179, 0.0658842325, -0.0132644046, -0.0556611232, 0.0454570279, 0.0095692948, -0.0206527207, 0.0070865997, 0.026756471, -0.0326237902, 0.1140629426, 0.0537120663, 0.0327553339, 0.0343034156, -0.0628966168, -0.050916072, 0.0422892272, -0.0150947236, -0.0317319334, 0.061429549, -0.0339826271, -0.0149204656, -0.0034323428, 0.0130114779, -0.0430220328, 0.0228901934, -0.0159497242, 0.0256759077, 0.0141959684, -0.0273254868, -0.0671315342, 0.015415092, 0.0608560257, 0.0205862019, -0.0206999723, -0.0033885653, -0.0420424752, -0.0118349232, 0.0324895047, 0.0531479605, 0.0379289463, -0.0381178819, 0.0045748451, 0.0358454473, 0.0398226008, -0.0102192769, -0.0215309989, 0.0262986422, 0.0146082602, -0.0617111884, -0.0289857723, 0.0340214595, 0.0313189514, -0.0995444432, -0.0214809626, 0.09129522, 0.0231021866, -0.0113162016, 0.0520229079, -0.0612343028, 0.0265505314, 0.0473486036, 0.0250344984, -0.0526339523, -0.0126074487, -0.0021041585, -0.0070806067, -0.0174275823, -0.0357095487, -0.003131215, -0.0854928344, 0.010732457, 0.0285838656, -0.0698983222, -0.0085137961, 0.0025616046, -0.0119126542, -0.0158371329, -0.0033131172, 0.0735270381, -0.0278015621, 0.0208981764, -0.018284142, -0.0118046319, 0.0216558557, 0.0340259857, 0.0172585025, 0.051392518, 0.0885653198, 0.0000374057, -0.0220849942, -0.0530343354, -0.0162068736, -0.0265065487, 0.016443247, 0.0054097306, 0.0109211076, 0.0371782109, -0.0425315276, -0.0333563946, -0.0071997708, -0.0151710464, 0.006193676, -0.0311079044, 0.0865119398, -0.0108738746, -0.0424924865, -0.0271437671, -0.0193824507, -0.0289686657, 0.055888515, 0.0543666631, -0.036276985, -0.0447763503, -0.0398026146, 0.0174976345, -0.0096198628, -0.0625326335, -0.0048506334, 0.0221911818, -0.0454107523, -0.0559356026, -0.0157584623, -0.0095795998, 0.0122389104, 0.025978433, -0.0231749136, 0.0316451676, -0.0293501318, -0.0683116168, -0.0149424579, -0.0093217753, 0.0133586926, -0.0994088426, -0.0335827619, 0.0206969529, -0.0204842798, -0.0332576148, 0.0365259983, -0.0481329523, -0.0538712703, 0.027252825, 0.0663981363, 0.0388647728, -0.0026922412, -0.0027652795, -0.0175658092, -0.0298354384, 0.000620811, 0.0140783293, 0.0308563206, 0.024572622, 0.0159275793, -0.0052563492, 0.0537599511, -0.0245527606, 0.0326351561, -0.0027050795, 0.0449901968, -0.0280687045, 0.009187364, 0.0307516642, 0.0121758403, 0.011999269, 0.0260696989, 0.0101389922, 0.0090824291, 0.0257433914, -0.0339356139, 0.014123668, -0.0412964411, 0.0177613012, 0.0029965609, 0.0065173795, -0.0115595227, -0.0109397881, 0.0044754352, 0.0270518493, -0.0259105731, -0.0002396633, -0.0413352437, 0.0425364822, -0.0127946027, -0.002855001, -0.0131475665, 0.0284332745, -0.0391608253, 0.0651767924, -0.0119341668, 0.0449856631, 0.0121691851, -0.0176019054, -0.0511152148, 0.0513178483, -0.0769168213, -0.076720506, 0.0182571542, -0.0048830002, 0.0300173778, -0.0016792947, 0.0555954501, -0.022264285, 0.0117916148, -0.012850116, 0.013476707, 0.0296893343, -0.0327852145, -0.0213497374, 0.0404342636, 0.0008018342, -0.0561176948, 0.0457543954, -0.0155393416, 0.0216556359, 0.0083378982, 0.0143667022, -0.0052732308, -0.0366402306, -0.0079541532, 0.0240731481, -0.0241512284, -0.0095373848, -0.0879148766, -0.0418300256, -0.0148967747, 0.0104615195, -0.0014691958, -0.0496347994, 0.0009023374, 0.0211182572, 0.0029523002, -0.0471070297, -0.0292170849, 0.0322270319, -0.0191337597, -0.0077929231, 0.0012345366, -6.744225452e-33, -0.024801543, -0.0007495536, -0.0030540926, -0.0357250534, -0.0317624919, -0.0103096198, -0.0761099383, 0.016204901, -0.0248168372, -0.0308768433, -0.0083927214, -0.0112850498, 0.0053649563, -0.000319755, 0.0526686423, -0.009421343, 0.0240417346, 0.009765828, -0.031283617, 0.0450761691, 0.0756042972, 0.0099490546, 0.1221121475, -0.0105717592, 0.0299391709, 0.0102505898, 0.0293271299, 0.0224091951, -0.0207258072, 0.0483611897, -0.013761756, 0.0012083394, 0.0248725712, -0.0912480429, -0.0437993035, 0.0017419257, -0.0427177474, -0.0457228534, 0.0382428877, 0.0036217964, -0.0353145152, -0.042344749, 0.0439027622, -0.0191169512, -0.0078547904, -0.0008710715, 0.0173906237, -0.0451834574, -0.0309056416, 0.0756680667, -0.0736068338, 0.0113216694, -0.003053963, 0.0040701977, 0.0143015245, -0.0186872687, -0.0122247674, -0.002683392, -0.0520027988, 0.021692792, 0.0407387353, 0.0674019083, 0.0457561091, 0.0379503444, 0.027897194, 0.0439982563, 0.076111652, 0.0393522382, -0.0565584786, 0.0359889939, 0.0345678739, 0.0536748841, 0.0313078314, -0.0395637751, 0.0678011701, 0.0153104449, -0.0140451631, -0.0355333723, 0.0566929579, 0.0525521822, 0.0362734012, 0.0165933482, -0.0326414257, 0.0022519045, -0.0136825079, -0.0376178473, -0.0391267277, -0.0453847274, 0.0043599433, -0.0277158432, -0.0215461478, 0.0225599222, 0.0251105763, -0.0334161632, -0.0182443894, 0.0366769657, -0.00245153, 0.038571123, 0.0177555978, 0.0145349624, -0.0355838574, -0.0302762613, -0.0172809176, 0.0002605436, 0.0244894233, 0.0304291174, -0.0238082483, 0.0450866111, -0.0492793582, -0.0194882322, -0.0417043976, -0.0361549594, -0.0174085442, -0.0029898696, 0.047137402, -0.0254881568, -0.0049255583, 0.0141040459, 0.0061448286, -0.0075590783, -0.0431096964, 0.0489644408, -0.0027950325, 0.0398053378, -0.018335605, -0.0362310857, -0.0660628006, 0.0576852821, 0.050684955, -0.0477579795, -0.0081729339, 0.011731741, 2.974e-7, 0.0223065335, 0.0582014881, 0.0098562418, 0.0473747142, 0.073434785, 0.0242213439, -0.0176360048, 0.0572355874, -0.0148986252, -0.046538014, 0.0106796138, -0.0044101244, 0.0134028764, -0.0189189464, -0.0291744601, -0.002286081, -0.0436600298, 0.0272369757, -0.0340166576, 0.0086168917, 0.0261721145, 0.0997828245, 0.0294015445, 0.0097106416, 0.0337130018, 0.0071049468, 0.0328926891, -0.0207937583, 0.0456767678, -0.0190731753, -0.0142838517, 0.0190351158, -0.0334199071, -0.0119271018, 0.0080280155, 0.0276447348, -0.0189509988, 0.087502256, -0.0364879631, 0.0361001603, 0.0016894686, -0.0427530408, 0.0001446897, -0.0478038639, 0.0511750802, -0.0359344184, -0.0544491969, -0.0361684412, 0.0197546687, 0.0091435472, -0.0337792337, 0.0143176075, -0.0129239215, 0.0154106468, -0.0106487367, -0.0298148915, -0.0033443784, -0.0682281852, -0.0280188583, -0.0039279875, -0.041357521, -0.0578749031, -0.0912487283, -0.0215338189, 0.0194044467, -0.0623170994, -0.0278031435, 2.874203074e-34, 0.052097667, -0.0134708639, 0.0120122461, 0.0409329459, 0.017056305, -0.0209805891, 0.0523370355, 0.0252450723, 0.0445058011, -0.0754952729, -0.0473825894 ]
http://arxiv.org/abs/2312.09211v3
http://arxiv.org/pdf/2312.09211v3
Mitigating Outlier Activations in Low-Precision Fine-Tuning of Language Models
2023-12-14T18:41:32
2024-01-13T13:52:16
Alireza Ghaffari, Justin Yu, Mahsa Ghazvini Nejad, Masoud Asgharian, Boxing Chen, Vahid Partovi Nia
cs.CL
cs.CL
Low-precision fine-tuning of language models has gained prominence as a cost-effective and energy-efficient approach to deploying large-scale models in various applications. However, this approach is susceptible to the existence of outlier values in activation. The outlier values in the activation can negatively affect the performance of fine-tuning language models in the low-precision regime since they affect the scaling factor and thus make representing smaller values harder. This paper investigates techniques for mitigating outlier activation in low-precision integer fine-tuning of the language models. Our proposed novel approach enables us to represent the outlier activation values in 8-bit integers instead of floating-point (FP16) values. The benefit of using integers for outlier values is that it enables us to use operator tiling to avoid performing 16-bit integer matrix multiplication to address this problem effectively. We provide theoretical analysis and supporting experiments to demonstrate the effectiveness of our approach in improving the robustness and performance of low-precision fine-tuned language models.
[ -0.0301454421, 0.0178219564, -0.0190101843, 0.0465441197, -0.0191619098, -0.0025381122, 0.0259449985, 0.0096409516, -0.0584956184, -0.0435904823, 0.0053711855, -0.0332501903, 0.0087633105, 0.0239296351, 0.011469949, 0.011160735, 0.0648030937, -0.0548055358, -0.0077739619, -0.01812906, -0.0243268311, -0.0107959174, 0.029790232, 0.0203998443, 0.0281636901, -0.026880566, 0.0276992302, 0.0154352039, 0.0097300718, 0.0153971314, -0.0150073674, 0.031287536, 0.0317078419, 0.0320929661, 0.000002037, -0.0031729925, -0.0278367866, 0.0345416255, 0.0005314311, 0.0953022689, 0.0692768618, -0.0320921838, -0.0454050377, 0.0448224023, 0.0247501228, -0.0095640216, 0.0602086745, -0.0139185945, -0.0084323073, 0.0499479435, 0.0028687052, -0.0011586989, 0.0001800187, 0.0302752052, -0.0413439982, 0.0019332403, 0.0303320959, 0.0420935154, -0.0182813238, 0.0169733111, -0.0225914977, -0.0547792986, -0.0159678534, -0.0162807945, -0.0473583601, 0.0011163505, 0.0066414452, -0.0061571198, -0.0001440969, 0.0194760058, -0.0819305032, -0.0525779501, 0.0056760898, -0.0432850607, -0.0247379839, -0.0618619956, -0.0535446964, 0.0047198972, 0.0488939099, 0.0250255913, 0.0148645481, -0.0118570291, 0.016411148, 0.0019686206, -0.0358690806, 0.0548533387, 0.0201647971, 0.0202746578, -0.0595543347, -0.061223451, -0.0751502886, -0.0236512069, 0.0087201446, 0.0220427569, -0.0338725373, 0.0045801969, -0.0871291608, -0.0469827242, 0.0500235222, -0.0957113355, 0.064725332, 0.094699882, -0.0213271268, 0.0114460727, -0.019703839, 0.0462861992, -0.056785915, 0.0209670085, 0.0044037094, 0.0178946294, 0.0696311742, 0.0192693826, -0.0292114299, 0.0114685325, -0.0588033497, 0.0092455847, -0.0366795808, 0.0427585505, 0.0151415421, 0.0233098455, -0.0423698872, -0.0378415585, -0.0035077019, -0.0588428155, 0.0289170928, 0.0134670557, -0.0442802496, -0.0385073498, -0.0370241664, -0.0762048662, -0.0217484981, 0.0088457409, -0.0018115403, -0.0348310247, 0.0293893572, 0.031401474, 0.0424545445, -0.0069500101, -0.0097043924, -0.027814813, -0.0014633203, -0.0243461393, -0.0332616046, -0.0786997527, -0.046693176, 0.0368849412, -0.0166488793, -0.024746228, 0.0171207339, 0.0323659964, -0.0179788712, 0.0328887217, -0.0535021983, 0.0173114333, -0.0250502173, -0.0331409127, 0.0468745306, 0.0828377232, 0.0364960581, -0.0299344938, 0.0356011316, -0.0223805774, 0.021800302, 0.0305914339, 0.022629004, 0.0107986853, -0.0550303347, -0.001897212, 0.0323343799, -0.0037489526, 0.0369672403, 0.0630991459, -0.0148092657, -0.0389758572, 0.0315008163, -0.0144487834, -0.0413426273, 0.0629685298, -0.028829772, -0.0168195125, -0.0236371905, -0.0268886127, -0.016564656, 0.0171349905, -0.004921197, -0.0053784903, 0.043498572, 0.0979960859, -0.0203271583, -0.0061301161, -0.0523027293, -0.0010776822, 0.0248287674, -0.0073473444, 0.0435338691, -0.0464481376, -0.0438199937, 0.0424085595, 0.0246073455, -0.0217908174, -0.0248307455, -0.0762260333, -0.0329986811, 0.0291424114, 0.0399218313, -0.0159840267, 0.0205081627, -0.0051794904, -0.0005653131, 0.003219923, 0.0401562341, 0.0273424927, -0.0220209025, -0.0564278699, 0.0212969985, 0.0072809397, 0.0249055885, -0.0017367565, 0.0054118871, 0.0227900017, 0.0218851212, -0.0548528582, -0.0628592595, 0.0023026408, 0.0460933745, -0.0279385913, 0.0160579272, -0.0067820456, -0.0234518833, 0.0107006775, 0.0020585195, 0.0043934057, 0.0271117911, 0.0061594481, 0.0069361515, -0.0491184071, -0.0230485871, 0.0729073808, 0.0754030645, 0.0209151227, 0.0467392653, 0.0407030284, -0.0165773574, -0.0158840325, 0.0733479783, -0.0080423607, 0.0290194787, -0.0204578135, 0.0530186668, -0.0618226789, 0.0304767787, -0.015643226, 0.0121873915, -0.0195893962, 0.0418933183, -0.0129238227, 0.0142905079, 0.0380019881, -0.0005874686, -0.0432251878, -0.002806158, 0.0057345019, 0.0498979129, 0.0220924728, -0.022157874, 0.0192254297, -0.0121070668, -0.0525253937, -0.0042336727, -0.0372367315, 0.0134635689, 0.0471012928, 0.0297340862, 0.017843565, -0.0020645235, 0.0017020578, 0.0026376534, 0.0079728737, 0.0256490912, 0.0246509332, -0.0204254799, -0.0620542355, -0.0018995844, -0.0473788679, -0.0165511034, 0.0338583849, -0.0340491347, -0.00269001, -0.1012122333, 0.0044768741, -0.0126446122, 0.0634896159, -0.0207829084, -0.0556380935, -0.0103280786, -0.0141838975, 0.0155488933, 0.0305740722, -0.0368960947, 0.0217045601, 0.0534539521, 0.035924945, -0.0411538742, 0.0031685911, -0.0208122469, -0.0263028741, -0.0031154789, 0.039514903, -0.0492976084, 0.0466652922, -0.0417715348, -0.0280037597, -0.0035629149, 0.0124379508, 0.0147535978, 0.0150201181, 0.0238532238, 0.0014670406, -0.0223091953, 0.0521381572, -0.0082251411, -0.055772312, 0.0207096245, -0.009037816, -0.0139674786, -0.0329793468, -0.001052952, 0.0079711098, -0.0174109042, 0.0060848384, 0.0400659703, -0.0682881922, -0.0167608988, -0.0186369941, 0.0047331848, 0.0189949349, -0.0529390648, 0.0843548924, 0.0063654538, 0.0093294121, -0.0253083799, -0.0258870833, -0.0007231932, -0.0064386586, -0.0263447259, -0.0066927192, 0.0539547205, -0.0682018548, 0.000884, 0.0435815714, 0.0335585289, 0.0456271134, -0.0275802203, 0.0083674183, -0.0312952623, -0.0084375702, 0.0107942931, -0.0434963666, 0.0622410662, -0.0181324575, -0.0021723949, 0.0044364273, 0.0129277604, 0.0104716364, -0.0526852943, -0.0216823909, 0.0589254498, -0.0095895948, -0.0338638723, 0.0724334568, 0.0630725771, -0.0287497491, -0.0299270265, 0.048410017, 0.0402763486, -0.0099821836, 0.0527597666, -0.0475200228, 0.0941312909, 0.054576356, 0.0428230353, -0.0569664203, 0.0213557705, 0.0183218122, -0.0072083129, -0.0238267425, -0.0024256951, 0.0060043517, -0.1208068356, 0.0075424765, 0.0494646728, -0.0222225282, -0.0886277929, -0.0371220075, 0.0139472056, 0.0308984481, 0.0864035785, 0.0599033609, 0.0188924838, 0.0003167764, 0.0281009413, 0.0086018471, -0.072591491, 0.0298075397, -0.0016744236, 0.0719557479, 0.0196422394, -0.0213665403, -0.0122727398, -0.0158704538, 0.0599510148, 0.0271016061, -0.0120747266, -0.0152790975, -0.0153860096, 0.0593737438, -0.0262021255, 0.000535063, -0.0317153409, -0.012360557, 0.0084121227, -0.092307806, 0.0566947088, -0.0224877428, 0.0079329256, 0.0250478964, -0.0399142392, 0.011351903, 0.0063148406, -0.003314971, -0.0278197713, -0.0510162339, -0.0500602573, -0.0281540584, -0.0257413089, -0.0310887154, 0.0056950701, 0.0602921695, -0.0528796986, 0.0044986573, 0.0294903331, -0.0095219854, 0.0278478842, 0.0119355656, -0.0340400934, -0.01086675, 0.0112484796, -0.0310657043, -0.0241142698, -0.0741798952, 0.0484056734, -0.0293126572, 0.0341510847, 0.0265318602, 0.017441228, -0.0225784574, -0.0037648648, -0.1002453566, -0.0754867345, 0.0270492248, 0.0429922603, 0.0259257089, 0.0299598258, -0.009924761, -0.1048200205, 0.0084956912, 0.0411523618, -0.0439120159, 0.0366444513, -0.0054135979, -0.0577101372, -0.0036882069, 0.0077640726, -0.0271879286, 0.0229778551, 0.034730982, 0.0148139009, -0.0517252162, -0.038616661, 0.0170236379, 0.0294815693, 0.0210634768, 0.0085860165, -0.0429280102, 0.0287415162, 0.0495466441, -0.0498354547, 0.014436746, -0.0201018788, -0.0038740241, -0.0362844914, 0.0088621071, -0.0356100053, -0.0347916149, 0.0247973893, 0.017337583, 0.0457677469, 0.0171713922, -0.0311500262, 0.0270765349, 0.0589550436, -0.0059951246, -0.0294914134, 0.0139800338, 0.0297463275, 0.0576452725, -0.0369804129, 0.0027240559, 0.0112409098, 0.0104325544, -0.0436295196, 0.0173855051, -0.0053932164, -0.0480528213, -0.0619442835, -0.0195999406, 0.0256333239, 0.0567884855, 0.0217816979, -0.0138405068, 0.0071475143, -0.0302332751, -0.0025248535, 0.023959361, 0.0003066818, 0.0216425564, 0.0080365138, -0.0192754325, -0.0021961329, -0.0117319841, -0.033731401, 0.0225891043, 0.015321888, -0.0121954232, 0.016625233, 0.0274316482, -0.0756470561, 0.0419220515, -0.0178021453, -0.0197866838, -0.0559423789, -0.032325808, -0.0221081488, 0.0470690168, 0.021847615, -0.0268028192, -0.0045975368, 0.0523978248, -0.0170913544, -0.0072264201, -0.0209923834, -0.0539376661, 0.0068810708, -0.0103577971, -0.010544003, -6.16190502e-33, -0.0307245832, 0.013457967, -0.0133697754, -0.0145308133, 0.0293023363, -0.0514259152, 0.0084983893, 0.0317785889, -0.0267413314, -0.0325022526, -0.0156965218, 0.0045475196, 0.0232477263, -0.0187769905, -0.0290172324, 0.0375531167, 0.0598248988, -0.0211079828, -0.0264032651, 0.0329852961, 0.0188927725, -0.0072023971, 0.0738255084, -0.0585297346, -0.0356974639, -0.0098250238, -0.0120615959, 0.0068598939, 0.0274415277, 0.0287860185, 0.0153730288, 0.0689870343, 0.0046785129, -0.0366237536, -0.0326272063, -0.0354071483, -0.0252071638, -0.0149998888, 0.0378576443, 0.0639505461, 0.1026132852, -0.0478966944, 0.0209806506, 0.0127441101, -0.0522439666, -0.0101366164, -0.008653204, -0.0027458945, -0.0287485272, 0.0410706811, -0.0374494642, 0.0199692324, 0.0410905667, 0.0493873172, 0.0127384337, -0.048212871, -0.0298231412, 0.006141894, -0.0623690002, 0.0249186344, 0.101052247, 0.0747031495, 0.0268058274, 0.0561962612, -0.0125343828, 0.0194017645, 0.0453766547, 0.0247217156, -0.0022175023, 0.0356994644, 0.0954918638, -0.0069761514, 0.0186237451, 0.0599993095, 0.1073386222, -0.0319611505, -0.0533168353, -0.0015443539, 0.0198976528, -0.0276034437, 0.0539759062, 0.0129696326, -0.0444795825, -0.0298296623, -0.0191380866, -0.0038077245, -0.0491208248, -0.0436813161, -0.021830501, -0.0272331964, -0.0296327602, 0.0561017841, 0.0252548996, -0.0385508016, -0.041735623, -0.0109235868, -0.0141578447, 0.0373595059, -0.0252016746, 0.0168397948, 0.001065943, -0.0593009219, -0.0255761724, -0.0266881622, 0.0184688456, 0.0130224777, -0.0076642712, 0.041248247, -0.105185464, 0.0140853496, -0.0147715267, 0.0086732935, 0.0352199376, 0.0260767583, -0.0039178059, -0.018780997, 0.0121872975, 0.0140735693, 0.0057074558, -0.0051596207, 0.0022133938, 0.0045077838, 0.0019808633, 0.0440333076, -0.035245318, -0.0207082909, -0.0237811487, 0.04886337, 0.0362103321, -0.0241509583, -0.0464952365, -0.0108112944, 2.82e-7, 0.0117905708, 0.0733789057, -0.0014415884, 0.0166085139, 0.0261317473, 0.0179957766, 0.0475296825, 0.0015276336, 0.0181981027, -0.0457511283, 0.0004023359, -0.0149733778, -0.015817361, 0.011693323, 0.0189427193, 0.0504073575, -0.0183097012, 0.0512851067, -0.0346368439, -0.03431914, -0.0228014104, 0.0928208232, 0.0194888543, -0.0012849629, 0.0227049533, -0.0481928661, 0.0308255572, -0.0233206954, 0.022947235, -0.010992202, 0.0004339376, 0.0376041569, 0.0024359045, 0.0230754223, 0.0162903778, 0.026597118, -0.0421786271, 0.0580907576, -0.0590946302, 0.0366967991, 0.0015674548, -0.0198364761, -0.0634795651, -0.067295745, 0.0380535759, -0.002383128, -0.0138759306, -0.0486566648, 0.0083551407, -0.0286634378, -0.0301589966, -0.0321126208, -0.0007201367, 0.028244704, 0.0449200682, -0.0004110078, 0.0302222241, -0.0508295931, -0.0484633557, 0.0275340732, -0.0244804658, -0.0739036426, -0.0101819467, -0.0079834731, 0.0108498754, 0.001948312, 0.0224553775, 3.251702983e-34, 0.0640979335, -0.0325789414, 0.0175533332, 0.0303089507, -0.0077179745, -0.0053376378, 0.024340231, 0.0186668299, 0.0187200494, -0.0362728387, -0.0390586816 ]
http://arxiv.org/abs/2312.09207v1
http://arxiv.org/pdf/2312.09207v1
WikiMuTe: A web-sourced dataset of semantic descriptions for music audio
2023-12-14T18:38:02
2023-12-14T18:38:02
Benno Weck, Holger Kirchhoff, Peter Grosche, Xavier Serra
cs.CL
cs.CL, cs.IR, cs.LG, cs.SD, eess.AS
Multi-modal deep learning techniques for matching free-form text with music have shown promising results in the field of Music Information Retrieval (MIR). Prior work is often based on large proprietary data while publicly available datasets are few and small in size. In this study, we present WikiMuTe, a new and open dataset containing rich semantic descriptions of music. The data is sourced from Wikipedia's rich catalogue of articles covering musical works. Using a dedicated text-mining pipeline, we extract both long and short-form descriptions covering a wide range of topics related to music content such as genre, style, mood, instrumentation, and tempo. To show the use of this data, we train a model that jointly learns text and audio representations and performs cross-modal retrieval. The model is evaluated on two tasks: tag-based music retrieval and music auto-tagging. The results show that while our approach has state-of-the-art performance on multiple tasks, but still observe a difference in performance depending on the data used for training.
[ -0.0145401759, 0.0118273096, -0.0033364326, 0.053572841, -0.0197783653, 0.0045029228, 0.0108240535, -0.0173984636, -0.0221492294, 0.0130886193, -0.0759038255, -0.0024845449, 0.0050618751, 0.0050267028, -0.0085868202, -0.0307841245, 0.0167709794, -0.014960547, 0.0310386177, 0.0189868808, -0.0344350971, 0.0195313171, -0.0272693448, 0.0368205309, -0.0277739726, -0.0175430346, -0.0421528332, 0.0276619997, -0.0024977501, -0.0333247483, -0.0045711226, 0.0136113157, -0.0071105286, 0.0389617234, 0.0000016266, -0.0054507689, 0.0097400099, -0.0097011682, 0.0491462089, -0.0230457149, 0.0061344905, -0.0017586423, -0.0016139857, 0.0017747519, -0.00076746, -0.0509297028, 0.0130223352, 0.0549618006, 0.054446023, 0.0920124799, -0.0152893886, -0.0605856217, 0.0445856042, -0.02975877, 0.0611736216, -0.0036966859, 0.0075929919, -0.0180326067, 0.0292964801, 0.039819736, 0.0022725579, 0.0637487844, -0.0093533127, 0.0006412383, 0.052022744, 0.053139504, -0.0534761623, -0.0283016078, 0.0228321049, 0.0809014365, 0.0472753905, -0.015357743, 0.0183009151, 0.0005463948, 0.001347787, -0.0271436349, -0.0347096808, 0.012107878, 0.0087401532, -0.0132187121, -0.0542800017, 0.0159625821, 0.0660519898, -0.0176301301, 0.0239594001, 0.0233599544, 0.0286641307, -0.0489292927, 0.0451332591, -0.0619705953, 0.0130217159, -0.0500024222, -0.0078073121, -0.0079960544, 0.020585876, -0.0246558804, -0.0461358726, -0.0206293873, 0.0291725863, 0.0028790021, 0.0125455847, -0.0266632326, -0.0456813015, 0.0902838632, -0.0205530189, -0.058468312, -0.0244083945, 0.0075300834, -0.0297220852, -0.047760915, -0.070899792, -0.0209692642, -0.0208478533, -0.0136766583, 0.0425761454, -0.0355590992, -0.0064931242, -0.0438020863, -0.0352066271, 0.0295942239, 0.0264737383, -0.0070842979, -0.0348948911, 0.0045202267, -0.0063146655, 0.0361803211, -0.0167145748, 0.0660410002, -0.0022452932, 0.025269663, 0.0009296825, 0.011816619, 0.038120646, -0.012149415, 0.0905122831, 0.0285669062, 0.0378594659, -0.0137348548, -0.0045339335, -0.0458050109, -0.0206483528, -0.013475297, -0.006229918, -0.0533726588, 0.0727092773, -0.0154136624, -0.0226054285, -0.0310555864, -0.0127298273, 0.0298309959, -0.0098718181, 0.0686492473, -0.0298862364, 0.0237260908, 0.0150569007, 0.021010926, -0.0060534682, 0.0237541776, 0.0671312287, 0.0340151936, 0.0718921274, -0.0250289738, -0.0134656858, 0.0055920971, 0.0248760637, -0.0388712324, 0.0101032145, -0.0090214666, 0.0205698535, 0.0962040946, 0.0322431438, 0.0077063818, 0.0324554257, -0.0430516638, 0.0054599158, 0.0216852874, 0.0717415139, 0.0502641313, 0.0154880183, 0.005414289, 0.0203287788, -0.0316184573, 0.0251341239, 0.0542201027, 0.0620246157, 0.0256866682, 0.0691091567, -0.0021239021, 0.0016569622, 0.0283051245, -0.0242224336, -0.0486131683, 0.0184209179, -0.0350972936, 0.0381824188, -0.0046826946, -0.0117376503, 0.0517715216, 0.0556531437, -0.0570055582, -0.0105492771, -0.0397928581, 0.0015364387, 0.0532368757, 0.0257419664, -0.0738519952, 0.0623698048, -0.0536954664, 0.0427871197, 0.008331324, 0.0016440918, -0.0194583368, 0.0239926577, 0.0040974822, -0.0335704014, -0.0681599379, -0.0150571866, 0.0018524091, -0.0425780788, 0.0195846092, 0.037423484, -0.0455025584, 0.0185763687, 0.0255580824, 0.0149592832, -0.0602183007, 0.0453618877, 0.0319194533, -0.0045913737, 0.0518979393, -0.0032395581, 0.0467843153, 0.0349555016, 0.0049656658, 0.0293718167, -0.0147456741, -0.0340004638, 0.0364811085, 0.0500471219, -0.0239326842, 0.0380613208, 0.0563927665, 0.0311711114, -0.0541136861, 0.0453393944, 0.0157859661, 0.032111004, 0.0193469096, -0.0300596952, -0.0166346002, 0.0271726251, 0.0347463191, 0.0225628186, 0.087119028, 0.007602524, -0.0207451396, -0.030518895, 0.0488982983, 0.0088158138, -0.0531123318, 0.0455922708, 0.0216344949, 0.0120865069, -0.0090478165, -0.0560267232, -0.0533388592, -0.0070583997, -0.1092707962, 0.044175785, -0.0172038656, -0.0122055756, -0.0252640713, -0.008399114, 0.0048648482, -0.0155937448, -0.0377664492, -0.002439592, -0.0062368335, 0.0131564429, -0.03090748, 0.0335556865, -0.0314652734, -0.0122832274, -0.0446437076, -0.028190963, 0.0021010961, -0.0011089123, 0.0100021316, 0.0387371853, -0.0531740524, -0.0537667274, -0.027206745, -0.0132612614, 0.0169375893, -0.0170293618, -0.0465692952, -0.0059812441, 0.0435409918, -0.0038665852, -0.0225685332, 0.063826628, 0.0039174454, -0.0149301896, 0.0244713072, 0.0241843294, 0.0274965372, -0.0109606106, 0.0169951934, -0.0082665654, 0.0275655463, 0.0514747165, 0.0086327633, 0.0250152629, -0.015230624, 0.0321040303, 0.0448894389, -0.044658687, 0.0095949592, -0.0302880257, 0.0446232371, -0.0007567139, 0.0150437253, 0.0464431755, -0.0030363419, -0.0133932466, -0.025777163, -0.0817531273, -0.0433219373, 0.0537813827, -0.0525480546, 0.0156610254, 0.0372605659, -0.036894951, 0.0005676533, 0.0218638796, 0.0799158141, -0.043557927, -0.0147962803, 0.018410489, 0.0045200209, -0.0253059063, -0.0261965003, 0.0197376572, -0.0745416731, 0.0057649375, 0.0278292336, -0.0559780784, -0.0061375559, -0.0206626263, -0.027720822, 0.047225289, 0.0304977186, -0.000152333, 0.0091410307, -0.0119467834, 0.0445011929, -0.0020052649, -0.0495310687, -0.0347264893, -0.0012859943, 0.0102133434, -0.0259382017, 0.0099465316, 0.0370291993, -0.0500089489, -0.0233127568, 0.0040597483, -0.0203940719, -0.0172794629, 0.0294464249, -0.044925794, -0.0477195159, 0.0159570351, 0.0700640306, 0.0370608941, -0.0589890704, -0.0343016833, 0.0537177622, -0.0229782779, 0.0048363628, -0.008920568, -0.0237848852, -0.0307836067, 0.0290347096, 0.035200242, 0.0815864578, 0.0031784887, 0.0141010657, -0.0228128415, -0.0115593718, -0.0286828708, -0.0166534372, -0.0234674811, -0.0650072843, -0.0202731527, 0.0061242767, -0.0071142688, -0.0203923564, -0.0311581641, 0.0146068977, -0.0004298586, 0.0101740696, -0.0571701564, 0.0371897481, -0.0851482525, 0.0398421846, 0.0279208254, 0.0802813172, -0.052732572, -0.074760817, 0.0065784054, 0.0106935417, -0.0352085046, 0.0316651985, 0.0512725078, -0.0052760709, 0.0014938959, 0.0235358644, 0.0029958754, -0.0177884754, -0.023962412, 0.0208998825, 0.0495012179, 0.0084257768, 0.0129916938, -0.016996596, 0.0197624154, 0.0278843846, 0.0560779572, 0.0166696981, 0.0075536733, 0.0432159752, 0.016563341, 0.006406765, -0.0543611087, -0.0506350361, 0.0076932181, -0.0123840859, -0.0144689549, -0.0175852366, -0.0330522172, -0.0030056592, 0.0083557498, 0.0200636908, 0.0072546205, -0.0591924228, -0.0334921181, -0.1351993531, 0.0792785957, 0.0032823884, 0.061288882, -0.0021705728, -0.0769536421, 0.0443426557, -0.0190612096, -0.0211078357, -0.0522767603, -0.0756841451, 0.0036458087, -0.0255629737, -0.010844389, 0.0095883273, 0.0359515287, 0.007861509, -0.0529105663, -0.0059954557, 0.0237305928, -0.0591745451, -0.0075082481, 0.0106130773, -0.023133615, -0.0112194996, 0.011292357, -0.1057958081, 0.0173629485, -0.0088542225, 0.0115691042, 0.0715484098, -0.0246012434, 0.0265350845, -0.021198025, 0.0547961965, 0.0101975696, 0.0086666215, -0.0654384568, -0.0340325721, -0.0052244347, -0.0189691186, 0.0005911951, 0.013154991, 0.0437369384, 0.0001619267, -0.0306350049, 0.0443434119, 0.0502436832, -0.0350332968, -0.0601201728, 0.0517629758, 0.0492127649, -0.0568571202, -0.0105133168, -0.0024516694, 0.0140502248, -0.0149718635, 0.0588752218, -0.0058774413, 0.0112082968, -0.0229346734, 0.0311860722, -0.0023580692, -0.0368667282, 0.0329453684, -0.0580529124, -0.0058893748, -0.001486232, -0.0101559032, 0.0571710542, -0.0085343225, -0.0114437323, 0.0187848862, -0.03302164, 0.0024650537, 0.0583351813, -0.0224163458, -0.026325278, 0.0083575193, 0.0284684803, -0.031350784, 0.0076873973, 0.0574938878, -0.0247403961, 0.0015477187, 0.022913523, -0.0231200997, 0.0085752113, 0.0438679494, 0.0007444264, 0.0271525998, -0.0180738922, -0.0172501504, 0.0133798011, -0.0309032369, 0.0459295437, 0.0043438575, -0.0032100733, 0.0164525807, 0.0294455625, 0.0599700958, 0.029713612, 0.0250602234, 0.0227888227, -0.0340672843, -0.036300391, 0.0121812932, -0.0087228632, -5.095742664e-33, -0.031443093, 0.0122838514, -0.044001665, 0.0218854081, -0.0390684344, 0.0002924112, -0.0592182279, -0.0049031512, -0.0005868679, 0.0013171871, 0.0091091441, 0.0351583026, 0.0034204074, 0.0026794299, 0.0520334877, -0.0355250202, 0.0742359161, -0.0275648721, -0.0382359438, 0.0234367121, 0.0314009003, 0.0530783758, 0.0103459992, -0.0835298747, 0.0198462177, -0.0013051528, -0.0057616588, -0.0017238982, 0.0288738031, 0.0753474906, -0.0265066568, 0.0451758653, -0.0096490085, -0.0254826043, 0.0259021893, 0.0283021927, -0.0733354688, 0.0075372341, -0.0330673009, 0.023617262, -0.0007704836, -0.0015251547, 0.0478825383, -0.0002080979, 0.0025613138, -0.0226014722, 0.0759236589, -0.0109951934, -0.0047971481, -0.0898438767, -0.0181969292, -0.0155599779, -0.026663091, -0.0435841568, 0.0566702336, 0.0001049945, 0.0224329941, 0.0469747745, -0.0524924584, 0.0230260137, -0.0313483514, 0.0164889339, 0.0204350203, 0.0140296379, -0.0072426377, 0.0635697991, 0.022353448, -0.0336431749, -0.016740717, 0.0319391005, 0.0240356587, 0.0411295667, -0.0042828103, 0.0374172255, 0.0605221204, -0.0292469431, -0.0273654535, 0.0237852223, -0.016133571, 0.0088456357, -0.0502933227, 0.0478469543, -0.0326945819, 0.0238547586, -0.0194265842, -0.0331871472, -0.0722793564, -0.0268377531, 0.0059932345, -0.0107336137, 0.0110458089, 0.0216186941, -0.0334669836, -0.038869556, -0.0210798793, 0.0048357118, -0.0323505439, -0.004356279, -0.0159884673, -0.0310962293, -0.0121200038, -0.0157501455, 0.0721419156, -0.0157566015, 0.0625982657, -0.024506148, 0.0082034515, 0.0622462742, -0.0758542791, 0.0062445505, -0.012782475, -0.0541610904, -0.0067216819, 0.0192315057, 0.0208648257, 0.0332951024, -0.0137831066, 0.0314818397, 0.0038198794, 0.0438943841, -0.0351978652, -0.1004593596, 0.0068616341, 0.0051422734, 0.0149105275, 0.0028403213, -0.0194315147, -0.0385309532, 0.0118537201, -0.0409964509, -0.0158175565, 0.0029579867, 2.573e-7, 0.0136445742, -0.0187046584, -0.0064270562, -0.0231641587, 0.0076694745, 0.0428722426, -0.108890973, 0.0451493599, -0.0193591062, -0.0305061378, 0.039348647, -0.0320543386, 0.0820702314, 0.0580449477, -0.1201040149, -0.0023196256, -0.0789568499, -0.0088642929, -0.0845119581, -0.0418193787, 0.0376977772, 0.101271823, 0.0177988783, -0.015239113, -0.0003504811, -0.0267232861, 0.0435726345, -0.0410059206, 0.0143345697, -0.0705367401, 0.0376619436, 0.0176717285, -0.035092745, -0.0172393396, -0.063082464, 0.0504457429, 0.0505131334, 0.0297995564, 0.0197437815, -0.0347098187, -0.0131436558, 0.0016930274, 0.0171001926, 0.0046547498, 0.0763965994, -0.005766612, -0.039819546, -0.0341476947, -0.0453142971, 0.0107543785, 0.0359668061, -0.0114050545, -0.0267665908, -0.031952735, 0.0208326317, -0.0212255772, 0.0171512347, -0.0815067887, -0.0007008831, 0.0187458768, -0.0435639583, 0.033470992, -0.008409895, -0.0164604522, 0.0443713553, -0.0537536666, 0.0204165094, 1.727613831e-34, 0.0351584144, -0.041880168, -0.0207347851, -0.0218802989, 0.0073366622, -0.0320164338, -0.0242900942, -0.0184027907, -0.0218934864, -0.0479066335, -0.0207434557 ]
http://arxiv.org/abs/2312.09203v2
http://arxiv.org/pdf/2312.09203v2
Measurement in the Age of LLMs: An Application to Ideological Scaling
2023-12-14T18:34:06
2024-04-08T00:33:54
Sean O'Hagan, Aaron Schein
cs.CL
cs.CL
Much of social science is centered around terms like ``ideology'' or ``power'', which generally elude precise definition, and whose contextual meanings are trapped in surrounding language. This paper explores the use of large language models (LLMs) to flexibly navigate the conceptual clutter inherent to social scientific measurement tasks. We rely on LLMs' remarkable linguistic fluency to elicit ideological scales of both legislators and text, which accord closely to established methods and our own judgement. A key aspect of our approach is that we elicit such scores directly, instructing the LLM to furnish numeric scores itself. This approach affords a great deal of flexibility, which we showcase through a variety of different case studies. Our results suggest that LLMs can be used to characterize highly subtle and diffuse manifestations of political ideology in text.
[ -0.0134308739, 0.0779913887, -0.0117985411, 0.0328156501, -0.0656933263, 0.0014277349, -0.0023019698, -0.0142087676, 0.0053670667, -0.0176875927, 0.0072522783, -0.0561092496, 0.0077066626, 0.016749382, -0.0170581788, -0.0244085658, 0.0201337915, 0.0199712701, 0.0344094373, -0.0108385868, -0.0096955169, 0.0092018358, 0.0392966755, 0.0306383148, -0.0004865509, 0.0040032226, 0.0018595882, -0.0212359764, 0.0496393554, -0.0164980516, -0.0144865001, 0.0040558656, -0.0167606864, 0.0112466365, 0.0000017706, -0.0428909361, -0.0254340675, 0.0057432698, 0.0618692935, 0.0084237522, 0.0844737664, 0.008951691, -0.0203372985, 0.0084290123, -0.0503388457, 0.0307265669, 0.0239592642, -0.0019426292, 0.0008023261, 0.0210671797, 0.0108077032, -0.0585153699, 0.0094503071, -0.0140964864, -0.0211994853, 0.0201946739, 0.0547498353, 0.0213967022, -0.0390146188, 0.0545011088, -0.0019027359, 0.0281938203, 0.0160237588, -0.0135563966, -0.0230069533, -0.0194487162, 0.0106524415, -0.0042332914, 0.0422064736, 0.0186690558, 0.0551194884, 0.0137320403, 0.0572002716, -0.0234086197, -0.0252446402, 0.0532760732, -0.0354339033, 0.0096289441, -0.0041396958, 0.0206293128, 0.0646819323, 0.009776582, 0.010588645, 0.0483640432, -0.0608522967, 0.0942489952, 0.00053509, -0.0031546336, 0.0268482454, -0.03617974, -0.0332450196, -0.0252468064, 0.0193337146, 0.0069078351, 0.0191302393, 0.0445722267, 0.015027795, 0.0187679734, 0.0352927037, -0.1059490964, 0.0166244749, -0.0190901794, 0.0069956565, 0.0780546814, 0.073222518, 0.006723857, -0.0112479124, 0.003173644, -0.0144399749, 0.0028965522, -0.0086038904, -0.0008057281, -0.0074700094, -0.0171420127, 0.0020321663, 0.0210185181, -0.03326682, -0.0223794263, -0.0475391634, 0.0032824513, -0.0258839838, -0.005071077, 0.0136331683, 0.0042790822, -0.0216051973, 0.0494234972, -0.0414914042, 0.0331616513, -0.0544779189, 0.0075137191, 0.0494561978, 0.0563883558, -0.027566893, -0.0240522232, 0.0283911861, 0.0213539489, 0.0369113423, 0.0016513185, 0.042927444, -0.035821069, -0.0725960284, -0.0467557833, -0.0060877702, -0.0731731057, 0.0142290816, 0.0128525803, 0.007416971, -0.0862290636, 0.0179109816, -0.0069664181, -0.0333377719, 0.0266325343, 0.0412133895, 0.0091195833, -0.0147443563, 0.0167466737, 0.0164897703, 0.0627461672, 0.0486908741, 0.0089372452, 0.032823436, 0.0000662986, 0.013240275, 0.0457246639, -0.0253689121, 0.079376556, -0.0860096514, 0.0087437695, -0.0167630445, -0.0315070897, 0.0051720319, 0.081722714, 0.0246506371, -0.0130681302, 0.075588204, 0.0756042004, -0.0078342417, 0.0079314588, -0.0042103734, 0.0076290383, 0.0132160345, 0.0240900889, 0.010003685, -0.0139008313, -0.0030529778, -0.0314491279, 0.0290607121, 0.0274691712, 0.0070251897, -0.0325518772, -0.0073077981, 0.0233840644, 0.0060261404, -0.0149686038, 0.0742167085, -0.0576715879, 0.0101935063, -0.0219977945, 0.0114672594, -0.0269887988, 0.0435577072, -0.0205123313, 0.0069207852, 0.0183497109, 0.016741015, -0.04536511, 0.039592959, -0.0036002386, 0.0365140215, 0.0502657704, 0.0432079844, -0.0465621836, -0.0649173111, 0.0061018895, 0.0056767669, 0.0063449293, 0.0311922152, 0.0229748879, -0.0113847526, 0.0141311353, 0.0064590834, -0.0358437747, -0.0306603219, 0.0290305186, 0.0022943523, 0.0009082897, -0.0062705302, -0.0043591345, 0.0368613862, 0.034359023, -0.0379073992, 0.0023101738, 0.0271356646, -0.0241523571, -0.0209834706, -0.0195630211, 0.0283157229, 0.092559509, 0.0406048745, -0.0082138227, 0.0270966087, 0.0042395806, -0.004006613, 0.0273100082, 0.0424234234, 0.0079948837, 0.0191026013, -0.0225836989, 0.0170215517, -0.0701241866, -0.0369304717, -0.0715798438, 0.0491618626, -0.0040209345, 0.0508428067, -0.0183794927, -0.0602528974, 0.0465147272, 0.0360125564, -0.0263664126, -0.0110800853, 0.0321785845, 0.0342073627, 0.0470772088, -0.0656432956, -0.0121139549, -0.0994831473, 0.0083030118, -0.0045618522, -0.0260925461, 0.0340578035, 0.0110628586, -0.0311795287, 0.0079122046, 0.074166216, 0.0013919866, -0.0278373398, -0.0191514008, 0.0095314961, 0.0338169709, -0.0279465243, -0.0275796466, -0.039136041, 0.0244986676, -0.0577115342, 0.0343163125, 0.0205586106, -0.0013056803, 0.0032308628, 0.0233704206, -0.0840848684, -0.0037703111, -0.0484933257, -0.0328395739, 0.0248013232, 0.0072049117, 0.0308605134, 0.0340474807, 0.0402833372, 0.0455975607, 0.0540240332, 0.0034151468, -0.0627380759, -0.061265111, -0.0623346716, 0.01362505, -0.0368440486, -0.0396120586, 0.01936296, 0.0599218011, 0.0255874004, -0.0075568277, -0.0080600344, 0.0779324174, -0.0892239735, -0.0090236831, -0.0089750877, 0.0149196042, -0.0219480209, 0.032307595, 0.0258447044, -0.0254173782, -0.0185239539, -0.0127223879, 0.0687797889, -0.0032925364, -0.018519355, -0.0352010541, 0.0745055676, 0.014464437, 0.0034191033, -0.0332435146, 0.05188388, -0.0357841514, -0.0329459012, 0.0154600153, -0.0517605804, 0.0633152351, -0.0591792017, 0.0332602002, -0.0158819277, 0.014196937, 0.0056214281, -0.0739350915, 0.0025703474, 0.0115876133, 0.052774284, -0.0429483876, -0.0056336503, 0.0323693678, 0.069397524, -0.0388512984, 0.0325176306, 0.0193523653, -0.0010578643, 0.0037266514, 0.0199526045, -0.0400603116, 0.0592002645, -0.0114500867, -0.0180910137, 0.0401626788, -0.0105412072, 0.0570545904, -0.0401666872, -0.0472192168, -0.0067458013, -0.0342295058, -0.0035086293, 0.0130177252, 0.0114306929, -0.0348769464, 0.0111313639, 0.0876911506, 0.0403481424, -0.0150104659, 0.0147419404, 0.0005556537, -0.0116223497, 0.0301608332, -0.0198870823, -0.0934158862, 0.0608723164, 0.0033464627, -0.0154497279, -0.0665955693, -0.0527520292, -0.0332460627, -0.0591788962, -0.0126106385, 0.0177212339, 0.0134769417, -0.0003823752, -0.0289509892, 0.0412146188, -0.0152476318, -0.0403270498, 0.0105373887, 0.0153481569, 0.0247255173, -0.0096959192, -0.0451329425, -0.0220515933, 0.0338376015, -0.0233659707, 0.0325735174, -0.0086693903, 0.0866798535, -0.0192746986, -0.0092245899, 0.0516064577, -0.0075807767, -0.0751979202, 0.0306182336, -0.0117837023, 0.0046199281, -0.0285009798, -0.0383693054, 0.0141846295, 0.0365141705, -0.0041778134, 0.0155301904, 0.013510555, -0.0316182785, -0.0295053739, 0.0029305576, 0.0321144201, 0.0195988975, 0.0556819998, 0.0375373736, -0.0124020232, 0.0193187427, -0.0447915308, -0.003201612, 0.0022845683, -0.0837290585, -0.0194083266, -0.0149245905, 0.0183612388, -0.0206740778, -0.0426879674, 0.0039731148, 0.0273596738, 0.0318084843, 0.0234012678, 0.0311438628, -0.0363356546, -0.0081909858, -0.0179744475, -0.0140948165, 0.0237840805, 0.0067163389, -0.040293131, 0.0105150435, 0.0580157079, -0.0495631583, -0.008218525, 0.0008078397, -0.0732149854, 0.0476800427, -0.0564347468, 0.0245365128, -0.0477124564, -0.0178088937, -0.017547464, 0.0490301661, 0.0687745735, -0.0265625902, 0.0384701751, 0.0045219944, 0.0444219857, 0.0205177292, 0.0288321134, -0.0166640133, 0.0167867448, 0.020214932, -0.007227438, -0.0890191346, -0.0385413766, -0.0005267843, -0.0011321806, 0.0011854236, -0.0041869963, -0.043241486, -0.0135800308, -0.042682562, -0.0337605923, -0.0503090769, 0.0050891894, -0.0554658249, 0.0332624279, -0.0133151971, -0.0720518604, 0.037404824, -0.0221196152, 0.0476874821, -0.0316448174, 0.0612654984, -0.0368938223, 0.0030629842, 0.0252935812, -0.0334656537, 0.0115151899, 0.0246459097, -0.0400535278, 0.0545926914, 0.0294465348, 0.0073449863, 0.0098716356, 0.0133708231, 0.0245410427, 0.0225370042, -0.0282883104, -0.0399548747, -0.0286596827, -0.0017411225, -0.0254043248, 0.0207949001, 0.0220482424, -0.0100605972, -0.0171462018, -0.0604813471, 0.0005500743, -0.003154912, -0.0409722403, 0.0283164922, -0.0081435954, -0.0335281938, 0.0188364256, 0.0159858465, 0.0118584093, 0.0134556601, 0.0668312907, -0.0129858181, 0.005661726, -0.0703534782, -0.008411197, -0.0467209928, -0.0274608824, -0.0375011191, -0.111793153, -0.0302251279, -0.0062729437, 0.0434970632, -0.0134704942, -0.0007707413, -0.0304052867, 0.0441014171, -0.0333549492, 0.0639629662, -0.0585708916, 0.0242306255, -0.0606365167, 0.0022841487, 0.0002948878, -5.849608865e-33, -0.047181543, -0.0381351225, 0.0157470796, 0.0049023633, -0.0324960202, 0.0221664701, -0.00884018, 0.0221688151, -0.0458278172, 0.0317418128, 0.011844648, 0.020293979, -0.0010363413, -0.0169801489, 0.0119344033, -0.0169556048, -0.0049451906, -0.0029919706, -0.0262103733, -0.0104280291, 0.0402000621, -0.0581058227, 0.0452337302, -0.0803717673, 0.0741145536, 0.0469764434, 0.0057237614, -0.0309565961, 0.0301900916, 0.0084253848, -0.0037173354, 0.0218781382, 0.0191637948, -0.0451460853, 0.0231811889, 0.0681110993, 0.0056236298, -0.0345768444, 0.0179624967, -0.0111572975, 0.0427371375, -0.0132712545, 0.0373419225, 0.0264636893, -0.0630073547, -0.020736916, 0.0525820665, -0.0314995497, 0.0159460939, -0.0558257811, -0.0397458263, 0.0391582996, -0.0124429232, 0.0351200961, -0.0386065245, -0.0039750547, 0.0208695829, 0.0688731298, -0.0318988934, 0.022712132, -0.0040525747, 0.0290737879, 0.0013236197, -0.0175140742, 0.028831495, 0.0989715829, -0.0104026794, 0.0156833604, -0.0484178886, -0.016300736, 0.070739992, -0.0282667354, 0.0719576329, 0.047429841, -0.0030000613, -0.0060238643, -0.0799062997, 0.0020490091, 0.0629145503, 0.0022492758, 0.0317463279, -0.0245077908, -0.0062739481, -0.0129522858, -0.0677930042, -0.0635604188, -0.0215462837, -0.00634431, -0.0107225589, -0.0402719639, -0.041239839, 0.0277186241, 0.0478572696, -0.0366584025, -0.0322590135, 0.0044583366, -0.0083566401, 0.0274237096, -0.0065184669, 0.0308658276, -0.0682061613, -0.0045379684, -0.0270996764, 0.0367996693, 0.0470219553, -0.0213635154, -0.0149790552, -0.0206264481, -0.0683036745, -0.0344650783, -0.0063443216, -0.0386520624, 0.0034288631, 0.0339988507, 0.0311093014, 0.0241022576, 0.0209205281, -0.013350117, 0.0121573536, -0.0021027918, 0.0068123355, -0.0217200238, -0.0291516688, -0.0069429846, -0.0386291631, -0.0349367037, -0.0041951151, 0.0281969476, 0.0525855906, -0.0270881969, -0.0058905096, -0.0291266367, 2.444e-7, 0.0762266517, 0.0651030913, -0.0431476571, 0.0126449857, -0.0287235584, 0.0181747545, 0.014884525, 0.04399525, -0.0663653836, -0.0870138407, -0.0159966089, 0.0049520326, 0.0334417596, 0.0240163747, -0.0256949328, 0.0208171848, -0.0382155702, 0.004100698, -0.063201867, 0.020936707, -0.0395125672, 0.0141589418, 0.0588068552, 0.0455975905, -0.0384877212, -0.0458615609, 0.0679642856, -0.0362621956, -0.0561983101, 0.0534447357, 0.0114446273, -0.0167401936, 0.0127934963, 0.0178122949, 0.0378430523, 0.0077872085, -0.0094108991, 0.0731185973, 0.0022475549, 0.022684209, -0.0348165892, -0.0671580508, -0.0150024649, -0.0532116257, 0.0612116791, -0.0423951261, -0.0123107079, -0.0577763319, -0.035244301, -0.0129497917, 0.0508030131, -0.0050973324, -0.0339209959, 0.0171323735, 0.0049620811, -0.0255047549, 0.0100833587, -0.0338213593, -0.0208735168, -0.0192192849, -0.0120226862, -0.0876814649, 0.0079859039, 0.0641809404, -0.0094132153, -0.0339310095, 0.0154771972, 2.303753344e-34, 0.0577183887, -0.0262405016, -0.0320054665, -0.0304503683, 0.0523421578, 0.0265618097, -0.0036300956, 0.0074142283, -0.0011889193, -0.1095566079, 0.0414273851 ]
http://arxiv.org/abs/2312.10097v1
http://arxiv.org/pdf/2312.10097v1
Arithmetics-Based Decomposition of Numeral Words -- Arithmetic Conditions give the Unpacking Strategy
2023-12-14T17:45:50
2023-12-14T17:45:50
Isidor Konrad Maier, Matthias Wolff
cs.CL
cs.CL
In this paper we present a novel numeral decomposer that is designed to revert Hurford's Packing Strategy. The Packing Strategy is a model on how numeral words are formed out of smaller numeral words by recursion. The decomposer does not simply check decimal digits but it also works for numerals formed on base 20 or any other base or even combinations of different bases. All assumptions that we use are justified with Hurford's Packing Strategy. The decomposer reads through the numeral. When it finds a sub-numeral, it checks arithmetic conditions to decide whether or not to unpack the sub-numeral. The goal is to unpack those numerals that can sensibly be substituted by similar numerals. E.g., in 'twenty-seven thousand and two hundred and six' it should unpack 'twenty-seven' and 'two hundred and six', as those could each be sensibly replaced by any numeral from 1 to 999. Our most used condition is: If S is a substitutable sub-numeral of a numeral N, then 2*value(S) < value(N). We have tested the decomposer on numeral systems in 254 different natural languages. We also developed a reinforcement learning algorithm based on the decomposer. Both algorithms' code and the results are open source on GitHub.
[ -0.0087284949, 0.0775078461, -0.0034119422, 0.0143435635, -0.0468202233, -0.0074741007, -0.0422746055, 0.0439517945, -0.0749999359, 0.0164853409, 0.0339291133, 0.0165288653, 0.040810097, 0.0156791452, 0.0041962182, -0.0396014228, 0.0573129766, -0.0216352846, 0.0182432644, 0.0364720188, -0.0262310263, 0.0080902893, -0.0198988188, -0.0250686202, 0.0216840189, -0.0092383046, -0.0170760136, -0.0515878983, 0.017795343, 0.0241996553, -0.0387213789, -0.014768214, 0.0263781212, 0.0823734328, 0.0000022994, -0.0378683954, -0.0474149063, 0.0036979723, -0.0824400857, 0.0347395986, 0.0749222785, -0.0685098618, -0.0484335981, 0.0277368724, -0.026459692, -0.0342630856, 0.0455192216, -0.0027167571, 0.096500285, 0.0634762794, -0.0261795241, -0.0632499754, 0.0117700463, -0.0019557015, -0.0068040905, -0.023558002, -0.0065553305, 0.0407879874, 0.0003284847, -0.0090058353, -0.0271893051, -0.0497179814, 0.0267325249, -0.022493571, -0.0524824709, -0.0210089441, -0.0177787635, -0.0610391162, -0.0094328066, 0.0408272929, -0.0502710789, -0.0076785469, 0.0090803523, -0.0030547783, -0.0155011425, -0.0656575486, -0.0048319665, 0.0024538683, 0.029819984, 0.0445747711, 0.0149643188, 0.0184984673, -0.0054626726, -0.0407415219, -0.0790899619, 0.0583736934, -0.0022277262, -0.0318283476, -0.0143798338, -0.0600464344, -0.009245255, -0.0321685113, 0.0422705971, 0.0510253906, 0.03378281, 0.0172304381, -0.0291137286, -0.033546295, 0.0292835981, -0.025042668, 0.0215252601, 0.0667027757, 0.0202552676, 0.0116732139, -0.0229293574, 0.0557596162, -0.0270842798, -0.0427575447, -0.035096474, 0.044124987, 0.0257107969, 0.0021344488, -0.0248241983, 0.0538897365, -0.0110497437, -0.0057944255, -0.056630183, 0.0022155342, 0.0156380534, 0.0280989539, 0.0320448689, -0.0360919535, 0.0271625444, -0.0121470317, -0.0102540478, 0.0443679169, -0.0482600331, -0.0409836955, -0.0486345552, -0.0269509722, -0.0011512451, -0.0250657704, 0.0224892255, -0.0192233492, 0.0154091371, 0.0763842836, -0.0183194149, 0.0107753603, -0.0188492648, -0.0380662754, 0.0336211734, -0.0176231135, -0.0226565674, -0.0655639619, 0.0138382381, -0.0433779992, -0.0014506512, -0.0031945496, 0.0213374253, 0.0179955345, 0.0040729488, 0.06385196, -0.032104101, -0.001438587, -0.0260107275, -0.0268225987, 0.0626510903, -0.0064851288, 0.0270487797, 0.0256719049, 0.0207938235, -0.0610007867, -0.0059025213, 0.0500606075, -0.0036016172, -0.0191793572, -0.0388599969, -0.0471764728, -0.0314908251, 0.0008864076, 0.0449202769, 0.0548911095, -0.0456938557, -0.0406906903, 0.0025822257, 0.0714597926, 0.0249604732, 0.060424488, -0.0024009005, 0.0094996346, -0.0215439573, 0.0458708368, -0.0121489419, -0.0270234756, -0.0185304303, 0.0089747841, 0.0397212729, 0.0182768572, 0.0069306684, -0.0794782937, -0.0083860382, -0.0566933081, 0.0900563076, -0.0163821019, 0.0368378572, 0.0044200094, -0.0697014704, 0.008652661, -0.0051293611, -0.0661380142, -0.0011124286, -0.0652608499, 0.0243855156, 0.0559232272, 0.0524419509, -0.0251687318, 0.0124269351, 0.0246381983, -0.0605668016, -0.0408766493, -0.0160281993, -0.0229435321, -0.0086122742, -0.0567341, 0.0151491081, 0.0353030078, 0.0032457029, -0.0120782489, -0.0265270155, 0.0065223016, -0.0098682921, -0.0026959449, 0.0107174395, 0.0166503787, 0.0092926938, -0.0702768564, 0.0083576925, 0.0242897682, -0.029096825, -0.0024468107, 0.0361184478, 0.0452422425, 0.0576529913, 0.0021951105, -0.0073052067, -0.0379537083, -0.0073738755, -0.0560036749, 0.0734702572, -0.0199808832, -0.0082029263, 0.0230163466, -0.0300433505, -0.0117809009, 0.0541739389, -0.0542977415, 0.0470191985, 0.0062748478, 0.0519656688, -0.0105798123, -0.0109638302, -0.0149397114, 0.0581125766, -0.0244329479, 0.0277572647, -0.0586704351, -0.0643460155, 0.0318738595, -0.0004584872, 0.0330665037, 0.0017341293, -0.0160112046, -0.017146213, 0.0256250333, -0.0033163368, 0.0028490082, -0.0501058735, -0.0241585057, -0.0436910726, 0.0071110805, 0.0725695938, 0.0173620768, 0.0120272059, 0.0435598642, -0.0509976298, 0.00472394, -0.0315259658, 0.0460668653, -0.0220541861, 0.0443766974, -0.0138720395, -0.0020966236, -0.031378258, -0.051960621, -0.0339834616, 0.0407195017, -0.0176880416, -0.001747427, -0.0801269785, 0.0425838456, -0.0110721737, 0.0196893718, 0.0079836613, -0.0289744195, -0.0080807023, -0.0181262493, 0.0304348748, 0.0506902896, -0.0111688236, 0.0448780991, 0.0274510216, -0.0158598591, 0.0244240444, -0.0222616382, -0.0057122479, 0.0091262525, -0.0394938216, -0.0528756455, 0.0113772852, 0.0727242306, -0.0035509388, 0.0079386635, -0.0285004396, 0.0196033269, 0.0089672208, 0.0138968676, -0.034749601, -0.0041461964, -0.0118562188, 0.0499509089, -0.0291746706, -0.0038675813, 0.0444724187, 0.024940392, -0.0111801419, -0.0527447984, 0.0091393087, -0.0725114346, 0.0280022901, 0.0341510363, 0.013420132, 0.0068971789, -0.0362325422, -0.0219894778, 0.0313723348, 0.0125909513, -0.0313596837, 0.0389845744, -0.0103128292, 0.0033884975, -0.0294856522, -0.0533833317, 0.00518823, 0.0116005894, -0.0076066786, 0.0470468104, 0.0403635167, -0.0278645959, -0.054024525, 0.005275019, 0.0563991517, 0.0616414361, 0.0330058709, -0.008774071, -0.019439701, 0.050364349, -0.0037626002, -0.0214692503, 0.0444624797, -0.0126663204, 0.0178963318, 0.0165721215, 0.0618456639, 0.0287751034, -0.0114054196, 0.0362593606, 0.0584247746, -0.0693356246, -0.0502929911, 0.0369322486, -0.0156968758, -0.051168099, -0.0008735019, 0.0980298445, 0.0365933068, -0.0266775787, 0.0285841431, -0.0588221103, -0.0045715896, 0.0131283961, 0.0391111523, -0.0903251469, -0.0062331264, 0.0142053999, -0.02987496, 0.0140344966, -0.0212274585, 0.0068432414, -0.1427421421, 0.0501324125, 0.0284584146, -0.0349645056, -0.0226098876, -0.0283065829, -0.0137298852, -0.0161689278, 0.0117721939, 0.0572085343, -0.0485324599, -0.0087832911, 0.0048642466, -0.0342441872, 0.0003476169, -0.0411103405, 0.0037089169, -0.000725652, 0.0355076343, 0.0614541508, -0.00617366, -0.0507852063, -0.0362546034, 0.0288666282, -0.0194547586, 0.000551422, -0.0240945723, 0.0500992388, 0.0103627983, -0.0346829779, 0.0194180179, -0.0316325352, -0.0178939886, 0.0274337791, 0.0764192492, 0.0046748859, -0.0071542538, -0.0036776916, -0.0151238199, -0.003803574, 0.0124653308, 0.0227412637, 0.0085699223, -0.037011493, -0.0386691131, 0.0146630835, -0.0177472513, -0.0554620549, -0.0337991267, -0.0179072935, -0.0389519073, -0.0537527055, 0.0418265983, -0.0054378351, 0.0317418687, -0.0026824896, -0.0451481044, 0.0710477009, 0.0102786813, -0.0731267408, -0.0732274503, -0.0158959068, 0.0331645124, -0.1006699577, 0.0105746333, 0.0127906417, 0.0273908917, 0.0114270821, -0.0244708024, -0.0171116665, -0.0256575383, 0.0115568833, 0.0551990159, 0.0327739604, -0.0125004733, 0.0030628776, -0.034870781, 0.0192927681, 0.0131003708, -0.0571310855, 0.0109567503, 0.0083951596, -0.0070062489, 0.0119580496, -0.0218359455, 0.0142464498, 0.0201856662, -0.0407001376, 0.0062995669, -0.0931687951, 0.071328111, 0.05792116, 0.0338991433, -0.0423954204, -0.0045752749, 0.0254014879, 0.0238582511, 0.0156864934, -0.0236883592, -0.0039814035, -0.0073526907, 0.0373990498, 0.0381030254, 0.0686434582, 0.004573442, 0.0001043103, 0.0448859334, -0.003712083, 0.0506064408, 0.0502008051, 0.0668273196, 0.1092684343, 0.0254356302, -0.0307504255, 0.0381682999, -0.0039880988, -0.0327111557, 0.0519023091, 0.0006760593, 0.0008901808, -0.0095728636, 0.0451926701, -0.0647058636, 0.0531704463, 0.033623267, -0.0270613153, 0.0029869457, 0.0054533901, -0.0157125834, 0.0372891985, -0.0217127521, -0.0165001191, 0.0076110046, 0.0065553882, -0.0081296405, -0.0253292657, -0.0007786146, -0.0479841083, 0.0338353217, -0.0277316477, -0.0399838611, 0.0390886106, -0.0143850259, 0.0062602591, 0.0181863084, -0.0319189802, -0.0265139379, -0.0123874452, -0.0307558458, 0.0508217625, -0.0302948914, 0.0025526059, -0.0428579003, -0.0684818178, -0.025746787, 0.0403792411, 0.0333540477, 0.0260992087, 0.0147511316, 0.031531591, 0.0132490573, 0.0314809568, -0.0177930091, -0.0029514772, -0.0297824237, -0.0579060689, -0.046741195, -6.16138817e-33, -0.0108102625, -0.0186510663, -0.0223281998, 0.0214288607, -0.0045375731, -0.0462923348, -0.0126947146, 0.0202138145, 0.0402160548, -0.0048947586, -0.0293740928, -0.0131957242, 0.0230905674, -0.0334047601, 0.0246412326, 0.0242097825, 0.0530176684, -0.0209045932, -0.0583301, -0.0422818623, 0.0178162102, 0.0337230563, 0.0953529477, 0.0136526013, -0.0222126003, -0.0032739595, 0.0049633845, 0.0284407772, 0.0008439461, 0.024852097, -0.0115821147, 0.0232771691, 0.0012737183, -0.0103259999, -0.0293570589, 0.0869318843, -0.0782354847, -0.0477070585, 0.0449249633, 0.0329454131, 0.02028496, -0.0507816859, 0.0341779478, -0.0383763947, -0.0236481279, 0.0427897424, 0.0158558693, -0.0282344874, -0.006298346, 0.0110228537, -0.0503728129, 0.0075282357, 0.0007888947, -0.0232629143, 0.0460060723, 0.0189890899, -0.0247796662, -0.0373965278, -0.0127121918, 0.0728600621, 0.0693667457, 0.0621366315, -0.0153920641, -0.0351074487, -0.0173117332, 0.0116612474, 0.0510465428, -0.0329215266, -0.0271261912, -0.0047118431, 0.0566061102, 0.0294625144, 0.0599669814, 0.0109915584, 0.1530868113, -0.0191274453, -0.0013621605, 0.0342869125, 0.094222188, 0.0160762686, 0.0003152151, 0.0440285914, -0.0261920188, -0.0087086176, 0.0052136276, 0.0244558901, -0.0370524377, -0.043321494, -0.0127787394, 0.0130242929, -0.0263991952, -0.0048338077, -0.0107983872, -0.0363549963, -0.0161534362, 0.0274556875, 0.0072780661, 0.0147357658, -0.0232419763, -0.0196521599, -0.0081288759, -0.0427043252, -0.0052349535, -0.0273668095, 0.0273428038, -0.019500358, -0.0697350428, 0.0548330806, -0.0648166016, 0.0073461751, -0.0114196818, 0.0128223272, 0.0266525857, 0.0282805339, 0.0146886632, 0.0055088871, 0.0159833021, -0.0772883967, 0.011423232, -0.0295690093, 0.00239695, 0.0388948359, 0.0139603755, 0.0540492088, -0.0101869851, -0.0458124839, -0.0483755805, 0.0529852994, -0.0093364948, 0.0081618158, -0.0101039633, 0.025903115, 3.036e-7, 0.0064252019, 0.0581695475, 0.0554682016, -0.0461473353, 0.028990509, -0.0153279919, -0.0223581437, -0.0047513605, -0.0746903867, -0.0265974831, 0.021880893, -0.0360074081, -0.0011079205, 0.0402824134, -0.0181339886, 0.0166692082, 0.0026136523, -0.0445091613, -0.0325638428, -0.0102198999, -0.0346724764, 0.0764319152, 0.0345554017, -0.0227197427, 0.0072474028, 0.0237002298, -0.021911718, -0.009216994, 0.0123738851, -0.023952987, -0.0113249626, 0.0025750429, -0.0142160049, -0.0504633598, 0.0101554636, 0.0532988235, 0.0357440375, 0.0640969425, -0.0131276315, 0.0073638065, 0.0126308016, -0.032357648, -0.0538998209, 0.0197021384, 0.0113108205, -0.0297641531, -0.0597043112, -0.00162647, -0.0271999575, -0.0300877001, 0.0067572282, 0.0081125237, -0.0035106272, 0.0526096076, 0.0304162018, -0.0108406143, 0.0119787212, -0.0530877225, 0.0029752704, 0.0120121939, -0.0394202806, -0.0063681747, -0.0294509232, -0.0010755091, -0.009873067, -0.0269175489, -0.0071204426, 2.746458062e-34, 0.0361382961, -0.0298021436, 0.0010246359, 0.0557792634, 0.0100247841, -0.0050493544, -0.0479679443, 0.0906010941, 0.0474828146, -0.0050903703, -0.0109112766 ]
http://arxiv.org/abs/2312.09085v5
http://arxiv.org/pdf/2312.09085v5
The Earth is Flat because...: Investigating LLMs' Belief towards Misinformation via Persuasive Conversation
2023-12-14T16:16:50
2024-05-31T15:13:33
Rongwu Xu, Brian S. Lin, Shujian Yang, Tianqi Zhang, Weiyan Shi, Tianwei Zhang, Zhixuan Fang, Wei Xu, Han Qiu
cs.CL
cs.CL, cs.AI, cs.CR, cs.CY
Large language models (LLMs) encapsulate vast amounts of knowledge but still remain vulnerable to external misinformation. Existing research mainly studied this susceptibility behavior in a single-turn setting. However, belief can change during a multi-turn conversation, especially a persuasive one. Therefore, in this study, we delve into LLMs' susceptibility to persuasive conversations, particularly on factual questions that they can answer correctly. We first curate the Farm (i.e., Fact to Misinform) dataset, which contains factual questions paired with systematically generated persuasive misinformation. Then, we develop a testing framework to track LLMs' belief changes in a persuasive dialogue. Through extensive experiments, we find that LLMs' correct beliefs on factual knowledge can be easily manipulated by various persuasive strategies.
[ 0.0438935831, 0.0610255487, -0.0167051163, 0.0386354402, -0.0505987965, -0.0100440634, -0.0020097708, -0.0195080899, 0.0227362625, -0.0366669297, -0.004567062, -0.0101592913, 0.0119634112, 0.0055064233, 0.0436928272, -0.0332457572, 0.0221396759, -0.0169862192, 0.0683567151, -0.0521419533, 0.0133646894, 0.0038840971, -0.012856666, -0.0017354483, -0.0141406944, -0.0277002007, 0.0171471108, -0.0026071339, 0.0239622034, -0.0322532952, 0.0177008025, 0.0703156143, 0.0375301391, 0.05112179, 0.0000017679, -0.0310112052, 0.0080409646, -0.007081795, -0.0688283294, 0.0833371431, 0.0463023297, 0.0057071368, -0.002309971, 0.0196991097, -0.0402247831, 0.0254110973, 0.0454659648, 0.0791041031, 0.054335665, 0.05562713, 0.0112768104, -0.0007004389, 0.0002721566, -0.0013717202, 0.0076546166, -0.0128248911, 0.0575086325, 0.0116198296, -0.0564592741, 0.0438626483, -0.0100421552, 0.0087286886, -0.0059595471, -0.0010021063, -0.0362342149, 0.0303148199, -0.0284405723, -0.0086466242, 0.0063394518, 0.0543347411, 0.0347855501, -0.0527763292, -0.0070111919, 0.007607711, 0.0221385844, 0.0580956154, -0.0435178019, 0.0376708843, -0.0051598051, 0.0059721409, -0.0201370195, -0.0091826515, 0.0353787877, 0.018591905, 0.0029654843, 0.0601093322, -0.0037605872, -0.0441805907, 0.0143141616, -0.0207005478, 0.0274872705, -0.0845406353, -0.0581632815, -0.0251324549, -0.0021381124, 0.0392853208, -0.0148801953, 0.035304971, 0.0586133935, -0.1186541095, -0.0053152931, 0.0065707248, 0.0121920174, 0.0289303344, 0.0019121263, -0.0116458004, -0.0300885458, -0.0029381155, 0.0300283283, 0.014958811, -0.0232126173, -0.0041978797, 0.0179535095, -0.0166622251, 0.0549207367, 0.0109052872, -0.0202349927, -0.0164806321, -0.0398881324, 0.0189743582, -0.0615249611, 0.0034713233, -0.001525737, -0.028312372, -0.0391038544, 0.0901729837, -0.0347573422, 0.0535394028, 0.0112830456, -0.0871465877, -0.0162787531, 0.0079270741, -0.0031238957, 0.0228511617, 0.0206074025, 0.0077691092, 0.001607825, 0.0187693369, -0.0537981093, -0.0084197391, -0.0322716311, -0.0490634479, -0.0098947464, -0.0488560833, 0.0171638969, 0.0137286056, 0.0039533023, -0.0305498745, 0.0265479255, 0.0215651914, -0.0593936704, 0.0604556501, 0.0153323002, 0.0263755266, 0.050799191, 0.0436504371, -0.0280089658, 0.0721168369, 0.0194717292, 0.0406855941, 0.0469441973, 0.0023061091, 0.0278964844, 0.0073499586, 0.0432088152, 0.0282878354, 0.03561683, 0.0120013542, -0.0446064696, -0.0003733737, 0.0111687947, 0.0470392518, -0.0088714901, -0.0064152409, 0.1049659029, 0.0205670651, -0.0612655543, -0.0068223658, -0.0082213301, 0.0119824819, 0.0151864477, 0.0153426658, -0.0364240631, -0.0208327137, -0.069956243, -0.0057166405, 0.0342109464, 0.0302921813, -0.0194449406, 0.0047203144, -0.0248171035, -0.0012014399, 0.031468071, 0.0235080719, -0.0057152938, 0.0042026541, -0.0211167689, 0.0438624769, 0.050256487, -0.0452769324, -0.0386475995, -0.0099312887, 0.0214112792, -0.0120870462, 0.0026904512, 0.0256000031, -0.0047920938, -0.0492644124, 0.0368144326, 0.0628387108, 0.0775597915, -0.0091351951, -0.0444630384, -0.0105432933, 0.0001592613, -0.0454039462, 0.0341345742, 0.0261038654, 0.0069151847, 0.0280691553, -0.0059624389, -0.0531687997, -0.0040890463, 0.0103210676, -0.0132512394, 0.0074341218, -0.0520846769, 0.0098443059, 0.0525652617, -0.0086779995, -0.0240585506, 0.0020322143, 0.0375528075, 0.0150143122, -0.0248505976, 0.0247008111, 0.0042450191, 0.0141662918, 0.0096843131, -0.0383426175, -0.0435825139, -0.0097673014, 0.012099877, 0.0300598312, 0.0218531322, -0.028112825, 0.0911508128, 0.0156191289, 0.00001442, -0.0270123035, 0.0219051428, -0.0031586054, 0.0266339071, -0.0285526682, 0.0058445521, -0.0237353202, -0.0568889156, 0.0218660682, -0.023689134, 0.0380574316, -0.0249930769, 0.0182683337, -0.0015914217, 0.0434570387, -0.065413326, -0.0377672538, -0.0244709179, -0.0507644042, -0.0759955123, -0.0010798449, 0.0138350138, 0.0272385776, -0.0295517892, -0.0004713675, 0.0305991042, -0.0497855172, 0.0015018561, -0.0034947754, 0.0443702936, 0.0008938756, -0.0372815281, -0.0049530743, -0.007061257, 0.0443618596, -0.0211109724, 0.0347239487, 0.0388746597, -0.0061613391, -0.029547317, 0.0048728175, -0.0806181505, 0.0072632232, -0.0434821323, -0.0261089504, -0.0025794886, 0.0479663648, 0.0285297707, 0.0521557927, 0.0384896435, 0.0198643804, 0.0350453109, 0.0180413742, -0.0364204869, -0.0320136249, -0.0190513376, 0.0129581708, -0.0607442334, -0.0877072588, 0.0287913214, 0.0190199949, 0.0398496091, 0.0164161306, -0.0126942135, 0.0541453734, 0.0037965714, -0.0446100608, -0.0055496236, -0.0154909845, -0.0022757768, 0.0801551342, -0.0284619369, -0.0764713138, 0.0618184209, -0.0467419885, 0.0131943244, -0.0005551295, 0.0079385061, 0.0111521427, 0.0079732453, -0.0062774043, 0.0111604724, 0.0294423364, 0.0241717175, -0.0384638235, -0.0460660905, 0.0343065597, -0.0403360091, 0.0329424776, -0.0641442984, 0.005408383, 0.0587026402, -0.0269579086, -0.0441226438, -0.0797694996, -0.0352516025, -0.0544982664, 0.0205222908, -0.0472335592, -0.0589978285, -0.0513524935, 0.0554276295, -0.0258731004, 0.0109484801, -0.0045209141, 0.0278467163, -0.0263530817, 0.0487969555, 0.0222218949, 0.0650671348, -0.0799448043, 0.0175883025, 0.0513153262, -0.0077367555, -0.0002187317, -0.0022403523, -0.0512263216, 0.0046847966, 0.0366263874, 0.0198726784, 0.0231822319, 0.0412602127, -0.0168908481, 0.0118961073, 0.0653304905, 0.0114811938, -0.0037614673, 0.0152075477, -0.0232300684, 0.0482026413, 0.0232668705, -0.0108852405, -0.066757828, 0.0093947211, -0.0087513756, -0.0254681632, -0.0503404364, -0.0103127314, -0.0438584313, -0.0974588245, 0.0325097255, 0.0147423856, 0.0368988886, -0.0218439773, -0.0377345532, 0.0035312418, 0.0138413766, 0.0158653501, -0.0112387473, 0.0242912415, -0.0171006266, -0.0256668162, -0.046706412, -0.0381096452, 0.0270536896, 0.0108031435, 0.0577206425, 0.0420073792, 0.031266734, -0.0149931395, -0.0640944764, 0.0356124528, 0.0448329411, -0.0604598373, -0.0082073333, 0.0416495092, -0.0130328583, 0.0128195528, -0.0210647564, 0.0125008645, 0.0074834931, -0.019142732, 0.0099052712, 0.0672949106, 0.0121135246, -0.0708015859, 0.021334542, 0.0265380833, 0.0516266376, 0.0816148594, 0.0242755301, 0.0049444102, 0.0143125979, -0.0820597112, -0.0237922482, 0.0376478285, -0.0752434954, -0.004575328, 0.024419114, 0.0086179627, -0.0489114448, -0.0032032123, -0.0080724554, -0.0222475901, 0.0104206093, -0.0116249062, 0.0566128977, -0.0004597414, -0.0072453441, -0.0041605961, -0.0534321368, 0.0245257411, -0.0400307216, -0.0245856941, 0.0327958092, -0.0299176686, -0.0073907613, -0.0088936528, -0.0412337705, -0.0782517642, 0.0203797519, 0.0137185734, 0.0244622026, 0.0246050041, 0.0286902562, -0.0135976579, 0.051171653, -0.0143143563, -0.0523986816, 0.0619068034, 0.0353630818, 0.052982688, 0.0243907906, 0.0323439986, -0.0154403578, 0.0436513536, 0.0050197858, 0.0033231305, -0.0733610317, -0.0570765845, 0.0424571484, 0.0169618484, 0.0468352996, 0.0255700573, 0.0121633066, -0.020273231, -0.0010139495, -0.0372457355, -0.0302899033, 0.0145758456, -0.0081325276, 0.024919007, -0.002755909, 0.0121724205, 0.0107992822, -0.0653198212, 0.0194156598, 0.0148887644, -0.011012827, -0.0199458022, 0.0030579967, 0.0173979681, -0.0207275059, 0.0007981401, 0.0307469387, -0.0284686703, 0.0247720722, 0.0472739413, 0.0500688665, 0.0162430555, -0.0356284343, -0.0001823097, -0.0210114121, -0.055983372, -0.0504796691, 0.0187839027, -0.0140216528, -0.0191361718, 0.0115248365, 0.0578546189, -0.04201103, -0.0127202366, -0.0158884805, -0.003092017, 0.0102553219, -0.0290664881, 0.065431267, -0.0213999134, -0.0461637452, 0.0302243922, 0.0627868399, -0.03045954, 0.0557084605, 0.0020429371, -0.0266170725, -0.0437602103, -0.0457862988, -0.015346339, 0.0111901471, 0.0179410949, 0.0419882759, -0.0908749253, -0.0410193801, -0.0235515479, 0.0240484849, -0.0038017461, -0.0333770104, -0.0215878226, 0.0663327426, -0.0230481625, 0.0154004125, -0.0261802301, 0.0209397729, -0.0117064798, -0.0038934993, -0.0348691829, -6.49606684e-33, 0.0077893799, -0.0360629931, -0.0276687723, 0.0338311717, 0.0029187971, -0.0023680124, -0.0039668488, 0.0511251204, -0.0572905056, 0.0691957027, 0.0092345299, 0.0339243151, -0.0048479652, -0.0006679993, -0.0102317519, -0.0176329352, 0.0364587866, -0.025355963, -0.0427062735, -0.0121311191, 0.0381118394, -0.0245345626, 0.0299618449, -0.10488116, 0.0729628503, -0.0140553201, -0.0218150262, 0.0150404349, -0.081026189, -0.0126378555, 0.0060192826, 0.0489554219, 0.0162088368, -0.0229199529, -0.009824723, 0.0647247508, 0.0244609453, -0.0299570523, 0.0696115047, -0.0325532779, -0.0117061287, -0.0082311118, -0.0029695376, -0.02082837, -0.0248849336, 0.0066390196, 0.0018654682, -0.0057352679, 0.032751821, 0.0630548522, -0.0243311096, -0.0102099553, -0.0122919995, -0.0237494763, -0.0699990764, 0.0550280139, 0.0020015419, 0.0178565066, -0.056070473, 0.0812440738, 0.0076388442, 0.0030487163, 0.0309915021, -0.0335240364, 0.0357611589, 0.093427889, 0.0197873507, 0.0420848653, -0.0647138208, -0.026983805, -0.0146290883, 0.012407464, 0.0649806261, 0.1046476811, 0.0188004952, -0.029439345, -0.0512939654, -0.0274638925, 0.0654341578, -0.0120471464, 0.0254170299, -0.0178118572, -0.0295529831, -0.0352287553, -0.0559445135, -0.0009183806, -0.0217127278, -0.0058702738, 0.0055015585, 0.0319935717, 0.006298495, 0.0065233628, 0.0022152853, -0.0051602582, -0.0318913944, 0.0307741389, -0.0048409677, -0.0124706719, 0.0149135254, 0.004463959, -0.0767134726, 0.0408435203, -0.010263592, 0.0016231468, 0.0095959129, 0.0104011642, 0.0229487251, -0.0287557319, -0.0624930747, 0.0143076517, -0.0189142004, 0.0029913017, 0.0088820066, -0.0550639406, 0.0196747314, 0.0112796547, -0.0106471553, -0.0224905089, 0.0094157374, -0.0012268566, -0.0339147635, 0.0027331903, -0.041684933, 0.0552982055, -0.0348356999, -0.0263162646, -0.0425081328, -0.0143023217, 0.0203319043, -0.0664257556, -0.0221501719, -0.0482221469, 2.617e-7, 0.010981719, 0.0953446329, -0.0203973316, 0.0313212574, 0.0429920107, 0.0558066778, -0.0532311909, -0.0085598072, 0.0459813885, -0.0919801816, -0.054307729, 0.0003618806, 0.0423635803, 0.0273457337, -0.049555406, -0.0256729424, -0.0689199492, -0.0094292192, -0.0180383939, -0.0229845662, 0.0282433387, 0.0508034751, 0.0401985943, 0.0286466889, -0.0195757225, 0.0213409718, 0.0830138996, -0.0517150126, -0.0049950113, 0.0181054343, -0.0036632149, -0.0532847606, -0.0107473945, 0.0446120091, -0.0048365477, -0.0079798624, -0.0711472332, 0.0386012979, 0.0175321177, -0.0516824089, -0.0238168389, -0.0055072769, -0.0229769927, -0.0493807979, 0.0145409014, -0.0391919054, -0.0577122942, -0.0214564502, 0.0101562291, 0.0144349774, 0.0143586164, -0.0165483821, -0.0375791602, -0.043078471, 0.0151043264, 0.0428968742, 0.0301564783, -0.024285648, -0.0110079264, -0.0015706392, -0.0609676279, -0.102749303, -0.0115267672, -0.0303329676, 0.015396229, -0.0268103294, 0.0271351319, 2.195552073e-34, 0.0495356731, -0.0153577272, 0.0053643407, -0.0275890417, 0.0517876074, -0.0103076566, 0.0680656359, -0.0191976447, 0.0413735062, -0.0584588125, 0.0106261401 ]
http://arxiv.org/abs/2312.09084v3
http://arxiv.org/pdf/2312.09084v3
Language Modeling on a SpiNNaker 2 Neuromorphic Chip
2023-12-14T16:16:35
2024-01-24T10:56:24
Khaleelulla Khan Nazeer, Mark Schöne, Rishav Mukherji, Bernhard Vogginger, Christian Mayr, David Kappel, Anand Subramoney
cs.NE
cs.NE, cs.CL, cs.ET, cs.LG
As large language models continue to scale in size rapidly, so too does the computational power required to run them. Event-based networks on neuromorphic devices offer a potential way to reduce energy consumption for inference significantly. However, to date, most event-based networks that can run on neuromorphic hardware, including spiking neural networks (SNNs), have not achieved task performance even on par with LSTM models for language modeling. As a result, language modeling on neuromorphic devices has seemed a distant prospect. In this work, we demonstrate the first-ever implementation of a language model on a neuromorphic device - specifically the SpiNNaker 2 chip - based on a recently published event-based architecture called the EGRU. SpiNNaker 2 is a many-core neuromorphic chip designed for large-scale asynchronous processing, while the EGRU is architected to leverage such hardware efficiently while maintaining competitive task performance. This implementation marks the first time a neuromorphic language model matches LSTMs, setting the stage for taking task performance to the level of large language models. We also demonstrate results on a gesture recognition task based on inputs from a DVS camera. Overall, our results showcase the feasibility of this neuro-inspired neural network in hardware, highlighting significant gains versus conventional hardware in energy efficiency for the common use case of single batch inference.
[ -0.0293063391, 0.0493982881, -0.0155022508, 0.109284848, -0.0385838561, -0.0125108771, 0.0329525098, 0.0072566858, 0.0412029251, -0.019983083, -0.0185348932, -0.0241940096, 0.0093318038, 0.0612564348, 0.0179642271, 0.0175117087, 0.066426225, -0.0086483061, -0.0100808283, -0.0298828706, -0.0051750066, -0.0231294055, -0.0413016379, 0.041223485, 0.0014722298, 0.027482247, -0.027674336, -0.0057618329, 0.0117631815, -0.0097158719, 0.027133815, 0.0113507826, 0.0172091015, 0.0329394192, 0.0000017378, 0.0224886928, 0.0695799366, -0.0109319417, -0.0121743241, 0.0082351528, 0.0058069448, -0.0108752409, -0.0504705198, -0.0152991451, 0.0024000686, -0.061155729, 0.097879082, 0.0096271085, -0.0228777602, 0.0225997306, -0.0177516863, -0.0253720656, 0.0808113813, -0.0207939669, 0.0427174121, 0.0160851907, -0.0232831463, -0.047317069, 0.026225429, 0.0095731588, -0.0570319369, 0.0390538871, 0.0531864911, 0.0118656494, -0.014302643, 0.0520926863, -0.0443065651, 0.0092900954, -0.0290689506, 0.016816413, -0.0446254984, -0.0046036104, 0.0024334586, 0.0017680745, -0.0864621773, -0.0120639838, 0.0157573223, -0.0261158682, -0.0227660555, 0.01878017, 0.0150017673, -0.0421441831, 0.0623065829, 0.0188067183, 0.0363661349, 0.049925182, 0.0455802605, 0.0615793318, -0.0523248687, 0.001987813, 0.0132961879, -0.0175402593, 0.0533875413, 0.0134662157, -0.0054470804, -0.0228619929, -0.0701988861, -0.0200169906, -0.03861022, -0.0543264374, 0.0124244494, 0.0656105876, 0.0236947536, 0.0428297035, -0.0156782884, 0.0017283319, -0.0379365124, 0.0171921905, -0.0492527224, 0.0108903507, -0.013503626, 0.0200506635, 0.0035277999, 0.0137562938, -0.0229711495, -0.0889915153, -0.0493041761, 0.0299610756, 0.0184645951, -0.0155129554, -0.0302266888, -0.0015828171, 0.0093128895, -0.0298105441, -0.0067999833, 0.0419825464, 0.037012022, 0.0147382477, -0.0013283448, -0.0809619725, -0.0280647893, 0.0071914992, -0.0008898057, 0.0039420305, 0.0441166013, 0.0320332833, -0.0331774317, -0.094492346, -0.0815773979, 0.0970464572, 0.0059744134, 0.0147344982, 0.0188083295, -0.0712644234, 0.0753064528, 0.0157208703, -0.0292128157, -0.036647696, 0.0416156538, 0.0060291663, -0.0026959849, 0.0826352015, -0.0051443367, -0.0444856621, 0.0525473282, -0.0248130094, 0.0042647328, 0.021407932, 0.1003280059, 0.0270666424, 0.0015750403, 0.0139504001, 0.0062484406, 0.0471897423, 0.0245638341, -0.019945221, -0.030826902, -0.0551617071, -0.011375797, 0.0050709601, 0.0587887056, 0.0488266237, -0.0327215008, -0.0229555499, 0.0848387852, 0.0634715408, -0.0442790203, 0.0154610369, -0.007100964, -0.0401858501, -0.0372251868, -0.066571869, -0.0598549768, 0.075264357, 0.0404207334, -0.028541103, 0.0143301748, 0.0112669505, -0.059868183, -0.0196724497, 0.0043031895, -0.0256914515, 0.0369062126, 0.0598852932, 0.025431646, -0.0273391157, -0.0286216885, 0.0563556142, -0.0086259032, -0.0291478001, -0.0048357258, -0.0783453882, 0.0475159362, 0.0719149411, 0.044137463, -0.0237594694, -0.0279521253, 0.0338356867, -0.0412413552, 0.0351823568, 0.0288674142, -0.0021605254, 0.0856198147, -0.0738805309, 0.0035348283, -0.0191487446, 0.0083734384, 0.0377563871, 0.0212781485, -0.0019784472, -0.0004833722, 0.0406062715, -0.0370001234, 0.0025446545, -0.0360199958, -0.0201812629, 0.0189477243, -0.0271734651, 0.0163674597, -0.0564758256, -0.0040818322, 0.0046078213, 0.0160976015, -0.0795505494, 0.0254811104, -0.0133594815, -0.0389019102, -0.0588529594, 0.021859616, -0.0089026, 0.0226710346, 0.0268885233, -0.033443965, -0.0487059467, 0.0397195183, -0.0520061105, 0.0115946876, -0.037253283, 0.0047674202, 0.0310594141, 0.0154746911, 0.0173563249, -0.0003624727, 0.0076675247, 0.0087338341, -0.019733116, 0.0168942045, -0.0045188079, -0.0239672512, -0.0569588169, 0.0081356606, 0.0138989324, 0.0072492273, -0.0080178129, -0.0330863185, 0.0134603679, -0.0025902921, -0.0694929212, 0.0087672789, -0.0148659432, 0.0472565629, -0.009059594, 0.0356795006, 0.0363056958, 0.0094826166, -0.0122318519, -0.0174143706, -0.0432044752, 0.00978659, -0.0074745542, -0.0005885873, -0.0489544272, -0.0478966311, -0.0683680028, -0.0065169083, 0.0207931269, -0.0077039264, -0.0255935974, -0.0066366396, -0.0121166781, 0.0169850029, 0.0395393819, -0.0313973241, -0.0200300161, 0.0222948175, -0.0055419789, 0.0303072035, 0.0816577673, -0.0145225301, -0.0156232687, 0.0082561672, -0.0229264461, 0.0029349041, 0.0242366306, -0.007033654, 0.0811633766, -0.0176462717, 0.0173103604, -0.0621885918, 0.0542551614, 0.0015955277, 0.0020287752, -0.0239732191, -0.0365860648, 0.0188638251, -0.028333623, -0.0043719849, -0.0100925844, -0.016557198, -0.0200616587, -0.0345924981, -0.0463123247, 0.0508721098, -0.0083504496, -0.0101844193, -0.004347187, -0.0031207267, -0.0179119669, 0.0820799842, 0.0633229315, 0.039470274, -0.0429666117, 0.0242353696, 0.0171916503, 0.0068868925, -0.0097673275, -0.0218653493, 0.038825497, -0.0392436422, 0.0593395159, -0.0090520615, -0.0223551132, 0.0121469675, 0.0488728434, -0.0293866657, -0.0115330862, 0.0284056459, -0.033890374, -0.0016887937, 0.0372552983, 0.0394453406, 0.073254697, 0.0184718706, -0.0071125054, -0.0555950925, 0.02046193, 0.0179818142, -0.0106529873, 0.0047601731, -0.0021037075, -0.0142645249, 0.0419719107, 0.0599176362, 0.0108452598, -0.1364115328, 0.0321309827, 0.0386344753, 0.0545313843, -0.0424838029, 0.005780865, 0.0347532518, -0.056442149, -0.0215748288, 0.0438836105, -0.0047993814, -0.0268825609, 0.0049169506, 0.0119286682, -0.0169581492, -0.0290773362, -0.0017519913, -0.0160975102, -0.0504262075, -0.0152765587, -0.0222274326, 0.0208018366, 0.0140795279, -0.0291955285, -0.0391775593, 0.0216272958, -0.0073792003, 0.0085549783, -0.0234603472, 0.0066079334, -0.0122233732, -0.0161699895, -0.022079533, 0.0131689962, 0.0538063347, -0.0075964443, -0.0380266085, -0.0378359258, -0.0211160183, 0.0584869683, -0.0229166336, 0.0162907671, 0.0438962728, -0.0148604969, -0.0356867686, -0.0424405597, 0.0267304908, -0.0120201604, -0.007764467, -0.0156720355, 0.0064474149, 0.0369761884, -0.0589656569, -0.0248237234, -0.0000870041, -0.0163365621, -0.0471491627, -0.0422385298, 0.0522262603, -0.0449997969, -0.0068012509, -0.0195734687, -0.0375128649, 0.0206527468, 0.0156185608, 0.0083728619, -0.0344317891, -0.0500095487, 0.002430062, -0.0158508215, -0.0670202151, 0.0065876762, -0.0139726633, 0.0464891382, -0.0539353974, 0.0113723837, -0.0005975239, -0.0207225289, 0.0024775052, 0.0031112714, -0.0261769127, 0.0754196346, -0.0064660432, -0.0358379558, 0.0263202898, -0.0069378708, 0.054077737, -0.056127958, -0.0015167278, 0.0536300391, 0.0268232971, 0.0051967008, 0.068197161, -0.0889811963, -0.0443715528, -0.0033494474, 0.0273957551, 0.0144654009, 0.0022942305, 0.0408546552, 0.0281666685, 0.0171939936, 0.0478697047, 0.0041449866, 0.0499279872, -0.0032498755, -0.0029451305, -0.015297926, 0.0422333665, 0.022262441, 0.0590792373, -0.01619808, 0.0195723139, -0.0698659867, -0.0495858043, -0.0209952127, -0.0148042459, 0.0499363989, 0.0080065858, 0.0356801637, -0.0289153513, -0.0110737942, 0.0234773979, 0.0888223797, -0.0939929485, -0.0318332613, 0.0091678649, 0.0020326932, -0.0230684653, -0.0025581475, 0.0704467297, -0.0387541428, -0.0141619565, 0.0069964016, 0.0164671484, 0.0339567102, -0.0112559786, -0.028241653, -0.0293844473, 0.0439865068, -0.0015386132, 0.0360329598, -0.046011582, 0.018483527, 0.0348034464, -0.0224736165, -0.0717834905, 0.0145287579, -0.0301324651, -0.0462355055, 0.0069926358, 0.0145754246, 0.0421847999, 0.026913587, 0.0246552359, -0.0315480232, -0.0203197785, -0.0266864263, 0.0558643825, 0.0162727199, 0.0059555438, 0.0448493958, 0.0536931083, 0.0404450074, -0.0394035392, 0.009882044, -0.0135833807, 0.0165578611, 0.027923299, 0.0201108828, 0.0015496534, -0.0511074401, -0.0277826618, -0.0225131288, -0.0198439546, 0.0044770776, -0.0028672055, -0.0219502989, 0.0327164456, 0.0199577864, 0.0345733836, -0.0647106692, 0.05144931, 0.025282491, 0.0296364911, -0.0476617143, 0.027255198, 0.0186234675, 0.0201197881, -0.0283009633, -0.0385207422, -5.319846989e-33, -0.0103796488, 0.0067267278, 0.070032239, 0.0619947948, 0.010521912, 0.022650471, -0.0458407588, -0.0375408046, -0.0536847822, -0.0332330093, -0.0233013015, 0.0434742346, 0.0241006352, 0.0223254804, 0.0246762503, -0.0451358296, 0.0263454542, -0.0064820526, 0.0115483254, 0.0206839833, 0.0276777633, 0.0053835344, 0.0801134333, -0.0294126086, -0.0282104388, 0.0137671251, 0.0006082295, -0.0732656419, 0.0013829669, -0.0227356255, -0.0764104724, 0.0470363386, -0.0156891793, -0.0469422713, 0.0302892383, 0.0328703411, -0.046109397, -0.0149980281, -0.0260547474, -0.0001460515, -0.0299869291, -0.0225623548, 0.0408858992, 0.049872987, -0.0602633841, -0.0078273583, -0.0220043827, -0.0235594269, -0.0136856297, 0.0082816696, -0.0201171357, 0.0192809664, 0.047217872, -0.0159206465, 0.024628168, -0.0599489249, -0.0617784634, -0.0085001513, -0.0783322081, 0.011378753, -0.0235424079, 0.0930896699, 0.032987535, 0.0529003628, 0.0253611282, 0.0436181128, 0.082986854, -0.0037394275, -0.0237883534, 0.081430763, 0.0364659168, 0.0289505087, 0.0239568893, 0.0158290248, 0.0654023513, -0.0350174569, -0.0521462224, -0.0066760452, 0.0597089045, 0.0334956907, 0.0242158696, 0.0056478321, -0.033105921, -0.0548715778, 0.0019466697, 0.0500968657, -0.0133788716, 0.0134223094, -0.0146024823, 0.0146985687, -0.0042007496, 0.0190459024, 0.0299789589, -0.0148068182, 0.0159287397, 0.0233441573, 0.0488268882, 0.0171319768, 0.0376485065, 0.0343793444, -0.0385552458, -0.0729477629, -0.0437235385, -0.0044848234, 0.0171217732, 0.0231588632, -0.018881144, 0.101444982, -0.0196801554, -0.023566654, -0.0427489616, -0.0442255549, 0.0305803623, 0.0266181119, 0.0199653897, 0.0033823205, -0.0049132826, 0.0280457232, -0.0400017798, 0.0227430146, 0.008193451, -0.0041813562, -0.0029592442, 0.0563448071, -0.0093161194, -0.0122240102, -0.0669858605, 0.0331908129, -0.0299013071, -0.0912777334, -0.0306973085, 0.0122324768, 2.588e-7, -0.0050898171, -0.0067190314, 0.0069792848, 0.004430593, 0.0182335433, 0.0195860434, 0.0454862118, 0.0411013439, -0.0160799958, -0.0370462276, 0.0163200554, 0.0597700439, 0.035143353, 0.0268705748, -0.0289396569, -0.0166125614, -0.0127435196, 0.0696643963, -0.001385511, 0.0022635013, -0.0003102528, 0.0536756925, 0.0305639412, -0.0330001153, 0.0388612263, -0.0229679719, 0.0558267087, 0.0167689975, 0.0039545489, -0.0146340365, -0.0290022418, -0.021387754, -0.0290406533, 0.039696496, 0.015243032, -0.0205882937, -0.0113095446, 0.023791587, -0.0418858193, -0.0152163263, -0.0192617998, -0.0304483399, -0.0442374833, -0.0095936581, 0.0628944263, -0.0200056471, -0.0112529434, -0.0163641516, 0.0119736018, 0.0007444171, 0.0174447056, -0.0298436619, 0.0126187326, -0.0463946871, -0.0109727271, -0.0505667441, 0.0097545031, -0.0292421412, -0.0005273073, -0.0126538146, -0.0491195023, -0.0133197131, -0.1064490378, -0.0336394161, 0.010417806, -0.010593649, -0.0363990329, 2.01825676e-34, 0.0246883575, -0.0180042591, -0.0157038793, 0.0336926468, -0.0128893256, -0.0065524778, 0.0043986724, -0.0382927619, -0.0226859469, -0.027710354, -0.0855849832 ]
http://arxiv.org/abs/2312.09075v2
http://arxiv.org/pdf/2312.09075v2
Towards Verifiable Text Generation with Evolving Memory and Self-Reflection
2023-12-14T16:10:56
2024-01-11T12:43:38
Hao Sun, Hengyi Cai, Bo Wang, Yingyan Hou, Xiaochi Wei, Shuaiqiang Wang, Yan Zhang, Dawei Yin
cs.CL
cs.CL
Despite the remarkable ability of large language models (LLMs) in language comprehension and generation, they often suffer from producing factually incorrect information, also known as hallucination. A promising solution to this issue is verifiable text generation, which prompts LLMs to generate content with citations for accuracy verification. However, verifiable text generation is non-trivial due to the focus-shifting phenomenon, the intricate reasoning needed to align the claim with correct citations, and the dilemma between the precision and breadth of retrieved documents. In this paper, we present VTG, an innovative framework for Verifiable Text Generation with evolving memory and self-reflection. VTG introduces evolving long short-term memory to retain both valuable documents and recent documents. A two-tier verifier equipped with an evidence finder is proposed to rethink and reflect on the relationship between the claim and citations. Furthermore, active retrieval and diverse query generation are utilized to enhance both the precision and breadth of the retrieved documents. We conduct extensive experiments on five datasets across three knowledge-intensive tasks and the results reveal that VTG significantly outperforms baselines.
[ 0.0410725698, 0.0366387255, 0.020955082, 0.010711113, -0.0535828546, -0.0257358178, -0.0198282022, -0.0049474575, 0.0263792612, -0.0550995879, 0.0154192112, -0.027546579, -0.014815174, 0.0197999161, 0.037731424, 0.0047962726, 0.0569662228, -0.0172611624, 0.0414119214, -0.0096281609, 0.0153909912, 0.0060565514, -0.008819568, 0.0019773652, -0.0276230499, -0.027676234, -0.020432286, -0.0036456608, 0.0149082243, -0.0449084006, 0.0147286775, 0.0499915816, 0.0116742495, 0.0897251219, 0.0000020132, -0.0354303308, -0.0240887012, 0.0151285082, -0.0447987244, -0.0070876512, 0.0478891395, 0.0205701757, -0.0024620711, 0.0205620192, -0.0427203476, 0.0038763126, 0.0168605149, 0.0376547761, 0.0711322948, 0.0840950981, 0.0043469402, -0.0078609083, 0.033511892, -0.0316394493, 0.0447617173, -0.0015410599, 0.0212056488, 0.0176421199, 0.0132488562, 0.0447742231, 0.024427399, 0.0561204478, 0.0136140054, -0.0483955219, 0.0155344978, 0.0441788323, -0.0021619124, 0.0047694272, 0.008716112, 0.0150585528, 0.0163787752, -0.0694548041, 0.0162064135, -0.0003586541, -0.0038832105, 0.0350980498, -0.0219118036, 0.0829471052, -0.0262891892, -0.0132600488, 0.0316036604, -0.0139432726, 0.0404021889, 0.0219094977, -0.0150699569, 0.020370258, 0.0276553389, -0.0584292002, -0.0018959403, -0.0040095863, 0.0292588677, -0.0875150859, 0.0061419099, 0.0548739024, -0.0336864814, 0.0175773893, -0.0569551885, -0.0504326671, 0.0631206483, -0.0349654146, -0.0018722656, -0.0165080838, -0.033399608, 0.0536537431, -0.0706798285, 0.0155418618, -0.0353743173, -0.0269176662, 0.0011031094, -0.0174474679, -0.0231863055, -0.0266055204, -0.0280773528, 0.0369368158, -0.0326948427, -0.0094318129, -0.0325390287, 0.0220091473, -0.0101421857, 0.0440525897, -0.01608737, 0.0100855567, -0.0363683142, -0.016993545, -0.0459643155, -0.0102219144, -0.0077456734, 0.0091053145, 0.0467374735, -0.0291565657, -0.0226448439, 0.0267121159, 0.0233038384, -0.0017705857, 0.0151370745, 0.021768108, -0.0159578174, -0.0109934108, -0.0473247729, -0.0725940615, -0.0359557644, -0.0734153986, 0.026110528, -0.0744572803, 0.0281894375, -0.0081224581, -0.0475624837, -0.0178050753, 0.0132425576, 0.0631262958, -0.0113884863, 0.0124689555, -0.0219854563, -0.0225669313, 0.02585233, -0.0063471743, 0.0421257839, 0.0266867112, 0.031685926, 0.0577237979, 0.0500575304, 0.0406712219, 0.02245773, -0.0267664809, 0.054842148, 0.0096657118, 0.0080968719, 0.0036675127, -0.0031592341, 0.0196816176, -0.0306457393, 0.0692253783, -0.0319222696, -0.0118877143, 0.0577325113, 0.0017712873, -0.0038122998, -0.0009179463, 0.0449131206, -0.0097494246, -0.0030683512, 0.0073220572, -0.0194632355, 0.0424826629, -0.0183447227, 0.0093105165, 0.0180808809, 0.0092310859, -0.0194714796, -0.0442613214, -0.0171412025, -0.0084594665, -0.016508352, -0.0051994524, 0.0225361884, 0.0477975085, -0.0604884587, 0.0709133148, -0.0042941803, -0.0731561929, -0.0072592651, -0.0456805825, 0.1040079966, 0.0335531086, 0.0635940656, -0.0012901011, 0.0201401748, -0.0217612498, 0.0243691746, 0.0759118423, 0.0512514226, 0.0118812583, -0.0412809551, -0.0306159686, -0.0195772741, -0.0372937582, 0.0106779076, -0.001588022, 0.0532219075, 0.0328832753, 0.0563165657, -0.0249702074, -0.05199771, 0.0335013419, -0.0251478255, -0.0087425914, 0.0259986892, -0.0283101648, 0.0035949876, 0.0141674588, -0.0271625295, 0.0556418784, 0.0373047516, -0.0130666476, -0.0450593978, 0.0358836167, -0.0142808678, 0.0084815463, 0.0263147987, -0.0311655421, 0.0065347985, -0.0484796949, -0.0154921385, -0.0465678945, 0.0033105952, -0.0649219528, -0.0142966695, -0.0761089399, 0.0136382077, 0.0061209984, 0.0184473526, -0.0215067342, 0.0892060995, 0.0081776576, -0.0265015177, 0.0055560465, 0.0167419948, 0.0230616145, -0.0312100761, -0.0209157001, -0.0147980675, 0.0020724959, 0.0030936331, 0.0596857928, -0.0211541858, -0.0360027365, -0.0475192368, -0.0574970022, 0.0186585411, -0.0205796342, 0.0118757691, 0.0183270033, -0.0327942669, 0.0143302381, 0.0146861458, -0.0422665924, 0.0086391047, 0.0541298166, 0.0039346963, 0.0277024172, 0.0023138206, 0.0488430075, -0.0311902314, 0.0107856113, 0.0037261969, 0.037472114, 0.0427890643, 0.0048435773, -0.0760070458, 0.0251179859, -0.0437504798, 0.0043061865, -0.003878722, 0.0303702857, 0.0407918394, -0.0200717337, 0.0488267429, 0.0336818732, 0.061301332, -0.0150977289, 0.0334458798, -0.0164817907, -0.0433769599, 0.0159702227, -0.0394549295, 0.02258013, 0.0184555147, -0.0153771294, 0.0321060456, 0.0184584856, 0.0131657142, -0.00718085, -0.0088012386, 0.0169159062, 0.0093110623, -0.0171805285, 0.0136993891, -0.014110554, -0.0132882996, 0.0190028865, -0.0290518887, -0.0490956269, 0.0544298925, -0.0537035726, 0.0295890588, -0.0367809273, 0.0140343653, -0.0066232113, 0.0483157188, 0.0319943763, 0.0059655299, 0.023739418, 0.0516961366, -0.0204691757, -0.0287872385, 0.0281572342, -0.0554106683, 0.027380798, -0.0312985741, 0.037600629, -0.0116323251, -0.0273812581, -0.0688952729, -0.0341463014, 0.0096049299, -0.0078690238, -0.00550179, -0.0229124203, -0.0442569703, -0.0205486752, 0.0827598125, 0.0454916358, -0.037606746, -0.024697708, -0.0201749615, 0.0233769864, 0.07272017, -0.0091900555, 0.0577209517, -0.0302598439, -0.0173043497, 0.0941095129, 0.0262718592, 0.0207403023, -0.0272569023, -0.0774135441, -0.0438605919, -0.0520584658, 0.0076119415, -0.0005916939, -0.0017322982, -0.0834712759, -0.022722533, 0.0877033994, 0.0201516598, -0.0200927462, -0.0174669828, -0.0391745977, 0.0174588989, 0.0004057253, 0.0391635597, -0.116406396, 0.001321675, -0.0066616354, 0.0245665237, -0.0182016101, -0.0411169752, -0.0239414666, -0.1110684201, 0.0703536347, 0.0171706472, 0.0457502007, 0.0109221684, -0.0421050601, -0.0366152152, 0.0315888152, -0.0079604313, 0.0540241562, -0.0112764984, 0.01430899, 0.0162685458, 0.0223101713, -0.0189640634, 0.0031884115, -0.0370070525, 0.004098482, 0.0218419991, 0.0526278354, 0.0179216024, -0.0686003342, 0.0042211381, -0.0186757632, -0.0040094005, -0.0034154244, 0.0315681063, -0.0087937685, 0.0169071313, -0.0142865907, 0.0201307125, -0.0152061898, -0.0174302887, 0.0457830727, 0.0546942987, -0.0241684783, -0.0252708681, -0.0213988777, 0.0072894585, 0.0123281647, 0.0681723207, 0.0116598411, 0.0102197863, -0.055632934, -0.0167128816, 0.0235823188, -0.0706140473, -0.0297673531, 0.0135771157, 0.0036129279, 0.0338219106, -0.0999945328, -0.0266826805, -0.0068083038, 0.0527243391, -0.0002324133, 0.0154066309, 0.0147200683, -0.0465446301, -0.0783906877, -0.0007639839, -0.0720653981, 0.0187552646, -0.0169442892, 0.0175484754, 0.0214028563, -0.0483260453, -0.0003449607, 0.0435792282, -0.0499697626, -0.0457782373, -0.0152087091, 0.0284192674, 0.021731874, 0.0638780147, -0.025532607, -0.020776879, 0.0601279065, 0.0653055534, -0.0124097206, 0.0203138702, 0.0097506922, -0.0252344459, -0.0162359755, 0.0065644057, -0.0418694429, 0.0049690893, -0.0002063502, 0.0275816061, -0.0043123025, -0.0218684729, 0.0135330632, 0.029335469, 0.0209289882, -0.0189683177, 0.0212754309, -0.0255825631, 0.0177080892, -0.0208081566, -0.0178906061, -0.0091068354, 0.0454503596, -0.0111734448, -0.0247380752, 0.0069819414, 0.0408896245, -0.0188723858, 0.0474850237, -0.0313129351, -0.0266519971, -0.0424744375, 0.0522108302, 0.0149387885, -0.0334543511, -0.0356598683, -0.0008985878, -0.0090775369, 0.0732654557, -0.0131824324, 0.036844857, 0.0247513261, -0.0243005026, -0.021454243, 0.00514975, -0.0796645284, -0.0318651535, -0.0225516111, -0.001307697, 0.0388424359, 0.0161943156, 0.0387947522, -0.052134607, -0.0195276402, -0.0191364996, 0.0243194476, 0.0412890166, -0.0427472815, -0.0138839502, -0.0052835955, -0.0392142497, 0.0236288533, 0.0624512285, 0.0035486338, 0.0223861933, 0.0262297355, -0.0264210347, -0.0405320749, -0.0872874111, -0.0823195204, -0.0087157581, -0.0134139545, -0.0292629376, -0.0305060875, -0.0612640865, 0.0457151234, 0.0349977612, 0.0224264991, -0.0090069398, 0.0068749529, 0.0614962317, -0.0173609331, -0.014996185, -0.0506843477, 0.0729896575, -0.0005103126, -0.0206776466, -0.0048470311, -6.238655618e-33, -0.001981064, -0.0563060716, 0.0409215167, -0.0295375586, -0.0172659587, 0.006362068, -0.0759227425, -0.0292723849, -0.0196222551, 0.029396737, -0.0176736899, 0.0320597328, 0.0152270403, 0.0282923877, 0.0200680867, 0.013815579, 0.071960859, 0.0009652288, -0.0495662317, 0.066397354, 0.09394034, 0.001713658, 0.0160868522, -0.1017674655, 0.0480677933, -0.0114513179, -0.0123959947, 0.0094359526, -0.0388916731, 0.0555916205, -0.0214668605, 0.0273399074, 0.0069044349, -0.0425856933, -0.015765233, -0.0079957005, -0.0705991462, 0.0056792325, -0.0027025458, -0.0642567798, -0.0653953701, -0.0385164581, 0.0356233343, -0.0056479033, 0.009489825, 0.0160535369, 0.0207255967, -0.0349612311, -0.0272653867, -0.0592656806, -0.0641980097, 0.033726573, 0.0389849842, 0.0155155426, -0.0335355178, 0.0231989417, 0.0137406271, 0.0112539912, -0.1018085331, 0.0246273503, -0.0365984514, 0.0268957987, 0.0447939895, -0.0081763482, -0.0253618658, 0.0654335171, 0.0074183992, 0.0044024554, -0.0208856091, 0.0028224508, 0.0065609687, 0.0421280302, 0.0748077035, 0.0659886599, 0.0215590633, -0.0059652133, -0.0531184413, 0.0031305114, 0.0148927625, 0.0411625057, 0.0571786352, -0.0366574936, -0.018601276, 0.0039269621, -0.0228108466, 0.0163212195, -0.0175338034, 0.0036243959, 0.0124210892, 0.0620361343, -0.0389426425, -0.0095675606, 0.0152357351, -0.0054201283, -0.021142615, 0.0501180887, -0.0308860708, -0.0417555794, -0.0118954433, 0.0181821361, -0.0582118891, 0.0086919423, 0.0095749125, 0.0235130694, -0.0337407216, 0.0522039011, 0.0219909288, 0.0098406579, -0.0573913008, 0.0322236866, -0.0252540186, 0.0704911947, 0.0050924104, -0.0401205271, 0.0156159187, 0.0139460554, 0.0034484311, 0.0283221267, 0.011493138, -0.0064049405, -0.0099387933, 0.0085556218, 0.0236330982, 0.028142387, 0.0004294196, 0.0226713791, -0.0277360883, 0.0643093958, -0.0107677104, -0.0962328687, 0.0381479412, 0.0347039886, 2.745e-7, -0.0068900352, 0.0255139191, 0.0200401284, -0.0065771043, 0.025709711, 0.0247437842, 0.0169407744, 0.0126059223, -0.0033874274, -0.0368422531, -0.0328826681, 0.0323599614, 0.0469708815, 0.0474499129, -0.0664610565, -0.039157968, -0.0835827738, -0.0166538171, -0.045630198, -0.0309086386, 0.0231166612, 0.0412241183, 0.012045512, -0.0169009529, 0.0150846569, -0.0835253969, 0.1011527553, 0.0469047502, 0.0001623756, 0.0204655286, 0.0816870555, 0.0209111515, -0.005909021, 0.0004041754, -0.0430155993, 0.0151676293, -0.0483257659, 0.0202149898, 0.0356549695, -0.0135446088, -0.0040359437, -0.0284935869, 0.000468578, -0.0389439687, 0.051010035, -0.0517032668, 0.0221817326, -0.0584627427, -0.0455327369, 0.0053769192, -0.0143199898, -0.00540009, -0.0153534291, 0.0118151279, -0.0199217591, 0.0395421535, -0.0094568292, -0.0702484548, -0.009632566, -0.0307725146, -0.0687996075, -0.024032468, -0.0270773359, 0.0028937845, 0.0215131659, -0.0688955337, 0.024646895, 2.557178446e-34, 0.0536422469, 0.0037883988, -0.0114524793, -0.0263350978, 0.0588347465, 0.0287645757, -0.0034779184, 0.0251257792, 0.0207872763, -0.0500689708, -0.0500137322 ]
http://arxiv.org/abs/2312.09067v2
http://arxiv.org/pdf/2312.09067v2
Holodeck: Language Guided Generation of 3D Embodied AI Environments
2023-12-14T16:04:14
2024-04-22T20:06:03
Yue Yang, Fan-Yun Sun, Luca Weihs, Eli VanderBilt, Alvaro Herrasti, Winson Han, Jiajun Wu, Nick Haber, Ranjay Krishna, Lingjie Liu, Chris Callison-Burch, Mark Yatskar, Aniruddha Kembhavi, Christopher Clark
cs.CV
cs.CV, cs.AI, cs.CL, cs.RO
3D simulated environments play a critical role in Embodied AI, but their creation requires expertise and extensive manual effort, restricting their diversity and scope. To mitigate this limitation, we present Holodeck, a system that generates 3D environments to match a user-supplied prompt fully automatedly. Holodeck can generate diverse scenes, e.g., arcades, spas, and museums, adjust the designs for styles, and can capture the semantics of complex queries such as "apartment for a researcher with a cat" and "office of a professor who is a fan of Star Wars". Holodeck leverages a large language model (i.e., GPT-4) for common sense knowledge about what the scene might look like and uses a large collection of 3D assets from Objaverse to populate the scene with diverse objects. To address the challenge of positioning objects correctly, we prompt GPT-4 to generate spatial relational constraints between objects and then optimize the layout to satisfy those constraints. Our large-scale human evaluation shows that annotators prefer Holodeck over manually designed procedural baselines in residential scenes and that Holodeck can produce high-quality outputs for diverse scene types. We also demonstrate an exciting application of Holodeck in Embodied AI, training agents to navigate in novel scenes like music rooms and daycares without human-constructed data, which is a significant step forward in developing general-purpose embodied agents.
[ 0.0201907288, 0.0428299941, 0.0100806504, -0.0075017624, -0.0120583577, 0.0102230739, 0.0050122663, -0.0051655676, 0.0138443001, -0.0021168604, -0.0808113664, 0.0014603685, -0.0025539917, 0.0583606884, 0.0124053201, -0.0772118568, -0.0056567057, -0.0256550834, -0.0301805064, -0.00541024, -0.0423919335, 0.0237116311, -0.0439917892, 0.0327073932, -0.0238092244, 0.0137282526, -0.0515594445, 0.0130146127, 0.0075128041, -0.045100715, 0.0042885663, 0.0386685804, 0.0673880205, 0.0215988308, 0.0000019129, -0.0016693826, 0.0006068111, -0.0244821683, 0.0430523902, -0.0558564216, 0.0233771261, -0.007174253, -0.0365376547, -0.014876686, -0.0433941334, -0.0201202631, 0.0820622221, 0.004159458, 0.0429252684, 0.0335628279, -0.0174227953, -0.0049571316, -0.0129253091, 0.0284716971, 0.0556833483, 0.0193690918, -0.0079310434, 0.0067652031, 0.0929427147, -0.0054821498, -0.0003067298, 0.0079062507, 0.0574795343, -0.003034838, 0.028784154, 0.0545098633, -0.0362900756, -0.0279802736, -0.0244749598, 0.1103136614, 0.0050921533, -0.0374324992, 0.0295939725, 0.013640983, 0.0264383703, -0.0263382718, -0.048696816, 0.0583636537, -0.0280332584, -0.0218788832, -0.0656013489, 0.0093407687, 0.0116256392, -0.0209288634, 0.0156314075, 0.0478290282, 0.0362337865, 0.0119846351, -0.0311457571, -0.007452087, -0.0073799212, -0.0644509345, -0.0011456307, 0.0272491816, -0.0610017478, 0.0141837681, -0.0725423768, 0.0405986719, -0.0134836677, -0.0188109949, 0.0270040873, 0.0382020622, -0.0097506819, 0.0116274506, 0.0026347169, 0.0602393188, -0.0403432287, 0.0025696123, -0.0274436418, 0.0190329831, -0.0115477936, 0.0074906116, -0.0584802367, -0.0018982047, -0.0908993557, -0.0517551713, 0.0225184318, 0.0381328613, -0.0639311448, 0.0122071002, -0.0231063254, 0.0723702088, -0.0246570073, 0.0032504192, 0.0188137088, -0.0449519716, -0.041692052, 0.0190937296, -0.0062157256, -0.0231439136, 0.0042954735, 0.0433920771, 0.013223486, 0.0074205338, -0.0355748944, 0.0774843097, 0.0113143064, -0.001487592, 0.0496358871, -0.0350588486, 0.0192694552, -0.0379792489, 0.0544578508, -0.0630778447, 0.0179530364, -0.0530516431, -0.0103494804, -0.0317157917, 0.0240240712, 0.0167190004, 0.0194633324, 0.0604351498, -0.0310771391, 0.0230879467, 0.0536075681, 0.0035247726, -0.0174453929, -0.0006346121, 0.0464926735, 0.0537483022, -0.0345249325, 0.0167360697, 0.0376528911, 0.0508280359, -0.0144161982, -0.0040779589, -0.0084695714, -0.0226998106, -0.0003632119, 0.0863082334, -0.0274709873, 0.0152404848, -0.0413856767, 0.0149644865, 0.0183345377, 0.0267401338, -0.0503712595, -0.0098148286, 0.0749940425, -0.0212138686, 0.002853628, -0.0397796556, -0.0498884097, 0.0940010622, 0.033887092, -0.0145042706, -0.0281897448, -0.0047252434, -0.0044043455, -0.0115195727, 0.0391800404, 0.0183106698, 0.0213000178, -0.024603216, 0.0169294402, 0.0294595882, -0.0561715625, 0.0231431443, -0.0076488508, -0.0773552284, -0.0310677588, -0.0045653298, 0.0273898914, 0.105056949, -0.026872959, -0.0095907114, -0.0276894011, -0.0085756145, 0.0147537319, 0.0667474791, 0.0404522046, -0.0451767817, 0.0265889689, 0.0104914429, -0.0066879652, -0.0079835318, 0.0290097781, 0.0724670961, 0.0487093143, -0.0337030701, -0.0075340383, -0.0104055125, 0.0024098973, 0.0372818224, -0.0469181575, -0.0018857092, -0.0346097387, 0.0056267013, 0.0116032707, 0.0217146296, -0.0313033201, -0.0228589997, 0.0281472802, -0.0113313515, 0.0014618404, 0.0489018299, -0.0565596633, 0.0200680885, 0.0151382554, -0.0345626399, -0.022812726, 0.0127643049, 0.0012945549, -0.0159729216, 0.0263236016, -0.0081192981, 0.0327553675, 0.012059805, -0.017203372, 0.0166765675, -0.0412389934, -0.0342894159, 0.0448591709, -0.016285276, -0.0339625031, 0.0083821816, 0.0147098294, 0.0297014453, -0.0226630978, 0.0197941121, 0.0021362717, 0.0092434809, 0.0328876264, 0.0189588293, 0.0272435471, -0.0438298024, 0.0155587979, -0.1089584157, -0.0383439995, -0.0008996588, -0.0424771234, 0.0317312516, -0.034665145, -0.0399339795, -0.0025244034, -0.0034529048, 0.0693818629, -0.0176421907, -0.0082204435, 0.0230404586, 0.0071923025, -0.0205614194, -0.0339476801, 0.0157777425, -0.0300274845, -0.0092370184, 0.0701573193, -0.0120254736, -0.0022631385, 0.0034636103, -0.0211843196, 0.0281968545, 0.0234056041, -0.0129170408, 0.0636310428, -0.0685751066, 0.0034979018, 0.0581646152, -0.0486724414, 0.0223970301, 0.0784349889, -0.030161621, -0.0455515236, 0.0175431874, 0.0012641152, 0.0274429992, 0.001213356, -0.037957415, 0.0298381727, 0.0012765693, 0.0087636607, 0.0188879073, -0.0761841908, 0.0448088981, -0.0017300498, -0.0388153568, -0.0046118852, 0.0407056399, -0.0521144792, 0.0525407493, -0.052463904, -0.0163627788, 0.0077801016, -0.0296859741, 0.0020082209, 0.032300476, 0.0337409154, 0.0155329583, 0.0488164835, 0.0002348205, 0.0495747253, 0.0049498845, -0.0020770826, -0.009385597, 0.0196691342, 0.0010856852, 0.0024673024, -0.0066988999, -0.0994544551, 0.008133078, 0.0207756814, -0.0576871261, -0.0142108407, 0.032005243, -0.0383237787, -0.000898209, -0.0650916845, -0.0663362667, -0.0462205522, -0.0178709049, -0.0162750538, 0.086964719, -0.0451690592, -0.0125245294, -0.0393905938, -0.0273604263, 0.0692904592, 0.0814992636, -0.0381035656, -0.00818667, -0.0375832692, 0.039261587, -0.0333759375, 0.0142087182, -0.0826281607, 0.0510128029, 0.0280418638, 0.0166385248, -0.0007279501, 0.0294233114, 0.0381321535, -0.0246270075, -0.0415349528, 0.072318323, 0.013292416, -0.0098850895, -0.0050790319, -0.0050798873, 0.0438374579, 0.0407199562, 0.012396629, -0.0464205109, -0.0084379474, 0.0036702321, 0.0084641371, 0.0435212478, -0.04753232, 0.0071666827, -0.1038034558, 0.0555859618, 0.020594364, -0.1071324125, -0.0469579957, 0.0227036308, 0.0481237434, 0.0004541691, -0.0304609407, 0.0032272451, 0.008461643, 0.0140775852, -0.0178079214, 0.020456031, -0.0084384652, -0.0020383019, -0.0335465595, 0.0860369503, 0.0128270797, 0.0587341562, -0.0150431925, -0.0463499315, -0.0226719193, 0.0820783228, 0.021238124, -0.0153341452, -0.011054758, 0.0038066164, -0.0047355471, 0.0172263961, 0.0646505952, -0.0479668789, -0.0368728228, -0.0027533013, 0.0312780403, -0.0241424143, 0.0396876782, -0.0671939403, 0.0303612277, 0.0509968139, 0.0427498072, 0.0054390556, -0.0099330246, -0.03939455, -0.0487466194, -0.0202656668, 0.013531602, -0.0088131195, -0.0180767309, -0.0676767528, -0.0481480844, -0.0941456333, 0.0078908494, 0.0710544959, 0.0888615176, 0.0077352012, -0.0826260671, -0.065761961, 0.0155180683, -0.0451549776, 0.0053021349, -0.0091367494, -0.0004103896, 0.0004136752, -0.0119190263, 0.0046131765, -0.0541022569, 0.0095782084, 0.003087549, 0.0401810408, -0.0303595494, 0.0136663681, 0.0986435711, 0.0229872726, 0.0210777167, 0.0147323245, 0.0172075741, 0.0093534421, 0.0261266567, -0.0241435543, 0.0140457591, 0.017555682, 0.0080333473, 0.0185544901, 0.0013767341, -0.0634557679, 0.0317429453, -0.0338188745, 0.0379455797, 0.0043932991, -0.0113436794, 0.0343484506, 0.0048716734, 0.0082388502, -0.0657184571, 0.0114389388, -0.0312218461, -0.0362157673, -0.0274926927, -0.0185392387, -0.0406317189, 0.0368907712, 0.0252504405, 0.0263998192, 0.0223031919, 0.0391841792, 0.0133846281, 0.047638353, -0.0216424875, -0.0414145403, 0.041409377, -0.0063040857, 0.0153630963, 0.0135077741, 0.0264079757, 0.0736616999, -0.074981451, 0.0657597855, 0.0183557551, 0.0139687248, 0.030025553, -0.046687413, -0.0509359352, 0.0568323135, -0.0178209841, -0.0692936331, -0.004148935, 0.080110833, 0.0641330555, 0.01601962, 0.0307321362, -0.0432797782, -0.0079431217, 0.0293558426, -0.017763475, 0.0668774694, -0.0592409261, 0.0191252697, 0.0181799401, 0.0106490869, -0.0641055778, 0.0119548915, 0.0266668536, 0.0602642559, 0.0157778971, -0.0245153401, -0.0369662344, -0.000755019, 0.0092042675, 0.028592838, -0.002036744, 0.0017319306, -0.0216008648, -0.0455725789, -0.0280405041, 0.1007320359, -0.0345056616, -0.0187657438, 0.061635226, 0.0192509014, -0.0140364952, -0.0358368047, -0.0054374863, -0.028396124, -0.0278470926, -0.0314433835, -0.0085513433, -5.058084233e-33, -0.0643518716, -0.04820811, 0.050164178, -0.0090922993, -0.0024882781, -0.0499949008, -0.051761236, 0.0069311368, -0.0006625699, 0.0093214875, 0.0160260033, -0.0161262155, -0.0121549806, 0.0014078984, 0.0322800204, 0.0061027678, 0.0233481713, 0.0162343495, -0.0864149109, 0.0004725888, 0.0166435242, 0.0165003184, 0.0049921391, -0.0483065918, -0.028494373, -0.02241458, -0.0356424823, 0.0201805253, -0.0467341319, -0.0004361532, -0.0314768776, 0.009535443, -0.0141912876, -0.0069701299, -0.0041834032, 0.0362862758, -0.0844998285, -0.0272333398, 0.0014114861, 0.0202420596, -0.0528478846, -0.0531205647, -0.0098657273, -0.0080726454, -0.022069294, -0.0183871053, 0.0315103941, -0.0321763605, 0.0091792662, 0.0265429728, -0.0480232686, 0.0021315534, -0.0047447006, -0.0536432937, 0.0466673821, 0.0069570774, 0.0263650957, 0.0055557201, -0.0027072749, 0.0476245694, -0.0254926421, -0.0475610346, 0.0490482785, -0.0030933733, 0.0434187017, 0.0779757053, 0.0391633511, -0.0209483691, -0.027162198, 0.0053841891, 0.0192891974, 0.0786605477, -0.0220177919, 0.0540507734, 0.0246609002, 0.0377873816, 0.0038840121, 0.0487150773, -0.0852120742, 0.0198649894, -0.0123127941, 0.0227094833, -0.030172376, 0.0005762829, -0.0100039439, -0.0432067998, -0.0102601526, -0.0152502311, 0.0132376989, 0.0046111434, -0.01963716, -0.0534946136, 0.0066664824, -0.0230629444, 0.0102086486, 0.031433396, -0.0345462076, 0.0167231746, -0.017082056, 0.0209110677, -0.0064544207, -0.0417413153, 0.0496399701, 0.0258780215, 0.0299538095, 0.0476570688, 0.0116202291, 0.0788441524, 0.0058301124, -0.0175488945, -0.0211590026, -0.0067596356, 0.0365653113, 0.0123894988, 0.0440760516, -0.0231445562, -0.0040713963, 0.0044868961, -0.018492369, 0.021144608, -0.0067351474, 0.0082851313, -0.0658185035, -0.0061062542, -0.020813467, -0.0063890559, -0.0617901199, -0.0304145124, 0.0267792456, -0.083372727, -0.0046518785, 0.0233592894, 2.693e-7, -0.0447341129, 0.0193152055, 0.0305211619, 0.0006087295, 0.0175349023, 0.0196925141, -0.0015664186, 0.0577627085, -0.0461832099, -0.0457077995, 0.0009467224, 0.0345776863, 0.0054317596, -0.0161806773, -0.0851103663, 0.0231175348, -0.0256676227, -0.0256480556, -0.0791076198, 0.0003574466, 0.038902618, 0.0223962199, 0.0138157522, -0.0148713319, 0.0429830365, 0.0318135098, -0.0170224011, -0.0341184922, 0.0610888936, -0.0079247374, 0.0009322503, 0.0106003862, -0.0311913379, -0.0209305231, -0.0091994209, 0.0125903068, 0.03121268, 0.062730886, -0.0295648519, 0.0034239099, 0.0270836167, -0.0143400021, 0.0160965528, -0.0494557656, 0.0315314867, -0.0341074504, 0.0340246148, -0.0181016419, -0.0225825906, -0.0228859354, -0.0303630512, -0.0342763513, 0.0216425173, -0.0363686159, -0.0163425039, -0.0152626792, 0.0082596466, -0.0452580862, -0.0054126256, -0.0062779547, -0.0447493307, 0.0044169244, -0.0136874979, -0.044112727, -0.0447750837, -0.0119528258, -0.0122398157, 1.81410806e-34, -0.0120915519, 0.030613983, -0.0086798081, 0.0079922453, 0.0476349033, 0.0290781427, 0.0342490487, 0.0301437955, 0.0146176135, -0.0044347728, -0.0118582016 ]
http://arxiv.org/abs/2312.09043v3
http://arxiv.org/pdf/2312.09043v3
Topic Bias in Emotion Classification
2023-12-14T15:40:27
2024-02-02T17:40:52
Maximilian Wegge, Roman Klinger
cs.CL
cs.CL
Emotion corpora are typically sampled based on keyword/hashtag search or by asking study participants to generate textual instances. In any case, these corpora are not uniform samples representing the entirety of a domain. We hypothesize that this practice of data acquisition leads to unrealistic correlations between overrepresented topics in these corpora that harm the generalizability of models. Such topic bias could lead to wrong predictions for instances like "I organized the service for my aunt's funeral." when funeral events are over-represented for instances labeled with sadness, despite the emotion of pride being more appropriate here. In this paper, we study this topic bias both from the data and the modeling perspective. We first label a set of emotion corpora automatically via topic modeling and show that emotions in fact correlate with specific topics. Further, we see that emotion classifiers are confounded by such topics. Finally, we show that the established debiasing method of adversarial correction via gradient reversal mitigates the issue. Our work points out issues with existing emotion corpora and that more representative resources are required for fair evaluation of models predicting affective concepts from text.
[ 0.0428752638, 0.0757280067, -0.0290568173, 0.017789863, -0.0006402657, -0.0064557609, -0.0116163492, -0.0375229307, 0.0094727417, -0.0612940826, -0.0291277282, -0.0019363771, -0.0306862928, -0.0040519228, -0.0097900499, -0.0759139061, 0.015600929, 0.0828627646, 0.0550347231, -0.0168688912, 0.02842631, 0.0300236829, 0.0189203918, 0.0036194448, -0.029315874, 0.0001131462, 0.0004375189, 0.0465266258, 0.0233456418, -0.0163691491, 0.0779928043, 0.0207290556, 0.0249944888, -0.0180841498, 0.0000021391, -0.0060408846, -0.0256850328, -0.0222079158, 0.008716803, -0.0153104644, 0.096645698, -0.0397044905, -0.0012869511, 0.0129807452, 0.0085870186, -0.03420173, 0.044954326, 0.1079174876, 0.042316474, 0.0731437653, -0.0378749743, -0.0044994252, -0.0137008708, -0.0404554307, 0.024045594, -0.0048947246, 0.0027844037, -0.0113664847, -0.0435302705, -0.023972813, -0.0613223612, 0.0174303167, -0.0028748326, 0.0560102053, 0.0429607145, 0.0036737768, 0.0027092057, -0.0379599892, -0.0032552655, 0.0427912772, -0.0054978994, -0.007817179, 0.0187779609, -0.0121388379, 0.0261465888, 0.0066106739, -0.0205167141, 0.0054260665, 0.0036971767, 0.0350234173, 0.0053510144, 0.0209837649, 0.0404415391, 0.0454635285, 0.0230965018, 0.0111436611, -0.0113974707, -0.019836776, 0.0247647893, 0.0406742021, -0.0051736133, -0.0174005348, 0.0219377447, -0.0682721063, -0.000937969, 0.0120089622, -0.0450521894, -0.0448538512, -0.0074019274, -0.0254619326, -0.0390476324, 0.0025337776, -0.0526145585, 0.0061788359, 0.0586012714, -0.0157504808, -0.0041272286, -0.0150852464, -0.0334408507, -0.0260264035, -0.0225352161, 0.0557192191, 0.0151704503, 0.0023573579, -0.025102729, 0.0180510562, -0.0700282231, -0.0341515988, -0.0536860675, -0.0129552325, -0.0648742467, 0.0444289967, -0.0186912734, -0.0127525143, -0.0067395088, 0.0178030021, -0.0407362245, 0.053443078, -0.006613364, -0.0213071406, 0.0167445578, 0.0042613293, -0.0095253205, -0.0050977566, 0.0374238528, 0.0532637835, 0.0262987092, -0.0047284877, -0.0499977171, -0.0307888873, -0.0191189442, -0.0377904922, 0.0322442986, -0.0119243236, 0.0088582486, 0.0067699649, 0.0128906695, -0.0251050591, 0.0051860148, -0.0317200311, -0.0529601313, 0.0690732077, 0.0246916227, -0.0337620117, 0.053246364, 0.0374281108, 0.0178452991, 0.0501730368, 0.0118698664, 0.094542563, 0.0638946444, 0.0275273044, 0.0171232931, -0.0054347822, 0.0402205214, -0.0221823975, -0.0025804974, -0.0281955749, -0.0225407239, 0.0422784463, 0.0500858314, 0.0251220632, -0.012440756, -0.0250007473, 0.0274589155, 0.0212785136, -0.0521713234, 0.0453921556, -0.0558343194, 0.0284908973, -0.0190560929, -0.0091827754, -0.0424789041, 0.0153336655, -0.0102237724, -0.0280276071, 0.0316614807, -0.0112755019, -0.0324604511, -0.0477896594, -0.0044032345, -0.009560233, 0.0031271232, -0.005868319, 0.0352514461, 0.0121650025, -0.0148029011, -0.0004953064, 0.0285019577, -0.0667587146, -0.0066949544, -0.0047390722, 0.0184696205, 0.0271410234, 0.0276917368, -0.0322353095, 0.0034185052, -0.0117968926, 0.0366907604, 0.0087298024, 0.0368261077, 0.0129396636, 0.0040583271, -0.0307043232, -0.0025904821, -0.0157267936, 0.0406858623, 0.012527545, -0.0197034907, 0.0226022992, 0.0136308558, -0.0359355621, 0.0041937772, 0.0089189028, -0.0025019413, -0.043511197, 0.013952232, 0.0168601703, 0.0387792103, 0.002719661, -0.0104939453, -0.0272695553, 0.0224196184, -0.002922592, -0.0480693132, 0.0117766606, -0.0006007475, -0.0379012339, -0.0150044104, -0.0890222266, -0.0216066521, 0.0341027416, -0.0730325207, 0.0074594286, 0.0736298859, 0.0090480354, 0.0078820959, 0.0119963028, -0.032944236, -0.0280301161, 0.0282641109, -0.0009229233, 0.0474700928, -0.0121823773, -0.0089852978, -0.0132899825, -0.0454202294, 0.023395583, -0.0128474124, -0.0595853776, 0.0140327048, 0.014127315, 0.0131531404, 0.0273876134, -0.075048767, -0.0457554683, -0.0198818669, -0.1093965024, 0.0500168316, -0.0382554866, 0.0111432932, 0.0029740054, -0.0132073034, -0.0164822154, -0.0136233987, -0.0332918651, -0.0041851699, -0.0178753659, 0.0209705066, -0.0025904379, -0.0119937165, 0.0470241606, -0.0934702009, -0.0064366469, -0.0395935848, 0.0427183099, 0.0120288888, -0.0114656826, -0.0010091837, 0.0178921856, -0.0277599581, 0.0243397057, -0.0302911252, -0.0284870323, -0.0093011409, 0.022147866, -0.0039710654, 0.0584325306, 0.0180390757, 0.0755655915, 0.0259061381, 0.0159980878, -0.0209838971, 0.0098596988, -0.0030212107, 0.0172907412, -0.0161410589, -0.0516441315, -0.0249807555, 0.0446255095, 0.0193822701, 0.0081527075, -0.0236320402, -0.0065933969, -0.0167145878, -0.033106491, -0.0366156884, 0.0005215874, 0.0289565995, -0.0077774785, -0.0258739796, -0.0697912648, 0.0116118407, 0.0705074668, -0.0107021797, -0.0657754093, 0.0008340783, 0.0044455398, 0.0705945417, -0.0146865612, 0.0001774421, -0.0014893331, 0.0212938767, -0.048831664, -0.0385741033, -0.0201695692, -0.0530947074, 0.0058103306, -0.0248681586, -0.0244106688, 0.0101274559, -0.0471475273, -0.0394984148, -0.0592390969, -0.0056361761, -0.0111607332, -0.0057574618, 0.017040344, -0.0485969447, -0.0735495687, 0.0254735164, -0.0614848211, -0.0048948708, -0.0305375587, 0.058132112, 0.0377078503, 0.0514334626, -0.0414725356, -0.0037595413, -0.029625345, -0.0171808302, 0.0397265069, 0.0601683743, 0.0498154946, 0.0004527626, 0.0139807444, -0.0077656922, 0.0058003319, -0.0203601904, -0.0246888511, 0.0119079258, -0.0180662088, 0.056103576, 0.0937838182, 0.0241790358, -0.0333158188, 0.0190181285, 0.0119776744, 0.0086072953, 0.0096022235, -0.0100397374, -0.0403945521, -0.0173351262, -0.0146585107, 0.0461719222, -0.0207134113, -0.0168734454, -0.0074526202, -0.0747057423, 0.0204736777, 0.0102262795, 0.0166989267, -0.0338430889, -0.0184348673, 0.032572832, -0.0597991832, 0.020020755, -0.0584714524, 0.015743766, 0.0410324112, 0.0189175345, -0.0262495056, -0.0659817532, -0.0007868824, -0.0505785793, 0.0655324087, 0.0272018518, 0.0903523341, -0.0052054822, 0.0272440705, -0.0000888301, 0.030011164, -0.003014164, 0.0074560824, 0.1075064689, -0.0599206649, -0.0176182184, -0.0195290092, 0.0517157838, -0.0434120856, 0.0029157237, -0.0131466342, 0.0331143104, -0.0103384741, -0.029979486, -0.0548633039, -0.0097913006, 0.0303456895, 0.0561883152, 0.0032382086, -0.0472986437, -0.0048692403, -0.0431381501, 0.0680178627, 0.0468069203, -0.0310814679, -0.0050378288, -0.0281890035, -0.0456318185, -0.0251341239, -0.0644556135, 0.0162486266, 0.0019483303, -0.0359967239, -0.04068074, -0.0510623641, -0.0428973399, -0.0558685362, 0.0409830958, 0.0113307536, 0.0105338683, 0.02118982, -0.072304517, 0.0238634348, -0.0227374993, -0.0209890399, -0.0035635508, -0.0307092145, -0.044326134, 0.0729637742, 0.0018696446, 0.0078539159, 0.0302248225, -0.0028483644, -0.0494527407, 0.0633670688, 0.097444579, -0.0590571314, 0.0095989536, 0.0388770364, 0.0093615986, 0.0074027185, 0.0091776177, -0.0595930852, 0.0843138993, 0.042800799, -0.0307600889, 0.0048246197, -0.0198423564, -0.0250961725, -0.0126902293, 0.1037618965, -0.0039674221, -0.0494240932, -0.0181792174, -0.0428960137, 0.01803446, -0.0124146203, -0.0158457402, -0.0509240516, 0.0163920298, 0.0165369902, -0.0883633271, -0.0195829216, -0.0064247414, 0.0081289038, -0.021058565, 0.0103239957, 0.0275817793, 0.0402971134, -0.0317809992, 0.0287117232, 0.0120177958, 0.0003235603, 0.0241886359, -0.0085604722, 0.0134556862, 0.0040821685, 0.005185043, 0.0173324868, -0.0031077126, -0.0019808011, -0.0651597306, 0.0080891205, -0.0385629833, 0.0261289161, 0.0375176296, -0.0677202865, 0.0000326441, -0.0425422117, 0.0377614759, -0.0231779888, 0.0045688916, -0.0141278077, -0.0234185271, 0.0123812584, -0.0181317292, -0.0398834459, 0.0153923454, 0.0293514524, -0.0053948364, 0.0901727229, -0.0027955957, -0.0321753919, -0.0188792814, 0.0226484761, 0.1202599332, -0.0461949222, 0.0048135552, 0.0250093341, -0.0584930256, -0.0426486358, 0.0433385745, -0.0472319759, 0.029102182, -0.0314852409, 0.0256717466, 0.0826170594, -0.0373275243, 0.0198037922, -0.0200728141, 0.0270794015, -0.0671193972, -0.0468356311, -0.0407111794, -6.446726199e-33, 0.0027217963, 0.0200994574, -0.0718547851, -0.0392812006, -0.0018312737, 0.0319722928, -0.0140246749, 0.0103660319, 0.0093693724, 0.0582449287, -0.0068936674, 0.0606343634, 0.0015147271, -0.0003249168, 0.0290301368, -0.0486365817, 0.0822121203, -0.0080579137, 0.0031864338, 0.0269326791, -0.0025171167, 0.0512407161, 0.066232264, -0.1380065829, 0.0473761037, 0.0112796957, -0.0081634624, -0.0542364828, 0.1150038317, 0.0119841946, 0.0005441434, 0.0986080915, 0.0317767039, -0.001083089, 0.0116619831, 0.0271503832, -0.0129963858, -0.028003471, -0.0197270699, 0.0175115671, -0.0286215413, -0.0225603096, 0.0362047516, 0.0270004943, -0.0284773353, -0.0294060074, 0.0532767847, 0.0238691214, 0.0343630947, -0.0428686254, -0.0167982765, 0.0137288999, -0.0154657392, 0.0034166574, 0.008425652, -0.0067446833, 0.031493485, 0.0285134651, -0.0001794513, -0.005673985, -0.0253059305, 0.0033406129, -0.0008304195, -0.0315926336, -0.0055291262, 0.0966246501, 0.0488602147, 0.0645389706, -0.027085593, 0.0345845073, 0.0057170559, 0.0342529006, 0.0261174943, 0.0984075293, 0.0583446212, -0.0328188427, -0.032681562, 0.053262759, -0.0021266292, -0.0008370129, 0.0260743257, 0.0169065949, -0.0168326925, -0.0114491852, -0.0211359728, -0.0370528735, 0.0077068512, -0.0121502746, 0.0132908346, -0.0372996181, 0.0033684771, -0.0095654102, -0.0350561328, -0.0425463058, -0.0316953771, 0.0576336049, -0.0139285652, 0.0225423723, 0.0102787372, 0.0042221243, -0.0503309853, 0.0144353379, 0.0193224419, 0.0251599774, 0.0443294644, 0.0068163285, -0.009826432, 0.0356546529, -0.0402624235, -0.0230203271, -0.0088734459, 0.0092460187, 0.0112437829, 0.0071084178, -0.0154431509, 0.0233304556, 0.0017730643, -0.0560897142, 0.0068396423, 0.0694521815, 0.0173817389, -0.0465925038, -0.0477270037, 0.0136664966, -0.0366613753, -0.0252817813, 0.0108906785, -0.0537273772, 0.0383933038, -0.0490662567, -0.0151400911, -0.0539485216, 2.954e-7, -0.0022580558, 0.0556124784, -0.0130056869, -0.0251098648, 0.0145232249, 0.0562812202, -0.0217881706, 0.0611401759, 0.0221246779, -0.0544569455, 0.0436499082, 0.0110697309, 0.0175351836, 0.0341148116, -0.0795908198, 0.0102639161, -0.0194078181, 0.0627574325, 0.0033010608, 0.0295420252, 0.0175954942, 0.0940722153, 0.0607354194, 0.0014252384, 0.0163766518, 0.0318907313, 0.0433187224, -0.068413876, 0.0056727459, 0.0121522378, 0.0366143212, 0.019017037, 0.0037719647, -0.0270235334, -0.0370481685, -0.0169102084, 0.0353606753, 0.017940972, -0.0056526479, -0.0074526407, -0.0139739159, 0.0022592372, -0.0221368968, 0.0040965867, 0.0090908175, -0.0306434166, -0.0173705257, -0.0922353119, -0.0429924428, 0.0284371097, 0.0611243062, 0.0219473001, -0.0511505418, 0.0119649759, 0.0012805446, 0.0109762875, -0.0054792343, -0.0825651586, -0.012470792, 0.0232625213, -0.0297306329, -0.0296158027, -0.0069947755, 0.0571673587, 0.0194033012, -0.0333970785, 0.0250456315, 2.053084913e-34, 0.0278173126, 0.0118056117, -0.0424857624, -0.0134200957, 0.0068021719, 0.0016444951, -0.0671462342, -0.0323959775, 0.0184163339, 0.0033079304, 0.0216265135 ]
http://arxiv.org/abs/2312.09040v2
http://arxiv.org/pdf/2312.09040v2
STaR: Distilling Speech Temporal Relation for Lightweight Speech Self-Supervised Learning Models
2023-12-14T15:37:37
2024-04-25T16:08:23
Kangwook Jang, Sungnyun Kim, Hoirin Kim
cs.SD
cs.SD, cs.CL, eess.AS
Albeit great performance of Transformer-based speech selfsupervised learning (SSL) models, their large parameter size and computational cost make them unfavorable to utilize. In this study, we propose to compress the speech SSL models by distilling speech temporal relation (STaR). Unlike previous works that directly match the representation for each speech frame, STaR distillation transfers temporal relation between speech frames, which is more suitable for lightweight student with limited capacity. We explore three STaR distillation objectives and select the best combination as the final STaR loss. Our model distilled from HuBERT BASE achieves an overall score of 79.8 on SUPERB benchmark, the best performance among models with up to 27 million parameters. We show that our method is applicable across different speech SSL models and maintains robust performance with further reduced parameters.
[ -0.0575540774, 0.0729903206, 0.0258552283, 0.0407604426, -0.0053655952, -0.022392055, 0.0462290198, -0.0124741057, -0.0373448581, 0.0239113327, -0.0591409393, 0.0138564957, 0.00815643, 0.0064677568, -0.0239370018, -0.0576273315, 0.0311044548, -0.0387351513, -0.0304651875, -0.0159687158, -0.0166743267, -0.0102140801, -0.0396133885, 0.0061347536, -0.0337080024, -0.042133905, -0.0371121652, -0.0140764704, 0.0207849108, -0.0277168751, -0.0136943543, 0.075631015, 0.0511816218, -0.0021791449, 0.0000022279, -0.006528514, -0.0202970542, -0.0007684823, -0.0614653602, 0.0581969135, -0.0150285102, 0.0285011847, -0.0089467438, 0.0264082998, -0.0402076691, -0.0669182092, -0.0108957263, 0.0384776853, 0.075986892, 0.0407095514, 0.003482627, -0.0314078629, -0.0043063727, -0.0247740038, -0.0216767006, 0.0104508018, -0.0135839796, -0.0183794703, -0.0323467664, -0.0227905586, -0.0284770094, 0.0540409833, 0.0159038957, -0.011232771, 0.0314461589, -0.0096647209, -0.0458964519, -0.0068522617, 0.0141606294, 0.0423829556, 0.0035422102, -0.0398858823, 0.0097931223, 0.0090898508, -0.0065556034, 0.0124947829, -0.0322760083, -0.0101935277, 0.0624010898, 0.0032420591, -0.0412377231, 0.0971424952, 0.0331093408, -0.0376602076, -0.0264849421, 0.021698514, -0.0126943784, -0.0089820158, -0.0238870494, -0.0644989386, 0.0263402052, 0.0196713582, 0.0025611096, -0.0061945003, 0.03906703, -0.0415737368, -0.03687061, -0.0206031222, -0.0324003138, -0.0341524221, 0.0047911583, -0.0014838253, -0.0184530616, 0.0112176435, -0.0058775409, 0.0470377691, 0.0337690227, 0.0070569231, -0.0175951347, 0.0209555738, -0.0422159024, 0.0232605375, -0.0540211312, 0.0722145289, -0.0398154631, -0.0059297965, -0.0456813015, -0.0248248279, -0.0403618775, -0.0175617523, 0.0692501441, 0.0471889824, -0.0163512528, -0.0364653505, -0.013041147, 0.0731318444, 0.0173819922, -0.0073597594, -0.0092334868, -0.0493655168, -0.028047394, 0.0178318638, 0.0378502719, -0.0084481873, 0.0162399411, 0.0306134969, 0.0074892007, -0.0339582823, -0.0206101425, 0.0075431569, -0.0285652317, -0.0473462045, -0.0087513449, -0.090047121, 0.0018010854, -0.0295960922, 0.0150623443, -0.0426796004, 0.0073839864, -0.0269957203, 0.0255084597, 0.0549303144, 0.0405574515, 0.0283758435, 0.0184087567, 0.0320231132, 0.0180778764, 0.0162215792, 0.040931914, 0.0047145556, -0.011918406, -0.0653670877, 0.0155848833, 0.0004899474, 0.0339237377, -0.0093403412, -0.0680056512, -0.0198335275, -0.0109738, 0.0198486876, 0.0551853254, 0.054612115, -0.0217176881, -0.0965792611, 0.0699299872, 0.05949625, 0.0564185716, 0.0417781249, 0.0224360432, 0.0590890534, 0.0465299338, 0.0120987864, -0.0150597813, 0.0483535379, 0.0230854899, -0.0186301749, -0.0126451487, 0.0454899818, -0.0655316859, -0.0373820476, 0.0453473665, -0.0460502431, -0.0121898158, 0.0070360834, 0.0383932292, 0.0512860715, -0.0323683508, 0.094464384, 0.0169871524, -0.0601990633, 0.0084673427, -0.015221592, -0.0164136924, 0.0044438196, -0.0016273011, -0.0056751077, -0.0100724921, -0.0529026315, -0.0140301408, -0.0057688379, -0.0004575755, -0.0032093851, 0.0750647634, -0.0242437031, -0.030998176, 0.0026587911, -0.0121053094, -0.000947634, -0.0158507563, 0.005654858, 0.0258864984, -0.0296232421, 0.0288848095, -0.0119785098, -0.0104891453, -0.0929600596, 0.0510025769, 0.0371517539, 0.0477252677, 0.0226533841, -0.0036195209, 0.0122560272, 0.049319908, -0.0353740603, -0.0084980009, 0.0273902863, -0.108413212, -0.0602550842, 0.0173718296, -0.0323185958, 0.0426593535, 0.102171734, 0.0066737798, -0.0711564943, 0.0512834564, 0.0064762202, 0.039667014, -0.0246145148, 0.0626878291, 0.0250572786, 0.039622426, 0.0021409674, -0.0162930731, -0.0136196343, -0.0167208035, -0.0405120179, 0.0247209165, 0.0285323095, -0.0416742116, -0.0417557843, -0.0206467826, -0.0438633077, 0.0260549709, 0.030264901, -0.0434424616, -0.0040006577, 0.0139231253, -0.0356400348, -0.0124427732, -0.0066197906, -0.003034926, 0.0032760459, 0.0473632254, -0.002048515, -0.033985436, 0.0188324433, -0.0508847833, -0.038059324, -0.0281885695, -0.0285221171, 0.004429508, 0.0101442952, -0.0110099027, -0.0245202109, 0.0053740358, 0.0417496264, -0.0671611056, -0.0057608918, 0.015504566, 0.0322792381, 0.0245109107, 0.0221038163, 0.0085780108, -0.0424903445, -0.0123571819, -0.0047431332, 0.0167835448, 0.0354171917, 0.037232969, 0.0147718377, 0.0596341677, -0.0262403358, -0.0527118966, 0.0398286097, -0.0339113846, 0.0310251433, 0.0085029388, 0.0184398852, -0.0400111228, 0.0450580977, 0.0273064058, 0.0259277131, -0.0346065611, -0.03639476, 0.0187201332, -0.0375385135, 0.0101060867, 0.0228437688, -0.0135792177, -0.0419409163, 0.0303551313, -0.0193025824, -0.0035284983, -0.0586264618, -0.0061178822, 0.0126427924, -0.0658300743, -0.0122907003, 0.0609012507, -0.0135609778, 0.009493921, 0.008541205, -0.0151529368, -0.0640679821, -0.0206184313, 0.0368535556, -0.0172231328, 0.0332889743, -0.0112958103, 0.0047692577, 0.0001047421, -0.0486101285, -0.0469202399, -0.0500638559, -0.0089962389, -0.0245617889, -0.0389809646, -0.0313309766, -0.0264609698, 0.017303085, -0.0053185564, 0.0528967269, 0.0111727165, 0.007007156, 0.0091655562, 0.0598312244, 0.0335160755, 0.0142628439, 0.0171245709, 0.0380754434, 0.1007757187, 0.0052711335, 0.0746708959, 0.0031005091, -0.0993639156, -0.0191701129, -0.0199697204, -0.0173257776, -0.0066689504, 0.0271604601, 0.0228228774, -0.0705848858, 0.0042714551, 0.0997923166, -0.0198962167, 0.0169736855, 0.0103726499, 0.0106800869, -0.0115045635, 0.0158749521, -0.0035000676, -0.0083643161, -0.0003071126, -0.0012542218, 0.0150087727, 0.0512167364, -0.0154250879, 0.0001598999, -0.0696690455, 0.0293355901, 0.0337417275, -0.012350549, -0.0277981274, -0.0654807612, -0.0441274494, -0.0756205246, 0.0293097775, -0.0193176828, -0.0502324663, -0.0170830917, 0.0368921719, -0.0795262754, -0.0062074265, 0.0300234146, -0.0024584976, 0.0754627734, -0.0247378647, 0.0118970247, 0.0013693916, -0.0375390686, -0.0099023711, -0.0053746914, -0.0226606242, 0.0025642596, 0.0438099056, 0.0326015316, -0.0146296937, 0.0332734026, 0.0399978086, -0.0259586833, 0.0013188968, -0.0218363404, 0.0745424926, -0.0132650593, -0.0200816039, -0.0094045447, 0.0091062048, -0.0229251552, 0.0628709346, 0.0175825842, 0.016672546, -0.0243737306, 0.0493905023, 0.0288447961, -0.0083240662, -0.0577814393, 0.0174272191, 0.0472303964, -0.0614576899, -0.0158495754, 0.0107508358, -0.0319587067, 0.050803151, -0.0522802547, 0.0392199084, 0.0149845239, 0.0419721231, -0.0721942633, 0.0412217714, -0.0188398454, -0.0353998318, -0.0547381639, 0.0113181118, 0.0465943925, 0.0242525749, 0.0019558424, -0.0334626362, -0.0782803819, -0.0126466956, 0.0197315868, 0.0364360176, 0.0100704189, 0.0711023137, 0.0143880993, 0.0214040652, 0.0966664553, 0.0461262465, -0.0393906832, 0.0014177347, 0.0703271106, -0.0349488445, -0.0231405385, 0.0359095223, -0.0079251323, 0.0400937647, -0.0415073782, 0.0198397916, -0.035446994, -0.0098502664, 0.0420078747, 0.0058345944, 0.0558220521, 0.0383037701, 0.0410286188, 0.0009763436, 0.0318153836, -0.0277326144, 0.0546504371, -0.0438733548, 0.0144676575, 0.0155323632, 0.0357808992, 0.0210261121, 0.0181186665, -0.0016157123, -0.0519829579, 0.0025960235, 0.0227342453, -0.0130312443, 0.0027992306, -0.0102640381, 0.0170829892, 0.0232785232, 0.0037919523, 0.0764467791, -0.0152317761, 0.0088096792, -0.002492507, -0.0228757523, 0.0692428499, -0.0090895649, -0.0016620002, -0.0472536087, -0.0474854596, -0.0357994027, -0.0206136834, -0.0042438474, -0.0313753225, 0.0160246156, -0.006012483, 0.0170580056, -0.0386844836, 0.0425563343, -0.0315133557, 0.0605312996, 0.0069636311, 0.0056809508, -0.0021133241, 0.0477885976, 0.0700228512, 0.0093943765, 0.0462191179, 0.0488609038, 0.0358778462, -0.0550978445, -0.0467365682, -0.0484515913, -0.0160466842, -0.0100109503, -0.0291470345, -0.0095881205, -0.0790751576, 0.0356471017, -0.0407670625, 0.0195375513, -0.0436953194, 0.0649913773, -0.0255601406, -0.0182581339, 0.0111041907, 0.0149652967, -0.0181637872, 0.050256703, -0.0492772907, 0.017803112, -6.823801277e-33, -0.0139666218, 0.0074313078, 0.0317948535, 0.0074405726, 0.018183101, 0.0294681061, -0.0114905285, 0.019983476, 0.0088434853, 0.0104566086, -0.0171507038, 0.0270705614, 0.0129274884, 0.0427854471, 0.0075683761, 0.0007825533, 0.1148112044, -0.0263857991, 0.005037996, 0.0404123068, 0.0312327035, 0.0444925912, 0.0181888733, -0.116118446, -0.1267575622, 0.0109629184, -0.0232642926, -0.0145655293, 0.0409774669, 0.0155039486, -0.0063755214, 0.0015062655, -0.0139665501, -0.0341176614, -0.0382862873, 0.0148745095, -0.1027562395, -0.0321584605, -0.0335424356, -0.012650908, -0.0122894188, -0.0154848238, 0.0285546053, 0.014312149, -0.0399877205, -0.0563376583, 0.0064687449, 0.010701485, -0.0309949573, -0.0739628077, 0.0053561092, 0.0236866158, -0.0396080352, -0.062133275, 0.0858923271, 0.0206794813, -0.0319772176, -0.0243239272, -0.0098643024, 0.0122129731, 0.0037347968, 0.0677966252, 0.0581996664, -0.0137504684, -0.0158674531, 0.0249048974, 0.01482323, -0.0561563969, 0.0292143598, -0.0249415115, 0.0380580127, 0.0907686949, 0.012696282, -0.0194677114, 0.0363737419, -0.0235582385, -0.062106099, 0.0328543298, 0.0271292552, 0.0260811076, -0.030082643, 0.0310637858, 0.0026944368, 0.0064153317, -0.0329046249, -0.0264836978, 0.0146043962, -0.0154543612, 0.0209325869, 0.0186177585, -0.0180545449, -0.0053593172, 0.0349530466, -0.0612869039, 0.0104261059, 0.0202021617, -0.0160720311, -0.010429766, 0.0220984574, 0.0081418622, -0.0354185067, 0.0015848567, 0.0344105437, 0.0179101434, 0.0283120777, -0.0089455852, 0.0089661917, 0.0642959103, -0.0633856207, -0.0496532172, -0.0048709777, -0.0196502265, 0.0027003023, -0.034704987, 0.0444635972, 0.0106738722, 0.0041273604, 0.0377713628, -0.0356059037, 0.0202037431, -0.0058704442, 0.0264587048, 0.0512706228, 0.0398697592, 0.0114573566, -0.0111931367, -0.0513092652, -0.0298099834, 0.0819281563, -0.0460120998, -0.0270312019, -0.017665457, 2.926e-7, -0.037198592, 0.0125345076, 0.0086616343, -0.0459225401, 0.0105657587, 0.0342367478, 0.0159514509, 0.0037745468, -0.0444122255, 0.000159574, 0.0357816145, 0.0179908071, 0.0511258617, 0.0133106001, -0.0471357852, -0.0064728498, -0.0934792683, -0.0414539501, -0.0074986811, -0.0404340737, -0.0274393931, 0.0690857768, 0.0176656302, -0.0213456359, 0.0041951337, 0.0383657515, 0.0303866137, -0.0015518353, -0.0004305482, -0.0039009717, 0.0011614026, 0.0091267051, -0.0286408067, -0.0242379699, -0.0331315808, 0.0325073972, -0.0106049748, 0.0588321462, 0.0091737499, -0.0872746632, 0.0205539204, 0.0567732453, -0.0411673523, 0.0324077755, 0.0372076072, -0.024955105, -0.0218349136, -0.0314775854, -0.0450819507, 0.0560718104, 0.01411168, 0.0351996757, 0.0216467716, 0.0142995436, 0.0049107368, -0.0341353118, -0.0407264531, -0.0597970262, 0.0168102197, 0.0288989265, -0.0272509344, 0.0132577829, -0.0284374133, -0.0232095961, 0.0270371977, 0.0204970483, 0.0056631966, 2.390338605e-34, -0.0024822452, -0.0026847983, -0.0161065068, 0.0000504293, -0.0384988897, -0.0484428257, -0.014289408, 0.026240278, 0.0007587044, -0.0309375115, -0.037861377 ]
http://arxiv.org/abs/2312.09039v2
http://arxiv.org/pdf/2312.09039v2
TAP4LLM: Table Provider on Sampling, Augmenting, and Packing Semi-structured Data for Large Language Model Reasoning
2023-12-14T15:37:04
2024-02-17T08:31:14
Yuan Sui, Jiaru Zou, Mengyu Zhou, Xinyi He, Lun Du, Shi Han, Dongmei Zhang
cs.CL
cs.CL, cs.AI
Table-based reasoning has shown remarkable progress in combining deep models with discrete reasoning, which requires reasoning over both free-form natural language (NL) questions and semi-structured tabular data. However, previous table reasoning solutions only consider small-sized tables and exhibit limitations in handling larger tables. In addition, most existing methods struggle to reason over complex questions since they lack essential information or they are scattered in different places. To alleviate these challenges, we propose TAP4LLM as a versatile pre-processing toolbox to generate table prompts through (1) table sampling, (2) table augmentation, and (3) table packing while balancing the token allocation trade-off. In each module, we collect and design several common methods for usage in various scenarios (e.g., speed over accuracy). We also provide a comprehensive evaluation on performance of each components inside TAP4LLM and show that our method improves LLMs' reasoning capabilities in various tabular tasks and enhances the interaction between LLMs and tabular data by employing effective pre-processing.
[ 0.0210090876, 0.0601953082, -0.0128143961, 0.0203822609, -0.0507210791, 0.0228938628, 0.0155171044, 0.0044159964, 0.0239495058, -0.0182443205, -0.0046595023, -0.0299796164, -0.035740193, 0.072196804, 0.0159128364, 0.0177656952, 0.0367739312, -0.0332369655, -0.0219640806, 0.0218074601, 0.0029870961, -0.0026994669, -0.03489732, 0.0068298904, -0.0140830856, -0.0247597024, -0.070228368, -0.0003323556, -0.0411045626, -0.0271164849, -0.0130727803, 0.0751661137, 0.0210756529, 0.0038397349, 0.0000020933, -0.0058359313, -0.0548701696, -0.0086737406, -0.0681644306, -0.0288818143, 0.012447576, 0.0070919213, -0.002227854, 0.004388412, -0.0478332676, -0.0146502415, 0.0113072386, 0.0655273646, 0.0522163697, 0.0377968363, -0.0016848557, -0.0180233829, -0.007731562, 0.014391969, 0.0579842068, -0.0416779928, -0.0071275146, -0.0035820305, 0.0324373692, -0.0100440243, 0.0295839887, 0.0426510349, 0.0681276545, -0.0368018895, -0.0085963262, 0.0264767371, -0.0303133223, -0.0067277984, -0.0075829644, 0.1078238413, 0.0206281636, -0.008809776, 0.0165373329, -0.0145900799, 0.0465640165, -0.0262202453, -0.039578598, 0.0228293687, -0.0019314333, -0.0117998319, 0.0047236532, -0.0008862845, 0.0145923905, -0.0114547536, -0.0595178902, 0.0988879427, -0.0191678982, -0.0400980636, 0.0154699786, -0.019105915, 0.016698733, -0.0713492706, 0.0249443855, 0.0641616061, -0.0627324358, 0.0238109287, 0.0090545537, -0.0204453375, 0.0260008089, -0.0054718913, 0.0309198219, 0.040300183, -0.0229308289, 0.0352360532, -0.0375079922, -0.0037346582, -0.0251606889, 0.0584478155, -0.0196615066, -0.0351196602, -0.0377150625, -0.0030908927, -0.0373724289, 0.0433556885, -0.0741281137, -0.0052193096, 0.0058456082, 0.0206668191, -0.014633107, 0.0402374938, 0.0302921552, 0.0537383221, 0.017951047, -0.0005897659, -0.0533282124, 0.0051098103, -0.0485027432, -0.0074539296, 0.0112608867, -0.0869491026, -0.0215556752, -0.0263036042, 0.0160328839, -0.0276955683, 0.0403353721, 0.0600683652, -0.0240930002, 0.0016331386, -0.0591960177, -0.0533964857, -0.0237689838, -0.0735823661, 0.0037264707, -0.0694649816, 0.0324277319, 0.0123964865, -0.0151729891, -0.0380757451, 0.0057837665, 0.0547396727, 0.0102530913, 0.0792649463, 0.0251671802, 0.0161391944, 0.0009070417, -0.0093774945, -0.0171644147, 0.0667392835, 0.0390968658, 0.0131583223, -0.0281828959, -0.0239718184, -0.0153849199, 0.0281556379, 0.0263123941, -0.0435651317, -0.0158737302, 0.0335827693, -0.0130870193, 0.0446984246, -0.0037671502, 0.003667624, 0.0034811022, 0.0547333173, 0.025423767, 0.0738295838, 0.0021341662, 0.0434305333, 0.0029963902, -0.0063809589, 0.0070950869, 0.0136445099, -0.0556219406, 0.052922871, 0.0120737292, -0.0019619642, 0.0489276983, 0.0229423083, -0.005325722, -0.0647472218, 0.0138652204, 0.0171739887, 0.013620968, 0.0307397712, 0.0201466139, 0.0085670669, -0.0531560704, 0.0380531661, -0.001078118, -0.0403610505, -0.0308371428, -0.0190166812, 0.0510651916, 0.0601797067, 0.0209457781, -0.0633928627, -0.0334607996, -0.0061292471, 0.0219885558, 0.0267546456, 0.0442391858, -0.0220663808, -0.0041282955, -0.0071790325, -0.0318469219, 0.0082755098, 0.015768148, 0.0011066411, 0.0345559828, -0.0029179135, 0.0004845183, -0.0491783693, -0.0160823036, 0.0112178549, 0.0338496119, -0.018034108, 0.017892994, 0.0174809266, 0.0150338439, 0.0390281342, 0.0233085379, 0.0344226472, 0.0360205732, -0.0361016244, -0.0065216189, -0.0321764573, -0.0492167771, -0.013776836, 0.0347377136, 0.0423240811, -0.0854369774, -0.0163675155, -0.0559244081, -0.0429205485, 0.008154274, -0.0021972056, -0.0126321064, -0.0323992409, -0.001881188, 0.0296822898, 0.023193663, -0.0026920023, 0.0868551955, 0.0063410262, 0.0097165853, 0.0287143886, -0.053985633, 0.0125536667, -0.0280500613, 0.0410760306, -0.0103806052, -0.0400299877, 0.0016849646, -0.0073776059, 0.0338337868, -0.0845646486, 0.0142313829, -0.0839698985, 0.0604362264, -0.0345448367, 0.0082341181, 0.008199323, 0.0169263072, -0.0089190407, -0.0238525476, -0.0723799318, -0.0446943082, 0.0377945937, 0.0060984283, 0.0576180778, -0.0057927333, -0.005657976, -0.0090100467, -0.0036096347, -0.036897216, 0.0114226323, -0.0301350653, -0.0205945689, -0.00227433, -0.023888981, -0.0095501347, 0.0305452514, 0.041270826, 0.0138145322, 0.0149661172, -0.0474764742, 0.0216495879, 0.048261527, -0.0427207164, 0.0313411355, 0.0235363916, -0.0073986216, -0.0557537898, 0.0455690995, 0.0087377215, 0.0291753318, 0.0203337241, -0.0422701687, 0.0116148097, 0.0355456881, -0.0283078253, 0.0076849805, -0.0218332056, 0.021160448, 0.0441955626, 0.0007714023, -0.05931798, 0.0664927736, -0.0072173472, 0.0427671894, -0.016193809, 0.0006479099, 0.0453937948, -0.0308608115, 0.0019005816, -0.0278108437, -0.0135548934, -0.0448954552, 0.0986929536, 0.0055675441, -0.0263000354, -0.0095715346, -0.0291789211, -0.0310166702, -0.0070527554, -0.0150357997, -0.0274224225, 0.0855555534, -0.0615950786, -0.006433004, -0.0110101597, -0.0173285082, -0.0455189645, -0.0383096002, -0.0425418504, 0.0244038031, 0.0238855314, -0.0111311553, -0.0084632952, -0.0337617286, 0.0187678207, 0.0461479872, -0.0033605518, -0.0018484555, -0.0608069338, 0.0425237603, 0.0364693813, 0.0380622, -0.0204010755, 0.005268076, 0.0453409776, 0.0531063341, 0.0210017785, 0.0007620973, -0.0301131867, 0.0469589829, 0.0273936894, -0.011770891, 0.0056468039, 0.0572203621, 0.0125926659, -0.0802247822, 0.0023295595, 0.1024304703, 0.0328623131, -0.0019858764, -0.0125685064, -0.0251304004, 0.0460348278, 0.0236177985, 0.0664281026, -0.0877460167, -0.0553399995, 0.0240976494, -0.03269336, 0.0003569974, -0.0582549572, -0.0487898663, -0.1116593257, 0.042456843, -0.0437205806, -0.0461023264, -0.0539483503, -0.0321585983, -0.0020320674, 0.0241077598, 0.0289845392, 0.0447121263, -0.0009788126, -0.0049656802, 0.0176886264, -0.0411391146, -0.0330009535, 0.0122935232, -0.0713996142, 0.0397672541, 0.0378593057, 0.0168824475, -0.0082880268, -0.0226525161, 0.0259069353, 0.0164072942, -0.0064720111, -0.0075018923, 0.0255538952, 0.0271701552, 0.0030802118, -0.0136126662, 0.0324955396, -0.031006787, -0.0178303607, 0.0220696423, 0.0875992551, -0.0443434641, 0.0070959916, 0.0091640549, -0.0108260335, 0.0006878831, 0.0768778622, 0.0459212661, 0.0179712623, -0.0594596639, -0.0407656766, -0.0675183907, -0.0763821602, 0.026349593, 0.0447844714, -0.0056071142, 0.0146943899, -0.0313793123, 0.0073381676, 0.0886835679, 0.0447421335, 0.0031792317, 0.0418518335, -0.0289542079, -0.0071705398, -0.0367909335, 0.0275003109, -0.0540119968, 0.0219948553, -0.0232561808, -0.0416647792, -0.0094879493, -0.0411167406, -0.0055884258, 0.0466860086, -0.0573748574, -0.0370964445, -0.0157120116, 0.0089829005, 0.0263088811, 0.026942607, 0.0025686794, -0.0196250509, 0.0015549351, 0.0126037784, -0.0730151683, -0.0620150752, 0.0018195687, -0.0248363558, 0.005637371, 0.0351778157, -0.0349052958, -0.0137156015, -0.0238352232, 0.0505155995, -0.0125206653, 0.0120035131, 0.0434530117, 0.0225840136, -0.006831002, 0.0426849835, -0.0620257035, -0.0338836126, 0.0522404052, -0.0376954451, -0.0422769375, -0.0060695936, 0.0325585343, -0.0075690839, -0.0169876218, 0.0002029947, -0.0307334699, 0.0041465261, 0.0608840548, -0.0031757017, -0.0007415566, 0.0275895819, -0.0519019887, 0.0326104276, -0.0305591486, 0.0053283894, 0.0126245553, 0.0139523344, 0.043716602, -0.0184811465, 0.0309960414, 0.0279399939, -0.0232344605, -0.0432469696, 0.035106834, -0.0623611175, -0.1057115421, 0.032362815, 0.0192648787, 0.0043906285, -0.0094425287, -0.0258742496, -0.0233979244, -0.0096348571, 0.0371010751, 0.0134178745, 0.0430574492, -0.0156697445, 0.0282588806, 0.019947106, -0.0067653754, -0.0321137458, 0.0457114726, 0.011132706, 0.0177317616, 0.010731712, -0.0178138912, -0.0515325218, -0.0178481564, 0.0054716533, 0.0206247643, -0.0333175249, -0.0166068804, -0.0220086128, -0.048617892, 0.0239179321, 0.0272937231, -0.052548945, 0.0049296399, 0.0279311389, 0.0577957593, 0.0411205404, 0.0015975032, -0.0384156741, 0.0383803621, 0.002494907, -0.054214932, -0.0135516925, -6.397724248e-33, -0.0319650359, -0.0245961342, 0.0354238972, -0.0530038178, 0.005186737, -0.0307387728, -0.0549115464, -0.0228567421, -0.0022135626, 0.0062121483, -0.0458124764, 0.0288878754, 0.0292824879, 0.0197377931, 0.0159482677, -0.0991320536, 0.0180716943, 0.0138493842, -0.0006909539, 0.0010581582, -0.0087367706, 0.0320773534, -0.0012386624, 0.0086000198, 0.0691215023, 0.0146371732, 0.0106456578, 0.0113451537, -0.0611344725, 0.0232589077, -0.0405782536, 0.0316999406, 0.0214896053, -0.0749320015, -0.0256496258, 0.0512758754, -0.1372118741, -0.0266121067, 0.0200045127, 0.0067359991, -0.0392335206, -0.0411753543, 0.0136703765, 0.0020606818, 0.0197016094, -0.008141676, 0.0235739071, -0.0303429775, 0.0166002214, 0.0036874635, 0.02890433, 0.0043929154, -0.0228039939, -0.0071968664, 0.0394561663, 0.0532069542, 0.0164331309, -0.0086200526, -0.0378307551, 0.0170450918, 0.0174397267, 0.0105080139, 0.0683986321, -0.0257751644, -0.0003106711, 0.0345875546, 0.0199123919, -0.0050191991, -0.068399325, 0.0079173315, -0.0472356789, 0.0715656877, 0.0451099761, -0.0073790718, 0.0666541457, 0.0315427445, -0.044623334, 0.0427153222, 0.0172768459, 0.0194753855, -0.0142890038, -0.0202658661, -0.0091303838, -0.0262164213, -0.0322662741, 0.012680633, -0.0443561785, -0.0043247826, 0.0254490655, -0.029259406, 0.0193589907, -0.0084786303, 0.0269415248, 0.0054559717, -0.0237265117, 0.0322273672, 0.0298403651, -0.0065939808, 0.0239752904, 0.0246143769, 0.0060413624, -0.0172670018, 0.0025483149, -0.0526802503, 0.0458589718, 0.0571743883, 0.0389921628, 0.0228396207, -0.0368667357, -0.0113377171, -0.0620447397, 0.0640310049, -0.0131687885, 0.0364885516, 0.0031729722, 0.024072988, -0.0214409959, 0.0380050726, 0.0146712512, -0.0019981433, -0.0195148513, 0.0162255522, -0.0154219912, -0.0022752245, 0.0100229979, -0.0009900464, -0.0662386566, 0.0052924538, 0.028289251, -0.0363793075, 0.0249860268, 0.0069870674, 2.605e-7, 0.0491515622, -0.0055336123, 0.0446712933, 0.0231320504, -0.0135416677, 0.0162110645, -0.010504622, -0.0279212091, -0.0280967169, -0.0570135266, 0.0207876768, 0.0313341171, 0.0528278053, 0.0338984057, -0.0646226779, -0.0349331535, -0.0534409769, -0.005533684, -0.0636091232, 0.0235231966, 0.0515735857, 0.0655893534, -0.0203318968, -0.0429743044, 0.0090779364, -0.0071852952, -0.0221636705, -0.0529815629, 0.0515849106, 0.0074332827, 0.0494383648, -0.0372291654, 0.0035266711, 0.075487487, -0.0243577193, -0.0182690173, -0.0312211998, 0.0446980819, 0.0187255293, 0.0079145888, -0.0338014327, -0.0758257881, 0.0247244798, -0.0630054474, 0.1159335896, -0.0315448083, 0.0048631737, 0.0479270741, 0.009910062, -0.018469099, -0.0197913647, 0.0265996885, 0.0035891221, 0.0153112244, 0.019738866, -0.0351887196, 0.015897572, -0.0730497241, -0.0347288139, 0.0020920404, -0.0279106963, -0.0038393135, -0.0493305922, -0.0340131186, 0.0251769405, -0.0779143348, -0.0329982117, 2.612592674e-34, 0.0523909293, 0.0220915899, 0.0491158664, 0.0664819106, 0.0708461329, -0.0141445594, 0.0180508588, -0.0011320546, 0.0050564851, -0.0881037414, -0.0334676877 ]
http://arxiv.org/abs/2312.09000v1
http://arxiv.org/pdf/2312.09000v1
ComOM at VLSP 2023: A Dual-Stage Framework with BERTology and Unified Multi-Task Instruction Tuning Model for Vietnamese Comparative Opinion Mining
2023-12-14T14:44:59
2023-12-14T14:44:59
Dang Van Thin, Duong Ngoc Hao, Ngan Luu-Thuy Nguyen
cs.CL
cs.CL
The ComOM shared task aims to extract comparative opinions from product reviews in Vietnamese language. There are two sub-tasks, including (1) Comparative Sentence Identification (CSI) and (2) Comparative Element Extraction (CEE). The first task is to identify whether the input is a comparative review, and the purpose of the second task is to extract the quintuplets mentioned in the comparative review. To address this task, our team proposes a two-stage system based on fine-tuning a BERTology model for the CSI task and unified multi-task instruction tuning for the CEE task. Besides, we apply the simple data augmentation technique to increase the size of the dataset for training our model in the second stage. Experimental results show that our approach outperforms the other competitors and has achieved the top score on the official private test.
[ 0.0533637889, 0.0350072943, 0.0141708348, 0.0408037044, -0.0368452817, 0.0301284809, -0.0203138385, -0.0109095396, -0.0428384207, -0.056164369, -0.0814322382, -0.0239114966, -0.0212735422, -0.0024049673, -0.0219725333, 0.006780915, 0.0552491285, 0.021706732, 0.0389047004, 0.0150496215, 0.026559744, -0.0128442105, 0.0042866124, -0.0010563561, 0.0645816252, -0.0238897558, 0.014554997, 0.0070410012, 0.053509146, -0.0427202098, 0.0599684604, 0.0619667023, -0.033454489, 0.0151013238, 0.0000020624, -0.0247890949, -0.0398909785, -0.0227259155, 0.0489808992, 0.0345604569, 0.0594113581, 0.0194986165, 0.0247055143, 0.0111734355, -0.0327188596, -0.0269968379, 0.0133579466, 0.0718365088, 0.0386610292, 0.042003978, -0.0323468149, -0.009025801, -0.0421041362, -0.0132314451, -0.0412950218, -0.0132806338, 0.0013008477, 0.006469022, 0.0208493304, 0.0119460402, 0.0444866642, -0.000528954, 0.0023745077, -0.0048422678, 0.0046439031, 0.0047439728, -0.0199910253, 0.0268664304, -0.0302084405, 0.046653267, -0.0051277727, -0.0168174747, -0.0084038293, 0.0140774306, 0.0094442712, -0.0255619939, -0.0146569014, 0.0035917929, -0.0119082183, 0.0590484925, 0.0609744415, 0.0121614188, -0.0219400935, 0.0105602713, 0.0003919336, 0.0315252468, -0.0067109042, -0.0626688525, 0.0345873311, 0.0534113497, -0.0260332301, 0.0174458921, 0.0510367155, 0.0096238973, 0.0079752877, -0.0349588916, 0.030779209, -0.0503653623, 0.0190148558, -0.1340945661, 0.066839613, -0.0403445363, -0.0460067503, 0.0254788753, -0.0039420156, 0.0211214144, 0.0340718403, 0.0260576326, -0.072023131, 0.0304940939, -0.0877771005, 0.0074132541, -0.0124716619, 0.0661312491, -0.023213204, 0.0185402352, -0.0533895008, -0.0198536031, -0.0399603806, -0.0265648011, 0.0533496924, -0.0100278994, 0.0159502514, 0.0439632125, 0.0059120692, 0.0351497866, -0.0366491452, 0.039552018, -0.0251518693, -0.0038036047, 0.0166938212, 0.0105864992, 0.042758286, -0.0449587032, 0.040143542, 0.0161065441, -0.0323962979, -0.0264634695, 0.0111492351, 0.0038507497, 0.0211044587, -0.0405639037, -0.0002776012, -0.0725671723, 0.0108336918, -0.0219790787, -0.0137414066, 0.0614860579, 0.0159984101, 0.0050644539, -0.0236730408, 0.0295307226, -0.0245051328, -0.0518137254, -0.0439100526, -0.0244770125, 0.0074116839, 0.0349545814, -0.0229303893, 0.0040783798, 0.0293470547, -0.0057496992, 0.0095413253, -0.0189760346, -0.0515758581, -0.0149073498, 0.002044789, 0.0441665053, -0.0355348699, -0.0079564583, 0.0120338649, 0.0235793442, -0.0238551442, -0.0078992527, 0.0412991792, -0.0301632471, -0.0175683256, 0.0115204491, -0.0318026915, 0.0095052365, 0.0234451871, 0.0585576147, -0.0052743768, -0.0005257851, -0.0239017271, -0.0058273314, -0.002117527, -0.0107590035, -0.0227474738, -0.0671469942, -0.0097590545, -0.0140058426, 0.0301708579, -0.0369681902, 0.0191171281, -0.0105129033, -0.0536415242, -0.024861943, 0.0460186675, -0.0333133861, -0.0443013534, -0.0518798307, -0.0029455016, 0.0298666116, -0.005730941, -0.0206104666, -0.0544239506, 0.0229133386, -0.0584902689, 0.0319282711, 0.0459942259, -0.0273241047, 0.0053992583, -0.0217776895, -0.0016396142, -0.0514085703, 0.0042975144, 0.0067618117, -0.0091834813, 0.0220020358, 0.0169027988, -0.0191113837, -0.0290502887, 0.004300402, 0.0705532655, -0.0240859911, 0.0196400415, 0.0144741731, 0.0056124423, 0.0365626737, -0.0183246117, 0.0281388983, 0.035620492, -0.0618837625, -0.0463229306, 0.0254061576, 0.0055832416, -0.1207382381, 0.0108920634, -0.0478134118, -0.0225911941, 0.0477308333, -0.0448673703, -0.0094752917, -0.013398625, 0.0170751046, 0.075637728, -0.0266770218, 0.032858029, -0.0265316702, -0.0341019779, -0.0289293732, 0.0590737462, -0.0121287936, 0.0159747265, 0.0045937737, -0.0496838018, -0.016404938, 0.000861134, -0.0494517535, -0.0053340858, 0.0240336582, 0.0068267407, 0.0294641536, 0.0502637252, -0.0213879999, -0.0440697074, -0.1003824323, 0.0369921885, 0.0046412796, 0.0820051581, 0.0359151736, -0.0370561443, 0.0007917223, 0.0071467194, -0.0222773701, -0.0098355571, -0.0148211019, 0.0447351411, 0.0491538644, 0.0365940481, 0.0303694718, -0.0731230155, -0.0232979562, 0.0178984143, 0.009844685, 0.0162503943, -0.0170798153, -0.0160428565, 0.0088461312, -0.0282358713, 0.0002515888, 0.0150654512, -0.0571559146, -0.0210076049, -0.029284291, -0.0164397489, 0.0299043059, 0.0069984598, 0.0219162814, 0.0455890298, -0.0120609803, -0.0017057521, -0.0040827971, -0.048649054, 0.0037582833, -0.0222212467, 0.0077944528, 0.0432537757, 0.0858991444, -0.02677707, -0.0105797881, -0.0098514548, -0.036358282, -0.0048937052, 0.0270833895, 0.0056509101, -0.0082730399, -0.0088442471, -0.0234440193, -0.0141589381, -0.0205905717, 0.0737589374, 0.0068044481, 0.0276593212, -0.1153275222, -0.0083086388, -0.0696208999, 0.033422444, -0.0082551595, 0.0010062176, -0.0216337163, -0.0082814079, 0.0263076015, 0.0263118874, 0.0152041325, -0.0299946852, 0.0198302623, 0.0043590213, -0.003063255, -0.0111952182, -0.0561460927, 0.0139963869, 0.0212161969, -0.0346997716, -0.0085068718, 0.0452724621, 0.009334431, 0.0076678577, 0.0549076013, -0.0717823729, 0.0187350251, -0.0133141279, 0.027832495, 0.0117009087, 0.0726284385, 0.0432928056, -0.0066737994, 0.0138401594, -0.0055077104, 0.0346054956, 0.0593328439, 0.0589262173, -0.0156572647, -0.012038812, -0.0444539897, 0.0207719114, -0.0517136417, -0.0149817206, -0.0695282668, 0.0405657589, -0.059674982, 0.0268357117, 0.1150896773, 0.0221988279, -0.0662613586, -0.0053441147, 0.0289997626, -0.0387464799, 0.0101986919, 0.0223367196, -0.0442670211, -0.0207539219, -0.0076571675, 0.0165229682, -0.0028699718, 0.0024101378, 0.0182732176, -0.1025608629, -0.0047133015, -0.0220598597, 0.0325819924, -0.0628727227, -0.0306169484, 0.0177241266, -0.0300751831, -0.0082985498, 0.0053738309, -0.0250006728, 0.0283729974, 0.021663202, -0.0121547803, -0.0304163378, 0.0683813542, -0.002901155, -0.0156159969, 0.0268075839, 0.0269313958, -0.0026900223, -0.0218506083, 0.0554997288, -0.0839224532, -0.0175227281, -0.0133351432, 0.0274212994, -0.0123273395, -0.008971449, -0.0052402439, -0.0121397609, -0.0149660008, 0.0281344187, 0.0418414362, -0.0065712747, 0.0222257338, -0.0326130912, -0.0079005575, 0.0253116116, -0.0296308808, 0.0514840335, 0.0136505198, -0.049025435, -0.0393897668, 0.0362422243, -0.0674935728, -0.058694452, 0.0334366858, -0.0097595491, -0.0283750203, -0.0053217034, -0.100685969, -0.0493087359, -0.0073042009, 0.0398016907, -0.0008639874, -0.0068871137, 0.0316776522, 0.0127187222, -0.0577637106, 0.0311908722, 0.04494977, -0.0175514948, -0.03995727, -0.0306964442, 0.0641151071, 0.0296587776, -0.0171176046, -0.0522684678, -0.0423202477, -0.0248545352, -0.0473396294, 0.040062733, 0.004431434, 0.0491474979, 0.0085168676, 0.0113301966, -0.0268967543, 0.0414621718, 0.0220073424, -0.018210981, 0.0791563764, 0.011113367, -0.0095922472, 0.0225248449, 0.0067621507, 0.0316681825, 0.0167849194, 0.03756015, -0.0151067376, 0.0102833603, 0.0253515895, 0.0012608921, 0.072772339, -0.0003229008, 0.0553351194, -0.0565583743, 0.0300568379, -0.0103740506, -0.009880756, -0.0553277321, 0.0144732175, -0.051605951, 0.0069046188, -0.0441247001, 0.0468042381, 0.0191583373, 0.0189360194, -0.0694901347, 0.1192153916, 0.0002677685, 0.03692431, -0.0434824266, -0.0069574886, -0.0332906507, -0.0088615231, 0.0451539978, 0.0082152076, -0.0245152432, 0.0569362678, 0.0258574486, 0.0190614145, -0.0015353883, 0.0661640465, -0.0459461138, 0.0774076581, -0.0610754862, 0.0229096711, -0.0000975828, -0.0474381559, 0.0675554425, -0.0319474041, -0.0198863354, -0.0183752123, 0.0157117229, -0.0285565592, -0.0066760993, -0.0074171321, 0.0091987653, -0.0151188122, -0.0045042955, 0.0821395889, -0.0426783748, 0.0242550243, 0.0360750407, -0.0364919677, -0.028965475, -0.0131711634, 0.0510978699, 0.0221903604, 0.0200351663, 0.0290797483, -0.0202107653, -0.007608111, 0.0069877501, -0.0018904206, 0.0460558124, 0.0244947895, 0.0436295047, 0.0336273871, 0.038453307, 0.010969243, -0.0433148853, -0.0104511473, -0.0226428974, 0.0221891105, 0.0092613213, -6.620368021e-33, -0.0195680801, 0.0144154103, -0.0597827844, 0.0186501034, -0.0043574432, 0.0312709808, -0.0192896612, 0.0072986516, -0.0109663466, 0.0389976241, 0.0228224937, -0.0420074873, 0.0236316677, 0.0027480735, 0.035563007, -0.0121440338, 0.0424302407, 0.0213947408, 0.0084400689, 0.0003386261, -0.0031177972, 0.051800102, 0.1070426926, -0.0348899439, 0.0116117029, -0.0002953991, -0.0000028572, 0.0051594567, 0.0471116826, 0.0506127849, -0.0119070224, 0.0479597226, 0.0301606748, -0.0342411436, 0.0186351687, -0.0181137528, -0.0698989257, -0.0282262564, 0.0156421624, -0.0015269566, -0.0134920087, -0.0188453943, -0.0082291728, 0.0051528686, -0.0324647427, 0.0054743169, 0.0300532635, -0.0602562018, 0.0081428671, -0.0718112737, -0.0862788111, 0.0286788847, -0.0132690845, 0.0016580365, 0.0173309129, 0.0551135577, -0.0187869072, 0.0066212909, -0.0491669029, 0.0516202599, 0.0408617109, 0.0367723852, -0.0225324444, -0.0068628793, 0.0070693749, 0.0512307808, -0.0242832266, 0.0041581523, -0.003935881, 0.0635509714, -0.014324517, 0.0513461269, 0.0006423736, -0.0130961975, 0.0621723346, -0.0342273302, -0.0278279185, -0.002859995, 0.0827466249, -0.0208430942, 0.0420931503, -0.0117952721, -0.0430707559, 0.0010503217, 0.024733074, -0.019987531, -0.0413722135, -0.0130170081, 0.0098706745, 0.0300751608, -0.0708156601, -0.0087895356, -0.0056658592, -0.0642837659, -0.0091079092, -0.0238576829, -0.0313596949, 0.0236655362, -0.0197631363, -0.0191691387, -0.0329079702, -0.0414076187, -0.0256080534, 0.018200079, 0.004351519, -0.0040155337, 0.0803038031, -0.0194989964, -0.0662771165, 0.0031701231, -0.023920035, -0.0065631382, -0.0395681299, 0.0504853949, -0.0265948325, 0.0143412789, -0.0066744778, 0.0769674256, 0.0040423283, 0.0788806602, -0.0387876481, -0.001619113, 0.0146861393, 0.0297652204, 0.0304873902, -0.0025209782, -0.0092047499, 0.0186647177, -0.0598189421, -0.036370039, -0.014584084, -0.0013563175, 2.86e-7, 0.0470521934, 0.0404767692, 0.0213057119, -0.0650616363, 0.0135193495, 0.0285027921, -0.0175435077, 0.0181909259, 0.0200158004, 0.0262332074, 0.0393134393, 0.0206939355, 0.0124224611, 0.0146507602, -0.0588050559, -0.0108736707, -0.0900892839, -0.0602555871, -0.0220942739, -0.0058758729, 0.0579715036, 0.0646141991, -0.0191813149, 0.0003619436, -0.0431300364, 0.0121677136, 0.0289787333, -0.0131985648, -0.044903703, 0.0278372299, 0.0296579655, -0.009344128, -0.0225237105, -0.0356569551, -0.0231117606, 0.0378454253, 0.0313989744, 0.0500543192, 0.012719729, -0.0375298001, 0.0811590478, 0.0390809923, 0.0142570836, -0.0157560427, 0.0814372301, -0.0415647067, -0.0283181462, -0.0916200131, 0.0050363638, 0.0436577834, 0.0321183428, -0.0190786067, -0.049797792, 0.05368305, 0.0151564162, -0.0576548092, -0.0701472834, -0.0662842467, -0.031593889, 0.057223618, 0.0072308402, -0.0507663935, -0.0097050136, -0.0060341596, -0.0086594988, -0.0418976173, 0.0255185962, 2.399754268e-34, 0.0845439583, -0.0296853408, -0.0119723361, -0.0115302959, 0.0236648265, 0.0028747087, -0.0672242939, 0.0038868804, -0.0018470761, -0.0235060118, 0.0230590031 ]
http://arxiv.org/abs/2312.08995v1
http://arxiv.org/pdf/2312.08995v1
FrameFinder: Explorative Multi-Perspective Framing Extraction from News Headlines
2023-12-14T14:41:37
2023-12-14T14:41:37
Markus Reiter-Haas, Beate Klösch, Markus Hadler, Elisabeth Lex
cs.IR
cs.IR, cs.AI, cs.CL
Revealing the framing of news articles is an important yet neglected task in information seeking and retrieval. In the present work, we present FrameFinder, an open tool for extracting and analyzing frames in textual data. FrameFinder visually represents the frames of text from three perspectives, i.e., (i) frame labels, (ii) frame dimensions, and (iii) frame structure. By analyzing the well-established gun violence frame corpus, we demonstrate the merits of our proposed solution to support social science research and call for subsequent integration into information interactions.
[ -0.0072921915, 0.0318343453, 0.0016934859, 0.0214180853, -0.0293308962, 0.0202243607, 0.0004509797, 0.0092441412, -0.0141013088, -0.0466948152, 0.0356661119, 0.0233356245, -0.0199517328, 0.06358511, -0.0772328749, -0.0941640735, 0.0394087657, 0.0377510563, 0.0478523262, 0.0680039302, 0.0389070511, 0.0539067797, -0.0500636958, 0.0343402624, -0.026483817, 0.0017661774, -0.0207242128, -0.0077040633, 0.0366229825, -0.0656861737, -0.0349851437, 0.0076822811, 0.0267284587, -0.0010985174, 0.0000018833, -0.0088975234, -0.0224692132, -0.0215368737, 0.0305198152, -0.012369494, 0.0590628572, -0.0563251972, 0.002094321, -0.0126460539, -0.0323232412, -0.084474951, -0.005749607, 0.0391301475, 0.0469562896, 0.0336273871, -0.0184754897, -0.0226924494, -0.0384382233, -0.0028799204, -0.0479031838, -0.0073225657, 0.0126637556, 0.0007710847, -0.0035244871, 0.04269813, -0.0116900261, -0.0032560399, -0.0226848964, -0.0277363602, -0.095319286, -0.0028653166, 0.0206000507, -0.0294818711, 0.0346565731, 0.0460210741, 0.0855289996, -0.008628916, 0.0121612055, -0.026699122, 0.0200248789, 0.0500300787, -0.0485737137, 0.007065502, -0.0348142311, 0.0257828292, 0.0113195684, 0.0305089541, -0.0252409484, -0.0118357968, -0.007561516, 0.0155963153, -0.0197482407, 0.0213843454, -0.0219112746, -0.0057570143, 0.050872311, -0.021040719, 0.0068493998, 0.0003909299, -0.0025867235, 0.0449565426, -0.0189902056, -0.0464268811, 0.0107407924, -0.0467010476, -0.0900713652, 0.0030140709, -0.0136144217, 0.0227976553, 0.0350327045, -0.0549151823, 0.0027234843, -0.0388062261, -0.0062860739, 0.0173541214, -0.0583564937, 0.023103768, -0.0393098257, -0.0035852883, -0.0744114593, -0.0082718022, 0.0069067008, -0.0014546176, -0.0145791434, -0.0033768236, -0.0832094848, -0.009467084, 0.0133476863, 0.0010551313, 0.0106400317, 0.0506315716, -0.0686253533, -0.0109084696, 0.0020777301, -0.0426011346, -0.0209904108, 0.0110392626, -0.0009292027, -0.0056241937, -0.0333326794, -0.0090354225, -0.0185275432, 0.0143911997, -0.0438541099, -0.068957746, -0.0477263853, 0.010255863, -0.0227499474, -0.0574996136, 0.0226566438, 0.0311383121, 0.0305781271, -0.0244000237, 0.0118805896, 0.0069492916, -0.0465071425, 0.0436350442, -0.0139211398, -0.0231638718, 0.045490358, 0.0519077741, 0.0615455061, 0.0947203487, -0.0092053805, 0.0261761677, 0.0357084982, -0.0050185556, -0.0050810296, 0.0045531294, -0.0311750025, 0.0195699576, 0.0025105856, -0.0046895677, 0.0212897491, -0.0211426951, -0.0041071079, -0.0494183414, -0.0192157086, 0.0018502544, 0.0006395211, 0.0534870327, -0.0082814954, 0.0093220854, 0.0301529691, 0.0398241058, -0.0022326661, 0.0207093116, 0.0276880115, -0.0102567319, 0.007070424, -0.0104653835, -0.050117515, 0.0184872579, -0.0144872442, -0.0004151188, 0.0092947902, 0.0264309458, 0.0064757215, -0.0351547971, 0.0408393033, 0.0131890271, -0.0189586747, 0.111807242, 0.0435444601, -0.0256932247, 0.006808328, 0.0004392217, -0.0310296584, 0.0076782741, 0.028318869, -0.0589219145, -0.0433066823, -0.0218211114, 0.0467590243, 0.0439221933, 0.0196322743, 0.005754848, -0.0231140982, -0.0059440606, -0.0294072814, -0.0053036697, 0.022528559, 0.0186869036, -0.0172709152, 0.041785568, 0.0123998886, 0.0572670102, -0.0244122073, 0.0455181524, 0.0336471945, -0.0027238631, -0.0217786226, 0.0139570143, 0.0037236572, 0.044317171, 0.0060056513, -0.0113250092, 0.0352775007, 0.0000913664, 0.0355767943, 0.0951681733, -0.0177836176, 0.0146768074, -0.0226066355, -0.0750307664, 0.0075515942, -0.0430332012, -0.0306041948, -0.0280162636, 0.0138783418, -0.0190606192, -0.0329297744, 0.0060884766, -0.0215906128, -0.0215249974, -0.0208239499, -0.0224873703, 0.092516534, 0.0254936609, -0.0095042996, 0.0043652491, -0.0465950184, 0.0062898952, -0.0032306605, 0.0232204702, 0.014441506, -0.0269637629, -0.042540852, 0.043348182, -0.0707265064, -0.0571381822, 0.0068655312, -0.0714357495, 0.0185038242, -0.0182099547, 0.0158006214, 0.0642492548, -0.0034459778, -0.0531657301, -0.0270577502, 0.0059061996, -0.0395661704, 0.0062991711, -0.0046689319, 0.0030760393, -0.0039513241, 0.0030170162, -0.0281366762, 0.0107651446, -0.0632295981, 0.0417198651, 0.0203841459, -0.100381881, -0.0463771559, 0.0067162388, 0.0203844253, -0.0247333124, -0.003591703, 0.0235686339, 0.0432704277, 0.0007637945, -0.0593265258, 0.0504665412, 0.0538119413, 0.1064514294, 0.0336179137, -0.010741313, -0.0187696498, 0.0198704805, -0.0422556289, 0.014632185, -0.0109903673, -0.0563596785, 0.0417174362, 0.0427726544, 0.0316277593, 0.0484138466, -0.0284269471, -0.0061283996, -0.0355481654, 0.0068348581, -0.0397312678, -0.0160757508, 0.0177751631, 0.0530462004, -0.0021167649, 0.0364464596, 0.0029937779, 0.0149315167, 0.0558644831, 0.0169415418, 0.0055508302, -0.0698354021, 0.0316611156, 0.0012160575, 0.0135874646, 0.0109551083, -0.0426234119, 0.0348989144, -0.0399330556, 0.0508454069, -0.0153571777, 0.0389592573, -0.0422676094, -0.0038184144, 0.0055233617, -0.037509378, -0.0115472088, -0.0570760034, -0.0261509269, -0.0225790888, -0.0098906029, -0.0033147598, -0.0658731237, 0.0160590373, 0.0426949747, -0.007254032, 0.0206354596, -0.017042568, -0.010182091, 0.0864773542, 0.0264068041, -0.0388805456, 0.0038005281, 0.0215040203, 0.0229758266, 0.0767263621, -0.0310387369, 0.0693304911, -0.012428876, -0.0096512921, -0.0133276898, -0.0417555012, 0.0053666178, -0.0419623367, 0.0144617707, -0.0102208396, 0.0031587752, 0.0877656266, 0.067722559, -0.0068253269, -0.0238871574, -0.0070860251, -0.0210913904, 0.0428491943, 0.0198455118, -0.0810095221, 0.0030022352, -0.0035044423, -0.004672071, -0.0221918076, -0.0756657347, 0.0089272195, -0.0447288118, 0.0367265232, 0.009262342, 0.0245591421, 0.0196576267, -0.0891516134, 0.0189775117, -0.033049155, -0.0536500923, 0.019327607, -0.0132576386, -0.0221125521, -0.0191379748, -0.0396293476, 0.0111123351, -0.0182309039, -0.0320316367, -0.0269472022, -0.0163502526, 0.0475892052, -0.0388745144, 0.029137319, -0.0536306053, -0.0288874283, 0.0011387398, -0.011960201, 0.0648393407, -0.0215594508, -0.0171589833, -0.0553538986, 0.0542610474, 0.029509414, -0.0637512729, 0.0399380997, -0.0003274244, -0.0195012055, 0.0101649482, -0.0226970427, 0.0259022657, 0.0191727411, 0.031829156, 0.0555487759, 0.0071920673, 0.038945239, -0.049952291, 0.0189624131, -0.0414174572, -0.0531237312, 0.0080341036, -0.0364378579, 0.0258940924, -0.0314286761, -0.0115572624, 0.029677894, 0.025928434, 0.0106559433, -0.0282734949, 0.0229141433, -0.0064856657, -0.1041448265, 0.0266902894, 0.0115348101, -0.024633551, 0.0369739383, 0.0379173383, 0.0186010525, 0.0314526074, -0.023160208, 0.0873430297, 0.0133111672, -0.0144943576, 0.0201245081, -0.0532099605, 0.0082563888, 0.0206231028, -0.0085626915, 0.0195554513, 0.0518344603, 0.0494166017, 0.0197918471, -0.0167675857, -0.0460190922, -0.0097754393, -0.0017094167, -0.0383722894, 0.0019711179, 0.0197757054, -0.004102184, -0.0346159823, -0.049356997, 0.0472859889, 0.0326167494, -0.0205962397, 0.0542837679, -0.0053131338, -0.0327706002, -0.0241789538, -0.0282909907, -0.0622266792, -0.023573989, 0.0388104171, 0.0138577782, 0.0261220373, -0.0429887921, -0.0322446339, 0.1026103124, -0.0193389393, 0.0302175339, -0.0226612221, 0.0323256627, -0.0105511015, -0.0120845661, -0.0147887226, -0.0223734733, -0.0099863112, 0.0209832937, -0.0371068306, 0.049088046, -0.0065453635, 0.0717560425, 0.0358874016, 0.0026559136, 0.0163436681, 0.0298602581, -0.0532090962, 0.0092367753, -0.0301048663, 0.0525376648, 0.0043092431, -0.0546840578, 0.0239083953, -0.0095045771, -0.024945382, 0.0400697812, 0.0093887784, 0.026606705, -0.0191825069, 0.0037609104, 0.0497608297, -0.0133893378, -0.0143478187, 0.0162366461, -0.0295389034, 0.0412226878, 0.0798294619, -0.0681407452, -0.0121120084, 0.0079829274, 0.0061843363, 0.0232859384, 0.0013545163, -0.0306335017, -0.0730743632, 0.0204893649, 0.0425197035, 0.0007101579, 0.0123330271, 0.0388047956, -0.0347292125, 0.0288156476, 0.0570673496, -0.0256474223, -0.0454534888, 0.0508477017, -0.0636248887, -0.0091487877, 0.0207493585, -6.139824828e-33, -0.065277651, -0.0506684519, -0.0414217636, 0.0465044118, -0.0170990471, -0.0022952077, -0.0007163034, 0.0066655464, -0.0281111579, 0.0436270982, 0.0291856751, 0.0320002735, 0.024050042, -0.0151141547, -0.0059084306, 0.0104160206, 0.0141037144, 0.0146905612, -0.0164256133, 0.0094936984, 0.0619303994, 0.0022620163, 0.0385551006, -0.0746335834, 0.0470895134, 0.0214397646, -0.0154537959, -0.0251201224, 0.068192713, 0.036090035, 0.0009672152, -0.0095650703, 0.0611568391, -0.0674796104, 0.0013400548, 0.0936157554, -0.0841548294, -0.0177669581, 0.0472694077, -0.000104773, 0.0024063671, -0.023467239, 0.0112599432, 0.010991904, -0.0305461641, -0.0269484632, 0.0366956852, -0.0522708818, 0.0284394287, 0.0234531593, -0.0730617195, 0.0133200372, -0.0571949333, 0.0422774591, 0.0120960847, 0.0331515148, 0.0217333771, 0.0733312443, -0.0535004549, -0.018410787, -0.0236949269, 0.023934219, 0.0229040906, 0.003070069, -0.0131072653, 0.0611270443, -0.0115916245, -0.018091673, -0.0688130483, 0.0150491716, 0.0109231966, 0.0575162508, 0.0495013371, 0.0793548226, 0.0117042819, 0.0002607529, -0.0906020924, 0.0341884308, -0.0078921197, 0.0468163379, -0.0092225159, -0.0127990348, -0.0109545328, 0.0080330791, -0.0421823859, -0.079371497, -0.0358758755, -0.0036467433, -0.002812457, -0.0076794797, -0.0440779775, 0.029827822, 0.0013230282, 0.0214356091, 0.0262378734, 0.0074560964, -0.0164274815, 0.0375394821, -0.0303133484, -0.0043449379, 0.0139241694, 0.0114167072, 0.0054337964, 0.0246158186, 0.0316197611, -0.0555497818, 0.0608292632, -0.0516205989, -0.0550554544, 0.0046141515, -0.0011913771, 0.0271107424, -0.0291242544, -0.0047941953, 0.0397878997, 0.0321468525, -0.0214938764, 0.0068019335, 0.0570847169, -0.0053627901, 0.0363725238, -0.0310581438, -0.0253398176, 0.0232351497, 0.0080393273, -0.0320053399, 0.0402129218, -0.0032872839, 0.0631529689, -0.0540815555, -0.0256435368, -0.0209203605, 2.523e-7, 0.0611938536, 0.0541537553, 0.0480970852, 0.0173072796, 0.0193591733, 0.0354830846, 0.0189036112, 0.0630198643, 0.0094482247, -0.0903634354, -0.0019457991, 0.0084064379, 0.0281455591, 0.058841031, -0.069396317, 0.0306393877, 0.0080562616, -0.0480162129, -0.061838001, 0.0262435451, 0.0803703442, 0.0067415079, -0.0084689204, 0.029581679, 0.010887241, -0.029942818, 0.0007269332, -0.0159463566, -0.0528885871, 0.0049320259, 0.0179051515, 0.0003534781, -0.0336846076, -0.0163725093, -0.0297532286, -0.0036633005, -0.027724687, 0.0391089544, 0.0303968992, -0.0051743411, -0.0213097557, -0.0156508703, -0.0014678927, -0.0241601802, 0.0539786853, -0.0256649144, -0.0024727136, -0.0869975984, -0.0695369467, 0.0129050612, 0.0039479248, 0.0035161218, -0.0073418706, 0.0278121233, -0.0028788131, 0.0128199505, -0.0096204663, -0.0489139706, 0.0012513364, -0.0029348773, -0.010584089, 0.0372479074, 0.0009192978, -0.0130840689, -0.0113455979, -0.0064692255, 0.044000227, 1.936184525e-34, 0.0007604945, 0.0650671944, 0.0041286941, -0.0163230039, 0.0392182395, -0.0022524758, -0.1186348721, -0.0033071027, -0.00772485, -0.079563126, 0.0448373146 ]
http://arxiv.org/abs/2312.08968v1
http://arxiv.org/pdf/2312.08968v1
Detecting value-expressive text posts in Russian social media
2023-12-14T14:18:27
2023-12-14T14:18:27
Maria Milkova, Maksim Rudnev, Lidia Okolskaya
cs.CL
cs.CL, cs.AI
Basic values are concepts or beliefs which pertain to desirable end-states and transcend specific situations. Studying personal values in social media can illuminate how and why societal values evolve especially when the stimuli-based methods, such as surveys, are inefficient, for instance, in hard-to-reach populations. On the other hand, user-generated content is driven by the massive use of stereotyped, culturally defined speech constructions rather than authentic expressions of personal values. We aimed to find a model that can accurately detect value-expressive posts in Russian social media VKontakte. A training dataset of 5,035 posts was annotated by three experts, 304 crowd-workers and ChatGPT. Crowd-workers and experts showed only moderate agreement in categorizing posts. ChatGPT was more consistent but struggled with spam detection. We applied an ensemble of human- and AI-assisted annotation involving active learning approach, subsequently trained several LLMs and selected a model based on embeddings from pre-trained fine-tuned rubert-tiny2, and reached a high quality of value detection with F1 = 0.75 (F1-macro = 0.80). This model provides a crucial step to a study of values within and between Russian social media users.
[ 0.052968435, 0.044354707, -0.0155117279, -0.0026178609, 0.0106666647, 0.0197439939, -0.0457487963, -0.0351120941, 0.0018075993, -0.0216021258, 0.003661436, -0.0265634824, -0.0369036086, 0.0304447636, 0.0008676468, -0.0274291299, 0.063479051, 0.0409327634, 0.0457261316, -0.0134360772, 0.066036731, 0.0389762223, -0.0059031984, 0.0278851707, -0.0608512089, 0.0430627987, 0.0479183979, -0.0079796752, 0.0628676638, -0.0150007783, 0.0346503556, 0.0512332767, -0.0129373064, 0.0352517255, 0.0000019919, 0.0061026542, -0.0052911001, -0.0234153792, 0.0140050836, -0.0253197402, 0.118094787, 0.0090672839, -0.0316206589, 0.0265894588, -0.0656580254, -0.0096586393, 0.0482359529, 0.0511469953, 0.0782064423, 0.091564931, -0.0061273496, -0.0117565831, 0.0030263783, -0.0115715498, 0.0282947347, -0.0375738069, 0.042623017, 0.0115353139, -0.0668850169, 0.0505379848, 0.0276990868, 0.0329364464, 0.0108671151, -0.0462790132, -0.004852646, -0.0395941995, -0.0341737457, -0.0598945841, 0.0098532876, 0.0482280292, 0.0191830825, -0.0316376425, 0.0273906905, -0.001958906, 0.0187550131, -0.0198502075, -0.0177433025, 0.0246200133, -0.0126496069, 0.0416361317, 0.0234740824, 0.0342517458, 0.0029436387, 0.0407858938, 0.0277990475, -0.0160075333, -0.0469990969, 0.0150389625, 0.0036361038, 0.0236290991, -0.0533843525, -0.001357349, 0.0767847374, 0.0143240709, 0.0158129614, 0.0011378881, -0.0401597135, -0.0604239032, 0.0425416715, -0.0877005756, -0.0121152103, 0.0469027683, -0.0053037712, 0.0438009799, -0.0129322493, -0.0276477914, 0.0130389016, 0.0256748665, -0.0224367175, -0.0015435128, -0.0347855911, 0.0099057369, -0.0043543121, -0.000518602, 0.0341254137, 0.0277850032, -0.0680909529, 0.0168786459, -0.021359589, 0.027716402, -0.0624599606, -0.0002298803, 0.0248458758, 0.0180624276, 0.0106263468, 0.0597784892, -0.0372224413, -0.0140715484, -0.042218551, -0.0336788744, 0.0758711696, 0.0214225631, 0.0270138253, -0.0176411625, -0.0014786274, -0.0068561062, 0.020077467, -0.0392771401, -0.0270609222, -0.0049068341, 0.0260265488, -0.0279024635, -0.0024672942, -0.0410588197, -0.0115171168, -0.0061753136, -0.0106671462, -0.0567924678, 0.0209359545, 0.0467767604, -0.019778328, 0.0580090359, 0.0325794071, 0.0052647409, 0.0327148251, 0.0222985595, 0.0625402108, 0.0627640188, -0.0132203121, 0.0813313797, 0.0788614452, -0.0316602103, -0.0099756122, 0.0318890251, 0.0037435186, -0.0082641141, -0.051065404, 0.03549679, -0.0183667354, -0.0181286782, 0.0171471257, 0.0334369279, -0.0101524908, -0.0017349377, 0.0912321508, 0.0218042899, -0.0380105413, -0.0131724896, 0.0132398447, 0.0585424416, 0.0308930669, -0.024870012, -0.0260839518, 0.0184816327, -0.0153968092, -0.0432388596, 0.005190304, 0.0288497731, -0.0221995711, -0.0727421716, -0.037778724, -0.0255225506, 0.0621334985, -0.0407893434, 0.0246756915, -0.0386859849, 0.0234042034, -0.0390614122, 0.0324047804, -0.0385286063, 0.0053940453, -0.0255287066, 0.0529175326, 0.0334040634, -0.0000544318, -0.0327962935, 0.0335100442, -0.0514924191, 0.043555215, 0.04520832, 0.0464717746, -0.0210803803, -0.0697776824, -0.0323129222, -0.014527794, 0.0157901607, -0.002334927, -0.0157756489, -0.0010088193, 0.0249961577, 0.008102132, -0.01112381, -0.0265739281, 0.0150161665, 0.0302786287, 0.0030089142, 0.0014514142, 0.0335563459, 0.0011846534, 0.0348218568, 0.0090528345, 0.0023764342, 0.0023292999, -0.0092498893, -0.0400768444, 0.0117699448, -0.0019920948, -0.0004030296, 0.0140791684, -0.0509028248, -0.080566898, -0.0005106697, -0.0401285477, 0.0371420123, -0.0012111386, -0.0380098298, -0.0790456906, -0.0752673149, -0.035273999, -0.0345887728, 0.0379808322, -0.0317633003, 0.0413879827, -0.0563742183, -0.0277987029, -0.0433779545, -0.0808465704, 0.0317648277, -0.007314086, -0.0457062684, -0.0161806643, -0.0091381641, 0.0621904172, 0.0250985473, 0.0300818868, -0.0134636955, 0.0059084976, -0.0602994487, -0.0378971882, -0.0317486413, 0.0191240627, 0.0095422259, -0.0092966687, 0.0077068657, -0.0008089589, -0.0777017549, 0.0090951324, 0.0340173356, 0.041526489, 0.0520298481, -0.0423702262, 0.0598769747, -0.0245558321, -0.0109168291, -0.0193396006, 0.0036289159, 0.0217960943, -0.0017835255, -0.0154676437, -0.0294792429, -0.0287350342, -0.0188983418, -0.0051706852, -0.0793622136, -0.0036303631, 0.0020135504, 0.0041399985, 0.0612392128, 0.0557860285, 0.0615735911, 0.0049458737, 0.071422793, -0.0020624797, -0.0264912192, -0.0676536933, 0.0375597589, 0.0006028771, -0.013506907, 0.0264540222, 0.0440764576, -0.0178970546, 0.0012284196, -0.0689559728, 0.045972269, -0.041805733, -0.0342920758, -0.0375612825, 0.0397941172, 0.006917445, 0.0344053246, -0.0136767626, -0.0265891831, 0.0677794889, 0.0381584167, 0.0231706277, -0.0004967949, -0.0564264432, -0.0411318764, -0.0049001812, 0.0187722258, 0.0113804769, -0.015463003, -0.0002156323, -0.010937362, -0.0383176096, 0.0259225089, -0.0584452152, 0.0058274092, 0.054397542, -0.0170748197, 0.0078473175, -0.0321619287, -0.0151519077, -0.1171416193, -0.0166989621, -0.0005609683, 0.0012128821, -0.0048646028, 0.0047356132, 0.0093666213, 0.0053818957, -0.0270954203, -0.0352243446, -0.0018156016, -0.0055227261, 0.019598851, 0.0653629079, -0.0250901747, 0.0184113476, -0.0179851893, -0.0115252268, 0.0601498261, -0.0205327533, 0.0176606532, 0.0095089814, -0.019568054, 0.0338822268, -0.0148226507, 0.0006844372, -0.0424914509, 0.0256338306, -0.0239861421, 0.0164154284, 0.0781622902, -0.0088008838, -0.0037884666, 0.0144749098, -0.054148674, -0.0067996853, 0.0170547049, 0.0423771851, -0.0913721696, -0.0001647495, -0.0440586656, 0.0080752783, -0.0573802851, -0.0399467871, 0.0081077432, -0.0852813497, 0.0058033327, 0.0083014024, -0.0367686599, 0.0265210662, -0.0181545988, 0.0106919184, -0.0269288141, 0.0314483643, -0.0298051871, -0.0012474988, 0.0210451651, 0.0315673985, -0.0567620359, -0.0649066493, -0.0029910975, -0.0209243782, 0.0193522442, 0.0427672565, 0.0552652329, -0.0282384697, -0.0443530418, 0.003508593, 0.0196088534, -0.0292724892, -0.0264504999, 0.050590612, -0.0498418249, -0.0265608113, -0.0253976937, 0.014758341, -0.0126909614, 0.0009743877, -0.0481257662, 0.0253982618, 0.000353191, -0.0222562663, -0.0336245038, 0.0192581788, 0.0494997613, 0.0256868619, 0.0376530513, -0.0396372601, 0.0108167967, -0.0314148925, -0.0177977961, -0.007351418, -0.0947648734, 0.0195474774, -0.0199212003, -0.0379188806, -0.0680163056, -0.0547732562, 0.0417596065, 0.021647336, -0.0247819033, -0.0173786748, -0.0171356611, -0.0090152295, -0.0536119007, 0.0190970208, -0.0289667137, 0.0281109791, -0.0222030785, -0.0202427991, -0.0031385894, -0.0692324415, -0.0088849785, -0.0215701424, -0.0212495178, -0.0334143341, 0.020783402, 0.0356317908, 0.0111214714, -0.0150013929, -0.0115257157, -0.0818249211, 0.0763834566, 0.0505236015, 0.0121585401, -0.0080626812, 0.0236452669, 0.0367810652, 0.0095521212, 0.0237626322, 0.024900116, 0.0372935385, 0.0379720144, -0.037767984, -0.0255796202, -0.0311144479, -0.0367056206, 0.0088289939, 0.0271665901, 0.0246637147, -0.0386904217, -0.0381445102, -0.0683389306, 0.0102690514, -0.0339577533, -0.0214125421, -0.0126921646, 0.037947949, 0.0168640595, -0.059687078, -0.0188575368, 0.0038681673, 0.0605926514, -0.0420886464, 0.0122325458, 0.0164725352, 0.0617376976, -0.0209672172, -0.0032431693, -0.0124125974, 0.0304946825, 0.0034524989, 0.0385238789, -0.0246193539, 0.0084241517, -0.016496595, -0.0149472225, 0.0498523749, 0.0641496181, -0.0123131908, -0.0105351284, -0.0268930737, -0.0108475536, 0.0364540294, -0.0372352712, 0.0613902695, -0.0150727024, -0.0203421712, -0.0078493198, 0.0475007147, -0.0111279013, -0.0568710342, 0.000362045, -0.0156806856, -0.0401988737, -0.0173394866, -0.0175909083, -0.0168525055, 0.0033060284, 0.0284734201, -0.0473551489, -0.0350751393, 0.0503583439, 0.0193325803, -0.0092008477, -0.0079127355, 0.0013367663, -0.0435266234, -0.0401854143, 0.0089095682, 0.0008877174, -0.0245670229, 0.0073872111, 0.009624782, 0.0522257499, 0.0146797271, 0.0458625704, -0.0805627853, -0.0351255164, -0.0563096218, -0.0107021919, 0.0213554874, -6.566584746e-33, -0.0028673592, -0.0432362705, -0.0437414311, -0.0131302336, -0.0100214053, 0.0045505553, -0.0078881802, -0.0144334752, -0.0227588098, 0.0350064114, 0.0053631989, 0.0003783938, 0.0048408159, -0.0016236134, 0.018646609, -0.0024708698, 0.0406438969, -0.0096507166, -0.027122438, 0.0140981581, 0.0795996413, -0.0047855671, 0.0742703527, -0.0903351679, 0.045056127, 0.0508307777, -0.0435390286, 0.0448494442, 0.0382255055, 0.0487658232, -0.0101783564, 0.0746370628, 0.0330408588, 0.0026029469, -0.002944228, 0.0381768756, -0.0552600063, -0.0204520859, -0.0042250087, 0.0418292843, -0.0398162939, -0.0014396813, 0.0330086797, -0.0678361356, 0.0070972973, 0.0321353152, 0.0581548847, -0.0025487819, 0.0231876243, -0.0295581762, -0.0625478029, 0.0411585197, -0.0116929486, 0.0156997964, 0.0227266923, 0.0042795497, 0.0258642081, 0.0215996616, -0.0706734732, 0.0325319543, -0.0656733587, 0.017873276, 0.0014196681, -0.0202488098, 0.0161390137, 0.0566882342, 0.0004094263, 0.0311571062, -0.0314428397, 0.0288399681, 0.0121989045, 0.0288017411, 0.0455404818, 0.080910936, -0.0076564266, -0.0631183013, -0.0316475555, 0.0108700106, 0.0813146606, 0.000769984, 0.0174726304, 0.0064872378, -0.0511825942, -0.0093428176, -0.006670435, -0.0434715971, -0.0259357058, -0.0460297726, -0.0343185365, -0.0260664821, -0.0801768452, 0.0124682058, 0.0450278819, -0.017191356, -0.0311093703, 0.028150443, -0.0230021439, 0.0415274836, -0.000162633, 0.0211546086, -0.0355814956, -0.0206675306, -0.0112704141, -0.0345249698, 0.0058995541, 0.0359469205, 0.0487366356, 0.0220110286, -0.0321294554, -0.0137478448, 0.0323163085, 0.0289176665, -0.0536968671, 0.0498525947, 0.0463735126, 0.0034164374, -0.0053646369, 0.0594125353, 0.0380491689, 0.0154860625, -0.0168984048, -0.0322575606, 0.0054501151, 0.0235974044, -0.0067810691, 0.0038231697, -0.0450033657, 0.0007047681, 0.0369608365, -0.0482168347, 0.0282843467, -0.0452727005, 2.709e-7, 0.0336793438, 0.0560046881, -0.019336896, 0.0127288774, 0.0225133672, 0.0891622305, 0.0361939929, -0.0125260903, 0.0016612443, -0.0098299561, 0.0389413461, 0.0401123427, 0.0853622779, 0.0265416689, -0.0558711961, 0.005452456, -0.0268889889, -0.0088137751, -0.0025943338, 0.0446752757, 0.0428709723, 0.0468328297, 0.0427235663, -0.0231707357, -0.0270620175, -0.0047190445, 0.065096654, -0.0054615927, -0.0095912451, 0.0116052637, 0.00122169, -0.0290599242, 0.0337882824, -0.0355418697, -0.0151527515, -0.014293368, 0.0476497561, 0.0590566322, 0.00340195, -0.0190043356, 0.0152911786, -0.0131827397, 0.0217443779, -0.0362075418, 0.064932622, -0.0755020529, -0.0869485587, -0.0575930104, 0.0019893893, -0.04382018, 0.0742534399, -0.0196219366, -0.0534291379, 0.0154826902, 0.018577069, 0.004800776, -0.01371927, -0.0707838386, 0.0048289704, -0.0704147071, -0.04488343, -0.043464154, -0.0018141419, 0.0904317796, -0.000428373, 0.0347491316, 0.0015119922, 2.327268511e-34, 0.0438331105, -0.0188352652, 0.0022086992, -0.0131839467, 0.0344106592, 0.0750315636, 0.0033755528, 0.0114730252, 0.0423986092, -0.0240994878, 0.0010073042 ]
http://arxiv.org/abs/2312.09265v1
http://arxiv.org/pdf/2312.09265v1
Acoustic models of Brazilian Portuguese Speech based on Neural Transformers
2023-12-14T14:16:40
2023-12-14T14:16:40
Marcelo Matheus Gauy, Marcelo Finger
cs.SD
cs.SD, cs.CL, cs.LG, eess.AS
An acoustic model, trained on a significant amount of unlabeled data, consists of a self-supervised learned speech representation useful for solving downstream tasks, perhaps after a fine-tuning of the model in the respective downstream task. In this work, we build an acoustic model of Brazilian Portuguese Speech through a Transformer neural network. This model was pretrained on more than $800$ hours of Brazilian Portuguese Speech, using a combination of pretraining techniques. Using a labeled dataset collected for the detection of respiratory insufficiency in Brazilian Portuguese speakers, we fine-tune the pretrained Transformer neural network on the following tasks: respiratory insufficiency detection, gender recognition and age group classification. We compare the performance of pretrained Transformers on these tasks with that of Transformers without previous pretraining, noting a significant improvement. In particular, the performance of respiratory insufficiency detection obtains the best reported results so far, indicating this kind of acoustic model as a promising tool for speech-as-biomarker approach. Moreover, the performance of gender recognition is comparable to the state of the art models in English.
[ -0.0247051138, 0.0902281553, -0.0176889692, 0.0069961841, 0.0697099268, -0.0049746935, 0.0346508138, 0.0044730036, -0.0402371436, -0.0358472727, -0.0685671866, -0.0587291121, 0.0387775451, -0.0251270793, 0.005457107, -0.0250089038, 0.0076805651, -0.0090072071, -0.0116762193, -0.0349407308, -0.0348499492, 0.0052867644, -0.0221600272, 0.0499166772, -0.0014007041, 0.0238965582, 0.0111379847, -0.0598979779, 0.0042916043, 0.0138792172, 0.0050684828, 0.0132826958, -0.0226118043, 0.0380741134, 0.0000021511, -0.0362841673, -0.0090901293, 0.0011117971, -0.0556563959, -0.0353477709, 0.0078619057, 0.0510320775, -0.0242835321, 0.0317987278, -0.0817078054, -0.0672679245, 0.0371223092, 0.0503514633, 0.0524140485, 0.0564537272, -0.0170990154, -0.0193856806, 0.0040192087, -0.0313139074, -0.0057669128, 0.0001298919, 0.019305056, -0.0556388535, -0.017788019, -0.0504587218, -0.0003249892, 0.0357408859, -0.006779952, 0.0109309852, -0.0029226791, 0.0038201844, -0.041415751, -0.0377584696, 0.0013833062, 0.014399427, -0.0342963077, 0.0065527069, -0.0208554212, 0.0280045029, -0.0176066402, 0.0080164, -0.0278967768, -0.0123711033, 0.0235456787, -0.006693346, 0.0191420168, 0.0283467844, 0.0406457223, -0.0315861665, -0.0074703638, 0.0131507358, -0.0470593274, -0.0069103749, 0.0230383743, -0.0184467472, 0.0169150941, 0.0109837987, 0.0306994934, 0.0291745551, -0.0158645287, -0.0258192755, 0.0061614024, -0.0649882779, 0.0067883255, -0.0653950199, -0.024794763, -0.0266584344, -0.0548595414, -0.0235390123, -0.0623366088, 0.0399477854, -0.0503421575, 0.007655404, -0.039178554, -0.0351622067, -0.0211832598, -0.0119829653, -0.0498317592, 0.02080754, 0.0012786251, 0.0428772643, -0.0906704217, -0.0370270349, -0.0401668176, -0.0331428275, 0.0465492234, 0.0332362764, -0.0092791859, 0.0401433595, 0.0057301628, 0.0427395925, 0.0358081982, 0.0416365676, -0.0399959199, -0.0721122548, 0.0171409603, 0.009658468, 0.0251398068, 0.0046372949, 0.0491618961, 0.010236674, 0.0166604333, -0.0129913921, -0.0033646487, 0.0048595145, -0.0232840776, -0.0335409977, 0.0079335617, -0.028924739, 0.0107715856, 0.0133687127, 0.0278303307, -0.0538057238, -0.0213745013, -0.0431925133, 0.0619498231, 0.0388124883, 0.0187820233, 0.0059367428, 0.0623893328, -0.0099877929, 0.0084664384, 0.0066854856, 0.0385759808, -0.0695199519, -0.0167257655, -0.064111568, 0.0092723463, 0.05347725, 0.0189674571, -0.0328732245, 0.0209731329, -0.0253043324, -0.0097320573, 0.0279281475, 0.0371829644, -0.0028292255, 0.0498592518, -0.0227747876, 0.0470719598, 0.0619129241, 0.0807274878, 0.040609993, 0.0206322689, -0.0088391565, 0.0131039182, -0.0191888493, 0.0068144044, -0.0109810373, 0.017897049, -0.0489668436, -0.0380934142, 0.0563068688, -0.0352380313, -0.0428658091, 0.0227354057, -0.0259080566, -0.0112784831, 0.0172129739, 0.0434423313, 0.0068529896, -0.0020739951, 0.0760978386, -0.0170131028, -0.0301749576, -0.0075515327, -0.088005729, -0.0065933838, -0.0475908443, -0.0321550108, -0.0375811085, 0.0210181903, -0.0811897889, -0.0356260762, -0.0410869159, -0.0239630863, 0.0122164339, 0.045318611, -0.0419919416, -0.0249284189, 0.0518504754, 0.0163401589, 0.0169149768, -0.0385877416, 0.0263971351, 0.0272676274, -0.0225762669, 0.0169112738, 0.0290605016, -0.0496347286, -0.0189811792, 0.0430804566, 0.0316257589, 0.0804405734, 0.0348732993, 0.0103465207, -0.0132578425, 0.0225050841, -0.024153512, -0.0351302773, 0.0514800735, -0.0102226408, 0.0113531426, 0.0055003944, 0.0097020501, -0.0421102978, 0.0790146589, 0.0305320937, -0.0475436784, 0.0077316724, -0.0526583865, 0.0398562849, -0.044743292, 0.016179787, 0.0066336277, 0.0510415845, 0.0422325693, -0.0163139794, 0.0446796417, -0.0102601768, -0.0041314289, -0.061570961, 0.0184405949, -0.1065730527, -0.0829742178, -0.0116776545, -0.0361352861, 0.0075661074, -0.0041086287, -0.0093623828, 0.012113384, -0.0155001562, -0.0725792646, -0.0167973042, -0.0088391341, -0.0165941734, -0.0340928398, 0.0078392942, 0.0227795783, -0.0105676586, -0.0164407697, -0.0312054995, 0.0223314874, -0.0363955721, -0.018477859, -0.0056712911, 0.0043428857, 0.0019139764, 0.0049936357, -0.0387648456, 0.0193467457, 0.0436881222, -0.0363049656, -0.0136613119, 0.0068475124, 0.0423103496, 0.0258416384, -0.0093750535, -0.0440589264, -0.029966956, 0.0196523853, 0.0429113097, 0.0800073147, 0.0165626518, -0.0203444101, 0.0466218665, 0.0466798507, 0.0047285077, -0.0010975209, -0.0308937039, 0.0444411337, -0.0439289212, 0.0025384775, -0.0009112776, 0.036621511, 0.024431821, -0.0037423496, -0.0049935239, 0.0113963792, -0.0141633414, 0.0097870035, 0.0019294064, -0.0523232073, -0.0182889085, -0.003801357, 0.0280299727, -0.0115294242, 0.0231312551, -0.0590416044, -0.0408170223, -0.0425726622, -0.0663425252, -0.0230901279, 0.0064752079, -0.0159153454, -0.0118794339, 0.0327755623, -0.0010832419, -0.0001357999, 0.0112932697, 0.0048580579, -0.05939731, 0.0125490772, -0.0016323626, -0.0055828704, 0.0117876157, -0.0438422039, -0.0392071754, -0.0250480697, -0.0274321251, 0.008861294, 0.0181784388, 0.0119633777, -0.0296930969, 0.0561443865, 0.0067427135, 0.0855512619, 0.0251268763, -0.0051604132, 0.0119531965, 0.0287036356, -0.0197315831, 0.0669678226, 0.006604515, -0.0166537743, 0.0301812105, 0.0011899618, -0.0122914249, 0.0152911162, -0.0610802472, 0.0074306279, -0.0099390829, 0.0174585357, 0.0016411018, -0.0259847343, -0.0025506606, -0.0401030779, 0.0161677413, 0.0798016936, -0.0044401181, -0.0249831434, -0.0230271257, -0.0055126296, -0.0672863871, -0.0041193953, 0.0230793245, -0.0092076696, -0.0031518589, 0.0284359362, 0.021253787, 0.0019777885, 0.0250256881, -0.001742649, -0.0306770336, 0.0607743822, -0.0126032438, -0.0245221779, -0.0022331437, -0.0265286565, -0.0270838086, -0.0996195078, 0.0262115225, -0.0423746035, 0.0027373743, -0.0449017957, 0.0432658158, -0.0786267817, -0.0460975096, 0.0388305038, -0.0331987739, 0.0346463136, 0.0289560389, -0.0128634535, -0.0221622996, -0.0138204293, 0.0514366254, 0.0293948278, 0.0149326269, -0.0186955184, 0.0436522476, 0.0390328877, -0.0403354429, -0.0344950594, 0.0396689102, -0.0205526613, 0.0045953868, -0.0045858934, 0.0785932019, -0.0568848401, -0.008115069, -0.0103635425, -0.001255108, 0.008353523, 0.0415503159, -0.0120844431, -0.0275932513, -0.0070725377, 0.0362208597, 0.0425331406, 0.0370348915, -0.0678899586, 0.0420033261, 0.0207669884, -0.0959348008, -0.0033788849, 0.0160565414, -0.0007161578, -0.0141025111, 0.0465458706, -0.0156997237, 0.0588079654, 0.0173074137, -0.0484467708, 0.0675720572, 0.0548898689, 0.0461267643, -0.0623185076, -0.0334228612, 0.0656902045, -0.0248420201, -0.0178715922, -0.025125619, -0.0347979814, 0.019129999, 0.0498297289, 0.0120350365, 0.0204762872, 0.040186502, -0.0353121087, -0.0700035393, 0.0685601532, 0.0197311919, -0.074500069, 0.0224639475, 0.0713054016, -0.0395885445, -0.0308141746, 0.0187626984, 0.0000046397, 0.0434995927, -0.0248476863, -0.015412135, -0.0537940972, -0.0073050959, 0.0116938017, 0.0066257832, 0.0808606371, 0.0182615146, 0.0320792869, -0.0585058741, 0.0332440138, 0.0441829525, 0.0748002827, -0.0091052912, -0.0200652052, 0.0175959487, 0.0278422534, -0.0034676439, 0.0156478118, -0.0727237314, -0.0430666395, -0.0304546747, 0.0847574025, 0.0139189903, -0.007274522, 0.0034343095, 0.0499626622, 0.0440894999, -0.0154411988, 0.0614856444, -0.001293804, 0.0173578355, 0.0121201565, -0.0039243633, 0.0016988715, -0.0243469272, 0.0322063714, 0.0100254677, 0.0343195684, -0.026807474, -0.0298554581, 0.0108241336, -0.0319084264, 0.0053798743, 0.0144840479, 0.0131517295, -0.0161735043, -0.0219508782, -0.0578382798, 0.0551316626, 0.0506713167, -0.0134011572, -0.0316626243, 0.0207401626, 0.0232539568, 0.0140692228, 0.0129465433, -0.0303029381, -0.0045924541, -0.0328188352, -0.0079736132, 0.019651603, -0.0414512902, -0.088155292, -0.024497347, 0.0013880534, -0.0556880087, 0.0457236841, -0.0345472246, 0.0089230016, -0.002115825, -0.0079874378, 0.0037428557, -0.0147892833, -0.0165511314, -0.006679011, -0.0119436085, -0.0045718118, 0.0028446659, 0.0006461794, -5.800959929e-33, -0.0015835302, -0.0335795768, 0.0241607092, 0.0249615181, 0.0086827492, 0.0459246226, -0.0083458116, 0.0201206561, -0.0132760853, 0.0026777699, 0.0064816051, 0.0046160831, 0.0242805351, 0.0007294279, 0.0019462656, -0.0322564356, 0.0732199997, -0.0067809215, 0.0189806074, -0.0549151078, 0.0120310495, 0.0449868068, 0.0647611022, -0.0687659159, -0.0383409113, 0.0210857652, -0.0088979397, 0.0001110087, -0.0199800823, 0.0385877751, 0.007185414, 0.0624812543, 0.0105165243, -0.052921664, 0.0287205931, 0.0286830142, -0.0889865607, 0.0005070537, -0.0277611017, 0.0639905632, 0.0378932171, -0.0013670997, 0.0937424973, 0.0223128796, -0.0249556117, -0.010934541, 0.0517010614, -0.0456803069, 0.0487381369, -0.0656127334, 0.0369673781, 0.0205397848, 0.0003891481, -0.0395589881, 0.0683047995, 0.1136630177, -0.0623191483, -0.0025159384, -0.0860378072, 0.0101734595, 0.0073642428, 0.0247271862, -0.0096431635, 0.035989996, -0.0041705836, -0.0171273407, 0.0876370147, -0.0616894364, -0.0280614272, -0.0360798649, 0.0359370299, 0.0129796686, 0.0562884957, -0.0050703026, 0.0036385746, -0.0013516113, -0.0741715878, 0.0419283397, -0.0029590989, 0.0316815116, -0.0053406889, -0.0158619881, -0.0082200598, 0.006259717, -0.0390619412, -0.0301198233, -0.0229451656, 0.0349060372, 0.0073726997, -0.025153704, -0.0069391746, 0.0045234454, 0.0277112015, -0.0596058294, 0.0243050773, -0.0476436093, 0.0144719463, -0.003979499, 0.0072719473, 0.0062669246, 0.0083626425, -0.018985102, 0.052851487, 0.0668874681, 0.0583733059, -0.0363979191, 0.0309286118, 0.0495965295, -0.0416457579, 0.0091373818, 0.0306441411, 0.020424962, -0.0006491437, 0.0841582566, 0.0217638239, 0.0560249165, 0.0081843296, 0.0326659121, -0.0249287747, 0.0193277318, -0.0306959953, 0.0360706523, 0.0280918069, 0.0293987226, -0.0379867181, -0.0053098272, -0.0167312454, 0.0560630597, 0.030681828, -0.0601097494, 0.0136411581, -0.016069429, 2.875e-7, 0.0038830403, 0.0228100419, 0.0416483469, -0.0509846509, 0.0426311679, 0.0213119406, -0.0341108106, -0.0283221472, 0.0274339039, 0.0573635437, 0.0399675258, -0.0154959457, 0.0611420609, 0.0526447594, -0.0899703428, -0.0383357182, -0.1081777066, -0.0097029814, 0.0070834914, 0.0281572584, -0.0223966185, 0.1312720925, -0.0133377416, -0.0628806204, -0.0003987053, 0.0030636105, 0.0475688353, -0.0229720157, 0.013543278, -0.0303873997, 0.008475638, -0.0182628017, 0.0241090953, 0.0264632795, -0.0287295524, 0.0725235045, -0.0054396391, 0.0400493518, -0.0169854518, -0.0274532493, 0.0369532034, 0.0530804284, -0.0360848978, -0.0060686637, 0.0377209038, -0.0676166937, -0.0538842194, -0.0308281332, -0.0149643309, -0.0127701731, 0.0671200305, -0.036696054, 0.0119243497, 0.0378205925, 0.0023672504, -0.0220823586, -0.0069740028, -0.0209164284, -0.0069521493, 0.0226124357, -0.0751807243, 0.0059809727, -0.0069352211, -0.0186770055, 0.0222899541, -0.0008776385, 0.024059318, 1.939345733e-34, -0.0314509943, 0.0171180889, -0.0190632641, -0.0180590022, -0.0284381025, -0.0201901868, 0.0142885502, 0.028946558, -0.0126341321, -0.033292301, -0.0286191516 ]
http://arxiv.org/abs/2312.08935v3
http://arxiv.org/pdf/2312.08935v3
Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations
2023-12-14T13:41:54
2024-02-19T14:07:53
Peiyi Wang, Lei Li, Zhihong Shao, R. X. Xu, Damai Dai, Yifei Li, Deli Chen, Y. Wu, Zhifang Sui
cs.AI
cs.AI, cs.CL, cs.LG
In this paper, we present an innovative process-oriented math process reward model called \textbf{Math-Shepherd}, which assigns a reward score to each step of math problem solutions. The training of Math-Shepherd is achieved using automatically constructed process-wise supervision data, breaking the bottleneck of heavy reliance on manual annotation in existing work. We explore the effectiveness of Math-Shepherd in two scenarios: 1) \textit{Verification}: Math-Shepherd is utilized for reranking multiple outputs generated by Large Language Models (LLMs); 2) \textit{Reinforcement Learning}: Math-Shepherd is employed to reinforce LLMs with step-by-step Proximal Policy Optimization (PPO). With Math-Shepherd, a series of open-source LLMs demonstrates exceptional performance. For instance, the step-by-step PPO with Math-Shepherd significantly improves the accuracy of Mistral-7B (77.9\%$\to$84.1\% on GSM8K and 28.6\%$\to$33.0\% on MATH). The accuracy can be further enhanced to 89.1\% and 43.5\% on GSM8K and MATH with the verification of Math-Shepherd, respectively. We believe that automatic process supervision holds significant potential for the future evolution of LLMs.
[ -0.019727435, 0.0794815049, 0.0082136942, 0.0092985714, -0.0141722197, 0.0125812441, -0.0018451399, -0.0079966821, -0.0194238536, -0.020062238, -0.0418043211, -0.0026000834, -0.010494208, 0.0324665681, 0.0303971488, -0.0483752936, 0.0288086254, -0.0700691566, 0.0420458168, -0.003157364, -0.030299101, -0.019087296, -0.0304805636, 0.0282864459, -0.0066417335, -0.040309865, 0.0230887905, -0.0373707674, 0.0476679578, -0.0515888855, -0.0102640474, 0.0363596529, 0.0222480372, 0.0566730574, 0.0000021651, -0.0594965219, 0.0225764625, 0.0344180614, -0.0069027948, 0.0028057429, -0.0205956176, -0.001925269, -0.0249260403, 0.0202423818, -0.0538093522, 0.037274044, 0.0228207689, 0.0472930223, 0.114570342, 0.0718746483, 0.0139598977, -0.0480387583, 0.0299925487, -0.0288639646, 0.0279712118, -0.0464771949, 0.0093357302, 0.030675089, 0.0085984841, 0.0241206512, -0.0150121916, 0.0310601704, 0.0512786508, -0.044775404, -0.0241999608, 0.0220093057, 0.0401110128, -0.0089494586, -0.0105219735, 0.04219006, -0.0197193716, -0.0147044463, 0.0005410056, -0.0273614638, -0.0091225896, 0.0042042183, -0.0729811788, 0.0388734192, 0.013278909, 0.0135201458, -0.0034658324, -0.0123717422, 0.0246694721, 0.0117050102, -0.0213335603, 0.0879223421, -0.0048198821, -0.0359978937, 0.0082852291, 0.0390210003, -0.0476505011, -0.0368368067, 0.0089006731, 0.0529540628, -0.0331372134, 0.0076747318, -0.0186147969, -0.0588066205, -0.0241969582, -0.0148570593, 0.0520275272, 0.0390643179, 0.0161033142, 0.0331231989, -0.0198822208, 0.0531798154, 0.0056907269, 0.0085341781, -0.0089899031, 0.058503367, -0.0536901876, 0.004116158, 0.0070998538, 0.0523093045, 0.0255633779, 0.012817665, -0.0521231107, 0.0218223352, -0.0729707554, 0.0722537935, 0.0580071732, -0.01071872, -0.0121000111, -0.0140955327, -0.0341111608, 0.0298896693, -0.0415793769, 0.0091520138, 0.0002569128, 0.017441351, -0.027199395, 0.0446109027, -0.0338578559, 0.0044526239, 0.0075738635, 0.1050408185, -0.0100846048, 0.0065559885, -0.0275241192, -0.0262078103, 0.0430947132, -0.0729091987, -0.0074449689, -0.0773706064, 0.0176447406, 0.004708583, 0.0001654881, -0.0021079991, 0.024241345, 0.0147767626, 0.0056626396, 0.0456511378, 0.0400420874, -0.0239171907, 0.0331954062, -0.0008925098, -0.0604969934, 0.0448797718, 0.0474790484, -0.0109210853, 0.004660171, -0.0009359683, 0.0162339304, 0.0421450622, 0.0162990186, 0.0249530766, 0.0115612391, 0.0003288381, 0.0018283832, 0.0138144987, 0.0557594039, 0.022128839, -0.0377903916, 0.038705159, 0.0269207414, 0.0655013397, -0.0139723262, -0.015054456, 0.0361005738, 0.0187919661, 0.0508019514, -0.0105953468, -0.080283761, 0.0388572589, -0.0351787396, 0.0201978572, -0.0440698192, -0.0185966436, -0.0112466812, -0.0834944546, 0.0043279328, 0.0123785194, -0.0347428434, 0.0081147682, 0.0894380435, 0.0039618327, -0.033559233, 0.0350653492, 0.0068195341, -0.0188217461, 0.0040379814, -0.0546476841, 0.0534686223, 0.0125611918, 0.0573627129, -0.0732271671, 0.0075704716, -0.040642906, 0.0068320264, 0.0260835588, 0.0079266075, -0.0345778801, -0.0432855859, -0.0162820313, -0.0424976386, -0.001126998, 0.0213662554, -0.0194169469, 0.0580506995, 0.0020718484, 0.0120412847, 0.0135372374, -0.0410839245, 0.0592516437, -0.0174757689, -0.0682341754, 0.0154849701, -0.0209771823, 0.0224539265, 0.0082651963, -0.0053762035, 0.0403608494, 0.0407019556, -0.03798059, 0.0122813955, -0.020607613, -0.0398351327, -0.0243354142, 0.0682416037, -0.0129127149, -0.0268219616, 0.0037180516, -0.0815035105, -0.0318721421, 0.0311310273, -0.038947884, 0.006338479, -0.0100049069, 0.0221675765, -0.0042400812, -0.0660606399, -0.0474206172, 0.0628229529, -0.0215509497, 0.0162294712, 0.0211450215, 0.006644615, 0.0067938557, -0.0062476518, 0.0144485421, -0.0005712949, -0.0014910707, 0.0465048626, 0.0253180787, 0.0505663604, -0.0234757885, -0.0275240727, 0.0033613569, -0.005233597, -0.0185335558, 0.0582239963, 0.0120607587, -0.0367245972, -0.0023394472, -0.0355152301, -0.0085598566, 0.0062167509, 0.0112758093, -0.0207861941, 0.0360195152, 0.0130739575, -0.0271313265, -0.0541085377, -0.0266071688, -0.0281340722, 0.0080979988, 0.0049064844, 0.0514577515, -0.0657146126, 0.03724299, -0.0112470975, 0.0107414387, -0.0081435405, 0.0019734409, 0.0439356267, -0.0289650057, 0.0114014009, 0.0509344973, -0.0287964549, 0.0314691588, 0.0181351844, 0.0051926062, -0.0659672022, -0.0005515901, -0.0201760847, -0.0430801436, -0.0215062629, -0.005799579, -0.0064491993, 0.0702954158, -0.030967569, -0.0140645802, -0.0184399989, 0.0237238072, -0.0245748069, -0.0155188162, -0.0435959175, 0.0035789858, -0.0259005595, -0.0042138807, -0.0232421458, -0.0706204697, 0.0740360394, -0.0099006109, -0.013861482, -0.0595275946, -0.0162316728, -0.0244635995, 0.0225153305, 0.0037840465, -0.0205084402, -0.1000463441, -0.0219581444, -0.0581318066, 0.0072297598, 0.0639607757, -0.0254634321, 0.030823268, -0.0482820682, 0.0249458496, -0.0015228152, -0.0307252575, -0.0504599661, 0.0145653347, -0.0288183875, 0.0409844145, -0.031683024, -0.0456301346, -0.0181480795, -0.0021283934, 0.0597087815, 0.032969363, -0.0397266112, -0.0469681807, -0.0416424274, -0.0196291339, 0.0242843684, 0.008089073, 0.0417614095, -0.0634278655, 0.0258508306, 0.030493468, 0.0828267559, -0.0403349139, -0.0028372854, 0.0070630107, 0.0165525619, -0.0818967596, 0.0163389482, 0.0451610275, 0.037224412, -0.0686048269, -0.0154997921, 0.1039058939, 0.0391593203, -0.042270001, 0.0054405257, -0.0433529019, 0.0276569184, 0.0377324335, 0.0419095159, -0.0576733798, -0.0023738008, 0.0065914979, 0.0547385849, 0.0190546159, -0.0208236594, 0.0057694674, -0.1077312008, 0.0321301371, 0.0180615839, -0.0209509712, -0.0110998405, -0.0413861275, 0.0000366132, -0.0228693336, -0.0335619301, 0.0326085612, -0.0132139781, -0.0041597383, 0.0242111515, 0.0123440232, -0.0391801633, 0.0024437935, -0.034137506, -0.0402950495, 0.0620043576, -0.0291215628, -0.018522488, -0.0820119157, 0.0550346226, 0.0136523191, -0.0310151726, -0.0105707804, -0.009988986, -0.0138268676, -0.0091081373, -0.0129129551, 0.0672912896, -0.0591681302, -0.0295476504, 0.0095585855, 0.1279351413, -0.034375228, -0.0080780378, -0.017813107, -0.0067391046, 0.0138271917, 0.0452518575, -0.0086546643, -0.0210649911, -0.0435162336, -0.0633051246, -0.0271672979, 0.0033289953, -0.0120645231, -0.0345067978, 0.0147744454, -0.0124277789, -0.0414491072, -0.0237344299, 0.0399127081, 0.0567042008, -0.0064882357, -0.0382931195, 0.0292355809, -0.0046109818, -0.040610604, 0.018425012, -0.0146134738, 0.0424683094, -0.0597278737, 0.0077213165, 0.005502223, 0.0227540638, -0.0506480224, 0.0215180311, -0.1211301237, -0.0516040996, -0.06201851, 0.0979549214, 0.0227219835, 0.0182279367, -0.0187182687, -0.0280713439, 0.0428179651, -0.0012877936, -0.0299431011, 0.0005239387, 0.0427564122, 0.0191343334, -0.0059393402, 0.007516305, -0.0157293808, -0.010749667, 0.0025023052, 0.0564022362, -0.0164816994, -0.006291029, 0.0074321646, 0.0041747657, 0.0038112083, -0.0109690316, 0.021384472, -0.0548156723, 0.026200844, -0.0092760324, -0.009505515, -0.0258359145, 0.042690888, 0.015168298, -0.049164176, 0.0165954959, 0.015432517, 0.0268038698, 0.0303455144, 0.0184725355, 0.0506428368, 0.0091984933, 0.0186352357, 0.0275252331, -0.0087878555, 0.0148271266, -0.0086838622, 0.0233592391, 0.0405539013, -0.0039389222, 0.0489473902, 0.0304281339, 0.0453237519, -0.0031481038, -0.0180367026, -0.027699925, -0.0895065218, -0.0514735468, 0.0402739532, 0.068201445, 0.0255212765, 0.0571810007, -0.0631412715, -0.0066073244, -0.0044567282, 0.0026128993, -0.0201424975, 0.0173980203, 0.0126808397, 0.0417206101, 0.0207224507, -0.0222706702, 0.0709482878, -0.0020812214, 0.0242593735, -0.0352511182, 0.0188825503, -0.0368815586, -0.0363864712, 0.0054664379, 0.0542793497, 0.0151132978, -0.010592727, -0.0383480825, -0.0711724684, -0.0518942215, 0.0368448757, -0.0379792415, -0.0333461426, 0.049395524, 0.0643997416, -0.0256567989, -0.017565066, -0.0155581636, -0.0089568524, 0.0285081491, -0.0551045053, -0.0590547286, -5.441381717e-33, -0.0368279107, -0.0524098426, 0.0388464965, 0.0256472826, -0.0046079103, -0.0462416634, -0.035662163, 0.0036026668, 0.0383283831, 0.0603386238, -0.0029603231, 0.0110364929, 0.0122303339, -0.0026129056, 0.0682927519, 0.0181347597, 0.061899785, -0.045205377, -0.045043584, 0.0009291252, -0.0081524048, 0.0068431385, 0.0744713843, -0.0525735132, 0.038664367, 0.0233914331, -0.0297564194, 0.031538751, -0.0203254744, 0.0603059269, -0.0009503226, 0.0305554252, 0.0079723597, -0.0398862138, -0.0389802493, -0.0100755598, -0.0651794001, -0.0657496303, -0.0123357391, 0.0149010811, -0.0613916479, -0.001667161, 0.0478311852, -0.0116086546, -0.0666020662, 0.0005025456, 0.023110142, -0.0118093556, -0.0085199494, -0.0135268494, -0.0587933064, 0.0295294933, -0.0072535649, 0.003326633, 0.0312268138, -0.009326621, -0.0213431511, -0.0198732689, -0.0544287786, 0.015737934, 0.0137213571, 0.0473081209, 0.1082134843, 0.0189572554, 0.0019141132, 0.0004592455, -0.0007246722, -0.0059236912, 0.015573753, -0.0160297565, 0.0530777648, 0.032297425, 0.0600977689, -0.0335221849, -0.0089159245, 0.0327895023, -0.0503210835, 0.0366028175, 0.0047147647, 0.0768898502, -0.0072528422, 0.0027531248, -0.0329300053, -0.0212716237, -0.058503259, -0.020569643, -0.0081149219, -0.0166684762, 0.01594368, 0.0341540501, -0.0087582543, -0.0050147814, 0.0085358713, -0.0474437214, -0.0536267795, -0.0102908779, -0.0214560572, 0.0451210141, 0.003459465, 0.0022075842, -0.0786267668, -0.0102593545, -0.0196931977, -0.0131946662, 0.0231444687, 0.0105879363, 0.0194554254, 0.0132319173, -0.05935793, 0.0105260331, -0.0399516523, 0.0217664838, 0.0419172607, 0.0627576858, 0.0246994887, -0.0183172878, 0.0119891614, 0.0528685451, -0.0178745203, -0.0194790568, 0.0160131194, 0.0555849038, -0.0120244185, 0.0301445536, -0.0166218933, -0.0163381808, -0.0257144924, 0.0321096107, 0.0264961608, -0.0534824319, -0.0022877315, 0.0014175111, 2.755e-7, 0.0183595642, 0.0625546128, 0.0112558026, 0.0523725674, 0.0315701179, 0.0375474356, -0.0390261114, -0.0198904667, 0.0054695355, -0.0427740403, 0.0350342728, 0.0110992845, 0.0359923579, 0.0298498385, -0.0570819601, -0.0373615995, -0.0830395743, -0.0003409712, -0.0551718213, -0.0146894185, 0.0439821482, 0.0697651953, 0.0410784744, 0.0024687056, -0.0059732292, -0.0050151399, 0.0613510944, 0.0218959488, 0.0023880159, 0.0206223857, 0.0199201386, -0.0262524504, 0.021915393, -0.0260501951, -0.0235726461, 0.0458781384, -0.0180305559, 0.0779621452, 0.0210026298, 0.0092273522, -0.0165078528, -0.0185691267, 0.0351221897, -0.0299730487, 0.024148915, -0.043235518, -0.0254645646, -0.0090301968, -0.0077585471, -0.0662615597, 0.0357236415, -0.0159175154, 0.0106755206, 0.0158734657, 0.0031780868, 0.0048060291, -0.0086568287, -0.0242652632, -0.0306904353, 0.0236209314, -0.0319522433, -0.0607281327, -0.0303440951, 0.0109124007, -0.0040923287, -0.0253129955, -0.0179736689, 2.888414387e-34, 0.0655652285, -0.0362074412, 0.0321770012, 0.0435198732, 0.0148484269, 0.0299671721, -0.0527540371, 0.0330050588, 0.0472002216, -0.0475922488, -0.0110253775 ]
http://arxiv.org/abs/2312.08926v2
http://arxiv.org/pdf/2312.08926v2
Modeling Complex Mathematical Reasoning via Large Language Model based MathAgent
2023-12-14T13:33:50
2023-12-17T03:34:36
Haoran Liao, Qinyi Du, Shaohua Hu, Hao He, Yanyan Xu, Jidong Tian, Yaohui Jin
cs.AI
cs.AI, cs.CL
Large language models (LLMs) face challenges in solving complex mathematical problems that require comprehensive capacities to parse the statements, associate domain knowledge, perform compound logical reasoning, and integrate the intermediate rationales. Tackling all these problems once could be arduous for LLMs, thus leading to confusion in generation. In this work, we explore the potential of enhancing LLMs with agents by meticulous decomposition and modeling of mathematical reasoning process. Specifically, we propose a formal description of the mathematical solving and extend LLMs with an agent-based zero-shot framework named $\bf{P}$lanner-$\bf{R}$easoner-$\bf{E}$xecutor-$\bf{R}$eflector (PRER). We further provide and implement two MathAgents that define the logical forms and inherent relations via a pool of actions in different grains and orientations: MathAgent-M adapts its actions to LLMs, while MathAgent-H aligns with humankind. Experiments on miniF2F and MATH have demonstrated the effectiveness of PRER and proposed MathAgents, achieving an increase of $12.3\%$($53.9\%\xrightarrow{}66.2\%$) on the MiniF2F, $9.2\%$ ($49.8\%\xrightarrow{}59.0\%$) on MATH, and $13.2\%$($23.2\%\xrightarrow{}35.4\%$) for level-5 problems of MATH against GPT-4. Further analytical results provide more insightful perspectives on exploiting the behaviors of LLMs as agents.
[ -0.0316668972, 0.0768565089, -0.0129160872, 0.0468689315, -0.0522761233, -0.0048532072, 0.0236159246, -0.0006809094, -0.0200488921, -0.0344154164, -0.0049543097, 0.0068642762, -0.0374518968, 0.0080386121, 0.0228805821, -0.0487667993, 0.0171286017, -0.0573153049, 0.0330294408, -0.0264496952, -0.0174614433, -0.0153536834, -0.016150197, -0.0066290158, -0.0179960169, -0.053537637, -0.0251717977, -0.0556070879, 0.0360992029, -0.0116746677, -0.0646263435, 0.0143572222, 0.0168972574, 0.0628330037, 0.0000023743, -0.0378155857, 0.0021500839, 0.0450183675, -0.0594682544, -0.0157812871, -0.0066222516, 0.0016756641, -0.0099816918, -0.0085469214, -0.0535349622, 0.0310691278, 0.0148816211, 0.0075234445, 0.0735062361, 0.0506886654, 0.0115800453, -0.0717014447, 0.0325180702, 0.0109955724, 0.0430559218, -0.0828014687, 0.013904307, 0.0306447465, 0.0613003522, 0.0120797791, -0.0336148664, 0.0045393715, 0.0799227208, -0.016330732, -0.0052983644, 0.0144090215, -0.0172087848, 0.0006521097, 0.004640745, 0.0344547257, 0.0489054956, -0.0242613945, -0.0059329104, 0.0070245322, 0.0142899891, 0.043190673, -0.0419851504, 0.0605101027, -0.004875361, 0.0085235983, 0.0346918292, -0.020636335, 0.0198424831, 0.0288943537, -0.0733958632, 0.1294033825, 0.0154228918, -0.0145454928, -0.0425048843, -0.0056978567, -0.061325442, -0.0690642446, -0.0097318357, 0.0737338513, -0.0281341337, 0.0146350227, -0.0344186127, -0.0401426591, -0.0123409685, -0.0432053208, -0.005878075, 0.0733709335, 0.0679453462, 0.0303082131, -0.0072248122, 0.0612901635, -0.0307384282, 0.0137568051, -0.0355116613, 0.0159634817, -0.0319780074, -0.0248555522, -0.0257625915, 0.0697273016, 0.003809019, -0.0020757439, -0.0186731536, 0.0250370931, -0.0578260422, 0.0171196684, -0.0288148224, -0.0374343246, 0.0054836129, -0.0245932061, -0.0648330674, 0.0345523693, -0.0787260905, -0.0019340568, 0.0158422105, -0.0357487276, -0.0077427141, 0.01443398, -0.0234266538, -0.0271862727, 0.013104992, 0.0715597048, 0.0021121064, 0.0092502125, 0.0187615585, -0.0521459058, 0.0374034308, -0.1070804298, -0.0141766462, -0.0888596177, 0.0426339097, 0.015408555, -0.0428590663, -0.0563258044, 0.0005041892, 0.0213851109, 0.0151723819, 0.0637505874, 0.0332928039, -0.0035369089, 0.0069493018, -0.0176756363, -0.0455516167, 0.0285757072, 0.0284809694, -0.0054637743, -0.0153821763, 0.0133091593, 0.018372247, 0.0275948774, -0.003604061, -0.0164179932, 0.002946408, 0.0078972755, -0.0165788513, 0.0278074387, -0.0285753142, 0.0388683528, -0.0503090471, -0.0006035811, 0.0016847552, 0.0655008629, -0.0009642889, 0.0065551321, 0.0604023114, 0.0015063384, 0.0297690127, 0.0013104436, -0.070439063, 0.0479689799, -0.0448600873, 0.0013058207, -0.0371484384, 0.0169552341, -0.0381116569, -0.044665195, 0.0205358379, 0.0222429335, 0.0148891807, -0.0019241772, 0.0700022951, -0.0223175455, 0.0261638369, 0.0633153021, -0.0174358189, -0.036663942, 0.0011384698, -0.0663115382, 0.0409978032, 0.0157750212, 0.0572341606, -0.0436625071, -0.0338092521, -0.0107522681, -0.0011884876, 0.0528533049, 0.0065621026, 0.0001310723, -0.0625481382, -0.0297327191, -0.0196847096, -0.0259765293, 0.021042183, 0.0021668961, -0.0028803705, -0.0019919381, 0.0178486705, -0.0077287317, 0.0493034534, 0.0147854118, -0.0545557551, -0.039012596, -0.028464105, 0.0047804206, 0.027074473, 0.014392796, 0.0099344021, 0.0576802678, 0.0245309975, -0.0034297146, -0.0186484251, 0.0216405056, -0.0005948935, 0.000161849, 0.0621222593, -0.0261039156, 0.0190536678, -0.0332363956, -0.0371131003, -0.0246775728, 0.0755972192, -0.0072441259, -0.0018604279, 0.0029174669, 0.0209923424, -0.0159903765, -0.0576669388, 0.0032594451, 0.0742270947, 0.0258292407, -0.0351578891, 0.013674737, 0.0333233178, -0.0003482922, -0.0380280986, 0.0250620246, 0.0014788512, -0.0025856181, 0.0340526924, -0.0088443868, 0.0090410691, 0.0043496168, -0.0208444055, 0.0203518029, 0.0084148413, -0.0001834366, 0.0269101467, 0.0084550781, -0.0253448747, 0.0191085655, 0.0403303877, -0.0256269295, 0.0363845713, 0.0211035255, 0.0006728017, 0.0076495744, -0.0034221604, -0.0324694067, 0.0163165275, -0.0168743916, -0.0560102426, 0.01800525, 0.0227113105, 0.0450181775, -0.0162264518, 0.0260750987, -0.0443767831, -0.005616392, -0.0032404962, 0.0210943073, 0.051871337, -0.0429536141, -0.0312117375, 0.0584322177, -0.0447351709, 0.0714130253, -0.0045146085, -0.0242534075, -0.0432868376, 0.0170397758, -0.0195606723, 0.0179248769, -0.027607007, 0.0157354549, -0.0350024886, 0.0741377398, -0.0382166356, 0.0124970619, -0.0401206575, 0.0540623181, -0.0183468796, -0.0076966342, 0.0071479604, -0.0204548258, -0.0032952521, 0.0370947942, 0.0001069357, 0.0165988635, 0.0523552746, 0.0076178522, -0.0038330471, -0.041793853, 0.0207601264, -0.0621676594, 0.0491360463, 0.0127318678, -0.0143943606, -0.0288933683, 0.0349851847, -0.0346033275, -0.0462364443, 0.0465882421, -0.0024907163, 0.0432884581, -0.0362510309, 0.0240224469, -0.0024067608, -0.0273512248, -0.03006058, 0.0316812322, -0.0351508297, 0.0524714887, -0.0519082174, -0.0305457748, -0.0331149176, 0.0042099999, 0.0446129069, -0.0246849637, -0.0193479545, -0.0143347103, -0.0397885032, -0.0120628132, 0.0043282011, 0.0273250546, 0.0487749502, -0.0527280867, 0.0588427782, 0.0370904207, 0.0420843884, -0.037312299, 0.0001742686, -0.0115829511, -0.0034709247, -0.0182125662, -0.010983183, 0.0232584924, 0.011074882, -0.0687023401, 0.0071938643, 0.0807918608, 0.0180436112, 0.0174795557, 0.0114969499, -0.082765542, 0.0031921035, 0.0067099477, 0.0350009389, -0.0754943043, -0.0173438545, 0.0132949315, -0.045434989, -0.0122323837, -0.0537744053, 0.0118694929, -0.0933019668, 0.0622702353, 0.0314191133, 0.0015599472, 0.0198475439, 0.0046098814, 0.0057596476, 0.0015022689, -0.0224992596, 0.0457140729, 0.0251053236, 0.0195272658, -0.0089671826, 0.028683722, 0.0031868732, 0.0041815457, -0.0091683539, -0.0103096114, 0.0242464729, 0.0319855101, -0.0255832635, -0.0796790421, -0.0011862278, 0.0398846529, -0.0267477874, -0.0138950255, -0.0409366563, -0.0087750452, -0.0038796137, -0.0462209471, 0.0513827205, -0.0338856988, -0.048490271, 0.0203748774, 0.1179895997, -0.0222092737, -0.0127772167, -0.0271232687, -0.0015611353, -0.0581487231, 0.0556854717, -0.001555403, 0.0056341179, -0.0476788096, -0.0515358672, -0.0574252494, -0.0300421249, -0.0425543487, -0.0087156221, 0.0464642383, -0.0248109065, 0.0018709216, -0.0330037922, 0.0537286215, 0.044552438, -0.007107385, -0.0012196157, 0.0437995307, -0.0168512873, -0.0027861702, -0.0115080941, -0.0518001914, 0.06144448, -0.0099214269, 0.0271607805, -0.0049893581, -0.044125285, -0.0180262011, -0.0091063613, -0.0291340128, -0.034321554, -0.0171793867, 0.0620021336, 0.030237902, -0.0245446302, -0.0079802647, 0.0193187613, 0.0248405952, 0.0332489312, -0.0545704514, 0.0387876518, 0.0054064589, -0.0018205985, 0.0109483572, 0.0294090416, 0.0046746936, 0.0240565706, 0.0084102657, 0.0739414915, -0.0673124045, -0.0297347736, 0.0422647633, 0.0617794134, -0.0650753602, 0.0110593522, -0.0000596357, 0.0133347409, 0.0013949859, -0.0861115456, -0.011779326, -0.0496589057, -0.0187271684, -0.0039689969, 0.0067693247, 0.045419924, -0.0283479746, 0.0384375788, 0.0398689993, 0.0803823173, 0.0662732869, -0.0276234467, 0.0216854997, 0.022616474, 0.0037700166, 0.041586902, -0.0215387624, -0.0351198651, 0.0575754978, -0.0247521047, 0.0896943659, 0.0244963262, 0.0085347397, -0.0486836024, -0.0168116465, -0.0598968603, -0.1126523912, 0.0366889015, 0.0289483946, 0.0109057408, 0.0363974124, -0.0085624037, -0.0538699664, -0.0081402063, -0.0029317399, 0.0131331459, 0.0631292537, -0.0330202878, 0.0301275048, 0.0511390604, 0.0318832137, -0.0788130835, 0.0196856204, -0.0468369424, 0.0317455083, 0.0007593639, 0.021240266, -0.0266677681, -0.0520724729, -0.0315202586, -0.0152390487, 0.003162619, -0.0045299251, -0.1279022247, -0.0401879586, -0.0240075663, 0.0118943173, -0.0433689058, -0.013936922, 0.0347816125, 0.0407202542, -0.0172392875, -0.0226633605, -0.0262481067, 0.0500428975, -0.0439198427, -0.0251287688, -0.0122498199, -5.659067842e-33, -0.0648157597, -0.0294623449, 0.0778405443, 0.0320120119, -0.0260529108, -0.0462853797, -0.0350554474, 0.0137732206, -0.0103986114, 0.0266809668, -0.0042759352, -0.0015721443, -0.0017369181, -0.0018507284, 0.0077767707, -0.0158110335, 0.0154944407, -0.023400221, -0.0197755899, -0.0250049531, 0.0019021973, -0.0405450612, -0.0029193691, -0.0145402402, -0.0065006833, -0.0161718987, 0.0016438845, 0.0481452905, -0.0564647838, 0.0532637276, -0.0162914749, 0.0024834215, 0.0033531666, -0.0210629348, -0.011596431, 0.0141041279, -0.0309039149, -0.0241843592, 0.0020228946, 0.0000492941, -0.0291605238, -0.0662855357, 0.0330032967, 0.0044458332, -0.042101603, -0.0380019359, -0.0005276168, -0.0158290267, 0.0172281452, 0.0355605222, -0.088259764, 0.0275380239, -0.0084205372, -0.0139866555, 0.0122408262, -0.0000366667, -0.0409125201, -0.0155233853, -0.0366845913, 0.0015841785, 0.0097158644, -0.0477419272, 0.0461655967, 0.0200814288, 0.0340721011, 0.0324569121, 0.0453430302, -0.0002573636, -0.0588417575, 0.0256069545, 0.0156511385, 0.0671924353, 0.0496658161, 0.0484263748, 0.0236760471, 0.0351294056, -0.030055305, 0.0160536114, 0.0271745604, 0.0745238513, 0.0089317383, 0.0053627314, -0.0332596377, -0.0084464327, -0.0027644478, 0.0282513723, -0.0395698808, -0.0377935953, -0.0120692132, -0.0237780083, -0.0154224765, -0.0184665043, 0.0472079851, -0.059207052, -0.006600088, 0.0150859263, 0.0086904373, 0.0318237208, 0.0002918693, 0.0424829796, -0.0333511494, 0.0000046429, -0.0266558807, -0.0065017403, 0.0162112582, 0.0430092923, -0.0304513965, 0.0269786753, 0.0123307351, -0.0066022915, -0.0471416973, -0.0323560089, 0.0493629277, 0.0197152998, 0.0113372328, 0.0461347327, 0.0196636431, -0.0017710197, -0.0199047849, -0.0623663291, 0.0049028215, 0.0607465319, 0.0104898456, 0.011875025, -0.0063656392, -0.0226702299, -0.0550029688, 0.0397779197, 0.0486331955, -0.0766998306, 0.0011513542, -0.0106142815, 3.034e-7, 0.0359951779, 0.0081379013, 0.0077583636, 0.0407657959, 0.0341854841, 0.0636065155, -0.0224581268, -0.0297962278, 0.0090696514, -0.0011763504, 0.0186421163, 0.0705475882, 0.0043397825, 0.0354093164, -0.0177625716, 0.0404716693, 0.0087146359, -0.0537546426, -0.0242875814, 0.0214342754, 0.0736041591, 0.0251781084, 0.0605850555, -0.0114427935, -0.0130253965, -0.0474001132, 0.0431055725, 0.0369724818, 0.004093606, 0.0238136109, -0.0712287799, -0.0167180337, 0.0155083667, 0.0295298602, 0.0261173174, 0.0126901679, -0.0213348959, 0.0797800347, -0.0022537278, 0.019895073, -0.020618448, -0.0702415556, -0.0039857049, -0.0137476679, 0.0557595082, -0.0498804487, -0.0599409416, 0.0337738357, -0.0603346638, -0.0108041437, -0.0539196134, 0.0032354312, 0.0162150525, -0.0104476055, 0.005737971, -0.0125726806, 0.019336408, -0.011029752, 0.0101178912, -0.0164081566, -0.0626749098, -0.0527878068, -0.0331050977, 0.0040691947, 0.0357012302, -0.0227600131, -0.0341189168, 3.046873092e-34, 0.042043522, 0.003406679, 0.0345841944, 0.0589010902, 0.0385792628, 0.0126996916, -0.0594096519, 0.0384918004, 0.0709430352, -0.073231034, -0.0172644295 ]
http://arxiv.org/abs/2312.08906v4
http://arxiv.org/pdf/2312.08906v4
Using eye tracking to investigate what native Chinese speakers notice about linguistic landscape images
2023-12-14T13:11:35
2024-07-02T10:32:47
Zichao Wei, Yewei Qin
cs.CL
cs.CL, q-bio.QM, J.4
Linguistic landscape is an important field in sociolinguistic research. Eye tracking technology is a common technology in psychological research. There are few cases of using eye movement to study linguistic landscape. This paper uses eye tracking technology to study the actual fixation of the linguistic landscape and finds that in the two dimensions of fixation time and fixation times, the fixation of native Chinese speakers to the linguistic landscape is higher than that of the general landscape. This paper argues that this phenomenon is due to the higher information density of linguistic landscapes. At the same time, the article also discusses other possible reasons for this phenomenon.
[ 0.019161921, 0.0151736885, -0.054495547, -0.0041503971, 0.0344673954, -0.0118533298, -0.0146149425, -0.0166808069, -0.0240569394, -0.0280592777, -0.0157830864, -0.0169432163, 0.0707509965, -0.0259018186, 0.0266187117, -0.0935175717, -0.0240594335, 0.0255875401, -0.0034305002, 0.035387367, 0.0556809828, 0.0035758524, 0.0411936231, 0.0020817372, -0.0357865952, -0.0219941996, -0.0266032591, 0.0030980255, 0.0689157099, -0.0178430527, -0.0096490784, 0.0287457015, -0.022981178, -0.0154777654, 0.0000018232, -0.0005796342, 0.0172928274, -0.0406805016, 0.023366075, 0.037185777, 0.0252022427, 0.0287771281, -0.0241614524, -0.0382097475, -0.0199314058, -0.0334841497, 0.0675195679, 0.0284947548, -0.0207210947, -0.0316113606, -0.0009910975, -0.0122126117, -0.0069274055, 0.007694196, -0.0131117646, 0.0321065001, 0.0246868953, 0.0131842857, -0.0696763843, 0.0076649226, -0.090402931, 0.010836469, -0.032603696, 0.0478560291, -0.0041903104, 0.0464163311, -0.0450041629, -0.025755465, -0.0051364168, 0.0605036952, 0.0240001008, -0.0326119624, -0.0328882746, 0.0072974921, -0.0004621138, 0.0543001406, -0.0166547485, 0.0384791568, -0.0354812294, 0.0330613852, -0.0030146996, -0.011146077, -0.0252871066, -0.0152867641, -0.0334280655, 0.0181364156, -0.0041293954, -0.0241211876, 0.0024118002, -0.0319355763, 0.067460373, -0.0354015939, -0.0256476123, 0.0154245691, 0.0309695005, 0.018698981, 0.039473258, -0.0190937165, -0.0296240896, -0.0154089993, -0.0077582756, -0.0150692351, -0.0578910001, 0.0025971308, 0.0134006171, 0.0609304011, -0.0067469915, -0.0396727137, -0.0239528473, -0.0035361571, 0.0003727865, -0.022725163, -0.0358593017, -0.0435045175, 0.031649556, -0.0453706607, -0.034756653, -0.0009355849, 0.0257212371, -0.0064013097, -0.0998309776, 0.0189252608, -0.0032757022, -0.0017863249, 0.0092303948, 0.0828220844, -0.0680342764, 0.0192269385, -0.0484517217, -0.0646842867, 0.0567918606, 0.0680219829, 0.0135098156, 0.0336135551, -0.0335205421, -0.0568505675, 0.016467195, -0.0264540501, -0.039888747, 0.0305633415, -0.0332757086, -0.0356953889, 0.0064702258, -0.0182956383, -0.0478596129, 0.021847818, 0.0193506256, -0.0109790331, 0.0032869296, 0.0198161267, 0.0148268761, 0.0041739917, -0.0191337653, 0.0167477299, -0.0120261433, -0.0079441369, 0.0487135313, 0.0489512905, 0.0212119389, 0.0114454823, 0.0254423339, -0.0751675963, 0.005556846, 0.0053368676, -0.0350388438, 0.0196564496, -0.0547406077, -0.0261293668, 0.0371115282, -0.0245135035, 0.0429803245, 0.0318816975, 0.0004033797, 0.0456262715, 0.0570904389, 0.1027440652, -0.0057054162, -0.0025284302, -0.0564657487, 0.0337710343, -0.0486440696, 0.0385885537, -0.0036752529, 0.0245756749, -0.0152355721, 0.0059298612, -0.0198310018, -0.0088012526, -0.0230235998, -0.0204784833, -0.0533143952, 0.0472368971, 0.0380786285, 0.0098873312, 0.016141545, -0.014146301, 0.0065099001, 0.0329236686, 0.0083005298, -0.033944428, -0.0387734957, 0.0049964283, 0.0066717765, 0.0343118645, -0.0784616992, 0.0206984486, 0.0429083593, -0.0073068747, 0.0244329795, 0.0664430484, 0.0064270543, 0.0454151072, -0.0378357247, -0.0277585462, 0.0093311602, -0.0070227138, -0.0051280423, 0.0177532081, -0.036866229, 0.1018703058, 0.0119580189, -0.0060889893, -0.0365892574, -0.0101415897, 0.0379334427, 0.0141883157, -0.0523364954, 0.0094569381, -0.0195062961, 0.0175445266, -0.0559927486, 0.0159999039, -0.0136593916, 0.025680501, 0.0868562609, 0.0884387568, 0.0117579903, 0.0902575552, 0.0478348657, -0.1170904636, -0.0136465887, -0.0425258987, 0.0383442156, -0.0410611629, 0.0276901945, -0.0676080808, 0.0508419797, 0.002884578, 0.044841256, -0.0457864478, 0.069099389, -0.0059897443, 0.0507792197, -0.0366359018, 0.0166535359, -0.0125663755, 0.0144258719, 0.0449252576, -0.03030435, 0.0057753315, -0.016707832, 0.0204338972, 0.0113331452, 0.0153619675, -0.0104252193, -0.0578189045, 0.0056942101, -0.069801569, -0.0400209054, -0.0517146476, -0.0162387323, 0.0334367529, -0.0336733088, -0.0233825278, -0.0041130972, -0.0414434187, 0.0632910579, -0.0777123198, 0.0084225209, -0.0039625829, -0.0358895995, -0.0321903974, -0.0201845132, 0.0224754419, 0.0177633222, 0.0270279571, 0.0223375, -0.0874499083, -0.0541319959, 0.0064890706, -0.0019194327, -0.0087375576, -0.0058509302, -0.0380746946, 0.0493192337, 0.000701164, 0.0234708786, 0.0623252094, 0.0134157445, 0.0483930893, 0.0248570647, -0.0450117476, -0.032811448, -0.0320954397, 0.0567871816, 0.0328435674, -0.017345557, -0.0819438472, 0.003228842, -0.0119030727, 0.0372988768, 0.0145704178, -0.0491265804, 0.018134322, -0.0236491915, -0.0347774588, 0.0163125377, 0.0488638431, -0.0696038157, 0.071780026, 0.0016747472, -0.0419532023, -0.0022185321, 0.0176090505, -0.0503251925, -0.0026724653, 0.0295946561, 0.0275976881, 0.0407014936, 0.0072258017, -0.0008078673, 0.0529123917, -0.0682090372, 0.0014577811, -0.03175411, -0.0228452813, 0.0007989096, 0.0682294518, -0.0041065095, -0.0294756945, 0.0084358323, 0.0449442603, -0.0334759578, 0.0217792131, -0.0528673939, -0.0170088429, 0.0217198282, -0.00636836, 0.0525173619, 0.0361208729, 0.0624262802, -0.0272182152, 0.0065101706, 0.0270239487, 0.0161551759, -0.0360340551, 0.0861634985, 0.0787847787, -0.0096155535, -0.0103750816, 0.0097645065, 0.0756869465, 0.0462308414, 0.0426007397, 0.007560953, -0.0096224602, 0.0250963066, 0.003780155, -0.0702057332, 0.015443569, 0.0413476974, -0.0098391762, 0.0344833508, 0.0401439257, 0.0359047912, 0.0018149494, 0.0029958505, -0.0362243503, -0.0096447421, 0.0345953442, -0.0448408201, -0.0125412084, 0.0484899916, 0.0012437499, -0.0291942172, 0.0180023834, 0.0076547926, -0.0117994538, -0.0660640523, 0.0147268111, 0.0261990726, -0.0927777663, -0.0395730436, 0.0073088002, 0.036298912, 0.0653768331, 0.0033841389, 0.0041451789, -0.0033984706, -0.0109271575, -0.0094817271, -0.0315191783, 0.0441948883, -0.0315670185, -0.0389971845, 0.0090216221, 0.0075510046, 0.0286288075, -0.0359237567, -0.0640225336, -0.0263881348, 0.0010261708, 0.0269526243, -0.0048718569, 0.0168307964, 0.0066356412, -0.0211986545, -0.024072241, 0.0070464164, -0.0283995997, 0.0211564992, 0.0167190395, 0.009699055, -0.0025825442, 0.0151179759, 0.0389585644, 0.0294263978, -0.0323149674, -0.0130314128, 0.0500426218, -0.0639012083, 0.0288922638, -0.0416675135, 0.01191168, 0.0212243292, -0.0496645309, 0.0704746097, -0.0032098705, -0.0416302532, -0.0880567431, -0.0862743855, 0.0012055176, 0.0319336578, 0.0467473753, 0.0010827077, 0.0379714482, -0.0170150921, 0.0002688985, 0.056219466, 0.0343326367, 0.0039930325, 0.0125146518, -0.0533506498, 0.0117213251, -0.0325954929, 0.047841873, 0.0126134539, 0.0130133955, -0.0498035103, 0.0245811939, 0.0021830229, 0.0092169354, -0.0044371169, 0.040808212, 0.0193464421, -0.0379858762, -0.0629257336, 0.0500047356, 0.0274276901, -0.0171043929, 0.0001781767, 0.0260230452, -0.0007573352, 0.0206071679, -0.0339515619, 0.0372616537, -0.0426478982, -0.0708761811, -0.0441561118, 0.0219910331, 0.002382522, 0.0579109751, -0.0263916757, 0.022619715, -0.0324123986, -0.0231947377, -0.0062307748, -0.0362322181, 0.0142960753, -0.0580459237, 0.0190660097, 0.0047242274, -0.0120450528, -0.0072181178, -0.0467554815, -0.0605436899, -0.0088305566, 0.0301397126, -0.0196474027, -0.0124094365, 0.0042351792, 0.0284710322, -0.0210855603, 0.060123492, -0.0141927423, 0.0314350463, 0.0468190275, 0.0596772358, 0.0283526648, -0.0489322282, 0.0238261186, -0.023358969, 0.0548877306, -0.041320581, 0.0678769425, -0.0105764624, 0.0928542241, -0.0541846268, 0.0416982621, 0.0242114235, 0.0172059778, -0.023151638, -0.0026076238, 0.021541154, -0.0749381185, 0.029868288, -0.0022574808, -0.0212438982, -0.0182213448, -0.0123786237, 0.0048933928, -0.0271467883, 0.0252043027, -0.0455498844, -0.0262814816, 0.0576332621, 0.0220113546, -0.0166040603, -0.0246326588, 0.0668620318, -0.0708470196, -0.0730646104, 0.0175771751, -0.0294058342, 0.0154449139, 0.0077277184, 0.0660147369, 0.0077290093, -0.0134693533, -0.0100015188, -0.059011288, 0.0310869534, -0.0180683341, 0.0428524874, 0.0075540482, -6.230901028e-33, -0.0029497824, -0.0545074493, -0.0108189452, 0.0026721302, -0.0240857713, -0.0039873081, -0.0172304269, 0.0451337807, -0.0357988775, -0.0030331956, 0.0018412847, 0.0290752184, -0.0179234929, 0.004083558, 0.0115998518, 0.0295964982, -0.0269604959, 0.0055509354, -0.0159854367, -0.0634858608, 0.0641299933, -0.0496059842, 0.079059355, -0.0614571385, -0.0023678276, 0.0267703943, 0.011655068, -0.0504670143, -0.0043373434, 0.0309568886, 0.0153088439, 0.0552370846, 0.0270773489, -0.0325121731, -0.0047829011, 0.0576713607, -0.0047715879, -0.0609251857, 0.0025509647, 0.1059528664, -0.0056785303, -0.0205395222, 0.0117273806, -0.0439878404, 0.0059747109, 0.0375355892, 0.041622065, -0.0382955149, -0.0237716679, 0.072082229, -0.0230265837, -0.0017958832, -0.0059177158, 0.0316530466, -0.0083817998, 0.0155705027, -0.0122804912, -0.037044473, -0.069327876, 0.0506000891, 0.0408537351, 0.0107511841, 0.0515645631, 0.0653228909, 0.0646524951, 0.0138321612, 0.0627763644, 0.017227754, -0.0049657524, -0.0597194806, 0.0583406761, -0.0313410349, -0.0165070314, -0.0282779038, -0.0354076698, -0.0152383577, 0.0161310025, -0.0466019884, 0.00972935, 0.0725340396, -0.0019095069, 0.0418688841, -0.0544871762, -0.0115279155, 0.0175771844, 0.021624893, -0.0164666288, 0.011458463, 0.0072047254, -0.0312615708, 0.0038729506, -0.0025573804, 0.0489378534, -0.0414497219, 0.0075252261, 0.016046023, -0.0175611377, 0.0224541128, 0.0053634071, -0.0023138768, -0.033720389, 0.0175201353, -0.0335015953, 0.0204472374, 0.0042486931, 0.0222754329, -0.0258273035, -0.0551702827, -0.0513971224, -0.025058832, 0.0346706547, -0.0797013566, -0.0024220911, -0.0211030114, 0.0446403213, -0.0157726817, -0.0287182909, -0.0220877472, 0.0660797656, -0.0247646626, -0.0410798676, -0.042803783, -0.0308628567, -0.0021776487, -0.0412927754, 0.0126737375, -0.0332721248, 0.0039100768, 0.0261727106, -0.0197011326, -0.051304698, 0.0024954085, 2.751e-7, 0.0355017483, 0.0476486199, 0.0006565762, 0.0287682284, 0.0676521212, -0.0065997611, 0.0055314642, 0.0277442634, 0.0138256866, -0.0388973802, -0.0005161882, -0.0086648036, 0.0382718705, -0.0188938268, -0.0771016926, 0.0459206961, 0.0318847299, 0.0092501678, -0.0120382393, 0.0739621595, -0.0097829821, 0.0005093978, -0.0604306348, 0.0373249501, -0.024123596, -0.0335378163, 0.0192896426, -0.0174147729, 0.0381344147, 0.0161050204, 0.034380652, 0.0223708786, -0.0687717497, 0.0183928441, 0.0145305227, 0.0077368468, 0.0364499316, -0.0460357629, -0.0454357751, 0.0150788836, 0.0067847967, -0.0071438611, -0.0159286167, -0.0544383861, 0.0616164729, 0.0112424996, -0.0202375948, 0.0445051342, 0.0170450769, 0.0143093597, 0.0439678542, -0.0006604432, -0.0381308608, -0.0246618111, 0.0082901139, -0.0506767221, -0.0423342548, -0.006945841, -0.0355565287, 0.0214350857, 0.0047805896, -0.0375286639, 0.0127428174, -0.0469313823, 0.0008715843, 0.0053498666, -0.0326923393, 1.331330808e-34, -0.0094507672, -0.0216566734, 0.0247485917, -0.0078117079, 0.0005800835, -0.0218958333, -0.0054086223, 0.0035572012, 0.0760247111, -0.0385108031, -0.0063576587 ]
http://arxiv.org/abs/2312.08901v3
http://arxiv.org/pdf/2312.08901v3
Fewer is More: Boosting LLM Reasoning with Reinforced Context Pruning
2023-12-14T13:03:13
2024-02-15T05:42:15
Xijie Huang, Li Lyna Zhang, Kwang-Ting Cheng, Fan Yang, Mao Yang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown impressive capabilities, yet they still struggle with math reasoning. In this work, we propose CoT-Influx, a novel approach that pushes the boundary of few-shot Chain-of-Thoughts (CoT) learning to improve LLM mathematical reasoning. Motivated by the observation that adding more concise CoT examples in the prompt can improve LLM reasoning performance, CoT-Influx employs a coarse-to-fine pruner to maximize the input of effective and concise CoT examples. The pruner first selects as many crucial CoT examples as possible and then prunes unimportant tokens to fit the context window. A math reasoning dataset with diverse difficulty levels and reasoning steps is used to train the pruner, along with a math-specialized reinforcement learning approach. As a result, by enabling more CoT examples with double the context window size in tokens, CoT-Influx significantly outperforms various prompting baselines across various LLMs (LLaMA2-7B, 13B, 70B) and 5 math datasets, achieving up to 4.55% absolute improvements. Remarkably, without any fine-tuning, LLaMA2-70B with CoT-Influx surpasses GPT-3.5 and a wide range of larger LLMs (PaLM, Minerva 540B, etc.) on the GSM8K. CoT-Influx serves as a plug-and-play module for LLMs and is compatible with most existing reasoning prompting techniques, such as self-consistency and self-verification.
[ -0.0157512166, 0.0441754535, 0.0079686213, 0.0496030264, -0.0490703732, 0.0199423581, 0.0182733014, -0.000364387, -0.0392723158, -0.0088584609, -0.0427464843, -0.0156417321, -0.0144470101, 0.0017599254, 0.0299656447, -0.0261184461, 0.0420286879, -0.074584201, 0.0299964529, -0.024169296, -0.023132572, 0.0043937326, -0.0436661504, 0.0095591871, -0.0105268741, -0.0592001043, 0.0147087686, -0.0183597952, 0.0153459851, -0.064968504, -0.0077592968, 0.053779304, 0.0243183393, 0.039280232, 0.0000025051, -0.0652458668, 0.0109553356, -0.0149687976, -0.0762597769, 0.0101235043, -0.0318397954, 0.0011707833, 0.0144270416, 0.0307386238, -0.046731472, 0.0239036568, -0.0091204951, 0.0452940129, 0.0726210102, 0.0632882342, 0.0093535902, -0.0245648343, 0.0282907784, -0.0281033609, 0.0655655935, -0.0432227813, 0.0092344116, 0.0014730657, 0.0372221693, 0.0085051069, -0.0320189372, 0.0282591823, 0.0830094963, -0.0025422897, -0.0319592804, 0.0374371894, -0.038453009, 0.0032232106, 0.0017161649, 0.0629465804, 0.005223101, -0.0328563191, -0.0159439947, -0.0227404889, -0.00485858, -0.0381412506, -0.0814717934, 0.0115857078, 0.0016853743, 0.022021573, -0.0093634892, -0.0111425696, 0.0328423195, 0.0171949044, -0.0526445992, 0.0654471293, 0.0005582841, -0.0453554317, 0.0176342875, 0.0094760992, -0.0179611556, -0.0442865193, 0.0141412569, 0.0711640939, -0.0323624872, 0.018625807, -0.0135104526, -0.0157410242, 0.0023706402, 0.0162154324, 0.0034500421, 0.0879011378, -0.011980704, 0.0614555292, -0.0448112749, 0.0273458026, 0.0063191629, 0.038845256, -0.0160733201, 0.0223603826, -0.0165309347, -0.011624217, -0.0233000256, 0.054170724, 0.0028111881, 0.0021163973, -0.0515848249, 0.0212342441, -0.0186321083, 0.0312746055, 0.0112939319, -0.0106938863, 0.019220192, -0.0330030024, -0.0475259833, 0.0056703147, -0.0713561773, 0.0261264369, 0.034292981, -0.0688516647, -0.0495150723, 0.0075903609, -0.0166153777, -0.037210837, 0.0331872962, 0.0766699612, -0.0086478684, -0.0481382459, -0.0414876416, -0.0135891167, 0.0222644284, -0.0849637985, -0.0104681281, -0.0969057828, 0.0305604879, -0.001531217, -0.0270537995, -0.0053488067, 0.0139717944, 0.0352694318, 0.0288526937, 0.0703350678, 0.0019812505, -0.0093687326, 0.033140704, 0.0151404701, -0.044953268, 0.0711352676, 0.0400437973, -0.0073121586, 0.003439087, 0.0017628378, -0.0038909081, 0.026919391, 0.0447251722, -0.010372242, -0.013718673, 0.0184225012, -0.0302188117, 0.0574149527, 0.0308245998, 0.040705435, -0.0578718558, 0.0048314887, 0.0137904724, 0.0770322159, -0.0050232019, -0.0100949341, 0.0415693894, -0.0126280915, 0.031955272, -0.0080877719, -0.1038818359, 0.0445747972, -0.0110789444, 0.0017351987, 0.039124269, 0.0134950476, -0.0348618552, -0.058966402, 0.0091190329, 0.0187652316, -0.0298843291, 0.0471741855, 0.0558842681, -0.0008379381, -0.011011743, 0.0557226092, 0.0131016867, -0.0196135007, -0.02314426, -0.0471701026, 0.0701667368, 0.0154498145, 0.04825693, -0.041779846, -0.0527962148, -0.0144413868, 0.0171077158, 0.0204397608, 0.0313827433, 0.013286083, -0.0121912416, -0.0502140485, 0.0018056991, -0.0334140025, 0.0149557581, -0.0273320097, 0.0339394435, 0.0423631929, 0.0074428916, -0.0087249344, 0.0428152941, 0.0357582159, -0.020852251, -0.0603596866, 0.0009295166, 0.0059898817, -0.0120721431, -0.0040757046, 0.0283376463, 0.0229327958, 0.0162059497, -0.0370115042, 0.0217813589, -0.0328695141, -0.1057844087, -0.081229113, 0.0588043705, 0.0155512569, -0.0438391753, -0.0252424814, -0.0720710307, -0.0352386981, 0.0192489624, -0.0034638296, 0.0383179933, -0.0145860817, 0.0225043427, 0.0227240827, 0.0185464863, 0.0009318533, 0.0712836012, -0.0134861032, 0.0273658633, 0.035675317, 0.0252235848, 0.0101239933, -0.0350396037, 0.0376146659, -0.0338403173, -0.0291443653, 0.0007505025, -0.0385936461, 0.0392539129, -0.0608867481, -0.0068559563, -0.0206025746, 0.0130720316, -0.0029678978, 0.0543305911, -0.0082819378, -0.008545436, -0.0144446231, -0.02103501, -0.0202979036, -0.0043871356, 0.0100992396, 0.0074512037, 0.0289284922, -0.0124089681, 0.0076673827, -0.0168485846, -0.0150600281, -0.0307054408, 0.0372704118, -0.004820596, 0.0289405119, -0.0167499017, 0.0310790148, -0.0473267473, -0.0206939522, -0.0080170939, 0.0296293907, 0.0405330509, -0.0116379354, 0.0301282406, 0.0919334367, -0.0166536346, 0.0139990561, 0.0379932709, -0.0103459628, -0.0693341568, 0.0341383703, 0.0164508894, 0.0010449963, 0.0100175515, 0.0136671672, -0.0028265044, 0.0624201149, -0.0405663624, 0.0069777067, -0.0291152652, 0.0339641832, 0.0044913865, -0.023806097, -0.038316492, 0.0207359865, -0.0373011976, 0.0414757356, -0.028714668, -0.0359136462, 0.073891446, -0.0186253246, -0.011245545, -0.0350884497, 0.0108226966, -0.0627424717, 0.0241466258, -0.0184871927, -0.0437723584, -0.007097811, 0.0016823638, -0.0561625995, -0.0139312707, 0.0036949404, -0.0203417428, 0.0750526339, -0.0398163013, 0.0036354938, -0.026998274, -0.0619037114, -0.0534644946, 0.0326054282, -0.0476806685, 0.0301810466, -0.0427947231, -0.018963214, 0.0095745493, -0.0403473638, 0.0334067941, 0.0448151603, -0.0189312976, -0.0263131913, -0.0134693449, 0.0162483547, 0.0308250338, 0.0343201384, 0.066666171, -0.053832598, 0.04497483, 0.0306833833, 0.0430212915, -0.0197466575, -0.0146146994, 0.0082479604, 0.0063285111, -0.0250499379, -0.0149528785, 0.0246884152, 0.0692884251, -0.0988509655, -0.0101090195, 0.1067956388, 0.0283999462, -0.0470825024, 0.0009931492, -0.0754315332, 0.044282686, 0.023493709, 0.0396228656, -0.0870829225, -0.0516554825, 0.0367771573, -0.0010529613, 0.0273526981, -0.0266640168, -0.018094467, -0.1266765893, 0.02204022, -0.004718923, -0.0377379954, 0.0402598009, -0.0298593566, 0.0109678488, 0.016067218, 0.0156483427, 0.0334871188, -0.0068871626, 0.0310410373, 0.0275534596, -0.0046817004, -0.0310655758, 0.0410248674, -0.0162979737, 0.0007379733, -0.0104052117, -0.0019357866, -0.0107416352, -0.0756558031, 0.0620621331, -0.0026069286, -0.0273507126, -0.028701514, -0.0097781615, -0.0031867635, -0.0089314571, -0.0169597063, 0.064837344, -0.0421594493, -0.0517995358, 0.0330058709, 0.1191106811, -0.023960812, -0.0126145845, -0.0262105595, -0.0099945981, -0.0555828139, 0.0638549328, 0.0373734459, -0.0117458291, -0.044739116, -0.0482427105, -0.0522226617, -0.0415632762, 0.0094903521, -0.0255631693, 0.0431604683, 0.0024758675, -0.0323511139, -0.0128144547, 0.0562778525, 0.0499924198, -0.0317881703, 0.003498035, -0.0250211339, 0.0026769557, -0.0233113766, 0.0255904533, -0.0425290167, 0.03796212, -0.0673721433, 0.0587568171, -0.0115034012, -0.0106302928, -0.0213522464, 0.0128583992, -0.0977757573, -0.0524975508, -0.0528804883, 0.059269812, 0.0182242151, 0.0387556814, -0.0117908716, -0.0181733202, 0.0470828339, 0.0668468177, -0.0577874035, 0.0343372412, 0.027807517, 0.0228987597, 0.0183085538, 0.0300892405, -0.0353511274, 0.0066454657, 0.0174353998, 0.0562962145, -0.0284194611, 0.0347417444, 0.0040789805, 0.0084322048, 0.0052000191, -0.0087060854, 0.0289877262, -0.0149538247, 0.0576276854, -0.0128091397, 0.0073950342, -0.0134826405, 0.0256632119, -0.0082679391, -0.0230013877, 0.0115547823, -0.0522456206, 0.0306361206, 0.035052821, 0.0147289932, 0.0532587022, 0.001107285, 0.0570881441, 0.0246828999, -0.0340301357, 0.0038422029, -0.015112211, -0.0186712183, 0.030304214, -0.0291791465, 0.0551453233, 0.0316102728, 0.0177600123, -0.019851001, -0.0016050965, -0.0336313248, -0.0862526223, 0.0052786493, 0.0306926556, 0.0344743207, 0.0285827648, -0.0417967215, -0.0255075209, -0.0075333025, 0.0078295702, 0.0103579992, 0.0155763905, -0.0128411418, 0.0559292994, 0.0486694947, 0.0197818074, -0.0393018574, 0.0312082358, -0.0528957956, 0.0353911594, 0.0272462294, 0.0409767739, -0.0297544859, -0.031804543, -0.0131807672, 0.0225711036, 0.0127528859, 0.0094001768, -0.0671212673, -0.0929193422, 0.0039552692, 0.0206393097, -0.0313722715, -0.0016986319, 0.043722257, 0.0530818179, -0.0107133426, -0.0230579693, 0.0380235501, 0.0221953187, -0.0160565805, -0.0487880409, -0.0237000473, -6.596586301e-33, -0.0053156936, -0.0200453177, 0.0714905187, 0.0165893156, -0.0126546128, -0.0121006649, -0.0696342513, -0.0058062482, -0.0232208818, 0.0080656288, -0.0386023931, 0.0315681323, 0.0040798406, 0.0230156854, -0.0068622492, -0.0170976613, 0.0169575792, -0.0063609025, -0.0445134602, 0.0115607539, 0.0008328473, 0.0260469634, 0.0591199175, -0.0321140699, -0.0062919217, 0.0125000412, 0.0006019839, 0.0354587026, -0.0531809367, 0.0546856821, -0.0296483096, 0.0350841917, 0.0148964943, -0.0233855695, -0.0051188529, 0.0217463374, -0.0778745115, -0.0714078322, 0.0204204042, -0.0012871743, -0.072743915, -0.0553752705, 0.0216338877, 0.0176218133, -0.0363866985, -0.008947745, 0.0087922076, -0.0261705406, -0.0291708913, 0.0167449545, -0.0156521443, 0.0273755863, -0.0134607265, -0.0214638058, 0.0085933637, 0.0233339742, -0.0271244477, 0.028196767, -0.0215648543, 0.0174611956, 0.0169865545, 0.027926404, 0.0665255487, -0.0016037045, 0.0141852582, 0.0377555378, 0.0038597998, -0.0620438531, -0.0310758911, -0.0213081148, 0.0362257287, 0.057061132, 0.0667848065, 0.022855429, 0.0633537173, 0.003874491, -0.0587374158, -0.0121984836, 0.0216277055, 0.062318597, 0.0106800525, -0.004558879, -0.0174310878, -0.0058885887, -0.0299868248, 0.02090827, -0.0520260595, -0.0246190242, 0.0396410748, 0.0075997626, -0.0082015079, -0.0063220314, 0.0166556779, -0.0178684108, -0.0360339656, 0.0241735671, -0.0016650087, -0.0010994747, 0.0114463428, 0.0176535565, -0.0734066665, 0.0083071832, 0.0033231955, -0.0031594578, 0.0314360447, 0.0154362479, 0.0468376167, 0.0123384371, -0.0527457371, -0.0128694968, -0.0566784516, 0.0125011448, 0.0284272227, 0.0125729432, 0.0206440613, 0.0191587768, 0.0009931796, 0.0504669584, -0.0209747795, -0.050233461, -0.0239900965, 0.0324256234, -0.0304631758, 0.0491930731, -0.0229188055, -0.0120975282, -0.0234823283, 0.030790424, 0.0217955839, -0.0828334019, -0.0059096883, 0.042945575, 3.097e-7, 0.0218422785, 0.0321178734, 0.0020311102, 0.0086699408, 0.0072990907, 0.0317103304, -0.0374316089, -0.0320897512, 0.0054630465, -0.0303253438, -0.0105697988, 0.0719513223, 0.0132871866, 0.0231567174, -0.072624594, 0.0458199158, -0.0696019605, -0.0169839598, -0.0557383485, -0.0137736872, 0.0447320193, 0.0913629234, 0.0261180662, -0.0326991118, 0.0121706082, -0.0255115908, 0.0382907353, -0.0131987389, 0.0229946878, -0.0057112235, -0.0133374278, -0.0044148117, 0.0218745209, -0.002952138, -0.0036852988, 0.0089818416, -0.0355437361, 0.0528174005, 0.0285487063, -0.0057006604, -0.0134222731, -0.0127769783, 0.0058504757, -0.0696665421, 0.076662533, -0.0409637615, -0.0115986224, -0.0183875877, -0.0047737537, -0.0467357375, 0.0318923965, 0.0069811158, -0.0031377301, -0.0106030628, 0.023637766, -0.0178740192, -0.0199254435, -0.0959174782, -0.0354771577, 0.012178747, -0.0243673865, -0.0206333417, -0.0800336823, 0.0147094419, 0.0132711846, -0.0376299247, -0.0158318803, 3.059203155e-34, 0.0330794938, -0.0445144139, 0.0321064033, 0.0586021282, 0.0106845712, 0.0159397721, -0.0201222468, 0.0256009996, 0.0549293235, -0.0590162985, -0.0025900963 ]
http://arxiv.org/abs/2312.08865v1
http://arxiv.org/pdf/2312.08865v1
Improving Cross-modal Alignment with Synthetic Pairs for Text-only Image Captioning
2023-12-14T12:39:29
2023-12-14T12:39:29
Zhiyue Liu, Jinyuan Liu, Fanrong Ma
cs.CV
cs.CV, cs.CL
Although image captioning models have made significant advancements in recent years, the majority of them heavily depend on high-quality datasets containing paired images and texts which are costly to acquire. Previous works leverage the CLIP's cross-modal association ability for image captioning, relying solely on textual information under unsupervised settings. However, not only does a modality gap exist between CLIP text and image features, but a discrepancy also arises between training and inference due to the unavailability of real-world images, which hinders the cross-modal alignment in text-only captioning. This paper proposes a novel method to address these issues by incorporating synthetic image-text pairs. A pre-trained text-to-image model is deployed to obtain images that correspond to textual data, and the pseudo features of generated images are optimized toward the real ones in the CLIP embedding space. Furthermore, textual information is gathered to represent image features, resulting in the image features with various semantics and the bridged modality gap. To unify training and inference, synthetic image features would serve as the training prefix for the language decoder, while real images are used for inference. Additionally, salient objects in images are detected as assistance to enhance the learning of modality alignment. Experimental results demonstrate that our method obtains the state-of-the-art performance on benchmark datasets.
[ 0.0069706682, 0.0554010905, 0.0368684903, 0.0451988094, -0.0031819956, -0.0144324945, 0.0156461895, -0.0105761606, -0.0086286431, -0.0571065098, -0.0508195646, 0.002180415, 0.0030594221, 0.0612349659, 0.0023179681, -0.050672859, 0.0249633584, -0.0071634534, -0.0352421664, 0.0054616793, 0.0428379811, 0.0456767268, -0.0240758397, 0.0154939573, -0.0424718335, -0.0105544617, 0.0056681652, 0.0115949279, 0.0249387473, -0.0017884834, -0.023290908, 0.0791775063, 0.0732187703, -0.0033566861, 0.0000016152, 0.0107881669, 0.0043380004, 0.0338572748, 0.0202556252, -0.0234264471, 0.0519398302, -0.0607629642, -0.001397045, 0.0024497933, -0.02621492, -0.0204455573, 0.0798510015, 0.0573563315, 0.0635227486, 0.0629166514, -0.0416759066, -0.0184480269, 0.0051718378, -0.0420306735, 0.015187961, -0.0081106471, -0.0280459803, 0.050012622, -0.0182188377, 0.0111751081, -0.03282867, 0.0600963198, -0.0051401686, -0.0182389487, -0.0104862098, 0.046520628, -0.0366670974, -0.0246912818, -0.0276756827, 0.1004298106, 0.0147158569, -0.0021591273, -0.0338231251, 0.0042144679, -0.0194867253, 0.00576649, -0.0117651206, 0.0129051683, 0.0000682406, 0.0466023609, -0.0220417622, 0.0389390327, 0.0054706279, -0.0077378973, 0.0106815221, -0.0473329537, 0.0368089639, 0.0347502604, -0.0594888665, 0.0221039224, -0.0379617698, -0.0428935587, 0.0181840584, -0.0050637387, 0.0120229311, -0.0045269788, -0.0809718072, -0.0221681576, -0.0206067804, -0.0103002908, 0.0147495214, 0.0220616441, -0.0643823221, 0.0885899737, -0.0224967394, 0.0201591458, -0.0122583723, 0.0412246883, -0.039032992, -0.0029921941, -0.0158501491, 0.0104524149, -0.0117472159, -0.0166825596, -0.0871444345, -0.0498490036, -0.0012764864, -0.012402284, -0.0021791575, 0.0090601174, 0.0291048493, 0.0309317801, -0.055560343, -0.0173016954, -0.0296383239, 0.0198903047, 0.0184728056, 0.0302510057, -0.0470979773, -0.0218371712, -0.0003156073, 0.0341535024, 0.0480364561, -0.0171093866, -0.0055373092, 0.0584818795, -0.0736601427, -0.0308249798, -0.0128623731, -0.0272112526, -0.0436611027, -0.0311997309, 0.0006837129, -0.0281793457, 0.0515412576, -0.003416654, -0.021064112, -0.0157334935, 0.0153861484, 0.0097274464, -0.0190018285, 0.1135995761, -0.0222778581, 0.0072930227, -0.0105866781, 0.0111934599, 0.0232298896, 0.0707370415, 0.0290889908, 0.0287360586, 0.0218381658, 0.0267635547, 0.0261682495, 0.0406368077, 0.0121114748, 0.0125957625, -0.0383262746, 0.0026280626, 0.0064004469, 0.0083984053, 0.0545206517, 0.0409673415, -0.0165774673, 0.0067126998, 0.0855270028, 0.0005156289, -0.0084683141, 0.0691737235, 0.0387327261, 0.040722426, -0.0048986538, -0.0008385335, -0.0477200486, 0.0496611558, 0.015614002, 0.0230459478, 0.0479553342, 0.0267813616, -0.0521364845, -0.0139396768, 0.0177890323, -0.0210427884, 0.0121409204, -0.021938784, 0.0545207225, 0.012830344, -0.0598735213, 0.0695906058, 0.002330929, -0.0386673026, -0.0057585812, 0.0058645154, 0.0001004338, 0.0450988449, 0.0081871822, -0.0022041192, -0.0449308045, 0.0105079738, 0.0208288543, 0.0490498766, 0.0130445519, 0.0097962972, 0.0158790927, -0.0365859531, -0.0392591655, -0.0201727878, -0.0187794026, 0.0163792837, -0.0142461183, 0.0368846431, 0.0395750664, -0.0069380598, -0.0122521473, 0.0328870267, 0.0496028289, -0.0022820095, -0.0343055874, 0.0367718339, -0.008509377, 0.0087092342, -0.0432140306, 0.00391676, -0.0055800029, -0.0198807605, 0.0093678264, 0.0777536333, -0.0427743085, -0.0638214573, 0.0163665339, -0.092371501, -0.0251280703, 0.0139061622, -0.0335215069, -0.0499679148, 0.0042659254, -0.0301240198, 0.0190119911, -0.0805458724, -0.0131746242, 0.0110744927, 0.0253699552, 0.0388443619, 0.0328971967, 0.0019429352, -0.0154795181, 0.0244334694, 0.0022013667, 0.0133482516, -0.0149471555, -0.0390015021, -0.0096379444, -0.0067633321, 0.0287155621, 0.0075019477, 0.027324073, -0.0396887623, 0.0039068446, -0.1229699552, -0.0053975312, -0.0091771856, 0.0092129186, 0.0320284031, -0.0106198378, 0.0095954519, -0.0595598854, -0.0537072457, -0.0152712176, 0.0167117454, -0.008176161, 0.0307049528, 0.0290249232, 0.019299319, -0.0379175767, 0.0299143996, 0.0086878687, 0.0268562566, 0.0244906619, -0.009562281, -0.0307685602, 0.0467695147, 0.0082609737, 0.0483001173, -0.0103198523, -0.0268620308, -0.0124802571, 0.0143069727, 0.0339145139, 0.0217413101, 0.0115698287, -0.0168670304, 0.0116101392, -0.0036981287, -0.0373910852, 0.0103422049, 0.0102336872, -0.038466312, 0.0014762547, -0.0428294018, -0.0397069715, 0.0372972563, -0.0265418068, 0.0370905548, -0.0761432201, 0.0081379442, 0.0113375979, -0.0442516468, -0.021849839, 0.0436294973, 0.0140173892, 0.0101127047, -0.0680598021, -0.0613784119, 0.0336276516, -0.0600459985, -0.0515633039, -0.0264267307, 0.0153474733, -0.0111009181, 0.0612140223, -0.0103380652, 0.0251628142, -0.0033729565, -0.0239505153, -0.0195495691, -0.0245448761, 0.0151845682, -0.024579769, 0.0433792695, -0.0284876842, 0.0202184655, -0.0326854847, -0.0343264453, -0.0144175254, -0.0715571418, -0.0235343575, -0.0321843997, -0.0299289078, -0.0124887135, -0.0130950417, 0.0375667177, -0.0073666507, 0.0433150455, -0.006102798, 0.0025990931, -0.0206681713, 0.0649387911, 0.0480135083, 0.0106853461, -0.0788638592, -0.0107050622, -0.0082468204, 0.0262168106, 0.0040620402, 0.0116693666, -0.0552141666, 0.0058993371, 0.0166672394, 0.0523812212, 0.0066023413, 0.0072421194, 0.0709099919, -0.0257877782, -0.0063099475, 0.0759573653, -0.0045370637, -0.0367313363, -0.0518050268, 0.038262859, -0.000306653, 0.02735609, 0.008602499, -0.0742443874, -0.0715985671, -0.0160019342, -0.0428161472, 0.0367579572, 0.0485721901, -0.0520292111, -0.0799973533, 0.0087228492, 0.007148046, -0.0451228097, -0.0698629022, 0.0082272263, -0.0070706187, -0.0234320555, -0.0205371697, -0.0526779108, -0.0115461908, 0.0053019933, 0.0049119592, 0.0448498353, -0.0574907549, -0.0211646091, -0.0621246845, 0.0158185363, 0.0388603099, 0.0498568304, -0.0161127411, -0.0400729701, -0.0092879608, 0.0032327154, 0.0084632868, 0.0142680388, 0.0674969181, -0.0563124791, -0.0363113731, 0.0099671632, 0.0314263254, -0.005510143, -0.016475454, -0.0310584679, 0.0298275296, 0.028012773, 0.0304771662, -0.0284410883, 0.0483420976, 0.0343879834, 0.047282394, 0.0018091436, -0.0254061371, 0.0002606286, -0.0086248424, -0.0019199605, -0.0489222184, -0.0297088623, 0.0092220753, -0.010988283, 0.0001771729, -0.0617260113, -0.0239224974, 0.0493954904, 0.0206784774, 0.0156289451, -0.0151119418, -0.0378737114, 0.0246551055, -0.0537712611, 0.0858323872, -0.0554659963, 0.0307383761, 0.0090686893, 0.0324954316, 0.0529754087, -0.041700054, -0.0227735788, 0.022030307, -0.0622625388, -0.0259038322, -0.0668485016, 0.0559883155, 0.0088377185, 0.0614029467, 0.0031773599, -0.0090981154, 0.0260205735, 0.0611488558, 0.0025695467, -0.0119764674, 0.0185380969, -0.0173670854, -0.0133220758, 0.0120937079, -0.0166554768, 0.0059697162, 0.006359213, 0.0293080527, -0.0065334481, -0.0345600843, 0.0106937708, -0.0330645442, 0.0152023695, -0.0320852622, 0.046686586, -0.0533635169, 0.0036027692, 0.004860451, -0.0134498486, -0.0641487315, 0.0226082765, -0.0053616036, 0.0199558288, -0.0073029725, 0.0148847559, -0.0156427566, 0.0227973256, -0.0179507863, 0.0062976507, 0.0478554368, -0.0004563216, -0.0194082335, 0.0112529602, -0.0134369796, -0.0156031214, 0.0069629466, 0.0195950158, -0.0277337171, 0.0584244691, 0.0041155918, -0.0441185758, -0.0420043655, 0.0474924333, 0.0158823524, 0.0261908062, -0.0837540701, 0.0326234587, 0.0655516908, -0.0418908261, 0.0227493905, 0.0010912138, -0.0097297225, 0.011220403, 0.0509572439, -0.018777946, -0.0115686096, 0.0477063842, -0.0127074569, 0.0092081204, 0.0257392228, 0.0495171063, -0.0109987333, 0.0327321924, -0.0008211104, -0.0287314206, -0.0383102298, -0.007186498, 0.0291762892, -0.0226605851, -0.0272021536, 0.0040626647, -0.0088122729, -0.0681192055, 0.0173169002, 0.0353035145, -0.0262397677, 0.0554882772, 0.0357812084, 0.0138849467, -0.0004696397, 0.0265641678, 0.0044595245, -0.0102389613, -0.000199257, 0.04145905, -0.0486054718, -5.102119354e-33, -0.0342543647, -0.0207299851, 0.0190081801, -0.036869403, -0.0521854199, 0.0249021892, -0.0592955537, 0.0144792357, -0.0021549999, 0.0202252287, 0.0170141589, -0.0257431027, 0.0355446115, 0.0383799933, -0.0116745038, 0.0057755369, 0.0516886413, -0.0125703895, -0.0096793547, 0.0022550903, 0.0275895912, -0.009626044, 0.0454894304, -0.0849965289, 0.0043409117, -0.0124514252, -0.0388668291, 0.0169931594, 0.066196233, 0.0435759351, -0.016313402, 0.005596207, 0.0068693636, -0.0188993886, -0.0185513869, 0.0383854732, -0.0526271723, 0.0320962667, 0.0489393212, 0.0309366807, -0.0452783741, -0.0131303277, -0.0118567729, -0.050822895, 0.0160422754, -0.0238514878, 0.0686338767, -0.0383763276, 0.0463143252, -0.0282806549, -0.0612993725, 0.0085394876, -0.027838381, -0.0500825383, 0.0713485554, 0.0470360368, 0.0675466433, 0.0115197683, -0.0293078944, 0.0432707444, -0.0197196789, 0.0108050825, 0.1025579125, 0.036455594, -0.0185341612, 0.0481065288, -0.0000722523, -0.0561232828, -0.0107168127, -0.0152648762, 0.0075806039, 0.0509171188, 0.0233212803, 0.0958720371, 0.0558735281, 0.0308907814, -0.0218514744, 0.044338204, -0.0747773573, -0.0241188966, 0.020681994, 0.0094066849, 0.0126337437, 0.0456864461, -0.0682752281, -0.0487036891, -0.0498800911, -0.0358438082, 0.0148513634, 0.0457820818, -0.0336527638, 0.0704580843, 0.0829557404, -0.0175783951, 0.0289885532, -0.0140508236, -0.0121709276, 0.0491731949, -0.0340339094, 0.0027559639, -0.0087345168, -0.0734665766, 0.0806773975, -0.003276455, 0.0148290657, 0.0034241891, 0.0655550137, 0.0055946065, -0.0342832021, 0.005510773, -0.042106986, -0.0242010616, -0.0502555929, 0.0349180549, 0.0529848076, 0.0218105093, -0.0797511563, 0.0042609298, -0.023145318, 0.0525802225, -0.0241571087, -0.0390703231, -0.0029450939, 0.0284227263, 0.0006823467, 0.034598574, -0.0283340923, -0.0630510598, 0.0042928318, -0.0606884882, -0.030237196, 0.0447483361, 2.199e-7, 0.0053441031, -0.0141655514, 0.0560379587, -0.0151150608, 0.0131166698, 0.054374706, -0.0126354853, 0.0430612266, 0.0083976071, -0.0399107859, 0.0430895053, 0.0196767095, 0.0594927855, -0.0273494069, -0.0335516445, 0.0219411179, -0.0287027936, -0.0124944029, -0.0185586736, -0.0103597632, 0.0411193483, 0.1088000461, -0.0224606711, -0.0092895078, 0.0202117991, -0.0622626841, 0.0858297795, -0.0395911448, -0.0206644572, 0.0039022539, -0.0305064321, 0.0266997479, -0.0611938685, 0.0218773074, -0.0196237992, 0.0185965579, 0.0653794035, 0.0412790552, -0.009507956, -0.0160722919, -0.066346094, 0.0517615564, -0.026490612, 0.0056985654, 0.0709263608, -0.0800736472, -0.0229492672, -0.0546786524, -0.0228393991, 0.0365541801, -0.004853901, -0.0308209769, -0.0423183478, 0.0496801548, 0.0673158765, -0.0080399681, -0.0477938391, -0.0694312751, -0.0402356908, -0.0034189685, -0.0447447933, -0.0054316116, -0.0539663993, -0.0062854439, 0.0653667003, -0.0358111784, -0.0111020282, 1.591662055e-34, 0.0216573868, -0.0206168294, 0.0027692798, -0.0172433797, 0.008033758, 0.005277379, -0.0251881275, -0.0400057659, -0.0094352122, -0.040277794, -0.0224675704 ]
http://arxiv.org/abs/2312.08846v4
http://arxiv.org/pdf/2312.08846v4
TiMix: Text-aware Image Mixing for Effective Vision-Language Pre-training
2023-12-14T12:02:24
2024-02-24T03:30:56
Chaoya Jiang, Wei ye, Haiyang Xu, Qinghao Ye, Ming Yan, Ji Zhang, Shikun Zhang
cs.LG
cs.LG, cs.CL, cs.CV
Self-supervised Multi-modal Contrastive Learning (SMCL) remarkably advances modern Vision-Language Pre-training (VLP) models by aligning visual and linguistic modalities. Due to noises in web-harvested text-image pairs, however, scaling up training data volume in SMCL presents considerable obstacles in terms of computational cost and data inefficiency. To improve data efficiency in VLP, we propose Text-aware Image Mixing (TiMix), which integrates mix-based data augmentation techniques into SMCL, yielding significant performance improvements without significantly increasing computational overhead. We provide a theoretical analysis of TiMixfrom a mutual information (MI) perspective, showing that mixed data samples for cross-modal contrastive learning implicitly serve as a regularizer for the contrastive loss. The experimental results demonstrate that TiMix exhibits a comparable performance on downstream tasks, even with a reduced amount of training data and shorter training time, when benchmarked against existing methods. This work empirically and theoretically demonstrates the potential of data mixing for data-efficient and computationally viable VLP, benefiting broader VLP model adoption in practical scenarios.
[ -0.0015318454, 0.0739113539, 0.028705569, 0.0629099384, -0.0095373122, 0.0291312505, -0.0023897535, -0.0063028289, -0.0055528935, -0.0828434303, -0.0561641343, -0.0264547393, 0.0297629572, 0.0207184702, 0.0597575754, -0.0674276948, 0.011606059, -0.0267561637, -0.0586421601, -0.0113341073, 0.0432568826, -0.0189346075, -0.0012493297, -0.0315933302, -0.0132425381, 0.0027331207, -0.0014681439, 0.0306598265, 0.0286979638, -0.0163240042, -0.0189858824, 0.067851834, 0.0271661542, 0.0071468353, 0.0000021145, -0.0341113396, 0.0019963603, 0.0229596887, 0.0221366622, -0.0109428782, 0.0714443922, -0.0247176196, -0.0086904708, 0.0050482382, -0.017823888, -0.0458415411, 0.0725821555, 0.0714883059, 0.0581793189, 0.0611029975, -0.0276295859, 0.0033113554, 0.0284803323, 0.0029675674, 0.0299859364, 0.0184031799, 0.02688835, -0.0129710501, -0.0455856286, 0.0112338942, -0.0238822903, 0.0501689874, 0.0288975369, 0.0106814038, -0.018406054, 0.0414623022, 0.008914751, -0.0231535416, -0.0509641655, 0.0743446052, -0.0041024154, -0.0022110073, -0.0427875705, -0.0343061686, -0.0102239242, -0.0123791704, 0.0089736627, 0.0103993556, 0.0067531238, 0.0230021067, -0.0350368246, 0.0224481076, 0.0180656444, 0.0205031168, -0.0343570933, -0.0398862846, 0.0364658386, 0.014201208, 0.0113894781, 0.0350468904, 0.0103505924, -0.0248649698, -0.0217777658, 0.0028396277, 0.034111429, -0.0097680334, -0.0855898336, -0.0937608406, -0.0006407631, 0.0000309969, 0.0212775152, 0.0356738009, -0.1061151475, 0.0612521879, -0.0011276235, -0.0150001273, -0.0197515264, 0.0288983937, -0.0592597574, -0.0134515446, 0.0159491599, 0.0026032634, 0.0000706199, -0.0008863914, -0.0388818793, -0.0234059505, -0.0084779235, 0.0025490448, -0.0255107284, -0.0253978074, 0.0267992076, 0.0232281853, -0.0518666059, -0.0553268418, -0.0304571372, 0.0281026699, 0.0348897018, 0.066144526, -0.0048365085, -0.0625159964, 0.0139273116, 0.0436110981, 0.0060731792, -0.0243984554, 0.009493988, 0.0842119008, -0.0725097507, -0.0409374051, -0.0579106063, 0.0149917882, -0.0245332699, -0.0184079222, 0.0207721386, -0.0617791824, 0.049714312, -0.0188040603, 0.0099073946, -0.0144225582, 0.0055756588, -0.0140088284, -0.0160733536, 0.1105461791, -0.0797130316, -0.0411298387, 0.0050397585, -0.0077726124, -0.0059002624, 0.1145660132, 0.0018102811, -0.0281197615, 0.0150919016, 0.0040747416, -0.0305351578, 0.0294560678, 0.0089672143, 0.0343284234, -0.0558795705, -0.0376958288, 0.0248647928, -0.0154383425, 0.0427660309, 0.0743897259, -0.0430844761, -0.0219568238, 0.0862446651, 0.0147585571, 0.0440842398, 0.0211540945, 0.0233966373, 0.0242006984, 0.0221831407, 0.0243673213, -0.0370646305, 0.002664577, -0.0557901822, -0.000833202, 0.0532821864, 0.0810738876, -0.0515537113, -0.044765275, 0.020997148, -0.0632862076, 0.0281251371, 0.0078329071, 0.0803441033, 0.0164439455, -0.0118901627, -0.0149786165, 0.0608262978, -0.0335835107, 0.0349083468, 0.0102228792, -0.0364286341, 0.0491325036, -0.0203562509, -0.0351064354, 0.0137877204, 0.0158676859, 0.002959223, 0.0229645576, -0.0143233156, 0.0305922218, 0.0654595643, -0.0618592165, -0.0743157715, -0.0233567394, -0.0235718954, 0.0164766014, -0.0304434132, 0.0232039336, 0.0053628767, 0.0225493424, -0.001181546, 0.0248697158, 0.0188433118, -0.0184677951, 0.0019126224, 0.0239482112, -0.0066509894, -0.018965818, -0.0297630038, 0.013148834, -0.0012004607, -0.0268711783, -0.020525869, 0.0374331512, -0.0593397431, -0.0432428382, 0.0575164892, -0.0463022552, 0.0163718741, 0.0080519309, -0.0277205259, -0.0513627045, -0.0034785767, -0.0207145773, 0.0312606096, -0.0252590999, 0.013606308, 0.0401963405, 0.0002603289, 0.0033950494, 0.0370482914, -0.0181054268, -0.0368542001, -0.0107762981, 0.0071598589, 0.0327750705, 0.020465415, -0.0269271769, -0.0244414024, -0.0125452485, 0.0407427214, 0.0168888308, 0.0246894043, -0.0525781028, -0.0025300069, -0.0879604667, -0.0428384542, -0.0293783285, -0.007196283, 0.0232207999, 0.0236236677, 0.0003034091, -0.0502464622, -0.0282450505, 0.0189929605, -0.0047732107, 0.0208063852, 0.018954521, 0.0444128513, 0.047881458, -0.0312915184, -0.0309984572, 0.0049144928, 0.0467870981, 0.0038456856, -0.0347154289, -0.0301722363, 0.0500837192, -0.004605744, 0.0631793141, -0.0239471328, -0.0235150605, -0.0195828136, -0.0338217393, 0.0587493591, 0.0404972881, 0.0237425976, -0.0184178706, 0.0339763798, -0.0270400047, -0.0182083845, 0.000968657, 0.0031347489, -0.0165656991, -0.0190329384, 0.0079393629, -0.0565476678, 0.0522188954, -0.0440590084, 0.0069197519, -0.0430834554, -0.0136173805, -0.0098508066, -0.0519348048, -0.0398424901, 0.0324126221, 0.0045342501, 0.0359525457, -0.025878882, -0.070255287, 0.0577177592, -0.041132614, -0.0152683193, -0.0181268752, -0.0179343484, -0.0180938523, 0.0333844759, 0.0069238981, 0.0241001099, 0.0103501854, 0.0306012314, -0.0871355906, -0.019284239, 0.0320128314, 0.0095816134, 0.0647627711, -0.0336888731, 0.0225131493, -0.0394176356, -0.0446337871, -0.014780541, -0.0668409914, -0.0057929619, -0.0513782352, 0.0189158749, -0.0236583613, 0.0076379543, -0.0113764526, 0.0341871828, 0.0528734475, -0.0011373734, -0.0310517438, -0.0134726381, 0.0502324365, 0.0025842497, 0.0023543022, 0.0129340151, -0.0039847572, -0.0012493748, 0.0332228839, 0.0620083846, -0.0339697115, -0.0533795059, 0.0391829796, 0.0386578962, 0.0721685067, -0.0179254077, 0.0278942659, 0.0432516821, -0.0310157407, 0.0096331639, 0.0346432813, -0.012844339, -0.0744455308, -0.0608644113, 0.0220788904, 0.0035460675, 0.0106846159, 0.0042852988, -0.0694656298, -0.0522517823, -0.0176196173, -0.0287447479, 0.0222850665, 0.0185961258, -0.0291686431, -0.0672033057, 0.0058967532, 0.0161692835, -0.0027502214, -0.0233540479, -0.0121591948, -0.0184433144, -0.0222302545, 0.0025773188, -0.0465286076, -0.0448162071, -0.0166655276, 0.0150076095, 0.0221019927, -0.0721528158, -0.0521972515, -0.0423665643, -0.0103862071, 0.017920047, -0.0050647892, -0.0270177815, -0.0824173614, 0.0309966709, -0.0417330861, -0.0169341937, -0.0010786082, 0.0849232674, -0.0224819891, -0.0376613215, 0.0181152448, 0.0210878495, -0.0143398847, -0.0296739154, -0.0468397215, 0.0038006445, 0.0113360882, 0.0387585871, -0.0169557985, 0.0094985003, 0.011682909, 0.0227345116, -0.0074457345, -0.0527610444, 0.031872306, -0.0036513144, 0.0289595705, -0.0136301182, -0.0162145924, 0.0049725892, 0.010133015, -0.039643947, -0.0396517329, -0.0402614288, 0.0003974976, 0.0598142035, -0.0114444401, -0.0054645427, -0.0122396629, -0.0074377242, -0.0522200949, 0.0717963874, -0.0212506261, 0.0134826265, -0.0425597876, -0.0127235055, 0.0099682827, -0.056927558, -0.0088041527, 0.0154039776, -0.1072074771, -0.0749143139, -0.025882747, 0.0710389093, -0.000816358, 0.0701200888, 0.0238498431, -0.0462613069, 0.0693206862, 0.0592418835, -0.0204183068, 0.0118883913, 0.0441387445, -0.0301696192, 0.0187225994, -0.0165098757, -0.0404935442, -0.0179931261, 0.0167689864, -0.0382496417, -0.0135753378, -0.0126759103, 0.0277335737, -0.005368229, 0.0580559038, -0.0291504618, 0.0699146092, -0.0389363952, 0.0200951099, -0.0195983034, -0.0181902237, -0.0674807802, -0.0117743714, 0.0183855463, 0.023344906, -0.0006278227, 0.069079943, 0.0311231948, -0.0196858924, 0.0003205361, -0.0058338074, 0.0237600841, 0.0154754631, 0.0041392352, 0.0226079393, 0.0091531808, 0.0249910764, 0.0023538771, 0.0138442107, -0.0109869912, 0.0327008404, 0.0308789928, -0.0306531787, -0.028449893, 0.0714809969, -0.0160362311, -0.0349817723, -0.0488604829, -0.0125660878, 0.0444944128, -0.0229834579, 0.0290892422, -0.0189205948, -0.0224732421, -0.031657435, 0.0006318133, -0.0175754186, 0.023521591, 0.0687738359, -0.0042837793, -0.0088468837, 0.0256243441, 0.0665625259, -0.0109647149, 0.0247007981, 0.0001137246, 0.037476927, -0.0146252792, 0.0008827721, 0.0473891422, 0.0356746279, -0.0263946075, 0.0014296154, 0.0037948727, -0.0649628937, 0.0030698196, 0.0270674955, -0.0253787022, 0.0346330553, 0.0585739836, 0.0242835544, 0.0063305697, 0.0336846933, 0.0200661216, -0.0357453227, 0.0665283725, 0.0298006069, 0.0501520745, -6.656338883e-33, -0.0153841497, 0.0101004886, 0.0305801481, -0.0214079469, 0.024590686, 0.0475251004, 0.0161392521, 0.0166306924, -0.0086279428, 0.0084758103, 0.0330295973, 0.0108182924, 0.0187345035, 0.0703637376, -0.012255121, 0.0275116824, 0.0376027115, -0.0074614119, 0.0318900496, -0.0118845431, -0.0066761388, -0.0005770152, 0.0427515768, -0.073045902, -0.0124839563, 0.0365341716, -0.0265839119, -0.0000050214, 0.01298205, 0.0603344925, -0.0274724327, 0.025538126, 0.0035968754, 0.0152357733, -0.0443912223, 0.0171265546, -0.0490019135, -0.0314344428, 0.0024078123, 0.0267499443, -0.1085412279, 0.0220268574, 0.0419792682, -0.0199516639, 0.0141864996, -0.0408114083, 0.0398787931, -0.0043586018, 0.0118918037, -0.0106333345, -0.0500996299, 0.0180493128, -0.0008655619, -0.0230655707, 0.0821106508, 0.0112376157, 0.0344874635, 0.0326837823, -0.0622503124, 0.0325749889, -0.0027241013, 0.0178625546, 0.0759594664, 0.0549220182, -0.0026478225, 0.0449685492, 0.0302317329, -0.019635668, 0.0294212289, -0.0377687216, 0.0530912429, 0.0221962463, 0.0298590101, 0.0929986611, 0.0272899531, 0.0241705887, -0.0390886776, 0.0451983176, -0.0103271529, -0.003860021, -0.0394232385, 0.0401811413, 0.0183532797, -0.0112895453, -0.0462144502, -0.0555735268, -0.0460081846, 0.0036586528, 0.0174140148, 0.0463641435, -0.0081884675, 0.0282137319, 0.0415204167, -0.0059732799, -0.0402884074, 0.0013918149, -0.0357440785, 0.0427206904, -0.0086038448, 0.025071539, -0.0670302287, -0.036177583, 0.0601610802, 0.0167286992, -0.0115667526, 0.0039471253, 0.0566863604, 0.0153614189, -0.0602676347, -0.0007073877, -0.0323912241, -0.0194910765, 0.0429345146, -0.004689395, 0.0628267303, -0.0008014448, -0.0436120033, 0.044613786, 0.0308192354, -0.0306845363, -0.0367235728, -0.0574017689, -0.0092535727, 0.0190453567, 0.0343236364, 0.0049175848, -0.0451074392, -0.0513111614, 0.0635237247, -0.0326091461, -0.0335530303, 0.0220844969, 2.754e-7, 0.0452964753, -0.0103372056, 0.0095422771, -0.0356177576, -0.0049172835, 0.0731633082, -0.0376862586, 0.0049575442, -0.002450787, -0.028114358, -0.0047340915, 0.0520258136, 0.0103707686, 0.0099063236, 0.038248077, 0.0178034101, -0.0259854309, -0.0015360366, -0.0238039996, -0.010331315, 0.0522072017, 0.0948978662, 0.0037779405, -0.0272675958, 0.0646901205, -0.0451655239, 0.1001518965, -0.0380263813, -0.0050336337, -0.0147449877, -0.0012223779, 0.0170567948, -0.0352971368, 0.0208915807, -0.0188048948, -0.0090598138, 0.0351908617, -0.0153800873, -0.0386818461, -0.0060417512, 0.0045406958, 0.0358593129, -0.0624489933, -0.0163617376, 0.06150648, -0.0508197919, -0.0155181885, -0.0453444161, -0.0359601453, -0.0029529515, 0.0457036458, -0.0153502682, -0.0405432172, 0.0179061163, 0.0086583393, 0.0134442439, -0.0769446492, -0.0793415457, -0.0196271725, 0.0293861888, -0.0062314002, -0.0110468669, -0.079552941, -0.0050055301, 0.0620994568, -0.0307476409, -0.0189937688, 2.257932023e-34, -0.0029491559, -0.017415598, 0.0390940197, -0.0083733713, -0.0073573045, -0.0037415039, -0.0374670923, -0.0121529195, -0.0203721989, -0.0373727605, 0.0099348268 ]
http://arxiv.org/abs/2312.08800v2
http://arxiv.org/pdf/2312.08800v2
Evaluating Large Language Models for Health-related Queries with Presuppositions
2023-12-14T10:35:13
2024-06-06T09:27:29
Navreet Kaur, Monojit Choudhury, Danish Pruthi
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
As corporations rush to integrate large language models (LLMs) to their search offerings, it is critical that they provide factually accurate information that is robust to any presuppositions that a user may express. In this work, we introduce UPHILL, a dataset consisting of health-related queries with varying degrees of presuppositions. Using UPHILL, we evaluate the factual accuracy and consistency of InstructGPT, ChatGPT, and BingChat models. We find that while model responses rarely disagree with true health claims (posed as questions), they often fail to challenge false claims: responses from InstructGPT agree with 32% of the false claims, ChatGPT 26% and BingChat 23%. As we increase the extent of presupposition in input queries, the responses from InstructGPT and ChatGPT agree with the claim considerably more often, regardless of its veracity. Responses from BingChat, which rely on retrieved webpages, are not as susceptible. Given the moderate factual accuracy, and the inability of models to consistently correct false assumptions, our work calls for a careful assessment of current LLMs for use in high-stakes scenarios.
[ 0.0986072123, 0.0803430155, -0.0044681211, -0.0049057598, -0.0242901295, -0.0034751499, -0.0071476777, 0.0222644489, 0.0788455233, -0.0682357699, -0.0051947422, -0.0208533984, -0.0121629247, 0.0025500476, -0.0057786433, -0.0247100312, 0.0257689878, 0.0348518305, 0.0368541069, 0.0050853859, 0.0310773086, 0.0285841171, -0.0021438142, 0.0461945906, 0.010678621, -0.0248618554, 0.0409996063, 0.0166529827, -0.0072227223, -0.07154046, 0.0359306037, 0.0338410884, -0.0191347096, 0.0323036574, 0.0000017489, -0.0424626134, 0.0048955707, 0.0087777609, -0.0445724055, 0.0309336744, 0.0458458513, 0.0144588165, 0.0222927984, 0.0454070531, -0.0410356522, 0.0187940653, 0.049790334, 0.0352930762, 0.0570818037, 0.0613292642, -0.0156188691, -0.0077338358, -0.0316418633, 0.0013089214, 0.0276601315, -0.0131325759, 0.0564686805, -0.0083162514, 0.0267844591, 0.0200574957, 0.0294445101, 0.0491023995, -0.0233464018, 0.0170091596, -0.0297897402, 0.0255550984, -0.0597987697, -0.0471398458, 0.0341504142, 0.0571334437, 0.0007412753, -0.0143614151, -0.0074680904, -0.0108144842, 0.0207950994, 0.0446338356, -0.0333635509, 0.0152860219, -0.0311081484, 0.0163383819, 0.0074548288, -0.0018225238, 0.0608916916, 0.0314931422, -0.0084603261, 0.0754352361, 0.0045072562, -0.0464295186, 0.0264272802, -0.0234819613, 0.0134430416, -0.0276574511, 0.0134313256, -0.0013252379, -0.0220367145, 0.0370783247, -0.0086236307, 0.0371798836, 0.0973146409, -0.1062014028, -0.0003970409, 0.0243255664, -0.0245593693, 0.0300920811, 0.0219437722, -0.0072561153, -0.0239072628, -0.0073510585, -0.0449319258, 0.0101347212, -0.0116611337, -0.0209746324, -0.0048880456, 0.0090307323, -0.0085705118, 0.0264084917, -0.0659707189, 0.0138661861, -0.0000381702, -0.0063229548, -0.0111544672, 0.0238118581, -0.0154143302, -0.0160197057, -0.0527562462, 0.0439506955, 0.0083153052, 0.0543981306, 0.0035518692, -0.1031615064, 0.0227030441, 0.0101264678, -0.0015448537, -0.0169129595, 0.0267024487, 0.0215921383, 0.0202662088, -0.0205800459, -0.0403350964, -0.0527994968, -0.0492826737, -0.045026958, -0.0413434692, -0.0537662432, 0.033422716, -0.0024646425, 0.00842115, -0.0213634539, 0.0178413764, 0.0693861619, -0.0721228868, 0.0673125088, 0.0086359382, 0.0311490986, 0.0332167707, 0.0399847999, 0.0055157267, 0.0803125948, -0.0049593719, 0.0289400462, 0.027026929, 0.010207803, -0.0196025558, 0.0208049193, 0.0268484838, 0.0087116789, 0.0274742004, 0.0563413091, 0.0091902008, 0.0240426101, -0.0773004666, 0.0736950412, -0.0101844613, -0.0075684511, 0.0963200554, 0.0506473333, 0.0018373391, -0.0207101088, 0.0005441377, 0.004638494, 0.0138360858, -0.0001236202, -0.0754838288, -0.0200679023, -0.0581340641, -0.019929342, 0.0337859504, 0.0320534706, -0.0201621521, -0.0377019718, -0.0459144898, 0.0082638385, 0.0066108964, 0.0039006937, 0.0030756495, -0.0365506001, -0.0211471543, 0.0235372763, 0.0433675162, -0.0379043296, -0.0022049185, -0.0416874439, 0.0069151856, 0.0607555099, 0.051592283, -0.010440832, -0.013149322, 0.0000088506, 0.009252741, 0.0122122606, 0.0658990592, -0.0043676794, -0.011686326, -0.0077064438, -0.0145095922, 0.023516668, 0.0183965396, -0.0566538163, 0.02206528, 0.0447550565, -0.0010409217, -0.0120137027, -0.0326521434, 0.0210194997, -0.0073768715, -0.0110659217, -0.0203918237, 0.0057023978, 0.0467827283, 0.0273299199, 0.0287346784, 0.035961315, 0.0213986784, 0.0008625967, -0.02942756, -0.0192276537, 0.0140801249, 0.0070297243, 0.0188850146, -0.0240144543, -0.0107721165, 0.0190200824, -0.0060222317, 0.0059729828, -0.062285848, -0.045845598, 0.0538687296, -0.0218008421, -0.0259690527, 0.0096568884, 0.0035184848, -0.0396867432, 0.019994339, -0.026204614, 0.014817589, -0.0213593282, -0.0519876592, -0.027363712, -0.0528461076, -0.0216390062, 0.0202355515, 0.0105795152, 0.0159107354, 0.0367125608, 0.0013875456, -0.0531305261, 0.0266693421, -0.1297117919, -0.0202480517, -0.0250668768, 0.0207700022, 0.025617158, 0.0184486322, -0.0105525907, -0.0124049839, -0.0689955428, -0.0349644423, 0.0156632625, 0.0701323599, 0.0066226474, -0.0075864252, 0.0157775208, -0.0331779346, -0.0199443623, -0.042488385, 0.0201351978, 0.0312296767, -0.0139108757, -0.0139502492, -0.0197532065, -0.0769640878, -0.017082544, -0.0008702477, -0.0197874419, -0.005857897, 0.0064702639, -0.0142799327, 0.0335410498, 0.0390341915, -0.0242593214, 0.0458684601, 0.0334582664, -0.0640255138, -0.0183517467, -0.0541678742, -0.0314460732, -0.0381340943, -0.1066684946, 0.0357054509, 0.0365990102, 0.0353359804, 0.0263354965, -0.0527652055, 0.0296095219, -0.0303367823, -0.0200923439, -0.0538147762, 0.0129040265, -0.015399714, 0.0486842431, 0.0138034243, -0.045836594, 0.0852327272, -0.0127169024, 0.03556275, -0.0666458011, -0.0161659289, 0.0000819513, -0.0031538624, -0.0118053788, 0.0499140285, 0.0543573573, -0.0023883225, -0.0100024277, -0.025406234, 0.024603717, -0.0788736045, 0.0482834056, -0.058893688, 0.0286047868, 0.0348604843, -0.0419833176, -0.0547635034, -0.1088268012, -0.041327443, -0.0363404118, 0.0064137015, -0.0071507334, -0.0732434243, 0.0058028712, -0.0027502114, 0.0093878023, -0.0039396007, -0.0224633329, 0.0271232948, -0.0077629834, 0.0622712374, 0.022883378, 0.0237625111, 0.0115683367, 0.0260763299, 0.0907821655, -0.0089437608, -0.0204642899, 0.0240091644, -0.0051614633, 0.0073577091, -0.0098600164, 0.0049764239, 0.0206211749, -0.0024676286, -0.0103863319, 0.0010276021, 0.0751026943, 0.0333024561, -0.0233912654, 0.013337072, -0.0003903889, -0.0019419052, 0.0030529862, -0.0040334882, -0.0918151215, -0.0241652206, -0.0098171411, 0.0345035084, -0.0409663916, -0.0035705434, -0.0144888116, -0.0819319785, 0.0315184928, 0.0097112348, 0.0061364211, -0.0013788939, -0.077489309, 0.0049776137, -0.03241276, 0.0420903862, 0.0118943797, -0.0113205016, -0.0041640536, -0.0063907104, -0.0228493921, -0.046936769, 0.0337517112, -0.0085417153, 0.0241513699, 0.0466947369, 0.0325407796, -0.0013287166, -0.0133720282, 0.043077264, -0.0028232124, -0.0196890756, -0.0300464071, 0.0507277697, -0.0155616794, 0.0173157938, -0.0643357113, 0.018148521, -0.0370973758, -0.0049678306, 0.0042585959, 0.0654010475, -0.0175131001, -0.0182503611, -0.0456116758, 0.032436613, 0.0129317129, 0.0790948793, 0.0014709755, -0.0156184072, 0.00388219, -0.0377258398, -0.0267459732, 0.0569582395, -0.051172886, 0.0464844145, -0.018786015, 0.012606699, -0.0492631681, -0.0320098288, -0.0048097745, -0.0395972431, -0.0108058192, 0.0104739908, 0.0444245525, 0.0106652202, -0.0338291191, 0.0456897803, -0.0143486736, 0.0298877042, -0.0334392749, 0.0194527656, 0.064466998, -0.0212387629, 0.0081558656, 0.0062784334, -0.02206387, -0.0434320979, -0.0046941964, 0.0264404602, 0.0263364185, 0.015898224, -0.0340387411, -0.0367474705, 0.0187675785, 0.0703645274, -0.0492142439, -0.0172255021, -0.0089797117, 0.0223278869, 0.028945528, 0.0316530466, -0.0496042781, 0.0017002017, -0.0142386137, 0.0266057681, -0.0535841882, -0.0581906885, 0.0715673268, 0.0531105213, 0.0548195243, 0.0229913983, 0.0207207277, 0.0077972962, 0.0155034717, -0.0354641303, -0.026521571, 0.0113414228, 0.0034805755, 0.027779324, 0.0195402391, -0.029518377, 0.0244526919, -0.0687065274, 0.0237044264, -0.057957083, 0.0043789954, -0.0041569849, 0.0038040967, 0.0400944129, -0.0237495713, -0.0195778087, 0.0429597311, 0.0008593394, 0.0144871557, -0.0019559953, 0.0376597531, 0.0024463215, -0.0195764713, -0.0050949329, 0.0104753338, -0.0713530257, -0.0703536347, -0.0272693243, -0.0176523216, -0.0176977292, -0.0104342839, 0.0330050141, -0.0220079757, -0.0229985062, -0.0227650702, -0.0176819246, 0.0120636979, -0.006201297, 0.0889589787, 0.0020262741, -0.0314552896, -0.0111670345, 0.0639586598, 0.0005237753, 0.0394985639, 0.0116207153, -0.0818304121, -0.0334952287, -0.0611918755, 0.0131896129, 0.0537815429, -0.0645467713, -0.0100549711, -0.0857820213, -0.0514069758, -0.0157263074, -0.0156496335, 0.026196681, -0.0077340091, 0.0195733029, 0.0873434171, 0.0122335609, -0.0392417349, -0.0471356921, 0.0527659543, -0.0655153692, 0.0104965447, -0.0184806418, -6.354804745e-33, 0.0291095916, -0.0397064947, 0.0004501047, -0.0266520362, 0.0144602722, 0.0114990054, 0.0084056603, 0.0043775351, -0.0427927151, 0.0280113127, 0.0067882757, 0.046447251, 0.0088656871, 0.0086878156, 0.0016021419, -0.0578317754, 0.0295509323, -0.0061456934, -0.043655958, 0.0160944052, 0.031193316, 0.009931609, 0.0086314725, -0.0733442828, 0.0715925768, -0.0224953815, -0.009865717, 0.0421380624, -0.0664212555, 0.0565481558, -0.0278357025, 0.0839588121, 0.0427935235, -0.0140251955, 0.0259715375, 0.0318919122, -0.0335310362, -0.0169605799, 0.0431641899, -0.0253212005, -0.0299496315, -0.0038615575, 0.0494092442, -0.0074909949, -0.0393827967, 0.0066282419, 0.0212550033, -0.0329626836, 0.0171818212, -0.0046171159, -0.0088781938, 0.0016488672, 0.0161111522, 0.0082756104, -0.0353777409, 0.0807696283, -0.0273461435, 0.0645111725, -0.0207361393, 0.0340217054, -0.0059022522, 0.0146170687, 0.0461908132, -0.0264223944, -0.0077759763, 0.0515702739, -0.0124435509, 0.0063981009, -0.031143697, -0.0080742575, -0.0215422735, 0.0188496951, 0.0229120664, 0.0578630902, 0.0029643315, -0.0189123135, -0.0854398161, 0.0245155115, 0.0121146385, -0.0074407114, 0.0226730593, -0.0017193058, -0.0579113215, -0.0272878148, -0.0330781415, 0.030149227, -0.0583339632, -0.0221856982, 0.015780881, 0.0160777234, -0.0075439657, 0.0114448816, -0.0170529913, -0.0405627899, -0.0227465518, -0.0048772106, 0.0112847332, -0.0617350899, 0.0081503466, 0.0305592678, -0.0709033757, 0.059896376, -0.0191412158, -0.0095880833, -0.0155443251, 0.0128729856, 0.0120926332, -0.0253657755, -0.0455124825, -0.0156318415, -0.0062299515, -0.0065117651, -0.0046416931, -0.0282903593, 0.0414095484, 0.0236051586, 0.0171883702, 0.0672296211, 0.0318572782, 0.0262632128, -0.0657919869, -0.034141019, -0.0102023063, 0.0186692774, -0.0305498652, -0.0092247007, -0.0310445875, 0.0254775286, 0.0080412831, -0.0784344971, -0.0125833303, -0.0104652587, 2.487e-7, 0.0846650079, 0.0547926426, -0.0223093461, 0.0157455932, 0.0177219082, 0.0377655588, 0.0147847468, 0.0212570298, 0.0273536965, -0.0369173326, 0.0158348046, -0.008552989, 0.0085146781, 0.0464593358, -0.0333446823, -0.0112917898, -0.0806249455, -0.0581148043, -0.0487012751, -0.0062318319, 0.0607923381, 0.0821525827, -0.0029345595, -0.0105513288, -0.0030382602, -0.0179925095, 0.0489358157, -0.0244043767, -0.0530135743, 0.0177100915, 0.0397812016, 0.0014757902, 0.03169192, 0.0150538404, -0.0230375659, -0.0260342844, 0.0107222665, 0.06577833, -0.0191782936, -0.0164807644, -0.0336190052, -0.0418931209, 0.0132507961, -0.0836435705, 0.0751985908, -0.0443569981, -0.028118955, -0.01300597, -0.024444988, -0.0259809271, 0.0559672229, -0.0270223245, -0.0496976189, 0.0043058945, 0.0097993705, 0.0569388829, -0.0001554477, -0.0323488265, -0.0106708035, -0.0032171758, -0.0412042998, -0.1049249843, 0.0029645872, 0.0267976299, -0.0142553169, -0.0660698041, 0.0237353239, 2.013753836e-34, 0.0451396927, 0.0286874808, 0.0087866159, -0.0253966115, 0.0330935046, 0.0394702479, 0.0233614892, 0.0182135962, 0.0390176959, -0.0943471193, -0.0005334748 ]
http://arxiv.org/abs/2312.08793v3
http://arxiv.org/pdf/2312.08793v3
Forbidden Facts: An Investigation of Competing Objectives in Llama-2
2023-12-14T10:27:15
2023-12-31T05:30:30
Tony T. Wang, Miles Wang, Kaivalya Hariharan, Nir Shavit
cs.LG
cs.LG, cs.AI, cs.CL, cs.CR
LLMs often face competing pressures (for example helpfulness vs. harmlessness). To understand how models resolve such conflicts, we study Llama-2-chat models on the forbidden fact task. Specifically, we instruct Llama-2 to truthfully complete a factual recall statement while forbidding it from saying the correct answer. This often makes the model give incorrect answers. We decompose Llama-2 into 1000+ components, and rank each one with respect to how useful it is for forbidding the correct answer. We find that in aggregate, around 35 components are enough to reliably implement the full suppression behavior. However, these components are fairly heterogeneous and many operate using faulty heuristics. We discover that one of these heuristics can be exploited via a manually designed adversarial attack which we call The California Attack. Our results highlight some roadblocks standing in the way of being able to successfully interpret advanced ML systems. Project website available at https://forbiddenfacts.github.io .
[ 0.0502011962, 0.0722524375, -0.0219619256, 0.0582437515, -0.0330397375, -0.0024122766, 0.0069637033, -0.0035631089, 0.0528026521, -0.0485806204, -0.0247068089, -0.0156043237, -0.0025061725, 0.0076123835, 0.0317363665, 0.0033040929, 0.0578552932, -0.0086062606, 0.0214904491, -0.0522410162, -0.0165061187, -0.0473347306, 0.00117712, 0.0230899379, -0.000950535, -0.0098658036, 0.0003766865, -0.0366268605, 0.0008085639, -0.0232683476, 0.0155036151, -0.0012559787, -0.03291535, 0.0564575754, 0.000001978, -0.053285066, -0.0124502322, -0.0013733704, -0.0347994864, 0.0283599626, -0.0134466458, -0.0035209705, -0.002137657, 0.0229989272, -0.0416505337, 0.0077106184, 0.0335893519, 0.0670271888, 0.0797013417, 0.0940093696, 0.0132287666, -0.0247963946, 0.0448256433, -0.0435305648, 0.0525926165, -0.044589676, 0.0345662087, -0.0422649123, -0.0256522335, -0.0112332534, 0.0000625953, 0.035003975, -0.0045439606, 0.0149531364, -0.012275571, 0.0221336838, -0.0170606002, -0.037522424, 0.0170360468, 0.0459478833, 0.0158810876, -0.0090087997, 0.0439796224, 0.0230159871, 0.0225844234, -0.0373920202, -0.0478150398, 0.0053386744, -0.0120853735, -0.0034426635, 0.0058726766, 0.0034058657, 0.0560131781, 0.0048652226, 0.0071911877, 0.0575602278, 0.0055891159, -0.0244509894, -0.0192915294, -0.0043995688, 0.0215390157, -0.0795448124, 0.0230436902, 0.0583480038, -0.0388093852, 0.004012208, -0.0420464762, 0.0206454042, 0.0604435578, -0.0656036958, 0.0373602025, 0.0222548749, -0.0123477783, 0.0188952368, 0.0031915079, 0.0180556383, -0.0236222651, 0.0566325262, 0.0005869101, 0.0295937359, 0.0260998793, -0.0017273714, 0.0203113668, 0.0428419635, 0.003817729, 0.0377383679, -0.0286936201, 0.0119084865, -0.0620871186, 0.0696863011, -0.0548170507, 0.0127583984, -0.0062685162, 0.0199714564, -0.0459389612, -0.0195082948, -0.0235414971, 0.0029744455, -0.0030779147, -0.0726091936, -0.0512053855, 0.0052626389, -0.058902707, 0.0057373852, 0.0271630604, 0.1159915626, 0.0046353373, -0.0519929975, -0.041921448, -0.0228950325, -0.0039518494, -0.0834388509, 0.0390633121, -0.0379768945, 0.014217237, -0.0316484012, -0.0255996641, -0.0519418679, 0.0124513982, 0.0014222169, -0.0140356971, 0.0743974522, 0.0181851517, -0.0298998859, 0.0446074791, 0.0673794597, -0.0203982759, 0.0682125613, 0.000651303, 0.0626993179, 0.0416140519, 0.007088236, 0.0504078045, -0.001597124, 0.0613751188, 0.0127574224, 0.01335607, 0.0209969543, -0.0060884003, 0.0111818118, -0.0254348274, 0.0558966249, -0.0274174213, -0.0868404135, 0.0801800564, 0.0281127412, -0.0583712161, 0.0177323446, -0.0140951248, -0.0300807618, 0.0360230915, 0.0390961803, -0.0853112713, 0.0258787442, -0.1002865359, -0.0177310146, 0.0139148152, 0.0416272692, -0.039868515, -0.077031143, 0.0152638108, -0.0189381633, -0.0097570606, 0.0349027701, 0.0187504627, 0.0083386041, -0.0136647848, 0.0352523439, -0.0017987975, -0.0046394463, -0.0226652548, -0.0932699367, 0.0451253988, 0.0068659144, 0.0802757591, -0.066590026, -0.0220333785, -0.0125748627, -0.0206348337, 0.00276433, 0.0377320796, 0.005706782, 0.0265120789, -0.0453153439, -0.0055303918, -0.0558068156, 0.0219675209, -0.0006499041, 0.0127189867, -0.0208120588, -0.0260861609, 0.0225562099, 0.0078815771, 0.0337769985, 0.0065149455, -0.062351156, -0.0121478494, 0.012284549, 0.0512872227, -0.0237634517, 0.0067325379, 0.0229241718, 0.0685346946, -0.0176038928, -0.038784612, -0.0161318555, -0.0208126679, -0.0268946886, 0.031763494, -0.0303865988, -0.0146203237, 0.0444852561, -0.0511166565, 0.0044812458, 0.0183921047, -0.0447395444, 0.006442816, 0.0093328031, 0.0104618063, 0.0067336303, 0.0143855801, -0.0222485829, 0.0605553724, -0.0634552762, -0.0260080881, 0.0080495235, -0.0233248509, -0.00155918, -0.0458004661, -0.0265227221, 0.0216691066, -0.0331038944, -0.0021327706, -0.0439979918, -0.0083392104, -0.030225357, -0.0132244397, -0.0027843334, 0.0141676133, -0.0054223691, 0.0297888201, 0.0051948149, -0.0540496819, -0.0089774746, -0.0297704749, -0.0283052456, 0.0151894661, 0.0021152736, 0.0276604742, 0.036464978, -0.0039794468, -0.0411535911, -0.0361622088, 0.0065495777, -0.0038726677, 0.0239072964, -0.0155127058, -0.0258452315, -0.0121344524, 0.0380008258, -0.0544503108, 0.0636593178, -0.0366039462, -0.0170102343, 0.0385598019, 0.0228082612, -0.0302438997, 0.1023162454, -0.0023789709, 0.0609964691, 0.0784987286, 0.0285644028, -0.0277505927, 0.0182726886, 0.0242458731, -0.0281981658, -0.0310132876, -0.0438863337, -0.0154595217, 0.0414040163, 0.0276122075, -0.0085440846, -0.0223570485, 0.0360458046, 0.0072161802, -0.0625100434, -0.0254402738, -0.0044260514, -0.0208782405, 0.0242431574, -0.0168178827, -0.0689634904, 0.0956495106, -0.0333580337, 0.0013992974, -0.0006507498, -0.0153586464, 0.0191895366, 0.0494364426, 0.0081257541, 0.0013245572, 0.0612837188, 0.0098466957, -0.0364532061, -0.0464781448, 0.0011207437, -0.0671219751, 0.0281822402, -0.0289911591, -0.0276934113, -0.0083298273, -0.0417881086, -0.0797084421, -0.0319242924, -0.0321838818, -0.0158700198, -0.0439097434, 0.0031700986, -0.0595198683, -0.0628639013, 0.0147291739, -0.025802806, -0.0074411384, -0.0089500416, -0.0315623619, -0.003385043, 0.0585546792, 0.0201993752, 0.0523562171, -0.0161533654, 0.0126357451, 0.0923411027, 0.0075762668, 0.0101552708, 0.0215039179, -0.0087777916, 0.0273450613, 0.0054403637, 0.0053182645, 0.0174481254, 0.0548328795, -0.0081590936, -0.0399330407, 0.032735683, 0.0175182987, -0.0045318566, 0.020484088, -0.0176687986, 0.0194800459, 0.0175970383, 0.0091274707, -0.0866887942, -0.0203501489, 0.0300571471, 0.0250312239, -0.036722485, -0.0096692601, -0.0147831216, -0.0848655328, 0.02084025, 0.0065705283, -0.0117787067, -0.0409131274, -0.0225892216, -0.02599556, -0.0146391345, 0.0255172122, -0.0188521389, 0.019917896, -0.0161698889, -0.0044180322, 0.0131685734, 0.0058395783, 0.0483418293, 0.0147063425, 0.0767571181, 0.0667181313, 0.0250847694, -0.0034079312, -0.0452994481, 0.0034550652, 0.0058648409, -0.0058640717, -0.0071756537, 0.041984871, 0.0054132673, -0.0220890157, -0.0149199888, 0.0357168056, 0.0116898585, 0.004300219, 0.0309381764, 0.044547502, -0.0402701907, -0.0400684103, -0.0200583544, 0.0371349342, 0.0093156332, 0.0618045591, 0.0508458689, -0.0130540486, -0.0353835449, -0.0802080557, -0.0220901333, -0.0182475746, -0.042640008, 0.0223136414, 0.0132387253, -0.0138757247, -0.0566867404, -0.0479639955, -0.0302520189, 0.0030127775, -0.0046182028, -0.0151450327, -0.0224551782, 0.0215163007, 0.000135649, -0.0114514064, -0.0278833285, 0.0251613241, -0.020348426, 0.0026487061, 0.015560762, -0.0171016846, -0.0052346401, 0.0021189507, -0.0841094181, -0.0606577806, 0.0283734445, 0.1072913334, 0.0339434296, 0.0078518549, -0.0270993337, -0.0682373568, 0.0344017595, 0.0779439434, 0.0125380801, 0.0400483571, 0.0990077108, 0.0001424129, 0.0103301834, 0.0385784917, 0.0014882537, 0.0213064812, 0.0524239764, -0.0036880935, -0.0728328824, -0.010889465, -0.0059672375, 0.028651651, 0.0416795164, 0.0042986409, -0.0336154588, 0.0377085805, 0.0496840328, 0.0114948889, -0.0049102358, -0.0005270385, 0.0032829973, -0.0097944988, 0.0133985048, 0.0274295714, -0.0400002152, -0.0035467374, 0.0250065736, -0.0174806546, 0.0079886457, 0.0389148667, 0.0293009765, -0.0086667938, 0.0029963187, -0.0403409787, 0.0608889423, 0.0365551189, 0.0392479114, 0.0106973704, 0.0393807553, 0.000035499, 0.0067626713, -0.0206914786, 0.0224671643, -0.0718588009, -0.0312075652, 0.0396824442, 0.077683337, 0.0661359504, 0.0388414077, -0.0303775985, 0.0083468165, 0.0057640732, -0.0143507933, -0.0111274403, 0.0120929135, -0.0223672166, 0.03635405, -0.0031649717, -0.0040927841, -0.0078796558, 0.0592698678, -0.0078878459, 0.0780947134, 0.0044502327, 0.0194529444, -0.0201806501, -0.0774789229, 0.0391461253, 0.0022731298, -0.0258648358, -0.0602813587, -0.0782154128, -0.0692808554, 0.0071124206, 0.0299052857, 0.0136642847, -0.0327013023, -0.0163095631, 0.0286649559, 0.0376602039, -0.0062172706, -0.0238387398, 0.0377171822, 0.0136593925, -0.0227587912, 0.0152593562, -6.546232531e-33, -0.0212205611, -0.0564423539, 0.0025866451, -0.0033079863, 0.0178745743, -0.0051566456, -0.0266219676, -0.0230606701, -0.0657696128, -0.0111189876, -0.0295753982, 0.0274647903, 0.0016869721, -0.0182057545, -0.0326378345, -0.0769273639, 0.0081726154, -0.0182442591, -0.0281073581, 0.0152836107, 0.0508564897, 0.0184798259, 0.0065822341, -0.0624709837, 0.0439837202, -0.0129700517, -0.0427868478, 0.0293534212, -0.1131383181, 0.0567139871, -0.026401097, 0.0552853122, 0.0054281726, -0.0031263488, 0.0050343676, 0.0128766634, 0.0057565393, -0.061677061, 0.0358153284, -0.0289134122, -0.0073042614, -0.0452234074, 0.0589012876, -0.0044037057, -0.0319488682, 0.0082365982, 0.00114471, -0.0249869432, -0.0302999225, -0.0071778349, -0.0257052276, -0.0232388284, 0.0042773294, -0.0291594751, -0.0308999754, 0.0150538385, 0.0409287363, 0.0100370795, -0.0664777979, 0.0132298013, 0.0131437723, -0.0053970907, 0.0704116225, -0.0129337665, 0.0013913758, 0.0725274384, 0.0145346476, 0.0039055867, -0.0402743369, -0.0215336774, -0.0002382047, 0.0486985184, 0.0921794325, 0.0520214401, 0.0099524586, -0.0479748398, -0.0930343121, 0.0156151867, 0.0454665199, 0.0107478015, 0.0036949988, -0.0024094323, -0.0407115668, 0.0135725001, -0.0068583991, 0.0046541756, -0.0395197384, 0.0104516177, 0.0149478754, 0.0205514468, -0.0131222401, -0.0109992782, -0.0175493285, -0.0653327256, 0.037331827, 0.0254715793, 0.0352137052, -0.0302764252, 0.0082726516, -0.0061984435, -0.0447685942, -0.0073268646, -0.0000979379, -0.0355352201, 0.0308514908, 0.0064628222, 0.0457676798, 0.0252259355, -0.0362088643, 0.0076937405, -0.0444708802, 0.0414849445, 0.0330955088, -0.0168621819, 0.0217349175, -0.0118620005, -0.0057548815, 0.0123511944, 0.0038560308, 0.0202905685, -0.0669458658, 0.0399825908, -0.0220157001, 0.0282411166, -0.007437692, 0.0039537759, -0.0247460976, 0.0387455411, -0.0080600856, -0.0887848437, -0.0012398476, -0.0461421348, 2.772e-7, -0.0276640709, -0.0026056985, 0.0038480165, 0.0399627835, 0.0256678071, 0.0930621549, -0.0338463597, 0.0743980557, -0.0006642022, -0.0300094653, -0.0111036841, 0.026418468, 0.0333031081, 0.0234693922, -0.0248468593, 0.0048219296, -0.0430211686, -0.0331934728, -0.0238720924, -0.019658735, 0.0550404005, 0.0865850747, 0.0347399302, -0.0160362329, 0.0292117037, -0.0514614694, 0.0394940861, -0.014521284, -0.0103795808, 0.0012744603, 0.0854276419, -0.0109087154, 0.0081694424, 0.006133548, -0.003536256, -0.0423420407, -0.0503084101, 0.09383858, 0.0189401302, -0.0844412893, -0.0474450551, -0.0148011902, 0.0017324893, -0.0361730792, 0.0730391964, 0.0184171014, -0.0362202264, -0.0257880352, 0.0314649045, -0.0122312317, 0.0561375543, -0.0007201682, -0.0153390141, -0.0139884995, -0.0154746035, 0.0039510736, 0.0208241716, -0.0665807799, -0.0343555473, -0.0440126248, -0.0109167304, -0.0515019521, -0.0072988477, 0.0023647272, 0.0093096076, -0.0385585465, -0.0245849788, 2.416496109e-34, 0.014004265, -0.053168118, 0.017784439, 0.0229411703, 0.0234156623, -0.0052574123, -0.0043656281, -0.002276588, 0.024551807, -0.0146280332, -0.0117724985 ]
http://arxiv.org/abs/2312.08755v1
http://arxiv.org/pdf/2312.08755v1
PROPRES: Investigating the Projectivity of Presupposition with Various Triggers and Environments
2023-12-14T09:07:57
2023-12-14T09:07:57
Daiki Asami, Saku Sugawara
cs.CL
cs.CL
What makes a presupposition of an utterance -- information taken for granted by its speaker -- different from other pragmatic inferences such as an entailment is projectivity (e.g., the negative sentence the boy did not stop shedding tears presupposes the boy had shed tears before). The projectivity may vary depending on the combination of presupposition triggers and environments. However, prior natural language understanding studies fail to take it into account as they either use no human baseline or include only negation as an entailment-canceling environment to evaluate models' performance. The current study attempts to reconcile these issues. We introduce a new dataset, projectivity of presupposition (PROPRES, which includes 12k premise-hypothesis pairs crossing six triggers involving some lexical variety with five environments. Our human evaluation reveals that humans exhibit variable projectivity in some cases. However, the model evaluation shows that the best-performed model, DeBERTa, does not fully capture it. Our findings suggest that probing studies on pragmatic inferences should take extra care of the human judgment variability and the combination of linguistic items.
[ 0.0392546393, 0.0782617554, -0.0202545803, -0.0007622321, -0.0631782562, -0.0099034505, -0.046860598, -0.0327021927, -0.0108394958, -0.0325279944, -0.0123482766, -0.0188148282, -0.0020137855, -0.0186721552, 0.0299066808, -0.0711538717, 0.0352935679, 0.0193100125, 0.006039504, -0.0062948251, 0.0102967685, -0.0042308886, -0.0366300307, 0.0328538716, -0.047379937, -0.0346840955, -0.0075826626, -0.0051907278, 0.0204151031, -0.0399737284, 0.0046836603, 0.0474854931, 0.011899462, -0.0566392541, 0.0000020836, -0.0678172559, 0.0426836833, -0.0503088757, 0.0087009156, 0.0501697436, 0.0185536761, -0.0153457411, 0.0342688002, -0.0303801224, -0.0500132442, -0.0237585139, 0.0133853965, 0.0535467006, -0.0228559561, 0.0093039051, -0.0078595411, 0.0043347175, -0.0407626517, -0.0143725686, -0.0195426866, -0.0452512801, 0.0279417578, 0.012664536, -0.0120521486, -0.0504739955, -0.0225936472, -0.0012983545, 0.0155721651, 0.0337077938, -0.0616344959, 0.0306875147, -0.0280204825, -0.0818717927, -0.0225589611, 0.0398220606, 0.0659654811, -0.0581676364, -0.031840086, -0.0183645692, 0.0075345333, 0.0047941604, 0.0034726001, 0.025825426, -0.0309587177, 0.0109959897, 0.0177702308, 0.0231788326, -0.0366532467, -0.0095476909, 0.0315257944, 0.0841728076, -0.0061379247, -0.0192283727, -0.0014030853, 0.0294443667, -0.0739551708, -0.0224579405, -0.046773497, -0.0355286859, 0.0057614627, 0.0258098096, -0.0122840749, 0.023989575, 0.0258786324, -0.0166558344, -0.0140343085, 0.031593632, -0.0280941539, 0.0262942798, -0.0036235354, 0.0324638598, -0.0267683975, -0.0426780581, -0.0063401498, -0.0061295386, -0.0389586613, 0.0157068353, 0.0073544867, 0.0287919026, 0.0146763586, 0.0281187743, -0.0301556289, -0.0189630054, -0.0448354892, -0.0252900124, -0.0467702672, 0.0076236664, -0.02692407, -0.0142268138, -0.0712471753, 0.0743887797, -0.0448869877, 0.0841629058, -0.081894666, -0.090183273, -0.0081060585, -0.0062253568, 0.0107907709, 0.0291428193, -0.0163817648, 0.0035470109, 0.0041559068, -0.0015050191, -0.0552563556, -0.0390831269, -0.0158350281, -0.0598533526, -0.0552546121, -0.0395499505, -0.0253778454, 0.0326093212, -0.026572369, -0.047886651, -0.0019140156, 0.0145633593, -0.0127227819, 0.032344941, 0.0319952741, 0.0409013554, -0.0149791166, 0.0314251743, -0.0528481081, 0.077908814, -0.0467526764, 0.0117037073, 0.0035400279, 0.0319585428, -0.0283202864, 0.00494425, 0.0348744541, -0.0335482992, -0.0010627995, 0.0394669287, -0.0016205108, -0.0379631594, 0.046550829, 0.0138071282, -0.0397102758, -0.0117514953, 0.0608543307, 0.0413067937, -0.0320839807, 0.0057061138, 0.0035795313, 0.0410825312, 0.0236611795, 0.0275549013, -0.0361599028, 0.0015485912, 0.0090541374, -0.0362022705, -0.0552609377, -0.0061078947, -0.0259608738, -0.0170241389, -0.0002887623, -0.0068997573, -0.0008099148, -0.0205936469, 0.0322331898, 0.0281770602, -0.0312959999, 0.052283112, 0.0294910315, -0.0645543858, -0.0081752101, -0.0054051429, 0.063037172, -0.0028243677, 0.0018102966, -0.0332403816, -0.0135961818, 0.0236600526, -0.0050279582, 0.0438379385, 0.037141785, -0.0041597662, 0.0442550443, 0.0220813919, -0.0202454831, -0.0223425403, 0.0300340615, -0.0103477454, 0.0052082054, 0.0228185933, -0.009065141, -0.0132525042, 0.0665699691, 0.0362013243, -0.0103294794, 0.0246187039, -0.0456604622, 0.0066070175, 0.0138193704, -0.0259934552, 0.0255103633, 0.0048968028, 0.0365816392, 0.0108998735, -0.0015929363, 0.0534742698, -0.0243041702, -0.048148524, 0.009021204, -0.1277237982, -0.0345774665, 0.0018933531, 0.0040173712, -0.0107569583, 0.0420294777, -0.0217628162, 0.0510473959, -0.0470966026, -0.0041085389, -0.0661780238, 0.0027924296, 0.0243333839, 0.0476893149, 0.015480496, 0.0055855364, 0.0088950694, -0.0370345227, 0.0521160401, 0.013299413, -0.0208765138, -0.0618551783, -0.0039719646, -0.0394719094, 0.0204545446, -0.026095476, -0.0906920359, 0.0224577468, -0.0959952176, -0.0210924018, 0.004523355, 0.0261298995, 0.0514697917, -0.0198703259, -0.0225335956, -0.0443985537, 0.0279525481, -0.0445291661, -0.0412834845, 0.0565090217, 0.0114840008, -0.0262879916, 0.0287573487, -0.0449376591, 0.0326296054, -0.0211688019, -0.0043208185, -0.002283318, 0.0025822148, -0.0136927282, 0.0704930723, -0.0539257377, 0.0087613799, -0.0003768414, -0.045588769, 0.0241271984, 0.0547325946, 0.074357301, 0.0381853431, -0.0437252596, -0.005923674, 0.0467829891, -0.0281640626, -0.0309397839, -0.008481185, -0.0612939969, 0.0322197676, 0.0005011944, -0.0636540651, -0.0545615405, 0.0268196352, 0.0730784982, 0.0181192029, -0.0634588152, 0.0139251305, -0.0551894121, -0.0449867509, 0.0121147204, -0.0561945662, -0.001201747, 0.062137153, -0.0283681564, -0.0359673537, 0.0740898475, 0.0201880261, -0.0235019308, -0.0140791899, 0.0367018282, 0.0136850374, 0.0781365559, 0.0103788301, -0.0132985171, 0.0029771656, 0.0167021453, -0.060061276, -0.0061552087, 0.0148974694, -0.0051452219, 0.0276578814, -0.0678174719, -0.0092689069, 0.0270663649, -0.0404544771, -0.078527838, -0.0921585038, -0.0350074209, -0.0402469784, -0.0264676809, 0.0101639293, 0.045690611, 0.0178407207, 0.022661075, -0.0191718657, 0.0012382972, -0.0084798727, 0.0075678127, -0.033352904, 0.0175318606, 0.0158188995, 0.0231395587, 0.036084462, -0.0083654588, 0.0709844455, 0.02872172, 0.038173236, -0.0396029614, 0.0297393221, -0.0077179857, 0.0364861749, -0.0436591171, 0.0200680941, 0.0398973487, -0.0058920551, 0.0181583166, 0.038609501, 0.0172833297, -0.0013112008, 0.026642032, -0.067143783, 0.0609220862, 0.0011902287, -0.0396998785, -0.0587906614, -0.0379575714, -0.0054405136, -0.0340542458, -0.0514512993, -0.0190319885, -0.0169316176, -0.0734493956, 0.0207726192, -0.0216288455, 0.0118853962, 0.028977545, -0.0420440137, 0.0670620799, 0.0055537634, -0.0272450913, 0.0223918911, -0.0011177408, 0.0131613584, 0.0134407096, -0.0441417955, -0.0312051382, 0.0136330063, -0.0103809126, 0.0088306004, 0.0229921825, 0.0475126579, 0.0347462781, -0.0332178138, 0.0032435479, -0.0336977616, -0.011822843, 0.0004126166, 0.0089263683, 0.0179854389, 0.0015810595, -0.0752993524, 0.0285005569, -0.0387355424, -0.0142476149, 0.0577302352, 0.1024459079, -0.031750612, -0.0313651077, 0.0071911793, 0.0613780431, -0.0067739105, 0.0858957395, 0.0502439924, -0.0109346062, -0.0092225112, 0.0464142524, 0.0075648306, 0.0656331852, -0.0154672563, 0.0123007139, 0.0170733314, 0.0014862939, -0.0494688787, -0.064824231, 0.0038172202, 0.0077668303, -0.0019381713, 0.0063646659, 0.0595765635, -0.0119051104, -0.0325961895, 0.0374218412, 0.0170825291, -0.024246648, 0.0248988476, 0.0380511768, 0.0604348332, -0.0132116452, -0.0329258777, 0.015429792, -0.0469616614, -0.0335794985, 0.0342943966, -0.0094810398, 0.0266060308, 0.0034272235, -0.0216396283, -0.0271308813, -0.0073393569, -0.0082595935, -0.0045185662, 0.0594447032, 0.0354941897, -0.008772593, 0.0298352018, 0.0658690482, 0.011410418, 0.0514588654, 0.0213849805, 0.0181427617, -0.0264484975, -0.0808301121, 0.0504384041, -0.004320431, 0.0768237785, -0.0115442956, -0.0368655436, -0.021907825, -0.0174040031, -0.034039747, 0.0027667296, -0.0105082439, -0.0015367842, 0.0347909182, 0.0426589437, -0.0500941612, -0.0379002579, -0.0741797611, 0.0117725581, 0.0429982655, -0.0037645157, 0.1252954304, 0.0142788403, -0.0142377121, 0.0004957441, -0.0183692109, -0.0215930361, -0.0458301082, 0.0005191331, -0.0116216, 0.0565083772, 0.0631809682, -0.0171333533, 0.0096174097, -0.0376759917, -0.0132316919, 0.0164878033, 0.0549861789, 0.0252875499, 0.0302127525, -0.0171117745, 0.053576123, -0.024124084, 0.0400937907, 0.007538788, 0.0325223655, -0.0319584459, -0.0178585686, 0.0708020702, -0.0068148044, -0.0390683152, 0.0349864736, 0.049235113, -0.0793109164, 0.0298245214, -0.0275452733, 0.0192658119, -0.0259213354, -0.0276569705, 0.0064363293, 0.0017436384, -0.0217975471, 0.0716229081, -0.1067052707, -0.0295623671, -0.0325391479, 0.0041862302, -0.0040494418, -0.0611795522, 0.0177703965, 0.0531742014, 0.0060920599, -0.0524428599, 0.0339146927, 0.0347885936, -0.0174880773, 0.0519561805, -0.0658486336, -6.793947394e-33, -0.0140166515, -0.0104657132, -0.0249837115, 0.014555742, -0.0163921826, 0.0218736976, -0.015938472, 0.0203785561, -0.0197928175, 0.0562275797, 0.0089623583, 0.0208009556, 0.008096152, -0.0037908282, 0.0277352259, -0.0124893729, 0.022201905, 0.013405771, -0.0403292775, -0.0341803841, 0.037116725, -0.0060460796, 0.0473698862, -0.0291882735, 0.0356939323, -0.0107666776, -0.0222915635, 0.0112738879, -0.0048909565, -0.0019748951, -0.0308797192, 0.0510280021, 0.0570485964, -0.01751443, 0.0178760607, 0.0597631671, -0.0278432611, -0.0609370172, 0.1037825122, -0.0020707657, -0.0443322137, 0.0240771119, 0.0011956324, 0.0220308285, -0.0522772186, 0.0500956401, 0.0358355194, 0.0254460238, 0.0802612379, 0.0631738976, -0.0578469671, -0.0175623521, 0.0082877586, -0.0219930392, -0.0183648691, 0.0705233067, -0.0568094738, -0.0123702437, -0.0822029784, 0.027812086, -0.0734374747, -0.012544184, 0.0446351841, -0.0257102866, 0.0322961621, 0.065524742, 0.0500992052, 0.0132533582, -0.023312619, 0.0013425153, 0.0333292671, 0.0323828459, 0.0321386904, 0.0515494347, 0.0163748171, 0.0077661048, -0.0393210799, -0.0323516503, 0.0326808579, 0.0396258198, 0.0183640886, 0.0065726191, -0.0232611801, -0.0044342764, -0.0522339232, -0.0334925726, -0.0163241234, -0.0165327825, 0.0242092684, -0.0329892524, 0.0026068694, 0.0200305153, 0.0151312416, -0.002899657, 0.0164245274, 0.0148291038, -0.0625882894, -0.0123029677, 0.0303394571, 0.0722828805, -0.0650856122, 0.0286915414, 0.0348937325, 0.026389515, 0.0346241444, 0.0154325971, -0.0034277455, 0.0025557715, -0.0120414905, -0.0188499298, -0.0307085961, 0.0082475273, -0.0562155209, -0.022662377, 0.056798622, 0.0713027567, -0.0312295407, -0.0337113626, 0.0073775272, 0.0409332775, -0.0558445603, 0.0240347311, -0.0117530487, 0.051083412, -0.0134602562, -0.0426929779, -0.0154585019, 0.0056937858, 0.0061291349, -0.0292301401, -0.0326072238, 0.0283812266, 2.928e-7, 0.0109121576, 0.0299461149, -0.0138587244, 0.019886652, 0.0149605926, 0.046935901, -0.037707787, 0.0019737836, 0.0698399618, -0.0219841078, 0.0216833781, -0.0289255697, 0.0239792988, 0.018836895, -0.0332431346, -0.0014232637, 0.0029914295, -0.0003906663, -0.0106622539, 0.0131687354, 0.0853449702, 0.0420199633, 0.0419064946, -0.008096532, -0.0250378288, 0.0171101149, 0.0479845144, -0.0199184418, -0.0161664803, -0.0091933291, 0.0275201201, -0.0110512637, 0.0240472704, 0.0868022963, 0.0179934911, 0.004055528, 0.0042034588, 0.0124558723, -0.0063835783, -0.026794048, -0.0149192829, -0.0003661459, -0.0269334614, -0.052387353, 0.0429025553, -0.070954442, -0.0239363853, 0.0387560911, -0.0287323575, -0.0109456098, 0.0307074636, 0.0263091084, -0.0279483777, -0.0066209566, 0.0376099609, -0.0207788534, -0.0424340069, -0.013417528, -0.0299700163, -0.0080470275, -0.0165433101, -0.0299499687, 0.0080502713, -0.0009234896, 0.03277288, -0.056069199, 0.017522702, 2.016843871e-34, -0.0037582288, -0.0125648919, 0.0591662601, -0.0519235395, 0.0421080627, -0.023478739, -0.0032953578, 0.0055592987, 0.0370529778, -0.0215583276, 0.0061867074 ]
http://arxiv.org/abs/2312.08747v1
http://arxiv.org/pdf/2312.08747v1
Dissecting vocabulary biases datasets through statistical testing and automated data augmentation for artifact mitigation in Natural Language Inference
2023-12-14T08:46:26
2023-12-14T08:46:26
Dat Thanh Nguyen
cs.CL
cs.CL
In recent years, the availability of large-scale annotated datasets, such as the Stanford Natural Language Inference and the Multi-Genre Natural Language Inference, coupled with the advent of pre-trained language models, has significantly contributed to the development of the natural language inference domain. However, these crowdsourced annotated datasets often contain biases or dataset artifacts, leading to overestimated model performance and poor generalization. In this work, we focus on investigating dataset artifacts and developing strategies to address these issues. Through the utilization of a novel statistical testing procedure, we discover a significant association between vocabulary distribution and text entailment classes, emphasizing vocabulary as a notable source of biases. To mitigate these issues, we propose several automatic data augmentation strategies spanning character to word levels. By fine-tuning the ELECTRA pre-trained language model, we compare the performance of boosted models with augmented data against their baseline counterparts. The experiments demonstrate that the proposed approaches effectively enhance model accuracy and reduce biases by up to 0.66% and 1.14%, respectively.
[ 0.0354343951, 0.1100753024, -0.018224353, 0.0680226386, -0.0105164954, 0.0451184623, -0.0219460744, -0.0124915857, -0.0048555108, -0.0684233755, 0.0000452905, 0.0176668763, 0.0156203629, 0.0142227719, 0.0459806398, -0.0031375564, 0.0427317172, 0.0101066986, -0.0054790718, 0.0009133753, 0.0130729042, 0.0302191637, 0.0100813145, 0.0120954206, -0.0066095078, 0.0478497706, 0.0078527583, 0.0349437445, 0.0106064789, -0.0027605512, 0.0397342592, 0.0573196374, 0.0340727195, 0.0506297909, 0.0000018078, -0.0916059166, 0.0091061126, 0.0012345153, -0.067441754, -0.0003833356, 0.0628278628, 0.00382218, 0.0467797443, 0.0022742201, -0.0107250391, -0.0322389342, 0.0625698641, 0.0120355776, 0.0164729822, 0.0596347488, -0.015807528, 0.0048592789, -0.0161417294, -0.0330518633, 0.0124265235, -0.0067296997, 0.0548701286, 0.0022107433, -0.008015641, -0.0021690778, -0.0132924253, 0.0217793062, 0.0102967704, 0.0479430929, 0.0014010152, 0.0032865156, -0.0619510636, -0.0211769324, 0.0331087708, 0.0529912375, 0.024379909, -0.0714045539, -0.029747244, -0.0380594805, -0.0035692637, 0.0730483234, 0.019688664, 0.0309306756, -0.0342625603, 0.0210116617, 0.0469851494, -0.0114317974, 0.0408689454, 0.0529477783, -0.0240094792, 0.0583065562, 0.0366707295, -0.0249053873, 0.01461457, 0.0485804938, -0.0411051288, -0.0468979403, -0.0058102845, -0.0350027569, 0.0100163119, 0.0288506318, -0.0415456183, -0.0720221102, 0.0429296494, -0.027914498, -0.0131114861, 0.0117568532, -0.0618829392, 0.0497681238, -0.0209237393, -0.0259088892, 0.0125124771, 0.0124592548, -0.0347400531, -0.0435850248, 0.0198219363, 0.0226861369, -0.0320761055, -0.0289445966, -0.0242828131, 0.0147108221, -0.0212767683, -0.0130021553, -0.0085785184, -0.0078241117, -0.0324743949, -0.0061272881, -0.0584634021, 0.0001651704, -0.0419441313, -0.0018007213, -0.0506368801, 0.0706283152, -0.0336897559, -0.0641862229, -0.022528965, 0.0049583786, 0.0463805422, -0.0644424036, 0.0544896796, 0.0174100753, 0.0414194204, -0.0655277744, -0.0201602895, 0.0004488741, 0.0017960394, -0.0230877604, -0.0206833016, -0.0505358651, 0.0332723185, 0.0064728376, -0.0171801429, 0.0096761314, -0.0159375332, 0.0368330441, -0.0692350417, 0.0824997798, -0.0611021295, 0.0080461102, 0.0253376905, -0.0233162493, 0.0061461022, 0.0869121104, 0.0177202523, -0.0229968932, 0.0565118194, 0.0108879367, 0.0167275313, 0.0361895524, 0.0213410892, 0.0352055319, -0.0057708095, 0.0130153559, -0.0178325605, -0.0037192462, 0.0109019037, 0.0123142516, -0.035062246, -0.0342403017, 0.0262312591, 0.0241964608, -0.0246244576, -0.0122080985, -0.0047668675, -0.0118065132, 0.0255868956, 0.0024781383, -0.0499734767, -0.0174046531, -0.0306684393, 0.0000448072, 0.0117178122, 0.023299057, -0.0048228526, -0.044696141, -0.0373738334, -0.0123371873, 0.0211969223, 0.047058057, 0.0504498072, 0.0407464243, -0.0022779941, 0.0062587354, 0.0718941092, -0.0747944936, -0.0045647095, -0.0456291959, 0.0510123856, 0.0378295891, 0.0502688102, -0.048097346, -0.0579579547, 0.0056789955, 0.0287429858, 0.0548855886, 0.0110033508, -0.0141785452, 0.0317167901, -0.0238214489, -0.0261847489, -0.0048552463, 0.0570995882, 0.0221526772, 0.0507658273, 0.017812036, 0.027892489, -0.0841867551, -0.054348886, 0.0595150143, -0.0283612721, -0.0242996942, -0.0037413302, 0.0125102829, 0.00123948, -0.008047591, -0.033243943, -0.0217942353, -0.001943814, -0.0111371158, -0.0280576963, 0.0155525059, -0.0049420842, -0.0492957085, 0.0208735354, -0.0640985742, -0.0541849844, 0.0514297225, -0.0625883341, -0.0115414662, -0.033136148, -0.0122516695, 0.0348159596, -0.0668776035, -0.0064671147, -0.0261634979, 0.0436815843, -0.0220636632, 0.0622967593, 0.0299657043, 0.0532275066, -0.0152656557, -0.0006778999, 0.0608603805, -0.0024776366, -0.0434541889, -0.0233146958, 0.0032522192, -0.007073347, 0.0587782972, -0.0513816737, -0.0440052673, 0.0284215417, -0.0737997517, 0.0007550787, -0.0173940435, 0.0054174997, 0.0198275857, 0.0168997496, -0.0456582196, -0.0291477162, -0.0056206593, -0.0489892513, 0.0121044172, 0.0386485681, 0.0412041955, -0.0384677611, -0.0004212187, -0.0666019768, -0.0063990187, -0.0461825095, 0.0395548306, 0.0339774303, -0.0349729732, -0.0376815833, 0.0205597766, -0.0301805884, 0.0434125289, -0.0088028247, -0.0194984414, -0.0192568339, 0.0022082573, 0.001149479, 0.0416188203, -0.0016335991, -0.0291364007, 0.0454258323, 0.0156371184, -0.0258581042, -0.0050820969, -0.0130983368, -0.0256499015, 0.026767021, -0.0280691702, 0.0021966533, 0.0458056815, -0.0099648219, -0.0391630121, -0.0129206236, -0.0129458131, -0.0239585973, 0.0025083984, -0.0054910565, -0.0372468084, 0.0076686931, 0.0439732373, -0.0478789881, -0.0168508478, 0.0631982014, -0.0282786712, -0.0079164412, -0.0598686002, -0.0136689954, -0.0447017252, 0.0470640063, 0.0503243431, -0.0086386558, 0.0076821777, 0.0108212121, -0.0316823684, 0.0027845809, 0.0541389696, -0.0238048527, 0.0231995508, -0.0177051276, 0.0228837207, -0.0163744092, -0.0070627769, -0.0378471948, -0.0888280496, -0.0328757279, -0.0510023162, 0.0069240015, -0.0178726707, 0.0016948038, -0.0315140337, -0.032478869, 0.0478857718, 0.0021065145, -0.0018756717, -0.0202930328, 0.0204858109, 0.0679755658, 0.0309869256, 0.0119746327, -0.0484574884, -0.0175449569, 0.012508451, -0.0226484425, 0.0007226167, -0.046410501, 0.0060846042, 0.0351906531, -0.0098879375, 0.01689744, -0.0081783589, 0.0392214172, -0.0197262596, 0.0071102399, 0.0954173803, 0.0245216805, -0.0119583718, 0.0095523661, -0.0067572277, 0.0608803779, 0.0405384004, 0.0071840738, -0.1381106973, -0.0607018434, 0.007201171, -0.0126424525, -0.0053696642, -0.0309759192, -0.0301194955, -0.1410048306, 0.0218676012, -0.0171484482, -0.0383097418, 0.0094972532, -0.048713509, 0.0522681065, -0.0470588095, 0.0130879525, -0.0226127133, 0.0186681431, 0.0271087307, 0.0039440705, -0.0183921009, -0.0703375265, 0.0302549098, -0.0749922842, 0.0216338336, 0.0146430219, 0.0095888302, -0.0369914509, 0.0039504794, 0.0312006753, -0.0108624287, -0.0303159934, 0.0416643098, 0.1111689657, -0.0378200747, -0.0024852909, -0.0137081956, 0.039509099, -0.025051102, -0.0071015004, 0.017083779, 0.0414556488, 0.0269350205, -0.0089999074, -0.0341116823, -0.0187170133, 0.0142271593, 0.0949309617, 0.0114305718, -0.0200730599, -0.0037924235, 0.0019762369, -0.0050067198, -0.0068724575, 0.0328448787, 0.0425893031, -0.0216595083, -0.0574378967, -0.0594682209, -0.0623519272, 0.043037951, -0.006343551, 0.0216544718, 0.0175127443, -0.0425118543, -0.0060588829, -0.0305836685, 0.0798088908, -0.0355758443, 0.0120398961, 0.033124838, -0.0393115245, -0.014159061, -0.0265220013, -0.0191022307, 0.0665703565, -0.0873696804, -0.0594213158, 0.0354902446, -0.0011377337, 0.0184082426, 0.0702973753, -0.0400333852, -0.0258107595, 0.0342955925, 0.0690575987, -0.0470103659, 0.0152636776, 0.0274646562, -0.02353446, 0.0040309732, 0.0317370258, -0.0568984486, 0.0320513062, 0.0219987985, -0.0001765975, -0.0090186838, -0.0774140358, 0.0329538435, 0.0259651504, 0.0790326968, -0.0225789119, -0.0141718043, -0.0567745976, -0.0029724115, -0.0142779164, -0.051941894, -0.0072695646, 0.0055460944, 0.0122460658, -0.0151033895, -0.037241593, -0.0034576049, -0.013108951, 0.0405926704, -0.0630440265, 0.0163951311, 0.0441565551, 0.0209459364, -0.0063166199, 0.0089526772, -0.0187298506, -0.0047037546, -0.0204819925, 0.0527267717, -0.0162226912, 0.0085423468, 0.0309705641, -0.0013420372, 0.0031075093, -0.0091094906, -0.0775495172, 0.0147771295, -0.0202262942, 0.0391076989, 0.0359330438, -0.0855788365, 0.0388081446, -0.0095399348, -0.0099729449, 0.0024368144, 0.0174618438, -0.008271399, -0.0044272505, 0.0233291034, 0.0030472449, -0.0307683293, 0.0423129424, 0.0354803912, 0.0090643875, 0.079350464, 0.008398409, -0.0110158557, -0.0083650574, -0.0000049277, 0.0211504493, 0.0124405287, -0.0015154599, 0.0034419175, -0.0299150441, -0.1076926291, -0.0189661365, 0.0198041536, -0.0010749026, 0.0269850455, 0.0195116177, 0.0409511104, -0.0114406114, -0.0129931876, -0.0262721051, 0.0042344774, -0.0269188173, 0.0169272516, -0.0195498634, -6.342120426e-33, -0.0283783488, 0.004101783, -0.0169296432, -0.0008207098, 0.0203704834, -0.0105800331, -0.0416921787, -0.0187850576, -0.0417302288, 0.0384726934, 0.0158753395, 0.0469560511, 0.0086826226, 0.0109157851, -0.0066888491, -0.033064954, 0.0182934497, 0.0359250121, -0.0362609699, -0.0301964097, 0.0236764029, 0.0083548995, 0.0863931924, -0.0394831151, 0.0361299403, -0.0238842461, 0.0018747078, 0.0081904531, -0.0169689097, 0.0191492122, -0.0011053453, 0.0653370693, 0.018474061, -0.0143888826, 0.013471243, 0.0256993435, -0.0763114765, -0.0583283082, 0.0211154893, 0.029720109, -0.0088290889, 0.0184887145, 0.0295972098, -0.0022360187, -0.0008077053, 0.0116413273, 0.0719277337, -0.0159472954, 0.0176722631, 0.0026426248, -0.0590629838, 0.0590179302, -0.0058151954, -0.0001856848, -0.002795283, 0.0536060408, 0.0211272016, 0.0312676467, -0.0051613422, 0.011191017, 0.0394100659, -0.001376235, 0.0016258832, 0.0079902867, -0.0118645588, 0.0715102106, 0.0102890162, 0.0087236455, -0.0365914442, 0.008272511, 0.0342452787, 0.0109987156, 0.0255030412, 0.0992004499, 0.0752779618, 0.0247778725, -0.0489859134, 0.0428715833, -0.0076234327, -0.0074858218, -0.0034154924, -0.0327450186, -0.0650046095, -0.0315520689, -0.0524580441, -0.0130837597, -0.0339807495, 0.0182733294, 0.0301633757, -0.012293065, -0.0287061296, 0.0350182019, 0.0033907578, -0.0443835221, -0.0168991238, 0.0187060349, -0.0190107971, -0.0448896773, -0.0022479377, 0.0381046049, -0.0410819314, -0.019121496, 0.0132918172, 0.0382214226, 0.0282281879, -0.01274327, 0.0601691417, 0.0188723449, -0.0595097169, 0.0097900247, -0.0233715475, -0.0373265073, -0.0261972081, 0.0152122043, 0.0509392545, 0.0501131974, 0.0084713232, 0.0308147538, 0.0526171513, -0.0076204981, -0.0565148368, -0.0262590498, -0.0123747541, -0.0082333218, -0.0029096967, -0.0262158886, 0.01485964, -0.0442652367, 0.024165595, -0.070504941, 0.0104622794, -0.0087365545, 2.595e-7, 0.0565126538, 0.0479428805, 0.03071017, 0.0142775513, -0.034692388, 0.0177531745, -0.0093459319, 0.0172424614, 0.0336153544, -0.0275193769, 0.0163988359, 0.0251325238, 0.0268397909, 0.0305168107, -0.0687928125, -0.0133033544, -0.0526894666, 0.0363653153, -0.0302062426, 0.0057049789, 0.0560591146, 0.0968810916, 0.0568865724, -0.0311953463, -0.0274260156, -0.0598582029, 0.031615492, -0.0346017703, -0.0105272625, 0.0117341233, 0.0054203691, 0.0559944361, 0.0251221322, 0.0623862371, -0.0266866609, 0.0266983807, 0.0139383217, -0.0077982936, -0.0262473021, 0.018746648, -0.0494417511, -0.0032186056, 0.0020368637, -0.0481546745, 0.0897705778, -0.0066873999, -0.02821544, -0.064795211, -0.0350293852, -0.0049160542, 0.0351592563, 0.0035919035, -0.0235683862, -0.0234974101, 0.0415825471, 0.0017471584, -0.0534996614, -0.0902237296, -0.0171179995, 0.0280521289, -0.03620819, -0.0385561064, 0.0148645686, 0.0117250495, 0.0255517624, -0.084807314, 0.0280196723, 2.28014129e-34, 0.0333276689, -0.0149450051, 0.0041712355, -0.0097372886, 0.0700984597, -0.0159370452, 0.0329594612, -0.0021730962, 0.0072224317, -0.0552573875, -0.0001104962 ]
http://arxiv.org/abs/2312.08737v2
http://arxiv.org/pdf/2312.08737v2
JPIS: A Joint Model for Profile-based Intent Detection and Slot Filling with Slot-to-Intent Attention
2023-12-14T08:30:38
2023-12-16T14:50:53
Thinh Pham, Dat Quoc Nguyen
cs.CL
cs.CL
Profile-based intent detection and slot filling are important tasks aimed at reducing the ambiguity in user utterances by leveraging user-specific supporting profile information. However, research in these two tasks has not been extensively explored. To fill this gap, we propose a joint model, namely JPIS, designed to enhance profile-based intent detection and slot filling. JPIS incorporates the supporting profile information into its encoder and introduces a slot-to-intent attention mechanism to transfer slot information representations to intent detection. Experimental results show that our JPIS substantially outperforms previous profile-based models, establishing a new state-of-the-art performance in overall accuracy on the Chinese benchmark dataset ProSLU.
[ 0.0381597802, 0.0370300449, -0.0121640982, -0.0047066454, -0.0038409678, 0.0042457948, -0.0048872069, 0.0038491809, -0.0420037508, -0.0215619262, 0.0091114426, -0.0471914932, 0.0138241919, 0.132657811, -0.0154791698, -0.0313647129, 0.0435154028, 0.0048401277, 0.0219525676, 0.0538522638, 0.0291626155, 0.0128558185, 0.0122110685, 0.0546714477, -0.0257115513, -0.0052148756, -0.0631158724, 0.0427758507, 0.0227427799, -0.0192527715, 0.042177055, 0.0445029326, 0.0167758241, 0.0056562801, 0.0000020443, -0.0262443721, -0.0110029355, -0.0299938265, -0.0771201998, 0.0098406048, -0.0183677971, -0.0175803881, -0.006999861, 0.0095165428, -0.0210164562, 0.0342984684, 0.0569649823, 0.0230898913, 0.0234882291, 0.0133279506, -0.0069939881, -0.0276287496, 0.0033461624, -0.049539201, 0.0542159677, -0.0548472628, 0.0329257734, -0.0293273851, -0.0606339499, -0.0187674183, -0.0269909557, 0.0143332221, 0.0185930114, 0.0202971566, 0.0487393327, 0.011834071, 0.0386386402, -0.0203163903, -0.0444209315, 0.0846110284, -0.0045259949, 0.0008161186, -0.024443496, -0.057191778, -0.0148880091, -0.0164715517, 0.0181005616, -0.0228436422, -0.020418698, -0.014653245, 0.0117007531, 0.0657992139, 0.0143916178, -0.0097404625, -0.0444370024, 0.0228343755, -0.0058471286, -0.0498146489, -0.0095238937, -0.0400606059, 0.0080701085, -0.0274830014, 0.0516530015, 0.0139542567, -0.0455373451, 0.0177590474, -0.0467615128, -0.0205445234, 0.0020005729, -0.0016172931, -0.0074723614, 0.0901424587, -0.0307683777, 0.0345846191, 0.026623819, 0.0391965434, 0.0071614948, -0.0035167078, -0.0627871007, 0.012100202, -0.0157469139, -0.0138584897, -0.052524887, 0.0001233735, -0.0426746868, -0.0431773439, -0.0405507311, 0.0241242014, -0.0087923314, -0.0081016729, -0.0101362476, 0.0154552693, -0.0512713678, 0.0032557361, -0.0175444167, 0.0796783492, -0.039050404, 0.0294698011, 0.0258556437, -0.02245773, -0.0366810299, 0.0570900179, 0.0188910197, -0.0312279295, -0.0100755682, 0.005585527, -0.0071045449, -0.0330067351, -0.0094430735, -0.0213571209, -0.0372391194, -0.0443475433, -0.0643057525, -0.0316638872, 0.0512408316, 0.0231399462, 0.0030635826, -0.0353083834, 0.0044485228, 0.010410686, 0.0074349479, 0.0600256585, 0.0180652607, 0.0239061639, -0.0351019055, 0.0080221714, -0.0328160636, 0.0417683497, 0.0057503749, 0.0312730484, -0.0146499854, -0.0015174034, -0.0094824415, 0.0079799369, 0.0062903794, 0.0001078954, 0.050702326, 0.0319999941, 0.0227259565, 0.0200742036, 0.0743237659, 0.0220698919, -0.0520952754, -0.043369554, 0.0525300801, 0.0274363477, 0.0129889678, -0.0040414594, 0.0715785325, 0.068941094, -0.0360540785, 0.0143006351, -0.0292781685, 0.018345492, -0.0179059748, 0.0054474859, -0.0027051277, 0.0050980491, -0.032810498, -0.0475848354, 0.0146768913, -0.0423246995, 0.0455440953, 0.0089366641, 0.0160345063, -0.0109785749, -0.0505844913, 0.1048680022, 0.008576584, -0.0098740999, -0.0001835064, -0.0451499261, -0.0114224125, 0.1057715341, -0.0066012191, 0.0086102579, -0.0394514427, -0.0354627855, -0.082524024, -0.0033736825, 0.0106005268, 0.0179756992, 0.0312057734, -0.0467571765, -0.0587619469, -0.019537475, -0.0157311242, 0.0529998057, 0.0017227937, 0.0312990397, 0.0343823843, -0.0000316855, 0.0641033053, -0.0071014962, 0.0053831851, 0.0008331366, -0.0193518251, 0.037005201, 0.0503239855, 0.0269781705, 0.0462367795, -0.0187450852, 0.0212279949, -0.0132337678, 0.0223955847, 0.0113931447, -0.0756318048, -0.0189321712, 0.0000422445, -0.0282922629, -0.0579248965, -0.0119488845, -0.0123482337, -0.0440549366, -0.0336180814, -0.0235851984, -0.0016842424, -0.0776404142, 0.020286141, 0.0146577097, 0.0565436259, 0.0146327363, 0.0777304247, -0.0282222405, 0.0081983721, 0.0791800544, -0.0169742368, 0.0129621318, -0.07313741, -0.0142065063, -0.0382972918, -0.0172711462, -0.0160349868, 0.0060702525, 0.0271680914, -0.0463901497, -0.0012658895, -0.0706541687, -0.0161252581, -0.041080337, -0.0121328859, 0.0098846266, 0.0587959737, -0.0040688529, -0.0094818501, -0.0058960584, -0.0694825277, -0.0318962969, -0.0064011151, -0.011373356, -0.0097962162, -0.0159646552, 0.0086502964, 0.0413887016, 0.0117614912, -0.0056898524, -0.0531715341, -0.1275317818, -0.0464595594, -0.009928382, 0.0406671502, -0.0161448196, -0.0127771264, -0.0465553738, -0.0094251055, 0.0170180239, -0.0050529442, 0.0740080401, 0.0028160599, 0.0433743745, 0.0134879202, 0.0281282887, -0.0540769845, 0.0641934797, -0.008206618, 0.0538749211, -0.0302000158, -0.0389606655, 0.055261068, 0.018779099, 0.017335847, 0.0493003838, -0.0649952218, -0.064602375, 0.0138187166, -0.0519681387, -0.0386065431, -0.0087154107, -0.0584097132, 0.0096659334, -0.0352137573, -0.0211730562, 0.0622264333, -0.007095234, -0.04766142, -0.012660414, 0.0009084274, -0.018284807, 0.0034103978, 0.0177736282, 0.0406256989, 0.0417400226, -0.0868614018, 0.007728301, 0.0123834359, -0.0097049465, -0.0297749713, 0.0263493415, 0.0316510126, 0.013963474, 0.0115822488, -0.0211825781, -0.0683181956, -0.0728926361, -0.0392225608, 0.0102701392, 0.0068835625, -0.0186611358, 0.0062757577, 0.047798302, -0.0056186975, 0.0120217633, 0.0049096812, 0.0202134959, -0.0266721752, -0.0051266546, 0.0319358781, 0.0481950119, -0.0373421721, -0.0079643903, 0.0199430808, 0.0643648803, -0.0517154746, 0.0315237679, 0.0135527337, 0.0383649915, 0.0168053471, -0.0075353272, -0.009699529, 0.062573351, 0.0774830133, -0.0221849326, 0.0068803788, 0.1003321707, 0.029355282, -0.0467640907, -0.0198443644, -0.002678317, 0.0226858314, 0.0121507999, 0.0087545412, -0.0895315334, -0.0725030676, 0.0185836721, 0.0133403167, 0.0064077377, 0.0484403931, -0.0031125501, -0.088604413, 0.0240230933, 0.0274042841, -0.0437056497, -0.0674160495, -0.0185877457, 0.0373924002, 0.0093550757, 0.0576383546, -0.0056454041, 0.0003832115, -0.0425830148, 0.0124109536, -0.0027291167, -0.0709616393, 0.0057685063, -0.0210254546, 0.0808380321, 0.0565981716, 0.0208335705, 0.0429008678, -0.0271885302, -0.0809120089, -0.0162033793, 0.0080931298, -0.0217235554, 0.0450034626, -0.0360614993, 0.0308342576, 0.009893328, 0.0312568881, -0.059578944, -0.017492028, -0.0177264344, 0.0328430794, -0.0319671333, 0.0275275931, -0.016417589, 0.0096398741, 0.0672301948, 0.099656634, 0.0399056673, -0.0295933653, -0.0082438812, -0.0336575024, 0.0018803782, -0.057972163, 0.0060723475, 0.0536834709, 0.0057178806, -0.0247630104, 0.0062386119, -0.0539805032, 0.006431174, -0.0135680875, 0.0123561723, 0.0521488003, 0.025206076, -0.0049563483, -0.0417756885, -0.0072654602, -0.01344088, 0.0505442135, -0.048957251, -0.0364724733, -0.0252698325, -0.0645061806, 0.0133877229, 0.0103436811, -0.0626067147, -0.0064891004, -0.0089804828, 0.0091791218, 0.0171836894, 0.0602338724, -0.0718987733, 0.0191477221, -0.0037330131, -0.0058877049, -0.0231896155, 0.0089920182, 0.0468163341, 0.0198444985, -0.0317497514, 0.0236805584, -0.0391811542, -0.0334191844, -0.0275200307, 0.0066121533, -0.0726965964, -0.0812823102, 0.0392856225, -0.0158044342, 0.0444181226, -0.0034110807, -0.0214480665, 0.0032338067, 0.0565615185, 0.0190918986, 0.0126136495, -0.0261450224, -0.0404190905, 0.0247381236, -0.0041526766, 0.017456444, 0.0153510673, -0.0243461076, -0.0423191935, -0.0359776355, -0.0089765433, -0.0145754451, -0.0037940864, 0.0034537658, -0.0213527922, -0.0381360613, 0.0272524618, 0.0246492624, 0.0219914392, 0.0075988257, 0.0807626396, 0.0002588146, -0.0046820724, 0.0082009267, 0.031111151, -0.0110291867, 0.0080919294, -0.0283647813, -0.0094959028, 0.0102820052, 0.0003364175, 0.0078397077, 0.0140270703, 0.0146292821, -0.0027806102, 0.0538350455, -0.011368433, -0.0227585137, 0.0304469727, -0.0182089359, -0.0238416828, -0.0129977176, 0.0280941129, -0.0156464055, 0.0272869766, -0.0213588737, -0.0057408139, -0.0207015891, 0.0163038839, -0.0029595799, 0.0793126747, -0.0444354042, 0.0126200086, -0.0379876122, -0.0220692735, -0.0011848023, -0.0320492648, 0.0081430757, 0.0181699954, 0.0426678956, 0.0079611838, -0.0440212153, -0.0705126524, -0.021901885, -0.0256312005, -0.0207484141, 0.0292715579, -0.0328419544, -6.636064544e-33, -0.0301422421, -0.0013820621, -0.0162395574, -0.0240158401, -0.0319096483, 0.0151158683, -0.0139590614, -0.0256920625, -0.0022898749, -0.0242933072, 0.0188747458, 0.0281103794, 0.0238561723, 0.0279225819, 0.0104992669, -0.0196539015, 0.0685911924, 0.0257327314, -0.0106885219, -0.0021172969, 0.0419562198, 0.0063923225, 0.017686598, -0.0214101709, -0.0334170125, 0.0038731166, -0.0409031399, 0.0099880993, -0.0470219776, 0.0742247105, 0.0006132954, 0.024967704, 0.0068793925, 0.0072251065, 0.0007933273, 0.0547979213, -0.102614902, -0.0165231824, 0.0114986412, 0.0391514637, -0.0008693159, -0.0552436449, 0.0178219602, 0.0200298075, 0.0375483669, -0.0210565478, 0.0197647028, -0.0034549087, -0.0044192383, -0.0230841693, -0.0213911999, 0.0069303308, -0.0118811149, -0.0074965861, 0.0214210823, 0.0538850278, -0.004590129, -0.0357231162, -0.0805762634, 0.0000967031, -0.0266584903, 0.0111854961, 0.0104789846, 0.0491901189, -0.0052359193, 0.0404425003, 0.0153322844, -0.065694809, 0.0097552603, 0.0012148923, -0.020709537, 0.034497086, -0.0188304037, -0.0148108434, 0.0473250598, -0.0051853047, -0.0041148309, 0.0288816728, 0.0514975041, 0.0390458889, 0.0554214455, 0.048089806, -0.0839492977, -0.0204729158, -0.0265986286, -0.0161749851, -0.0487162694, -0.0512002259, 0.0393229648, 0.0495140143, -0.0199294705, 0.0200761817, 0.0757842362, -0.028388964, 0.0286687687, 0.0175648909, 0.0118300635, 0.0334731974, 0.0034326734, 0.0383857377, -0.0515919141, -0.0265311711, 0.0680648461, 0.0058210534, -0.0049800533, 0.0085494658, 0.0292219613, 0.012024303, -0.0040858611, -0.0156914387, -0.0188430939, 0.0106567014, -0.0382692628, 0.0160791688, 0.043588426, 0.0439330377, -0.0387207307, 0.0650931522, -0.0150518985, 0.0332078002, -0.0738885105, -0.0606410652, 0.0220978893, 0.0521015786, -0.0290954188, 0.0245670136, -0.0378908478, -0.012261563, 0.0338774361, -0.0329697393, -0.0151638687, 0.0479601994, 2.825e-7, 0.0212498493, -0.013955242, 0.0158933885, 0.0235093106, 0.015998859, 0.0566382036, 0.0256370213, 0.0425773263, 0.0348144174, -0.0420068912, 0.0613446645, 0.0249600317, 0.0243841056, -0.0264369808, -0.0894905552, 0.0182040315, 0.0335710645, 0.0134357139, -0.0344738625, 0.0478414074, 0.0986628607, 0.0885192156, 0.0032397327, 0.0140098585, 0.0639466643, 0.0071277698, 0.0193953253, 0.0080819288, -0.0005674976, 0.0182036236, -0.0004796181, -0.0165065173, -0.0153493369, 0.0596576035, -0.0247757882, 0.0177637003, 0.0037211105, 0.045318082, -0.0304169524, -0.0718145296, -0.0642522871, 0.0371105447, -0.0024514496, -0.0275987629, 0.0765849501, -0.0306811482, -0.0172537044, -0.0185958166, -0.046911668, 0.0344547518, -0.0173423272, 0.032438837, -0.0127065303, -0.0005662782, 0.0272478536, -0.0250794943, -0.0572818443, -0.0848692805, -0.0120581128, -0.014576491, -0.0282704327, -0.0294965468, -0.0595654696, -0.0539153293, 0.0385062993, -0.043756295, -0.0228045657, 2.465914626e-34, 0.0266383924, -0.0013257925, 0.0305882748, 0.0320430249, 0.0285387635, -0.0301277991, -0.0610879436, 0.03177239, 0.0303212646, -0.0372454822, -0.0207031537 ]
http://arxiv.org/abs/2312.08726v2
http://arxiv.org/pdf/2312.08726v2
Labels Need Prompts Too: Mask Matching for Natural Language Understanding Tasks
2023-12-14T08:14:13
2023-12-16T04:35:53
Bo Li, Wei Ye, Quansen Wang, Wen Zhao, Shikun Zhang
cs.CL
cs.CL, cs.AI
Textual label names (descriptions) are typically semantically rich in many natural language understanding (NLU) tasks. In this paper, we incorporate the prompting methodology, which is widely used to enrich model input, into the label side for the first time. Specifically, we propose a Mask Matching method, which equips an input with a prompt and its label with another, and then makes predictions by matching their mask representations. We evaluate our method extensively on 8 NLU tasks with 14 datasets. The experimental results show that Mask Matching significantly outperforms its counterparts of fine-tuning and conventional prompt-tuning, setting up state-of-the-art performances in several datasets. Mask Matching is particularly good at handling NLU tasks with large label counts and informative label names. As pioneering efforts that investigate the label-side prompt, we also discuss open issues for future study.
[ 0.0425259583, 0.0094456859, 0.0002037058, 0.0370921604, -0.023134999, 0.0273127444, 0.0422679633, -0.0313420221, 0.0344408527, -0.0574396625, -0.0274247732, -0.0282560531, -0.0010845271, 0.0846129656, -0.012360991, -0.0726267993, 0.0461585298, -0.0411406271, -0.0114986347, 0.0357770473, -0.0024983045, 0.0337358229, -0.0177509151, 0.0440922566, 0.0190676544, -0.0289961901, -0.0115225129, 0.0071619013, 0.0114843631, -0.0677281767, 0.0277018566, 0.0362779461, 0.0166341085, 0.037938457, 0.0000019935, -0.0802899301, -0.0193980634, -0.0126001537, -0.0713776052, -0.0322045609, 0.0081311697, -0.0379640311, 0.0329468027, 0.0002361752, -0.0145548256, 0.0042341324, 0.050618086, 0.0886942148, 0.0466208756, 0.0312297046, -0.0002968314, -0.0094334809, -0.0379595272, -0.0114295175, 0.0183663592, -0.067500554, 0.0184590314, -0.0471647419, 0.0012234976, 0.0198252946, -0.0246786866, 0.0561427362, 0.0088885706, -0.0145867374, 0.0465462841, 0.0464248471, 0.0015946018, -0.0429674946, -0.036123462, 0.0961131379, -0.0125707034, 0.0014422376, -0.019092638, -0.0205868315, -0.0037547532, -0.0321032889, -0.0158645771, 0.0081747482, -0.0265502557, 0.0012551503, -0.0066735777, 0.0345354788, 0.0251536164, 0.0029091174, 0.0044459198, 0.0645207837, -0.0025425586, -0.0363266394, 0.0052895984, -0.0148283849, -0.0215808377, -0.0724670216, 0.0120628728, 0.0284868386, -0.0530937165, 0.0249906685, -0.071805656, -0.0421436653, -0.0046382407, 0.0313004069, -0.0131319333, 0.037164595, -0.0638218969, 0.0861661509, -0.0110126231, 0.0316346176, 0.0344382562, 0.0317705758, -0.0392947458, -0.0317563564, -0.0345569327, -0.0048205163, -0.0735517219, 0.01362684, -0.0488133356, -0.0067014508, 0.0035175264, 0.0114885224, -0.0156753454, 0.0560634509, -0.006177186, -0.0083620455, -0.0496693626, 0.0077108755, -0.0213617645, -0.022442162, -0.0397439376, 0.0002514012, 0.0154463025, -0.0263697803, -0.0322405882, -0.0048315674, 0.0087775216, -0.0598416775, -0.0119727831, 0.052681677, -0.0026224409, -0.0172060858, 0.0027467241, -0.0201436598, 0.0029926184, 0.010259117, -0.0347173139, -0.0030950792, 0.0335446745, -0.0232370272, 0.0140984785, -0.0473288111, 0.0149319954, 0.0193371084, -0.0190050192, 0.1564372927, -0.0302642118, -0.020228371, 0.0166507699, 0.0314652845, -0.0381080173, 0.0167375077, -0.0255192611, 0.0085504726, 0.0447221063, -0.0184439719, 0.001768632, 0.0179711729, 0.0134910615, -0.0028484913, -0.0003615419, 0.020085901, 0.0615958273, 0.0301918518, 0.0197298992, 0.0183368437, 0.0015153502, -0.0505063161, 0.0502261333, 0.0371558629, -0.0186751615, -0.0378722064, 0.0321195908, 0.0489064455, -0.0291565489, 0.0057616131, -0.0548094586, 0.0194740482, -0.0534928255, 0.0016779329, 0.0051945797, 0.0242621601, -0.0317618214, -0.0355357639, -0.0202319995, 0.0058914036, -0.0025199878, 0.038736552, 0.0084522497, 0.0474923141, -0.0205865074, 0.0220869109, 0.006837416, 0.0048871846, -0.0083101653, -0.0447214097, 0.0411572345, 0.0422484986, 0.0304323602, -0.0414425507, -0.0327501148, -0.0396975726, 0.0112380935, 0.0453386568, 0.0490370058, -0.0308619682, 0.0364832841, -0.045280017, -0.0212243162, -0.0160786826, -0.012407125, 0.0204631053, -0.023101436, -0.0113651566, 0.020620374, -0.0213987287, -0.0243898854, 0.0671406612, -0.00317646, -0.0691178143, 0.0256442763, 0.0444865748, -0.0013710234, 0.0009587407, 0.0092526795, -0.0090674311, -0.008561709, -0.0233840477, 0.0023372914, -0.0204855911, -0.0474940017, -0.0714817569, 0.0166658927, -0.0263974182, -0.0518714041, 0.0591577031, -0.0626495555, -0.0464629643, -0.0395874828, 0.0080954283, -0.0481446162, -0.0317930393, 0.0029194092, 0.0229357108, 0.0309602711, -0.0650403351, 0.0443417877, 0.0345395021, 0.0034503683, 0.0313064046, 0.0215898138, 0.026956642, -0.0065180087, -0.0346545689, 0.0111379568, -0.0067765499, -0.0307409205, 0.0051690731, 0.0094871009, -0.0614930801, 0.0062192511, -0.0330400914, 0.0218247268, -0.0239559617, -0.0060671777, 0.0296591055, 0.0287904367, -0.0209749825, -0.0568122268, -0.0395508297, -0.0675622448, -0.0110053103, 0.0035008297, 0.058022704, 0.0071556857, -0.0272542499, -0.0080912998, 0.0188976321, -0.0237287227, 0.0368903838, 0.030970959, -0.0801008865, -0.0590191595, 0.0155424895, -0.008172689, 0.0466212742, -0.0065793274, 0.0280322675, -0.0067137699, 0.0210113246, 0.0200924426, 0.0554043688, 0.0128051899, -0.0250159651, 0.0523486957, 0.0045979246, -0.0420056768, 0.0456850417, -0.0081089288, -0.0219029225, -0.003748117, -0.0314930752, 0.0432742015, 0.1062958539, -0.0047407723, -0.0157367997, -0.0510721058, -0.0004402135, -0.0123737035, -0.0238929838, -0.1045533866, -0.0035332285, 0.0082257986, 0.0435358211, -0.0459458008, -0.0173176955, 0.1188659742, -0.0573237278, -0.0395063534, -0.0567607619, -0.0265761446, -0.0445453636, 0.0633793026, 0.0015701782, 0.0105124246, 0.079459317, -0.0355456583, -0.0090404702, 0.0058008041, -0.0036937029, 0.0096281068, -0.007646102, -0.0360005312, 0.0092025809, -0.0245345365, -0.0253655929, -0.0587341525, -0.0866060331, -0.0370777957, 0.0087704659, -0.0073316647, 0.0092178853, -0.0164606068, 0.0198802985, 0.0141583327, 0.0575603135, 0.0100906119, -0.0087137613, -0.0488759652, 0.0097380979, 0.0604821891, 0.0245482624, -0.0070355386, -0.0075643263, 0.0827889144, 0.0088277115, 0.042505946, 0.0317531265, -0.0052533527, 0.0160424858, 0.0470740609, -0.0248206388, -0.0009335679, 0.0351361893, 0.0564740263, -0.0636636466, -0.0021878432, 0.1228369027, 0.0343775451, -0.0446713753, -0.018229695, -0.028180385, 0.0504697673, 0.0558900051, 0.0299971662, -0.0841930583, -0.0479753986, 0.025057327, 0.0244604386, -0.0072881486, -0.0265937448, -0.0171667039, -0.0974466875, 0.0204298124, -0.0337936506, -0.0129899513, -0.0116769057, -0.0329708233, 0.0189215243, 0.0052440874, 0.0279705934, -0.0260407776, 0.0182277616, -0.0113787446, 0.0279287137, 0.0107148942, -0.0271144137, 0.0705566332, -0.0441041365, 0.0546336286, 0.0361979343, 0.0264983233, -0.0016046915, -0.0393553376, 0.0125190904, -0.0103134299, 0.0090941079, 0.0006326437, 0.0743426457, -0.0098603116, -0.0345471092, 0.0063870708, 0.0274783988, -0.027475629, -0.0265806634, 0.0249001998, 0.0343688205, -0.0389970057, 0.0106228879, -0.0087483283, -0.0023844698, 0.0401961282, 0.0931693614, 0.052066464, -0.0254098922, -0.0090110721, -0.0370280296, -0.0062236097, -0.0675642267, -0.0078317169, 0.0605673119, -0.0322788358, -0.0111400718, -0.0402343571, -0.0550949462, 0.0649256259, 0.0178877711, 0.0267671403, -0.0026428276, -0.0131494487, -0.0085597597, -0.0392422564, 0.0743997097, -0.0599242821, 0.0505603626, -0.0236703251, -0.0023719312, -0.0002729647, -0.035484612, -0.0450133272, 0.0243356749, -0.0504518263, -0.0257804655, 0.0082421899, 0.0013494884, 0.0167740546, 0.0617300868, -0.0477279536, -0.0530944765, -0.0316915698, 0.0198397599, -0.0031258322, -0.0197655838, 0.0072301184, -0.0159856193, -0.0072531905, 0.0345886983, -0.0329686143, 0.0293582994, -0.0064859055, 0.0052269935, 0.0005924621, -0.0332582332, 0.0455608219, 0.045676969, 0.0744070783, -0.0029182774, 0.032790754, -0.03957773, 0.0336564146, 0.0167327262, -0.0663673058, -0.0043991907, 0.0148412166, 0.0213929154, -0.0459881537, -0.0113368509, 0.0380188599, -0.0091979736, 0.0496438965, -0.0715504214, -0.0111854579, 0.0237009265, 0.0260224156, 0.0139337676, -0.0102586579, -0.0297210589, 0.0327663831, 0.0433720127, 0.0593879074, 0.0080201365, 0.0527658202, 0.0554032065, 0.0041561746, -0.032160271, 0.0260828286, -0.0642712638, -0.0520738438, -0.0063858, -0.0293670706, 0.0071888394, -0.0323451497, -0.0323406346, 0.0115682073, -0.012211387, 0.0097878193, 0.0111755356, 0.009036296, -0.0375549383, 0.053939756, 0.0088718673, -0.0104996394, -0.0131330406, 0.0373030081, 0.0052658231, 0.0700093806, 0.0119278273, 0.0063041793, -0.0400852971, 0.0406956412, 0.0104088411, 0.0402857922, 0.0087172771, 0.0081014503, -0.0288974009, -0.0485631227, 0.0507265255, -0.0221265275, 0.0006421314, 0.0248228479, 0.0282146316, 0.0223844685, 0.0170094445, -0.0245383549, -0.0176290944, 0.0220532101, 0.0308332145, -0.0012489628, -0.0345846191, -6.328769749e-33, -0.0417066216, -0.0302276798, 0.0036100128, 0.0016095521, 0.0096261771, -0.0066919122, -0.0447650477, -0.0441805199, -0.0016161298, 0.0050696554, -0.0178933702, 0.0000572497, 0.0293793119, 0.0221489184, -0.0306811221, -0.0669584498, 0.0529953763, 0.0135500003, -0.0335410051, 0.003185187, 0.0018319783, 0.0513305403, 0.0267915651, -0.0844338089, 0.0589916892, 0.0060876925, -0.0098707629, 0.010904165, -0.0003736765, 0.0397137739, -0.0292492788, 0.0398299918, 0.022888016, -0.0470104851, -0.0166128427, 0.0575315543, -0.1013645157, -0.0125330891, 0.0069029233, 0.0086018993, -0.0560520105, -0.0022706573, 0.0033855969, 0.0067409142, 0.0362208337, 0.009693793, 0.0482770465, -0.0346496664, -0.0087102223, -0.0212066118, -0.039256122, 0.0137903141, -0.0289655607, -0.047315836, 0.0652288571, 0.0758273676, 0.0298649408, 0.0382714309, -0.0399168767, -0.0063292887, 0.0169753321, 0.0352036916, 0.0439379774, 0.0326488018, -0.0205360539, 0.05723482, 0.0142563423, 0.0164582916, -0.0213726405, 0.0083191227, -0.0083816387, 0.0115279462, 0.0267788861, 0.0281923674, 0.0316334814, 0.0115598785, -0.0249611922, 0.0473147072, -0.0285942312, -0.0103702471, -0.0282627288, 0.0095557198, -0.045536954, -0.0011250783, -0.0813892484, 0.0090261288, -0.068073608, 0.0487012453, 0.0611320697, 0.0005025885, -0.0446271002, 0.05711421, 0.0018133309, -0.0067487685, -0.0024841251, -0.036359176, 0.0334686451, -0.005840797, 0.0018679238, 0.0331493728, -0.022314515, -0.0438239425, 0.0440101027, 0.0067487569, 0.0392111726, -0.0061545181, 0.046186693, -0.0006780391, -0.0649771914, 0.0079402039, -0.0441557169, 0.0340624787, -0.0301621053, 0.0238401312, 0.0262467954, 0.0282189902, -0.0309720859, 0.0659024194, 0.0099644903, -0.0502607934, -0.0443634912, 0.0089237094, -0.0032856676, 0.0090903761, -0.0361693092, -0.0134861814, 0.0157865994, -0.0167398937, 0.05088, -0.0341662467, 0.0004105277, 0.0175489895, 2.596e-7, 0.0151253436, 0.0315930396, 0.0341933444, 0.0204105936, -0.0075633917, 0.064837873, 0.0106891682, 0.0314857885, 0.0030738583, -0.0593077801, -0.0166476313, -0.0134149194, 0.0367674828, 0.0254937839, -0.0723295659, -0.021107113, -0.0292824637, 0.0092718573, -0.0559518859, 0.0060529276, 0.0840489343, 0.0893402621, 0.0076434994, 0.0043087583, 0.0240371432, -0.0247684866, 0.0055574835, -0.0210949369, 0.0313927159, 0.0102146212, 0.0356984697, 0.009091178, -0.0090329824, 0.0622170493, 0.0038775271, 0.0215479098, 0.0267658681, 0.0430112146, -0.0248559099, -0.0124161374, -0.0475027189, 0.0219998173, 0.0058007524, -0.0498961434, 0.0820717216, -0.0312397648, -0.0154468985, -0.0510825925, -0.0283283442, 0.0053504775, -0.0122693051, -0.0039175157, -0.0044324608, 0.042646233, 0.0214575119, -0.0035044893, -0.0267988481, -0.1092187613, -0.0454780012, -0.0167010203, -0.0178129766, 0.0166833308, -0.0421933569, 0.0030773378, 0.0215151217, -0.0893266425, -0.0142597808, 2.363512538e-34, 0.0041015488, -0.009596806, -0.0047102738, 0.0407201387, 0.0328725986, -0.0185280684, -0.0233748034, 0.0051654177, 0.0110564949, -0.0882528648, -0.0154039338 ]
http://arxiv.org/abs/2312.08725v1
http://arxiv.org/pdf/2312.08725v1
A Comparative Analysis of Fine-Tuned LLMs and Few-Shot Learning of LLMs for Financial Sentiment Analysis
2023-12-14T08:13:28
2023-12-14T08:13:28
Sorouralsadat Fatemi, Yuheng Hu
cs.LG
cs.LG, cs.CL
Financial sentiment analysis plays a crucial role in uncovering latent patterns and detecting emerging trends, enabling individuals to make well-informed decisions that may yield substantial advantages within the constantly changing realm of finance. Recently, Large Language Models (LLMs) have demonstrated their effectiveness in diverse domains, showcasing remarkable capabilities even in zero-shot and few-shot in-context learning for various Natural Language Processing (NLP) tasks. Nevertheless, their potential and applicability in the context of financial sentiment analysis have not been thoroughly explored yet. To bridge this gap, we employ two approaches: in-context learning (with a focus on gpt-3.5-turbo model) and fine-tuning LLMs on a finance-domain dataset. Given the computational costs associated with fine-tuning LLMs with large parameter sizes, our focus lies on smaller LLMs, spanning from 250M to 3B parameters for fine-tuning. We then compare the performances with state-of-the-art results to evaluate their effectiveness in the finance-domain. Our results demonstrate that fine-tuned smaller LLMs can achieve comparable performance to state-of-the-art fine-tuned LLMs, even with models having fewer parameters and a smaller training dataset. Additionally, the zero-shot and one-shot performance of LLMs produces comparable results with fine-tuned smaller LLMs and state-of-the-art outcomes. Furthermore, our analysis demonstrates that there is no observed enhancement in performance for finance-domain sentiment analysis when the number of shots for in-context learning is increased.
[ 0.0041747857, 0.0724362284, 0.0083444742, 0.0239810646, -0.0138473781, 0.0135900211, -0.0094227837, 0.0393262543, -0.0378395505, -0.0797667205, -0.0414778292, -0.0496871136, -0.0396207981, -0.0015461213, 0.0277361851, -0.0058755619, 0.0222877935, 0.0145182777, 0.0370384753, -0.0124887517, 0.0267536864, 0.0188170914, 0.036111597, 0.0309927501, 0.0121916365, -0.0276013799, 0.0104298312, 0.010438974, 0.0145445187, -0.0061417129, 0.021341078, 0.0211088248, 0.0583154745, 0.0375984646, 0.0000020774, -0.0176791754, -0.0139440848, -0.005676806, 0.0039159446, 0.0310271885, 0.0617151745, -0.0464182198, 0.0280599575, 0.001010542, -0.0663211122, -0.0053920024, 0.0529106446, 0.06908115, 0.0436029844, 0.0809110552, -0.0184294116, -0.0472845845, 0.0121786771, -0.0774542019, 0.0033321108, -0.0908396915, 0.0327840187, -0.015471315, -0.0283721071, 0.0030950808, -0.0127444044, 0.003337258, -0.0364265814, 0.0332727917, 0.0116518652, 0.0013175278, -0.0342698023, 0.0266458709, -0.0445855223, 0.0375569314, -0.033184588, 0.0347899497, -0.0070046494, -0.0431176238, -0.0409973226, -0.007112144, -0.0316350237, 0.0234045256, 0.0130804554, 0.038076818, 0.0074522342, 0.0043618479, 0.038708847, 0.0139817875, -0.0258682072, 0.0065261712, -0.0306616239, -0.029221043, 0.0181752779, 0.0390723906, -0.0498132333, 0.0052245352, -0.0379786417, -0.0109548736, 0.0288496315, 0.0047744103, -0.0052085267, 0.0079584755, -0.0069243256, -0.0754114166, 0.0556639135, 0.0393487401, 0.0101798642, 0.0696487576, -0.0396225341, -0.0032216976, 0.0074344412, -0.0508779362, -0.0003807189, 0.0085045714, -0.0838024765, -0.0020782724, -0.0073419609, 0.0820673332, -0.0339632072, -0.0405364484, -0.0866501108, -0.002831067, 0.0121172108, 0.01180276, -0.0071243052, -0.052899193, 0.0025087208, -0.0210678093, -0.0017856023, 0.0269630384, -0.0415983349, 0.0409790389, -0.0407771394, -0.0370756909, -0.0011035769, 0.0256729759, -0.0337541439, -0.014506056, 0.0248532984, 0.0644251853, 0.0551827699, -0.0891587585, -0.0680131093, -0.0219062679, -0.0031707501, -0.0585099086, -0.0408180542, -0.0185449533, -0.0107966829, 0.0050721439, 0.0115484903, 0.0073878518, 0.014161394, -0.0067381198, -0.048075825, 0.0617296249, 0.0096496074, -0.0130965915, -0.0299139973, -0.0335269272, 0.0156843271, 0.0908232182, -0.0188575666, 0.0337882116, 0.027197225, -0.0166671742, -0.027453851, 0.0247752052, 0.0216973145, -0.0274920706, -0.0191849507, 0.0164725911, -0.0168310739, -0.0182684958, 0.0450538993, 0.0114768315, -0.0392873324, 0.0018168348, 0.068685852, 0.01718105, 0.0562203601, 0.0246983953, -0.0224917345, 0.014491261, 0.0075702411, -0.0432878621, -0.0039858543, -0.0062313527, -0.0274516623, 0.0242573507, 0.013002214, 0.001797042, -0.0314220823, -0.0285980813, -0.0196105428, -0.0156744756, -0.0299528148, 0.0038228321, 0.0419031158, -0.0607167333, -0.0727458447, 0.0180748738, 0.0481041707, -0.0029634675, -0.0268472582, -0.0398911908, 0.0438309051, 0.0961462855, 0.0013326521, -0.0164534505, 0.0267930292, -0.0456848368, -0.0084512671, 0.0489776284, 0.0158355869, 0.0314815268, -0.0006621635, -0.0665820763, 0.0101226112, -0.0215829667, 0.0430296957, 0.0198225491, 0.0159121584, 0.026721308, 0.0035993089, 0.0002271847, 0.0172260925, 0.0030109137, 0.0341116935, -0.0467172265, 0.0243258812, -0.0350945145, 0.0178797357, 0.0182163268, -0.0343285725, -0.0055708066, 0.0010678455, -0.0163853876, -0.0473939404, -0.0234567355, -0.0335515998, -0.017099116, -0.0143802911, 0.0090279207, 0.0056235781, 0.0102876462, -0.0657432154, 0.0079379668, -0.0209934674, -0.0236633513, 0.030836165, -0.0592213236, -0.0303298216, -0.001347478, 0.0375910103, -0.0096143316, 0.0598444305, -0.0230209716, 0.0002241193, -0.0259631369, 0.0040200348, 0.0174699705, -0.0024967077, -0.0080148447, -0.0078127896, 0.0143928099, 0.0279692207, 0.015703408, -0.0015846055, 0.0220148321, -0.0293682367, -0.0886467099, -0.0121898977, -0.0130015342, 0.0265187435, -0.0040448084, 0.0095579652, -0.0040463256, -0.0044389553, -0.0083445683, 0.0169602036, -0.0138327247, 0.0194769725, 0.0555871613, -0.0024890515, -0.0053378213, -0.0594076961, -0.0026480274, 0.0160028059, 0.02304646, 0.0152822612, -0.0398051478, -0.0051154634, -0.0078713521, -0.0121733667, 0.0058425181, -0.0205606725, 0.0113685038, -0.0130041661, -0.0324539505, 0.0180350523, 0.0558734834, 0.0050113881, 0.0608327799, -0.0504545122, 0.0056617022, -0.0344287828, 0.0271361955, -0.0225829072, -0.0177249759, -0.0266969372, 0.0249486417, 0.0112272548, 0.0716368631, -0.016359359, -0.0037453014, -0.0923990235, 0.055357676, 0.0182573218, 0.0273281857, -0.025634706, 0.0250970516, -0.0006345524, 0.0037548624, 0.0155595271, -0.0491687171, 0.0571355745, 0.0183828175, -0.0051461929, -0.0172702465, -0.0465918183, -0.0906765759, 0.0272237603, -0.0275729392, -0.0178264845, -0.008338457, 0.0026051046, 0.0041199806, -0.0354017727, 0.0256158933, -0.0070929052, 0.0434047394, -0.0071129198, 0.0589243695, -0.0250511616, -0.0317739099, 0.0233687032, -0.0860324055, -0.0675894544, 0.0146928243, 0.0335489474, -0.0409286879, -0.027193699, 0.0300466996, -0.0301681235, -0.0206592809, -0.0122754062, -0.0332859121, 0.0050877789, 0.0155088771, 0.0671174526, -0.0306406468, 0.0226169433, -0.0191595908, 0.046561487, 0.0216751825, 0.0187581964, 0.0219972543, -0.0386274382, -0.0125278588, -0.0010803649, -0.0175658576, -0.0204579066, -0.0048044808, 0.0048306454, -0.0469713397, 0.017612135, 0.1180981696, -0.0109063853, -0.0232462138, 0.0019889148, 0.047855299, -0.0093061291, -0.0117421169, 0.0036107856, -0.0848869011, -0.0654040352, -0.0240731072, 0.0158989727, 0.0214628857, -0.0336152203, -0.0098625533, -0.136972934, 0.0515244864, 0.0024581403, 0.0062597594, -0.0183852315, -0.0335790068, -0.0109393885, -0.0475347899, 0.0082025724, -0.0155853881, -0.0337012373, 0.0203003548, -0.0011819206, -0.0245674774, -0.0518616475, 0.0360975303, -0.0094626863, -0.0295277778, 0.0337209105, 0.0063612163, 0.0021714941, -0.0054922653, 0.0177924763, -0.0309470575, 0.0319044255, -0.015742505, 0.0569085069, -0.0585741065, -0.0332501233, -0.0002854219, 0.0059332117, -0.0545857139, 0.0576846041, -0.0093235318, 0.0184847955, -0.022633424, -0.0413160101, -0.0252506938, 0.0456149094, -0.0114541715, 0.0714942068, 0.0031003689, -0.0649864897, -0.0397196673, -0.0091326861, -0.0273233783, -0.04025466, -0.0065799467, -0.0346582867, 0.0202794354, -0.0071551474, -0.0859118253, -0.0286444779, 0.0337290689, 0.0129903378, -0.0453987718, 0.0481356978, 0.0152151166, 0.0161674339, -0.0400506109, 0.0219618194, -0.0262673069, 0.0241868645, -0.0395184681, 0.0297769569, 0.0822809488, 0.0234342441, -0.0405376293, 0.0223295763, -0.0877136216, -0.0553974807, -0.0167945698, 0.0293326154, 0.0181771591, 0.0008067166, 0.0187978894, 0.0074246884, 0.0455295853, 0.0880249962, -0.0508073531, 0.0116742617, 0.0530418009, 0.0301145799, -0.0109639075, 0.0304921698, -0.0216571577, 0.0408040509, 0.007813599, 0.0047867252, -0.0565652661, 0.0196733866, -0.0175487045, -0.0233166665, 0.0807118416, 0.0344342105, -0.028576782, 0.0093881181, -0.0146214422, 0.022212429, 0.0091186222, -0.049703408, -0.0592703559, 0.0425939821, -0.0299783573, -0.080124706, 0.0198528599, -0.0029265776, 0.020237552, -0.0264006574, 0.0375199057, 0.0149439638, -0.0103900274, 0.0167543087, -0.0096063809, -0.0128925322, -0.0046594469, 0.0381066054, -0.0324464254, -0.0036059096, 0.0221398696, 0.0190929882, 0.033656694, 0.0064272485, -0.0146916891, -0.0325781144, -0.0059812111, -0.0252832659, 0.0469881073, 0.0218577553, -0.0177449267, 0.0140382797, -0.0389660932, 0.0129275816, 0.0092723873, 0.0133422017, -0.0327834003, 0.0019713542, 0.0515244529, 0.0180233624, -0.0622101054, -0.0008125502, 0.0988968313, 0.014837862, 0.0512995347, 0.0073532201, -0.0027454155, -0.0431568064, -0.0244682357, 0.0503353104, 0.0312121697, 0.0252374746, 0.048369769, -0.0741689429, -0.0261415504, 0.0239379145, -0.0391194522, 0.0138926646, -0.0288808886, 0.0464673936, 0.0560440831, 0.0092954366, 0.0271037407, -0.0127889542, 0.0050162622, -0.0301335752, -0.015966611, -0.049825456, -6.571484354e-33, -0.0158516373, 0.0171021521, 0.0221897177, 0.0387707092, -0.0059319814, 0.0119343093, -0.0147524094, 0.0003286878, -0.0184756313, 0.0043106726, 0.0171779357, 0.0384570733, 0.0024815714, 0.0269626472, 0.0146842562, -0.0089046685, 0.0608166084, -0.0306975413, 0.0104031032, 0.0033859089, 0.0136908432, 0.0693001524, 0.0587577187, -0.0500150435, 0.0025715725, -0.0288299937, -0.0555816554, -0.0029222101, 0.0317573473, 0.0267083105, -0.0106811766, 0.0763784721, 0.0305912364, -0.0760942996, -0.0046338635, 0.0003199387, -0.0050177742, -0.0273060203, 0.0237603784, 0.0044453684, 0.0443968698, -0.0003177797, 0.0342025869, 0.0037802786, -0.0134889623, -0.0129835829, -0.0101275221, -0.0162568502, -0.0079491362, -0.0761836916, -0.0579312593, 0.0506232418, 0.0235627219, 0.0233369786, 0.0324722901, 0.0520848408, 0.0020995676, 0.0885937288, -0.0258532744, 0.0082530621, 0.0086042276, 0.0219355039, -0.0113258576, -0.0092383623, -0.0122230556, 0.057431832, -0.0085348785, 0.0150862662, -0.0103581576, 0.0422411337, 0.0272798687, 0.0572745167, 0.0367441922, 0.0727298707, 0.0603053533, -0.0268446598, -0.0544661842, -0.0095069315, 0.0426255763, 0.0173680615, 0.0667428672, 0.0377747603, -0.0442356244, -0.0340967551, 0.0144649604, -0.0239663851, -0.020158181, -0.0047547286, 0.0159387626, 0.0535474531, 0.0048195436, 0.0259241518, 0.0168215819, -0.0507122874, -0.0530115999, 0.006593972, -0.0256579891, 0.0101081971, 0.0038424861, -0.0318668261, -0.0582629517, -0.0655819029, -0.0266347583, 0.0276263598, -0.0140324309, -0.0441293009, 0.0383399762, 0.023498727, -0.0776711106, -0.0302415043, 0.0109326681, 0.0485806316, -0.0117511414, 0.0545590892, 0.0012976436, 0.0109501015, -0.0044566146, 0.0486783274, -0.0131604159, 0.0283572003, 0.0305247009, -0.0168812182, -0.005840933, 0.0388923995, 0.0096742529, -0.0029709192, 0.0228466876, 0.01324041, 0.0399270765, -0.0509830937, -0.0307724755, 0.0352568179, 2.715e-7, 0.0311046634, 0.0902978331, -0.0230338853, -0.0019594349, 0.0271761511, 0.0674741194, -0.0185904689, 0.0022627993, 0.0032211505, 0.0005646701, 0.0297854021, 0.0188294668, 0.032962475, -0.0030606992, -0.0762881115, -0.0046712845, -0.0571289062, 0.0421802811, -0.0513446033, 0.0361533538, 0.0207728948, 0.1332360208, 0.0104139736, -0.0383901075, 0.0017632014, -0.0727067962, 0.0971965715, -0.0630392656, -0.0293193702, 0.0131712705, -0.0292878002, 0.0443648361, -0.021515727, -0.0026004764, 0.0123683605, 0.053117726, 0.0172901005, 0.0761301741, 0.0331248231, 0.001650537, 0.0348977111, 0.0196369737, -0.0089388136, -0.0222170837, 0.0599192381, -0.1123051792, -0.0294456761, -0.0644692555, -0.0329816788, -0.0110755917, 0.0543230921, 0.0078767994, -0.0161641352, 0.0094154552, -0.0011064063, -0.0202586669, -0.0244332943, -0.0548380651, 0.008799715, 0.023272967, -0.0470470078, 0.0075673643, -0.0389501303, 0.007634541, 0.0406540334, -0.040123973, -0.0109082591, 2.335997934e-34, 0.0870606303, -0.0569446385, -0.018972449, 0.0412298255, 0.0338509642, 0.0412946269, -0.0533121414, 0.0333170071, 0.0304318648, -0.096290566, 0.0079239467 ]
http://arxiv.org/abs/2312.08688v2
http://arxiv.org/pdf/2312.08688v2
TigerBot: An Open Multilingual Multitask LLM
2023-12-14T07:05:42
2023-12-15T01:42:20
Ye Chen, Wei Cai, Liangmin Wu, Xiaowei Li, Zhanxuan Xin, Cong Fu
cs.CL
cs.CL, cs.AI
We release and introduce the TigerBot family of large language models (LLMs), consisting of base and chat models, sized from 7, 13, 70 and 180 billion parameters. We develop our models embarking from Llama-2 and BLOOM, and push the boundary further in data, training algorithm, infrastructure, and application tools. Our models yield meaningful performance gain over SOTA open-source models, e.g., Llama-2, specifically 6% gain in English and 20% gain in Chinese. TigerBot model family also achieves leading performance in major academic and industrial benchmarks and leaderboards. We believe that TigerBot represents just a snapshot of lightning-fast progression in LLM open-source community. Therefore, we are thrilled to give back by publicly releasing our models and reporting our approach behind, with additional emphases on building SOTA LLMs in a democratized way and making LLMs of use in real-world applications.
[ 0.0226397272, 0.0326639563, 0.0066624884, 0.0553185381, -0.0133735267, 0.0108631821, 0.0052547846, -0.0061067524, 0.0507035553, -0.0361303613, -0.1005199701, -0.0448341891, -0.0174729452, 0.0482488871, 0.02838769, -0.0280676503, 0.0510240942, -0.0446362235, -0.0246739797, -0.0139971357, 0.0133057935, 0.0361305326, -0.0031359289, 0.0570841506, 0.0143598719, -0.0319729447, -0.0200989712, 0.0218555313, -0.0030694522, -0.0128189148, 0.0242548101, 0.0365775451, 0.0193555858, 0.0514650866, 0.0000019735, -0.0484291576, -0.0182239953, -0.0196068827, -0.0124299843, 0.0097478582, 0.0650842115, -0.0052316533, -0.0167609695, 0.0610842109, -0.0454071648, 0.0129181957, 0.0307265949, 0.0377119072, 0.0461294614, 0.072937794, -0.0015386855, -0.021275958, 0.0346674547, -0.0407143235, -0.0222620685, -0.0329199322, 0.0165369026, 0.0069875419, 0.0075206109, 0.0057058837, -0.0158222169, 0.021856837, 0.024453748, -0.0163819287, -0.0268988777, 0.0395533629, 0.0002317586, -0.0175461806, -0.03028691, 0.091679424, -0.0502784885, -0.0162068605, 0.004342882, 0.0120303119, -0.0190764349, -0.0461332761, -0.0637888014, 0.0303024929, 0.0226404537, 0.0237965472, 0.0294252485, -0.0407899097, 0.0340577625, 0.0153499749, -0.0051912046, 0.0507247262, 0.0111826928, -0.0038642343, -0.0062196711, -0.0056135096, 0.0167846493, -0.0527895093, 0.0156650003, 0.0320161618, -0.0435010046, 0.0161104016, -0.0152213005, -0.0074663037, 0.0218386538, -0.0643273741, 0.0225760601, 0.0415118784, -0.0395139754, 0.0568858422, -0.0115249697, 0.0102797421, -0.0352109931, 0.0471947603, -0.0437379032, -0.0434256084, -0.0201930739, 0.0033873778, -0.0145521946, 0.0333318114, -0.0356117822, -0.0238338374, -0.049672123, 0.0296383929, 0.0142104635, -0.007024284, 0.0571783893, -0.0104542021, -0.025364833, -0.0142762307, 0.004012913, 0.0209797751, -0.0051683709, 0.0361367315, 0.0002090752, -0.0704960749, -0.0072920993, 0.0464192927, -0.0284554474, -0.0159141663, 0.0127257043, 0.0949164927, -0.0186036546, -0.0199657064, -0.0505406372, -0.009689223, 0.0031753078, -0.0698973909, -0.00101125, -0.0860637426, 0.0499800928, -0.0081717698, 0.0298800338, -0.0256025288, 0.0079695899, 0.0109623475, -0.0099191405, 0.0477306731, -0.0234546233, 0.0055413619, 0.019845983, 0.0058106286, -0.0091865538, 0.1045297831, 0.030565992, 0.0098661603, 0.0559152216, 0.0026917423, -0.0174782202, 0.0784471855, -0.0114407577, 0.0124874506, 0.0108477743, 0.0024367704, 0.0398330279, 0.0192120243, 0.0345686264, 0.0367110372, -0.0440706052, -0.0039683525, 0.0575552844, 0.0405092426, 0.0128530059, 0.0262622815, 0.0324750505, 0.0139302006, 0.0095217591, -0.023139054, -0.0505718663, 0.0195402, -0.0140352994, -0.0165327322, 0.019239895, 0.0448941626, -0.0406368375, -0.0345017277, -0.0038079589, -0.0554887056, -0.0018448967, -0.0039868704, 0.0616255701, -0.030427644, -0.0379358381, 0.0766529739, 0.0333781354, -0.0368264876, -0.0067116437, -0.0430266745, 0.017843904, 0.0564957112, 0.0316664949, -0.0380852893, -0.0297196042, -0.0266513322, 0.0254158545, 0.062222369, 0.0462963842, -0.0139054833, 0.0197541807, -0.0747529864, -0.0079026492, -0.0009521215, 0.0090891104, 0.0213348418, 0.040340215, 0.012192334, -0.0072286059, -0.0072365915, -0.0450052209, 0.0255044755, -0.0690354854, 0.0112003228, -0.0091694519, -0.0222119521, 0.0306590218, 0.0249026213, -0.0081608323, -0.0118373604, 0.0432736538, -0.0469068475, -0.0191876441, 0.0366483107, -0.0239878651, -0.0166920051, 0.076180011, 0.0110833813, -0.0082316333, 0.074227035, -0.0426280946, -0.0568214506, 0.0013221919, 0.0090241861, 0.0360975824, -0.0521066412, 0.0205758195, -0.0234492812, 0.0295007452, -0.0084825065, 0.0194818303, 0.0056905923, -0.0045025162, 0.0237905588, -0.0058928975, 0.0223897025, -0.0562767535, -0.0491171032, 0.0493435264, -0.0073354859, 0.0264011305, -0.0160649568, 0.0400189422, -0.0332481079, -0.0342335813, -0.1005207449, 0.0343813151, -0.0396217704, 0.0288581364, 0.0195644535, -0.005972723, -0.0167626906, -0.0230961926, -0.038744837, 0.0155781982, 0.0122524817, 0.0092803231, 0.00660482, -0.027839927, -0.0238464698, -0.0495657176, -0.0130426949, 0.0044692736, 0.0148252388, -0.0263873376, -0.0556860939, -0.0496091507, 0.0191641804, -0.0264628138, 0.0355663449, -0.0300374329, -0.0343685783, -0.0032348249, -0.0227413066, 0.026375249, 0.0535731576, -0.0039765029, -0.0030290016, 0.0440309606, 0.0004345671, -0.0683214366, 0.0194314886, 0.0089259883, -0.0494320765, -0.0616883449, -0.0165414903, -0.0260704607, 0.0634119436, -0.0284218751, -0.0048943195, -0.0334298424, -0.0448582172, -0.0083822086, -0.0248489771, -0.0200059768, 0.0266344082, -0.0394519158, 0.0172143206, -0.0215385351, -0.055329971, 0.044602409, -0.0396967083, -0.0157378353, -0.0315076783, -0.0297640692, -0.0668781102, 0.0486481786, -0.0324386284, 0.0189573038, -0.0205693897, -0.0239025075, -0.0539942309, 0.023022512, -0.0243455097, -0.0490589738, 0.0454896651, -0.037071228, 0.0076592071, -0.0331883505, -0.0442752764, -0.0275663752, 0.0036965969, -0.0754198283, 0.0270967521, 0.0093444437, -0.0325685702, -0.046786502, 0.0107122017, 0.015775349, 0.0322384983, -0.0085094534, 0.0215806328, -0.0258757342, 0.0057070456, 0.0524057262, 0.0494085401, 0.0037779252, -0.0286849122, 0.0384881534, 0.0611305274, 0.0297635682, -0.022740161, -0.0049649999, -0.0123068113, 0.0560946241, -0.0191339143, -0.0289590079, -0.0078664422, 0.028909469, -0.0271682385, 0.0182185527, 0.1155272499, 0.0078680003, -0.0715990514, 0.0020624576, -0.0464534722, 0.0389276408, 0.0311556328, 0.0420646034, -0.1071220115, -0.0448769219, 0.0052004624, -0.001148673, 0.0422976278, -0.0017016962, -0.0055335276, -0.1213455424, 0.0287173837, 0.000825075, -0.0413234308, -0.0066449884, -0.037892323, -0.0077587734, -0.0479918309, 0.018506242, 0.006114631, -0.0037852882, -0.0437985696, 0.0063071749, -0.0108284596, -0.0330443382, 0.0336604267, -0.0413613506, 0.0689273328, 0.0183647722, 0.0193515662, 0.0008674224, 0.0007134865, 0.0396930054, 0.0331404023, -0.0305489581, -0.0231818575, 0.0114892619, -0.0122808348, -0.0270770006, 0.0087993592, 0.0206549764, -0.0504219867, 0.0089796763, 0.0186496824, 0.0767168924, 0.0003128739, 0.002818679, -0.0022744837, -0.0038864766, 0.0026854982, 0.0735576898, 0.003781334, -0.0448872037, -0.0409616716, -0.0479424447, -0.0452977754, -0.0266450476, -0.0499883667, 0.0065516527, -0.0453586616, -0.0307332855, -0.0553903617, -0.0175787322, 0.0259826947, 0.0093158241, 0.0190479551, 0.0538766682, 0.0166690387, -0.0195820071, -0.0318205729, 0.0125259832, -0.0536169298, 0.0437376536, -0.0877284929, -0.0053498363, 0.0699196234, -0.0220870897, -0.0062884698, 0.0445209332, -0.0832983032, -0.0842313468, -0.0212748833, 0.0309096966, 0.0171592701, 0.0217081159, -0.0328715183, -0.0581750907, 0.0055894931, 0.0163877513, -0.0025581301, 0.0353935063, 0.0584230982, 0.0183802526, 0.0057393988, 0.0545070134, -0.0562708452, -0.0031895826, -0.0108685, 0.0449744985, -0.0399510786, -0.0350865126, -0.0057586539, 0.0192144141, 0.0059853843, -0.008892539, -0.0123092327, -0.0498237424, 0.0574185178, -0.0203209445, 0.009050373, -0.0546163395, 0.0067979535, 0.0245123543, -0.0260381419, 0.0090989685, 0.0290594436, -0.0043216292, 0.0173217673, -0.0142670246, 0.0210764948, -0.0126324203, -0.0064227274, 0.0116701182, -0.0029213543, -0.0129192574, 0.0091538206, 0.0052816682, 0.0242372863, -0.0245614033, 0.0413412079, -0.0145987114, -0.0263981596, -0.001595891, 0.0446718894, -0.0451248102, -0.0545159988, -0.005370121, 0.0528679416, 0.0874110237, 0.0392575972, 0.0807609037, -0.0195602868, -0.0057991249, -0.0398357958, 0.0481462404, -0.0233897809, -0.022113502, 0.0489267036, 0.005039678, -0.0247047413, 0.0141900908, 0.0974814743, 0.0154136801, 0.0373833291, 0.0095085371, 0.0229069255, -0.0225264039, -0.0392359234, 0.0480080396, 0.0225100443, -0.0355251618, -0.0129408073, -0.0118207335, -0.0553616807, 0.0501866601, 0.0065591489, -0.0255972464, -0.0223598182, 0.0364718698, 0.0593089908, 0.0078219017, 0.021554349, -0.0652006418, -0.0112771057, -0.0086760232, -0.0174553338, 0.0022033104, -6.464576081e-33, -0.022002751, -0.0084325094, 0.0380044132, 0.022248948, -0.0272347834, -0.0083125085, -0.0015833701, 0.0103487382, -0.0459549576, -0.0238352865, -0.012757862, 0.036830686, 0.027051175, 0.0088573191, 0.0203672387, -0.0110574439, 0.0252075028, -0.011092525, 0.011729328, 0.0220956989, 0.0326640084, 0.0468260311, 0.0881685838, -0.0625251085, 0.0129272398, -0.0076064346, -0.0141076976, 0.0282560084, -0.0271070972, 0.0728517398, -0.0338718034, 0.0662798509, 0.0141889378, -0.0311248153, -0.0201061722, 0.0111822421, -0.0602659509, -0.0049079559, 0.0312435627, 0.0351462848, -0.0194600616, -0.0149295172, 0.0305518471, -0.0042411252, 0.0064764535, 0.0015148701, 0.0181749351, -0.0291247368, -0.0288420785, 0.0176467355, -0.0408122018, 0.0184988659, 0.0124594215, -0.0046874182, 0.0173189286, 0.0373588651, -0.0070134737, 0.0446292087, -0.051102303, 0.0161642861, -0.0148219606, 0.0228648875, 0.0878205448, 0.0225136299, 0.0126210963, 0.0481487885, 0.0176368356, 0.0000264004, -0.001872423, -0.0152459256, 0.0324815176, 0.056268394, 0.0405495241, 0.0529567339, -0.0273956433, -0.0038244715, -0.0935019925, 0.0166175682, 0.0907251835, 0.0363376662, -0.0001247557, 0.0149246361, -0.0048082299, -0.0237890519, -0.0199431963, 0.0109684747, -0.029459741, -0.0308729932, 0.0218169037, 0.0205125697, -0.0049747159, -0.0101292478, 0.0570958927, -0.0485653169, -0.0141650643, 0.011952267, 0.0080866897, 0.0175419021, -0.0011295619, 0.0450951159, -0.0773601979, -0.0545808189, -0.0209947266, -0.0242435932, 0.0163872764, -0.0107654417, 0.0255156551, 0.0227438733, -0.056674514, 0.0019165415, -0.0277933273, 0.0148498667, 0.0334703587, 0.0499875024, 0.0302446149, -0.027650943, 0.0104531255, 0.074349016, 0.0173348486, -0.0017012734, -0.033241462, -0.0325831473, -0.0069288956, 0.0121661164, -0.0218994878, 0.0313273296, -0.0566716194, 0.0034473673, 0.0161427967, -0.0571555719, -0.0201464314, 0.0043185456, 2.612e-7, 0.0333061554, 0.0326411985, -0.0037252875, 0.0474092998, 0.0208034478, 0.0238217842, -0.044628948, 0.0413690284, -0.0120257251, 0.0068612015, -0.0250624176, 0.0446714573, 0.0845318735, 0.0098033845, -0.1192208752, -0.0124480734, -0.0789079815, 0.0196296424, -0.0385043062, -0.0079478314, 0.0227454826, 0.116421327, -0.0174537972, 0.0020631161, -0.0076035713, -0.0427396819, 0.0678315386, -0.0417433083, -0.0355462916, 0.0424986631, 0.0383735858, 0.0568935648, -0.0237837881, -0.0158191547, -0.0200459976, 0.0284292363, 0.0166982897, 0.0932441577, 0.0187536776, -0.0418772995, 0.0442610122, -0.0242760181, -0.0324150398, -0.0392141528, 0.07915131, -0.0004578879, -0.0133487638, -0.051529754, 0.0238052942, -0.0119158151, 0.0253202822, -0.0552021712, -0.0218747687, 0.0205830485, 0.023018999, -0.0497132465, -0.0229380056, -0.0531991087, -0.0381811224, -0.0335750096, -0.0536868796, -0.0451421775, -0.0338473655, 0.0001398418, -0.0092957066, -0.0378211811, 0.0210976619, 2.309189546e-34, 0.0545795858, -0.0048819282, 0.0116043668, 0.0909406245, 0.0090244059, -0.0152771128, -0.0091528567, 0.0100197755, -0.0143999392, -0.0807933286, -0.0215876997 ]
http://arxiv.org/abs/2312.08676v2
http://arxiv.org/pdf/2312.08676v2
SEF-VC: Speaker Embedding Free Zero-Shot Voice Conversion with Cross Attention
2023-12-14T06:26:55
2024-01-30T14:11:29
Junjie Li, Yiwei Guo, Xie Chen, Kai Yu
cs.SD
cs.SD, cs.CL, eess.AS
Zero-shot voice conversion (VC) aims to transfer the source speaker timbre to arbitrary unseen target speaker timbre, while keeping the linguistic content unchanged. Although the voice of generated speech can be controlled by providing the speaker embedding of the target speaker, the speaker similarity still lags behind the ground truth recordings. In this paper, we propose SEF-VC, a speaker embedding free voice conversion model, which is designed to learn and incorporate speaker timbre from reference speech via a powerful position-agnostic cross-attention mechanism, and then reconstruct waveform from HuBERT semantic tokens in a non-autoregressive manner. The concise design of SEF-VC enhances its training stability and voice conversion performance. Objective and subjective evaluations demonstrate the superiority of SEF-VC to generate high-quality speech with better similarity to target reference than strong zero-shot VC baselines, even for very short reference speeches.
[ -0.0808150247, 0.0593546554, 0.0448704138, -0.0029781421, 0.0003220302, -0.0606699251, 0.0212825332, -0.0114447996, -0.130540669, -0.041224353, -0.0929718092, -0.0014936114, 0.0003487785, 0.0026657765, 0.0372854993, -0.05010546, 0.0274644084, -0.0029952533, -0.0061420794, -0.0064185746, 0.0166209415, -0.0056139533, -0.0286171734, -0.00849998, -0.0593310595, -0.0043348344, -0.0149355074, 0.0215288922, 0.0427398346, 0.0260308906, -0.0529406257, -0.006126273, 0.0320112221, 0.0495634973, 0.0000019137, 0.0007774916, -0.0342504978, -0.0077823792, -0.0226860736, -0.0160677042, 0.0430730656, 0.0088350661, -0.0276756529, 0.0344153643, 0.0028567913, -0.0320295841, 0.0290319975, 0.0556082278, 0.0622660406, 0.0696529448, -0.0163002983, -0.0344494097, 0.0035113057, -0.0072750077, 0.024614891, -0.0075483918, -0.0339485221, -0.061328575, -0.0310310479, 0.0058918362, -0.0337736569, 0.0378190391, 0.0045354804, -0.011027365, 0.0403703898, 0.0081673404, -0.0429092944, -0.0075678858, 0.011907693, 0.0826044828, -0.0049075009, -0.0029837028, 0.0169538073, 0.042850554, -0.0077319024, -0.0136725884, -0.0242887978, -0.0003633056, 0.0485395715, -0.0008995609, -0.0516541824, 0.070124805, 0.0071613858, -0.0682954565, -0.0491749495, -0.0185055006, 0.0074238479, -0.039053794, -0.0028277785, -0.0663896725, 0.0066871233, 0.0182152018, 0.008150111, -0.0017075628, -0.0024220028, -0.0190548711, -0.0721638352, -0.0153961815, -0.0281281844, -0.0026009232, 0.0425758548, 0.06460388, -0.0324860923, -0.0053688227, -0.0354804434, 0.0393638089, -0.0294499695, -0.0176010747, -0.0461113527, -0.0591575205, -0.0393225886, 0.0218709689, -0.072024785, 0.0141357249, 0.0102715082, -0.0654971227, -0.0438484997, -0.0124543123, -0.0676867515, 0.0050912774, 0.0018481724, 0.0293119755, -0.055615712, -0.0066713314, 0.0165374205, 0.0700370446, 0.0212192554, 0.0281448234, -0.0012755496, -0.0298424717, -0.020414805, 0.0471068174, 0.0408903398, 0.0154514341, -0.0030155589, 0.0335993953, 0.0200140849, 0.0091551449, -0.0125568397, -0.0205825847, -0.0067882985, -0.0218126439, 0.0052602277, -0.0616970658, -0.0021320074, -0.0418690294, 0.0107850218, 0.0086885542, -0.0057533486, 0.0248514842, 0.0096488064, 0.0505830236, 0.01138072, 0.0053108903, 0.0455334187, -0.0134579446, -0.0364416614, 0.0430575684, 0.030564066, -0.0389786735, -0.0238790829, -0.0448454544, -0.0103989374, 0.0507341288, 0.0645907894, 0.0335567109, -0.0463557579, -0.019387763, 0.0193136465, 0.0669067129, 0.1014741361, 0.0169997234, -0.0239689779, -0.0400229618, 0.0431207009, 0.0521303825, 0.0457285084, 0.0232242718, 0.081510365, 0.0167645868, -0.0530421548, -0.0045738458, -0.025357103, 0.0234276038, -0.0078635756, 0.0241946429, 0.0437456556, -0.0251198914, -0.061654456, 0.0251332894, 0.049352441, -0.0401800796, -0.0081249708, -0.0472289398, 0.0027029635, 0.0323193856, -0.023538759, 0.1034965888, -0.0214324333, -0.0704203174, 0.0240331553, -0.0019941947, -0.0102671003, 0.0180205554, -0.0312946886, 0.0139868166, 0.029699713, -0.0699138492, 0.0036585359, 0.0490570031, -0.0086529702, 0.000413769, 0.0367765464, -0.0504428186, 0.0258337073, -0.0189012736, -0.0178877041, 0.0105498154, -0.0388821587, 0.066445969, 0.0401010662, -0.0222843196, 0.0814352781, -0.0256016776, -0.0081880074, -0.0267981738, 0.0187973883, 0.0277489349, 0.0374939889, 0.0410715304, -0.0227491371, 0.0368406959, 0.0127169751, -0.0573620908, -0.0198560338, 0.0346765108, -0.0796107873, -0.0370060429, 0.0267596543, -0.0891679376, 0.0661430433, 0.0242825858, 0.0218661558, -0.0890011713, 0.0828344822, 0.0000943985, 0.0787339211, -0.0289287847, 0.0119740367, 0.0360420905, -0.0144397262, 0.0301218107, 0.0054102666, 0.0355797298, 0.0052798381, 0.0288564116, 0.0394452289, 0.0146261696, -0.0597654879, 0.0306935217, -0.019483434, 0.0001157382, 0.0430536494, -0.0400578938, -0.0374149568, -0.0137614654, -0.0128058288, -0.0907512382, 0.0314399935, 0.0068671708, -0.0069813789, 0.0021671604, 0.0242117755, 0.0191443264, -0.0090581188, -0.0480360836, -0.0139047438, 0.003353874, -0.005038871, -0.0142601449, -0.0316263884, -0.0063995612, 0.0055772681, 0.0159186516, 0.0258246362, 0.0257472862, -0.0775000602, 0.0300010834, 0.0051000933, 0.0040727425, 0.0120728826, 0.0176240467, 0.0221138019, -0.0075297495, -0.0148183331, 0.0149855632, 0.0035682968, 0.0326866023, 0.0134301232, -0.0575922653, -0.0317953303, -0.0002476714, -0.076062344, 0.0072429893, 0.0515314043, 0.0466134995, 0.0224726256, 0.0399317965, 0.0248962343, 0.0119083095, 0.0199224055, 0.0149348639, -0.0535839237, 0.0210539382, 0.0346494056, -0.0287458766, 0.0037580407, 0.0017504023, -0.0330510214, -0.0612258539, -0.0349442326, -0.0282464493, -0.0032891654, -0.0747276917, -0.0260379631, -0.0011839898, -0.0112210745, -0.0298082139, -0.0476443358, -0.0354285948, 0.0375777632, 0.0071097258, -0.0153179159, -0.0034679032, -0.0026893944, 0.0113598583, -0.0175605621, 0.0581232086, 0.0676439852, -0.0022997449, -0.0470363647, 0.0185088348, -0.0218055137, -0.0400926657, -0.0071917805, 0.0536316819, 0.0161796622, -0.0236171912, -0.0220047124, 0.0240747016, 0.0290948488, 0.0252479035, 0.0003719564, 0.0155429859, -0.0226822849, 0.0678051785, -0.0069123888, 0.0045163934, -0.024642555, 0.0051193717, 0.0113611566, -0.0070490274, 0.037224818, 0.0657606944, -0.0223328024, -0.0217964184, -0.0065982458, 0.0201249234, -0.0353164487, -0.0107482858, 0.0282184109, 0.0024704693, 0.0133087533, 0.0887949094, -0.0042652292, -0.0390124768, -0.0003863735, -0.0437189527, 0.0145106986, 0.0128165493, -0.005749532, -0.0922967717, -0.0472244918, 0.0258119963, 0.0183086116, 0.038278047, 0.0172653403, -0.0393704399, -0.071372427, 0.0053098062, 0.0631556138, -0.0505692139, -0.0239201952, -0.0409412347, -0.0080377022, -0.0074969474, 0.0145664411, -0.0126477275, -0.0285675693, -0.0159480013, 0.0246962998, -0.0101107303, -0.0254672654, -0.0211000815, -0.0501635671, 0.0864477903, 0.0313570835, 0.0633151904, 0.0207393039, -0.0489214472, -0.0352646112, -0.0466500185, -0.0165868402, -0.000151178, 0.0161971617, -0.0106488355, 0.0168928113, 0.0220162496, 0.0453040414, -0.0171122588, 0.0421049222, -0.0069528725, 0.0618047789, 0.0149119971, 0.0144874128, -0.0325847194, 0.0279582832, 0.0336581543, 0.0712589249, 0.0294079576, -0.0239547212, 0.0007721289, -0.0001058019, 0.0638335198, -0.016704876, -0.0355622955, 0.0162782371, -0.0186272971, -0.0308386553, -0.0190440435, -0.0044523436, -0.0216685571, 0.0813963711, -0.0278493762, -0.0404248163, -0.0357297175, -0.0040901536, -0.0065766773, -0.0001124582, -0.0608771034, 0.0435886383, -0.0469351858, 0.0131873358, 0.0512929484, -0.030110158, 0.0437852256, -0.0241666343, 0.0001340046, -0.0194205493, -0.0279412735, 0.0019283184, 0.0110127488, 0.0717672035, -0.0055866675, 0.0278520677, 0.1242920309, -0.0051381937, -0.0256731771, 0.0274537429, 0.0975729302, 0.0181207508, 0.005307903, 0.0341808647, -0.0134930657, 0.0237041265, -0.0162005164, -0.0041955751, 0.000064022, -0.0337788463, 0.0055520358, -0.0115489885, -0.003629222, 0.008690333, 0.0828835368, 0.0219509266, 0.0185630117, -0.0402305163, 0.0415683724, -0.0450271741, -0.0601434186, 0.0431908853, 0.0029839419, 0.0195972752, 0.0077171223, -0.0523468405, 0.0300812554, -0.0188785233, 0.0601273701, 0.031916678, 0.0115749296, -0.0191410985, -0.0024490475, -0.0041228761, 0.0108871022, 0.0018521999, 0.0151555166, -0.03442185, -0.007990811, -0.0031600911, 0.0192862842, -0.0171414204, 0.0073385318, -0.0408455655, 0.0193533953, -0.0259297825, -0.0294632521, 0.0238227081, 0.0032194629, 0.0856244639, 0.0587090403, 0.0138759641, 0.0060695689, 0.0258959495, -0.0538493618, 0.0012870941, -0.0038206934, -0.0204640124, 0.0145730795, 0.0134967277, 0.037124794, 0.0136390068, -0.0103608109, -0.0432655811, 0.0411214419, -0.0233452655, 0.0112367906, 0.0266206954, -0.0047195219, 0.0009071112, -0.0378827006, -0.0150975585, -0.0385389514, 0.0627853572, -0.0347760879, -0.0223162211, -0.0099645248, 0.0223580711, -0.0439165197, -0.0076233763, 0.0214029886, 0.0167503357, -0.0165105648, 0.0358254351, -0.0423164405, 0.0188291166, -5.644808361e-33, -0.0395160168, 0.035439644, 0.0059861992, -0.0232991781, -0.0775668025, 0.0272209384, -0.0138920508, -0.0126250982, 0.0068392511, -0.01760149, -0.0213161241, -0.0149861258, -0.000057889, 0.0295936223, -0.0111258235, 0.004129569, 0.0764522403, -0.0179867465, -0.0093751093, 0.0425164923, 0.0650779158, 0.0269607902, 0.0171503443, -0.0416850038, -0.0770892426, -0.0292350277, -0.0039162957, 0.0105937691, 0.0490050167, 0.0041578375, 0.0248355996, 0.0369738787, -0.0387925357, -0.0519950129, -0.0256235283, 0.0433423482, -0.068675071, -0.0342431255, -0.0462505035, -0.0102959573, -0.0100106951, -0.0221475642, 0.0213513095, 0.0136493454, 0.0131704975, -0.0440961272, -0.008294981, -0.017026728, -0.0189856421, -0.0649273396, -0.0513000302, 0.0120352497, -0.0005813758, -0.0399913825, 0.0572165959, 0.0952099338, -0.0112625593, -0.0353246108, -0.072820954, 0.0298370179, -0.0186925419, 0.0290325955, 0.0437932052, 0.0363249779, -0.0017823591, 0.003848796, 0.0197783038, -0.0666659921, 0.0134062106, -0.0609449074, 0.0631956831, 0.0290126242, 0.0196903292, 0.0171770416, 0.0465907343, -0.036301814, -0.0093197785, 0.0021374989, 0.0264826939, 0.0093420567, 0.0006069259, 0.0504867211, 0.004054572, -0.0018304001, -0.0418148674, -0.0643141493, -0.0160262808, -0.0395532623, 0.0213831495, 0.0091476934, 0.017766878, -0.0381771363, 0.0860160813, -0.0168600213, 0.0231230017, 0.0292648617, -0.0031361715, 0.0113608176, -0.0254046675, 0.0082446756, -0.0503793843, -0.02686451, 0.085257262, 0.0445208699, 0.0205793418, -0.0044322084, 0.0296976194, 0.0437248424, -0.0503073335, -0.0575749613, 0.0055130483, 0.0243241414, -0.020018626, -0.0004086916, -0.005357442, 0.0095068552, 0.0311569571, 0.0216007885, -0.0155994548, 0.0056694262, 0.0477492996, 0.00835054, 0.0328749493, 0.0233927239, -0.0562901534, 0.0292650238, -0.0247487314, 0.0115921805, 0.020879671, -0.0604988001, -0.0210384168, -0.0060639293, 2.693e-7, -0.0444450006, -0.0364862233, 0.0210018586, -0.0609781295, 0.0417793505, 0.0376005806, 0.0032014328, 0.0690900981, -0.0113427509, -0.0174798202, 0.0123679349, -0.0174873192, 0.070664674, 0.0438178144, -0.0900310427, -0.0417248532, -0.0583957285, 0.0142801162, -0.0107122399, 0.0083928462, 0.0368224382, 0.0569391474, -0.0160683822, -0.0300616045, 0.0355036296, 0.0414112583, 0.0487660952, 0.0047343685, -0.006542251, -0.0366675071, 0.0331025496, -0.0450570434, -0.0422405526, 0.0059067924, -0.009929209, 0.0498369373, 0.0310816187, 0.0171544738, -0.0196471773, -0.0775545761, -0.0301856808, 0.032695327, -0.0442727022, 0.0352383405, 0.031238066, -0.0223666672, -0.0083782412, -0.0338875838, -0.0934193134, 0.0799165219, 0.0124234455, -0.0131781278, -0.0181469303, -0.0077659939, 0.0418258086, 0.0051750508, -0.0490222946, -0.0213367958, -0.0021912826, -0.0113156997, -0.0450306945, -0.0134868026, -0.0199114103, -0.0070608128, 0.0138694169, 0.0126760816, 0.0061779157, 2.09107037e-34, -0.0001049293, -0.0072250869, 0.0549536496, -0.0401457101, -0.039541658, -0.0295138862, 0.019145295, -0.0160480384, 0.0310014766, -0.0374521054, -0.0361754932 ]
http://arxiv.org/abs/2312.08642v2
http://arxiv.org/pdf/2312.08642v2
Metacognition-Enhanced Few-Shot Prompting With Positive Reinforcement
2023-12-14T03:49:52
2023-12-24T12:48:17
Yu Ji, Wen Wu, Yi Hu, Hong Zheng, Liang He
cs.CL
cs.CL, cs.AI
Few-shot prompting elicits the remarkable abilities of large language models by equipping them with a few demonstration examples in the input. However, the traditional method of providing large language models with all demonstration input-output pairs at once may not effectively guide large language models to learn the specific input-output mapping relationship. In this paper, inspired by the regulatory and supportive role of metacognition in students' learning, we propose a novel metacognition-enhanced few-shot prompting, which guides large language models to reflect on their thought processes to comprehensively learn the given demonstration examples. Furthermore, considering that positive reinforcement can improve students' learning motivation, we introduce positive reinforcement into our metacognition-enhanced few-shot prompting to promote the few-shot learning of large language models by providing response-based positive feedback. The experimental results on two real-world datasets show that our metacognition-enhanced few-shot prompting with positive reinforcement surpasses traditional few-shot prompting in classification accuracy and macro F1.
[ 0.0512903146, -0.0029542441, -0.0288763903, 0.0130747575, -0.046647273, 0.0233215671, 0.0347660072, -0.0461109281, -0.0249877591, -0.0562306531, -0.0356610268, -0.0031702716, -0.011320903, -0.0082955807, 0.0165321324, -0.0633628666, 0.0578795038, -0.0630697459, -0.0102991071, -0.0241926108, -0.0132899107, -0.0301851258, -0.03743257, 0.034472663, 0.0064583616, -0.028402267, 0.0022608701, -0.0278805923, -0.0139279962, -0.0304446891, -0.0226883627, 0.0582746901, -0.0079234866, 0.050806541, 0.0000021037, -0.0624904521, -0.0123025477, -0.0145123024, -0.057471782, -0.0285027362, 0.0518777259, 0.0157317389, -0.0124817062, 0.0140875289, -0.0245486032, -0.0242716335, 0.0490922034, 0.0255323648, 0.0380800962, 0.0215798672, 0.0108461659, -0.0298499372, 0.0040824907, 0.007077544, 0.0425759032, 0.0352907032, 0.0149254072, -0.0098474761, 0.0163434595, 0.0074745277, -0.0408442095, 0.0298576988, 0.0224416275, -0.0323350057, -0.0113522261, 0.0386064425, -0.036946442, -0.015039308, -0.0193552468, 0.0477191471, 0.0120481988, -0.0381954126, -0.0282075536, -0.0339884944, 0.0521163978, 0.0740654841, -0.0592200309, 0.0106193805, 0.0200028047, 0.0043846578, 0.0076917317, 0.0000318056, 0.0157140177, 0.0098151071, 0.0175361782, 0.0191498734, -0.0045129685, -0.0639303848, 0.0067859381, 0.0173088573, -0.0189045146, -0.0261144042, -0.0456882194, 0.017769739, -0.009256687, 0.0159983542, -0.0160838887, -0.0332270563, -0.0009586492, -0.0139749916, 0.0527104251, 0.0514724813, -0.0308365878, 0.0456636958, -0.0495937914, 0.0356386453, 0.0129731977, 0.0332862884, -0.0302029718, 0.0013948195, -0.0798559785, -0.0188704301, -0.0356586799, 0.0533461981, 0.0383612439, 0.013990961, -0.0618636683, 0.0126149449, -0.0256222337, 0.0237835199, -0.0370000415, -0.0365221165, 0.0295373127, 0.0010030174, -0.036240302, 0.0447925553, -0.0277530272, 0.0026635327, -0.0081724124, -0.0223817583, 0.0058862106, -0.012342507, 0.000514444, -0.01377971, -0.0019894848, 0.0456808507, -0.0001425675, -0.0597457923, -0.0383388512, 0.017029658, 0.0058251261, -0.0519430637, 0.011131349, -0.0534357429, -0.0344289988, 0.003587875, 0.0067387158, 0.030563252, 0.0196772199, -0.0259034354, 0.0255241059, 0.0761748329, -0.0147741679, 0.0035774382, 0.0096754283, -0.0073566781, -0.0436025262, 0.0797651708, 0.0359820314, -0.0199633613, 0.0027696562, -0.0226607714, 0.0437646322, 0.0000514211, 0.0412671603, -0.006047931, -0.0311851315, -0.0128048938, 0.0215990394, 0.0191878267, -0.0275756568, 0.0205476414, -0.0243453309, 0.0691257119, 0.0518263653, 0.0504245237, -0.0187336709, -0.0163817685, 0.0203442108, 0.0099308984, 0.0075117587, 0.0150255635, -0.0700699612, 0.0547484644, -0.0377877355, 0.0076890178, -0.0038717212, -0.008385432, -0.0275213774, -0.0446490459, 0.0003009588, -0.0078011672, -0.0167583209, 0.046574045, 0.0634057075, 0.0058348188, -0.0099098748, -0.0105764829, 0.0290289801, -0.0520860292, 0.0305414312, -0.0965844095, 0.0613273121, 0.0703830421, 0.0334111974, -0.0376640968, -0.0508163497, -0.0438359939, 0.0290230308, 0.0538110584, 0.0515987612, -0.0363724865, -0.037364684, -0.0304811243, -0.0061824764, 0.0271120872, 0.0092776427, -0.0314982124, -0.0099639576, -0.0001901158, -0.0173136406, 0.0171484854, -0.0109117758, 0.0203407444, -0.0084715197, -0.0466922708, -0.0231529027, 0.0458152443, -0.0079653021, 0.0056606014, 0.0055927001, 0.0003731867, 0.0261448063, -0.0123527832, -0.0075060474, 0.0318762437, -0.0485759564, -0.0822233185, 0.0278878715, 0.0229233205, -0.0105711287, -0.0230096411, -0.0181210451, -0.0455594547, 0.0083564585, 0.0085538439, 0.0625444129, -0.0067308722, 0.0382412598, -0.0466788113, -0.0246437211, -0.0247870851, 0.0404968932, -0.0095029036, 0.0441630222, 0.054743208, -0.0248306822, 0.0010434253, -0.0045178765, -0.046899803, 0.0103765, -0.0164304767, 0.0245975237, 0.0036935776, 0.00083437, -0.0665879771, -0.0098025817, -0.0269393325, -0.0328904167, -0.0109054502, 0.0095045418, -0.0144353295, -0.0217861328, -0.0136806807, -0.0219432842, -0.0203171056, 0.0281214304, -0.0060017081, 0.0334263034, 0.0054933429, -0.002315178, 0.0066660196, -0.0204633959, -0.0098443227, -0.0143558308, 0.0395310409, 0.0149735259, 0.0056283409, -0.0164695513, -0.0035863575, 0.0104715703, 0.0042270767, -0.0104217026, -0.0473860353, 0.0346915349, -0.0282359142, 0.0503106825, 0.0549768656, -0.0101719061, -0.0135792382, 0.0725421607, 0.0166632552, -0.0831528381, 0.0135794245, -0.0132367453, -0.0328294337, -0.0186678693, 0.0072730142, -0.0410484783, 0.0531090125, 0.0117821237, -0.0259886254, -0.0724058971, 0.0345098376, -0.0470212474, -0.0334121734, -0.0480000898, -0.0030643912, -0.0092503522, 0.0160095561, -0.0016918104, -0.0429736935, 0.1011927575, 0.0356965028, -0.0169493034, 0.0007322684, 0.0346800946, 0.0164775308, 0.0389375985, -0.0261308514, -0.0032918246, 0.0412308797, 0.0102773383, -0.0810776725, -0.0603579991, 0.0372454077, -0.0310492218, 0.0424869172, -0.0371410847, 0.0015826195, -0.0136768622, -0.0431175828, -0.070495449, -0.0263695195, -0.0187377743, 0.0132264877, -0.0573324785, -0.0083983969, -0.0011532108, -0.0096498514, 0.0588637851, 0.0181934237, -0.0352867022, -0.0345620103, 0.0076387562, 0.0045807194, 0.0517253764, 0.0048347847, 0.0148631865, -0.0437528603, 0.0925961584, 0.0015598567, 0.0449508466, 0.0269430466, 0.0000983727, -0.0059595443, 0.033745382, -0.0044507571, -0.0019612203, 0.0292463042, 0.0416620262, -0.0717852488, -0.0232105311, 0.1058216617, 0.0468964987, -0.0460199118, -0.0139950132, -0.0575166121, 0.007233982, 0.0440695062, 0.0337017104, -0.0511338226, -0.037845701, -0.0053484235, 0.0183986202, -0.0112297311, -0.0061460086, 0.0053752535, -0.1247457415, 0.0212953985, 0.0132904239, -0.0373827256, 0.0095935399, -0.0235652104, 0.0000344219, 0.0038373501, -0.0221238229, 0.0042838096, -0.0255327728, 0.0108148688, 0.0459324569, 0.0439978726, -0.0849094093, 0.0139540583, -0.0125976084, 0.0875516459, 0.0676099062, -0.0070678568, -0.016548967, -0.0133560821, 0.0248387177, 0.029896412, 0.0087685008, -0.0209414791, 0.0679929629, -0.0071094413, 0.0099222092, -0.0199261997, 0.035196472, 0.0009367404, -0.0348199308, 0.0234060809, 0.116896145, -0.0023470114, -0.0192221757, -0.0396325886, -0.0114696631, 0.027686853, 0.078746736, 0.0450326689, -0.0810554549, 0.0358222015, -0.0253260303, -0.0389168486, -0.0255705826, -0.0190509278, 0.0345219858, 0.0379763357, 0.0173084885, -0.0437899083, -0.0530944914, 0.0790155381, 0.0093379188, 0.0108513255, 0.0260343738, -0.0097311372, 0.022868406, -0.020364251, 0.0005448292, -0.0152982697, 0.0157268997, -0.079283908, -0.0159602575, 0.062578544, -0.0436430126, -0.0043013911, -0.0362383351, -0.0703741014, -0.0674532726, -0.0151397884, 0.0990124494, 0.0152834132, -0.0035967771, 0.0165113285, -0.0644789636, 0.0630155951, 0.0740768015, 0.0095678903, -0.0268273242, 0.062110927, 0.0135308085, 0.0003437749, 0.0321743712, -0.0258304309, 0.0121472366, 0.0495760404, 0.027132215, -0.0245664623, 0.0532737486, 0.0450182483, 0.0084690312, 0.0751239732, -0.0473099612, 0.0013566122, -0.0562677532, 0.0126784593, 0.0052130674, -0.037427444, -0.0108196856, 0.0011615686, 0.0311893579, -0.0298353899, 0.0027107601, -0.0589344949, -0.0225069541, 0.0062174704, -0.0153579013, 0.0467513427, 0.004226265, 0.0240390953, 0.0417676717, 0.0323055238, -0.0252678506, -0.0078392178, 0.0504501015, -0.0103871496, -0.0244535599, 0.0976183116, 0.0282841548, -0.008006799, 0.0150530674, 0.0081904139, -0.056936834, -0.0140266474, 0.0144313034, 0.0388452597, 0.0559524521, 0.0333094783, 0.0064877393, -0.0121750403, 0.0061342297, -0.0078256726, 0.0389100425, -0.0120810708, -0.0439745635, 0.0357818566, 0.0109778428, 0.0081668785, -0.0248170085, 0.0469111279, -0.073117964, 0.0221907683, -0.0011093735, 0.0576307066, -0.0449055694, 0.0007201877, -0.0009222468, 0.0165934041, -0.0346278213, 0.0751386434, -0.0786379203, -0.0310294405, -0.0193943605, 0.0309853312, -0.0059330193, -0.0357665159, 0.0305478293, 0.0127259931, -0.0261233635, -0.0468999445, -0.0494764857, 0.0313630775, 0.0198339932, -0.0139218019, -0.0415481478, -6.243599306e-33, -0.0302039031, -0.0156749934, 0.0398350954, 0.0130561814, 0.0160123184, -0.0352163464, -0.0109279491, 0.030950075, -0.0234219693, -0.0008633338, -0.0216600113, 0.019780308, -0.0017934873, 0.0118908994, 0.0465879887, -0.0223910008, 0.067652069, -0.0004167947, -0.0379137434, 0.0097778002, 0.0234840494, 0.0223499667, 0.0705865324, -0.0145791788, 0.0362700894, 0.0016053993, -0.0098345261, 0.0121211717, -0.0595680289, 0.0679103062, -0.0124105345, 0.0513167046, 0.0124870781, -0.0026370024, -0.0237485133, 0.0107430192, -0.0412192456, -0.0767535865, 0.0126915751, 0.004185759, -0.0346863195, -0.0307462178, 0.0030331025, -0.0112299938, -0.0137531478, 0.0176810045, 0.034833394, -0.0181112122, -0.0428453796, 0.0197831541, -0.0662361905, -0.0044414061, -0.0064823888, -0.0298931375, 0.0561938807, 0.0802583694, -0.015747359, -0.0197032578, -0.0215375312, 0.0648698658, 0.0538046248, 0.0387683958, 0.061018806, 0.0604908317, 0.0227004699, 0.045708973, 0.0181985535, 0.0217157975, 0.03509444, -0.0181252696, 0.0582153872, -0.0144929877, 0.058792036, 0.0989861861, 0.0621868484, -0.0206729062, -0.009339815, -0.0073768264, 0.0353016704, 0.0040824041, 0.0416547172, -0.0272235908, -0.0379486792, -0.037643034, -0.0790565833, -0.0187899731, -0.0382108688, -0.0197943002, 0.0481294505, 0.0038570855, -0.025796622, -0.0266741235, 0.0365963392, -0.0317472219, -0.0470438823, 0.0212962274, -0.0150046824, 0.0414223485, -0.0189794991, -0.0155616701, -0.087460354, -0.0255588647, -0.0202574376, -0.0068018413, 0.0120698456, 0.0518649444, 0.0721809119, 0.0709557086, -0.0748817697, -0.0038292757, -0.0264226906, 0.003858882, 0.0437199064, -0.0621881336, 0.0056793801, 0.0314671956, -0.0069531924, 0.0331492424, 0.0165491812, -0.0609341748, -0.0208531339, 0.0184430685, -0.0472186878, 0.0266401153, -0.0349842235, 0.0025084033, -0.0487131849, 0.0457008891, 0.0587334968, -0.0763328969, -0.0086628264, 0.0061961571, 2.781e-7, -0.0180306491, 0.0589158088, -0.0349233039, 0.012686152, 0.008241497, 0.0572302565, -0.0397832207, -0.0276652947, 0.0380986147, 0.0356441215, 0.0195206981, 0.0154228723, 0.0421275795, 0.0242829937, -0.069433108, 0.0194303282, -0.0421968438, 0.0085048079, -0.0106884157, 0.0130272591, 0.0645952001, 0.041674912, 0.0540109985, 0.0050312495, -0.0266147424, -0.0070026843, 0.0634837523, -0.0627815425, 0.0152081512, 0.0083626006, -0.025825683, -0.005084984, 0.0041747969, 0.0242777616, 0.0023377419, -0.0029619033, -0.0543559417, 0.0243933536, -0.0044390899, 0.0207889695, -0.011246318, -0.0086142505, -0.0077466262, -0.0126436865, 0.0384161696, -0.11033272, 0.0087238476, -0.0470691957, 0.0119527988, -0.0184112582, 0.0258316975, -0.0434533171, -0.0490429811, -0.0067135333, 0.0084887436, 0.0178242456, 0.0050689112, -0.034639474, -0.0212360118, 0.0013071295, 0.0165685266, -0.0302124154, -0.0280501042, -0.0143300584, -0.0191767365, -0.0591773205, 0.0084608803, 2.022478668e-34, 0.0222936869, -0.0143664926, 0.041046273, 0.0156790148, -0.0387184583, -0.0075469031, -0.0470747612, 0.0064364029, 0.0525627248, -0.0269543622, -0.0335626639 ]
http://arxiv.org/abs/2312.08618v1
http://arxiv.org/pdf/2312.08618v1
Zebra: Extending Context Window with Layerwise Grouped Local-Global Attention
2023-12-14T02:45:31
2023-12-14T02:45:31
Kaiqiang Song, Xiaoyang Wang, Sangwoo Cho, Xiaoman Pan, Dong Yu
cs.CL
cs.CL
This paper introduces a novel approach to enhance the capabilities of Large Language Models (LLMs) in processing and understanding extensive text sequences, a critical aspect in applications requiring deep comprehension and synthesis of large volumes of information. Recognizing the inherent challenges in extending the context window for LLMs, primarily built on Transformer architecture, we propose a new model architecture, referred to as Zebra. This architecture efficiently manages the quadratic time and memory complexity issues associated with full attention in the Transformer by employing grouped local-global attention layers. Our model, akin to a zebra's alternating stripes, balances local and global attention layers, significantly reducing computational requirements and memory consumption. Comprehensive experiments, including pretraining from scratch, continuation of long context adaptation training, and long instruction tuning, are conducted to evaluate the Zebra's performance. The results show that Zebra achieves comparable or superior performance on both short and long sequence benchmarks, while also enhancing training and inference efficiency.
[ 0.0271044448, 0.0708913878, -0.0016246964, 0.0321363322, -0.0092265122, 0.0085424362, 0.033166118, -0.0461164378, -0.0333475024, -0.0411110781, -0.0419522785, -0.0652863085, 0.0043843277, 0.0186059475, 0.0164931193, -0.0498534702, 0.0402860492, -0.0317949653, -0.015164095, 0.0128141437, -0.0202204026, 0.0003889925, 0.0131485583, 0.0335009806, 0.0188160185, -0.015945835, -0.0251763295, -0.0162800811, 0.0406743363, -0.0365389548, -0.0169565622, 0.0456706919, 0.0383264385, 0.0224160012, 0.0000021768, -0.0226979498, -0.0064975596, -0.0097370483, 0.0087160906, 0.0378266498, 0.0407159925, 0.0023322199, -0.0193081964, 0.0019765629, -0.0102261445, -0.017148722, 0.0455002859, 0.0667217374, 0.0480798259, 0.0654414594, -0.0194958095, -0.0458929986, 0.0318957865, -0.0593282133, 0.0213913526, -0.0767529383, 0.0296259616, -0.0169277973, 0.0445740856, -0.0053740209, -0.038366124, 0.0425674543, 0.0710518733, 0.0208653379, 0.0143970428, 0.0360781997, -0.0120950099, -0.0205620322, -0.0206426587, 0.0666057393, -0.0763002411, -0.0096931932, -0.0224911999, -0.0029510339, 0.027789373, -0.03188302, -0.0401587933, 0.0451505147, 0.0033267757, 0.0043623443, 0.0167132784, 0.0072344774, 0.0323652737, 0.0127534019, -0.0928634182, 0.0226166844, 0.0096115069, -0.0067642601, -0.0414155386, -0.0099786837, -0.0289226081, -0.0415586531, 0.033421807, 0.0796441138, -0.0216378644, 0.0090120938, -0.0518810041, 0.0009084546, 0.0076346728, -0.0349262767, 0.031373892, 0.0501351841, -0.0227270573, 0.0620718524, -0.0377614982, 0.0522533543, -0.0636309609, -0.0084941546, -0.04972177, -0.0130308773, -0.0131326476, 0.0153321968, -0.0502629094, 0.0065351278, -0.0731053799, -0.0569927916, -0.0199095998, 0.0527527854, 0.032091178, -0.0271322727, 0.0015577142, 0.0146374814, -0.0350554697, -0.0289163496, 0.0183207653, 0.0347026512, -0.0238369294, -0.0014546255, 0.0190505218, -0.052299168, -0.0251530241, 0.0286237039, 0.0067184889, -0.0226385873, 0.0021471286, 0.0785647929, -0.0210175011, -0.0633131415, -0.0497481488, 0.0282934848, -0.036715921, -0.0371838175, 0.0080360258, -0.0345657989, 0.022049984, 0.0009183662, 0.005698713, 0.0231880397, 0.0051437668, 0.0270697735, -0.0021670344, 0.0361002795, 0.0310366116, -0.0260060504, 0.0150474701, 0.0149887418, 0.0433994979, 0.057917878, 0.0363200866, 0.0404345654, -0.0163063519, -0.0435528196, -0.0201341808, 0.0338261649, -0.0043878895, -0.0101362653, -0.0360809751, 0.0208057016, -0.0069251168, 0.0167071093, 0.0504484661, 0.0378220342, -0.0230456926, -0.024502743, 0.0658499524, 0.0438420586, 0.0292759053, 0.044497855, 0.0438714549, 0.0139408438, -0.0245496724, -0.00447377, -0.0533437207, 0.0641151816, 0.0276052784, 0.0333318934, 0.0267988555, 0.0415433869, -0.0298476927, -0.0040903538, -0.0094915032, 0.0110510085, -0.0054554567, 0.0361060053, 0.0245193448, 0.0054302104, -0.0592247695, 0.0636839792, 0.0111874957, -0.0275075752, -0.0232889764, -0.0363794826, 0.0376195572, 0.0724487528, 0.0241965186, -0.0257474221, -0.0220970102, -0.0210570768, 0.0143130673, 0.0522335097, 0.0158356205, 0.0131871905, -0.0015914307, -0.0601036288, -0.0015367379, -0.009943164, -0.0103597008, 0.0247491151, 0.0392816998, 0.0027985976, 0.0175892152, -0.0421950035, -0.0066021346, 0.0304178558, -0.0408331789, -0.031925302, -0.008572842, -0.0016737453, 0.0279867053, 0.004495204, -0.02197407, 0.0136641646, 0.0383418091, -0.0492984541, -0.0041627684, -0.008342078, -0.1156546548, 0.0008367727, 0.0158520564, -0.0184899364, -0.0047412165, 0.020654073, -0.0282674637, -0.035195075, 0.0040707951, -0.0659077615, 0.0464025401, -0.0170866773, 0.0279303249, 0.0179838222, 0.0698655546, -0.0457676537, 0.0348762907, -0.0290186945, -0.0052636657, 0.0222024154, 0.037468899, -0.0326637737, -0.0310491491, 0.0096641975, 0.0168106612, -0.0077757724, -0.0195563976, -0.0287996512, -0.0071058492, -0.0258228723, -0.0392829776, -0.047274977, 0.0215439908, -0.0211802274, 0.0131890215, 0.0182582475, 0.0228386838, -0.0037488926, -0.0074064708, -0.0208144411, 0.036255952, 0.0001158399, -0.01214479, 0.0087652551, -0.0057155364, -0.0360970162, -0.0373108648, -0.0183356032, 0.0209114794, 0.0624338612, -0.0109388605, -0.0384935103, -0.0433020182, -0.0193809923, 0.015202417, 0.0405733548, -0.0231510568, -0.019383125, -0.0118910326, -0.0245007724, 0.0705267787, 0.081639871, 0.0516282953, 0.0328045748, 0.0389756076, -0.015245121, 0.0054189735, 0.0418745577, -0.0171987582, 0.0038740416, -0.0549144857, 0.0022004424, 0.0100759305, 0.1152114347, -0.0358222276, 0.007696555, -0.0438485369, -0.0154887084, 0.0158812553, -0.0326876901, -0.0006449028, -0.0070231273, -0.0195040703, -0.0007461673, -0.0524756573, -0.0387986191, 0.0445416905, -0.0491922051, -0.0195041727, -0.0390104912, -0.0122870496, -0.0564989783, 0.055650644, 0.0044848793, 0.0047981022, -0.027284652, -0.0134520093, -0.0263256077, 0.0102558685, -0.0473591723, -0.0079808142, 0.0747876093, -0.0306708943, 0.012213151, -0.0438162573, -0.0113968411, -0.0493668988, 0.0109684328, -0.0393601283, 0.0219650008, 0.050078176, -0.0304707438, -0.094417274, 0.0481301397, 0.0401546881, 0.0778847486, -0.0041588848, 0.017543925, -0.0159433652, 0.0298881195, 0.0367310196, 0.0299386978, 0.0310523398, -0.0434128046, 0.0599620864, 0.0472752154, -0.0020340134, 0.0121745029, -0.0103608416, -0.0216036513, 0.0369718596, -0.0324478075, 0.0096728737, 0.0234415531, 0.0576495491, -0.0947739035, -0.0275284164, 0.1148127541, 0.0187263116, -0.0724706724, 0.0032442291, -0.0101526361, -0.0144941816, 0.0148172397, 0.025521012, -0.0645840392, -0.0417130329, 0.0025115323, -0.0218996108, 0.0267934576, 0.0011182599, -0.01294827, -0.080476366, 0.0109858261, 0.0067325276, -0.0991228148, -0.0380810909, -0.0240437258, -0.014630286, 0.024251733, 0.0304526631, 0.0262590796, -0.0158268772, -0.0303759445, 0.002387634, 0.0176466964, -0.0259346869, 0.0327318013, 0.0080369813, 0.0056159445, 0.0276713241, -0.0128170904, 0.0107722469, -0.0583925657, 0.0299898647, -0.0296393968, 0.0316202939, 0.0005711676, 0.0179403536, -0.0345864967, -0.0196881201, -0.0335714221, 0.0185749158, -0.0432261899, -0.0287872236, 0.0138524529, 0.0593769066, 0.0025983816, -0.026088113, -0.0312507488, 0.0049877898, -0.0270272978, 0.0663971379, 0.0549022742, -0.0674437284, -0.0323237404, -0.0120610232, -0.0477161929, -0.1038364023, -0.0114686675, 0.0347581953, 0.0141667295, -0.0585712865, -0.0228647757, -0.0080573801, 0.0146351578, 0.0243395455, 0.0008476269, -0.038147375, 0.0337244533, -0.016839575, -0.0721995309, 0.0435212664, -0.0237135477, 0.0110704722, -0.0675205886, 0.0191961136, 0.0235692505, -0.0289289206, -0.0056545353, 0.0780672729, -0.0989896581, -0.0432476252, 0.0222814027, 0.021570988, 0.0095490804, 0.0384534486, 0.0143095693, -0.0392225944, 0.0202442892, 0.0189797189, -0.0147351967, 0.0513866395, -0.0016107288, -0.0131971994, 0.0013744208, 0.0207096227, -0.0250126403, 0.0598172583, 0.0481559969, 0.0174109563, -0.0186928976, -0.0132031627, -0.0115890782, -0.0598398931, -0.0006033518, 0.0122515578, 0.010548044, 0.0062565627, 0.0552569404, 0.0080502667, 0.0218917485, -0.0283901859, -0.0194239486, 0.033454679, -0.0111102359, 0.0261491798, 0.0183518119, 0.0306336507, -0.0304139797, -0.0256965961, 0.062223088, -0.014087704, -0.0165979862, 0.0243534297, -0.0042161765, -0.0301682912, -0.0167725887, -0.0247202627, 0.034280736, -0.014287821, 0.0660643056, 0.003276556, -0.0087837242, -0.0223117247, 0.0238268226, -0.0796003118, -0.018335171, -0.0273177493, 0.048059959, 0.0537926219, -0.0143475318, 0.0235671103, 0.0224648416, -0.0203596838, -0.0273818821, 0.01168539, -0.0144519107, -0.0321492478, 0.0021735339, 0.0380809978, -0.0040083802, -0.0236359667, 0.0510256067, 0.0346784405, 0.0077806246, 0.0147106955, -0.0026113417, -0.0487233326, -0.016860418, 0.0096009104, 0.0164189991, -0.0190447215, 0.0247232523, -0.0172753315, -0.0621261001, 0.0160046797, 0.0019182233, 0.01576191, -0.0104066441, 0.0130707407, 0.0303747524, -0.0095344791, -0.0347320288, -0.0071058143, 0.0556408912, 0.0115007814, -0.0156468935, 0.0032660803, -6.800298002e-33, -0.019231528, -0.0104987975, 0.0282673091, -0.0394414477, -0.060310889, 0.0191622432, -0.0541013777, -0.0263235159, -0.0108649964, -0.0234575905, -0.0040697148, 0.0130296154, 0.0098732831, 0.0637718588, -0.0019592335, 0.0082764244, 0.0596195906, 0.0356986076, 0.00646452, 0.0302554239, 0.0027552196, 0.0596806407, 0.0588841513, -0.004227113, -0.032973934, -0.0065519265, 0.0215104427, -0.0121250357, -0.007815442, 0.0562785342, -0.0578710437, 0.0282796063, 0.0343945734, -0.0819906965, -0.0345645398, 0.0477181971, -0.0868180096, 0.0107626179, 0.0083092488, 0.0116606364, -0.0373760797, -0.0468709171, 0.0437333696, 0.0315037183, 0.025387058, -0.0459895097, 0.0199161842, -0.0348363146, -0.0544859171, -0.0004692472, -0.0612028725, 0.0349076428, -0.0017558961, 0.0011837324, 0.0120325256, 0.0319396406, -0.0227260552, 0.0471309796, -0.0422502458, -0.014332477, 0.0501301847, 0.0528278239, 0.0491007529, 0.0749772638, 0.020667091, 0.0202058945, 0.01226951, 0.0011519389, -0.0594256669, -0.0258671176, 0.0248023029, 0.0023910347, 0.0420920737, 0.0077419654, 0.0505146123, -0.0013846953, -0.0709333122, -0.022212727, 0.0017553918, 0.0642760918, 0.0625331029, 0.0337097868, 0.0134684695, 0.0152325444, -0.0097997077, 0.0194920395, -0.0421329588, 0.0205304306, 0.0500208586, 0.0356494002, -0.0185684077, 0.0102901673, 0.0473230705, -0.0256177839, 0.0065879831, 0.0150036961, 0.0156577509, 0.0212914497, -0.0000918639, 0.0183826778, -0.0550672822, -0.0239500795, 0.0210189912, 0.0104129706, -0.0078729587, -0.026619399, 0.0448449478, 0.0084380945, -0.0814816356, -0.0261485539, -0.0390213616, 0.0316429026, 0.0178142916, 0.0486881323, 0.0278886836, 0.0003251129, -0.0193489827, 0.0803736448, -0.0359039269, -0.038170822, 0.011375458, 0.0000817817, 0.0104853343, 0.0360991433, -0.0381297916, -0.0027691331, -0.0356125124, 0.0375660546, 0.0057311486, -0.0876041278, -0.0247463342, 0.0465757735, 2.867e-7, 0.0426184013, 0.0091934493, 0.0490125641, -0.0000981511, 0.0325299613, -0.0197237767, 0.0196005683, 0.0356001481, 0.0193850119, 0.0123275537, 0.0086017773, 0.05658371, 0.0204639751, -0.0043036039, -0.1057251617, -0.0342349783, -0.0594823807, 0.0306678042, -0.0429324731, 0.0243243799, 0.0268647205, 0.1233526692, -0.0230447557, -0.008357117, 0.0407134444, -0.0323553421, 0.0371069163, -0.011920427, 0.026882071, 0.0076083262, -0.0224718992, 0.0159369428, -0.0268401802, 0.0229855068, 0.0129275071, 0.0288953669, -0.039112702, 0.0790764093, 0.0088156965, -0.0026564621, 0.0367450826, 0.0047198525, -0.0064030099, -0.089199096, 0.0591384992, -0.1010829657, -0.0284338873, -0.0446811318, 0.0016882563, 0.0037007574, -0.0192475133, -0.0017302064, 0.0133849857, -0.0002336578, 0.0135778077, -0.0310709719, -0.001622688, -0.11315047, -0.0147870323, -0.0053092013, -0.0701151118, -0.0019342189, -0.0983682722, -0.0405513756, 0.0447613746, -0.0161824785, -0.0065626167, 2.741042752e-34, 0.0204956103, -0.0213241223, 0.0075313924, 0.0192580577, 0.0141951321, -0.0171943195, -0.025097521, -0.006896243, 0.0149108646, -0.1042944193, -0.0313916877 ]
http://arxiv.org/abs/2312.08585v2
http://arxiv.org/pdf/2312.08585v2
Unraveling Key Factors of Knowledge Distillation
2023-12-14T01:16:19
2023-12-24T03:34:31
Jingxuan Wei, Linzhuang Sun, Xu Tan, Bihui Yu, Ruifeng Guo
cs.CL
cs.CL, cs.LG
Knowledge distillation, a technique for model compression and performance enhancement, has gained significant traction in Neural Machine Translation (NMT). However, existing research primarily focuses on empirical applications, and there is a lack of comprehensive understanding of how student model capacity, data complexity, and decoding strategies collectively influence distillation effectiveness. Addressing this gap, our study conducts an in-depth investigation into these factors, particularly focusing on their interplay in word-level and sequence-level distillation within NMT. Through extensive experimentation across datasets like IWSLT13 En$\rightarrow$Fr, IWSLT14 En$\rightarrow$De, and others, we empirically validate hypotheses related to the impact of these factors on knowledge distillation. Our research not only elucidates the significant influence of model capacity, data complexity, and decoding strategies on distillation effectiveness but also introduces a novel, optimized distillation approach. This approach, when applied to the IWSLT14 de$\rightarrow$en translation task, achieves state-of-the-art performance, demonstrating its practical efficacy in advancing the field of NMT.
[ -0.0056798887, 0.0809695646, -0.005455418, 0.0246843249, -0.0222293995, 0.0338803232, -0.0153430738, 0.0164252985, -0.0626132116, 0.0311801583, -0.0077132797, -0.0012209833, 0.052327048, 0.0082246494, 0.0283716321, -0.0174082182, 0.0313962922, -0.0360606909, -0.0117831929, 0.0080137718, -0.0343124643, -0.0023423296, 0.0054507246, 0.0122160958, 0.0121154776, -0.0198535305, -0.0181437433, 0.0401459001, -0.0010703797, -0.0059220023, 0.0071360199, 0.0378055088, 0.0355994515, 0.0596650876, 0.0000020463, -0.0157272052, -0.007978308, 0.0032989259, -0.0627462938, 0.0425085016, -0.0146573773, -0.067619279, 0.0539456196, 0.0009347036, -0.0086364271, -0.0170614514, 0.0248009898, 0.0050232871, 0.046938885, 0.0591832362, 0.0059337318, -0.022472905, 0.0190556142, -0.0673154145, -0.0238384828, -0.0076448652, -0.0091220587, 0.0062570162, -0.0825246423, 0.023379527, -0.0230777767, 0.0805774182, 0.0329545438, 0.0409274586, -0.0224658847, 0.0230490789, -0.0352736339, -0.0708516836, 0.013906288, 0.0834621266, -0.0456661172, 0.0262486432, -0.0085511776, -0.0071222866, 0.0224216599, -0.0258009117, -0.0401873924, 0.0086806929, 0.0000547685, 0.0065957112, -0.0186240356, 0.0552816093, 0.0488903448, -0.0308975875, -0.0532714948, -0.0039957073, 0.0077027623, -0.0244283024, 0.0013611872, -0.0138984462, -0.0321377143, -0.0276294071, 0.0317172222, 0.0024444489, 0.0440376513, 0.009305506, -0.0258740149, -0.0329523087, 0.0002801918, -0.0132906353, 0.0605499931, 0.0647714883, 0.0250700023, -0.0096119232, -0.0122924494, 0.0760050863, -0.00660444, 0.0357548669, -0.0424441956, 0.0210088231, -0.0796750113, 0.0210805684, -0.0357909687, 0.0192090273, -0.0495621674, -0.008272049, 0.0110227158, -0.0184831452, 0.0075555835, -0.0136513719, 0.0311097708, -0.008240425, -0.0381148495, 0.0212408714, -0.0155652277, 0.0985463336, -0.0358345285, -0.0315727033, 0.0307619013, -0.0488215983, -0.0679315254, -0.0212516021, -0.011896709, -0.0186384954, -0.0008895514, 0.0528542809, -0.039302852, -0.0380459316, -0.0242578723, -0.0419623144, -0.0313313827, -0.1032480448, 0.0342260636, -0.0587165542, 0.0945230871, 0.0137664564, 0.0142184542, -0.1013166979, -0.0077287857, -0.0126590198, -0.0109159322, 0.0595190637, -0.014137269, -0.0026354883, 0.0120988172, 0.0421555638, -0.0219164323, 0.0567387752, 0.0356814824, 0.0414564274, -0.0317632072, -0.0167987309, -0.0156404171, 0.0239941794, 0.0571996048, 0.0287905559, -0.047152441, -0.0047145733, -0.0059557799, 0.0217055529, 0.0557997338, 0.0531141125, -0.0679991692, 0.0145529537, 0.0862416923, 0.0022115456, 0.0433459543, 0.0547468737, 0.0131616974, 0.0062044747, 0.0039421548, 0.0252652932, -0.0218317434, 0.0245208051, 0.0278426483, 0.0092866989, 0.0447050184, 0.0689584315, -0.0046484014, -0.0612047203, 0.009408812, 0.0172771122, 0.025396822, 0.0045309789, 0.0009865783, 0.0211397614, -0.0086111333, 0.0849912688, 0.00234624, -0.0434438474, 0.0106748585, -0.0253652371, -0.0449946858, 0.0398303755, 0.0516728833, 0.0264303833, -0.0446457528, -0.0161651596, -0.0181454401, 0.006523231, 0.0324260369, 0.0050231363, 0.0611265041, -0.0355988592, -0.0435597301, -0.0382491164, 0.0178946014, -0.0127288317, 0.0242452938, 0.0158759877, 0.0550508574, -0.067530863, -0.0589373857, 0.0254821759, -0.0334650427, -0.0660420284, -0.0142427217, 0.0076856157, 0.0362493172, -0.0127949258, -0.0158720445, 0.002333587, 0.004886542, -0.0348468348, -0.0180463325, -0.0241237413, -0.0580912009, -0.0804168358, 0.0274453908, -0.0381973498, 0.0187632293, 0.0386985429, -0.0369296074, -0.0583307743, 0.0002700737, -0.0180041101, -0.0007606652, -0.0163431205, 0.0333924964, 0.0121333618, 0.0294555258, -0.0186415985, 0.0268709511, -0.0551292934, -0.0344109386, -0.0153723285, -0.0612146892, -0.0065816795, 0.054783769, -0.0089914324, 0.0469262339, 0.0080739995, 0.0202225, 0.0166058429, 0.001593423, -0.012298543, -0.0265090708, -0.0244233422, 0.0206794012, -0.0321743116, 0.0157972723, 0.0343921036, 0.0613506474, 0.0139314048, -0.0002767489, -0.0272046346, -0.0029593769, -0.031218309, 0.0126659488, 0.0040833955, 0.0278531816, 0.0044887359, -0.015831897, -0.0259617064, 0.0161577184, 0.0645848662, -0.055139266, -0.030207077, -0.0311382376, 0.0416105501, -0.0455063432, -0.0238298774, -0.0278617386, -0.0309260432, 0.0227765478, -0.0077353665, 0.0296054184, -0.0115466947, -0.051153373, 0.0235124212, 0.055233404, -0.0012374204, -0.0759600624, 0.0292220358, -0.0233835541, -0.0048384126, -0.0046559484, -0.0480673537, 0.0164463073, 0.0784597993, -0.0004253451, -0.009807162, -0.0320001058, 0.0016340736, 0.0169887021, -0.0406764373, -0.0483549386, 0.0243076161, 0.0255709216, 0.0148259951, -0.0342262089, -0.0611810908, 0.0594433211, -0.0299500953, -0.0006776748, -0.0384672172, -0.0089508398, -0.008865661, 0.0480623469, -0.0367127024, -0.0005726094, 0.0028465851, -0.0095359823, -0.0442013107, -0.0057986695, -0.0152549045, -0.0157288611, 0.0690580979, -0.0530947223, -0.0437082909, -0.0374137126, -0.0067520719, -0.0176747106, 0.0019847369, 0.0245819371, 0.0236123055, 0.0603187792, -0.0357909761, -0.0076557584, -0.0265499633, 0.0193734616, 0.0824560225, -0.0114168609, -0.0266656615, -0.0287260357, 0.0166399051, 0.0048816558, 0.0092407716, 0.038549535, -0.0568544529, 0.0425507165, 0.0365838185, -0.0025247051, 0.0067369542, -0.0416410789, -0.0038780549, 0.0175223742, 0.0039286972, -0.0095835561, 0.0106408279, 0.0438662767, -0.0789451897, -0.0048373607, 0.0864952058, 0.0014553855, -0.022616379, 0.0087324623, 0.0366660506, 0.0858501345, 0.0219645072, 0.0183748994, -0.0443737544, -0.0268311966, 0.0039281412, 0.0489443541, 0.0449735746, -0.0196287762, -0.0366688706, -0.0322780646, 0.0241283737, 0.0576139987, -0.0201731548, -0.0760002658, -0.0021419711, -0.040437445, -0.0074761189, 0.0251639746, 0.0024254685, 0.0042652427, 0.0198571552, 0.0141914515, -0.0052940971, -0.0646049529, -0.0113314828, -0.0207526945, -0.0103713637, 0.0526797585, 0.0214520171, 0.009020553, -0.0378364734, -0.0152308838, 0.0020403476, 0.0171790197, -0.0154875396, 0.0582870468, 0.0371054299, -0.0149390753, 0.0191889554, 0.0070353597, -0.0390528738, 0.0164331794, 0.0052071218, 0.0564759523, -0.024652373, -0.0519349836, -0.00816218, -0.0649708658, 0.0082828049, 0.0728175789, 0.0833514854, -0.0043787882, -0.0101903267, -0.0103812655, -0.003936159, -0.0487859137, 0.0272600558, 0.0058658547, 0.0031629934, 0.000254394, -0.0695653036, -0.045781184, 0.0125105605, 0.0318232737, 0.0035610714, -0.0050488343, 0.0335530527, -0.0001580836, -0.0715947598, 0.0358499028, -0.0165216587, -0.0135830622, 0.0011544001, -0.0185340606, -0.0206570681, -0.007991584, -0.0059560845, 0.0215460267, -0.1396964341, -0.0430191495, -0.0073922053, 0.0521865487, 0.0210021101, 0.0655885264, 0.0076398505, -0.0190114044, 0.062829189, -0.0057277014, -0.0138236787, 0.0035483381, 0.040875189, -0.0210060459, 0.0014483745, 0.0333959199, 0.0134759918, -0.0114320666, 0.0318731815, 0.0568273813, -0.0048974194, -0.008357225, 0.0353917815, 0.0247939453, 0.0366622247, -0.0065936907, -0.009432395, -0.0019852067, 0.0071847546, 0.0357891396, 0.0083827432, -0.0828962624, -0.0312439818, 0.0825805143, 0.0326445699, 0.0000686402, 0.0394740738, 0.0468062796, -0.0206813645, -0.0193500966, -0.0266256183, -0.0334297381, -0.0020683964, 0.0433120802, 0.0104713952, -0.009989704, 0.0677387789, -0.0312763974, -0.0024741995, -0.0340193585, 0.0524325594, 0.0092665944, 0.0438812599, -0.0232585296, 0.0445538461, -0.0527032018, -0.0439873375, -0.0077058687, -0.0003011674, 0.0316677392, 0.0307424776, 0.0710834041, -0.0059657623, 0.0075892112, -0.0099413032, 0.0039735329, -0.0275438782, 0.0254669562, -0.0017224016, 0.0355239175, -0.0004452782, -0.0072630192, 0.1010603383, -0.0140663423, 0.0322336704, -0.0131356772, 0.0099868439, -0.0294045322, -0.029480366, 0.0048620813, 0.0065240255, -0.0004935527, -0.0189436171, -0.026142722, -0.0696542114, 0.000656327, -0.0043159663, -0.0043626861, -0.0079792626, 0.0203527771, 0.0520343743, -0.0483037829, -0.0498809107, -0.0172210895, -0.0300676525, 0.0120172342, -0.037922252, -0.0090365047, -6.556210274e-33, -0.0066425647, 0.0262581278, 0.0205863658, -0.0468188412, -0.0605340898, -0.0068491693, -0.0155936815, -0.0134365996, -0.0195495952, 0.0373902135, -0.0075317351, 0.0542295314, 0.0174557939, 0.0124200126, 0.0068773632, -0.0045521441, 0.1002024636, 0.0067444183, -0.0461722203, 0.043269515, 0.0266177151, 0.0356655866, 0.0600371063, -0.0381034352, 0.0137047851, -0.0051381304, 0.0235591047, -0.0199011043, -0.0172923524, -0.021285994, -0.0183372255, 0.031038329, 0.0251932181, -0.0416571945, -0.0737994462, -0.0284915976, -0.1100996658, -0.0421186537, 0.0207131822, 0.0009861491, -0.0149625717, -0.0520031974, 0.08525718, -0.0203905776, 0.0210605226, -0.0641388521, -0.0347291604, -0.0078241304, -0.0541838631, -0.0238785725, -0.0446607918, -0.0053684637, -0.0389909893, -0.0388112105, 0.0449461602, 0.0050728866, -0.0304579455, -0.0132906018, -0.1109736487, -0.0218217764, 0.0475794524, 0.0802383572, 0.0585340522, 0.0220966265, -0.0111921784, 0.0273495149, 0.0280660503, 0.0146001438, 0.0077038757, 0.0101982532, 0.0582824238, 0.044925347, 0.0466342457, 0.003567975, 0.0841264576, -0.0188523643, -0.0496419631, -0.0054757237, -0.0620318912, 0.0140679898, -0.0249319319, -0.0185330939, -0.0132085858, -0.0304813068, -0.0743778795, -0.0277091991, -0.0184951015, -0.0117597319, 0.0240391903, 0.0396486782, -0.0189517215, -0.0238997415, 0.0381801724, -0.0375333466, 0.0409975536, 0.0347017981, -0.0157101788, 0.0270044859, 0.0196049232, -0.0068514249, -0.0138727054, -0.0072844415, 0.0200351775, 0.0490486696, 0.0344114304, -0.0193065759, 0.0475850962, 0.0482193381, -0.0079164347, -0.0379107557, -0.054675702, 0.0338296406, 0.0168216117, -0.0095401015, 0.0484241396, -0.0081248721, -0.0273781456, -0.0429276712, 0.0342906304, 0.003803018, -0.0099488273, 0.0294565875, 0.0332401618, 0.0486981794, -0.0132085197, -0.0171367843, -0.0336811543, -0.0022582219, 0.0461904034, -0.0465764031, -0.0357301831, 0.0152733978, 2.671e-7, 0.0405353159, 0.0371950269, 0.0180893987, 0.0113364011, 0.0125900339, -0.0022362056, -0.0316027217, -0.0045996946, -0.0105710812, -0.0315443724, 0.0351148583, 0.0539878756, 0.0876518637, 0.0353797972, -0.0530810468, -0.0587635599, -0.0312144775, -0.0039215125, -0.0378962532, -0.0324368887, 0.0429107621, 0.0479766466, -0.0002042311, -0.017207928, 0.0197896939, -0.0047097085, 0.021594679, 0.0006996735, 0.0410511121, 0.0249708164, 0.0300385077, -0.0133190351, 0.0066252709, 0.0230681617, -0.0215549115, 0.0155178681, 0.0038570892, 0.0993679985, 0.0079102563, -0.0142048961, -0.0036412887, 0.0134231672, 0.0033863448, -0.0675111711, 0.0543116182, -0.0709493756, 0.0041070795, 0.0018250311, -0.0193160363, -0.0046797292, 0.0483689047, 0.0009177903, 0.0245081838, 0.0463952497, 0.0160593484, -0.0081615308, -0.0198563691, -0.0598076545, -0.0329152904, -0.0020472354, -0.0299246889, -0.0467625558, -0.0664252266, -0.0630989447, 0.023917418, 0.0072636139, -0.0243237112, 2.449443471e-34, 0.0299015511, -0.0244068485, 0.0504961461, -0.0061271056, 0.0264706817, -0.0443777889, -0.0576152727, -0.0103337904, -0.0243658945, -0.0601645187, -0.0223811679 ]
http://arxiv.org/abs/2312.08583v2
http://arxiv.org/pdf/2312.08583v2
ZeroQuant(4+2): Redefining LLMs Quantization with a New FP6-Centric Strategy for Diverse Generative Tasks
2023-12-14T01:06:37
2023-12-18T05:08:23
Xiaoxia Wu, Haojun Xia, Stephen Youn, Zhen Zheng, Shiyang Chen, Arash Bakhtiari, Michael Wyatt, Reza Yazdani Aminabadi, Yuxiong He, Olatunji Ruwase, Leon Song, Zhewei Yao
cs.CL
cs.CL, stat.ML
This study examines 4-bit quantization methods like GPTQ in large language models (LLMs), highlighting GPTQ's overfitting and limited enhancement in Zero-Shot tasks. While prior works merely focusing on zero-shot measurement, we extend task scope to more generative categories such as code generation and abstractive summarization, in which we found that INT4 quantization can significantly underperform. However, simply shifting to higher precision formats like FP6 has been particularly challenging, thus overlooked, due to poor performance caused by the lack of sophisticated integration and system acceleration strategies on current AI hardware. Our results show that FP6, even with a coarse-grain quantization scheme, performs robustly across various algorithms and tasks, demonstrating its superiority in accuracy and versatility. Notably, with the FP6 quantization, \codestar-15B model performs comparably to its FP16 counterpart in code generation, and for smaller models like the 406M it closely matches their baselines in summarization. Neither can be achieved by INT4. To better accommodate various AI hardware and achieve the best system performance, we propose a novel 4+2 design for FP6 to achieve similar latency to the state-of-the-art INT4 fine-grain quantization. With our design, FP6 can become a promising solution to the current 4-bit quantization methods used in LLMs.
[ -0.0453794785, 0.076089561, 0.0154681392, 0.0196407605, -0.0194082223, -0.0090145115, 0.0232959166, 0.0087428214, -0.0423172973, -0.0406890064, 0.0049712127, -0.0632801056, 0.0024600744, 0.0326321237, 0.036681354, -0.0095448243, 0.0380866639, -0.0085035097, -0.0128913037, -0.0131305289, -0.0204154961, 0.0100024771, 0.0152557408, 0.0227339007, -0.0198072456, -0.0100889225, -0.0291389041, 0.0076764491, 0.0056941882, -0.0273321792, -0.0267986208, 0.0639680251, 0.0276691169, 0.0663277283, 0.0000022014, -0.0234881062, -0.0283031072, 0.0062875464, 0.0081682, 0.0538195409, 0.0235561673, -0.0288216621, -0.0393367782, 0.0046211202, -0.0248398725, -0.0180349145, 0.0620425381, -0.0095205139, 0.0665880516, 0.0631779879, -0.0145554505, -0.0641926005, 0.0682753921, -0.0278211087, -0.0101390295, -0.0372210741, 0.0010819855, 0.0255176742, -0.0022284316, 0.0087497057, -0.0209854674, 0.0076147178, 0.034190625, 0.005460951, 0.0082939714, 0.0526697263, -0.0611001477, 0.0042497576, -0.0048541371, 0.0296053495, -0.0769379511, -0.0315136649, -0.0010316498, 0.0124397706, -0.0451227091, -0.1103764251, -0.0543665662, 0.0672327429, 0.0089102918, 0.0312296171, 0.0161088426, -0.0085346764, 0.0211827513, -0.0009452629, -0.053132657, 0.041863203, 0.0521374308, -0.0008386317, -0.0428781398, -0.0117793456, -0.0906286538, -0.0622757338, -0.018991366, 0.0314930901, 0.0100005167, -0.022526145, -0.0914439261, 0.0090501858, -0.0079894615, -0.0264390502, 0.0159431417, 0.0812922269, 0.0377931856, -0.0058431434, -0.0404008701, 0.043932151, 0.007643762, 0.0157655384, -0.052929908, 0.0126104942, -0.0329550579, 0.0059768646, -0.0530966669, 0.0519995131, -0.0366747491, -0.0385801047, -0.0595399328, 0.0180803649, 0.0022591215, -0.0131265596, -0.0001478953, -0.0141705712, -0.0379101411, 0.0104408087, 0.0470949598, 0.016007036, -0.0367276147, -0.0221991409, 0.0193667933, -0.0642120093, -0.0267101508, 0.027135808, -0.0019451865, -0.0334397256, 0.0121348249, 0.012038677, 0.0094103701, -0.0506506823, 0.0116928061, -0.0062823631, -0.0093559185, -0.0568741001, -0.0104574319, -0.0662832856, -0.0282105934, -0.0092417412, -0.0094614774, -0.0183326788, 0.0210060533, 0.0150126582, 0.0345734209, 0.0291015599, -0.0649322122, -0.0080606341, -0.006831083, 0.0012723038, 0.029387746, 0.078013055, 0.0471247509, 0.035254512, -0.0208493881, 0.0230321437, 0.0328866728, 0.0493295267, 0.0285693146, 0.0269278605, -0.0223968923, -0.0422423966, -0.0423634946, 0.0293888506, 0.1109499931, 0.0793624669, -0.0540675595, -0.0011620875, 0.024132194, 0.0630805194, 0.0595762767, 0.0305281803, 0.0227959864, -0.0013540374, 0.0141842822, -0.0041800821, -0.0136650046, 0.0477892905, 0.0161626227, 0.0471190587, 0.1009714976, 0.0352542475, -0.0264685415, -0.0191000402, -0.0151515957, 0.006575163, 0.0013902079, -0.0098534655, 0.015682729, -0.0100504579, -0.0233836509, 0.0319234468, -0.0154687045, -0.0837937072, -0.0222669262, -0.0962038264, 0.009861364, 0.047544118, 0.0497612655, -0.0160546228, -0.0168852136, 0.0014747269, -0.0286701545, 0.0228086859, 0.0089592403, 0.0171695761, 0.0160282049, -0.0456897244, -0.0323345885, -0.0301477592, -0.0056586037, 0.0055454974, 0.025132278, -0.0108262412, 0.0028844837, 0.0009901882, -0.0104810419, -0.0055319783, 0.0157272387, -0.05673673, 0.0182454418, -0.0165826641, 0.0186390821, 0.0320051275, -0.0174956713, 0.0163572282, 0.0303681307, -0.0331754535, 0.0273791198, -0.0391876698, -0.0021950819, -0.0342014432, 0.0821100697, -0.0022904873, 0.0336087942, 0.0336340703, -0.0362305082, -0.0623128824, 0.0490171835, -0.0325414799, 0.0377255492, -0.0545258559, 0.0098356353, -0.003277852, 0.0233290307, -0.0356876142, 0.0306152459, -0.0240568519, -0.0093148183, 0.0155588873, 0.0376293398, 0.0066628205, -0.0318950452, -0.0243929066, 0.0176232755, 0.0371701233, 0.0310461204, 0.0119053023, 0.01105903, 0.0017773439, -0.0079193646, -0.1164537966, 0.0275125727, -0.0373346955, 0.0139638269, 0.0326703191, 0.0363728888, 0.0134393051, 0.0459536538, -0.0586042553, -0.0355493985, 0.0003514951, 0.0027502575, 0.0153563749, 0.0089857401, -0.0304776579, -0.0313571915, -0.0375576653, 0.0101950169, 0.0245309826, -0.0386637971, -0.0249217208, -0.0526294596, 0.0324615948, -0.0113304704, 0.0167853963, 0.0036007341, -0.0315871798, 0.0225338042, -0.0575331561, 0.0283646341, 0.018541107, -0.0035161194, -0.0095600309, 0.0634447858, 0.0156993046, -0.0081396503, 0.0310891606, 0.0120391631, -0.0405662209, 0.0495362952, -0.0201067254, -0.0140353274, 0.0651194602, -0.0044943308, -0.026130056, -0.0461645126, 0.0431884564, 0.0104747992, -0.0114708785, -0.008073804, 0.0057868999, -0.0158262346, 0.078346394, -0.0275544468, -0.0501913242, 0.0091194548, -0.0391009599, -0.0105916671, -0.0017866013, 0.0075811539, -0.0385947414, 0.0562957264, 0.0133207133, 0.0447764806, -0.0343483165, -0.0088259624, -0.0193003025, -0.0014221772, -0.0187300574, -0.0427687876, 0.0610370487, -0.0192180015, 0.0445022359, -0.0532096438, 0.0014458866, 0.029134322, 0.0436717644, 0.0052988348, 0.0501373708, 0.0186860822, -0.0367217064, 0.0544280633, 0.0566033199, 0.010292883, 0.0600730553, -0.0282743108, -0.023910787, -0.0125020733, 0.0323887281, 0.0313961282, -0.025487151, 0.0133124664, -0.0175612178, -0.0228094384, 0.0127075994, 0.0504009798, 0.0970009267, -0.056443885, -0.0100566112, 0.0368941985, 0.0131280292, -0.032715559, 0.0249787718, 0.0753365085, -0.0108955754, -0.0110369893, 0.1008998826, 0.0078886515, -0.0202356353, 0.0238473695, 0.0258203447, 0.0222408585, 0.021603927, 0.0104827285, -0.1344136149, -0.0080776718, 0.0132592963, 0.0066348612, -0.0006918926, 0.0029636396, -0.022022821, -0.0730162635, 0.0305027179, 0.0552915148, -0.0022608645, -0.0498387329, 0.018696636, -0.0150685301, -0.0221710242, 0.0361910723, 0.0476780832, -0.0018682603, 0.0170913897, -0.0052598915, -0.0028933319, -0.0163229741, 0.0068731899, -0.0041422052, 0.0539779887, 0.0689921528, 0.0258413628, 0.0012316835, 0.0178366117, 0.0072310003, 0.0037477284, -0.0163834747, -0.019623043, 0.0138233686, 0.015907025, 0.0059885071, 0.0078036222, -0.0148090124, 0.0278192647, -0.0014351537, -0.0446828902, 0.0252271555, -0.0206866097, 0.0008406071, 0.0052891108, -0.0147913424, -0.0436841622, 0.0361380242, 0.036578685, 0.0201931242, -0.0850825757, -0.0657279864, 0.0128021399, -0.1090584695, -0.0154192392, -0.0467191748, -0.0081318319, -0.0681293085, -0.0433090627, 0.0000077832, 0.0233442578, 0.0259599369, -0.0266246479, -0.0359268859, -0.0148517396, -0.0241174605, -0.090206705, -0.0511289984, -0.0332617871, 0.0221053846, -0.0415441319, -0.0296724327, -0.0038597265, -0.03064619, -0.00550781, 0.0235939678, -0.0933285132, -0.0576416589, -0.0210844353, 0.0328295752, 0.0253540296, 0.0266097542, 0.0089144623, -0.0320378318, 0.0496295691, 0.05124918, 0.0065162582, 0.0693979189, 0.0214091763, 0.0420887582, -0.0063613765, 0.0190237947, -0.0334871411, 0.0444211401, -0.0132274078, 0.0627445877, -0.0310786143, -0.0482888557, 0.0067956122, 0.0158014912, 0.0253121518, -0.0257409643, 0.0224710256, 0.0206959415, -0.0311906263, -0.0449446402, 0.0088825086, -0.0571527146, 0.0165181197, 0.031243626, -0.0340113267, -0.0039830795, 0.0149235027, -0.013425881, 0.0070859599, -0.015826704, -0.0099635646, -0.0504949801, 0.0109190578, 0.0103002219, -0.0228725318, -0.0347461961, -0.0113564972, -0.0159199629, 0.0354082771, -0.0321112908, 0.0171684157, 0.0052997423, 0.0398693904, -0.0055098487, 0.0536418706, -0.0482016578, -0.0243540667, -0.0584380999, 0.0037969558, 0.1000705287, 0.0519890226, 0.0516627356, 0.0061362674, -0.0033636778, -0.0311208684, 0.0381516032, 0.0282847397, -0.0345518552, -0.0193141419, 0.0246802233, -0.0229244791, -0.0399442576, 0.0726920068, -0.0231022108, 0.0160922483, 0.0041021798, 0.0228892975, -0.0235882532, -0.0430057384, -0.0580506884, 0.0160387773, 0.0204178113, -0.0113539631, -0.0314656012, -0.0095141921, 0.0111745354, 0.010666565, -0.0115458304, -0.0263753608, 0.0312045552, 0.010264908, -0.0252600275, -0.0651719496, -0.036744874, -0.0377988964, -0.0004997415, -0.0156405102, -0.0149041666, -6.39831273e-33, -0.0464375801, 0.0227322206, 0.0216026604, -0.0031997124, -0.0471956506, 0.0252296571, -0.0415969491, -0.0154206464, 0.0032703874, -0.0520229191, 0.0022557464, 0.0127658518, 0.0014015791, 0.0058464585, -0.0067792586, 0.0379461832, 0.0832315013, -0.0084428191, -0.0466940776, 0.0571965054, -0.0055352547, 0.0092531238, 0.0309192501, 0.0626063496, -0.0393828414, 0.001543484, -0.0134356106, -0.0284311511, 0.0328905359, 0.0086797858, -0.0136122918, 0.0198897887, -0.005898789, -0.0198081098, -0.0327770859, -0.0195152909, -0.032741297, -0.0004862962, 0.0193612371, -0.0091842972, 0.0173285604, -0.086259082, 0.033911407, 0.0029846109, -0.0484513789, -0.0643445551, -0.0492442511, -0.0135629186, -0.0279482119, -0.1132950708, -0.0210384652, 0.0271914788, 0.0294834692, 0.0044736639, 0.0605727248, 0.0104404297, -0.0334539562, -0.0093887113, -0.0365515389, 0.0190812517, 0.0209436696, 0.0945653468, 0.0508794636, 0.0411654338, 0.0304411482, 0.0298336409, 0.0566991083, -0.0213141032, -0.0360365584, 0.0733207688, 0.0357888155, -0.0007194903, 0.0183142666, 0.030051779, 0.1178237125, 0.0108777182, -0.0317683257, 0.0305383485, -0.0137041584, -0.0041468991, 0.0370510891, 0.0511005223, -0.019685531, -0.019091351, -0.002166169, 0.0095474115, -0.0457000695, -0.0458477065, 0.0081660636, -0.0014456183, -0.006465246, 0.0004268162, 0.0464313142, -0.0394669361, 0.0358100124, 0.0135885011, -0.0351834707, 0.0623087958, 0.0031489388, 0.0184625667, 0.0087711802, -0.0003159965, 0.0532813184, 0.0302187838, 0.0217882767, -0.0016697804, 0.005070087, 0.0568411164, -0.0494059622, -0.0352625363, -0.0486929417, 0.0098947659, -0.0000963698, 0.0297907628, -0.0043150801, 0.0134069677, 0.016920967, 0.0278692152, -0.0372635499, 0.0164352488, -0.0202319939, 0.0264459904, 0.0046552373, 0.043446403, -0.0437357873, 0.0262289383, -0.0560474619, 0.0474698208, 0.0415528752, -0.0590777472, -0.0869287923, 0.0195396561, 2.879e-7, 0.0457551703, 0.0503261201, 0.0443733446, 0.0090067144, -0.0072695166, -0.0190940779, 0.00491087, 0.0351190604, -0.0088085067, 0.0226222724, 0.0093148574, 0.0417656489, 0.0267386194, 0.0162680298, -0.0433459543, 0.0289250556, -0.0155889969, 0.0093495594, -0.0573537834, -0.0163355842, 0.0542348363, 0.0997871831, -0.0323598683, -0.0040275278, 0.0665101632, -0.0096604005, 0.0403241478, 0.0331853107, 0.0004216651, 0.0106171062, -0.0254819896, 0.0184311122, -0.0098706121, -0.0433461703, 0.0188289806, -0.0279904138, -0.0166992303, 0.1020448133, -0.0378476977, -0.0221900214, 0.0312724896, 0.0023197832, -0.0113431076, -0.0254410226, 0.065505676, -0.0119791161, 0.0008480476, -0.0501226746, -0.0358524807, 0.0065658335, -0.0278512277, -0.0137327351, 0.0066404953, 0.0289848316, 0.0087993694, -0.0049761455, 0.0066423421, -0.0527775027, -0.0543932691, 0.0278993752, -0.005604146, -0.056908194, -0.0537004992, -0.0053027747, 0.0102683706, -0.0604364537, -0.001880649, 2.864391829e-34, 0.0513788685, -0.0287130084, 0.0186197124, -0.0020428172, 0.0042015598, -0.0188760664, -0.031067498, 0.0027993945, -0.0161949899, -0.0352683179, -0.0329185985 ]
http://arxiv.org/abs/2312.08579v2
http://arxiv.org/pdf/2312.08579v2
Identifying Planetary Names in Astronomy Papers: A Multi-Step Approach
2023-12-14T00:50:14
2023-12-17T23:20:49
Golnaz Shapurian, Michael J Kurtz, Alberto Accomazzi
cs.CL
cs.CL, astro-ph.IM, cs.LG
The automatic identification of planetary feature names in astronomy publications presents numerous challenges. These features include craters, defined as roughly circular depressions resulting from impact or volcanic activity; dorsas, which are elongate raised structures or wrinkle ridges; and lacus, small irregular patches of dark, smooth material on the Moon, referred to as "lake" (Planetary Names Working Group, n.d.). Many feature names overlap with places or people's names that they are named after, for example, Syria, Tempe, Einstein, and Sagan, to name a few (U.S. Geological Survey, n.d.). Some feature names have been used in many contexts, for instance, Apollo, which can refer to mission, program, sample, astronaut, seismic, seismometers, core, era, data, collection, instrument, and station, in addition to the crater on the Moon. Some feature names can appear in the text as adjectives, like the lunar craters Black, Green, and White. Some feature names in other contexts serve as directions, like craters West and South on the Moon. Additionally, some features share identical names across different celestial bodies, requiring disambiguation, such as the Adams crater, which exists on both the Moon and Mars. We present a multi-step pipeline combining rule-based filtering, statistical relevance analysis, part-of-speech (POS) tagging, named entity recognition (NER) model, hybrid keyword harvesting, knowledge graph (KG) matching, and inference with a locally installed large language model (LLM) to reliably identify planetary names despite these challenges. When evaluated on a dataset of astronomy papers from the Astrophysics Data System (ADS), this methodology achieves an F1-score over 0.97 in disambiguating planetary feature names.
[ 0.0864300206, 0.0038350944, 0.0078495173, 0.0357868299, -0.0347406343, 0.0246254932, 0.0323713534, 0.0396490656, 0.054658629, -0.0204939619, 0.0113884443, -0.000116256, -0.0203244668, 0.019464083, -0.00563931, -0.0599465854, 0.0355783254, -0.0669676289, 0.0762763917, -0.0222724322, -0.0237800386, -0.0124891028, -0.0113539752, -0.0264570508, 0.0174846053, 0.0156460572, 0.0367570408, -0.0151471561, 0.0204777811, -0.0321458541, -0.0359439962, 0.0597410984, -0.0451774448, 0.0395400338, 0.0000019807, -0.0728102475, -0.048670955, 0.007401403, 0.011943222, 0.0235242471, 0.0583842136, -0.0426557586, 0.0051028263, -0.0807447359, -0.0003475015, -0.0144267818, 0.0774376318, 0.0131734898, 0.0100872293, 0.0091470834, -0.0053515071, -0.0504238792, -0.0208625197, 0.0057551395, 0.0647826344, -0.0152679449, 0.0657423884, 0.0581231155, -0.017230358, 0.0167365801, -0.0009459891, 0.0745579675, -0.05582707, -0.001182892, -0.0171101578, 0.0382074639, -0.0298713837, 0.0077925473, 0.0400696546, 0.0084325839, 0.0381209962, -0.0458809249, 0.034551166, -0.0163708031, -0.0657261387, 0.0770408437, -0.0258245412, 0.0031735925, -0.0439731814, -0.0139768012, 0.016803449, -0.0232649278, 0.0019466329, 0.0275303274, -0.0150566055, 0.0694330484, 0.0154222911, -0.0535070226, -0.0122697754, 0.0224094894, 0.019721996, -0.0571201369, 0.0549306758, 0.0027991405, 0.0264138784, 0.0111480458, -0.0176971927, 0.0029466238, 0.0097031193, -0.0110593718, -0.0297416877, -0.0115059493, 0.0281109121, 0.0864202231, -0.0249279328, -0.0049448763, 0.0466965921, -0.0492412373, 0.0345202833, -0.0247502066, -0.0598496385, -0.0191021468, -0.0211307481, -0.0111825112, 0.0269657802, -0.0007991291, -0.0011457807, -0.0461217277, 0.0151891718, 0.0125744911, 0.0087959692, 0.0050620306, -0.0144973751, -0.0412231423, -0.0286411047, 0.0023612007, 0.0330485217, 0.0031507597, -0.0119438302, -0.0201573912, 0.0142742386, 0.0541376248, 0.051917538, 0.0298691038, 0.0205106921, 0.1139458194, 0.0598288365, -0.081614241, -0.0421753228, -0.0460265465, 0.005492602, 0.008077885, 0.0018475627, -0.0340155326, 0.0461588427, 0.0120848576, -0.0222262777, -0.0798407421, 0.0030108995, 0.0026506842, -0.0293731857, 0.0798115507, -0.0213204492, 0.0043705362, 0.0434452891, 0.0202500708, -0.0217596628, 0.0169521533, 0.070752576, 0.0582994819, 0.0550058298, -0.0286351889, 0.0259424821, 0.0167867392, -0.0131937051, 0.0064684334, 0.0022541536, -0.0091343522, -0.0574826412, 0.0046407226, 0.0184783563, 0.0070189317, 0.0154924449, -0.0023984371, -0.0028001298, 0.0200323239, -0.0084830327, 0.0272632353, 0.014284105, -0.0226853564, 0.0036124948, -0.0367703401, 0.015405789, -0.0118850134, -0.0492363833, 0.0185276773, -0.0234388411, 0.0317417197, 0.0244305618, 0.0067849378, -0.0422360301, 0.0304005835, -0.0076324972, 0.0096275527, 0.0725002885, -0.028157847, -0.0270066969, 0.0833034366, 0.050684154, -0.0038924469, 0.041505903, 0.0162241776, 0.0477072187, 0.0312120412, 0.0286568087, -0.0315037817, -0.0345119685, 0.0240190011, -0.0183425713, 0.0515422225, -0.0047163987, -0.0321419723, -0.0349387266, -0.0436109938, -0.0496804677, 0.0226838682, 0.0051958784, 0.0597023629, 0.0359202698, 0.0208598971, 0.0299123023, -0.0540340543, -0.0690682977, 0.0295569487, -0.0367856286, -0.0691950619, -0.0101687536, 0.0141523974, -0.018357018, -0.0012092, -0.0127044814, 0.031207392, 0.0144869005, -0.0155461971, 0.0014679866, 0.0266459379, 0.0536823012, 0.0395543948, 0.0285786036, -0.0544546172, -0.0060395557, -0.0438600704, 0.0082584666, -0.043315094, 0.0014649648, -0.0172624774, -0.0006525185, -0.0101704327, 0.0462472327, 0.0062579112, -0.0064806151, -0.0752627775, 0.0225642659, -0.0088706352, 0.0557756238, -0.0058038379, -0.0189951733, -0.0140861953, -0.0286659319, -0.0347441845, 0.0164796542, 0.002951059, -0.0531380735, 0.0049223341, -0.0102451546, -0.0228613913, -0.0409189798, -0.0155439787, -0.0163529348, 0.0243794378, 0.0288905911, 0.021591695, 0.0032819707, -0.0408733524, -0.0030933125, 0.0433502197, -0.0149191329, -0.0182224754, -0.0199511889, 0.0470981039, -0.0218173489, -0.0174040645, -0.0242662299, -0.004877218, -0.0290703811, 0.0402876846, 0.0759614483, -0.1081295237, -0.0832783431, 0.072881192, -0.0299397614, -0.0107210362, 0.0008982954, -0.0126330312, -0.005786635, -0.0239556152, 0.0319345966, 0.0389888324, -0.0022222125, -0.008864494, 0.0222274009, -0.0672571883, 0.0070114797, -0.0321621075, -0.056065999, 0.0292650331, 0.0416063704, -0.0566107631, 0.044246491, -0.0031452777, -0.0324224085, 0.0002367629, 0.0271191541, 0.0157053061, -0.0493826307, -0.0109003168, 0.0264717247, 0.0317862444, -0.0409548059, 0.0172121264, 0.0257123988, -0.0107312649, 0.0531052202, -0.0693459287, 0.0092521021, -0.0404444784, -0.0126899984, -0.0206959117, -0.0020813604, -0.012989359, 0.015526481, 0.0374669693, -0.0622786209, 0.0266160257, 0.046301838, 0.0270804446, -0.0222146269, 0.0253608134, -0.0464594103, -0.0007458468, 0.013641336, 0.0332838073, 0.0077688661, 0.0078910841, -0.0320136026, 0.0041950499, -0.0242200289, -0.0514153093, -0.0051089879, 0.0714515597, 0.0385337807, -0.0139825549, -0.000042266, 0.0119072404, -0.0012188031, 0.0296307299, 0.0621832535, 0.0269054621, 0.0253484026, 0.0350318663, -0.0406154841, 0.0151915951, -0.0013159446, 0.010665792, 0.0396993607, -0.0494471006, 0.0324394889, -0.0670515895, 0.0463240407, -0.0242912602, 0.027129082, -0.0305129997, 0.0138555225, 0.0815892741, -0.0071236319, -0.0344478376, -0.0283333976, 0.006063757, -0.0609004162, 0.0297323391, -0.0296427011, -0.0635745004, 0.0086042751, 0.0049328231, -0.0422729291, 0.0088837156, -0.0578673482, -0.0110255014, -0.0604208708, 0.0079622613, -0.0051520434, -0.0893126875, -0.0241600554, -0.0462781377, -0.0129684191, -0.0258504469, -0.0900010392, -0.0034177748, -0.0226515308, 0.0004639358, 0.0117220553, 0.0293001365, -0.0693994015, -0.001322835, -0.1038738117, 0.0057553262, 0.0317981578, 0.0509047545, -0.0480846725, 0.0047277249, -0.050716538, 0.0173585545, -0.002863402, -0.0099303732, -0.0270694476, 0.0236740038, 0.0030292613, 0.0043552797, 0.0268598571, -0.026204288, -0.0072953682, 0.0080694836, 0.0283070393, -0.0072200615, 0.0029563736, -0.0296973325, 0.0216585416, 0.0244611483, 0.0737759396, -0.0067646382, 0.0501645021, -0.0450953804, -0.00563232, 0.0186012872, -0.0019738628, -0.0327523164, 0.0265367962, -0.0293615423, -0.0751252621, -0.0417452678, -0.0263981223, 0.0201984569, 0.0396832079, 0.0389273576, 0.0371171683, 0.0363801233, 0.0131432191, -0.0476761498, 0.0591838174, -0.0570513569, -0.0128506199, -0.0338035375, 0.0025595545, 0.0275542401, 0.0061886022, -0.0424168892, 0.0010547686, -0.0410697088, -0.0495555289, 0.0252286121, 0.00434063, 0.0238022991, -0.0099626109, -0.0168250538, -0.0655763447, 0.0279733688, 0.0033494257, 0.0325597748, -0.0096850963, -0.0519718938, -0.0035559242, -0.0026082275, 0.0000208967, -0.0177537668, 0.0256932508, -0.004604863, -0.0007741773, -0.0384878777, -0.0231724661, -0.008493647, 0.0565858372, 0.0828902796, -0.083149448, -0.0688293725, -0.034132164, -0.013923292, 0.0029050638, 0.022229176, 0.0178874452, 0.0616416968, 0.0065228371, -0.007393891, 0.0064983484, 0.0055573615, -0.015944954, 0.0094947945, -0.0208587348, 0.0009068467, 0.0443418212, 0.0083906194, 0.0334128104, -0.0143867265, 0.0045701731, -0.0012334652, 0.0124633461, 0.0025216148, -0.0183423907, -0.0195262302, 0.0310831368, 0.0079707084, -0.0149860438, 0.0252313018, -0.0601877496, -0.0100156991, -0.0607293472, 0.0168244317, 0.0748701394, 0.0179890245, 0.0180511288, -0.0449130759, -0.0265504699, 0.030127082, -0.0101860426, -0.0087060677, 0.000374316, 0.0391495675, 0.013913013, -0.0148851238, -0.0219166968, 0.058860857, 0.0374381505, 0.0133892121, 0.022794608, -0.0076006306, -0.0244239178, -0.0053268145, -0.0666791499, -0.0002991879, -0.0407675393, 0.0024252518, -0.0426242761, -0.0028702377, -0.0131206885, -0.002809759, -0.0122862654, 0.0006829607, 0.0113834115, 0.0618368536, 0.0027924508, -0.0082543725, -0.0174670201, 0.0351364948, -0.0736690089, -0.0483332761, -0.013089601, -5.85945216e-33, -0.023261806, -0.0341975726, 0.0246548094, 0.0076493174, -0.0110057862, 0.0189224165, -0.0142911784, -0.0285925753, 0.0129158255, 0.0116595058, 0.0461316369, -0.0397604853, 0.0271838233, -0.0127070844, 0.0355701111, 0.0294061974, 0.025572069, 0.058545135, -0.0194914546, 0.0010976914, 0.055734098, 0.0361675806, 0.0727336183, -0.0907584354, 0.0465993397, 0.0199885108, 0.0102148242, -0.0116038071, 0.0304096378, 0.0672607794, -0.0341476835, 0.0121056912, -0.0071821106, -0.0307616033, -0.0113219861, -0.0328157693, -0.0585726015, -0.0036996689, 0.0331224911, 0.0132786166, 0.0856026784, -0.0426415838, 0.021432057, -0.0026359193, -0.0211097393, 0.0277030487, 0.0373808146, 0.0063547604, -0.0439116806, -0.0469790101, -0.0521969087, 0.0326247923, 0.0398282669, 0.0507113934, 0.0602093823, -0.0181345101, 0.0158421881, 0.120874241, -0.0516921133, 0.048203785, -0.0169357248, 0.035516575, 0.0351847671, 0.0115809469, 0.0381319076, 0.0544278808, 0.0392006561, -0.0241604727, 0.0175739359, -0.0042511015, 0.0223495662, 0.0258320514, 0.0161849372, 0.0531494133, 0.0537948869, -0.0702169985, -0.0214585345, -0.0087661771, -0.0189301372, -0.0170984045, -0.0266351625, 0.0119181452, -0.050568644, 0.0272042062, 0.026896378, -0.0205441378, -0.0133289238, -0.0418035351, 0.0068285414, -0.027694216, -0.0571189485, 0.0923141614, -0.0577980056, -0.0296227708, -0.0501932949, 0.0191093069, -0.0045336671, 0.0223591719, -0.0415428542, 0.0229585879, -0.0635929406, -0.0695939511, 0.0041234693, -0.0513630025, 0.0084735183, 0.0057361042, -0.0426061116, -0.0013574134, -0.0427128673, -0.0035634169, 0.0250323247, -0.0313346758, 0.0132482788, -0.0102416063, 0.005484649, 0.0113334395, 0.0263574664, 0.0035391145, 0.0840373039, 0.0203286577, 0.0432174504, -0.0250172149, -0.0127558066, 0.038588129, 0.01874022, -0.0010402366, -0.0117305387, -0.0938084349, 0.0008643123, 0.017020734, 0.0073855422, 0.0473387316, 2.807e-7, 0.0379737541, 0.0655705482, 0.0317845978, -0.0233234521, -0.0255928319, -0.0015302981, 0.0035976442, -0.0030866668, 0.0490243807, 0.0423931144, -0.059711799, -0.0535136499, 0.0171028003, 0.0333625153, -0.1310407817, -0.036651127, 0.0151512055, -0.0994702727, -0.0712827817, 0.0038983144, 0.04102882, 0.0167358164, -0.001562076, -0.0232997425, -0.0221666265, -0.0646448284, 0.0067956145, -0.0464111269, 0.0097482558, 0.0603383183, 0.0429290161, -0.0178163685, 0.0163011923, 0.0594768748, -0.0202667508, 0.0093697505, 0.0342295207, 0.0108050769, -0.0018954113, 0.0477427766, -0.0305473693, -0.051502306, 0.0459856577, -0.0263954084, 0.0452920124, 0.0178439841, -0.0183894131, -0.0213723183, 0.0127755385, -0.0292193331, 0.003844664, -0.034823738, 0.006475016, -0.0203351006, 0.0170614924, -0.008002053, -0.0161694102, -0.032397829, 0.0370331928, 0.0602771677, -0.0178172868, 0.0111784888, 0.0195360575, -0.0814048722, 0.0050715981, -0.0258494727, -0.0265316758, 2.698769496e-34, 0.0029915681, 0.0242308266, -0.0405826122, 0.0217398629, -0.009477661, 0.0080995709, 0.003291005, 0.0383140482, -0.0415840745, -0.029415682, 0.0305305868 ]
http://arxiv.org/abs/2312.08566v1
http://arxiv.org/pdf/2312.08566v1
Learning adaptive planning representations with natural language guidance
2023-12-13T23:35:31
2023-12-13T23:35:31
Lionel Wong, Jiayuan Mao, Pratyusha Sharma, Zachary S. Siegel, Jiahai Feng, Noa Korneev, Joshua B. Tenenbaum, Jacob Andreas
cs.AI
cs.AI, cs.CL, cs.RO
Effective planning in the real world requires not only world knowledge, but the ability to leverage that knowledge to build the right representation of the task at hand. Decades of hierarchical planning techniques have used domain-specific temporal action abstractions to support efficient and accurate planning, almost always relying on human priors and domain knowledge to decompose hard tasks into smaller subproblems appropriate for a goal or set of goals. This paper describes Ada (Action Domain Acquisition), a framework for automatically constructing task-specific planning representations using task-general background knowledge from language models (LMs). Starting with a general-purpose hierarchical planner and a low-level goal-conditioned policy, Ada interactively learns a library of planner-compatible high-level action abstractions and low-level controllers adapted to a particular domain of planning tasks. On two language-guided interactive planning benchmarks (Mini Minecraft and ALFRED Household Tasks), Ada strongly outperforms other approaches that use LMs for sequential decision-making, offering more accurate plans and better generalization to complex tasks.
[ 0.0202578641, 0.0084600933, 0.0027027517, 0.0154215386, -0.0207602363, -0.0002593691, -0.0241172295, -0.0489554927, 0.0233504102, -0.0595482588, -0.0263678934, 0.0026117701, -0.0267351288, 0.0418772623, -0.0096370801, -0.0694073588, 0.0260090921, -0.0362007916, -0.0021720165, 0.0287994798, -0.0090805823, 0.0050216578, -0.0516819693, 0.0690827444, 0.0117006684, -0.0116396099, -0.0629354268, -0.0287669208, 0.0270640589, -0.0465559587, 0.0044214269, 0.0039586788, 0.0770113245, -0.0217861254, 0.0000019809, -0.0636225119, -0.027616648, -0.0735359564, 0.0016682383, -0.0670308322, -0.0009572652, -0.0049984134, 0.0055486378, 0.0109847644, -0.0527673587, 0.015617393, 0.0071277847, 0.0673113242, 0.027264297, 0.0371114053, -0.0000747858, -0.0077349637, -0.014946376, -0.0000981318, 0.0038664029, -0.0498934165, 0.012957735, 0.0139326258, 0.0401456468, 0.0332067609, -0.0148912752, -0.0295202304, -0.0116028497, -0.0151841631, -0.0338309221, 0.0169957001, 0.0612902641, 0.0288581531, -0.0105377538, 0.0714364797, -0.0147602074, -0.0055362955, 0.0381786712, -0.0101563716, -0.0056537185, -0.0154303256, -0.0268308558, 0.0228317231, 0.0195789039, 0.0136723444, -0.0142097855, 0.0055103642, -0.00141781, 0.0067587751, 0.0034089307, 0.102625303, -0.038786009, -0.0214928314, 0.0231915675, -0.004888474, 0.0292629451, -0.0383402817, 0.0150155257, 0.0596692786, -0.0596431382, 0.0289866161, -0.0247924812, 0.0421061069, -0.0395520553, -0.0285631977, 0.0580977462, 0.0629472062, -0.0071020355, 0.0367205814, 0.0274701007, 0.0983273536, 0.0012854862, -0.010350517, -0.0451309532, 0.0380131491, -0.080037266, 0.0401060693, -0.0627260655, 0.0300489571, -0.070403114, -0.0068207337, -0.0190659072, 0.0455323979, -0.0547799617, 0.0085518947, 0.0081879133, 0.0477075949, -0.0256922264, -0.0173445772, -0.093133904, -0.03575233, -0.0507691912, 0.0330238342, -0.0295227654, 0.0282805804, 0.0046658344, 0.0074458164, 0.0160905048, -0.0090711042, -0.0121476902, 0.086955145, -0.0250324551, -0.0056325942, -0.0592177659, -0.0379437916, 0.0045656459, -0.0343088172, 0.0417987257, -0.0361481458, 0.0294749495, -0.0275885183, -0.0291542988, -0.052557081, 0.0091559449, -0.0135343159, -0.0035928907, 0.0467093587, 0.0101971356, -0.0065818513, 0.0068685929, 0.0081960922, -0.0239492282, 0.052256275, 0.0547067598, 0.0723699182, -0.0181011818, 0.0842391998, 0.003477558, 0.0484405719, -0.0457286127, -0.023460526, -0.0022214926, 0.0047050929, -0.0340528674, 0.0165088065, 0.0436296836, -0.0065896539, 0.0105353137, 0.0302747171, 0.0253076404, 0.021294035, -0.0296570417, -0.001851478, 0.094969824, 0.0586047173, -0.0158434473, -0.040359959, -0.0292583015, 0.0338848121, -0.0197562948, -0.0152437035, -0.0515158959, -0.0101637421, -0.0033344617, -0.0461405218, 0.0296513196, -0.0259727649, 0.0366137475, -0.0087577868, 0.0176915918, 0.0172980204, -0.0769583806, -0.0019555958, -0.0094000567, 0.0137000214, 0.0117678102, -0.021328859, 0.0067218426, 0.0854477435, -0.0018016085, -0.0475036018, -0.0298186708, -0.0127222314, 0.006818282, 0.0093261926, 0.0003440422, -0.0710369572, 0.036520686, -0.0035986698, -0.0728535503, -0.0295911748, 0.0028190513, 0.0347565636, 0.0290326532, -0.0170452576, -0.0065474599, 0.0068473238, 0.0104643628, 0.0346212871, -0.0128106643, -0.0510330983, 0.0090058008, 0.0107278172, 0.0420773663, -0.0068483618, -0.0031151345, -0.0051013827, 0.0381887816, 0.0000322547, -0.0212786067, 0.0223267302, -0.0263947845, -0.0152930133, 0.0398545377, -0.0086487532, -0.008694754, 0.0336533077, -0.0353440791, -0.035558749, 0.0156203974, 0.0021121625, 0.0199948531, -0.0054387948, 0.0099228155, 0.0093203895, -0.0827687606, -0.0256532021, 0.0580971651, 0.0078759389, -0.048567988, 0.0321956873, 0.0070382422, -0.0154259317, -0.0204297062, 0.0120647661, -0.0149821583, -0.0049314355, -0.0105597507, 0.0402905717, 0.0512371622, -0.0380078778, 0.0274847187, -0.0541201271, -0.0243791398, -0.0138833141, -0.0166472569, 0.0030399526, -0.0178791657, 0.0022510896, -0.0258381311, 0.0017470415, 0.0412063114, -0.0249453746, -0.015079651, 0.0229658037, 0.0516383611, 0.0080526024, -0.0582365394, 0.0452126563, -0.0283658002, -0.0235547479, 0.0050143031, -0.0216280315, -0.0408951268, 0.0290787015, -0.023105694, 0.0571070537, -0.0442216061, -0.0239661224, 0.0189969987, -0.050595805, 0.037651848, 0.0197763517, -0.0242776927, 0.0408244804, 0.094407104, -0.0074695861, -0.0466911457, 0.0560826249, -0.040622551, 0.0021465612, -0.0672686845, 0.0233113561, 0.042071525, 0.0898377597, -0.0128775164, 0.0371916406, -0.0606463738, -0.033936739, -0.0016117952, -0.0318639576, -0.0274960101, -0.0164272096, -0.0440249592, 0.0558403134, -0.0179624651, -0.016620148, 0.0200919006, 0.0111345295, -0.03683009, -0.0100048399, -0.0149273761, -0.006442674, 0.073973462, 0.0327072963, 0.0219650138, 0.0407168195, -0.0106499195, -0.0524023511, -0.0102642393, -0.0142721469, 0.0219565723, 0.0416079387, -0.1115184873, 0.0107270209, 0.030642733, -0.0510836244, -0.0568635426, 0.0039156065, -0.03626775, 0.0161250215, -0.0233572051, -0.034630619, -0.0430739745, -0.0374309942, 0.021025151, 0.0495463535, 0.0033585264, -0.044339329, -0.0260663852, -0.006925642, 0.0774405375, 0.0403408371, -0.0590542071, 0.020502517, -0.0018174169, 0.0174087659, 0.0435562432, -0.0493570641, -0.0496417284, 0.045004718, 0.0177752189, -0.0297620241, 0.0204224344, 0.1020847857, 0.0164221283, -0.0145620219, -0.031684503, 0.0794448629, 0.0409640558, 0.0035443422, 0.0228942763, -0.0274055693, 0.006694702, 0.0293745641, 0.0384107865, -0.0039046039, -0.0505507961, -0.0146233076, -0.0111757182, 0.0045437491, -0.0596525781, -0.0146650393, -0.0971000195, 0.0070894104, -0.0037840318, -0.0326893516, 0.0359882265, -0.0121730501, 0.0062948042, -0.0162541028, -0.0504119061, -0.0246585868, 0.0024033035, -0.0155911576, 0.0250845104, -0.0743215755, -0.0328734219, 0.0243242551, -0.0198631734, 0.0231442731, 0.0650870949, 0.0236621145, 0.0204323325, 0.0263936725, 0.0103496397, 0.0666503012, 0.0250882059, -0.0392874293, -0.0214861743, -0.0186092146, 0.0277181733, 0.0181968641, 0.0303542092, -0.0105032111, -0.0576073602, 0.0242361855, 0.1214881986, -0.0354927145, 0.01244481, -0.0137917325, 0.017974373, 0.0549287759, 0.0369656272, -0.0470968634, -0.0121170199, -0.0255465824, -0.0320056453, -0.0488248691, -0.0609946623, -0.0422725938, -0.0066330968, -0.018813476, 0.0398020819, -0.0670291185, -0.0452675894, 0.0738196969, 0.0113641191, 0.0338039994, -0.0535962395, 0.0406515859, 0.0409151725, -0.0292720757, -0.0146388048, -0.0321438722, 0.0033146562, 0.0002042685, -0.0438847803, 0.0311274808, -0.0301589146, -0.0126927914, 0.0376634076, -0.0149235213, -0.047779236, -0.0033976636, 0.0738462359, 0.0077304663, 0.0412974022, 0.0077678328, -0.0113983601, 0.0220524054, -0.0314598456, -0.0103222458, -0.0206959434, 0.0332796499, 0.0646985993, 0.0005380615, 0.0285704061, -0.0981893912, 0.0317793228, -0.0025252285, 0.0369572863, -0.0199779961, -0.0104453415, 0.0268715583, -0.0543911196, 0.0235613063, -0.0325874425, -0.0272497367, -0.019041229, 0.0061684251, -0.0281799994, -0.0257159993, -0.0535013117, 0.0292480215, 0.0020398241, -0.0076852487, 0.0408363901, 0.0258562583, -0.0214172397, 0.0156932101, 0.0045282524, -0.0016019159, 0.0056910706, 0.0386822633, 0.0347967669, 0.0346658193, 0.0028929194, -0.0136327138, 0.0215490554, 0.0141591756, 0.0115407323, 0.032290753, 0.00288791, -0.001016994, -0.0797261521, -0.0153622534, -0.0358643048, -0.0388550572, 0.0188095346, 0.0101008127, 0.0612186342, -0.0228131581, 0.0134270405, -0.0880711153, 0.0436513908, 0.0088593056, 0.0213258006, 0.0167098194, -0.0431907885, 0.0627176315, 0.0338851698, -0.0003244146, -0.0104642948, 0.0510151424, 0.0339103788, 0.0700034425, -0.005946917, -0.0101041095, -0.0492181554, -0.0529575944, 0.0050095846, 0.0451889038, -0.0278968625, -0.0281531215, -0.0501902848, -0.0081345662, -0.0167270787, 0.0200732891, -0.0117635122, -0.0307686795, 0.0642226189, 0.0005389798, 0.0013994355, -0.0515602529, -0.0214205049, -0.0488134027, -0.0119400844, -0.0084287701, -0.0705470219, -4.850698745e-33, 0.0046934369, -0.0490223467, 0.069063656, -0.0471606441, 0.0058208173, -0.0239011068, -0.0493238531, 0.0161138233, 0.0171913579, 0.0346658975, -0.0168791413, -0.0081685269, 0.0174493287, 0.0013030948, 0.0243995972, -0.0045779808, 0.0455534607, -0.0283514, -0.0139798457, 0.0127106495, 0.0548869818, 0.0067251679, 0.0257717539, -0.0402238369, 0.0159699079, 0.0093035335, -0.0300912801, 0.0483113416, 0.0702122897, 0.040065676, 0.0080033727, -0.0123188999, 0.0308292843, -0.0232061315, -0.0190827325, 0.0405511595, -0.0572466664, -0.0524757989, 0.032229837, -0.0126757845, -0.0558990091, -0.0186518487, -0.0284558162, 0.0102015892, -0.0220768321, 0.0078340722, 0.0421733819, 0.0081813065, 0.0102376156, 0.0173077527, -0.0700600818, -0.0200442374, -0.0310308579, -0.0109694833, 0.0358688124, 0.0470478944, 0.0323920883, -0.0341493599, 0.003987452, 0.0279330462, -0.0367591977, 0.0016285501, 0.0454683527, 0.0267017931, -0.0057061273, 0.0659724921, 0.0095579196, 0.0094500175, -0.0098579526, 0.0179521125, -0.0317897536, 0.0877990276, -0.0379236378, 0.0239207447, 0.0072205048, 0.0534238927, -0.0407795832, 0.0614038147, -0.0282520819, 0.0974654332, -0.011724052, 0.0128364498, -0.008323878, 0.0073615061, -0.0100319665, 0.0467368104, 0.0122165866, -0.0284915697, 0.0453706272, 0.0161409043, 0.0375882946, -0.0009289642, 0.0258070901, 0.0014675857, -0.005062283, 0.0330811031, -0.020436015, -0.004522244, -0.0026969919, 0.0222982056, -0.036769893, -0.064001359, 0.0243640468, -0.0193155948, 0.015604306, 0.0107895117, -0.0122775398, 0.0604030117, -0.0129122222, 0.0051236404, -0.0425819717, -0.0119115654, 0.003676269, 0.0190736037, 0.0469678268, -0.0152833341, -0.0350041613, 0.0041115247, -0.0021185738, -0.1311978996, 0.009957267, -0.0163606908, -0.0054729418, 0.0171190389, -0.0378532745, -0.025002066, -0.0414826609, 0.0284347963, 0.0240301006, -0.0484784171, 0.0034845863, 0.0247919355, 2.606e-7, -0.0301586483, 0.0169272628, -0.0040664752, 0.0359197222, 0.0022723784, 0.0299871396, -0.0218520705, 0.0265424605, -0.0446213335, 0.0325840898, 0.0574530102, 0.0307558365, 0.021365108, 0.0003416579, -0.0908249021, 0.0082808752, 0.0315036364, -0.0111058913, -0.0658299178, 0.0136014707, 0.0797372982, 0.0328240953, -0.0135069219, 0.0178592615, 0.0136499805, -0.0523013994, 0.0450314023, -0.0330342017, 0.0312031601, -0.0088851163, -0.0357853882, -0.0017199648, -0.0285917036, -0.0413282625, -0.0435620472, 0.0264596622, -0.0354918279, 0.0906144008, -0.0033677593, -0.0322108231, -0.0139319105, -0.0197078492, 0.0252727214, 0.0061538159, 0.0464822575, -0.0404021703, 0.0292672366, 0.0382037349, 0.0276312847, 0.0057117925, -0.0977281407, 0.0146115618, -0.003832927, -0.0281473678, 0.006231172, 0.0221329071, -0.013990771, -0.0683339387, 0.0168443359, 0.0390964225, -0.0221836083, -0.0065270523, -0.0192954093, 0.005973883, 0.0000027122, -0.0441225655, 0.0047451104, 2.013533431e-34, -0.0614677295, 0.0204653423, -0.0152394176, 0.0486622341, 0.0238709506, 0.0228974689, 0.0016224197, 0.054113742, 0.0582576916, -0.0438137166, -0.0378086977 ]
http://arxiv.org/abs/2312.08495v1
http://arxiv.org/pdf/2312.08495v1
Beyond Accuracy: Automated De-Identification of Large Real-World Clinical Text Datasets
2023-12-13T20:15:29
2023-12-13T20:15:29
Veysel Kocaman, Hasham Ul Haq, David Talby
cs.CL
cs.CL, cs.CR, cs.LG
Recent research advances achieve human-level accuracy for de-identifying free-text clinical notes on research datasets, but gaps remain in reproducing this in large real-world settings. This paper summarizes lessons learned from building a system used to de-identify over one billion real clinical notes, in a fully automated way, that was independently certified by multiple organizations for production use. A fully automated solution requires a very high level of accuracy that does not require manual review. A hybrid context-based model architecture is described, which outperforms a Named Entity Recogniton (NER) - only model by 10% on the i2b2-2014 benchmark. The proposed system makes 50%, 475%, and 575% fewer errors than the comparable AWS, Azure, and GCP services respectively while also outperforming ChatGPT by 33%. It exceeds 98% coverage of sensitive data across 7 European languages, without a need for fine tuning. A second set of described models enable data obfuscation -- replacing sensitive data with random surrogates -- while retaining name, date, gender, clinical, and format consistency. Both the practical need and the solution architecture that provides for reliable & linked anonymized documents are described.
[ 0.076286152, 0.0477754176, -0.0044495254, 0.004484369, -0.0558152795, 0.0397239774, 0.0643390045, 0.0220888425, 0.0165924449, -0.0013639577, 0.0129983416, -0.0088494327, -0.0026802639, 0.0592868142, -0.0166522246, -0.0155217787, 0.0181976594, 0.0394710526, 0.0352491811, -0.0002594722, -0.017268328, 0.0166185703, 0.0189414807, 0.0317244157, 0.0186756905, -0.0086756544, 0.0134391412, 0.0123711899, 0.0259665195, -0.0484955534, 0.0020915102, 0.0180022009, -0.0109591279, 0.07543201, 0.0000020947, -0.0296879485, -0.0777880251, 0.041385781, -0.1092803255, -0.0470144451, 0.0618031807, -0.0546887591, -0.0373159535, -0.0245018601, -0.0057762917, -0.0453994013, 0.0479690097, 0.0287368838, 0.0565018952, 0.0756486729, -0.0489078723, 0.021464929, -0.0040170406, 0.005925748, 0.0233280659, -0.0309928395, 0.0544912815, -0.031224167, 0.0323613696, -0.0014821911, 0.049339503, 0.0570600741, -0.0357597284, 0.0299553033, -0.0171548948, 0.0283146277, -0.0425788276, 0.0102611324, 0.0097138761, 0.0237935968, -0.0263413843, -0.0366223492, 0.0739759728, 0.014636145, -0.0406109691, 0.0061330637, -0.0042072912, 0.0215989035, -0.0486825593, -0.0236712992, -0.0011919956, -0.0034202849, 0.0212885607, 0.0008781867, 0.0206672382, -0.0573949814, 0.020921506, -0.0218943972, -0.0171371698, -0.0482740588, -0.0014267209, -0.0635694042, 0.0699424595, -0.0033076697, 0.0188098438, 0.0038850636, -0.049949754, -0.0723095089, 0.0280419402, -0.0383027866, -0.0258342177, -0.0105842547, 0.0388947725, 0.0458612517, -0.0380999111, 0.0377912112, -0.0066990936, 0.0074802353, 0.0031759751, -0.0102443649, -0.0164741892, -0.002348786, -0.0191728491, 0.0409643278, -0.0265887827, 0.0244390853, -0.0651952475, 0.020637041, -0.0161927044, 0.0566695184, -0.0219069012, 0.0078104129, -0.0515748747, 0.0060042506, 0.0289437268, -0.0421481431, 0.0416461453, 0.0003640173, -0.0266740341, -0.0419626534, 0.0442538485, 0.010903528, 0.0726815015, 0.0012102069, 0.0273453761, 0.0499095321, 0.035335958, -0.0301774424, -0.021499401, -0.0579955801, -0.0080744624, 0.0101398397, -0.0152467368, -0.0424318761, 0.014894451, -0.0048949183, -0.0325190164, -0.0760389939, -0.0086913416, 0.0064671407, -0.0720398426, 0.0627256483, -0.0731688663, -0.0160265751, 0.0609187149, 0.0350887589, 0.0351868384, -0.0409561209, 0.0022696806, -0.0137262419, 0.0373082384, -0.009890222, 0.0574929416, 0.0188743789, 0.0250794161, -0.0677608922, 0.0255909525, 0.0311313458, 0.0554822609, 0.0074596787, -0.0273219813, 0.0554952882, 0.0032132382, -0.0754705295, 0.024547033, 0.0750677809, -0.0208709612, 0.0239132196, -0.0287911259, 0.0022865676, -0.01385142, -0.0660049096, -0.0326672569, -0.0217244718, 0.007858797, -0.0313931964, -0.0482192636, -0.0199451074, -0.0084716352, 0.0150289582, -0.0165944491, -0.0562042333, -0.0121695437, -0.0208817702, 0.0112796789, -0.0031656104, -0.0215551518, 0.0405819491, -0.0012066306, -0.051905036, -0.0397548079, -0.0617335439, -0.000880672, 0.0698562041, 0.0879696608, -0.0306766946, -0.0316679738, -0.0439771488, -0.0261583999, 0.0146588171, -0.0496411473, -0.0284143891, 0.0442972593, -0.0570107102, -0.0361892544, 0.0602545328, 0.0116876876, 0.0162867084, 0.0125169521, 0.0329542272, 0.0084442915, -0.0377305597, -0.0169921461, 0.0133334147, -0.0795851424, -0.0510917455, 0.0243651401, 0.0125309909, 0.0635607019, 0.0221751481, 0.0163272321, 0.0071804808, 0.0413847342, -0.0058969492, -0.000206333, -0.0143446019, 0.0252872389, 0.0463179126, -0.0171262994, -0.0175629519, 0.0185683984, -0.0033927979, -0.0057602935, -0.0120062586, -0.0368946828, -0.0140491035, 0.0301303901, -0.0066829664, 0.0281494837, 0.0355990753, 0.0243077427, -0.028573798, -0.004520766, -0.0114241913, 0.0185353383, -0.0015024598, -0.0416611508, 0.0326687135, -0.021614477, 0.005831745, -0.0354490466, -0.0337559879, 0.0167817716, -0.0174164474, -0.027919976, 0.0062227701, -0.0223578345, -0.0820185766, 0.0100146644, 0.0066869874, 0.0306678768, 0.034382157, 0.0516899414, -0.0304795299, -0.0417384505, -0.019864358, -0.0652679875, 0.0106710196, 0.0211533066, 0.0396935865, 0.0314829387, -0.0114265708, 0.0213096384, -0.0084715951, -0.0051117959, 0.0204309672, -0.017530892, -0.0566852689, -0.0057004015, 0.0502943285, -0.0385641903, 0.0058981609, -0.0364014357, 0.0091704521, -0.0196341816, 0.0093632489, 0.0022375821, 0.0595918708, -0.0216493178, -0.0101809641, -0.0024135925, -0.0000768574, 0.0046499586, -0.010094936, -0.0273681898, 0.013375733, 0.0339888595, -0.0774903297, 0.0080520511, -0.0041077659, 0.0223108307, 0.0006987968, -0.0034135177, 0.0045815376, 0.0135971522, 0.0184163451, -0.0319238752, -0.0249999985, -0.0019173402, 0.0046508689, -0.0301932562, -0.0127287479, 0.060200043, -0.0065485202, 0.0543079674, -0.0247268621, -0.0202539749, -0.0053540808, 0.0151261091, -0.0008012532, 0.0232297517, 0.0590113103, -0.0359506086, 0.0332766175, 0.0210838541, 0.023795668, -0.0715966299, 0.0033352738, -0.0118559413, 0.0143075706, -0.0010732128, -0.0198769141, -0.0322519653, -0.0493628569, -0.0108325155, -0.0109481793, -0.0084781349, -0.0017908587, -0.0510462448, 0.0526317917, 0.0155624589, 0.089593865, 0.0327490866, 0.003053009, -0.0013365909, 0.01224613, -0.0310256612, -0.0718282312, 0.0117001114, 0.0109820552, -0.0183755103, 0.0925746709, 0.0245951097, 0.0338210277, 0.0174724236, -0.0244963355, -0.0446866527, -0.0494647399, -0.0550356209, 0.0097984057, 0.0057414132, -0.0458722524, -0.002735395, 0.0874457806, 0.0050057373, -0.0775930956, -0.0133894896, 0.0308610685, -0.0622656234, -0.0389086865, -0.0057324553, -0.0681146383, -0.0041731242, 0.0204261802, 0.0296146963, -0.0470229052, -0.058578141, 0.002202017, -0.0222222358, 0.0284612607, -0.0117326602, -0.0397848897, -0.0093432153, -0.0513685159, 0.0335310921, -0.0018197102, -0.0416033342, -0.0279350597, -0.0106878476, -0.0111015895, -0.0226998646, -0.0487859435, -0.0621423647, -0.0108730486, -0.0520207249, 0.0597108454, 0.0321865231, 0.0162470657, -0.0103354547, -0.0111218197, 0.0020625114, 0.0127497427, -0.0453294106, -0.0097542843, 0.1127860174, 0.0020004439, 0.0061849901, -0.0648468956, 0.058260303, 0.0105217434, -0.0296506137, -0.0118781235, 0.0211986564, -0.0407716371, -0.0101803569, -0.0296984762, -0.0280319564, 0.0205726214, 0.055420205, -0.0263114795, 0.0023772803, -0.0113266269, 0.0185872614, 0.082882449, 0.0327428691, 0.0344516188, 0.0166792404, -0.0787014365, -0.060953062, -0.0308946613, 0.0221583769, -0.0124709634, 0.0033175659, 0.0429510437, 0.0534140989, 0.0181710869, 0.0029631781, -0.081929408, 0.00462435, -0.0129833007, 0.011339711, -0.0453422256, 0.0233284589, 0.0101363929, 0.00720113, -0.0249496531, 0.0136282258, -0.0090668127, -0.0065937373, 0.0669965819, -0.0195513405, 0.0267441683, 0.0297880881, 0.0179657489, -0.0335810892, 0.0509680659, 0.0482293628, -0.0042877723, -0.0357155912, -0.0161812454, -0.0116193937, -0.0394027457, -0.0000158823, -0.0193838831, 0.027875971, 0.0731528699, -0.059180133, -0.0427035913, -0.0136827622, -0.0093627963, 0.052680891, 0.0203462802, 0.0194531474, 0.016798107, -0.0222182386, 0.022498481, -0.0275889859, 0.0269667301, 0.0171680078, -0.0065539842, 0.0015304598, 0.0174811129, 0.0015620008, 0.0425450243, -0.0319925733, -0.0458049178, -0.0475353561, 0.0044037597, 0.0255590845, 0.0482325517, 0.0373900235, -0.0378493704, 0.002697672, 0.039477367, 0.0416549146, 0.0755934864, -0.0431032255, 0.0217848681, -0.0130640743, 0.0071465825, -0.0151944114, 0.0534236208, -0.0429187156, 0.0273051392, -0.0295498632, 0.0176729951, 0.0065006847, 0.0219142381, -0.0087747695, -0.058997523, -0.0064718309, -0.0219964087, 0.0325466804, -0.0133274468, 0.0148492856, -0.0076347049, 0.0141192032, -0.0289461613, 0.0288616698, 0.0465799235, 0.0150165716, 0.0573140085, -0.0114859231, -0.0600705035, -0.055203665, 0.004655337, 0.01783395, -0.001210998, -0.0501329713, -0.0331807099, -0.0296504181, -0.0251449347, 0.0684946924, -0.0062309257, -0.0027066832, 0.0043236576, 0.0160719659, 0.026147861, 0.0269529875, -0.0397303663, -0.0194314085, 0.056593623, -0.0435205288, -0.0721323043, 0.0226369482, -5.847459914e-33, 0.0582718328, -0.031646166, -0.0228281245, -0.0141860722, 0.0159341618, 0.0679853559, -0.0125538837, -0.0434282683, 0.0454488657, -0.0081749605, -0.0552566648, 0.012657675, 0.0195226669, 0.0235065911, -0.0256481133, 0.0093694991, 0.0190430395, 0.0228671674, -0.0201036148, 0.046807874, 0.040894676, 0.0616707914, 0.0245084576, -0.116794683, 0.027747523, -0.0351952165, -0.022914283, 0.0147317024, -0.0019013281, 0.039667394, -0.0538340323, -0.045398619, 0.0480212793, 0.0122950543, 0.0193514451, 0.0399086066, -0.1080089435, 0.0094545046, -0.0207206812, -0.00482229, 0.0206220951, -0.0748912767, 0.048838947, -0.053308405, -0.030104395, 0.0320655517, 0.0060026762, -0.0423737876, -0.0338248685, -0.0290274154, 0.0339672714, 0.0451164916, -0.0059744162, 0.0308563057, 0.0521252342, -0.0108153615, -0.0277277846, 0.003296765, -0.0803443268, -0.0256760456, 0.0178692266, -0.0061889417, -0.0153989354, -0.0132079553, -0.0003083866, 0.0356366597, 0.0478784218, -0.0120231742, 0.0037131724, -0.0048477906, -0.0508950241, 0.031210307, 0.0573132336, 0.0392980203, 0.0511154197, -0.0537733324, -0.0584632158, 0.0599466152, -0.0775177404, 0.014902818, 0.0481895991, -0.0183324702, -0.0778319836, 0.0163864773, -0.0009483314, -0.0221788827, -0.0048861546, -0.0075383754, 0.0024248832, -0.0138267307, -0.0449305065, 0.0312266741, -0.0058846045, -0.0334458984, 0.0001522668, -0.0257022027, 0.0656634495, 0.013191021, -0.0169800036, -0.0135522699, -0.0096332263, -0.0061226119, 0.0155003667, -0.0071138921, 0.0331517458, -0.011960811, 0.0465177633, -0.0137144569, -0.0874119028, -0.0063069249, 0.0514850467, 0.0381594598, 0.0074916114, 0.0175610241, -0.0036442478, 0.0008517881, 0.0558758043, 0.0064979871, 0.0222980715, 0.0070006484, -0.0506506488, -0.0148552926, -0.0024119006, -0.0022242572, 0.0071502617, 0.0022057367, -0.0151095586, 0.0336880162, 0.0437248796, -0.0182530228, 0.0388002209, 0.0122378897, 2.918e-7, 0.0623660348, 0.0118273562, 0.0520887114, -0.0430200435, 0.0509069972, 0.0291599035, 0.0259790532, -0.0079693431, -0.024085246, 0.0066428478, 0.0254636537, -0.0460185595, 0.0804339647, 0.0369800776, -0.0747998357, -0.0249385834, -0.0322589688, -0.0177421477, -0.0543644838, 0.0341446511, 0.0018757505, 0.0613803305, -0.0087897833, -0.0448870175, -0.0249959789, -0.0002163747, -0.0140949907, -0.0331354216, 0.0316973627, 0.0275216401, 0.0074812653, 0.0270100869, 0.0176736694, 0.0380648933, -0.0229995642, -0.0147396466, -0.0189899541, 0.123768039, -0.0374244563, 0.0509977266, 0.0091567514, -0.0690873936, 0.0180596616, -0.0182881802, 0.0846293345, 0.0232396759, -0.0256126411, -0.0000831235, -0.0360837653, -0.0395862497, 0.0624969192, 0.0175803881, -0.0492463931, 0.0429562293, 0.006744212, 0.0171816982, -0.0094533237, -0.0725231841, 0.0319256298, -0.0181340761, -0.0050398833, 0.032651864, 0.0496328026, -0.021252932, 0.0346951261, -0.0523690544, 0.0684349313, 2.81744713e-34, -0.012602645, -0.0001077294, -0.0325360782, 0.0145066623, 0.0026862121, -0.0317581967, 0.0198550615, 0.0385385081, -0.0021970021, -0.0421774425, 0.0161718894 ]
http://arxiv.org/abs/2312.10091v1
http://arxiv.org/pdf/2312.10091v1
Look Before You Leap: A Universal Emergent Decomposition of Retrieval Tasks in Language Models
2023-12-13T18:36:43
2023-12-13T18:36:43
Alexandre Variengien, Eric Winsor
cs.IR
cs.IR, cs.CL, cs.LG
When solving challenging problems, language models (LMs) are able to identify relevant information from long and complicated contexts. To study how LMs solve retrieval tasks in diverse situations, we introduce ORION, a collection of structured retrieval tasks spanning six domains, from text understanding to coding. Each task in ORION can be represented abstractly by a request (e.g. a question) that retrieves an attribute (e.g. the character name) from a context (e.g. a story). We apply causal analysis on 18 open-source language models with sizes ranging from 125 million to 70 billion parameters. We find that LMs internally decompose retrieval tasks in a modular way: middle layers at the last token position process the request, while late layers retrieve the correct entity from the context. After causally enforcing this decomposition, models are still able to solve the original task, preserving 70% of the original correct token probability in 98 of the 106 studied model-task pairs. We connect our macroscopic decomposition with a microscopic description by performing a fine-grained case study of a question-answering task on Pythia-2.8b. Building on our high-level understanding, we demonstrate a proof of concept application for scalable internal oversight of LMs to mitigate prompt-injection while requiring human supervision on only a single input. Our solution improves accuracy drastically (from 15.5% to 97.5% on Pythia-12b). This work presents evidence of a universal emergent modular processing of tasks across varied domains and models and is a pioneering effort in applying interpretability for scalable internal oversight of LMs.
[ 0.0507606082, 0.0429471023, -0.022662323, 0.0357158221, -0.0059572933, 0.0137648946, 0.0006493198, -0.0050409618, 0.0150913056, -0.0214238092, -0.0096411444, -0.0293539297, -0.0275060106, 0.0509136133, 0.0165802576, -0.0411490984, 0.0592982993, -0.0501263626, 0.004566289, 0.0098088374, -0.005068168, -0.0117626069, 0.0025135642, 0.063314639, 0.0323733576, -0.0067195515, -0.0421069451, 0.0002475052, -0.0288399905, -0.0012679062, 0.0062504793, 0.0339371711, 0.0323341563, 0.0574699678, 0.000002205, -0.0440982133, -0.0240260493, -0.0022300929, -0.0597606711, 0.018518351, 0.001653644, 0.0208368413, 0.0133249862, 0.0092688706, -0.0296560749, -0.0308110323, 0.0502095558, 0.0465068631, 0.0388250463, 0.0380157121, 0.0110927867, -0.0048006964, -0.0029030009, -0.008173842, 0.0204008725, -0.0367633216, 0.0140823042, -0.0326427184, 0.0383518003, 0.0394215733, -0.0261394698, 0.0413674675, 0.0457415432, -0.0027819087, 0.0139388023, 0.0409745649, 0.0004548458, -0.0386833623, -0.0039998149, 0.0570637472, 0.0159845017, -0.029031612, 0.0119648064, -0.0070454385, 0.0231761523, 0.0412110873, -0.0746945664, 0.0254987683, -0.0181841087, -0.0151553871, 0.0329568125, -0.0142219244, 0.0363580883, 0.0056165648, -0.032827951, 0.0811831728, 0.0120535521, -0.0171712823, -0.0490226522, 0.0033175594, -0.0011910459, -0.0597981028, 0.0328714326, 0.0532069765, -0.0573202111, 0.0306426361, -0.0082995417, -0.0104527008, 0.0102629727, -0.0190185588, 0.0383282863, 0.0461181998, -0.0196355395, 0.0663085431, -0.0077843345, 0.0492721498, -0.0557018444, 0.0195172206, -0.0321420617, -0.007544192, -0.0607465915, -0.0333354846, -0.0249259528, 0.0294885784, -0.0582613982, 0.0008339597, 0.0148645118, 0.0694859922, 0.0090546831, -0.0186811276, -0.0026826842, 0.0353862345, -0.0188022628, -0.0064364332, -0.0550961867, 0.0332312286, -0.0533296242, -0.0022956878, 0.013957968, -0.0374042764, -0.0379223526, -0.017164886, 0.0159923825, -0.0369690694, -0.0069789481, 0.0586552694, -0.0050276276, -0.0298647918, -0.0198649559, -0.0724814683, 0.0094652725, -0.0406429581, 0.0082509462, -0.0436034463, 0.0130870882, 0.0276725851, -0.0172367804, -0.0247973111, -0.0095000742, 0.0250628442, -0.02835273, 0.0663927123, 0.018409051, 0.0108188689, 0.0143776275, 0.0403453819, 0.006851376, 0.0439190455, 0.0013667966, 0.0398971476, 0.0319553614, -0.000113547, 0.0602989346, 0.018040508, 0.0206377245, 0.0101924893, 0.0138876336, 0.0345852822, 0.0105788801, 0.0018823852, 0.0250994097, 0.0241200384, -0.0198299959, -0.0103994384, 0.0552859828, 0.0708571672, 0.012899206, 0.0009041114, 0.0489961058, -0.0186007619, -0.0005493353, 0.0213173348, -0.0669795647, 0.0466400161, -0.0309285354, -0.0147272637, -0.0134825837, 0.0000706308, -0.0377586447, -0.0563870929, -0.0014066438, 0.0315364823, -0.0218255091, 0.0425491147, 0.0429241993, 0.0124067841, -0.0131049594, 0.0320964903, 0.0185314324, -0.0665302128, 0.0138856946, -0.0811246634, 0.0573935919, 0.0681856275, 0.0849274322, -0.0678036362, -0.0049210428, 0.015633665, -0.0078102555, 0.0062436415, 0.0071432646, -0.0461929701, 0.0248239916, -0.0247296505, -0.0410471298, -0.0134290354, 0.010694704, 0.0109482482, 0.0195990205, -0.0555660203, -0.0004082269, -0.034367945, -0.0137211895, 0.0467221029, -0.0550352968, -0.0430127196, -0.0256932639, 0.0230154339, -0.0103014261, 0.0176409222, 0.0113528091, 0.0298934616, 0.0435486771, -0.0227311552, -0.0222954974, -0.0037332748, -0.0535100289, -0.0104123792, 0.0037863306, 0.0117998775, 0.0037860321, 0.0188898668, 0.0020141648, -0.0724050775, 0.0586977787, -0.0439401194, 0.0243292805, -0.0262060557, -0.005081824, -0.0162608624, -0.0260614622, -0.0344257578, 0.0655249879, 0.017060332, 0.0158015657, 0.0250969287, 0.0287413783, 0.0116893491, -0.028751649, -0.0381913371, 0.00848593, -0.007322792, 0.0226063933, 0.0545130111, -0.0440943986, -0.0501043908, -0.0192561168, -0.0851696208, 0.0147475461, -0.0162205715, 0.0095157363, 0.0294132102, 0.0440177321, -0.0057973387, -0.0336153284, -0.0038536019, -0.009568044, -0.0007564804, 0.0345930681, 0.0380054973, 0.0268696584, -0.0205983184, -0.045357842, -0.0297968723, -0.0357248746, 0.0504409224, 0.0079846084, -0.0109482454, -0.0828746706, 0.0265861042, -0.0061358167, 0.0350910462, -0.0166478138, -0.0174952541, 0.0340409093, -0.038873136, 0.0724645779, 0.0910725892, -0.0262517501, 0.0475043468, 0.0755637586, -0.0361340344, -0.0653155744, 0.019460164, -0.0232938714, -0.0184234902, -0.0066402829, -0.0002172309, 0.0103896586, 0.1214265078, -0.0054685017, -0.0251084715, -0.0650729761, 0.0201312229, -0.0162285417, -0.0138348341, -0.0393855534, -0.036994122, -0.0218537245, 0.0734549388, -0.0286806636, -0.0526378267, 0.091372177, -0.01965205, -0.0120396884, -0.0141817778, -0.020066116, -0.0392082147, 0.1211935878, -0.0033791829, 0.0000867037, 0.0599712431, -0.0622851439, -0.0757578015, 0.0297562834, 0.0083619179, -0.0363019854, 0.0488425083, -0.0571738258, 0.0080001876, -0.004599486, -0.0456585549, -0.0539882816, -0.0330990292, -0.0191930737, 0.0184703693, -0.0006625541, -0.0144779496, -0.0403233804, -0.027005706, 0.0635868832, 0.035073027, -0.0298021343, -0.0120264152, -0.0480878577, 0.0197950825, 0.0217548832, 0.009806159, 0.0060282224, -0.0431321077, 0.0391320586, 0.030948611, 0.0634214729, -0.0291506778, 0.0054940921, 0.0007684823, 0.0238552056, -0.0360197723, -0.0117257154, 0.0197158661, 0.0612717532, -0.0989348665, -0.0577673279, 0.0961141512, 0.0376810022, -0.0572337769, -0.017836865, -0.0618346818, 0.007447565, 0.0585325845, 0.0380422659, -0.0703157559, -0.0337164029, 0.0288608558, 0.0283730738, 0.0024519542, -0.047106605, 0.0095402179, -0.0936576948, 0.0303149279, -0.0231437255, -0.0329862162, -0.0074709756, -0.0322448239, -0.0031884932, 0.0052815164, 0.0043011364, 0.0549184605, -0.0186485723, 0.018367881, 0.0042415769, 0.0348699056, 0.013073883, 0.0331054106, -0.0486962013, 0.0448827855, 0.0405144468, -0.0100439619, 0.0071575246, 0.0031358728, 0.010488471, -0.0369825922, 0.0052513112, -0.0031000965, 0.0482744649, 0.020485783, -0.0183677617, -0.0441816226, 0.015785465, -0.0386564285, -0.0249068402, -0.011498508, 0.0916934758, -0.0265315026, -0.0041721039, -0.0277688932, -0.0291114692, -0.0178135391, 0.0858141556, 0.0502817892, -0.0294107683, -0.0612948313, -0.0264610238, -0.0189429708, -0.0254616216, -0.0300730933, 0.0282708555, 0.0207329318, -0.0067297532, -0.0591498092, -0.0348277949, 0.0405273288, 0.0330478735, 0.0113377562, 0.0175599698, 0.0144795878, -0.012345653, -0.0755413026, 0.0317088291, -0.0590149388, 0.0039067995, -0.0477994084, 0.002114078, 0.0154454922, -0.0355732366, -0.0229492262, 0.0302799828, -0.0589640886, -0.0552799404, 0.0119397845, 0.0305584315, 0.0326370411, 0.0237749293, -0.0275770985, -0.0856949314, 0.0274968538, -0.0033906836, -0.0651262254, 0.0131192114, 0.0022105344, 0.0001128961, -0.0151264044, 0.0393210799, -0.0585154109, 0.0042809192, 0.0064072413, 0.0377899744, -0.0244186055, -0.007685293, 0.0365718044, 0.0171617884, 0.0215894897, 0.0083367499, -0.0234855432, -0.0633102283, -0.0028562825, -0.0170340929, -0.0245863162, -0.0354616642, 0.0301979519, 0.0199948549, -0.0360617414, 0.035114713, 0.0103438934, -0.0008794666, 0.0618396476, -0.0485676862, 0.0087577412, 0.0267266743, 0.026572112, 0.0248517711, 0.0156190954, -0.008947216, 0.024413988, -0.0012895127, 0.058825355, -0.0268138256, 0.0532611124, 0.0136276986, -0.0055477461, -0.0416071825, 0.016438663, -0.1170336157, -0.0588669628, 0.0471489206, 0.0041512358, 0.0205946639, 0.0108218445, 0.0126136141, 0.0063556503, -0.0050134785, -0.006318348, 0.0097757047, 0.021826569, -0.0063844551, 0.029813759, 0.048392579, -0.00664572, -0.0151464064, 0.0741292536, 0.0146601275, 0.0537300259, -0.0190943349, 0.0016789361, -0.0274509825, -0.018592326, 0.0031736323, 0.04040372, -0.0633371919, -0.001003075, -0.0576017573, -0.0471103303, -0.0267625377, 0.0268153902, -0.0299161468, -0.0383968316, 0.0306122229, 0.0548267365, 0.024829682, -0.0383203514, -0.0328101888, 0.0500985496, -0.0075840731, -0.0210151747, 0.012883313, -6.924647672e-33, -0.0392735228, -0.0273739863, 0.0498576872, -0.0081011392, -0.0018002448, 0.0345920362, -0.0708241761, 0.010276082, -0.0177702177, -0.0114018554, -0.0292117726, 0.0452159345, 0.001212116, 0.0090183038, 0.0283201281, -0.0268152412, 0.0239483118, -0.003244302, -0.0213808082, 0.0480635241, 0.0773252249, 0.0351168029, 0.0267718881, -0.0212444551, 0.05492118, -0.0006018379, 0.0278570037, 0.0482417196, -0.0078539969, 0.0742279962, -0.0295026079, 0.0230744854, 0.0461244173, -0.0509531461, -0.0133039663, 0.0552833714, -0.0859210566, -0.0328888893, 0.0301125869, -0.0180280972, -0.0738062784, -0.0356530286, 0.0538526736, -0.0127294026, 0.0165813845, -0.0147473719, 0.0219334178, 0.001091301, -0.0016988205, -0.0115340762, -0.0583320223, 0.0023867306, -0.0101759536, -0.0387894548, 0.0405093543, 0.0426790826, 0.0261773393, 0.0290153138, 0.0061776955, -0.0023053936, -0.0287347864, 0.0370245017, 0.0289302189, 0.0549138971, -0.0076727699, 0.0441022627, 0.0274689924, 0.0113245742, -0.0662956908, -0.0349815078, 0.0170956906, 0.0556560196, 0.037992008, -0.0010696894, 0.0005460559, 0.0075313328, -0.0629715621, 0.0303149708, 0.0338262245, 0.0227395184, 0.0234042425, 0.0291571002, -0.0267981347, -0.0203819685, -0.0519649424, -0.022088863, -0.0654839277, 0.0157734249, 0.0348943733, 0.0057330811, -0.0461024344, -0.0338364169, 0.0377892703, -0.0644576177, 0.0137415845, 0.0210518166, -0.0011723121, 0.037906263, 0.0009932956, 0.0450835228, -0.0156512596, -0.0150668463, 0.0199079979, -0.0083854152, 0.0051872977, 0.0312221926, -0.0153214652, 0.0198081341, -0.0509791635, -0.0086842729, -0.0751129165, 0.0008040676, -0.0073590144, 0.0145816477, 0.0414342657, 0.0356845371, -0.0033673136, 0.0172171146, 0.0194308888, 0.0102752, -0.0544422902, -0.0037907588, 0.0016737803, -0.0020498952, -0.0240577925, -0.0197180975, -0.0551165268, 0.0440016724, 0.0337654725, -0.0368437022, -0.0063692564, 0.0342688002, 2.951e-7, 0.0538451597, 0.0332341716, 0.0284101181, 0.0175871029, 0.0181427486, 0.0487685874, -0.0050704069, 0.0313708037, 0.0176799223, -0.0479525439, -0.0093570352, 0.0201515798, 0.0117159244, 0.0152747873, -0.098411724, -0.00207347, -0.0330159813, -0.0053106975, -0.0309547819, -0.0039038647, 0.0326021016, 0.0617764108, 0.0136623895, -0.0086032655, -0.0044777482, -0.0450236909, 0.045988638, 0.001192912, 0.0113243191, -0.0008860901, -0.0271179806, 0.0414037555, 0.021938581, -0.0072635608, 0.0001899635, 0.0317869373, -0.0006845603, 0.053351488, -0.0101848627, -0.0105832797, -0.0157977138, -0.0486681052, 0.0258131158, -0.0794499889, 0.0643331558, -0.0199894384, -0.0302203558, -0.0194311067, 0.027656192, -0.0097582601, -0.0390103199, 0.0095932847, -0.0181163475, 0.0226924773, -0.025958078, -0.0081603313, 0.0029838507, -0.1091367602, -0.0255782064, -0.0129626831, -0.0415755957, -0.0244087055, -0.0614119284, -0.0176770575, 0.0150251929, -0.0679900497, -0.0108340476, 2.9706556e-34, -0.0062652235, 0.0163797978, 0.015445237, 0.0501141809, 0.038288001, -0.0236036051, -0.0375400782, 0.0084833018, 0.046974197, -0.1063635349, -0.0539986268 ]
http://arxiv.org/abs/2312.08303v1
http://arxiv.org/pdf/2312.08303v1
Efficient Toxic Content Detection by Bootstrapping and Distilling Large Language Models
2023-12-13T17:22:19
2023-12-13T17:22:19
Jiang Zhang, Qiong Wu, Yiming Xu, Cheng Cao, Zheng Du, Konstantinos Psounis
cs.CL
cs.CL, cs.AI
Toxic content detection is crucial for online services to remove inappropriate content that violates community standards. To automate the detection process, prior works have proposed varieties of machine learning (ML) approaches to train Language Models (LMs) for toxic content detection. However, both their accuracy and transferability across datasets are limited. Recently, Large Language Models (LLMs) have shown promise in toxic content detection due to their superior zero-shot and few-shot in-context learning ability as well as broad transferability on ML tasks. However, efficiently designing prompts for LLMs remains challenging. Moreover, the high run-time cost of LLMs may hinder their deployments in production. To address these challenges, in this work, we propose BD-LLM, a novel and efficient approach to Bootstrapping and Distilling LLMs for toxic content detection. Specifically, we design a novel prompting method named Decision-Tree-of-Thought (DToT) to bootstrap LLMs' detection performance and extract high-quality rationales. DToT can automatically select more fine-grained context to re-prompt LLMs when their responses lack confidence. Additionally, we use the rationales extracted via DToT to fine-tune student LMs. Our experimental results on various datasets demonstrate that DToT can improve the accuracy of LLMs by up to 4.6%. Furthermore, student LMs fine-tuned with rationales extracted via DToT outperform baselines on all datasets with up to 16.9\% accuracy improvement, while being more than 60x smaller than conventional LLMs. Finally, we observe that student LMs fine-tuned with rationales exhibit better cross-dataset transferability.
[ 0.0679344758, 0.0480918065, -0.0190080963, 0.032961227, -0.0416041017, 0.0263351724, 0.0273174569, 0.0203320645, 0.0285567418, -0.0592702739, -0.0053115957, -0.0162310153, -0.0342219546, 0.0643642023, -0.0343843997, -0.0089650266, 0.014813561, 0.0011868174, 0.0272866338, 0.0073807095, 0.021172842, 0.0182099119, 0.0271446593, 0.0193354394, -0.0227866396, -0.0403862037, 0.0336611755, 0.0145604061, 0.0419740006, -0.0343413688, 0.0337821357, 0.0225911271, 0.0062692706, 0.0479615442, 0.000002209, -0.0445208587, -0.0165574104, 0.0010983323, -0.0402525254, -0.017955713, 0.0468880013, -0.0129493875, -0.0227633957, 0.0498845354, -0.0359752774, 0.0446905345, 0.0686849281, 0.0355558842, 0.0804491863, 0.0777816847, -0.0259840619, 0.0103059029, 0.006327814, 0.0174710397, -0.0139923282, 0.0059671053, 0.0823350474, 0.0001758347, -0.0101677608, 0.0457344204, -0.0116657764, 0.0086555472, 0.0091688316, -0.046471633, -0.0035171271, -0.0250973087, 0.0197225362, -0.0311157349, 0.0202250127, 0.0757360533, -0.0675545707, -0.0253059603, 0.0081349723, -0.0214392263, -0.0066148755, 0.0075016641, -0.0406456813, 0.0539352745, -0.0105200913, 0.0412173197, 0.0088272365, 0.0051044128, 0.0354331322, 0.0759890676, 0.0144870076, 0.0307783261, -0.0254395138, -0.0343680233, 0.0165476799, -0.0219920818, 0.0013398414, 0.0097267125, 0.023790855, 0.0119485073, -0.0226727519, 0.0255586114, -0.0476034768, -0.0188619401, 0.0248733852, -0.0500475466, 0.0191814248, 0.0159275029, -0.0373600535, 0.0404856578, -0.0226887297, 0.0115952045, 0.028745098, 0.0621922351, -0.0175048783, 0.0095378235, -0.0135403965, 0.0193535443, -0.0392862894, 0.0304650441, -0.0191611461, 0.010571382, -0.0524192266, 0.0385100581, -0.0569569916, 0.0008348097, 0.0145406537, 0.010368987, -0.0073845624, 0.0119061926, -0.0141203562, -0.0028328996, 0.0045510111, 0.042129647, 0.0086950222, -0.0470338166, -0.015382722, 0.0252738595, 0.0066899215, -0.0106147751, 0.0329804085, 0.0894675851, 0.0184238143, -0.016682107, -0.0542184897, -0.0271383673, -0.0203017555, -0.008076244, -0.0267842133, -0.0535470694, -0.0144800646, -0.0316115431, -0.001725213, -0.0791044459, 0.0079297582, 0.0351784974, -0.0542368181, 0.068976514, -0.0422204174, -0.0067948718, -0.0076823863, 0.0162048005, -0.0375118405, 0.0709213614, 0.0077264984, 0.0921811014, 0.0506848842, -0.0221622139, -0.0084046144, 0.0263120271, 0.0212412588, 0.0227080919, -0.0469990447, -0.0049224216, 0.0008029546, -0.0149895912, -0.0116343768, 0.0479139239, 0.0078515355, -0.0257297847, 0.0849522278, 0.0320703313, -0.0318645351, 0.0018629459, 0.0446284562, 0.0279116109, -0.0403919965, -0.0535869375, -0.0812765434, -0.0065560597, -0.0369281881, -0.04855619, 0.0077890786, 0.0622131713, 0.0160690267, -0.0392836183, -0.0197192952, -0.0115894219, 0.0400134511, 0.0018677897, 0.0373977944, 0.0226953849, -0.0271694735, -0.0118595278, 0.0444841646, -0.0085793883, -0.0133365691, -0.063693054, 0.0673825517, 0.0540607087, 0.0348934531, -0.0216945782, 0.0173340123, -0.0758349001, 0.0351979956, -0.0003349475, -0.0199017208, -0.0174551345, -0.0113442885, -0.019961061, -0.0543813668, 0.0160318874, 0.0037544984, -0.028771244, 0.0294561405, 0.0036890619, 0.0175124165, 0.002113583, -0.065299578, 0.0392539725, 0.0184829384, -0.0171072949, 0.0032557081, 0.0249534342, 0.0571393035, -0.029487839, 0.0015992911, -0.0339317434, 0.0135176498, -0.0045650317, -0.0382263549, -0.0728951544, -0.0369332358, -0.0147829261, 0.0486375764, -0.0236832015, 0.004700189, 0.0383678414, -0.03853577, 0.0261757243, -0.0158692691, -0.0473180749, -0.0353673026, -0.0361717045, -0.0143868402, -0.0316903852, 0.0186074041, -0.0146605317, 0.0673010945, -0.0081628533, -0.0105263181, 0.0072634029, -0.0221241266, 0.0020754244, 0.0208004862, -0.0146232359, -0.0321490392, -0.0642904416, 0.0255634002, 0.0192400515, 0.059437681, -0.0146850599, 0.0136407269, -0.0143227382, -0.0226435587, -0.0304947328, -0.0080139758, 0.0328213423, -0.0014437233, -0.013595691, 0.0046307156, -0.0488059819, -0.0232219994, 0.0151659595, 0.0437977389, 0.0197332855, -0.056667354, 0.0062488122, 0.0001790397, -0.0071964273, -0.0033928864, 0.0395920761, -0.0081636487, -0.0472504459, 0.0120604886, 0.0460944586, -0.0234674048, -0.0053380006, -0.0136281829, -0.0431388505, -0.0029134296, -0.0165342744, -0.0307703465, 0.060518194, 0.0602287985, 0.0403858162, 0.0535989404, 0.0442227088, -0.0571149439, -0.0181171279, -0.0322825462, 0.0089822067, 0.0019393745, -0.0374343246, 0.0445256606, 0.0450767502, -0.0080117518, -0.0177256744, -0.0365604199, 0.0614259727, -0.0137237795, -0.0026094199, -0.0474041738, -0.0722953975, -0.0030461603, 0.0331421234, -0.0337663628, -0.07140854, 0.0965593681, 0.012027083, 0.039791137, -0.0134796193, -0.0380714536, -0.0032899647, 0.0239112228, 0.0013275346, 0.0467518345, 0.0131639419, 0.0017121284, -0.0011819967, 0.0030802984, 0.0834174305, -0.0472511053, 0.0192703065, -0.0344371349, 0.0088460604, 0.0058977376, -0.0589350909, -0.0824546441, -0.0335308239, -0.0103206998, -0.0108742034, -0.0042560953, 0.0010399546, -0.0165020954, 0.0244289376, 0.01401358, 0.0058150957, 0.0066798478, 0.0015350992, 0.0131929358, -0.0140205882, 0.043251168, -0.0227088053, 0.0287033617, 0.0019743519, 0.0688102692, 0.0963171944, 0.0032268662, -0.0228377897, 0.0025262632, 0.0249151234, 0.012860124, 0.0134857744, 0.0248148814, 0.0285663549, 0.0229388084, -0.0104140677, -0.0272730608, 0.0601361096, 0.0170310009, -0.0199629162, 0.0000966357, 0.002964546, -0.0021936491, 0.0201679748, -0.0201870278, -0.082611993, -0.0388889909, 0.0003536502, 0.0352562219, -0.0724165812, -0.0687778071, 0.0045821201, -0.1299362183, 0.0285372697, 0.0122955842, -0.0399399996, -0.0423586369, -0.0436709747, 0.0065674959, -0.0242798347, 0.0048043695, -0.0307867322, -0.0093212081, -0.0371821038, 0.0048276433, -0.0220068209, -0.0468746126, 0.0188061278, -0.0162679348, 0.039522212, 0.0186455995, 0.0205866117, -0.0146123087, -0.0298231971, 0.0527113564, -0.0020978826, -0.027478192, -0.0173495822, 0.060925819, -0.0034875677, -0.0124431625, -0.0026194616, 0.0642918572, -0.0152348178, -0.0335002467, 0.0120821092, 0.1078405678, 0.0142088663, -0.0298885722, -0.0395919196, 0.0155979292, 0.0373390615, 0.0750919804, 0.0332965329, -0.071707949, -0.0010613386, -0.0499915704, -0.063016206, 0.0041326853, -0.0158112738, 0.0066522942, -0.0455075242, -0.0083239907, -0.0611136369, 0.0355841964, 0.0265373047, -0.0086784223, 0.0185191501, -0.0249120127, -0.010805143, 0.010533629, -0.0329078659, 0.0148243671, -0.0129240258, 0.0290978886, -0.0390290208, 0.0440333709, -0.0117127979, -0.026050264, -0.0155424317, 0.0332737528, -0.0429769792, -0.04521304, 0.02556183, 0.0644011796, 0.0139636593, 0.0076486561, -0.0180675872, -0.0290649645, 0.0687360391, 0.0659935847, -0.0349730216, -0.0534705669, 0.0561530516, -0.0085119717, 0.0296941344, 0.038382303, -0.0374074467, 0.0505244024, 0.0476453006, -0.0178083368, -0.0730954856, 0.016204562, 0.0499271564, 0.0423826538, 0.0312581398, 0.0173267853, -0.0192904994, -0.0225299485, -0.0092430776, -0.0034190433, -0.040806707, -0.0167860016, 0.0539100841, 0.0586342737, -0.0203603264, -0.0126056606, -0.0150761474, -0.0174911506, 0.0322710685, -0.0363323949, -0.0061800512, 0.01516697, 0.0338194482, 0.0817701668, 0.0101399478, -0.0214521717, 0.0138470149, 0.022606587, 0.0195085984, -0.0108378865, 0.0372865275, 0.0360657796, 0.0157210287, 0.0052637374, 0.0035648341, -0.027169561, -0.0231309887, -0.0487557836, -0.0009845166, -0.0079717161, -0.0041778763, 0.0105975801, -0.0292130969, -0.0175364558, -0.0112377554, 0.021993598, 0.0052659758, -0.0609074607, 0.0070111658, 0.0161297675, -0.0293815471, 0.026020214, 0.0262510311, -0.0293633379, 0.00027638, 0.0048939907, -0.0564881973, -0.0257340129, 0.0110401157, 0.0014121174, 0.047252994, -0.0045639239, 0.0199411698, -0.0428927727, -0.0640225857, -0.0267350953, -0.042546615, 0.0281828977, 0.0000587402, 0.0085681658, 0.0628273487, 0.0227610078, 0.0337409787, -0.0366333351, 0.0033436881, -0.0013960672, -0.0584569126, -0.0086023211, -6.157694179e-33, 0.0261927284, -0.047394421, -0.0383192562, 0.026306808, 0.020221699, -0.0153307728, 0.0182327591, -0.0212467369, -0.0204938855, 0.0230907816, -0.0088001657, -0.0063952203, -0.0239846278, 0.0519232117, -0.0113110654, -0.0210881811, 0.0195537694, -0.0156194801, -0.0412369594, 0.0227061249, 0.0586423874, 0.0194271412, 0.0047545233, -0.0866330117, 0.0066478266, 0.0322821178, -0.0339095592, 0.0363700725, -0.019651195, 0.0597068258, -0.0076589389, 0.0648718327, 0.0416695699, -0.0361629501, -0.0005160355, 0.047972478, -0.0603718795, 0.0001583048, -0.0002472113, -0.0435817093, -0.0144832022, -0.0166886561, 0.0567696765, -0.0190931894, 0.0064104875, -0.0342284255, 0.0171977822, -0.0585353859, -0.0217445958, -0.0648558736, -0.0441518165, 0.0045606745, -0.0239314921, -0.0151498932, -0.0067944182, 0.0784942955, 0.0107572936, 0.0538151413, -0.037877284, 0.0152270384, 0.0072484203, -0.0158114769, 0.0168356132, -0.0110471137, -0.0303832013, 0.0827064067, -0.0406375416, 0.0100957733, -0.0305877663, 0.0008144319, -0.0009064642, 0.0497344062, 0.0588714369, 0.0593648106, 0.0392043553, -0.0573208891, -0.1076683849, 0.0137400832, 0.0363809839, 0.0203345027, 0.0343113579, -0.0355485529, -0.0353643298, -0.023519678, -0.0182580892, -0.0396198779, -0.0286312867, -0.0319175646, 0.0165397469, -0.007123962, -0.0798885003, -0.0413378216, -0.0040397304, -0.0884771124, -0.0084602525, 0.0326527357, -0.0133635299, -0.0188453086, 0.0293446667, 0.0177883171, -0.0392244719, 0.0059235599, 0.0227291863, -0.0666395575, -0.0016202425, -0.0122996047, 0.0942016765, 0.0401348509, -0.0750563592, 0.0051210183, -0.0305893868, 0.0677313656, -0.0028945459, 0.0831187367, -0.0058628148, 0.013112532, 0.0065991399, -0.0058370228, 0.0286080241, 0.0102615664, -0.0223961137, -0.0340014882, -0.0375104882, 0.0016996298, -0.0231800284, -0.0413337089, -0.0319773071, 0.0135471206, 0.0569306128, -0.0839082003, 0.0126431407, 0.0094283232, 2.945e-7, 0.0234616548, 0.0397340357, -0.0098790359, -0.0316071734, 0.0223676078, 0.0423966646, 0.0437423065, 0.0406054407, 0.0061741523, -0.0580927208, -0.007880738, 0.0287975445, 0.0441336855, 0.0301986188, -0.0713833645, -0.0190920085, -0.0858904868, -0.0325799324, -0.0502062887, 0.0190291181, 0.0309176762, 0.0906851888, 0.0400171541, -0.0830256939, 0.0089351134, -0.019775467, 0.0013844336, -0.0640539378, -0.0010879603, -0.014766668, 0.0505263321, 0.0024370698, 0.0115593271, 0.0133277075, -0.0057808156, 0.0080524618, -0.0140059646, 0.0611488968, 0.0302946866, 0.0207720734, -0.0184243564, -0.0373092517, 0.0517428033, -0.0430081859, 0.0903790742, -0.0183675513, 0.0039410153, -0.0746624693, -0.0105401697, -0.0765012503, 0.0334842727, -0.0638551638, 0.0042866762, 0.004048903, 0.0147883007, 0.006346928, 0.0089170691, -0.0650817528, 0.0011324459, -0.0174976494, -0.0112351719, -0.0496101044, -0.0018754915, -0.0140804704, 0.0532692075, -0.0221009851, 0.0546015203, 2.819727635e-34, 0.0323236622, -0.0537523963, 0.0241955891, -0.0131417112, 0.013099663, 0.0454221331, 0.0032211731, -0.0033540537, 0.0172193721, -0.0449101813, 0.0209888015 ]
http://arxiv.org/abs/2312.08299v2
http://arxiv.org/pdf/2312.08299v2
Conceptualizing Suicidal Behavior: Utilizing Explanations of Predicted Outcomes to Analyze Longitudinal Social Media Data
2023-12-13T17:15:12
2023-12-30T16:45:13
Van Minh Nguyen, Nasheen Nur, William Stern, Thomas Mercer, Chiradeep Sen, Siddhartha Bhattacharyya, Victor Tumbiolo, Seng Jhing Goh
cs.CL
cs.CL, cs.CY, cs.SI
The COVID-19 pandemic has escalated mental health crises worldwide, with social isolation and economic instability contributing to a rise in suicidal behavior. Suicide can result from social factors such as shame, abuse, abandonment, and mental health conditions like depression, Post-Traumatic Stress Disorder (PTSD), Attention-Deficit/Hyperactivity Disorder (ADHD), anxiety disorders, and bipolar disorders. As these conditions develop, signs of suicidal ideation may manifest in social media interactions. Analyzing social media data using artificial intelligence (AI) techniques can help identify patterns of suicidal behavior, providing invaluable insights for suicide prevention agencies, professionals, and broader community awareness initiatives. Machine learning algorithms for this purpose require large volumes of accurately labeled data. Previous research has not fully explored the potential of incorporating explanations in analyzing and labeling longitudinal social media data. In this study, we employed a model explanation method, Layer Integrated Gradients, on top of a fine-tuned state-of-the-art language model, to assign each token from Reddit users' posts an attribution score for predicting suicidal ideation. By extracting and analyzing attributions of tokens from the data, we propose a methodology for preliminary screening of social media posts for suicidal ideation without using large language models during inference.
[ 0.0367638059, 0.0682627037, -0.0230722688, -0.0413712487, -0.0182501804, 0.0367244333, 0.0363108218, -0.0050335429, 0.0476151034, 0.0071425997, 0.0422728136, 0.01939632, -0.0352400988, 0.0225945171, -0.019203756, -0.0296988543, -0.0044082189, 0.0198451895, 0.0844666809, 0.004573389, 0.0070689013, 0.0332264677, -0.010413521, 0.0725427866, 0.0095236748, -0.0173831359, 0.0347225592, -0.0006113033, 0.0128277354, -0.0422246866, -0.0131209297, 0.0335602947, -0.0056140036, 0.0153181655, 0.0000019742, -0.0275472067, -0.004485596, -0.0226489622, -0.0226524416, -0.0729605928, 0.0132411476, -0.0539880618, 0.0376732275, 0.0235350113, -0.0332237445, -0.0204055179, 0.0684149936, 0.0646872446, 0.0361047648, 0.034799654, -0.0369282588, -0.0750970691, 0.0267165303, 0.0093997167, 0.002589457, 0.0476830639, 0.0363055319, -0.0014945847, 0.0091565186, -0.0121170813, -0.0046579177, 0.0446761511, 0.0186239164, -0.0114907511, 0.015745312, 0.0136388279, 0.0061668269, -0.0634014234, 0.008066114, 0.0609267615, -0.0007661388, -0.0171914548, 0.0536708049, -0.0156497825, -0.0197770055, -0.0123717654, -0.046447698, -0.0332222916, -0.016234953, 0.0186330974, 0.0568195954, 0.0329692811, 0.0570768788, 0.0115784621, 0.0430696905, 0.0405486263, -0.0286718495, -0.008920257, -0.0230784938, -0.0148216775, -0.0182248149, -0.0437093228, 0.0210675877, 0.0223051179, -0.0578019433, 0.0279337075, -0.0220357217, -0.0720046014, 0.0061568832, -0.016712524, 0.0767865852, 0.0316979475, -0.0041036722, 0.0201520789, 0.0337921269, -0.0073228702, 0.0139371576, -0.005248283, -0.0224129166, 0.0273926258, -0.0905021876, 0.0061761504, -0.0176870003, -0.0018211954, 0.0545967892, 0.0019354231, -0.0554337353, 0.0120801004, -0.033962708, -0.0269362684, -0.0272829719, -0.016883783, -0.013723257, 0.0042272895, 0.014244522, 0.0202892907, -0.0358744115, 0.0076596504, 0.0131505989, -0.0113952989, 0.0243390109, 0.0182747338, 0.0085825352, -0.0369458832, -0.0195953622, 0.065323703, 0.064179115, 0.0327811129, -0.0402343646, -0.0452491082, -0.0203745067, -0.0059519545, -0.0132167041, -0.0249185581, 0.0417556241, 0.0253341123, -0.0416027755, -0.0644965842, 0.0076845577, -0.0273792259, -0.0520217121, 0.0721166953, -0.0514133945, 0.035983678, 0.0438832529, -0.0027718022, -0.0188052636, 0.0452042893, -0.0074052992, 0.0497537926, 0.0232394356, -0.0496434905, 0.0370996036, -0.0257835016, 0.0300710965, -0.0179051831, -0.0377416946, -0.0193550214, -0.0631343275, 0.0082003921, -0.0129526043, -0.0110399351, 0.0153633375, 0.0344568081, 0.0506813116, 0.068258211, 0.0089224307, 0.0441623442, 0.0436870232, 0.0302918684, -0.0302947722, -0.0448530987, -0.0603764467, 0.0263202712, 0.0318997875, -0.0242803115, 0.0353658125, -0.005070678, 0.0009962602, -0.0499285795, -0.0431529731, -0.004852043, -0.0062457831, 0.0237509161, 0.00042002, -0.0320297591, -0.0064063449, 0.0058430973, 0.0297236629, 0.0010492257, -0.0086160526, -0.0426070951, 0.0260217227, 0.068162486, 0.0109529942, -0.0276886281, -0.0171873514, -0.031610474, 0.0885150209, -0.0172344092, -0.0011884487, 0.0256932564, 0.0104087535, 0.008343609, -0.031690523, 0.0488252603, 0.0210940298, -0.0169711746, -0.0036162755, -0.0080140447, -0.0306632258, -0.0148685649, -0.0634893626, 0.0505103208, 0.0221470501, -0.0316217951, 0.004414062, 0.0183008797, 0.0437843911, 0.0152972806, 0.0266884603, 0.0132225156, -0.0041291206, -0.0200711824, -0.0559068322, -0.0136516681, -0.0192155987, 0.0168075133, 0.0004495776, -0.0485130847, 0.0008228997, 0.0269346908, -0.0490802154, -0.0282373186, 0.0740003213, -0.0556058958, 0.025520917, -0.0018134342, -0.0519872345, -0.0440809429, 0.0205893517, 0.0122451102, 0.0610992126, -0.0286999401, 0.0243040305, -0.0255056825, -0.0548869558, -0.007758534, -0.0108402083, -0.0188172348, -0.0732618943, -0.050353907, -0.0013577716, -0.0104206596, -0.0193235818, -0.0133996289, 0.020012442, -0.0914626122, 0.0159127302, -0.0339546017, 0.0029263631, -0.0055471254, -0.0020887742, -0.0221366268, -0.0295238495, 0.0064065894, 0.0133203184, 0.0175801292, 0.0493656583, 0.0177098084, 0.0078176754, -0.0155907376, -0.0389114209, -0.0363496318, -0.0509706065, 0.03912035, 0.0460818484, -0.0531391352, 0.0004466561, -0.0137351817, -0.0629570484, -0.0293162074, -0.012908685, -0.0459188111, 0.0088094845, 0.0043164492, 0.0369671211, 0.030572284, 0.0022771908, 0.1071415246, 0.0338278078, 0.0414183289, -0.0161012951, -0.0055022761, -0.0683534145, -0.0166723263, -0.0334581435, -0.0376608148, -0.0328829102, 0.0650109202, 0.0188588593, -0.0109367436, -0.039300099, 0.0107459854, -0.0411894843, -0.022101691, -0.0059300475, -0.0360278785, 0.0195659492, 0.0189236272, -0.0205803122, -0.0627636835, 0.0623578839, 0.0530018844, 0.0249587335, 0.0490673892, -0.0331517495, -0.0251720436, 0.0258474816, -0.0042942101, 0.000486106, 0.0274888948, -0.017876653, 0.0686723068, -0.0032927077, -0.0186353195, -0.0157522894, -0.0142571265, -0.0396001115, 0.0054844818, 0.0523643009, 0.0068572718, -0.0325710513, -0.0582201071, -0.0474656932, -0.0277585257, -0.0423769057, -0.0027844373, -0.0159051288, 0.0086358776, 0.0012039065, -0.0169132389, -0.0251082871, -0.0129381884, -0.0002310661, -0.0263052862, 0.0629433766, -0.0780850053, 0.0426615961, -0.0185483713, 0.0563729592, -0.0030803834, -0.0225310326, 0.049657438, -0.055489514, 0.0202710796, -0.0323835127, 0.0077336463, -0.0236409567, 0.0118258977, 0.0384770259, -0.0125921927, 0.0163513292, 0.0980822593, -0.0102030877, -0.0537627116, 0.0178345479, -0.010066824, -0.0009577956, 0.0010718961, -0.0058556539, -0.0311990324, -0.0323402397, -0.0391930826, 0.0486898199, -0.0388921946, -0.0410114788, 0.0126196425, -0.0198930204, 0.0724257305, -0.0321881101, -0.0098960074, 0.0359636359, -0.0732717067, 0.0139698628, -0.0272885822, -0.032453388, -0.0559852049, 0.0139620835, 0.0250091068, 0.0132123381, -0.1031340435, -0.0596426465, 0.0079071196, -0.0350221023, 0.0687075034, -0.0190300569, 0.0667122304, 0.0063088117, -0.0220345687, 0.0233995076, 0.0373847559, -0.009319583, -0.0112680672, 0.0874827877, 0.0139047215, 0.0000502977, -0.0746439993, 0.0958891809, -0.0442332849, -0.0339830406, -0.0139274895, 0.0859593675, -0.0429082997, -0.0399850607, -0.041886162, 0.0291651674, 0.0449179076, 0.0571919382, 0.0657971203, -0.0475791134, -0.0191843603, -0.0095098773, -0.0181143731, -0.0365352742, -0.0103707593, -0.029109098, -0.007330386, -0.0573880449, -0.0051302719, -0.0216872226, 0.0261189416, -0.0344062112, 0.0020223986, -0.0115958154, -0.0157508273, -0.0049164719, -0.0686803237, 0.0428899899, 0.0438458361, 0.0173941702, 0.0268342923, 0.0367301293, -0.0123822624, 0.0139920171, -0.0155776786, 0.0360270441, -0.0691794604, -0.0092204753, 0.0583387576, 0.0051649115, 0.0157191325, 0.0187676102, -0.0235640984, -0.0682497397, 0.0410493389, 0.0026638592, 0.0101590706, -0.0458575487, -0.0063332864, 0.0035482626, 0.0159578957, 0.0362920612, 0.0070153694, 0.0538299978, 0.0461028107, -0.048534438, -0.0746613741, 0.0593271181, -0.0295882691, -0.0159945972, 0.0323408693, -0.0191665553, -0.0357833132, 0.006378911, -0.0636678264, 0.0083823148, -0.0086874533, -0.008880469, -0.0220062584, 0.0634793788, 0.0121745877, -0.0266051032, -0.0674497634, -0.0202375762, -0.0269958805, -0.0620669574, 0.0368426256, 0.0207849871, 0.0474603735, 0.0119256265, 0.0114464602, -0.0036842404, 0.0479212366, -0.0087793535, 0.0154652223, -0.01732843, 0.0375871472, 0.0066966838, 0.0223087259, 0.0701943338, 0.0346410647, -0.0657114685, -0.0826168358, -0.0121609038, -0.0271882433, 0.0289883465, -0.0160727054, 0.0636891648, 0.0247633029, 0.0155542605, 0.0059761428, 0.0871897191, -0.0089739095, -0.061858885, -0.0027503672, 0.0123126097, -0.015551216, -0.0050044898, 0.0148082208, 0.0254404731, -0.0051206546, 0.0258056503, -0.0110169165, 0.0166362263, 0.0239038449, 0.0094587849, 0.0623714738, -0.0176223144, 0.0067288759, -0.0358925574, -0.0691267774, 0.0324714892, -0.0354737118, -0.0159106553, -0.010195259, -0.0118095577, 0.0408792645, 0.0074136183, -0.0214008484, -0.0668829679, 0.0116784703, -0.0399097279, -0.0445085466, -0.0453020185, -5.392981105e-33, 0.0307274535, -0.0450243913, -0.0242341124, -0.0013415188, -0.0260303915, 0.0205716267, -0.0305679664, -0.0266666096, 0.0099993246, 0.0440734588, 0.0128840953, 0.0753272623, 0.0017431367, 0.0316068605, 0.0414391831, -0.028274769, -0.016408924, 0.0118299061, 0.0112388134, 0.0242315549, 0.0020232568, 0.0509679504, 0.0346242189, -0.0580324866, 0.0730542243, 0.0240396205, 0.010464685, 0.022294553, 0.0761328191, 0.0240173358, -0.0319302566, 0.0533014312, 0.0527339056, -0.0343175381, -0.0044196281, 0.0540760309, -0.0522896275, -0.0320303999, 0.013900483, -0.0114685036, -0.0480216108, -0.0158960875, 0.0253005084, -0.0056358408, 0.0010861121, -0.0587505475, 0.0561518259, -0.0008617971, 0.0602673218, 0.0146965217, -0.0062702922, 0.0104235318, -0.0564344935, 0.024687184, 0.0030933579, 0.0363681018, -0.0017880104, 0.0397263728, -0.0517982617, 0.0175047014, -0.0641267672, -0.018113073, 0.0450401083, -0.0269368365, -0.0177362058, 0.0574927703, -0.0099740922, -0.0091155553, -0.0733787492, 0.0098233437, 0.0035869118, 0.0599420406, 0.0744147599, 0.0181710757, 0.0237646773, -0.0319908448, -0.0432487018, 0.0044291378, -0.0172917414, 0.0032215193, 0.0311522055, -0.0080107264, -0.0222957414, -0.012859189, -0.0057687764, -0.0745061114, -0.0155399935, -0.0233841967, -0.0101178847, -0.0624298491, -0.0447583348, 0.0208827872, 0.0003374388, -0.0546649545, -0.0034919332, -0.000835125, 0.0504220873, 0.0333835818, 0.014019114, 0.014244616, 0.0028951119, 0.0207307898, -0.0201059636, 0.0147370473, 0.083206296, -0.0215069, 0.0481435619, -0.0153947352, 0.0024907272, -0.0339931212, -0.0276085623, -0.0058394331, -0.039655868, 0.0250184424, 0.0089812735, 0.0563546307, -0.0102957962, -0.0171832889, 0.0631379411, 0.0591908842, -0.0126884934, -0.0331402123, -0.0626118258, -0.0057312204, 0.0137075465, -0.0528730489, -0.0326764956, -0.0024976595, 0.0102941301, -0.0545010827, -0.0160123836, -0.0126762995, 2.61e-7, 0.0637769699, 0.0694147497, -0.0039811381, 0.0096349027, 0.0031215851, 0.0160716157, 0.0619181246, 0.0148700969, 0.0401839018, -0.0115227131, 0.0358581282, 0.0497908294, 0.0395718478, 0.0338965543, -0.0308043044, -0.0171129797, -0.0446159504, 0.0091538262, -0.086278595, 0.0015100801, 0.0702145323, 0.0398138613, 0.0580761023, -0.0471045524, -0.0197276939, 0.0035348132, 0.0043215663, -0.0217383988, 0.0223722626, 0.0152648063, 0.034113571, -0.0087949326, 0.0086908098, -0.0068857381, -0.0188718028, -0.057619676, 0.011045401, 0.0355466194, -0.0346525833, -0.0019863667, -0.0041380138, 0.0131834587, 0.0470097847, -0.0773411915, 0.0731966868, -0.052470196, -0.0384913497, -0.0792007223, -0.0369851887, -0.0154594816, 0.023294352, 0.0148520786, -0.0037755752, 0.0420698449, 0.0182380229, 0.0026738187, 0.0234489329, -0.0580992475, -0.0553248376, 0.0064187306, -0.0093190409, 0.0251909848, -0.0270589329, 0.0211499538, 0.0551070534, -0.0480481051, 0.0176111888, 2.037780757e-34, 0.0034110337, 0.0400266461, 0.0289937016, -0.0142975198, 0.0182518959, 0.0348618813, -0.0290604196, 0.021080168, 0.0070858384, -0.0584304407, 0.0110160196 ]
http://arxiv.org/abs/2312.08282v2
http://arxiv.org/pdf/2312.08282v2
Prompting LLMs with content plans to enhance the summarization of scientific articles
2023-12-13T16:57:31
2023-12-15T01:28:10
Aldan Creo, Manuel Lama, Juan C. Vidal
cs.CL
cs.CL, cs.AI
This paper presents novel prompting techniques to improve the performance of automatic summarization systems for scientific articles. Scientific article summarization is highly challenging due to the length and complexity of these documents. We conceive, implement, and evaluate prompting techniques that provide additional contextual information to guide summarization systems. Specifically, we feed summarizers with lists of key terms extracted from articles, such as author keywords or automatically generated keywords. Our techniques are tested with various summarization models and input texts. Results show performance gains, especially for smaller models summarizing sections separately. This evidences that prompting is a promising approach to overcoming the limitations of less powerful systems. Our findings introduce a new research direction of using prompts to aid smaller models.
[ 0.0588164032, -0.0249992311, 0.030174518, -0.0234968551, -0.0145185702, 0.0111828372, -0.009407674, 0.0112989368, 0.0023116996, -0.054285612, 0.000633547, 0.0366771258, -0.003110117, 0.0041090283, -0.0172358248, -0.0876681358, 0.0453323722, -0.027975468, 0.011466899, 0.0122688618, 0.0041006757, -0.0086312592, 0.0038854068, 0.0163721815, 0.0557054393, 0.0030450111, -0.0121845221, -0.0248983987, 0.0337823331, -0.0479941629, -0.0126801552, 0.0208250694, 0.0223337263, -0.0189347491, 0.0000016839, -0.0947843343, -0.0472440645, 0.0064831818, -0.0048324792, 0.0346831009, 0.0599945374, -0.0432530567, 0.0278214477, -0.011590777, -0.0098258164, 0.0429652408, -0.0235926732, 0.0404414572, 0.036443349, 0.0348750502, -0.0053639156, -0.0309313852, 0.0282680728, 0.0168047175, -0.0010806952, 0.0049185669, 0.0015762328, -0.0081166942, 0.0700124055, 0.0385523476, 0.0415302739, 0.0512888245, -0.0164519232, -0.0332143456, 0.0423027985, 0.016774293, -0.0389884114, -0.0373383984, -0.0042562527, 0.0109840054, 0.0564036444, -0.0079674907, 0.0694463924, -0.0104606608, -0.0057231174, 0.0522621237, -0.0909665301, 0.0493664928, -0.0380905978, -0.0308940504, 0.0421213843, 0.0211612694, -0.0261514317, 0.0146048805, -0.0143770101, 0.0323939398, 0.0065589035, -0.0320758373, -0.0318377465, -0.0083559928, 0.0246195178, -0.088413924, 0.0235937778, 0.0684327856, -0.0040530642, -0.0222682096, -0.0254458878, -0.0240700226, 0.0634274036, -0.017154254, -0.0312942527, -0.012126551, 0.0112106269, 0.0398221724, -0.0012524449, -0.0130848037, 0.0353469662, -0.0192590263, -0.0296722967, 0.0317005031, -0.0159930512, -0.0211339872, -0.0214491002, 0.0433264822, -0.0310169905, -0.0447049737, -0.0328270607, 0.0389443524, 0.036105819, 0.0392750055, -0.0035649759, -0.0027884389, -0.012058544, 0.0067874664, -0.0109086931, -0.0068597323, -0.0205544084, -0.0303600412, 0.0423895419, 0.0107617155, -0.017144341, 0.0239175912, 0.0366129763, 0.0346334018, -0.0081649693, 0.0217468571, -0.0069824844, -0.049337849, -0.0143797286, -0.0585813522, 0.0096473284, 0.0101746479, 0.0084043136, -0.0595270172, -0.0194019154, 0.0250167418, -0.0446923263, 0.011147256, 0.0155846523, 0.0275244769, -0.0496628135, 0.0155792115, -0.0671723336, 0.0061439839, 0.0617023967, 0.0164877307, 0.0136263734, 0.0303972047, 0.0212376323, 0.0311252493, 0.0431491211, 0.0077010966, 0.0343792997, 0.0015269869, -0.0150858276, 0.0044818562, 0.0260030031, -0.0129191699, -0.0437276177, 0.0189786162, -0.0008094907, 0.034989439, -0.0280403532, 0.0807522237, 0.0234021563, 0.103033796, -0.0094631584, 0.0203097966, 0.0321243033, 0.0041540707, 0.0512016155, 0.0736348853, -0.0095062535, 0.0399559774, -0.0292587001, 0.0571106113, 0.0755185783, 0.0062682671, 0.0125126941, -0.0594356395, -0.0089622568, 0.0212563463, 0.0092868526, -0.0310533065, 0.0352510251, 0.0161709376, -0.0155808022, -0.0023468118, -0.0008137606, -0.0586634129, 0.0207099281, -0.0231149066, 0.0271989796, 0.05842245, 0.0644678473, -0.0588939153, -0.0290547162, -0.0162998326, 0.0149940327, 0.0328382961, 0.0275052972, -0.0286995973, -0.0586443208, -0.0441970155, -0.0292492025, -0.0063496488, -3.266e-7, -0.0162587333, -0.0061513083, -0.0287890639, 0.0417284518, 0.0202760082, -0.0574177839, 0.0378159992, -0.0574965887, -0.0255774409, -0.0150243882, -0.0447755568, -0.0024884429, 0.0393881463, 0.0030879446, 0.0452776253, 0.0464757681, -0.0054437821, -0.0061697536, 0.0059106401, -0.0002884237, -0.0053245029, 0.0124080088, -0.0261602364, 0.028742414, -0.0507519878, 0.0162042249, -0.051164858, 0.0115359947, -0.0220252089, 0.0071666627, -0.0142650567, 0.0222061072, 0.0230094604, -0.0241429824, -0.0293227397, 0.0514504761, 0.0172045324, 0.0301440116, 0.094244875, -0.0642775521, -0.0091089485, -0.0502194315, 0.0081444243, -0.0257908572, 0.0303009693, -0.0362873115, 0.0780944675, 0.0016603036, -0.0095983781, -0.0162401516, -0.0996419191, 0.0070983791, -0.0019773436, -0.000192124, 0.0133527834, 0.0158141814, -0.0243058205, 0.0033860356, -0.0011125868, -0.0398942046, 0.02857792, 0.0127297519, 0.0546998903, 0.0161759797, 0.0136294561, -0.0534422658, -0.0012471832, -0.0233153813, 0.019439429, 0.0616891384, -0.0655596629, -0.02881038, 0.0590221435, 0.013828381, -0.0283985883, 0.0009282851, 0.0345726609, 0.0092287948, -0.0286935177, 0.0275271442, 0.0604343489, 0.0344777331, 0.022105271, 0.056287691, -0.0130075039, -0.0468985066, -0.0171106998, -0.0418286249, 0.0216463916, 0.03380749, -0.0205636583, 0.0716331676, 0.0248576701, -0.0001015874, 0.0123822326, 0.0114064375, 0.0174114387, -0.0028406598, -0.0035096479, -0.0134225832, -0.0226992313, -0.0006094786, 0.0729789287, 0.0203829389, -0.0153220519, 0.0525146984, -0.0135995336, 0.0145201506, -0.0485330038, -0.0065047219, -0.0568390302, 0.0121609122, 0.0196234956, 0.0039289072, 0.0056408015, 0.0040805452, -0.0252635572, -0.0071402383, 0.0297613554, -0.0229549725, 0.0465870872, -0.0604082234, 0.0128311198, -0.0238827486, 0.030065421, -0.0202047564, -0.0053011137, -0.0132143628, 0.0261954442, 0.0270721931, -0.0153277973, -0.0208496749, 0.0203720368, 0.0625552237, 0.0728830621, -0.0240155738, -0.0298806094, -0.0216549821, 0.026548313, 0.0500979051, -0.0019334679, 0.0247021969, -0.0302659124, 0.0374958031, 0.0158735123, -0.0136093656, -0.0198420379, 0.0211521946, -0.0095154168, 0.0075351116, -0.112237297, -0.0120389368, 0.0030610599, 0.0299941264, -0.0465679616, 0.0110822283, 0.1081831753, 0.0443308614, -0.0634748265, -0.0249123853, -0.032562118, -0.0157168992, 0.0193945859, 0.024727162, -0.0528618246, 0.0102151176, 0.018031856, 0.038973622, -0.0081458967, -0.0226313714, -0.0275155678, -0.0505406447, 0.0526903085, -0.0146024227, -0.0550753437, -0.0060242233, -0.0594530702, 0.0038765999, 0.013880563, -0.0208382551, 0.038513165, -0.0534154363, 0.0014870598, 0.0131825665, -0.1051288247, -0.0177297574, -0.0770248473, -0.0016325316, 0.0072415131, 0.0612577423, 0.0081309648, -0.0226334464, 0.0257799812, 0.0216358788, 0.0048091421, 0.0041110879, -0.0419699214, 0.0186099075, 0.0002886538, 0.0378728472, -0.0105743259, 0.0584618784, 0.0254451092, -0.0307025723, 0.0686470866, 0.030599691, -0.0177859403, -0.0205499977, -0.0887264758, 0.0285373144, -0.0407198109, 0.0507880077, 0.0382426567, 0.0102448547, -0.016760204, -0.0318993069, -0.0225682575, -0.0314877555, -0.0047120475, -0.0366660617, -0.0916911066, -0.0005835245, -0.0871413276, -0.0290326513, 0.0410270505, -0.0238734987, 0.0300308987, 0.0389194824, -0.0224802848, 0.0244566184, -0.0362728015, -0.0043376889, 0.0237307064, -0.0211284906, -0.0386461914, -0.0088049658, 0.0713999122, -0.0346727706, -0.0170417782, -0.0054334686, -0.0100096073, -0.0482137613, -0.023515882, 0.0331126042, 0.0259522889, 0.0384434201, 0.0238754395, -0.0345996246, 0.0514159575, 0.0490329675, 0.0230924338, 0.022607429, -0.0035203567, 0.0692405403, -0.0291642416, -0.0287002753, -0.0657109246, 0.0524886139, -0.0841645375, 0.0228650384, -0.0597279072, -0.0556861311, 0.0170155168, 0.082728751, 0.005264102, -0.0409498103, -0.0025334782, -0.0218936875, -0.0181690156, -0.0210481137, -0.0267148335, -0.0203181244, 0.0910155177, -0.0453735068, 0.0127613591, 0.0271760095, 0.0632537454, -0.0412809998, 0.0070180395, -0.0602905527, 0.0516065843, -0.0242587272, -0.0475031622, -0.0285168774, -0.0125330752, -0.0277539827, -0.023678543, -0.0391232669, 0.0084842704, -0.0039401418, 0.0131717147, 0.0442200601, 0.0124527523, -0.001665746, 0.0126855494, -0.1201908812, 0.0013153681, -0.0344310217, 0.0704507008, 0.0180472527, -0.0215023011, 0.0314718932, -0.0346838012, -0.0238669869, -0.0139126936, 0.0401089936, 0.0578785837, 0.02697202, -0.0082229506, 0.0207924116, 0.0021262732, -0.0404201001, 0.0513668023, -0.0352181531, -0.0095802192, 0.0112360585, -0.0257528108, -0.0430220142, -0.0299791098, 0.0012992584, 0.020010991, 0.002941147, -0.0452302955, -0.0384789854, 0.0273064785, 0.0357996374, 0.0267408229, -0.0077861501, -0.066548802, 0.0375605151, 0.013631871, 0.0110053467, -0.0071419352, -0.0338972248, 0.0151381707, -0.0475901254, -0.0421876907, 0.0152761443, -5.533356068e-33, -0.0431641079, -0.0438321754, 0.002771874, 0.0514399819, -0.0230445415, 0.0137753477, -0.066348888, -0.039641872, 0.0553375967, -0.0054525868, -0.0571170561, -0.0212223399, 0.0083359238, -0.021617515, 0.0427283421, 0.0265340917, 0.0329317525, 0.0000507837, -0.037041869, 0.0257988777, 0.0224578474, -0.0007257336, 0.0031842461, -0.0177510753, 0.0671059191, -0.0177242588, 0.0035907095, -0.0093180193, 0.0392175876, 0.0100116991, -0.0289765429, -0.0301031414, 0.0202247202, -0.0354813226, -0.0392667837, 0.0396512784, -0.0712184981, -0.0142841944, 0.0582581945, -0.0480950028, -0.0389684848, -0.0522003174, 0.0257839244, -0.0212092176, -0.0188799202, 0.0186996385, 0.0690765828, -0.0450401567, -0.0672430545, -0.1104116812, -0.0245632902, 0.0333142914, -0.0159750059, 0.0172646716, 0.0381526127, 0.0520681478, -0.0139852548, 0.0284791179, 0.0527847186, 0.0426494963, 0.0746117383, 0.0570238195, 0.0396011584, 0.0211507753, 0.0158398841, 0.040106535, -0.0242867619, -0.0142765623, -0.0214133672, 0.0289769247, -0.0143839503, -0.0012875333, 0.0281402748, 0.0109641589, 0.0462462381, 0.0495673604, -0.0121377939, 0.1024542749, -0.0121551016, -0.0000105174, 0.0244851857, -0.0186512638, 0.022344796, -0.0047664917, -0.0077925636, 0.0103595965, -0.0044639241, -0.0262599178, -0.0155540667, 0.0105211427, -0.0668951571, -0.0072644036, -0.0099018682, -0.012900522, 0.0179856475, 0.0028020157, 0.0251054261, 0.0418508351, -0.0114550982, -0.0502387099, -0.0207226649, -0.0020978709, 0.0029066238, -0.002250433, 0.0186306853, 0.0112054143, 0.0152322929, -0.0154534103, -0.0187627636, -0.0006608032, 0.0353579707, 0.0075164419, -0.0336443223, 0.0040645441, -0.0156201487, 0.0036691248, 0.0185744297, 0.010393085, 0.011044275, -0.0077266502, -0.0219639242, 0.0206777994, 0.0090681808, 0.036960274, -0.0002745738, 0.0245725196, 0.0069288476, 0.0495549999, 0.0185981449, -0.017781755, -0.0012144864, 0.0084234187, 2.38e-7, 0.0361166783, 0.078852728, 0.0643779263, -0.0070315716, -0.0171705186, -0.0171239283, 0.0066386783, 0.0012047684, 0.0038263698, -0.0024996165, 0.0557736047, 0.0071714348, -0.007528489, 0.035353791, -0.130517751, -0.0557480529, -0.0650521219, -0.0628204569, -0.0479862206, -0.0196191166, 0.062477842, -0.0287958272, -0.0434856452, -0.0041161515, -0.0247967448, -0.0298386477, -0.0070916461, -0.0360883549, -0.0157102179, 0.041721005, 0.0501915962, 0.0100358222, -0.0068263672, -0.011700579, -0.0211392511, -0.0051608491, 0.0228369664, 0.0261276159, 0.02704967, 0.0061103008, 0.0349541605, -0.0091638882, 0.0628751665, 0.0268489085, 0.0175225548, -0.054432191, 0.0391182154, -0.0689525902, -0.0418037139, -0.0275456402, -0.0415128954, -0.0161093883, -0.0216878597, 0.0602276027, -0.0475693196, -0.0142475599, 0.013353562, -0.0731517896, -0.0311811585, 0.0410132222, 0.008148008, -0.0450656414, -0.0159142539, -0.0180160087, -0.0296096168, -0.0536257066, -0.0471085906, 2.288457683e-34, 0.0957218185, -0.0036058133, -0.0390066579, 0.0468561389, 0.0052186353, -0.0102127157, -0.0599545389, 0.0211676024, 0.0341069847, -0.0796410739, -0.0164912641 ]
http://arxiv.org/abs/2312.08274v4
http://arxiv.org/pdf/2312.08274v4
High-throughput Biomedical Relation Extraction for Semi-Structured Web Articles Empowered by Large Language Models
2023-12-13T16:43:41
2024-03-26T10:36:31
Songchi Zhou, Sheng Yu
cs.CL
cs.CL, cs.AI
Objective: To develop a high-throughput biomedical relation extraction system that takes advantage of the large language models'(LLMs) reading comprehension ability and biomedical world knowledge in a scalable and evidential manner. Methods: We formulate the relation extraction task as binary classifications for large language models. Specifically, LLMs make the decision based on the external corpus and its world knowledge, giving the reason for the judgment for factual verification. This method is tailored for semi-structured web articles, wherein we designate the main title as the tail entity and explicitly incorporate it into the context, and the potential head entities are matched based on a biomedical thesaurus. Moreover, lengthy contents are sliced into text chunks, embedded, and retrieved with additional embedding models. Results: Using an open-source LLM, we extracted 248659 relation triplets of three distinct relation types from three reputable biomedical websites. To assess the efficacy of the basic pipeline employed for biomedical relation extraction, we curated a benchmark dataset annotated by a medical expert. Evaluation results indicate that the pipeline exhibits performance comparable to that of GPT-4. Case studies further illuminate challenges faced by contemporary LLMs in the context of biomedical relation extraction for semi-structured web articles. Conclusion: The proposed method has demonstrated its effectiveness in leveraging the strengths of LLMs for high-throughput biomedical relation extraction. Its adaptability is evident, as it can be seamlessly extended to diverse semi-structured biomedical websites, facilitating the extraction of various types of biomedical relations with ease.
[ 0.0788128823, 0.0339761302, 0.0193364713, 0.0347981155, -0.0268143713, 0.0506519005, -0.0176136009, 0.0464212261, 0.0554379262, -0.0429315157, -0.0037897632, -0.0355436131, -0.016166985, 0.0259154905, -0.0041138199, -0.0209795572, 0.0109475339, 0.0251860637, 0.0296241976, 0.0249511171, -0.0121664936, 0.010899514, -0.009498043, 0.0015246117, 0.0492589772, -0.0046253433, 0.0510698222, -0.0178674515, 0.0417068414, -0.082968615, 0.0038580664, 0.0084659234, -0.0063551399, -0.009812925, 0.0000017423, -0.0637600571, -0.0490938723, 0.0505307056, -0.0119269639, 0.0002838149, -0.0120029915, -0.0481107421, -0.0039813379, 0.0095078861, -0.011202246, -0.0373117849, 0.0047301343, 0.0389523692, 0.0170459244, 0.0516285859, -0.0244077407, -0.0436942838, 0.0852144361, -0.0005774067, 0.0057993564, -0.0194158889, 0.0864242911, 0.0110973902, 0.0248767398, 0.0252548717, 0.0294073503, 0.0278806221, -0.0275426805, 0.0181325786, 0.0168877654, 0.0321397372, -0.0286555663, -0.0108703952, 0.0140536241, 0.0741895065, 0.0303891152, -0.0249227341, 0.0585171767, 0.0349698812, -0.0505762585, 0.0400356427, -0.0286266841, 0.0108227367, -0.061892774, 0.0102457572, 0.0330490619, -0.0318875909, 0.0356691778, 0.0319652334, -0.050633762, 0.0326246731, 0.0126177585, -0.0571435802, 0.0296262708, 0.0140253762, 0.0299323946, -0.0271132924, 0.0715807378, 0.0369258262, -0.001395752, 0.0372082219, -0.0017850457, -0.0034771343, 0.0623320863, -0.0762056559, -0.061661955, -0.0094133364, -0.0037581839, 0.0595076904, -0.0334066302, -0.0279202126, -0.0571830831, -0.0018243255, -0.0076124487, 0.0146095417, -0.0316631496, -0.0150420042, 0.0028581901, 0.049041111, -0.0407221727, -0.023280777, -0.0572056025, -0.0046858531, 0.0039047427, 0.0454234593, 0.0012896685, -0.0119007127, -0.0391939841, 0.0004495994, -0.0022168881, 0.0109425718, 0.0244701393, -0.0161485896, -0.0374320187, -0.0461366102, -0.012154975, -0.0064201029, 0.0363258943, -0.0521298535, 0.0108863274, 0.0885894895, 0.0115807429, -0.0393922403, 0.0080577312, -0.0560054146, 0.0034204819, -0.0324969292, 0.0062463712, -0.026285639, 0.0378910638, 0.0392046943, 0.0059958212, -0.021757815, 0.0348640382, 0.0085585136, -0.0770150572, 0.0677603856, -0.0580743477, -0.0159447454, -0.0008452473, 0.0438371003, 0.0327514224, 0.0362232476, 0.0252877437, -0.0469703451, 0.0304944366, 0.0007610448, -0.039896518, -0.0083934776, 0.0120271454, -0.0514796302, 0.0104840053, 0.0422887169, 0.0252542365, 0.0566165745, 0.0040220562, 0.0512171201, -0.0002178296, -0.0316153243, 0.0059913835, 0.0362515934, 0.0294372793, 0.0164345093, 0.0301574655, -0.0127470745, 0.0481079407, 0.025334252, -0.0163610373, -0.0334011428, 0.004538707, 0.0320728794, -0.0384069346, 0.0674243942, 0.0258979723, 0.0199975483, -0.023426244, 0.0031974753, -0.0493255369, -0.0175393149, 0.0773730427, -0.017332986, -0.0331827141, 0.0537679978, 0.0676227883, -0.0139408307, 0.0348663777, -0.0156646781, -0.0321179815, 0.033767134, 0.0639616549, -0.0420750603, -0.0575354323, -0.0118461996, -0.0373160169, 0.0326986648, -0.0132649532, -0.0435998514, -0.0078831073, -0.0181803349, -0.0162506811, 0.0683713406, -0.0017764308, -0.0242608543, 0.0406875536, 0.0514410548, -0.0013859214, -0.006276398, 0.015240836, 0.0372803099, -0.0770044997, -0.0097631449, -0.0397875309, -0.0101398639, 0.032103315, 0.0277280435, -0.0207861532, 0.0126986299, 0.0609440841, -0.0496918261, -0.0089934273, -0.0137824994, -0.0108031211, -0.0056920536, 0.0353591256, -0.0104332827, 0.0006393807, -0.0358587317, -0.006100555, -0.0040331893, -0.0538633727, -0.0007881931, 0.0521094576, -0.0042367065, 0.0153942006, 0.0304901246, 0.0054484704, -0.0475063734, 0.0167981964, -0.0011771556, 0.0000739785, 0.0060498836, -0.1121109799, -0.0341209881, -0.0010362553, -0.015835667, 0.0529894494, 0.0079588881, -0.0288889706, -0.0122097339, -0.0290881656, -0.0620157197, -0.0195159931, -0.0643962473, 0.020334743, 0.0402769223, 0.063186653, 0.0177848842, 0.0142488657, -0.0061060702, -0.0099958368, -0.0160190407, -0.0148506053, -0.0309083704, -0.001210248, 0.0518588126, 0.0437759534, -0.0132778436, -0.0273803789, -0.0124867242, -0.050824482, 0.0507008322, 0.0309605263, -0.0351485424, -0.0015130679, 0.0143327406, -0.0349581465, 0.0060239127, 0.0108538046, -0.0217851102, -0.0256076958, -0.0039842101, -0.0054010884, 0.0456957147, 0.0228287801, 0.0530544445, 0.0390374511, 0.0022299949, 0.0065613813, -0.0006476187, -0.0477313176, 0.0007140407, -0.0235641971, -0.0253189635, 0.0074585732, 0.0500975549, 0.0127886459, -0.0035579747, 0.0162236542, -0.0036269797, -0.0105184717, 0.0292058494, -0.0239800457, 0.0386782251, -0.0287994333, 0.0199703854, -0.0101750484, 0.0206836443, 0.0983599573, -0.0190513339, 0.0397524089, -0.031579636, -0.0017792424, -0.0454548597, 0.0205203816, -0.0032419802, 0.0174948126, -0.0151760988, -0.0288378373, 0.0096897203, 0.0106271561, 0.0251903534, -0.0488972664, 0.0214105695, -0.0421951637, 0.0363463871, -0.0173494425, -0.0222850069, -0.0464091301, 0.0327330083, -0.0342820995, -0.0077883308, 0.021843724, -0.0169825815, -0.0056650778, 0.0355377048, 0.0247683004, 0.0384764522, -0.0216819961, -0.0097576268, -0.0128032248, 0.0691565573, 0.0603217445, -0.0298729744, 0.0110772634, 0.007902476, 0.0481223427, 0.082754299, -0.0268539302, 0.0013736496, 0.0286322348, -0.0012623348, 0.0147065362, -0.0854445025, 0.0210988466, -0.0294660889, -0.0118752792, -0.0761402771, -0.0140537722, 0.105543308, 0.0377582833, -0.0623746216, -0.0102167595, 0.0248857997, -0.046824649, -0.0036288635, 0.0223013256, -0.0758097693, -0.0030716376, -0.0106517347, -0.0065478636, -0.0228079408, -0.0656617358, 0.0051215468, -0.035436932, 0.0060322531, -0.008962879, -0.0413269065, -0.0201218687, -0.0675820485, 0.0057593337, -0.0069942693, -0.0100267697, 0.0321309976, -0.0369058885, -0.017143283, 0.0043614721, -0.0177312717, -0.088702634, 0.0051802443, -0.0094822478, 0.0068019191, 0.005496941, 0.0441885293, -0.0287592821, 0.0597655438, 0.0310925581, -0.0593446866, -0.0415951721, -0.0275021009, 0.0805686265, -0.0213446096, 0.0008292074, -0.0633358508, 0.0149795143, -0.0198219921, 0.0057658302, 0.0071138716, 0.0897410884, 0.0037189138, -0.0320489258, -0.0577414148, -0.0197658688, -0.0168631747, 0.0603119507, -0.010257435, -0.0117213791, -0.0356934257, 0.0418377742, 0.0170942452, -0.0022732255, -0.0000577883, 0.0197534934, -0.0791040137, -0.0081972927, -0.0561706685, -0.027859848, 0.0231210608, -0.0121115167, 0.0244956706, 0.0487512052, 0.0885475501, -0.0086919423, -0.0852155089, 0.0179130789, 0.0233198646, -0.0016834569, -0.0333001725, -0.0084504914, 0.0833927765, -0.0109758032, -0.0207139142, -0.0188481025, 0.0089901192, -0.0220041405, -0.0479144938, -0.0160127878, 0.0183522962, 0.0173984412, 0.0088056978, -0.010187366, 0.0025483593, 0.0369316973, -0.0458364673, -0.0374201424, -0.0315584242, 0.003353453, -0.0192555152, 0.0011316286, -0.0108349733, 0.0109707592, -0.0107424371, 0.0393242314, -0.019346375, -0.0196930319, 0.049395185, 0.0435981415, 0.0475364104, -0.0125655904, 0.0136439772, -0.0284370277, 0.0413232297, -0.0454919674, 0.0343245566, -0.010381313, 0.0305546373, 0.043009121, -0.0052307388, -0.0204490535, -0.0138986288, -0.0355457515, -0.0083382474, -0.0246034861, 0.0274352673, -0.0114628542, -0.004375055, 0.0628371388, -0.0578077957, -0.0113940146, -0.0265554227, -0.0035345396, -0.0061201523, -0.0306831077, 0.0204335973, 0.0281008463, 0.0009826892, 0.0001655149, 0.0246482138, -0.0553684644, 0.0515224487, -0.0369875543, 0.0224155318, 0.027518915, 0.0046676705, 0.048659008, -0.0197253991, -0.0382199623, -0.0019858547, 0.0310752094, -0.039863307, 0.0507274307, 0.0448214151, 0.0297811441, -0.0331286639, -0.0124832615, 0.0596494786, 0.0357471034, 0.0470120981, 0.0551641583, -0.0810980499, -0.0218821783, -0.0388962515, -0.0200295709, 0.0013930199, -0.0413074642, -0.0038160149, -0.0545272119, -0.055160258, 0.0079337638, -0.0026610978, -0.017641345, -0.0145991724, -0.004782944, 0.0411563739, 0.0535386577, -0.0569880307, -0.0346279554, 0.0557943434, -0.0510780774, -0.0375440866, 0.050471928, -6.277282362e-33, -0.0103029422, -0.07128454, -0.0003916259, -0.006936661, -0.0426600538, 0.0574988052, -0.0464324281, -0.0367722735, -0.012751027, 0.0530094989, -0.0147456629, -0.003139358, -0.0026705654, 0.0106644789, -0.0107297292, 0.0142416693, 0.0007279581, 0.0177366901, 0.0262639932, 0.030958496, 0.0363574959, 0.0796664804, 0.0452074222, -0.0773605704, 0.0046410034, 0.0071556903, 0.0304817948, 0.0055742352, 0.0126538519, 0.0528927073, -0.0627663657, 0.013622812, 0.0522217676, -0.007412598, 0.0436049514, -0.0089173848, -0.1550751477, 0.0234265644, 0.0106442673, -0.0305643659, -0.0134316608, -0.0019536924, 0.0394397937, -0.0085815974, 0.0146468179, -0.0535922423, 0.0369539931, -0.044966422, -0.0333084539, -0.080157809, -0.05931044, 0.0492604747, 0.0289489198, 0.0485644825, 0.0319320075, -0.0221210439, -0.0111272503, 0.0602539331, 0.0160671454, -0.0303398781, 0.006414264, 0.0234211162, 0.0080629094, -0.0162390154, -0.0045408183, 0.0454424806, -0.0456332825, -0.0317394994, -0.0187988151, 0.0319888443, -0.0453023277, 0.0232932549, -0.0181673858, -0.0007849538, 0.0217990894, -0.0075372979, -0.117675744, 0.0251139626, -0.009383304, 0.0395020582, -0.010531757, -0.0329865776, -0.0172489043, 0.0164791085, 0.0126338257, 0.0031502859, -0.0086088907, -0.0437719226, 0.0107562067, -0.0373992249, -0.025192339, 0.0468557626, -0.0125323469, -0.042589061, -0.0407680422, 0.0270387046, 0.0225870591, -0.0027864601, -0.0345319919, 0.0110206781, -0.0427775495, -0.0431496687, -0.0268855374, -0.0281864833, 0.0183095783, 0.0031457222, 0.0038610662, -0.0671796575, -0.0181695372, -0.024105968, -0.0239397064, -0.0201725867, -0.0298265778, 0.0458861552, 0.0099851927, 0.0339707322, 0.029242361, 0.0466671884, 0.0568597578, 0.0244763959, -0.0230827853, 0.0421927385, 0.0043616253, 0.0424246788, 0.0030163017, -0.0122985458, -0.0052841869, 0.0532522276, -0.0160586536, -0.065687865, 0.0124564711, -0.0035900953, 2.682e-7, 0.0636581257, 0.0632441342, 0.0363073424, 0.0136605147, 0.0321721174, -0.0218882486, 0.0007693392, 0.0179995727, -0.0136464648, -0.0281446595, 0.0217402577, 0.0004703737, -0.0116128195, 0.0176422745, -0.0508452207, -0.0505441688, -0.0587804466, -0.0822742805, -0.0426846519, -0.0240270793, 0.076392971, 0.0156781189, -0.0123493448, -0.0125950808, -0.0046666451, 0.0003978514, 0.0102014141, -0.0264410581, -0.0069262153, 0.0938699618, 0.0041930769, 0.0105006788, 0.0149764987, 0.0539730899, -0.0326336324, -0.0040378603, 0.00292985, 0.0670183003, -0.0220818669, 0.0632792935, 0.0455625653, -0.0196362976, 0.0759610832, -0.0420336723, 0.0470376052, -0.0458891541, -0.0405500345, -0.0061727217, -0.0177262388, -0.0496487096, 0.0028587361, -0.0190832354, 0.01578792, 0.0496439934, -0.0072267642, -0.0033210479, -0.0259993169, -0.0877200067, 0.0019051241, 0.0843837038, -0.0205983445, -0.0435006618, 0.0371810868, -0.0324505717, -0.0035432957, -0.0600482412, -0.0016614987, 2.542754075e-34, 0.0129698338, 0.0129722105, -0.0059823156, 0.0667485893, 0.0293930117, -0.014403468, -0.0294368602, 0.012628682, -0.0424513258, -0.0563466027, 0.0274221115 ]
http://arxiv.org/abs/2312.08198v1
http://arxiv.org/pdf/2312.08198v1
Towards Model-Based Data Acquisition for Subjective Multi-Task NLP Problems
2023-12-13T15:03:27
2023-12-13T15:03:27
Kamil Kanclerz, Julita Bielaniewicz, Marcin Gruza, Jan Kocon, Stanisław Woźniak, Przemysław Kazienko
cs.CL
cs.CL, cs.AI
Data annotated by humans is a source of knowledge by describing the peculiarities of the problem and therefore fueling the decision process of the trained model. Unfortunately, the annotation process for subjective natural language processing (NLP) problems like offensiveness or emotion detection is often very expensive and time-consuming. One of the inevitable risks is to spend some of the funds and annotator effort on annotations that do not provide any additional knowledge about the specific task. To minimize these costs, we propose a new model-based approach that allows the selection of tasks annotated individually for each text in a multi-task scenario. The experiments carried out on three datasets, dozens of NLP tasks, and thousands of annotations show that our method allows up to 40% reduction in the number of annotations with negligible loss of knowledge. The results also emphasize the need to collect a diverse amount of data required to efficiently train a model, depending on the subjectivity of the annotation task. We also focused on measuring the relation between subjective tasks by evaluating the model in single-task and multi-task scenarios. Moreover, for some datasets, training only on the labels predicted by our model improved the efficiency of task selection as a self-supervised learning regularization technique.
[ 0.0479573049, 0.0392524041, -0.0121414429, 0.0269362461, -0.0361381173, 0.0339553617, 0.0291625708, -0.0185782164, 0.061308369, -0.0926208869, -0.0464926437, 0.0074194204, -0.0780956, -0.0439938195, -0.0030981223, -0.0371793769, 0.0045850221, 0.0446793661, 0.0637293458, 0.006435988, 0.0454651006, 0.0065427148, -0.0067814467, 0.0224785693, -0.084452875, -0.0244066827, 0.0104768686, -0.0009100158, -0.0036074622, -0.0172119848, 0.0746934861, 0.0644286573, -0.0114536807, -0.0268814862, 0.0000019581, -0.020936206, -0.0200020447, 0.000661497, -0.0108122546, -0.0511826724, 0.0802844018, 0.056514468, -0.0075376658, -0.011437716, -0.0315416306, 0.0162769277, 0.0451433696, 0.08494775, 0.0529833026, 0.0271937419, -0.0197232999, 0.0322870389, -0.0649292991, 0.0110309944, -0.0065120212, -0.0214025974, 0.0393554159, 0.004735162, -0.0060851527, -0.0008155629, -0.0002105039, -0.0135834925, -0.0028160075, 0.0164390784, 0.0175336059, -0.0239978693, -0.01230786, -0.0343845524, -0.0185981411, 0.0791530982, -0.0123583535, -0.0128258402, -0.0087487893, -0.0136460187, 0.0123133026, -0.0289171822, -0.0173213482, -0.0104758712, -0.0458837897, 0.0368709192, -0.0135392016, 0.02907186, -0.0112162912, 0.0447746664, 0.0348440818, 0.0368582606, -0.0521600284, -0.0457714386, 0.0821063668, 0.0432011373, -0.0407017581, -0.001912843, 0.0300883967, -0.0221569724, 0.0003695376, -0.0030109505, -0.0616670027, -0.0641973093, -0.0042356849, -0.0755411461, 0.0236396138, -0.0088024493, -0.0617244728, 0.0420634896, 0.032745339, -0.0095839081, 0.0103996843, 0.0255652517, -0.0358943418, -0.0174328014, -0.063209638, 0.037420325, -0.029001303, 0.0635472164, -0.0134533113, 0.0272651892, -0.0239797886, -0.0159345418, -0.0667290464, -0.0380021632, 0.0418375917, 0.0460112169, -0.0364986807, 0.0362084806, -0.0354201533, -0.0038243118, -0.0396770015, 0.0313321613, -0.0389332697, -0.0292059798, 0.0154741891, 0.018783221, 0.0158755388, -0.0534217022, 0.0280157719, 0.0460397452, 0.0190579705, -0.0202011708, -0.0652632788, -0.0105564902, -0.0320255496, -0.0549404025, -0.0056921775, -0.0234486833, 0.0372746512, -0.0254283827, -0.0038114951, -0.0537984185, 0.0135932155, 0.0173147488, -0.0163756739, 0.0699625835, -0.032153666, -0.0463444479, 0.0020084365, 0.0021618807, -0.0432174131, 0.0652520135, 0.0118220504, 0.0311044678, 0.0747452751, 0.0326812491, 0.0104995742, 0.0058309538, -0.0053927461, -0.0208859313, 0.0086675491, -0.0125355767, -0.0270503219, -0.0262149684, 0.0399467126, 0.0536450706, -0.0148291979, -0.0256797001, 0.019798331, 0.0467147045, -0.0370526239, 0.0083050113, 0.0209015328, 0.0605947189, 0.0376982652, 0.0315412283, -0.019664444, 0.0357729644, -0.0232645795, -0.0668086857, 0.002645334, -0.0124116261, -0.0315026194, -0.085459888, -0.0259138811, -0.0450926758, 0.0585621446, 0.0126912063, 0.0474809594, 0.0084135411, 0.0017305929, -0.0070442627, 0.0579725802, -0.0523400642, -0.0294018984, -0.0135014895, 0.0114640212, 0.0424271151, -0.003899592, -0.0705662519, -0.0270498972, -0.061649587, 0.0199509338, -0.0215579029, 0.0538063347, -0.0311652943, 0.0137159331, -0.0310515389, -0.0436679423, -0.0108801918, 0.0154694105, -0.0138923684, 0.0041202782, -0.0273521431, -0.0092405537, -0.0018539185, -0.0472562686, 0.0391069613, 0.0258839913, -0.0527359135, 0.0217140485, 0.0321922973, 0.0460495166, 0.025093548, 0.0039814888, -0.032313522, 0.0380242914, -0.0242183972, -0.0341584198, 0.0108242929, 0.008976602, -0.0207162928, 0.0119505487, 0.0207766742, -0.0277950186, 0.0602853745, -0.0180786606, -0.008132522, -0.0331148878, -0.0256668944, -0.0285458248, -0.0188958608, -0.0324166864, -0.0152111929, 0.0017200166, -0.0533701889, 0.0406770371, 0.0339478701, -0.0018651575, -0.0230961628, -0.0706268772, 0.0261672679, -0.03930052, -0.0778977126, -0.0304059125, 0.0101079093, 0.0241212305, 0.0479852036, -0.0006184574, -0.0596325248, -0.0077914353, -0.1106629297, 0.0073903496, -0.0206813235, -0.0182867218, -0.0181199107, -0.0205411576, 0.0028558357, -0.0078819729, -0.0249869525, -0.0278054774, -0.0113419518, 0.0368296728, 0.0220229086, -0.0181242898, 0.0501482412, -0.0635674223, 0.0014531311, -0.0073851305, 0.0007503362, 0.0246750824, -0.026815325, -0.0030659141, -0.0084344605, -0.0259767696, 0.0696657225, 0.0162785668, -0.0422590785, 0.0114088729, -0.0020133085, 0.0013054274, 0.0777276903, -0.0042076088, 0.0920335129, 0.0390267931, -0.0084266718, -0.0571284853, 0.0538420267, -0.0184332132, 0.0272690933, -0.0124114407, 0.0024406919, -0.0075476826, 0.0780884698, 0.0067063486, -0.0187478568, -0.0473604314, 0.0377358273, -0.0475144014, -0.0285730585, -0.0093833692, 0.0102770524, -0.0137353223, 0.0188608542, -0.0182266254, -0.0211902373, 0.0636455789, 0.0483406298, -0.0018836331, -0.0719660893, 0.0136414394, 0.012122239, 0.0804602355, -0.0267974101, 0.0069578788, 0.0173469689, 0.0481277406, 0.0138634834, -0.0017181671, 0.0114283264, -0.0303854011, -0.0172923878, -0.0396080092, -0.0023985172, 0.0201529693, -0.0777019113, -0.0402503647, -0.016436711, -0.042614691, -0.0431229956, 0.0172568429, 0.0472585261, 0.0040543224, -0.0244192667, 0.000680531, -0.0210394375, -0.0182183981, -0.0081899036, 0.0267090332, -0.0018984179, 0.026353091, 0.0121623212, -0.0169331897, 0.0400673673, -0.0084012682, 0.0825592503, 0.0473232232, 0.0046011773, 0.009850204, 0.009186632, 0.0287152696, -0.0223706756, -0.033528097, -0.0182049628, 0.0373359174, -0.0398999304, 0.002823496, 0.0872130617, 0.0399779044, -0.0418735072, 0.0118843531, -0.001081195, -0.0292943642, 0.0391934849, 0.0115655381, -0.0266970992, -0.0384342, -0.0214249417, 0.0274454169, -0.046780318, -0.0587064661, -0.0024500019, -0.0770305097, 0.0301384758, -0.0305611528, 0.0204661265, 0.0249787495, -0.0318838395, 0.0555435568, -0.0589352027, -0.010936168, -0.0476738922, 0.0491837077, -0.006636274, 0.0666558817, -0.0288324859, -0.0165349804, 0.0374631546, -0.0219095126, 0.0315385126, 0.001035838, 0.0908440724, -0.002496891, -0.0078966757, 0.040173579, 0.0383317433, -0.0141257364, -0.032908272, 0.1076739728, -0.0180146769, -0.0249152482, -0.0233782213, 0.0292958412, -0.002474458, 0.0101346103, -0.0132464431, 0.0503258742, 0.0082862014, 0.0490424633, -0.0264323708, -0.0207770746, 0.0440123044, 0.0763575435, -0.0164101161, -0.1025871709, -0.0239393208, -0.0052601779, -0.0341754258, -0.0681682378, -0.0584057979, 0.020304244, -0.0176185071, -0.0302938353, -0.0575192161, -0.0602774024, 0.0577938333, 0.0469462499, -0.0017729524, 0.0094281929, 0.0292991288, 0.0052335602, -0.0401906706, 0.0182324238, -0.00038221, -0.0072716703, 0.005514164, -0.0593396463, 0.0463151261, -0.0175289325, -0.0185422152, 0.0154396137, -0.062273927, -0.0347667746, 0.0268863067, 0.0749290213, 0.0059018629, 0.0170241185, -0.0107379286, -0.0378916338, -0.0502890535, 0.0110062258, -0.0483220778, -0.0260840561, 0.0661940202, 0.0307862461, -0.0160991047, 0.0207628794, -0.0246731751, 0.0671881437, 0.0367357619, -0.0386771299, -0.0100851515, -0.0561374277, 0.0282771327, 0.0212502703, 0.0883117244, 0.0269823689, -0.0298124645, -0.0373743847, -0.0422777459, 0.0039941082, -0.0529768057, -0.0561467521, 0.03195934, -0.031547755, -0.0244788937, -0.0679363161, -0.0206748582, -0.0046061599, 0.023362631, -0.0464531444, 0.0057875286, 0.0136592723, -0.0230217762, -0.0053270692, 0.0258519873, -0.0351449996, 0.0081719253, 0.0549827106, -0.0083812047, 0.017828472, 0.015611182, 0.0127078108, 0.0248997584, 0.0033311537, 0.0237645991, 0.0193927437, 0.0226330757, -0.0164750051, 0.0129891103, 0.021732511, -0.0567251369, 0.0471501164, -0.0000433947, -0.0132043986, -0.0175566506, 0.0246115979, -0.001835617, -0.0232020542, 0.0125569925, 0.0071918922, -0.0250441935, -0.0070718382, 0.0702869669, -0.0318364725, 0.0299574565, 0.009414874, -0.0519452319, -0.0659228638, 0.0134584494, 0.02575453, 0.0131979734, 0.025392171, 0.0394029059, -0.0157293212, -0.0344946757, 0.0429429859, -0.0501971208, -0.0003841557, -0.0079261744, 0.0724705085, 0.0710510463, -0.0394032374, 0.0040538507, -0.0401918292, -0.0237492695, 0.0005895356, -0.0180978775, -0.0100490544, -5.559130619e-33, 0.0027064332, -0.0088917473, -0.0415808074, 0.0619384088, 0.0066042272, -0.0093726581, 0.0382254757, 0.0302637275, 0.0014729149, 0.0213409215, -0.0012712076, -0.0251761116, 0.009186158, 0.0015125438, 0.0255903602, -0.034855444, 0.0451749936, -0.0356411822, 0.0016560331, 0.0069948994, 0.0570425689, 0.0182462186, 0.0545268618, -0.1336537749, 0.0631195828, 0.019699404, -0.0076991697, -0.0020369771, 0.025349034, 0.0721432045, 0.0118406918, 0.0988706201, 0.0311938245, -0.0323991999, 0.0098008811, -0.0026371514, -0.0445872098, -0.030927036, -0.0268164072, 0.0365602933, -0.0316184908, -0.0284106061, 0.0223040767, 0.0256552082, -0.028400708, 0.0013038742, 0.0401114635, -0.0297630504, 0.0190057904, -0.0570996068, -0.0496386327, 0.0057938411, -0.0091047259, -0.0386577845, 0.0525332317, 0.0353880487, -0.0165130943, -0.0148154749, -0.0300925858, -0.0279201902, -0.0411391594, -0.0045614298, -0.029473342, -0.0390090123, 0.0108863544, 0.0685379654, 0.0057915379, 0.0428434052, -0.0031317419, 0.0292992201, -0.005765249, 0.0619527102, 0.0182169639, 0.0441066436, 0.0180020221, -0.0191498157, -0.0631452799, 0.0244340934, 0.0555121116, -0.0053678933, 0.0291064177, 0.0189944729, -0.0514025986, -0.02461458, 0.0043583191, -0.0216319021, -0.0173667073, -0.0128391637, 0.0203290936, 0.0056686359, -0.0390339829, 0.0193209089, -0.0151149668, -0.018317651, 0.0088323159, 0.0077990037, -0.0400625281, 0.0259986073, 0.0029900649, -0.0292727221, -0.0512502827, 0.0081197573, 0.0012740518, -0.0152575048, 0.0410475321, 0.0112423357, 0.0617661588, 0.0183865856, -0.038920112, -0.0184966493, -0.0253501534, 0.0444026776, 0.0134155815, 0.0653584078, 0.0124940118, 0.037140131, -0.0248259958, 0.0529029295, 0.0162000917, -0.0043776417, -0.0474672839, -0.022992203, 0.0118597457, -0.024935903, 0.0032171286, -0.0327977501, 0.0100068552, -0.0449847542, -0.0360213779, -0.0404237173, 0.0152733754, -0.0189960711, 2.561e-7, 0.0189002845, 0.0548609272, -0.0045723664, -0.0295688882, 0.0181857124, 0.0498588458, 0.0035185702, 0.0125344312, 0.0094522163, -0.0302779544, -0.0140646594, 0.039321512, 0.0466253236, 0.059621498, -0.0775254667, -0.0434816889, 0.003457949, 0.0436608568, 0.0019244791, -0.0016246298, 0.0824968666, 0.055499766, 0.0942648724, -0.0021776911, -0.0092153577, 0.0072279279, 0.0388459601, -0.0314500928, 0.0145007512, 0.0154472757, 0.0741887465, 0.0052161459, -0.0138820298, 0.0315792039, -0.0103276838, -0.0413655341, 0.0336441807, 0.0613773428, 0.0105262566, -0.0430224128, 0.0284562763, 0.037840534, 0.0107964491, 0.0196552407, 0.0669668913, -0.0545472354, -0.0252562407, -0.0107211033, 0.0606668778, 0.015707979, 0.0294460319, 0.0012806659, -0.001596245, -0.0214734711, 0.0452763438, -0.0081246346, -0.0421722531, -0.0793261528, -0.0056542438, 0.0014601559, -0.0425492264, -0.0285746362, -0.0053176545, 0.0052127922, 0.0250020381, -0.0504506044, 0.035889633, 1.725431245e-34, -0.0055221342, 0.0120701436, 0.0106349625, 0.0108424323, -0.0012593048, 0.0237255432, -0.0284633655, -0.0314691998, 0.0145247923, 0.0043699206, -0.00734154 ]
http://arxiv.org/abs/2312.08079v2
http://arxiv.org/pdf/2312.08079v2
Extending Whisper with prompt tuning to target-speaker ASR
2023-12-13T11:49:16
2024-01-11T07:11:18
Hao Ma, Zhiyuan Peng, Mingjie Shao, Jing Li, Ju Liu
cs.CL
cs.CL, cs.SD, eess.AS
Target-speaker automatic speech recognition (ASR) aims to transcribe the desired speech of a target speaker from multi-talker overlapped utterances. Most of the existing target-speaker ASR (TS-ASR) methods involve either training from scratch or fully fine-tuning a pre-trained model, leading to significant training costs and becoming inapplicable to large foundation models. This work leverages prompt tuning, a parameter-efficient fine-tuning approach, to extend Whisper, a large-scale single-talker ASR model, to TS-ASR. Variants of prompt tuning approaches along with their configurations are explored and optimized for TS-ASR.Experimental results show that prompt tuning can achieve performance comparable to state-of-the-art full training approaches while only requiring about 1\% of task-specific model parameters. Notably, the original Whisper's features, such as inverse text normalization and timestamp tagging, are retained in target-speaker ASR, keeping the generated transcriptions natural and informative.
[ -0.0193611234, 0.0097167091, 0.0283165704, -0.0044017732, -0.0232087858, -0.0165946335, 0.0406548344, -0.0177149735, -0.0469444133, -0.0006886511, -0.0677323192, 0.024469547, 0.007532429, 0.033726085, 0.002405256, -0.0281884223, 0.0259722061, -0.0458427966, -0.0218260977, -0.0087991962, 0.0159353409, 0.01070798, -0.0270506702, 0.0370926596, 0.0136006195, 0.0104225632, -0.0141350096, 0.0440032259, 0.0486974083, 0.0179317873, -0.0096643325, 0.0436388552, 0.0365356803, 0.0101456326, 0.0000018815, -0.0162973236, -0.0600497723, 0.0005190663, -0.0836675391, 0.0184994601, 0.0051552323, 0.009520716, 0.0074345395, 0.0476913042, -0.0042541055, 0.0036972412, 0.0240096059, 0.0416737571, 0.0551231168, 0.0349729471, -0.0015297363, -0.0389207974, -0.0019197732, -0.0132753411, -0.0033557867, -0.0857297406, -0.0296842996, -0.0531789102, -0.0198959298, 0.0039052032, 0.018615799, 0.0608678497, -0.0054860828, -0.0172511507, 0.0430476665, -0.0365631767, 0.0031026339, -0.0447393619, -0.0545637272, 0.0339004695, 0.0094490796, -0.005920514, 0.041431345, -0.0122488756, -0.0378993712, -0.0343678072, -0.005139064, -0.0382586457, -0.0058811437, -0.0269927848, -0.0266901907, 0.0573989004, 0.009134369, -0.0147706335, -0.0071836407, 0.0102861905, 0.0022970338, -0.0263070818, -0.009352739, -0.0368733816, 0.0313939452, -0.0015351616, 0.0779294074, -0.0055711758, -0.0653386638, -0.0215612222, -0.0148485377, -0.0379751325, -0.0147925941, 0.0428680368, 0.0566516593, 0.0708801076, -0.0543602929, 0.0043632775, 0.0115325525, 0.0357192606, 0.0215513594, -0.0044620577, -0.0043661082, 0.0125129437, -0.033006411, 0.0228741765, -0.0769280419, -0.0261973534, -0.0357367285, -0.0257088207, -0.0469024293, 0.0444358401, 0.0053200792, -0.0181016717, 0.0212159138, -0.0274114087, -0.0659297183, -0.0255200844, 0.0790389404, 0.0514610559, -0.014127872, 0.0145638622, 0.0253850315, -0.0739661083, -0.0287041012, -0.01465654, 0.0598629527, 0.0169339254, 0.0007821752, 0.0113509307, -0.0158712082, -0.024506215, -0.0324720033, -0.0104655707, -0.0159249473, -0.0343330987, -0.0371286198, -0.0229579583, 0.0241772942, 0.0134659568, 0.0141136916, -0.0191284828, -0.0185764059, -0.0187784061, 0.0298576858, 0.0757459104, 0.032690648, 0.0173978154, 0.0578821935, -0.0048799557, -0.0182012357, 0.0390277095, 0.0387334861, 0.0020386577, 0.0048303776, -0.0331403762, -0.0324965641, 0.0665135458, 0.0163884982, 0.0155756036, 0.0205809604, 0.0195097681, 0.0714994967, 0.0181219075, 0.0223597661, 0.0238961354, -0.0260387324, -0.0236368924, 0.0301263798, 0.0124857891, 0.0077732881, 0.0194048323, 0.0646779686, 0.0314944051, -0.0196410287, 0.0119717289, -0.0178853124, -0.0244860258, -0.0468740612, -0.0024053811, 0.0372390822, 0.0462582, -0.0305289328, 0.0118776858, 0.0221059173, -0.0381139144, -0.0397566818, 0.0530237146, 0.0312921777, 0.0063706185, -0.062265683, 0.0422526561, -0.0001533929, -0.060708534, -0.009126259, -0.0202972535, -0.0595113635, 0.0199598558, -0.0082065416, -0.0452866219, -0.0327528007, -0.0465290956, 0.0021143712, 0.0269304626, 0.0118073728, -0.0010940925, 0.0584429689, -0.0635000691, -0.0025333625, 0.0410369523, -0.0304179769, 0.0699508563, -0.006013419, -0.0160289183, 0.0371600874, 0.0249907449, -0.0075649214, -0.0017411007, -0.0409220494, -0.010350137, 0.0106805898, 0.0206051301, 0.0596685931, 0.0482879281, -0.0219533257, -0.0146464827, 0.0137271509, -0.0145865288, 0.0156785175, 0.0128094424, -0.0890483335, -0.0005547029, 0.0380001031, 0.0076773027, -0.0003827423, 0.0429917984, -0.0003260394, -0.081558913, 0.0128562218, -0.0178748332, 0.0079715503, -0.0393178873, 0.057255473, 0.030463865, -0.0038754495, -0.0073919166, -0.0490251221, 0.0323578678, 0.0010204939, -0.0005535656, -0.0036676654, -0.0104681998, -0.0904902369, 0.0231928416, -0.0088294875, -0.0146708274, 0.0070546074, 0.0071901227, 0.0144468872, -0.0212320983, -0.0398064069, -0.0719280168, -0.0089324573, -0.0357861333, 0.0052385898, -0.0214195196, 0.0715684965, -0.0013563262, -0.0457291976, -0.0317899957, -0.0277555026, -0.0044054966, -0.0076471469, -0.0522603951, 0.0250309296, -0.0450441241, -0.0250894837, 0.0254629422, 0.002007283, -0.0238518957, 0.0018699116, -0.0413829237, -0.0583660975, 0.0139327506, 0.0354499221, 0.0156932957, -0.0035779637, 0.0042344951, -0.0212096516, 0.0178481489, 0.0577754341, 0.0374865495, 0.008750244, -0.0082712425, -0.0384792201, -0.0062104911, -0.0639566854, 0.0090265861, 0.0059046997, -0.0281908177, -0.0119618867, 0.0018189099, -0.0003152137, 0.0393079333, 0.0248722993, 0.0333572067, -0.0527713746, -0.0151185021, -0.0195215438, -0.0436823443, -0.023210749, -0.0337537117, -0.0272566117, -0.0026217769, -0.0014290898, -0.0244636256, 0.0408243015, -0.0902032927, -0.0600534715, -0.0335791744, -0.0640201494, -0.026118556, 0.0012750159, -0.0325255916, 0.0307333525, 0.0423260182, -0.0473610125, -0.0098688705, -0.006184062, 0.0330691859, -0.0260166619, 0.020342242, 0.0089870496, 0.0129373763, -0.0221860968, -0.0699705184, 0.0006476743, -0.0551838391, -0.0252829604, 0.0293185897, 0.0186696816, -0.0535681918, -0.0555705689, 0.0369584523, -0.0011153145, 0.0712181628, -0.0291046221, 0.0202561133, -0.0350210555, 0.0167729761, 0.0381657146, 0.0009852841, -0.033246953, -0.0315079242, 0.041670464, -0.0234200284, 0.0857048854, -0.0120385392, -0.0219696052, -0.0166442934, 0.042297747, -0.027743483, 0.0211303532, 0.0030488728, 0.0718950108, -0.0125444233, 0.0324102268, 0.1325583309, 0.0109780217, -0.0090185264, -0.0263049249, -0.010401994, 0.0511899553, 0.0034205506, 0.0011772695, -0.0590161234, -0.0249183439, 0.0669779927, 0.0756261125, 0.0085106483, -0.005350973, -0.0368236229, -0.0521457605, 0.0063300002, 0.0316770636, -0.0600018688, -0.0100965649, -0.039840728, -0.0448706634, -0.028147392, 0.0824988186, 0.0298056211, -0.0266909748, -0.0215004012, 0.0191600081, -0.0368369408, -0.0360288359, 0.0464676581, -0.0385934487, 0.0959651843, 0.0527035557, 0.000327688, 0.0306489971, -0.0037835557, 0.0092900842, 0.0139820147, 0.020468466, -0.0361636095, -0.0192126073, -0.0145334033, 0.0096882535, 0.015862992, 0.0440613031, 0.0170151573, 0.0172038432, 0.023524873, 0.0053099473, -0.032370124, 0.0420960486, 0.051826261, 0.0454208702, 0.0347444452, 0.0706994757, 0.0403530896, -0.0223952048, 0.0100112706, 0.0058241189, 0.0524144769, -0.0397517011, -0.0105182445, -0.0050516925, -0.020813955, -0.0624105819, 0.0049023642, -0.0122580957, 0.0104669342, 0.040646527, 0.0062976168, -0.0158186443, -0.0350243486, 0.0319729298, -0.0186324324, 0.0291646831, -0.0319334306, 0.0279427171, -0.0799136534, -0.0274876133, 0.0450486578, -0.0497929528, -0.0219900329, 0.0481038913, -0.0819181129, -0.0670250207, 0.0294373557, -0.0175635777, 0.0236660186, 0.0646818057, -0.035319306, -0.0423275717, 0.0348146334, -0.0018125726, -0.0649352148, 0.0406135172, 0.0743761063, 0.0086921128, -0.0383859873, 0.0263626613, -0.0503945015, 0.048606161, -0.0078034606, -0.0033823582, -0.0235717669, -0.0912214145, -0.0146228718, 0.0646350384, 0.0847330913, -0.0078922557, -0.0019214996, -0.0103958864, 0.0305180736, -0.0189349279, 0.0505930558, -0.0300842263, -0.0092792409, 0.0015019204, -0.0041406667, 0.0078145135, 0.0088579329, -0.0404177643, 0.0038022795, -0.062351577, 0.0630517825, -0.0029060394, -0.0106806289, 0.0249454509, -0.0032341389, -0.0330638289, 0.063995488, 0.0615217686, -0.0135180959, 0.0016311464, 0.0136522325, 0.0284212884, 0.0552015826, -0.001244052, 0.035634622, -0.0658887848, -0.0228850301, 0.0021303624, 0.0199402571, 0.0090454789, 0.0391440243, 0.0714915171, 0.0333408713, 0.0247426648, -0.0213817935, 0.0306734536, -0.0068565668, -0.0186595228, 0.0086681983, -0.0063512586, -0.0064930753, 0.0493631959, 0.0441413559, -0.000483638, 0.0595374368, -0.0151239885, 0.0343184546, -0.063668184, -0.016306499, -0.0308871344, -0.0166518372, 0.00127853, -0.0386633947, 0.0030383652, -0.0117713204, 0.0848925039, 0.0162484851, -0.0106788082, -0.002337612, 0.0155527378, -0.008986773, -0.0595651083, -0.0186484996, 0.0173373837, -0.055813022, 0.0224670954, -0.0440662391, 0.0708960816, -6.523029007e-33, -0.0472535789, 0.0487623625, 0.0062185721, 0.0330829024, -0.0355967395, -0.0084283976, -0.0169745702, -0.0178422052, 0.0001118998, -0.0427691974, -0.049640201, -0.0150444936, 0.0624258146, -0.0082765892, -0.0196802281, -0.003596378, 0.1312793642, -0.0108631244, 0.0033804022, 0.0322464332, -0.0003791947, 0.0511876643, 0.0076479977, -0.0151187573, -0.0212460328, 0.0049928459, -0.0472973324, -0.0008514419, 0.0380921699, -0.0076477174, 0.0311221257, 0.0219380967, -0.0351846665, -0.0559703261, -0.0274756495, 0.0564487837, -0.0923661143, 0.0130122975, -0.0188421067, 0.0490214862, 0.0298824944, -0.0313741565, -0.0057797777, -0.0174253024, -0.049545113, -0.0376716517, 0.02377625, -0.0153800286, 0.0036855161, -0.0354558602, 0.0247211102, 0.0346149988, -0.0180931035, -0.0371246226, 0.0765494332, 0.0533181168, -0.0043664882, -0.0413655713, -0.0558024757, 0.0406903923, 0.0447798111, 0.0448209085, 0.0037188272, 0.0819053352, -0.0353521779, 0.0051374245, 0.0597420894, -0.0399580449, 0.0422762074, -0.0230856519, 0.0324817039, 0.0165085141, -0.0180827435, 0.0088322284, -0.0318008289, -0.0245928057, -0.0432203412, -0.0053674397, 0.0609905235, 0.0007136316, 0.0218725875, 0.0415767021, -0.0234338678, 0.0044102576, -0.0801036283, -0.0555576682, -0.0195580982, -0.00057487, 0.0432741195, 0.0359768383, 0.0056698183, 0.0408574715, 0.0892057493, 0.0111419987, 0.0346009992, 0.0146744242, 0.005656376, -0.0175857302, -0.0435780585, 0.0272164885, -0.0424106009, -0.0489605404, 0.066599749, 0.0291931182, 0.0321912542, -0.0443091653, 0.0064847674, 0.0792205334, -0.062746495, -0.0065022539, 0.0143576777, 0.0631690994, -0.0129179833, 0.0010651798, 0.0399160981, -0.0255258791, 0.004845792, 0.0583535396, 0.0017683689, 0.0065591969, -0.0124333492, -0.0068973242, 0.0408569314, 0.0247335266, -0.0377164111, 0.0236922838, 0.028823236, -0.048783917, 0.0319045149, -0.0010714964, -0.0145570133, -0.0270711351, 2.729e-7, -0.0542329997, 0.0412763059, 0.0544118993, -0.0212278347, 0.0066431728, 0.0208364576, 0.0100496924, -0.0034376355, 0.0135074826, 0.0008088588, 0.0114890086, 0.0051176972, 0.0882262886, -0.0003315288, -0.1201005727, -0.0204038676, -0.0725257993, 0.0250074342, -0.0168915372, 0.0068954546, -0.011389913, 0.0513190776, -0.0025416675, -0.0223739762, 0.0240981039, 0.0020853144, 0.0083118724, -0.0291898269, -0.0408015847, 0.0326021276, 0.0222046543, -0.0431012474, -0.0181018878, 0.0189941954, -0.0177056044, 0.0487290956, -0.0120536415, 0.0691938549, -0.0241477415, -0.0454868414, -0.0149724064, 0.0420729518, -0.0509174243, -0.0127264783, 0.0379833803, -0.0109111043, -0.009659851, -0.0180897005, -0.0586019978, -0.0237246957, -0.0035909836, -0.0229552295, 0.0311589949, 0.0493845157, 0.0137308761, -0.0060090013, -0.0228970796, -0.0520659722, 0.0115189645, 0.0130375279, -0.051008895, -0.0165636893, -0.0284627471, -0.0146235814, -0.0082040066, -0.0221934225, 0.0034422167, 2.404920704e-34, 0.0446921699, -0.0119166728, 0.029646961, -0.0091099124, 0.0068412717, -0.0320654586, 0.0013565833, 0.0488832705, 0.0173785221, -0.0810401067, -0.0503743328 ]
http://arxiv.org/abs/2312.08078v5
http://arxiv.org/pdf/2312.08078v5
Fine-Grained Image-Text Alignment in Medical Imaging Enables Explainable Cyclic Image-Report Generation
2023-12-13T11:47:28
2024-06-04T12:27:38
Wenting Chen, Linlin Shen, Jingyang Lin, Jiebo Luo, Xiang Li, Yixuan Yuan
cs.CV
cs.CV, cs.AI, cs.CL
To address these issues, we propose a novel Adaptive patch-word Matching (AdaMatch) model to correlate chest X-ray (CXR) image regions with words in medical reports and apply it to CXR-report generation to provide explainability for the generation process. AdaMatch exploits the fine-grained relation between adaptive patches and words to provide explanations of specific image regions with corresponding words. To capture the abnormal regions of varying sizes and positions, we introduce the Adaptive Patch extraction (AdaPatch) module to acquire the adaptive patches for these regions adaptively. In order to provide explicit explainability for CXR-report generation task, we propose an AdaMatch-based bidirectional large language model for Cyclic CXR-report generation (AdaMatch-Cyclic). It employs the AdaMatch to obtain the keywords for CXR images and `keypatches' for medical reports as hints to guide CXR-report generation. Extensive experiments on two publicly available CXR datasets prove the effectiveness of our method and its superior performance to existing methods.
[ 0.0244057719, 0.0427957624, 0.0086037209, 0.0084707486, -0.0427126251, 0.0370606631, -0.0034998201, 0.0472616181, 0.0066598905, -0.0037378236, 0.042802453, -0.0142357834, 0.0262136664, 0.0375675261, 0.0443834402, -0.0688639879, 0.0091884565, -0.0017021166, 0.026655864, 0.0010003486, 0.0180804543, -0.0033709225, 0.0151488231, 0.0251130797, -0.0050206212, -0.0137439985, 0.0060327421, 0.0041117794, 0.0279950611, -0.0141290538, -0.0288658347, 0.0168928839, 0.0216579866, 0.0110027296, 0.0000022079, -0.0130359977, -0.0408898704, 0.0573322177, 0.0172024835, -0.0344091691, 0.0178952478, -0.074309051, -0.0051560965, -0.0385168567, 0.0086395089, 0.0172598343, 0.0944008008, 0.0405247919, 0.0863928273, 0.0500830635, -0.0381780639, -0.0174583439, -0.0385605767, -0.0056480239, 0.0289104264, -0.0555913076, -0.0060687712, 0.0125796432, 0.0184716135, 0.0266085137, -0.0367507264, 0.0439379513, -0.0112874378, -0.0486416034, 0.049850557, 0.0374200679, 0.0014989784, -0.0062261368, 0.0163491275, 0.0619214065, -0.0503508076, -0.0067374459, 0.0194108617, -0.0196359847, -0.0259366352, 0.0267655347, -0.0555684492, 0.0078813424, -0.0331458487, 0.0078433659, 0.0223108474, -0.0178891513, -0.0038161296, 0.0052298722, -0.0370316952, -0.0400240868, -0.0039357408, -0.0068500694, -0.0499017648, -0.0048220698, 0.0119295726, -0.0618690252, 0.0365396999, 0.0742066056, -0.0464588255, 0.0165940151, -0.0501505695, -0.015354977, 0.0558774285, -0.035607405, -0.0042644958, -0.0188456494, -0.0802191868, 0.0988211632, -0.0292140562, 0.0753422156, -0.0247508511, 0.0489438958, -0.0413341671, -0.0161868241, -0.019175617, -0.0131612951, -0.0090687424, -0.0054066996, -0.0187444799, -0.0387871489, -0.0653536916, -0.0011011538, -0.0093136383, 0.0532579385, 0.0577047691, 0.0351374187, -0.0837973803, -0.0155695844, 0.021435013, 0.0177685376, -0.0063503082, -0.0340312757, -0.0252866242, 0.0319568627, 0.0087245516, 0.0715555847, 0.0372291282, -0.0033451954, -0.016631078, 0.0142427739, -0.0306681581, 0.0085369609, 0.0301619731, -0.0766122639, -0.0512197129, -0.0287727546, -0.0075780232, -0.0484980308, 0.0295988154, -0.0121521316, -0.0105497595, -0.0015709432, 0.0242647026, -0.0025155768, -0.0829171091, 0.0819782913, -0.0609554499, 0.0201078877, 0.0163560975, 0.0104879895, 0.086166434, -0.0079037677, 0.0064915493, 0.0422138199, 0.0298324227, -0.0227356888, 0.032021571, 0.003812243, 0.0032834411, -0.0531085841, -0.0122571345, 0.0084818555, -0.0081016114, 0.0567830019, 0.0075638182, 0.031515345, 0.0032811952, -0.0167472921, 0.0413191617, 0.0383790396, 0.0292262007, 0.0250313953, 0.0304093268, -0.015619291, -0.030972084, 0.0247300919, -0.0184141751, 0.0503139235, 0.0028815854, 0.0294078663, 0.0077948449, -0.0081650494, -0.0323267207, -0.0229656417, -0.0192620158, 0.0033777077, -0.0415273607, -0.0035374919, 0.0737909302, 0.0032408314, -0.0563683175, -0.0015054052, 0.0207683593, 0.0091196122, -0.021175744, -0.0582731888, -0.0009079096, 0.0818949416, 0.0886747539, -0.0253476351, -0.0365988389, 0.0206283107, 0.040772099, 0.066961132, -0.0065868287, 0.0030498479, 0.0056784363, -0.0596554689, -0.0576242059, 0.0308788884, -0.0111856041, -0.0238992814, 0.0151569275, 0.003115277, -0.010651513, -0.0311262123, -0.0378126837, 0.0417231396, -0.0102125471, -0.0334579945, -0.0192351025, 0.0306272637, -0.0069493097, 0.0075221676, -0.0202711932, 0.0240191258, 0.0398990139, -0.0186336208, -0.0270429607, 0.0643444434, -0.0109430747, -0.0099990461, 0.0209222175, -0.0716676936, 0.0022480888, -0.0386496857, -0.0334387124, -0.0499732904, -0.0040532812, -0.0446576774, -0.0070381742, -0.0260352939, 0.0341359265, 0.0442606285, 0.0018993164, -0.0392457843, 0.0596842133, 0.0052105067, 0.0020351731, 0.0099913636, 0.0078108697, -0.0236839894, -0.0207165089, -0.0057675582, 0.0608540848, -0.0079323482, -0.0123743284, 0.0053139445, 0.014460383, 0.0036949117, -0.0590177141, -0.0285011064, -0.0158608332, 0.0030827259, -0.0095985197, 0.0433853343, -0.0237652063, 0.0235889778, -0.0396971218, -0.0458990633, 0.0114447204, 0.0671034604, -0.0091400184, 0.075135313, 0.0167929009, -0.0217470229, -0.0437963568, -0.0004902631, -0.0060215364, 0.0051752445, 0.0820140839, -0.0620936453, -0.0676809773, 0.0283867642, -0.0263560563, -0.0042979401, -0.0281511825, -0.0531744994, 0.0100069297, -0.0187954474, -0.0414810032, 0.0511206388, 0.0252183042, 0.0264759194, -0.0451939851, -0.0125556523, 0.0022656356, -0.0115115158, -0.0640084147, -0.0580821112, 0.008343068, -0.1054526567, -0.0072479378, 0.0622607544, 0.0148891555, 0.0387422144, -0.0447834432, -0.0354584977, -0.0045652483, 0.0427715704, -0.0650040954, -0.0376143418, 0.0058755404, 0.0209142175, -0.0411370918, -0.0679307431, 0.0690953881, -0.0077647385, 0.0243103523, -0.0353394933, -0.0089830058, -0.0371457674, 0.0774402991, 0.0179956183, 0.0559457913, 0.0384797826, -0.0128304902, -0.0111221131, -0.0375083797, 0.0463899188, -0.0620352142, -0.003201629, -0.0209168158, 0.0295268819, -0.0025069315, -0.0022264079, -0.0122006256, -0.0406938605, 0.0290839225, -0.0295695253, 0.0276887473, -0.0311343744, -0.0465213768, 0.0827132091, 0.0324235633, 0.0126278633, -0.0017459325, 0.0034927456, -0.004599459, 0.0661525205, 0.0598052256, 0.0036210429, -0.0338363051, -0.0484060645, 0.0010260942, 0.0593788773, -0.0060470281, 0.0330142826, -0.0058166557, -0.0018209311, -0.0287050437, 0.0265331082, -0.0160300881, -0.0003547572, 0.0487864502, -0.0528449379, -0.0009127397, 0.0484058745, 0.0375363305, -0.0205234103, -0.0269677509, 0.0242540669, -0.0385292768, 0.004347505, 0.0124116857, -0.0228291117, 0.0054540322, -0.0075138723, 0.0097754849, -0.0073055881, -0.0020831979, -0.0080484478, -0.0297981147, 0.0605045334, 0.0144380732, -0.0371534713, -0.0789979249, -0.0292197317, 0.0044585261, 0.0064356709, -0.0641479567, 0.0065222001, 0.001394706, -0.0145716332, 0.0144353248, -0.0393986925, -0.0336382613, -0.0106707616, -0.0560273342, 0.0042239116, 0.0489917435, 0.0800189972, -0.0120190922, -0.0303143654, -0.0141959889, 0.0327136964, 0.0028431395, 0.0187267121, 0.0659543499, 0.0206027552, -0.0521302484, -0.0274082925, 0.0405948721, 0.0045271511, -0.002812214, -0.0237847343, 0.040634945, -0.0206922702, 0.0095387995, -0.056136474, 0.0686236843, 0.0151383178, 0.0354649983, 0.0129172765, 0.0301519353, -0.0310842376, 0.0143027334, 0.0614136606, -0.0783621222, -0.0135407122, 0.045518633, -0.0547502823, -0.0165693946, -0.0826830938, -0.0092111258, 0.0223904885, 0.0231072512, 0.0048064142, 0.057301607, -0.0400600322, -0.0324081555, -0.0762906745, 0.0209993478, 0.0059869597, 0.0168490782, -0.0011639228, -0.0492103361, 0.0160748065, -0.0461492985, -0.0136756757, 0.0663753375, -0.0383711644, -0.0082976613, 0.0052396227, 0.0304721631, 0.0241876524, 0.0178107023, -0.0037678299, -0.0428024828, 0.0196052976, 0.0412762947, 0.0150729455, -0.0182213448, -0.0284914114, -0.0629496276, -0.0418473631, 0.0259401668, -0.0080562849, -0.005782227, 0.0003960551, 0.0301399734, -0.0047464608, -0.0492891632, 0.0355586, 0.0084474487, -0.0071115922, -0.0721927285, -0.0088185538, -0.0282136183, -0.0075750602, -0.0121877985, -0.0174315292, -0.0235779211, 0.0271992683, -0.0357350782, -0.0246034637, 0.0298945718, -0.0080947485, -0.0506564863, -0.0133446893, -0.0421223268, 0.0370822586, -0.0648753494, -0.0125469631, 0.013498689, 0.0196625851, 0.0268139094, 0.0149253346, 0.0120543474, 0.0394168533, -0.0175328907, 0.0643167049, 0.027685944, 0.03692111, -0.0277548935, 0.0138061177, -0.0073343399, -0.00690029, -0.0603499524, 0.0077589094, 0.0526015237, -0.0155482525, 0.0078447293, -0.0189659204, -0.0220444333, 0.0180500951, 0.0845204219, 0.0155715765, 0.0021962014, 0.0325540826, 0.0075163064, 0.0105586536, -0.0079972437, 0.1075093597, 0.0128444405, 0.0050795926, -0.0220193677, -0.0479127765, -0.0571961813, -0.0047067497, 0.0422071107, -0.0357079841, -0.0244193338, 0.0045142788, -0.0287225023, -0.0288564898, 0.0030687524, 0.0130219804, -0.0299446918, 0.0092504267, 0.0313720703, 0.0803059116, 0.0044152229, 0.0046298574, -0.0326860957, 0.0580556579, -0.0272962265, -0.0196662415, 0.0577018112, -6.463869315e-33, -0.0232188925, -0.0675515756, 0.0319296718, -0.04981203, -0.0056616445, 0.0362752303, -0.057185106, -0.0350192524, 0.0371958911, 0.0136065604, 0.0042721448, -0.0258108135, 0.0254966132, 0.0209434051, -0.0241658669, 0.0055485959, 0.0313222408, 0.0170693491, 0.0129192406, 0.0465280339, 0.0003006691, 0.0200728811, 0.0541351438, -0.0961932316, 0.0125224339, -0.0001473875, -0.0195116661, -0.0154553587, 0.030499015, 0.0405088253, -0.0354839042, -0.0324473754, 0.0098666148, -0.0290604196, 0.0077622519, 0.0033603476, -0.0565967299, 0.0247770622, 0.0255583897, -0.0123542398, -0.0473187119, -0.0231707729, 0.0059198411, -0.064704217, 0.0424883366, -0.0186194163, 0.0559622832, -0.0326805748, -0.0083677694, -0.0101259965, -0.0342029557, 0.0686171576, -0.0281593744, -0.011326218, 0.0066881874, -0.0432065539, -0.0120768845, 0.073795788, 0.0123631945, 0.0087407269, 0.1111455038, 0.0622595921, 0.0381517373, -0.0096833277, -0.009337361, 0.0494053401, 0.0717288554, -0.0316014104, 0.0009128568, 0.067496337, -0.0651604682, 0.0698733851, 0.0572413877, 0.0562338009, 0.0354531147, 0.0006608504, -0.0401507467, 0.0454855561, -0.0960494056, 0.0458280444, 0.0211452767, -0.0047002253, -0.0432936177, 0.0287172049, 0.0112926774, -0.0108695291, -0.0346657224, -0.0032150028, 0.0085150916, 0.0632144958, -0.0499071032, 0.0777316466, 0.0193690266, 0.0135409459, 0.0508216061, -0.0579060949, 0.0140780732, 0.0230776556, -0.0430842191, -0.0203749239, -0.0059893182, -0.046402581, 0.035829626, 0.0227861833, 0.0430440418, 0.0257546771, 0.0361253731, 0.0240830015, -0.0400173292, 0.0151062217, -0.0241348706, -0.022048071, -0.061424762, -0.0049432688, 0.0230308771, 0.0167009756, -0.0330459811, 0.0367858224, 0.0293391682, 0.0203510951, -0.0028351033, -0.0703401119, -0.0288198795, 0.0072253719, -0.0175217763, 0.0068440652, -0.0152443359, -0.0167648997, 0.0470773578, -0.0569384694, -0.0142759001, 0.0445317253, 2.955e-7, 0.0345000736, 0.0434205644, 0.0412039831, -0.0507699102, 0.0092852237, -0.0260517448, -0.0331353322, -0.0094141141, -0.0099737179, -0.0191104021, 0.0441549048, -0.0180363618, 0.0415030681, 0.0198077746, -0.0132457511, 0.0292865392, -0.0406623669, -0.0391480438, -0.0291119553, 0.0031841213, 0.07212542, 0.049124442, -0.053088598, -0.0528716855, 0.0298426766, -0.0353010893, 0.0296194516, -0.0170905907, -0.0104771042, 0.0022782437, -0.0349285975, 0.0135429678, -0.0286715031, 0.0278165247, -0.0166164078, -0.0190273281, 0.0262749065, 0.0537014976, -0.0446535014, 0.0223474652, -0.0021682663, -0.0163143687, 0.0013618645, -0.063296631, 0.0501348339, -0.036992047, -0.0148253785, -0.0342238396, -0.0180016328, 0.0370392688, 0.0124417394, -0.0596918911, -0.0244415291, 0.06703493, 0.0170337055, 0.0082052685, -0.0207420699, -0.084281534, -0.0363545157, -0.0008886341, -0.0138996514, 0.0324889496, -0.0098208766, -0.0118784597, 0.012695034, -0.041923929, -0.0228205286, 2.790590987e-34, 0.0174185783, 0.0076565887, -0.0449949577, -0.0272013973, 0.0308958534, -0.0104306284, -0.0282140356, 0.0534013659, -0.0040211463, -0.0063188653, -0.0123879462 ]
http://arxiv.org/abs/2312.08063v2
http://arxiv.org/pdf/2312.08063v2
Estimation of Concept Explanations Should be Uncertainty Aware
2023-12-13T11:17:27
2024-04-05T13:42:27
Vihari Piratla, Juyeon Heo, Katherine M. Collins, Sukriti Singh, Adrian Weller
cs.LG
cs.LG, cs.AI, cs.CL
Model explanations can be valuable for interpreting and debugging predictive models. We study a specific kind called Concept Explanations, where the goal is to interpret a model using human-understandable concepts. Although popular for their easy interpretation, concept explanations are known to be noisy. We begin our work by identifying various sources of uncertainty in the estimation pipeline that lead to such noise. We then propose an uncertainty-aware Bayesian estimation method to address these issues, which readily improved the quality of explanations. We demonstrate with theoretical analysis and empirical evaluation that explanations computed by our method are robust to train-time choices while also being label-efficient. Further, our method proved capable of recovering relevant concepts amongst a bank of thousands, in an evaluation with real-datasets and off-the-shelf models, demonstrating its scalability. We believe the improved quality of uncertainty-aware concept explanations make them a strong candidate for more reliable model interpretation. We release our code at https://github.com/vps-anonconfs/uace.
[ -0.0015610314, 0.0856896937, 0.0007409546, 0.0408899449, 0.0343016461, 0.036527548, 0.0110769821, -0.0250094514, -0.0964230597, 0.0097908191, 0.058356721, -0.0174064878, 0.024316676, 0.0565486066, 0.0273127295, -0.0793396384, -0.0068169986, -0.0601055287, 0.0374966972, -0.0100908959, -0.0106671862, -0.0064392034, -0.0197637621, 0.0583926588, -0.022887215, 0.0057991697, -0.0586159974, 0.0128727145, 0.0171076711, -0.0139620984, -0.0147266351, 0.0067225844, 0.040842168, -0.0017585873, 0.0000022394, -0.0069927317, -0.0284002591, 0.0127057573, -0.0976117849, 0.022704592, -0.0006557524, -0.0034648972, 0.0381270424, -0.0149935316, 0.0444103517, 0.0188369174, 0.0710191727, 0.0553261228, 0.0003041169, -0.0037622422, 0.0147652039, -0.029134972, -0.0441919714, -0.0215046033, 0.066145964, -0.0607615151, -0.0000971194, 0.0025741772, -0.0318683982, 0.0191594008, -0.0164240114, -0.0042420896, 0.0336828828, 0.0114894593, 0.0603385605, 0.0211497061, 0.044572223, -0.0398185775, 0.0013406556, 0.0234541018, 0.019137444, 0.0080148485, -0.0005507561, -0.0192627944, -0.003022583, 0.0598443709, -0.0440166779, -0.0096159866, -0.0210422575, -0.0149298366, -0.0079939421, 0.0047072005, 0.0654072165, 0.0169799142, -0.032011915, 0.0754559711, -0.0391988419, 0.0202337373, -0.0308523495, 0.0108094746, -0.0378622599, -0.0274361484, -0.0122563979, 0.0360758752, -0.0119078076, 0.0124929221, 0.0347558744, -0.0078390297, -0.0044066785, -0.0169319697, 0.0468509533, 0.0202767085, -0.0187651701, 0.0307941679, 0.0242348313, 0.024464801, 0.0131287361, -0.0211455766, -0.0207742397, 0.0107759126, -0.0691469088, -0.0121278903, -0.001053354, -0.0200341735, -0.0229616631, 0.0201188978, -0.0231086202, -0.0007924485, -0.0435344577, 0.0226813052, -0.0199617837, 0.0277487114, -0.0254453849, -0.0242859181, -0.058457654, 0.0040104785, -0.064711161, 0.0021868488, 0.0349879079, -0.0458515473, -0.0319629088, -0.0219570957, 0.0027098937, 0.0092784772, -0.0111424206, 0.0299584623, 0.0339564979, 0.0065751118, -0.0400624312, -0.0588515922, -0.0300075728, -0.02029901, -0.0292221345, -0.0067493529, -0.0153404698, 0.0113963578, 0.0344867297, -0.0703819916, 0.013795441, -0.0489070527, -0.0539998747, 0.1069096029, -0.037631005, -0.0036056065, 0.0274418723, 0.0265262146, -0.0690429583, 0.0621207692, 0.0134362541, 0.0251340438, 0.0142470887, -0.0420882478, 0.0391045138, -0.0408557206, 0.0452751741, -0.0355198123, -0.0186743215, 0.0032535889, -0.024071496, 0.0384249762, 0.0317184553, -0.0553813577, -0.0136148296, 0.02079737, 0.0294479188, 0.0022623818, -0.0122267352, 0.012714019, 0.0374862552, 0.012338724, 0.0037686806, -0.0131153567, -0.0812095851, 0.0299584661, -0.038303338, 0.0176713578, 0.0120279593, -0.0170064997, 0.000269939, -0.0891797617, -0.0253879186, 0.0033731456, -0.047125794, 0.0412630662, 0.0814005956, -0.0390384607, 0.0146952784, 0.0416365601, 0.0456325077, 0.0149379242, -0.0263413209, -0.0657368526, 0.034514159, 0.0718944594, 0.0239793845, -0.0248103328, -0.0044337842, -0.008063281, -0.0024215074, -0.0366862603, 0.0122594396, 0.0004585669, 0.0333902985, -0.0196264274, -0.0757761374, -0.0279712137, 0.0499735959, 0.0019845739, -0.0021301289, -0.0420654491, 0.0218419768, -0.0813860372, -0.0483737737, 0.0018816011, 0.0198135804, -0.0052920901, 0.028291408, -0.0148820141, 0.0448366478, 0.0144548295, 0.0122142183, 0.006866931, 0.0184632223, 0.0143635971, -0.0027710167, 0.0186948776, 0.0056973118, 0.0074992608, 0.016706109, -0.0138186002, -0.0229150094, -0.0171732027, -0.060663715, -0.0369435549, 0.0297508985, -0.027524244, -0.0133373775, -0.0026977654, 0.0054476587, -0.0116022546, 0.0117814923, 0.0048834775, 0.0462623201, -0.0021832651, -0.0154591538, 0.0036510192, -0.0011466892, 0.0113681806, -0.0036672633, 0.0283413343, -0.0132494774, -0.0440877862, -0.0322816186, 0.0179102402, -0.0593718551, -0.0127255237, 0.0532371514, -0.0062340521, -0.0072244564, -0.0011888475, -0.0075223683, 0.0096914778, -0.0184933227, 0.011991594, -0.0067003048, 0.0211020336, 0.0231084842, -0.0442813449, -0.0082035363, 0.0193199292, 0.0145430611, -0.0521872714, -0.0335979275, 0.0184015688, -0.0031689273, 0.0798950344, 0.0575615577, -0.0008910085, -0.0595146343, 0.0056249266, -0.0074479412, -0.0472271852, -0.0254863594, -0.0269909743, 0.0050880257, -0.0053426595, -0.0386319906, 0.0331357121, -0.0112892063, 0.1015753075, 0.0504928343, 0.001777717, -0.0364821218, -0.0106264176, -0.0392731465, -0.0136348354, -0.0255710687, -0.0641147941, -0.0197180398, 0.0928100646, -0.0197278876, 0.0039330418, -0.0564533882, 0.0498517342, 0.0019668667, -0.0364732109, -0.0790103301, -0.0036333485, 0.0356708057, 0.0729205981, -0.0245337412, -0.0522344373, 0.068130292, -0.0026938368, 0.0227357354, 0.0162105225, -0.0091107683, 0.0116281081, 0.0459936708, -0.0130153466, 0.0130425878, 0.0662377626, 0.0312297661, 0.0142587256, -0.0123301856, 0.0644199103, -0.0079702577, -0.0110895848, -0.1152174026, -0.0186995585, 0.0458660424, 0.0137350131, -0.0245403014, -0.001387134, -0.0458424278, 0.0097682867, 0.0417972989, -0.0426339842, -0.0255904589, 0.0094136139, 0.0132971108, -0.0231350474, 0.0001936139, -0.0330874994, 0.0114659099, -0.0228914525, 0.0222356766, 0.0211422201, 0.0719996914, -0.0516024642, 0.012100094, 0.0118776755, 0.0192534197, -0.0157660171, -0.03841874, 0.0071006119, -0.0189410038, -0.0121586025, 0.0009764851, 0.040250998, 0.0521128401, -0.0666874871, -0.0289220177, 0.1048250645, 0.0107583469, -0.0256926026, 0.0203648042, -0.021341173, 0.0384975858, -0.0127300872, -0.0141072338, -0.0471515507, -0.058614485, 0.0153511595, 0.0646679923, 0.0133288344, 0.0040011313, 0.0119172204, -0.0310742334, 0.0542741641, -0.0033076615, -0.0311604626, -0.0628991723, -0.0764011964, -0.0172396656, -0.0612254366, -0.0250259936, -0.0062355455, 0.0535384044, 0.0578061454, 0.0361304022, -0.0249396395, -0.0723560527, 0.0113536669, -0.0279654041, 0.0549937263, 0.0233171657, -0.0023314948, -0.0060227513, -0.0059404848, -0.0365609825, -0.0313668884, 0.006020532, 0.0035028211, 0.0858553275, 0.0264018923, -0.0191285498, -0.0028754063, 0.062147297, -0.0553765818, -0.0237018373, 0.0018163989, 0.0309607498, -0.0281558018, -0.0122365551, -0.0006347494, -0.0223908927, 0.025361171, 0.0938205123, 0.044963602, -0.0139256725, -0.0138274897, -0.0625970364, 0.0003872159, 0.003993114, 0.0069385958, 0.0278974567, 0.0023766744, -0.0726688951, 0.0118469177, 0.0099201733, 0.0132221431, -0.0015821081, -0.0010604539, -0.0164691936, -0.0203208271, 0.0014562362, -0.0735620409, 0.0798780695, 0.042030789, 0.0211233832, -0.0078038457, -0.0621379986, 0.0010128231, -0.0344429575, -0.0256888624, 0.0404589958, -0.0462666713, -0.0198850036, 0.0204795226, 0.0329609066, 0.0305588953, 0.061042089, 0.0061425194, -0.0568477549, 0.0214762222, 0.0248689521, -0.0076820045, -0.0254770312, 0.0610828921, 0.0132632917, 0.0016080172, 0.0294150021, -0.0437182039, 0.0131710656, -0.0248205569, -0.0215793066, -0.0500364006, -0.018231228, 0.0128668593, -0.0116910283, 0.0782547221, -0.0357183442, -0.0563841388, 0.0022500055, -0.0082720518, 0.0110558262, -0.0097705722, -0.0564547479, 0.0116806589, 0.0160440281, -0.036394041, 0.0159488618, -0.0318125263, 0.0239285473, -0.0127019035, -0.0047186823, -0.0027623503, 0.0162420031, -0.0060997466, 0.0241463818, 0.0049545779, 0.0219176579, 0.0031866473, -0.0262209885, 0.0411858074, 0.0495542735, 0.047620032, 0.0255203042, 0.0038689885, -0.0134488689, -0.0333615728, -0.0769456849, -0.0680342987, -0.0033687397, 0.0249839704, 0.0103754299, -0.0013777012, 0.0472274646, -0.015344982, -0.0088079385, -0.0130148018, 0.0905903131, 0.0283509828, -0.0028575752, 0.0362185314, 0.0410581566, -0.0274895485, -0.048946768, 0.075265713, 0.0271069743, 0.0452324189, -0.0358149968, -0.049585022, 0.0110091725, 0.0099606393, 0.006855316, 0.0413051769, -0.0023748202, 0.0297172219, -0.03806559, -0.0516509302, -0.0090137478, 0.0002054446, 0.0092167445, -0.0208721925, 0.0131799467, 0.047399845, -0.0200330373, -0.0236618388, -0.0150334453, -0.0017628144, -0.0431944206, 0.0251608547, -0.0002479271, -6.523275861e-33, -0.0138034998, -0.0754831657, -0.0426781029, -0.0568661876, 0.0286864378, 0.003066232, -0.0395184644, -0.0265986845, 0.0053974679, 0.086528264, 0.0532077514, 0.0337734334, 0.0077686035, 0.0030545883, 0.0388839282, -0.0180722065, 0.0376234278, 0.0303673334, 0.0022185976, 0.0311670247, 0.045610629, 0.0357800722, 0.0348970518, -0.0475747883, 0.0760585517, 0.0383084491, -0.0497915223, 0.0088299699, 0.0062263682, 0.0565334745, -0.026299797, 0.0295710005, -0.0057803276, -0.04708381, -0.0157611519, -0.0361705385, -0.0586278029, -0.0039450824, -0.0035424505, 0.0330840163, -0.0231174193, -0.0464659519, 0.0216581654, 0.0343005657, -0.0101685785, -0.0500832014, 0.0457652621, -0.0468014963, -0.0131992782, -0.0082942853, 0.0032508457, 0.0365690812, -0.069547534, -0.0371929407, 0.0428390577, 0.0256616473, 0.011690164, -0.0215820707, 0.0092974473, -0.007646299, 0.0649676174, 0.0018496896, 0.0810281038, 0.0320553072, -0.0119431503, 0.0396043248, 0.0011254132, -0.0359041393, -0.0606617592, 0.0039732703, -0.0317343436, 0.0674921349, 0.0613878109, 0.0325659625, 0.0798901692, 0.0353135318, -0.0446858853, 0.0629670024, -0.0377156697, 0.0461175777, 0.0221593026, 0.0261282567, -0.0568829291, -0.0218926966, -0.0485326089, -0.0645113066, -0.0256394129, -0.0098008029, 0.0214299373, -0.029861033, -0.0906059965, 0.0063762814, -0.0185020398, -0.0651032031, 0.0083645154, -0.0016396625, 0.0185427852, -0.0180522576, 0.0320839435, -0.0276564248, 0.0231380966, -0.0186254662, -0.0042998926, 0.0027758719, 0.0449522361, 0.0092326039, 0.0160039142, 0.0084495079, 0.0074270186, -0.0093183676, -0.0703855082, -0.0222758669, -0.0237224586, -0.0409240015, 0.026543038, 0.0103683481, -0.0348509885, 0.0371372961, 0.0112316106, 0.0441251174, 0.0144978771, 0.0198828876, -0.0373817198, 0.017506104, -0.0186332017, -0.0505433492, 0.0073695537, -0.0982444882, 0.0560609549, -0.0281242989, -0.0534523912, -0.0071980869, 2.796e-7, 0.0469288118, 0.0164288078, 0.0155561361, 0.0260130111, 0.0396270677, 0.0690844208, 0.000436137, -0.045740027, -0.0089162355, -0.0534570776, 0.0327464677, 0.0569303408, 0.0524643101, 0.0129858591, 0.0049073491, -0.0653765053, -0.0057437806, -0.0110718999, -0.024679739, 0.0149229709, 0.0704354569, 0.0451795682, 0.0168683082, 0.0098310504, 0.0471340083, 0.0094626481, 0.0314916484, -0.0639255866, 0.0260671638, 0.0170512628, 0.0379411168, -0.0099599445, 0.0187927615, 0.0007873662, -0.0257673096, -0.0331319943, -0.0365053527, 0.0571989901, -0.0141852302, 0.0324065872, -0.0422455892, -0.0212814305, 0.0568218082, -0.0647319779, 0.0531949177, -0.0485184342, -0.0467104502, -0.0478291698, -0.0404353589, -0.0358870737, 0.0055931844, 0.0170837939, 0.0162231661, -0.0014759029, -0.0396465436, -0.0170825347, 0.001034088, -0.0559429005, -0.0328697823, 0.0317718349, -0.0216291994, 0.016410768, -0.018735325, -0.0492046364, 0.0539620034, -0.0315593742, -0.027906904, 2.422012667e-34, 0.053171698, 0.0182513148, -0.0298614502, 0.0597396567, 0.053578265, -0.0294763092, -0.0120620076, -0.0173000842, 0.0520638674, -0.0118404608, 0.0109777572 ]
http://arxiv.org/abs/2312.08036v1
http://arxiv.org/pdf/2312.08036v1
CoRTEx: Contrastive Learning for Representing Terms via Explanations with Applications on Constructing Biomedical Knowledge Graphs
2023-12-13T10:29:34
2023-12-13T10:29:34
Huaiyuan Ying, Zhengyun Zhao, Yang Zhao, Sihang Zeng, Sheng Yu
cs.CL
cs.CL
Objective: Biomedical Knowledge Graphs play a pivotal role in various biomedical research domains. Concurrently, term clustering emerges as a crucial step in constructing these knowledge graphs, aiming to identify synonymous terms. Due to a lack of knowledge, previous contrastive learning models trained with Unified Medical Language System (UMLS) synonyms struggle at clustering difficult terms and do not generalize well beyond UMLS terms. In this work, we leverage the world knowledge from Large Language Models (LLMs) and propose Contrastive Learning for Representing Terms via Explanations (CoRTEx) to enhance term representation and significantly improves term clustering. Materials and Methods: The model training involves generating explanations for a cleaned subset of UMLS terms using ChatGPT. We employ contrastive learning, considering term and explanation embeddings simultaneously, and progressively introduce hard negative samples. Additionally, a ChatGPT-assisted BIRCH algorithm is designed for efficient clustering of a new ontology. Results: We established a clustering test set and a hard negative test set, where our model consistently achieves the highest F1 score. With CoRTEx embeddings and the modified BIRCH algorithm, we grouped 35,580,932 terms from the Biomedical Informatics Ontology System (BIOS) into 22,104,559 clusters with O(N) queries to ChatGPT. Case studies highlight the model's efficacy in handling challenging samples, aided by information from explanations. Conclusion: By aligning terms to their explanations, CoRTEx demonstrates superior accuracy over benchmark models and robustness beyond its training set, and it is suitable for clustering terms for large-scale biomedical ontologies.
[ 0.0119509641, -0.0042827278, 0.0244351849, -0.0037884125, -0.0103297522, 0.0121542262, 0.0031540317, 0.0353764743, 0.0256269388, 0.0073050186, -0.0083212871, -0.0259464178, -0.0006902833, 0.035585586, 0.0192644, -0.0565314777, 0.0535586104, 0.0417000242, -0.0093488693, -0.0122739812, -0.0337743387, 0.0181894451, -0.0055916528, 0.0112091862, 0.0207592454, -0.0379864015, 0.0140496166, -0.0424137861, 0.03631806, -0.0194655284, -0.0114798993, 0.0216571279, 0.0200454853, 0.034532886, 0.0000019099, -0.0678442121, -0.0603933521, 0.064801231, -0.040161442, -0.0107366778, 0.0686869696, -0.0097798575, 0.0365629643, 0.0111760115, -0.0067483857, -0.0095846243, 0.049299214, 0.0499738306, 0.0068532554, 0.0213135853, -0.006995074, -0.0585436448, 0.0442174822, -0.0046038008, 0.0268155448, 0.0034485674, 0.0290691089, 0.0272278097, 0.0461117961, 0.0247784909, -0.0256684683, 0.0121670095, -0.004060518, 0.0157241076, 0.0375070088, 0.0543817431, 0.0013023667, 0.0132603208, 0.0386536196, 0.0529145636, 0.0250139702, -0.0023641761, 0.0175918713, 0.0260643531, -0.0136131709, 0.0612713918, -0.0275307409, -0.0037606952, -0.0323177017, -0.0052231019, 0.0466409847, -0.0160131287, 0.0526475236, 0.0032971094, -0.0345108025, 0.0274497382, 0.0146643231, -0.0112167057, -0.0076057231, -0.051377058, -0.0479330383, -0.0128648849, 0.0149976294, 0.0278162919, -0.0450716428, 0.0305285379, 0.0354072526, -0.0034481727, 0.0485609323, -0.0500651896, -0.0391235724, 0.0048060757, -0.0213717502, 0.0574967787, 0.005725082, 0.0038651908, -0.0247861613, 0.0425712056, -0.0521921255, -0.0362982079, -0.1101682708, -0.0088649224, -0.0094198156, 0.0412250534, -0.0189012866, 0.0021821368, -0.0946881473, 0.0152879301, -0.0236952268, -0.0127123641, 0.0407010578, 0.0433763154, 0.0075292755, -0.015206405, -0.032995075, -0.031066373, -0.0120479017, -0.0294959377, -0.0372084118, -0.0113639142, 0.0075185532, 0.0109024448, 0.0000283737, -0.0108741214, -0.0025872013, 0.0675031617, 0.0458843298, -0.0138880359, -0.0241175629, -0.0379105695, -0.0285813846, 0.0142037421, -0.01456053, -0.0608969182, 0.0234812666, 0.002317297, -0.0186667442, -0.037192449, -0.0056264084, -0.019408159, -0.0884256884, 0.08867082, -0.1060856208, -0.0432898402, -0.009562063, 0.0291220713, -0.0662934706, -0.0136262588, -0.0045788758, -0.035094589, 0.0498548858, -0.030025037, -0.0037852069, -0.0510787927, 0.0258261804, -0.0468687192, -0.0198984854, 0.0003949835, 0.0096424334, 0.0817229301, 0.0231047254, 0.0562793612, -0.0329231285, -0.0407831632, -0.0075534787, 0.0727956444, 0.035605628, 0.0544494614, -0.0043682423, 0.001363361, -0.0314853825, -0.015056558, -0.017116664, -0.0070704073, -0.0017868738, 0.0486082956, 0.0839265138, -0.0144812437, -0.013786518, -0.0329496078, -0.0409390591, 0.006213055, -0.0182523988, -0.0169786755, 0.0695631877, -0.0302006919, -0.0170522388, 0.0959909409, 0.1005972028, -0.0125847217, 0.0231204052, -0.0464711972, 0.0068382542, 0.0533109941, 0.0396152884, -0.0618605651, -0.0524391457, -0.0027801485, -0.0413100496, 0.0278711561, -0.0115286717, -0.0459611379, -0.0294053275, -0.039849069, -0.001643058, 0.002225111, 0.0105506601, -0.0134738283, -0.0071311025, -0.0001103765, -0.0099174893, -0.0725802481, -0.0274011046, 0.0308536738, -0.0600500032, -0.0000912859, 0.0022082673, -0.0394629389, 0.03627152, 0.0454927944, -0.009745786, 0.0200651567, 0.0396585055, -0.0217835065, -0.0190168358, 0.0002143491, -0.0311303996, -0.0874880701, 0.0573967807, 0.0040952875, -0.0018703827, -0.0021862562, -0.0600987338, -0.0508218855, 0.028356025, -0.0158381369, 0.0706184581, -0.0103439176, 0.0003455258, 0.0074697533, -0.0121430159, -0.0326629281, 0.0502708219, -0.0429691933, 0.050645411, -0.0128783416, -0.0330898277, -0.0009251236, 0.0096212989, 0.0200832523, -0.0060633747, 0.0081346175, -0.0026960741, -0.0063464493, -0.0330752917, -0.0325784944, 0.0336230695, -0.0999927595, 0.0099744089, 0.0336947851, 0.0101366416, 0.0332324132, -0.0121247889, 0.0488484651, -0.0083388239, -0.0561357588, 0.0162920244, -0.0106194168, -0.0172606893, 0.0584928431, -0.0015851529, -0.052065216, -0.0315508768, -0.0100520104, -0.0425090715, 0.042340301, -0.0236037858, 0.0136194741, 0.0290051978, 0.0340432413, -0.0604628138, 0.0030675638, -0.0177186877, 0.012140112, 0.0167730041, -0.015964184, -0.0288010687, 0.002655962, 0.0336542912, 0.0347543806, 0.0250877067, 0.0304343086, 0.0017715937, -0.0196893066, -0.059658207, -0.0129153915, 0.0021753972, -0.0464048758, 0.0001152285, 0.0776668563, 0.0212422106, -0.0369234532, -0.0311944392, -0.0194373745, -0.007368708, 0.025378434, -0.0508033074, 0.0344116837, -0.0175280403, 0.014784514, -0.0233435221, -0.0356734879, 0.0814307481, 0.0085054468, 0.0272430312, -0.0090899719, -0.0181646757, -0.0124800047, 0.0484392457, -0.0170872118, 0.032793995, -0.0017099516, -0.0164404474, -0.0087652504, -0.0346437171, 0.0083989389, -0.0323108882, 0.0109261172, -0.0315175392, 0.0097764572, 0.0578132309, 0.0091552669, -0.0340200961, 0.0521970429, 0.0024039594, 0.0697147921, 0.085365884, -0.0327992439, -0.0310270917, 0.0388105251, 0.0125084976, 0.0209639836, 0.0271422826, -0.0285928771, -0.0121450601, 0.0104164025, 0.0226654094, -0.0335270017, 0.0593912564, -0.0054378943, 0.0155265285, 0.0613588765, -0.0012629722, -0.0590811446, 0.0017933516, -0.0167283043, -0.0029474664, -0.0667585284, -0.0188664235, -0.006304048, -0.0203770492, 0.0017369003, -0.0154135413, 0.1252053231, 0.0528469831, -0.0552702285, 0.0410404801, -0.0248831958, -0.0370825455, -0.0014570481, -0.0130173592, -0.0491959862, -0.0118265869, -0.0388400555, 0.018907873, 0.0503444858, -0.0571536794, 0.0269535016, -0.0413336195, 0.0343162902, 0.0143088363, -0.0767057911, -0.0178233553, -0.0702124983, -0.0087905675, -0.0728133917, -0.004660496, 0.0110420035, 0.0076707425, 0.0069395723, 0.0147229414, -0.0114834439, -0.0431143492, 0.0393070355, -0.0516290516, 0.03459372, -0.0036937487, 0.0470442474, 0.0001998562, -0.0277695078, 0.0344578922, 0.0086534787, -0.00261692, -0.0240086112, 0.0633417219, 0.0079868371, 0.011377193, -0.0589259714, 0.0088201556, -0.0763192177, -0.0380867347, -0.041446086, 0.0789844915, 0.001189776, 0.0037496216, -0.0317976363, -0.0068436358, -0.0237485655, 0.0609958321, -0.0184788238, 0.0273257643, 0.002182049, 0.0147222029, 0.0264774673, 0.0332055017, 0.0160184987, -0.0066270838, -0.0695670694, -0.0163137168, -0.0516118892, -0.0057931966, 0.016842315, -0.007750479, -0.0229304936, 0.0374195725, 0.012835674, -0.0364829898, -0.0915720239, 0.0477332734, 0.0209128093, -0.017685147, -0.0277379975, -0.0583935603, 0.0653599873, -0.0020978337, -0.0477171317, 0.0070843906, 0.0605557449, -0.0472835004, -0.0227818228, -0.0027083156, 0.0134698143, 0.0331237614, -0.0133647034, -0.007802716, 0.062778838, 0.0671861246, -0.0374356918, -0.0476836264, 0.0099468343, 0.0167022143, -0.0039767935, 0.025846757, -0.0149120912, 0.0213492736, -0.0229664147, 0.0167613216, -0.05630612, 0.0055969418, 0.0553076752, 0.0407758392, 0.0734176859, -0.0272283033, -0.0412380137, -0.0400195271, -0.0209197588, -0.0041705277, -0.015787622, 0.0015758782, 0.0335795693, 0.0271237213, -0.0243977197, 0.0123945596, 0.0050993562, -0.0441298634, -0.0447126999, 0.0276903808, 0.0071477159, 0.0024960311, 0.0016263473, 0.0210067537, -0.0060165105, 0.0021627543, -0.0375784226, -0.0254028346, 0.0017354718, -0.0383233465, 0.0502437092, 0.0130209504, 0.0526602119, -0.0483571626, 0.0452638827, -0.0520782359, -0.0295006689, -0.0444619842, -0.001162851, 0.0268041287, 0.0122418348, 0.0142532373, -0.0191129372, -0.0249788687, -0.0363000184, 0.0539194122, -0.045500841, 0.0090304408, 0.0145072034, 0.0322465934, -0.033253815, -0.0267947111, 0.0882077739, -0.0227375105, 0.021626804, 0.0070281024, -0.0808242783, -0.0095957303, -0.0089138541, 0.0398890041, 0.046872206, -0.0267720819, 0.0309311748, -0.0480473116, -0.065410845, 0.0341085158, 0.0317980088, -0.0150179388, 0.0292087104, 0.0893917978, 0.0326751359, 0.0425326265, -0.0238790121, -0.0216547977, 0.0399180055, -0.0440329574, -0.0412840284, 0.0276961308, -6.364713428e-33, 0.0079740891, -0.0541948304, 0.0242055785, -0.050968837, -0.0143309804, -0.0018934174, -0.0328630917, -0.0162740834, -0.0028292814, 0.0812277198, -0.0081804721, 0.0171777047, -0.0271660946, 0.0145762544, -0.0002532568, -0.0062192702, 0.0086928969, 0.0290650278, 0.0289381798, 0.0340000279, 0.0879293531, 0.0491865575, 0.0609489568, -0.0417951681, 0.0173701271, 0.0246974602, 0.0524705686, 0.0402377285, -0.0158843435, 0.0663622171, -0.0412137061, 0.0506492443, 0.0230586752, -0.0121137565, 0.0264840052, -0.0639084131, -0.063264221, -0.0116926515, 0.0277884584, -0.0547205359, -0.0588856675, -0.0438240692, 0.0402751938, 0.0096003357, -0.0083762724, -0.032119181, 0.0342639722, -0.0217508487, -0.0721160248, 0.0113239326, -0.0250079948, 0.0585505329, 0.0000241915, -0.004343986, -0.0097318664, -0.0286619253, -0.0039640223, 0.0260695089, -0.0118307993, 0.0204511452, 0.0272981487, 0.0173376948, 0.0270739961, 0.015429656, 0.0248628519, 0.0559353493, -0.0212429836, -0.0302824005, 0.0207339581, 0.025830185, -0.0502318367, 0.0716815814, 0.0296437331, 0.0214503389, 0.039987538, 0.0044400683, -0.0705290288, 0.0283540785, -0.0520808361, 0.0405574515, 0.0031631081, 0.0207518265, -0.031407278, -0.0415784009, -0.0152505161, -0.0130535085, -0.0397681184, -0.0413798019, -0.0064796261, -0.0506142788, -0.0169090685, 0.0099199573, -0.0332861617, -0.0465815924, 0.0134076215, -0.0210740753, 0.0389382355, -0.0174931269, -0.0131814042, 0.004174592, -0.0657591298, -0.0417053849, -0.0186413564, -0.0290442053, 0.0137087246, 0.0401512198, 0.0246313065, -0.047261551, -0.0122387009, 0.0200804081, 0.0022262423, -0.070897758, -0.0316709541, -0.0309207886, 0.0336366706, 0.0427482314, 0.0112669934, 0.0561749153, 0.0654695407, 0.0019225284, -0.0079497583, 0.0014410812, -0.0125388931, 0.0066200355, -0.0098112198, -0.008757134, -0.0164128467, 0.0119237723, 0.053225629, -0.0454497747, -0.0343026221, -0.0158084985, 2.836e-7, 0.0881292298, 0.0491982959, 0.0146137327, 0.0146942772, 0.0205172952, 0.0115462691, 0.0272654109, 0.0011087158, -0.0515253842, -0.0191508885, 0.025708016, 0.007882107, -0.0119621148, 0.0473647006, -0.0247418676, -0.0182567183, -0.0517812036, -0.0635130182, -0.0007126564, 0.0235014167, 0.0702420399, 0.0784749463, 0.0127978437, -0.0066324845, 0.0335949101, -0.0270470064, 0.0168442149, -0.0334448479, -0.0051165852, 0.0326059125, -0.0144457007, -0.0134082744, 0.0176951848, 0.0337892957, 0.0068186931, -0.0105167255, -0.0182932355, 0.0195534937, -0.049284853, 0.011991784, 0.0502575114, -0.0213109609, 0.0536129959, -0.0443843976, 0.0166251976, -0.0457997397, -0.0450109467, -0.0308276378, -0.0154314442, 0.0192554127, 0.0281789284, -0.0195947178, -0.002931708, 0.0183868743, -0.0060884929, 0.0221315399, -0.0025690822, -0.0813543871, 0.0146305766, 0.1102327555, -0.0168851316, -0.0353463143, 0.0493709259, 0.0056004087, 0.0491102114, -0.0468010791, 0.0261895135, 2.419692214e-34, 0.0491015427, 0.0215823743, -0.0074677989, 0.0300862603, 0.0399405211, -0.0318708941, -0.0072833207, -0.0237977561, 0.0363817886, -0.0576754436, -0.0078957863 ]
http://arxiv.org/abs/2312.08027v1
http://arxiv.org/pdf/2312.08027v1
Helping Language Models Learn More: Multi-dimensional Task Prompt for Few-shot Tuning
2023-12-13T10:00:44
2023-12-13T10:00:44
Jinta Weng, Jiarui Zhang, Yue Hu, Daidong Fa, Xiaofeng Xuand, Heyan Huang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) can be used as accessible and intelligent chatbots by constructing natural language queries and directly inputting the prompt into the large language model. However, different prompt' constructions often lead to uncertainty in the answers and thus make it hard to utilize the specific knowledge of LLMs (like ChatGPT). To alleviate this, we use an interpretable structure to explain the prompt learning principle in LLMs, which certificates that the effectiveness of language models is determined by position changes of the task's related tokens. Therefore, we propose MTPrompt, a multi-dimensional task prompt learning method consisting based on task-related object, summary, and task description information. By automatically building and searching for appropriate prompts, our proposed MTPrompt achieves the best results on few-shot samples setting and five different datasets. In addition, we demonstrate the effectiveness and stability of our method in different experimental settings and ablation experiments. In interaction with large language models, embedding more task-related information into prompts will make it easier to stimulate knowledge embedded in large language models.
[ 0.0380265154, 0.010322216, -0.0250425134, 0.0198761951, -0.0538009964, 0.0108856577, 0.0310653765, -0.0113929175, 0.011930244, -0.0289317649, -0.0389666334, -0.006052508, -0.017701285, 0.0454643257, 0.006669011, -0.0620010458, 0.0488375984, -0.047635816, 0.0217634533, -0.006586507, 0.0097648082, 0.0044565909, -0.0380009785, 0.0785284489, -0.0123800961, -0.0380731821, -0.0404883325, 0.0134185273, -0.0246124882, -0.0277913325, -0.0056591448, 0.0546262562, 0.0364804901, 0.0310056601, 0.000002023, -0.0480022542, -0.0236829985, -0.0201545507, -0.0541612133, -0.0486262068, 0.0482821278, 0.0053077033, 0.0030060718, 0.0183877703, -0.0170656964, -0.0086120181, 0.0553372055, 0.0322124884, 0.0520222969, 0.0576853007, 0.0134846531, 0.0083139064, -0.0040260935, 0.0020538724, 0.0485289246, -0.0684794188, 0.0021266937, -0.0013262754, 0.0581832901, 0.0571660772, -0.0215394814, 0.0471643098, 0.0241146814, -0.0238410626, 0.0028372803, 0.0306601636, -0.0260533597, -0.0358737521, -0.0300704185, 0.0628945902, 0.0034879334, -0.0170906596, -0.011331181, -0.0093327891, 0.0415217467, 0.0036242583, -0.0949927047, -0.0177949574, 0.0066028228, -0.0108641963, -0.0225631129, 0.0043395222, -0.0072150254, 0.0083865086, 0.0286603663, 0.0405955985, 0.0139466748, -0.0183373503, -0.0248576812, -0.0145675717, -0.0184179153, -0.0639973432, 0.0059698024, 0.049774617, -0.0684160143, 0.0507413894, -0.0398813002, -0.0351147801, 0.0334350243, -0.0247791614, 0.0334661864, 0.0560954213, -0.0312344451, 0.0765392929, -0.0143306311, 0.0846415311, 0.0227438323, -0.0024190729, -0.0419237725, -0.0380806439, -0.0892683491, -0.0254959818, -0.0487538762, 0.0385146327, 0.0090317894, -0.0127971992, -0.0251748953, 0.0655064583, 0.0093623428, 0.0136112468, 0.0001501671, -0.0124750705, -0.0557206869, -0.0244466141, -0.0355279297, 0.0288298596, -0.0476092435, -0.0024199227, 0.0157303046, -0.0551351048, -0.0411256328, 0.005330076, 0.0260742437, -0.0275863279, -0.0146310572, 0.0583914816, -0.0100186747, -0.0632056519, 0.0378003828, -0.0027448256, -0.0386443548, -0.0345839411, 0.0042051277, -0.0442468897, 0.05023963, -0.0016179297, -0.0182473194, -0.0145712234, -0.0069151642, 0.0368480831, -0.0293750577, 0.0919499025, -0.0175627228, 0.0088244481, 0.0241382048, 0.001717602, -0.040888425, 0.0893199965, 0.0062591308, 0.0447899513, 0.0292125195, -0.0044238507, 0.0192403588, 0.023837328, 0.0014945747, -0.0082918666, 0.0053433739, 0.0147921285, 0.0135232192, 0.043623168, 0.0022073889, 0.0290970206, -0.0311075933, 0.0223199259, 0.0483219102, 0.0517429113, -0.02073952, -0.0185269043, 0.0422058217, 0.0403037481, -0.0044471058, 0.0163018256, -0.0559915863, 0.0451310016, -0.0338018723, -0.0014062832, 0.0130673116, 0.0147972321, -0.0383403488, -0.0480736196, 0.0010163096, -0.0122661628, 0.0112578394, 0.0342974812, 0.0767768845, 0.0209896341, -0.0382536687, 0.0465349555, 0.0411469676, -0.0138654476, -0.0118964668, -0.0639883205, 0.0343776047, 0.0607126988, 0.0414570123, -0.0543337837, -0.0607286766, -0.0023267306, 0.0481631123, 0.060498096, 0.0416967645, -0.0138417836, -0.0030289495, -0.0149691058, -0.0310945399, -0.0146709038, 0.0091946507, 0.0122913709, -0.0026178572, -0.0255179778, -0.0170655753, -0.0250115525, 0.0184367802, 0.0309657287, -0.0257489476, -0.0256263372, -0.0187403355, -0.003068248, 0.0052006119, 0.0032328418, 0.0347887687, 0.003803326, 0.0316572711, -0.0280976538, -0.0074360995, 0.0238502044, -0.0570431724, -0.0416132323, 0.0246566534, 0.0316881612, -0.0212873258, 0.0004722609, -0.0414360985, -0.0385746174, 0.015723953, -0.0213261154, 0.0343758687, -0.0233108588, 0.0162440836, -0.0291281715, -0.0174082201, -0.0354171246, 0.0490439758, 0.025327133, 0.0065595903, 0.0289608967, 0.0237994045, -0.005062528, -0.0521090999, -0.0057656635, 0.0149791678, -0.0218774211, -0.0005138713, 0.0372641981, 0.0297331717, -0.0528012402, -0.0238661282, -0.096750237, -0.0040055397, -0.003726203, -0.0266925804, -0.0003843528, -0.0083459737, -0.0191718359, -0.0344872661, -0.0309002157, 0.0148695698, 0.0095427893, 0.0234629679, 0.0344190523, 0.0037105547, -0.0326218344, -0.0391817912, 0.007506995, -0.0077766441, 0.0282840021, 0.0101826312, -0.0250752084, -0.0616434999, 0.0308929626, -0.0131919272, 0.0121531449, -0.0080473274, -0.0314291343, 0.0359813087, -0.0188650005, 0.0438127108, 0.0939987898, -0.0053586657, 0.032972537, 0.0619434267, -0.0157303754, -0.0809321254, 0.0329409018, -0.0234247725, -0.0254569948, -0.0066978014, -0.0188094452, 0.0113592707, 0.0570195355, 0.0007021174, 0.0137306415, -0.1012229398, 0.0675441623, -0.0110891853, -0.0173543897, -0.0589878298, 0.0013247179, -0.0418466888, 0.0033671851, -0.0109379226, -0.0438855514, 0.0871541724, -0.0285812952, -0.0111687202, -0.0447829179, 0.0019512395, -0.0197745804, 0.0784068555, 0.0032207083, 0.0130157685, 0.0420664251, -0.0243359264, -0.0621185079, 0.0123226643, 0.0023535814, -0.0211401377, -0.0164728127, -0.0505391993, -0.0109114368, -0.0002999719, -0.0499412566, -0.0599771589, -0.0393933319, -0.0381055921, 0.0381897166, 0.0080047846, 0.0036124585, -0.0307447109, 0.0091072209, 0.0454362407, 0.0271249898, -0.0313961729, -0.0127624357, -0.0618929453, -0.0027866939, 0.070255138, 0.0190842506, -0.0306903757, -0.0127985897, 0.0653046817, 0.0254261382, 0.0233413875, -0.0231092758, -0.0070133083, -0.0115706772, 0.0345867909, -0.032670103, -0.0219683331, 0.0221476257, 0.068266362, -0.0542453416, -0.0242679715, 0.136044383, 0.0323704071, -0.050742384, -0.0056392648, -0.021651037, 0.0150899161, 0.026004076, 0.0476254113, -0.0799932256, -0.0452708155, 0.0320476517, 0.0001830703, -0.0002361385, -0.020199623, -0.0348280706, -0.1219412684, 0.008410058, -0.0313023105, -0.0530110188, -0.0253563803, -0.0355594046, 0.0238158368, -0.0041439519, 0.0398618281, 0.0172524787, -0.0017467912, -0.0077727819, 0.0177727677, 0.0083477106, -0.0507736579, 0.0336672887, -0.0434848592, 0.0978767276, 0.0666345507, 0.0435353592, -0.0027597246, 0.0152481617, -0.0083946101, 0.0482763126, 0.0047659809, -0.0039452892, 0.020041896, 0.0012610445, -0.0020712521, -0.0155417453, 0.0236190446, -0.0021669574, -0.0262993928, 0.014788691, 0.0721196383, -0.0267879218, 0.0145167997, -0.0030949777, 0.0071801697, 0.0059635667, 0.1060169712, 0.0311902929, -0.0527204238, -0.0022164434, -0.0431831889, -0.0347739272, -0.0116509357, -0.0259512886, -0.0001556185, -0.0327387787, 0.0277777649, -0.0716436207, -0.0199177209, 0.0670363382, 0.0316995569, 0.0106418999, 0.0255430695, -0.0104813334, 0.0361796506, 0.0148957856, 0.0251573306, -0.0526603796, -0.0125490734, -0.0622706823, -0.0214677621, 0.0402469113, -0.0639171377, -0.0076907445, 0.0166329816, -0.0698360279, -0.0480218232, -0.016295325, 0.0574297383, 0.0247797649, 0.0328758992, -0.0365315825, -0.0570904389, 0.0148594147, 0.0088491356, -0.0285211653, -0.0144784758, 0.0163800269, 0.0408138484, -0.0117996195, 0.0439917445, -0.0685626641, 0.0149864061, 0.0049581104, 0.0353272781, -0.0163932219, -0.0325902365, 0.0489570722, 0.0274473354, 0.0476919711, -0.0000455693, -0.041139733, -0.0293953549, 0.0021424617, -0.0406263806, -0.0198711492, -0.0422697961, 0.0329938307, -0.0192912053, -0.0354676023, 0.027698392, -0.0176177286, -0.0203444604, 0.0530426614, -0.0307293665, -0.0264750086, -0.0035214161, -0.0219359528, 0.0249133203, 0.015764283, -0.0191005468, 0.0219438281, -0.0167896356, 0.0073902993, -0.0248488784, 0.0728438944, 0.0223285388, -0.0322572701, -0.0172162354, 0.0549412444, -0.0655420199, -0.066346854, 0.0134057654, 0.0553912781, 0.0600957237, 0.0213071909, 0.0103086894, -0.0311983954, -0.0089967968, -0.0104756104, 0.0406345464, 0.0418420397, -0.0370220989, 0.0419753827, 0.0414999761, -0.0138546908, -0.0195344277, 0.0749045163, -0.0010696035, 0.0278681181, 0.006203691, 0.0153866438, -0.0430473387, 0.0106878961, 0.0378850289, 0.0356357731, -0.0345117152, 0.0215782095, -0.0379743464, -0.0326347947, -0.0032504518, -0.0086375009, -0.0410012417, -0.0164885353, 0.0495910384, 0.0625184402, -0.0125412233, -0.0335326791, -0.0426741056, -0.0019319751, -0.0110028116, -0.0239283368, -0.0061916281, -6.12823776e-33, -0.0551124103, -0.0133738229, 0.0268765558, -0.0055049807, 0.0023920774, -0.0037540812, -0.0396449491, 0.0052193231, -0.0125664053, -0.0163052455, -0.028508231, 0.0031316876, 0.0138338553, -0.0035582401, 0.014406235, -0.0294778086, 0.0627498254, -0.0122282067, -0.0163877215, 0.0273208059, 0.039648328, 0.0316118374, 0.0476756021, -0.0023401943, 0.0498362146, 0.0175105799, -0.007592835, 0.0439441539, 0.0077966582, 0.0617488474, -0.0214698091, 0.0454749204, 0.0131270448, -0.0527554788, -0.0386234783, 0.0490669198, -0.0514145344, -0.0312516056, 0.0295047481, 0.0165011566, -0.0328741297, -0.0510466136, -0.0000452528, -0.0495643541, -0.0075599435, 0.0169094652, 0.0396338105, -0.0374687463, -0.0254105274, 0.0212162454, -0.0535607599, -0.0033696131, -0.011757019, -0.0787888691, 0.0172419231, 0.0785170794, 0.0197419152, 0.0224454608, -0.0132601485, 0.0365904458, -0.0150959007, 0.022643853, 0.0517357402, 0.0248309504, 0.0325240381, 0.0807168484, 0.0230569933, 0.0246775653, 0.0087509071, -0.0060620965, 0.0482471995, 0.0205709022, 0.0554008633, 0.0498886034, 0.0048541022, 0.0135651529, -0.0239363089, 0.0111642946, 0.059600614, 0.0475151017, 0.0351531878, 0.0260948855, -0.0341525376, -0.0161774009, -0.0435048528, 0.0031446475, -0.0291614924, -0.0388335958, 0.0212321486, 0.0088084694, -0.0095522776, -0.0646430627, 0.0492254943, -0.0160822775, 0.0138663966, 0.0258577764, 0.0003446599, 0.0116027743, -0.0008446171, 0.0317229703, -0.0431990549, -0.020637827, 0.030113088, -0.0385662317, 0.0179280583, 0.0340519324, 0.0024400216, 0.0285295416, -0.040666651, -0.0008829654, -0.0365418382, -0.0018995743, -0.0077293059, -0.0017574211, 0.0267461333, 0.0237284731, -0.0254758429, 0.068186067, 0.0425785705, -0.0401123427, -0.0366884135, -0.0079276273, -0.0367001444, -0.007928919, -0.0354632139, -0.0019299362, -0.0396811552, 0.0070907427, 0.0058458778, -0.0482831262, -0.0181078818, -0.0048652473, 2.766e-7, 0.0171890724, 0.0672321245, -0.0179254338, 0.0597140677, 0.0133705391, 0.0385754593, -0.0367638059, 0.0143972347, 0.0155090354, -0.0080096535, -0.0036421323, 0.0322806351, 0.0511855967, 0.0141183175, -0.1458024532, -0.0142250499, -0.0626520663, -0.0031031442, -0.0465631299, 0.0071387785, 0.0605058745, 0.093189925, 0.0171938092, 0.0177385267, -0.0178826936, -0.0458173491, 0.0439236388, -0.0347203203, -0.0382173173, 0.0235645957, 0.019951703, -0.0097515536, 0.0122562852, 0.0178124886, 0.0094087888, 0.0040161177, 0.0086108837, 0.0591958277, 0.0230033714, -0.0360659994, -0.0040959534, 0.0046743201, -0.0103915911, -0.0447549149, 0.0885951221, -0.0783323124, -0.0183395892, -0.0368347801, 0.0324435979, -0.0123114828, 0.0069130803, -0.0316014364, -0.0534095466, 0.0084363911, 0.0102920551, -0.0019769631, 0.0010508366, -0.0491952933, -0.0149136828, -0.0015248241, -0.0573186725, -0.0674838647, -0.0324606337, -0.0489659607, -0.0087108845, -0.0672896504, 0.0061378982, 2.47924937e-34, 0.0288881771, 0.0108672148, 0.0172163676, 0.039528545, 0.0369290337, -0.0066794897, -0.0077602547, 0.0265701469, 0.0726014599, -0.080236651, -0.0279969722 ]
http://arxiv.org/abs/2312.07987v2
http://arxiv.org/pdf/2312.07987v2
SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention
2023-12-13T09:00:21
2023-12-14T06:35:33
Róbert Csordás, Piotr Piękos, Kazuki Irie, Jürgen Schmidhuber
cs.LG
cs.LG, cs.CL, cs.NE
The costly self-attention layers in modern Transformers require memory and compute quadratic in sequence length. Existing approximation methods usually underperform and fail to obtain significant speedups in practice. Here we present SwitchHead - a novel method that reduces both compute and memory requirements and achieves wall-clock speedup, while matching the language modeling performance of baseline Transformers with the same parameter budget. SwitchHead uses Mixture-of-Experts (MoE) layers for the value and output projections and requires 4 to 8 times fewer attention matrices than standard Transformers. Our novel attention can also be combined with MoE MLP layers, resulting in an efficient fully-MoE "SwitchAll" Transformer model. Our code is public.
[ -0.0077125863, 0.0261525773, 0.0184124559, 0.0412467085, -0.0102265757, 0.010125624, 0.0585261248, -0.0184165258, -0.0282686371, -0.0056521227, -0.0246403068, -0.0100694718, -0.0216972213, -0.0107291518, 0.0179043114, -0.0071991612, 0.0105942404, 0.0128394607, -0.0323372446, -0.0387983099, -0.0122584188, -0.0170471277, -0.0093696145, 0.0407264009, -0.0150534045, -0.0229871981, -0.0113841686, -0.0114517221, 0.0320312232, 0.0147250798, 0.0116872014, 0.0536730178, -0.0130229313, 0.0086805057, 0.0000021056, 0.0190662239, 0.0079927091, 0.005511777, -0.0149082998, 0.0097121773, 0.0050027827, -0.0143945124, -0.033665631, -0.0159480926, 0.0131185371, -0.0055380473, 0.0909599811, 0.0587039031, 0.0426211134, 0.0563330203, -0.0059009725, -0.016745856, 0.0017685121, -0.0289229676, -0.0168749504, -0.0455426052, -0.0192732532, -0.0481872186, -0.0347795039, -0.0198291522, -0.0300278571, 0.033282917, -0.0067403079, 0.0149004161, 0.0129851419, 0.006620456, -0.023278553, 0.0162128024, -0.050936643, 0.0365490615, -0.0875247493, -0.0194449648, -0.0168041643, -0.0150539875, -0.0603762716, -0.0291734915, -0.0323889665, 0.0259422623, -0.0226144791, -0.0109370034, -0.0241528489, 0.0227317903, 0.033116255, -0.0308266617, -0.0464605428, 0.0849296451, 0.0245604943, -0.0052667581, -0.0088837454, 0.0125144413, 0.0273046773, -0.0072407238, 0.0079193255, 0.0502592698, -0.0241622906, -0.0072732419, -0.0429130085, -0.0347954482, -0.0307932924, -0.0384400599, 0.0508562587, 0.0584304072, -0.0367329568, 0.0362415165, -0.0225221813, 0.0443675444, -0.0597628877, 0.0170821138, -0.0509929433, 0.0045855446, 0.0452578105, 0.0183306038, -0.0367794596, -0.0043784184, -0.0198230669, -0.0075232983, -0.0392396227, -0.0090798605, 0.0167582631, -0.0310760047, 0.0475514457, 0.0030916063, -0.0758932605, -0.0398122258, 0.0003669131, 0.0644455254, -0.0048344526, -0.03774786, -0.0021043906, -0.0576765314, -0.0536911003, 0.0068859449, -0.0108254813, 0.0114380401, 0.0256818701, 0.1137030795, -0.0316415988, -0.058436133, 0.0206577741, 0.060841348, -0.0074390047, -0.0236719288, 0.0017448744, -0.042174194, 0.0123145599, -0.0117990859, -0.0080816504, 0.0132370135, 0.0039261123, 0.0469048992, -0.0154993711, 0.0078233704, 0.0430784337, -0.0207579378, -0.0109293954, -0.0219531823, -0.0343927778, 0.0278830547, 0.0115033025, 0.0054762657, -0.0402773246, -0.0383653641, 0.0444388278, 0.0399951637, 0.0107443538, -0.0069509889, -0.0264033079, -0.0154266683, -0.0147558851, -0.0256761629, 0.0312345028, 0.0401591845, -0.0106307417, -0.0607661009, 0.0275575407, -0.0125105735, 0.0303298924, 0.0742597207, -0.0058097881, 0.0155283818, -0.0160127617, -0.041612342, -0.056455221, 0.1174131855, 0.0135912439, -0.0002692052, 0.0167488027, 0.067721732, -0.0331356749, 0.0134224743, -0.0164718479, 0.0160801467, -0.0412686579, 0.0354688913, 0.0098143118, 0.0308719464, -0.0813933313, 0.1362894326, 0.0085476609, -0.0745720044, -0.0782840475, -0.062065877, -0.032366842, 0.0168694183, 0.0361550823, -0.0048933672, -0.0347997211, -0.024064837, -0.0289426465, 0.0595799126, 0.0184088051, 0.0511156246, 0.0294522867, -0.0273294281, -0.0095659206, 0.006626213, 0.0159230381, 0.0154850101, 0.036721766, -0.0428817496, 0.0131040262, -0.0146104526, 0.0078566736, 0.0161491241, -0.0026524223, -0.0053861877, 0.0378256515, 0.0156955011, 0.0092768008, -0.001959464, -0.0145520596, -0.0054831211, 0.0277891289, -0.0342380181, -0.000237648, 0.0021158173, -0.0709647909, 0.0284649469, 0.0351573452, -0.0585108995, 0.0107764574, 0.0257291365, -0.0040315725, -0.0480480418, 0.0148633998, -0.0847292468, 0.013859624, -0.0115661379, 0.0143257342, 0.0192425195, 0.0628479943, -0.024689192, 0.0501793288, -0.0372715332, -0.0058209044, 0.0430782288, 0.0185244121, -0.0018967146, 0.0070287683, -0.037161056, -0.009220738, -0.0214154981, 0.0380760357, 0.0204161331, -0.0358791091, 0.0131837325, -0.0457693376, -0.0382557549, -0.0038745543, -0.0444005169, 0.0286817141, 0.0216083322, 0.0296290629, 0.030173609, 0.0073178452, 0.0023917151, 0.0091460077, -0.048874449, -0.003836941, -0.0319079496, -0.0540735386, -0.0413787887, -0.0245775748, -0.0515554547, 0.0278651435, 0.0362187028, -0.0504171327, -0.0031679387, -0.0228658356, -0.0508482866, 0.0334767774, 0.0381484218, -0.0359221548, -0.0314169303, -0.0233763792, -0.0291225296, 0.0678373054, 0.0430753082, 0.0199935678, -0.0011973149, 0.0252111889, -0.0234178491, -0.0192502644, 0.0555909015, -0.0108731221, -0.0114311986, -0.023318449, 0.017825285, -0.0418594703, 0.1116248444, -0.0289787576, -0.0080717504, -0.0553080179, -0.0342997685, 0.0401294641, -0.0060233055, 0.0506920293, 0.0123091284, -0.0234482232, 0.0164266676, -0.0013018188, -0.0278856084, 0.0441829003, -0.0146901244, -0.0048923199, -0.0079612629, -0.0179247409, -0.0270263124, -0.0064574601, -0.0065831472, 0.0575731844, -0.0598450564, -0.0102357473, -0.0066412855, 0.0638278946, -0.001776818, -0.0373993069, 0.084057726, 0.0438591689, 0.0140737118, -0.0192381311, -0.0196294598, -0.0320776217, 0.0202053282, -0.0669148415, -0.0081713554, 0.0662316233, -0.0562343188, -0.1013910323, 0.0851357877, 0.0523201413, 0.0719941556, 0.0080079874, -0.0143585512, -0.0175824761, 0.0072608432, -0.0064617442, 0.0534555204, 0.0409542583, -0.0030811664, 0.0413785242, 0.0399992391, 0.0422121137, 0.0201473664, -0.0741577595, -0.0143324835, 0.0453442745, -0.0236499254, -0.0034302236, 0.0357331, 0.0198577307, -0.0259906035, -0.0087119397, 0.0502271578, -0.0171435121, -0.0627461225, 0.0023447203, -0.0000396903, 0.0359168798, 0.0308572873, 0.068950817, -0.0579931363, -0.0311969221, 0.0157872755, 0.0284031518, 0.0044803517, -0.0215641279, -0.0136110252, -0.0434316248, 0.0013651059, -0.0061307568, -0.041022718, -0.0529614389, -0.0076673953, -0.0202880353, -0.0317263491, 0.021100359, 0.0271487553, -0.0071204859, -0.057702668, 0.0052901055, 0.0093380306, -0.0300774444, 0.0386485904, 0.0160044488, 0.0247251485, 0.0631576404, -0.0359645113, 0.0007146836, -0.0407235362, -0.0141444886, 0.0202427767, 0.0115626603, 0.0045060227, 0.0108516971, -0.004283342, -0.0368186459, -0.0155328801, -0.0019044017, -0.0140921902, 0.0344734304, -0.0494596623, 0.0609883144, 0.0121240821, -0.0309511386, -0.0082082665, -0.0024159944, -0.0437295064, 0.0154962791, 0.013217425, -0.0323688239, -0.0301241707, -0.0549879223, -0.0075874943, -0.0155057581, -0.0419743732, 0.0348169953, 0.0480078831, -0.0937161371, 0.0252763107, 0.0303834192, -0.0235005319, 0.0234771352, 0.0419971943, -0.1129821464, 0.0603140146, 0.024636317, -0.0703601092, -0.0032678084, -0.0473612398, 0.0098082041, -0.0789151266, 0.039091289, 0.0421297178, -0.0426986851, -0.0010881358, 0.0386363342, -0.1090679318, -0.0585551001, 0.0309756901, 0.0683911666, 0.0117992004, 0.0078416094, 0.0224368628, -0.0623647533, 0.0173558556, 0.0569936708, -0.0603478923, 0.0350901894, 0.0231849477, -0.0490594469, -0.005628203, 0.0055417204, 0.0044465871, 0.0610481054, 0.0255782697, 0.0552184097, -0.0262755752, -0.0661306903, 0.0388707295, -0.013515193, 0.0343099348, -0.0191371143, 0.06456884, 0.0148488823, 0.0587871596, 0.0211359281, 0.0053847185, -0.0265751965, -0.0319568813, 0.0020698495, -0.039826259, 0.0271150675, 0.023357546, 0.0488144048, -0.0430805311, 0.0174629521, 0.0084305955, -0.0489389487, -0.0078542121, 0.0125555182, -0.0378155261, -0.0024347645, 0.0029270137, 0.0436553955, 0.035390798, -0.0111418637, 0.0362739637, 0.0196482148, 0.0035123071, -0.034988489, -0.0226416253, -0.0173268281, -0.0712387115, -0.04025805, -0.0098007303, 0.0465480238, -0.0126313847, 0.0313873515, -0.0118781738, 0.0075442097, -0.001261905, 0.0227131192, -0.0007900827, 0.0039720978, 0.0257910304, 0.0076216953, 0.036828205, -0.0144696124, 0.0054843761, -0.0362748839, -0.0123997722, -0.0186155234, 0.0356273763, -0.0518407859, -0.0400078893, -0.0459984913, 0.0208699033, 0.0168710724, -0.0233144499, -0.0369906537, -0.0228674132, 0.0339469649, -0.0410822183, 0.0264500882, -0.060432557, 0.0223984644, 0.0215702448, -0.004865319, -0.0238689929, -0.003227734, 0.0029154785, 0.035267286, 0.0108691826, 0.0222226698, -6.186083102e-33, -0.0218429137, -0.0153004657, 0.0559874289, -0.00078336, 0.0228995457, 0.0152224023, -0.0305058528, 0.0066571706, -0.0153469704, -0.0167294964, -0.0425682068, -0.006202938, 0.0114244502, 0.040861398, 0.0079357633, -0.0118578626, 0.0655043051, 0.0087963594, -0.0251238309, 0.0356407538, -0.0204478372, 0.0329245515, 0.0866006613, -0.0123161767, -0.0728361532, 0.0002112984, 0.0045142178, -0.0387372971, 0.0008829388, 0.011762335, -0.0406517237, 0.0109255658, -0.0151912961, -0.0831430629, 0.0076922532, -0.0264278799, -0.0433314033, 0.0276631024, -0.0503305346, 0.0073806182, 0.0117744654, -0.0084451735, 0.024366254, 0.0669771805, -0.0178311691, -0.0825893506, 0.023330627, 0.0181794334, -0.0418265276, 0.0061461958, -0.0159285273, 0.0443365723, 0.000658998, 0.0074502397, 0.0546072274, 0.0161768477, -0.0420415513, 0.0512449406, -0.0684609264, 0.0154601634, 0.0457695834, 0.0647127181, 0.0852082148, 0.0229691826, -0.0150225703, 0.008698618, 0.059779685, 0.0009999883, -0.0215003639, 0.0084139174, 0.0540662035, 0.0414130613, 0.026191486, -0.0257597975, 0.0236638617, 0.0024173297, -0.0183447637, -0.012186937, 0.0062826402, 0.052713871, 0.0587710924, 0.0111996299, -0.0179312602, 0.0182821974, -0.0080384836, 0.0275351834, -0.0236208476, -0.0062078079, -0.0102348393, 0.0327764526, -0.0480203405, 0.0030931483, 0.0327584632, -0.0172964446, 0.0570502803, 0.0124854539, 0.004822352, 0.0382361412, -0.0068517099, 0.0258658417, -0.0380086377, -0.0169143826, -0.0245906636, -0.0216334555, -0.0127537018, -0.0056518018, -0.000074203, 0.0627821833, -0.079919517, -0.0403806828, -0.0479655154, 0.013448542, -0.0096236113, 0.0598071776, 0.0245631225, 0.0045667011, 0.0107782241, 0.03573066, -0.0723414868, -0.0318493359, 0.0136482567, 0.0420999303, 0.0506203361, 0.0239923969, -0.0267610122, 0.0228785705, -0.0774857104, 0.017497886, 0.0120185986, -0.073559761, -0.0437124819, 0.0668483302, 2.762e-7, 0.0063651074, 0.0587449893, 0.0133869629, 0.0321314558, -0.0148519827, 0.0094469059, 0.0383116491, 0.0481356271, 0.0334000774, -0.0038744763, 0.0016516647, 0.0419820435, 0.0185556449, -0.026824031, -0.0739773288, -0.0352264121, -0.0541772991, 0.0694227666, 0.0062838676, -0.0460806973, -0.025831379, 0.0723309889, -0.007683943, -0.0085400706, 0.0223795604, 0.0477640517, 0.0265583321, 0.0161906071, 0.03563831, 0.0392291844, 0.0465651304, 0.0228283983, -0.0496592298, 0.0359303877, 0.0173476301, 0.0483290628, -0.005612677, 0.0795535371, 0.0246371124, -0.0606723912, 0.0396798514, 0.0268140417, -0.0383273847, 0.001087104, -0.0154723013, -0.0203924794, -0.0082031749, -0.043335963, -0.0592182949, 0.0077496585, -0.0320648886, -0.0109703373, 0.0427370891, 0.0113577368, 0.0233966243, -0.039529182, 0.0035300071, -0.040488217, -0.0286471937, 0.0013329458, -0.0527209453, -0.0063991779, -0.0388748087, -0.0458575226, 0.0314837545, 0.0430158414, -0.0402573049, 2.395719017e-34, 0.0265758708, -0.01299363, -0.0028597582, 0.0777209923, -0.0051599774, -0.0401675217, 0.021180829, 0.0099408831, -0.0147585338, -0.0715768933, -0.044319462 ]
http://arxiv.org/abs/2312.11524v1
http://arxiv.org/pdf/2312.11524v1
Assessing GPT4-V on Structured Reasoning Tasks
2023-12-13T08:54:49
2023-12-13T08:54:49
Mukul Singh, José Cambronero, Sumit Gulwani, Vu Le, Gust Verbruggen
cs.CL
cs.CL, cs.AI, cs.CV
Multi-modality promises to unlock further uses for large language models. Recently, the state-of-the-art language model GPT-4 was enhanced with vision capabilities. We carry out a prompting evaluation of GPT-4V and five other baselines on structured reasoning tasks, such as mathematical reasoning, visual data analysis, and code generation. We show that visual Chain-of-Thought, an extension of Chain-of-Thought to multi-modal LLMs, yields significant improvements over the vanilla model. We also present a categorized analysis of scenarios where these models perform well and where they struggle, highlighting challenges associated with coherent multimodal reasoning.
[ -0.0101148337, 0.0663834587, -0.0154027492, 0.0483145639, -0.0641058385, 0.0178638753, 0.0074734543, 0.0075599616, -0.0006672054, -0.054690212, -0.0230532754, -0.0320867747, 0.0036755316, 0.0443831757, 0.0529005565, -0.0604637749, 0.0348349027, -0.0762901008, -0.0199787878, 0.0032860541, 0.0065289466, 0.0154854367, -0.0515064076, 0.0314678513, -0.0308962539, -0.0535467677, -0.0422911718, 0.0031109217, 0.0188621469, -0.0424807593, -0.043986287, 0.0359861478, 0.0571893789, 0.0140883075, 0.0000021488, -0.0349619873, -0.000303495, -0.0008946186, 0.0158214346, -0.0156116309, -0.025598051, -0.0349785425, 0.0266434569, 0.0089216838, -0.0365078114, -0.0058004973, 0.0403224193, 0.0225644894, 0.0703331009, 0.0280736443, -0.0121297054, -0.0256655701, 0.0369256064, -0.0007053555, 0.0453138612, -0.0201366507, -0.0164265148, 0.0293252151, 0.0486114137, 0.0295539889, -0.0140318917, 0.0431075022, 0.0454577692, -0.0072508845, -0.0358637571, 0.0439746492, -0.0130547853, -0.0120384647, -0.0189118851, 0.0515007824, 0.0204636212, 0.0052146968, -0.0025203896, -0.0180348027, -0.0074882624, 0.002208682, -0.049167335, 0.066753082, -0.0284988899, 0.0121956067, -0.0175637994, -0.0282534845, 0.0120922048, 0.0029453279, -0.0092011932, 0.0632392392, 0.0113677327, -0.0039944816, 0.0095556853, 0.0152108641, -0.0419675969, -0.0494470745, -0.0142588662, 0.0515847951, 0.0000111792, 0.0151918242, -0.0284149516, -0.0061409352, -0.0210793726, 0.006760851, 0.0451974012, 0.0683371276, -0.045387689, 0.0330314897, -0.0411783047, 0.0424244553, -0.0553914569, 0.0340536609, 0.0044451705, 0.0041132523, -0.0753813237, -0.0232188851, -0.0207826588, 0.0378265493, -0.0295179021, -0.0214018207, -0.0072305244, 0.0650202259, 0.006655307, 0.0013845364, 0.011772681, -0.0203179494, 0.0145178195, -0.0266728401, -0.0467782952, 0.0250150356, -0.0038043011, 0.0111816404, 0.0157331172, -0.0460026674, -0.0141041903, 0.0305594169, -0.01798632, -0.0354512222, -0.0072285486, 0.0881687254, -0.014967748, 0.0074004242, -0.0440165028, -0.053975679, -0.0241100006, -0.0789399296, 0.0461674482, -0.0803693756, -0.0118184825, 0.0203389544, -0.019480424, -0.0058347522, 0.0133991512, 0.0278701633, 0.0013717315, 0.0682712048, -0.0136616277, 0.0054629953, -0.0137666492, 0.0180313624, -0.0280448198, 0.0556829497, 0.0432194732, 0.0035756079, -0.0171503704, 0.0011947361, 0.0164462999, 0.0462803543, -0.015054252, -0.0007578033, -0.037258666, 0.004697239, -0.0164687242, 0.0408001281, 0.0059168953, 0.0387696251, -0.0270909853, 0.0087153921, 0.0592492633, 0.0328340158, 0.0321291722, -0.0141071975, 0.0475320555, -0.0319303684, 0.0033308472, 0.0087267747, -0.073942706, 0.0831938088, -0.0330198444, 0.0334387161, -0.0045636562, 0.0117154913, -0.0055198506, -0.0425806381, -0.0356853269, 0.0379558988, -0.0130691584, 0.0086412663, 0.0368281826, -0.0148467422, -0.0247020964, 0.0377890579, -0.0115232635, -0.0556798056, -0.0237538591, -0.054052826, 0.0218048058, 0.0474588834, 0.0400030054, -0.0101811429, -0.0389760099, -0.0114838285, 0.0277300701, 0.0284711998, 0.0051529566, 0.0246518292, 0.006395827, -0.0456554331, -0.030882664, -0.0415911712, -0.0087924721, 0.0055923862, -0.0309324954, -0.0146668535, -0.002337072, -0.0477294847, 0.0608961284, 0.0101152118, 0.0382988676, 0.0469710864, -0.0413330235, 0.0204315577, -0.0010136908, -0.0149652921, 0.0072024409, 0.032455422, 0.0041672871, -0.0158037022, 0.0285253786, 0.0093580289, -0.0637132078, -0.0500395708, 0.0266691372, -0.0650643706, -0.0358772241, 0.0065505458, -0.0309260786, -0.0379012302, 0.042878788, -0.0376328155, -0.0119490763, -0.0488596708, -0.0051693902, 0.0367987156, -0.0071510845, -0.009350718, 0.0918460712, -0.0206903536, -0.0019855571, 0.0418921076, 0.0288643222, 0.0414844118, -0.0231118705, -0.0062826709, 0.0229865927, 0.0193554107, 0.0120949959, -0.0283159111, 0.0388013236, -0.0577386953, -0.0290256627, -0.0998712778, -0.0001564074, -0.0177480765, 0.0143749136, 0.0141776437, -0.0013758214, 0.0039039967, -0.0047255442, -0.0567923225, 0.0363398939, 0.0145627335, 0.0140822977, 0.0432656221, -0.0282483343, -0.0050523495, 0.0024137492, -0.0086409338, -0.0596743114, 0.0355479866, 0.0039464552, -0.0186205879, -0.0432038121, 0.035767816, -0.0482759103, 0.0291196108, -0.0134197669, 0.0074774097, 0.0627097934, -0.0339450352, 0.0889264718, 0.0377692208, -0.0362885594, -0.0054611252, 0.062226288, -0.0477696471, -0.0199579243, 0.0373095535, 0.0314112529, -0.0054484741, 0.0105763106, -0.0052519501, -0.0431781188, 0.0504772253, 0.0100628901, 0.010860729, -0.0764324516, 0.0213091448, 0.0220203791, -0.0052885222, -0.0448791124, -0.0018952583, -0.0163253173, 0.0682604909, -0.0175501443, -0.058528211, 0.0691154599, -0.0486636385, 0.000639095, 0.0178529732, 0.0216181818, -0.0263426751, 0.1071060821, 0.0135667799, -0.0135813393, 0.0125927096, -0.0084141688, -0.0746164992, 0.0067088464, 0.0145283826, -0.0081591206, 0.0951115787, -0.1069243997, 0.0190424714, -0.0352741443, -0.0210559405, -0.0204379428, 0.0321884081, -0.0400613211, 0.0119144162, -0.0232660025, -0.0116762063, 0.014232982, 0.0253281761, 0.0526890643, 0.0130908471, -0.0052628871, -0.0359048806, -0.0438143164, 0.0286880843, 0.0219162889, 0.0186912697, -0.0124040656, -0.0333583578, -0.0087545756, 0.0558651723, 0.047153376, 0.0007426473, -0.0524811372, 0.0500478111, 0.0148090962, 0.0511509255, -0.062086992, 0.031903822, 0.06250301, -0.0758250877, 0.0010667773, 0.0767462477, 0.0169600938, -0.0445270725, -0.0049394025, -0.0326883234, 0.0646032169, 0.0377827436, 0.0133409109, -0.0968611389, -0.0608277544, 0.021758616, -0.0333909914, 0.020030247, -0.0525154807, -0.0251219347, -0.0800457746, 0.062030632, -0.0193210877, 0.0061230948, -0.0164730512, 0.0122215999, 0.0085630044, 0.0513020232, -0.033950679, 0.0123749515, 0.0040448308, 0.0229077637, 0.0034284617, 0.0101234466, 0.0134900473, 0.0533433259, -0.012325705, -0.015677359, 0.0457384624, 0.0012820205, 0.0038343761, -0.1032561287, 0.0519024506, 0.013857659, 0.0407142341, -0.0198911931, 0.0086408872, -0.0055806008, -0.0250871368, -0.0182142165, 0.0206860565, -0.0324986465, -0.0448916666, 0.0102440258, 0.1037115902, -0.0531700328, 0.0033016559, -0.0274933148, 0.0197325051, -0.0535675399, 0.0308019109, 0.0293795709, -0.0084878281, -0.0627079904, -0.0410041176, -0.0049277893, -0.0416604057, -0.0286794696, -0.0046160752, 0.0626118779, 0.0471958444, -0.0445835739, -0.0154972365, 0.0456941091, 0.0664831847, -0.0230663419, -0.0090483623, -0.0072685871, 0.0010951905, -0.0338257365, 0.0353772715, -0.0177041013, 0.0484532565, -0.0323400199, 0.031649176, 0.0008173751, -0.0456072986, -0.0069150184, 0.0471297875, -0.0985453203, -0.0456401259, -0.0679542273, 0.043393977, 0.0267505124, 0.0185516551, 0.0110403514, -0.0353292339, -0.0289806686, -0.0084004225, 0.0009288833, 0.0292668194, 0.0159158148, 0.0209677275, 0.0257710963, 0.0332305729, -0.0240735263, -0.0106032323, -0.000715043, 0.0463230051, 0.0079382993, -0.0028820331, 0.0215587579, 0.0152347954, 0.036533989, -0.0036825999, 0.0076030008, -0.0282310564, 0.0105271544, -0.0348411277, -0.0150555, -0.0861835778, 0.0551686026, 0.0008033414, -0.0255483501, 0.0146982903, -0.0155362254, 0.0092897322, 0.0224801395, 0.0106053287, 0.0214851182, 0.0260996819, -0.0117995795, 0.0129821729, -0.0117312428, -0.006055925, -0.0004706559, -0.0437330641, 0.0355593897, -0.0262874123, 0.1422831416, 0.0189631972, -0.0251679942, 0.0058663497, 0.0324181095, -0.0662886947, -0.0619515777, 0.0326767378, 0.0208506417, 0.0328318961, 0.0523034036, 0.0188470464, -0.0540742986, 0.0082154339, 0.0205419995, 0.083785668, 0.0200024005, -0.0195708983, 0.0577796847, 0.0398257077, 0.014260211, -0.0572554953, 0.0587274544, -0.0025508164, 0.0206717271, 0.00524568, 0.0020496494, -0.02483215, -0.0356086716, 0.0050644875, 0.0113709392, 0.0209334381, 0.0104557201, -0.0645699725, -0.0656800494, -0.011469801, 0.0314268135, -0.0051785843, -0.0091881175, 0.0465741716, 0.0774421468, 0.0154819274, -0.0467456542, 0.0074630054, -0.0093230456, 0.0290540215, -0.0058958633, -0.0244767237, -6.286185997e-33, -0.0160675235, -0.0423973948, 0.0760984123, 0.0014624317, -0.0254605077, -0.0089005847, -0.028660303, 0.0308863409, -0.0216121823, -0.0067792144, 0.0194947496, 0.0110909482, -0.0119430292, 0.0362163521, 0.0161844864, -0.0029377001, -0.0126864389, 0.0010540843, -0.0325008705, 0.0049428581, 0.0142187569, -0.0277899969, 0.0586651042, -0.0246945992, 0.0181623567, 0.0315408297, -0.013554804, 0.0243685953, -0.0667266399, 0.0463174544, -0.0296451673, -0.0061479709, 0.0390052572, -0.0092138927, -0.0248637758, 0.0078357942, -0.0053589935, -0.0320195965, 0.0403323695, -0.0119555807, -0.1187506542, -0.0143979872, 0.0229757391, -0.0094433343, -0.0114224376, -0.0673744231, 0.023063181, -0.0160874743, 0.0096561145, 0.0054775411, -0.0277296044, 0.0182045288, -0.0193011872, -0.0176023822, 0.0190735366, 0.043134667, 0.0054875608, 0.0370243974, -0.0266329516, 0.017704431, -0.0017078073, 0.0011767956, 0.0909124762, 0.0063021355, -0.003236471, 0.0400892757, 0.0164055713, -0.0504533201, -0.0637018457, 0.0068390025, -0.0021162243, 0.0818508342, 0.0409253053, 0.0254321191, -0.0252651889, 0.0644708276, -0.0437082015, -0.0154903829, -0.0478720516, 0.0586652309, 0.0180602912, 0.013293297, -0.0035522634, -0.0000936599, -0.0380776003, -0.0135208443, -0.0556023978, -0.02378642, 0.0487446897, -0.0297425669, 0.0202004537, 0.0026259299, 0.0480152592, -0.0052258065, -0.0025492932, 0.0037293676, -0.0474118926, 0.058258485, -0.0010800968, 0.044074975, -0.0127287498, 0.0202388559, 0.043552082, 0.0316960476, 0.0345896743, -0.0068400973, 0.0092163589, 0.0331390984, -0.0466470346, -0.019638164, -0.0822626576, 0.0057877447, -0.0169361252, 0.0099083744, 0.03976072, -0.0186986178, -0.0298517644, 0.0366403535, -0.039573174, -0.0423346683, -0.0428362861, -0.0011311797, -0.026440287, 0.0336153209, -0.0045913057, -0.0010291631, -0.0362266079, -0.0355622917, 0.0472873859, -0.0404098928, -0.0085544139, 0.0656171739, 2.846e-7, 0.0440756083, 0.0129898535, -0.0051446683, 0.0148550775, 0.0200256445, 0.0451510623, -0.0340292864, -0.0053689987, 0.0161405597, -0.0732518956, -0.0295334049, 0.0589137413, 0.0295334067, 0.0166169051, -0.0037152958, 0.0257636216, 0.0081398422, -0.0431891233, -0.046068158, 0.0036264646, 0.10367544, 0.0383489169, -0.0262250341, -0.0293460861, 0.0283176545, -0.0278759357, 0.0674457178, -0.0197127052, -0.0142505355, -0.0461653769, -0.0234549195, 0.0107471775, 0.002959111, 0.0245568417, 0.0214541852, -0.0421165898, 0.0092121949, 0.0390125476, 0.0079722544, -0.0081432154, -0.0121561224, -0.0120503716, -0.0168011766, -0.0644289702, 0.0889145061, -0.0121595645, -0.0135653093, 0.017403001, -0.0014034025, -0.0194420964, -0.0017105865, -0.0028211244, -0.0115549117, 0.0173231047, 0.0039264015, -0.0304381922, -0.0288908463, -0.0662918687, -0.0193609465, -0.0112201674, -0.0349488333, -0.0199424326, -0.0629498288, -0.0118445009, 0.0406088904, -0.0634071827, -0.0730805323, 2.582910064e-34, 0.0126475664, -0.0439033546, 0.0429766327, -0.002276744, 0.0359724648, -0.0094029475, -0.0198174845, 0.0040606312, -0.0016046769, -0.0763601884, -0.0518184416 ]
http://arxiv.org/abs/2312.07979v1
http://arxiv.org/pdf/2312.07979v1
SLJP: Semantic Extraction based Legal Judgment Prediction
2023-12-13T08:50:02
2023-12-13T08:50:02
Prameela Madambakam, Shathanaa Rajmohan, Himangshu Sharma, Tummepalli Anka Chandrahas Purushotham Gupta
cs.CL
cs.CL, cs.LG
Legal Judgment Prediction (LJP) is a judicial assistance system that recommends the legal components such as applicable statues, prison term and penalty term by analyzing the given input case document. Indian legal system is in the need of technical assistance such as artificial intelligence to solve the crores of pending cases in various courts for years and its being increased day to day. Most of the existing Indian models did not adequately concentrate on the semantics embedded in the fact description (FD) that impacts the decision. The proposed semantic extraction based LJP (SLJP) model provides the advantages of pretrained transformers for complex unstructured legal case document understanding and to generate embeddings. The model draws the in-depth semantics of the given FD at multiple levels i.e., chunk and case document level by following the divide and conquer approach. It creates the concise view of the given fact description using the extracted semantics as per the original court case document structure and predicts judgment using attention mechanism. We tested the model performance on two available Indian datasets Indian Legal Documents corpus (ILDC) and Indian Legal Statue Identification (ILSI) and got promising results. Also shown the highest performance and less performance degradation for increased epochs than base models on ILDC dataset.
[ 0.0469115451, -0.0080665788, 0.0051157372, 0.0353271142, -0.0391474552, 0.0416518971, -0.0275535192, 0.0329090357, -0.0112607237, -0.0832951516, -0.0009794664, 0.0141490111, -0.0540598333, 0.0016144289, -0.0411269665, -0.0659987926, 0.0407161899, 0.053413406, 0.0748278424, 0.030853821, 0.0351114906, 0.0017759412, 0.0145725086, 0.0157818794, -0.0382144861, -0.0048757135, -0.0262078997, -0.0201688092, -0.0039343024, -0.0442356728, -0.0104488088, 0.0526813157, 0.0259146504, -0.0132180247, 0.0000019201, -0.0617915243, 0.0006546875, -0.0249942429, -0.0151463933, -0.0031882031, 0.0260581616, -0.0287419148, -0.0054254094, -0.019542098, -0.0373816341, 0.0149168679, 0.0121883815, 0.0770099387, 0.0376078226, 0.1050166413, 0.0012469682, -0.0806828588, 0.0382405445, -0.0083012665, -0.0065289764, -0.0491676666, 0.0018672787, 0.0291009229, -0.0077700815, -0.0229997132, 0.0053767255, -0.014935853, 0.0086749457, -0.0019129583, 0.0042563523, -0.0036268078, -0.0123732928, 0.0038660674, 0.0240896493, 0.0649787635, 0.0165291782, -0.0374776274, -0.00828477, 0.000774652, 0.0409055725, 0.014918956, -0.0032316647, 0.0854419619, -0.0132953431, 0.0281498432, 0.085620001, 0.0645458326, -0.0464160852, -0.0060877637, -0.0155064603, 0.045474384, -0.0034234102, -0.056422703, -0.0001430792, 0.0140414368, 0.0023847627, -0.0406607054, 0.0328487642, 0.0470502824, -0.006862422, 0.0411278419, -0.026416095, -0.0577817522, 0.0360123292, -0.0828581601, 0.0061956164, 0.0156531129, -0.0200073551, 0.0771216005, -0.0367510058, -0.0162734482, -0.0032980326, 0.0563428961, -0.0072897277, -0.0321100913, -0.0115322815, -0.0113287317, -0.0042437706, 0.0821180418, -0.0778785199, -0.0009039251, -0.0191148296, 0.0256507955, -0.0127554871, -0.0074591851, 0.0385914855, -0.0268320572, -0.0228307974, -0.0214482937, -0.0745331794, -0.0498670787, -0.0535503887, 0.0186168682, -0.0083656339, 0.0070149088, -0.0009328289, 0.0064215874, -0.00152841, 0.0112963589, -0.0246744957, 0.0960339159, 0.0044769361, -0.0454129241, -0.0713048354, -0.0445593484, 0.0094513819, -0.0525522605, -0.0497472659, -0.0566383526, 0.026123954, -0.0275659822, -0.0429546386, -0.0242161062, 0.0181836542, 0.0407846905, -0.0019862573, 0.0727387145, -0.0213016924, -0.0293928124, -0.0281962939, 0.0250228588, 0.0576613322, 0.0107804276, -0.0132110864, 0.0338267609, 0.0311760493, -0.0135232238, 0.0401906595, -0.0063490588, 0.0003185537, -0.0042748535, -0.0020274043, 0.0280188844, -0.0291943308, 0.002262362, 0.0186067019, 0.0016668262, 0.0182663277, -0.0084769614, -0.0091255186, 0.0269961245, 0.0296144802, 0.0800676718, 0.0026868156, -0.0067299949, 0.0236835089, 0.0255599562, -0.0368644223, 0.0407817103, 0.0005779873, 0.0211562496, -0.0726222917, 0.0005149031, -0.0299534872, -0.03033139, -0.0041709649, -0.0191642884, -0.0268486049, -0.0249365661, 0.0384710319, 0.027239088, -0.0451676361, 0.0607568398, 0.0725565925, -0.0465421528, -0.0242605451, -0.0227203127, 0.035096202, 0.0016310959, 0.0283784475, -0.066692844, -0.03107021, -0.011959279, -0.0035150447, 0.0338026062, 0.0229839608, 0.0062993029, -0.0539682992, -0.0153478086, -0.037613485, 0.0258133542, 0.0167680625, 0.0031145739, -0.0182910692, 0.0080085322, 0.0526985303, -0.0349951722, 0.0352433659, 0.0645940527, 0.0278199557, -0.0197715815, -0.0160890706, 0.0173578598, 0.0732290447, 0.0202287529, 0.0197095517, -0.0459881648, 0.052899681, 0.0142406235, -0.003247784, 0.0186706074, -0.0406139195, -0.0533682182, 0.0257253572, -0.0568507388, 0.0141097158, 0.009542712, -0.0429857522, -0.0074830246, -0.0224785786, -0.0046781152, 0.0356039815, -0.0618681088, 0.010394467, 0.0137972739, -0.0227969028, -0.0359959602, 0.0556581803, -0.0107036904, -0.0457078218, -0.0246668421, 0.0127319815, 0.0428981073, -0.00429508, -0.0293169115, -0.0295080226, -0.0407889746, -0.0128856804, 0.0055877301, 0.015691191, -0.0632100329, -0.025844425, -0.0495401435, 0.0048252572, -0.0160029791, 0.0055669621, 0.0167756956, -0.0134055456, -0.0150129786, -0.0282832347, -0.0170487147, 0.0089385845, -0.0099043958, -0.0305850171, 0.044929672, -0.0142105371, 0.0089805648, -0.0075468766, -0.0152537227, -0.0362335332, 0.032439664, 0.0150167421, -0.0238699876, -0.0262200367, 0.1099431813, -0.0102699781, -0.003765292, -0.0362006612, -0.00524052, -0.0274184141, -0.0007229802, -0.0018296246, 0.0344016142, 0.0652023926, 0.0197861679, 0.0084163463, 0.0046913824, -0.0410227031, 0.0153227635, -0.0304970331, 0.0662485063, -0.000295118, 0.0398803502, 0.0415690094, 0.0019337679, 0.014111815, 0.0201651864, -0.0041495133, -0.0310789514, 0.0004912883, 0.0262219161, -0.029318979, 0.0209935941, -0.0470096469, 0.0227183439, 0.0251884852, -0.0350159444, 0.0526058786, 0.0233551301, 0.0491585061, -0.0834066197, 0.0274866242, -0.0476699173, 0.0633784831, 0.0006037211, 0.0062832227, -0.0791113898, -0.0686302111, 0.0093924589, -0.0026706497, 0.0173964892, -0.0421107486, 0.0752520859, 0.0068088612, 0.0198960658, -0.053085614, -0.0321813412, -0.0465161689, -0.0521048717, 0.0247990359, -0.0088805128, 0.0228787176, 0.0332688689, -0.0133449808, 0.0375017896, -0.0251056571, -0.0075513395, 0.0149366595, -0.0312352404, -0.0407483988, 0.0296865888, 0.0139046395, -0.015677169, 0.0295907706, 0.0303091612, 0.021246776, 0.0258785635, -0.0264270436, -0.0172771383, -0.0124375625, -0.0014277585, -0.0096791824, -0.1054065526, 0.0230437666, 0.018482903, -0.0115552302, -0.0367125049, 0.0292611923, 0.0776299313, 0.0324819796, -0.0418816991, -0.018784184, -0.0078022382, -0.0246867016, 0.0285806712, 0.0307352562, -0.0849543363, -0.0080948379, 0.021941565, -0.0462917089, -0.0049899095, -0.0313208587, 0.0036900267, -0.0669441, 0.0474620499, -0.0043168077, 0.0129599432, -0.0327620022, -0.0348773561, -0.0026234167, 0.0163236, -0.0229165088, 0.0284418929, -0.0484934263, -0.0237301793, 0.0072132763, -0.0641614422, 0.0230849553, 0.0302613303, -0.039615687, 0.0382313356, -0.0001750256, 0.0189776365, -0.0379940458, -0.0162415057, 0.0105594732, -0.0269317236, 0.0000508556, -0.0002405084, 0.0382526107, -0.0311151035, 0.0211179052, -0.057043016, 0.0253312774, 0.0064784866, -0.0016063781, 0.0544939935, 0.0701616779, -0.0450264923, -0.0187257286, -0.0421955027, -0.0253643394, -0.0225110482, 0.0501705222, 0.0072339219, 0.0025086959, -0.0419565067, -0.0096623143, -0.0325727202, -0.0247513726, 0.00917535, -0.0000927808, -0.0655916557, -0.0321083404, -0.0110164424, -0.0439621098, -0.0009573193, 0.0264430325, 0.0363086127, 0.0117425052, 0.0389507823, 0.0010411795, -0.0466353185, 0.0135007882, -0.0455051847, -0.0183623135, -0.0317848399, 0.0377007425, 0.0335105434, 0.013405717, -0.0137007553, -0.0454493277, 0.0361690894, 0.0181963537, 0.0089397999, 0.0035459318, 0.003491597, 0.0002716609, -0.0694516897, -0.0196306724, 0.1007172987, 0.0162649769, -0.0417397767, -0.0376242884, 0.0470423885, -0.0231132098, 0.0023744265, -0.0123079177, 0.0002400606, 0.0701840892, 0.0247728694, -0.0118500656, -0.0131104654, -0.0007221701, 0.0343177877, 0.0551357418, 0.0488954745, 0.0180147942, -0.0055798767, -0.0327116288, 0.00844956, -0.003778785, 0.002877142, -0.0125464667, -0.0070492271, 0.0160336196, 0.0051271748, -0.0108029451, 0.0557988808, -0.0110232085, -0.0297349021, -0.0088838888, 0.0591182299, 0.0303284992, 0.0270098317, -0.0045310659, -0.0208122488, -0.0202677567, -0.0415920578, -0.026770059, 0.0214193556, -0.0347147733, 0.0563667603, 0.0149287321, 0.0010409638, -0.0177663527, 0.0308219511, 0.0186130181, 0.0635257512, -0.0309685282, 0.0357644111, 0.0565901101, -0.0280873086, -0.035313759, 0.0008007506, 0.0161361936, 0.0164939929, 0.0507544503, -0.0415854491, -0.0167554133, 0.0583974496, -0.0024073496, -0.035297446, -0.0078281909, 0.001721464, -0.0236712433, -0.0263260212, 0.0099856434, -0.0323137492, -0.0585629418, -0.009840101, -0.0301941093, 0.0334436744, -0.022377234, -0.0405130088, -0.0712582469, -0.0023721769, -0.026121784, -0.0032139791, 0.0120876012, 0.0090421252, 0.0186498668, 0.0465652794, 0.0386793613, -0.0284235645, -0.0522614345, 0.0178146735, -0.0128893536, -0.0104236938, -0.0057665873, -5.21187269e-33, -0.0327204987, -0.0263031684, 0.0067796512, 0.0558143519, -0.025958294, -0.0246603359, -0.0013739971, -0.0148243429, -0.0188230146, 0.0343654193, -0.0394019634, 0.0109325815, 0.0122911287, -0.0132633783, -0.0003421154, -0.0207825713, -0.0015898332, 0.0241763312, 0.0083806664, -0.0051306016, 0.0280917063, 0.0209327415, 0.0570937358, -0.0885777324, -0.0185884982, 0.010274577, -0.0006494448, -0.0467092805, -0.0379344635, 0.047132086, -0.0138691654, 0.0183313694, 0.0583262444, -0.0688708276, -0.0150355818, 0.075251691, -0.0848075673, -0.0066906409, -0.0105025871, 0.007296056, 0.0286429711, -0.019132955, 0.0188488495, 0.0128871826, -0.0033492676, 0.0174194183, 0.0431412868, -0.0125719681, -0.0542368926, -0.0585375205, -0.0949588791, 0.0538337454, 0.0118228421, 0.0336319208, 0.0202592667, -0.0151877943, 0.0223075319, 0.0462970622, -0.093435064, -0.0135395387, -0.009417193, 0.0093043735, -0.0041502626, -0.0414840989, -0.0402159244, 0.0290881786, -0.0440640859, -0.03335521, -0.0514507666, -0.0038775573, 0.0267392248, 0.0983844399, 0.0143117728, 0.0079706525, 0.0871151313, -0.090265438, -0.0690712854, 0.0131223975, 0.02995947, 0.0615049601, 0.0433741249, -0.0288136061, -0.0679741055, 0.0161466096, 0.0169335995, 0.0155784907, -0.0010788379, -0.0275619198, 0.0366991311, -0.0036943823, 0.05670904, -0.014583203, 0.0115335975, -0.0362610035, 0.0747390017, 0.0195550043, -0.0129593741, 0.0186369531, -0.0303218048, 0.0010670909, -0.0533294603, -0.0634070262, -0.0084080715, -0.0142113669, -0.0242522601, -0.0102668703, 0.0791462511, -0.0573749579, -0.0436365344, -0.0100573283, 0.0178075563, 0.0067495047, 0.0246031173, 0.0614803806, 0.0074974471, 0.0172622167, 0.006855418, 0.0169827063, 0.0338129103, 0.0204313155, -0.0273008849, -0.0076000984, 0.0452959314, 0.0139000164, 0.0199473351, 0.0085843951, -0.0320073999, 0.0337553732, -0.0014748155, -0.0116760787, 0.0177867599, 0.090193592, 2.638e-7, 0.0500876904, 0.0258805919, -0.0240831617, -0.0273775868, -0.027475629, 0.0164624397, 0.0405363142, 0.0582221784, 0.003053745, -0.0177089907, 0.0345926657, -0.0032169784, 0.0238658991, 0.0315492973, -0.1090610921, -0.0554158948, -0.0363762863, -0.0474361256, -0.0462199673, 0.0351473652, 0.0370469205, 0.1002871841, 0.0578906387, 0.0111868503, 0.0085787075, 0.0298082214, 0.0252316128, 0.0210852362, -0.0262351483, 0.0079463683, 0.0752049088, -0.0204225406, -0.020487519, 0.0497639291, 0.0101061575, 0.0566103086, -0.0232931003, 0.0381758437, -0.0270953309, 0.0517532378, 0.0014968397, -0.0305066649, 0.0324270129, 0.0069501139, 0.05662084, -0.0224312395, -0.0419937372, -0.0062763253, -0.0546332449, -0.005285407, 0.0134720271, 0.034566395, -0.0051806788, -0.0279057324, 0.0258043502, -0.0700310394, 0.0079793455, -0.0949612558, 0.0275159627, 0.0319876596, -0.0070656855, -0.0069470382, 0.0183325112, -0.0362047292, 0.117864877, -0.0872339085, 0.0155600253, 2.37705483e-34, 0.0378145538, 0.0164297018, 0.0316510573, 0.0202742498, 0.0259456038, 0.0273131691, 0.004393104, -0.001152185, -0.0162476562, -0.0681615174, 0.0350590274 ]
http://arxiv.org/abs/2312.11523v1
http://arxiv.org/pdf/2312.11523v1
ToViLaG: Your Visual-Language Generative Model is Also An Evildoer
2023-12-13T08:25:07
2023-12-13T08:25:07
Xinpeng Wang, Xiaoyuan Yi, Han Jiang, Shanlin Zhou, Zhihua Wei, Xing Xie
cs.CL
cs.CL, cs.AI
Warning: this paper includes model outputs showing offensive content. Recent large-scale Visual-Language Generative Models (VLGMs) have achieved unprecedented improvement in multimodal image/text generation. However, these models might also generate toxic content, e.g., offensive text and pornography images, raising significant ethical risks. Despite exhaustive studies on toxic degeneration of language models, this problem remains largely unexplored within the context of visual-language generation. This work delves into the propensity for toxicity generation and susceptibility to toxic data across various VLGMs. For this purpose, we built ToViLaG, a dataset comprising 32K co-toxic/mono-toxic text-image pairs and 1K innocuous but evocative text that tends to stimulate toxicity. Furthermore, we propose WInToRe, a novel toxicity metric tailored to visual-language generation, which theoretically reflects different aspects of toxicity considering both input and output. On such a basis, we benchmarked the toxicity of a diverse spectrum of VLGMs and discovered that some models do more evil than expected while some are more vulnerable to infection, underscoring the necessity of VLGMs detoxification. Therefore, we develop an innovative bottleneck-based detoxification method. Our method could reduce toxicity while maintaining comparable generation quality, providing a promising initial solution to this line of research.
[ 0.0355599783, 0.0899262726, -0.0288702007, 0.0307326764, -0.0035991285, 0.0168110598, 0.0378201231, 0.0336137153, 0.0256355479, -0.028914405, -0.0245555341, -0.0233011451, -0.0191075187, 0.0664105043, 0.0343309864, -0.067764841, 0.0083033154, 0.0211970285, -0.0096326107, -0.0086575598, 0.0181131214, 0.0137737319, 0.0495038293, 0.0296768192, -0.0389303789, -0.0441847816, 0.0402374305, 0.05186259, 0.040684361, -0.0194391534, -0.0340209939, 0.0179108959, -0.0060834666, 0.0252911951, 0.0000019589, -0.0134667391, 0.0156927984, -0.0021614225, 0.0456761122, 0.0252464917, 0.0888957679, -0.0380901545, -0.0386667363, 0.0208234414, -0.0125624398, 0.0256231334, 0.0874400064, 0.0129363816, 0.0797302127, 0.0275059249, -0.0302210599, 0.0190174263, -0.0001228181, 0.0062418203, 0.0342220888, 0.0366277769, 0.0286444947, 0.025131993, -0.0288406704, -0.0134477876, -0.0363271162, 0.0436412916, 0.0262256227, -0.0253812801, 0.0051264721, 0.017891502, 0.02280269, -0.0800859109, 0.0039387327, 0.0382143222, -0.0755035952, 0.004735765, 0.0038269905, -0.0002939095, -0.0084437244, -0.025010407, -0.006445515, 0.0552226715, -0.0141409943, 0.0221886896, -0.0450271927, 0.0298528075, 0.0145064127, 0.0163929071, 0.0663557425, -0.0608997419, 0.0307761692, -0.0043125926, -0.0074106758, -0.0071425326, -0.0724892095, -0.026840033, 0.0282303039, -0.0210192539, 0.0115377018, 0.0147981113, -0.0718393773, -0.0599577464, 0.0294397436, -0.0860444382, 0.0433237888, -0.0051522916, -0.0425572172, 0.0143175665, 0.0076257805, 0.0161296371, -0.0164754838, 0.0175619088, -0.0278184041, 0.0173204131, 0.0580805391, 0.0007180292, -0.0083722109, -0.0472083129, -0.010254845, -0.0127524333, -0.0564476326, 0.0150295235, -0.0621244609, -0.0059369514, 0.0103179868, 0.0718001574, -0.0401447825, 0.0230496507, -0.0198685005, -0.0305284932, -0.0234377775, 0.0058016391, -0.0117732668, -0.0414377786, 0.0026677647, 0.0259332228, -0.0392333157, -0.0066207126, 0.013967569, 0.1238543838, -0.0115658808, 0.013712761, -0.0417983197, -0.0360743031, -0.0465525351, -0.0266876314, 0.0215157531, -0.0429801084, -0.0035298392, -0.0500426516, -0.0076172897, -0.0804794431, 0.0203696433, 0.0248977002, -0.0396424681, 0.0352062434, -0.0277707577, -0.0268855058, 0.0194623768, 0.0368955694, -0.0082233464, 0.0487766191, 0.0316660777, 0.1057287604, 0.0254193116, -0.027404014, -0.0061892373, 0.0575324483, 0.0285860039, 0.0457817242, -0.068256937, -0.0255616233, 0.003737018, 0.0163094793, 0.0395419635, 0.071757637, -0.0394704454, -0.0528279878, 0.0881787688, 0.0012595323, -0.0246416312, 0.0422062986, 0.0638359338, -0.0030895348, -0.0430885367, -0.0076108491, -0.0502812378, 0.0216519386, 0.0181735568, -0.0221812297, 0.0214023311, 0.0794892162, -0.0162337869, -0.0318229906, 0.0216181222, -0.0268402565, 0.035033334, -0.0429184102, 0.0176087655, 0.0594367273, -0.0559106693, -0.0444092266, 0.0465371013, -0.0560197718, 0.0248926021, -0.0338236988, 0.0338361412, 0.0901428685, 0.061168313, 0.0322691873, 0.0192736946, -0.0345424823, -0.0421903469, 0.0279068332, -0.0431869738, 0.006172284, 0.0146944942, -0.035045553, -0.0248549785, 0.0020217863, -0.00921888, 0.0248871483, 0.0001367324, 0.0238558799, -0.0085475491, -0.0014871806, -0.0380632952, 0.021735562, 0.0150162149, -0.0023996958, 0.0007408453, 0.0280925613, 0.0380091965, -0.0352928378, -0.040694911, -0.0099777281, 0.0152039351, -0.0200104192, -0.0022288889, 0.0093760984, -0.0263903737, 0.0054277084, 0.001771934, -0.066070348, 0.0131753096, 0.0489281118, -0.0007626351, 0.0272311829, 0.0369429849, -0.0358859971, -0.0337695517, -0.0358142294, -0.0277987421, 0.0001627114, 0.0296769571, 0.000738643, 0.0642976835, -0.0389421694, -0.0244437717, -0.0020563498, -0.0035536373, -0.0041211895, -0.0123378774, -0.0308230706, -0.0490398817, -0.0248434749, 0.0110341106, 0.0165104158, 0.0343939327, -0.0328331366, -0.0096654082, -0.0306267571, -0.0082768686, -0.0042738463, -0.0254509132, 0.0043744259, -0.0021255307, -0.0132717853, 0.0143852094, -0.0434221849, 0.0169268474, 0.0324493609, 0.0475220084, -0.0137062967, -0.039248351, -0.0151052773, -0.0209792815, -0.0146182999, 0.0171050094, 0.0633148029, 0.0178204067, -0.0229287371, 0.0151587641, 0.0545577556, -0.0413997434, 0.0114610242, -0.0046563689, -0.0660008863, 0.0152417272, 0.0211509764, 0.022518944, 0.0807074234, 0.0587971322, 0.0555941686, 0.0282348581, 0.0206400473, -0.0265402906, -0.007486382, -0.0024758626, -0.0336920656, 0.0142292771, -0.086418204, -0.0045161727, 0.0244350471, 0.0302620847, 0.0073705972, -0.0581807792, 0.0938060433, -0.0208362509, -0.0594438538, -0.0034679379, -0.0599390045, 0.0034202582, 0.0024672234, -0.0418361723, -0.0941323116, 0.0054157376, 0.0053665945, 0.0273835082, 0.0526297018, 0.0099561606, 0.0375003628, 0.0328350551, 0.033967305, 0.0658024177, 0.0385147668, 0.0212780088, -0.0344720446, 0.0389284864, 0.0578352064, -0.0258788895, -0.00150097, -0.0146405119, -0.0349312164, -0.0052118874, -0.0572406165, -0.0478069484, -0.0322014093, 0.0373349153, -0.034099482, 0.0456542298, -0.0082803695, -0.0118178315, 0.0020220694, 0.0065607503, -0.0731702372, 0.0003771104, -0.0185025502, 0.0225368571, 0.0192902684, 0.0788289011, -0.0621398576, 0.0123377517, -0.0001638413, 0.0116551155, 0.1014777496, -0.0388572998, -0.0043306006, -0.0302669331, 0.0555774197, 0.0039844243, 0.0909642875, 0.0019713386, 0.0163316447, 0.0241082236, -0.0116705857, 0.0002624753, 0.0130570633, -0.0036025106, -0.0104953181, 0.0332558267, 0.0315695256, 0.0299674086, 0.0093340809, -0.0091236746, -0.0993404984, 0.0015541167, -0.0428514108, 0.0140575077, -0.0854235962, -0.0494916365, 0.006704465, -0.0709305331, 0.0599614196, 0.0313524343, 0.0145110376, 0.0079234438, 0.0141205201, -0.0153278345, -0.0282434803, 0.0084553491, -0.0215497334, 0.0108107151, -0.012904292, 0.0090629011, 0.0545203574, -0.0218493529, 0.0065026861, -0.0287524704, 0.0297791045, 0.068797119, 0.0216971375, -0.0291728918, -0.0330618322, -0.0061113662, 0.0322146043, -0.0121279238, -0.0043919561, 0.0687614605, 0.0093218815, -0.0375903808, -0.0296830665, 0.0317890607, 0.0171700418, -0.0321818739, -0.0030937709, 0.0264425203, 0.0336434506, -0.032617595, -0.0612622984, 0.0319970697, 0.0195675939, 0.0617007166, 0.0330343954, -0.0556718856, -0.012991651, -0.0520986319, 0.0140131051, -0.0579808503, -0.0581049919, -0.0216996334, -0.0258743949, -0.0610011779, -0.084850505, 0.0119933374, -0.013545502, 0.0329210535, 0.0054806727, -0.0477428176, -0.0522390567, -0.0041150781, -0.0236336645, 0.0209090486, 0.037262097, -0.0057799001, -0.0348975286, -0.0026906028, -0.0411061794, -0.0392203405, -0.0286388677, 0.0827279389, -0.0626148731, -0.0432128087, 0.0230960678, 0.1106915325, 0.0174498688, -0.0182317104, 0.0243596099, 0.0059117246, 0.065964222, 0.0865586922, 0.0023070888, -0.0067577148, 0.0274373535, -0.0007728827, 0.0101860296, 0.0030345034, -0.0340499729, 0.0378825963, 0.0579217337, -0.0001815884, -0.0290868152, 0.0316390693, 0.0135546792, 0.0204834864, 0.0031305845, -0.095549196, -0.0212959442, -0.0007186794, -0.0190496333, -0.0352814645, -0.0167205092, -0.0582942367, 0.024270229, 0.0526420996, -0.0151206385, -0.0178181008, 0.0291556045, -0.0142484289, 0.0096886763, -0.053830795, -0.0484999903, 0.0343510471, -0.0038727159, 0.0415009595, 0.0291437376, 0.0078718783, 0.0192322917, -0.0095797535, -0.0105144558, -0.0232020393, 0.0094342493, 0.000926261, 0.0193374734, 0.0163360778, 0.0642735362, 0.0079827067, -0.0074538821, -0.0529477224, 0.0056945472, 0.0316122882, 0.0177685432, 0.0497375876, -0.0347988121, -0.0029533778, -0.0319815613, 0.0050053834, -0.0180192441, -0.0752006844, 0.0031876878, -0.0346625037, -0.0117909117, -0.0325556658, 0.0836794004, 0.0066865734, 0.0370355472, 0.0097274408, -0.0104451133, -0.0068085403, -0.0165957343, 0.0247187223, -0.010391633, 0.0127354423, 0.0189800616, -0.045172289, -0.0685067102, -0.0109999357, -0.0024535523, 0.0415365025, 0.0206487179, 0.0226903018, 0.0229509007, -0.0096835671, 0.0306041036, 0.0131021226, -0.0024050197, -0.0059642666, -0.0329603329, -0.0175824333, -5.958652863e-33, 0.0047733826, -0.0145404199, -0.0107191494, 0.0099671688, -0.013240044, -0.0251836162, 0.0159836989, -0.0082295416, 0.0136303129, 0.0042966749, 0.0121235624, -0.0276501328, -0.0068453089, 0.0295343045, -0.0108548636, -0.0046593128, 0.0283354297, -0.0284933466, -0.0448704734, 0.0317848697, 0.0375440121, 0.0158485845, -0.0128527302, -0.0728099942, -0.0285498518, -0.0042592781, -0.0511306711, -0.04113435, 0.021819273, 0.0614061616, -0.00400203, 0.0324786454, 0.0153657431, -0.0014761176, -0.017651448, 0.0456220023, -0.0154560767, 0.0099373991, 0.0200255327, -0.0322986916, -0.0748051703, -0.039617233, 0.0743131936, -0.0064830985, -0.0058841049, -0.0327948816, 0.0285934638, -0.0346157253, -0.0221201703, -0.0502385348, -0.0620626248, -0.0101306057, -0.0284709167, -0.0314495191, -0.0131770195, 0.0354529396, 0.0164972246, 0.0193965007, -0.0228319988, 0.0307901893, -0.0008528447, -0.0186091326, 0.0553901829, -0.0027078367, 0.0484068692, 0.0903534144, 0.0115181832, 0.0211885404, -0.0209791549, 0.0244743228, 0.017238833, 0.0592644587, 0.0371927284, 0.0404576883, 0.0340239294, -0.036970403, -0.0559938513, 0.0268653035, -0.0438661203, 0.0232698433, -0.0021577147, -0.0345164835, 0.0066643194, 0.0015201784, -0.0408607982, -0.0608320944, -0.027256554, -0.0452815183, 0.0402933918, -0.0077842865, -0.0343742557, -0.0436589569, -0.0086609367, -0.0267504267, 0.0067991503, 0.0149437906, -0.0106583191, 0.0225298721, -0.0107151233, 0.0117654689, 0.0017472616, 0.0220488515, 0.0352727361, -0.0169182625, 0.0286238715, 0.0236142073, 0.0513100475, -0.0019400564, -0.0452609397, 0.0171954837, -0.0554842241, 0.0685346946, 0.0326119959, 0.0153141413, -0.0118009709, -0.0164935067, -0.0255495887, -0.0529832095, 0.051757589, 0.0454826318, -0.0047604977, -0.0329410285, -0.0208601281, 0.0201379731, -0.0195263997, 0.0031533574, -0.0418510139, 0.006246285, 0.0552987792, -0.1013613045, -0.0145249143, -0.0111457687, 2.584e-7, 0.0073541594, 0.0160789881, 0.0104991952, 0.0341713876, 0.028670324, 0.046532061, 0.0161251295, 0.0342286341, 0.0027345608, -0.0398084596, -0.0329839289, 0.0012958026, 0.0308315903, 0.0383769423, 0.0222430918, 0.0518438295, -0.0801418871, 0.0261689089, -0.0357364379, -0.0075372611, 0.0441267118, 0.0618056878, 0.0017187891, -0.0755184293, 0.0387284309, -0.0443501845, 0.0547231734, -0.0539223105, -0.0133288447, -0.0265280977, 0.0278086569, 0.0151084037, 0.0004539212, -0.0221792031, -0.0217735451, -0.0615464337, 0.0034192041, 0.0163623355, -0.0128763579, -0.0124209942, 0.0254149791, -0.0391836688, -0.0130024543, -0.0091728587, 0.0730164945, 0.0254773516, 0.0094913263, -0.0142954336, -0.027920289, -0.0115990015, 0.0588909835, -0.0791153684, -0.0227456912, -0.0001107354, 0.0189581942, 0.0230282564, -0.0014716989, -0.0241601299, -0.0080491304, -0.0350010209, -0.0384012088, -0.0598531365, -0.0673822537, 0.0460263975, 0.0095207784, 0.0256970003, -0.03522937, 2.349345994e-34, 0.0174391512, -0.0657490864, 0.024655601, -0.0530288741, 0.0187276267, 0.019337561, -0.0083203614, -0.0022373467, -0.0230166446, -0.0152599877, -0.0134278052 ]
http://arxiv.org/abs/2312.07961v1
http://arxiv.org/pdf/2312.07961v1
Robust Few-Shot Named Entity Recognition with Boundary Discrimination and Correlation Purification
2023-12-13T08:17:00
2023-12-13T08:17:00
Xiaojun Xue, Chunxia Zhang, Tianxiang Xu, Zhendong Niu
cs.CL
cs.CL, cs.AI
Few-shot named entity recognition (NER) aims to recognize novel named entities in low-resource domains utilizing existing knowledge. However, the present few-shot NER models assume that the labeled data are all clean without noise or outliers, and there are few works focusing on the robustness of the cross-domain transfer learning ability to textual adversarial attacks in Few-shot NER. In this work, we comprehensively explore and assess the robustness of few-shot NER models under textual adversarial attack scenario, and found the vulnerability of existing few-shot NER models. Furthermore, we propose a robust two-stage few-shot NER method with Boundary Discrimination and Correlation Purification (BDCP). Specifically, in the span detection stage, the entity boundary discriminative module is introduced to provide a highly distinguishing boundary representation space to detect entity spans. In the entity typing stage, the correlations between entities and contexts are purified by minimizing the interference information and facilitating correlation generalization to alleviate the perturbations caused by textual adversarial attacks. In addition, we construct adversarial examples for few-shot NER based on public datasets Few-NERD and Cross-Dataset. Comprehensive evaluations on those two groups of few-shot NER datasets containing adversarial examples demonstrate the robustness and superiority of the proposed method.
[ 0.025327595, 0.0326404534, -0.0009982495, 0.0454040319, 0.0026101819, 0.0302981399, 0.0373320878, 0.0137120448, 0.0378858708, -0.0358141512, -0.0383619443, -0.0180045087, 0.0029219196, -0.0232340638, 0.0483948849, -0.0143069802, 0.0241052825, 0.0358060114, 0.0349963829, 0.0067831762, -0.0231508855, -0.0180076286, -0.0114382487, -0.0138859442, 0.0358457044, 0.0014397916, -0.0033464716, 0.0199284758, 0.0699958876, -0.0677715167, 0.0135942651, 0.0279263109, -0.0169754401, 0.0777639896, 0.0000019799, -0.043670319, -0.049174685, 0.0389344841, 0.0001457001, -0.0223750602, 0.0168991368, -0.0658055171, -0.0120104784, -0.0235316791, 0.0213596001, -0.0374123268, 0.0113376845, 0.103287518, 0.0584679469, 0.110500522, -0.0201360621, -0.0486064665, 0.0251554139, -0.0290284939, 0.0059694792, -0.0787027627, 0.0570091344, -0.0591472387, -0.0198883079, 0.0194872469, -0.0247064997, 0.0072882627, -0.0253582336, 0.0457953513, -0.0174305644, 0.0333862975, -0.0346896425, 0.0003750763, 0.0185662527, 0.1023628116, -0.0104685808, 0.005660194, 0.0514853261, 0.0065213018, 0.0066674226, -0.0057465467, -0.0297215153, -0.034736488, -0.0276681874, 0.0110262213, -0.0450312644, 0.0107533, 0.039414674, -0.0088771489, -0.0141095445, -0.0454804711, 0.0201372877, -0.0423755571, -0.0297602359, 0.005014638, -0.0074085672, -0.02559736, 0.0114204101, 0.0191107802, 0.0413831174, 0.0085650217, -0.094127588, -0.078352198, -0.0127750374, 0.009148716, 0.0128748892, -0.0174844097, 0.0023087347, 0.0508228615, -0.0657406375, 0.0197265241, -0.0179689378, 0.0229796264, 0.044656191, -0.0257941186, -0.040323168, -0.0026597299, -0.0020006867, 0.0581329204, -0.0015241393, 0.0130315879, -0.0243492872, 0.0113951629, -0.0159735512, 0.0252916981, -0.0205387827, -0.0135350069, 0.0061759255, -0.0029498509, 0.0281624403, -0.0085834712, -0.0073557873, -0.0147289587, -0.0181180146, -0.057607051, -0.0461378656, 0.002189528, 0.0151340412, -0.0567235015, 0.0217946433, 0.1143237874, 0.0358975567, -0.1022214592, -0.0499510281, -0.0192049555, -0.0245574526, -0.0341495126, 0.0109080467, -0.0054218983, 0.0072162547, -0.0194653496, -0.0115931928, -0.06494084, -0.010290551, 0.0110122105, -0.083832413, 0.0746718869, -0.0236079227, -0.0388101377, 0.0238980316, 0.0120048961, 0.0177274253, 0.0586730093, 0.0272934549, 0.0135967564, 0.021528, 0.0323951431, 0.0087554082, 0.0106663955, 0.057021305, -0.0146828797, -0.018827891, 0.0180834476, 0.0110549154, -0.0074972711, 0.0141859567, 0.0220758617, -0.0280567147, -0.0625607669, 0.0598942861, 0.0129585061, -0.0058400612, 0.0056792176, -0.0039901002, -0.0057535097, 0.0226499587, -0.0031253661, -0.0423474908, 0.0142733539, -0.054842405, -0.0308652204, 0.0207157079, 0.062537685, -0.0374826789, 0.0261529516, 0.0119574042, -0.004916328, -0.0261274409, -0.0172370058, 0.0700422078, 0.0265359469, -0.0429272056, 0.0348752514, 0.0129325455, 0.0019050649, -0.0120530427, -0.0040323548, 0.0231387224, 0.0022408115, 0.0545769632, -0.0466929041, -0.0017392092, -0.0607390627, 0.0382443927, 0.0184869263, -0.0015620601, 0.0151549503, 0.0287383236, -0.0253315587, -0.0148591707, -0.0372756422, 0.0162636451, 0.0317681059, 0.0126438234, 0.0484603457, 0.0105580501, -0.0151425274, 0.0034763501, 0.0519935153, -0.0098429061, -0.0378847793, 0.0242908876, 0.0574684851, 0.018318003, 0.0524371974, -0.0204538014, -0.0098655848, 0.0298801567, -0.0143043334, -0.0226551499, -0.0390763655, 0.0132667506, -0.0704881996, -0.0072448854, -0.0185896214, -0.0188799407, 0.0144029958, -0.03364788, -0.0143508865, 0.0346853212, 0.0147574171, -0.0316272527, 0.0178871229, -0.0057325345, 0.0112238005, 0.0596430898, -0.0216003805, 0.0669934601, -0.0053874273, 0.0022437717, 0.0221031755, 0.0096970592, 0.013504711, -0.019573262, -0.0718749911, 0.0211553499, -0.0424766205, -0.0279532913, -0.0068609458, -0.0343494937, -0.009993623, -0.013040429, 0.0066442033, -0.0208541434, 0.0010963377, 0.042312853, 0.0134372273, -0.0092426352, 0.0011482548, -0.0226229839, 0.0075936117, 0.0078821201, -0.0428344645, 0.0309840646, 0.0425012596, -0.001514746, -0.0276229288, 0.0206276719, 0.0021535002, -0.0261975359, 0.0694746301, 0.0057008807, -0.065433383, -0.0332028233, 0.0649510548, -0.0113661932, 0.023109287, -0.011805336, 0.030258419, 0.0082175862, 0.0394508727, -0.0217949226, 0.0744163692, -0.0106557002, 0.0320198871, -0.0334232263, -0.0007433395, 0.0003433651, 0.02025925, 0.0059728171, 0.0367318094, -0.0203273688, 0.0019907716, 0.0277959742, 0.0592739023, 0.0049051642, -0.0098990817, -0.0379292704, 0.0399900526, 0.0109569151, -0.0377600119, -0.0221934952, 0.0188078042, -0.0154034365, -0.025145147, -0.0407175533, 0.0044746292, 0.0682578534, -0.0299332328, 0.0223754141, 0.0027968367, -0.0223254915, -0.0119081363, 0.0176328998, -0.0064930785, 0.0091702174, 0.0447953641, -0.0678490996, -0.0414036438, 0.0184497498, 0.0256134737, -0.0123908669, 0.0147222448, 0.0443072319, 0.0070524137, -0.0182309169, -0.0206061751, -0.0592585392, -0.0357385874, -0.0128860716, 0.0154172415, -0.0304294191, -0.0084424494, -0.0517660826, 0.0012863559, 0.0242019519, 0.0205426775, -0.0119239483, -0.0053343377, -0.0348397754, 0.0745625719, 0.0339110531, -0.0367064029, 0.025373403, -0.0053720796, 0.0339884683, 0.0534180887, -0.031899441, -0.0091013461, 0.0230903253, -0.0255332105, 0.0043678232, -0.007512751, 0.0175515618, -0.0187571105, 0.050383497, -0.0029365185, -0.0171314664, 0.0551567785, -0.0211830474, 0.0154654421, -0.0032121914, 0.0320483483, -0.0206949897, 0.0327363424, 0.0020815849, -0.088987954, -0.0384950861, 0.0140948212, 0.0085084578, -0.0000853158, -0.0787501857, -0.0091610095, -0.1071310043, -0.0370872952, -0.0217254534, -0.0509571955, -0.0036077073, -0.042139966, 0.0262367837, -0.0201874115, 0.0074425009, -0.0347018428, -0.0075829308, 0.0019139753, -0.0086151874, 0.0505694747, -0.0766755193, -0.0076145511, -0.0369466506, 0.0434354208, 0.0317607857, 0.0470088124, -0.0312089659, 0.0087306248, 0.0039163819, -0.0386508293, -0.0191257186, 0.0158684831, 0.090089038, -0.0365365818, -0.0345213227, -0.0028879966, 0.0185170602, -0.0058291084, -0.0282264464, 0.0165314563, 0.0364854075, 0.0088292686, -0.0252697803, -0.0127785308, -0.0253825691, 0.0141669288, 0.0891718715, 0.0201008283, -0.0422629267, -0.0131542711, 0.0091509363, -0.0253486298, -0.0165871996, -0.0204719342, 0.006226731, -0.0272006206, -0.0722032338, -0.0556807369, -0.0415477715, 0.0279351939, 0.0265629347, -0.012948703, 0.0078867348, -0.032692384, -0.0022063486, -0.0194925498, -0.0326968655, -0.0248943251, 0.032066334, -0.0459444076, 0.0377883688, 0.0250044148, -0.0103088086, -0.0392491706, 0.0180835165, -0.0714650005, -0.0843367502, -0.0021988074, 0.0033439458, 0.0013099433, 0.0240847785, -0.0462436192, -0.0523365028, 0.0706210285, 0.0984955803, -0.0381205752, 0.0076761846, 0.029265739, 0.0098315533, 0.0103139393, 0.0368019715, -0.0448174998, 0.017044792, 0.0862312615, 0.0021455477, -0.0370937772, 0.0167859551, -0.0223326162, 0.0027977696, 0.1040594578, -0.0081419917, -0.0270521101, 0.0029093358, 0.0241442993, -0.0194236077, 0.0014142763, -0.0047455374, -0.001645408, 0.006187696, 0.0044342992, -0.016038686, 0.047212325, 0.0310086347, 0.052543059, -0.0465351492, -0.0198020563, 0.0011047882, 0.0687737986, -0.0005995558, 0.0084860781, 0.0050228788, 0.0358858667, 0.0533971377, -0.0007371749, -0.0217222944, 0.0058835107, 0.023253018, 0.005580673, -0.002508038, -0.0001994054, -0.0574254952, 0.0592187494, -0.0384209752, 0.030840192, 0.0220199041, 0.0382109433, 0.0211363286, 0.0185338836, -0.0290703475, -0.0122114737, -0.0193762705, -0.0333161913, -0.0103284186, 0.0409641042, 0.0187982358, -0.0063300142, -0.0035227377, 0.0787474364, 0.0108816549, 0.063335672, 0.0065649045, -0.0149795106, -0.0449709296, 0.0037397852, 0.0480873026, -0.0256885346, -0.0033939658, 0.0025408776, -0.0572602339, -0.0463833325, 0.0598364472, -0.0707250237, -0.0099756671, 0.0401480682, -0.0190208144, 0.0100524668, 0.02135849, 0.0214465819, -0.0278009586, 0.0153955473, 0.040125303, -0.0640547872, 0.0153106079, -6.146613675e-33, -0.0005685767, -0.0091204084, 0.0064743473, -0.0610562116, 0.0392886586, 0.0026902007, -0.0215486158, -0.0126852319, -0.0242981426, -0.0209405385, 0.0068382849, -0.0106260451, -0.0121868663, 0.0165920686, -0.0569510013, -0.0660363585, 0.0662949309, 0.0121011045, -0.0157802217, 0.0071339956, 0.0579514392, 0.0643661916, 0.0694077611, -0.0827867091, 0.0165590253, -0.0085024573, -0.0350547843, -0.0162260924, 0.0653270036, 0.0528706051, -0.0035148996, -0.0164386183, 0.0300574582, -0.0264566466, 0.000731592, 0.0019527643, -0.1156417727, -0.0034185934, -0.0379748084, 0.0141387936, 0.0130299693, -0.0497852229, 0.0349614471, -0.0345856249, 0.0401032791, -0.0222592186, 0.0267483946, -0.0210462287, -0.0047084, -0.0437993854, -0.0462293886, 0.0376515873, -0.0108786784, 0.0430967584, 0.0396128893, 0.0194729697, 0.0581429936, 0.0398780666, -0.1161177903, -0.0103434641, -0.0076254085, -0.035061229, 0.0133245066, -0.0113125918, -0.0034844107, 0.0516434424, 0.0169096142, 0.0064134514, -0.0195031986, -0.0123518622, 0.0195756331, 0.0241678469, 0.0177603979, 0.1179800332, 0.0358833112, -0.0567731857, -0.1234264225, 0.0113880783, -0.0124170342, 0.016735265, 0.0051027732, -0.0171723813, -0.0545006283, 0.0202216692, 0.0198199991, -0.0512460247, -0.0665387884, -0.0008941042, 0.0250099283, 0.0179226771, -0.0791877657, 0.0433353484, 0.0180981793, -0.0337101296, -0.054319106, 0.0427653566, -0.004520338, -0.0171343274, 0.018031463, -0.007508703, -0.0341709144, -0.0217451863, 0.0445158668, -0.0204371307, 0.0262156725, -0.0209114179, 0.1079759076, -0.0100219408, -0.0881141424, -0.0284487102, -0.0033914866, 0.0494350009, 0.0242861882, 0.0230211243, 0.01370453, -0.0131652914, -0.0049847835, 0.0097566191, 0.06121663, -0.0113913165, 0.0115444651, 0.0732250735, 0.0067329956, 0.0011060351, 0.0022783647, -0.0410283059, 0.0409855358, -0.0068432661, 0.0481680632, -0.0831878483, 0.0096285539, -0.017884545, 2.859e-7, -0.0218246933, 0.0025094326, -0.0018204452, -0.0401725098, 0.026630301, 0.0445667021, 0.0204639807, 0.0828261375, -0.0330114402, -0.0334008932, -0.0182375349, -0.0224289186, 0.0079197865, 0.01680048, -0.11461512, 0.0147498548, -0.0117083313, -0.0040921508, -0.0464621931, 0.0019322706, 0.037886098, 0.0672855079, 0.0241850466, 0.005007579, -0.0188871305, -0.0290787723, 0.0441905856, 0.0150724947, 0.0551788621, 0.0129670538, 0.0109980963, 0.0270114895, 0.0024872397, 0.0080769183, -0.0298018772, 0.0508765467, 0.0353169963, 0.0319500081, 0.0296280086, 0.0103057381, -0.0092355907, -0.044098042, 0.0018830552, 0.0074102441, 0.10635335, -0.0641110688, -0.0596634708, -0.00086721, -0.0522527136, -0.0245838128, 0.0459110178, 0.013004275, -0.0015519541, 0.0040974133, 0.0118730031, -0.0067463778, 0.0188517086, -0.0766615868, 0.0409726351, -0.0027177315, -0.0108573027, 0.0256493092, -0.0009576518, -0.0068425615, 0.0497058891, -0.0453972407, 0.0213678777, 2.571442336e-34, -0.0305140689, -0.0249519944, -0.0229926594, -0.0194307547, -0.0117099015, -0.0291889273, -0.0634433031, -0.0249243751, 0.0131223276, -0.0342807211, 0.0038702493 ]
http://arxiv.org/abs/2312.07950v4
http://arxiv.org/pdf/2312.07950v4
CBQ: Cross-Block Quantization for Large Language Models
2023-12-13T07:56:27
2024-04-15T10:57:16
Xin Ding, Xiaoyu Liu, Zhijun Tu, Yun Zhang, Wei Li, Jie Hu, Hanting Chen, Yehui Tang, Zhiwei Xiong, Baoqun Yin, Yunhe Wang
cs.LG
cs.LG, cs.CL
Post-training quantization (PTQ) has played a key role in compressing large language models (LLMs) with ultra-low costs. However, existing PTQ methods only focus on handling the outliers within one layer or one block, which ignores the dependency of blocks and leads to severe performance degradation in low-bit settings. In this paper, we propose CBQ, a cross-block reconstruction-based PTQ method for LLMs. CBQ employs a cross-block dependency using a homologous reconstruction scheme, establishing long-range dependencies across multiple blocks to minimize error accumulation. Furthermore, CBQ incorporates a coarse-to-fine preprocessing (CFP) strategy for suppressing weight and activation outliers, coupled with an adaptive LoRA-Rounding technique for precise weight quantization. These innovations enable CBQ to not only handle extreme outliers effectively but also improve overall quantization accuracy. Extensive experiments show that CBQ achieves superior low-bit quantization (W4A4, W4A8, W2A16) and outperforms existing state-of-the-art methods across various LLMs and datasets. Notably, CBQ quantizes the 4-bit LLAMA1-65B model within only 4.3 hours on a single GPU, achieving a commendable tradeoff between performance and quantization efficiency.
[ -0.0458986759, 0.0727271885, 0.0137906792, 0.0354141891, -0.0043721735, 0.0152657563, 0.0046498417, 0.0256886799, -0.0101134293, -0.0285816807, -0.005191111, -0.0688552409, 0.0117567386, 0.0003742223, 0.0180061683, -0.0051419763, 0.0354096889, -0.0384390764, 0.0026733228, -0.0188563187, -0.0045214365, 0.0170758106, 0.0514238626, 0.0248188898, 0.0123168584, -0.0261646975, -0.0052171913, 0.0028553628, 0.0053394958, -0.0078127822, 0.0035711776, 0.0693669021, 0.0465429723, 0.0293813255, 0.00000237, -0.0058088386, -0.0248020999, -0.0125615122, -0.0275975019, 0.0508090109, 0.0082746949, -0.03346527, -0.0437829196, 0.0178055204, -0.0027134237, -0.0370094404, 0.0537918136, 0.0136867408, 0.0578133836, 0.0130015574, -0.0060978956, -0.0411775447, 0.0039492105, -0.0246623848, -0.0354158916, -0.0265228227, 0.0206520669, 0.0393446796, -0.0260412898, -0.0160890389, -0.032999523, 0.0301682204, 0.0200553481, -0.0101679061, -0.0383220166, -0.0090029947, -0.0123562375, 0.0012991059, 0.014833279, 0.0482743904, -0.1011480391, -0.0273966249, -0.012317895, 0.0084187994, -0.0363446847, -0.0853441134, -0.0359769464, 0.0654156134, 0.0374902226, 0.0453539602, -0.0161912274, -0.0128676528, 0.0474065393, -0.0032810499, -0.0460741557, 0.0226347838, 0.0288203098, -0.001847702, -0.0306481328, 0.0021412312, -0.0586807355, -0.0516793057, 0.0031386502, -0.033826068, 0.0009201863, -0.0249584392, -0.073070392, 0.0145655107, -0.0096806129, 0.0054778331, 0.0243745614, 0.0695029125, -0.0173212904, 0.0075205015, -0.0183016434, 0.0305856038, -0.0203890447, 0.0141949859, -0.0220348556, 0.0215625819, 0.0032547165, 0.0181410275, -0.0406825244, 0.0186726898, -0.0568025075, -0.0002854558, -0.0467093252, -0.0260967817, -0.0186283998, -0.0315092504, 0.0252804048, 0.0074449289, -0.0176635943, -0.0106671751, 0.0466930494, 0.0137665877, 0.020657029, 0.0113022514, 0.00371809, -0.063928999, -0.0332118757, 0.0431247465, 0.0209613442, -0.0317807347, 0.0352603383, -0.0394632146, 0.0093360934, -0.0510031059, -0.0214997511, -0.0077091707, -0.0015116896, -0.0584953241, -0.0227026045, -0.0775548816, -0.0091375001, -0.0260930471, 0.0162798315, -0.0162704047, 0.0219309572, 0.0247444455, -0.0178005435, 0.0384972207, -0.0393657386, -0.0146998726, -0.0010776634, 0.0269378461, 0.0662284642, 0.0740832314, 0.0299823135, 0.0519258268, -0.0247543622, -0.0015337343, -0.0072584273, 0.0609882921, 0.0484530628, 0.0014140148, -0.0778092518, -0.0302657969, 0.0170656629, 0.0334495641, 0.1011006311, 0.0805787742, -0.0810045227, -0.0334005803, 0.0351527259, 0.0130649004, 0.010589526, 0.0313978717, -0.0014661194, -0.0006390382, 0.0102420105, -0.0137449717, -0.0166321546, 0.0326813832, 0.0184174627, -0.0010649785, 0.0764232203, 0.081540741, -0.0273212548, -0.0066712871, -0.0207715314, -0.0198191237, -0.0050355615, 0.0079503953, 0.0213089176, 0.0008907117, -0.0370705649, 0.0815216228, 0.0311338007, -0.0559791103, -0.0386104882, -0.0881048143, -0.0168101434, 0.0416595526, 0.041117385, 0.0282823425, 0.023416888, -0.0121890465, 0.0024699112, 0.0111603616, -0.0626914576, 0.0142618846, 0.0420912206, -0.0856370777, -0.0245916713, 0.0256311595, 0.0029364584, 0.0071124574, 0.0289787967, 0.0064491048, -0.0033737684, -0.0257654823, -0.0008916465, 0.0103277266, 0.020284187, -0.0336908288, 0.04203289, -0.0037569036, 0.0225678794, 0.0178218968, -0.0231072083, -0.0162495989, 0.0452404879, -0.0738253891, 0.0240259506, -0.0267954394, -0.0263706427, -0.050359685, 0.0535292588, 0.022597149, 0.0338756368, 0.0660583451, -0.0301025603, -0.0503676534, 0.0283830129, -0.0093453964, 0.0320370309, -0.0955856219, 0.0152865807, -0.0117026307, 0.0736813992, -0.0409989618, 0.0223723035, -0.044350341, 0.008082509, 0.0383518375, 0.0071578566, -0.0073633436, -0.0267772079, -0.0331529453, 0.0262873117, -0.0066348589, 0.051743757, -0.0217949748, -0.00916842, 0.014706267, 0.0335473716, -0.0801516175, -0.0003658877, -0.0507913269, 0.0223262794, 0.0208292101, 0.0540952012, 0.0057876781, -0.0218330249, -0.0078007365, -0.0088467449, 0.0093392227, 0.0037495077, -0.0173068549, -0.0079057589, -0.0309981741, -0.0304964948, -0.0550006218, 0.0357982181, 0.0514812097, -0.0877749845, -0.0491825975, -0.0665590614, 0.0271395929, -0.0072553791, 0.0554813072, -0.00491782, -0.0526504703, -0.0015359868, -0.0139875421, 0.003435906, 0.0382932723, -0.0082369838, -0.0239571147, 0.0885253474, -0.0057670777, -0.0379885286, 0.0222766493, 0.0271667484, -0.03108765, -0.0061204345, -0.0406884849, -0.0500121899, 0.0867248029, -0.0026568573, -0.0139595084, -0.0202366225, -0.0087826503, 0.0119836079, -0.0209409893, -0.0273323823, -0.0056061712, -0.0158646535, 0.0468696095, 0.0011450213, -0.0603894703, 0.0018671247, -0.0501454696, -0.0155027844, 0.0080594048, -0.0101358388, -0.0119860116, 0.0435226522, 0.016059747, 0.0446687862, -0.0445524342, -0.0133431023, -0.0327169821, -0.0071511054, -0.0285943821, -0.0427693836, -0.0138451625, -0.0260810181, 0.0432807393, -0.0382066481, -0.0140794441, 0.0216967128, 0.0295716356, -0.0141002955, 0.0259557478, 0.0534761138, -0.0247731525, 0.0258433335, 0.0710926056, -0.0187995061, 0.0449734554, -0.000570008, 0.0197464526, -0.0162238926, 0.0517172292, 0.0414246246, 0.0137943737, 0.0468645394, 0.0112435678, -0.0014017092, 0.0392950997, 0.0158734117, 0.0739577934, -0.0647120625, -0.0089827059, 0.0561297871, 0.0488502122, -0.0156926848, 0.0124313189, 0.0422506481, -0.0252042394, -0.0090604946, 0.0792630613, 0.0177527126, -0.0502674505, 0.0023496249, 0.0099151507, 0.0540933609, 0.0019601805, 0.0167607479, -0.1027097628, -0.0250577983, 0.0327221043, -0.0091033839, 0.0254540015, 0.0100770658, 0.0253828876, -0.0732262582, 0.0450128801, 0.0248910505, 0.0419256724, -0.0454268493, -0.0304261502, -0.0186052676, -0.0164347664, 0.0580437407, 0.0354234576, -0.0101782987, 0.0004004893, 0.0294470806, -0.0192071125, -0.0421913229, 0.032671839, -0.0088302447, 0.0464716814, 0.0493319333, 0.0142384581, 0.013159791, 0.0224350095, 0.0076917037, -0.0075202114, -0.0213534869, -0.0111750374, -0.003214956, 0.0530905165, -0.0134243462, 0.0158919301, -0.001287835, -0.0308729596, -0.0215060394, -0.0445992649, 0.0548665039, -0.0084023019, -0.0115740616, 0.0195413176, -0.0060870005, -0.0000965438, 0.0265952665, 0.0309098419, 0.0055623138, -0.0539506525, -0.0203675032, -0.0053776186, -0.048269514, -0.0234956294, 0.0189672969, -0.0046833609, -0.0288363788, -0.0193505231, 0.0061224322, 0.0276912116, 0.0309892371, -0.0549447015, 0.0015657739, -0.0124203172, 0.0171873979, -0.0984371677, -0.002127805, -0.0423954241, 0.0276827849, -0.0245724469, 0.0247352254, -0.0067420555, -0.0139138773, -0.0127651524, 0.0273688566, -0.1132803857, -0.0507082455, 0.0199572686, 0.0045649717, 0.0131088374, 0.0414794609, 0.0184475929, -0.0625985116, 0.0499894731, 0.065156132, -0.0237141829, 0.0619733632, 0.0109787034, -0.0464307889, -0.0179008748, 0.0558476187, -0.0059343688, 0.0393378101, 0.0000254808, 0.0433642454, -0.0461656637, -0.0428533405, 0.0002153481, 0.0099026561, 0.0315885097, -0.0061671375, -0.0204155482, -0.0014556454, 0.034994103, 0.008499206, 0.0248772874, -0.0556027479, -0.0078619905, 0.0218610093, -0.0243325382, -0.0113698831, 0.0198826119, 0.0230605137, -0.0311801918, 0.0225592516, 0.0045188954, -0.0699957684, 0.0315780789, 0.0518197119, -0.0211292692, -0.0060531837, -0.0061186571, 0.0256909076, 0.0242389012, -0.03919857, -0.0139677683, -0.028971605, 0.0242430028, -0.0487091839, 0.0433514789, 0.0017335372, -0.0307964366, -0.0877075121, -0.0547312908, 0.0650394857, 0.0193051994, 0.0684285238, 0.0372879431, -0.0160371885, -0.0183163881, 0.0217565801, 0.0045910929, -0.0023754418, 0.0334158503, -0.0006884608, -0.0277722534, 0.0068974704, 0.0558992326, 0.0352749042, 0.0441637672, 0.0087820655, 0.0097026555, 0.0030929106, -0.0663430244, -0.0394070297, 0.0027253614, -0.0250036549, -0.0401247852, 0.0121951271, -0.0416605845, 0.0106730154, 0.0252395887, -0.0325960405, -0.0034652117, -0.0015496345, 0.023822926, 0.0189009607, -0.0322651677, -0.0171410181, -0.0280931443, 0.0232336149, -0.0348741002, 0.0270980671, -6.946782966e-33, -0.0236670878, 0.0231962856, 0.0188372675, -0.0958075151, -0.0096484479, -0.0081305671, -0.0023533595, -0.0072004725, 0.003515915, -0.0192155279, -0.0269932114, 0.0275639035, 0.0221483149, 0.0075438423, 0.0046662129, 0.042741064, 0.0926644579, -0.0147074182, 0.0022653211, 0.0513226874, 0.0091316858, 0.0430264659, 0.0645358935, 0.0209475365, -0.0496066734, 0.0070796288, -0.0175852831, -0.0212638099, 0.0040398748, 0.0206258222, -0.049449455, 0.0192467999, 0.0058661089, 0.0023394751, -0.0321096703, -0.0268003717, -0.0525919423, 0.0202839803, 0.0354240127, 0.0171483476, 0.0069782846, -0.0418303534, 0.0265155416, 0.0118549475, -0.0273200478, -0.0478488356, -0.0377610698, -0.0300660972, -0.0340530649, -0.0480937399, -0.0147750089, 0.0283120498, 0.0090183094, 0.0209639631, 0.0730663538, -0.0149653219, -0.0432997495, 0.0114544807, -0.1191226318, 0.0028480606, 0.0212359224, 0.1077574193, 0.0543301813, 0.0252768323, 0.0155354086, 0.0264897309, 0.0478474908, -0.0467845388, -0.0031890215, 0.067671299, 0.0640035644, 0.024818521, 0.0133163892, 0.051198557, 0.1069858819, -0.0086184125, -0.0956631526, -0.0000160001, -0.0025563554, 0.0220487658, 0.019315619, 0.0421042778, 0.0163430776, -0.0463314503, -0.0366118439, -0.0295560621, -0.0391805544, -0.0271059237, 0.0029295022, 0.0317809992, -0.041345764, -0.0008706418, 0.0383394137, -0.0335842744, -0.0079173157, -0.0213491172, -0.0158642717, 0.01578971, 0.0140804416, 0.039908845, -0.0158413183, -0.0364656374, 0.0189376734, -0.024956163, 0.0149282347, -0.0267321244, 0.0256873723, 0.061702054, -0.0845285505, -0.0145663545, -0.0308729373, 0.0109221386, 0.0202310812, 0.0586207882, -0.0041216589, -0.0054883966, 0.0226564538, 0.0319045484, -0.0165388733, 0.0435463265, -0.0230515767, -0.019368263, 0.0188677981, 0.0325332582, -0.0277681798, 0.0137120401, -0.0390486531, 0.0230139084, 0.0587907583, -0.050721664, -0.053662166, 0.0216609631, 2.962e-7, 0.027364755, 0.0257927496, 0.0081833797, -0.005094002, -0.0120286345, -0.0232224055, 0.0022033721, 0.0032869403, 0.0163188428, -0.0142910657, -0.001357817, 0.0173290186, 0.0363295563, 0.0224608891, -0.0553213283, 0.0524755046, -0.0145598324, -0.0168473646, -0.0376398191, -0.0676233917, -0.0132609103, 0.1341834962, -0.0380175374, -0.0412205756, 0.0383955166, 0.0119985733, 0.0250001438, -0.0030088509, -0.0197076295, 0.0325596705, 0.0315827355, 0.0084704319, -0.0131864334, -0.0412543677, 0.0123689147, 0.0042001223, -0.0301252361, 0.0783080533, -0.033579275, -0.0008760276, 0.0155909043, 0.0109989392, -0.0356780961, -0.0307409875, 0.0503992625, 0.004558383, 0.0081367791, -0.1114104092, -0.0147864781, -0.0205915663, 0.0035890832, -0.0178028364, 0.0743115246, 0.0270184688, 0.0252887346, -0.0034566172, -0.0019610825, -0.0603815764, -0.0406585969, -0.0004096872, -0.0281043705, -0.0364289284, -0.0584527031, -0.0017632676, 0.0067966194, -0.0339292102, 0.0405322947, 2.964925065e-34, 0.0325044543, 0.004272751, 0.0374012142, 0.0233326033, -0.0033130515, -0.0487416722, 0.0108122081, 0.0342128649, -0.0804640502, -0.0983607396, -0.0277696587 ]
http://arxiv.org/abs/2312.07930v3
http://arxiv.org/pdf/2312.07930v3
Towards Optimal Statistical Watermarking
2023-12-13T06:57:00
2024-02-06T21:01:28
Baihe Huang, Hanlin Zhu, Banghua Zhu, Kannan Ramchandran, Michael I. Jordan, Jason D. Lee, Jiantao Jiao
cs.LG
cs.LG, cs.CL, cs.CR, cs.IT, math.IT, stat.ML
We study statistical watermarking by formulating it as a hypothesis testing problem, a general framework which subsumes all previous statistical watermarking methods. Key to our formulation is a coupling of the output tokens and the rejection region, realized by pseudo-random generators in practice, that allows non-trivial trade-offs between the Type I error and Type II error. We characterize the Uniformly Most Powerful (UMP) watermark in the general hypothesis testing setting and the minimax Type II error in the model-agnostic setting. In the common scenario where the output is a sequence of $n$ tokens, we establish nearly matching upper and lower bounds on the number of i.i.d. tokens required to guarantee small Type I and Type II errors. Our rate of $\Theta(h^{-1} \log (1/h))$ with respect to the average entropy per token $h$ highlights potentials for improvement from the rate of $h^{-2}$ in the previous works. Moreover, we formulate the robust watermarking problem where the user is allowed to perform a class of perturbations on the generated texts, and characterize the optimal Type II error of robust UMP tests via a linear programming problem. To the best of our knowledge, this is the first systematic statistical treatment on the watermarking problem with near-optimal rates in the i.i.d. setting, which might be of interest for future works.
[ 0.0136622805, 0.0399851948, 0.0078848535, 0.0074504162, -0.0434621349, 0.0024619661, 0.0578005575, 0.0763973072, -0.0210614726, -0.0154752303, 0.0341293029, -0.0050777169, 0.0046446058, -0.0008360944, 0.0399401262, -0.0506829321, 0.0190346465, -0.0053303782, 0.0054351445, -0.0136466464, -0.0318327285, -0.0545062423, 0.029440403, -0.0083624898, -0.0520328432, -0.0054568644, 0.0203733463, 0.0248702075, -0.017309621, -0.0488343351, -0.0710171983, 0.0723204389, 0.0020823572, 0.103374891, 0.0000022602, -0.0387901179, -0.0388962738, 0.0438346714, -0.0195884518, 0.036660511, 0.0471678004, 0.0228218529, -0.0222937837, 0.000143104, 0.0121290991, 0.0347013995, 0.0560670421, 0.0460656248, 0.0300067402, 0.0340239517, -0.025925681, 0.0030267742, 0.0306925755, -0.0035109625, 0.0421397388, -0.0146757644, 0.04658347, -0.0142624751, -0.0250131972, 0.0103749959, 0.0075032613, 0.0676057115, 0.0237018466, -0.0395296365, -0.0230775308, 0.0216719992, -0.0145627558, 0.0192913245, 0.0136602446, -0.0158341657, -0.019755926, -0.02728072, 0.0030986939, -0.0094271274, 0.0092043132, 0.0304771867, -0.0042045149, 0.0118685318, 0.0064482102, -0.0060347202, -0.0216002129, 0.0175913144, 0.0248831324, -0.0045054555, -0.011254332, 0.0055769342, 0.0392702222, -0.0216643922, -0.0313071422, 0.0060814396, -0.0719655529, -0.0560299307, 0.0345801823, -0.0067036333, 0.0517075025, -0.0336983167, -0.0921762437, -0.0804040805, -0.0060348636, -0.0126194078, 0.0355714187, -0.0339116119, 0.0179049037, 0.0455969423, -0.0182038248, 0.037252035, -0.0218892358, 0.0532864593, 0.0346228816, 0.0187492203, 0.0388931185, -0.0289193764, -0.0226664357, 0.0404305421, -0.0029930763, 0.0076674614, -0.02492222, 0.0459127985, 0.0146364952, 0.0514113568, -0.0602237061, -0.0319388993, -0.0471519157, -0.0138990534, 0.0372405462, -0.0680258498, 0.0174697731, 0.0113914739, -0.0101346327, -0.0011773065, 0.0079483576, 0.0443493575, 0.0411779583, 0.0263423473, -0.0116382968, 0.1179758012, 0.0146699995, -0.0431607589, 0.0096054897, -0.031905517, -0.0105375359, 0.0360453576, 0.0005931278, -0.0341274999, -0.0289118886, -0.0327772163, 0.02052968, -0.0361609906, -0.0085822344, -0.0342659317, 0.0217139889, 0.0115276836, -0.02514714, -0.0347573385, 0.0078175375, -0.0061628465, -0.0385448523, 0.0261668209, 0.0353257917, 0.0403147303, 0.0835605413, -0.0115223713, 0.0554216653, 0.0318125598, 0.0092045199, 0.0462024957, 0.0104946271, -0.0190411564, 0.0550182834, -0.010771065, -0.0188881289, 0.0447846055, -0.0397900641, -0.055325985, 0.0179047417, 0.0625780299, -0.0313305631, -0.0177478194, -0.002196844, 0.0161799788, 0.0150956707, 0.0484841987, 0.0020153909, -0.0092911907, -0.0316248946, -0.0269533023, 0.059234757, -0.086088948, -0.0299741365, -0.0151726389, -0.0277423523, -0.0226079114, -0.0343395025, -0.0332708359, 0.0176818799, 0.0293790735, -0.0341627225, -0.023379419, -0.0427748151, -0.0006229641, 0.0336189494, -0.0569980741, 0.0414427035, 0.030025484, 0.0659624487, -0.0357741155, 0.1394838989, 0.0026710574, -0.0292879343, 0.0343292803, -0.0394892544, -0.0053336974, 0.0527654588, -0.0111433528, 0.0048085838, -0.0193793029, 0.0157158915, 0.0260661952, -0.0163369197, 0.0498369187, 0.0195727684, -0.029445298, -0.0177685264, -0.0049568224, 0.0540749729, -0.0587727278, 0.0206396766, -0.0168251712, 0.0392841697, 0.0242762826, -0.0551608466, 0.0332963578, 0.0140495021, -0.0116804764, -0.0499267541, -0.0287870429, 0.0568921678, -0.0126848044, 0.0201345831, -0.088654615, -0.0312952958, 0.021360049, 0.0037629912, 0.0054566232, 0.0152777322, -0.0570550375, 0.0338709503, -0.0345960483, 0.0059237825, -0.009933711, 0.0140377618, -0.0219923947, -0.0026823715, 0.0065929233, 0.0640203059, -0.0337959789, 0.0042792177, 0.0142343976, -0.0454286076, -0.0339254737, -0.0093989149, -0.0674512759, -0.010522658, 0.0274655763, 0.0319620892, 0.0080538718, -0.0374354124, -0.0238385405, -0.0283116195, -0.0073140631, -0.0000923224, 0.0008876061, -0.0279887486, 0.024687605, -0.0240369812, -0.0105627021, -0.0859347433, 0.0149107892, 0.0150438603, 0.0597694777, -0.0159287397, -0.0145658478, 0.0125778047, -0.0367011689, 0.0182847548, 0.0659557804, 0.0244716741, -0.0559101403, -0.0544857122, 0.0473520719, -0.0188455991, -0.0124325519, 0.004769769, -0.0099068554, 0.0137779806, -0.0015833213, 0.0040351753, 0.0668798611, 0.0303504057, -0.0116874734, -0.0360759385, 0.0527172387, -0.0156581327, -0.0257351119, -0.0244329479, -0.0078165261, 0.0352251828, -0.0630552024, 0.0688973293, -0.0224585924, 0.0025097146, -0.0165674072, -0.0269676372, 0.0396399051, 0.0047493041, -0.0219258051, -0.0082252957, 0.0054121492, -0.0087259291, 0.0208263416, -0.0136288404, -0.0296846814, -0.0027698143, -0.0400865264, 0.0163652021, -0.0114978999, 0.0181648023, 0.0286600832, -0.0065660421, 0.0155698126, 0.0253033172, -0.0160494279, -0.0230931602, 0.0115463706, -0.0221665483, 0.0603791066, -0.042734053, -0.0666990802, 0.0118338009, -0.0174566545, 0.0112365764, -0.0297476668, 0.017103998, -0.0767960623, 0.0380391032, -0.0291433278, 0.0239742436, -0.0072592082, -0.0101414481, -0.0057053049, 0.0622713342, 0.0447928086, 0.0039271223, -0.0276229512, -0.022745423, 0.0842350498, -0.018982878, -0.068885304, -0.0044553559, -0.0116904574, -0.0053698919, 0.0700621679, 0.035948474, 0.0644080341, 0.0377842709, 0.0157255586, 0.0309210718, 0.0189180374, -0.0227673966, 0.0297945458, 0.0226506032, 0.0294042695, 0.0261965785, 0.0353631936, 0.0304332618, 0.011863526, 0.0245809183, 0.0365099423, -0.0064098695, 0.0075631123, -0.0170019418, -0.0649579763, 0.0061684707, 0.0087525696, 0.0571653508, -0.0604313985, -0.0061454265, -0.0337059163, -0.0160051417, 0.023055004, 0.0131332641, -0.0072433106, -0.0251891725, -0.0527711436, 0.0088001033, 0.0308006741, -0.0189552847, -0.0436621234, 0.0640402809, -0.0301723536, 0.0560138077, 0.0053670267, -0.0798216537, -0.0165599454, -0.017037157, -0.024284875, 0.0454645529, 0.0108561264, -0.0321822129, -0.0359017625, 0.020865567, 0.0312959105, -0.0195741393, 0.0011809751, 0.0299426951, 0.0054962784, -0.0052193021, -0.0266101602, 0.0049923067, 0.0614225268, -0.02240807, -0.0090130651, 0.0053535458, 0.0520587042, -0.0235460866, 0.0204177462, -0.0219158009, 0.0324825421, 0.0271475036, -0.0053158505, -0.043262288, 0.0067759603, -0.065017134, 0.073295027, -0.04852622, 0.031638097, -0.0411603227, -0.0300963167, -0.0215697959, -0.050916519, 0.0553366356, -0.0565261282, 0.0846866891, 0.0088953245, 0.009398248, 0.0008322386, -0.0420346782, 0.0025374829, -0.0596315823, -0.060717985, 0.0112958513, -0.0511904769, 0.0125594055, -0.0078997463, -0.0140821924, -0.0402746014, 0.0503652021, -0.0647709295, -0.0870982558, 0.0269651636, 0.0146646239, 0.0276363567, -0.0575793162, 0.0064331573, -0.0570033677, 0.032872919, 0.0553280748, 0.0251384601, 0.0168316644, 0.0546129867, -0.0142509397, -0.0153377419, -0.0034249949, -0.0553631037, 0.0020084942, 0.0574497953, -0.038316682, -0.0155638698, 0.0230621994, 0.0091842311, 0.0632595271, -0.0138326352, -0.0105897151, -0.0185868777, 0.0322743319, 0.0433885641, -0.028731849, -0.0169356726, 0.0073950663, 0.0291105006, -0.0057672299, -0.0356272161, -0.0257751979, 0.0127502615, -0.001879322, 0.0088525005, 0.0144086611, -0.0169844888, -0.0233605988, 0.0313354656, 0.0196919218, -0.0080834161, -0.0171040669, 0.0391525701, 0.0376522169, 0.0198386014, 0.0170166586, -0.0290747695, 0.03041788, -0.0097145056, -0.0079249181, 0.0245383028, -0.0881479979, -0.0193028282, -0.0384747982, 0.0360835046, 0.0231970921, 0.0539918244, -0.0610924475, -0.068539694, 0.0059736059, -0.0412723757, 0.0167418215, 0.0084231989, -0.053851299, -0.0315367877, -0.0171282794, -0.0290545356, 0.0340074077, 0.005365557, 0.023922164, 0.0032093094, -0.0441647731, -0.0288754255, -0.0351840854, 0.0325809978, 0.0331241712, 0.0318032242, 0.0179443303, -0.02593196, -0.033778578, -0.0315077379, 0.0189175848, 0.003019559, 0.0534712672, 0.0620675795, -0.0515007563, 0.0161500592, -0.0135899894, 0.0340715759, 0.004358754, 0.0184859186, 0.0257646088, -0.0485173613, 0.0027349808, -6.190771855e-33, -0.0068641976, -0.0569287799, -0.0835432038, -0.0479629599, 0.0628604591, 0.0371713676, 0.0219009668, -0.0103965038, 0.0401319601, -0.0344777554, -0.0193902925, -0.0229509044, 0.0181591567, -0.0036941376, -0.0833421722, 0.0249040667, 0.0169392172, -0.0128099034, -0.0599949509, -0.0237345397, 0.0558445491, -0.0346599519, 0.0159412567, -0.0020083876, 0.0095937802, -0.0169251934, -0.0709385946, -0.0333897471, -0.0213977322, 0.0205769185, 0.0096727675, -0.0092886481, -0.0114798946, -0.0067092809, -0.0301105622, 0.004649031, -0.010884189, -0.0670213327, -0.0039958046, 0.0308085568, 0.0133301383, -0.0651900992, 0.0034144756, -0.0427434593, -0.0599998198, 0.025501186, -0.0080240443, 0.0505000204, -0.0348049365, -0.0454661548, 0.0329698585, 0.0179206803, -0.0297181588, 0.0681701228, -0.0120893326, -0.0037596398, 0.0541457571, -0.0214421265, -0.0481679738, 0.0405023247, 0.022245042, 0.0016674827, 0.0091197295, -0.0487409309, 0.0219360963, 0.0059338557, 0.0044572577, 0.0181891918, 0.047505755, -0.0579832122, 0.0204148348, -0.0540645309, 0.0749216676, 0.0695711523, 0.1224289909, -0.0316844881, -0.0098630572, 0.0258640107, -0.0491081253, -0.0487411618, 0.0608723611, 0.0067517352, -0.0755212381, -0.0243163742, -0.0658912957, -0.0676104128, 0.0153632751, -0.0173761547, 0.0203694832, 0.0094274636, -0.0359451734, 0.0014817235, 0.0379394218, -0.0257303882, -0.0467480533, -0.0158108957, -0.0078746863, 0.0631725639, -0.0413855202, 0.0067011621, 0.0503721461, -0.0100539085, 0.0654524565, -0.0333249979, 0.0170056559, -0.0241265465, 0.0571514219, 0.0164521094, -0.0972546935, 0.0101694213, 0.0228335913, 0.02165691, 0.0504560396, -0.031990733, 0.0166179482, -0.0227047559, 0.0079499148, -0.0730008632, -0.0032615492, -0.0241348762, -0.0021823375, 0.0683940575, -0.0471839346, 0.0349805616, 0.0396549553, 0.0333782099, -0.0166331958, 0.0402382612, 0.0422776379, 0.0157914627, -0.037714202, 0.0035839938, 2.927e-7, 0.0153446645, 0.0185755864, 0.0389449447, 0.0032714291, 0.0378633849, 0.0189565718, 0.0062061395, 0.0307155531, -0.0519397371, 0.0155363027, -0.0286611486, -0.03273445, 0.0338902771, -0.0092309639, -0.0458226278, -0.0122234281, -0.0078700529, 0.0460628644, -0.0104320506, 0.0076778769, 0.0523542799, 0.0665371194, 0.0025583399, -0.0134547036, 0.0084983064, -0.0904300138, 0.0359622017, -0.0180569291, 0.0433846824, -0.00621597, -0.0095926933, -0.002745514, 0.048654031, 0.0313687772, -0.0549075827, -0.0606273487, 0.0366808884, 0.0397371277, 0.0119987503, -0.0074329334, -0.0243821405, 0.0233479701, -0.0075232075, -0.0332135633, 0.001859372, 0.0928042755, -0.028641006, -0.0090447245, -0.0476415046, -0.0293626599, 0.0335909128, -0.0248267129, -0.0149812931, -0.0005910833, -0.0159929302, 0.0689288899, 0.0093444865, 0.0312208422, 0.0178002883, -0.0877668485, -0.0195427407, -0.0401136577, -0.0413427353, 0.049284786, 0.0599263422, -0.0442088731, 0.0036053706, 2.839566628e-34, -0.0040898509, -0.0702147782, 0.0211683027, 0.0115572093, 0.021709431, 0.0057504112, 0.0205108896, 0.0179371275, 0.0316257738, -0.0299491789, 0.0008106857 ]
http://arxiv.org/abs/2312.07913v4
http://arxiv.org/pdf/2312.07913v4
A Survey of Text Watermarking in the Era of Large Language Models
2023-12-13T06:11:42
2024-01-23T13:26:56
Aiwei Liu, Leyi Pan, Yijian Lu, Jingjing Li, Xuming Hu, Xi Zhang, Lijie Wen, Irwin King, Hui Xiong, Philip S. Yu
cs.CL
cs.CL, 68T50, I.2.7
Text watermarking algorithms play a crucial role in the copyright protection of textual content, yet their capabilities and application scenarios have been limited historically. The recent developments in large language models (LLMs) have opened new opportunities for the advancement of text watermarking techniques. LLMs not only enhance the capabilities of text watermarking algorithms through their text understanding and generation abilities but also necessitate the use of text watermarking algorithms for their own copyright protection. This paper conducts a comprehensive survey of the current state of text watermarking technology, covering four main aspects: (1) an overview and comparison of different text watermarking techniques; (2) evaluation methods for text watermarking algorithms, including their success rates, impact on text quality, robustness, and unforgeability; (3) potential application scenarios for text watermarking technology; (4) current challenges and future directions for development. This survey aims to provide researchers with a thorough understanding of text watermarking technology, thereby promoting its further advancement.
[ 0.0494956858, 0.0043575708, -0.007071509, 0.0448840931, -0.0565553643, -0.0067131235, 0.0448212847, 0.0803947896, 0.028071573, -0.0306197535, 0.0020860669, -0.0041865497, 0.018238917, -0.0083350828, 0.0089257825, -0.0403907634, -0.0138325598, -0.0437170975, -0.0096302098, -0.0066263233, 0.0204095542, 0.0198412817, 0.0613774993, 0.0047276523, -0.0283813234, -0.0276961997, 0.0283114929, 0.0035081441, -0.0037127151, 0.0039822469, -0.0509576462, 0.0507363491, 0.0345525481, 0.0854288191, 0.0000019579, -0.043857988, -0.0576615445, 0.0642143413, 0.0109356539, 0.0675643012, 0.0735616833, -0.0027646909, -0.0539936498, -0.0022946317, -0.0011674274, 0.0796206072, 0.0382923894, 0.0580180436, 0.0806877241, 0.0194521211, -0.0279926341, -0.017641468, 0.037790928, 0.0098250527, 0.0101297079, -0.0192451533, 0.0199807175, 0.0522333868, 0.0003904975, 0.0402085818, 0.0158953033, 0.085147962, -0.0154280467, -0.0659630895, -0.0288023613, -0.009039646, -0.0046215449, 0.0166891217, 0.0414179005, -0.0135756861, -0.0450412408, -0.0145670865, -0.003612801, -0.0068158712, -0.0076932157, 0.0449959859, -0.0276367869, 0.0396826528, 0.0306508802, 0.035717614, -0.006777748, 0.0254779477, 0.0019751349, 0.0100012952, 0.0015838117, 0.0151705379, 0.0345415249, -0.0258689821, -0.0502993539, -0.0240527801, -0.0213938896, -0.0402650796, 0.1022061855, -0.0102954991, 0.1009430736, -0.0095123732, -0.1158194765, -0.0936311707, 0.000024933, -0.049697686, 0.05596935, 0.0040897001, 0.0192487519, 0.0326999202, -0.0565591007, 0.0599795543, -0.0309245475, -0.0097354511, 0.0218362547, -0.0315300412, 0.0264978167, -0.0474161096, -0.0335483924, 0.0288302861, -0.0353511684, -0.0106090819, -0.0276998747, 0.0328094363, 0.0318609551, 0.0425828882, -0.0158561226, -0.0598256141, 0.015196261, -0.0236355588, 0.0598777682, -0.0543377176, 0.0417154245, 0.0136869224, -0.0245138761, 0.0090495031, 0.0354562923, 0.0320329666, 0.033222422, 0.0156996679, -0.0178056061, 0.0817573592, 0.0269130524, -0.0152951842, 0.0015999852, -0.022011932, -0.0197324604, 0.0165863112, -0.0090088239, -0.033331871, -0.0337876379, -0.036160782, 0.0189988352, -0.047646556, 0.0377661325, 0.0261598136, -0.029073108, 0.0383165441, -0.0369744375, -0.0271772295, 0.018960312, -0.0063254656, -0.0114116799, 0.0110459775, 0.0513894968, 0.0525512546, 0.0727940053, -0.013677041, 0.0177762322, 0.0547532253, -0.023043992, 0.0030104786, -0.0099049732, -0.0574242286, 0.0683132261, -0.0319140106, -0.0170652103, 0.0578158125, -0.0038065559, -0.0432005897, 0.0836617351, 0.0574764945, -0.0192446616, -0.0010034734, -0.0263880566, 0.0429548211, 0.0267182179, -0.0329687186, 0.0206811056, -0.0165219419, -0.0110704219, -0.0371719971, -0.0089219315, 0.0003894322, 0.0279117841, 0.0041925577, -0.0166747309, -0.027434295, 0.0341343172, -0.0149364239, 0.0331888571, 0.0328258462, -0.0517575629, 0.0149118695, -0.0495411791, -0.0277098399, 0.0265259258, -0.0526022129, 0.0276674628, 0.0601978451, 0.0942342356, 0.0085850758, 0.0874366388, 0.000077348, -0.043218337, 0.0317762308, -0.0698420703, -0.0006868665, -0.0016129109, -0.0538130216, -0.0328989588, -0.0373925753, -0.0088695083, 0.025437884, 0.0055292421, 0.043922469, 0.0538198799, -0.0161676984, -0.022130698, 0.0025565689, 0.0388303176, -0.0048170961, -0.0160897058, -0.0133973593, -0.0022031169, 0.0324837156, -0.0226291791, 0.0236394666, 0.0151575832, -0.0104121445, -0.0286707617, -0.0416862816, 0.0381664746, 0.013259219, 0.0341909155, -0.0399919301, 0.0285198465, 0.0412780456, 0.0141721945, 0.015642887, -0.013932324, -0.043536298, 0.0200330336, -0.0549880117, 0.0193229038, -0.046525415, 0.0427143238, -0.0328488722, -0.0142055312, 0.0076081338, -0.0061205644, 0.0210069139, 0.0053247744, 0.0121712349, 0.0088468548, -0.0557974279, -0.0104513643, -0.0421896465, -0.0001756463, 0.0025821717, 0.0073104086, 0.0281877294, -0.0322027914, 0.0036249144, 0.0165799987, 0.0057365028, 0.0177941769, 0.001593719, 0.0062056812, 0.0220816266, -0.0014020326, -0.0195461381, -0.065282315, 0.0184768029, -0.0049953246, 0.0254854094, -0.0432539955, -0.0392590575, 0.0327947661, -0.0059179938, 0.0385214649, 0.035340175, 0.0071075838, -0.0919720903, -0.0854810551, 0.0631018057, -0.0076763798, -0.0049349088, -0.0038257095, -0.0052572684, -0.0296065006, -0.0214815158, -0.0127023086, 0.046909783, -0.004986661, -0.0243558716, 0.008801843, 0.0040684785, 0.0040486618, -0.0177873187, -0.0528158993, 0.0016987291, 0.0071441419, -0.0348410271, 0.0443229862, -0.0140165566, -0.0003913993, 0.0174840558, -0.0090225283, 0.0000207724, -0.0462285578, 0.0043627438, -0.0239252318, -0.0270701181, -0.0255140737, -0.017906297, -0.0043275645, -0.0358829834, -0.0201395284, -0.0387525931, -0.0026169461, -0.0103496006, -0.0083506368, -0.0063691898, 0.0430512019, -0.0135379266, 0.0357671827, 0.0089629013, -0.0207131635, 0.014811079, 0.0065933741, 0.0636288747, -0.0477207154, -0.0322447009, -0.0013797574, -0.026794089, -0.0044357884, 0.0121343834, 0.0132910255, -0.0452959426, 0.023594562, -0.0014181071, 0.0316851698, 0.0105021801, 0.0068609565, 0.0349324457, 0.0414870977, 0.0063630189, -0.0046640486, 0.0220774245, -0.0304411948, 0.0949708596, -0.0544674136, -0.0977189541, -0.020687269, 0.005349074, -0.0137527538, 0.0668341517, 0.0043692365, -0.0211487487, 0.0527083613, 0.0303187314, 0.0302358344, 0.0266734138, -0.0466190018, 0.0099693239, 0.0377074704, -0.0335897692, 0.0372947901, 0.054989852, 0.0311864298, 0.0224015489, -0.0167657007, 0.0017335255, -0.0283189956, -0.0067306994, -0.0117904488, -0.0681794509, 0.0137738753, 0.0389092155, 0.0077772429, -0.0254052971, 0.0176175032, -0.0301858038, -0.0352718942, 0.0234877579, 0.0251071844, 0.0088690342, -0.0180346146, -0.0169382207, -0.0000721897, 0.0721909404, -0.066037409, -0.0545172393, 0.065527603, -0.0371622629, 0.0155425128, -0.0405010581, -0.0191012342, -0.0198619999, 0.0034023027, 0.0035453774, 0.0591319762, 0.0313485451, -0.0216665156, -0.03611302, 0.0066371714, -0.000645447, -0.021427922, -0.0039331825, 0.03123606, 0.0067777466, -0.0242892671, -0.050373625, 0.0196621306, 0.0819801986, -0.0676851943, -0.0015953819, 0.038166441, 0.0257551838, -0.0143144038, -0.0025616391, -0.0251038354, 0.0198326819, 0.0303298198, -0.0114021171, -0.0414618962, -0.0309733264, -0.0628046542, 0.029227389, -0.0499344915, -0.0305010285, -0.0206642114, -0.0406647474, -0.0421143994, -0.0236279666, 0.0450601727, -0.0411111377, -0.0048846169, 0.0444937125, 0.0710144117, 0.0426829755, -0.034299057, -0.0066991784, -0.078185007, -0.103245914, 0.0334676318, -0.0218011271, 0.0228580944, -0.0079599405, -0.0302259792, -0.0165461469, 0.0089907777, -0.0782387257, -0.0391295888, 0.0111890314, -0.0040117702, 0.0142426137, -0.0299190823, -0.030819878, -0.0778578371, 0.0426784419, 0.0029296845, 0.0145701291, 0.0109433662, 0.0334019996, -0.0129204877, -0.0061531072, 0.0174882058, -0.0615076646, 0.0083718728, 0.065516375, -0.0316083729, -0.0127776703, 0.0217099134, 0.0097390432, 0.0310254171, -0.0372377187, -0.0359010361, 0.031752117, 0.020873474, 0.0149120754, -0.0606081113, -0.0456100404, -0.031549111, 0.0170133263, 0.0394023284, -0.0163721219, 0.0149754705, 0.0035815942, 0.0107102888, -0.0227118693, 0.0122258393, 0.0221612994, -0.0087904846, 0.020332003, 0.0384276845, 0.0194846895, -0.0026323069, 0.0448286384, 0.0207708515, 0.0018240958, 0.0077384459, 0.019677354, 0.0106783714, -0.0066939159, -0.0040004072, 0.0286778789, -0.0498237722, 0.0108654434, -0.0385121554, 0.0322008431, 0.0336045809, 0.0210758019, 0.0103812553, -0.0710536614, 0.0009762497, -0.0219113771, 0.0219856743, -0.0081298957, -0.0445832573, -0.0391878448, -0.0473332442, -0.0171647388, 0.0294827297, 0.0143490443, 0.021795921, 0.025698917, 0.0114730848, -0.0738195106, -0.0233737174, -0.0069401772, 0.0557145327, -0.0091796508, -0.0214662328, -0.0141567811, -0.0247149486, -0.0210235994, 0.0288614389, -0.0140920272, 0.0001981169, 0.0012079494, -0.0455133989, 0.0001638991, -0.0215259157, -0.0092832698, -0.0344918519, 0.0232448056, 0.0068864203, -0.0404193178, 0.025501376, -4.866771793e-33, 0.0173678752, -0.0371704102, -0.0582615919, -0.0141020045, 0.0122081088, 0.0520596802, 0.0061278641, -0.0271347389, 0.0304254871, -0.0099326316, -0.0065720635, -0.0211740322, 0.0177892856, 0.0003629976, -0.0741965994, 0.0309754461, 0.0059300023, 0.0089828391, -0.0086058937, -0.0112038078, 0.033212401, -0.0075147618, 0.0238080826, -0.0687560141, 0.0376870707, -0.0574385934, -0.0745573342, -0.0478084758, -0.0102312341, 0.0348455645, -0.013541624, -0.0134622203, -0.0107814055, -0.0215700064, -0.03858741, 0.0683982074, -0.0100651653, -0.0126194637, -0.0204882193, 0.0627515242, 0.0449694954, -0.0481777601, -0.006370028, -0.0337689444, -0.0298759211, 0.0306864139, -0.0039861621, -0.0136091728, -0.0201200563, -0.0106296698, -0.0165762063, 0.0165713541, -0.013407792, 0.0295754466, 0.0448948331, 0.0013217531, 0.0379775614, 0.0169001464, -0.0961264521, 0.0214849114, 0.0050903661, -0.0304276291, 0.0171897914, 0.006822296, 0.0165035091, 0.0029069644, -0.0374933518, -0.0029911546, 0.0269290898, -0.0015188354, 0.0009289821, 0.0115574468, 0.0918981954, 0.0497693084, 0.0717981085, -0.0165505111, 0.0114562036, 0.0306831859, -0.0867861882, -0.0393788777, 0.0848252401, 0.0157623179, -0.0362167358, -0.0334414653, -0.0649739802, -0.0476799421, 0.0173930526, -0.0167289283, 0.0431121476, -0.0068002748, -0.0287080314, 0.0197541397, 0.0274791233, -0.0648134425, -0.0622510761, -0.0171891171, -0.0370874032, 0.0796526745, -0.0289523881, 0.0263827667, 0.0185609162, 0.0143978149, 0.0492212102, -0.0529346168, -0.0044735414, -0.0242262408, 0.044956509, -0.0051280251, -0.0563693084, 0.0054258648, 0.0303916819, 0.0007742059, 0.0595953204, 0.0203089304, 0.0034638126, -0.0487274826, 0.0114390673, -0.0551609509, 0.0350644141, -0.0180212427, 0.0138464104, -0.0272646341, -0.0159711558, -0.0069584684, -0.0036228108, 0.03015255, -0.0058023636, 0.0445075594, 0.0499895029, 0.0108788526, -0.029459184, 0.0052828062, 2.385e-7, 0.066389896, 0.0369342305, 0.0291952174, -0.0174945761, 0.0159420092, 0.0425325409, 0.0087047331, -0.0039029804, -0.0232079681, 0.0516265593, -0.0127289966, -0.0218869504, 0.0839631408, -0.0386481807, -0.0533612147, 0.0116727222, -0.0075693261, -0.0078251278, -0.0235693939, 0.0448507182, 0.0510371961, 0.0515801497, 0.0456802621, -0.04018379, -0.0028836159, -0.0603837408, 0.0618492141, -0.0292474665, 0.003684242, -0.0253998507, -0.041999802, 0.0140923299, 0.0187402647, -0.0017611034, -0.0278030355, -0.0091280164, 0.0382086188, 0.0555444881, -0.0220926218, 0.0859315917, -0.0205882695, -0.0189908911, -0.0043000728, -0.0521953329, 0.0555982105, 0.1159953326, -0.0386810936, -0.0687831417, -0.0238384809, -0.0484860763, 0.0303151067, -0.0515499674, -0.0187429804, -0.016059462, 0.0110669276, 0.0462324098, -0.057642553, -0.0429668985, -0.0174401253, -0.0701746717, -0.004287763, 0.0148366252, -0.0702626258, 0.0088831447, 0.0781727284, -0.0583187193, 0.0542548932, 2.447463268e-34, -0.0098973103, -0.0863071755, -0.0213555153, 0.04465634, 0.0293840971, 0.0244017374, 0.0117831631, 0.0268582143, -0.0172761381, -0.0481284894, 0.0135346539 ]
http://arxiv.org/abs/2312.07910v2
http://arxiv.org/pdf/2312.07910v2
PromptBench: A Unified Library for Evaluation of Large Language Models
2023-12-13T05:58:34
2024-01-05T14:45:00
Kaijie Zhu, Qinlin Zhao, Hao Chen, Jindong Wang, Xing Xie
cs.AI
cs.AI, cs.CL, cs.LG
The evaluation of large language models (LLMs) is crucial to assess their performance and mitigate potential security risks. In this paper, we introduce PromptBench, a unified library to evaluate LLMs. It consists of several key components that are easily used and extended by researchers: prompt construction, prompt engineering, dataset and model loading, adversarial prompt attack, dynamic evaluation protocols, and analysis tools. PromptBench is designed to be an open, general, and flexible codebase for research purposes that can facilitate original study in creating new benchmarks, deploying downstream applications, and designing new evaluation protocols. The code is available at: https://github.com/microsoft/promptbench and will be continuously supported.
[ 0.0069535156, 0.071801804, -0.0086909747, 0.0617005639, -0.0652184784, -0.0122287916, 0.0633823499, -0.0126876235, 0.002428266, -0.0369947925, -0.0279429089, -0.0643805712, 0.0175850149, 0.0408871807, 0.0460677966, -0.0192779414, 0.0413215905, -0.0562435389, -0.0010674741, 0.0055644, -0.0030972555, -0.0197527483, 0.0146851251, 0.033544261, 0.0297492687, -0.0199167244, -0.0131185157, 0.0093234889, 0.0048307325, -0.0300294906, 0.0027339545, 0.0548557378, -0.0124638425, 0.0890177265, 0.000002027, -0.0615732484, -0.0206393227, 0.0319984332, -0.0314056352, 0.0792977661, 0.0419915505, -0.0029869485, -0.0344590805, 0.0341127105, -0.0259028245, 0.0030716085, 0.0325365178, -0.005797301, 0.0427666008, 0.0902128667, 0.0043435222, 0.002134508, 0.0159708727, -0.0511966236, -0.0365131237, -0.0401470028, 0.03907381, -0.0212641433, 0.0048489007, 0.0162211098, -0.000183456, 0.0072855866, 0.0227666479, -0.0281756278, -0.0417022631, 0.0159128644, -0.0242094863, -0.0100158481, -0.0213297717, 0.0492404476, -0.0242025964, 0.003319188, -0.0031726235, -0.0121730287, -0.024266623, 0.012752858, -0.0235458892, 0.0348208211, 0.0283834208, -0.0054816054, -0.0017416212, 0.0009235181, 0.0478439853, 0.0207168683, -0.007764793, 0.0726764426, 0.0396824628, -0.0028118137, -0.0136914719, -0.0550389141, 0.0125690224, -0.0698403642, -0.0195946563, 0.0021517416, -0.0142260687, 0.0186219811, -0.0571584068, -0.0200324394, 0.0613266118, -0.0125869419, 0.0668122098, 0.0244928785, -0.0253524762, 0.0458244756, -0.0171647221, 0.082680136, -0.0085359262, 0.0139132813, 0.008548039, 0.0158953536, -0.0079052784, 0.0144696031, -0.0017124352, 0.0004712825, -0.0084491735, -0.002802629, -0.0296550989, 0.0387981199, 0.014373932, 0.0449018478, -0.0162007567, -0.0607405826, 0.0101892361, -0.0028995282, 0.0189361759, 0.0029061032, -0.0202691872, -0.0066275066, -0.0120789921, -0.0971821621, -0.0091773449, 0.0251315963, -0.0459800251, -0.046196904, 0.000743726, 0.0760771185, 0.0507550277, -0.0509436168, -0.0243906211, -0.0266059414, -0.0280632656, -0.0598896779, -0.029126063, -0.095793575, 0.004287601, -0.013468028, -0.0194367655, -0.0445292071, -0.0132333543, 0.0068680858, 0.0001845793, 0.0499008112, -0.0020460454, -0.0087221004, 0.0140627902, 0.0164545644, 0.0063593523, 0.0821072087, 0.0002915035, 0.0657702386, 0.0661926642, -0.0227170736, 0.0068308227, 0.0769155696, 0.0059083984, 0.0496279709, -0.0323108435, 0.0404613875, 0.0688772351, -0.0110611962, -0.0294413287, 0.0708804056, -0.0122757088, -0.0367747508, 0.089667283, 0.034373235, -0.0214057751, -0.0157125015, 0.0141840735, -0.006075066, 0.0239717048, -0.0225100778, -0.0598902628, -0.0133047281, -0.0522023551, -0.0099891135, 0.0279180538, 0.0362360924, -0.0167337023, -0.0079826005, -0.0209414791, -0.0317652337, 0.0099213198, 0.0151948743, 0.046963755, -0.022455126, -0.0389811061, 0.0179790612, 0.0077794595, -0.0507896692, -0.0178571418, -0.0788192376, 0.0080318041, 0.0448005274, 0.0694478154, -0.0255344585, -0.0042519839, -0.019006446, 0.0154410712, 0.0488011055, 0.0493320525, -0.0003966614, 0.0103404205, -0.0292219799, -0.0321021415, -0.0196061898, 0.0238699336, 0.0462979749, 0.0285701882, 0.0128693888, 0.0203695297, -0.0148167238, -0.0308406446, 0.0371476784, -0.0304307025, -0.0122892857, 0.0146844462, -0.0027236466, 0.0373632163, 0.0155396918, -0.0482016914, 0.0224232599, 0.0390965529, 0.0024661839, 0.0177606847, -0.0426460281, -0.0013410783, 0.0113391327, 0.059836939, -0.001512188, -0.0000385603, 0.0575944558, -0.0451763161, -0.0359269083, 0.0408114083, -0.0062584803, -0.0006064402, -0.0373943374, 0.0367902778, -0.0629350096, 0.0544952974, -0.0353598967, 0.0197447836, -0.0180499982, 0.0412305221, 0.0225247778, 0.0511257984, 0.0388065092, -0.0435049832, -0.0738067403, 0.0134051684, -0.0300007444, 0.0035727385, 0.0217765532, 0.0047399299, -0.0170928072, -0.0270585343, -0.0692676604, 0.0368482098, -0.0362567678, 0.05034196, 0.0333735012, 0.0125810606, -0.0300740264, 0.002233326, -0.0208782256, -0.0270134639, -0.0180667602, 0.0416634902, 0.0074956059, -0.0188599862, -0.0656758547, -0.0414599665, -0.0292779896, 0.0035682255, 0.0829307511, -0.015638629, -0.0252691116, -0.0144387297, 0.0258357059, -0.0113448175, 0.0258122627, -0.0368873179, -0.0493600704, 0.0335689522, -0.0119873323, 0.0444779247, 0.0540390387, 0.0112655787, -0.0042342837, 0.0760631636, 0.0046257102, -0.040103171, -0.044565741, 0.0168161225, -0.0249370392, -0.0306354351, -0.0582724735, 0.0110996217, 0.0467691682, 0.0275797602, -0.0234379303, -0.0184848607, -0.0075355275, -0.0181829911, -0.0073083909, -0.0459675416, -0.0317891389, -0.0296079107, 0.0336606614, -0.0089645926, -0.084747985, 0.0630446672, -0.0879818276, 0.0121555235, -0.004138242, -0.0299350712, -0.0230061691, 0.0769265965, -0.0031158449, 0.0053815776, 0.0100819869, -0.0158828031, -0.0268161036, -0.0359761529, 0.0212043487, -0.0412998646, 0.0183884595, -0.036351677, 0.0158990268, -0.0221001934, 0.009781857, -0.0539984033, -0.0532624684, -0.0290444903, 0.0292861313, 0.0155475419, -0.038366273, -0.0092986953, 0.0189258158, 0.0280711502, 0.044193659, -0.0240282994, 0.0202913545, -0.0098440936, 0.021246437, 0.0383906849, -0.0308754668, 0.0349714085, -0.0218312982, 0.0459269695, 0.0471322648, 0.0362000354, 0.0388440862, -0.055973202, -0.0251710452, 0.0235890858, -0.0382401496, 0.0079164794, 0.0468932539, 0.0339717418, -0.0394822024, 0.0075730612, 0.1100776568, 0.0421045758, -0.034541294, -0.0003437362, -0.020890113, 0.0311307609, 0.0198225752, 0.0113111855, -0.0769558698, -0.005615118, 0.0238920487, 0.0363995135, -0.0138945999, -0.010910539, -0.0172758363, -0.1107387841, 0.0095746107, 0.0008248524, -0.0349931829, -0.0245166756, -0.0889199525, -0.0035809088, 0.0034478954, 0.0494440384, 0.0226816759, 0.016945539, -0.0210860185, -0.0078452984, -0.0461029187, -0.0559292212, 0.054076273, -0.0439246483, 0.0772202238, 0.0908213779, 0.0066804821, -0.0204161908, -0.0054224432, 0.05870381, -0.0120353661, -0.0401202515, 0.0133948475, 0.0217278507, 0.029563196, -0.0164294206, 0.0135661196, 0.020856576, -0.0169810094, 0.0006029196, 0.0373055972, 0.0320751481, -0.0158446096, -0.0129040852, -0.0068940874, -0.0139204729, 0.038786862, 0.0897101164, 0.0408605486, -0.0329052322, -0.023772344, -0.046235282, -0.0340546332, -0.0363761373, -0.0295102745, 0.0515795872, 0.004620472, -0.0269855075, -0.0340005644, 0.0021257736, -0.0048114681, 0.0022065558, 0.0198204573, 0.0047499123, -0.0348148569, -0.0083050216, -0.0332187228, 0.0127182556, -0.0292328205, 0.0756517202, -0.0797682106, 0.0191715267, 0.0047218627, -0.0138526661, -0.0214522444, 0.0314379223, -0.1001640931, -0.0972959474, 0.0044403085, 0.0414804108, 0.0192993321, -0.0069455341, -0.0392691866, -0.0745721385, 0.0640209541, 0.0074197287, -0.0213634241, 0.0052897385, 0.0355096869, -0.0336936526, 0.009072775, 0.0315750316, -0.0466786623, -0.0022546621, 0.0592761971, -0.0137373582, 0.0057126004, -0.0510025173, -0.0141566498, 0.0669806525, 0.0509921163, -0.0431903228, -0.0131033417, -0.0053841313, 0.0089631034, -0.0449456088, -0.0173094496, -0.0075502475, -0.0007992515, 0.0364935547, -0.0109160738, 0.0111234523, 0.0079861153, -0.0188674424, 0.0069532287, -0.0297355931, 0.0691843703, 0.0091106994, 0.048116751, 0.0610917695, -0.0088671297, -0.0338206328, 0.0309947021, -0.0373570696, 0.0273272414, -0.0084644286, 0.0211451445, -0.0061911745, -0.0071580983, 0.0085882237, 0.0591511577, -0.0545604862, -0.031733226, 0.0074070762, 0.0525693893, 0.0249624494, 0.026033124, 0.0335307121, -0.0246654004, 0.0171446614, -0.055715166, -0.0112139676, 0.0103812348, -0.0554666929, 0.0399409644, 0.0051595969, -0.0175494198, 0.0528092645, 0.0689688474, 0.0031590778, 0.0188567806, 0.0372055136, 0.0044425861, -0.0486242883, -0.022949772, 0.0030327344, 0.003915905, -0.0725967512, -0.0212588534, -0.0352138169, -0.0657861233, 0.0054849442, 0.037926659, 0.0181054994, 0.0409066379, 0.0054657781, 0.0520597734, -0.0063384809, 0.043139413, -0.0633289814, 0.0198845211, 0.0065953396, -0.0554818437, 0.0022592533, -6.473208618e-33, 0.0025036635, -0.0234454069, -0.0084360465, -0.0367851295, 0.0000653847, 0.0192678459, -0.0328965746, 0.0026833508, -0.032808017, -0.0382520184, -0.0110711493, 0.0006787892, 0.0161652397, 0.0287388358, -0.0415911525, -0.0014651165, 0.0143566504, -0.0031814051, -0.0421185009, 0.0251875389, 0.0350793675, -0.0018639589, 0.033138372, -0.0352527425, 0.0562354885, -0.0180653185, -0.0404877625, 0.0028002704, -0.0108083421, 0.058008898, -0.018077394, 0.0232815705, 0.0007809051, -0.0453588516, -0.0136944251, 0.0440868139, 0.0009798029, -0.007922709, 0.0130716702, 0.0169629194, -0.0035636325, -0.0475637875, 0.0134542566, -0.0318204351, -0.0160699021, 0.0021475726, 0.0040196078, -0.007739394, -0.0335516967, 0.0033932168, -0.0227209516, 0.0381371304, -0.0225359872, 0.0011648458, 0.0067011761, 0.0180985425, 0.0134219555, 0.0256536156, -0.0459089652, 0.0420214683, 0.023812741, 0.0406868085, 0.0675956532, 0.0248739161, 0.0105466358, 0.0572327748, 0.0071212221, -0.0005218746, 0.0084891822, 0.0094149373, 0.046159666, 0.0135774631, 0.0832906961, 0.0607068762, 0.0015812778, -0.0305387825, -0.0804384574, 0.0267154947, 0.0839552656, 0.009828046, 0.0539801009, -0.0103590013, -0.037862733, -0.000286321, -0.0473223627, -0.0311254784, -0.0505548194, -0.0225514658, 0.0280744806, -0.0194900073, -0.039806094, -0.0426830687, 0.045968432, -0.0616992936, -0.0139470315, 0.0460983552, -0.0091253212, 0.012136383, 0.0000370675, 0.048801057, -0.0158766694, -0.0225991048, 0.022560535, -0.0315482505, 0.012568254, -0.0223125368, 0.0046746656, 0.0367853716, -0.0859202668, -0.0012063629, -0.0264810584, 0.0397368781, 0.028128013, 0.0446552411, 0.0205051005, -0.0289158262, -0.0077145901, 0.0220740456, 0.0220187008, -0.036326319, -0.0073105865, 0.0257154442, -0.0071412316, 0.0260920599, -0.0113938488, 0.0129728783, -0.0355254486, 0.0498449691, 0.0441766381, -0.007759905, -0.0066766348, -0.0135661028, 2.728e-7, 0.0246367548, 0.0372397043, 0.0070542749, 0.0328805074, 0.0220585074, 0.0236482807, -0.0559399463, 0.0544216819, -0.0190685634, -0.0244565587, -0.034913253, -0.0015492891, 0.0697758794, 0.0293357987, -0.0717212781, -0.0014328486, -0.0947413743, 0.0090681715, -0.0559941828, 0.0074242889, 0.0202259365, 0.1259574294, -0.006008599, -0.0002514173, -0.0250879172, -0.0576400124, 0.0016330761, -0.0322289169, -0.0116658537, 0.0219401643, 0.0383724347, 0.0098005114, 0.0171617549, 0.0261156783, -0.0093083559, 0.0121490723, -0.0242339019, 0.065606229, 0.0341126882, -0.0328944325, 0.0001602442, -0.0513714813, -0.0177226439, -0.0637487173, 0.0854612216, 0.0144130569, -0.0419138931, -0.0575999953, -0.0146834245, -0.0167570263, 0.0454692207, -0.0437434874, -0.009209279, 0.0291133635, 0.0164457578, -0.0439181924, 0.0137850819, -0.0475807041, -0.0540885441, -0.0440807641, -0.0400675088, -0.0613307282, -0.0252387803, -0.0154755618, -0.0003249218, -0.0282991286, 0.0226383284, 2.760449889e-34, 0.0394963846, -0.0385532938, 0.0008511967, -0.0194682032, 0.0217974354, -0.001954505, -0.0190642271, 0.0138676083, -0.0066340161, -0.0869961083, -0.0179947279 ]
http://arxiv.org/abs/2312.08400v1
http://arxiv.org/pdf/2312.08400v1
Beyond English: Evaluating LLMs for Arabic Grammatical Error Correction
2023-12-13T05:33:25
2023-12-13T05:33:25
Sang Yun Kwon, Gagan Bhatia, El Moatez Billah Nagoudi, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
Large language models (LLMs) finetuned to follow human instruction have recently exhibited significant capabilities in various English NLP tasks. However, their performance in grammatical error correction (GEC), especially on languages other than English, remains significantly unexplored. In this work, we evaluate the abilities of instruction finetuned LLMs in Arabic GEC, a complex task due to Arabic's rich morphology. Our findings suggest that various prompting methods, coupled with (in-context) few-shot learning, demonstrate considerable effectiveness, with GPT-4 achieving up to $65.49$ F$_{1}$ score under expert prompting (approximately $5$ points higher than our established baseline). Despite these positive results, we find that instruction finetuned models, regardless of their size, are still outperformed by fully finetuned ones, even if they are significantly smaller in size. This disparity highlights substantial room for improvements for LLMs. Inspired by methods used in low-resource machine translation, we also develop a method exploiting synthetic data that significantly outperforms previous models on two standard Arabic benchmarks. Our best model achieves a new SOTA on Arabic GEC, with $73.29$ and $73.26$ F$_{1}$ on the 2014 and 2015 QALB datasets, respectively, compared to peer-reviewed published baselines.
[ 0.0540421009, 0.0364658423, -0.0007296632, 0.0034558875, -0.0598425679, 0.0418998785, 0.0350538343, -0.0317499749, -0.0405259281, -0.066959247, -0.0405272096, -0.0697954744, 0.0460684337, -0.0461688936, 0.060181953, -0.0076319957, 0.0402704477, -0.0517471358, -0.013392509, -0.007757477, 0.0274041072, 0.0321787745, -0.0388663448, 0.0283340607, -0.010230219, -0.0434048586, -0.0108445995, 0.0289066769, 0.025356045, -0.0011917052, 0.0424327999, 0.0830312297, -0.0230920129, 0.0546881855, 0.0000019851, -0.0533427298, -0.0169060845, -0.0104788747, -0.0272499584, 0.0516011938, 0.018684214, -0.0678629056, -0.083220996, 0.0062632626, 0.0025595722, 0.0164448805, 0.0564166717, 0.02993563, 0.0555053465, 0.0784499198, 0.0101530934, -0.0214151945, 0.0400694311, -0.0381881893, -0.0072011226, -0.0212538708, 0.006190157, -0.0286009926, -0.0259370636, 0.0150015028, -0.0450374931, 0.0365042165, 0.00452956, -0.0278378278, -0.0288291443, -0.0155818714, -0.0505447537, -0.0214843024, -0.0103387795, 0.0391992554, -0.018791981, -0.0170139577, -0.0279862899, -0.0013175698, 0.0058936151, 0.0100674508, -0.0081885764, 0.0343955718, -0.0074004005, 0.0229010098, 0.0744743273, -0.0575301014, 0.0139347585, 0.0129002621, -0.021497447, 0.0128605496, 0.030192459, -0.0600984283, -0.004697457, 0.0524146371, -0.0237945467, -0.0329143405, 0.003146016, -0.0256778058, -0.0564111024, -0.0308788344, -0.0360131636, -0.0179124866, 0.0275540072, -0.0104039423, 0.0807969794, 0.0627515092, -0.0262963045, 0.0274225567, -0.0485844165, 0.0542296171, 0.0403450727, 0.0363656953, -0.0123503841, 0.0230590515, -0.0494338945, 0.0213194825, -0.0379651301, 0.0160776637, -0.0638522878, 0.0342702828, -0.0740755573, -0.0055489121, -0.0179906525, 0.0646634474, 0.0110736182, -0.0425857008, -0.05638735, -0.0470157564, -0.0097541437, 0.012446709, -0.0209696144, 0.0347152203, -0.0070034279, -0.1037047133, -0.0306159742, 0.0010644241, 0.0154946484, 0.0035487399, 0.0003189119, 0.027406266, -0.0194203034, -0.0742130801, -0.0325508118, 0.0222384837, -0.0345311165, -0.0631130785, -0.0502823219, -0.0731338859, 0.0140083833, -0.0169012491, 0.0032597978, 0.0077915313, -0.001963276, 0.016500771, 0.0201079696, 0.0775717422, 0.0012590669, 0.014841537, 0.0211468935, -0.022620324, 0.0359323248, 0.0538343228, 0.0244882405, -0.0350556374, 0.0157844946, 0.0145798307, 0.0317432247, 0.0414526127, -0.0324499048, 0.0145781003, -0.0104164742, -0.0366603695, -0.0051020845, 0.0752255246, 0.024593154, 0.0594693087, -0.0331263095, 0.0372287631, 0.0815720409, 0.0220852364, -0.034419734, 0.0170889106, 0.0479786918, 0.0186605062, 0.0201012231, 0.0257563964, -0.0566369183, 0.0135855125, -0.020255141, 0.0142972544, 0.0501637012, 0.0611981973, -0.0209778044, -0.054046575, -0.0094961198, -0.0075489199, -0.0262053255, -0.0197113901, 0.0722552389, 0.023981059, -0.0421198756, 0.0025814029, 0.0217508432, -0.0157395843, -0.0067589148, -0.0417366251, 0.0023640501, 0.0513523445, 0.0461804308, 0.0145861898, -0.0700242817, -0.0433012508, -0.0012165635, 0.0486031137, 0.070140779, -0.0095743677, 0.0028064097, -0.0494836159, -0.0042123329, 0.0044454164, 0.0385426395, -0.0247496907, 0.0291657709, 0.0177137535, -0.0012536594, -0.0214939881, -0.0300236307, 0.0362731777, -0.0244355798, -0.0217630006, -0.0133940512, 0.0174181312, 0.0171466786, 0.0175184775, -0.0250147581, -0.0056590568, -0.0243290383, -0.0297980253, -0.0065690377, -0.0409972332, -0.0401025414, -0.0491210148, 0.0255976114, 0.0052389624, -0.0397792459, 0.0054059247, -0.0572791249, -0.0347182266, 0.0224023424, -0.0171162095, 0.0040530683, -0.0578325875, 0.0579928122, 0.0362660252, 0.0162033588, -0.0379028358, 0.0176631939, -0.0082237497, 0.0069028125, 0.0169143695, -0.0184215661, 0.0187859535, -0.0196651593, -0.0202708635, 0.0042878729, 0.0097888354, 0.0209030602, 0.0320646428, 0.037077114, -0.0512877144, -0.0475388914, -0.0670099184, 0.0123345582, -0.0372325331, 0.0502497032, 0.0085116718, 0.0023708562, -0.0273391437, -0.0221623927, -0.0053402134, 0.0040298034, 0.0080880914, 0.0377935544, 0.0600195453, -0.0281422324, -0.0021654677, -0.0610334761, -0.0112845097, 0.0074136164, -0.0120168105, 0.0191142913, -0.0223134942, -0.0304143075, 0.0082086176, -0.0159091838, 0.0122638308, 0.0367172696, -0.0745752677, 0.0216471367, -0.0290939864, 0.0624925643, 0.0525864065, -0.0186097901, 0.0009855714, -0.0020999066, -0.0150671033, -0.0514636189, 0.0105314814, 0.0003378153, -0.0869806334, -0.0366500132, -0.0190486927, -0.0365464836, 0.0529471822, -0.0011114876, -0.0180464815, -0.0531418025, 0.0411874652, -0.0063726595, 0.0084794099, 0.0077292467, 0.0340298936, -0.0026640499, 0.05430701, -0.0356932618, -0.0481594838, 0.0499327891, 0.0040895906, 0.0080473926, 0.0134334872, 0.0349884517, -0.0022155908, -0.0221083853, -0.0119448286, 0.0060232123, -0.0128282895, -0.0478388965, -0.0823086575, 0.0107384715, 0.047674194, -0.0226211622, 0.0285841208, -0.0899366066, 0.0197921935, -0.0034917595, -0.0671180263, 0.0003470831, -0.0259332433, -0.0474653468, -0.0252461135, -0.0009500291, -0.0120017314, -0.0212196801, -0.0161490459, 0.0241621397, 0.0475850478, -0.0191994868, -0.024151044, -0.0203091558, -0.014301003, 0.0146700284, 0.0192059446, 0.0259831976, -0.0243326426, 0.0580370761, 0.0518678278, -0.0244893469, 0.0178511553, -0.0335369967, 0.0035364339, 0.0580377616, -0.0233874042, -0.0592619106, -0.0323148109, 0.0778543502, -0.0620910265, -0.0239951555, 0.1108700857, 0.0337055027, -0.03403005, 0.0033609224, 0.0116178691, -0.0197708756, -0.0099027045, 0.0041218083, -0.1051746905, -0.031372048, 0.0528059155, 0.0327640735, -0.0002881688, 0.00038715, 0.0486918353, -0.1506490558, 0.0485987626, 0.0193646047, -0.015972307, -0.0503924973, -0.0111273983, 0.0254868511, -0.0208248179, 0.0315025635, 0.0026736816, -0.0101503506, 0.0261321962, 0.0312661156, 0.0039622895, -0.1168132946, 0.0200941768, -0.058494065, 0.0770963654, 0.0714713484, -0.0089729, 0.0111986436, -0.0140653523, 0.02516477, -0.0210862532, -0.02048577, -0.0003607357, 0.0287304297, 0.0031168573, -0.0272744708, -0.0154409371, 0.0282363389, -0.0406398997, 0.0146903703, -0.022649521, 0.0497690514, -0.0069233272, 0.0390017629, 0.0434737206, -0.010465716, -0.0374062583, 0.0342542008, -0.0015102939, -0.0479322709, -0.0414250121, -0.0445720889, -0.0127481567, -0.0683503449, -0.0149596408, 0.010785562, -0.0023384874, 0.0218046568, -0.0755202547, -0.0783244073, 0.0422751047, -0.001531336, 0.0107119894, 0.0031461644, -0.0149889709, 0.0206366647, 0.0283899866, -0.0075633638, -0.0086099487, 0.0145222368, -0.0855917409, -0.0112936171, 0.0188267697, -0.0280599855, 0.0244319662, -0.0181956142, -0.0715183541, -0.0370388962, 0.011681864, 0.0368474871, 0.0068004546, 0.02505886, -0.0263547599, -0.0572628789, 0.0100697773, 0.0554217026, -0.0191588718, 0.0514257997, 0.0145884883, -0.0108508496, -0.024767153, 0.0652575195, 0.0290989131, 0.0120220752, 0.0188866295, 0.04462789, -0.0236962065, -0.0275837891, 0.0526675284, 0.0023288068, 0.052288644, -0.0543924011, -0.0292325206, -0.0519231558, 0.0198168289, -0.0142637221, 0.0056915712, -0.0185211916, 0.0028987557, 0.0266880598, 0.0037418692, -0.0115796309, -0.0143210255, -0.0164556075, 0.018517388, -0.0443222225, -0.0038906194, -0.0065155472, -0.0076585561, 0.0109090591, 0.0375874117, -0.0039842133, -0.0168509558, 0.0107329478, 0.0451497473, -0.0352324098, 0.0614523403, 0.000714029, 0.055440627, 0.0383714512, 0.0522212051, 0.0001603882, -0.007133157, -0.0181418061, 0.07137499, 0.0952818394, -0.0135793574, 0.0672249869, 0.0018006609, -0.0246447381, -0.0203681998, 0.0372853279, -0.0122881029, 0.0037845063, -0.001560613, 0.0095071029, 0.0129327765, 0.0064865425, 0.0550493449, -0.0190747306, 0.0292124711, 0.0136155579, 0.0056262072, -0.0151581457, -0.0154294968, -0.0131800119, -0.0341320522, -0.0160286464, 0.0206335057, -0.0617086627, -0.0796236768, -0.0246509686, 0.0309828538, -0.0030692276, -0.0164454076, 0.0109919598, 0.0630109534, -0.0340535417, -0.0010253907, -0.0713551342, -0.0311641376, 0.0202370677, -0.0358438492, -0.0109144067, -6.19765364e-33, -0.0199699793, 0.0147515107, 0.0117315017, -0.0267550498, 0.0101228422, -0.0228394233, -0.0205093082, 0.0026947348, 0.0143771712, 0.0360280648, -0.038991157, 0.0125814117, 0.018399667, 0.0207673442, 0.0901198462, 0.0087420186, 0.0602450706, -0.0237752665, -0.0206085872, 0.0090145469, 0.0073971357, 0.0278400443, 0.1108353138, -0.0185065027, 0.0438563153, 0.0087117441, -0.0597987771, 0.0159060005, -0.0295311008, 0.0671985, 0.0061483984, 0.0327538513, 0.0088225463, -0.0138924737, -0.0033111572, -0.0298778191, -0.0717357546, -0.021333348, 0.0048540263, 0.0340541638, -0.0206730589, -0.0431588553, -0.0051819072, -0.0318730623, -0.052351933, 0.008256074, -0.0191478338, -0.0344853029, 0.0124873379, 0.0136636216, -0.0843767971, 0.036673598, -0.0000826877, -0.028398253, 0.0203430634, 0.0301660057, -0.0129828257, 0.0071663852, -0.0380201489, 0.0085925274, 0.0330507308, 0.0503953658, 0.0522380248, -0.0261089057, -0.0664902627, 0.0185416769, 0.005148822, -0.0202382747, 0.0412516035, 0.0119740851, 0.0163698792, -0.0162859075, 0.0298188869, 0.0900646746, 0.0553682782, 0.0083517525, -0.0368848816, 0.0172136463, -0.0268018227, 0.0449079312, 0.0138800899, -0.0243454687, -0.0561073013, -0.015218094, -0.027637247, -0.0083997408, -0.015157057, 0.0091884416, 0.0309270881, 0.0188528039, 0.004020182, 0.0193028599, 0.0029427104, 0.0067576207, 0.0053451741, -0.0341412351, -0.0143635897, 0.0107154418, -0.0205207206, 0.0309516676, -0.0620336942, -0.024881443, -0.0064294501, 0.0361708924, 0.0160296112, 0.0193311777, 0.0489587635, 0.0416210443, -0.1029192209, 0.0269027874, -0.0269880332, 0.0539250784, -0.0046791704, 0.0040919334, 0.028294323, -0.0193456654, 0.0034275893, 0.0434851907, 0.0230249502, -0.0255344305, 0.0089243464, -0.0159310736, -0.0474687703, -0.013532985, -0.0032186364, 0.0342743248, -0.0396892242, -0.0190565437, 0.0073280367, -0.0355241187, 0.0032263272, 0.008142313, 2.797e-7, 0.02231282, 0.0630838424, 0.0190770868, 0.0137121668, -0.0144178038, 0.0219381321, -0.0058844816, 0.0016876798, 0.0154763618, 0.0507154092, 0.0386507846, 0.0156119019, 0.0693691, -0.0095865801, -0.0752039179, -0.0008342043, -0.0208534021, 0.0603200458, -0.0415779799, -0.0338172168, 0.0349055305, 0.115646489, -0.0244909581, -0.0125172148, -0.0140934018, -0.0471789762, 0.065671362, -0.0103247855, -0.0432319306, 0.0137038631, 0.0570612326, 0.0091524003, 0.0163722504, 0.0127999382, -0.0340701565, -0.018323075, 0.0021519805, 0.0669302866, 0.0179005358, 0.0266637243, 0.0009068481, -0.0069526085, -0.0153901903, -0.041956082, 0.0542250015, -0.0457963906, 0.0120668383, 0.0439558178, -0.0372128971, 0.0085175075, 0.0257877409, -0.0496776626, -0.025944097, 0.0194745604, 0.0509111956, 0.0231222603, -0.021441035, -0.0116812326, 0.0477688536, 0.0208660867, 0.0334435627, -0.0314668044, 0.0164289158, -0.0139791379, -0.0057612993, -0.0247966051, -0.0196856074, 2.367923397e-34, 0.0597464815, -0.0170484856, 0.0482660048, 0.012652427, 0.028016869, 0.0169384852, -0.0389619842, 0.0179194845, 0.0108184731, -0.0353916995, -0.0180340186 ]
http://arxiv.org/abs/2312.07887v4
http://arxiv.org/pdf/2312.07887v4
Learn or Recall? Revisiting Incremental Learning with Pre-trained Language Models
2023-12-13T04:14:22
2024-05-27T14:53:32
Junhao Zheng, Shengjie Qiu, Qianli Ma
cs.CL
cs.CL, cs.LG
Incremental Learning (IL) has been a long-standing problem in both vision and Natural Language Processing (NLP) communities. In recent years, as Pre-trained Language Models (PLMs) have achieved remarkable progress in various NLP downstream tasks, utilizing PLMs as backbones has become a common practice in recent research of IL in NLP. Most assume that catastrophic forgetting is the biggest obstacle to achieving superior IL performance and propose various techniques to overcome this issue. However, we find that this assumption is problematic. Specifically, we revisit more than 20 methods on four classification tasks (Text Classification, Intent Classification, Relation Extraction, and Named Entity Recognition) under the two most popular IL settings (Class-Incremental and Task-Incremental) and reveal that most of them severely underestimate the inherent anti-forgetting ability of PLMs. Based on the observation, we propose a frustratingly easy method called SEQ* for IL with PLMs. The results show that SEQ* has competitive or superior performance compared to state-of-the-art (SOTA) IL methods and requires considerably less trainable parameters and training time. These findings urge us to revisit the IL with PLMs and encourage future studies to have a fundamental understanding of the catastrophic forgetting in PLMs. The data, code and scripts are publicly available at https://github.com/zzz47zzz/codebase-for-incremental-learning-with-llm.
[ 0.050764963, 0.0890821964, 0.016177414, 0.0048661763, -0.0205240529, 0.0325114168, -0.0274172686, 0.0210908949, 0.0385121778, -0.1043134704, -0.0162532441, -0.0105529446, -0.0167023893, 0.0234774258, 0.0059151617, -0.0138095161, 0.069926627, -0.0308442824, 0.0271626227, 0.0089642406, 0.0042665009, -0.0079088612, -0.0073491181, -0.017034784, -0.0002471216, -0.015608049, -0.0071401517, -0.0025694834, -0.0056956555, -0.0489030294, 0.023878891, 0.0586974174, 0.0427328758, -0.0137815792, 0.0000019801, -0.0668020174, -0.0384836309, -0.0467582531, -0.0288907904, 0.0104512274, 0.0297185741, -0.0049978667, 0.0101040062, 0.0141444933, -0.0439893268, -0.0401001312, 0.0208791438, 0.0453113765, 0.0421383157, 0.0642303526, -0.0010009366, -0.0293292236, 0.0597530454, -0.0204814933, 0.0322321169, -0.0322676748, 0.036040552, 0.0123903947, -0.0656066611, 0.0138382558, -0.0047909124, 0.0360528491, -0.00822125, 0.0183823165, 0.0353933312, 0.057056509, 0.0228691883, -0.024174083, -0.0351921581, 0.0442932472, -0.0553668365, -0.0368733443, -0.0101553528, -0.0218034331, -0.0485215336, -0.0341381766, -0.0283598043, 0.022230776, -0.0117721669, 0.0409552567, 0.0058022169, 0.0066701453, 0.0123537173, 0.0395066813, -0.0278939921, -0.0165887028, 0.0094823949, -0.022972161, 0.0319683291, 0.001239041, -0.0138863912, -0.0395374, -0.0098271286, 0.0539763458, -0.0089308694, 0.0345887505, -0.0287985764, 0.0050518322, 0.0409723818, -0.0596103892, 0.0370395109, 0.0325504877, -0.0143989492, 0.0758520514, -0.0523808114, 0.0318537354, 0.0374286883, 0.0375027657, -0.015814852, 0.0413869061, -0.0478849038, -0.0226528682, -0.0469972193, 0.0612203069, 0.0021921804, -0.0159749687, -0.0292964913, 0.0498455912, 0.005578469, 0.0092558693, -0.0160262249, -0.0242864937, -0.0256285854, 0.0261458214, -0.0315601639, 0.0093215201, 0.0212556999, 0.0247427579, -0.0242364258, -0.0469824113, -0.0190193467, 0.0009401296, 0.0047697686, -0.0118447542, 0.0538929701, 0.0592429861, -0.0378380977, -0.1395903379, -0.0456949696, 0.016667448, 0.0114996592, -0.0516783632, 0.006926836, -0.051143419, 0.0280561, -0.0051730732, 0.0064255502, -0.0778274164, 0.0397429168, 0.0411810689, -0.0401439145, 0.1050019264, -0.0273456741, 0.0042643184, 0.0109244473, 0.0044966564, 0.0381370075, 0.0772052407, 0.0013113796, -0.0011462329, 0.0432398245, 0.0172583647, 0.0280114729, 0.0252606869, 0.0023082448, 0.022977747, -0.0512616038, -0.0132424934, 0.0362928174, -0.0030407857, 0.0102751022, 0.0428981036, -0.0213314462, 0.0010726826, 0.0435174517, 0.0376661383, -0.0016234211, 0.0003161611, 0.0031557097, 0.0025489121, 0.031577643, -0.0102815675, -0.0656471774, -0.0053990246, -0.0261269882, 0.0001953011, -0.0025223189, 0.0038062371, -0.0350033566, -0.0443448238, -0.0161524862, -0.0334392786, 0.0102614369, 0.0049399529, 0.0728864595, 0.0553643405, -0.0478284433, 0.0495689362, 0.0277300943, -0.0396493636, -0.0002365939, -0.0325757526, 0.0049622864, 0.0330000781, 0.0457728207, -0.0780620649, -0.0243673734, -0.0167485587, -0.0041064168, -0.0152609423, 0.0157465599, -0.0071969051, 0.0257794186, -0.0418560691, -0.0364287794, 0.0228802115, 0.0136125637, -0.0316219889, 0.0469002612, -0.0117837023, 0.0046301344, -0.0161514971, -0.0389828607, 0.0629126579, -0.045808848, -0.0412872732, -0.0021178508, -0.0086998735, -0.0058556637, -0.011733938, -0.0128500527, 0.0040683961, 0.0541996323, -0.0168686267, -0.0341354273, 0.0019906692, -0.0509833023, -0.0607292131, 0.0552762374, 0.0496742651, 0.0027005014, -0.0302322712, -0.0503039621, -0.0089246072, -0.0338112041, -0.0038125422, 0.0440735593, -0.0544943884, 0.0360700227, -0.0005946046, -0.0094256597, -0.0445757285, 0.0692082569, -0.0267649777, 0.0082931966, 0.0094111795, 0.0041569388, -0.0247122422, -0.028465189, -0.002399927, 0.018587416, -0.0115313428, -0.003656486, -0.0042075673, 0.0143936826, -0.0780854225, -0.0051890817, -0.0802293345, 0.0033756604, -0.0283643082, -0.0023597279, -0.0264725406, 0.0088821929, -0.0266512446, -0.0597601905, 0.0137827359, -0.0022611578, -0.0161359049, 0.0392702706, 0.0281476136, -0.0145699047, 0.0055595855, -0.0411434434, 0.0035211763, 0.0035106307, 0.0705628544, -0.0260798261, -0.0430672988, -0.0601905473, 0.0732562095, -0.0354070626, 0.0317295566, -0.0176200476, -0.0018336102, -0.0327892229, -0.0428270288, 0.0350746028, 0.0295163393, 0.0125144888, 0.0514061563, 0.0334067456, -0.0055920626, -0.0329256728, 0.0002776198, -0.032370571, -0.0526709817, -0.0023110239, 0.0095402021, -0.0137409195, 0.0513010472, -0.039032381, 0.016910797, 0.0112489639, 0.0039616204, -0.0295681711, 0.0213239361, -0.0561472513, -0.0027921924, -0.0273269564, -0.0077055404, 0.0034909304, -0.083330974, 0.0263768807, -0.0102295456, 0.0126964832, -0.0616636947, -0.0024457721, -0.0286661144, 0.1056951433, 0.0429041535, 0.0170938671, 0.0232908446, -0.0390676595, -0.0396310799, -0.0015722986, -0.0166874416, -0.0192390848, 0.0852192938, -0.0449453518, 0.0437243767, -0.0248289984, -0.0248760618, -0.0746710598, -0.0826741904, -0.0164556224, 0.0062291147, -0.0739778951, 0.0417359285, 0.0147109572, 0.0090277456, -0.0091034984, 0.050611306, 0.0139555577, -0.0188836064, -0.0159908347, 0.0185664762, 0.0275433641, -0.000325781, 0.0063980413, 0.0025419302, 0.0127896154, 0.0751041248, 0.0555486642, -0.0102439374, -0.0108730895, 0.0185558796, 0.025303442, -0.0529449843, -0.0083808573, -0.0004615248, 0.0398074016, -0.0358039774, -0.0271051209, 0.1003086641, 0.0308787115, -0.0636286214, -0.0083187511, 0.0414054804, -0.0012291956, 0.0678433999, -0.0127680432, -0.0531483851, -0.0506143756, -0.0037674969, 0.0298520718, 0.000655058, -0.0251071602, -0.0299647525, -0.0585234687, -0.0180607364, 0.0197771043, -0.0217061155, 0.0283407439, -0.0529299229, -0.0227933396, -0.0017912382, -0.0071617244, 0.0337134264, -0.0530239716, 0.0042533414, 0.0037786942, -0.04346174, -0.0288661551, -0.0154556641, -0.0355082974, 0.0228862278, 0.0393202268, -0.0056278836, -0.0124830594, -0.012505454, 0.1182848588, -0.0485409386, 0.0191494282, -0.0309299883, 0.0411125161, -0.0339030698, -0.0052762767, 0.0216965992, 0.0109465923, -0.0616444834, -0.0598146021, -0.009795595, 0.0260904711, -0.0176360905, 0.0157183725, 0.0011641479, -0.0333095826, -0.0170850176, 0.066066429, 0.0117423721, -0.028375268, -0.0318692364, -0.0062556923, 0.0385317765, 0.0117208967, 0.0200988967, -0.0038141122, -0.0351277553, 0.0145129804, -0.0385266691, -0.0513878502, 0.0315541178, 0.0283553265, -0.0040527461, 0.0135967974, -0.0104575241, -0.0048960093, -0.083641991, -0.0011450342, -0.0288957655, -0.0056756199, -0.0352296978, -0.0227316618, 0.0318849199, -0.0148933418, -0.0000015114, -0.0581380986, -0.096856311, -0.0290143788, 0.0039412426, 0.0812446102, 0.0116643561, 0.0362427346, 0.0109613743, -0.0338258483, 0.0491527282, 0.0501430742, 0.0112696281, 0.0365200639, 0.0102035729, -0.0015540958, -0.0035982195, 0.0265237037, -0.0240907297, -0.0050499076, 0.0482934266, 0.0671621859, 0.0062880027, -0.0006374634, 0.0069694137, 0.0111283455, 0.0922202542, -0.0123248566, 0.0133494558, -0.0312182922, 0.0318335555, 0.0356364511, -0.0210286286, -0.0286539253, 0.0251566675, 0.0039683706, 0.0291602556, -0.0244526044, 0.0055396962, -0.0241926834, 0.0313362405, -0.0040766653, -0.0440019071, 0.0123235174, -0.0092027858, 0.0254863724, -0.0036498113, -0.0580417402, 0.0450167879, -0.0145296967, 0.0065900665, -0.0269073304, 0.0635827109, 0.0234826207, -0.0032074258, -0.0514591634, 0.0292469934, -0.0103860386, -0.0358239971, -0.0238026045, 0.0438993089, 0.0855441839, -0.0064443662, 0.0206499007, -0.0145720663, -0.0074674832, -0.0530612431, 0.0127020655, -0.0034683405, -0.0487326533, 0.0258760471, -0.0026925113, -0.0354105569, 0.0296347477, 0.0814144388, -0.0328606144, 0.0494714826, 0.019341249, 0.0023589581, -0.0244681425, 0.0029202444, 0.0108469175, 0.0312833302, -0.006877529, 0.0310858972, -0.0048266705, -0.052786015, 0.0285626464, -0.0328827836, 0.0044956584, -0.0035915291, 0.0409718528, 0.0604089387, 0.0160139017, 0.0192275681, -0.0396833532, 0.0099059008, -0.0037458506, -0.0004748318, 0.0136952968, -6.151958501e-33, -0.0107723027, -0.0119643193, 0.0374979787, 0.0062856828, -0.0277985223, 0.0339548625, -0.0272433888, 0.0136762653, 0.0211187918, -0.0142365219, 0.0017978693, 0.0005623967, -0.0046810424, 0.0304173753, 0.0178944152, -0.046896372, 0.0409158133, -0.0047706077, -0.0300491359, 0.0024442596, 0.0636449903, 0.0522172265, 0.073391825, -0.0297532007, -0.0042891842, 0.0221595224, -0.0075013437, 0.0496776998, 0.0186401177, 0.0674293712, -0.020788705, 0.0185928419, 0.0309180822, 0.0049558077, -0.0332348831, -0.0177289862, -0.1044518948, -0.0376343392, -0.020506531, 0.0213717036, -0.0525174588, 0.0122358929, 0.0422991998, -0.0286907386, -0.0196868833, -0.0213304125, 0.0271087475, -0.0410437919, -0.0672119036, -0.0261413436, -0.0531701669, 0.0138476035, 0.041814059, 0.0050089033, -0.0053545786, -0.0106701823, 0.0102503672, 0.0020782349, -0.0844647363, -0.0277632177, 0.0020691927, 0.016369272, 0.0095677059, 0.0359363668, 0.0190766882, 0.0777146742, 0.0319490209, -0.022942882, -0.0061187111, -0.0140279084, 0.0257630497, 0.0082966527, 0.0220818445, -0.0440127105, 0.0222141985, -0.0140481358, -0.0575888976, -0.0002627547, 0.0360048972, 0.0584521182, 0.0355057046, 0.0264398102, -0.0079606371, -0.022989748, -0.0555327013, 0.0043539596, -0.0246024355, -0.0155645488, 0.0283583738, 0.0828834176, 0.0029968701, 0.0200180002, 0.0325965285, -0.0263789482, -0.0558299348, 0.0088433586, -0.0132964207, -0.0011274901, -0.0079085343, 0.0181612931, -0.0772616342, -0.0180152822, -0.0127744898, -0.045363076, -0.0099356612, 0.003107551, 0.0462973155, 0.028866794, -0.0700290725, -0.0052747582, -0.0014388545, 0.003456431, 0.0148131205, 0.0489533655, 0.0428203307, 0.0170611478, -0.0098637445, 0.090722613, 0.0581567399, -0.0440678075, -0.0665571094, 0.0032887789, 0.0257123727, 0.044004824, -0.0040443707, -0.0014951121, -0.020295091, 0.0010046996, -0.0153494338, -0.0939937383, 0.0123243965, 0.0129710548, 2.634e-7, 0.0460855775, 0.0383035131, -0.0070154592, -0.023123851, 0.018777255, 0.0583457462, -0.0286316983, 0.0329154953, 0.000511967, 0.0596652403, -0.0203961749, 0.0194365792, 0.0073968167, -0.0150219742, -0.0483567901, 0.0103287222, -0.0483931229, 0.0139332321, -0.0490689389, 0.0060465066, 0.0631063879, 0.0834645107, 0.017641196, -0.0265377909, -0.0022929031, -0.0572817288, 0.1131143272, -0.014832356, 0.0040011699, 0.0336242989, 0.0145840226, 0.0556661598, -0.0062421658, 0.0197921246, -0.0318460688, -0.0092855869, 0.0282579288, 0.0449695289, -0.0046783737, -0.0401709117, -0.0021068265, 0.0387357846, 0.0299453605, -0.0453437194, 0.1159131378, -0.0627943724, 0.0031828741, -0.0002720247, -0.0155363949, -0.0169938263, 0.0387053117, 0.0381118804, -0.0433756188, 0.0260306541, 0.0144170448, 0.0454180986, -0.0694261119, -0.1277649254, 0.0036087439, -0.0119999964, 0.0009887214, -0.035000775, -0.0348717012, 0.0236129407, 0.0204950254, -0.0445411243, -0.0253751799, 2.513469572e-34, 0.0154508231, -0.0218927804, 0.0045818421, 0.0531513542, -0.0116886757, -0.0171481147, 0.0394436643, 0.0253434088, -0.0107020177, -0.0573739111, 0.0194583554 ]
http://arxiv.org/abs/2312.07886v1
http://arxiv.org/pdf/2312.07886v1
Modality Plug-and-Play: Elastic Modality Adaptation in Multimodal LLMs for Embodied AI
2023-12-13T04:08:59
2023-12-13T04:08:59
Kai Huang, Boyuan Yang, Wei Gao
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) are capable of reasoning over diverse input data modalities through pre-trained encoders. However, the growing diversity of input data modalities prevents incorporating all modalities into LLMs, especially when LLMs are deployed on resource-constrained edge devices for embodied AI applications. Instead, a better option is to adaptively involve only the useful modalities at runtime, depending on the current environmental contexts and task requirements. For such modality adaptation, existing work adopts fixed connections between encoders and the LLM's input layer, leading to high training cost at runtime and ineffective cross-modal interaction. In this paper, we address these limitations by presenting mPnP-LLM, a new technique that allows fully elastic, automated and prompt runtime modality adaptation, by connecting unimodal encoders to a flexible set of last LLM blocks and making such latent connections fully trainable at runtime. Experiments over the nuScenes-QA dataset show that mPnP-LLM can achieve up to 3.7x FLOPs reduction and 30% GPU memory usage reduction, while retaining on-par accuracy with the existing schemes. Under the same compute budget, mPnP-LLM improves the task accuracy by up to 4% compared to the best existing scheme.
[ -0.0069661867, 0.0920900926, -0.0239938796, 0.0285787638, 0.0155543825, -0.0043633068, 0.0153551288, -0.0246699173, -0.0470286049, -0.0530713014, -0.0638784915, -0.0074443417, 0.0218908545, 0.0584300347, 0.0359250791, -0.041992262, 0.0267976746, -0.0265640318, -0.0240587089, -0.0190476961, 0.010657588, 0.0181907658, -0.0527113825, 0.0325913839, -0.01235025, 0.0238918457, -0.06005482, 0.0228867382, -0.0220036376, -0.0241119601, -0.0156282578, 0.0224670228, 0.0857708231, -0.0015146714, 0.0000024066, 0.0004369015, 0.0407754108, -0.0288711134, 0.0138899749, -0.0009834151, 0.0627483651, -0.0464521497, -0.0242527742, -0.0044707521, -0.0013453766, -0.0492451899, 0.0883114487, -0.0123793092, 0.041199293, 0.0470705293, -0.0176409651, 0.0196232758, 0.0261763427, 0.0090356236, 0.0037803922, 0.0031515779, 0.0066793668, -0.0485824682, 0.0256628562, -0.0421800241, -0.0674875304, 0.0278484728, 0.0532810874, 0.0073588411, -0.0388206393, 0.0253698099, 0.0422315188, -0.0335445777, -0.0463427529, 0.0656701922, -0.0060532615, -0.0138644977, 0.0039420356, -0.009858842, -0.0461312234, -0.0083028115, 0.0048656524, 0.031037502, 0.0152695337, 0.0018356699, -0.0222759526, -0.012491636, 0.0239082966, 0.036499925, -0.0299629085, 0.0378220379, 0.0358968079, 0.0111894142, 0.0042477064, -0.0086708963, 0.002454584, -0.0175678227, 0.0294956602, 0.0346824229, -0.0352704637, -0.0006935286, -0.080970414, -0.0245231483, -0.0405533984, 0.0059200968, 0.0238741469, 0.074353613, -0.032184761, 0.0062627448, -0.035989169, -0.0132187465, -0.039890334, 0.0485255681, -0.0169999264, -0.0055870134, -0.0088700783, 0.002085414, -0.0167612564, -0.009184137, -0.0845038518, -0.0412054434, 0.0096850405, 0.0376579799, -0.0166136399, -0.029154269, -0.041065041, 0.0334727429, -0.0307246223, -0.0210451074, -0.0106176389, 0.0350288115, 0.0152766174, 0.0798550323, 0.0040484173, -0.0700012296, 0.0064480803, 0.0283776, 0.0284486506, -0.0068496722, 0.0315556563, 0.0837807655, -0.0042943736, -0.0257804487, 0.0011685684, 0.0117275799, 0.0230046753, -0.0343105495, 0.0287478454, -0.023764994, 0.0429175906, -0.0311423279, 0.0131958481, -0.0247957166, 0.0124426279, -0.0080736224, 0.0160487816, 0.0901415944, -0.0105781816, 0.0350715853, 0.0414544381, -0.0035113301, 0.0239675716, 0.0651327968, 0.0882789418, -0.0047369879, -0.0085128378, -0.0344107151, -0.0389062949, 0.0253314525, 0.008574917, 0.0077911606, -0.0248351507, -0.0273124259, -0.0036888344, 0.0699061081, 0.0499822944, 0.0563364699, -0.0261878539, -0.0373647995, 0.0592013225, 0.0017730213, -0.0001589849, 0.0189765114, 0.0263884235, -0.0307472814, -0.0107005937, -0.0709378794, -0.0750861168, 0.0578340441, 0.0069625843, -0.007623822, 0.0414084233, 0.0437517799, -0.0312799402, -0.0160323773, -0.000781844, -0.0030101524, 0.0258966833, 0.0207920726, 0.0369323343, -0.0153653491, -0.0270482358, 0.0323576778, 0.0038701014, -0.0466033481, 0.0045594051, -0.0247928072, 0.0150097385, 0.0324669033, 0.0084518911, -0.0005571399, -0.0417451039, -0.0040593022, -0.0011797777, 0.0777026713, -0.0180177577, -0.0073300423, 0.077883631, -0.0685334951, -0.0277747866, 0.00609332, 0.0073328814, 0.0421048552, -0.0197255425, 0.0232088845, -0.009204193, -0.0304593928, 0.037096139, 0.0295326635, -0.01373496, 0.019464137, 0.0144161778, -0.0074030845, 0.0304002203, -0.015740389, -0.0114792269, -0.0242283512, 0.0272979345, -0.0671109483, 0.0044339751, 0.0324075967, -0.1140754968, 0.0204553418, 0.038191013, -0.0153379701, 0.0415379182, 0.0182415694, -0.0288456324, -0.0700775087, 0.0525644831, -0.0214957483, 0.037906222, -0.0217325222, -0.0313129611, 0.0162167121, 0.0217759665, 0.0212625824, -0.0166370142, -0.0460164621, -0.0160475932, 0.0628799349, 0.0521303751, -0.0123275425, -0.0208216384, -0.0198229682, 0.0557100847, 0.0161741953, 0.0322742872, -0.0097236084, -0.0039536394, -0.0040364503, -0.0218959078, -0.1589776576, -0.0205317512, -0.0267128814, 0.021473458, 0.0327236168, 0.0235597696, -0.0163026266, -0.0071903421, 0.010388134, 0.0634723827, 0.0048178458, 0.0305347331, -0.0178443547, 0.0263721868, 0.0012104701, -0.0018079662, -0.0094849942, 0.0097525343, 0.0202837698, -0.0362660512, -0.0221929885, -0.0331902392, -0.009279523, -0.0303385276, 0.0438633114, -0.0143406047, -0.0347038023, 0.0226181634, -0.0084786294, 0.0157901049, 0.0529699028, -0.0044666794, 0.0056962729, 0.0770565718, -0.0217881091, -0.0350636989, 0.0200771298, 0.01516187, -0.0037132388, -0.0368414819, 0.005013871, -0.0330258794, 0.0842057541, -0.006404683, 0.0180283673, -0.0538369641, 0.0006137529, 0.0137600889, -0.0614476427, 0.0042518838, 0.0166222751, -0.0357389487, 0.0259387307, -0.0358873457, -0.0466957428, 0.0367451943, -0.0434703752, -0.0315824859, 0.0080428096, 0.0093345316, -0.0047714561, 0.0788682252, 0.0198016446, 0.0152540449, -0.0560102686, -0.0173761975, -0.0189716816, -0.0007278155, 0.0009271246, -0.0182630289, 0.0360417441, -0.0699872226, 0.0284332465, -0.0354538932, -0.0412330776, 0.0006871655, 0.0335509777, -0.0463590957, 0.0273272488, -0.0676682666, -0.0302358754, 0.0081417738, 0.0015682508, 0.0047297366, 0.0680851787, 0.0003489863, 0.0103844227, -0.0451208688, -0.008983098, 0.0333841033, 0.104260385, -0.0268031415, -0.0079467492, 0.0194953345, 0.0286840182, 0.0159689356, -0.0170754381, -0.0893758908, 0.0409722663, 0.0331984498, 0.0391752981, 0.0061652125, 0.0504273772, 0.0651979223, -0.0763235763, 0.0075477702, 0.0458546989, -0.0245725438, -0.0540340468, 0.0187568069, 0.0248483904, 0.0700723752, 0.0183437821, 0.0079165883, -0.0688758194, -0.0617525131, 0.0083357934, 0.0005944058, 0.0199965741, -0.0328730829, -0.0174462833, -0.1015817672, 0.014114053, 0.0147324437, -0.0360294208, -0.0325587392, -0.0289378744, 0.010643879, -0.0071080024, 0.0221632067, 0.0190627817, -0.0011306226, -0.0004441854, 0.024101695, 0.0388253033, -0.0361045003, -0.0079127057, -0.0108670183, 0.0763390288, 0.0353211574, 0.0079486296, -0.0390615761, -0.0459965281, 0.0470822789, -0.0109281922, 0.0049176053, -0.0294032302, -0.0200595446, -0.0211052652, 0.0015548867, 0.0083518326, 0.0281673931, -0.0531718247, -0.0292270742, -0.00522447, 0.0843830183, -0.0359412692, 0.0084855547, -0.0287446994, -0.0148942685, -0.0137103377, 0.0088098245, 0.0065401252, -0.0500497445, -0.0337826163, -0.0420525782, -0.0400730111, -0.0017428915, -0.0179309435, -0.0131228538, 0.0010845539, -0.0204451103, -0.0375116616, 0.0096451938, 0.0192585327, 0.0526480526, 0.0215652678, -0.035234388, -0.0098697366, 0.0076904465, -0.0630687252, 0.0283960868, -0.0274613779, 0.0211932566, -0.0409606583, 0.0208915174, 0.059425503, -0.0506339855, 0.0331109911, -0.0087739807, -0.0495401211, -0.0606767461, -0.0253819898, 0.0247758534, 0.0138869965, 0.055488538, 0.0099944212, -0.0418300554, 0.0669899434, 0.0450593419, -0.0648450032, 0.0776382536, 0.0503171124, 0.0137875956, 0.0001516886, 0.0145109873, -0.0559986942, 0.000216902, 0.021951098, 0.0553624034, 0.0298035517, -0.0918830559, -0.003998863, -0.0125675993, 0.0421037041, -0.0313259847, 0.0135769323, -0.0516212098, 0.0127036525, 0.0153522622, 0.0421719924, -0.0656972975, 0.0181735381, -0.0031735934, 0.0367495343, 0.0172079895, 0.0118910968, 0.0519765988, 0.0212188363, 0.0137349423, 0.05831993, 0.0052543073, 0.0145485969, -0.0192133635, 0.0316761248, -0.0094189784, 0.0469782911, -0.0355747081, 0.0492176898, -0.0428038538, 0.06711521, 0.0035673149, -0.0458157249, -0.0293260776, 0.0472486764, -0.0036439667, -0.0474135652, -0.0396108776, 0.013388548, 0.013466469, 0.0284249093, 0.0107228914, -0.0214527342, 0.021228781, -0.0256749634, 0.059321627, -0.0101065878, -0.0234973766, 0.0768275112, 0.0124785108, -0.0144285811, 0.0190837923, -0.003535985, -0.0152225764, 0.0769035146, 0.0077196094, 0.0318822078, -0.0051709893, -0.0465542041, 0.0211381782, 0.0078717982, -0.0292770639, 0.0069087716, 0.0115863271, -0.0459841117, -0.0060114148, 0.0346176699, -0.0131272366, -0.0371967405, 0.0239787865, 0.0000378946, 0.0052172737, -0.0190769546, -0.0115752388, -0.0047627348, -0.0078697829, 0.0033790842, 0.0052660722, -6.318362951e-33, -0.0386166386, 0.0258489437, 0.053168565, -0.0648537204, -0.0367600136, 0.0091361348, -0.0339250006, -0.0014765682, -0.0123799471, -0.0324715525, 0.0162220839, -0.0152979614, -0.0061709648, 0.025431281, 0.0098307235, 0.0090125296, 0.0304446593, -0.0213566571, -0.0093469787, 0.0071486481, 0.0147766368, 0.0100619635, 0.0335262269, -0.0564634576, -0.0263099317, 0.0439547747, -0.0177933387, 0.005461181, -0.0248917434, 0.036450129, -0.0496321693, 0.0216682237, 0.0087061357, 0.0115226256, -0.0243260153, 0.0031674579, -0.0601686276, 0.0108817229, 0.0060084076, 0.037342608, -0.0770118907, -0.0487165265, 0.0515302382, 0.0104222121, -0.0357139856, -0.0058051846, -0.0057201041, -0.0375913754, -0.0241022632, -0.0029922971, -0.0190360174, 0.0274448078, 0.026060231, -0.0085745612, 0.0328732915, -0.0016977792, -0.0263166409, -0.0101863211, -0.0745454878, 0.0148298359, -0.0428039022, 0.0035623675, 0.0661264211, 0.0390567891, 0.0475169756, 0.047820162, 0.0357785709, -0.0593399107, -0.0226242803, 0.0568865798, 0.0565794297, 0.0450664088, -0.003126106, 0.0702852681, 0.0471258946, -0.0218021926, 0.0000994276, 0.0061368993, 0.0159504414, 0.03004927, 0.0143905189, 0.0474784151, -0.0009636674, -0.0207578111, -0.0445000716, -0.0068440507, -0.0057054949, -0.0522927716, 0.0487254672, 0.0260511748, -0.0131500019, -0.0525254458, 0.0790506527, -0.0346949548, 0.0225841086, -0.0190391745, -0.019424174, 0.0455348454, 0.0178561695, 0.0216589533, -0.0385460854, -0.0346024744, 0.0591754876, -0.0619383082, 0.0378155559, -0.0068984134, -0.0290001463, 0.1159672067, -0.0574086122, -0.030262677, -0.0284382552, -0.0057041477, 0.038794376, 0.0449763313, 0.0475159064, -0.0106157772, -0.0201419946, 0.0430357046, -0.0418345258, 0.0037636631, -0.0517918058, -0.0286946129, -0.0181562528, 0.0247396231, -0.0486896262, -0.0070182271, -0.0519142263, -0.0411359631, -0.0067222323, -0.054157529, -0.0189844221, 0.0412720703, 3.238e-7, -0.0268827509, -0.0139821125, 0.0020653179, -0.0580421127, 0.0611879788, 0.0397401638, 0.0042824359, 0.0410070308, -0.0279868804, -0.0816930979, 0.0065723583, 0.0449986272, 0.050644692, 0.0043220739, -0.0296768397, -0.00514771, 0.006321446, 0.0164538212, -0.0152817955, 0.0022467219, 0.0055341814, 0.0827945247, -0.0074981269, -0.0116201686, 0.0357693695, -0.0245414134, 0.0472905338, -0.0467767902, 0.012170855, -0.0399359763, -0.0008232151, 0.0074489349, -0.0249560419, -0.0149105927, 0.0199236106, 0.0285661519, -0.0244898014, 0.078073144, -0.0171690937, -0.0256197844, 0.002081834, 0.0120269386, -0.0395607203, 0.0004380913, 0.051921472, 0.0004408553, -0.0312825441, -0.0653658733, 0.0137322629, 0.0109781548, -0.0234720185, -0.0045177671, 0.0013203818, -0.0160915628, 0.0188032724, -0.050815139, -0.0375698954, -0.0723300874, -0.0040486576, -0.0044051567, -0.0820222124, -0.0328103229, -0.0836436301, 0.0049597127, 0.0587894432, -0.0778434128, -0.0321041681, 2.689787066e-34, -0.027338814, -0.0143526662, 0.0238841139, 0.0250882879, 0.0168208331, -0.0264634155, 0.0055339127, 0.0025912905, 0.0157113746, -0.0900229663, -0.0317792669 ]
http://arxiv.org/abs/2312.07868v1
http://arxiv.org/pdf/2312.07868v1
Graph vs. Sequence: An Empirical Study on Knowledge Forms for Knowledge-Grounded Dialogue
2023-12-13T03:16:33
2023-12-13T03:16:33
Yizhe Yang, Heyan Huang, Yihang Liu, Yang Gao
cs.CL
cs.CL
Knowledge-grounded dialogue is a task of generating an informative response based on both the dialogue history and external knowledge source. In general, there are two forms of knowledge: manually annotated knowledge graphs and knowledge text from website. From various evaluation viewpoints, each type of knowledge has advantages and downsides. To further distinguish the principles and determinants from the intricate factors, we conduct a thorough experiment and study on the task to answer three essential questions. The questions involve the choice of appropriate knowledge form, the degree of mutual effects between knowledge and the model selection, and the few-shot performance of knowledge. Supported by statistical shreds of evidence, we offer conclusive solutions and sensible suggestions for directions and standards of future research.
[ 0.0514851138, -0.0246794559, -0.0360923484, 0.0271634255, -0.0444536582, -0.0180919915, 0.003429184, -0.0015934098, 0.0473760031, -0.0608244911, 0.0066099269, 0.0279218685, 0.0256145466, 0.0266194642, 0.0274658147, -0.0643645227, 0.0079511898, -0.0060151401, 0.0346208327, -0.0122136828, 0.0226051062, 0.0035406069, -0.0432491265, 0.0108221332, -0.0231708977, 0.0182197802, -0.0428394079, -0.0071752835, 0.0066101868, -0.0647071078, -0.020072991, 0.0353917442, 0.0224208534, -0.0049476344, 0.0000020082, -0.0371158682, 0.0142262504, -0.0205198321, -0.0746026486, -0.0012741555, -0.0505673699, 0.0372755975, 0.0580478907, -0.0146826226, -0.0511159003, -0.0174832921, 0.0165023971, 0.065081656, 0.0348342508, 0.0417046659, -0.0135786952, -0.0201460086, -0.0133041441, 0.0176282916, -0.0260510128, -0.0297259465, 0.0091408789, 0.0972079784, 0.0087753646, 0.015692262, -0.0180551261, -0.0045208866, -0.0324984752, -0.0440282114, 0.0631925762, 0.0168577805, -0.0201212671, -0.0237123519, 0.0223430004, 0.1325859129, 0.069494985, 0.0075921984, 0.001053181, -0.0260309372, 0.02623556, 0.0709448829, -0.0612717234, -0.0222179815, -0.0341346152, -0.0158554558, -0.070301041, 0.0040403358, 0.0070298086, -0.0019960213, 0.0272469632, 0.0837754607, -0.0426550694, -0.0335182436, 0.0361194126, -0.0011594847, 0.0023440132, -0.1021254063, -0.040806409, 0.0329439789, -0.0119793536, 0.0260638222, 0.0242631491, 0.0312924907, 0.0054439707, -0.0184572767, 0.0359267071, 0.0249053966, 0.0363278687, 0.0200007483, 0.0130124977, 0.0492884889, 0.041509442, 0.0050985501, 0.0060395072, 0.0665254518, -0.0883595943, 0.000791288, -0.0107294079, 0.0546090156, -0.0278130397, -0.0438576788, 0.0074597551, 0.0231483001, 0.0172078591, 0.0343891196, 0.0029519047, -0.0002609367, 0.0306374822, 0.0397361442, -0.0592528246, 0.047935918, -0.0663892776, 0.0490132608, 0.0239708908, -0.021105025, 0.0160178933, 0.0374710634, 0.0532675795, 0.0048000878, -0.0362411439, 0.0317775048, -0.0049316175, -0.0127282226, -0.0247083958, -0.0863751546, -0.0336246192, -0.0488429666, 0.0354738533, -0.0201923903, 0.0202582944, 0.0337200165, -0.0456357747, -0.012933854, 0.0468924269, -0.0169187225, -0.0472032838, 0.0135070588, -0.0450483859, 0.017791748, 0.0200196747, 0.0128296642, -0.043367628, 0.0410398655, 0.0126692764, 0.002307673, 0.0487117842, -0.0313314535, -0.0402888432, -0.0151733682, 0.022552507, 0.013323986, 0.0309363585, 0.0363640524, -0.0522851422, 0.0172778144, -0.0086378977, 0.022783095, -0.0760857835, 0.0193932131, 0.0792104825, 0.0491934866, 0.0038538864, -0.0144581962, 0.0085632512, 0.0381452776, 0.0422934107, 0.0406147428, 0.0228746925, -0.0085965944, -0.0046957647, 0.0283717755, 0.0047842273, -0.0209051967, -0.0217052661, -0.0374186262, -0.0295564905, 0.0266437382, 0.0758048072, -0.0013565525, 0.011666121, 0.0198618509, -0.0494005494, 0.0285141431, -0.0148115447, -0.0296234097, -0.0568237044, -0.0024198964, 0.0089407843, 0.0518999994, 0.0154413423, 0.0359576307, -0.0938696712, -0.0126480646, 0.0032295757, 0.0310825873, 0.0242015831, -0.0334465094, -0.0371784978, -0.0338928737, -0.0600605384, -0.0442607179, -0.0172685198, 0.0131275607, 0.0061083939, 0.02343411, -0.0000985401, -0.0405504964, 0.003372978, -0.0087904427, -0.0116980476, 0.0174774528, -0.0584818497, -0.005419529, 0.0503497794, 0.0526575074, 0.0113788042, 0.0238538887, 0.0439595208, 0.044863537, -0.0356449261, 0.0696196929, -0.0492920801, -0.0663979128, 0.023428062, -0.0328528844, 0.0063106506, -0.0672847182, -0.0058825412, -0.0777273998, 0.0343532078, -0.0362690575, 0.0506187193, 0.016874807, -0.0153194554, -0.0133460732, -0.0273868572, -0.006621561, 0.0488360859, -0.00492319, 0.0105783474, 0.0433634929, -0.0403565355, 0.0323574394, -0.0384245664, 0.0303009432, 0.0533404201, 0.0289077908, -0.0016316937, 0.0387480929, -0.0370491371, -0.0820320398, 0.0436286144, -0.1523948312, -0.0382367559, -0.0144134779, 0.0168672092, 0.0139947496, -0.043729201, 0.0096273366, -0.0178139471, -0.0492241606, 0.0545379706, 0.010828929, 0.0508820601, 0.0408883877, 0.0567202419, 0.0012559751, -0.0132137267, -0.0045196507, 0.0258213021, 0.029289579, 0.0676968321, -0.0255522318, -0.0107866349, 0.0471321084, -0.0816523731, -0.0155190369, -0.0268686321, -0.0184009429, 0.0498136543, 0.0452168509, 0.0091509689, -0.0012179575, 0.0136571983, 0.0540571474, -0.0014199547, -0.0403413624, -0.0395809673, -0.0037785009, -0.0201889295, 0.041810222, -0.0533948988, -0.0111286482, -0.0212273076, 0.00383591, 0.0361673906, 0.0530807897, -0.0349298827, 0.0150515512, 0.0142450361, -0.0084449602, -0.0336941853, -0.0579976924, 0.002092489, 0.0692355186, 0.0022153649, 0.0045464002, 0.0498347022, -0.021387361, 0.0138092935, 0.0279053319, 0.0216504335, -0.013114972, 0.0527306721, -0.0285096373, 0.0003154874, -0.0005717048, -0.0267114341, -0.051875636, -0.0376173519, 0.0998650193, -0.0113798445, 0.0308606494, -0.0241474956, 0.0040752403, 0.020736929, 0.0107425842, -0.0368037261, -0.0067442651, -0.0314713307, 0.0205908511, 0.0231647715, -0.0034991128, 0.0197300371, 0.0393104479, 0.0410385095, 0.0072326362, -0.0120046278, 0.0090136817, -0.0045783925, 0.0391347446, 0.0313664079, 0.017809175, 0.0211846493, 0.0072340965, 0.0856585726, 0.0460312329, 0.0201945063, -0.0201855134, 0.0144087337, -0.0245032664, -0.0171958543, -0.0277085882, -0.0739122331, 0.0066847648, 0.0425491408, -0.0245693363, 0.0118026948, 0.0753032565, -0.0160439741, 0.0091354297, -0.005376738, -0.0047965632, 0.0097914441, 0.0050424091, -0.0156679712, -0.0850316435, 0.003814548, -0.0120961359, 0.0220562872, -0.0142878136, -0.0719568953, -0.0018893504, -0.1048233584, -0.0005745306, -0.0095351487, -0.0198236611, -0.033550743, -0.0286755897, 0.0119831003, 0.0453357771, -0.0101845944, 0.0093914047, -0.0143422727, 0.0172863062, 0.0409364738, -0.0479432307, -0.0296767, 0.0201817453, 0.0265063252, 0.0041543772, 0.0137073426, 0.0551543981, 0.0303516202, -0.024483826, 0.0041342219, 0.0215080176, 0.0313750841, -0.017441107, 0.0364935696, 0.0046028565, 0.0268681701, -0.031361118, -0.0081922347, -0.0168962404, -0.0014673533, 0.010308899, 0.0698756874, -0.0349063352, -0.0208937451, 0.0248567946, 0.025818361, 0.0229859408, 0.045467291, 0.0378170051, 0.0365347825, -0.0107980277, 0.0051076962, 0.0450528301, -0.0259440877, -0.0332224518, 0.0116946483, -0.0009531152, 0.0410996303, -0.1060921475, -0.0694903657, 0.0151508944, 0.038274806, -0.0063527962, -0.0011586285, 0.0447725616, 0.011946558, 0.0008315854, -0.0241278838, 0.0088901315, -0.0200979877, -0.0160625614, -0.0383804664, -0.0164422039, -0.0111312643, 0.004466068, -0.0270589571, -0.0173945986, -0.0512499325, -0.0273724012, 0.0252066571, 0.0274860989, 0.0544412509, 0.0555284657, 0.0322332755, 0.0221908372, 0.0066319322, -0.0020778181, -0.0174813606, 0.0173467956, 0.0230791681, -0.0192929879, 0.0124586774, -0.0130220689, -0.0079408232, 0.0090902019, 0.0579758584, -0.033720497, -0.0908300951, -0.0143885305, 0.0463785082, 0.0255692657, 0.0064000939, -0.0407601148, -0.0289026648, 0.0105849495, -0.0411593132, -0.020817345, -0.0458030738, -0.0098722698, -0.0458706208, -0.0151825249, 0.022013355, -0.0188504439, -0.0378461517, 0.053349942, -0.0199328065, -0.0083020432, 0.023209909, -0.0209772009, 0.0219028238, -0.0076543135, -0.0410445184, 0.0419118293, 0.0186877605, 0.0067342333, 0.0023462516, 0.0968625471, 0.0250647441, -0.0273596179, 0.0331830941, -0.0084718801, -0.0493205823, -0.0359767191, -0.0068660914, 0.0079728998, 0.024939118, -0.0035008055, 0.0660966039, -0.0253791772, -0.0016287765, -0.0071834265, 0.0475995392, 0.0262041315, -0.0545055196, 0.0430672206, 0.0299219601, -0.0366574898, 0.0285838023, 0.0754157454, -0.0085316692, 0.0099951169, -0.001302932, -0.052014295, -0.0404931605, -0.0444015339, -0.0027166742, 0.0225331765, 0.0328089111, -0.0002082865, -0.0960252881, -0.0572842471, 0.0090153376, -0.0231778547, 0.0025927506, 0.0097361105, 0.0710816309, 0.0472006649, 0.0436929725, -0.0212580003, -0.0600962117, 0.0490582474, -0.0544179156, 0.0270713922, -0.0430526324, -6.067950695e-33, -0.0425877087, -0.0747949928, 0.0151314884, 0.0174352787, -0.0474848747, -0.0150803179, -0.0385291614, 0.0385184884, -0.0108188437, 0.0246514082, -0.009085645, -0.0106624858, 0.0034273253, -0.0100208633, -0.0169752445, -0.0364641435, 0.0297160987, -0.0190365184, -0.0222925264, 0.0332233272, 0.0648801103, -0.0203898549, 0.0128073702, -0.0396179259, 0.05106695, -0.0169612281, 0.034877263, -0.0347745605, 0.0171100888, 0.0465762503, 0.0268294383, 0.0448848419, 0.0314920023, -0.0454254262, -0.0060276394, -0.0044194609, -0.0138174873, -0.0590660684, 0.0570374317, 0.016461296, -0.0292490181, -0.0042377613, 0.0008027574, -0.0224157982, 0.0051171333, -0.0473176055, 0.0253856406, -0.0035378623, -0.054842487, -0.0187653061, -0.0374931879, 0.0152020231, -0.034943819, -0.0075366045, -0.0199426208, 0.0523222387, 0.0355941243, -0.0737520903, -0.0524018891, 0.0432370193, -0.0110107902, -0.0282470901, 0.0532843731, 0.0234789886, 0.0348799564, 0.0356816463, -0.0297977477, 0.0458051823, -0.0493293218, 0.0050367489, -0.0243343133, 0.0611681789, -0.0024509167, 0.0118641863, -0.045261696, -0.0357234478, -0.0656699762, -0.0349863283, 0.0139770359, 0.0292572062, -0.0328749642, 0.0170106925, -0.0374480225, -0.053827282, -0.0642439872, -0.0293010399, 0.0045758951, -0.0527058989, 0.0170112979, -0.0015208081, -0.012715606, -0.001814339, 0.0231275689, -0.0011905915, -0.0163291469, 0.0609979331, -0.0416862816, 0.0272682998, 0.0022120322, -0.0221524686, -0.0635139346, 0.0155473258, 0.0052369498, 0.0153565928, 0.0454994477, 0.0191569403, 0.0078108301, -0.0062003322, 0.0015499059, -0.043608658, -0.0365235768, 0.0043570725, -0.0033180525, -0.0739584491, 0.0225775354, 0.0369545519, -0.0258884095, 0.0587602258, 0.0204038844, 0.0027962485, -0.0246739108, -0.0239212085, 0.0039349366, -0.0034060781, -0.02959181, -0.0170570966, 0.0198849235, 0.0077875801, 0.0033666193, -0.007256506, -0.0042818501, 0.0124410857, 2.744e-7, 0.0122268172, 0.0333924219, 0.0149373077, 0.0040864786, 0.0390583389, 0.0144932484, 0.0065686484, -0.029207997, 0.0189476423, -0.0677034631, 0.0364818014, 0.0107115898, 0.0195371825, 0.0394186266, -0.0658860579, -0.0785378739, -0.0568674728, -0.0241308641, -0.0092806937, 0.0197405815, 0.0623292401, -0.0519701801, -0.014549314, 0.0441321358, -0.0748775676, -0.0156363826, 0.0456280112, 0.0019879732, 0.0164940357, -0.0046666502, 0.050126601, -0.0249529891, -0.0147637501, 0.0806167573, 0.0035776696, -0.0114155374, 0.0179300029, 0.0221474152, 0.0113367997, -0.0151458792, -0.0098236315, -0.0124101536, 0.0407464616, -0.0238385294, 0.0609174296, -0.0568204448, -0.0435624681, 0.0386194326, -0.0525891148, -0.0444074236, 0.0122332005, -0.0043979818, -0.0102546336, 0.0406968072, 0.0017234192, 0.0071560713, 0.0363178812, -0.0231697094, 0.0102428924, 0.0341197588, -0.0183888953, -0.0997736603, -0.0145326331, -0.0626105443, -0.0001119793, 0.0052673286, -0.0034184845, 2.012750304e-34, -0.0127646113, -0.0051173703, 0.0278228354, -0.0176493097, 0.0350339711, -0.0375480354, -0.0036395851, -0.0062411162, 0.0354117826, -0.0957285017, -0.0223384555 ]
http://arxiv.org/abs/2312.07867v1
http://arxiv.org/pdf/2312.07867v1
BESTMVQA: A Benchmark Evaluation System for Medical Visual Question Answering
2023-12-13T03:08:48
2023-12-13T03:08:48
Xiaojie Hong, Zixin Song, Liangzhi Li, Xiaoli Wang, Feiyan Liu
cs.AI
cs.AI, cs.CL
Medical Visual Question Answering (Med-VQA) is a very important task in healthcare industry, which answers a natural language question with a medical image. Existing VQA techniques in information systems can be directly applied to solving the task. However, they often suffer from (i) the data insufficient problem, which makes it difficult to train the state of the arts (SOTAs) for the domain-specific task, and (ii) the reproducibility problem, that many existing models have not been thoroughly evaluated in a unified experimental setup. To address these issues, this paper develops a Benchmark Evaluation SysTem for Medical Visual Question Answering, denoted by BESTMVQA. Given self-collected clinical data, our system provides a useful tool for users to automatically build Med-VQA datasets, which helps overcoming the data insufficient problem. Users also can conveniently select a wide spectrum of SOTA models from our model library to perform a comprehensive empirical study. With simple configurations, our system automatically trains and evaluates the selected models over a benchmark dataset, and reports the comprehensive results for users to develop new techniques or perform medical practice. Limitations of existing work are overcome (i) by the data generation tool, which automatically constructs new datasets from unstructured clinical data, and (ii) by evaluating SOTAs on benchmark datasets in a unified experimental setup. The demonstration video of our system can be found at https://youtu.be/QkEeFlu1x4A. Our code and data will be available soon.
[ 0.0360983312, 0.0382244959, -0.0171342231, 0.004476862, -0.0194247998, 0.0316070057, 0.0048855604, 0.0474692397, 0.0095359478, -0.003928537, -0.0353026614, -0.0318128392, -0.0003549357, 0.0607533492, 0.0393911079, -0.054564327, 0.0218433719, 0.039391052, -0.0012865544, -0.011340186, 0.0058789807, -0.0073580635, -0.0173969138, 0.0379299335, -0.0194526855, -0.020382056, 0.0249067284, 0.0172602832, 0.0299910605, -0.0673453286, -0.0115897097, 0.021607751, 0.000066911, -0.0385122448, 0.0000020306, -0.0315800793, -0.0009508812, 0.0275821872, 0.0015871032, -0.03468135, 0.0043890039, -0.0494019613, 0.0251475479, 0.0196989141, -0.0579993948, -0.0036374996, 0.0411554873, 0.0109227169, 0.0890167952, 0.0395417288, -0.0256292485, -0.0013062709, 0.0025368633, -0.002193931, 0.0050382065, -0.0563601516, 0.000415938, 0.0765518025, 0.0434487425, -0.0367072038, -0.0174506195, 0.0581391826, 0.0211445596, 0.0667811856, 0.0148733128, 0.0467458852, -0.0446880125, -0.0149525497, -0.0139521146, 0.1085372269, 0.0073408633, 0.00505456, 0.001233903, -0.0021876646, -0.0244733784, 0.0144552737, -0.0561794527, -0.0019345506, -0.0292339288, -0.0034926038, -0.0446210206, 0.0216451827, -0.0049675661, -0.0009116111, 0.035541825, -0.0491885319, 0.0175167695, 0.001867283, 0.0069472501, 0.0093066785, -0.0441451743, -0.0473160073, 0.0104085132, 0.0701021627, -0.039151296, -0.0124825146, -0.0056516617, -0.0535235777, 0.0392649397, -0.0588230379, 0.0608841032, -0.0042669713, -0.0554164797, 0.0788529143, -0.0290559158, 0.0621152818, -0.0383323245, 0.0354019925, -0.0424728543, 0.0050862613, -0.0352502577, -0.0146799497, -0.0475007407, -0.0004811755, -0.0343028791, -0.0267736297, -0.0197875127, -0.0149294864, -0.0202505104, 0.008875302, 0.0222888291, 0.0784673691, -0.0207009073, 0.0081372811, -0.054999087, 0.0192918479, -0.0662166625, 0.0125534087, -0.0408510305, -0.0341622494, 0.0192494486, 0.0113762449, 0.0195030533, -0.0035073664, 0.0354676731, 0.0443431251, -0.0233429484, -0.0054514855, 0.0059662783, -0.03747309, -0.0005780791, -0.0479944386, 0.0220567212, -0.0693868026, 0.037481904, 0.0274556875, -0.0083745057, -0.0057099764, 0.0024746605, 0.0422080196, -0.0232073572, 0.0884280801, -0.049187433, 0.0114982454, 0.0275167096, 0.0415782817, 0.0089774616, 0.0497858971, 0.0158578642, 0.0033463286, 0.0292932037, -0.0285414401, 0.0563583933, 0.0081575364, 0.0086533492, -0.0207248963, -0.0366180539, 0.0715249777, -0.0380210057, 0.0811976567, -0.043476373, 0.076519154, -0.0267496333, -0.0424216539, -0.0036193237, 0.0395069607, 0.0211748276, -0.0161424242, -0.0053405301, -0.0431150012, 0.0348835774, -0.0095326249, 0.0096167047, 0.0611731671, 0.0488687381, 0.003794709, -0.0435952619, 0.0213392116, -0.0548250973, -0.0422380976, -0.0370690785, -0.0143366205, -0.0209713113, 0.0058679199, 0.0351510979, 0.037142843, -0.0530168042, 0.0120513402, 0.0013515169, -0.0174338818, -0.0277234502, -0.0563879013, 0.0353907309, 0.0574088544, 0.0727469251, -0.035098061, -0.0213770885, 0.0171003565, 0.0330052637, 0.0113904197, -0.0001544732, -0.0153431194, 0.0356853865, -0.0392853655, -0.0291813575, -0.0062694647, -0.0098721273, -0.0360150896, 0.0353651904, 0.0228277165, -0.0242527258, -0.0602321215, 0.0131406933, 0.0548797548, -0.0110454448, 0.0016231984, -0.0038065002, 0.002498775, 0.0005295317, 0.0124661978, -0.0185308121, 0.0071282177, 0.0258760918, -0.0214230418, 0.0042342083, -0.0228749868, -0.0300625172, -0.0429758802, -0.000089929, -0.0868667066, -0.0029796178, 0.0465052053, -0.059837386, -0.0215869881, -0.023143148, -0.0529059805, -0.0457734354, -0.0252151396, -0.0270377863, 0.051683411, 0.001704859, -0.0467372797, 0.0436348431, -0.0087787323, 0.0135345235, -0.0145367971, -0.0005397857, 0.01683967, -0.0330008231, -0.0063861483, 0.0008933981, -0.0193112548, 0.0217408929, -0.0160873253, 0.0356880873, -0.0570369884, -0.0073164781, -0.1081156433, -0.0147196949, -0.0052640317, -0.0265323743, 0.0492191277, 0.0073684421, -0.018311305, -0.0684210062, -0.0657047108, 0.040740747, 0.0414859056, 0.023808524, 0.0835229456, 0.037828289, 0.0156063493, -0.0580432825, -0.0090215504, -0.0034912205, 0.0528160632, 0.023420874, 0.0016322058, -0.0072040213, -0.0134526435, -0.0792232975, 0.0232409947, 0.0209450703, -0.0362915695, 0.0349824764, 0.0163536333, -0.0007344157, 0.0653820857, -0.0071035703, -0.0147491544, 0.0081892423, 0.0266246013, -0.0092180492, 0.0167619567, -0.0262238309, -0.0286208857, 0.0226397887, -0.0411171094, -0.0110411681, 0.0237035751, 0.0042694844, 0.0053436067, -0.040890485, 0.0568359233, 0.0022488248, 0.0017358898, -0.0845446214, 0.0260520503, -0.0089703351, 0.0567998998, -0.0256953593, -0.0626440346, 0.0707835108, 0.0110358018, 0.0101422211, -0.017969586, 0.0133946883, -0.0698605403, 0.0481400304, 0.0165798943, 0.0305870045, -0.0239312798, 0.0030873686, -0.0390364192, -0.0065462519, 0.0152478525, -0.0619142056, 0.0321289673, -0.0180091355, 0.0315817297, -0.0394068621, -0.0385172404, -0.0565221161, -0.0084135896, -0.036384169, -0.0240233596, -0.0491608903, 0.0254041217, -0.0025716089, 0.0436080992, -0.0112508805, 0.0381967016, 0.0051785, -0.0066844225, -0.0044028666, 0.0726749003, 0.0589941107, 0.0372062549, -0.0146964677, -0.0007538485, 0.0471023768, 0.0741137937, 0.0030250684, 0.0158569608, -0.0629666597, 0.0182705093, -0.0190025456, 0.0252867918, 0.0221042912, 0.0226811767, 0.0414323434, -0.042931769, 0.0186950881, 0.0652842224, 0.0204862561, 0.0045427568, -0.0056827688, 0.0079826908, -0.0050401036, 0.0223062709, 0.0402909666, -0.091957815, -0.0343080238, -0.0417319909, 0.0449903421, 0.0036809635, -0.0078806691, 0.0146433506, -0.033125326, 0.0611895546, -0.0195106883, -0.0297471229, -0.031242663, -0.0082340781, -0.0057323892, -0.0346860178, -0.0266702231, -0.0211816784, -0.0101735564, -0.0014096211, -0.0128705706, -0.0172683839, -0.049224209, 0.0412175842, -0.0455089062, -0.00426473, 0.0699138418, 0.0280335173, -0.0008373665, -0.0534349456, -0.0180356018, -0.0061773071, 0.0275358111, -0.0016961833, 0.0957598761, 0.0251818914, -0.0449534953, -0.0182238538, 0.0230740421, -0.0266019627, -0.0135539463, -0.0016353619, 0.0457528308, -0.0165140349, -0.0278554298, -0.0745849311, 0.0174470209, 0.0069064819, 0.0455983207, 0.0189933684, 0.0074788225, -0.0443066731, 0.0452474616, 0.0553530753, -0.0513667241, -0.0386132039, 0.0153157273, 0.0234231222, 0.0178171657, -0.1041813567, -0.0170530491, 0.0567440428, 0.0306901056, -0.0312618203, -0.0204622913, -0.0163827762, 0.0263965838, -0.0695926175, 0.0706976205, -0.0001931687, 0.0276360158, -0.0299837794, -0.0299408603, 0.0388310924, -0.0189655889, -0.0292463508, -0.0015562018, -0.0493048653, 0.0283847488, -0.0306725856, 0.0981734246, 0.0127244145, -0.0376832336, 0.0057540797, -0.0257333089, 0.0208001081, 0.0514391214, -0.0130633963, -0.0229816381, -0.0240612309, -0.0465596579, -0.015080275, -0.0155116701, -0.0097061321, 0.0277206413, 0.0032525959, 0.025910547, -0.0034092113, 0.0036476704, 0.0214022193, 0.0420547687, 0.0235146042, -0.0164014511, -0.0217977036, 0.0118523249, -0.002554032, -0.0006812327, 0.0041696792, -0.0472078808, 0.0066155121, 0.0109242992, 0.00632544, -0.0012333103, -0.0039417818, -0.0473026596, -0.0312154684, -0.0672166497, 0.0162833631, 0.0410610847, -0.0073245824, 0.0014708011, -0.0036816674, -0.0087309266, -0.0064657759, -0.0056406492, 0.0623587258, 0.0268964991, 0.0706894621, 0.0013293049, 0.0082313959, -0.0063452953, 0.080585897, -0.0390573926, -0.0485901907, -0.0252385903, 0.0400982313, 0.0547282137, 0.0140589727, -0.0234442968, 0.0164684318, -0.0096047539, -0.0213126671, 0.0061564664, -0.0276674423, 0.001053032, 0.0682546645, 0.0210774392, 0.0213900153, -0.0168389846, 0.09096279, -0.0011249629, 0.0256322883, -0.0134614781, -0.0165704675, -0.0476611666, -0.0180206541, 0.0179249961, -0.0256818924, -0.0259458143, 0.0208235234, -0.0356623046, -0.0666263774, 0.0200123396, 0.010997626, -0.0207837205, 0.0205716435, 0.0819197297, 0.0335938893, 0.0364537612, -0.0133232046, -0.0021606896, 0.0236779321, -0.0569996163, 0.0030807126, 0.0074949004, -6.076144993e-33, -0.0057530357, -0.0262923203, 0.0790635943, -0.0454553403, 0.0144242523, 0.0389526226, -0.0264705997, -0.021108618, -0.0254475772, 0.0098193772, -0.0144783538, -0.0270071458, 0.0027536557, 0.0302955229, -0.0377978012, -0.0587686077, -0.0040741288, -0.0074464092, -0.0447626039, 0.0038262808, -0.056304384, 0.0227674041, 0.0420768782, -0.0691763982, -0.0740211532, 0.0131323868, -0.0273353849, 0.0150043126, 0.0083981436, 0.0924867615, -0.0195692908, 0.0074964012, 0.0502310805, -0.00095644, -0.0117700845, 0.0058260811, -0.0676502511, -0.0204011407, 0.0098175853, 0.014552854, -0.1226502284, 0.0387273356, 0.0213658642, -0.0402567945, -0.0077970382, -0.0224311482, 0.0311041176, -0.0365345068, 0.0033072527, -0.0204730984, -0.0201198645, 0.0331951641, 0.0052923504, -0.0319278464, -0.0246736091, 0.0576725937, -0.0118922666, 0.0391154662, -0.0387703329, -0.0004783285, 0.0245616026, -0.0021379504, 0.0635009408, 0.0219809636, -0.0020863803, 0.0265301187, 0.0317784287, -0.0514218993, -0.0554852746, 0.0046381247, -0.0407810435, 0.0742922053, 0.1049354076, 0.049668964, 0.0335914008, 0.0206757076, -0.0711791962, 0.0489891954, -0.104254283, 0.0781996772, -0.0279448107, -0.0187303647, -0.0333115198, 0.0150826648, -0.0275800843, 0.0165447425, -0.0292289611, -0.0102049699, 0.0639439672, 0.0221821107, -0.0196281523, 0.0532177538, 0.0011178417, -0.0327369086, 0.0299181323, -0.0065175868, 0.0144537482, 0.0329059437, 0.0133188302, 0.0205652509, -0.0236960556, 0.0286347885, 0.0627292916, -0.0161265973, 0.0277360622, 0.0022126182, 0.0285663921, -0.0119985063, -0.0541805662, 0.0089368066, -0.0042295237, 0.0045806603, -0.0358686931, 0.0071433606, 0.0110807065, 0.0227591991, -0.0515721664, 0.0312297586, -0.0171221327, -0.0026253643, -0.0627626479, -0.0696646571, -0.0000586839, 0.0185890794, -0.0235882066, 0.0159586314, -0.0644475073, -0.0069812774, -0.0006729519, -0.0497644097, -0.0236440413, 0.0431766286, 2.671e-7, 0.0674953908, 0.0118542397, 0.014007167, 0.0419296175, 0.0215488896, 0.0077488208, -0.0198705588, 0.0084522394, -0.0025982237, -0.0515196808, 0.0209762268, 0.045856636, 0.0214257576, 0.0317687429, -0.0155701609, 0.0098080719, -0.0640394837, -0.0159011986, -0.0286319386, -0.0383233465, 0.0687608495, 0.0556509569, -0.0427826047, -0.0418068171, 0.0314591639, -0.0532573164, 0.0739531443, -0.0074534994, 0.0197196752, 0.0056981826, -0.0027117983, 0.0315276533, 0.0288780145, 0.0355446078, -0.0022753759, -0.0565629192, 0.0333218202, 0.024944447, -0.0333779529, -0.0182425305, 0.000066889, 0.0264688376, 0.0306981523, -0.0462732129, 0.0878482163, -0.0271640699, -0.0290052705, -0.0357656218, -0.0224740654, 0.0072607957, 0.0962496027, -0.0204756707, -0.0429740362, 0.0301192403, 0.0488546789, -0.0030004762, -0.0427685827, -0.0415529869, -0.0145573299, -0.0019536742, -0.0190872438, -0.0156082623, 0.0032063695, -0.0056935758, -0.0217336975, -0.0395249352, -0.0541977882, 1.950608438e-34, 0.0215256307, -0.0013135455, 0.040373873, 0.0323814042, 0.0033716967, -0.0225031748, -0.0052205683, -0.0244308282, 0.0205399767, -0.0177466869, 0.0103385504 ]
http://arxiv.org/abs/2312.07848v1
http://arxiv.org/pdf/2312.07848v1
Finetuning an LLM on Contextual Knowledge of Classics for Q&A
2023-12-13T02:32:01
2023-12-13T02:32:01
Shane Storm Strachan
cs.CL
cs.CL, cs.AI
The open-source publishing of large language models (LLMs) has created many possibilities for how anyone who understands language and has access to a computer can interact with significant tools of artificial intelligence, particularly in the context of learning and knowledge dissemination. However, the utility of these models in specialized fields like Classics is still largely unexplored. This project is an attempt to merge the knowledge of Classics with the capabilities of artificial intelligence by finetuning an LLM to cater to the specific needs of learners and professionals. The goal of this project is to develop an LLM that not only reproduces contextual knowledge accurately but also exhibits a consistent "personality" - and, indeed, has consistent propriety - to appeal to a diverse audience who possess differing levels of knowledge. A significant portion of this project was dedicated to refining the dataset, following the principle of "garbage in, garbage out," to ensure the model generates relevant, useful, and creative responses when given a prompt (a statement, question, or single word). After training and evaluation, my model's ability to handle a vast array of different types of inputs and prompting exceeded expectations for a 355M parameter model, though its occasional hallucinations (especially when set with a high temperature), particularly in its assertions about historical events or its own identity, make it seem somewhat capricious and more work in the form of continuous finetuning will be undertaken.
[ 0.0751128793, 0.0144658061, -0.0320121571, 0.0834903046, -0.0316797718, 0.0182327889, -0.0343966037, 0.0047169547, 0.0120645473, -0.0747488141, -0.0041744374, -0.0109161111, -0.0259877443, 0.022931179, 0.0104277395, -0.0494413748, 0.0360073261, -0.0145192845, -0.0084797041, -0.0106266392, -0.000483172, 0.008731002, -0.0089100767, 0.0122641828, 0.0028843437, -0.0329067148, -0.0272833072, 0.03252979, -0.0059764474, 0.028967157, -0.0010840014, 0.025117008, 0.0305088032, 0.0336417817, 0.0000020186, -0.0859327316, 0.0042193099, -0.0452524833, -0.0323456824, -0.0208051093, 0.0510476232, 0.0483387522, -0.0041970429, -0.0330236331, -0.0812001303, 0.0878089145, 0.0176900811, 0.0161415953, 0.0226716809, 0.0820097253, 0.0206299722, -0.041303806, 0.0313260145, 0.0151369423, 0.0464810356, -0.0343348086, 0.0209802929, 0.0009790704, 0.0258937757, 0.0135532506, -0.0197972935, 0.0659031272, 0.0060996325, -0.0000960191, -0.0095367916, 0.0013636596, -0.0042172568, 0.0272428524, -0.0339217149, 0.0270867515, 0.0465357974, -0.0096692685, 0.0114190355, 0.0233720038, 0.0117648253, -0.0070035541, -0.0651526004, 0.0137024764, -0.0226479173, 0.0052384045, 0.0346455276, -0.0234208461, 0.0052100769, 0.0320461988, 0.0184521582, 0.0567410327, 0.0005326229, -0.0400446095, 0.0060864128, 0.0128973797, -0.0250420347, -0.0548799485, -0.0022392345, 0.0757137239, -0.0071810931, 0.0467130505, -0.0028137886, 0.0291168615, 0.0308974609, -0.0518600233, 0.0163452625, -0.0010038905, 0.0079485839, 0.0485657416, 0.004532821, 0.009424367, -0.0162526239, 0.0198101439, -0.0330127962, 0.0037610754, -0.0759607777, -0.0176922586, -0.0200495757, 0.0578121282, -0.0006277633, -0.0058869948, -0.0489902757, 0.0238728598, 0.0327944569, 0.0305228755, 0.0061238734, 0.0198364351, -0.0196736529, -0.027726192, -0.0599372871, 0.0149766356, -0.0612194948, 0.0051392843, -0.0350483358, -0.0596675463, 0.0123089673, 0.0292652138, -0.026575163, -0.0543912798, 0.0099624032, 0.0502039976, 0.0114905341, -0.0083196806, -0.0748123527, -0.046782922, -0.0578792542, -0.0492731556, 0.0073364093, -0.0454065353, 0.0081748348, -0.0007510902, 0.009837036, -0.0370873772, -0.0088417083, 0.0239701364, -0.0317564756, 0.0474061631, -0.0024552122, -0.0006938649, 0.0313369408, 0.0116530191, 0.0240687206, 0.0424846113, 0.0542350523, 0.0014666416, 0.0564118251, 0.0049358648, 0.0248358548, 0.0262184907, -0.0284945089, -0.0045486875, -0.0398676023, 0.0202416833, -0.0099278698, 0.050371822, 0.0190154687, 0.057797607, 0.0218537766, -0.0202827826, 0.0757002532, 0.0312926359, -0.0065753628, 0.04990004, 0.0447199568, -0.0114048775, 0.0354233757, 0.0541588962, -0.0310823638, -0.0074520954, -0.031986814, 0.0290812161, -0.0459390916, 0.0172660034, -0.0093018878, -0.0474831499, -0.0119430674, 0.0064739315, -0.0272869021, 0.0054387483, 0.0393335074, -0.0079423841, -0.0369508229, 0.0077134809, 0.0197227299, -0.0590752661, 0.0109944977, -0.0419444405, 0.0476647876, 0.0993947908, 0.0489818454, -0.0558030084, -0.0121877426, -0.0137282377, 0.0380582586, 0.0629325807, 0.0551097207, -0.0209756065, -0.0004653788, -0.043592155, 0.0061232485, -0.0430126898, 0.00498024, 0.0089794649, -0.0447787642, 0.0094508706, 0.0122843329, -0.0078116115, 0.0044124019, 0.0495843627, -0.06428276, -0.0706520975, -0.0479489751, -0.0082768034, 0.0203866232, 0.0531862937, 0.0025921757, 0.0184507333, 0.0404386893, -0.0400889032, 0.0025030582, 0.0208539367, -0.0617715009, 0.0063705826, 0.0730163902, -0.0321073085, -0.0092777917, 0.002903491, -0.0066652084, -0.0393855907, 0.0018928616, -0.0329435319, 0.0534581505, -0.0515356585, 0.0003224447, -0.0172211472, -0.028909808, -0.050246872, 0.0735134631, 0.0140306493, 0.0168776065, 0.0200687964, -0.0265479796, -0.0010992724, -0.0457342975, -0.0549438335, -0.0436656289, 0.023258904, 0.0191418733, 0.0074189194, 0.0019818577, -0.0667858273, -0.024534313, -0.0831273049, 0.000443037, -0.0198641717, 0.0019595374, 0.003799743, -0.0269130152, -0.0359710343, -0.009534603, -0.0382693596, 0.0160870347, -0.0054061892, 0.002838054, 0.0461964048, 0.0310031306, -0.0255166199, -0.0493953601, 0.0068001407, -0.0230880324, 0.027281478, 0.042938415, -0.0013147333, -0.0248368494, 0.0310516916, -0.0208269749, 0.0187607352, -0.022251673, -0.0257408824, 0.0185637437, -0.0183107182, 0.0250844564, 0.0547894128, 0.0146862045, 0.0099793859, 0.0405678637, -0.0384274311, -0.0322054587, 0.0168649126, -0.0384005085, -0.0648996457, -0.0625853166, -0.0302281864, 0.0136198401, 0.0270129442, 0.0178976916, 0.0201468896, -0.0454445034, 0.0528470948, -0.0076782485, -0.044449538, -0.0368313976, -0.031199187, -0.0555189624, 0.0658375919, 0.0049265982, -0.0171089545, 0.0763871372, -0.0185744334, 0.0136857582, -0.019016806, -0.0065459292, -0.0457505472, 0.0671506301, -0.0336881727, 0.0341209881, 0.0189798586, -0.0232312605, -0.0843361691, -0.0283709969, 0.0063254135, -0.0480992123, 0.0462803692, -0.0427630991, -0.0048719747, 0.0321031138, -0.0107729044, -0.0451436229, -0.0199877266, -0.0476670079, -0.0193395317, -0.0163830165, 0.0071711568, -0.0172290076, -0.001443061, -0.0030346799, -0.0043636844, -0.0140040657, -0.0207766723, -0.0245923363, 0.0410714224, 0.0594982244, 0.0620921515, 0.0085898871, -0.0164862853, 0.0346713066, 0.0331256874, -0.0099761626, 0.0003236601, -0.0216696057, 0.004465858, 0.0388445854, -0.0805938318, -0.0393210463, 0.0310007185, 0.0180521123, -0.0799565762, -0.0429292433, 0.1282952875, 0.0381704569, -0.0707138032, 0.0035877761, -0.0559282079, 0.007651729, 0.0077029192, 0.0390919112, -0.0699099377, -0.0104493694, -0.0071193813, 0.0245661382, -0.0330798551, -0.0355262049, -0.0081189778, -0.1129053906, 0.0388316065, 0.0099293822, 0.0023388844, 0.0056554382, -0.0014187177, -0.0152266426, 0.0011278554, 0.0061792098, 0.0076741055, -0.0344172902, -0.0054876609, 0.026534928, 0.0018644504, -0.0347114243, 0.0235015433, -0.0292246304, 0.0552618913, 0.0546998382, 0.0327568576, -0.0275214072, -0.028509099, 0.0279175416, -0.0478677191, 0.0448902734, -0.002391197, 0.0362045728, -0.0417623334, 0.033973027, -0.0394931883, 0.0148564726, -0.0425520614, -0.0137089649, 0.0680693537, 0.0783737749, -0.0204774644, 0.0000574255, -0.0304920245, 0.0322934166, 0.0062802779, 0.1152491122, 0.0398820788, -0.018839309, -0.0109667713, -0.0210843403, -0.0015100489, -0.0319257826, -0.0576277524, 0.019680351, -0.008281976, 0.0104650706, -0.0769261047, -0.0456198603, 0.0061350991, 0.0364835896, 0.0461975709, 0.0323941857, -0.0275465194, -0.0036430114, -0.0469156094, 0.0053220354, -0.0457154959, 0.0054606753, -0.0839023665, 0.0226512663, 0.0542299747, -0.0414491296, -0.0048568575, 0.0211331435, -0.0406475514, -0.0636387318, 0.0612911806, 0.0597497635, 0.0403871313, 0.0453721285, -0.0036988417, -0.0491308086, 0.0216770787, 0.013660701, 0.0183155332, 0.0387627222, -0.0146700079, 0.0408125073, -0.0096674431, 0.0359143727, -0.0422820002, 0.0054645189, 0.0120213032, 0.0171662457, -0.0594610944, -0.0842915922, 0.0332749672, 0.0035294842, -0.0235947259, -0.0035635603, -0.049932152, -0.0022560649, 0.0309934281, -0.0148408627, -0.0131424172, -0.0142917484, 0.0001545695, 0.020768594, -0.0146967825, 0.0161780138, -0.0443368517, -0.0551229864, 0.0595706925, -0.0771008432, 0.021429861, 0.0419367403, -0.0027646194, -0.0067293616, 0.0143682193, -0.014570836, 0.0664456934, -0.0061881323, 0.0553501472, 0.0241190046, 0.0534345657, 0.011194339, -0.0208447389, -0.0239764992, 0.0196412262, -0.0883918181, -0.0387745574, -0.0028263459, 0.0276354495, 0.0407010876, -0.0009826425, 0.0293947347, -0.0283142515, 0.0059573418, -0.00082047, 0.0273163598, 0.0443147682, 0.0035258592, 0.0283046383, 0.0446350016, -0.0148254847, 0.0026924044, 0.0489814207, -0.0597141199, 0.0256805662, 0.0510420389, -0.0378408879, -0.039051462, -0.0224297661, -0.0040333411, 0.0081546195, -0.0021404813, 0.0020952073, -0.0942123979, -0.0485566892, 0.0010289474, 0.0263296049, 0.0126785506, -0.0310831349, 0.0524231456, 0.0593439266, 0.0019596296, -0.0035436007, -0.0418559574, 0.0686979294, -0.0418164432, -0.0287456382, -0.0188008547, -6.133654585e-33, -0.0435992852, -0.0271411538, 0.0307163838, 0.0158823468, -0.0533771776, -0.0045575183, -0.0223695599, 0.0130281989, -0.0435875654, -0.0072219404, -0.0361995399, 0.0001671868, 0.0131713636, -0.0135198496, 0.0025948829, -0.0455274396, 0.0275616273, -0.0013836317, 0.0010431919, 0.0027926301, 0.0586454943, 0.0332881883, 0.03548228, -0.0722621456, 0.0756814331, -0.0440689288, -0.0267116074, 0.0481224209, 0.0046797264, 0.0668141991, -0.0170225184, 0.0597844236, 0.0334290676, 0.0045528794, 0.0004806127, 0.0359876305, -0.0313531645, -0.0329029188, 0.0485305376, 0.0210953131, 0.0294957981, -0.0695693642, 0.0517966039, -0.0006439511, -0.0329241008, 0.0130128181, 0.0576228015, -0.0281092357, -0.0138187204, -0.0523339286, -0.0736245662, 0.0104876226, -0.0032251605, -0.015553371, -0.005646951, 0.0082289185, 0.0135190031, 0.0537146479, -0.0184563585, 0.0114811203, 0.0407798998, 0.0105201229, 0.0499357991, -0.0116271796, -0.004270283, 0.0510602519, 0.0047595054, 0.0373250172, -0.0335332043, 0.0037092546, 0.0021958067, 0.0326514989, 0.0331098251, 0.0695453212, -0.0000530173, 0.0159327555, -0.0076229074, 0.010136459, 0.0380064994, 0.0352169834, 0.0069139213, -0.0357733667, -0.0354878753, -0.0044420417, -0.0345838182, 0.0025867552, -0.0186334681, -0.0302384458, 0.0189233813, -0.0575114414, -0.004340203, -0.0180409942, -0.0161870662, -0.0488551147, 0.0035097923, -0.0172608458, 0.0082095386, 0.0490522869, 0.0112063792, 0.0212159585, -0.0018245399, -0.0014482356, -0.0062110131, -0.018931387, 0.0117650749, 0.0260509979, -0.0006335735, 0.0140623497, -0.0104427012, -0.0089351246, -0.0019149752, -0.0089623583, -0.0033828055, -0.0052241543, 0.0010273935, 0.032582432, -0.0124225747, 0.0433700234, 0.0357690156, -0.0035771513, -0.0002466692, -0.0212961566, 0.021246938, 0.0304037761, -0.0247566123, -0.0180446655, 0.0089286603, 0.0459969826, 0.0713026524, -0.0397010408, -0.003199327, 0.015213035, 2.781e-7, 0.072847642, 0.0351259038, 0.022605421, -0.0059044119, -0.003249224, 0.019258976, -0.0249183029, 0.0126496321, -0.0038401398, -0.0404781513, 0.0335086584, 0.0263325796, 0.0319162793, 0.0349192321, -0.1267937869, -0.058059711, -0.038612254, -0.0057660006, -0.053848099, 0.0496435463, 0.07465446, 0.0449260846, 0.024827566, -0.0429411083, -0.0284783915, -0.0532857999, 0.0351531431, -0.0720730424, -0.0254173242, 0.031580355, 0.0378676057, -0.0205174759, 0.0136058675, 0.0191272385, 0.0055252309, -0.0089364713, -0.0044301618, 0.0618501864, 0.0213193949, -0.0514196381, -0.0007913551, -0.0110766469, 0.0286482908, -0.0746921077, 0.0518674776, -0.0007874604, -0.0042547164, 0.0089245969, -0.0366460048, -0.0115386816, 0.0061933668, -0.0377345718, -0.0179516766, 0.0001268375, 0.0257843193, -0.0065322015, -0.0062235477, -0.0695645288, -0.0094415015, 0.0013392536, -0.0547450855, -0.0674581379, 0.0105595235, -0.0239596125, 0.0076756896, -0.1052266061, -0.0010053765, 2.563471015e-34, 0.0451849476, -0.0039378307, 0.0184166133, 0.0693212226, 0.0035744228, 0.0320380293, 0.014666535, 0.0134401973, 0.0442708172, -0.08510153, -0.0224086978 ]
http://arxiv.org/abs/2312.07831v1
http://arxiv.org/pdf/2312.07831v1
Abusive Span Detection for Vietnamese Narrative Texts
2023-12-13T01:36:18
2023-12-13T01:36:18
Nhu-Thanh Nguyen, Khoa Thi-Kim Phan, Duc-Vu Nguyen, Ngan Luu-Thuy Nguyen
cs.CL
cs.CL, cs.LG
Abuse in its various forms, including physical, psychological, verbal, sexual, financial, and cultural, has a negative impact on mental health. However, there are limited studies on applying natural language processing (NLP) in this field in Vietnam. Therefore, we aim to contribute by building a human-annotated Vietnamese dataset for detecting abusive content in Vietnamese narrative texts. We sourced these texts from VnExpress, Vietnam's popular online newspaper, where readers often share stories containing abusive content. Identifying and categorizing abusive spans in these texts posed significant challenges during dataset creation, but it also motivated our research. We experimented with lightweight baseline models by freezing PhoBERT and XLM-RoBERTa and using their hidden states in a BiLSTM to assess the complexity of the dataset. According to our experimental results, PhoBERT outperforms other models in both labeled and unlabeled abusive span detection tasks. These results indicate that it has the potential for future improvements.
[ 0.0726237521, 0.0239605941, -0.0259900372, 0.0280596167, -0.0180975497, 0.0351623371, 0.0365470573, 0.0136711709, 0.0778171867, -0.0586892329, 0.0072342376, -0.0522165, -0.0081540858, 0.0377766527, 0.0021504923, -0.0761511549, 0.0174608435, 0.0384596437, 0.0693267807, 0.0196284633, 0.060935434, 0.0138633894, -0.0000574608, 0.0242161173, -0.0289151687, -0.0099513577, 0.0413498208, 0.0185762532, 0.0339628905, -0.0874851346, 0.016238736, 0.0704002753, -0.0206326582, 0.0192651376, 0.0000018018, -0.0275008772, 0.0020162466, -0.0058473973, 0.0367685035, -0.0064609572, 0.1013953611, -0.0618480891, 0.0013496013, 0.0234573241, -0.0157064013, -0.0294303857, 0.0335730985, 0.1031188443, 0.0955325142, 0.0414768532, -0.0246490072, 0.0114942985, -0.0269307103, 0.0155857373, -0.0108710593, 0.010653575, 0.0623775683, -0.0381089188, -0.0031412854, -0.0259591676, -0.022709839, 0.0273248553, 0.010925577, 0.0055553606, -0.0196653493, -0.0197721124, -0.052983731, -0.0112199197, 0.0432222523, 0.067135781, -0.0405560732, -0.0130018527, 0.009476929, 0.004808642, -0.0266405586, -0.0386119075, 0.0067075733, 0.0355982855, -0.0408582576, 0.0237395372, 0.0032043944, 0.0109650111, 0.0180173106, 0.0289297886, 0.0558580384, -0.0325240009, -0.0352764167, -0.0433690101, 0.0098033398, -0.0128729809, -0.040987242, -0.0288723893, 0.0210856032, 0.0055480381, 0.0075419019, 0.0139797665, -0.0442138091, -0.0585346483, 0.0074115121, -0.090040192, -0.0038575351, 0.0360939279, -0.0923187286, -0.0317415968, 0.0291343797, 0.0300654452, -0.0004364471, 0.024804933, -0.0143242655, 0.0081068212, -0.0029498145, 0.0069392831, -0.0222780071, 0.0105875619, -0.0149325309, 0.0205703229, -0.0669260472, -0.0107808076, -0.0332991853, -0.0238245185, -0.0185942743, 0.0000593105, -0.0167443678, 0.0416896306, 0.0028482038, -0.0047671534, -0.0306817237, 0.0339683257, -0.0242754687, -0.0597010516, 0.0287969597, 0.0243043415, -0.0278942641, -0.0325290933, 0.0279879551, 0.0319503024, 0.001757413, -0.0390174575, -0.0940152407, -0.0364527032, -0.0275216792, -0.0463792086, -0.0019898983, -0.0402741991, 0.0165089872, -0.0165781993, -0.0058790133, -0.0358260944, 0.0336321294, 0.0291636568, -0.0935277417, 0.0807490721, 0.0171102025, -0.0296180919, 0.001869131, 0.048264198, 0.0432060398, 0.0426192954, 0.048112534, 0.0394761115, 0.078238897, -0.0131054074, 0.0039584846, 0.0301820375, -0.0095749926, -0.0059616505, -0.0045125978, 0.0175631121, -0.0345785767, -0.0169006512, -0.0295139235, 0.0458788872, -0.0094214426, -0.0271754004, 0.0716146231, 0.0606590137, -0.0291107874, 0.0414208546, 0.0327957645, 0.0096406182, -0.0102376835, -0.0162060279, -0.0508390404, -0.0284292735, -0.0470504649, -0.0360461213, 0.0190302674, 0.020205589, -0.0075621991, -0.0380089208, -0.0585374571, 0.0004021983, 0.0185266435, -0.03918745, 0.0160837453, 0.0331977122, -0.0124348737, 0.0149527639, 0.0520421676, -0.0225874893, -0.0117802927, -0.0044796686, 0.0184811689, 0.0592995211, 0.0420390479, -0.0273465216, 0.0467836335, -0.0742501915, 0.0209762193, 0.0444041826, -0.0145942308, 0.0163956601, -0.0070834281, -0.0107541485, -0.0038348094, 0.0495397858, -0.0005445177, -0.0220415872, 0.0260745473, 0.0268874355, -0.0103854723, 0.0106167775, -0.0708112195, 0.059653677, 0.0325993709, -0.0287644323, 0.0012159543, 0.0353607647, 0.0620654896, 0.0244399272, -0.0338150375, -0.0446563065, 0.0275634304, -0.0361173041, -0.0428623334, 0.0239356328, -0.0386120453, -0.0315551497, -0.0045256917, -0.0758122951, 0.0159665365, 0.0392816998, -0.003698725, 0.0010894446, 0.0364122465, -0.0225805417, -0.0411199629, -0.0380493738, -0.0256700963, -0.0225229058, 0.0259577483, -0.0182173662, 0.0703157187, -0.0653563142, 0.046895396, 0.0142895691, -0.0567045994, 0.0070040352, 0.0093264701, -0.0654119998, 0.0111857615, -0.001887973, 0.0019810426, 0.0017864703, 0.0261345655, 0.0177495219, -0.0205796249, -0.0668724701, 0.034644708, -0.0203198493, -0.016540736, 0.0398896895, -0.0170765538, -0.0344226137, -0.001763408, -0.0085289814, -0.0667388588, 0.0471225306, 0.0139656002, -0.010525248, -0.0117721651, 0.0071392637, -0.0439232625, 0.0052305493, -0.0340696648, 0.0400991961, -0.02567067, -0.0918443576, -0.0078916932, -0.0149248894, -0.0112317512, 0.015283973, -0.0355273075, -0.0541383959, -0.0067511713, 0.0285259988, -0.0191839263, 0.0558595136, 0.0301570296, 0.1055020317, 0.0292120222, -0.0023773101, 0.0277232118, 0.0002827688, -0.0226643626, 0.0213555247, -0.0404481515, -0.0779800415, -0.011083357, 0.0784347132, 0.0381082855, 0.0038799427, -0.0207330678, -0.0627483353, -0.0319779441, -0.0063298065, -0.0112025794, -0.0526058227, -0.0229667686, -0.0036828916, -0.0351960696, -0.0253414288, 0.0663899034, 0.0048198747, 0.0059354007, -0.0230692346, -0.0168706998, -0.023448417, 0.0531746373, 0.0370271467, 0.0372190773, 0.0072253267, -0.0233803224, 0.0483620353, -0.002534172, 0.0306283757, -0.0178580675, -0.0254710428, -0.04245729, -0.0114553906, 0.0168197528, -0.0344702974, -0.0662274882, -0.0659972057, -0.0084305191, -0.0258634761, 0.0007771424, 0.0250660144, -0.0312726237, 0.0295950565, 0.018733291, 0.0080015939, -0.0192579217, 0.0078130541, -0.0104647689, 0.04602639, 0.0227512792, -0.0400609225, 0.0185939595, 0.0211706683, 0.0182773937, 0.069292441, -0.0296034105, 0.0280791298, 0.0608155839, 0.0533771366, 0.0098363943, 0.0143863065, -0.0003046097, -0.0215970799, 0.0065396288, -0.028255526, -0.0250754897, 0.07566192, 0.0403082557, 0.0073499572, 0.0205603745, -0.0004924245, 0.0098036295, 0.045515947, -0.0244453549, -0.080326654, 0.0100373151, -0.01440797, 0.038005013, -0.0840604976, -0.0554774106, -0.0071739182, -0.0569496416, -0.0073959157, -0.0162358806, -0.0172327384, -0.0258198809, -0.005506495, 0.0032428792, -0.0005651122, 0.0151833128, -0.0075067757, -0.0091220662, -0.0258812066, 0.0077886963, -0.0926229581, -0.0124977101, 0.0269792303, -0.0244523492, 0.0334952325, 0.0271864124, 0.0565302931, -0.0431288518, 0.0070960396, 0.0111460332, 0.0074915015, -0.0311047789, -0.0133667886, 0.0749536827, 0.0002026052, -0.0319714211, -0.0469290987, 0.079887487, 0.0071518151, 0.0050643054, -0.0101669189, 0.0571297705, 0.0340130068, -0.0035985217, 0.0190739203, 0.0153067885, 0.0329195186, 0.0661659464, 0.0184972025, -0.0236524194, -0.0324724615, -0.0531957746, -0.0566513352, -0.0248717479, -0.0888389125, 0.0275677871, -0.0443154611, -0.0314589292, -0.0732645318, -0.0704824552, 0.009638994, 0.004536767, 0.0283715222, -0.0195151716, 0.0464849398, 0.0053398199, -0.0657181963, 0.0111854309, -0.0085476935, 0.0300555676, 0.0028314728, 0.0003821268, -0.0272445381, -0.0172038227, 0.0027681892, 0.0331512019, -0.0149959633, -0.0329112038, 0.0757644773, 0.0005746318, 0.0156288166, 0.0095535275, 0.0002793464, -0.0546902046, 0.0328580439, 0.0431098379, -0.058329612, -0.0186282601, -0.0085303159, 0.0086393496, 0.0176910274, 0.0044618738, 0.0167687107, 0.0166928265, 0.0344535522, -0.0309404694, -0.0416006595, 0.0039317841, -0.0074083162, 0.003712299, 0.0329454169, -0.0326843373, -0.0430627204, -0.0614929684, -0.0394057408, -0.0330389366, -0.0190324094, -0.0118934363, 0.0358674042, 0.0048097912, 0.0126203494, -0.0687845647, 0.0161852185, -0.0534517728, 0.0164376218, -0.0535366982, 0.0161314495, 0.0216869321, 0.0455148667, -0.0158057287, 0.0215693004, -0.0061526541, 0.011953339, -0.0134438537, 0.0300976373, -0.0063141519, 0.0565976985, 0.0174196474, 0.015775077, 0.0483112931, 0.0076916101, -0.0002339463, 0.0191220678, -0.0598026775, -0.0567820966, 0.0142541435, -0.0255053397, 0.0594070368, -0.0368657149, -0.0104589444, -0.0123364097, 0.017392382, -0.0278329439, -0.0570539273, 0.0023840994, 0.0171831585, -0.0305137988, 0.0283189118, 0.0671355277, 0.0393704288, 0.0554503724, 0.0586804971, -0.058287669, -0.0308719389, 0.0183959845, 0.0613178834, 0.0331529975, -0.0085502649, -0.010298932, -0.0597009957, -0.0449996516, 0.0098157376, -0.042326089, 0.0236732773, -0.0145416381, 0.0011536259, 0.0287355315, 0.0269880313, 0.0151150879, -0.0392269567, -0.0098525072, 0.0236777384, -0.0310387015, 0.0033172539, -5.598598576e-33, -0.0184683073, -0.0475310385, -0.0281433165, 0.0104489857, -0.0015449511, -0.0172783155, 0.0090407627, 0.0368129611, -0.0036938426, 0.0251178481, 0.0437746756, 0.0162926894, 0.0138561381, -0.0019623593, -0.0158482846, -0.0087760817, 0.0224434193, 0.0022762227, 0.0039199111, 0.0050204853, 0.0474487841, 0.0296616368, 0.0627332255, -0.1173172072, 0.0700142235, -0.0201001093, -0.0359954126, 0.0114399409, 0.0264418535, 0.0424640439, -0.0390494354, 0.0706749484, 0.0318634696, 0.0157219674, 0.0081375679, 0.0350242071, -0.0738344789, 0.0013657337, 0.0352112725, 0.0540638454, -0.0250685085, 0.0009600089, 0.0248679854, -0.0013609765, -0.0025229049, -0.0050955117, 0.0476693548, -0.0303122457, 0.0415557176, -0.0490041636, -0.0428533852, 0.0239694882, -0.0172062237, -0.002791008, -0.0175980739, 0.042026069, -0.0201719869, 0.0294792019, -0.0912157893, -0.0206985455, -0.0039428007, 0.0014044803, -0.0395082049, -0.0557993203, -0.0007755582, 0.0608702227, 0.0259092003, -0.0197918564, -0.006784237, 0.0577986464, 0.0148256943, 0.0338896103, 0.0515336134, 0.0325142778, 0.0406633206, -0.0594856068, -0.0839504302, -0.0215094537, 0.0472824872, -0.0044007692, 0.0175339058, -0.0329956561, -0.0514966026, -0.0414570086, 0.0107748145, -0.0675586239, -0.0356106125, -0.0209121797, 0.0352480076, 0.0142777637, 0.0004891454, 0.0216832422, 0.0194162894, -0.0410524607, 0.0015579435, 0.0025821757, -0.0361009985, 0.0242348388, 0.0128432028, 0.0055027679, -0.0440215543, -0.0005817789, 0.0173215438, -0.0179393683, 0.0293165464, -0.0284924675, 0.1116232425, -0.0019029214, -0.0808949992, 0.024055995, 0.0094562164, 0.07882002, -0.0074615548, 0.0829576477, -0.0057891938, 0.0042883372, -0.0121047907, 0.0321567394, 0.025804894, 0.0110772122, -0.0732664391, 0.0024281221, -0.049276825, -0.0068901805, 0.0077280938, -0.0035199765, -0.0135861635, 0.0196691733, 0.0303449091, -0.0636285022, 0.0255730916, -0.0334942639, 2.49e-7, 0.0040273285, 0.0402016938, 0.0335978866, 0.0031079061, 0.0411581956, 0.0260977, 0.021144487, 0.0336321667, 0.0009386649, -0.0396242552, -0.0188416895, 0.010019592, 0.0508555286, 0.0656230003, -0.0372025669, 0.0296997335, -0.0727174133, -0.0372924097, -0.0440576859, -0.0317096822, 0.0488436967, 0.0633374825, 0.0084085977, -0.0043765008, 0.0009838977, -0.0516602099, 0.0286256708, -0.0146034518, -0.0065199402, 0.0118561825, 0.0749996752, 0.0189305041, 0.0099924561, -0.0472627357, 0.0129962042, 0.0017392248, 0.0093251048, 0.0358563624, -0.0022638578, -0.0257905647, 0.0154635468, -0.0179263335, -0.0238372944, -0.0303777009, 0.0694256052, 0.0225688703, -0.0095008323, 0.0141582265, 0.0195092373, -0.0084749078, 0.0490455031, -0.0121673485, 0.0027816042, 0.0491330624, 0.0572183765, -0.0327693522, 0.0195706468, -0.0489810407, -0.0419264361, 0.0048611658, -0.0284598246, 0.0066610808, -0.0075381254, 0.053396523, -0.0062963255, -0.0349029005, 0.0326071344, 2.420902606e-34, 0.0197026264, -0.0195484702, 0.0006073292, -0.0154252201, 0.0339084007, 0.0251302999, -0.0544550233, -0.0247041974, -0.0051837233, -0.0429578051, 0.0004206424 ]